@formio/js 5.0.0-rc.48 → 5.0.0-rc.49

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@
10
10
  * MIT licensed
11
11
  */
12
12
 
13
- /*! formiojs v5.0.0-rc.48 | https://unpkg.com/formiojs@5.0.0-rc.48/LICENSE.txt */
13
+ /*! formiojs v5.0.0-rc.49 | https://unpkg.com/formiojs@5.0.0-rc.49/LICENSE.txt */
14
14
 
15
15
  /**
16
16
  * @license
@@ -20,7 +20,7 @@
20
20
 
21
21
  /*! @license DOMPurify 3.1.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.0/LICENSE */
22
22
 
23
- /*! formiojs v5.0.0-rc.48 | https://unpkg.com/formiojs@5.0.0-rc.48/LICENSE.txt */
23
+ /*! formiojs v5.0.0-rc.49 | https://unpkg.com/formiojs@5.0.0-rc.49/LICENSE.txt */
24
24
 
25
25
  /**
26
26
  * @license
package/lib/cjs/PDF.d.ts CHANGED
@@ -2,7 +2,7 @@ export default class PDF extends Webform {
2
2
  constructor(element: any, options: any);
3
3
  components: any[];
4
4
  init(): void;
5
- submitButton: import("./components/_classes/component/Component").default | undefined;
5
+ submitButton: any;
6
6
  attachComponents(element: any, components: any, container: any): Promise<void>;
7
7
  attach(element: any): Promise<void>;
8
8
  iframeReady: Promise<any> | undefined;
@@ -148,4 +148,3 @@ export default class NestedComponent extends Field {
148
148
  get lazyLoad(): any;
149
149
  }
150
150
  import Field from '../field/Field';
151
- import Component from '../component/Component';
@@ -7,7 +7,6 @@ const lodash_1 = __importDefault(require("lodash"));
7
7
  const Field_1 = __importDefault(require("../field/Field"));
8
8
  const Components_1 = __importDefault(require("../../Components"));
9
9
  const utils_1 = require("../../../utils/utils");
10
- const Component_1 = __importDefault(require("../component/Component"));
11
10
  const process_1 = require("@formio/core/process");
12
11
  class NestedComponent extends Field_1.default {
13
12
  static schema(...extend) {
@@ -221,7 +221,7 @@ class SelectComponent extends ListComponent_1.default {
221
221
  return super.selectData;
222
222
  }
223
223
  get selectData() {
224
- return this.component.selectData || this.selectMetadata;
224
+ return this.selectMetadata || this.component.selectData;
225
225
  }
226
226
  isEntireObjectDisplay() {
227
227
  return this.component.dataSrc === 'resource' && this.valueProperty === 'data';
@@ -12,7 +12,7 @@ exports.default = {
12
12
  tableView: true,
13
13
  dataSrc: 'url',
14
14
  data: {
15
- url: 'https://fake_url',
15
+ url: 'https://fake_url.com',
16
16
  headers: [
17
17
  {
18
18
  key: '',
package/lib/mjs/PDF.d.ts CHANGED
@@ -2,7 +2,7 @@ export default class PDF extends Webform {
2
2
  constructor(element: any, options: any);
3
3
  components: any[];
4
4
  init(): void;
5
- submitButton: import("./components/_classes/component/Component").default | undefined;
5
+ submitButton: any;
6
6
  attachComponents(element: any, components: any, container: any): Promise<void>;
7
7
  attach(element: any): Promise<void>;
8
8
  iframeReady: Promise<any> | undefined;
@@ -148,4 +148,3 @@ export default class NestedComponent extends Field {
148
148
  get lazyLoad(): any;
149
149
  }
150
150
  import Field from '../field/Field';
151
- import Component from '../component/Component';
@@ -3,7 +3,6 @@ import _ from 'lodash';
3
3
  import Field from '../field/Field';
4
4
  import Components from '../../Components';
5
5
  import { getArrayFromComponentPath, getStringFromComponentPath, getRandomComponentId } from '../../../utils/utils';
6
- import Component from '../component/Component';
7
6
  import { process as processAsync, processSync } from '@formio/core/process';
8
7
  export default class NestedComponent extends Field {
9
8
  static schema(...extend) {
@@ -219,7 +219,7 @@ export default class SelectComponent extends ListComponent {
219
219
  return super.selectData;
220
220
  }
221
221
  get selectData() {
222
- return this.component.selectData || this.selectMetadata;
222
+ return this.selectMetadata || this.component.selectData;
223
223
  }
224
224
  isEntireObjectDisplay() {
225
225
  return this.component.dataSrc === 'resource' && this.valueProperty === 'data';
@@ -10,7 +10,7 @@ export default {
10
10
  tableView: true,
11
11
  dataSrc: 'url',
12
12
  data: {
13
- url: 'https://fake_url',
13
+ url: 'https://fake_url.com',
14
14
  headers: [
15
15
  {
16
16
  key: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formio/js",
3
- "version": "5.0.0-rc.48",
3
+ "version": "5.0.0-rc.49",
4
4
  "description": "JavaScript powered Forms with JSON Form Builder",
5
5
  "main": "lib/cjs/index.js",
6
6
  "exports": {