@kordar/easyui-tpl 2.0.6 → 2.0.7

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.
Files changed (83) hide show
  1. package/package.json +2 -2
  2. package/dist/index.js +0 -11
  3. package/dist/index.js.map +0 -1
  4. package/dist/index.min.css +0 -1
  5. package/dist/index.umd.cjs +0 -11
  6. package/dist/index.umd.cjs.map +0 -1
  7. package/dist/public/en.json +0 -5
  8. package/dist/public/zh_CN.json +0 -286
  9. package/dist/types/components/BaseLayout.d.ts +0 -3
  10. package/dist/types/components/LayoutContext.d.ts +0 -10
  11. package/dist/types/components/LocaleBarItem.d.ts +0 -3
  12. package/dist/types/components/PaginationPanel.d.ts +0 -4
  13. package/dist/types/components/RememberMeBox.d.ts +0 -8
  14. package/dist/types/components/SettingBarItem.d.ts +0 -3
  15. package/dist/types/components/Tooltip.d.ts +0 -17
  16. package/dist/types/components/UserBarItem.d.ts +0 -3
  17. package/dist/types/composable/useAppRedirect.d.ts +0 -1
  18. package/dist/types/composable/useAppStarter.d.ts +0 -7
  19. package/dist/types/composable/useLocalTable.d.ts +0 -3
  20. package/dist/types/composable/useMenuAndTabData.d.ts +0 -18
  21. package/dist/types/composable/useRefreshKey.d.ts +0 -1
  22. package/dist/types/composable/useRemoteTable.d.ts +0 -3
  23. package/dist/types/hoc/withDocHoc.d.ts +0 -3
  24. package/dist/types/index.d.ts +0 -43
  25. package/dist/types/init.d.ts +0 -7
  26. package/dist/types/service/AdminService.d.ts +0 -23
  27. package/dist/types/service/AuthService.d.ts +0 -13
  28. package/dist/types/service/ConfigService.d.ts +0 -6
  29. package/dist/types/service/RbacService.d.ts +0 -80
  30. package/dist/types/service/ResourceService.d.ts +0 -25
  31. package/dist/types/util/form.d.ts +0 -8
  32. package/dist/types/util/helper.d.ts +0 -7
  33. package/dist/types/util/interface.d.ts +0 -66
  34. package/dist/types/util/lazy.d.ts +0 -2
  35. package/dist/types/util/tables.d.ts +0 -5
  36. package/dist/types/views/admin/assign.d.ts +0 -4
  37. package/dist/types/views/admin/context.d.ts +0 -3
  38. package/dist/types/views/admin/form_dlg.d.ts +0 -4
  39. package/dist/types/views/admin/index.d.ts +0 -2
  40. package/dist/types/views/admin/search.d.ts +0 -3
  41. package/dist/types/views/admin/table.d.ts +0 -4
  42. package/dist/types/views/dict/context.d.ts +0 -3
  43. package/dist/types/views/dict/dialog.d.ts +0 -5
  44. package/dist/types/views/dict/form.d.ts +0 -4
  45. package/dist/types/views/dict/index.d.ts +0 -2
  46. package/dist/types/views/dict/search.d.ts +0 -3
  47. package/dist/types/views/dict/table.d.ts +0 -4
  48. package/dist/types/views/dict-item/context.d.ts +0 -3
  49. package/dist/types/views/dict-item/dialog.d.ts +0 -4
  50. package/dist/types/views/dict-item/form.d.ts +0 -4
  51. package/dist/types/views/dict-item/index.d.ts +0 -2
  52. package/dist/types/views/dict-item/search.d.ts +0 -3
  53. package/dist/types/views/dict-item/table.d.ts +0 -4
  54. package/dist/types/views/home/index.d.ts +0 -3
  55. package/dist/types/views/language/index.d.ts +0 -3
  56. package/dist/types/views/login/form.d.ts +0 -3
  57. package/dist/types/views/login/index.d.ts +0 -3
  58. package/dist/types/views/page/404.d.ts +0 -3
  59. package/dist/types/views/permissions/context.d.ts +0 -3
  60. package/dist/types/views/permissions/fastadd_form_dlg.d.ts +0 -4
  61. package/dist/types/views/permissions/form_dlg.d.ts +0 -4
  62. package/dist/types/views/permissions/index.d.ts +0 -2
  63. package/dist/types/views/permissions/search.d.ts +0 -3
  64. package/dist/types/views/permissions/table.d.ts +0 -3
  65. package/dist/types/views/roles/assign.d.ts +0 -4
  66. package/dist/types/views/roles/context.d.ts +0 -3
  67. package/dist/types/views/roles/form_dlg.d.ts +0 -4
  68. package/dist/types/views/roles/index.d.ts +0 -2
  69. package/dist/types/views/roles/search.d.ts +0 -3
  70. package/dist/types/views/roles/table.d.ts +0 -4
  71. package/dist/types/views/router/context.d.ts +0 -3
  72. package/dist/types/views/router/form_dlg.d.ts +0 -4
  73. package/dist/types/views/router/index.d.ts +0 -2
  74. package/dist/types/views/router/search.d.ts +0 -3
  75. package/dist/types/views/router/table.d.ts +0 -4
  76. package/dist/types/views/setting/context.d.ts +0 -3
  77. package/dist/types/views/setting/dialog.d.ts +0 -5
  78. package/dist/types/views/setting/form.d.ts +0 -4
  79. package/dist/types/views/setting/index.d.ts +0 -2
  80. package/dist/types/views/setting/search.d.ts +0 -3
  81. package/dist/types/views/setting/table.d.ts +0 -4
  82. package/dist/types/views/srceen/design/container.d.ts +0 -3
  83. package/dist/types/views/srceen/design/index.d.ts +0 -4
