@emuanalytics/flow-rdf-ui 4.0.11 → 4.0.13
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.
|
@@ -311,10 +311,10 @@ __decorateClass([
|
|
|
311
311
|
property()
|
|
312
312
|
], FlowUiCalendar.prototype, "size", 2);
|
|
313
313
|
__decorateClass([
|
|
314
|
-
watch("value")
|
|
314
|
+
watch("value", { waitUntilFirstUpdate: true })
|
|
315
315
|
], FlowUiCalendar.prototype, "handleValueChange", 1);
|
|
316
316
|
__decorateClass([
|
|
317
|
-
watch(["timezone"])
|
|
317
|
+
watch(["timezone"], { waitUntilFirstUpdate: true })
|
|
318
318
|
], FlowUiCalendar.prototype, "handleTimezoneChange", 1);
|
|
319
319
|
|
|
320
320
|
export { FlowUiCalendar as default };
|
|
@@ -255,8 +255,12 @@ class FlowUiTabGroup extends FlowRdfElement {
|
|
|
255
255
|
syncTabsAndPanels() {
|
|
256
256
|
this.tabs = this.getAllTabs({ includeDisabled: false });
|
|
257
257
|
this.panels = this.getAllPanels();
|
|
258
|
-
this.
|
|
259
|
-
|
|
258
|
+
if (this.activeTab && this.tabs.includes(this.activeTab) === false) {
|
|
259
|
+
this.setActiveTab(this.tabs.find((el) => !el.disabled) ?? this.tabs[0], { emitEvents: true });
|
|
260
|
+
} else {
|
|
261
|
+
this.syncIndicator();
|
|
262
|
+
this.updateComplete.then(() => this.updateScrollControls());
|
|
263
|
+
}
|
|
260
264
|
}
|
|
261
265
|
updateScrollControls() {
|
|
262
266
|
if (this.noScrollControls) {
|