@kbss-cvut/s-forms 0.7.1-beta-eef66f7.0 → 0.7.1-beta-dbf83e0.0
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/s-forms.cjs +1 -1
- package/dist/s-forms.cjs.map +1 -1
- package/dist/s-forms.js +1 -1
- package/dist/s-forms.js.map +1 -1
- package/dist/s-forms.modern.js +1 -1
- package/dist/s-forms.modern.js.map +1 -1
- package/dist/s-forms.umd.js +1 -1
- package/dist/s-forms.umd.js.map +1 -1
- package/dist/util/FormUtils.d.ts +7 -0
- package/package.json +1 -1
package/dist/util/FormUtils.d.ts
CHANGED
|
@@ -38,4 +38,11 @@ export default class FormUtils {
|
|
|
38
38
|
* @return {*} Format from Configuration
|
|
39
39
|
*/
|
|
40
40
|
static resolveDateTimeFormat(question: any, originalValue: any, options: any): any;
|
|
41
|
+
/**
|
|
42
|
+
* Traverse provided array of questions recursively by DFS algorithm
|
|
43
|
+
* and execute on each traversed question provided function.
|
|
44
|
+
* @param {Array<Object>} questions - The array of questions to be traversed.
|
|
45
|
+
* @param func - The function to be executed on each recursively traversed question.
|
|
46
|
+
*/
|
|
47
|
+
static dfsTraverseQuestionTree(questions: Array<Object>, func: any): void;
|
|
41
48
|
}
|