@aemforms/af-core 0.22.73 → 0.22.75
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/esm/afb-events.js +6 -1
- package/esm/afb-runtime.js +1745 -1666
- package/esm/types/src/BaseNode.d.ts +4 -2
- package/esm/types/src/Checkbox.d.ts +72 -0
- package/esm/types/src/Container.d.ts +4 -2
- package/esm/types/src/Field.d.ts +3 -2
- package/esm/types/src/Form.d.ts +4 -2
- package/esm/types/src/FormInstance.d.ts +1 -1
- package/esm/types/src/controller/Events.d.ts +3 -0
- package/esm/types/src/types/Json.d.ts +1 -0
- package/esm/types/src/utils/ValidationUtils.d.ts +2 -1
- package/lib/BaseNode.d.ts +4 -2
- package/lib/BaseNode.js +11 -2
- package/lib/Checkbox.d.ts +72 -0
- package/lib/Checkbox.js +55 -0
- package/lib/Container.d.ts +4 -2
- package/lib/Field.d.ts +3 -2
- package/lib/Field.js +0 -1
- package/lib/Form.d.ts +4 -2
- package/lib/Form.js +1 -1
- package/lib/FormInstance.d.ts +1 -1
- package/lib/FormInstance.js +6 -1
- package/lib/controller/Events.d.ts +3 -0
- package/lib/controller/Events.js +7 -1
- package/lib/rules/FunctionRuntime.js +25 -6
- package/lib/types/Json.d.ts +1 -0
- package/lib/utils/ValidationUtils.d.ts +2 -1
- package/lib/utils/ValidationUtils.js +3 -1
- package/package.json +2 -2
package/esm/afb-events.js
CHANGED
|
@@ -116,6 +116,11 @@ class SubmitFailure extends ActionImpl {
|
|
|
116
116
|
super(payload, 'submitFailure', { dispatch });
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
+
class SubmitError extends ActionImpl {
|
|
120
|
+
constructor(payload, dispatch = false) {
|
|
121
|
+
super(payload, 'submitError', { dispatch });
|
|
122
|
+
}
|
|
123
|
+
}
|
|
119
124
|
class Reset extends ActionImpl {
|
|
120
125
|
constructor(payload, dispatch = false) {
|
|
121
126
|
super(payload, 'reset', { dispatch });
|
|
@@ -158,4 +163,4 @@ class RemoveInstance extends ActionImpl {
|
|
|
158
163
|
}
|
|
159
164
|
}
|
|
160
165
|
|
|
161
|
-
export { AddInstance, AddItem, Blur, Change, Click, CustomEvent, ExecuteRule, FieldChanged, Focus, FormLoad, Initialize, Invalid, RemoveInstance, RemoveItem, Reset, Submit, SubmitFailure, SubmitSuccess, Valid, ValidationComplete, propertyChange };
|
|
166
|
+
export { AddInstance, AddItem, Blur, Change, Click, CustomEvent, ExecuteRule, FieldChanged, Focus, FormLoad, Initialize, Invalid, RemoveInstance, RemoveItem, Reset, Submit, SubmitError, SubmitFailure, SubmitSuccess, Valid, ValidationComplete, propertyChange };
|