@oicl/openbridge-webcomponents-react 2.0.0-next.50 → 2.0.0-next.52

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.
@@ -0,0 +1,13 @@
1
+ import { EventName } from '@lit/react';
2
+ import { ObcIntegrationBar as ObcIntegrationBarElement } from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-bar/integration-bar.js';
3
+ export declare const ObcIntegrationBar: import("@lit/react").ReactWebComponent<ObcIntegrationBarElement, {
4
+ onFleetButtonClick: EventName<CustomEvent<unknown>>;
5
+ onLinkButtonClicked: EventName<CustomEvent<unknown>>;
6
+ onAlertButtonClicked: EventName<CustomEvent<unknown>>;
7
+ onNotificationButtonClicked: EventName<CustomEvent<unknown>>;
8
+ onScreenButtonClicked: EventName<CustomEvent<unknown>>;
9
+ onSystemButtonClicked: EventName<CustomEvent<unknown>>;
10
+ onDimmingButtonClicked: EventName<CustomEvent<unknown>>;
11
+ onUserButtonClicked: EventName<CustomEvent<unknown>>;
12
+ }>;
13
+ //# sourceMappingURL=integration-bar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration-bar.d.ts","sourceRoot":"","sources":["../../src/integration-systems/integration-bar/integration-bar.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,iBAAiB,IAAI,wBAAwB,EAAC,MAAM,4FAA4F,CAAC;AAMzJ,eAAO,MAAM,iBAAiB;wBAMkB,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;yBAC7B,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;0BAC7B,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;iCACjB,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;2BAC3C,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;2BAC/B,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;4BAC7B,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;yBACrC,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;EAE9E,CAAC"}
@@ -0,0 +1,19 @@
1
+ import * as React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { ObcIntegrationBar as ObcIntegrationBarElement } from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-bar/integration-bar.js';
4
+ export const ObcIntegrationBar = createComponent({
5
+ react: React,
6
+ tagName: 'obc-integration-bar',
7
+ elementClass: ObcIntegrationBarElement,
8
+ events: {
9
+ onFleetButtonClick: 'fleet-button-click',
10
+ onLinkButtonClicked: 'link-button-clicked',
11
+ onAlertButtonClicked: 'alert-button-clicked',
12
+ onNotificationButtonClicked: 'notification-button-clicked',
13
+ onScreenButtonClicked: 'screen-button-clicked',
14
+ onSystemButtonClicked: 'system-button-clicked',
15
+ onDimmingButtonClicked: 'dimming-button-clicked',
16
+ onUserButtonClicked: 'user-button-clicked',
17
+ }
18
+ });
19
+ //# sourceMappingURL=integration-bar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration-bar.js","sourceRoot":"","sources":["../../src/integration-systems/integration-bar/integration-bar.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,iBAAiB,IAAI,wBAAwB,EAAC,MAAM,4FAA4F,CAAC;AAMzJ,MAAM,CAAC,MAAM,iBAAiB,GAAG,eAAe,CAAC;IAC/C,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,qBAAqB;IAC9B,YAAY,EAAE,wBAAwB;IACtC,MAAM,EAAE;QAEN,kBAAkB,EAAE,oBAAuD;QAC3E,mBAAmB,EAAE,qBAAwD;QAC7E,oBAAoB,EAAE,sBAAyD;QAC/E,2BAA2B,EAAE,6BAAgE;QAC7F,qBAAqB,EAAE,uBAA0D;QACjF,qBAAqB,EAAE,uBAA0D;QACjF,sBAAsB,EAAE,wBAA2D;QACnF,mBAAmB,EAAE,qBAAwD;KAC9E;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcIntegrationBar as ObcIntegrationBarElement} from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-bar/integration-bar.js';\n \n \n \n\n \n export const ObcIntegrationBar = createComponent({\n react: React,\n tagName: 'obc-integration-bar',\n elementClass: ObcIntegrationBarElement,\n events: {\n \n onFleetButtonClick: 'fleet-button-click' as EventName<CustomEvent<unknown>>,\n onLinkButtonClicked: 'link-button-clicked' as EventName<CustomEvent<unknown>>,\n onAlertButtonClicked: 'alert-button-clicked' as EventName<CustomEvent<unknown>>,\n onNotificationButtonClicked: 'notification-button-clicked' as EventName<CustomEvent<unknown>>,\n onScreenButtonClicked: 'screen-button-clicked' as EventName<CustomEvent<unknown>>,\n onSystemButtonClicked: 'system-button-clicked' as EventName<CustomEvent<unknown>>,\n onDimmingButtonClicked: 'dimming-button-clicked' as EventName<CustomEvent<unknown>>,\n onUserButtonClicked: 'user-button-clicked' as EventName<CustomEvent<unknown>>,\n }\n });\n \n "]}
@@ -1,3 +1,6 @@
1
+ import { EventName } from '@lit/react';
1
2
  import { ObcIntegrationButton as ObcIntegrationButtonElement } from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-button/integration-button.js';
