@ccs-ui/rc-pro 1.1.22 → 1.1.23-beta-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/es/ccs.d.ts +1 -3
- package/es/dialog/HookModal.d.ts +1 -1
- package/es/pro-table/search.js +0 -1
- package/package.json +3 -2
package/es/ccs.d.ts
CHANGED
|
@@ -181,7 +181,7 @@ type GlobalConfig = {
|
|
|
181
181
|
/** 项目名称 */
|
|
182
182
|
AppName: string;
|
|
183
183
|
/** 主题 */
|
|
184
|
-
AppTheme: 'default' | 'dark';
|
|
184
|
+
AppTheme: 'default' | 'dark' | 'colorful';
|
|
185
185
|
/** ant组件配置 */
|
|
186
186
|
AppThemeConfig: ThemeConfig;
|
|
187
187
|
/** 菜单展开模式 */
|
|
@@ -190,8 +190,6 @@ type GlobalConfig = {
|
|
|
190
190
|
MenuExpandWidth: number;
|
|
191
191
|
/** 菜单收起宽度 */
|
|
192
192
|
MenuCollapsedWidth: number;
|
|
193
|
-
/** tabs缓存页 */
|
|
194
|
-
IsTabsPage: boolean;
|
|
195
193
|
/** http 请求通用前缀 */
|
|
196
194
|
Api: string;
|
|
197
195
|
/** 路由上下文 */
|
package/es/dialog/HookModal.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { FormProps } from 'antd';
|
|
3
3
|
import { DialogFormRef } from './form';
|
|
4
4
|
import { CcsDialogModal, CcsDialogModalProps } from './hook';
|
|
5
|
-
export declare const DialogSelfButton: ({ auth, formRef, formInitialValues, request, onCancel, onRequestBefore, }: Pick<CcsDialogModalProps, "auth" | "request" | "
|
|
5
|
+
export declare const DialogSelfButton: ({ auth, formRef, formInitialValues, request, onCancel, onRequestBefore, }: Pick<CcsDialogModalProps, "auth" | "request" | "onCancel" | "onRequestBefore"> & {
|
|
6
6
|
formRef: React.RefObject<DialogFormRef>;
|
|
7
7
|
formInitialValues: FormProps['initialValues'];
|
|
8
8
|
}) => import("react/jsx-runtime").JSX.Element;
|
package/es/pro-table/search.js
CHANGED
|
@@ -224,7 +224,6 @@ function SearchComponent(_ref) {
|
|
|
224
224
|
className: "".concat(classPrefix, "-header-buttons"),
|
|
225
225
|
children: [onHasMore() && !expandForm && /*#__PURE__*/_jsx(Button, {
|
|
226
226
|
onClick: function onClick() {
|
|
227
|
-
console.log(123);
|
|
228
227
|
setIsShowMore(!isShowMore);
|
|
229
228
|
},
|
|
230
229
|
icon: isShowMore ? /*#__PURE__*/_jsx(UpOutlined, {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ccs-ui/rc-pro",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "1.1.23-beta-1",
|
|
4
|
+
"description": "删除IsTabsPage参数;添加colorful主题;",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Hong",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"lint": "npm run lint:es && npm run lint:css",
|
|
22
22
|
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
23
23
|
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
24
|
+
"prepare": "husky install && dumi setup",
|
|
24
25
|
"prepublishOnly": "father doctor && npm run build",
|
|
25
26
|
"publish:beta": "father build && npm publish --tag=beta && cnpm sync @ccs-ui/rc-pro",
|
|
26
27
|
"publish:prod": "father build && npm publish && cnpm sync @ccs-ui/rc-pro",
|