@oicl/openbridge-webcomponents-svelte 2.0.0-next.150 → 2.0.0-next.151

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.
Files changed (166) hide show
  1. package/dist/NamedSlot.svelte +26 -0
  2. package/dist/NamedSlot.svelte.d.ts +11 -0
  3. package/dist/ar/building-blocks/poi-header/ObcPoiHeader.svelte +2 -3
  4. package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte +5 -12
  5. package/dist/ar/poi/ObcPoi.svelte +3 -6
  6. package/dist/ar/poi/ObcPoiAton.svelte +2 -3
  7. package/dist/ar/poi/ObcPoiData.svelte +2 -3
  8. package/dist/ar/poi/ObcPoiVessel.svelte +4 -9
  9. package/dist/ar/poi-button/ObcPoiButton.svelte +3 -6
  10. package/dist/ar/poi-button/ObcPoiButtonAton.svelte +3 -6
  11. package/dist/ar/poi-button/ObcPoiButtonData.svelte +3 -6
  12. package/dist/ar/poi-button/ObcPoiButtonVessel.svelte +5 -12
  13. package/dist/ar/poi-card/ObcPoiCard.svelte +3 -6
  14. package/dist/ar/poi-card-header/ObcPoiCardHeader.svelte +3 -6
  15. package/dist/ar/poi-controller/ObcPoiController.svelte +3 -6
  16. package/dist/ar/poi-object/ObcPoiObjectVessel.svelte +3 -6
  17. package/dist/automation/automation-badge/ObcAutomationBadge.svelte +2 -3
  18. package/dist/automation/automation-button/ObcAutomationButton.svelte +10 -27
  19. package/dist/automation/automation-input-modal/ObcAutomationInputModal.svelte +5 -12
  20. package/dist/automation/automation-tank/ObcAutomationTank.svelte +11 -30
  21. package/dist/automation/gauge-generator/ObcGaugeGenerator.svelte +3 -6
  22. package/dist/automation/gauge-motors-and-pumps/ObcGaugeMotorsAndPumps.svelte +3 -6
  23. package/dist/automation/gauge-valve/ObcGaugeValve.svelte +2 -3
  24. package/dist/automation/heat-exchanger/ObcHeatExchanger.svelte +6 -15
  25. package/dist/automation/heat-pump/ObcHeatPump.svelte +6 -15
  26. package/dist/automation/hydraulic-separator/ObcHydraulicSeparator.svelte +6 -15
  27. package/dist/automation/indicator-battery/ObcIndicatorBattery.svelte +2 -3
  28. package/dist/automation/indicator-generator/ObcIndicatorGenerator.svelte +2 -3
  29. package/dist/automation/indicator-tank-atmospheric/ObcIndicatorTankAtmospheric.svelte +2 -3
  30. package/dist/automation/transmitter/ObcTransmitter.svelte +2 -3
  31. package/dist/automation/transmitter-button/ObcTransmitterButton.svelte +2 -3
  32. package/dist/building-blocks/alert-list/ObcAlertList.svelte +4 -9
  33. package/dist/building-blocks/readout-block/ObcReadoutBlock.svelte +2 -3
  34. package/dist/components/accordion-card/ObcAccordionCard.svelte +6 -15
  35. package/dist/components/accordion-item/ObcAccordionItem.svelte +2 -3
  36. package/dist/components/advice-button/ObcAdviceButton.svelte +2 -3
  37. package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +8 -21
  38. package/dist/components/advice-menu-item/ObcAdviceMenuItem.svelte +2 -3
  39. package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +2 -3
  40. package/dist/components/alert-floating-item/ObcAlertFloatingItem.svelte +8 -21
  41. package/dist/components/alert-frame/ObcAlertFrame.svelte +4 -9
  42. package/dist/components/alert-menu/ObcAlertMenu.svelte +4 -9
  43. package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte +5 -12
  44. package/dist/components/alert-subsystem-counter/ObcAlertSubsystemCounter.svelte +3 -6
  45. package/dist/components/app-button/ObcAppButton.svelte +2 -3
  46. package/dist/components/attachment-list-item/ObcAttachmentListItem.svelte +4 -9
  47. package/dist/components/badge/ObcBadge.svelte +2 -3
  48. package/dist/components/button/ObcButton.svelte +3 -6
  49. package/dist/components/card/ObcCard.svelte +4 -9
  50. package/dist/components/check-button/ObcCheckButton.svelte +4 -9
  51. package/dist/components/command-menu/ObcCommandMenu.svelte +10 -27
  52. package/dist/components/dropdown-button/ObcDropdownButton.svelte +2 -3
  53. package/dist/components/elevated-card/ObcElevatedCard.svelte +8 -21
  54. package/dist/components/floating-item/ObcFloatingItem.svelte +9 -24
  55. package/dist/components/form-container/ObcFormContainer.svelte +4 -9
  56. package/dist/components/form-group/ObcFormGroup.svelte +3 -6
  57. package/dist/components/form-item/ObcFormItem.svelte +2 -3
  58. package/dist/components/icon-button/ObcIconButton.svelte +2 -3
  59. package/dist/components/icon-check-button/ObcIconCheckButton.svelte +2 -3
  60. package/dist/components/keyboard-numeric/ObcKeyboardNumeric.svelte +2 -3
  61. package/dist/components/menu-button/ObcMenuButton.svelte +2 -3
  62. package/dist/components/message-menu-item/ObcMessageMenuItem.svelte +7 -18
  63. package/dist/components/modal-window/ObcModalWindow.svelte +7 -18
  64. package/dist/components/navigation-item/ObcNavigationItem.svelte +3 -6
  65. package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte +2 -3
  66. package/dist/components/navigation-menu/ObcNavigationMenu.svelte +4 -9
  67. package/dist/components/notification-button/ObcNotificationButton.svelte +2 -3
  68. package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +8 -21
  69. package/dist/components/notification-menu-item/ObcNotificationMenuItem.svelte +2 -3
  70. package/dist/components/notification-message-item/ObcNotificationMessageItem.svelte +2 -3
  71. package/dist/components/number-input-field/ObcNumberInputField.svelte +4 -9
  72. package/dist/components/pivot-item/ObcPivotItem.svelte +2 -3
  73. package/dist/components/progress-bar/ObcProgressBar.svelte +2 -3
  74. package/dist/components/progress-button/ObcProgressButton.svelte +4 -9
  75. package/dist/components/rich-button/ObcRichButton.svelte +3 -6
  76. package/dist/components/sequence-card/ObcSequenceCard.svelte +8 -21
  77. package/dist/components/sequence-item/ObcSequenceItem.svelte +5 -12
  78. package/dist/components/sequence-modal/ObcSequenceModal.svelte +2 -3
  79. package/dist/components/sequence-toolbar/ObcSequenceToolbar.svelte +5 -12
  80. package/dist/components/slide-button/ObcSlideButton.svelte +3 -6
  81. package/dist/components/slider/ObcSlider.svelte +3 -6
  82. package/dist/components/slider-double/ObcSliderDouble.svelte +3 -6
  83. package/dist/components/split-button/ObcSplitButton.svelte +2 -3
  84. package/dist/components/start-stop-switch/ObcStartStopSwitch.svelte +7 -18
  85. package/dist/components/system-menu/ObcSystemMenu.svelte +2 -3
  86. package/dist/components/tab-item/ObcTabItem.svelte +4 -9
  87. package/dist/components/tab-row/ObcTabRow.svelte +3 -6
  88. package/dist/components/tabbed-card/ObcTabbedCard.svelte +16 -45
  89. package/dist/components/table-header-item/ObcTableHeaderItem.svelte +2 -3
  90. package/dist/components/text-input-field/ObcTextInputField.svelte +4 -9
  91. package/dist/components/textarea-field/ObcTextareaField.svelte +2 -3
  92. package/dist/components/textbox/ObcTextbox.svelte +2 -3
  93. package/dist/components/title-container/ObcTitleContainer.svelte +5 -12
  94. package/dist/components/toggle-button-option/ObcToggleButtonOption.svelte +2 -3
  95. package/dist/components/toggle-button-vertical-option/ObcToggleButtonVerticalOption.svelte +2 -3
  96. package/dist/components/toggle-switch/ObcToggleSwitch.svelte +2 -3
  97. package/dist/components/toggletip/ObcToggletip.svelte +4 -9
  98. package/dist/components/tooltip/ObcTooltip.svelte +2 -3
  99. package/dist/components/top-bar/ObcTopBar.svelte +5 -12
  100. package/dist/components/topbar-message-item/ObcTopbarMessageItem.svelte +10 -27
  101. package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte +2 -3
  102. package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte +2 -3
  103. package/dist/components/user-button/ObcUserButton.svelte +2 -3
  104. package/dist/components/user-menu/ObcUserMenu.svelte +2 -3
  105. package/dist/icons/ObiBipolarTransistor01.svelte +32 -0
  106. package/dist/icons/ObiBipolarTransistor01.svelte.d.ts +16 -0
  107. package/dist/icons/ObiBipolarTransistor02.svelte +32 -0
  108. package/dist/icons/ObiBipolarTransistor02.svelte.d.ts +16 -0
  109. package/dist/icons/ObiBipolarTransistor02Off.svelte +32 -0
  110. package/dist/icons/ObiBipolarTransistor02Off.svelte.d.ts +16 -0
  111. package/dist/icons/ObiBipolarTransistor02On.svelte +32 -0
  112. package/dist/icons/ObiBipolarTransistor02On.svelte.d.ts +16 -0
  113. package/dist/icons/ObiBipolarTransistor03.svelte +32 -0
  114. package/dist/icons/ObiBipolarTransistor03.svelte.d.ts +16 -0
  115. package/dist/icons/ObiBipolarTransistor03Flat.svelte +32 -0
  116. package/dist/icons/ObiBipolarTransistor03Flat.svelte.d.ts +16 -0
  117. package/dist/icons/ObiBipolarTransistor03Off.svelte +32 -0
  118. package/dist/icons/ObiBipolarTransistor03Off.svelte.d.ts +16 -0
  119. package/dist/icons/ObiBipolarTransistor03On.svelte +32 -0
  120. package/dist/icons/ObiBipolarTransistor03On.svelte.d.ts +16 -0
  121. package/dist/icons/ObiBipolarTransistor04.svelte +32 -0
  122. package/dist/icons/ObiBipolarTransistor04.svelte.d.ts +16 -0
  123. package/dist/icons/ObiBipolarTransistor04Flat.svelte +32 -0
  124. package/dist/icons/ObiBipolarTransistor04Flat.svelte.d.ts +16 -0
  125. package/dist/icons/ObiBipolarTransistor04Off.svelte +32 -0
  126. package/dist/icons/ObiBipolarTransistor04Off.svelte.d.ts +16 -0
  127. package/dist/icons/ObiBipolarTransistor04On.svelte +32 -0
  128. package/dist/icons/ObiBipolarTransistor04On.svelte.d.ts +16 -0
  129. package/dist/icons/ObiBipolarTransistorOff.svelte +32 -0
  130. package/dist/icons/ObiBipolarTransistorOff.svelte.d.ts +16 -0
  131. package/dist/icons/ObiBipolarTransistorOn.svelte +32 -0
  132. package/dist/icons/ObiBipolarTransistorOn.svelte.d.ts +16 -0
  133. package/dist/icons/ObiBypass.svelte +32 -0
  134. package/dist/icons/ObiBypass.svelte.d.ts +16 -0
  135. package/dist/icons/{ObiChevronTrippleLeft.svelte → ObiChevronTripleLeft.svelte} +3 -3
  136. package/dist/icons/{ObiChevronTrippleRight.svelte.d.ts → ObiChevronTripleLeft.svelte.d.ts} +4 -4
  137. package/dist/icons/{ObiChevronTrippleRight.svelte → ObiChevronTripleRight.svelte} +3 -3
  138. package/dist/icons/{ObiChevronTrippleLeft.svelte.d.ts → ObiChevronTripleRight.svelte.d.ts} +4 -4
  139. package/dist/icons/ObiHeatPumpBalance.svelte +32 -0
  140. package/dist/icons/ObiHeatPumpBalance.svelte.d.ts +16 -0
  141. package/dist/icons/ObiOutput.svelte +32 -0
  142. package/dist/icons/ObiOutput.svelte.d.ts +16 -0
  143. package/dist/icons/ObiPhase.svelte +32 -0
  144. package/dist/icons/ObiPhase.svelte.d.ts +16 -0
  145. package/dist/icons/ObiSensorWaterDewpoint.svelte +32 -0
  146. package/dist/icons/ObiSensorWaterDewpoint.svelte.d.ts +16 -0
  147. package/dist/icons/ObiSensorWaterHumidity.svelte +32 -0
  148. package/dist/icons/ObiSensorWaterHumidity.svelte.d.ts +16 -0
  149. package/dist/index.d.ts +22 -2
  150. package/dist/index.js +22 -2
  151. package/dist/integration-systems/integration-app-bar/ObcIntegrationAppBar.svelte +2 -3
  152. package/dist/integration-systems/integration-bar/ObcIntegrationBar.svelte +4 -9
  153. package/dist/integration-systems/integration-bar-dropdown/ObcIntegrationBarDropdown.svelte +9 -24
  154. package/dist/integration-systems/integration-button/ObcIntegrationButton.svelte +9 -24
  155. package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +2 -3
  156. package/dist/integration-systems/integration-fleet-button/ObcIntegrationFleetButton.svelte +2 -3
  157. package/dist/integration-systems/integration-vessel-menu/ObcIntegrationVesselMenu.svelte +4 -9
  158. package/dist/integration-systems/integration-vessel-selector/ObcIntegrationVesselSelector.svelte +3 -6
  159. package/dist/navigation-instruments/gauge-proportional/ObcGaugeProportional.svelte +3 -6
  160. package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte +2 -3
  161. package/dist/navigation-instruments/instrument-field/ObcInstrumentField.svelte +2 -3
  162. package/dist/navigation-instruments/readout/ObcReadout.svelte +6 -15
  163. package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte +5 -12
  164. package/dist/util.d.ts +20 -0
  165. package/dist/util.js +42 -0
  166. package/package.json +2 -2
