@formio/js 5.2.1-rc.9 → 5.2.1

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.
Files changed (52) hide show
  1. package/dist/formio.embed.js +1 -1
  2. package/dist/formio.embed.min.js +1 -1
  3. package/dist/formio.embed.min.js.LICENSE.txt +1 -1
  4. package/dist/formio.form.js +10 -10
  5. package/dist/formio.form.min.js +1 -1
  6. package/dist/formio.form.min.js.LICENSE.txt +1 -1
  7. package/dist/formio.full.js +12 -12
  8. package/dist/formio.full.min.js +1 -1
  9. package/dist/formio.full.min.js.LICENSE.txt +1 -1
  10. package/dist/formio.js +2 -2
  11. package/dist/formio.min.js +1 -1
  12. package/dist/formio.min.js.LICENSE.txt +1 -1
  13. package/dist/formio.utils.js +1 -1
  14. package/dist/formio.utils.min.js +1 -1
  15. package/dist/formio.utils.min.js.LICENSE.txt +1 -1
  16. package/lib/cjs/Element.js +2 -2
  17. package/lib/cjs/Embed.js +1 -1
  18. package/lib/cjs/Formio.js +1 -1
  19. package/lib/cjs/WebformBuilder.d.ts +1 -0
  20. package/lib/cjs/WebformBuilder.js +15 -0
  21. package/lib/cjs/Wizard.js +2 -6
  22. package/lib/cjs/WizardBuilder.js +4 -0
  23. package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +1 -1
  24. package/lib/cjs/components/_classes/nested/NestedComponent.js +4 -2
  25. package/lib/cjs/components/editgrid/EditGrid.d.ts +2 -2
  26. package/lib/cjs/components/form/Form.d.ts +2 -1
  27. package/lib/cjs/components/form/Form.js +32 -20
  28. package/lib/cjs/components/select/Select.js +1 -1
  29. package/lib/cjs/components/tags/Tags.js +7 -0
  30. package/lib/cjs/formio.form.d.ts +2 -1
  31. package/lib/cjs/formio.form.js +2 -1
  32. package/lib/cjs/utils/index.d.ts +3 -2
  33. package/lib/cjs/utils/index.js +2 -1
  34. package/lib/mjs/Element.js +2 -2
  35. package/lib/mjs/Embed.js +1 -1
  36. package/lib/mjs/Formio.js +1 -1
  37. package/lib/mjs/WebformBuilder.d.ts +1 -0
  38. package/lib/mjs/WebformBuilder.js +14 -0
  39. package/lib/mjs/Wizard.js +2 -6
  40. package/lib/mjs/WizardBuilder.js +4 -0
  41. package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +1 -1
  42. package/lib/mjs/components/_classes/nested/NestedComponent.js +4 -2
  43. package/lib/mjs/components/editgrid/EditGrid.d.ts +2 -2
  44. package/lib/mjs/components/form/Form.d.ts +2 -1
  45. package/lib/mjs/components/form/Form.js +32 -20
  46. package/lib/mjs/components/select/Select.js +1 -1
  47. package/lib/mjs/components/tags/Tags.js +7 -0
  48. package/lib/mjs/formio.form.d.ts +2 -1
  49. package/lib/mjs/formio.form.js +2 -2
  50. package/lib/mjs/utils/index.d.ts +3 -2
  51. package/lib/mjs/utils/index.js +2 -2
  52. package/package.json +3 -3
@@ -23,4 +23,5 @@ import { Formio } from './Formio';
23
23
  import Licenses from './licenses';
24
24
  import EventEmitter from './EventEmitter';
25
25
  import Webform from './Webform';
26
- export { Components, Displays, Providers, Widgets, Templates, Utils, Form, Formio, Licenses, EventEmitter, Webform };
26
+ import { DefaultEvaluator } from './utils';
27
+ export { Components, Displays, Providers, Widgets, Templates, Utils, Form, Formio, Licenses, EventEmitter, Webform, DefaultEvaluator };
@@ -11,7 +11,7 @@ import Utils from './utils';
11
11
  import Licenses from './licenses';
