@kordar/easyui-tpl 2.0.4 → 2.0.6
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/README.md +1089 -29
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/index.umd.cjs.map +1 -1
- package/dist/public/zh_CN.json +3 -0
- package/dist/types/components/RememberMeBox.d.ts +8 -0
- package/dist/types/index.d.ts +3 -1
- package/dist/types/service/ResourceService.d.ts +2 -0
- package/package.json +2 -1
package/dist/public/zh_CN.json
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface RememberMeBoxProps {
|
|
2
|
+
checked?: boolean;
|
|
3
|
+
onChange?: (checked: boolean) => void;
|
|
4
|
+
text?: string;
|
|
5
|
+
align?: "left" | "right";
|
|
6
|
+
}
|
|
7
|
+
declare const RememberMeBox: import("react").ForwardRefExoticComponent<RememberMeBoxProps & import("react").RefAttributes<any>>;
|
|
8
|
+
export default RememberMeBox;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export { default as resourceService } from "./service/ResourceService";
|
|
|
9
9
|
export { default as rbacService } from "./service/RbacService";
|
|
10
10
|
export { default as adminService } from "./service/AdminService";
|
|
11
11
|
export { default as configService } from "./service/ConfigService";
|
|
12
|
+
export { default as authService } from "./service/AuthService";
|
|
12
13
|
export { default as useMenuAndTabData } from "./composable/useMenuAndTabData";
|
|
13
14
|
export { default as useAppStarter } from "./composable/useAppStarter";
|
|
14
15
|
export { default as useLocalTable } from "./composable/useLocalTable";
|
|
@@ -30,6 +31,7 @@ import LocaleBarItem from "./components/LocaleBarItem";
|
|
|
30
31
|
import PaginationPanel from "./components/PaginationPanel";
|
|
31
32
|
import SettingBarItem from "./components/SettingBarItem";
|
|
32
33
|
import { EasyUITooltip as Tooltip } from "./components/Tooltip";
|
|
34
|
+
import { default as RememberMeBox } from "./components/RememberMeBox";
|
|
33
35
|
import withDocHoc from "./hoc/withDocHoc";
|
|
34
36
|
export interface AdminConfig {
|
|
35
37
|
request: Request;
|
|
@@ -38,4 +40,4 @@ export interface AdminConfig {
|
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
export declare function install(cfg: AdminConfig): void;
|
|
41
|
-
export { BaseLayout, LocaleBarItem, PaginationPanel, SettingBarItem, withDocHoc, AppLayoutContext, Tooltip, };
|
|
43
|
+
export { BaseLayout, LocaleBarItem, PaginationPanel, SettingBarItem, withDocHoc, AppLayoutContext, Tooltip, RememberMeBox, };
|
|
@@ -18,6 +18,8 @@ declare class ResourceService {
|
|
|
18
18
|
info(api: string, data?: any): Promise<any>;
|
|
19
19
|
output(api: string, data?: SearchBody, config?: any): Promise<any>;
|
|
20
20
|
outputOctetStream(api: string, data: SearchBody | undefined, name: string): Promise<any>;
|
|
21
|
+
search(api: string, resource: string, data?: SearchBody): Promise<any>;
|
|
22
|
+
fetch(api: string, resource: string, data: any, config: any): Promise<any>;
|
|
21
23
|
}
|
|
22
24
|
declare const resourceService: ResourceService;
|
|
23
25
|
export default resourceService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kordar/easyui-tpl",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"main": "dist/index.umd.cjs",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/types/index.d.ts",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"@kordar-lib/reducers": "^2.0.1",
|
|
16
16
|
"@kordar/easyui": "^2.0.0",
|
|
17
17
|
"@kordar/easyui-datepicker": "^2.0.0",
|
|
18
|
+
"@kordar-lib/base": "^2.0.1",
|
|
18
19
|
"@reduxjs/toolkit": "^2.5.0",
|
|
19
20
|
"axios": "^1.8.3",
|
|
20
21
|
"flatpickr": "^4.6.13",
|