antd-form-document 0.1.2 → 0.1.3

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.
@@ -1,5 +1,11 @@
1
1
  import UIComponent from "./UIComponent";
2
2
  export default class UIListComponent<P extends Design.ComponentProps, S = {}> extends UIComponent<P, S> {
3
+ /**
4
+ * 请求网络
5
+ *
6
+ * @param remote
7
+ * @returns
8
+ */
3
9
  request: (remote: string) => Promise<{
4
10
  key: string;
5
11
  label: string;
@@ -11,7 +17,20 @@ export default class UIListComponent<P extends Design.ComponentProps, S = {}> ex
11
17
  * @returns
12
18
  */
13
19
  optionList(): Design.ItemOption[] | undefined;
20
+ /**
21
+ * 添加校验规则
22
+ *
23
+ * @returns
24
+ */
14
25
  plusRules(): Design.Rule[];
26
+ /**
27
+ * 获得资源列表
28
+ *
29
+ * @param list
30
+ * @param itemList
31
+ * @param reset
32
+ * @returns
33
+ */
15
34
  getList: (list: Design.ItemOption[], itemList: string[], reset: (plist: Design.ItemOption[]) => void) => Design.ItemOption[];
16
35
  }
17
36
  //# sourceMappingURL=UIListComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UIListComponent.d.ts","sourceRoot":"","sources":["../../src/service/UIListComponent.tsx"],"names":[],"mappings":"AAGA,OAAO,WAAW,MAAM,eAAe,CAAC;AAOxC,MAAM,CAAC,OAAO,OAAO,eAAe,CAAC,CAAC,SAAS,MAAM,CAAC,cAAc,EAAE,CAAC,GAAG,EAAE,CAAE,SAAQ,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC;IAErG,OAAO,WAAiB,MAAM;;;SAgB7B;IAED;;;;;OAKG;IACH,UAAU,IAAI,MAAM,CAAC,UAAU,EAAE,GAAG,SAAS;IAK7C,SAAS,IAAI,MAAM,CAAC,IAAI,EAAE;IAe1B,OAAO,SAAU,OAAO,UAAU,EAAE,YAAY,MAAM,EAAE,iBAAiB,OAAO,UAAU,EAAE,KAAK,IAAI,yBAOpG;CACF"}
1
+ {"version":3,"file":"UIListComponent.d.ts","sourceRoot":"","sources":["../../src/service/UIListComponent.tsx"],"names":[],"mappings":"AACA,OAAO,WAAW,MAAM,eAAe,CAAC;AAGxC,MAAM,CAAC,OAAO,OAAO,eAAe,CAAC,CAAC,SAAS,MAAM,CAAC,cAAc,EAAE,CAAC,GAAG,EAAE,CAAE,SAAQ,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC;IAErG;;;;;OAKG;IACH,OAAO,WAAiB,MAAM;;;SAgB7B;IAED;;;;;OAKG;IACH,UAAU,IAAI,MAAM,CAAC,UAAU,EAAE,GAAG,SAAS;IAK7C;;;;OAIG;IACH,SAAS,IAAI,MAAM,CAAC,IAAI,EAAE;IAe1B;;;;;;;OAOG;IACH,OAAO,SAAU,OAAO,UAAU,EAAE,YAAY,MAAM,EAAE,iBAAiB,OAAO,UAAU,EAAE,KAAK,IAAI,yBAOpG;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/utils/request.ts"],"names":[],"mappings":"AA6DA,eAAe;8BACM,MAAM,aAQV,GAAG;AARpB,wBASC"}
1
+ {"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/utils/request.ts"],"names":[],"mappings":"AA8DA,eAAe;8BACM,MAAM,aAQV,GAAG;AARpB,wBASC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-form-document",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "main": "dist/index.tsx",
5
5
  "license": "MIT",
6
6
  "description": "antd-form-document",
@@ -45,6 +45,7 @@
45
45
  "path-to-regexp": "^6.2.1",
46
46
  "react": "^18.2.0",
47
47
  "react-dom": "^18.2.0",
48
+ "spark-md5": "^3.0.2",
48
49
  "umi-request": "^1.4.0",
49
50
  "wangeditor-for-react": "^1.5.6"
50
51
  },