@processmaker/screen-builder 3.8.3 → 3.8.4
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.
|
@@ -45531,15 +45531,16 @@ const DK = {
|
|
|
45531
45531
|
this.currentPage = this.currentPage > e ? e : this.currentPage, this.currentPage = this.currentPage == 0 ? 1 : this.currentPage;
|
|
45532
45532
|
}
|
|
45533
45533
|
},
|
|
45534
|
-
// Watch for changes in
|
|
45535
|
-
|
|
45536
|
-
handler(t) {
|
|
45537
|
-
var
|
|
45538
|
-
((
|
|
45539
|
-
(
|
|
45540
|
-
(
|
|
45534
|
+
// Watch for changes in validationData to handle any Mustache variable changes
|
|
45535
|
+
validationData: {
|
|
45536
|
+
handler(t, e) {
|
|
45537
|
+
var r, i, a, n, s, o, u;
|
|
45538
|
+
((r = this.source) == null ? void 0 : r.sourceOptions) === "Collection" && ((a = (i = this.source) == null ? void 0 : i.collectionFields) != null && a.pmql) && this.onCollectionChange(
|
|
45539
|
+
(s = (n = this.source) == null ? void 0 : n.collectionFields) == null ? void 0 : s.collectionId,
|
|
45540
|
+
(u = (o = this.source) == null ? void 0 : o.collectionFields) == null ? void 0 : u.pmql
|
|
45541
45541
|
);
|
|
45542
45542
|
},
|
|
45543
|
+
deep: !0,
|
|
45543
45544
|
immediate: !1
|
|
45544
45545
|
}
|
|
45545
45546
|
},
|
|
@@ -45626,8 +45627,11 @@ const DK = {
|
|
|
45626
45627
|
return t;
|
|
45627
45628
|
try {
|
|
45628
45629
|
const e = this.validationData || {};
|
|
45629
|
-
let r =
|
|
45630
|
-
return
|
|
45630
|
+
let r = Pr.render(t, e);
|
|
45631
|
+
return this.hasEmptyValues(r) ? (this.collectionData = [], null) : (r = r.replace(
|
|
45632
|
+
/= ([^"'\s][^"']*[^"'\s]|[^"'\s]+)(?=\s|$)/g,
|
|
45633
|
+
'= "$1"'
|
|
45634
|
+
), r);
|
|
45631
45635
|
} catch {
|
|
45632
45636
|
return this.collectionData = [], null;
|
|
45633
45637
|
}
|