2
- export declare const ObcIntegrationButton: import("@lit/react").ReactWebComponent<ObcIntegrationButtonElement, {}>;
3
+ export declare const ObcIntegrationButton: import("@lit/react").ReactWebComponent<ObcIntegrationButtonElement, {
4
+ onClick: EventName<CustomEvent<unknown>>;
5
+ }>;
3
6
  //# sourceMappingURL=integration-button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"integration-button.d.ts","sourceRoot":"","sources":["../../src/integration-systems/integration-button/integration-button.ts"],"names":[],"mappings":"AAIC,OAAO,EAAC,oBAAoB,IAAI,2BAA2B,EAAC,MAAM,kGAAkG,CAAC;AAMrK,eAAO,MAAM,oBAAoB,yEAO9B,CAAC"}
1
+ {"version":3,"file":"integration-button.d.ts","sourceRoot":"","sources":["../../src/integration-systems/integration-button/integration-button.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,oBAAoB,IAAI,2BAA2B,EAAC,MAAM,kGAAkG,CAAC;AAMrK,eAAO,MAAM,oBAAoB;aAMT,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;EAEpD,CAAC"}
@@ -5,6 +5,8 @@ export const ObcIntegrationButton = createComponent({
5
5
  react: React,
6
6
  tagName: 'obc-integration-button',
7
7
  elementClass: ObcIntegrationButtonElement,
8
- events: {}
8
+ events: {
9
+ onClick: 'click',
10
+ }
9
11
  });
10
12
  //# sourceMappingURL=integration-button.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"integration-button.js","sourceRoot":"","sources":["../../src/integration-systems/integration-button/integration-button.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAE3C,OAAO,EAAC,oBAAoB,IAAI,2BAA2B,EAAC,MAAM,kGAAkG,CAAC;AAMrK,MAAM,CAAC,MAAM,oBAAoB,GAAG,eAAe,CAAC;IAClD,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,wBAAwB;IACjC,YAAY,EAAE,2BAA2B;IACzC,MAAM,EAAE,EAEP;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent} from '@lit/react';\n \n import {ObcIntegrationButton as ObcIntegrationButtonElement} from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-button/integration-button.js';\n \n \n \n\n \n export const ObcIntegrationButton = createComponent({\n react: React,\n tagName: 'obc-integration-button',\n elementClass: ObcIntegrationButtonElement,\n events: {\n \n }\n });\n \n "]}
1
+ {"version":3,"file":"integration-button.js","sourceRoot":"","sources":["../../src/integration-systems/integration-button/integration-button.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,oBAAoB,IAAI,2BAA2B,EAAC,MAAM,kGAAkG,CAAC;AAMrK,MAAM,CAAC,MAAM,oBAAoB,GAAG,eAAe,CAAC;IAClD,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,wBAAwB;IACjC,YAAY,EAAE,2BAA2B;IACzC,MAAM,EAAE;QAEN,OAAO,EAAE,OAA0C;KACpD;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcIntegrationButton as ObcIntegrationButtonElement} from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-button/integration-button.js';\n \n \n \n\n \n export const ObcIntegrationButton = createComponent({\n react: React,\n tagName: 'obc-integration-button',\n elementClass: ObcIntegrationButtonElement,\n events: {\n \n onClick: 'click' as EventName<CustomEvent<unknown>>,\n }\n });\n \n "]}
@@ -0,0 +1,8 @@
1
+ import { EventName } from '@lit/react';
2
+ import { ObcIntegrationVesselMenu as ObcIntegrationVesselMenuElement } from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.js';
3
+ export declare const ObcIntegrationVesselMenu: import("@lit/react").ReactWebComponent<ObcIntegrationVesselMenuElement, {
4
+ onButton1Click: EventName<CustomEvent<unknown>>;
5
+ onButton2Click: EventName<CustomEvent<unknown>>;
6
+ onButton3Click: EventName<CustomEvent<unknown>>;
7
+ }>;
8
+ //# sourceMappingURL=integration-vessel-menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration-vessel-menu.d.ts","sourceRoot":"","sources":["../../src/integration-systems/integration-vessel-menu/integration-vessel-menu.ts"],"names":[],"mappings":"AAEC,OAAO,EAAkB,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,wBAAwB,IAAI,+BAA+B,EAAC,MAAM,4GAA4G,CAAC;AAMvL,eAAO,MAAM,wBAAwB;oBAME,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;oBAC/B,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;oBAC/B,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;EAEnE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import * as React from 'react';
2
+ import { createComponent } from '@lit/react';
3
+ import { ObcIntegrationVesselMenu as ObcIntegrationVesselMenuElement } from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.js';
4
+ export const ObcIntegrationVesselMenu = createComponent({
5
+ react: React,
6
+ tagName: 'obc-integration-vessel-menu',
7
+ elementClass: ObcIntegrationVesselMenuElement,
8
+ events: {
9
+ onButton1Click: 'button1-click',
10
+ onButton2Click: 'button2-click',
11
+ onButton3Click: 'button3-click',
12
+ }
13
+ });
14
+ //# sourceMappingURL=integration-vessel-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integration-vessel-menu.js","sourceRoot":"","sources":["../../src/integration-systems/integration-vessel-menu/integration-vessel-menu.ts"],"names":[],"mappings":"AACC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AAEtD,OAAO,EAAC,wBAAwB,IAAI,+BAA+B,EAAC,MAAM,4GAA4G,CAAC;AAMvL,MAAM,CAAC,MAAM,wBAAwB,GAAG,eAAe,CAAC;IACtD,KAAK,EAAE,KAAK;IACZ,OAAO,EAAE,6BAA6B;IACtC,YAAY,EAAE,+BAA+B;IAC7C,MAAM,EAAE;QAEN,cAAc,EAAE,eAAkD;QAClE,cAAc,EAAE,eAAkD;QAClE,cAAc,EAAE,eAAkD;KACnE;CACD,CAAC,CAAC","sourcesContent":["\n import * as React from 'react';\n import {createComponent, EventName} from '@lit/react';\n \n import {ObcIntegrationVesselMenu as ObcIntegrationVesselMenuElement} from '@oicl/openbridge-webcomponents/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.js';\n \n \n \n\n \n export const ObcIntegrationVesselMenu = createComponent({\n react: React,\n tagName: 'obc-integration-vessel-menu',\n elementClass: ObcIntegrationVesselMenuElement,\n events: {\n \n onButton1Click: 'button1-click' as EventName<CustomEvent<unknown>>,\n onButton2Click: 'button2-click' as EventName<CustomEvent<unknown>>,\n onButton3Click: 'button3-click' as EventName<CustomEvent<unknown>>,\n }\n });\n \n "]}
package/package.json CHANGED
@@ -5,9 +5,9 @@
5
5
  "build": "tsc",
6
6
  "build:watch": "tsc --watch"
7
7
  },
