@chaoswise/ui 2.5.9 → 2.6.1
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/lib/AbreastLayout/CollapsedIcon.js +1 -1
- package/lib/AbreastLayout/index.js +8 -8
- package/lib/Ace/ace.js +8 -8
- package/lib/Ace/diff.js +8 -8
- package/lib/Ace/split.js +8 -8
- package/lib/AdaptiveLayout/index.js +10 -10
- package/lib/Alert/index.js +3 -3
- package/lib/AlgorithmChart/index.js +3 -3
- package/lib/Antd/Drawer.js +8 -8
- package/lib/Antd4Form/FieldList.js +3 -3
- package/lib/Antd4Form/Form.js +7 -7
- package/lib/Antd4Form/FormItem.js +4 -4
- package/lib/Antd4Form/FormItemChildren.js +10 -10
- package/lib/Antd4Form/useForm.js +5 -5
- package/lib/Badge/index.js +1 -1
- package/lib/BasicLayout/Breadcrumb.js +4 -4
- package/lib/BasicLayout/Footer.js +3 -3
- package/lib/BasicLayout/Sider.js +4 -4
- package/lib/BasicLayout/index.js +7 -7
- package/lib/Button/index.js +3 -3
- package/lib/CWCascader/Cascader/index.js +9 -9
- package/lib/CWCascader/index.js +1 -1
- package/lib/CWCascader/rc-cascader/Cascader.js +10 -10
- package/lib/CWCascader/rc-cascader/OptionList/Checkbox.js +1 -1
- package/lib/CWCascader/rc-cascader/OptionList/Column.js +10 -10
- package/lib/CWCascader/rc-cascader/OptionList/index.js +9 -9
- package/lib/CWCascader/rc-cascader/OptionList/useActive.js +4 -4
- package/lib/CWCascader/rc-cascader/OptionList/useKeyboard.js +7 -7
- package/lib/CWCascader/rc-cascader/hooks/useDisplayValues.js +5 -5
- package/lib/CWCascader/rc-cascader/hooks/useEntities.js +1 -1
- package/lib/CWCascader/rc-cascader/hooks/useSearchConfig.js +1 -1
- package/lib/CWCascader/rc-cascader/hooks/useSearchOptions.js +6 -6
- package/lib/CWMessage/MessageContent/TabList/index.js +3 -3
- package/lib/CWMessage/MessageContent/index.js +8 -8
- package/lib/CWMessage/index.js +44 -32
- package/lib/CWRadioTabs/index.js +7 -7
- package/lib/CWRangePicker/DropdownMenu/index.js +10 -10
- package/lib/CWRangePicker/Refresh/index.js +7 -7
- package/lib/CWRangePicker/assets/Calendar.js +1 -1
- package/lib/CWRangePicker/assets/Calendar2.js +1 -1
- package/lib/CWRangePicker/assets/Recover.js +1 -1
- package/lib/CWRangePicker/assets/Refresh1.js +1 -1
- package/lib/CWRangePicker/assets/Refresh2.js +1 -1
- package/lib/CWRangePicker/assets/Refresh3.js +1 -1
- package/lib/CWRangePicker/assets/live.js +1 -1
- package/lib/CWRangePicker/assets/more.js +1 -1
- package/lib/CWRangePicker/index.js +11 -11
- package/lib/CWRangePicker/utils/index.js +5 -5
- package/lib/CWSelect/DragTag/index.js +4 -4
- package/lib/CWSelect/antd-select.js +12 -12
- package/lib/CWSelect/index.js +11 -11
- package/lib/CWTable/CWTable.js +14 -14
- package/lib/CWTable/EditLine.js +11 -11
- package/lib/CWTable/Filter.js +4 -4
- package/lib/CWTable/FormTable.js +1 -1
- package/lib/CWTable/header.js +7 -7
- package/lib/CWTable/icon/DownGraySvg.js +1 -1
- package/lib/CWTable/icon/DownLightSvg.js +1 -1
- package/lib/CWTable/icon/SortSvg.js +1 -1
- package/lib/CWTable/icon/SortingSvg.js +1 -1
- package/lib/CWTable/icon/UpGraySvg.js +1 -1
- package/lib/CWTable/icon/UpLightSvg.js +1 -1
- package/lib/CWTable/index.js +1 -1
- package/lib/CWTree/assets/Drag.js +1 -1
- package/lib/CWTree/index.js +8 -8
- package/lib/CWTree/utils/index.js +1 -1
- package/lib/CWUpload/index.js +1 -1
- package/lib/CWUpload/upload/DragList.js +5 -5
- package/lib/CWUpload/upload/Upload.js +16 -16
- package/lib/CWUpload/upload/UploadList.js +9 -9
- package/lib/CardSelect/index.js +7 -7
- package/lib/Cascader/index.js +1 -1
- package/lib/ChangeIcon/index.js +4 -4
- package/lib/Checkbox/Checkbox.js +12 -12
- package/lib/Checkbox/Group.js +17 -17
- package/lib/Checkbox/assets/duigou1.js +1 -1
- package/lib/Checkbox/assets/duigou2.js +1 -1
- package/lib/CitySelect/index.js +1 -1
- package/lib/Collapse/index.js +3 -3
- package/lib/ColorPicker/SketchPicker/components/common/Alpha.js +9 -9
- package/lib/ColorPicker/SketchPicker/components/common/Checkboard.js +1 -1
- package/lib/ColorPicker/SketchPicker/components/common/ColorWrap.js +10 -10
- package/lib/ColorPicker/SketchPicker/components/common/EditableInput.js +9 -9
- package/lib/ColorPicker/SketchPicker/components/common/Hue.js +9 -9
- package/lib/ColorPicker/SketchPicker/components/common/Saturation.js +9 -9
- package/lib/ColorPicker/SketchPicker/components/common/Swatch.js +2 -2
- package/lib/ColorPicker/SketchPicker/components/sketch/SketchPresetColors.js +1 -1
- package/lib/ColorPicker/SketchPicker/components/sketch/index.js +1 -1
- package/lib/ColorPicker/SketchPicker/helpers/interaction.js +10 -10
- package/lib/ColorPicker/index.js +6 -6
- package/lib/ConfigProvider/ConfigProvider.js +8 -8
- package/lib/CustomNotification/PurePanel.js +126 -0
- package/lib/CustomNotification/index.js +210 -0
- package/lib/CustomNotification/index.less +102 -0
- package/lib/CustomNotification/useNotification.js +195 -0
- package/lib/CustomNotification/util.js +58 -0
- package/lib/CustomScrollBar/index.js +4 -4
- package/lib/DatePicker/DatePicker.js +1 -1
- package/lib/DatePicker/MonthPicker.js +1 -1
- package/lib/DatePicker/QuarterPicker.js +1 -1
- package/lib/DatePicker/RangePicker.js +1 -1
- package/lib/DatePicker/TimePicker.js +1 -1
- package/lib/DatePicker/WeekPicker.js +1 -1
- package/lib/DatePicker/YearPicker.js +1 -1
- package/lib/DateRangePicker/RangeDatePicker.js +7 -7
- package/lib/DateRangePicker/RangeDateTimePicker.js +10 -10
- package/lib/DateRangePicker/components/ExtraTimeFooter.js +2 -2
- package/lib/DateRangePicker/index.js +3 -3
- package/lib/Documentation/Tocify.js +3 -3
- package/lib/Documentation/index.js +5 -5
- package/lib/Drawer/index.js +8 -8
- package/lib/DropdownDatePicker/DropdownMenu/index.js +3 -3
- package/lib/DropdownDatePicker/assets/Calendar2.js +1 -1
- package/lib/DropdownDatePicker/assets/Recover.js +1 -1
- package/lib/DropdownDatePicker/assets/live.js +1 -1
- package/lib/DropdownDatePicker/assets/more.js +1 -1
- package/lib/DropdownDatePicker/index.js +8 -8
- package/lib/DropdownDatePicker/utils/index.js +5 -5
- package/lib/EchartsArea/index.js +4 -4
- package/lib/EchartsBar/index.js +4 -4
- package/lib/EchartsBarRow/index.js +3 -3
- package/lib/EchartsBase/index.js +4 -4
- package/lib/EchartsLine/index.js +4 -4
- package/lib/EchartsPie/index.js +3 -3
- package/lib/EchartsRing/index.js +3 -3
- package/lib/EditableText/index.js +6 -6
- package/lib/Empty/index.js +3 -3
- package/lib/ErrorBoundary/history.js +3 -3
- package/lib/ErrorBoundary/index.js +9 -9
- package/lib/FilterDropDown/DragList.js +6 -6
- package/lib/FilterDropDown/assets/ShowSvgIcon.js +1 -1
- package/lib/FilterDropDown/index.js +7 -7
- package/lib/Flow/BasicLayout/Chain.js +5 -5
- package/lib/Flow/Flow.js +4 -4
- package/lib/Flow/components/PluginWrapper.js +1 -1
- package/lib/Flow/layouts/callChain.js +1 -1
- package/lib/Flow/plugins/CommandLifeCycle.js +3 -3
- package/lib/Flow/plugins/InitSideBarPlugin.js +3 -3
- package/lib/Flow/plugins/InitToolBarPlugin.js +3 -3
- package/lib/Footer/index.js +2 -2
- package/lib/Form/FormItem.js +4 -4
- package/lib/Form4/index.js +1 -1
- package/lib/FormItemWrapper/index.js +4 -4
- package/lib/Formily/FieldList/index.js +3 -3
- package/lib/Formily/FormItem/index.js +4 -4
- package/lib/Formily/FormItem/items/formItemWrapper.js +2 -2
- package/lib/Formily/MegaLayout/index.js +2 -2
- package/lib/Formily/formily/index.js +4 -4
- package/lib/Formily/subscribeFields/index.js +7 -7
- package/lib/GlobalTabs/TabPane.js +2 -2
- package/lib/GlobalTabs/index.js +4 -4
- package/lib/Header/CommonDropMenu.js +7 -7
- package/lib/Header/CommonIcon.js +1 -1
- package/lib/Header/LocaleSwitcher.js +3 -3
- package/lib/Header/Message/index.js +2 -2
- package/lib/Header/UserSetting/TenantList.js +1 -1
- package/lib/Header/UserSetting/TenantTree.js +1 -1
- package/lib/Header/UserSetting/index.js +4 -4
- package/lib/Header/UserSetting/utils.js +1 -1
- package/lib/Header/index.js +4 -4
- package/lib/IconSelect/components/SearchIcon/index.js +4 -4
- package/lib/IconSelect/index.js +4 -4
- package/lib/ImagePreview/index.js +3 -3
- package/lib/Input/InputComponent.js +8 -8
- package/lib/Input/index.js +2 -2
- package/lib/InputNumber/index.js +3 -3
- package/lib/IntersectionInput/index.js +8 -8
- package/lib/Joyride/index.js +8 -8
- package/lib/LayoutBreadcrumb/index.js +4 -4
- package/lib/LayoutWrapper/Footer.js +3 -3
- package/lib/LayoutWrapper/Header.js +3 -3
- package/lib/LayoutWrapper/LeftArrow.js +1 -1
- package/lib/LayoutWrapper/index.js +5 -5
- package/lib/LazyLoadingTreeSelect/index.js +11 -11
- package/lib/Menu/index.js +1 -1
- package/lib/Menu/menu/MenuItem.js +8 -8
- package/lib/Menu/menu/SubMenu.js +8 -8
- package/lib/Menu/menu/index.js +9 -9
- package/lib/Modal/Modal.js +12 -12
- package/lib/Modal/assets/Close.js +1 -1
- package/lib/Modal/custom-backup/entiretyDrag.js +2 -2
- package/lib/Modal/index.js +4 -4
- package/lib/ModuleFederation/ErrorBoundary/index.js +8 -8
- package/lib/ModuleFederation/react-dynamic-remote-component/RemoteComponent.js +10 -10
- package/lib/ModuleFederation/react-dynamic-remote-component/load-module.js +2 -2
- package/lib/ModuleTitle/index.js +3 -3
- package/lib/OutlineNumber/index.js +3 -3
- package/lib/Pagination/index.js +8 -8
- package/lib/PolymerizationSearch/index.js +8 -8
- package/lib/Popconfirm/index.js +3 -3
- package/lib/Progress/index.js +3 -3
- package/lib/QuickRangePicker/index.js +8 -8
- package/lib/QuickTransfer/Drag.js +5 -5
- package/lib/QuickTransfer/DragList.js +6 -6
- package/lib/QuickTransfer/assets/DragSvg.js +1 -1
- package/lib/QuickTransfer/assets/LockSvg.js +1 -1
- package/lib/QuickTransfer/index.js +11 -11
- package/lib/QuickTransfer/utils.js +6 -6
- package/lib/Radio/Group.js +9 -9
- package/lib/Radio/Radio.js +12 -12
- package/lib/RangePicker/components/ExtraTimeFooter.js +2 -2
- package/lib/RangePicker/index.js +10 -10
- package/lib/RangePicker/utils/index.js +5 -5
- package/lib/ReactSelect/CustomControl.js +2 -2
- package/lib/ReactSelect/CustomMultiValueLabel.js +2 -2
- package/lib/ReactSelect/CustomOption.js +2 -2
- package/lib/ReactSelect/CustomSingleValue.js +2 -2
- package/lib/ReactSelect/customStyles.js +1 -1
- package/lib/ReactSelect/index.js +8 -8
- package/lib/ScrollLoad/index.js +7 -7
- package/lib/SearchBar/index.js +11 -11
- package/lib/SelectBackup/index.js +8 -8
- package/lib/SiderMenu/Item.js +11 -11
- package/lib/SiderMenu/index.js +4 -4
- package/lib/SiderMenu/sub-menu.js +3 -3
- package/lib/SimpleCard/index.js +3 -3
- package/lib/SimplePagination/index.js +5 -5
- package/lib/SingleSpa/hooks/useErrorHandle.js +5 -5
- package/lib/SingleSpa/hooks/useModel.js +4 -4
- package/lib/SingleSpa/import-html/process-tpl.js +4 -4
- package/lib/SingleSpa/import-html/utils.js +4 -4
- package/lib/SingleSpa/index.js +6 -6
- package/lib/SingleSpa/singleSpa/single-spa.dev.js +1 -1
- package/lib/Table/Table.less +6 -0
- package/lib/Table/index.js +1 -1
- package/lib/Tabs/index.js +4 -4
- package/lib/Tag/CheckableTag.js +3 -3
- package/lib/Tag/assets/LeftBottomCorner.js +1 -1
- package/lib/Tag/assets/LeftTopCorner.js +1 -1
- package/lib/Tag/assets/RightBottomCorner.js +1 -1
- package/lib/Tag/assets/RightTopCorner.js +1 -1
- package/lib/Tag/index.js +3 -3
- package/lib/ThemeProvider/main.js +8 -8
- package/lib/ThemeProvider/utils.js +4 -4
- package/lib/TimeRangeSlider/Refresh/index.js +7 -7
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/assets/Limit.js +1 -1
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/assets/LimitAreaSvg.js +1 -1
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/components/BottomSlider/BottomPlaceholder.js +4 -4
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/components/TopSlider/TopPlaceholder.js +4 -4
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/hooks/useHover.js +4 -4
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/hooks/useMouse.js +5 -5
- package/lib/TimeRangeSlider/TimeRangeSliderCmp/utils/index.js +1 -1
- package/lib/TimeRangeSlider/assets/Calendar.js +1 -1
- package/lib/TimeRangeSlider/assets/Calendar2.js +1 -1
- package/lib/TimeRangeSlider/assets/Recover.js +1 -1
- package/lib/TimeRangeSlider/assets/Refresh1.js +1 -1
- package/lib/TimeRangeSlider/assets/Refresh2.js +1 -1
- package/lib/TimeRangeSlider/assets/Refresh3.js +1 -1
- package/lib/TimeRangeSlider/assets/live.js +1 -1
- package/lib/TimeRangeSlider/assets/more.js +1 -1
- package/lib/TimeRangeSlider/index.js +9 -8
- package/lib/TimeRangeSlider/utils/index.js +5 -5
- package/lib/Tooltip/index.js +3 -3
- package/lib/TooltipText/ResizeObserverManager.js +3 -3
- package/lib/TooltipText/index.js +7 -7
- package/lib/TreeList/index.js +5 -5
- package/lib/TreeSelect111/index.js +8 -8
- package/lib/TreeSelect111/utils/index.js +4 -4
- package/lib/Upload-back/index.js +7 -7
- package/lib/VerticalLayout/index.js +2 -2
- package/lib/WangEditor/editor4.js +2 -2
- package/lib/WangEditor/index.js +2 -2
- package/lib/WangEditor/usePreview.js +4 -4
- package/lib/Watermark/index.js +7 -7
- package/lib/Watermark/useClips.js +4 -4
- package/lib/Watermark/useWatermark.js +4 -4
- package/lib/configConsumer/index.js +1 -1
- package/lib/configHoc/index.js +3 -3
- package/lib/message/assets/Close.js +1 -1
- package/lib/message/index.js +1 -1
- package/lib/noticeManager/globalState.js +4 -4
- package/lib/portalNoticeManager/usePortalDispatchNotice.js +5 -5
- package/lib/portalNoticeManager/withPortalDispatchNotice.js +1 -1
- package/lib/useLocale/index.js +3 -3
- package/lib/usePreview/index.js +4 -4
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
var SvgRefresh1 = function SvgRefresh1(props) {
|
|
4
4
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
var SvgRefresh2 = function SvgRefresh2(props) {
|
|
4
4
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
var SvgRefresh3 = function SvgRefresh3(props) {
|
|
4
4
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
var SvgLive = function SvgLive(props) {
|
|
4
4
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
/*
|
|
3
3
|
* @Author: andrew.qiao andrew.qiao@cloudwise.com
|
|
4
4
|
* @Date: 2022-09-13 17:59:38
|
|
@@ -8,20 +8,20 @@ import _message from "@chaoswise/ui/lib/message";
|
|
|
8
8
|
import _useLocale2 from "@chaoswise/ui/lib/useLocale";
|
|
9
9
|
var _excluded = ["timeDomain", "number", "unit", "isRecently", "value"],
|
|
10
10
|
_excluded2 = ["value", "timeDomain", "number", "unit", "isRecently"];
|
|
11
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
12
|
-
function _objectWithoutProperties(
|
|
13
|
-
function _objectWithoutPropertiesLoose(
|
|
11
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
12
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
13
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
14
14
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
15
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
-
function _defineProperty(
|
|
16
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
17
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
18
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
|
-
function _slicedToArray(
|
|
19
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
20
20
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
21
|
-
function _unsupportedIterableToArray(
|
|
22
|
-
function _arrayLikeToArray(
|
|
21
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
22
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
23
23
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
24
|
-
function _arrayWithHoles(
|
|
24
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
25
25
|
import React, { forwardRef, useState, useEffect, useMemo, useRef, useImperativeHandle } from "react";
|
|
26
26
|
import PropTypes from "prop-types";
|
|
27
27
|
import classnames from "classnames";
|
|
@@ -303,6 +303,7 @@ var TimeRangeSlider = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
303
303
|
}, [_defaultValue]);
|
|
304
304
|
// 日历模式下点击body
|
|
305
305
|
var clickBody = function clickBody(e) {
|
|
306
|
+
// 点击bodyfasle
|
|
306
307
|
var targetInput = calendarRef.current.querySelector(".cw-range-picker-box-wrapper");
|
|
307
308
|
var customPopoverDom = calendarRef.current.querySelector(".custom-popover-wrapper");
|
|
308
309
|
if (targetInput && customPopoverDom) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
-
function _defineProperty(
|
|
4
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
function _slicedToArray(
|
|
7
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
8
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
|
-
function _unsupportedIterableToArray(
|
|
10
|
-
function _arrayLikeToArray(
|
|
9
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
10
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
11
11
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
12
|
-
function _arrayWithHoles(
|
|
12
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
13
13
|
import moment from "moment";
|
|
14
14
|
var _require = require("uuid"),
|
|
15
15
|
uuidv4 = _require.v4;
|
package/lib/Tooltip/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "antd/es/tooltip/style";
|
|
2
2
|
import _Tooltip from "antd/es/tooltip";
|
|
3
3
|
var _excluded = ["useUiRule", "overlayClassName"];
|
|
4
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
5
|
-
function _objectWithoutProperties(
|
|
6
|
-
function _objectWithoutPropertiesLoose(
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
6
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
7
7
|
import React, { forwardRef } from 'react';
|
|
8
8
|
import classnames from 'classnames';
|
|
9
9
|
import PropTypes from 'prop-types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
function _createForOfIteratorHelper(
|
|
2
|
-
function _unsupportedIterableToArray(
|
|
3
|
-
function _arrayLikeToArray(
|
|
1
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
2
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
3
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
4
4
|
// ResizeObserverManager.js
|
|
5
5
|
import ResizeObserver from 'resize-observer-polyfill';
|
|
6
6
|
|
package/lib/TooltipText/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "@chaoswise/ui/lib/Tooltip/index.less";
|
|
2
2
|
import _Tooltip from "@chaoswise/ui/lib/Tooltip";
|
|
3
3
|
var _excluded = ["children", "width", "ellipsisPosition", "title"];
|
|
4
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
5
|
-
function _slicedToArray(
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
6
6
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
7
|
-
function _unsupportedIterableToArray(
|
|
8
|
-
function _arrayLikeToArray(
|
|
7
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
8
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
9
9
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
10
|
-
function _arrayWithHoles(
|
|
11
|
-
function _objectWithoutProperties(
|
|
12
|
-
function _objectWithoutPropertiesLoose(
|
|
10
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
11
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
12
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
13
13
|
import React, { useRef, useEffect, useState, useMemo, memo } from 'react';
|
|
14
14
|
import classnames from 'classnames';
|
|
15
15
|
import PropTypes from 'prop-types';
|
package/lib/TreeList/index.js
CHANGED
|
@@ -5,15 +5,15 @@ import "antd/es/spin/style";
|
|
|
5
5
|
import _Spin from "antd/es/spin";
|
|
6
6
|
import "antd/es/icon/style";
|
|
7
7
|
import _Icon from "antd/es/icon";
|
|
8
|
-
function _defineProperty(
|
|
8
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
9
9
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
10
10
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
11
|
-
function _slicedToArray(
|
|
11
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
12
12
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
13
|
-
function _unsupportedIterableToArray(
|
|
14
|
-
function _arrayLikeToArray(
|
|
13
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
14
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
15
15
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
16
|
-
function _arrayWithHoles(
|
|
16
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
17
17
|
import React, { useState, useEffect } from 'react';
|
|
18
18
|
import classNames from 'classnames';
|
|
19
19
|
import PropTypes from 'prop-types';
|
|
@@ -7,20 +7,20 @@ import "@chaoswise/ui/lib/Checkbox/index.less";
|
|
|
7
7
|
import _Checkbox from "@chaoswise/ui/lib/Checkbox";
|
|
8
8
|
import _useLocale2 from "@chaoswise/ui/lib/useLocale";
|
|
9
9
|
var _excluded = ["dropdownRender", "treeData", "showCheckAll", "children", "defaultValue", "value", "treeCheckable", "showCheckedStrategy"];
|
|
10
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
10
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
11
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
|
-
function _defineProperty(
|
|
13
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
14
14
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
15
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
16
|
-
function _slicedToArray(
|
|
16
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
17
17
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
18
|
-
function _unsupportedIterableToArray(
|
|
19
|
-
function _arrayLikeToArray(
|
|
18
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
19
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
20
20
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
21
|
-
function _arrayWithHoles(
|
|
22
|
-
function _objectWithoutProperties(
|
|
23
|
-
function _objectWithoutPropertiesLoose(
|
|
21
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
22
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
23
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
24
24
|
import React, { useState, useEffect, useMemo, forwardRef, Fragment, useRef } from "react";
|
|
25
25
|
import CWTreeSelect from "../Antd4/tree-select";
|
|
26
26
|
import PropTypes from "prop-types";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
function _createForOfIteratorHelper(
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
2
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
3
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
4
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5
5
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
|
-
function _defineProperty(
|
|
7
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
8
8
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
10
|
/*
|
package/lib/Upload-back/index.js
CHANGED
|
@@ -9,15 +9,15 @@ import _Button from "antd/es/button";
|
|
|
9
9
|
import "antd/es/upload/style";
|
|
10
10
|
import _Upload from "antd/es/upload";
|
|
11
11
|
var _excluded = ["onChange", "uploadResult", "errorMessage", "successMessage", "showUploadList", "openMethod", "clickContent", "errorTitle", "draggerContent", "showUploadModal"];
|
|
12
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
13
|
-
function _slicedToArray(
|
|
12
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
13
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
14
14
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
15
|
-
function _unsupportedIterableToArray(
|
|
16
|
-
function _arrayLikeToArray(
|
|
15
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
16
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
17
17
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
18
|
-
function _arrayWithHoles(
|
|
19
|
-
function _objectWithoutProperties(
|
|
20
|
-
function _objectWithoutPropertiesLoose(
|
|
18
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
19
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
20
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
21
21
|
import React, { Fragment, useState } from 'react';
|
|
22
22
|
var Dragger = _Upload.Dragger;
|
|
23
23
|
import PropTypes from 'prop-types';
|
|
@@ -3,8 +3,8 @@ import _Icon from "antd/es/icon";
|
|
|
3
3
|
import "@chaoswise/ui/lib/Header/index.less";
|
|
4
4
|
import _Header from "@chaoswise/ui/lib/Header";
|
|
5
5
|
var _excluded = ["children", "type", "breadCrumb", "backNavigationTitle", "onClickBack", "className", "contentClassName", "backIcon", "hasFooter"];
|
|
6
|
-
function _objectWithoutProperties(
|
|
7
|
-
function _objectWithoutPropertiesLoose(
|
|
6
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
7
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
8
8
|
import React from "react";
|
|
9
9
|
import { useHistory } from 'react-router-dom';
|
|
10
10
|
import PropTypes from 'prop-types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["isSeparation", "customAlert", "htmlContent", "appendHtmlContent", "getHtml", "getText", "getJSON", "setJSON", "clearContent", "compatibleMode", "highLight", "fullScreen", "onChange", "onFocus", "onBlur", "linkImgCallback", "onlineVideoCallback", "onlineVideoCheck", "linkCheck", "pasteTextHandle", "customUploadImg", "customUploadVideo", "disable", "onCatalogChange", "headId"];
|
|
2
|
-
function _objectWithoutProperties(
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
3
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import React, { useEffect, Fragment } from 'react';
|
|
5
5
|
import E from 'wangeditor';
|
|
6
6
|
import hljs from 'highlight.js';
|
package/lib/WangEditor/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _ConfigProvider from "@chaoswise/ui/lib/ConfigProvider";
|
|
2
2
|
var _excluded = ["isSeparation", "htmlContent", "value", "disabled", "onChange", "onFocus", "onBlur", "pasteTextHandle", "autoFocus", "isUsePreview", "dropListPosition"];
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
3
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
5
5
|
import React, { useEffect, Fragment, useRef, forwardRef } from "react";
|
|
6
6
|
import E from "./wangEditor";
|
|
7
7
|
import PropTypes from "prop-types";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
1
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
3
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
4
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
|
-
function _arrayWithHoles(
|
|
6
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
import React, { useState } from "react";
|
|
8
8
|
import Viewer from "react-viewer";
|
|
9
9
|
export default function usePreview() {
|
package/lib/Watermark/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
function _toConsumableArray(
|
|
1
|
+
function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
|
|
2
2
|
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _iterableToArray(
|
|
4
|
-
function _arrayWithoutHoles(
|
|
5
|
-
function _slicedToArray(
|
|
3
|
+
function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
|
|
4
|
+
function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
|
|
5
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
6
6
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
7
|
-
function _unsupportedIterableToArray(
|
|
8
|
-
function _arrayLikeToArray(
|
|
7
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
8
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
9
9
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
10
|
-
function _arrayWithHoles(
|
|
10
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
11
11
|
import React, { useEffect } from 'react';
|
|
12
12
|
import { useMutateObserver } from '@rc-component/mutate-observer';
|
|
13
13
|
import classNames from 'classnames';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
1
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
3
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
4
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
|
-
function _arrayWithHoles(
|
|
6
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
export var FontGap = 3;
|
|
8
8
|
function prepareCanvas(width, height) {
|
|
9
9
|
var ratio = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
1
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
3
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
4
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
|
-
function _arrayWithHoles(
|
|
6
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
7
|
import * as React from 'react';
|
|
8
8
|
import { getStyleStr } from './utils';
|
|
9
9
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ConfigConsumer } from 'antd/es/config-provider';
|
|
4
4
|
var Index = function Index(Component) {
|
package/lib/configHoc/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var _excluded = ["forwardedRef"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutProperties(
|
|
4
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
4
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
5
5
|
import React, { forwardRef } from 'react';
|
|
6
6
|
import { ConfigConsumer } from 'antd/es/config-provider';
|
|
7
7
|
var configHoc = function configHoc(Com) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
var SvgClose = function SvgClose(props) {
|
|
4
4
|
return /*#__PURE__*/React.createElement("svg", _extends({
|
package/lib/message/index.js
CHANGED
|
@@ -2,7 +2,7 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
2
2
|
import _Icon from "@chaoswise/ui/lib/Icon";
|
|
3
3
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
4
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
|
-
function _defineProperty(
|
|
5
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
8
|
/*
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
2
|
-
function _classCallCheck(
|
|
3
|
-
function _defineProperties(
|
|
4
|
-
function _createClass(
|
|
5
|
-
function _defineProperty(
|
|
2
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
3
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
4
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
5
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
6
6
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
7
7
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
8
8
|
var GlobalState = /*#__PURE__*/function () {
|