kts-components-document-access-point 1.2.10 → 1.2.14

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 (31) hide show
  1. package/dist/DocumentWhiteList/control/state/index.d.ts +8 -3
  2. package/dist/DocumentsDemo/Controller/index.d.ts +7 -0
  3. package/dist/DocumentsDemo/Controller/whitelist.d.ts +2 -0
  4. package/dist/DocumentsDemo/Text.d.ts +2 -0
  5. package/dist/DocumentsDemo/___demo___/base/index.d.ts +2 -0
  6. package/dist/DocumentsDemo/index.d.ts +6 -0
  7. package/dist/index.d.ts +1 -0
  8. package/dist/index.esm.js +387 -106
  9. package/dist/index.js +387 -105
  10. package/package.json +2 -2
  11. package/src/DocumentWhiteList/control/actions/whitelist/index.ts +1 -1
  12. package/src/DocumentWhiteList/control/state/index.ts +8 -3
  13. package/src/DocumentWhiteList/index.tsx +1 -1
  14. package/src/DocumentWhiteList/ui/clientmodal/index.tsx +8 -3
  15. package/src/DocumentWhiteList/ui/main/black.tsx +19 -9
  16. package/src/DocumentWhiteList/ui/main/white.tsx +23 -12
  17. package/src/DocumentWhiteList/ui/pageheader/BlackHeader.tsx +1 -1
  18. package/src/DocumentWhiteList/ui/pageheader/WhiteHeader.tsx +2 -4
  19. package/src/DocumentWhiteList/ui/whitemodal/index.tsx +1 -1
  20. package/src/DocumentsDemo/Controller/index.tsx +15 -0
  21. package/src/DocumentsDemo/Controller/whitelist.ts +23 -0
  22. package/src/DocumentsDemo/Text.tsx +23 -0
  23. package/src/DocumentsDemo/___demo___/base/index.tsx +8 -0
  24. package/src/DocumentsDemo/index.less +0 -0
  25. package/src/DocumentsDemo/index.md +6 -0
  26. package/src/DocumentsDemo/index.tsx +36 -0
  27. package/src/DocumentsList/index.tsx +0 -1
  28. package/src/DocumentsList/ui/ModalComfirm/index.tsx +21 -9
  29. package/src/DocumentsList/ui/PageHeader/index.tsx +24 -11
  30. package/src/DocumentsRule/ui/main/index.tsx +10 -7
  31. package/src/index.ts +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kts-components-document-access-point",
3
- "version": "1.2.10",
3
+ "version": "1.2.14",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "dumi dev",
@@ -31,7 +31,7 @@
31
31
  "@formily/antd-components": "^1.3.17",
32
32
  "@types/uuid": "^8.3.1",
33
33
  "antd": "3.26.20",
34
- "grey-react-box": "^0.2.13",
34
+ "grey-react-box": "^0.2.15",
35
35
  "kts-component-service": "^1.0.4",
36
36
  "kts-components": "^1.2.20",
37
37
  "kts-components-antd-x4": "^4.0.3",
@@ -4,7 +4,7 @@ import { IParams } from '../../../interface'
4
4
 
5
5
 
6
6
 
