@oicl/openbridge-webcomponents-ng 2.0.0-next.136 → 2.0.0-next.137
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-hydraulic-check-valve.mjs +48 -0
- package/fesm2022/oicl-openbridge-webcomponents-ng-obc-hydraulic-check-valve.mjs.map +1 -0
- package/fesm2022/oicl-openbridge-webcomponents-ng-obc-hydraulic-valve-4-3.mjs +56 -0
- package/fesm2022/oicl-openbridge-webcomponents-ng-obc-hydraulic-valve-4-3.mjs.map +1 -0
- package/fesm2022/oicl-openbridge-webcomponents-ng-obc-hydraulic-valve-x-2.mjs +56 -0
- package/fesm2022/oicl-openbridge-webcomponents-ng-obc-hydraulic-valve-x-2.mjs.map +1 -0
- package/obc-hydraulic-check-valve/index.d.ts +17 -0
- package/obc-hydraulic-valve-4-3/index.d.ts +19 -0
- package/obc-hydraulic-valve-x-2/index.d.ts +19 -0
- package/package.json +14 -2
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Component } from '@angular/core';
|
|
3
|
+
import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-check-valve/hydraulic-check-valve.js';
|
|
4
|
+
|
|
5
|
+
class ObcHydraulicCheckValve {
|
|
6
|
+
_el;
|
|
7
|
+
_ngZone;
|
|
8
|
+
constructor(e, ngZone) {
|
|
9
|
+
this._el = e.nativeElement;
|
|
10
|
+
this._ngZone = ngZone;
|
|
11
|
+
}
|
|
12
|
+
set ariaLabel(v) {
|
|
13
|
+
this._ngZone.runOutsideAngular(() => (this._el.ariaLabel = v));
|
|
14
|
+
}
|
|
15
|
+
get ariaLabel() {
|
|
16
|
+
return this._el.ariaLabel;
|
|
17
|
+
}
|
|
18
|
+
set vertical(v) {
|
|
19
|
+
this._ngZone.runOutsideAngular(() => (this._el.vertical = v));
|
|
20
|
+
}
|
|
21
|
+
get vertical() {
|
|
22
|
+
return this._el.vertical;
|
|
23
|
+
}
|
|
24
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ObcHydraulicCheckValve, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
25
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: ObcHydraulicCheckValve, isStandalone: true, selector: "obc-hydraulic-check-valve", inputs: { ariaLabel: "ariaLabel", vertical: "vertical" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
26
|
+
}
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ObcHydraulicCheckValve, decorators: [{
|
|
28
|
+
type: Component,
|
|
29
|
+
args: [{
|
|
30
|
+
selector: 'obc-hydraulic-check-valve',
|
|
31
|
+
template: '<ng-content></ng-content>',
|
|
32
|
+
standalone: true,
|
|
33
|
+
imports: []
|
|
34
|
+
}]
|
|
35
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { ariaLabel: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], vertical: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}] } });
|
|
40
|
+
|
|
41
|
+
/* eslint-disable import/extensions */
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Generated bundle index. Do not edit.
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
export { ObcHydraulicCheckValve };
|
|
48
|
+
//# sourceMappingURL=oicl-openbridge-webcomponents-ng-obc-hydraulic-check-valve.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oicl-openbridge-webcomponents-ng-obc-hydraulic-check-valve.mjs","sources":["../../obc-hydraulic-check-valve/src/obc-hydraulic-check-valve.ts","../../obc-hydraulic-check-valve/src/public-api.ts","../../obc-hydraulic-check-valve/src/oicl-openbridge-webcomponents-ng-obc-hydraulic-check-valve.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n NgZone,\n Input\n\n} from '@angular/core';\n\n\nimport type {ObcHydraulicCheckValve as ObcHydraulicCheckValveElement} from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-check-valve/hydraulic-check-valve.js';\nimport '@oicl/openbridge-webcomponents/dist/automation/hydraulic-check-valve/hydraulic-check-valve.js';\n\n@Component({\n selector: 'obc-hydraulic-check-valve',\n template: '<ng-content></ng-content>',\n standalone: true,\n imports: []\n})\nexport class ObcHydraulicCheckValve {\n private _el: ObcHydraulicCheckValveElement;\n private _ngZone: NgZone;\n\n constructor(\n e: ElementRef<ObcHydraulicCheckValveElement>,\n ngZone: NgZone\n ) {\n this._el = e.nativeElement;\n this._ngZone = ngZone;\n \n }\n\n \n @Input()\n set ariaLabel(v: string) {\n this._ngZone.runOutsideAngular(() => (this._el.ariaLabel = v));\n }\n\n get ariaLabel() {\n return this._el.ariaLabel;\n }\n \n @Input()\n set vertical(v: boolean) {\n this._ngZone.runOutsideAngular(() => (this._el.vertical = v));\n }\n\n get vertical() {\n return this._el.vertical;\n }\n \n\n \n}\n\n","/* eslint-disable import/extensions */\nexport * from \"./obc-hydraulic-check-valve\";","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAkBa,sBAAsB,CAAA;AACzB,IAAA,GAAG;AACH,IAAA,OAAO;IAEf,WAAA,CACE,CAA4C,EAC5C,MAAc,EAAA;AAEd,QAAA,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,aAAa;AAC1B,QAAA,IAAI,CAAC,OAAO,GAAG,MAAM;IAEvB;IAGA,IACI,SAAS,CAAC,CAAS,EAAA;AACrB,QAAA,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC;IAChE;AAEA,IAAA,IAAI,SAAS,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS;IAC3B;IAEA,IACI,QAAQ,CAAC,CAAU,EAAA;AACrB,QAAA,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ,GAAG,CAAC,CAAC,CAAC;IAC/D;AAEA,IAAA,IAAI,QAAQ,GAAA;AACV,QAAA,OAAO,IAAI,CAAC,GAAG,CAAC,QAAQ;IAC1B;wGA9BW,sBAAsB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,MAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAtB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,sBAAsB,+IAJvB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAI1B,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBANlC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE;AACV,iBAAA;;sBAeE;;sBASA;;;ACzCH;;ACAA;;AAEG;;;;"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Output, Input, Component } from '@angular/core';
|
|
3
|
+
import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-4-3/hydraulic-valve-4-3.js';
|
|
4
|
+
|
|
5
|
+
class ObcHydraulicValve43 {
|
|
6
|
+
_el;
|
|
7
|
+
_ngZone;
|
|
8
|
+
constructor(e, ngZone) {
|
|
9
|
+
this._el = e.nativeElement;
|
|
10
|
+
this._ngZone = ngZone;
|
|
11
|
+
this._el.addEventListener('position-selected', (e) => {
|
|
12
|
+
// TODO(justinfagnani): we need to let the element say how to get a value
|
|
13
|
+
// from an event, ex: e.value
|
|
14
|
+
this.positionSelectedEvent.emit(e);
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
set type(v) {
|
|
18
|
+
this._ngZone.runOutsideAngular(() => (this._el.type = v));
|
|
19
|
+
}
|
|
20
|
+
get type() {
|
|
21
|
+
return this._el.type;
|
|
22
|
+
}
|
|
23
|
+
set ariaLabel(v) {
|
|
24
|
+
this._ngZone.runOutsideAngular(() => (this._el.ariaLabel = v));
|
|
25
|
+
}
|
|
26
|
+
get ariaLabel() {
|
|
27
|
+
return this._el.ariaLabel;
|
|
28
|
+
}
|
|
29
|
+
positionSelectedEvent = new EventEmitter();
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ObcHydraulicValve43, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: ObcHydraulicValve43, isStandalone: true, selector: "obc-hydraulic-valve-4-3", inputs: { type: "type", ariaLabel: "ariaLabel" }, outputs: { positionSelectedEvent: "positionSelectedEvent" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ObcHydraulicValve43, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{
|
|
36
|
+
selector: 'obc-hydraulic-valve-4-3',
|
|
37
|
+
template: '<ng-content></ng-content>',
|
|
38
|
+
standalone: true,
|
|
39
|
+
imports: []
|
|
40
|
+
}]
|
|
41
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { type: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], ariaLabel: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}], positionSelectedEvent: [{
|
|
46
|
+
type: Output
|
|
47
|
+
}] } });
|
|
48
|
+
|
|
49
|
+
/* eslint-disable import/extensions */
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Generated bundle index. Do not edit.
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
export { ObcHydraulicValve43 };
|
|
56
|
+
//# sourceMappingURL=oicl-openbridge-webcomponents-ng-obc-hydraulic-valve-4-3.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oicl-openbridge-webcomponents-ng-obc-hydraulic-valve-4-3.mjs","sources":["../../obc-hydraulic-valve-4-3/src/obc-hydraulic-valve-4-3.ts","../../obc-hydraulic-valve-4-3/src/public-api.ts","../../obc-hydraulic-valve-4-3/src/oicl-openbridge-webcomponents-ng-obc-hydraulic-valve-4-3.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n NgZone,\n Input,\n EventEmitter,\n Output\n\n} from '@angular/core';\nimport {PositionSelectedDetail, HydraulicValve43Type} from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-4-3/hydraulic-valve-4-3.js';\nexport type {PositionSelectedDetail, HydraulicValve43Type} from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-4-3/hydraulic-valve-4-3.js';\nimport type {ObcHydraulicValve43 as ObcHydraulicValve43Element} from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-4-3/hydraulic-valve-4-3.js';\nimport '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-4-3/hydraulic-valve-4-3.js';\n\n@Component({\n selector: 'obc-hydraulic-valve-4-3',\n template: '<ng-content></ng-content>',\n standalone: true,\n imports: []\n})\nexport class ObcHydraulicValve43 {\n private _el: ObcHydraulicValve43Element;\n private _ngZone: NgZone;\n\n constructor(\n e: ElementRef<ObcHydraulicValve43Element>,\n ngZone: NgZone\n ) {\n this._el = e.nativeElement;\n this._ngZone = ngZone;\n \n this._el.addEventListener('position-selected', (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.positionSelectedEvent.emit(e as CustomEvent<PositionSelectedDetail>);\n });\n \n }\n\n \n @Input()\n set type(v: HydraulicValve43Type) {\n this._ngZone.runOutsideAngular(() => (this._el.type = v));\n }\n\n get type() {\n return this._el.type;\n }\n \n @Input()\n set ariaLabel(v: string) {\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 positionSelectedEvent = new EventEmitter<CustomEvent<PositionSelectedDetail>>();\n \n}\n\n","/* eslint-disable import/extensions */\nexport * from \"./obc-hydraulic-valve-4-3\";","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAoBa,mBAAmB,CAAA;AACtB,IAAA,GAAG;AACH,IAAA,OAAO;IAEf,WAAA,CACE,CAAyC,EACzC,MAAc,EAAA;AAEd,QAAA,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,aAAa;AAC1B,QAAA,IAAI,CAAC,OAAO,GAAG,MAAM;QAErB,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,CAAC,CAAQ,KAAI;;;AAG1D,YAAA,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAwC,CAAC;AAC3E,QAAA,CAAC,CAAC;IAEJ;IAGA,IACI,IAAI,CAAC,CAAuB,EAAA;AAC9B,QAAA,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;IAC3D;AAEA,IAAA,IAAI,IAAI,GAAA;AACN,QAAA,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI;IACtB;IAEA,IACI,SAAS,CAAC,CAAS,EAAA;AACrB,QAAA,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC;IAChE;AAEA,IAAA,IAAI,SAAS,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS;IAC3B;AAKA,IAAA,qBAAqB,GAAG,IAAI,YAAY,EAAuC;wGAzCpE,mBAAmB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,MAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,kMAJpB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAI1B,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE;AACV,iBAAA;;sBAqBE;;sBASA;;sBAWA;;;AC5DH;;ACAA;;AAEG;;;;"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter, Output, Input, Component } from '@angular/core';
|
|
3
|
+
import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-x-2/hydraulic-valve-x-2.js';
|
|
4
|
+
|
|
5
|
+
class ObcHydraulicValveX2 {
|
|
6
|
+
_el;
|
|
7
|
+
_ngZone;
|
|
8
|
+
constructor(e, ngZone) {
|
|
9
|
+
this._el = e.nativeElement;
|
|
10
|
+
this._ngZone = ngZone;
|
|
11
|
+
this._el.addEventListener('position-selected', (e) => {
|
|
12
|
+
// TODO(justinfagnani): we need to let the element say how to get a value
|
|
13
|
+
// from an event, ex: e.value
|
|
14
|
+
this.positionSelectedEvent.emit(e);
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
set type(v) {
|
|
18
|
+
this._ngZone.runOutsideAngular(() => (this._el.type = v));
|
|
19
|
+
}
|
|
20
|
+
get type() {
|
|
21
|
+
return this._el.type;
|
|
22
|
+
}
|
|
23
|
+
set ariaLabel(v) {
|
|
24
|
+
this._ngZone.runOutsideAngular(() => (this._el.ariaLabel = v));
|
|
25
|
+
}
|
|
26
|
+
get ariaLabel() {
|
|
27
|
+
return this._el.ariaLabel;
|
|
28
|
+
}
|
|
29
|
+
positionSelectedEvent = new EventEmitter();
|
|
30
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ObcHydraulicValveX2, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.19", type: ObcHydraulicValveX2, isStandalone: true, selector: "obc-hydraulic-valve-x-2", inputs: { type: "type", ariaLabel: "ariaLabel" }, outputs: { positionSelectedEvent: "positionSelectedEvent" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
|
32
|
+
}
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.19", ngImport: i0, type: ObcHydraulicValveX2, decorators: [{
|
|
34
|
+
type: Component,
|
|
35
|
+
args: [{
|
|
36
|
+
selector: 'obc-hydraulic-valve-x-2',
|
|
37
|
+
template: '<ng-content></ng-content>',
|
|
38
|
+
standalone: true,
|
|
39
|
+
imports: []
|
|
40
|
+
}]
|
|
41
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { type: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], ariaLabel: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}], positionSelectedEvent: [{
|
|
46
|
+
type: Output
|
|
47
|
+
}] } });
|
|
48
|
+
|
|
49
|
+
/* eslint-disable import/extensions */
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Generated bundle index. Do not edit.
|
|
53
|
+
*/
|
|
54
|
+
|
|
55
|
+
export { ObcHydraulicValveX2 };
|
|
56
|
+
//# sourceMappingURL=oicl-openbridge-webcomponents-ng-obc-hydraulic-valve-x-2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"oicl-openbridge-webcomponents-ng-obc-hydraulic-valve-x-2.mjs","sources":["../../obc-hydraulic-valve-x-2/src/obc-hydraulic-valve-x-2.ts","../../obc-hydraulic-valve-x-2/src/public-api.ts","../../obc-hydraulic-valve-x-2/src/oicl-openbridge-webcomponents-ng-obc-hydraulic-valve-x-2.ts"],"sourcesContent":["import {\n Component,\n ElementRef,\n NgZone,\n Input,\n EventEmitter,\n Output\n\n} from '@angular/core';\nimport {PositionSelectedDetail, HydraulicValveX2Type} from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-x-2/hydraulic-valve-x-2.js';\nexport type {PositionSelectedDetail, HydraulicValveX2Type} from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-x-2/hydraulic-valve-x-2.js';\nimport type {ObcHydraulicValveX2 as ObcHydraulicValveX2Element} from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-x-2/hydraulic-valve-x-2.js';\nimport '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-x-2/hydraulic-valve-x-2.js';\n\n@Component({\n selector: 'obc-hydraulic-valve-x-2',\n template: '<ng-content></ng-content>',\n standalone: true,\n imports: []\n})\nexport class ObcHydraulicValveX2 {\n private _el: ObcHydraulicValveX2Element;\n private _ngZone: NgZone;\n\n constructor(\n e: ElementRef<ObcHydraulicValveX2Element>,\n ngZone: NgZone\n ) {\n this._el = e.nativeElement;\n this._ngZone = ngZone;\n \n this._el.addEventListener('position-selected', (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.positionSelectedEvent.emit(e as CustomEvent<PositionSelectedDetail>);\n });\n \n }\n\n \n @Input()\n set type(v: HydraulicValveX2Type) {\n this._ngZone.runOutsideAngular(() => (this._el.type = v));\n }\n\n get type() {\n return this._el.type;\n }\n \n @Input()\n set ariaLabel(v: string) {\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 positionSelectedEvent = new EventEmitter<CustomEvent<PositionSelectedDetail>>();\n \n}\n\n","/* eslint-disable import/extensions */\nexport * from \"./obc-hydraulic-valve-x-2\";","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;MAoBa,mBAAmB,CAAA;AACtB,IAAA,GAAG;AACH,IAAA,OAAO;IAEf,WAAA,CACE,CAAyC,EACzC,MAAc,EAAA;AAEd,QAAA,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,aAAa;AAC1B,QAAA,IAAI,CAAC,OAAO,GAAG,MAAM;QAErB,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,mBAAmB,EAAE,CAAC,CAAQ,KAAI;;;AAG1D,YAAA,IAAI,CAAC,qBAAqB,CAAC,IAAI,CAAC,CAAwC,CAAC;AAC3E,QAAA,CAAC,CAAC;IAEJ;IAGA,IACI,IAAI,CAAC,CAAuB,EAAA;AAC9B,QAAA,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC,CAAC;IAC3D;AAEA,IAAA,IAAI,IAAI,GAAA;AACN,QAAA,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI;IACtB;IAEA,IACI,SAAS,CAAC,CAAS,EAAA;AACrB,QAAA,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS,GAAG,CAAC,CAAC,CAAC;IAChE;AAEA,IAAA,IAAI,SAAS,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,GAAG,CAAC,SAAS;IAC3B;AAKA,IAAA,qBAAqB,GAAG,IAAI,YAAY,EAAuC;wGAzCpE,mBAAmB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,MAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mBAAmB,kMAJpB,2BAA2B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;4FAI1B,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAN/B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,yBAAyB;AACnC,oBAAA,QAAQ,EAAE,2BAA2B;AACrC,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,OAAO,EAAE;AACV,iBAAA;;sBAqBE;;sBASA;;sBAWA;;;AC5DH;;ACAA;;AAEG;;;;"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, NgZone } from '@angular/core';
|
|
3
|
+
import { ObcHydraulicCheckValve as ObcHydraulicCheckValve$1 } from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-check-valve/hydraulic-check-valve.js';
|
|
4
|
+
|
|
5
|
+
declare class ObcHydraulicCheckValve {
|
|
6
|
+
private _el;
|
|
7
|
+
private _ngZone;
|
|
8
|
+
constructor(e: ElementRef<ObcHydraulicCheckValve$1>, ngZone: NgZone);
|
|
9
|
+
set ariaLabel(v: string);
|
|
10
|
+
get ariaLabel(): string;
|
|
11
|
+
set vertical(v: boolean);
|
|
12
|
+
get vertical(): boolean;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObcHydraulicCheckValve, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObcHydraulicCheckValve, "obc-hydraulic-check-valve", never, { "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { ObcHydraulicCheckValve };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, NgZone, EventEmitter } from '@angular/core';
|
|
3
|
+
import { ObcHydraulicValve43 as ObcHydraulicValve43$1, HydraulicValve43Type, PositionSelectedDetail } from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-4-3/hydraulic-valve-4-3.js';
|
|
4
|
+
export { HydraulicValve43Type, PositionSelectedDetail } from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-4-3/hydraulic-valve-4-3.js';
|
|
5
|
+
|
|
6
|
+
declare class ObcHydraulicValve43 {
|
|
7
|
+
private _el;
|
|
8
|
+
private _ngZone;
|
|
9
|
+
constructor(e: ElementRef<ObcHydraulicValve43$1>, ngZone: NgZone);
|
|
10
|
+
set type(v: HydraulicValve43Type);
|
|
11
|
+
get type(): HydraulicValve43Type;
|
|
12
|
+
set ariaLabel(v: string);
|
|
13
|
+
get ariaLabel(): string;
|
|
14
|
+
positionSelectedEvent: EventEmitter<CustomEvent<PositionSelectedDetail>>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObcHydraulicValve43, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObcHydraulicValve43, "obc-hydraulic-valve-4-3", never, { "type": { "alias": "type"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "positionSelectedEvent": "positionSelectedEvent"; }, never, ["*"], true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { ObcHydraulicValve43 };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { ElementRef, NgZone, EventEmitter } from '@angular/core';
|
|
3
|
+
import { ObcHydraulicValveX2 as ObcHydraulicValveX2$1, HydraulicValveX2Type, PositionSelectedDetail } from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-x-2/hydraulic-valve-x-2.js';
|
|
4
|
+
export { HydraulicValveX2Type, PositionSelectedDetail } from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-x-2/hydraulic-valve-x-2.js';
|
|
5
|
+
|
|
6
|
+
declare class ObcHydraulicValveX2 {
|
|
7
|
+
private _el;
|
|
8
|
+
private _ngZone;
|
|
9
|
+
constructor(e: ElementRef<ObcHydraulicValveX2$1>, ngZone: NgZone);
|
|
10
|
+
set type(v: HydraulicValveX2Type);
|
|
11
|
+
get type(): HydraulicValveX2Type;
|
|
12
|
+
set ariaLabel(v: string);
|
|
13
|
+
get ariaLabel(): string;
|
|
14
|
+
positionSelectedEvent: EventEmitter<CustomEvent<PositionSelectedDetail>>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ObcHydraulicValveX2, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ObcHydraulicValveX2, "obc-hydraulic-valve-x-2", never, { "type": { "alias": "type"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "positionSelectedEvent": "positionSelectedEvent"; }, never, ["*"], true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { ObcHydraulicValveX2 };
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oicl/openbridge-webcomponents-ng",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.0-next.
|
|
4
|
+
"version": "2.0.0-next.137",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
6
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.137",
|
|
7
7
|
"tslib": "^2.8.1"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
@@ -462,10 +462,22 @@
|
|
|
462
462
|
"types": "./obc-horizontal-line/index.d.ts",
|
|
463
463
|
"default": "./fesm2022/oicl-openbridge-webcomponents-ng-obc-horizontal-line.mjs"
|
|
464
464
|
},
|
|
465
|
+
"./obc-hydraulic-check-valve": {
|
|
466
|
+
"types": "./obc-hydraulic-check-valve/index.d.ts",
|
|
467
|
+
"default": "./fesm2022/oicl-openbridge-webcomponents-ng-obc-hydraulic-check-valve.mjs"
|
|
468
|
+
},
|
|
465
469
|
"./obc-hydraulic-separator": {
|
|
466
470
|
"types": "./obc-hydraulic-separator/index.d.ts",
|
|
467
471
|
"default": "./fesm2022/oicl-openbridge-webcomponents-ng-obc-hydraulic-separator.mjs"
|
|
468
472
|
},
|
|
473
|
+
"./obc-hydraulic-valve-4-3": {
|
|
474
|
+
"types": "./obc-hydraulic-valve-4-3/index.d.ts",
|
|
475
|
+
"default": "./fesm2022/oicl-openbridge-webcomponents-ng-obc-hydraulic-valve-4-3.mjs"
|
|
476
|
+
},
|
|
477
|
+
"./obc-hydraulic-valve-x-2": {
|
|
478
|
+
"types": "./obc-hydraulic-valve-x-2/index.d.ts",
|
|
479
|
+
"default": "./fesm2022/oicl-openbridge-webcomponents-ng-obc-hydraulic-valve-x-2.mjs"
|
|
480
|
+
},
|
|
469
481
|
"./obc-icon-button": {
|
|
470
482
|
"types": "./obc-icon-button/index.d.ts",
|
|
471
483
|
"default": "./fesm2022/oicl-openbridge-webcomponents-ng-obc-icon-button.mjs"
|