@defra/forms-model 3.0.2
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/LICENCE +8 -0
- package/README.md +22 -0
- package/dist/browser/components/component-types.d.ts +3 -0
- package/dist/browser/components/component-types.d.ts.map +1 -0
- package/dist/browser/components/component-types.js +220 -0
- package/dist/browser/components/component-types.js.map +1 -0
- package/dist/browser/components/conditional-component-types.d.ts +3 -0
- package/dist/browser/components/conditional-component-types.d.ts.map +1 -0
- package/dist/browser/components/conditional-component-types.js +28 -0
- package/dist/browser/components/conditional-component-types.js.map +1 -0
- package/dist/browser/components/index.d.ts +4 -0
- package/dist/browser/components/index.d.ts.map +1 -0
- package/dist/browser/components/index.js +45 -0
- package/dist/browser/components/index.js.map +1 -0
- package/dist/browser/components/types.d.ts +244 -0
- package/dist/browser/components/types.d.ts.map +1 -0
- package/dist/browser/components/types.js +56 -0
- package/dist/browser/components/types.js.map +1 -0
- package/dist/browser/conditions/condition-abstract.d.ts +16 -0
- package/dist/browser/conditions/condition-abstract.d.ts.map +1 -0
- package/dist/browser/conditions/condition-abstract.js +62 -0
- package/dist/browser/conditions/condition-abstract.js.map +1 -0
- package/dist/browser/conditions/condition-field.d.ts +13 -0
- package/dist/browser/conditions/condition-field.d.ts.map +1 -0
- package/dist/browser/conditions/condition-field.js +45 -0
- package/dist/browser/conditions/condition-field.js.map +1 -0
- package/dist/browser/conditions/condition-group-def.d.ts +10 -0
- package/dist/browser/conditions/condition-group-def.d.ts.map +1 -0
- package/dist/browser/conditions/condition-group-def.js +45 -0
- package/dist/browser/conditions/condition-group-def.js.map +1 -0
- package/dist/browser/conditions/condition-group.d.ts +15 -0
- package/dist/browser/conditions/condition-group.d.ts.map +1 -0
- package/dist/browser/conditions/condition-group.js +64 -0
- package/dist/browser/conditions/condition-group.js.map +1 -0
- package/dist/browser/conditions/condition-model.d.ts +41 -0
- package/dist/browser/conditions/condition-model.d.ts.map +1 -0
- package/dist/browser/conditions/condition-model.js +214 -0
- package/dist/browser/conditions/condition-model.js.map +1 -0
- package/dist/browser/conditions/condition-operators.d.ts +248 -0
- package/dist/browser/conditions/condition-operators.d.ts.map +1 -0
- package/dist/browser/conditions/condition-operators.js +132 -0
- package/dist/browser/conditions/condition-operators.js.map +1 -0
- package/dist/browser/conditions/condition-ref.d.ts +12 -0
- package/dist/browser/conditions/condition-ref.d.ts.map +1 -0
- package/dist/browser/conditions/condition-ref.js +51 -0
- package/dist/browser/conditions/condition-ref.js.map +1 -0
- package/dist/browser/conditions/condition-value-abstract.d.ts +8 -0
- package/dist/browser/conditions/condition-value-abstract.d.ts.map +1 -0
- package/dist/browser/conditions/condition-value-abstract.js +41 -0
- package/dist/browser/conditions/condition-value-abstract.js.map +1 -0
- package/dist/browser/conditions/condition-value-registration.d.ts +10 -0
- package/dist/browser/conditions/condition-value-registration.d.ts.map +1 -0
- package/dist/browser/conditions/condition-value-registration.js +37 -0
- package/dist/browser/conditions/condition-value-registration.js.map +1 -0
- package/dist/browser/conditions/condition-values.d.ts +38 -0
- package/dist/browser/conditions/condition-values.d.ts.map +1 -0
- package/dist/browser/conditions/condition-values.js +127 -0
- package/dist/browser/conditions/condition-values.js.map +1 -0
- package/dist/browser/conditions/condition.d.ts +15 -0
- package/dist/browser/conditions/condition.d.ts.map +1 -0
- package/dist/browser/conditions/condition.js +56 -0
- package/dist/browser/conditions/condition.js.map +1 -0
- package/dist/browser/conditions/helpers.d.ts +3 -0
- package/dist/browser/conditions/helpers.d.ts.map +1 -0
- package/dist/browser/conditions/helpers.js +26 -0
- package/dist/browser/conditions/helpers.js.map +1 -0
- package/dist/browser/conditions/index.d.ts +11 -0
- package/dist/browser/conditions/index.d.ts.map +1 -0
- package/dist/browser/conditions/index.js +144 -0
- package/dist/browser/conditions/index.js.map +1 -0
- package/dist/browser/conditions/inline-condition-model.d.ts +86 -0
- package/dist/browser/conditions/inline-condition-model.d.ts.map +1 -0
- package/dist/browser/conditions/inline-condition-model.js +418 -0
- package/dist/browser/conditions/inline-condition-model.js.map +1 -0
- package/dist/browser/conditions/inline-condition-operators.d.ts +175 -0
- package/dist/browser/conditions/inline-condition-operators.d.ts.map +1 -0
- package/dist/browser/conditions/inline-condition-operators.js +132 -0
- package/dist/browser/conditions/inline-condition-operators.js.map +1 -0
- package/dist/browser/conditions/inline-condition-values.d.ts +93 -0
- package/dist/browser/conditions/inline-condition-values.d.ts.map +1 -0
- package/dist/browser/conditions/inline-condition-values.js +159 -0
- package/dist/browser/conditions/inline-condition-values.js.map +1 -0
- package/dist/browser/conditions/types.d.ts +38 -0
- package/dist/browser/conditions/types.d.ts.map +1 -0
- package/dist/browser/conditions/types.js +24 -0
- package/dist/browser/conditions/types.js.map +1 -0
- package/dist/browser/data-model/conditions-wrapper.d.ts +19 -0
- package/dist/browser/data-model/conditions-wrapper.d.ts.map +1 -0
- package/dist/browser/data-model/conditions-wrapper.js +49 -0
- package/dist/browser/data-model/conditions-wrapper.js.map +1 -0
- package/dist/browser/data-model/index.d.ts +4 -0
- package/dist/browser/data-model/index.d.ts.map +1 -0
- package/dist/browser/data-model/index.js +66 -0
- package/dist/browser/data-model/index.js.map +1 -0
- package/dist/browser/data-model/input-wrapper.d.ts +16 -0
- package/dist/browser/data-model/input-wrapper.d.ts.map +1 -0
- package/dist/browser/data-model/input-wrapper.js +49 -0
- package/dist/browser/data-model/input-wrapper.js.map +1 -0
- package/dist/browser/data-model/types.d.ts +153 -0
- package/dist/browser/data-model/types.d.ts.map +1 -0
- package/dist/browser/data-model/types.js +34 -0
- package/dist/browser/data-model/types.js.map +1 -0
- package/dist/browser/form/form-configuration.d.ts +8 -0
- package/dist/browser/form/form-configuration.d.ts.map +1 -0
- package/dist/browser/form/form-configuration.js +38 -0
- package/dist/browser/form/form-configuration.js.map +1 -0
- package/dist/browser/form/index.d.ts +2 -0
- package/dist/browser/form/index.d.ts.map +1 -0
- package/dist/browser/form/index.js +24 -0
- package/dist/browser/form/index.js.map +1 -0
- package/dist/browser/index.d.ts +12 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +138 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/migration/index.d.ts +2 -0
- package/dist/browser/migration/index.d.ts.map +1 -0
- package/dist/browser/migration/index.js +24 -0
- package/dist/browser/migration/index.js.map +1 -0
- package/dist/browser/migration/migration.0-2.d.ts +3 -0
- package/dist/browser/migration/migration.0-2.d.ts.map +1 -0
- package/dist/browser/migration/migration.0-2.js +65 -0
- package/dist/browser/migration/migration.0-2.js.map +1 -0
- package/dist/browser/migration/migration.1-2.d.ts +3 -0
- package/dist/browser/migration/migration.1-2.d.ts.map +1 -0
- package/dist/browser/migration/migration.1-2.js +108 -0
- package/dist/browser/migration/migration.1-2.js.map +1 -0
- package/dist/browser/migration/types.d.ts +2 -0
- package/dist/browser/migration/types.d.ts.map +1 -0
- package/dist/browser/migration/types.js +16 -0
- package/dist/browser/migration/types.js.map +1 -0
- package/dist/browser/migration/whichMigrations.d.ts +7 -0
- package/dist/browser/migration/whichMigrations.d.ts.map +1 -0
- package/dist/browser/migration/whichMigrations.js +38 -0
- package/dist/browser/migration/whichMigrations.js.map +1 -0
- package/dist/browser/schema/index.d.ts +2 -0
- package/dist/browser/schema/index.d.ts.map +1 -0
- package/dist/browser/schema/index.js +30 -0
- package/dist/browser/schema/index.js.map +1 -0
- package/dist/browser/schema/schema.d.ts +20 -0
- package/dist/browser/schema/schema.d.ts.map +1 -0
- package/dist/browser/schema/schema.js +255 -0
- package/dist/browser/schema/schema.js.map +1 -0
- package/dist/browser/utils/helpers.d.ts +9 -0
- package/dist/browser/utils/helpers.d.ts.map +1 -0
- package/dist/browser/utils/helpers.js +48 -0
- package/dist/browser/utils/helpers.js.map +1 -0
- package/dist/browser/utils/logger.d.ts +11 -0
- package/dist/browser/utils/logger.d.ts.map +1 -0
- package/dist/browser/utils/logger.js +46 -0
- package/dist/browser/utils/logger.js.map +1 -0
- package/dist/module/components/component-types.d.ts +3 -0
- package/dist/module/components/component-types.d.ts.map +1 -0
- package/dist/module/components/component-types.js +206 -0
- package/dist/module/components/component-types.js.map +1 -0
- package/dist/module/components/conditional-component-types.d.ts +3 -0
- package/dist/module/components/conditional-component-types.d.ts.map +1 -0
- package/dist/module/components/conditional-component-types.js +14 -0
- package/dist/module/components/conditional-component-types.js.map +1 -0
- package/dist/module/components/index.d.ts +4 -0
- package/dist/module/components/index.d.ts.map +1 -0
- package/dist/module/components/index.js +34 -0
- package/dist/module/components/index.js.map +1 -0
- package/dist/module/components/types.d.ts +244 -0
- package/dist/module/components/types.d.ts.map +1 -0
- package/dist/module/components/types.js +42 -0
- package/dist/module/components/types.js.map +1 -0
- package/dist/module/conditions/condition-abstract.d.ts +16 -0
- package/dist/module/conditions/condition-abstract.d.ts.map +1 -0
- package/dist/module/conditions/condition-abstract.js +45 -0
- package/dist/module/conditions/condition-abstract.js.map +1 -0
- package/dist/module/conditions/condition-field.d.ts +13 -0
- package/dist/module/conditions/condition-field.d.ts.map +1 -0
- package/dist/module/conditions/condition-field.js +26 -0
- package/dist/module/conditions/condition-field.js.map +1 -0
- package/dist/module/conditions/condition-group-def.d.ts +10 -0
- package/dist/module/conditions/condition-group-def.d.ts.map +1 -0
- package/dist/module/conditions/condition-group-def.js +26 -0
- package/dist/module/conditions/condition-group-def.js.map +1 -0
- package/dist/module/conditions/condition-group.d.ts +15 -0
- package/dist/module/conditions/condition-group.d.ts.map +1 -0
- package/dist/module/conditions/condition-group.js +47 -0
- package/dist/module/conditions/condition-group.js.map +1 -0
- package/dist/module/conditions/condition-model.d.ts +41 -0
- package/dist/module/conditions/condition-model.d.ts.map +1 -0
- package/dist/module/conditions/condition-model.js +199 -0
- package/dist/module/conditions/condition-model.js.map +1 -0
- package/dist/module/conditions/condition-operators.d.ts +248 -0
- package/dist/module/conditions/condition-operators.d.ts.map +1 -0
- package/dist/module/conditions/condition-operators.js +119 -0
- package/dist/module/conditions/condition-operators.js.map +1 -0
- package/dist/module/conditions/condition-ref.d.ts +12 -0
- package/dist/module/conditions/condition-ref.d.ts.map +1 -0
- package/dist/module/conditions/condition-ref.js +33 -0
- package/dist/module/conditions/condition-ref.js.map +1 -0
- package/dist/module/conditions/condition-value-abstract.d.ts +8 -0
- package/dist/module/conditions/condition-value-abstract.d.ts.map +1 -0
- package/dist/module/conditions/condition-value-abstract.js +24 -0
- package/dist/module/conditions/condition-value-abstract.js.map +1 -0
- package/dist/module/conditions/condition-value-registration.d.ts +10 -0
- package/dist/module/conditions/condition-value-registration.d.ts.map +1 -0
- package/dist/module/conditions/condition-value-registration.js +19 -0
- package/dist/module/conditions/condition-value-registration.js.map +1 -0
- package/dist/module/conditions/condition-values.d.ts +38 -0
- package/dist/module/conditions/condition-values.d.ts.map +1 -0
- package/dist/module/conditions/condition-values.js +106 -0
- package/dist/module/conditions/condition-values.js.map +1 -0
- package/dist/module/conditions/condition.d.ts +15 -0
- package/dist/module/conditions/condition.d.ts.map +1 -0
- package/dist/module/conditions/condition.js +40 -0
- package/dist/module/conditions/condition.js.map +1 -0
- package/dist/module/conditions/helpers.d.ts +3 -0
- package/dist/module/conditions/helpers.d.ts.map +1 -0
- package/dist/module/conditions/helpers.js +12 -0
- package/dist/module/conditions/helpers.js.map +1 -0
- package/dist/module/conditions/index.d.ts +11 -0
- package/dist/module/conditions/index.d.ts.map +1 -0
- package/dist/module/conditions/index.js +140 -0
- package/dist/module/conditions/index.js.map +1 -0
- package/dist/module/conditions/inline-condition-model.d.ts +86 -0
- package/dist/module/conditions/inline-condition-model.d.ts.map +1 -0
- package/dist/module/conditions/inline-condition-model.js +384 -0
- package/dist/module/conditions/inline-condition-model.js.map +1 -0
- package/dist/module/conditions/inline-condition-operators.d.ts +175 -0
- package/dist/module/conditions/inline-condition-operators.d.ts.map +1 -0
- package/dist/module/conditions/inline-condition-operators.js +119 -0
- package/dist/module/conditions/inline-condition-operators.js.map +1 -0
- package/dist/module/conditions/inline-condition-values.d.ts +93 -0
- package/dist/module/conditions/inline-condition-values.d.ts.map +1 -0
- package/dist/module/conditions/inline-condition-values.js +134 -0
- package/dist/module/conditions/inline-condition-values.js.map +1 -0
- package/dist/module/conditions/types.d.ts +38 -0
- package/dist/module/conditions/types.d.ts.map +1 -0
- package/dist/module/conditions/types.js +10 -0
- package/dist/module/conditions/types.js.map +1 -0
- package/dist/module/data-model/conditions-wrapper.d.ts +19 -0
- package/dist/module/data-model/conditions-wrapper.d.ts.map +1 -0
- package/dist/module/data-model/conditions-wrapper.js +30 -0
- package/dist/module/data-model/conditions-wrapper.js.map +1 -0
- package/dist/module/data-model/index.d.ts +4 -0
- package/dist/module/data-model/index.d.ts.map +1 -0
- package/dist/module/data-model/index.js +55 -0
- package/dist/module/data-model/index.js.map +1 -0
- package/dist/module/data-model/input-wrapper.d.ts +16 -0
- package/dist/module/data-model/input-wrapper.d.ts.map +1 -0
- package/dist/module/data-model/input-wrapper.js +25 -0
- package/dist/module/data-model/input-wrapper.js.map +1 -0
- package/dist/module/data-model/types.d.ts +153 -0
- package/dist/module/data-model/types.d.ts.map +1 -0
- package/dist/module/data-model/types.js +20 -0
- package/dist/module/data-model/types.js.map +1 -0
- package/dist/module/form/form-configuration.d.ts +8 -0
- package/dist/module/form/form-configuration.d.ts.map +1 -0
- package/dist/module/form/form-configuration.js +17 -0
- package/dist/module/form/form-configuration.js.map +1 -0
- package/dist/module/form/index.d.ts +2 -0
- package/dist/module/form/index.d.ts.map +1 -0
- package/dist/module/form/index.js +11 -0
- package/dist/module/form/index.js.map +1 -0
- package/dist/module/index.d.ts +12 -0
- package/dist/module/index.d.ts.map +1 -0
- package/dist/module/index.js +135 -0
- package/dist/module/index.js.map +1 -0
- package/dist/module/migration/index.d.ts +2 -0
- package/dist/module/migration/index.d.ts.map +1 -0
- package/dist/module/migration/index.js +11 -0
- package/dist/module/migration/index.js.map +1 -0
- package/dist/module/migration/migration.0-2.d.ts +3 -0
- package/dist/module/migration/migration.0-2.d.ts.map +1 -0
- package/dist/module/migration/migration.0-2.js +42 -0
- package/dist/module/migration/migration.0-2.js.map +1 -0
- package/dist/module/migration/migration.1-2.d.ts +3 -0
- package/dist/module/migration/migration.1-2.d.ts.map +1 -0
- package/dist/module/migration/migration.1-2.js +90 -0
- package/dist/module/migration/migration.1-2.js.map +1 -0
- package/dist/module/migration/types.d.ts +2 -0
- package/dist/module/migration/types.d.ts.map +1 -0
- package/dist/module/migration/types.js +1 -0
- package/dist/module/migration/types.js.map +1 -0
- package/dist/module/migration/whichMigrations.d.ts +7 -0
- package/dist/module/migration/whichMigrations.d.ts.map +1 -0
- package/dist/module/migration/whichMigrations.js +26 -0
- package/dist/module/migration/whichMigrations.js.map +1 -0
- package/dist/module/schema/index.d.ts +2 -0
- package/dist/module/schema/index.d.ts.map +1 -0
- package/dist/module/schema/index.js +17 -0
- package/dist/module/schema/index.js.map +1 -0
- package/dist/module/schema/schema.d.ts +20 -0
- package/dist/module/schema/schema.d.ts.map +1 -0
- package/dist/module/schema/schema.js +239 -0
- package/dist/module/schema/schema.js.map +1 -0
- package/dist/module/utils/helpers.d.ts +9 -0
- package/dist/module/utils/helpers.d.ts.map +1 -0
- package/dist/module/utils/helpers.js +35 -0
- package/dist/module/utils/helpers.js.map +1 -0
- package/dist/module/utils/logger.d.ts +11 -0
- package/dist/module/utils/logger.d.ts.map +1 -0
- package/dist/module/utils/logger.js +27 -0
- package/dist/module/utils/logger.js.map +1 -0
- package/package.json +35 -0
- package/src/components/component-types.ts +229 -0
- package/src/components/conditional-component-types.ts +14 -0
- package/src/components/index.ts +3 -0
- package/src/components/types.ts +362 -0
- package/src/conditions/condition-abstract.ts +59 -0
- package/src/conditions/condition-field.ts +29 -0
- package/src/conditions/condition-group-def.ts +29 -0
- package/src/conditions/condition-group.ts +61 -0
- package/src/conditions/condition-model.ts +314 -0
- package/src/conditions/condition-operators.ts +176 -0
- package/src/conditions/condition-ref.ts +47 -0
- package/src/conditions/condition-value-abstract.ts +31 -0
- package/src/conditions/condition-value-registration.ts +18 -0
- package/src/conditions/condition-values.ts +146 -0
- package/src/conditions/condition.ts +64 -0
- package/src/conditions/helpers.ts +7 -0
- package/src/conditions/index.ts +27 -0
- package/src/conditions/inline-condition-model.ts +550 -0
- package/src/conditions/inline-condition-operators.ts +166 -0
- package/src/conditions/inline-condition-values.ts +153 -0
- package/src/conditions/types.ts +30 -0
- package/src/data-model/conditions-wrapper.ts +42 -0
- package/src/data-model/index.ts +3 -0
- package/src/data-model/input-wrapper.ts +40 -0
- package/src/data-model/types.ts +179 -0
- package/src/form/form-configuration.ts +21 -0
- package/src/form/index.ts +1 -0
- package/src/index.ts +11 -0
- package/src/migration/index.ts +1 -0
- package/src/migration/migration.0-2.ts +29 -0
- package/src/migration/migration.1-2.ts +105 -0
- package/src/migration/types.ts +1 -0
- package/src/migration/whichMigrations.ts +23 -0
- package/src/schema/index.ts +1 -0
- package/src/schema/schema.ts +300 -0
- package/src/utils/helpers.ts +37 -0
- package/src/utils/logger.ts +29 -0
package/LICENCE
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
The Open Government Licence (OGL) Version 3
|
2
|
+
|
3
|
+
Copyright (c) 2023 Defra
|
4
|
+
|
5
|
+
This source code is licensed under the Open Government Licence v3.0. To view this
|
6
|
+
licence, visit www.nationalarchives.gov.uk/doc/open-government-licence/version/3
|
7
|
+
or write to the Information Policy Team, The National Archives, Kew, Richmond,
|
8
|
+
Surrey, TW9 4DU.
|
package/README.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# Defra forms model
|
2
|
+
|
3
|
+
# Test coverage threshold
|
4
|
+
|
5
|
+
Unit test coverage threshold, code coverage below which build will fail is set by using jest config, at the moment line coverage threshold is set as 92%, see [jest.config.js](jest.config.js)
|
6
|
+
|
7
|
+
## License
|
8
|
+
|
9
|
+
THIS INFORMATION IS LICENSED UNDER THE CONDITIONS OF THE OPEN GOVERNMENT LICENCE found at:
|
10
|
+
|
11
|
+
http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3
|
12
|
+
|
13
|
+
The following attribution statement MUST be cited in your products and applications when using this information.
|
14
|
+
`
|
15
|
+
|
16
|
+
> Contains public sector information licensed under the Open Government license v3
|
17
|
+
|
18
|
+
### About the license
|
19
|
+
|
20
|
+
The Open Government Licence (OGL) was developed by the Controller of Her Majesty's Stationery Office (HMSO) to enable information providers in the public sector to license the use and re-use of their information under a common open licence.
|
21
|
+
|
22
|
+
It is designed to encourage use and re-use of information freely and flexibly, with only a few conditions.
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"component-types.d.ts","sourceRoot":"","sources":["../../../src/components/component-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAEtC,eAAO,MAAM,cAAc,EAAE,YAAY,EAkOxC,CAAA"}
|
@@ -0,0 +1,220 @@
|
|
1
|
+
(function (global, factory) {
|
2
|
+
if (typeof define === "function" && define.amd) {
|
3
|
+
define(["exports"], factory);
|
4
|
+
} else if (typeof exports !== "undefined") {
|
5
|
+
factory(exports);
|
6
|
+
} else {
|
7
|
+
var mod = {
|
8
|
+
exports: {}
|
9
|
+
};
|
10
|
+
factory(mod.exports);
|
11
|
+
global.componentTypes = mod.exports;
|
12
|
+
}
|
13
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports) {
|
14
|
+
"use strict";
|
15
|
+
|
16
|
+
_exports.__esModule = true;
|
17
|
+
_exports.ComponentTypes = void 0;
|
18
|
+
const ComponentTypes = _exports.ComponentTypes = [{
|
19
|
+
name: 'TextField',
|
20
|
+
type: 'TextField',
|
21
|
+
title: 'Text field',
|
22
|
+
subType: 'field',
|
23
|
+
hint: '',
|
24
|
+
options: {},
|
25
|
+
schema: {}
|
26
|
+
}, {
|
27
|
+
name: 'MultilineTextField',
|
28
|
+
type: 'MultilineTextField',
|
29
|
+
title: 'Multiline text field',
|
30
|
+
subType: 'field',
|
31
|
+
hint: '',
|
32
|
+
options: {},
|
33
|
+
schema: {}
|
34
|
+
}, {
|
35
|
+
name: 'YesNoField',
|
36
|
+
type: 'YesNoField',
|
37
|
+
title: 'Yes/No field',
|
38
|
+
subType: 'field',
|
39
|
+
hint: '',
|
40
|
+
options: {},
|
41
|
+
schema: {}
|
42
|
+
}, {
|
43
|
+
name: 'DateField',
|
44
|
+
type: 'DateField',
|
45
|
+
title: 'Date field',
|
46
|
+
subType: 'field',
|
47
|
+
hint: '',
|
48
|
+
options: {},
|
49
|
+
schema: {}
|
50
|
+
}, {
|
51
|
+
name: 'TimeField',
|
52
|
+
type: 'TimeField',
|
53
|
+
title: 'Time field',
|
54
|
+
subType: 'field',
|
55
|
+
hint: '',
|
56
|
+
options: {},
|
57
|
+
schema: {}
|
58
|
+
}, {
|
59
|
+
name: 'DateTimeField',
|
60
|
+
type: 'DateTimeField',
|
61
|
+
title: 'Date time field',
|
62
|
+
subType: 'field',
|
63
|
+
hint: '',
|
64
|
+
options: {},
|
65
|
+
schema: {}
|
66
|
+
}, {
|
67
|
+
name: 'DatePartsField',
|
68
|
+
type: 'DatePartsField',
|
69
|
+
title: 'Date parts field',
|
70
|
+
subType: 'field',
|
71
|
+
hint: '',
|
72
|
+
options: {},
|
73
|
+
schema: {}
|
74
|
+
}, {
|
75
|
+
name: 'DateTimePartsField',
|
76
|
+
type: 'DateTimePartsField',
|
77
|
+
title: 'Date time parts field',
|
78
|
+
subType: 'field',
|
79
|
+
hint: '',
|
80
|
+
options: {},
|
81
|
+
schema: {}
|
82
|
+
}, {
|
83
|
+
name: 'MonthYearField',
|
84
|
+
type: 'MonthYearField',
|
85
|
+
title: 'Month year field',
|
86
|
+
subType: 'field',
|
87
|
+
hint: '',
|
88
|
+
options: {},
|
89
|
+
schema: {}
|
90
|
+
}, {
|
91
|
+
name: 'SelectField',
|
92
|
+
type: 'SelectField',
|
93
|
+
title: 'Select field',
|
94
|
+
subType: 'listField',
|
95
|
+
options: {},
|
96
|
+
schema: {},
|
97
|
+
list: ''
|
98
|
+
}, {
|
99
|
+
name: 'AutocompleteField',
|
100
|
+
type: 'AutocompleteField',
|
101
|
+
title: 'Autocomplete field',
|
102
|
+
subType: 'listField',
|
103
|
+
options: {},
|
104
|
+
schema: {},
|
105
|
+
list: ''
|
106
|
+
}, {
|
107
|
+
name: 'RadiosField',
|
108
|
+
type: 'RadiosField',
|
109
|
+
title: 'Radios field',
|
110
|
+
subType: 'listField',
|
111
|
+
options: {},
|
112
|
+
schema: {},
|
113
|
+
list: ''
|
114
|
+
}, {
|
115
|
+
name: 'CheckboxesField',
|
116
|
+
type: 'CheckboxesField',
|
117
|
+
title: 'Checkboxes field',
|
118
|
+
subType: 'listField',
|
119
|
+
options: {},
|
120
|
+
schema: {},
|
121
|
+
list: ''
|
122
|
+
}, {
|
123
|
+
name: 'NumberField',
|
124
|
+
type: 'NumberField',
|
125
|
+
title: 'Number field',
|
126
|
+
subType: 'field',
|
127
|
+
hint: '',
|
128
|
+
options: {},
|
129
|
+
schema: {}
|
130
|
+
}, {
|
131
|
+
name: 'UkAddressField',
|
132
|
+
type: 'UkAddressField',
|
133
|
+
title: 'UK address field',
|
134
|
+
subType: 'field',
|
135
|
+
hint: '',
|
136
|
+
options: {},
|
137
|
+
schema: {}
|
138
|
+
}, {
|
139
|
+
name: 'TelephoneNumberField',
|
140
|
+
type: 'TelephoneNumberField',
|
141
|
+
title: 'Telephone number field',
|
142
|
+
subType: 'field',
|
143
|
+
hint: '',
|
144
|
+
options: {},
|
145
|
+
schema: {}
|
146
|
+
}, {
|
147
|
+
name: 'EmailAddressField',
|
148
|
+
type: 'EmailAddressField',
|
149
|
+
title: 'Email address field',
|
150
|
+
subType: 'field',
|
151
|
+
hint: '',
|
152
|
+
options: {},
|
153
|
+
schema: {}
|
154
|
+
}, {
|
155
|
+
name: 'FileUploadField',
|
156
|
+
type: 'FileUploadField',
|
157
|
+
title: 'File upload field',
|
158
|
+
subType: 'field',
|
159
|
+
hint: '',
|
160
|
+
options: {},
|
161
|
+
schema: {}
|
162
|
+
}, {
|
163
|
+
name: 'Para',
|
164
|
+
type: 'Para',
|
165
|
+
title: 'Paragraph',
|
166
|
+
subType: 'content',
|
167
|
+
content: '',
|
168
|
+
options: {},
|
169
|
+
schema: {}
|
170
|
+
}, {
|
171
|
+
name: 'Html',
|
172
|
+
type: 'Html',
|
173
|
+
title: 'Html',
|
174
|
+
subType: 'content',
|
175
|
+
content: '',
|
176
|
+
options: {},
|
177
|
+
schema: {}
|
178
|
+
}, {
|
179
|
+
name: 'InsetText',
|
180
|
+
type: 'InsetText',
|
181
|
+
title: 'Inset text',
|
182
|
+
subType: 'content',
|
183
|
+
content: '',
|
184
|
+
options: {},
|
185
|
+
schema: {}
|
186
|
+
}, {
|
187
|
+
name: 'Details',
|
188
|
+
type: 'Details',
|
189
|
+
title: 'Details',
|
190
|
+
subType: 'content',
|
191
|
+
content: '',
|
192
|
+
options: {},
|
193
|
+
schema: {}
|
194
|
+
}, {
|
195
|
+
name: 'FlashCard',
|
196
|
+
type: 'FlashCard',
|
197
|
+
title: 'Flash card',
|
198
|
+
subType: 'content',
|
199
|
+
options: {},
|
200
|
+
schema: {},
|
201
|
+
list: ''
|
202
|
+
}, {
|
203
|
+
name: 'List',
|
204
|
+
type: 'List',
|
205
|
+
title: 'List',
|
206
|
+
subType: 'content',
|
207
|
+
options: {},
|
208
|
+
schema: {},
|
209
|
+
list: ''
|
210
|
+
}, {
|
211
|
+
name: 'WebsiteField',
|
212
|
+
type: 'WebsiteField',
|
213
|
+
title: 'Website field',
|
214
|
+
subType: 'field',
|
215
|
+
hint: '',
|
216
|
+
options: {},
|
217
|
+
schema: {}
|
218
|
+
}];
|
219
|
+
});
|
220
|
+
//# sourceMappingURL=component-types.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"component-types.js","names":["ComponentTypes","_exports","name","type","title","subType","hint","options","schema","list","content"],"sources":["../../../src/components/component-types.ts"],"sourcesContent":["import { ComponentDef } from './types'\n\nexport const ComponentTypes: ComponentDef[] = [\n {\n name: 'TextField',\n type: 'TextField',\n title: 'Text field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'MultilineTextField',\n type: 'MultilineTextField',\n title: 'Multiline text field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'YesNoField',\n type: 'YesNoField',\n title: 'Yes/No field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'DateField',\n type: 'DateField',\n title: 'Date field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'TimeField',\n type: 'TimeField',\n title: 'Time field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'DateTimeField',\n type: 'DateTimeField',\n title: 'Date time field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'DatePartsField',\n type: 'DatePartsField',\n title: 'Date parts field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'DateTimePartsField',\n type: 'DateTimePartsField',\n title: 'Date time parts field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'MonthYearField',\n type: 'MonthYearField',\n title: 'Month year field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'SelectField',\n type: 'SelectField',\n title: 'Select field',\n subType: 'listField',\n options: {},\n schema: {},\n list: ''\n },\n {\n name: 'AutocompleteField',\n type: 'AutocompleteField',\n title: 'Autocomplete field',\n subType: 'listField',\n options: {},\n schema: {},\n list: ''\n },\n {\n name: 'RadiosField',\n type: 'RadiosField',\n title: 'Radios field',\n subType: 'listField',\n options: {},\n schema: {},\n list: ''\n },\n {\n name: 'CheckboxesField',\n type: 'CheckboxesField',\n title: 'Checkboxes field',\n subType: 'listField',\n options: {},\n schema: {},\n list: ''\n },\n {\n name: 'NumberField',\n type: 'NumberField',\n title: 'Number field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'UkAddressField',\n type: 'UkAddressField',\n title: 'UK address field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'TelephoneNumberField',\n type: 'TelephoneNumberField',\n title: 'Telephone number field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'EmailAddressField',\n type: 'EmailAddressField',\n title: 'Email address field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'FileUploadField',\n type: 'FileUploadField',\n title: 'File upload field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n },\n {\n name: 'Para',\n type: 'Para',\n title: 'Paragraph',\n subType: 'content',\n content: '',\n options: {},\n schema: {}\n },\n {\n name: 'Html',\n type: 'Html',\n title: 'Html',\n subType: 'content',\n content: '',\n options: {},\n schema: {}\n },\n {\n name: 'InsetText',\n type: 'InsetText',\n title: 'Inset text',\n subType: 'content',\n content: '',\n options: {},\n schema: {}\n },\n {\n name: 'Details',\n type: 'Details',\n title: 'Details',\n subType: 'content',\n content: '',\n options: {},\n schema: {}\n },\n {\n name: 'FlashCard',\n type: 'FlashCard',\n title: 'Flash card',\n subType: 'content',\n options: {},\n schema: {},\n list: ''\n },\n {\n name: 'List',\n type: 'List',\n title: 'List',\n subType: 'content',\n options: {},\n schema: {},\n list: ''\n },\n {\n name: 'WebsiteField',\n type: 'WebsiteField',\n title: 'Website field',\n subType: 'field',\n hint: '',\n options: {},\n schema: {}\n }\n]\n"],"mappings":";;;;;;;;;;;;;;;;;EAEO,MAAMA,cAA8B,GAAAC,QAAA,CAAAD,cAAA,GAAG,CAC5C;IACEE,IAAI,EAAE,WAAW;IACjBC,IAAI,EAAE,WAAW;IACjBC,KAAK,EAAE,YAAY;IACnBC,OAAO,EAAE,OAAO;IAChBC,IAAI,EAAE,EAAE;IACRC,OAAO,EAAE,CAAC,CAAC;IACXC,MAAM,EAAE,CAAC;EACX,CAAC,EACD;IACEN,IAAI,EAAE,oBAAoB;IAC1BC,IAAI,EAAE,oBAAoB;IAC1BC,KAAK,EAAE,sBAAsB;IAC7BC,OAAO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AAI,EAAE,WAAW;IACjBC,IAAI,EAAE,WAAW;IACjBC,KAAK,EAAE,YAAY;IACnBC,OAAO,EAAE,SAAS;IAClBK,OAAO,EAAE,EAAE;IACXH,OAAO,EAAE,CAAC,CAAC;IACXC,MAAM,EAAE,CAAC;EACX,CAAC,EACD;IACEN,IAAI,EAAE,SAAS;IACfC,IAAI,EAAE,SAAS;IACfC,KAAK,EAAE,SAAS;IAChBC,OAAO,EAAE,SAAS;IAClBK,OAAO,EAAE,EAAE;IACXH,OAAO,EAAE,CAAC,CAAC;IACXC,MAAM,EAAE,CAAC;EACX,CAAC,EACD;IACEN,IAAI,EAAE,WAAW;IACjBC,IAAI,EAAE,WAAW;IACjBC,KAAK,EAAE,YAAY;IACnBC,OAAO,EAAE,SAAS;IAClBE,OAAO,EAAE,CAAC,CAAC;IACXC,MAAM,EAAE,CAAC,CAAC;IACVC,IAAI,EAAE;EACR,CAAC,EACD;IACEP,IAAI,EAAE,MAAM;IACZC,IAAI,EAAE,MAAM;IACZC,KAAK,EAAE,MAAM;IACbC,OAAO,EAAE,SAAS;IAClBE,OAAO,EAAE,CAAC,CAAC;IACXC,MAAM,EAAE,CAAC,CAAC;IACVC,IAAI,EAAE;EACR,CAAC,EACD;IACEP,IAAI,EAAE,cAAc;IACpBC,IAAI,EAAE,cAAc;IACpBC,KAAK,EAAE,eAAe;IACtBC,OAAO,EAAE,OAAO;IAChBC,IAAI,EAAE,EAAE;IACRC,OAAO,EAAE,CAAC,CAAC;IACXC,MAAM,EAAE,CAAC;EACX,CAAC,CACF;AAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"conditional-component-types.d.ts","sourceRoot":"","sources":["../../../src/components/conditional-component-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAE9C,eAAO,MAAM,yBAAyB,EAAE,oBAAoB,EAW3D,CAAA"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
(function (global, factory) {
|
2
|
+
if (typeof define === "function" && define.amd) {
|
3
|
+
define(["exports"], factory);
|
4
|
+
} else if (typeof exports !== "undefined") {
|
5
|
+
factory(exports);
|
6
|
+
} else {
|
7
|
+
var mod = {
|
8
|
+
exports: {}
|
9
|
+
};
|
10
|
+
factory(mod.exports);
|
11
|
+
global.conditionalComponentTypes = mod.exports;
|
12
|
+
}
|
13
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports) {
|
14
|
+
"use strict";
|
15
|
+
|
16
|
+
_exports.__esModule = true;
|
17
|
+
_exports.ConditionalComponentTypes = void 0;
|
18
|
+
const ConditionalComponentTypes = _exports.ConditionalComponentTypes = [{
|
19
|
+
name: 'TextField',
|
20
|
+
title: 'Text field',
|
21
|
+
subType: 'field'
|
22
|
+
}, {
|
23
|
+
name: 'NumberField',
|
24
|
+
title: 'Number field',
|
25
|
+
subType: 'field'
|
26
|
+
}];
|
27
|
+
});
|
28
|
+
//# sourceMappingURL=conditional-component-types.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"conditional-component-types.js","names":["ConditionalComponentTypes","_exports","name","title","subType"],"sources":["../../../src/components/conditional-component-types.ts"],"sourcesContent":["import { ConditionalComponent } from './types'\n\nexport const ConditionalComponentTypes: ConditionalComponent[] = [\n {\n name: 'TextField',\n title: 'Text field',\n subType: 'field'\n },\n {\n name: 'NumberField',\n title: 'Number field',\n subType: 'field'\n }\n]\n"],"mappings":";;;;;;;;;;;;;;;;;EAEO,MAAMA,yBAAiD,GAAAC,QAAA,CAAAD,yBAAA,GAAG,CAC/D;IACEE,IAAI,EAAE,WAAW;IACjBC,KAAK,EAAE,YAAY;IACnBC,OAAO,EAAE;EACX,CAAC,EACD;IACEF,IAAI,EAAE,aAAa;IACnBC,KAAK,EAAE,cAAc;IACrBC,OAAO,EAAE;EACX,CAAC,CACF;AAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAA;AACzE,cAAc,SAAS,CAAA"}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
(function (global, factory) {
|
2
|
+
if (typeof define === "function" && define.amd) {
|
3
|
+
define(["exports", "./component-types", "./conditional-component-types", "./types"], factory);
|
4
|
+
} else if (typeof exports !== "undefined") {
|
5
|
+
factory(exports, require("./component-types"), require("./conditional-component-types"), require("./types"));
|
6
|
+
} else {
|
7
|
+
var mod = {
|
8
|
+
exports: {}
|
9
|
+
};
|
10
|
+
factory(mod.exports, global.componentTypes, global.conditionalComponentTypes, global.types);
|
11
|
+
global.index = mod.exports;
|
12
|
+
}
|
13
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _componentTypes, _conditionalComponentTypes, _types) {
|
14
|
+
"use strict";
|
15
|
+
|
16
|
+
_exports.__esModule = true;
|
17
|
+
var _exportNames = {
|
18
|
+
ComponentTypes: true,
|
19
|
+
ConditionalComponentTypes: true
|
20
|
+
};
|
21
|
+
Object.defineProperty(_exports, "ComponentTypes", {
|
22
|
+
enumerable: true,
|
23
|
+
get: function () {
|
24
|
+
return _componentTypes.ComponentTypes;
|
25
|
+
}
|
26
|
+
});
|
27
|
+
Object.defineProperty(_exports, "ConditionalComponentTypes", {
|
28
|
+
enumerable: true,
|
29
|
+
get: function () {
|
30
|
+
return _conditionalComponentTypes.ConditionalComponentTypes;
|
31
|
+
}
|
32
|
+
});
|
33
|
+
Object.keys(_types).forEach(function (key) {
|
34
|
+
if (key === "default" || key === "__esModule") return;
|
35
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
36
|
+
if (key in _exports && _exports[key] === _types[key]) return;
|
37
|
+
Object.defineProperty(_exports, key, {
|
38
|
+
enumerable: true,
|
39
|
+
get: function () {
|
40
|
+
return _types[key];
|
41
|
+
}
|
42
|
+
});
|
43
|
+
});
|
44
|
+
});
|
45
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","names":["Object","keys","_types","forEach","key","prototype","hasOwnProperty","call","_exportNames","_exports","defineProperty","enumerable","get"],"sources":["../../../src/components/index.ts"],"sourcesContent":["export { ComponentTypes } from './component-types'\nexport { ConditionalComponentTypes } from './conditional-component-types'\nexport * from './types'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEAA,MAAA,CAAAC,IAAA,CAAAC,MAAA,EAAAC,OAAA,WAAAC,GAAA;IAAA,IAAAA,GAAA,kBAAAA,GAAA;IAAA,IAAAJ,MAAA,CAAAK,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAC,YAAA,EAAAJ,GAAA;IAAA,IAAAA,GAAA,IAAAK,QAAA,IAAAA,QAAA,CAAAL,GAAA,MAAAF,MAAA,CAAAE,GAAA;IAAAJ,MAAA,CAAAU,cAAA,CAAAD,QAAA,EAAAL,GAAA;MAAAO,UAAA;MAAAC,GAAA,WAAAA,CAAA;QAAA,OAAAV,MAAA,CAAAE,GAAA;MAAA;IAAA;EAAA;AAAuB"}
|
@@ -0,0 +1,244 @@
|
|
1
|
+
export declare enum ComponentTypeEnum {
|
2
|
+
TextField = "TextField",
|
3
|
+
MultilineTextField = "MultilineTextField",
|
4
|
+
YesNoField = "YesNoField",
|
5
|
+
DateField = "DateField",
|
6
|
+
TimeField = "TimeField",
|
7
|
+
DateTimeField = "DateTimeField",
|
8
|
+
DatePartsField = "DatePartsField",
|
9
|
+
MonthYearField = "MonthYearField",
|
10
|
+
DateTimePartsField = "DateTimePartsField",
|
11
|
+
SelectField = "SelectField",
|
12
|
+
AutocompleteField = "AutocompleteField",
|
13
|
+
RadiosField = "RadiosField",
|
14
|
+
CheckboxesField = "CheckboxesField",
|
15
|
+
NumberField = "NumberField",
|
16
|
+
UkAddressField = "UkAddressField",
|
17
|
+
TelephoneNumberField = "TelephoneNumberField",
|
18
|
+
EmailAddressField = "EmailAddressField",
|
19
|
+
FileUploadField = "FileUploadField",
|
20
|
+
Para = "Para",
|
21
|
+
Html = "Html",
|
22
|
+
InsetText = "InsetText",
|
23
|
+
Details = "Details",
|
24
|
+
FlashCard = "FlashCard",
|
25
|
+
List = "List"
|
26
|
+
}
|
27
|
+
export type ComponentType = 'TextField' | 'MultilineTextField' | 'YesNoField' | 'DateField' | 'TimeField' | 'DateTimeField' | 'MonthYearField' | 'DatePartsField' | 'DateTimePartsField' | 'SelectField' | 'AutocompleteField' | 'RadiosField' | 'CheckboxesField' | 'NumberField' | 'UkAddressField' | 'TelephoneNumberField' | 'EmailAddressField' | 'FileUploadField' | 'Para' | 'Html' | 'InsetText' | 'Details' | 'FlashCard' | 'List' | 'WebsiteField';
|
28
|
+
export type ComponentSubType = 'field' | 'content';
|
29
|
+
export type ConditionalComponent = {
|
30
|
+
name: 'TextField' | 'NumberField';
|
31
|
+
title: string;
|
32
|
+
subType: 'field';
|
33
|
+
};
|
34
|
+
export type ContentOptions = {
|
35
|
+
condition?: string;
|
36
|
+
};
|
37
|
+
/**
|
38
|
+
* Types for Components JSON structure which are expected by engine and turned into actual form input/content/lists
|
39
|
+
*/
|
40
|
+
interface TextFieldBase {
|
41
|
+
subType?: 'field';
|
42
|
+
type: string;
|
43
|
+
name: string;
|
44
|
+
title: string;
|
45
|
+
hint?: string;
|
46
|
+
options: {
|
47
|
+
hideTitle?: boolean;
|
48
|
+
required?: boolean;
|
49
|
+
optionalText?: boolean;
|
50
|
+
classes?: string;
|
51
|
+
allow?: string;
|
52
|
+
autocomplete?: string;
|
53
|
+
exposeToContext?: boolean;
|
54
|
+
};
|
55
|
+
schema: {
|
56
|
+
max?: number;
|
57
|
+
min?: number;
|
58
|
+
length?: number;
|
59
|
+
regex?: string;
|
60
|
+
error?: any;
|
61
|
+
};
|
62
|
+
}
|
63
|
+
interface NumberFieldBase {
|
64
|
+
subType?: 'field';
|
65
|
+
type: string;
|
66
|
+
name: string;
|
67
|
+
title: string;
|
68
|
+
hint: string;
|
69
|
+
options: {
|
70
|
+
prefix?: string;
|
71
|
+
suffix?: string;
|
72
|
+
exposeToContext?: boolean;
|
73
|
+
};
|
74
|
+
schema: {
|
75
|
+
min?: number;
|
76
|
+
max?: number;
|
77
|
+
precision?: number;
|
78
|
+
};
|
79
|
+
}
|
80
|
+
interface ListFieldBase {
|
81
|
+
subType?: 'listField' | 'content';
|
82
|
+
type: string;
|
83
|
+
name: string;
|
84
|
+
title: string;
|
85
|
+
options: {
|
86
|
+
type?: string;
|
87
|
+
hideTitle?: boolean;
|
88
|
+
required?: boolean;
|
89
|
+
optionalText?: boolean;
|
90
|
+
classes?: string;
|
91
|
+
bold?: boolean;
|
92
|
+
exposeToContext?: boolean;
|
93
|
+
allowPrePopulation?: boolean;
|
94
|
+
};
|
95
|
+
list: string;
|
96
|
+
schema: {};
|
97
|
+
}
|
98
|
+
interface ContentFieldBase {
|
99
|
+
subType?: 'content';
|
100
|
+
type: string;
|
101
|
+
name: string;
|
102
|
+
title: string;
|
103
|
+
content: string;
|
104
|
+
options: ContentOptions;
|
105
|
+
schema: {};
|
106
|
+
}
|
107
|
+
interface DateFieldBase {
|
108
|
+
subType?: 'field';
|
109
|
+
type: string;
|
110
|
+
name: string;
|
111
|
+
title: string;
|
112
|
+
hint: string;
|
113
|
+
options: {
|
114
|
+
hideTitle?: boolean;
|
115
|
+
required?: boolean;
|
116
|
+
optionalText?: boolean;
|
117
|
+
maxDaysInFuture?: number;
|
118
|
+
maxDaysInPast?: number;
|
119
|
+
exposeToContext?: boolean;
|
120
|
+
};
|
121
|
+
schema: {};
|
122
|
+
}
|
123
|
+
export interface TextFieldComponent extends TextFieldBase {
|
124
|
+
type: 'TextField';
|
125
|
+
options: TextFieldBase['options'] & {
|
126
|
+
customValidationMessage?: string;
|
127
|
+
};
|
128
|
+
}
|
129
|
+
export interface EmailAddressFieldComponent extends TextFieldBase {
|
130
|
+
type: 'EmailAddressField';
|
131
|
+
}
|
132
|
+
export interface NumberFieldComponent extends NumberFieldBase {
|
133
|
+
type: 'NumberField';
|
134
|
+
}
|
135
|
+
export interface WebsiteFieldComponent extends TextFieldBase {
|
136
|
+
type: 'WebsiteField';
|
137
|
+
options: TextFieldBase['options'] & {
|
138
|
+
customValidationMessage?: string;
|
139
|
+
};
|
140
|
+
}
|
141
|
+
export interface MultilineTextFieldComponent {
|
142
|
+
type: 'MultilineTextField';
|
143
|
+
}
|
144
|
+
export interface TelephoneNumberFieldComponent extends TextFieldBase {
|
145
|
+
type: 'TelephoneNumberField';
|
146
|
+
options: TextFieldBase['options'] & {
|
147
|
+
customValidationMessage?: string;
|
148
|
+
};
|
149
|
+
}
|
150
|
+
export interface YesNoFieldComponent extends TextFieldBase {
|
151
|
+
type: 'YesNoField';
|
152
|
+
}
|
153
|
+
export interface MultilineTextFieldComponent extends TextFieldBase {
|
154
|
+
type: 'MultilineTextField';
|
155
|
+
options: TextFieldBase['options'] & {
|
156
|
+
customValidationMessage?: string;
|
157
|
+
rows?: number;
|
158
|
+
maxWords?: number;
|
159
|
+
};
|
160
|
+
schema: {
|
161
|
+
max?: number;
|
162
|
+
min?: number;
|
163
|
+
};
|
164
|
+
}
|
165
|
+
export interface FileUploadFieldComponent {
|
166
|
+
subType?: 'field';
|
167
|
+
type: 'FileUploadField';
|
168
|
+
name: string;
|
169
|
+
title: string;
|
170
|
+
hint: string;
|
171
|
+
options: {
|
172
|
+
required?: boolean;
|
173
|
+
hideTitle?: boolean;
|
174
|
+
multiple?: boolean;
|
175
|
+
classes?: string;
|
176
|
+
exposeToContext?: boolean;
|
177
|
+
imageQualityPlayback?: boolean;
|
178
|
+
};
|
179
|
+
schema: {};
|
180
|
+
}
|
181
|
+
export interface UkAddressFieldComponent extends TextFieldBase {
|
182
|
+
type: 'UkAddressField';
|
183
|
+
}
|
184
|
+
export interface DateFieldComponent extends DateFieldBase {
|
185
|
+
type: 'DateField';
|
186
|
+
}
|
187
|
+
export interface DateTimeFieldComponent extends DateFieldBase {
|
188
|
+
type: 'DateTimeField';
|
189
|
+
}
|
190
|
+
export interface DatePartsFieldFieldComponent extends DateFieldBase {
|
191
|
+
type: 'DatePartsField';
|
192
|
+
}
|
193
|
+
export interface MonthYearFieldComponent extends DateFieldBase {
|
194
|
+
type: 'MonthYearField';
|
195
|
+
}
|
196
|
+
export interface DateTimePartsFieldComponent extends DateFieldBase {
|
197
|
+
type: 'DateTimePartsField';
|
198
|
+
}
|
199
|
+
export interface TimeFieldComponent extends DateFieldBase {
|
200
|
+
type: 'TimeField';
|
201
|
+
}
|
202
|
+
export interface ParaComponent extends ContentFieldBase {
|
203
|
+
type: 'Para';
|
204
|
+
}
|
205
|
+
export interface DetailsComponent extends ContentFieldBase {
|
206
|
+
type: 'Details';
|
207
|
+
}
|
208
|
+
export interface HtmlComponent extends ContentFieldBase {
|
209
|
+
type: 'Html';
|
210
|
+
}
|
211
|
+
export interface InsetTextComponent extends ContentFieldBase {
|
212
|
+
type: 'InsetText';
|
213
|
+
}
|
214
|
+
export interface ListComponent extends ListFieldBase {
|
215
|
+
type: 'List';
|
216
|
+
}
|
217
|
+
export interface AutocompleteFieldComponent extends ListFieldBase {
|
218
|
+
type: 'AutocompleteField';
|
219
|
+
subType?: 'listField';
|
220
|
+
}
|
221
|
+
export interface CheckboxesFieldComponent extends ListFieldBase {
|
222
|
+
type: 'CheckboxesField';
|
223
|
+
subType?: 'listField';
|
224
|
+
}
|
225
|
+
export interface FlashCardComponent extends ListFieldBase {
|
226
|
+
type: 'FlashCard';
|
227
|
+
}
|
228
|
+
export interface RadiosFieldComponent extends ListFieldBase {
|
229
|
+
type: 'RadiosField';
|
230
|
+
subType?: 'listField';
|
231
|
+
}
|
232
|
+
export interface SelectFieldComponent extends ListFieldBase {
|
233
|
+
type: 'SelectField';
|
234
|
+
options: ListFieldBase['options'] & {
|
235
|
+
autocomplete?: string;
|
236
|
+
};
|
237
|
+
subType?: 'listField';
|
238
|
+
}
|
239
|
+
export type ComponentDef = InsetTextComponent | AutocompleteFieldComponent | CheckboxesFieldComponent | DateFieldComponent | DatePartsFieldFieldComponent | MonthYearFieldComponent | DateTimeFieldComponent | DateTimePartsFieldComponent | DetailsComponent | EmailAddressFieldComponent | FileUploadFieldComponent | FlashCardComponent | HtmlComponent | ListComponent | MultilineTextFieldComponent | NumberFieldComponent | ParaComponent | RadiosFieldComponent | SelectFieldComponent | TelephoneNumberFieldComponent | TextFieldComponent | TimeFieldComponent | UkAddressFieldComponent | YesNoFieldComponent | WebsiteFieldComponent;
|
240
|
+
export type InputFieldsComponentsDef = TextFieldComponent | EmailAddressFieldComponent | NumberFieldComponent | MultilineTextFieldComponent | TelephoneNumberFieldComponent | YesNoFieldComponent | FileUploadFieldComponent | DateFieldComponent | DateTimeFieldComponent | DateTimePartsFieldComponent | MonthYearFieldComponent | TimeFieldComponent | UkAddressFieldComponent | WebsiteFieldComponent;
|
241
|
+
export type ContentComponentsDef = ParaComponent | DetailsComponent | HtmlComponent | InsetTextComponent | ListComponent | FlashCardComponent;
|
242
|
+
export type ListComponentsDef = ListComponent | AutocompleteFieldComponent | CheckboxesFieldComponent | FlashCardComponent | RadiosFieldComponent | SelectFieldComponent;
|
243
|
+
export {};
|
244
|
+
//# sourceMappingURL=types.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/types.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,SAAS,cAAc;IACvB,kBAAkB,uBAAuB;IACzC,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,SAAS,cAAc;IACvB,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,kBAAkB,uBAAuB;IACzC,WAAW,gBAAgB;IAC3B,iBAAiB,sBAAsB;IACvC,WAAW,gBAAgB;IAC3B,eAAe,oBAAoB;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