@nolwenture/formik-jsonschema-form 1.0.0-beta.26 → 1.0.0-beta.28
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.
|
@@ -39,7 +39,6 @@ const AnyField_1 = require("./AnyField");
|
|
|
39
39
|
const ArrayField_1 = require("./ArrayField");
|
|
40
40
|
const BooleanField_1 = require("./BooleanField");
|
|
41
41
|
const DateField_1 = require("./DateField");
|
|
42
|
-
const EJSField_1 = require("./EJSField");
|
|
43
42
|
const FileUploadField_1 = require("./FileUploadField");
|
|
44
43
|
const MultipleChoiceField_1 = require("./MultipleChoiceField");
|
|
45
44
|
const NullField_1 = require("./NullField");
|
|
@@ -58,14 +57,14 @@ exports.fieldComponents = {
|
|
|
58
57
|
...ObjectField.components,
|
|
59
58
|
};
|
|
60
59
|
//Please keep this in alphabetical order
|
|
61
|
-
exports.fields = {
|
|
60
|
+
exports.fields /*& { EJSField: typeof EJSField }*/ = {
|
|
62
61
|
...ObjectField.fields,
|
|
63
62
|
//OLD stuff
|
|
64
63
|
AnyField: AnyField_1.AnyField,
|
|
65
64
|
ArrayField: ArrayField_1.ArrayField,
|
|
66
65
|
BooleanField: BooleanField_1.BooleanField,
|
|
67
66
|
DateField: DateField_1.DateField,
|
|
68
|
-
EJSField
|
|
67
|
+
// EJSField,
|
|
69
68
|
FileUploadField: FileUploadField_1.FileUploadField,
|
|
70
69
|
NullField: NullField_1.NullField,
|
|
71
70
|
NumberField: NumberField_1.NumberField,
|
package/dist/cjs/index.js
CHANGED
|
@@ -10,32 +10,12 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
-
var
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
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
|
-
})();
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
35
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.utils = exports.view = exports.form = exports.common = void 0;
|
|
37
17
|
//This file exists for purpose releasing "moduleResolution": "node" compatible version (until we split this to multiple packages)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
18
|
+
__exportStar(require("./common"), exports);
|
|
19
|
+
__exportStar(require("./Form"), exports);
|
|
20
|
+
__exportStar(require("./FormView"), exports);
|
|
21
|
+
__exportStar(require("./utils"), exports);
|
|
@@ -3,7 +3,6 @@ import { AnyField } from "./AnyField";
|
|
|
3
3
|
import { ArrayField } from "./ArrayField";
|
|
4
4
|
import { BooleanField } from "./BooleanField";
|
|
5
5
|
import { DateField } from "./DateField";
|
|
6
|
-
import { EJSField } from "./EJSField";
|
|
7
6
|
import { FileUploadField } from "./FileUploadField";
|
|
8
7
|
import { MultipleChoiceField } from "./MultipleChoiceField";
|
|
9
8
|
import { NullField } from "./NullField";
|
|
@@ -22,14 +21,14 @@ export const fieldComponents = {
|
|
|
22
21
|
...ObjectField.components,
|
|
23
22
|
};
|
|
24
23
|
//Please keep this in alphabetical order
|
|
25
|
-
export const fields = {
|
|
24
|
+
export const fields /*& { EJSField: typeof EJSField }*/ = {
|
|
26
25
|
...ObjectField.fields,
|
|
27
26
|
//OLD stuff
|
|
28
27
|
AnyField,
|
|
29
28
|
ArrayField,
|
|
30
29
|
BooleanField,
|
|
31
30
|
DateField,
|
|
32
|
-
EJSField,
|
|
31
|
+
// EJSField,
|
|
33
32
|
FileUploadField,
|
|
34
33
|
NullField,
|
|
35
34
|
NumberField,
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//This file exists for purpose releasing "moduleResolution": "node" compatible version (until we split this to multiple packages)
|
|
2
|
-
export *
|
|
3
|
-
export *
|
|
4
|
-
export *
|
|
5
|
-
export *
|
|
2
|
+
export * from "./common";
|
|
3
|
+
export * from "./Form";
|
|
4
|
+
export * from "./FormView";
|
|
5
|
+
export * from "./utils";
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { FieldsType as FormFieldsType } from "../../Form/types";
|
|
2
|
-
import { EJSField } from "./EJSField";
|
|
3
2
|
import * as ObjectField from "./ObjectField";
|
|
4
3
|
export declare const fieldComponents: {
|
|
5
4
|
ObjectFieldSection: import("react").FC<ObjectField.ObjectFieldSectionProps>;
|
|
6
5
|
ObjectFieldSectionWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, never>> & string;
|
|
7
6
|
ObjectFieldSectionTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>, never>> & string;
|
|
8
7
|
};
|
|
9
|
-
export declare const fields: FormFieldsType
|
|
10
|
-
EJSField: typeof EJSField;
|
|
11
|
-
};
|
|
8
|
+
export declare const fields: FormFieldsType;
|
|
12
9
|
export type FieldsType = typeof fields;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export *
|
|
2
|
-
export *
|
|
3
|
-
export *
|
|
4
|
-
export *
|
|
1
|
+
export * from "./common";
|
|
2
|
+
export * from "./Form";
|
|
3
|
+
export * from "./FormView";
|
|
4
|
+
export * from "./utils";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nolwenture/formik-jsonschema-form",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.28",
|
|
4
4
|
"description": "Formik form generation from json schema",
|
|
5
5
|
"author": "anttivikman <antti.vikman@nolwenture.com>",
|
|
6
6
|
"contributors": [
|
|
@@ -16,28 +16,6 @@
|
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/cjs/index.js",
|
|
18
18
|
"module": "./dist/esm/index.js",
|
|
19
|
-
"exports": {
|
|
20
|
-
"./common": {
|
|
21
|
-
"types": "./dist/types/common/index.d.ts",
|
|
22
|
-
"require": "./dist/cjs/common/index.js",
|
|
23
|
-
"import": "./dist/esm/common/index.js"
|
|
24
|
-
},
|
|
25
|
-
"./form": {
|
|
26
|
-
"types": "./dist/types/Form/index.d.ts",
|
|
27
|
-
"require": "./dist/cjs/Form/index.js",
|
|
28
|
-
"import": "./dist/esm/Form/index.js"
|
|
29
|
-
},
|
|
30
|
-
"./view": {
|
|
31
|
-
"types": "./dist/types/FormView/index.d.ts",
|
|
32
|
-
"require": "./dist/cjs/FormView/index.js",
|
|
33
|
-
"import": "./dist/esm/FormView/index.js"
|
|
34
|
-
},
|
|
35
|
-
"./utils": {
|
|
36
|
-
"types": "./dist/types/utils/index.d.ts",
|
|
37
|
-
"require": "./dist/cjs/utils/index.js",
|
|
38
|
-
"import": "./dist/esm/utils/index.js"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
19
|
"files": [
|
|
42
20
|
"dist",
|
|
43
21
|
"package.json",
|