@aemforms/af-core 0.22.143 → 0.22.144
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-runtime.js
CHANGED
|
@@ -3050,10 +3050,9 @@ class FunctionRuntimeImpl {
|
|
|
3050
3050
|
event: interpreter.globals.$event,
|
|
3051
3051
|
functions: {
|
|
3052
3052
|
setProperty: (target, payload) => {
|
|
3053
|
-
const
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
});
|
|
3053
|
+
const eventName = 'custom:setProperty';
|
|
3054
|
+
const args = [target, eventName, payload];
|
|
3055
|
+
return FunctionRuntimeImpl.getInstance().getFunctions().dispatchEvent._func.call(undefined, args, data, interpreter);
|
|
3057
3056
|
},
|
|
3058
3057
|
reset: (target) => {
|
|
3059
3058
|
const eventName = 'reset';
|
|
@@ -248,10 +248,9 @@ class FunctionRuntimeImpl {
|
|
|
248
248
|
event: interpreter.globals.$event,
|
|
249
249
|
functions: {
|
|
250
250
|
setProperty: (target, payload) => {
|
|
251
|
-
const
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
});
|
|
251
|
+
const eventName = 'custom:setProperty';
|
|
252
|
+
const args = [target, eventName, payload];
|
|
253
|
+
return FunctionRuntimeImpl.getInstance().getFunctions().dispatchEvent._func.call(undefined, args, data, interpreter);
|
|
255
254
|
},
|
|
256
255
|
reset: (target) => {
|
|
257
256
|
const eventName = 'reset';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aemforms/af-core",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.144",
|
|
4
4
|
"description": "Core Module for Forms Runtime",
|
|
5
5
|
"author": "Adobe Systems",
|
|
6
6
|
"license": "Adobe Proprietary",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@adobe/json-formula": "0.1.50",
|
|
40
|
-
"@aemforms/af-formatters": "^0.22.
|
|
40
|
+
"@aemforms/af-formatters": "^0.22.144"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@babel/preset-env": "^7.20.2",
|