8
- "version": "2.0.0-next.50",
8
+ "version": "2.0.0-next.52",
9
9
  "dependencies": {
10
- "@oicl/openbridge-webcomponents": "^2.0.0-next.49",
10
+ "@oicl/openbridge-webcomponents": "^2.0.0-next.51",
11
11
  "@lit/react": "^1.0.0"
12
12
  },
13
13
  "peerDependencies": {
@@ -2178,11 +2178,13 @@
2178
2178
  "icons/icon-yaw.{js,js.map,d.ts,d.ts.map}",
2179
2179
  "icons/icon.{js,js.map,d.ts,d.ts.map}",
2180
2180
  "integration-systems/integration-app-bar/integration-app-bar.{js,js.map,d.ts,d.ts.map}",
2181
+ "integration-systems/integration-bar/integration-bar.{js,js.map,d.ts,d.ts.map}",
2181
2182
  "integration-systems/integration-bar-dropdown/integration-bar-dropdown.{js,js.map,d.ts,d.ts.map}",
2182
2183
  "integration-systems/integration-button/integration-button.{js,js.map,d.ts,d.ts.map}",
2183
2184
  "integration-systems/integration-dropdown-button/integration-dropdown-button.{js,js.map,d.ts,d.ts.map}",
2184
2185
  "integration-systems/integration-fleet-button/integration-fleet-button.{js,js.map,d.ts,d.ts.map}",
2185
2186
  "integration-systems/integration-tabs/integration-tabs.{js,js.map,d.ts,d.ts.map}",
2187
+ "integration-systems/integration-vessel-menu/integration-vessel-menu.{js,js.map,d.ts,d.ts.map}",
2186
2188
  "integration-systems/integration-vessel-selector/integration-vessel-selector.{js,js.map,d.ts,d.ts.map}",
2187
2189
  "navigation-instruments/azimuth-thruster/azimuth-thruster.{js,js.map,d.ts,d.ts.map}",
2188
2190
  "navigation-instruments/azimuth-thruster-labeled/azimuth-thruster-labeled.{js,js.map,d.ts,d.ts.map}",