@evercam/ui 1.0.0-preview-fix-image-shifting-on-zoom-ac6b25dbe → 1.0.0-preview-fix-gr-count-tl-date-selection-48630d989
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/dist/index.mjs +4 -8
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -13090,7 +13090,7 @@ const G5 = W5.exports, q5 = R.extend({
|
|
|
13090
13090
|
}
|
|
13091
13091
|
},
|
|
13092
13092
|
mounted() {
|
|
13093
|
-
this.validateProps(), this.initTimeline()
|
|
13093
|
+
this.validateProps(), this.initTimeline();
|
|
13094
13094
|
},
|
|
13095
13095
|
beforeDestroy() {
|
|
13096
13096
|
this.clearTimeline();
|
|
@@ -13140,12 +13140,7 @@ const G5 = W5.exports, q5 = R.extend({
|
|
|
13140
13140
|
);
|
|
13141
13141
|
},
|
|
13142
13142
|
initTimeline() {
|
|
13143
|
-
this.initRefs()
|
|
13144
|
-
const t = this.startDate || this.defaultFocusedDomain[0], e = this.endDate || this.defaultFocusedDomain[1];
|
|
13145
|
-
if (this.focusedDomain = [
|
|
13146
|
-
this.tzStringToDate(t),
|
|
13147
|
-
this.tzStringToDate(e)
|
|
13148
|
-
], !this.timeline || this.timeline.offsetWidth === 0 || !this.domain) {
|
|
13143
|
+
if (this.initRefs(), this.zoomToStartAndEndDates(), !this.timeline || this.timeline.offsetWidth === 0 || !this.domain) {
|
|
13149
13144
|
this.timeouts.push(
|
|
13150
13145
|
setTimeout(this.initTimeline, 500)
|
|
13151
13146
|
);
|
|
@@ -13240,7 +13235,8 @@ const G5 = W5.exports, q5 = R.extend({
|
|
|
13240
13235
|
this.$emit("time-scale-change", t);
|
|
13241
13236
|
},
|
|
13242
13237
|
zoomToStartAndEndDates() {
|
|
13243
|
-
|
|
13238
|
+
var r, n;
|
|
13239
|
+
const t = this.startDate || ((r = this.focusedInterval) == null ? void 0 : r.startDate) || this.defaultFocusedDomain[0], e = this.endDate || ((n = this.focusedInterval) == null ? void 0 : n.endDate) || this.defaultFocusedDomain[1];
|
|
13244
13240
|
this.focusedDomain = [
|
|
13245
13241
|
this.tzStringToDate(t),
|
|
13246
13242
|
this.tzStringToDate(e)
|