lw-cdp-ui 1.4.26 → 1.4.27
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.
|
@@ -168,8 +168,8 @@ export default {
|
|
|
168
168
|
if (params.ranges) {
|
|
169
169
|
Object.entries(params.ranges).map(([key, value]) => {
|
|
170
170
|
filter.ranges[key].timeRange = {
|
|
171
|
-
from: value[0],
|
|
172
|
-
to: value[1]
|
|
171
|
+
from: value?.[0] || this.globalFilter.ranges[key].timeRange.from,
|
|
172
|
+
to: value?.[1] || this.globalFilter.ranges[key].timeRange.to
|
|
173
173
|
}
|
|
174
174
|
filter.ranges[key].type = 'ABSOLUTE'
|
|
175
175
|
})
|
|
@@ -397,7 +397,10 @@ export default {
|
|
|
397
397
|
valueFormat: 'YYYY-MM-DDTHH:mm:ss.SSSZ'
|
|
398
398
|
})
|
|
399
399
|
this.globalFilter.ranges[setting.code] = {
|
|
400
|
-
timeRange: {
|
|
400
|
+
timeRange: {
|
|
401
|
+
from: value?.[0] || '',
|
|
402
|
+
to: value?.[1] || ''
|
|
403
|
+
},
|
|
401
404
|
type: setting.type
|
|
402
405
|
}
|
|
403
406
|
break
|
package/dist/lw-cdp-ui.esm.js
CHANGED
|
@@ -1856,7 +1856,7 @@ const w4 = /* @__PURE__ */ ae(s5, [["render", m5], ["__scopeId", "data-v-949f699
|
|
|
1856
1856
|
return t = {
|
|
1857
1857
|
...l,
|
|
1858
1858
|
...t
|
|
1859
|
-
},
|
|
1859
|
+
}, delete t.disabled, t;
|
|
1860
1860
|
}
|
|
1861
1861
|
}
|
|
1862
1862
|
};
|
|
@@ -22104,8 +22104,8 @@ const NA = /* @__PURE__ */ ae(qA, [["render", QA]]), UA = {
|
|
|
22104
22104
|
let e = JSON.parse(JSON.stringify(this.globalFilter)), t = this.unflattenObject(this.searchParams);
|
|
22105
22105
|
t.ranges && Object.entries(t.ranges).map(([n, r]) => {
|
|
22106
22106
|
e.ranges[n].timeRange = {
|
|
22107
|
-
from: r[0],
|
|
22108
|
-
to: r[1]
|
|
22107
|
+
from: (r == null ? void 0 : r[0]) || this.globalFilter.ranges[n].timeRange.from,
|
|
22108
|
+
to: (r == null ? void 0 : r[1]) || this.globalFilter.ranges[n].timeRange.to
|
|
22109
22109
|
}, e.ranges[n].type = "ABSOLUTE";
|
|
22110
22110
|
}), e.values = t.values, this.getChartList(e), this.chartPageRefs.length > 0 && this.chartPageRefs.forEach((n) => {
|
|
22111
22111
|
n.searchParams = this.searchParams, n.globalFilter = e, n.search();
|
|
@@ -22285,7 +22285,10 @@ const NA = /* @__PURE__ */ ae(qA, [["render", QA]]), UA = {
|
|
|
22285
22285
|
value: s,
|
|
22286
22286
|
valueFormat: "YYYY-MM-DDTHH:mm:ss.SSSZ"
|
|
22287
22287
|
}), this.globalFilter.ranges[l.code] = {
|
|
22288
|
-
timeRange: {
|
|
22288
|
+
timeRange: {
|
|
22289
|
+
from: (s == null ? void 0 : s[0]) || "",
|
|
22290
|
+
to: (s == null ? void 0 : s[1]) || ""
|
|
22291
|
+
},
|
|
22289
22292
|
type: l.type
|
|
22290
22293
|
};
|
|
22291
22294
|
break;
|
|
@@ -22409,7 +22412,7 @@ function YA(e, t, n, r, a, o) {
|
|
|
22409
22412
|
])) : j("", !0)
|
|
22410
22413
|
]);
|
|
22411
22414
|
}
|
|
22412
|
-
const KA = /* @__PURE__ */ ae(UA, [["render", YA], ["__scopeId", "data-v-
|
|
22415
|
+
const KA = /* @__PURE__ */ ae(UA, [["render", YA], ["__scopeId", "data-v-ce48c764"]]);
|
|
22413
22416
|
/*!
|
|
22414
22417
|
* vue-router v4.5.0
|
|
22415
22418
|
* (c) 2024 Eduardo San Martin Morote
|