@oicl/openbridge-webcomponents-ng 2.2.0-next.2 → 2.2.0-next.3
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/fesm2022/oicl-openbridge-webcomponents-ng-obc-alert-button-item.mjs +10 -1
- package/fesm2022/oicl-openbridge-webcomponents-ng-obc-alert-button-item.mjs.map +1 -1
- package/fesm2022/oicl-openbridge-webcomponents-ng-obc-alert-button.mjs +10 -1
- package/fesm2022/oicl-openbridge-webcomponents-ng-obc-alert-button.mjs.map +1 -1
- package/obc-alert-button/index.d.ts +5 -1
- package/obc-alert-button-item/index.d.ts +5 -1
- package/package.json +2 -2
|
@@ -2,6 +2,7 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { EventEmitter, Output, Input, Component } from '@angular/core';
|
|
3
3
|
export { ObcAlertButtonType } from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';
|
|
4
4
|
export { AlertType, FlashingSpeed } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
5
|
+
export { ObcAlertCounterItemType } from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';
|
|
5
6
|
|
|
6
7
|
class ObcAlertButtonItem {
|
|
7
8
|
_el;
|
|
@@ -45,6 +46,12 @@ class ObcAlertButtonItem {
|
|
|
45
46
|
get globalCounter() {
|
|
46
47
|
return this._el.globalCounter;
|
|
47
48
|
}
|
|
49
|
+
set globalCounterType(v) {
|
|
50
|
+
this._ngZone.runOutsideAngular(() => (this._el.globalCounterType = v));
|
|
51
|
+
}
|
|
52
|
+
get globalCounterType() {
|
|
53
|
+
return this._el.globalCounterType;
|
|
54
|
+
}
|
|
48
55
|
set counts(v) {
|
|
49
56
|
this._ngZone.runOutsideAngular(() => (this._el.counts = v));
|
|
50
57
|
}
|
|
@@ -83,7 +90,7 @@ class ObcAlertButtonItem {
|
|
|
83
90
|
}
|
|
84
91
|
clickEvent = new EventEmitter();
|
|
85
92
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.32", ngImport: i0, type: ObcAlertButtonItem, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
86
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.32", type: ObcAlertButtonItem, isStandalone: true, selector: "obc-alert-button-item", inputs: { type: "type", alertType: "alertType", nAlerts: "nAlerts", counter: "counter", globalCounter: "globalCounter", counts: "counts", shelvedCount: "shelvedCount", blinking: "blinking", flashingSpeed: "flashingSpeed", fillHeight: "fillHeight", ariaLabel: "ariaLabel" }, outputs: { clickEvent: "clickEvent" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
93
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.32", type: ObcAlertButtonItem, isStandalone: true, selector: "obc-alert-button-item", inputs: { type: "type", alertType: "alertType", nAlerts: "nAlerts", counter: "counter", globalCounter: "globalCounter", globalCounterType: "globalCounterType", counts: "counts", shelvedCount: "shelvedCount", blinking: "blinking", flashingSpeed: "flashingSpeed", fillHeight: "fillHeight", ariaLabel: "ariaLabel" }, outputs: { clickEvent: "clickEvent" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
87
94
|
}
|
|
88
95
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImport: i0, type: ObcAlertButtonItem, decorators: [{
|
|
89
96
|
type: Component,
|
|
@@ -103,6 +110,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
103
110
|
type: Input
|
|
104
111
|
}], globalCounter: [{
|
|
105
112
|
type: Input
|
|
113
|
+
}], globalCounterType: [{
|
|
114
|
+
type: Input
|
|
106
115
|
}], counts: [{
|
|
107
116
|
type: Input
|
|
108
117
|
}], shelvedCount: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oicl-openbridge-webcomponents-ng-obc-alert-button-item.mjs","sources":["../../obc-alert-button-item/src/obc-alert-button-item.ts","../../obc-alert-button-item/src/public-api.ts","../../obc-alert-button-item/src/oicl-openbridge-webcomponents-ng-obc-alert-button-item.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n NgZone,\n Input,\n EventEmitter,\n Output\n\n} from '@angular/core';\nimport {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';\nimport {AlertType, AlertCounts, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';\nexport type {AlertCounts} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport {AlertType, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport type {ObcAlertButtonItem as ObcAlertButtonItemElement} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';\nimport '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';\n\n@Component({\n selector: 'obc-alert-button-item',\n template: '<ng-content></ng-content>',\n standalone: true,\n imports: []\n})\nexport class ObcAlertButtonItem {\n private _el: ObcAlertButtonItemElement;\n private _ngZone: NgZone;\n\n constructor(\n e: ElementRef<ObcAlertButtonItemElement>,\n ngZone: NgZone\n ) {\n this._el = e.nativeElement;\n this._ngZone = ngZone;\n \n this._el.addEventListener('click', (e: Event) => {\n // TODO(justinfagnani): we need to let the element say how to get a value\n // from an event, ex: e.value\n this.clickEvent.emit(e);\n });\n \n }\n\n \n @Input()\n set type(v: ObcAlertButtonType) {\n this._ngZone.runOutsideAngular(() => (this._el.type = v));\n }\n\n get type() {\n return this._el.type;\n }\n \n @Input()\n set alertType(v: AlertType | undefined) {\n this._ngZone.runOutsideAngular(() => (this._el.alertType = v));\n }\n\n get alertType() {\n return this._el.alertType;\n }\n \n @Input()\n set nAlerts(v: number) {\n this._ngZone.runOutsideAngular(() => (this._el.nAlerts = v));\n }\n\n get nAlerts() {\n return this._el.nAlerts;\n }\n \n @Input()\n set counter(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.counter = v));\n }\n\n get counter() {\n return this._el.counter;\n }\n \n @Input()\n set globalCounter(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.globalCounter = v));\n }\n\n get globalCounter() {\n return this._el.globalCounter;\n }\n \n @Input()\n set counts(v: AlertCounts) {\n this._ngZone.runOutsideAngular(() => (this._el.counts = v));\n }\n\n get counts() {\n return this._el.counts;\n }\n \n @Input()\n set shelvedCount(v: number) {\n this._ngZone.runOutsideAngular(() => (this._el.shelvedCount = v));\n }\n\n get shelvedCount() {\n return this._el.shelvedCount;\n }\n \n @Input()\n set blinking(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.blinking = v));\n }\n\n get blinking() {\n return this._el.blinking;\n }\n \n @Input()\n set flashingSpeed(v: FlashingSpeed) {\n this._ngZone.runOutsideAngular(() => (this._el.flashingSpeed = v));\n }\n\n get flashingSpeed() {\n return this._el.flashingSpeed;\n }\n \n @Input()\n set fillHeight(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.fillHeight = v));\n }\n\n get fillHeight() {\n return this._el.fillHeight;\n }\n \n @Input()\n set ariaLabel(v: string | null) {\n this._ngZone.runOutsideAngular(() => (this._el.ariaLabel = v));\n }\n\n get ariaLabel() {\n return this._el.ariaLabel;\n }\n \n\n \n @Output()\n clickEvent = new EventEmitter<unknown>();\n \n}\n\n","/* eslint-disable import/extensions */\nexport * from \"./obc-alert-button-item\";","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"oicl-openbridge-webcomponents-ng-obc-alert-button-item.mjs","sources":["../../obc-alert-button-item/src/obc-alert-button-item.ts","../../obc-alert-button-item/src/public-api.ts","../../obc-alert-button-item/src/oicl-openbridge-webcomponents-ng-obc-alert-button-item.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n NgZone,\n Input,\n EventEmitter,\n Output\n\n} from '@angular/core';\nimport {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';\nimport {AlertType, AlertCounts, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {ObcAlertCounterItemType} from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';\nexport {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';\nexport type {AlertCounts} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport {AlertType, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport {ObcAlertCounterItemType} from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';\nimport type {ObcAlertButtonItem as ObcAlertButtonItemElement} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';\nimport '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';\n\n@Component({\n selector: 'obc-alert-button-item',\n template: '<ng-content></ng-content>',\n standalone: true,\n imports: []\n})\nexport class ObcAlertButtonItem {\n private _el: ObcAlertButtonItemElement;\n private _ngZone: NgZone;\n\n constructor(\n e: ElementRef<ObcAlertButtonItemElement>,\n ngZone: NgZone\n ) {\n this._el = e.nativeElement;\n this._ngZone = ngZone;\n \n this._el.addEventListener('click', (e: Event) => {\n // TODO(justinfagnani): we need to let the element say how to get a value\n // from an event, ex: e.value\n this.clickEvent.emit(e);\n });\n \n }\n\n \n @Input()\n set type(v: ObcAlertButtonType) {\n this._ngZone.runOutsideAngular(() => (this._el.type = v));\n }\n\n get type() {\n return this._el.type;\n }\n \n @Input()\n set alertType(v: AlertType | undefined) {\n this._ngZone.runOutsideAngular(() => (this._el.alertType = v));\n }\n\n get alertType() {\n return this._el.alertType;\n }\n \n @Input()\n set nAlerts(v: number) {\n this._ngZone.runOutsideAngular(() => (this._el.nAlerts = v));\n }\n\n get nAlerts() {\n return this._el.nAlerts;\n }\n \n @Input()\n set counter(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.counter = v));\n }\n\n get counter() {\n return this._el.counter;\n }\n \n @Input()\n set globalCounter(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.globalCounter = v));\n }\n\n get globalCounter() {\n return this._el.globalCounter;\n }\n \n @Input()\n set globalCounterType(v: ObcAlertCounterItemType) {\n this._ngZone.runOutsideAngular(() => (this._el.globalCounterType = v));\n }\n\n get globalCounterType() {\n return this._el.globalCounterType;\n }\n \n @Input()\n set counts(v: AlertCounts) {\n this._ngZone.runOutsideAngular(() => (this._el.counts = v));\n }\n\n get counts() {\n return this._el.counts;\n }\n \n @Input()\n set shelvedCount(v: number) {\n this._ngZone.runOutsideAngular(() => (this._el.shelvedCount = v));\n }\n\n get shelvedCount() {\n return this._el.shelvedCount;\n }\n \n @Input()\n set blinking(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.blinking = v));\n }\n\n get blinking() {\n return this._el.blinking;\n }\n \n @Input()\n set flashingSpeed(v: FlashingSpeed) {\n this._ngZone.runOutsideAngular(() => (this._el.flashingSpeed = v));\n }\n\n get flashingSpeed() {\n return this._el.flashingSpeed;\n }\n \n @Input()\n set fillHeight(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.fillHeight = v));\n }\n\n get fillHeight() {\n return this._el.fillHeight;\n }\n \n @Input()\n set ariaLabel(v: string | null) {\n this._ngZone.runOutsideAngular(() => (this._el.ariaLabel = v));\n }\n\n get ariaLabel() {\n return this._el.ariaLabel;\n }\n \n\n \n @Output()\n clickEvent = new EventEmitter<unknown>();\n \n}\n\n","/* eslint-disable import/extensions */\nexport * from \"./obc-alert-button-item\";","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAyBa,kBAAkB,CAAA;AACrB,IAAA,GAAG;AACH,IA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AAA,QAAQ,EAAE,uBAAuB;AACjC,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE;AACV,iBAAA;;sBAqBE;;sBASA;;sBASA;;sBASA;;sBASA;;sBASA;;sBASA;;sBASA;;sBASA;;sBASA;;sBASA;;sBASA;;sBAWA;;;AC3JH;;ACAA;;AAEG;;"}
|
|
@@ -3,6 +3,7 @@ import { EventEmitter, Output, Input, Component } from '@angular/core';
|
|
|
3
3
|
import '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';
|
|
4
4
|
export { AlertType, FlashingSpeed } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
5
5
|
export { ObcAlertButtonType } from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';
|
|
6
|
+
export { ObcAlertCounterItemType } from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';
|
|
6
7
|
|
|
7
8
|
class ObcAlertButton {
|
|
8
9
|
_el;
|
|
@@ -69,6 +70,12 @@ class ObcAlertButton {
|
|
|
69
70
|
get globalCounter() {
|
|
70
71
|
return this._el.globalCounter;
|
|
71
72
|
}
|
|
73
|
+
set globalCounterType(v) {
|
|
74
|
+
this._ngZone.runOutsideAngular(() => (this._el.globalCounterType = v));
|
|
75
|
+
}
|
|
76
|
+
get globalCounterType() {
|
|
77
|
+
return this._el.globalCounterType;
|
|
78
|
+
}
|
|
72
79
|
set counts(v) {
|
|
73
80
|
this._ngZone.runOutsideAngular(() => (this._el.counts = v));
|
|
74
81
|
}
|
|
@@ -108,7 +115,7 @@ class ObcAlertButton {
|
|
|
108
115
|
clickAlertEvent = new EventEmitter();
|
|
109
116
|
clickSilenceEvent = new EventEmitter();
|
|
110
117
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.32", ngImport: i0, type: ObcAlertButton, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
111
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.32", type: ObcAlertButton, isStandalone: true, selector: "obc-alert-button", inputs: { nAlerts: "nAlerts", alertType: "alertType", type: "type", large: "large", showSilenceButton: "showSilenceButton", silenceButtonDisabled: "silenceButtonDisabled", counter: "counter", globalCounter: "globalCounter", counts: "counts", shelvedCount: "shelvedCount", blinking: "blinking", flashingSpeed: "flashingSpeed", flatMaxBreakpointPx: "flatMaxBreakpointPx", silenceButtonMinBreakpointPx: "silenceButtonMinBreakpointPx" }, outputs: { clickAlertEvent: "clickAlertEvent", clickSilenceEvent: "clickSilenceEvent" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
118
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.32", type: ObcAlertButton, isStandalone: true, selector: "obc-alert-button", inputs: { nAlerts: "nAlerts", alertType: "alertType", type: "type", large: "large", showSilenceButton: "showSilenceButton", silenceButtonDisabled: "silenceButtonDisabled", counter: "counter", globalCounter: "globalCounter", globalCounterType: "globalCounterType", counts: "counts", shelvedCount: "shelvedCount", blinking: "blinking", flashingSpeed: "flashingSpeed", flatMaxBreakpointPx: "flatMaxBreakpointPx", silenceButtonMinBreakpointPx: "silenceButtonMinBreakpointPx" }, outputs: { clickAlertEvent: "clickAlertEvent", clickSilenceEvent: "clickSilenceEvent" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
112
119
|
}
|
|
113
120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImport: i0, type: ObcAlertButton, decorators: [{
|
|
114
121
|
type: Component,
|
|
@@ -134,6 +141,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.32", ngImpo
|
|
|
134
141
|
type: Input
|
|
135
142
|
}], globalCounter: [{
|
|
136
143
|
type: Input
|
|
144
|
+
}], globalCounterType: [{
|
|
145
|
+
type: Input
|
|
137
146
|
}], counts: [{
|
|
138
147
|
type: Input
|
|
139
148
|
}], shelvedCount: [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oicl-openbridge-webcomponents-ng-obc-alert-button.mjs","sources":["../../obc-alert-button/src/obc-alert-button.ts","../../obc-alert-button/src/public-api.ts","../../obc-alert-button/src/oicl-openbridge-webcomponents-ng-obc-alert-button.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n NgZone,\n Input,\n EventEmitter,\n Output\n\n} from '@angular/core';\nimport {AlertType, AlertCounts, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';\nexport type {AlertCounts} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport {AlertType, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';\nimport type {ObcAlertButton as ObcAlertButtonElement} from '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';\nimport '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';\n\n@Component({\n selector: 'obc-alert-button',\n template: '<ng-content></ng-content>',\n standalone: true,\n imports: []\n})\nexport class ObcAlertButton {\n private _el: ObcAlertButtonElement;\n private _ngZone: NgZone;\n\n constructor(\n e: ElementRef<ObcAlertButtonElement>,\n ngZone: NgZone\n ) {\n this._el = e.nativeElement;\n this._ngZone = ngZone;\n \n this._el.addEventListener('click-alert', (e: Event) => {\n // TODO(justinfagnani): we need to let the element say how to get a value\n // from an event, ex: e.value\n this.clickAlertEvent.emit(e as CustomEvent<void>);\n });\n \n this._el.addEventListener('click-silence', (e: Event) => {\n // TODO(justinfagnani): we need to let the element say how to get a value\n // from an event, ex: e.value\n this.clickSilenceEvent.emit(e as CustomEvent<void>);\n });\n \n }\n\n \n @Input()\n set nAlerts(v: number) {\n this._ngZone.runOutsideAngular(() => (this._el.nAlerts = v));\n }\n\n get nAlerts() {\n return this._el.nAlerts;\n }\n \n @Input()\n set alertType(v: AlertType | undefined) {\n this._ngZone.runOutsideAngular(() => (this._el.alertType = v));\n }\n\n get alertType() {\n return this._el.alertType;\n }\n \n @Input()\n set type(v: ObcAlertButtonType) {\n this._ngZone.runOutsideAngular(() => (this._el.type = v));\n }\n\n get type() {\n return this._el.type;\n }\n \n @Input()\n set large(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.large = v));\n }\n\n get large() {\n return this._el.large;\n }\n \n @Input()\n set showSilenceButton(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.showSilenceButton = v));\n }\n\n get showSilenceButton() {\n return this._el.showSilenceButton;\n }\n \n @Input()\n set silenceButtonDisabled(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.silenceButtonDisabled = v));\n }\n\n get silenceButtonDisabled() {\n return this._el.silenceButtonDisabled;\n }\n \n @Input()\n set counter(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.counter = v));\n }\n\n get counter() {\n return this._el.counter;\n }\n \n @Input()\n set globalCounter(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.globalCounter = v));\n }\n\n get globalCounter() {\n return this._el.globalCounter;\n }\n \n @Input()\n set counts(v: AlertCounts) {\n this._ngZone.runOutsideAngular(() => (this._el.counts = v));\n }\n\n get counts() {\n return this._el.counts;\n }\n \n @Input()\n set shelvedCount(v: number) {\n this._ngZone.runOutsideAngular(() => (this._el.shelvedCount = v));\n }\n\n get shelvedCount() {\n return this._el.shelvedCount;\n }\n \n @Input()\n set blinking(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.blinking = v));\n }\n\n get blinking() {\n return this._el.blinking;\n }\n \n @Input()\n set flashingSpeed(v: FlashingSpeed) {\n this._ngZone.runOutsideAngular(() => (this._el.flashingSpeed = v));\n }\n\n get flashingSpeed() {\n return this._el.flashingSpeed;\n }\n \n @Input()\n set flatMaxBreakpointPx(v: number) {\n this._ngZone.runOutsideAngular(() => (this._el.flatMaxBreakpointPx = v));\n }\n\n get flatMaxBreakpointPx() {\n return this._el.flatMaxBreakpointPx;\n }\n \n @Input()\n set silenceButtonMinBreakpointPx(v: number) {\n this._ngZone.runOutsideAngular(() => (this._el.silenceButtonMinBreakpointPx = v));\n }\n\n get silenceButtonMinBreakpointPx() {\n return this._el.silenceButtonMinBreakpointPx;\n }\n \n\n \n @Output()\n clickAlertEvent = new EventEmitter<CustomEvent<void>>();\n \n @Output()\n clickSilenceEvent = new EventEmitter<CustomEvent<void>>();\n \n}\n\n","/* eslint-disable import/extensions */\nexport * from \"./obc-alert-button\";","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"oicl-openbridge-webcomponents-ng-obc-alert-button.mjs","sources":["../../obc-alert-button/src/obc-alert-button.ts","../../obc-alert-button/src/public-api.ts","../../obc-alert-button/src/oicl-openbridge-webcomponents-ng-obc-alert-button.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n NgZone,\n Input,\n EventEmitter,\n Output\n\n} from '@angular/core';\nimport {AlertType, AlertCounts, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\nimport {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';\nimport {ObcAlertCounterItemType} from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';\nexport type {AlertCounts} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport {AlertType, FlashingSpeed} from '@oicl/openbridge-webcomponents/dist/types.js';\nexport {ObcAlertButtonType} from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';\nexport {ObcAlertCounterItemType} from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';\nimport type {ObcAlertButton as ObcAlertButtonElement} from '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';\nimport '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';\n\n@Component({\n selector: 'obc-alert-button',\n template: '<ng-content></ng-content>',\n standalone: true,\n imports: []\n})\nexport class ObcAlertButton {\n private _el: ObcAlertButtonElement;\n private _ngZone: NgZone;\n\n constructor(\n e: ElementRef<ObcAlertButtonElement>,\n ngZone: NgZone\n ) {\n this._el = e.nativeElement;\n this._ngZone = ngZone;\n \n this._el.addEventListener('click-alert', (e: Event) => {\n // TODO(justinfagnani): we need to let the element say how to get a value\n // from an event, ex: e.value\n this.clickAlertEvent.emit(e as CustomEvent<void>);\n });\n \n this._el.addEventListener('click-silence', (e: Event) => {\n // TODO(justinfagnani): we need to let the element say how to get a value\n // from an event, ex: e.value\n this.clickSilenceEvent.emit(e as CustomEvent<void>);\n });\n \n }\n\n \n @Input()\n set nAlerts(v: number) {\n this._ngZone.runOutsideAngular(() => (this._el.nAlerts = v));\n }\n\n get nAlerts() {\n return this._el.nAlerts;\n }\n \n @Input()\n set alertType(v: AlertType | undefined) {\n this._ngZone.runOutsideAngular(() => (this._el.alertType = v));\n }\n\n get alertType() {\n return this._el.alertType;\n }\n \n @Input()\n set type(v: ObcAlertButtonType) {\n this._ngZone.runOutsideAngular(() => (this._el.type = v));\n }\n\n get type() {\n return this._el.type;\n }\n \n @Input()\n set large(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.large = v));\n }\n\n get large() {\n return this._el.large;\n }\n \n @Input()\n set showSilenceButton(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.showSilenceButton = v));\n }\n\n get showSilenceButton() {\n return this._el.showSilenceButton;\n }\n \n @Input()\n set silenceButtonDisabled(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.silenceButtonDisabled = v));\n }\n\n get silenceButtonDisabled() {\n return this._el.silenceButtonDisabled;\n }\n \n @Input()\n set counter(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.counter = v));\n }\n\n get counter() {\n return this._el.counter;\n }\n \n @Input()\n set globalCounter(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.globalCounter = v));\n }\n\n get globalCounter() {\n return this._el.globalCounter;\n }\n \n @Input()\n set globalCounterType(v: ObcAlertCounterItemType) {\n this._ngZone.runOutsideAngular(() => (this._el.globalCounterType = v));\n }\n\n get globalCounterType() {\n return this._el.globalCounterType;\n }\n \n @Input()\n set counts(v: AlertCounts) {\n this._ngZone.runOutsideAngular(() => (this._el.counts = v));\n }\n\n get counts() {\n return this._el.counts;\n }\n \n @Input()\n set shelvedCount(v: number) {\n this._ngZone.runOutsideAngular(() => (this._el.shelvedCount = v));\n }\n\n get shelvedCount() {\n return this._el.shelvedCount;\n }\n \n @Input()\n set blinking(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.blinking = v));\n }\n\n get blinking() {\n return this._el.blinking;\n }\n \n @Input()\n set flashingSpeed(v: FlashingSpeed) {\n this._ngZone.runOutsideAngular(() => (this._el.flashingSpeed = v));\n }\n\n get flashingSpeed() {\n return this._el.flashingSpeed;\n }\n \n @Input()\n set flatMaxBreakpointPx(v: number) {\n this._ngZone.runOutsideAngular(() => (this._el.flatMaxBreakpointPx = v));\n }\n\n get flatMaxBreakpointPx() {\n return this._el.flatMaxBreakpointPx;\n }\n \n @Input()\n set silenceButtonMinBreakpointPx(v: number) {\n this._ngZone.runOutsideAngular(() => (this._el.silenceButtonMinBreakpointPx = v));\n }\n\n get silenceButtonMinBreakpointPx() {\n return this._el.silenceButtonMinBreakpointPx;\n }\n \n\n \n @Output()\n clickAlertEvent = new EventEmitter<CustomEvent<void>>();\n \n @Output()\n clickSilenceEvent = new EventEmitter<CustomEvent<void>>();\n \n}\n\n","/* eslint-disable import/extensions */\nexport * from \"./obc-alert-button\";","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;MAyBa,cAAc,CAAA;AACjB,IAAA,GAAG;AACH,IAAA,OAAO;IAEf,WAA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@ -4,6 +4,8 @@ import { AlertType, AlertCounts, FlashingSpeed } from '@oicl/openbridge-webcompo
|
|
|
4
4
|
export { AlertCounts, AlertType, FlashingSpeed } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
5
5
|
import { ObcAlertButtonType } from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';
|
|
6
6
|
export { ObcAlertButtonType } from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';
|
|
7
|
+
import { ObcAlertCounterItemType } from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';
|
|
8
|
+
export { ObcAlertCounterItemType } from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';
|
|
7
9
|
import { ObcAlertButton as ObcAlertButton$1 } from '@oicl/openbridge-webcomponents/dist/components/alert-button/alert-button.js';
|
|
8
10
|
|
|
9
11
|
declare class ObcAlertButton {
|
|
@@ -26,6 +28,8 @@ declare class ObcAlertButton {
|
|
|
26
28
|
get counter(): boolean;
|
|
27
29
|
set globalCounter(v: boolean);
|
|
28
30
|
get globalCounter(): boolean;
|
|
31
|
+
set globalCounterType(v: ObcAlertCounterItemType);
|
|
32
|
+
get globalCounterType(): ObcAlertCounterItemType;
|
|
29
33
|
set counts(v: AlertCounts);
|
|
30
34
|
get counts(): AlertCounts;
|
|
31
35
|
set shelvedCount(v: number);
|
|
@@ -41,7 +45,7 @@ declare class ObcAlertButton {
|
|
|
41
45
|
clickAlertEvent: EventEmitter<CustomEvent<void>>;
|
|
42
46
|
clickSilenceEvent: EventEmitter<CustomEvent<void>>;
|
|
43
47
|
static ɵfac: i0.ɵɵFactoryDeclaration<ObcAlertButton, never>;
|
|
44
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ObcAlertButton, "obc-alert-button", never, { "nAlerts": { "alias": "nAlerts"; "required": false; }; "alertType": { "alias": "alertType"; "required": false; }; "type": { "alias": "type"; "required": false; }; "large": { "alias": "large"; "required": false; }; "showSilenceButton": { "alias": "showSilenceButton"; "required": false; }; "silenceButtonDisabled": { "alias": "silenceButtonDisabled"; "required": false; }; "counter": { "alias": "counter"; "required": false; }; "globalCounter": { "alias": "globalCounter"; "required": false; }; "counts": { "alias": "counts"; "required": false; }; "shelvedCount": { "alias": "shelvedCount"; "required": false; }; "blinking": { "alias": "blinking"; "required": false; }; "flashingSpeed": { "alias": "flashingSpeed"; "required": false; }; "flatMaxBreakpointPx": { "alias": "flatMaxBreakpointPx"; "required": false; }; "silenceButtonMinBreakpointPx": { "alias": "silenceButtonMinBreakpointPx"; "required": false; }; }, { "clickAlertEvent": "clickAlertEvent"; "clickSilenceEvent": "clickSilenceEvent"; }, never, ["*"], true, never>;
|
|
48
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObcAlertButton, "obc-alert-button", never, { "nAlerts": { "alias": "nAlerts"; "required": false; }; "alertType": { "alias": "alertType"; "required": false; }; "type": { "alias": "type"; "required": false; }; "large": { "alias": "large"; "required": false; }; "showSilenceButton": { "alias": "showSilenceButton"; "required": false; }; "silenceButtonDisabled": { "alias": "silenceButtonDisabled"; "required": false; }; "counter": { "alias": "counter"; "required": false; }; "globalCounter": { "alias": "globalCounter"; "required": false; }; "globalCounterType": { "alias": "globalCounterType"; "required": false; }; "counts": { "alias": "counts"; "required": false; }; "shelvedCount": { "alias": "shelvedCount"; "required": false; }; "blinking": { "alias": "blinking"; "required": false; }; "flashingSpeed": { "alias": "flashingSpeed"; "required": false; }; "flatMaxBreakpointPx": { "alias": "flatMaxBreakpointPx"; "required": false; }; "silenceButtonMinBreakpointPx": { "alias": "silenceButtonMinBreakpointPx"; "required": false; }; }, { "clickAlertEvent": "clickAlertEvent"; "clickSilenceEvent": "clickSilenceEvent"; }, never, ["*"], true, never>;
|
|
45
49
|
}
|
|
46
50
|
|
|
47
51
|
export { ObcAlertButton };
|
|
@@ -4,6 +4,8 @@ import { ObcAlertButtonItem as ObcAlertButtonItem$1, ObcAlertButtonType } from '
|
|
|
4
4
|
export { ObcAlertButtonType } from '@oicl/openbridge-webcomponents/dist/components/alert-button-item/alert-button-item.js';
|
|
5
5
|
import { AlertType, AlertCounts, FlashingSpeed } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
6
6
|
export { AlertCounts, AlertType, FlashingSpeed } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
7
|
+
import { ObcAlertCounterItemType } from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';
|
|
8
|
+
export { ObcAlertCounterItemType } from '@oicl/openbridge-webcomponents/dist/components/alert-counter-item/alert-counter-item.js';
|
|
7
9
|
|
|
8
10
|
declare class ObcAlertButtonItem {
|
|
9
11
|
private _el;
|
|
@@ -19,6 +21,8 @@ declare class ObcAlertButtonItem {
|
|
|
19
21
|
get counter(): boolean;
|
|
20
22
|
set globalCounter(v: boolean);
|
|
21
23
|
get globalCounter(): boolean;
|
|
24
|
+
set globalCounterType(v: ObcAlertCounterItemType);
|
|
25
|
+
get globalCounterType(): ObcAlertCounterItemType;
|
|
22
26
|
set counts(v: AlertCounts);
|
|
23
27
|
get counts(): AlertCounts;
|
|
24
28
|
set shelvedCount(v: number);
|
|
@@ -33,7 +37,7 @@ declare class ObcAlertButtonItem {
|
|
|
33
37
|
get ariaLabel(): string | null;
|
|
34
38
|
clickEvent: EventEmitter<unknown>;
|
|
35
39
|
static ɵfac: i0.ɵɵFactoryDeclaration<ObcAlertButtonItem, never>;
|
|
36
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ObcAlertButtonItem, "obc-alert-button-item", never, { "type": { "alias": "type"; "required": false; }; "alertType": { "alias": "alertType"; "required": false; }; "nAlerts": { "alias": "nAlerts"; "required": false; }; "counter": { "alias": "counter"; "required": false; }; "globalCounter": { "alias": "globalCounter"; "required": false; }; "counts": { "alias": "counts"; "required": false; }; "shelvedCount": { "alias": "shelvedCount"; "required": false; }; "blinking": { "alias": "blinking"; "required": false; }; "flashingSpeed": { "alias": "flashingSpeed"; "required": false; }; "fillHeight": { "alias": "fillHeight"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, ["*"], true, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObcAlertButtonItem, "obc-alert-button-item", never, { "type": { "alias": "type"; "required": false; }; "alertType": { "alias": "alertType"; "required": false; }; "nAlerts": { "alias": "nAlerts"; "required": false; }; "counter": { "alias": "counter"; "required": false; }; "globalCounter": { "alias": "globalCounter"; "required": false; }; "globalCounterType": { "alias": "globalCounterType"; "required": false; }; "counts": { "alias": "counts"; "required": false; }; "shelvedCount": { "alias": "shelvedCount"; "required": false; }; "blinking": { "alias": "blinking"; "required": false; }; "flashingSpeed": { "alias": "flashingSpeed"; "required": false; }; "fillHeight": { "alias": "fillHeight"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "clickEvent": "clickEvent"; }, never, ["*"], true, never>;
|
|
37
41
|
}
|
|
38
42
|
|
|
39
43
|
export { ObcAlertButtonItem };
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oicl/openbridge-webcomponents-ng",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.2.0-next.
|
|
4
|
+
"version": "2.2.0-next.3",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@oicl/openbridge-webcomponents": "^2.2.0-next.
|
|
6
|
+
"@oicl/openbridge-webcomponents": "^2.2.0-next.3",
|
|
7
7
|
"tslib": "^2.8.1"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|