@playkit-js/unisphere 0.0.19-canary.0-338e5c5 → 0.0.19-canary.0-7e412b7
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/package.json
CHANGED
|
@@ -10,6 +10,8 @@ import { UnisphereEvent, UnisphereStorageKeys, WidgetConfig } from './types';
|
|
|
10
10
|
import { UpperBarIcon } from './components';
|
|
11
11
|
import { ContainerManager, UnisphereElementService, UnisphereEventService, UnisphereStorageService, UnisphereWorkspaceService } from './services';
|
|
12
12
|
|
|
13
|
+
const { reducers: {shell}} = ui;
|
|
14
|
+
|
|
13
15
|
class UnispherePluginManager {
|
|
14
16
|
private iconIds = new Map<string, number>();
|
|
15
17
|
private panelIds = new Set<number>();
|
|
@@ -112,7 +114,8 @@ class UnispherePluginManager {
|
|
|
112
114
|
}
|
|
113
115
|
});
|
|
114
116
|
}
|
|
115
|
-
|
|
117
|
+
//@ts-ignore
|
|
118
|
+
this.player.ui.store.dispatch(shell.actions.updateTimeDisplayIsMinimized(true));
|
|
116
119
|
// TODO: Export this event and in playkit-js-seo
|
|
117
120
|
this.player.dispatchEvent(new FakeEvent('UNISPHERE_CHAPTERS_ADDED', payload))
|
|
118
121
|
}
|
|
@@ -226,6 +229,9 @@ class UnispherePluginManager {
|
|
|
226
229
|
this.iconIds.clear();
|
|
227
230
|
|
|
228
231
|
this.containerManager.destroy();
|
|
232
|
+
|
|
233
|
+
//@ts-ignore
|
|
234
|
+
this.player.ui.store.dispatch(shell.actions.updateTimeDisplayIsMinimized(false));
|
|
229
235
|
}
|
|
230
236
|
|
|
231
237
|
public destroy(): void {
|