@oicl/openbridge-webcomponents 2.0.0-next.72 → 2.0.0-next.73
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/bundle/openbridge-webcomponents.bundle.js +48 -13
- package/bundle/openbridge-webcomponents.bundle.js.map +1 -1
- package/custom-elements.json +15 -12
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.css.js +17 -2
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.css.js.map +1 -1
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.d.ts +24 -2
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.d.ts.map +1 -1
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.js +32 -11
- package/dist/integration-systems/integration-vessel-menu/integration-vessel-menu.js.map +1 -1
- package/package.json +1 -1
|
@@ -206944,6 +206944,10 @@ const componentStyle$h = i$7`
|
|
|
206944
206944
|
box-sizing: border-box;
|
|
206945
206945
|
}
|
|
206946
206946
|
|
|
206947
|
+
:host {
|
|
206948
|
+
display: block;
|
|
206949
|
+
}
|
|
206950
|
+
|
|
206947
206951
|
.wrapper {
|
|
206948
206952
|
border-color: var(--integration-normal-enabled-border-color);
|
|
206949
206953
|
background-color: var(--integration-normal-enabled-background-color);
|
|
@@ -206954,6 +206958,7 @@ const componentStyle$h = i$7`
|
|
|
206954
206958
|
display: flex;
|
|
206955
206959
|
flex-direction: column;
|
|
206956
206960
|
align-items: center;
|
|
206961
|
+
height: 100%;
|
|
206957
206962
|
background: var(--container-global-color);
|
|
206958
206963
|
border-radius: var(
|
|
206959
206964
|
--app-components-integration-system-dropdown-menu-border-radius
|
|
@@ -206980,6 +206985,10 @@ const componentStyle$h = i$7`
|
|
|
206980
206985
|
border-radius: 12px;
|
|
206981
206986
|
}
|
|
206982
206987
|
|
|
206988
|
+
.footer-container.hidden {
|
|
206989
|
+
display: none;
|
|
206990
|
+
}
|
|
206991
|
+
|
|
206983
206992
|
.content-area {
|
|
206984
206993
|
display: flex;
|
|
206985
206994
|
flex-direction: column;
|
|
@@ -206989,6 +206998,10 @@ const componentStyle$h = i$7`
|
|
|
206989
206998
|
border-radius: 8px;
|
|
206990
206999
|
}
|
|
206991
207000
|
|
|
207001
|
+
.content-area.hidden {
|
|
207002
|
+
display: none;
|
|
207003
|
+
}
|
|
207004
|
+
|
|
206992
207005
|
.footer-container slot[name="buttons"]::slotted(*) {
|
|
206993
207006
|
display: flex;
|
|
206994
207007
|
flex: 1 1 0px;
|
|
@@ -207003,7 +207016,8 @@ const componentStyle$h = i$7`
|
|
|
207003
207016
|
gap: var(--app-components-integration-system-menu-action-spacing);
|
|
207004
207017
|
}
|
|
207005
207018
|
|
|
207006
|
-
.buttons-slot
|
|
207019
|
+
.buttons-slot,
|
|
207020
|
+
.content-slot {
|
|
207007
207021
|
display: contents;
|
|
207008
207022
|
}
|
|
207009
207023
|
|
|
@@ -207017,12 +207031,13 @@ const componentStyle$h = i$7`
|
|
|
207017
207031
|
border-radius: 8px;
|
|
207018
207032
|
}
|
|
207019
207033
|
|
|
207020
|
-
.content-container.
|
|
207034
|
+
.content-container.hidden {
|
|
207021
207035
|
display: none;
|
|
207022
207036
|
}
|
|
207023
207037
|
|
|
207024
207038
|
.alertlist {
|
|
207025
207039
|
width: 100%;
|
|
207040
|
+
height: 100%;
|
|
207026
207041
|
}
|
|
207027
207042
|
|
|
207028
207043
|
.leading-icon {
|
|
@@ -207046,29 +207061,43 @@ var __decorateClass$O = (decorators, target, key, kind) => {
|
|
|
207046
207061
|
let ObcIntegrationVesselMenu = class extends i$4 {
|
|
207047
207062
|
constructor() {
|
|
207048
207063
|
super(...arguments);
|
|
207049
|
-
this.
|
|
207064
|
+
this.hasActions = true;
|
|
207065
|
+
this.hasAlertList = true;
|
|
207066
|
+
this.hasContent = true;
|
|
207050
207067
|
}
|
|
207051
207068
|
render() {
|
|
207052
207069
|
return b`
|
|
207053
|
-
<div
|
|
207054
|
-
|
|
207055
|
-
|
|
207070
|
+
<div class="wrapper">
|
|
207071
|
+
<div
|
|
207072
|
+
class=${e$1({
|
|
207073
|
+
"footer-container": true,
|
|
207074
|
+
hidden: !this.hasActions
|
|
207056
207075
|
})}
|
|
207057
|
-
|
|
207058
|
-
<div class="footer-container">
|
|
207076
|
+
>
|
|
207059
207077
|
<slot name="buttons" class="buttons-slot"></slot>
|
|
207060
207078
|
</div>
|
|
207061
|
-
<div
|
|
207062
|
-
|
|
207079
|
+
<div
|
|
207080
|
+
class=${e$1({
|
|
207081
|
+
"content-area": true,
|
|
207082
|
+
hidden: !this.hasContent
|
|
207083
|
+
})}
|
|
207084
|
+
>
|
|
207085
|
+
<slot name="content" class="content-slot"></slot>
|
|
207063
207086
|
</div>
|
|
207064
207087
|
<div
|
|
207065
207088
|
class=${e$1({
|
|
207066
207089
|
"content-container": true,
|
|
207067
|
-
|
|
207090
|
+
hidden: !this.hasAlertList
|
|
207068
207091
|
})}
|
|
207069
207092
|
>
|
|
207070
207093
|
<obc-alert-list class="alertlist"
|
|
207071
207094
|
><slot name="alarms"></slot>
|
|
207095
|
+
<div slot="empty-icon">
|
|
207096
|
+
<obi-unacknowledged></obi-unacknowledged>
|
|
207097
|
+
</div>
|
|
207098
|
+
<div slot="empty-title">
|
|
207099
|
+
<span>No alerts</span>
|
|
207100
|
+
</div>
|
|
207072
207101
|
</obc-alert-list>
|
|
207073
207102
|
</div>
|
|
207074
207103
|
</div>
|
|
@@ -207077,8 +207106,14 @@ let ObcIntegrationVesselMenu = class extends i$4 {
|
|
|
207077
207106
|
};
|
|
207078
207107
|
ObcIntegrationVesselMenu.styles = r$7(componentStyle$h);
|
|
207079
207108
|
__decorateClass$O([
|
|
207080
|
-
n$3({ type: Boolean })
|
|
207081
|
-
], ObcIntegrationVesselMenu.prototype, "
|
|
207109
|
+
n$3({ type: Boolean, attribute: false })
|
|
207110
|
+
], ObcIntegrationVesselMenu.prototype, "hasActions", 2);
|
|
207111
|
+
__decorateClass$O([
|
|
207112
|
+
n$3({ type: Boolean, attribute: false })
|
|
207113
|
+
], ObcIntegrationVesselMenu.prototype, "hasAlertList", 2);
|
|
207114
|
+
__decorateClass$O([
|
|
207115
|
+
n$3({ type: Boolean, attribute: false })
|
|
207116
|
+
], ObcIntegrationVesselMenu.prototype, "hasContent", 2);
|
|
207082
207117
|
ObcIntegrationVesselMenu = __decorateClass$O([
|
|
207083
207118
|
customElement("obc-integration-vessel-menu")
|
|
207084
207119
|
], ObcIntegrationVesselMenu);
|