7
- export default async (s: ControllerState, params?: IParams) => {
7
+ export default async (s: ControllerState, params?:IParams) => {
8
8
  const res = await DocumentsService.instance.service?.call({ url: '/whiteblacklist/config/queryWhiteListPage', data: params, type: 'post' }) as any;
9
9
  if (res.err) {
10
10
  return false;
@@ -11,11 +11,16 @@ export interface IBillType {
11
11
  }
12
12
  export interface IWhitelist {
13
13
  customerDidNote: string;
14
- createTime: string;
14
+ createTime: number;
15
15
  dataStatus: number;
16
- listNature: number;
16
+ listNature?: number;
17
17
  customerDid: string;
18
- updateTime: string;
18
+ updateTime: number;
19
+ companyDid: string,
20
+ companyDidNote: string | null;
21
+ customerName: string;
22
+ id: string;
23
+ subId: string;
19
24
  }
20
25
  interface IClient {
21
26
  buttonName?: string;
@@ -1,5 +1,5 @@
1
1
 
2
- import React, { createContext } from 'react';
2
+ import React, { createContext, useEffect } from 'react';
3
3
  import Controller from './control';
4
4
  import RulePage from './ui/main'
5
5
  import WhiteModal from './ui/whitemodal'
@@ -51,7 +51,7 @@ export default function modalcomfirm(props: any) {
51
51
  },
52
52
  companyDid: {
53
53
  type: "string",
54
- title: "对应我的DID",
54
+ title: "我司对应DID",
55
55
  enum: didEnum
56
56
  },
57
57
  customerDidNote: {
@@ -83,7 +83,7 @@ export default function modalcomfirm(props: any) {
83
83
  width: 200
84
84
  },
85
85
  {
86
- title: '对应我的DID',
86
+ title: '我司对应DID',
87
87
  dataIndex: 'companyDid',
88
88
  render: (text: any, record: any) => {
89
89
  if (text) {
@@ -115,7 +115,12 @@ export default function modalcomfirm(props: any) {
115
115
  }, [])
116
116
  const onSubmit = useCallback(() => {
117
117
  (async () => {
118
- const res = await controller.addWhite(selectedRowKeys) as any;
118
+ let res;
119
+ if (listNature === '1') {
120
+ res = await controller.addWhite(selectedRowKeys) as any;
121
+ } else {
122
+ res = await controller.addBlack(selectedRowKeys) as any;
123
+ }
119
124
  if (res.res) {
120
125
 
121
126
  if (listNature === '1') {
@@ -35,10 +35,17 @@ export default function Rule(props: any) {
35
35
  title: '数据状态',
36
36
  dataIndex: 'dataStatus',
37
37
  width: 100,
38
- render: (text: any) => dataStatusEnum[text]
38
+ render: (text: any) => {
39
+ if (text === 2) {
40
+ return <span>停用</span>
41
+ }
42
+ if (text === 1) {
43
+ return <span style={{ color: '#0074ff' }}>使用中</span>
44
+ }
45
+ }
39
46
  },
40
47
  {
41
- title: '对应我的DID',
48
+ title: '我司对应DID',
42
49
  dataIndex: 'companyDid',
43
50
  render: (text: any, record: any) => {
44
51
  if (text) {
@@ -51,15 +58,15 @@ export default function Rule(props: any) {
51
58
  {
52
59
  title: '加入时间',
53
60
  dataIndex: 'createTime',
54
- width:200,
55
- render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
56
- },
57
- {
58
- title: '最近更新时间',
59
- width:200,
60
- dataIndex: 'updateTime',
61
+ width: 200,
61
62
  render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
62
63
  },
64
+ // {
65
+ // title: '最近更新时间',
66
+ // width: 200,
67
+ // dataIndex: 'updateTime',
68
+ // render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
69
+ // },
63
70
  {
64
71
  title: '操作',
65
72
  width: 80,
@@ -100,6 +107,9 @@ export default function Rule(props: any) {
100
107
  const res = await controller.getBlacklist({ ...params, ...pageParams });
101
108
  if (res.res) {
102
109
  setpageMeta(res.res.pageMeta);
110
+ await controller.pipeline(async s => {
111
+ s.blacklist = res.res.items || [];
112
+ })()
103
113
  }
104
114
  })()
105
115
  }, [params, pageParams]);
@@ -12,7 +12,7 @@ export default function Rule(props: any) {
12
12
  const whiteParams = controller.useMemo((s) => s.whiteParams, []);
13
13
  const onPageChange = (pageNum: any, pageSize: any) => {
14
14
  setpageParams({ pageNum, pageSize });
15
- }
15
+ };
16
16
  const columns = useMemo(() => [
17
17
  {
18
18
  title: 'DID',
@@ -34,10 +34,17 @@ export default function Rule(props: any) {
34
34
  title: '数据状态',
35
35
  dataIndex: 'dataStatus',
36
36
  width: 100,
37
- render: (text: any) => dataStatusEnum[text]
37
+ render: (text: any) => {
38
+ if (text === 2) {
39
+ return <span>停用</span>
40
+ }
41
+ if (text === 1) {
42
+ return <span style={{ color: '#0074ff' }}>使用中</span>
43
+ }
44
+ }
38
45
  },
39
46
  {
40
- title: '对应我的DID',
47
+ title: '我司对应DID',
41
48
  dataIndex: 'companyDid',
42
49
  render: (text: any, record: any) => {
43
50
  if (text) {
@@ -50,19 +57,19 @@ export default function Rule(props: any) {
50
57
  {
51
58
  title: '加入时间',
52
59
  dataIndex: 'createTime',
53
- width:200,
54
- render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
55
- },
56
- {
57
- title: '最近更新时间',
58
- dataIndex: 'updateTime',
59
- width:200,
60
+ width: 200,
60
61
  render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
61
62
  },
63
+ // {
64
+ // title: '最近更新时间',
65
+ // dataIndex: 'updateTime',
66
+ // width: 200,
67
+ // render: (text: any) => moment(text).format('YYYY-MM-DD HH:mm')
68
+ // },
62
69
  {
63
70
  title: '操作',
64
71
  dataIndex: 'console',
65
- width:80,
72
+ width: 80,
66
73
  render: (text: any, record: any) => (
67
74
  <span>
68
75
  {/* {
@@ -99,9 +106,13 @@ export default function Rule(props: any) {
99
106
  const res = await controller.getWhitelist({ ...whiteParams, ...pageParams });
100
107
  if (res.res) {
101
108
  setpageMeta(res.res.pageMeta);
109
+
110
+ // await controller.pipeline(async s => {
111
+ // s.whiteblacklist = res.res.items || [];
112
+ // })()
102
113
  }
103
114
  })()
104
- }, [whiteParams, pageParams]);
115
+ }, [whiteParams]);
105
116
  const rowSelection = useMemo(() => {
106
117
  return {
107
118
  onChange: (selectedRowKeys: any, selectedRows: any) => {
@@ -45,7 +45,7 @@ export default () => {
45
45
  },
46
46
  companyDid: {
47
47
  type: "string",
48
- title: "对应我的DID",
48
+ title: "我司对应DID",
49
49
  enum: didEnum
50
50
  },
51
51
  dataStatus: {
@@ -25,8 +25,6 @@ export default () => {
25
25
  controller.checkclient();
26
26
  }, []);
27
27
  useEffect(() => {
28
- // console.log(controller);
29
- // controller.pipeline(controller.didList)({})
30
28
  (async () => {
31
29
  const res = await controller.didList({}) as any;
32
30
  if (!res.err) {
@@ -35,7 +33,7 @@ export default () => {
35
33
  })()
36
34
  }
37
35
  })();
38
-
36
+
39
37
 
40
38
  }, []);
41
39
  useEffect(() => {
@@ -56,7 +54,7 @@ export default () => {
56
54
  },
57
55
  companyDid: {
58
56
  type: "string",
59
- title: "对应我的DID",
57
+ title: "我司对应DID",
60
58
  enum: didEnum
61
59
  },
62
60
  dataStatus: {
@@ -121,7 +121,7 @@ export default function modalcomfirm(props: any) {
121
121
  <Input maxLength={100} placeholder="最多输入100个字符" />
122
122
  </Form.Item>
123
123
  <Form.Item
124
- label="对应我的DID"
124
+ label="我司对应DID"
125
125
  name="companyDid"
126
126
  rules={[{ required: true, message: '请输入必填项' }]}
127
127
  >
@@ -0,0 +1,15 @@
1
+ import GreyReactBox from "grey-react-box";
2
+ import getWhitelist from './whitelist';
3
+
4
+
5
+ export class ControllerState{
6
+
7
+ }
8
+
9
+ export default class Controller extends GreyReactBox<ControllerState> {
10
+ constructor(){
11
+ super(new ControllerState)
12
+ }
13
+
14
+ getWhitelist = this.pipeline(getWhitelist);
15
+ }
@@ -0,0 +1,23 @@
1
+ import { ControllerState } from '.';
2
+ import { DocumentsService } from "../../";
3
+
4
+ export default async (s: any) => {
5
+
6
+ console.log('DocumentsService.instance.service ===>', DocumentsService.instance.service);
7
+ const res = await DocumentsService.instance.service?.call({ url: '/whiteblacklist/config/queryWhiteListPage', data: { pageSize: 10, pageNum: 1 }, type: 'post' }) as any;
8
+
9
+ if (res.err) {
10
+ return false;
11
+ }
12
+ if (res.res) {
13
+ res.res.items = res.res.items.map((item: any, index: any) => {
14
+ return {
15
+ ...item,
16
+ index
17
+ }
18
+ })
19
+ s.whiteblacklist = res.res.items || [];
20
+ return res;
21
+ // s.pageMeta = res.res.pageMeta;
22
+ }
23
+ }
@@ -0,0 +1,23 @@
1
+
2
+ import { Button } from 'kts-components-antd-x4';
3
+ import React from 'react';
4
+ import DocumentsDemo from './'
5
+
6
+ export default (props: any) => {
7
+
8
+ const controller = DocumentsDemo.useController()
9
+
10
+ const whiteblacklist = controller.useMemo((s: any) => s.whiteblacklist, [])
11
+
12
+ console.log(whiteblacklist);
13
+
14
+ React.useEffect(() => {
15
+ controller.getWhitelist()
16
+ }, [])
17
+
18
+ return (
19
+ <div>
20
+ <Button>发送</Button>
21
+ </div>
22
+ );
23
+ };
@@ -0,0 +1,8 @@
1
+ import { DocumentsDemo } from "../../../";
2
+ import React from "react";
3
+
4
+ export default () => {
5
+ return (
6
+ <DocumentsDemo />
7
+ );
8
+ };
File without changes
@@ -0,0 +1,6 @@
1
+ # DocumentsDemo
2
+
3
+ ## 基础用法
4
+ <code src="./___demo___/base/index.tsx" ></code>
5
+
6
+
@@ -0,0 +1,36 @@
1
+
2
+ import React from 'react';
3
+ import Controller from './Controller'
4
+ import Text from './Text'
5
+ import { DocumentsService } from "../";
6
+ import { ComponentServicePlatform } from "kts-component-service";
7
+
8
+ // 解决前端跨越问题,此代码跨越忽悠
9
+ window.document.domain = window.location.host.split('.').slice(-2).join('.').split(':')[0];
10
+
11
+ // 设置 sdk
12
+ DocumentsService.instance.service = new ComponentServicePlatform((window.top as any)['$$_kxl_sdk']);
13
+
14
+ // 设置上下文
15
+ DocumentsService.instance.service.context = '/dap/web';
16
+
17
+
18
+ export const DocumentsEditContext = React.createContext<any>(undefined as any);
19
+
20
+ export default class DocumentsCont extends React.Component<any> {
21
+
22
+ static useController = () => React.useContext(DocumentsEditContext);
23
+
24
+ render = () => <Main {...this.props} />
25
+ }
26
+
27
+ const Main = (props: any) => {
28
+
29
+ const controller = React.useMemo(() => new Controller(), []);
30
+
31
+ return (
32
+ <DocumentsEditContext.Provider value={controller}>
33
+ <Text />
34
+ </DocumentsEditContext.Provider>
35
+ );
36
+ };
@@ -1,6 +1,5 @@
1
1
  import React, { createContext, useEffect } from 'react';
2
2
  // import PageHeader from './ui/PageHeader'
3
- import qs from 'query-string';
4
3
  import RuleTable from './ui/RuleTable'
5
4
  import DocumentsListController from './DocumentsListController';
6
5
  import SendList from './ui/sendlist'
@@ -2,9 +2,11 @@ import React, { useCallback, useState, useEffect, useMemo } from 'react';
2
2
  import { Radio, message, Tooltip } from 'kts-components-antd-x4';
3
3
  import { Modal } from 'kts-xui';
4
4
  import Main from '../../';
5
+ import { useHistory } from 'react-router-dom';
5
6
  import { DocumentsService } from "../../../";
6
7
  export default function modalcomfirm(props: any) {
7
8
  const selectItems = props.list;
9
+ const history = useHistory();
8
10
  const controller = Main.useController();
9
11
  const targetId = controller.useMemo(s => s.targetId, [])
10
12
  const [targetList, setTargetList] = useState([]);
@@ -31,11 +33,21 @@ export default function modalcomfirm(props: any) {
31
33
  });
32
34
  const res = await DocumentsService.instance.service?.call({ url: '/schema/config/batchSend', data: data, type: 'post' }) as any;
33
35
  if (res.res) {
36
+ gotoSendlist();
34
37
  message.success('操作成功');
35
38
  props.handleCancel()
36
39
  }
37
40
  })()
38
41
  }, [targetId]);
42
+ const gotoSendlist=useCallback(()=>{
43
+ controller.pipeline(async s => {
44
+ s.type = 2;
45
+ if(selectItems.length===1){
46
+ s.params = { configNumber: selectItems[0].configNumber }
47
+ }
48
+ history.push({ pathname: `/rulelist`, state: { type: 2 } })
49
+ })()
50
+ },[]);
39
51
  const targetSelect = useCallback((e) => {
40
52
  controller.pipeline(async s => {
41
53
  s.targetId = e.target.value;
@@ -43,9 +55,9 @@ export default function modalcomfirm(props: any) {
43
55
  }, []);
44
56
  const radioStyle = useMemo(() => {
45
57
  return {
46
- alignItems:'center',
47
- marginBottom:10,
48
- lineHeight:1.2
58
+ alignItems: 'center',
59
+ marginBottom: 10,
60
+ lineHeight: 1.2
49
61
  };
50
62
  }, [])
51
63
  return (
@@ -60,12 +72,12 @@ export default function modalcomfirm(props: any) {
60
72
  {
61
73
  targetList.map((item: any, key) => {
62
74
  return <Radio style={radioStyle as any} key={key} value={item.participantId} >
63
- <Tooltip title={item.participantId}>
64
- <div style={{ display: 'flex', flexDirection:'column',alignContent:'flex-start'}}>
65
- <span>{item.remarkName}2</span>
66
- <span style={{ maxWidth: 460, overflow: 'hidden', textOverflow: 'ellipsis', display: 'block' }}>{item.participantId}</span>
67
- </div>
68
- </Tooltip></Radio>
75
+
76
+ <div style={{ display: 'flex', flexDirection: 'column', alignContent: 'flex-start' }}>
77
+ <span>{item.remarkName}2</span>
78
+ <span style={{ maxWidth: 460, overflow: 'hidden', textOverflow: 'ellipsis', display: 'block' }}>{item.participantId}</span>
79
+ </div>
80
+ </Radio>
69
81
  })
70
82
  }
71
83
  </Radio.Group>
@@ -20,6 +20,15 @@ export default () => {
20
20
  const [profileEnum, setProfile] = useState([]);
21
21
  const [schema, setSchema] = useState({});
22
22
  const ktsRef = useRef(null);
23
+ const [didlist, setDidList] = useState([]);//我司对应DID
24
+ useEffect(() => {
25
+ (async () => {
26
+ const res = await DocumentsService.instance.service?.call({ url: '/participant/listBySubjectId', data: {}, type: 'get' }) as any;
27
+ if (res.res) {
28
+ setDidList(res.res);
29
+ }
30
+ })()
31
+ }, []);
23
32
  useEffect(() => {
24
33
  (async () => {
25
34
  const res = await DocumentsService.instance.service?.call({ url: '/schema/config/getDefaultTypeList', data: {}, type: 'get' }) as any;
@@ -61,6 +70,9 @@ export default () => {
61
70
  })()
62
71
  }, [controller]);
63
72
  useEffect(() => {
73
+ const didEnum = didlist.map((item: any) => {
74
+ return { label: item.remarkName + ':' + item.participantId, value: item.participantId };
75
+ })
64
76
  if (type === 1) {
65
77
  let obj: any = {
66
78
  type: "object",
@@ -86,14 +98,14 @@ export default () => {
86
98
  visible: false
87
99
  },
88
100
  attribution: {
89
- type: "string",
90
- title: "单据类型",
101
+ type: "radio",
102
+ title: "收发角色",
91
103
  enum: [{
92
104
  "label": "发送方",
93
- "value": '1'
105
+ "value": 1
94
106
  }, {
95
107
  "label": "接收方",
96
- "value": '0'
108
+ "value": 0
97
109
  }],
98
110
  'x-props': {
99
111
  mode: "multiple"
@@ -138,10 +150,10 @@ export default () => {
138
150
  title: "我的收发角色",
139
151
  enum: [{
140
152
  "label": "发送方",
141
- "value": '1'
153
+ "value": 1
142
154
  }, {
143
155
  "label": "接收方",
144
- "value": '0'
156
+ "value": 0
145
157
  }],
146
158
  'x-props': {
147
159
  mode: "multiple"
@@ -152,15 +164,16 @@ export default () => {
152
164
  title: "发送对象",
153
165
  visible: true
154
166
  },
155
- did: {
167
+ senderParticipantId: {
156
168
  type: "string",
157
169
  title: "我司对应DID",
170
+ enum: didEnum
158
171
  },
159
- duixiang: {
172
+ receiverParticipantId: {
160
173
  type: "string",
161
174
  title: "接受对象",
162
175
  },
163
- duixianggongsi: {
176
+ receiverCompany: {
164
177
  type: "string",
165
178
  title: "接受对象所属公司",
166
179
  },
@@ -175,7 +188,7 @@ export default () => {
175
188
  enum: profileEnum,
176
189
  visible: false
177
190
  },
178
-
191
+
179
192
  '[beginCreateTime,endCreateTime]': {
180
193
  key: "[beginCreateTime,endCreateTime",
181
194
  name: "[beginCreateTime,endCreateTime",
@@ -193,7 +206,7 @@ export default () => {
193
206
  setSchema(obj);
194
207
  }
195
208
 
196
- }, [billEnum, type, profileEnum])
209
+ }, [billEnum, type, profileEnum, didlist])
197
210
  const onCreateType = useCallback((category, record?) => {
198
211
  history.push({ pathname: `/rule`, search: `?type=config&profile=${record && record.value || ''}&billtype=${category}` })
199
212
  }, [])
@@ -157,6 +157,9 @@ export default function Rule(props: any) {
157
157
  setRecord(res.res);
158
158
  if (publish) {
159
159
  onSendCheck();
160
+
161
+ }else{
162
+ history.push({ pathname: `/rulelist`, state: { type: 1 } })
160
163
  }
161
164
  }
162
165
  }
@@ -175,6 +178,7 @@ export default function Rule(props: any) {
175
178
  if (res.res) {
176
179
  setVisible(true);
177
180
  setList(res.res);
181
+
178
182
  }
179
183
  })()
180
184
  }, []);
@@ -187,10 +191,10 @@ export default function Rule(props: any) {
187
191
  sendPublic: true
188
192
  }
189
193
  const res = await controller.batchsend([data]);
190
- // const res = await DocumentsService.instance.service?.call({ url: '/dap/web/schema/config/batchSend', data: [data], type: 'post' }) as any;
191
194
  if (res.res) {
192
195
  message.success('操作成功');
193
196
  handleCancel()
197
+ history.push({ pathname: `/rulelist`, state: { type: 2 } })
194
198
  }
195
199
  })()
196
200
  }, [targetId, record]);
@@ -327,12 +331,11 @@ export default function Rule(props: any) {
327
331
  <Radio.Group onChange={targetSelect} value={targetId}>
328
332
  {targetList.map((item: any, key) => {
329
333
  return <Radio style={radioStyle as any} key={key} value={item.participantId}>
330
- <Tooltip title={item.participantId}>
331
- <div style={{ display: 'flex', flexDirection: 'column', alignContent: 'flex-start' }}>
332
- <span>{item.remarkName}</span>
333
- <span style={{ maxWidth: 460, overflow: 'hidden', textOverflow: 'ellipsis', display: 'block' }}>{item.participantId}</span>
334
- </div>
335
- </Tooltip>
334
+
335
+ <div style={{ display: 'flex', flexDirection: 'column', alignContent: 'flex-start' }}>
336
+ <span>{item.remarkName}</span>
337
+ <span style={{ maxWidth: 460, overflow: 'hidden', textOverflow: 'ellipsis', display: 'block' }}>{item.participantId}</span>
338
+ </div>
336
339
  </Radio>
337
340
  })}
338
341
  </Radio.Group>
package/src/index.ts CHANGED
@@ -6,3 +6,4 @@ export { default as DocumentsService } from './DocumentsService';
6
6
  export { default as DocumentsCont } from './DocumentsCont';
7
7
  export { default as DocumentsRule } from './DocumentsRule';
8
8
  export { default as DocumentWhiteList } from './DocumentWhiteList';
9
+ export { default as DocumentsDemo } from './DocumentsDemo';