@formio/js 5.0.0-rc.48 → 5.0.0-rc.49
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/dist/formio.embed.js +1 -1
- package/dist/formio.embed.min.js +1 -1
- package/dist/formio.embed.min.js.LICENSE.txt +1 -1
- package/dist/formio.form.js +4 -4
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +1 -1
- package/dist/formio.full.js +4 -4
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +1 -1
- package/dist/formio.js +2 -2
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +1 -1
- package/lib/cjs/PDF.d.ts +1 -1
- package/lib/cjs/components/_classes/nested/NestedComponent.d.ts +0 -1
- package/lib/cjs/components/_classes/nested/NestedComponent.js +0 -1
- package/lib/cjs/components/select/Select.js +1 -1
- package/lib/cjs/components/select/fixtures/comp22.js +1 -1
- package/lib/mjs/PDF.d.ts +1 -1
- package/lib/mjs/components/_classes/nested/NestedComponent.d.ts +0 -1
- package/lib/mjs/components/_classes/nested/NestedComponent.js +0 -1
- package/lib/mjs/components/select/Select.js +1 -1
- package/lib/mjs/components/select/fixtures/comp22.js +1 -1
- package/package.json +1 -1
@@ -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.
|
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:
|
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;
|
@@ -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.
|
224
|
+
return this.selectMetadata || this.component.selectData;
|
225
225
|
}
|
226
226
|
isEntireObjectDisplay() {
|
227
227
|
return this.component.dataSrc === 'resource' && this.valueProperty === 'data';
|
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:
|
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;
|
@@ -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.
|
222
|
+
return this.selectMetadata || this.component.selectData;
|
223
223
|
}
|
224
224
|
isEntireObjectDisplay() {
|
225
225
|
return this.component.dataSrc === 'resource' && this.valueProperty === 'data';
|