-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.ts
More file actions
41 lines (33 loc) · 1.12 KB
/
index.ts
File metadata and controls
41 lines (33 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
import List from './list'
import Form from './form'
import FormList from './form/formlist'
import Region from './region'
import Search from './search'
import Table from './table'
import Dialog from './dialog'
import Drawer from './drawer'
import { PermissionContext } from './context'
import { registerRender, removeRender } from './render';
import { registerRules, removeRules } from './config/rule';
import { setPermission, clearPermission, setDisabled, clearDisabled } from './config/permission';
import { setDefaultStyles, clearDefaultStyles } from './config/style';
import { setDefaultConfigs, clearDefaultConfigs } from './config/config';
import { setDefaultClasses, clearDefaultClasses } from './config/class';
export { List, Form, FormList, Table, Region, Search, Dialog, Drawer, PermissionContext }
const sets = {
setDisabled,
setPermission,
setDefaultStyles,
setDefaultConfigs,
setDefaultClasses,
clearDisabled,
clearPermission,
clearDefaultStyles,
clearDefaultConfigs,
clearDefaultClasses,
registerRules,
removeRules,
registerRender,
removeRender
}
export default sets;