@kbss-cvut/s-forms 0.7.1-alpha-ddea5c3.0 → 0.7.1-alpha-e7161d3.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.
@@ -37,4 +37,16 @@ export default class FormUtils {
37
37
  * @return {*} Format from Configuration
38
38
  */
39
39
  static resolveDateTimeFormat(question: any, originalValue: any, options: any): any;
40
+ /**
41
+ * Updates the validation status of a question within an array of questions.
42
+ * @param {Array} questions - The array of questions to update.
43
+ * @param {Object} question - The question object to validate and update.
44
+ * @param {number} index - The index of the question in the array.
45
+ */
46
+ static updateQuestionValidation: (questions: any[], question: Object, index: number) => void;
47
+ /**
48
+ * Updates the validation status of sub-questions within a parent question.
49
+ * @param {Object} question - The parent question object containing sub-questions.
50
+ */
51
+ static updateSubQuestionsValidation: (question: Object) => void;
40
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kbss-cvut/s-forms",
3
- "version": "0.7.1-alpha-ddea5c3.0",
3
+ "version": "0.7.1-alpha-e7161d3.0",
4
4
  "description": "Semantic forms generator and processor",
5
5
  "keywords": [
6
6
  "react",