@formio/js 5.0.0-dev.5815.e20a0d6 → 5.0.0-dev.5818.039b965
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.form.js +2 -2
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.full.js +3 -3
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.utils.js +1 -1
- package/lib/cjs/WebformBuilder.js +4 -1
- package/lib/cjs/components/select/Select.d.ts +0 -1
- package/lib/cjs/components/select/Select.js +20 -23
- package/lib/cjs/utils/utils.d.ts +0 -8
- package/lib/cjs/utils/utils.js +0 -13
- package/lib/mjs/WebformBuilder.js +4 -1
- package/lib/mjs/components/select/Select.d.ts +0 -1
- package/lib/mjs/components/select/Select.js +20 -23
- package/lib/mjs/utils/utils.d.ts +0 -8
- package/lib/mjs/utils/utils.js +0 -13
- package/package.json +1 -1
package/lib/mjs/utils/utils.d.ts
CHANGED
|
@@ -56,14 +56,6 @@ export function isMongoId(text: string): boolean;
|
|
|
56
56
|
* @param {*} rowData - The contextual row data for the component.
|
|
57
57
|
*/
|
|
58
58
|
export function checkCalculated(component: import('@formio/core').Component, submission: import('@formio/core').Submission, rowData: any): void;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @param component
|
|
62
|
-
* @param condition
|
|
63
|
-
* @param row
|
|
64
|
-
* @param data
|
|
65
|
-
* @param instance
|
|
66
|
-
*/
|
|
67
59
|
export function checkSimpleConditional(component: any, condition: any, row: any, data: any, instance: any): boolean;
|
|
68
60
|
/**
|
|
69
61
|
* Returns a components normalized value.
|
package/lib/mjs/utils/utils.js
CHANGED
|
@@ -144,11 +144,6 @@ export function checkCalculated(component, submission, rowData) {
|
|
|
144
144
|
* @param {import('../../src/components/_classes/component/Component').Component} instance - The instance of the component.
|
|
145
145
|
* @returns {boolean} - TRUE if the condition is true; FALSE otherwise.
|
|
146
146
|
*/
|
|
147
|
-
/**
|
|
148
|
-
*
|
|
149
|
-
* @param conditionPaths
|
|
150
|
-
* @param data
|
|
151
|
-
*/
|
|
152
147
|
function getConditionalPathsRecursive(conditionPaths, data) {
|
|
153
148
|
let currentGlobalIndex = 0;
|
|
154
149
|
const conditionalPathsArray = [];
|
|
@@ -187,14 +182,6 @@ function getConditionalPathsRecursive(conditionPaths, data) {
|
|
|
187
182
|
getConditionalPaths(data);
|
|
188
183
|
return conditionalPathsArray;
|
|
189
184
|
}
|
|
190
|
-
/**
|
|
191
|
-
*
|
|
192
|
-
* @param component
|
|
193
|
-
* @param condition
|
|
194
|
-
* @param row
|
|
195
|
-
* @param data
|
|
196
|
-
* @param instance
|
|
197
|
-
*/
|
|
198
185
|
export function checkSimpleConditional(component, condition, row, data, instance) {
|
|
199
186
|
if (condition.when) {
|
|
200
187
|
const value = getComponentActualValue(condition.when, data, row);
|