antd-form-document 0.2.13 → 5.0.0
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 +99 -6
- package/dist/index.tsx +1 -1
- package/dist/index.tsx.map +1 -1
- package/dist/src/applets/index.d.ts +34 -34
- package/dist/src/components/Checkbox/index.d.ts +9 -9
- package/dist/src/components/DatePicker/index.d.ts +6 -6
- package/dist/src/components/DatePicker/index.d.ts.map +1 -1
- package/dist/src/components/Duration/index.d.ts +7 -7
- package/dist/src/components/Editor/index.d.ts +6 -6
- package/dist/src/components/FormList/index.d.ts +18 -0
- package/dist/src/components/FormList/index.d.ts.map +1 -1
- package/dist/src/components/InputNumber/index.d.ts +6 -6
- package/dist/src/components/Label/index.d.ts +5 -5
- package/dist/src/components/Photo/index.d.ts +5 -5
- package/dist/src/components/Radio/index.d.ts +9 -9
- package/dist/src/components/Select/index.d.ts +10 -10
- package/dist/src/components/SuperUpload/index.d.ts +5 -5
- package/dist/src/components/Switch/index.d.ts +6 -6
- package/dist/src/components/Table/index.d.ts +6 -6
- package/dist/src/components/Text/index.d.ts +6 -6
- package/dist/src/components/TextArea/index.d.ts +6 -6
- package/dist/src/components/TimePicker/index.d.ts +6 -6
- package/dist/src/components/TimePicker/index.d.ts.map +1 -1
- package/dist/src/components/Tooltip/index.d.ts +5 -5
- package/dist/src/components/Upload/index.d.ts +5 -5
- package/dist/src/components/index.d.ts +18 -18
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/config.d.ts +35 -32
- package/dist/src/config.d.ts.map +1 -1
- package/dist/src/containers/Col/index.d.ts +2 -3
- package/dist/src/containers/Col/index.d.ts.map +1 -1
- package/dist/src/containers/Collapse/index.d.ts +3 -3
- package/dist/src/containers/Content/index.d.ts +3 -3
- package/dist/src/containers/Divider/index.d.ts +2 -3
- package/dist/src/containers/Divider/index.d.ts.map +1 -1
- package/dist/src/containers/Row/index.d.ts +2 -3
- package/dist/src/containers/Row/index.d.ts.map +1 -1
- package/dist/src/containers/Steps/index.d.ts +2 -3
- package/dist/src/containers/Steps/index.d.ts.map +1 -1
- package/dist/src/containers/index.d.ts +6 -6
- package/dist/src/context.d.ts +2 -2
- package/dist/src/entity/XML.d.ts +39 -39
- package/dist/src/form/index.d.ts +135 -135
- package/dist/src/form/index.d.ts.map +1 -1
- package/dist/src/index.d.ts +4 -4
- package/dist/src/preview/index.d.ts +18 -19
- package/dist/src/preview/index.d.ts.map +1 -1
- package/dist/src/service/ProComponent.d.ts +12 -12
- package/dist/src/service/ProComponent.d.ts.map +1 -1
- package/dist/src/service/UIComponent.d.ts +106 -99
- package/dist/src/service/UIComponent.d.ts.map +1 -1
- package/dist/src/service/UIListComponent.d.ts +25 -32
- package/dist/src/service/UIListComponent.d.ts.map +1 -1
- package/dist/src/service/WidgetComponent.d.ts +3 -3
- package/dist/src/service/index.d.ts +4 -4
- package/dist/src/utils/document.d.ts +44 -0
- package/dist/src/utils/document.d.ts.map +1 -0
- package/dist/src/utils/loading.d.ts +19 -19
- package/dist/src/utils/request.d.ts +3 -3
- package/dist/src/utils/style.d.ts +7 -7
- package/package.json +24 -24
- package/dist/src/components/Signature/index.d.ts +0 -7
- package/dist/src/components/Signature/index.d.ts.map +0 -1
- package/dist/src/utils/doc.d.ts +0 -8
- package/dist/src/utils/doc.d.ts.map +0 -1
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* validate 验证
|
|
3
|
-
*
|
|
4
|
-
* @param param0
|
|
5
|
-
* @returns
|
|
6
|
-
*/
|
|
7
|
-
export declare const validate: ({ type, required, minlength, maxlength, min, max, pattern, message }: any) => Design.Rule;
|
|
8
|
-
/**
|
|
9
|
-
* condition 条件
|
|
10
|
-
*
|
|
11
|
-
* @param param0
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export declare const condition: (fields: object | undefined, preview: boolean) => ({ test }: {
|
|
15
|
-
test: string;
|
|
16
|
-
}) => boolean | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* collection 集合
|
|
19
|
-
*
|
|
20
|
-
* @param param0
|
|
21
|
-
* @returns
|
|
22
|
-
*/
|
|
23
|
-
export declare const collection: (fields: object | undefined, { cdata }: {
|
|
24
|
-
cdata: string;
|
|
25
|
-
}) => Array<string>;
|
|
26
|
-
/**
|
|
27
|
-
* compute 计算
|
|
28
|
-
*
|
|
29
|
-
* @param param0
|
|
30
|
-
* @returns
|
|
31
|
-
*/
|
|
32
|
-
export declare const compute: (fields: object | undefined, { cdata }: {
|
|
33
|
-
cdata: string;
|
|
34
|
-
}) => Array<string> | string | undefined;
|
|
1
|
+
/**
|
|
2
|
+
* validate 验证
|
|
3
|
+
*
|
|
4
|
+
* @param param0
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
export declare const validate: ({ type, required, minlength, maxlength, min, max, pattern, message }: any) => Design.Rule;
|
|
8
|
+
/**
|
|
9
|
+
* condition 条件
|
|
10
|
+
*
|
|
11
|
+
* @param param0
|
|
12
|
+
* @returns
|
|
13
|
+
*/
|
|
14
|
+
export declare const condition: (fields: object | undefined, preview: boolean) => ({ test }: {
|
|
15
|
+
test: string;
|
|
16
|
+
}) => boolean | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* collection 集合
|
|
19
|
+
*
|
|
20
|
+
* @param param0
|
|
21
|
+
* @returns
|
|
22
|
+
*/
|
|
23
|
+
export declare const collection: (fields: object | undefined, { cdata }: {
|
|
24
|
+
cdata: string;
|
|
25
|
+
}) => Array<string>;
|
|
26
|
+
/**
|
|
27
|
+
* compute 计算
|
|
28
|
+
*
|
|
29
|
+
* @param param0
|
|
30
|
+
* @returns
|
|
31
|
+
*/
|
|
32
|
+
export declare const compute: (fields: object | undefined, { cdata }: {
|
|
33
|
+
cdata: string;
|
|
34
|
+
}) => Array<string> | string | undefined;
|
|
35
35
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIListComponent } from '@/service';
|
|
3
|
-
export default class CheckBox extends UIListComponent<Design.RemoteProps, Design.ListState> {
|
|
4
|
-
state: {
|
|
5
|
-
list: never[];
|
|
6
|
-
};
|
|
7
|
-
componentDidMount(): void;
|
|
8
|
-
render(): React.ReactNode;
|
|
9
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIListComponent } from '@/service';
|
|
3
|
+
export default class CheckBox extends UIListComponent<Design.RemoteProps, Design.ListState> {
|
|
4
|
+
state: {
|
|
5
|
+
list: never[];
|
|
6
|
+
};
|
|
7
|
+
componentDidMount(): void;
|
|
8
|
+
render(): React.ReactNode;
|
|
9
|
+
}
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIComponent } from '@/service';
|
|
3
|
-
export default class Datepicker extends UIComponent<Design.Picker.Props> {
|
|
4
|
-
componentDidMount(): void;
|
|
5
|
-
render(): React.ReactNode;
|
|
6
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIComponent } from '@/service';
|
|
3
|
+
export default class Datepicker extends UIComponent<Design.Picker.Props> {
|
|
4
|
+
componentDidMount(): void;
|
|
5
|
+
render(): React.ReactNode;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAmB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAmB,MAAM,WAAW,CAAC;AAOzD,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IAEtE,iBAAiB,IAAI,IAAI;IAIzB,MAAM,IAAI,KAAK,CAAC,SAAS;CAwB1B"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIComponent } from '@/service';
|
|
3
|
-
import './index.css';
|
|
4
|
-
export default class Duration extends UIComponent<Design.ComponentProps> {
|
|
5
|
-
componentDidMount(): void;
|
|
6
|
-
render(): React.ReactNode;
|
|
7
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIComponent } from '@/service';
|
|
3
|
+
import './index.css';
|
|
4
|
+
export default class Duration extends UIComponent<Design.ComponentProps> {
|
|
5
|
+
componentDidMount(): void;
|
|
6
|
+
render(): React.ReactNode;
|
|
7
|
+
}
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIComponent } from '@/service';
|
|
3
|
-
export default class Editor extends UIComponent<Design.ComponentProps> {
|
|
4
|
-
componentDidMount(): void;
|
|
5
|
-
render(): React.ReactNode;
|
|
6
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIComponent } from '@/service';
|
|
3
|
+
export default class Editor extends UIComponent<Design.ComponentProps> {
|
|
4
|
+
componentDidMount(): void;
|
|
5
|
+
render(): React.ReactNode;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIListComponent } from '@/service';
|
|
3
|
+
export default class FormList extends UIListComponent<Design.Form.Props, Design.Form.States> {
|
|
4
|
+
itemList: {
|
|
5
|
+
code: string;
|
|
6
|
+
title: string;
|
|
7
|
+
type: string;
|
|
8
|
+
data: {};
|
|
9
|
+
}[];
|
|
10
|
+
columnList: any[];
|
|
11
|
+
state: {
|
|
12
|
+
doc: undefined;
|
|
13
|
+
loading: boolean;
|
|
14
|
+
};
|
|
15
|
+
componentDidMount(): void;
|
|
16
|
+
initItems: (doc: Document) => Promise<void>;
|
|
17
|
+
render(): React.ReactNode;
|
|
18
|
+
}
|
|
1
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FormList/index.tsx"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/FormList/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAItC,OAAO,EAAE,eAAe,EAAmB,MAAM,WAAW,CAAC;AAK7D,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,eAAe,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;IAE1F,QAAQ,EAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,EAAE,CAAC;KAAE,EAAE,CAAK;IACxE,UAAU,EAAE,GAAG,EAAE,CAAK;IACtB,KAAK;;;MAGH;IAEF,iBAAiB,IAAI,IAAI;IAUzB,SAAS,QAAc,QAAQ,mBA8B9B;IAED,MAAM,IAAI,KAAK,CAAC,SAAS;CAyB1B"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { UIComponent } from '@/service';
|
|
3
|
-
export default class InputNumber extends UIComponent<Design.NumberProps> {
|
|
4
|
-
componentDidMount(): void;
|
|
5
|
-
render(): React.ReactNode;
|
|
6
|
-
}
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { UIComponent } from '@/service';
|
|
3
|
+
export default class InputNumber extends UIComponent<Design.NumberProps> {
|
|
4
|
+
componentDidMount(): void;
|
|
5
|
+
render(): React.ReactNode;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIComponent } from '@/service';
|
|
3
|
-
export default class Label extends UIComponent<Design.ComponentProps> {
|
|
4
|
-
render(): React.ReactNode;
|
|
5
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIComponent } from '@/service';
|
|
3
|
+
export default class Label extends UIComponent<Design.ComponentProps> {
|
|
4
|
+
render(): React.ReactNode;
|
|
5
|
+
}
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIListComponent } from '@/service';
|
|
3
|
-
export default class UplaodList extends UIListComponent<Design.File.Props> {
|
|
4
|
-
render(): React.ReactNode;
|
|
5
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIListComponent } from '@/service';
|
|
3
|
+
export default class UplaodList extends UIListComponent<Design.File.Props> {
|
|
4
|
+
render(): React.ReactNode;
|
|
5
|
+
}
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIListComponent } from '@/service';
|
|
3
|
-
export default class RadioButton extends UIListComponent<Design.Radio.Props, Design.ListState> {
|
|
4
|
-
state: {
|
|
5
|
-
list: never[];
|
|
6
|
-
};
|
|
7
|
-
componentDidMount(): void;
|
|
8
|
-
render(): React.ReactNode;
|
|
9
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIListComponent } from '@/service';
|
|
3
|
+
export default class RadioButton extends UIListComponent<Design.Radio.Props, Design.ListState> {
|
|
4
|
+
state: {
|
|
5
|
+
list: never[];
|
|
6
|
+
};
|
|
7
|
+
componentDidMount(): void;
|
|
8
|
+
render(): React.ReactNode;
|
|
9
|
+
}
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIListComponent } from '@/service';
|
|
3
|
-
export default class SelectList extends UIListComponent<Design.RemoteProps, Design.ListState> {
|
|
4
|
-
state: {
|
|
5
|
-
list: never[];
|
|
6
|
-
};
|
|
7
|
-
componentDidMount(): void;
|
|
8
|
-
initValue(): void;
|
|
9
|
-
render(): React.ReactNode;
|
|
10
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIListComponent } from '@/service';
|
|
3
|
+
export default class SelectList extends UIListComponent<Design.RemoteProps, Design.ListState> {
|
|
4
|
+
state: {
|
|
5
|
+
list: never[];
|
|
6
|
+
};
|
|
7
|
+
componentDidMount(): void;
|
|
8
|
+
initValue(): void;
|
|
9
|
+
render(): React.ReactNode;
|
|
10
|
+
}
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIListComponent } from '@/service';
|
|
3
|
-
export default class UplaodList extends UIListComponent<Design.File.Props> {
|
|
4
|
-
render(): React.ReactNode;
|
|
5
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIListComponent } from '@/service';
|
|
3
|
+
export default class UplaodList extends UIListComponent<Design.File.Props> {
|
|
4
|
+
render(): React.ReactNode;
|
|
5
|
+
}
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIComponent } from '@/service';
|
|
3
|
-
export default class SwitchButton extends UIComponent<Design.ComponentProps> {
|
|
4
|
-
componentDidMount(): void;
|
|
5
|
-
render(): React.ReactNode;
|
|
6
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIComponent } from '@/service';
|
|
3
|
+
export default class SwitchButton extends UIComponent<Design.ComponentProps> {
|
|
4
|
+
componentDidMount(): void;
|
|
5
|
+
render(): React.ReactNode;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIListComponent } from '@/service';
|
|
3
|
-
export default class TableList extends UIListComponent<Design.ComponentProps> {
|
|
4
|
-
getColumns(): any;
|
|
5
|
-
render(): React.ReactNode;
|
|
6
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIListComponent } from '@/service';
|
|
3
|
+
export default class TableList extends UIListComponent<Design.ComponentProps> {
|
|
4
|
+
getColumns(): any;
|
|
5
|
+
render(): React.ReactNode;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { UIComponent } from '@/service';
|
|
3
|
-
export default class Text extends UIComponent<Design.ComponentProps> {
|
|
4
|
-
componentDidMount(): void;
|
|
5
|
-
render(): React.ReactNode;
|
|
6
|
-
}
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { UIComponent } from '@/service';
|
|
3
|
+
export default class Text extends UIComponent<Design.ComponentProps> {
|
|
4
|
+
componentDidMount(): void;
|
|
5
|
+
render(): React.ReactNode;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { UIComponent } from '@/service';
|
|
3
|
-
export default class TextArea extends UIComponent<Design.ComponentProps> {
|
|
4
|
-
componentDidMount(): void;
|
|
5
|
-
render(): React.ReactNode;
|
|
6
|
-
}
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { UIComponent } from '@/service';
|
|
3
|
+
export default class TextArea extends UIComponent<Design.ComponentProps> {
|
|
4
|
+
componentDidMount(): void;
|
|
5
|
+
render(): React.ReactNode;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIComponent } from '@/service';
|
|
3
|
-
export default class Timepicker extends UIComponent<Design.Picker.Props> {
|
|
4
|
-
componentDidMount(): void;
|
|
5
|
-
render(): React.ReactNode;
|
|
6
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIComponent } from '@/service';
|
|
3
|
+
export default class Timepicker extends UIComponent<Design.Picker.Props> {
|
|
4
|
+
componentDidMount(): void;
|
|
5
|
+
render(): React.ReactNode;
|
|
6
|
+
}
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TimePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,WAAW,EAAmB,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TimePicker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,WAAW,EAAmB,MAAM,WAAW,CAAC;AAMzD,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,WAAW,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC;IAEtE,iBAAiB,IAAI,IAAI;IAIzB,MAAM,IAAI,KAAK,CAAC,SAAS;CAwB1B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIComponent } from '@/service';
|
|
3
|
-
export default class Tooltip extends UIComponent<Design.ComponentProps> {
|
|
4
|
-
render(): React.ReactNode;
|
|
5
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIComponent } from '@/service';
|
|
3
|
+
export default class Tooltip extends UIComponent<Design.ComponentProps> {
|
|
4
|
+
render(): React.ReactNode;
|
|
5
|
+
}
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { UIListComponent } from '@/service';
|
|
3
|
-
export default class UplaodList extends UIListComponent<Design.File.Props> {
|
|
4
|
-
render(): React.ReactNode;
|
|
5
|
-
}
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { UIListComponent } from '@/service';
|
|
3
|
+
export default class UplaodList extends UIListComponent<Design.File.Props> {
|
|
4
|
+
render(): React.ReactNode;
|
|
5
|
+
}
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { default as Label } from "./Label";
|
|
2
|
-
export { default as Tooltip } from "./Tooltip";
|
|
3
|
-
export { default as Text } from "./Text";
|
|
4
|
-
export { default as TextArea } from "./TextArea";
|
|
5
|
-
export { default as Number } from "./InputNumber";
|
|
6
|
-
export { default as Editor } from "./Editor";
|
|
7
|
-
export { default as Select } from "./Select";
|
|
8
|
-
export { default as Checkbox } from "./Checkbox";
|
|
9
|
-
export { default as Radio } from "./Radio";
|
|
10
|
-
export { default as Switch } from "./Switch";
|
|
11
|
-
export { default as Duration } from "./Duration";
|
|
12
|
-
export { default as DatePicker } from "./DatePicker";
|
|
13
|
-
export { default as TimePicker } from "./TimePicker";
|
|
14
|
-
export { default as Upload } from "./Upload";
|
|
15
|
-
export { default as Photo } from "./Photo";
|
|
16
|
-
export { default as SuperUpload } from "./SuperUpload";
|
|
17
|
-
export { default as Table } from "./Table";
|
|
18
|
-
export { default as
|
|
1
|
+
export { default as Label } from "./Label";
|
|
2
|
+
export { default as Tooltip } from "./Tooltip";
|
|
3
|
+
export { default as Text } from "./Text";
|
|
4
|
+
export { default as TextArea } from "./TextArea";
|
|
5
|
+
export { default as Number } from "./InputNumber";
|
|
6
|
+
export { default as Editor } from "./Editor";
|
|
7
|
+
export { default as Select } from "./Select";
|
|
8
|
+
export { default as Checkbox } from "./Checkbox";
|
|
9
|
+
export { default as Radio } from "./Radio";
|
|
10
|
+
export { default as Switch } from "./Switch";
|
|
11
|
+
export { default as Duration } from "./Duration";
|
|
12
|
+
export { default as DatePicker } from "./DatePicker";
|
|
13
|
+
export { default as TimePicker } from "./TimePicker";
|
|
14
|
+
export { default as Upload } from "./Upload";
|
|
15
|
+
export { default as Photo } from "./Photo";
|
|
16
|
+
export { default as SuperUpload } from "./SuperUpload";
|
|
17
|
+
export { default as Table } from "./Table";
|
|
18
|
+
export { default as FormList } from "./FormList";
|
|
19
19
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,IAAI,IAAI,EAAE,MAAM,QAAQ,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,UAAU,CAAC;AAC7C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
package/dist/src/config.d.ts
CHANGED
|
@@ -1,33 +1,36 @@
|
|
|
1
|
-
declare class DesignConfig {
|
|
2
|
-
readonly request: {
|
|
3
|
-
prefix: string;
|
|
4
|
-
headers: {};
|
|
5
|
-
params: {};
|
|
6
|
-
};
|
|
7
|
-
readonly file: {
|
|
8
|
-
listUrl: string;
|
|
9
|
-
downloadUrl: string;
|
|
10
|
-
uploadUrl: string;
|
|
11
|
-
extraData?: {};
|
|
12
|
-
};
|
|
13
|
-
readonly style: {
|
|
14
|
-
labelStyle: {};
|
|
15
|
-
};
|
|
16
|
-
readonly
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
1
|
+
declare class DesignConfig {
|
|
2
|
+
readonly request: {
|
|
3
|
+
prefix: string;
|
|
4
|
+
headers: {};
|
|
5
|
+
params: {};
|
|
6
|
+
};
|
|
7
|
+
readonly file: {
|
|
8
|
+
listUrl: string;
|
|
9
|
+
downloadUrl: string;
|
|
10
|
+
uploadUrl: string;
|
|
11
|
+
extraData?: {};
|
|
12
|
+
};
|
|
13
|
+
readonly style: {
|
|
14
|
+
labelStyle: {};
|
|
15
|
+
};
|
|
16
|
+
readonly form: {
|
|
17
|
+
documentUrl: string;
|
|
18
|
+
};
|
|
19
|
+
readonly chunk: {
|
|
20
|
+
checkFile: string;
|
|
21
|
+
checkChunk: string;
|
|
22
|
+
chunkUpload: string;
|
|
23
|
+
doMerge: string;
|
|
24
|
+
mergeProgress: string;
|
|
25
|
+
onComplete: string;
|
|
26
|
+
completeProgress: string;
|
|
27
|
+
chunkSize: number;
|
|
28
|
+
};
|
|
29
|
+
readonly components?: any;
|
|
30
|
+
private constructor();
|
|
31
|
+
static init(conf?: Design.Config): DesignConfig;
|
|
32
|
+
}
|
|
33
|
+
declare let config: DesignConfig;
|
|
34
|
+
declare const defineConfig: (conf: Design.Config) => void;
|
|
35
|
+
export { defineConfig, config };
|
|
33
36
|
//# sourceMappingURL=config.d.ts.map
|
package/dist/src/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAAA,cAAM,YAAY;IAChB,QAAQ,CAAC,OAAO,EAAE;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,EAAE,CAAC;QACZ,MAAM,EAAE,EAAE,CAAC;KACZ,CAIA;IACD,QAAQ,CAAC,IAAI,EAAE;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,EAAE,CAAA;KACf,CAKA;IACD,QAAQ,CAAC,KAAK,EAAE;QACd,UAAU,EAAE,EAAE,CAAA;KACf,CAEA;
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/config.ts"],"names":[],"mappings":"AAAA,cAAM,YAAY;IAChB,QAAQ,CAAC,OAAO,EAAE;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,OAAO,EAAE,EAAE,CAAC;QACZ,MAAM,EAAE,EAAE,CAAC;KACZ,CAIA;IACD,QAAQ,CAAC,IAAI,EAAE;QACb,OAAO,EAAE,MAAM,CAAC;QAChB,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,SAAS,CAAC,EAAE,EAAE,CAAA;KACf,CAKA;IACD,QAAQ,CAAC,KAAK,EAAE;QACd,UAAU,EAAE,EAAE,CAAA;KACf,CAEA;IACD,QAAQ,CAAC,IAAI,EAAE;QACb,WAAW,EAAE,MAAM,CAAA;KACpB,CAEA;IACD,QAAQ,CAAC,KAAK,EAAG;QACf,SAAS,EAAE,MAAM,CAAC;QAClB,UAAU,EAAE,MAAM,CAAC;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,OAAO,EAAE,MAAM,CAAC;QAChB,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,EAAE,MAAM,CAAC;QACnB,gBAAgB,EAAE,MAAM,CAAC;QACzB,SAAS,EAAE,MAAM,CAAC;KACnB,CASA;IAED,QAAQ,CAAC,UAAU,CAAC,EAAE,GAAG,CAAA;IAEzB,OAAO;IAWP,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM;CAGjC;AAED,QAAA,IAAI,MAAM,EAAE,YAAkC,CAAC;AAC/C,QAAA,MAAM,YAAY,SAAU,OAAO,MAAM,SAExC,CAAA;AAED,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default _default;
|
|
1
|
+
declare const _default: ({ span, children }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default _default;
|
|
4
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/Col/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/Col/index.tsx"],"names":[],"mappings":"6CAGoC,GAAG;AAAvC,wBAMC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: React.MemoExoticComponent<({ defaultExpanded, on, off, style, collapse, children }: any) => JSX.Element>;
|
|
3
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: React.MemoExoticComponent<({ defaultExpanded, on, off, style, collapse, children }: any) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export default _default;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: React.MemoExoticComponent<({ currentStepIndex, stepIndex, style, children }: any) => JSX.Element>;
|
|
3
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const _default: React.MemoExoticComponent<({ currentStepIndex, stepIndex, style, children }: any) => import("react/jsx-runtime").JSX.Element>;
|
|
3
|
+
export default _default;
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default _default;
|
|
1
|
+
declare const _default: ({ dashed, orientation, children }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default _default;
|
|
4
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/Divider/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/Divider/index.tsx"],"names":[],"mappings":"4DAGsE,GAAG;AAAzE,wBAEC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default _default;
|
|
1
|
+
declare const _default: ({ children, gutter }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default _default;
|
|
4
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/Row/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/Row/index.tsx"],"names":[],"mappings":"+CAGsC,GAAG;AAAzC,wBAIC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export default _default;
|
|
1
|
+
declare const _default: ({ direction, stepIndex, onChangeSetp, children }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default _default;
|
|
4
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/Steps/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/containers/Steps/index.tsx"],"names":[],"mappings":"2EAGkE,GAAG;AAArE,wBAiBC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { default as Row } from "./Row";
|
|
2
|
-
export { default as Col } from "./Col";
|
|
3
|
-
export { default as Steps } from "./Steps";
|
|
4
|
-
export { default as Content } from "./Content";
|
|
5
|
-
export { default as Divider } from "./Divider";
|
|
6
|
-
export { default as Collapse } from "./Collapse";
|
|
1
|
+
export { default as Row } from "./Row";
|
|
2
|
+
export { default as Col } from "./Col";
|
|
3
|
+
export { default as Steps } from "./Steps";
|
|
4
|
+
export { default as Content } from "./Content";
|
|
5
|
+
export { default as Divider } from "./Divider";
|
|
6
|
+
export { default as Collapse } from "./Collapse";
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/context.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare const DesignContext: React.Context<Design.Context>;
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare const DesignContext: React.Context<Design.Context>;
|
|
3
3
|
//# sourceMappingURL=context.d.ts.map
|