@formily-design/formily-antd 1.0.6 → 1.0.8

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,16 +1,16 @@
1
- export declare const ArrayCards: import("@formily/react").Stringify<{
1
+ export declare const ArrayCards: import("@formily/json-schema").Stringify<{
2
2
  [key: symbol]: any;
3
3
  [key: `x-${string}`]: any;
4
4
  [key: `x-${number}`]: any;
5
5
  version?: string;
6
- name?: import("@formily/react").SchemaKey;
6
+ name?: import("@formily/json-schema").SchemaKey;
7
7
  title?: any;
8
8
  description?: any;
9
9
  default?: any;
10
10
  readOnly?: boolean;
11
11
  writeOnly?: boolean;
12
- type?: import("@formily/react").SchemaTypes;
13
- enum?: import("@formily/react").SchemaEnum<any>;
12
+ type?: import("@formily/json-schema").SchemaTypes;
13
+ enum?: import("@formily/json-schema").SchemaEnum<any>;
14
14
  const?: any;
15
15
  multipleOf?: number;
16
16
  maximum?: number;
@@ -25,16 +25,16 @@ export declare const ArrayCards: import("@formily/react").Stringify<{
25
25
  uniqueItems?: boolean;
26
26
  maxProperties?: number;
27
27
  minProperties?: number;
28
- required?: string | boolean | string[];
28
+ required?: string[] | boolean | string;
29
29
  format?: string;
30
30
  $ref?: string;
31
31
  $namespace?: string;
32
- definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
33
- properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
34
- items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
35
- additionalItems?: import("@formily/react").Stringify<any>;
36
- patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
37
- additionalProperties?: import("@formily/react").Stringify<any>;
32
+ definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
33
+ properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
34
+ items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
35
+ additionalItems?: import("@formily/json-schema").Stringify</*elided*/ any>;
36
+ patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
37
+ additionalProperties?: import("@formily/json-schema").Stringify</*elided*/ any>;
38
38
  "x-value"?: any;
39
39
  "x-index"?: number;
40
40
  "x-pattern"?: any;
@@ -44,7 +44,7 @@ export declare const ArrayCards: import("@formily/react").Stringify<{
44
44
  "x-decorator-props"?: any;
45
45
  "x-component"?: any;
46
46
  "x-component-props"?: any;
47
- "x-reactions"?: import("@formily/react").SchemaReactions<any>;
47
+ "x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
48
48
  "x-content"?: any;
49
49
  "x-data"?: any;
50
50
  "x-visible"?: boolean;
@@ -55,61 +55,5 @@ export declare const ArrayCards: import("@formily/react").Stringify<{
55
55
  "x-read-pretty"?: boolean;
56
56
  "x-compile-omitted"?: string[];
57
57
  }> & {
58
- Addition?: import("@formily/react").Stringify<{
59
- [key: symbol]: any;
60
- [key: `x-${string}`]: any;
61
- [key: `x-${number}`]: any;
62
- version?: string;
63
- name?: import("@formily/react").SchemaKey;
64
- title?: any;
65
- description?: any;
66
- default?: any;
67
- readOnly?: boolean;
68
- writeOnly?: boolean;
69
- type?: import("@formily/react").SchemaTypes;
70
- enum?: import("@formily/react").SchemaEnum<any>;
71
- const?: any;
72
- multipleOf?: number;
73
- maximum?: number;
74
- exclusiveMaximum?: number;
75
- minimum?: number;
76
- exclusiveMinimum?: number;
77
- maxLength?: number;
78
- minLength?: number;
79
- pattern?: string | RegExp;
80
- maxItems?: number;
81
- minItems?: number;
82
- uniqueItems?: boolean;
83
- maxProperties?: number;
84
- minProperties?: number;
85
- required?: string | boolean | string[];
86
- format?: string;
87
- $ref?: string;
88
- $namespace?: string;
89
- definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
90
- properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
91
- items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
92
- additionalItems?: import("@formily/react").Stringify<any>;
93
- patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
94
- additionalProperties?: import("@formily/react").Stringify<any>;
95
- "x-value"?: any;
96
- "x-index"?: number;
97
- "x-pattern"?: any;
98
- "x-display"?: any;
99
- "x-validator"?: any;
100
- "x-decorator"?: any;
101
- "x-decorator-props"?: any;
102
- "x-component"?: any;
103
- "x-component-props"?: any;
104
- "x-reactions"?: import("@formily/react").SchemaReactions<any>;
105
- "x-content"?: any;
106
- "x-data"?: any;
107
- "x-visible"?: boolean;
108
- "x-hidden"?: boolean;
109
- "x-disabled"?: boolean;
110
- "x-editable"?: boolean;
111
- "x-read-only"?: boolean;
112
- "x-read-pretty"?: boolean;
113
- "x-compile-omitted"?: string[];
114
- }>;
58
+ Addition?: import("@formily/json-schema").ISchema;
115
59
  };
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
36
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
37
  };
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.Form = void 0;
27
37
  const react_1 = __importStar(require("react"));
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.FormCollapse = void 0;
27
37
  const react_1 = __importStar(require("react"));
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.FormTab = void 0;
27
37
  const react_1 = __importStar(require("react"));
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.AllLocales = void 0;
27
37
  const AllLocales = __importStar(require("./all"));
@@ -1,16 +1,16 @@
1
- export declare const ArrayCards: import("@formily/react").Stringify<{
1
+ export declare const ArrayCards: import("@formily/json-schema").Stringify<{
2
2
  [key: symbol]: any;
3
3
  [key: `x-${string}`]: any;
4
4
  [key: `x-${number}`]: any;
5
5
  version?: string;
6
- name?: import("@formily/react").SchemaKey;
6
+ name?: import("@formily/json-schema").SchemaKey;
7
7
  title?: any;
8
8
  description?: any;
9
9
  default?: any;
10
10
  readOnly?: boolean;
11
11
  writeOnly?: boolean;
12
- type?: import("@formily/react").SchemaTypes;
13
- enum?: import("@formily/react").SchemaEnum<any>;
12
+ type?: import("@formily/json-schema").SchemaTypes;
13
+ enum?: import("@formily/json-schema").SchemaEnum<any>;
14
14
  const?: any;
15
15
  multipleOf?: number;
16
16
  maximum?: number;
@@ -25,16 +25,16 @@ export declare const ArrayCards: import("@formily/react").Stringify<{
25
25
  uniqueItems?: boolean;
26
26
  maxProperties?: number;
27
27
  minProperties?: number;
28
- required?: string | boolean | string[];
28
+ required?: string[] | boolean | string;
29
29
  format?: string;
30
30
  $ref?: string;
31
31
  $namespace?: string;
32
- definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
33
- properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
34
- items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
35
- additionalItems?: import("@formily/react").Stringify<any>;
36
- patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
37
- additionalProperties?: import("@formily/react").Stringify<any>;
32
+ definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
33
+ properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
34
+ items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any>;
35
+ additionalItems?: import("@formily/json-schema").Stringify</*elided*/ any>;
36
+ patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any>;
37
+ additionalProperties?: import("@formily/json-schema").Stringify</*elided*/ any>;
38
38
  "x-value"?: any;
39
39
  "x-index"?: number;
40
40
  "x-pattern"?: any;
@@ -44,7 +44,7 @@ export declare const ArrayCards: import("@formily/react").Stringify<{
44
44
  "x-decorator-props"?: any;
45
45
  "x-component"?: any;
46
46
  "x-component-props"?: any;
47
- "x-reactions"?: import("@formily/react").SchemaReactions<any>;
47
+ "x-reactions"?: import("@formily/json-schema").SchemaReactions<any>;
48
48
  "x-content"?: any;
49
49
  "x-data"?: any;
50
50
  "x-visible"?: boolean;
@@ -55,61 +55,5 @@ export declare const ArrayCards: import("@formily/react").Stringify<{
55
55
  "x-read-pretty"?: boolean;
56
56
  "x-compile-omitted"?: string[];
57
57
  }> & {
58
- Addition?: import("@formily/react").Stringify<{
59
- [key: symbol]: any;
60
- [key: `x-${string}`]: any;
61
- [key: `x-${number}`]: any;
62
- version?: string;
63
- name?: import("@formily/react").SchemaKey;
64
- title?: any;
65
- description?: any;
66
- default?: any;
67
- readOnly?: boolean;
68
- writeOnly?: boolean;
69
- type?: import("@formily/react").SchemaTypes;
70
- enum?: import("@formily/react").SchemaEnum<any>;
71
- const?: any;
72
- multipleOf?: number;
73
- maximum?: number;
74
- exclusiveMaximum?: number;
75
- minimum?: number;
76
- exclusiveMinimum?: number;
77
- maxLength?: number;
78
- minLength?: number;
79
- pattern?: string | RegExp;
80
- maxItems?: number;
81
- minItems?: number;
82
- uniqueItems?: boolean;
83
- maxProperties?: number;
84
- minProperties?: number;
85
- required?: string | boolean | string[];
86
- format?: string;
87
- $ref?: string;
88
- $namespace?: string;
89
- definitions?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
90
- properties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
91
- items?: import("@formily/react").SchemaItems<any, any, any, any, any, any, any, any>;
92
- additionalItems?: import("@formily/react").Stringify<any>;
93
- patternProperties?: import("@formily/react").SchemaProperties<any, any, any, any, any, any, any, any>;
94
- additionalProperties?: import("@formily/react").Stringify<any>;
95
- "x-value"?: any;
96
- "x-index"?: number;
97
- "x-pattern"?: any;
98
- "x-display"?: any;
99
- "x-validator"?: any;
100
- "x-decorator"?: any;
101
- "x-decorator-props"?: any;
102
- "x-component"?: any;
103
- "x-component-props"?: any;
104
- "x-reactions"?: import("@formily/react").SchemaReactions<any>;
105
- "x-content"?: any;
106
- "x-data"?: any;
107
- "x-visible"?: boolean;
108
- "x-hidden"?: boolean;
109
- "x-disabled"?: boolean;
110
- "x-editable"?: boolean;
111
- "x-read-only"?: boolean;
112
- "x-read-pretty"?: boolean;
113
- "x-compile-omitted"?: string[];
114
- }>;
58
+ Addition?: import("@formily/json-schema").ISchema;
115
59
  };
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.AllSchemas = void 0;
27
37
  const AllSchemas = __importStar(require("./all"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formily-design/formily-antd",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "license": "MIT",
5
5
  "main": "lib",
6
6
  "module": "esm",
@@ -24,7 +24,7 @@
24
24
  "start": "webpack-dev-server --config playground/webpack.dev.ts"
25
25
  },
26
26
  "devDependencies": {
27
- "@formily-design/react-settings-form": "1.0.6",
27
+ "@formily-design/react-settings-form": "1.0.8",
28
28
  "@formily/antd-v5": "^1.2.4",
29
29
  "@formily/core": "^2.0.2",
30
30
  "@formily/json-schema": "^2.0.2",
@@ -37,9 +37,11 @@
37
37
  "file-loader": "^5.0.2",
38
38
  "fs-extra": "^8.1.0",
39
39
  "html-webpack-plugin": "^3.2.0",
40
+ "js-yaml": "^4.1.0",
40
41
  "jsonp": "^0.2.1",
41
42
  "mini-css-extract-plugin": "^1.6.0",
42
43
  "monaco-editor-webpack-plugin": "^4.0.0",
44
+ "postcss-loader": "^3.0.0",
43
45
  "raw-loader": "^4.0.0",
44
46
  "react-monaco-editor": "^0.43.0",
45
47
  "style-loader": "^1.1.3",
@@ -67,14 +69,14 @@
67
69
  "react-is": ">=16.8.0 || >=17.0.0"
68
70
  },
69
71
  "dependencies": {
70
- "@formily-design/core": "1.0.6",
71
- "@formily-design/formily-setters": "1.0.6",
72
- "@formily-design/formily-transformer": "1.0.6",
73
- "@formily-design/react": "1.0.6",
74
- "@formily-design/shared": "1.0.6"
72
+ "@formily-design/core": "1.0.8",
73
+ "@formily-design/formily-setters": "1.0.8",
74
+ "@formily-design/formily-transformer": "1.0.8",
75
+ "@formily-design/react": "1.0.8",
76
+ "@formily-design/shared": "1.0.8"
75
77
  },
76
78
  "publishConfig": {
77
79
  "access": "public"
78
80
  },
79
- "gitHead": "e5564cc16c767903c2509f925b95b21580d25865"
81
+ "gitHead": "3047a43b47fa5430fd3e7e2041492db4ed766558"
80
82
  }