@ccs-ui/rc-pro 2.4.7-beta.10 → 2.4.7-beta.11
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/docs-dist/404.html +2 -2
- package/docs-dist/atom__demos.018af23a.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__index.md.c5e40391.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__interfaces__AtomLoadingProps.md.ef6008b3.async.js +1 -0
- package/docs-dist/docs__rc-pro__atom___api__type-aliases__AtomCountdownInstance.md.848197ad.async.js +1 -0
- package/docs-dist/{docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.8d06e954.async.js → docs__rc-pro__atom___api__type-aliases__AtomResizeProps.md.bf89a64a.async.js} +1 -1
- package/docs-dist/{docs__rc-pro__index.md.2d3a6bc8.async.js → docs__rc-pro__index.md.25f3dfbd.async.js} +1 -1
- package/docs-dist/guide/index.html +2 -2
- package/docs-dist/index.html +2 -2
- package/docs-dist/meta__docs.67dd31e4.async.js +176 -0
- package/docs-dist/{meta__packages.a0b913f8.chunk.css → meta__packages.6918a5b3.chunk.css} +1 -1
- package/docs-dist/{meta__packages.e678055f.async.js → meta__packages.6de41e0e.async.js} +127 -227
- package/docs-dist/plugins/index.html +2 -2
- package/docs-dist/preload_helper.5834d842.js +1 -0
- package/docs-dist/rc-pro/atom/_api/enumerations/DataEvent.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomCheckboxProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomEllipsisProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomFullScreenProps.md/index.html +2 -2
- package/docs-dist/rc-pro/{loading/_api/index.md → atom/_api/interfaces/AtomLoadingProps.md}/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomMultiStateProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/interfaces/ResizeSize.md/index.html +2 -2
- package/docs-dist/rc-pro/{loading/_api/interfaces/LoadingProps.md → atom/_api/type-aliases/AtomCountdownInstance.md}/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomCountdownProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterInstance.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItem.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItems.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomOperationProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomPageRequestProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomResizeProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomTitleProps.md/index.html +2 -2
- package/docs-dist/rc-pro/atom/_api/type-aliases/TableEventHandle.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/interfaces/ButtonGroupProps.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/interfaces/DropdownProps.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/interfaces/GroupButtonItem.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/type-aliases/ButtonProps.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/type-aliases/DropdownClick.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/type-aliases/DropdownMenuItemType.md/index.html +2 -2
- package/docs-dist/rc-pro/button/_api/type-aliases/GroupClick.md/index.html +2 -2
- package/docs-dist/rc-pro/cascader/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/cascader/_api/type-aliases/ApiCascaderProps.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/AppConfigType.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/AppFieldNames.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/FnContextType.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/PageContextType.md/index.html +2 -2
- package/docs-dist/rc-pro/context/_api/type-aliases/PageFieldNames.md/index.html +2 -2
- package/docs-dist/rc-pro/date-picker/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/date-picker/_api/type-aliases/DatePickerProps.md/index.html +2 -2
- package/docs-dist/rc-pro/date-picker/_api/type-aliases/RangePickerProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogContextType.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogDrawer.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogInterface.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogModal.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogButtonsProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogDrawerProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogModalProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/OkBtnProps.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/OkEvent.md/index.html +2 -2
- package/docs-dist/rc-pro/dialog/_api/type-aliases/Service.md/index.html +2 -2
- package/docs-dist/rc-pro/editor/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/editor/_api/type-aliases/EditorCodeProps.md/index.html +2 -2
- package/docs-dist/rc-pro/editor/_api/type-aliases/EditorRichProps.md/index.html +2 -2
- package/docs-dist/rc-pro/editor/_api/type-aliases/LexicalEditorBaseProps.md/index.html +2 -2
- package/docs-dist/rc-pro/editor/_api/type-aliases/RichImageUpload.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItem.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItemChildren.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItemProps.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/FormListProps.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/ListItemBtnProps.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItem.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemButton.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemProps.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/RuleType.md/index.html +2 -2
- package/docs-dist/rc-pro/form/_api/type-aliases/ShowValidateEvent.md/index.html +2 -2
- package/docs-dist/rc-pro/index.html +2 -2
- package/docs-dist/rc-pro/index.md/index.html +2 -2
- package/docs-dist/rc-pro/page-layout/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/page-layout/_api/interfaces/KeepAliveTabsProps.md/index.html +2 -2
- package/docs-dist/rc-pro/page-layout/_api/interfaces/SinglePageProps.md/index.html +2 -2
- package/docs-dist/rc-pro/page-layout/_api/type-aliases/MenuType.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/interfaces/ProTableProps.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/interfaces/TableInstance.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/interfaces/TableProps.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/LeafVerify.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumn.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumns.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableData.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItems.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableInstanceRef.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TreeInstance.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-tabs/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsChangeProps.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsContextType.md/index.html +2 -2
- package/docs-dist/rc-pro/pro-tabs/_api/type-aliases/TabProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/ApiSelectProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/CacheType.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/CustomizeSelectProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/ModalSelectProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/SelectChildrenProps.md/index.html +2 -2
- package/docs-dist/rc-pro/select/_api/type-aliases/SelectProps.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/interfaces/ImageInfo.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/type-aliases/FileUploadList.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadImageProps.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadProps.md/index.html +2 -2
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadRequest.md/index.html +2 -2
- package/docs-dist/rc-pro/water-mark/_api/index.md/index.html +2 -2
- package/docs-dist/rc-pro/water-mark/_api/type-aliases/WaterMarkProps.md/index.html +2 -2
- package/docs-dist/rc-pros/atom/index.html +2 -2
- package/docs-dist/rc-pros/auth/index.html +2 -2
- package/docs-dist/rc-pros/button/index.html +2 -2
- package/docs-dist/rc-pros/cascader/index.html +2 -2
- package/docs-dist/rc-pros/date-picker/index.html +2 -2
- package/docs-dist/rc-pros/dialog/index.html +2 -2
- package/docs-dist/rc-pros/editor/index.html +2 -2
- package/docs-dist/rc-pros/form/index.html +2 -2
- package/docs-dist/rc-pros/index.html +2 -2
- package/docs-dist/rc-pros/page-layout/index.html +2 -2
- package/docs-dist/rc-pros/pro-table/index.html +2 -2
- package/docs-dist/rc-pros/pro-tabs/index.html +2 -2
- package/docs-dist/rc-pros/result/index.html +2 -2
- package/docs-dist/rc-pros/select/index.html +2 -2
- package/docs-dist/rc-pros/time-picker/index.html +2 -2
- package/docs-dist/rc-pros/upload/index.html +2 -2
- package/docs-dist/rc-pros/water-mark/index.html +2 -2
- package/docs-dist/{umi.3058b8bb.js → umi.115ca78a.js} +39 -39
- package/docs-dist/utils/index.html +2 -2
- package/docs-dist/~demos/:id/index.html +2 -2
- package/docs-dist/~demos/atom-demo-base/index.html +2 -2
- package/docs-dist/~demos/atom-demo-ellipsis/index.html +2 -2
- package/docs-dist/~demos/atom-demo-filter/index.html +2 -2
- package/docs-dist/~demos/atom-demo-operation/index.html +2 -2
- package/docs-dist/~demos/atom-demo-state/index.html +2 -2
- package/docs-dist/~demos/auth-demo-basic/index.html +2 -2
- package/docs-dist/~demos/button-demo-button/index.html +2 -2
- package/docs-dist/~demos/button-demo-group/index.html +2 -2
- package/docs-dist/~demos/cascader-demo-basic/index.html +2 -2
- package/docs-dist/~demos/cascader-demo-cache/index.html +2 -2
- package/docs-dist/~demos/date-picker-demo-basic/index.html +2 -2
- package/docs-dist/~demos/date-picker-demo-range/index.html +2 -2
- package/docs-dist/~demos/dialog-demo-demos/index.html +2 -2
- package/docs-dist/~demos/dialog-demo-form/index.html +2 -2
- package/docs-dist/~demos/dialog-demo-prompt/index.html +2 -2
- package/docs-dist/~demos/editor-demo-demos/index.html +2 -2
- package/docs-dist/~demos/editor-demo-rich/index.html +2 -2
- package/docs-dist/~demos/form-demo-demos/index.html +2 -2
- package/docs-dist/~demos/packages-utils-src-demo-demos/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-basic/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-cascade/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-extra/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-filter/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-fixed/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-refresh/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-selection/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-show-depend/index.html +2 -2
- package/docs-dist/~demos/pro-table-demo-tree-async/index.html +2 -2
- package/docs-dist/~demos/pro-tabs-demo-basic/index.html +2 -2
- package/docs-dist/~demos/pro-tabs-demo-tab/index.html +2 -2
- package/docs-dist/~demos/result-demo-basic/index.html +2 -2
- package/docs-dist/~demos/select-demo-api/index.html +2 -2
- package/docs-dist/~demos/select-demo-basic/index.html +2 -2
- package/docs-dist/~demos/select-demo-customize/index.html +2 -2
- package/docs-dist/~demos/select-demo-customize-label/index.html +2 -2
- package/docs-dist/~demos/time-picker-demo-basic/index.html +2 -2
- package/docs-dist/~demos/upload-demo-basic/index.html +2 -2
- package/docs-dist/~demos/upload-demo-image/index.html +2 -2
- package/docs-dist/~demos/water-mark-demo-basic/index.html +2 -2
- package/es/atom/_api.d.ts +16 -2
- package/es/atom/_api.js +3 -1
- package/es/atom/count-down.d.ts +8 -12
- package/es/atom/count-down.js +13 -7
- package/es/atom/index.d.ts +12 -6
- package/es/atom/index.js +4 -0
- package/es/atom/index.less +14 -0
- package/es/atom/loading.d.ts +6 -0
- package/es/{loading/index.js → atom/loading.js} +3 -4
- package/es/atom/operation.js +2 -2
- package/es/atom/resize-observer.d.ts +1 -3
- package/es/atom/resize-observer.js +15 -13
- package/es/ccs.d.ts +0 -1
- package/es/ccs.js +0 -1
- package/es/dialog/button.d.ts +1 -1
- package/es/index.d.ts +0 -3
- package/es/index.js +0 -4
- package/es/page-layout/index.less +1 -1
- package/package.json +1 -1
- package/docs-dist/atom__demos.634b9888.async.js +0 -1
- package/docs-dist/docs__rc-pro__atom___api__index.md.0c77e6cb.async.js +0 -1
- package/docs-dist/docs__rc-pro__loading___api__index.md.7e626bac.async.js +0 -1
- package/docs-dist/docs__rc-pro__loading___api__interfaces__LoadingProps.md.cc583085.async.js +0 -1
- package/docs-dist/loading__demos.ef45e3bb.async.js +0 -1
- package/docs-dist/meta__docs.ec67b873.async.js +0 -176
- package/docs-dist/packages__rc-pro__src__loading__index.md.33be0665.chunk.css +0 -1
- package/docs-dist/packages__rc-pro__src__loading__index.md.e9b4169f.async.js +0 -1
- package/docs-dist/preload_helper.8661bca9.js +0 -1
- package/docs-dist/rc-pros/loading/index.html +0 -15
- package/docs-dist/~demos/loading-demo-basic/index.html +0 -15
- package/es/interval-button/index.d.ts +0 -14
- package/es/interval-button/index.js +0 -129
- package/es/loading/_api.d.ts +0 -11
- package/es/loading/_api.js +0 -1
- package/es/loading/index.d.ts +0 -7
- package/es/loading/index.less +0 -13
- /package/docs-dist/{docs__rc-pro__loading___api__index.md.33be0665.chunk.css → docs__rc-pro__atom___api__interfaces__AtomLoadingProps.md.33be0665.chunk.css} +0 -0
- /package/docs-dist/{docs__rc-pro__loading___api__interfaces__LoadingProps.md.33be0665.chunk.css → docs__rc-pro__atom___api__type-aliases__AtomCountdownInstance.md.33be0665.chunk.css} +0 -0
package/es/atom/_api.js
CHANGED
package/es/atom/count-down.d.ts
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
declare namespace AtomCountdown {
|
|
10
|
-
var displayName: string;
|
|
11
|
-
}
|
|
12
|
-
export default AtomCountdown;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { AtomCountdownInstance } from './_api';
|
|
3
|
+
declare const _default: import("react").ForwardRefExoticComponent<import("antd").ButtonProps & {
|
|
4
|
+
num?: number | undefined;
|
|
5
|
+
disabledText?: string | undefined;
|
|
6
|
+
cacheKey?: string | undefined;
|
|
7
|
+
} & import("react").RefAttributes<AtomCountdownInstance>>;
|
|
8
|
+
export default _default;
|
package/es/atom/count-down.js
CHANGED
|
@@ -18,7 +18,7 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
18
18
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
19
19
|
import { useInterval } from 'ahooks';
|
|
20
20
|
import { Button } from 'antd';
|
|
21
|
-
import { useLayoutEffect, useMemo, useState } from 'react';
|
|
21
|
+
import { forwardRef, useImperativeHandle, useLayoutEffect, useMemo, useState } from 'react';
|
|
22
22
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
23
23
|
/**
|
|
24
24
|
* 倒计时按钮组件
|
|
@@ -26,12 +26,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
26
26
|
* @param IntervalInstance
|
|
27
27
|
* @returns
|
|
28
28
|
*/
|
|
29
|
-
function AtomCountdown(_ref) {
|
|
29
|
+
function AtomCountdown(_ref, ref) {
|
|
30
30
|
var _ref$num = _ref.num,
|
|
31
31
|
num = _ref$num === void 0 ? 60 : _ref$num,
|
|
32
32
|
cacheKey = _ref.cacheKey,
|
|
33
|
-
|
|
34
|
-
disabledText = _ref$disabledText === void 0 ? '' : _ref$disabledText,
|
|
33
|
+
disabledText = _ref.disabledText,
|
|
35
34
|
children = _ref.children,
|
|
36
35
|
restProps = _objectWithoutProperties(_ref, _excluded);
|
|
37
36
|
var _useState = useState(-1),
|
|
@@ -111,13 +110,20 @@ function AtomCountdown(_ref) {
|
|
|
111
110
|
}));
|
|
112
111
|
}
|
|
113
112
|
};
|
|
114
|
-
|
|
113
|
+
useImperativeHandle(ref, function () {
|
|
114
|
+
return {
|
|
115
|
+
onStart: onStart
|
|
116
|
+
};
|
|
117
|
+
});
|
|
118
|
+
return count === -1 ? null : /*#__PURE__*/_jsx(Button, _objectSpread(_objectSpread({
|
|
119
|
+
type: "primary"
|
|
120
|
+
}, restProps), {}, {
|
|
115
121
|
onClick: restProps.onClick ? restProps.onClick : onStart,
|
|
116
122
|
disabled: restProps.disabled ? true : disabled,
|
|
117
|
-
children: disabled ? "".concat(count, "\u79D2").concat(disabledText) : children
|
|
123
|
+
children: disabled ? "".concat(count, "\u79D2").concat(disabledText) : "".concat(children)
|
|
118
124
|
}));
|
|
119
125
|
}
|
|
120
126
|
if (process.env.NODE_ENV !== 'production') {
|
|
121
127
|
AtomCountdown.displayName = 'AtomCountdown';
|
|
122
128
|
}
|
|
123
|
-
export default AtomCountdown;
|
|
129
|
+
export default /*#__PURE__*/forwardRef(AtomCountdown);
|
package/es/atom/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import AtomCheckbox from './check';
|
|
3
|
-
import AtomCountdown from './count-down';
|
|
4
3
|
import AtomFullScreen from './full-screen';
|
|
5
4
|
import './index.less';
|
|
6
5
|
import AtomOperation from './operation';
|
|
6
|
+
import AtomResize from './resize-observer';
|
|
7
7
|
import AtomTitle from './title';
|
|
8
8
|
import useComplexState from './useComplexState';
|
|
9
9
|
import usePageRequest from './usePageRequest';
|
|
@@ -33,12 +33,13 @@ declare const Atom: {
|
|
|
33
33
|
/** 标题 */
|
|
34
34
|
Title: typeof AtomTitle;
|
|
35
35
|
/** 尺寸变更监听 */
|
|
36
|
-
Resize:
|
|
37
|
-
(props: import("../ccs").AtomResizeProps): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
displayName: string;
|
|
39
|
-
}>;
|
|
36
|
+
Resize: typeof AtomResize;
|
|
40
37
|
/** 尺寸变更监听 */
|
|
41
|
-
Countdown:
|
|
38
|
+
Countdown: import("react").ForwardRefExoticComponent<import("antd").ButtonProps & {
|
|
39
|
+
num?: number | undefined;
|
|
40
|
+
disabledText?: string | undefined;
|
|
41
|
+
cacheKey?: string | undefined;
|
|
42
|
+
} & import("react").RefAttributes<import("../ccs").AtomCountdownInstance>>;
|
|
42
43
|
/** 文本缩略 */
|
|
43
44
|
Ellipsis: import("react").MemoExoticComponent<{
|
|
44
45
|
({ content, rows, direction, showTooltip, }: import("../ccs").AtomEllipsisProps): string | import("react/jsx-runtime").JSX.Element | undefined;
|
|
@@ -48,6 +49,11 @@ declare const Atom: {
|
|
|
48
49
|
usePageRequest: typeof usePageRequest;
|
|
49
50
|
/** 多状态管理 */
|
|
50
51
|
useComplexState: typeof useComplexState;
|
|
52
|
+
/** 相对loading */
|
|
53
|
+
Loading: {
|
|
54
|
+
({ loading, loadingTip }: import("../ccs").AtomLoadingProps): import("react/jsx-runtime").JSX.Element | null;
|
|
55
|
+
displayName: string;
|
|
56
|
+
};
|
|
51
57
|
displayName: string;
|
|
52
58
|
};
|
|
53
59
|
export default Atom;
|
package/es/atom/index.js
CHANGED
|
@@ -4,6 +4,7 @@ import AtomEllipsis from "./ellipsis";
|
|
|
4
4
|
import AtomFilter from "./filter";
|
|
5
5
|
import AtomFullScreen from "./full-screen";
|
|
6
6
|
import "./index.less";
|
|
7
|
+
import AtomLoading from "./loading";
|
|
7
8
|
import AtomOperation from "./operation";
|
|
8
9
|
import AtomResize from "./resize-observer";
|
|
9
10
|
import AtomTitle from "./title";
|
|
@@ -49,6 +50,9 @@ Atom.usePageRequest = usePageRequest;
|
|
|
49
50
|
|
|
50
51
|
/** 多状态管理 */
|
|
51
52
|
Atom.useComplexState = useComplexState;
|
|
53
|
+
|
|
54
|
+
/** 相对loading */
|
|
55
|
+
Atom.Loading = AtomLoading;
|
|
52
56
|
if (process.env.NODE_ENV !== 'production') {
|
|
53
57
|
Atom.displayName = 'CcsAtom';
|
|
54
58
|
}
|
package/es/atom/index.less
CHANGED
|
@@ -89,3 +89,17 @@
|
|
|
89
89
|
.ccs-ellipsis-tootip {
|
|
90
90
|
max-width: 50%;
|
|
91
91
|
}
|
|
92
|
+
|
|
93
|
+
.ccs-loading {
|
|
94
|
+
position: absolute;
|
|
95
|
+
inset: 0;
|
|
96
|
+
background: rgba(0, 0, 0, 10%);
|
|
97
|
+
z-index: 9999;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ccs-loading-content {
|
|
101
|
+
top: 50%;
|
|
102
|
+
left: 50%;
|
|
103
|
+
transform: translate(-50%, -50%);
|
|
104
|
+
position: absolute;
|
|
105
|
+
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { LoadingOutlined } from '@ant-design/icons';
|
|
2
2
|
import { Space, Spin } from 'antd';
|
|
3
|
-
import "./index.less";
|
|
4
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
4
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
|
-
var
|
|
5
|
+
var AtomLoading = function AtomLoading(_ref) {
|
|
7
6
|
var loading = _ref.loading,
|
|
8
7
|
loadingTip = _ref.loadingTip;
|
|
9
8
|
return loading ? /*#__PURE__*/_jsx("div", {
|
|
@@ -23,6 +22,6 @@ var Loading = function Loading(_ref) {
|
|
|
23
22
|
}) : null;
|
|
24
23
|
};
|
|
25
24
|
if (process.env.NODE_ENV !== 'production') {
|
|
26
|
-
|
|
25
|
+
AtomLoading.displayName = 'AtomLoading';
|
|
27
26
|
}
|
|
28
|
-
export default
|
|
27
|
+
export default AtomLoading;
|
package/es/atom/operation.js
CHANGED
|
@@ -8,7 +8,7 @@ import { ColumnHeightOutlined, RedoOutlined } from '@ant-design/icons';
|
|
|
8
8
|
import { Button, Dropdown, Tooltip } from 'antd';
|
|
9
9
|
import classNames from 'classnames';
|
|
10
10
|
import { classAtomPrefix } from '.';
|
|
11
|
-
import
|
|
11
|
+
import AtomFullScreen from "./full-screen";
|
|
12
12
|
import ProBaseItem from "./item";
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -67,7 +67,7 @@ function AtomOperation(props) {
|
|
|
67
67
|
icon: /*#__PURE__*/_jsx(RedoOutlined, {}),
|
|
68
68
|
type: "text"
|
|
69
69
|
})
|
|
70
|
-
}), parentHtmlId !== undefined && /*#__PURE__*/_jsx(
|
|
70
|
+
}), parentHtmlId !== undefined && /*#__PURE__*/_jsx(AtomFullScreen, {
|
|
71
71
|
parentHtmlId: "ccs-pro-table"
|
|
72
72
|
})]
|
|
73
73
|
})]
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { AtomResizeProps } from './_api';
|
|
3
2
|
declare function AtomResize(props: AtomResizeProps): import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
declare namespace AtomResize {
|
|
5
4
|
var displayName: string;
|
|
6
5
|
}
|
|
7
|
-
|
|
8
|
-
export default _default;
|
|
6
|
+
export default AtomResize;
|
|
@@ -5,20 +5,21 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(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
7
|
import { useDebounce, useSize } from 'ahooks';
|
|
8
|
-
import
|
|
8
|
+
import { useEffect, useRef } from 'react';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
function ResizeObserver(_ref) {
|
|
11
11
|
var onResize = _ref.onResize,
|
|
12
|
-
|
|
13
|
-
wait = _ref$wait === void 0 ? 500 : _ref$wait;
|
|
12
|
+
option = _ref.option;
|
|
14
13
|
var sizeRef = useRef();
|
|
15
14
|
var ref = useRef(null);
|
|
16
15
|
var size = useSize(ref);
|
|
17
16
|
|
|
18
17
|
// 监听容器尺寸变化
|
|
19
|
-
var debouncedValue = useDebounce(size, {
|
|
20
|
-
wait:
|
|
21
|
-
|
|
18
|
+
var debouncedValue = useDebounce(size, _objectSpread({
|
|
19
|
+
wait: 500,
|
|
20
|
+
leading: false,
|
|
21
|
+
trailing: true
|
|
22
|
+
}, option));
|
|
22
23
|
useEffect(function () {
|
|
23
24
|
if (debouncedValue) {
|
|
24
25
|
// 避免首次触发回调
|
|
@@ -27,7 +28,7 @@ function ResizeObserver(_ref) {
|
|
|
27
28
|
}
|
|
28
29
|
sizeRef.current = debouncedValue;
|
|
29
30
|
}
|
|
30
|
-
}, [
|
|
31
|
+
}, [debouncedValue]);
|
|
31
32
|
return /*#__PURE__*/_jsx("div", {
|
|
32
33
|
ref: ref
|
|
33
34
|
});
|
|
@@ -35,15 +36,16 @@ function ResizeObserver(_ref) {
|
|
|
35
36
|
|
|
36
37
|
/** 监听容器尺寸变化,防抖 */
|
|
37
38
|
function ResizeObserverTarget(_ref2) {
|
|
38
|
-
var
|
|
39
|
-
wait = _ref2$wait === void 0 ? 500 : _ref2$wait,
|
|
39
|
+
var option = _ref2.option,
|
|
40
40
|
targetRef = _ref2.targetRef,
|
|
41
41
|
onResize = _ref2.onResize;
|
|
42
42
|
var sizeRef = useRef();
|
|
43
43
|
var size = useSize(targetRef);
|
|
44
|
-
var debouncedValue = useDebounce(size, {
|
|
45
|
-
wait:
|
|
46
|
-
|
|
44
|
+
var debouncedValue = useDebounce(size, _objectSpread({
|
|
45
|
+
wait: 500,
|
|
46
|
+
leading: false,
|
|
47
|
+
trailing: true
|
|
48
|
+
}, option));
|
|
47
49
|
useEffect(function () {
|
|
48
50
|
if (debouncedValue) {
|
|
49
51
|
// 避免首次触发回调
|
|
@@ -61,4 +63,4 @@ function AtomResize(props) {
|
|
|
61
63
|
if (process.env.NODE_ENV !== 'production') {
|
|
62
64
|
AtomResize.displayName = 'AtomResize';
|
|
63
65
|
}
|
|
64
|
-
export default
|
|
66
|
+
export default AtomResize;
|
package/es/ccs.d.ts
CHANGED
|
@@ -31,7 +31,6 @@ export * from './date-picker/_api';
|
|
|
31
31
|
export * from './dialog/_api';
|
|
32
32
|
export * from './editor/_api';
|
|
33
33
|
export * from './form/_api';
|
|
34
|
-
export * from './loading/_api';
|
|
35
34
|
export * from './page-layout/_api';
|
|
36
35
|
export * from './pro-table/_api';
|
|
37
36
|
export * from './pro-tabs/_api';
|
package/es/ccs.js
CHANGED
|
@@ -20,7 +20,6 @@ export * from "./date-picker/_api";
|
|
|
20
20
|
export * from "./dialog/_api";
|
|
21
21
|
export * from "./editor/_api";
|
|
22
22
|
export * from "./form/_api";
|
|
23
|
-
export * from "./loading/_api";
|
|
24
23
|
export * from "./page-layout/_api";
|
|
25
24
|
export * from "./pro-table/_api";
|
|
26
25
|
export * from "./pro-tabs/_api";
|
package/es/dialog/button.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { DialogFormRef } from './form';
|
|
|
5
5
|
export type DialogButtonRef = {
|
|
6
6
|
onSetButtons: (e: React.ReactElement) => void;
|
|
7
7
|
};
|
|
8
|
-
export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<DialogModalProps<TParams, TData>, "
|
|
8
|
+
export declare const DialogButtonHolder: <TParams, TData>({ auth, extraBtn, formRef, request, onOk, onClose, buttonRef, requestFieldNames, formInitialValues, preventRequestHandle, }: Pick<DialogModalProps<TParams, TData>, "auth" | "request" | "onOk" | "onClose" | "extraBtn" | "requestFieldNames" | "preventRequestHandle"> & {
|
|
9
9
|
formRef: React.RefObject<DialogFormRef<TParams>>;
|
|
10
10
|
formInitialValues: FormProps['initialValues'];
|
|
11
11
|
buttonRef: RefObject<DialogButtonRef>;
|
package/es/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { default as CcsAjCaptcha } from './aj-captcha';
|
|
2
2
|
export { default as CcsAtom } from './atom';
|
|
3
|
-
export { default as CcsFullScreenButton } from './atom/full-screen';
|
|
4
3
|
export { default as CcsAuth } from './auth';
|
|
5
4
|
export { default as CcsButton } from './button';
|
|
6
5
|
export { default as CcsCascader } from './cascader';
|
|
@@ -16,8 +15,6 @@ export { default as useCcsPage } from './hooks/use-page';
|
|
|
16
15
|
export { default as useTableSelection } from './hooks/use-selection';
|
|
17
16
|
export { default as useCcsTabs } from './hooks/use-tabs';
|
|
18
17
|
export { default as useCcsWindow } from './hooks/use-window';
|
|
19
|
-
export { default as CcsIntervalButton } from './interval-button';
|
|
20
|
-
export { default as CcsLoading } from './loading';
|
|
21
18
|
export { default as CcsPageLayout } from './page-layout';
|
|
22
19
|
export { default as CcsKeepAliveTabs } from './page-layout/keep-alive';
|
|
23
20
|
export { default as CcsSinglePage } from './page-layout/single-page';
|
package/es/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { default as CcsAjCaptcha } from "./aj-captcha";
|
|
2
2
|
export { default as CcsAtom } from "./atom";
|
|
3
|
-
export { default as CcsFullScreenButton } from "./atom/full-screen";
|
|
4
3
|
export { default as CcsAuth } from "./auth";
|
|
5
4
|
export { default as CcsButton } from "./button";
|
|
6
5
|
export { default as CcsCascader } from "./cascader";
|
|
@@ -9,7 +8,6 @@ export { default as CcsAppConfig } from "./config";
|
|
|
9
8
|
export { default as CcsDatePicker } from "./date-picker";
|
|
10
9
|
export { default as CcsDialog } from "./dialog";
|
|
11
10
|
export { default as CcsEditor } from "./editor";
|
|
12
|
-
// export { default as CcsEllipsis } from './ellipsis';
|
|
13
11
|
export { default as CcsForm } from "./form";
|
|
14
12
|
export { default as useAppConfig } from "./hooks/use-app";
|
|
15
13
|
export { default as useCcsOnceEvent } from "./hooks/use-once-event";
|
|
@@ -17,8 +15,6 @@ export { default as useCcsPage } from "./hooks/use-page";
|
|
|
17
15
|
export { default as useTableSelection } from "./hooks/use-selection";
|
|
18
16
|
export { default as useCcsTabs } from "./hooks/use-tabs";
|
|
19
17
|
export { default as useCcsWindow } from "./hooks/use-window";
|
|
20
|
-
export { default as CcsIntervalButton } from "./interval-button";
|
|
21
|
-
export { default as CcsLoading } from "./loading";
|
|
22
18
|
export { default as CcsPageLayout } from "./page-layout";
|
|
23
19
|
export { default as CcsKeepAliveTabs } from "./page-layout/keep-alive";
|
|
24
20
|
export { default as CcsSinglePage } from "./page-layout/single-page";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkccs_ui=self.webpackChunkccs_ui||[]).push([[9254],{5702:function(d,s,u){u.r(s);var i=u(48305),o=u.n(i),a=u(47219),e=u(32097),l=u(81465),t=u(75271),n=u(52676),E=["Apple","Pear","Orange"];s.default=function(){var c=(0,t.useState)(""),_=o()(c,2),C=_[0],D=_[1];return(0,n.jsxs)("div",{id:"ccs-pro-table",children:[(0,n.jsx)(l.Z,{orientation:"left",plain:!0,children:"\u5C0F\u7EC4\u4EF6"}),(0,n.jsx)(e.default.FullScreen,{parentHtmlId:"ccs-pro-table",btnProps:{children:"\u5168\u5C4F"}}),(0,n.jsx)(e.default.Checkbox,{btnProps:{children:"\u4E0B\u62C9\u9009\u62E9\u7EC4"},options:E,defaultCheckedKeys:["Apple","Pear"],onChange:function(F){console.log("CcsAtom.Checkbox onChange",F)}}),(0,n.jsx)(e.default.Countdown,{icon:(0,n.jsx)(a.Z,{}),type:"text",num:10,disabledText:"\u540E\u91CD\u53D1",children:"\u5012\u8BA1\u65F6\u6309\u94AE"}),(0,n.jsx)(l.Z,{orientation:"left",plain:!0,children:"\u591A\u72B6\u6001\u7BA1\u7406,\u6839\u636E\u5BF9\u8C61\u8DEF\u5F84\u66F4\u65B0\u503C"}),(0,n.jsx)("div",{style:{color:"gray",fontSize:12,marginLeft:16},children:C||"\u62D6\u62FD\u6D4F\u89C8\u5668\u53D8\u66F4\u5C3A\u5BF8"}),(0,n.jsx)(e.default.Resize,{onResize:function(F){console.log("e",F),D(JSON.stringify(F))}})]})}},6777:function(d,s,u){u.r(s);var i=u(32097),o=u(76098),a=u(81465),e=u(52676),l="\u94F8\u9B42\u624E\u6839\uFF0C\u65B9\u80FD\u884C\u7A33\u81F4\u8FDC\u3002\u5E74\u8F7B\u5E72\u90E8\u6295\u8EAB\u4E61\u6751\u5168\u9762\u632F\u5174\uFF0C\u9996\u8981\u7684\u662F\u89E3\u51B3\u201C\u4E3A\u8C01\u5E72\u4E8B\u3001\u5982\u4F55\u5E72\u4E8B\u201D\u7684\u6839\u672C\u95EE\u9898\u3002\u4E61\u6751\u5DE5\u4F5C\u76F4\u9762\u57FA\u5C42\u7FA4\u4F17\uFF0C\u60C5\u51B5\u9519\u7EFC\u590D\u6742\u3002\u82E5\u7406\u8BBA\u6B66\u88C5\u4E0D\u6DF1\u3001\u653F\u7B56\u628A\u63E1\u4E0D\u51C6\uFF0C\u884C\u52A8\u4FBF\u4F1A\u504F\u79BB\u822A\u5411\uFF1B\u82E5\u7FA4\u4F17\u611F\u60C5\u4E0D\u591F\u6DF1\u539A\uFF0C\u5DE5\u4F5C\u5C31\u53EF\u80FD\u9677\u5165\u201C\u81EA\u8BF4\u81EA\u8BDD\u201D\u6216\u201C\u6C34\u571F\u4E0D\u670D\u201D\u7684\u56F0\u5883\u3002\u5FC5\u987B\u628A\u5F3A\u5316\u601D\u60F3\u6DEC\u70BC\u548C\u653F\u6CBB\u5386\u7EC3\u6446\u5728\u9996\u4F4D\uFF0C\u5F15\u5BFC\u5E74\u8F7B\u5E72\u90E8\u6DF1\u5165\u5B66\u4E60\u8D2F\u5F7B\u4E60\u8FD1\u5E73\u65B0\u65F6\u4EE3\u4E2D\u56FD\u7279\u8272\u793E\u4F1A\u4E3B\u4E49\u601D\u60F3\uFF0C\u7279\u522B\u662F\u4E60\u8FD1\u5E73\u603B\u4E66\u8BB0\u5173\u4E8E\u201C\u4E09\u519C\u201D\u5DE5\u4F5C\u91CD\u8981\u8BBA\u8FF0\uFF0C\u5728\u52E4\u5B66\u5584\u601D\u4E2D\u4E0D\u65AD\u575A\u5B9A\u7406\u60F3\u4FE1\u5FF5\uFF0C\u786E\u4FDD\u4E61\u6751\u5DE5\u4F5C\u59CB\u7EC8\u6CBF\u7740\u6B63\u786E\u65B9\u5411\u524D\u8FDB\u3002\u8BA9\u7406\u8BBA\u5B66\u4E60\u7684\u201C\u6DF1\u5EA6\u201D\u8F6C\u5316\u4E3A\u670D\u52A1\u7FA4\u4F17\u7684\u201C\u6E29\u5EA6\u201D\uFF0C\u63A8\u52A8\u5E74\u8F7B\u5E72\u90E8\u6C89\u5230\u7530\u95F4\u5730\u5934\u3001\u519C\u5BB6\u9662\u843D\uFF0C\u4E0E\u519C\u6C11\u7FA4\u4F17\u540C\u5750\u4E00\u6761\u677F\u51F3\u3001\u540C\u5E72\u4E00\u573A\u519C\u6D3B\uFF0C\u5728\u503E\u542C\u6C11\u58F0\u3001\u611F\u77E5\u6C11\u60C5\u4E2D\u589E\u8FDB\u7406\u89E3\u3001\u5EFA\u7ACB\u4FE1\u4EFB\uFF0C\u771F\u6B63\u628A\u6839\u624E\u5728\u6CE5\u571F\u91CC\u3001\u624E\u5728\u767E\u59D3\u4E2D";function t(){return new Promise(function(E){setTimeout(function(){E({success:!0,data:{result:[{id:"1",name0:"name0",name1:l,name2:l,name3:l,name4:l}],total:10}})},1500)})}var n=[{dataIndex:"name0",title:"name0",ellipsis:{rows:2,direction:"middle"},width:80},{dataIndex:"name1",title:"name1",ellipsis:{rows:2,direction:"middle"},width:140},{dataIndex:"name2",title:"name2",ellipsis:{rows:2,direction:"middle"},width:100},{dataIndex:"name3",title:"name3",ellipsis:{rows:2,direction:"middle"}},{dataIndex:"name4",title:"name4",ellipsis:{rows:2,direction:"middle"}}];s.default=function(){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(a.Z,{orientation:"left",plain:!0,children:"\u7701\u7565\u5C3E\u90E8"}),(0,e.jsx)(i.default.Ellipsis,{content:l,rows:2,showTooltip:!0}),(0,e.jsx)(a.Z,{orientation:"left",plain:!0,children:"\u7701\u7565\u5934\u90E8"}),(0,e.jsx)(i.default.Ellipsis,{direction:"start",content:l,rows:2,showTooltip:!0}),(0,e.jsx)(a.Z,{orientation:"left",plain:!0,children:"\u7701\u7565\u4E2D\u95F4"}),(0,e.jsx)(i.default.Ellipsis,{direction:"middle",showTooltip:!0,content:l,rows:2}),(0,e.jsx)(a.Z,{orientation:"left",plain:!0,children:"\u8868\u683C\u4E2D\u4F7F\u7528"}),(0,e.jsx)(o.default,{bordered:!0,table:{rowKey:"id",columns:n,request:t,scroll:{x:1200}}})]})}},28254:function(d,s,u){u.r(s);var i=u(86247),o=u(32097),a=u(19152),e=u(6052),l=u(8639),t=u(92167),n=u(52676);s.default=function(){var E=[{label:"\u7528\u6237",name:["workerName","aaaa"],children:(0,n.jsx)(a.Z,{placeholder:"\u8BF7\u8F93\u5165",allowClear:!0})},{label:"\u8D26\u53F7",name:"loginCode",children:(0,n.jsx)(a.Z,{placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u72B6\u6001",name:"state",children:(0,n.jsx)(e.default,{style:{width:100},placeholder:"\u8BF7\u9009\u62E9",options:[{value:"1",label:"\u6709\u6548"},{value:"0",label:"\u65E0\u6548"}]})},{label:"\u7535\u8BDD",name:"mobile",children:(0,n.jsx)(l.Z,{style:{width:100},placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u89D2\u8272",name:"roleId",children:(0,n.jsx)(e.default,{options:[],style:{width:100}}),depends:["state","mobile"]},{label:"\u521B\u5EFA\u65F6\u95F4",name:"createTime",children:(0,n.jsx)(t.default,{style:{width:160}})},{label:"\u533A\u95F4",children:(0,n.jsx)(i.default.RangePicker,{}),name:["createTimeStart","createTimeEnd"],isGroupName:!0}];return(0,n.jsx)(o.default.Filter,{formItems:E,onSearch:function(){console.log("onSearch...")}})}},41756:function(d,s,u){u.r(s);var i=u(32097),o=u(668),a=u(22126),e=u(52676);s.default=function(){return(0,e.jsx)("div",{id:"ccs-pro-table",children:(0,e.jsx)(i.default.Operation,{parentHtmlId:"ccs-pro-table",extraLeft:(0,e.jsx)(o.default.Group,{items:[{label:"\u6309\u94AE1",key:"btn1",type:"primary"},{label:"\u6309\u94AE2",key:"btn2"}]}),onReset:function(){console.log("onReset...")},size:"middle",onChangeSize:function(t){console.log("onChangeSize",t)},extraRight:(0,e.jsx)(a.default,{placement:"bottomRight",options:[{label:"\u9009\u98791",value:"1"},{label:"\u9009\u98792",value:"2"},{label:"\u9009\u98793",value:"3"}]})})})}},29626:function(d,s,u){u.r(s);var i=u(82092),o=u.n(i),a=u(8984),e=u(18466),l=u(64723),t=u(52676);s.default=function(){var n=(0,l.default)({data:{value:1},result:{value:1},list:{users:[{a:1,b:1}]}}),E=n.state,c=n.setRaw,_=n.setByPath,C=n.setArray,D=n.reset;return(0,t.jsxs)("div",{style:{color:"gray",fontSize:14,marginLeft:16},children:[(0,t.jsx)("div",{style:{marginBottom:10},children:JSON.stringify(E)}),(0,t.jsxs)(a.Z,{children:[(0,t.jsx)(e.ZP,{onClick:function(){return _("data.value",2)},children:"\u66F4\u65B0 data.value"}),(0,t.jsx)(e.ZP,{onClick:function(){return _({"data.value":300,"result.value":300})},children:"\u591A\u503C\u66F4\u65B0"}),(0,t.jsx)(e.ZP,{onClick:function(){return C("list.users",{a:2,b:2})},children:"\u6570\u7EC4push"}),(0,t.jsx)(e.ZP,{onClick:function(){return C("list.users",{a:2,b:2},"$unshift")},children:"\u6570\u7EC4unshift"}),(0,t.jsx)(e.ZP,{onClick:function(){return c({list:{users:o()({},0,{a:{$set:333}})}})},children:"\u81EA\u5B9A\u4E49\u66F4\u65B0"}),(0,t.jsx)(e.ZP,{onClick:function(){return D()},children:"\u91CD\u7F6E"})]})]})}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkccs_ui=self.webpackChunkccs_ui||[]).push([[9899],{65913:function(o,a,t){t.r(a);var d=t(94916),n=t(92938),c=t(49117),p=t(60844),u=t(94202),m=t(82535),x=t(13475),h=t(10661),e=t(432),i=t(24881),r=t(75271),s=t(48011),_=t(52676);function l(){return(0,_.jsx)(e.dY,{children:(0,_.jsx)(r.Suspense,{fallback:(0,_.jsx)(i.Z,{}),children:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(e.rU,{to:"/rc-pro/index.md",children:(0,_.jsx)("strong",{children:s.texts[0].value})}),(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsx)("hr",{}),(0,_.jsxs)("p",{children:[(0,_.jsx)(e.rU,{to:"/rc-pro/index.md",children:s.texts[1].value}),s.texts[2].value]}),(0,_.jsxs)("h1",{id:"atom_api",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#atom_api",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"atom/_api"]}),(0,_.jsxs)("h2",{id:"\u679A\u4E3E",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u679A\u4E3E",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"\u679A\u4E3E"]}),(0,_.jsx)("ul",{children:(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/enumerations/DataEvent.md",children:s.texts[3].value})})}),(0,_.jsxs)("h2",{id:"\u63A5\u53E3",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u63A5\u53E3",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"\u63A5\u53E3"]}),(0,_.jsxs)("ul",{children:[(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/interfaces/AtomCheckboxProps.md",children:s.texts[4].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/interfaces/AtomEllipsisProps.md",children:s.texts[5].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/interfaces/AtomFullScreenProps.md",children:s.texts[6].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/interfaces/AtomMultiStateProps.md",children:s.texts[7].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/interfaces/ResizeSize.md",children:s.texts[8].value})})]}),(0,_.jsxs)("h2",{id:"\u7C7B\u578B\u522B\u540D",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u7C7B\u578B\u522B\u540D",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"\u7C7B\u578B\u522B\u540D"]}),(0,_.jsxs)("ul",{children:[(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/type-aliases/AtomCountdownProps.md",children:s.texts[9].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/type-aliases/AtomFilterInstance.md",children:s.texts[10].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/type-aliases/AtomFilterProps.md",children:s.texts[11].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/type-aliases/AtomFormItem.md",children:s.texts[12].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/type-aliases/AtomFormItems.md",children:s.texts[13].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/type-aliases/AtomOperationProps.md",children:s.texts[14].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/type-aliases/AtomPageRequestProps.md",children:s.texts[15].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/type-aliases/AtomResizeProps.md",children:s.texts[16].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/type-aliases/AtomTitleProps.md",children:s.texts[17].value})}),(0,_.jsx)("li",{children:(0,_.jsx)(e.rU,{to:"/rc-pro/atom/_api/type-aliases/TableEventHandle.md",children:s.texts[18].value})})]})]})]})})})}a.default=l},48011:function(o,a,t){t.r(a),t.d(a,{texts:function(){return d}});const d=[{value:"API\u6587\u6863",paraId:0},{value:"API\u6587\u6863",paraId:1},{value:" / atom/_api",paraId:2},{value:"DataEvent",paraId:3,tocIndex:1},{value:"AtomCheckboxProps",paraId:4,tocIndex:2},{value:"AtomEllipsisProps",paraId:5,tocIndex:2},{value:"AtomFullScreenProps",paraId:6,tocIndex:2},{value:"AtomMultiStateProps",paraId:7,tocIndex:2},{value:"ResizeSize",paraId:8,tocIndex:2},{value:"AtomCountdownProps",paraId:9,tocIndex:3},{value:"AtomFilterInstance",paraId:10,tocIndex:3},{value:"AtomFilterProps",paraId:11,tocIndex:3},{value:"AtomFormItem",paraId:12,tocIndex:3},{value:"AtomFormItems",paraId:13,tocIndex:3},{value:"AtomOperationProps",paraId:14,tocIndex:3},{value:"AtomPageRequestProps",paraId:15,tocIndex:3},{value:"AtomResizeProps",paraId:16,tocIndex:3},{value:"AtomTitleProps",paraId:17,tocIndex:3},{value:"TableEventHandle",paraId:18,tocIndex:3}]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkccs_ui=self.webpackChunkccs_ui||[]).push([[4515],{79392:function(o,d,e){e.r(d);var i=e(94916),u=e(92938),c=e(49117),r=e(60844),p=e(94202),m=e(82535),h=e(13475),x=e(10661),s=e(432),a=e(24881),t=e(75271),n=e(26166),_=e(52676);function l(){return(0,_.jsx)(s.dY,{children:(0,_.jsx)(t.Suspense,{fallback:(0,_.jsx)(a.Z,{}),children:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(s.rU,{to:"/rc-pro/index.md",children:(0,_.jsx)("strong",{children:n.texts[0].value})}),(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsx)("hr",{}),(0,_.jsxs)("p",{children:[(0,_.jsx)(s.rU,{to:"/rc-pro/index.md",children:n.texts[1].value}),n.texts[2].value]}),(0,_.jsxs)("h1",{id:"loading_api",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#loading_api",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"loading/_api"]}),(0,_.jsxs)("h2",{id:"\u63A5\u53E3",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u63A5\u53E3",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"\u63A5\u53E3"]}),(0,_.jsx)("ul",{children:(0,_.jsx)("li",{children:(0,_.jsx)(s.rU,{to:"/rc-pro/loading/_api/interfaces/LoadingProps.md",children:n.texts[3].value})})})]})]})})})}d.default=l},26166:function(o,d,e){e.r(d),e.d(d,{texts:function(){return i}});const i=[{value:"API\u6587\u6863",paraId:0},{value:"API\u6587\u6863",paraId:1},{value:" / loading/_api",paraId:2},{value:"LoadingProps",paraId:3,tocIndex:1}]}}]);
|
package/docs-dist/docs__rc-pro__loading___api__interfaces__LoadingProps.md.cc583085.async.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkccs_ui=self.webpackChunkccs_ui||[]).push([[4397],{89622:function(n,s,d){d.r(s);var t=d(94916),r=d(92938),u=d(49117),x=d(60844),p=d(94202),h=d(82535),l=d(13475),m=d(10661),a=d(432),i=d(24881),o=d(75271),e=d(68895),_=d(52676);function c(){return(0,_.jsx)(a.dY,{children:(0,_.jsx)(o.Suspense,{fallback:(0,_.jsx)(i.Z,{}),children:(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(a.rU,{to:"/rc-pro/index.md",children:(0,_.jsx)("strong",{children:e.texts[0].value})}),(0,_.jsxs)("div",{className:"markdown",children:[(0,_.jsx)("hr",{}),(0,_.jsxs)("p",{children:[(0,_.jsx)(a.rU,{to:"/rc-pro/index.md",children:e.texts[1].value}),e.texts[2].value,(0,_.jsx)(a.rU,{to:"/rc-pro/loading/_api/index.md",children:e.texts[3].value}),e.texts[4].value]}),(0,_.jsxs)("h1",{id:"\u63A5\u53E3-loadingprops",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u63A5\u53E3-loadingprops",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"\u63A5\u53E3: LoadingProps"]}),(0,_.jsx)("p",{children:e.texts[5].value}),(0,_.jsxs)("h2",{id:"\u5C5E\u6027",children:[(0,_.jsx)("a",{"aria-hidden":"true",tabIndex:"-1",href:"#\u5C5E\u6027",children:(0,_.jsx)("span",{className:"icon icon-link"})}),"\u5C5E\u6027"]}),(0,_.jsxs)(l.Z,{children:[(0,_.jsx)("thead",{children:(0,_.jsxs)("tr",{children:[(0,_.jsx)("th",{children:e.texts[6].value}),(0,_.jsx)("th",{children:e.texts[7].value}),(0,_.jsx)("th",{children:e.texts[8].value})]})}),(0,_.jsxs)("tbody",{children:[(0,_.jsxs)("tr",{children:[(0,_.jsxs)("td",{children:[(0,_.jsx)("a",{id:"loading"}),e.texts[9].value,(0,_.jsx)("code",{children:e.texts[10].value})]}),(0,_.jsx)("td",{children:(0,_.jsx)("code",{children:e.texts[11].value})}),(0,_.jsxs)("td",{children:[e.texts[12].value,(0,_.jsx)("strong",{children:e.texts[13].value}),e.texts[14].value,(0,_.jsx)("code",{children:e.texts[15].value})]})]}),(0,_.jsxs)("tr",{children:[(0,_.jsxs)("td",{children:[(0,_.jsx)("a",{id:"loadingtip"}),e.texts[16].value,(0,_.jsx)("code",{children:e.texts[17].value})]}),(0,_.jsx)("td",{children:(0,_.jsx)("code",{children:e.texts[18].value})}),(0,_.jsx)("td",{children:e.texts[19].value})]})]})]})]})]})})})}s.default=c},68895:function(n,s,d){d.r(s),d.d(s,{texts:function(){return t}});const t=[{value:"API\u6587\u6863",paraId:0},{value:"API\u6587\u6863",paraId:1},{value:" / ",paraId:2},{value:"loading/_api",paraId:3},{value:" / LoadingProps",paraId:2},{value:"loading \u7EC4\u4EF6\u53C2\u6570",paraId:4,tocIndex:0},{value:"\u5C5E\u6027",paraId:5,tocIndex:1},{value:"\u7C7B\u578B",paraId:5,tocIndex:1},{value:"\u63CF\u8FF0",paraId:5,tocIndex:1},{value:" ",paraId:5,tocIndex:1},{value:"loading?",paraId:5,tocIndex:1},{value:"boolean",paraId:5,tocIndex:1},{value:"loading \u72B6\u6001 ",paraId:5,tocIndex:1},{value:"\u9ED8\u8BA4\u503C",paraId:5,tocIndex:1},{value:" ",paraId:5,tocIndex:1},{value:"false",paraId:5,tocIndex:1},{value:" ",paraId:5,tocIndex:1},{value:"loadingTip?",paraId:5,tocIndex:1},{value:"ReactNode",paraId:5,tocIndex:1},{value:"loading \u6587\u5B57\u8BF4\u660E",paraId:5,tocIndex:1}]}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkccs_ui=self.webpackChunkccs_ui||[]).push([[7205],{62318:function(r,s,_){_.r(s);var t=_(48305),d=_.n(t),l=_(67889),o=_(18466),a=_(75271),e=_(52676);s.default=function(){var i=(0,a.useState)(!1),n=d()(i,2),c=n[0],u=n[1];return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(o.ZP,{onClick:function(){u(!0),setTimeout(function(){u(!1)},1500)},children:"\u5F00\u542FLoading"}),(0,e.jsx)(l.default,{loading:c})]})}}}]);
|