12
12
  import EventEmitter from './EventEmitter';
13
13
  import Webform from './Webform';
14
- import { Evaluator, registerEvaluator } from './utils';
14
+ import { Evaluator, registerEvaluator, DefaultEvaluator } from './utils';
15
15
  Formio.loadModules = (path = `${Formio.getApiUrl()}/externalModules.js`, name = 'externalModules') => {
16
16
  Formio.requireLibrary(name, name, path, true)
17
17
  .then((modules) => {
@@ -126,4 +126,4 @@ export function useModule(defaultFn = null) {
126
126
  Formio.use = useModule();
127
127
  export { Formio as FormioCore } from './Formio';
128
128
  // Export the components.
129
- export { Components, Displays, Providers, Widgets, Templates, Utils, Form, Formio, Licenses, EventEmitter, Webform };
129
+ export { Components, Displays, Providers, Widgets, Templates, Utils, Form, Formio, Licenses, EventEmitter, Webform, DefaultEvaluator };
@@ -2,7 +2,7 @@ export * from "./utils";
2
2
  export * from "./formUtils";
3
3
  export default FormioUtils;
4
4
  declare const FormioUtils: {
5
- Evaluator: import("./Evaluator").DefaultEvaluator;
5
+ Evaluator: DefaultEvaluator;
6
6
  interpolate: typeof interpolate;
7
7
  ConditionOperators: {
8
8
  [x: string]: typeof import("./conditionOperators/IsEqualTo").default | typeof import("./conditionOperators/DateGreaterThan").default;
@@ -163,6 +163,7 @@ declare const FormioUtils: {
163
163
  };
164
164
  import { Evaluator } from './Evaluator';
165
165
  import { registerEvaluator } from './Evaluator';
166
+ import { DefaultEvaluator } from './Evaluator';
166
167
  import { interpolate } from './Evaluator';
167
168
  import moment from 'moment';
168
- export { FormioUtils as Utils, Evaluator, registerEvaluator };
169
+ export { FormioUtils as Utils, Evaluator, registerEvaluator, DefaultEvaluator };
@@ -1,6 +1,6 @@
1
1
  import * as utils from './utils';
2
2
  import * as formUtils from './formUtils';
3
- import { Evaluator, registerEvaluator, interpolate } from './Evaluator';
3
+ import { Evaluator, registerEvaluator, interpolate, DefaultEvaluator } from './Evaluator';
4
4
  import ConditionOperators from './conditionOperators';
5
5
  import _ from 'lodash';
6
6
  import moment from 'moment';
@@ -17,7 +17,7 @@ if (typeof global === 'object') {
17
17
  global.FormioUtils = FormioUtils;
18
18
  }
19
19
  export { FormioUtils as Utils };
20
- export { Evaluator, registerEvaluator };
20
+ export { Evaluator, registerEvaluator, DefaultEvaluator };
21
21
  export * from './utils';
22
22
  export * from './formUtils';
23
23
  export default FormioUtils;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.2.1-rc.9",
3
+ "version": "5.2.1",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {
@@ -79,8 +79,8 @@
79
79
  },
80
80
  "homepage": "https://github.com/formio/formio.js#readme",
81
81
  "dependencies": {
82
- "@formio/bootstrap": "3.1.2-rc.3",
83
- "@formio/core": "2.5.1-rc.8",
82
+ "@formio/bootstrap": "3.1.2",
83
+ "@formio/core": "2.5.1",
84
84
  "@formio/text-mask-addons": "^3.8.0-formio.4",
85
85
  "@formio/vanilla-text-mask": "^5.1.1-formio.1",
86
86
  "abortcontroller-polyfill": "^1.7.5",