@xuda.io/runtime-bundle 1.0.1313 → 1.0.1314
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/js/xuda-runtime-slim.js
CHANGED
|
@@ -9038,7 +9038,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
9038
9038
|
const proxy = new Proxy(target, {
|
|
9039
9039
|
set(obj, prop, value) {
|
|
9040
9040
|
const oldValue = obj[prop];
|
|
9041
|
-
|
|
9041
|
+
let currentPath = [...path, prop];
|
|
9042
9042
|
|
|
9043
9043
|
// Set the new value
|
|
9044
9044
|
obj[prop] = value;
|
|
@@ -9050,9 +9050,9 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
9050
9050
|
|
|
9051
9051
|
// Notify of change
|
|
9052
9052
|
if (oldValue !== value) {
|
|
9053
|
-
|
|
9053
|
+
currentPath.shift();
|
|
9054
9054
|
onChange({
|
|
9055
|
-
path:
|
|
9055
|
+
path: currentPath.join('.'),
|
|
9056
9056
|
oldValue,
|
|
9057
9057
|
newValue: value,
|
|
9058
9058
|
type: 'set',
|
|
@@ -9039,7 +9039,7 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
9039
9039
|
const proxy = new Proxy(target, {
|
|
9040
9040
|
set(obj, prop, value) {
|
|
9041
9041
|
const oldValue = obj[prop];
|
|
9042
|
-
|
|
9042
|
+
let currentPath = [...path, prop];
|
|
9043
9043
|
|
|
9044
9044
|
// Set the new value
|
|
9045
9045
|
obj[prop] = value;
|
|
@@ -9051,9 +9051,9 @@ func.UI.update_xu_ref = function (SESSION_ID, dsSessionP, ref_field_id, $elm) {
|
|
|
9051
9051
|
|
|
9052
9052
|
// Notify of change
|
|
9053
9053
|
if (oldValue !== value) {
|
|
9054
|
-
|
|
9054
|
+
currentPath.shift();
|
|
9055
9055
|
onChange({
|
|
9056
|
-
path:
|
|
9056
|
+
path: currentPath.join('.'),
|
|
9057
9057
|
oldValue,
|
|
9058
9058
|
newValue: value,
|
|
9059
9059
|
type: 'set',
|