@@ -1,5 +0,0 @@
1
- {
2
- "Page": {
3
- "Setting": "BBB"
4
- }
5
- }
@@ -1,286 +0,0 @@
1
- {
2
- "Page": {
3
- "Dict": {
4
- "title": "字典管理",
5
- "params": {
6
- "add": {
7
- "text": "新增字典"
8
- },
9
- "update": {
10
- "text": "更新字典【{#name}】"
11
- },
12
- "item_list": {
13
- "text": "字典项",
14
- "title": "字典项列表【{#name}】"
15
- }
16
- },
17
- "fields": {
18
- "name": {
19
- "placeholder": "",
20
- "label": "字典名称"
21
- },
22
- "sign": {
23
- "placeholder": "",
24
- "label": "字典标识符"
25
- },
26
- "remark": {
27
- "placeholder": "",
28
- "label": "备注"
29
- }
30
- }
31
- },
32
- "DictItem": {
33
- "params": {},
34
- "fields": {
35
- "label": {
36
- "placeholder": "",
37
- "label": "字典项"
38
- },
39
- "value": {
40
- "placeholder": "",
41
- "label": "值"
42
- },
43
- "data": {
44
- "placeholder": "",
45
- "label": "数据"
46
- }
47
- }
48
- },
49
- "Login": {
50
- "title": "后台管理系统",
51
- "params": {
52
- "submit": {
53
- "text": "登录"
54
- },
55
- "remember": {
56
- "text": "记住密码"
57
- }
58
- },
59
- "fields": {
60
- "username": {
61
- "placeholder": "请输入用户名",
62
- "icon": "icon-username2"
63
- },
64
- "password": {
65
- "placeholder": "请输入密码"
66
- },
67
- "code": {
68
- "placeholder": "验证码"
69
- }
70
- }
71
- },
72
- "Admin": {
73
- "fields": {
74
- "id": {
75
- "label": "用户ID"
76
- },
77
- "username": {
78
- "label": "账号"
79
- },
80
- "name": {
81
- "label": "用户名"
82
- },
83
- "phone": {
84
- "label": "手机号"
85
- },
86
- "status": {
87
- "label": "状态"
88
- },
89
- "type": {
90
- "label": "类型"
91
- },
92
- "version": {
93
- "label": "版本"
94
- }
95
- },
96
- "params": {
97
- "update": {
98
- "text": "更新用户【{#name}】"
99
- }
100
- }
101
- },
102
- "Setting": {
103
- "fields": {
104
- "title": {
105
- "label": "标题",
106
- "placeholder": "请填写项目名称"
107
- },
108
- "icon": {
109
- "label": "图标",
110
- "placeholder": "请选择图标"
111
- },
112
- "active": {
113
- "label": "状态"
114
- },
115
- "type": {
116
- "label": "类型"
117
- },
118
- "position": {
119
- "label": "位置"
120
- },
121
- "router_name": {
122
- "label": "路由",
123
- "placeholder": "请选择路由"
124
- },
125
- "url": {
126
- "label": "URL",
127
- "placeholder": ""
128
- },
129
- "pid": {
130
- "label": "上级栏目"
131
- },
132
- "sort": {
133
- "label": "排序"
134
- }
135
- },
136
- "params": {
137
- "none_parent": "无",
138
- "router_title": "路由列表"
139
- }
140
- },
141
- "Router": {
142
- "fields": {
143
- "name": {
144
- "label": "路由名称",
145
- "placeholder": "请填写路由名称"
146
- },
147
- "url": {
148
- "label": "URL",
149
- "placeholder": "请输入/选择URL"
150
- },
151
- "type": {
152
- "label": "路由类型"
153
- },
154
- "data": {
155
- "label": "扩展数据"
156
- }
157
- },
158
- "params": {
159
- "update": {
160
- "text": "更新路由: {#name}"
161
- }
162
- }
163
- },
164
- "Roles": {
165
- "fields": {
166
- "name": {
167
- "label": "角色名称",
168
- "placeholder": "请填写角色名称"
169
- },
170
- "type": {
171
- "label": "类型"
172
- },
173
- "rule_name": {
174
- "label": "规则"
175
- },
176
- "description": {
177
- "label": "描述",
178
- "placeholder": "请输入描述信息"
179
- }
180
- },
181
- "params": {
182
- "assign_role_list": {
183
- "text": "分配所属角色"
184
- },
185
- "assign_permission": {
186
- "text": "权限划分【{#name}】"
187
- }
188
- }
189
- },
190
- "Permissions": {
191
- "fields": {
192
- "name": {
193
- "label": "权限名称",
194
- "placeholder": "请填写权限名称"
195
- },
196
- "type": {
197
- "label": "类型"
198
- },
199
- "rule_name": {
200
- "label": "规则"
201
- },
202
- "description": {
203
- "label": "描述",
204
- "placeholder": "请输入描述信息"
205
- },
206
- "fast_add_resource": {
207
- "label": "资源标识符",
208
- "placeholder": "资源标识符"
209
- },
210
- "fast_add_name": {
211
- "label": "资源描述",
212
- "placeholder": "资源描述名称"
213
- }
214
- },
215
- "params": {
216
- "fast_add": {
217
- "text": "快速生成权限"
218
- }
219
- }
220
- },
221
- "Common": {
222
- "fields": {
223
- "_serial": {
224
- "label": "序号"
225
- },
226
- "create_time": {
227
- "label": "创建时间"
228
- },
229
- "update_time": {
230
- "label": "更新时间"
231
- },
232
- "sort": {
233
- "label": "排序"
234
- }
235
- },
236
- "params": {
237
- "submit": {
238
- "text": "提交"
239
- },
240
- "cancel": {
241
- "text": "取消"
242
- },
243
- "save": {
244
- "text": "保存"
245
- },
246
- "close": {
247
- "text": "关闭"
248
- },
249
- "refresh": {
250
- "text": "刷新"
251
- },
252
- "add": {
253
- "text": "新增"
254
- },
255
- "update": {
256
- "text": "更新"
257
- },
258
- "search": {
259
- "text": "查询"
260
- },
261
- "batch_remove": {
262
- "text": "批量删除"
263
- },
264
- "reset": {
265
- "text": "重置"
266
- },
267
- "output": {
268
- "text": "导出"
269
- }
270
- }
271
- }
272
- },
273
- "Message": {
274
- "confirm_del_title": "警告",
275
- "confirm_del_msg": "确定删除该记录?",
276
- "checkbox_no_empty": "待操作的数据不能为空",
277
- "save_success": "保存成功",
278
- "edit_success": "编辑成功",
279
- "del_success": "删除成功",
280
- "update_success": "更新成功",
281
- "confirm_logout": "确定退出该系统?"
282
- },
283
- "App": {
284
- "title": "后台管理系统"
285
- }
286
- }
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- declare const BaseLayout: React.FC<any>;
3
- export default BaseLayout;
@@ -1,10 +0,0 @@
1
- import React from "react";
2
- import { AppDispatch, RootState } from "@kordar-lib/reducers";
3
- import { TypedUseSelectorHook } from "react-redux";
4
- import { Location } from "react-router-dom";
5
- export interface AppLayoutContextDefine {
6
- dispatch?: AppDispatch;
7
- useAppSelector?: TypedUseSelectorHook<RootState>;
8
- location?: Location;
9
- }
10
- export declare const AppLayoutContext: React.Context<AppLayoutContextDefine>;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const LocaleBarItem: FC<any>;
3
- export default LocaleBarItem;
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { CtxProps } from "../util/interface";
3
- declare const PaginationPanel: FC<CtxProps>;
4
- export default PaginationPanel;
@@ -1,8 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const SettingBarItem: FC<any>;
3
- export default SettingBarItem;
@@ -1,17 +0,0 @@
1
- import { FC, ReactNode } from "react";
2
- type Position = "top" | "bottom" | "left" | "right";
3
- type Theme = "dark" | "light";
4
- type Trigger = "hover" | "click" | "focus";
5
- interface EasyUITooltipProps {
6
- text: ReactNode;
7
- children: ReactNode;
8
- position?: Position;
9
- trigger?: Trigger;
10
- delay?: number;
11
- maxWidth?: number;
12
- theme?: Theme;
13
- followMouse?: boolean;
14
- autoFlip?: boolean;
15
- }
16
- export declare const EasyUITooltip: FC<EasyUITooltipProps>;
17
- export {};
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const UserBarItem: FC<any>;
3
- export default UserBarItem;
@@ -1 +0,0 @@
1
- export default function (): import("@kordar-lib/base").AppRedirectHook;
@@ -1,7 +0,0 @@
1
- import { PkgItem } from "@kordar-lib/i18n";
2
- /**
3
- * App组件加载专用,请勿在其他组件中使用
4
- */
5
- export default function useAppStarter(): {
6
- easyuiLangPkg: PkgItem | undefined;
7
- };
@@ -1,3 +0,0 @@
1
- import { LocalTableConfig, TableHook, TableHookAsArray } from "@kordar-components/react";
2
- import { HookToArray } from "@kordar-lib/base";
3
- export default function (cfg: LocalTableConfig, dependency?: any): TableHook & HookToArray<TableHookAsArray<TableHook>>;
@@ -1,18 +0,0 @@
1
- import { SideBarItem, TabMenuService } from "@kordar-lib/menus";
2
- export default function (menuservice: TabMenuService<number>): {
3
- collapsed: boolean;
4
- menuList: SideBarItem<number>[] | {
5
- id: number;
6
- text: string;
7
- state: string;
8
- children: SideBarItem<number>[];
9
- }[];
10
- menuAll: SideBarItem<number>[];
11
- onMenuSelection: (selection: any) => void;
12
- menuArea: any;
13
- setMenuAreaId: import("react").Dispatch<import("react").SetStateAction<number | undefined>>;
14
- choiceId: string | number;
15
- menuTabList: any[];
16
- onTabClosed: (removeE: any) => void;
17
- onTabSelected: (selection: any) => void;
18
- };
@@ -1 +0,0 @@
1
- export default function (): [number, Function];
@@ -1,3 +0,0 @@
1
- import { LocalTableConfig, TableHook, TableHookAsArray } from "@kordar-components/react";
2
- import { HookToArray } from "@kordar-lib/base";
3
- export default function (cfg: LocalTableConfig, dependency?: any): TableHook & HookToArray<TableHookAsArray<TableHook>>;
@@ -1,3 +0,0 @@
1
- import { DocHocProps } from "../util/interface";
2
- declare const _default: (p: DocHocProps) => (WrappedComponent: any) => (props: any) => import("react/jsx-runtime").JSX.Element;
3
- export default _default;
@@ -1,43 +0,0 @@
1
- import "./index.scss";
2
- export * from "./util/lazy";
3
- export * from "./util/interface";
4
- export * from "./util/tables";
5
- export * from "./util/form";
6
- export * from "./util/helper";
7
- import { Request } from "@kordar-lib/request";
8
- export { default as resourceService } from "./service/ResourceService";
9
- export { default as rbacService } from "./service/RbacService";
10
- export { default as adminService } from "./service/AdminService";
11
- export { default as configService } from "./service/ConfigService";
12
- export { default as authService } from "./service/AuthService";
13
- export { default as useMenuAndTabData } from "./composable/useMenuAndTabData";
14
- export { default as useAppStarter } from "./composable/useAppStarter";
15
- export { default as useLocalTable } from "./composable/useLocalTable";
16
- export { default as useTable } from "./composable/useRemoteTable";
17
- export { default as useAppRedirect } from "./composable/useAppRedirect";
18
- export { default as AdminView } from "./views/admin";
19
- export { default as HomeView } from "./views/home";
20
- export { default as SettingView } from "./views/setting";
21
- export { default as LoginView } from "./views/login";
22
- export { default as RolesView } from "./views/roles";
23
- export { default as PermissionsView } from "./views/permissions";
24
- export { default as DictView } from "./views/dict";
25
- export { default as RouterView } from "./views/router";
26
- export { default as NotFoundView } from "./views/page/404";
27
- export { default as ScreenDesign } from "./views/srceen/design";
28
- import { AppLayoutContext } from "./components/LayoutContext";
29
- import BaseLayout from "./components/BaseLayout";
30
- import LocaleBarItem from "./components/LocaleBarItem";
31
- import PaginationPanel from "./components/PaginationPanel";
32
- import SettingBarItem from "./components/SettingBarItem";
33
- import { EasyUITooltip as Tooltip } from "./components/Tooltip";
34
- import { default as RememberMeBox } from "./components/RememberMeBox";
35
- import withDocHoc from "./hoc/withDocHoc";
36
- export interface AdminConfig {
37
- request: Request;
38
- apis?: {
39
- [key: string]: string;
40
- };
41
- }
42
- export declare function install(cfg: AdminConfig): void;
43
- export { BaseLayout, LocaleBarItem, PaginationPanel, SettingBarItem, withDocHoc, AppLayoutContext, Tooltip, RememberMeBox, };
@@ -1,7 +0,0 @@
1
- import { Request } from "@kordar-lib/request";
2
- import { MenuService } from "@kordar-lib/menus";
3
- export declare function loadRequest(request: Request): void;
4
- export declare function getRequest(): Request;
5
- export declare const menuService: MenuService<number | string>;
6
- export declare function registerApis(data: any): void;
7
- export declare function getApi(key: string): string;
@@ -1,23 +0,0 @@
1
- declare class AdminService {
2
- /**
3
- * 注册用户
4
- * @param data
5
- */
6
- register(data?: any): Promise<any>;
7
- /**
8
- * 修改密码
9
- * @param data
10
- */
11
- resetPassword(data?: any): Promise<any>;
12
- /**
13
- * 用户菜单
14
- */
15
- menus(): Promise<any>;
16
- /**
17
- * 获取用户基本信息
18
- * @param id
19
- */
20
- info(id: number | string): Promise<any>;
21
- }
22
- declare const adminService: AdminService;
23
- export default adminService;
@@ -1,13 +0,0 @@
1
- declare class AuthService {
2
- /**
3
- * 获取验证码
4
- */
5
- captcha(): Promise<any>;
6
- /**
7
- * 登录系统
8
- */
9
- login(params: any, success: Function, fail: Function): Promise<void>;
10
- configs(): Promise<any>;
11
- }
12
- declare const _default: AuthService;
13
- export default _default;
@@ -1,6 +0,0 @@
1
- declare class ConfigService {
2
- initialize(): Promise<any>;
3
- getLugData(lang: string): Promise<any>;
4
- }
5
- declare const configService: ConfigService;
6
- export default configService;
@@ -1,80 +0,0 @@
1
- declare class RbacService {
2
- /**
3
- * 获取角色列表
4
- */
5
- roles(): Promise<any>;
6
- /**
7
- * 添加角色
8
- */
9
- addRole(object: any): Promise<any>;
10
- /**
11
- * 更新角色
12
- */
13
- updateRole(object: any): Promise<any>;
14
- /**
15
- * 删除角色
16
- */
17
- deleteRole(object: any): Promise<any>;
18
- /**
19
- * 批量删除角色
20
- */
21
- batchDeleteRole(object: any): Promise<any>;
22
- /**
23
- * 获取权限列表
24
- */
25
- permissions(): Promise<any>;
26
- /**
27
- * 添加权限
28
- */
29
- addPermission(object: any): Promise<any>;
30
- /**
31
- * 更新权限
32
- */
33
- updatePermission(object: any): Promise<any>;
34
- /**
35
- * 删除权限
36
- */
37
- deletePermission(object: any): Promise<any>;
38
- /**
39
- * 批量删除权限
40
- */
41
- batchDeletePermission(object: any): Promise<any>;
42
- /**
43
- * 获取规则列表
44
- */
45
- rules(): Promise<any>;
46
- /**
47
- * 添加规则
48
- */
49
- addRule(object: any): Promise<any>;
50
- /**
51
- * 删除规则
52
- */
53
- deleteRule(object: any): Promise<any>;
54
- /**
55
- * 获取子item
56
- */
57
- getChildren(params: any): Promise<any>;
58
- /**
59
- * 分配权限节点
60
- */
61
- addPermissionChildren(data: any): Promise<any>;
62
- /**
63
- * 通过用户获取角色
64
- */
65
- getRolesByUser(userId: any): Promise<any>;
66
- /**
67
- * 设置节点到用户
68
- */
69
- assignItemToUser(data: any): Promise<any>;
70
- /**
71
- * 快速添加权限
72
- */
73
- fastAddPermission(data: any): Promise<any>;
74
- /**
75
- * 获取当前用户的所有权限
76
- */
77
- getPermissionsByUser(userId: any): Promise<any>;
78
- }
79
- declare const rbacService: RbacService;
80
- export default rbacService;
@@ -1,25 +0,0 @@
1
- import { EditorBody, FormBody, RemoveBody, SearchBody } from "@kordar-lib/crud";
2
- import { FormDataType } from "@kordar-lib/base";
3
- declare class ResourceService {
4
- result(code: any, message: string, data: any, count: number, success: Function, fail?: Function): void;
5
- private buildQueryString;
6
- listWithQuery(api: string, query: any, data?: SearchBody): Promise<any>;
7
- list(api: string, data?: SearchBody): Promise<any>;
8
- listResult(api: string, req: SearchBody | undefined, success: Function): Promise<void>;
9
- configs(api: string, data?: any): Promise<any>;
10
- configsResult(api: string, req: any | undefined, success: Function): Promise<void>;
11
- edit(api: string, editorBody: EditorBody): Promise<any>;
12
- editResult(api: string, editorBody: EditorBody, success: Function): Promise<void>;
13
- add(api: string, formBody: FormBody): Promise<any>;
14
- update(api: string, formBody: FormBody): Promise<any>;
15
- saveResult(api: string, type: FormDataType, formBody: FormBody, success: Function): Promise<void>;
16
- del(api: string, data: RemoveBody): Promise<any>;
17
- delResult(api: string, removeBody: RemoveBody, success: Function): Promise<void>;
18
- info(api: string, data?: any): Promise<any>;
19
- output(api: string, data?: SearchBody, config?: any): Promise<any>;
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>;
23
- }
24
- declare const resourceService: ResourceService;
25
- export default resourceService;
@@ -1,8 +0,0 @@
1
- /**
2
- * 生成一些通用的function
3
- */
4
- import { CheckAccessEle } from "@kordar-lib/base";
5
- export declare const resourceAccessItems: (name: string) => Array<CheckAccessEle>;
6
- export declare const removeEventFn: (ctx: any, content?: string) => ({ fn, params, success, error }: any) => void;
7
- export declare const resourceRemoveEvent: (ctx: any, content?: string | undefined) => (removeBody: any) => void;
8
- export declare function convertToText(obj: any): string;
@@ -1,7 +0,0 @@
1
- import { FormOption, TableContext } from "@kordar-lib/base";
2
- export declare function permissionTree(data: any[]): any;
3
- export declare function queryPermissionTress(treeData: Array<any>, set: Set<string>, targetNodes: Array<any>): number;
4
- export declare function roleTree(data: any[]): any;
5
- export declare const ctxPageValue: (ctx: TableContext | undefined, key: string) => any;
6
- export declare const ctxPageValueOptions: (ctx: TableContext | undefined, key: string) => Array<FormOption>;
7
- export declare const fetchConfigOptions: (fetchConfig: any, key: string) => Array<any>;