@oicl/openbridge-webcomponents-ng 0.0.20260325093621 → 0.0.20260326144449
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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oicl/openbridge-webcomponents-ng",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.20260326144449",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@oicl/openbridge-webcomponents": "^0.0.
|
|
6
|
+
"@oicl/openbridge-webcomponents": "^0.0.20260326144449"
|
|
7
7
|
},
|
|
8
8
|
"peerDependencies": {
|
|
9
9
|
"@angular/common": ">=13.3.0",
|
|
@@ -29,10 +29,10 @@ export class ObcIntegrationBarDropdown {
|
|
|
29
29
|
this._el = e.nativeElement;
|
|
30
30
|
this._ngZone = ngZone;
|
|
31
31
|
|
|
32
|
-
this._el.addEventListener('home-button-
|
|
32
|
+
this._el.addEventListener('home-button-clicked', (e: Event) => {
|
|
33
33
|
// TODO(justinfagnani): we need to let the element say how to get a value
|
|
34
34
|
// from an event, ex: e.value
|
|
35
|
-
this.
|
|
35
|
+
this.homeButtonClickedEvent.emit(e);
|
|
36
36
|
});
|
|
37
37
|
|
|
38
38
|
this._el.addEventListener('dimming-button-clicked', (e: Event) => {
|
|
@@ -107,6 +107,24 @@ export class ObcIntegrationBarDropdown {
|
|
|
107
107
|
return this._el.notificationButtonActivated;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
+
@Input()
|
|
111
|
+
set notificationCount(v: number) {
|
|
112
|
+
this._ngZone.runOutsideAngular(() => (this._el.notificationCount = v));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
get notificationCount() {
|
|
116
|
+
return this._el.notificationCount;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@Input()
|
|
120
|
+
set showNotificationCount(v: boolean) {
|
|
121
|
+
this._ngZone.runOutsideAngular(() => (this._el.showNotificationCount = v));
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
get showNotificationCount() {
|
|
125
|
+
return this._el.showNotificationCount;
|
|
126
|
+
}
|
|
127
|
+
|
|
110
128
|
@Input()
|
|
111
129
|
set showUserButton(v: boolean) {
|
|
112
130
|
this._ngZone.runOutsideAngular(() => (this._el.showUserButton = v));
|
|
@@ -173,7 +191,7 @@ export class ObcIntegrationBarDropdown {
|
|
|
173
191
|
|
|
174
192
|
|
|
175
193
|
@Output()
|
|
176
|
-
|
|
194
|
+
homeButtonClickedEvent = new EventEmitter<unknown>();
|
|
177
195
|
|
|
178
196
|
@Output()
|
|
179
197
|
dimmingButtonClickedEvent = new EventEmitter<unknown>();
|
|
@@ -41,7 +41,7 @@ export class ObcIntegrationDropdownButton {
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
@Input()
|
|
44
|
-
set options(v: { value: string; label: string; icon: HTMLTemplateResult; disabled?: boolean | undefined; }[]) {
|
|
44
|
+
set options(v: { value: string; label: string; status?: string | undefined; icon: HTMLTemplateResult; disabled?: boolean | undefined; }[]) {
|
|
45
45
|
this._ngZone.runOutsideAngular(() => (this._el.options = v));
|
|
46
46
|
}
|
|
47
47
|
|