@@ -6,6 +6,7 @@ export type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation
6
6
  export type {GaugeGeneratorType} from '@oicl/openbridge-webcomponents/dist/automation/gauge-generator/gauge-generator.js';
7
7
  import '@oicl/openbridge-webcomponents/dist/automation/gauge-generator/gauge-generator.js';
8
8
  import { setProperties } from "../../util.js";
9
+ import NamedSlot from "../../NamedSlot.svelte";
9
10
  import type {InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
10
11
  import type {GaugeProportionalSector, GaugeProportionalAlignment, GaugeProportionalPriority, GaugeProportionalAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-proportional/gauge-proportional.js';
11
12
  import type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
@@ -117,14 +118,10 @@ animateSetpoint?: boolean;
117
118
  >
118
119
 
119
120
  {#if icon}
120
- <div slot="icon">
121
- {@render icon()}
122
- </div>
121
+ <NamedSlot name="icon" content={icon} />
123
122
  {/if}
124
123
 
125
124
  {#if secondaryIcon}
126
- <div slot="secondary-icon">
127
- {@render secondaryIcon()}
128
- </div>
125
+ <NamedSlot name="secondary-icon" content={secondaryIcon} />
129
126
  {/if}
130
127
  </obc-gauge-generator>
@@ -6,6 +6,7 @@ export type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation
6
6
  export type {GaugeMotorsAndPumpsType} from '@oicl/openbridge-webcomponents/dist/automation/gauge-motors-and-pumps/gauge-motors-and-pumps.js';
7
7
  import '@oicl/openbridge-webcomponents/dist/automation/gauge-motors-and-pumps/gauge-motors-and-pumps.js';
8
8
  import { setProperties } from "../../util.js";
9
+ import NamedSlot from "../../NamedSlot.svelte";
9
10
  import type {InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
10
11
  import type {GaugeProportionalSector, GaugeProportionalAlignment, GaugeProportionalPriority, GaugeProportionalAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/gauge-proportional/gauge-proportional.js';
11
12
  import type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
@@ -117,14 +118,10 @@ animateSetpoint?: boolean;
117
118
  >
118
119
 
119
120
  {#if icon}
120
- <div slot="icon">
121
- {@render icon()}
122
- </div>
121
+ <NamedSlot name="icon" content={icon} />
123
122
  {/if}
124
123
 
125
124
  {#if secondaryIcon}
126
- <div slot="secondary-icon">
127
- {@render secondaryIcon()}
128
- </div>
125
+ <NamedSlot name="secondary-icon" content={secondaryIcon} />
129
126
  {/if}
130
127
  </obc-gauge-motors-and-pumps>
@@ -4,6 +4,7 @@
4
4
  export type {GaugeValveScalePosition} from '@oicl/openbridge-webcomponents/dist/automation/gauge-valve/gauge-valve-geometry.js';
5
5
  import '@oicl/openbridge-webcomponents/dist/automation/gauge-valve/gauge-valve.js';
6
6
  import { setProperties } from "../../util.js";
7
+ import NamedSlot from "../../NamedSlot.svelte";
7
8
  import type {GaugeValveType, GaugeValvePriority, GaugeValveStyle} from '@oicl/openbridge-webcomponents/dist/automation/gauge-valve/gauge-valve.js';
8
9
  import type {GaugeValveScalePosition} from '@oicl/openbridge-webcomponents/dist/automation/gauge-valve/gauge-valve-geometry.js';
9
10
  import type { Snippet } from 'svelte';
@@ -92,8 +93,6 @@ animateSetpoint?: boolean;
92
93
  >
93
94
 
94
95
  {#if icon}
95
- <div slot="icon">
96
- {@render icon()}
97
- </div>
96
+ <NamedSlot name="icon" content={icon} />
98
97
  {/if}
99
98
  </obc-gauge-valve>
@@ -7,6 +7,7 @@ export type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-w
7
7
  export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  import '@oicl/openbridge-webcomponents/dist/automation/heat-exchanger/heat-exchanger.js';
9
9
  import { setProperties, forwardEvents } from "../../util.js";
10
+ import NamedSlot from "../../NamedSlot.svelte";
10
11
  import type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
11
12
  import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
12
13
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
@@ -96,32 +97,22 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
96
97
  use:forwardEvents={{'click': onClick}} >
97
98
 
98
99
  {#if badges}
99
- <div slot="badges">
100
- {@render badges()}
101
- </div>
100
+ <NamedSlot name="badges" content={badges} />
102
101
  {/if}
103
102
 
104
103
  {#if tagSnippet}
105
- <div slot="tag">
106
- {@render tagSnippet()}
107
- </div>
104
+ <NamedSlot name="tag" content={tagSnippet} />
108
105
  {/if}
109
106
 
110
107
  {#if alertIcon}
111
- <div slot="alert-icon">
112
- {@render alertIcon()}
113
- </div>
108
+ <NamedSlot name="alert-icon" content={alertIcon} />
114
109
  {/if}
115
110
 
116
111
  {#if alertLabel}
117
- <div slot="alert-label">
118
- {@render alertLabel()}
119
- </div>
112
+ <NamedSlot name="alert-label" content={alertLabel} />
120
113
  {/if}
121
114
 
122
115
  {#if alertTimer}
123
- <div slot="alert-timer">
124
- {@render alertTimer()}
125
- </div>
116
+ <NamedSlot name="alert-timer" content={alertTimer} />
126
117
  {/if}
127
118
  </obc-heat-exchanger>
@@ -7,6 +7,7 @@ export type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-w
7
7
  export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  import '@oicl/openbridge-webcomponents/dist/automation/heat-pump/heat-pump.js';
9
9
  import { setProperties, forwardEvents } from "../../util.js";
10
+ import NamedSlot from "../../NamedSlot.svelte";
10
11
  import type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
11
12
  import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
12
13
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
@@ -96,32 +97,22 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
96
97
  use:forwardEvents={{'click': onClick}} >
97
98
 
98
99
  {#if badges}
99
- <div slot="badges">
100
- {@render badges()}
101
- </div>
100
+ <NamedSlot name="badges" content={badges} />
102
101
  {/if}
103
102
 
104
103
  {#if tagSnippet}
105
- <div slot="tag">
106
- {@render tagSnippet()}
107
- </div>
104
+ <NamedSlot name="tag" content={tagSnippet} />
108
105
  {/if}
109
106
 
110
107
  {#if alertIcon}
111
- <div slot="alert-icon">
112
- {@render alertIcon()}
113
- </div>
108
+ <NamedSlot name="alert-icon" content={alertIcon} />
114
109
  {/if}
115
110
 
116
111
  {#if alertLabel}
117
- <div slot="alert-label">
118
- {@render alertLabel()}
119
- </div>
112
+ <NamedSlot name="alert-label" content={alertLabel} />
120
113
  {/if}
121
114
 
122
115
  {#if alertTimer}
123
- <div slot="alert-timer">
124
- {@render alertTimer()}
125
- </div>
116
+ <NamedSlot name="alert-timer" content={alertTimer} />
126
117
  {/if}
127
118
  </obc-heat-pump>
@@ -7,6 +7,7 @@ export type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-w
7
7
  export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-separator/hydraulic-separator.js';
9
9
  import { setProperties, forwardEvents } from "../../util.js";
10
+ import NamedSlot from "../../NamedSlot.svelte";
10
11
  import type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
11
12
  import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
12
13
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
@@ -96,32 +97,22 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
96
97
  use:forwardEvents={{'click': onClick}} >
97
98
 
98
99
  {#if badges}
99
- <div slot="badges">
100
- {@render badges()}
101
- </div>
100
+ <NamedSlot name="badges" content={badges} />
102
101
  {/if}
103
102
 
104
103
  {#if tagSnippet}
105
- <div slot="tag">
106
- {@render tagSnippet()}
107
- </div>
104
+ <NamedSlot name="tag" content={tagSnippet} />
108
105
  {/if}
109
106
 
110
107
  {#if alertIcon}
111
- <div slot="alert-icon">
112
- {@render alertIcon()}
113
- </div>
108
+ <NamedSlot name="alert-icon" content={alertIcon} />
114
109
  {/if}
115
110
 
116
111
  {#if alertLabel}
117
- <div slot="alert-label">
118
- {@render alertLabel()}
119
- </div>
112
+ <NamedSlot name="alert-label" content={alertLabel} />
120
113
  {/if}
121
114
 
122
115
  {#if alertTimer}
123
- <div slot="alert-timer">
124
- {@render alertTimer()}
125
- </div>
116
+ <NamedSlot name="alert-timer" content={alertTimer} />
126
117
  {/if}
127
118
  </obc-hydraulic-separator>
@@ -4,6 +4,7 @@
4
4
  export type {IndicatorBatteryVariant, IndicatorBatteryValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-battery/indicator-battery.js';
5
5
  import '@oicl/openbridge-webcomponents/dist/automation/indicator-battery/indicator-battery.js';
6
6
  import { setProperties } from "../../util.js";
7
+ import NamedSlot from "../../NamedSlot.svelte";
7
8
  import type {IndicatorDirection} from '@oicl/openbridge-webcomponents/dist/automation/indicator-shared/linear-indicator.js';
8
9
  import type {IndicatorBatteryVariant, IndicatorBatteryValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-battery/indicator-battery.js';
9
10
  import type { Snippet } from 'svelte';
@@ -36,8 +37,6 @@ import type {IndicatorBatteryVariant, IndicatorBatteryValue} from '@oicl/openbri
36
37
  >
37
38
 
38
39
  {#if icon}
39
- <div slot="icon">
40
- {@render icon()}
41
- </div>
40
+ <NamedSlot name="icon" content={icon} />
42
41
  {/if}
43
42
  </obc-indicator-battery>
@@ -3,6 +3,7 @@
3
3
  export type {IndicatorGeneratorVariant, IndicatorGeneratorValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-generator/indicator-generator.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/automation/indicator-generator/indicator-generator.js';
5
5
  import { setProperties } from "../../util.js";
6
+ import NamedSlot from "../../NamedSlot.svelte";
6
7
  import type {IndicatorGeneratorVariant, IndicatorGeneratorValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-generator/indicator-generator.js';
7
8
  import type { Snippet } from 'svelte';
8
9
 
@@ -32,8 +33,6 @@
32
33
  >
33
34
 
34
35
  {#if icon}
35
- <div slot="icon">
36
- {@render icon()}
37
- </div>
36
+ <NamedSlot name="icon" content={icon} />
38
37
  {/if}
39
38
  </obc-indicator-generator>
@@ -4,6 +4,7 @@
4
4
  export type {IndicatorTankAtmosphericVariant, IndicatorTankAtmosphericValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.js';
5
5
  import '@oicl/openbridge-webcomponents/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.js';
6
6
  import { setProperties } from "../../util.js";
7
+ import NamedSlot from "../../NamedSlot.svelte";
7
8
  import type {IndicatorDirection} from '@oicl/openbridge-webcomponents/dist/automation/indicator-shared/linear-indicator.js';
8
9
  import type {IndicatorTankAtmosphericVariant, IndicatorTankAtmosphericValue} from '@oicl/openbridge-webcomponents/dist/automation/indicator-tank-atmospheric/indicator-tank-atmospheric.js';
9
10
  import type { Snippet } from 'svelte';
@@ -36,8 +37,6 @@ import type {IndicatorTankAtmosphericVariant, IndicatorTankAtmosphericValue} fro
36
37
  >
37
38
 
38
39
  {#if icon}
39
- <div slot="icon">
40
- {@render icon()}
41
- </div>
40
+ <NamedSlot name="icon" content={icon} />
42
41
  {/if}
43
42
  </obc-indicator-tank-atmospheric>
@@ -5,6 +5,7 @@ export type {LineType} from '@oicl/openbridge-webcomponents/dist/automation/inde
5
5
  export type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';
6
6
  import '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js';
7
7
  import { setProperties } from "../../util.js";
8
+ import NamedSlot from "../../NamedSlot.svelte";
8
9
  import type {TransmitterOrientation, TransmitterType} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js';
9
10
  import type {LineType} from '@oicl/openbridge-webcomponents/dist/automation/index.js';
10
11
  import type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';
@@ -57,8 +58,6 @@ import type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/au
57
58
  >
58
59
 
59
60
  {#if icon}
60
- <div slot="icon">
61
- {@render icon()}
62
- </div>
61
+ <NamedSlot name="icon" content={icon} />
63
62
  {/if}
64
63
  </obc-transmitter>
@@ -3,6 +3,7 @@
3
3
  export type {TransmitterButtonVariant, TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';
5
5
  import { setProperties } from "../../util.js";
6
+ import NamedSlot from "../../NamedSlot.svelte";
6
7
  import type {TransmitterButtonVariant, TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';
7
8
  import type { Snippet } from 'svelte';
8
9
 
@@ -45,8 +46,6 @@
45
46
  >
46
47
 
47
48
  {#if icon}
48
- <div slot="icon">
49
- {@render icon()}
50
- </div>
49
+ <NamedSlot name="icon" content={icon} />
51
50
  {/if}
52
51
  </obc-transmitter-button>
@@ -3,6 +3,7 @@
3
3
 
4
4
  import '@oicl/openbridge-webcomponents/dist/building-blocks/alert-list/alert-list.js';
5
5
  import { setProperties } from "../../util.js";
6
+ import NamedSlot from "../../NamedSlot.svelte";
6
7
 
7
8
  import type { Snippet } from 'svelte';
8
9
 
@@ -34,20 +35,14 @@
34
35
  {/if}
35
36
 
36
37
  {#if emptyIcon}
37
- <div slot="empty-icon">
38
- {@render emptyIcon()}
39
- </div>
38
+ <NamedSlot name="empty-icon" content={emptyIcon} />
40
39
  {/if}
41
40
 
42
41
  {#if emptyTitle}
43
- <div slot="empty-title">
44
- {@render emptyTitle()}
45
- </div>
42
+ <NamedSlot name="empty-title" content={emptyTitle} />
46
43
  {/if}
47
44
 
48
45
  {#if emptyDescription}
49
- <div slot="empty-description">
50
- {@render emptyDescription()}
51
- </div>
46
+ <NamedSlot name="empty-description" content={emptyDescription} />
52
47
  {/if}
53
48
  </obc-alert-list>
@@ -6,6 +6,7 @@ export type {ObcTextboxSize, ObcTextboxFontWeight, ObcTextboxAlignment} from '@o
6
6
  export type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
7
7
  import '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
8
8
  import { setProperties } from "../../util.js";
9
+ import NamedSlot from "../../NamedSlot.svelte";
9
10
  import type {ReadoutBlockVariant, ReadoutBlockSize, ReadoutAdviceCategory, ReadoutBlockDataQuality, ReadoutBlockHidePhase} from '@oicl/openbridge-webcomponents/dist/building-blocks/readout-block/readout-block.js';
10
11
  import type {ReadoutValueType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/readout/readout-formatters.js';
11
12
  import type {ObcTextboxSize, ObcTextboxFontWeight, ObcTextboxAlignment} from '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';
@@ -102,8 +103,6 @@ import type {AlertFrameConfig} from '@oicl/openbridge-webcomponents/dist/compone
102
103
  >
103
104
 
104
105
  {#if icon}
105
- <div slot="icon">
106
- {@render icon()}
107
- </div>
106
+ <NamedSlot name="icon" content={icon} />
108
107
  {/if}
109
108
  </obc-readout-block>
@@ -5,6 +5,7 @@ export type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-w
5
5
  export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
6
6
  import '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';
7
7
  import { setProperties, forwardEvents } from "../../util.js";
8
+ import NamedSlot from "../../NamedSlot.svelte";
8
9
  import type {Position, AccordionSize} from '@oicl/openbridge-webcomponents/dist/components/accordion-card/accordion-card.js';
9
10
  import type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
10
11
  import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
@@ -88,32 +89,22 @@ size?: AccordionSize;
88
89
  use:forwardEvents={{'accordion-toggle': onAccordionToggle}} >
89
90
 
90
91
  {#if leadingIcon}
91
- <div slot="leading-icon">
92
- {@render leadingIcon()}
93
- </div>
92
+ <NamedSlot name="leading-icon" content={leadingIcon} />
94
93
  {/if}
95
94
 
96
95
  {#if expandedContent}
97
- <div slot="expanded-content">
98
- {@render expandedContent()}
99
- </div>
96
+ <NamedSlot name="expanded-content" content={expandedContent} />
100
97
  {/if}
101
98
 
102
99
  {#if alertIcon}
103
- <div slot="alert-icon">
104
- {@render alertIcon()}
105
- </div>
100
+ <NamedSlot name="alert-icon" content={alertIcon} />
106
101
  {/if}
107
102
 
108
103
  {#if alertLabel}
109
- <div slot="alert-label">
110
- {@render alertLabel()}
111
- </div>
104
+ <NamedSlot name="alert-label" content={alertLabel} />
112
105
  {/if}
113
106
 
114
107
  {#if alertTimer}
115
- <div slot="alert-timer">
116
- {@render alertTimer()}
117
- </div>
108
+ <NamedSlot name="alert-timer" content={alertTimer} />
118
109
  {/if}
119
110
  </obc-accordion-card>
@@ -3,6 +3,7 @@
3
3
 
4
4
  import '@oicl/openbridge-webcomponents/dist/components/accordion-item/accordion-item.js';
5
5
  import { setProperties, forwardEvents } from "../../util.js";
6
+ import NamedSlot from "../../NamedSlot.svelte";
6
7
 
7
8
  import type { Snippet } from 'svelte';
8
9
 
@@ -34,8 +35,6 @@
34
35
  use:forwardEvents={{'accordion-item-toggle': onAccordionItemToggle}} >
35
36
 
36
37
  {#if expandedContent}
37
- <div slot="expanded-content">
38
- {@render expandedContent()}
39
- </div>
38
+ <NamedSlot name="expanded-content" content={expandedContent} />
40
39
  {/if}
41
40
  </obc-accordion-item>
@@ -3,6 +3,7 @@
3
3
  export type {AdviceButtonClickEvent, AdviceButtonStyle} from '@oicl/openbridge-webcomponents/dist/components/advice-button/advice-button.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/components/advice-button/advice-button.js';
5
5
  import { setProperties, forwardEvents } from "../../util.js";
6
+ import NamedSlot from "../../NamedSlot.svelte";
6
7
  import type {AdviceButtonClickEvent, AdviceButtonStyle} from '@oicl/openbridge-webcomponents/dist/components/advice-button/advice-button.js';
7
8
  import type { Snippet } from 'svelte';
8
9
 
@@ -44,8 +45,6 @@ buttonStyle?: AdviceButtonStyle;
44
45
  use:forwardEvents={{'obc-click': onObcClick}} >
45
46
 
46
47
  {#if icon}
47
- <div slot="icon">
48
- {@render icon()}
49
- </div>
48
+ <NamedSlot name="icon" content={icon} />
50
49
  {/if}
51
50
  </obc-advice-button>
@@ -3,6 +3,7 @@
3
3
  export type {ObcFloatingItemType, ObcFloatingItemDirection, ObcFloatingItemLineType} from '@oicl/openbridge-webcomponents/dist/components/floating-item/floating-item.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/components/advice-floating-item/advice-floating-item.js';
5
5
  import { setProperties, forwardEvents } from "../../util.js";
6
+ import NamedSlot from "../../NamedSlot.svelte";
6
7
  import type {ObcFloatingItemType, ObcFloatingItemDirection, ObcFloatingItemLineType} from '@oicl/openbridge-webcomponents/dist/components/floating-item/floating-item.js';
7
8
  import type { Snippet } from 'svelte';
8
9
 
@@ -57,44 +58,30 @@ lineType?: ObcFloatingItemLineType
57
58
  use:forwardEvents={{'action-click': onActionClick, 'action2-click': onAction2Click, 'dismiss-click': onDismissClick}} >
58
59
 
59
60
  {#if primaryIcon}
60
- <div slot="primary-icon">
61
- {@render primaryIcon()}
62
- </div>
61
+ <NamedSlot name="primary-icon" content={primaryIcon} />
63
62
  {/if}
64
63
 
65
64
  {#if title}
66
- <div slot="title">
67
- {@render title()}
68
- </div>
65
+ <NamedSlot name="title" content={title} />
69
66
  {/if}
70
67
 
71
68
  {#if description}
72
- <div slot="description">
73
- {@render description()}
74
- </div>
69
+ <NamedSlot name="description" content={description} />
75
70
  {/if}
76
71
 
77
72
  {#if time}
78
- <div slot="time">
79
- {@render time()}
80
- </div>
73
+ <NamedSlot name="time" content={time} />
81
74
  {/if}
82
75
 
83
76
  {#if day}
84
- <div slot="day">
85
- {@render day()}
86
- </div>
77
+ <NamedSlot name="day" content={day} />
87
78
  {/if}
88
79
 
89
80
  {#if actionSnippet}
90
- <div slot="action">
91
- {@render actionSnippet()}
92
- </div>
81
+ <NamedSlot name="action" content={actionSnippet} />
93
82
  {/if}
94
83
 
95
84
  {#if action2Snippet}
96
- <div slot="action2">
97
- {@render action2Snippet()}
98
- </div>
85
+ <NamedSlot name="action2" content={action2Snippet} />
99
86
  {/if}
100
87
  </obc-advice-floating-item>
@@ -3,6 +3,7 @@
3
3
  export type {ObcMessageMenuItemSize} from '@oicl/openbridge-webcomponents/dist/components/message-menu-item/message-menu-item.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/components/advice-menu-item/advice-menu-item.js';
5
5
  import { setProperties, forwardEvents } from "../../util.js";
6
+ import NamedSlot from "../../NamedSlot.svelte";
6
7
  import type {ObcMessageMenuItemSize} from '@oicl/openbridge-webcomponents/dist/components/message-menu-item/message-menu-item.js';
7
8
  import type { Snippet } from 'svelte';
8
9
 
@@ -39,8 +40,6 @@
39
40
  use:forwardEvents={{'primary-action-click': onPrimaryActionClick, 'secondary-action-click': onSecondaryActionClick, 'item-click': onItemClick}} >
40
41
 
41
42
  {#if icon}
42
- <div slot="icon">
43
- {@render icon()}
44
- </div>
43
+ <NamedSlot name="icon" content={icon} />
45
44
  {/if}
46
45
  </obc-advice-menu-item>
@@ -3,6 +3,7 @@
3
3
  export type {ObcAdviceMessageItemType, ObcAdviceMessageItemSize} from '@oicl/openbridge-webcomponents/dist/components/advice-message-item/advice-message-item.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/components/advice-message-item/advice-message-item.js';
5
5
  import { setProperties, forwardEvents } from "../../util.js";
6
+ import NamedSlot from "../../NamedSlot.svelte";
6
7
  import type {ObcAdviceMessageItemType, ObcAdviceMessageItemSize} from '@oicl/openbridge-webcomponents/dist/components/advice-message-item/advice-message-item.js';
7
8
  import type { Snippet } from 'svelte';
8
9
 
@@ -107,8 +108,6 @@ size?: ObcAdviceMessageItemSize;
107
108
  use:forwardEvents={{'message-click': onMessageClick, 'action-click': onActionClick}} >
108
109
 
109
110
  {#if secondaryIcon}
110
- <div slot="secondary-icon">
111
- {@render secondaryIcon()}
112
- </div>
111
+ <NamedSlot name="secondary-icon" content={secondaryIcon} />
113
112
  {/if}
114
113
  </obc-advice-message-item>
@@ -3,6 +3,7 @@
3
3
  export type {ObcFloatingItemType, ObcFloatingItemDirection, ObcFloatingItemLineType} from '@oicl/openbridge-webcomponents/dist/components/floating-item/floating-item.js';
4
4
  import '@oicl/openbridge-webcomponents/dist/components/alert-floating-item/alert-floating-item.js';
5
5
  import { setProperties, forwardEvents } from "../../util.js";
6
+ import NamedSlot from "../../NamedSlot.svelte";
6
7
  import type {ObcFloatingItemType, ObcFloatingItemDirection, ObcFloatingItemLineType} from '@oicl/openbridge-webcomponents/dist/components/floating-item/floating-item.js';
7
8
  import type { Snippet } from 'svelte';
8
9
 
@@ -41,44 +42,30 @@
41
42
  use:forwardEvents={{'action-click': onActionClick, 'action2-click': onAction2Click, 'dismiss-click': onDismissClick}} >
42
43
 
43
44
  {#if primaryIcon}
44
- <div slot="primary-icon">
45
- {@render primaryIcon()}
46
- </div>
45
+ <NamedSlot name="primary-icon" content={primaryIcon} />
47
46
  {/if}
48
47
 
49
48
  {#if title}
50
- <div slot="title">
51
- {@render title()}
52
- </div>
49
+ <NamedSlot name="title" content={title} />
53
50
  {/if}
54
51
 
55
52
  {#if description}
56
- <div slot="description">
57
- {@render description()}
58
- </div>
53
+ <NamedSlot name="description" content={description} />
59
54
  {/if}
60
55
 
61
56
  {#if time}
62
- <div slot="time">
63
- {@render time()}
64
- </div>
57
+ <NamedSlot name="time" content={time} />
65
58
  {/if}
66
59
 
67
60
  {#if day}
68
- <div slot="day">
69
- {@render day()}
70
- </div>
61
+ <NamedSlot name="day" content={day} />
71
62
  {/if}
72
63
 
73
64
  {#if actionSnippet}
74
- <div slot="action">
75
- {@render actionSnippet()}
76
- </div>
65
+ <NamedSlot name="action" content={actionSnippet} />
77
66
  {/if}
78
67
 
79
68
  {#if action2Snippet}
80
- <div slot="action2">
81
- {@render action2Snippet()}
82
- </div>
69
+ <NamedSlot name="action2" content={action2Snippet} />
83
70
  {/if}
84
71
  </obc-alert-floating-item>
@@ -4,6 +4,7 @@
4
4
  export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
5
5
  import '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
6
  import { setProperties } from "../../util.js";
7
+ import NamedSlot from "../../NamedSlot.svelte";
7
8
  import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode, AlertFrameTextSize} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
8
9
  import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
9
10
  import type { Snippet } from 'svelte';
@@ -73,20 +74,14 @@ mode?: ObcAlertFrameMode;
73
74
  {/if}
74
75
 
75
76
  {#if icon}
76
- <div slot="icon">
77
- {@render icon()}
78
- </div>
77
+ <NamedSlot name="icon" content={icon} />
79
78
  {/if}
80
79
 
81
80
  {#if label}
82
- <div slot="label">
83
- {@render label()}
84
- </div>
81
+ <NamedSlot name="label" content={label} />
85
82
  {/if}
86
83
 
87
84
  {#if timer}
88
- <div slot="timer">
89
- {@render timer()}
90
- </div>
85
+ <NamedSlot name="timer" content={timer} />
91
86
  {/if}
92
87
  </obc-alert-frame>