@ccs-ui/rc-pro 2.4.7-beta.7 → 2.4.7-beta.9
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 +1 -1
- package/docs-dist/{1080.145ad951.async.js → 6025.8fc7c55e.async.js} +224 -224
- package/docs-dist/guide/index.html +1 -1
- package/docs-dist/index.html +1 -1
- package/docs-dist/{meta__packages.61cdb6dd.async.js → meta__packages.1e4dfca2.async.js} +192 -195
- package/docs-dist/{meta__packages.4c34950b.chunk.css → meta__packages.4789822c.chunk.css} +1 -1
- package/docs-dist/plugins/index.html +1 -1
- package/docs-dist/pro-table__demos.c20007f1.async.js +1 -0
- package/docs-dist/rc-pro/atom/_api/enumerations/DataEvent.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomCheckboxProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomEllipsisProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomFullScreenProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/interfaces/AtomMultiStateProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/interfaces/ResizeSize.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomCountdownProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterInstance.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFilterProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItem.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomFormItems.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomOperationProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomPageRequestProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomResizeProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/AtomTitleProps.md/index.html +1 -1
- package/docs-dist/rc-pro/atom/_api/type-aliases/TableEventHandle.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/interfaces/ButtonGroupProps.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/interfaces/DropdownProps.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/interfaces/GroupButtonItem.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/type-aliases/ButtonProps.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/type-aliases/DropdownClick.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/type-aliases/DropdownMenuItemType.md/index.html +1 -1
- package/docs-dist/rc-pro/button/_api/type-aliases/GroupClick.md/index.html +1 -1
- package/docs-dist/rc-pro/cascader/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/cascader/_api/type-aliases/ApiCascaderProps.md/index.html +1 -1
- package/docs-dist/rc-pro/context/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/context/_api/type-aliases/AppConfigType.md/index.html +1 -1
- package/docs-dist/rc-pro/context/_api/type-aliases/AppFieldNames.md/index.html +1 -1
- package/docs-dist/rc-pro/context/_api/type-aliases/FnContextType.md/index.html +1 -1
- package/docs-dist/rc-pro/context/_api/type-aliases/PageContextType.md/index.html +1 -1
- package/docs-dist/rc-pro/context/_api/type-aliases/PageFieldNames.md/index.html +1 -1
- package/docs-dist/rc-pro/date-picker/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/date-picker/_api/type-aliases/DatePickerProps.md/index.html +1 -1
- package/docs-dist/rc-pro/date-picker/_api/type-aliases/RangePickerProps.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogContextType.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogDrawer.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogInterface.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogModal.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/interfaces/DialogProps.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogButtonsProps.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogDrawerProps.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/type-aliases/DialogModalProps.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/type-aliases/OkBtnProps.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/type-aliases/OkEvent.md/index.html +1 -1
- package/docs-dist/rc-pro/dialog/_api/type-aliases/Service.md/index.html +1 -1
- package/docs-dist/rc-pro/editor/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/editor/_api/type-aliases/EditorCodeProps.md/index.html +1 -1
- package/docs-dist/rc-pro/editor/_api/type-aliases/EditorRichProps.md/index.html +1 -1
- package/docs-dist/rc-pro/editor/_api/type-aliases/LexicalEditorBaseProps.md/index.html +1 -1
- package/docs-dist/rc-pro/editor/_api/type-aliases/RichImageUpload.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItem.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItemChildren.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/FormItemProps.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/FormListProps.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/ListItemBtnProps.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItem.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemButton.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/RenderItemProps.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/RuleType.md/index.html +1 -1
- package/docs-dist/rc-pro/form/_api/type-aliases/ShowValidateEvent.md/index.html +1 -1
- package/docs-dist/rc-pro/index.html +1 -1
- package/docs-dist/rc-pro/index.md/index.html +1 -1
- package/docs-dist/rc-pro/loading/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/loading/_api/interfaces/LoadingProps.md/index.html +1 -1
- package/docs-dist/rc-pro/page-layout/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/page-layout/_api/interfaces/KeepAliveTabsProps.md/index.html +1 -1
- package/docs-dist/rc-pro/page-layout/_api/interfaces/SinglePageProps.md/index.html +1 -1
- package/docs-dist/rc-pro/page-layout/_api/type-aliases/MenuType.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/interfaces/ProTableProps.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/interfaces/TableInstance.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/interfaces/TableProps.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/LeafVerify.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumn.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableColumns.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableData.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableFormItems.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TableInstanceRef.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-table/_api/type-aliases/TreeInstance.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-tabs/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsChangeProps.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-tabs/_api/interfaces/TabsContextType.md/index.html +1 -1
- package/docs-dist/rc-pro/pro-tabs/_api/type-aliases/TabProps.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/type-aliases/ApiSelectProps.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/type-aliases/CacheType.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/type-aliases/CustomizeSelectProps.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/type-aliases/ModalSelectProps.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/type-aliases/SelectChildrenProps.md/index.html +1 -1
- package/docs-dist/rc-pro/select/_api/type-aliases/SelectProps.md/index.html +1 -1
- package/docs-dist/rc-pro/upload/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/upload/_api/interfaces/ImageInfo.md/index.html +1 -1
- package/docs-dist/rc-pro/upload/_api/type-aliases/FileUploadList.md/index.html +1 -1
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadImageProps.md/index.html +1 -1
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadProps.md/index.html +1 -1
- package/docs-dist/rc-pro/upload/_api/type-aliases/UploadRequest.md/index.html +1 -1
- package/docs-dist/rc-pro/water-mark/_api/index.md/index.html +1 -1
- package/docs-dist/rc-pro/water-mark/_api/type-aliases/WaterMarkProps.md/index.html +1 -1
- package/docs-dist/rc-pros/atom/index.html +1 -1
- package/docs-dist/rc-pros/auth/index.html +1 -1
- package/docs-dist/rc-pros/button/index.html +1 -1
- package/docs-dist/rc-pros/cascader/index.html +1 -1
- package/docs-dist/rc-pros/date-picker/index.html +1 -1
- package/docs-dist/rc-pros/dialog/index.html +1 -1
- package/docs-dist/rc-pros/editor/index.html +1 -1
- package/docs-dist/rc-pros/form/index.html +1 -1
- package/docs-dist/rc-pros/index.html +1 -1
- package/docs-dist/rc-pros/loading/index.html +1 -1
- package/docs-dist/rc-pros/page-layout/index.html +1 -1
- package/docs-dist/rc-pros/pro-table/index.html +1 -1
- package/docs-dist/rc-pros/pro-tabs/index.html +1 -1
- package/docs-dist/rc-pros/result/index.html +1 -1
- package/docs-dist/rc-pros/select/index.html +1 -1
- package/docs-dist/rc-pros/time-picker/index.html +1 -1
- package/docs-dist/rc-pros/upload/index.html +1 -1
- package/docs-dist/rc-pros/water-mark/index.html +1 -1
- package/docs-dist/{umi.6aeaa78e.js → umi.f4144c98.js} +4 -4
- package/docs-dist/utils/index.html +1 -1
- package/docs-dist/~demos/:id/index.html +1 -1
- package/docs-dist/~demos/atom-demo-base/index.html +1 -1
- package/docs-dist/~demos/atom-demo-ellipsis/index.html +1 -1
- package/docs-dist/~demos/atom-demo-filter/index.html +1 -1
- package/docs-dist/~demos/atom-demo-operation/index.html +1 -1
- package/docs-dist/~demos/atom-demo-state/index.html +1 -1
- package/docs-dist/~demos/auth-demo-basic/index.html +1 -1
- package/docs-dist/~demos/button-demo-button/index.html +1 -1
- package/docs-dist/~demos/button-demo-group/index.html +1 -1
- package/docs-dist/~demos/cascader-demo-basic/index.html +1 -1
- package/docs-dist/~demos/cascader-demo-cache/index.html +1 -1
- package/docs-dist/~demos/date-picker-demo-basic/index.html +1 -1
- package/docs-dist/~demos/date-picker-demo-range/index.html +1 -1
- package/docs-dist/~demos/dialog-demo-demos/index.html +1 -1
- package/docs-dist/~demos/dialog-demo-form/index.html +1 -1
- package/docs-dist/~demos/dialog-demo-prompt/index.html +1 -1
- package/docs-dist/~demos/editor-demo-demos/index.html +1 -1
- package/docs-dist/~demos/editor-demo-rich/index.html +1 -1
- package/docs-dist/~demos/form-demo-demos/index.html +1 -1
- package/docs-dist/~demos/loading-demo-basic/index.html +1 -1
- package/docs-dist/~demos/packages-utils-src-demo-demos/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-basic/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-cascade/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-extra/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-filter/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-fixed/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-refresh/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-selection/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-show-depend/index.html +1 -1
- package/docs-dist/~demos/pro-table-demo-tree-async/index.html +1 -1
- package/docs-dist/~demos/pro-tabs-demo-basic/index.html +1 -1
- package/docs-dist/~demos/pro-tabs-demo-tab/index.html +1 -1
- package/docs-dist/~demos/result-demo-basic/index.html +1 -1
- package/docs-dist/~demos/select-demo-api/index.html +1 -1
- package/docs-dist/~demos/select-demo-basic/index.html +1 -1
- package/docs-dist/~demos/select-demo-customize/index.html +1 -1
- package/docs-dist/~demos/select-demo-customize-label/index.html +1 -1
- package/docs-dist/~demos/time-picker-demo-basic/index.html +1 -1
- package/docs-dist/~demos/upload-demo-basic/index.html +1 -1
- package/docs-dist/~demos/upload-demo-image/index.html +1 -1
- package/docs-dist/~demos/water-mark-demo-basic/index.html +1 -1
- package/es/page-layout/index.less +23 -18
- package/es/page-layout/keep-alive/page.js +14 -19
- package/es/page-layout/single-page/page.js +13 -17
- package/es/table/index.js +8 -6
- package/package.json +1 -3
- package/docs-dist/pro-table__demos.a812caf5.async.js +0 -1
|
@@ -25,28 +25,33 @@
|
|
|
25
25
|
.ccs-tab-item {
|
|
26
26
|
flex: 1 1 auto;
|
|
27
27
|
position: relative;
|
|
28
|
+
overflow: auto;
|
|
28
29
|
}
|
|
30
|
+
}
|
|
29
31
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
display: none;
|
|
34
|
-
height: 100%;
|
|
35
|
-
box-sizing: border-box;
|
|
32
|
+
.ccs-breadcrumb {
|
|
33
|
+
margin-bottom: 10px;
|
|
34
|
+
}
|
|
36
35
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
.ccs-layout-page {
|
|
37
|
+
padding: 0 16px;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
display: none;
|
|
40
|
+
height: 100%;
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
height: 16px;
|
|
44
|
-
background: transparent;
|
|
45
|
-
flex: 0 0 16px;
|
|
46
|
-
}
|
|
42
|
+
&.page-avtive {
|
|
43
|
+
display: flex;
|
|
47
44
|
}
|
|
48
|
-
}
|
|
49
45
|
|
|
50
|
-
.
|
|
51
|
-
|
|
46
|
+
.page-top {
|
|
47
|
+
height: 10px;
|
|
48
|
+
background: transparent;
|
|
49
|
+
flex: 0 0 10px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.page-bottom {
|
|
53
|
+
height: 16px;
|
|
54
|
+
background: transparent;
|
|
55
|
+
flex: 0 0 16px;
|
|
56
|
+
}
|
|
52
57
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Breadcrumb } from 'antd';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import { memo, useRef } from 'react';
|
|
4
|
-
import Scrollbars from 'react-custom-scrollbars';
|
|
5
4
|
import { PageContext } from "../../context";
|
|
6
5
|
import { DialogElementsHolder } from "../../dialog/hook";
|
|
7
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -15,7 +14,6 @@ function CachePage(props) {
|
|
|
15
14
|
location = props.location;
|
|
16
15
|
var id = "_tab_content_".concat(location.key);
|
|
17
16
|
var dialogHolderRef = useRef(null);
|
|
18
|
-
console.log('breadcrumb', breadcrumb);
|
|
19
17
|
return /*#__PURE__*/_jsx(PageContext.Provider, {
|
|
20
18
|
value: {
|
|
21
19
|
id: id,
|
|
@@ -34,23 +32,20 @@ function CachePage(props) {
|
|
|
34
32
|
},
|
|
35
33
|
className: "ccs-tab-item",
|
|
36
34
|
"data-display": active,
|
|
37
|
-
children: /*#__PURE__*/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
className: "page-bottom"
|
|
52
|
-
})]
|
|
53
|
-
})
|
|
35
|
+
children: /*#__PURE__*/_jsxs("div", {
|
|
36
|
+
className: classNames('ccs-layout-page', {
|
|
37
|
+
'page-avtive': active
|
|
38
|
+
}),
|
|
39
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
40
|
+
className: "page-top"
|
|
41
|
+
}), /*#__PURE__*/_jsx(Breadcrumb, {
|
|
42
|
+
items: breadcrumb,
|
|
43
|
+
className: "ccs-breadcrumb"
|
|
44
|
+
}), children, /*#__PURE__*/_jsx(DialogElementsHolder, {
|
|
45
|
+
ref: dialogHolderRef
|
|
46
|
+
}, "modal-drawer-holder"), /*#__PURE__*/_jsx("div", {
|
|
47
|
+
className: "page-bottom"
|
|
48
|
+
})]
|
|
54
49
|
})
|
|
55
50
|
})
|
|
56
51
|
});
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Breadcrumb } from 'antd';
|
|
2
2
|
import { memo, useRef } from 'react';
|
|
3
|
-
import Scrollbars from 'react-custom-scrollbars';
|
|
4
3
|
import { PageContext } from "../../context";
|
|
5
4
|
import { DialogElementsHolder } from "../../dialog/hook";
|
|
6
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -26,22 +25,19 @@ export default /*#__PURE__*/memo(function (props) {
|
|
|
26
25
|
return urlAuthList.includes(e);
|
|
27
26
|
}
|
|
28
27
|
},
|
|
29
|
-
children: /*#__PURE__*/
|
|
30
|
-
|
|
31
|
-
children: /*#__PURE__*/
|
|
32
|
-
className: "
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
className: "page-top"
|
|
43
|
-
})]
|
|
44
|
-
})
|
|
28
|
+
children: /*#__PURE__*/_jsxs("div", {
|
|
29
|
+
className: "ccs-layout-page",
|
|
30
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
31
|
+
className: "page-top"
|
|
32
|
+
}), /*#__PURE__*/_jsx(Breadcrumb, {
|
|
33
|
+
items: breadcrumb,
|
|
34
|
+
className: "ccs-breadcrumb",
|
|
35
|
+
style: props.breadcrumbStyle
|
|
36
|
+
}), children, /*#__PURE__*/_jsx(DialogElementsHolder, {
|
|
37
|
+
ref: dialogHolderRef
|
|
38
|
+
}, "modal-drawer-holder"), /*#__PURE__*/_jsx("div", {
|
|
39
|
+
className: "page-bottom"
|
|
40
|
+
})]
|
|
45
41
|
})
|
|
46
42
|
});
|
|
47
43
|
});
|
package/es/table/index.js
CHANGED
|
@@ -177,13 +177,15 @@ var CustomTable = function CustomTable(props) {
|
|
|
177
177
|
}, ellipsisProps));
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
180
|
+
if (c.width !== undefined) {
|
|
181
|
+
// 拖拽头部改变列宽响应
|
|
182
|
+
c.onHeaderCell = function (column) {
|
|
183
|
+
return {
|
|
184
|
+
width: column.width,
|
|
185
|
+
onResize: onResize(c.dataIndex)
|
|
186
|
+
};
|
|
185
187
|
};
|
|
186
|
-
}
|
|
188
|
+
}
|
|
187
189
|
});
|
|
188
190
|
if (restProps.showNumber) {
|
|
189
191
|
cls === null || cls === void 0 || cls.unshift({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ccs-ui/rc-pro",
|
|
3
|
-
"version": "2.4.7-beta.
|
|
3
|
+
"version": "2.4.7-beta.9",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -83,7 +83,6 @@
|
|
|
83
83
|
"lodash.isnil": "^4.0.0",
|
|
84
84
|
"lodash.uniqueid": "^4.0.1",
|
|
85
85
|
"prismjs": "^1.30.0",
|
|
86
|
-
"react-custom-scrollbars": "^4.2.1",
|
|
87
86
|
"react-draggable": "^4.4.5",
|
|
88
87
|
"react-error-overlay": "^6.0.11",
|
|
89
88
|
"react-resizable": "^3.0.5",
|
|
@@ -99,7 +98,6 @@
|
|
|
99
98
|
"@types/lodash.debounce": "^4.0.9",
|
|
100
99
|
"@types/lodash.isnil": "^4.0.9",
|
|
101
100
|
"@types/lodash.uniqueid": "^4.0.9",
|
|
102
|
-
"@types/react-custom-scrollbars": "^4.0.10",
|
|
103
101
|
"@types/react-lines-ellipsis": "^0.15.6",
|
|
104
102
|
"@types/react-resizable": "^3.0.7",
|
|
105
103
|
"dayjs": "^1.11.7",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkccs_ui=self.webpackChunkccs_ui||[]).push([[1888],{75994:function(D,o,e){e.r(o),e.d(o,{default:function(){return O}});var E=e(17114),a=e(86247),c=e(668),i=e(76098),l=e(19152),u=e(6052),r=e(8639),n=e(92167),f=e(60561),s=e(96757),_=e(52676);function O(){var t=[{label:"\u7528\u6237",name:["workerName"],children:(0,_.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165",allowClear:!0})},{label:"\u8D26\u53F7",name:"loginCode",children:(0,_.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u72B6\u6001",name:"state",children:(0,_.jsx)(u.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,_.jsx)(r.Z,{style:{width:100},placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u89D2\u8272",name:"roleId",children:(0,_.jsx)(u.default,{options:[],style:{width:100}}),depends:["state","mobile"]},{label:"\u521B\u5EFA\u65F6\u95F4",name:"createTime",children:(0,_.jsx)(n.default,{style:{width:160}})},{label:"\u533A\u95F4",children:(0,_.jsx)(a.default.RangePicker,{}),name:["createTimeStart","createTimeEnd"],isGroupName:!0}],h=(0,_.jsx)(c.default.Group,{showCount:3,items:[{key:"0",label:"\u65B0\u589E",auth:"sys:user:create",type:"primary",icon:(0,_.jsx)(E.Z,{})},{key:"1",label:"\u6279\u91CF\u5220\u9664",auth:"sys:user:multi:delete"},{key:"2",label:"\u5176\u4ED6\u64CD\u4F5C\u4E00",danger:!0}],onClick:function(d){console.log("dropdown click",d)}}),x=[{title:"\u7528\u6237\u540D",dataIndex:"workerName",ellipsis:{rows:1,direction:"middle"},width:200},{title:"\u8D26\u53F7",dataIndex:"loginCode",ellipsis:!0,sorter:!0},{title:"\u7EC4\u7EC7",dataIndex:"orgName",ellipsis:!0,filters:[{text:"Joe",value:"Joe"},{text:"Jim",value:"Jim"}],filterMultiple:!1},{title:"\u72B6\u6001",dataIndex:"state",ellipsis:!0,render:function(d){return(0,_.jsx)(f.Z,{status:d==="0"?"error":"success",text:d==="0"?"\u5931\u6548":"\u6709\u6548"})}},{title:"\u767B\u5F55\u6B21\u6570",dataIndex:"num"},{title:"\u7535\u8BDD",dataIndex:"mobile",ellipsis:!0},{title:"\u90AE\u7BB1",dataIndex:"email",ellipsis:!0},{title:"\u6027\u522B",dataIndex:"sex",ellipsis:!0,render:function(d){return d===0?"\u5973":"\u7537"}},{title:"\u751F\u65E5",dataIndex:"birthday",width:100,render:function(d){return d&&d.substring(0,10)}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",width:160},{title:"\u64CD\u4F5C",fixed:"right",width:160,render:function(d,v){return(0,_.jsx)(c.default.Group,{isLink:!0,size:"small",showCount:2,items:[{key:"0",label:"\u7F16\u8F91",auth:"sys:user:update"},{key:"1",label:"\u5173\u8054\u89D2\u8272",auth:"sys:user:role:list",disabled:v.state===0},{key:"2",label:"\u6743\u9650\u67E5\u770B",auth:"sys:user:menu:tree",disabled:v.state===0}],onClick:function(I){console.log("111",I)}})}}];return(0,_.jsx)(_.Fragment,{children:(0,_.jsx)(i.default,{formItems:t,formInitValues:{workerName:"Hong"},toolbar:h,table:{requestParam:{a:1},request:s.queryWorker,rowKey:"loginId",columns:x,scroll:{x:1300}}})})}},53315:function(D,o,e){e.r(o);var E=e(76098),a=e(94238),c=e(40011),i=e(33765),l=e(96757),u=e(52676);o.default=function(){var r=[{label:"\u6761\u4EF61",name:"param1",children:(0,u.jsx)(a.default,{})},{label:"\u6761\u4EF62",name:"param2",children:(0,u.jsx)(c.default,{}),shouldUpdateNames:["param1"]},{label:"\u6761\u4EF63",name:"param3",children:(0,u.jsx)(i.default,{}),shouldUpdateNames:["param2"]},{label:"\u6761\u4EF64",name:"param4",children:(0,u.jsx)(i.default,{}),shouldUpdateNames:["param2"]}],n=[{title:"\u7528\u6237\u540D",dataIndex:"workerName",ellipsis:!0},{title:"\u8D26\u53F7",dataIndex:"loginCode",ellipsis:!0},{title:"\u7EC4\u7EC7",dataIndex:"orgName",ellipsis:!0}];return(0,u.jsx)("div",{style:{height:"100vh "},children:(0,u.jsx)(E.default,{expandForm:!0,formItems:r,table:{request:l.queryWorker,rowKey:"loginId",columns:n}})})}},39059:function(D,o,e){e.r(o),e.d(o,{default:function(){return l}});var E=e(76098),a=e(19152),c=e(96757),i=e(52676);function l(){var u=[{label:"\u7528\u6237",name:"workerName",children:(0,i.jsx)(a.Z,{placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u8D26\u53F7",name:"loginCode",children:(0,i.jsx)(a.Z,{placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u8D26\u53F71",name:"loginCode2",children:(0,i.jsx)(a.Z,{placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u8D26\u53F72",name:"loginCode3",children:(0,i.jsx)(a.Z,{placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u8D26\u53F73",name:"loginCode4",children:(0,i.jsx)(a.Z,{placeholder:"\u8BF7\u8F93\u5165"})}],r=[{title:"\u7528\u6237\u540D",dataIndex:"workerName"},{title:"\u8D26\u53F7",dataIndex:"loginCode",sorter:!0},{title:"\u7EC4\u7EC7",dataIndex:"orgName"}];return(0,i.jsx)(E.default,{formItems:u,expandForm:!0,table:{request:c.queryWorker,rowKey:"loginId",columns:r}})}},71727:function(D,o,e){e.r(o);var E=e(26068),a=e.n(E),c=e(67618),i=e(76098),l=e(19152),u=e(18466),r=e(96757),n=e(52676);o.default=function(){var f=[{label:"\u7528\u6237",name:"workerName",children:(0,n.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u8D26\u53F7",name:"loginCode",children:(0,n.jsx)(l.Z,{placeholder:"\u8BF7\u8F93\u5165"})}],s=function(t){return{filterDropdown:function(x){var m=x.setSelectedKeys,d=x.selectedKeys,v=x.confirm;return(0,n.jsxs)("div",{style:{padding:8},children:[(0,n.jsx)(l.Z,{placeholder:"Search ".concat(t),value:d[0],onChange:function(I){d.splice(0,1,I.target.value),m(d)},style:{marginBottom:8,display:"block"}}),(0,n.jsx)(l.Z,{placeholder:"Search ".concat(t),value:d[1],onChange:function(I){d.splice(1,1,I.target.value),m(d)},style:{marginBottom:8,display:"block"}}),(0,n.jsx)(u.ZP,{type:"primary",onClick:function(){d[0]===""&&d[1]===""?m([]):m([d[0],d[1],new Date().getTime()]),v()},icon:(0,n.jsx)(c.Z,{}),size:"small",style:{width:90},children:"Search"})]})},filterIcon:function(x){return(0,n.jsx)(c.Z,{style:{color:x?"#1890ff":void 0}})}}},_=[{title:"\u7528\u6237\u540D",dataIndex:"workerName",filters:[{text:"Joe",value:"Joe"},{text:"Jim",value:"Jim"}],sorter:{multiple:1},defaultSortOrder:"ascend",defaultFilteredValue:["Joe","Jim"]},{title:"\u8D26\u53F7",dataIndex:"loginCode",sorter:{multiple:2},defaultSortOrder:"ascend"},a()({title:"\u7EC4\u7EC7",dataIndex:"orgName"},s("orgName"))];return(0,n.jsx)(i.default,{toolbar:(0,n.jsx)(u.ZP,{type:"primary",children:"\u65B0\u589E"}),formItems:f,table:{request:r.queryWorker,rowKey:"loginId",columns:_}})}},81697:function(D,o,e){e.r(o);var E=e(668),a=e(76098),c=e(19152),i=e(6052),l=e(8639),u=e(92167),r=e(16708),n=e(75271),f=e(96757),s=e(52676);o.default=function(){var _=(0,n.useRef)(null),O=[{label:"\u7528\u6237",name:"workerName",children:(0,s.jsx)(c.Z,{placeholder:"\u8BF7\u8F93\u5165",allowClear:!0})},{label:"\u8D26\u53F7",name:"loginCode",children:(0,s.jsx)(c.Z,{placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u72B6\u6001",name:"state",children:(0,s.jsx)(i.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,s.jsx)(l.Z,{style:{width:100},placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u89D2\u8272",name:"roleId",children:(0,s.jsx)(i.default,{options:[],style:{width:100}}),depends:["state","mobile"]},{label:"\u521B\u5EFA\u65F6\u95F4",name:"createTime",children:(0,s.jsx)(u.default,{style:{width:160}})}],t=[{title:"\u7528\u6237\u540D",dataIndex:"workerName",ellipsis:!0},{title:"\u8D26\u53F7",dataIndex:"loginCode",ellipsis:!0},{title:"\u7535\u8BDD",dataIndex:"mobile",ellipsis:!0}],h=(0,s.jsx)(E.default.Group,{items:[{label:"\u65B0\u589E",key:"add",type:"primary"},{label:"\u4FEE\u6539",key:"update"},{label:"\u5220\u9664",key:"del"},{label:"\u89E3\u9501",key:"unlock"},{label:"\u5BA1\u6838",key:"audit"},{label:"\u901A\u77E5",key:"notice"},{label:"\u6253\u5361",key:"ding",danger:!0}]});return(0,s.jsx)("div",{style:{height:560,display:"flex",flexDirection:"column",background:"#f5f5f5",padding:10},children:(0,s.jsx)(a.default,{proRef:_,toolbar:h,formItems:O,table:{request:f.queryWorker,rowKey:"loginId",columns:t,scroll:{y:"auto"},summary:function(){return(0,s.jsx)(r.Z.Summary,{fixed:!0,children:(0,s.jsxs)(r.Z.Summary.Row,{children:[(0,s.jsx)(r.Z.Summary.Cell,{index:0,children:"\u5408\u8BA1"}),(0,s.jsx)(r.Z.Summary.Cell,{index:1}),(0,s.jsx)(r.Z.Summary.Cell,{index:2}),(0,s.jsx)(r.Z.Summary.Cell,{index:3}),(0,s.jsx)(r.Z.Summary.Cell,{index:4})]})})}}})})}},51010:function(D,o,e){e.r(o);var E=e(76098),a=e(19152),c=e(8984),i=e(18466),l=e(75271),u=e(96757),r=e(52676);o.default=function(){var n=(0,l.useRef)(),f=[{label:"\u7528\u6237",name:"workerName",children:(0,r.jsx)(a.Z,{placeholder:"\u8BF7\u8F93\u5165"})}],s=[{title:"\u7528\u6237\u540D",dataIndex:"workerName",ellipsis:!0},{title:"\u8D26\u53F7",dataIndex:"loginCode",ellipsis:!0},{title:"\u7EC4\u7EC7",dataIndex:"orgName",ellipsis:!0}],_=(0,r.jsxs)(c.Z,{children:[(0,r.jsx)(i.ZP,{type:"primary",onClick:function(){var t;return(t=n.current)===null||t===void 0?void 0:t.onReload()},children:"\u91CD\u8F7D"}),(0,r.jsx)(i.ZP,{onClick:function(){var t;return(t=n.current)===null||t===void 0?void 0:t.onReset()},children:"\u91CD\u7F6E"})]});return(0,r.jsx)(E.default,{proRef:n,toolbar:_,formItems:f,table:{request:u.queryWorker,rowKey:"loginId",columns:s}})}},41596:function(D,o,e){e.r(o),e.d(o,{default:function(){return x}});var E=e(67825),a=e.n(E),c=e(17114),i=e(70896),l=e(668),u=e(76098),r=e(19152),n=e(6052),f=e(8639),s=e(92167),_=e(60561),O=e(96757),t=e(52676),h=["selectedRows","onClear"];function x(){var m=(0,i.default)({keyField:"loginId"}),d=m.selectedRows,v=d===void 0?[]:d,C=m.onClear,I=a()(m,h),p=[{label:"\u7528\u6237",name:"workerName",children:(0,t.jsx)(r.Z,{placeholder:"\u8BF7\u8F93\u5165",allowClear:!0})},{label:"\u8D26\u53F7",name:"loginCode",children:(0,t.jsx)(r.Z,{placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u72B6\u6001",name:"state",children:(0,t.jsx)(n.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,t.jsx)(f.Z,{style:{width:100},placeholder:"\u8BF7\u8F93\u5165"})},{label:"\u89D2\u8272",name:"roleId",children:(0,t.jsx)(n.default,{options:[],style:{width:100}}),depends:["state","mobile"]},{label:"\u521B\u5EFA\u65F6\u95F4",name:"createTime",children:(0,t.jsx)(s.default,{style:{width:160}})}],R=(0,t.jsx)(l.default.Group,{showCount:3,items:[{key:"0",label:"\u65B0\u589E",auth:"sys:user:create",type:"primary",icon:(0,t.jsx)(c.Z,{})},{key:"1",label:"\u6279\u91CF\u5220\u9664",auth:"sys:user:multi:delete"},{key:"2",label:"\u5176\u4ED6\u64CD\u4F5C\u4E00",danger:!0,disabled:v.length===0}],onClick:function(P){console.log("dropdown click",P)}}),T=[{title:"\u7528\u6237\u540D",dataIndex:"workerName",ellipsis:{rows:1,direction:"middle"},width:200},{title:"\u57FA\u7840\u4FE1\u606F",children:[{title:"\u8D26\u53F7",dataIndex:"loginCode",ellipsis:!0,sorter:!0},{title:"\u767B\u5F55\u6B21\u6570",dataIndex:"num"},{title:"\u6027\u522B",dataIndex:"sex",ellipsis:!0,render:function(P){return P===0?"\u5973":"\u7537"}}]},{title:"\u7EC4\u7EC7",dataIndex:"orgName",ellipsis:!0,filters:[{text:"Joe",value:"Joe"},{text:"Jim",value:"Jim"}],filterMultiple:!1},{title:"\u72B6\u6001",dataIndex:"state",ellipsis:!0,render:function(P){return(0,t.jsx)(_.Z,{status:P==="0"?"error":"success",text:P==="0"?"\u5931\u6548":"\u6709\u6548"})}},{title:"\u7535\u8BDD",dataIndex:"mobile",ellipsis:!0},{title:"\u90AE\u7BB1",dataIndex:"email",ellipsis:!0},{title:"\u751F\u65E5",dataIndex:"birthday",width:100,render:function(P){return P&&P.substring(0,10)}},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"createTime",width:160},{title:"\u64CD\u4F5C",fixed:"right",width:160,render:function(P,y){return(0,t.jsx)(l.default.Group,{isLink:!0,showCount:2,items:[{key:"0",label:"\u7F16\u8F91",auth:"sys:user:update"},{key:"1",label:"\u5173\u8054\u89D2\u8272",auth:"sys:user:role:list",disabled:y.state===0},{key:"2",label:"\u6743\u9650\u67E5\u770B",auth:"sys:user:menu:tree",disabled:y.state===0}],onClick:function(j){console.log("111",j)}})}}],K=function(){return(0,t.jsx)(u.default.SelectionAlert,{data:v,fieldNames:{key:"loginId",label:"workerName"},onClear:C,color:"processing"})};return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(u.default,{title:"\u6807\u9898",formItems:p,formInitValues:{workerName:"Hong"},toolbar:R,table:{title:K,request:O.queryWorker,rowKey:"loginId",columns:T,scroll:{x:1300},rowSelection:I,summary:function(P,y){var B={workerName:"\u5408\u8BA1",num:P.reduce(function(j,W){return j+W.num},0)};return(0,t.jsx)(u.default.Summary,{data:B,columns:y,hasRowSelection:!0})}}})})}},13767:function(D,o,e){e.r(o);var E=e(76098),a=e(6052),c=e(19152),i=e(96757),l=e(52676);o.default=function(){var u=[{label:"\u6761\u4EF61",name:"param1",children:(0,l.jsxs)(a.default,{style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9",allowClear:!0,children:[(0,l.jsx)(a.default.Option,{value:1,children:"\u9009\u9879\u4E00"}),(0,l.jsx)(a.default.Option,{value:2,children:"\u9009\u9879\u4E8C"}),(0,l.jsx)(a.default.Option,{value:3,children:"\u9009\u9879\u4E09"})]})},{label:"\u6761\u4EF62",name:"param2",children:(0,l.jsxs)(a.default,{style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9",allowClear:!0,children:[(0,l.jsx)(a.default.Option,{value:1,children:"\u9009\u9879\u4E00"}),(0,l.jsx)(a.default.Option,{value:2,children:"\u9009\u9879\u4E8C"}),(0,l.jsx)(a.default.Option,{value:3,children:"\u9009\u9879\u4E09"})]}),shouldUpdateNames:["param1"],showValidate:function(f){return f[0]===1}},{label:"\u6761\u4EF63",name:"param3",children:(0,l.jsxs)(a.default,{style:{width:"100%"},placeholder:"\u8BF7\u9009\u62E9",allowClear:!0,children:[(0,l.jsx)(a.default.Option,{value:1,children:"\u9009\u9879\u4E00"}),(0,l.jsx)(a.default.Option,{value:2,children:"\u9009\u9879\u4E8C"}),(0,l.jsx)(a.default.Option,{value:3,children:"\u9009\u9879\u4E09"})]}),shouldUpdateNames:["param2"],showValidate:function(f){return f[0]===2}},{label:"\u6761\u4EF64",name:"param4",children:(0,l.jsx)(c.Z,{placeholder:"\u8BF7\u8F93\u5165"})}],r=[{title:"\u7528\u6237\u540D",dataIndex:"workerName",ellipsis:!0},{title:"\u8D26\u53F7",dataIndex:"loginCode",ellipsis:!0},{title:"\u7EC4\u7EC7",dataIndex:"orgName",ellipsis:!0}];return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(E.default,{formItems:u,table:{request:i.queryWorker,rowKey:"loginId",columns:r}})})}},91256:function(D,o,e){e.r(o);var E=e(50712),a=e(668),c=e(76098),i=e(75271),l=e(3675),u=e(61289),r=e(52676);o.default=function(){var n=(0,i.useRef)(null),f=E.default.useDialog(),s=f.openModal,_=function(h){s({title:h.id?"\u4FEE\u6539":"\u65B0\u589E",content:(0,r.jsx)(u.default,{}),form:{initialValues:h},request:l.update,onOk:function(){var m;(m=n.current)===null||m===void 0||m.onPartialReload(h.id)}})},O=[{title:"id",dataIndex:"id",hidden:!0},{title:"\u540D\u79F0",dataIndex:"name"},{title:"\u64CD\u4F5C",width:220,render:function(h,x){return(0,r.jsx)(a.default.Group,{isLink:!0,onClick:function(d){d==="edit"&&_(x),d==="addChild"&&_({parentId:x.id})},items:[{label:"\u7F16\u8F91",key:"edit"},{label:"\u65B0\u589E\u4E0B\u7EA7",key:"addChild"}]})}}];return(0,r.jsx)(c.default.Tree,{proRef:n,parentFieldName:"parentId",leafNode:function(h){return h.id.split("-").length===4},table:{request:l.query,requestParam:{parentId:"1"},rowKey:"id",columns:O,pagination:!1}})}}}]);
|