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

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 (183) 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/bars-graphs/area-graph/ObcAreaGraph.svelte +14 -2
  33. package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte.d.ts +15 -1
  34. package/dist/bars-graphs/line-graph/ObcLineGraph.svelte +14 -2
  35. package/dist/bars-graphs/line-graph/ObcLineGraph.svelte.d.ts +15 -1
  36. package/dist/building-blocks/alert-list/ObcAlertList.svelte +4 -9
  37. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +6 -0
  38. package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +6 -0
  39. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +6 -0
  40. package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +6 -0
  41. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +14 -2
  42. package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +15 -1
  43. package/dist/building-blocks/readout-block/ObcReadoutBlock.svelte +2 -3
  44. package/dist/components/accordion-card/ObcAccordionCard.svelte +6 -15
  45. package/dist/components/accordion-item/ObcAccordionItem.svelte +2 -3
  46. package/dist/components/advice-button/ObcAdviceButton.svelte +2 -3
  47. package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +8 -21
  48. package/dist/components/advice-menu-item/ObcAdviceMenuItem.svelte +2 -3
  49. package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +2 -3
  50. package/dist/components/alert-button/ObcAlertButton.svelte +4 -2
  51. package/dist/components/alert-button/ObcAlertButton.svelte.d.ts +4 -1
  52. package/dist/components/alert-floating-item/ObcAlertFloatingItem.svelte +8 -21
  53. package/dist/components/alert-frame/ObcAlertFrame.svelte +12 -13
  54. package/dist/components/alert-frame/ObcAlertFrame.svelte.d.ts +8 -2
  55. package/dist/components/alert-icon/ObcAlertIcon.svelte +5 -3
  56. package/dist/components/alert-icon/ObcAlertIcon.svelte.d.ts +4 -1
  57. package/dist/components/alert-menu/ObcAlertMenu.svelte +4 -9
  58. package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte +5 -12
  59. package/dist/components/alert-subsystem-counter/ObcAlertSubsystemCounter.svelte +3 -6
  60. package/dist/components/app-button/ObcAppButton.svelte +2 -3
  61. package/dist/components/attachment-list-item/ObcAttachmentListItem.svelte +4 -9
  62. package/dist/components/badge/ObcBadge.svelte +2 -3
  63. package/dist/components/button/ObcButton.svelte +3 -6
  64. package/dist/components/card/ObcCard.svelte +4 -9
  65. package/dist/components/check-button/ObcCheckButton.svelte +4 -9
  66. package/dist/components/command-menu/ObcCommandMenu.svelte +10 -27
  67. package/dist/components/dropdown-button/ObcDropdownButton.svelte +2 -3
  68. package/dist/components/elevated-card/ObcElevatedCard.svelte +8 -21
  69. package/dist/components/floating-item/ObcFloatingItem.svelte +9 -24
  70. package/dist/components/form-container/ObcFormContainer.svelte +4 -9
  71. package/dist/components/form-group/ObcFormGroup.svelte +3 -6
  72. package/dist/components/form-item/ObcFormItem.svelte +2 -3
  73. package/dist/components/icon-button/ObcIconButton.svelte +2 -3
  74. package/dist/components/icon-check-button/ObcIconCheckButton.svelte +2 -3
  75. package/dist/components/keyboard-numeric/ObcKeyboardNumeric.svelte +2 -3
  76. package/dist/components/menu-button/ObcMenuButton.svelte +2 -3
  77. package/dist/components/message-menu-item/ObcMessageMenuItem.svelte +7 -18
  78. package/dist/components/modal-window/ObcModalWindow.svelte +7 -18
  79. package/dist/components/navigation-item/ObcNavigationItem.svelte +3 -6
  80. package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte +2 -3
  81. package/dist/components/navigation-menu/ObcNavigationMenu.svelte +4 -9
  82. package/dist/components/notification-button/ObcNotificationButton.svelte +2 -3
  83. package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +8 -21
  84. package/dist/components/notification-menu-item/ObcNotificationMenuItem.svelte +2 -3
  85. package/dist/components/notification-message-item/ObcNotificationMessageItem.svelte +2 -3
  86. package/dist/components/number-input-field/ObcNumberInputField.svelte +4 -9
  87. package/dist/components/pivot-item/ObcPivotItem.svelte +2 -3
  88. package/dist/components/progress-bar/ObcProgressBar.svelte +2 -3
  89. package/dist/components/progress-button/ObcProgressButton.svelte +4 -9
  90. package/dist/components/rich-button/ObcRichButton.svelte +3 -6
  91. package/dist/components/sequence-card/ObcSequenceCard.svelte +8 -21
  92. package/dist/components/sequence-item/ObcSequenceItem.svelte +5 -12
  93. package/dist/components/sequence-modal/ObcSequenceModal.svelte +2 -3
  94. package/dist/components/sequence-toolbar/ObcSequenceToolbar.svelte +5 -12
  95. package/dist/components/slide-button/ObcSlideButton.svelte +3 -6
  96. package/dist/components/slider/ObcSlider.svelte +3 -6
  97. package/dist/components/slider-double/ObcSliderDouble.svelte +3 -6
  98. package/dist/components/split-button/ObcSplitButton.svelte +2 -3
  99. package/dist/components/start-stop-switch/ObcStartStopSwitch.svelte +7 -18
  100. package/dist/components/system-menu/ObcSystemMenu.svelte +2 -3
  101. package/dist/components/tab-item/ObcTabItem.svelte +4 -9
  102. package/dist/components/tab-row/ObcTabRow.svelte +3 -6
  103. package/dist/components/tabbed-card/ObcTabbedCard.svelte +16 -45
  104. package/dist/components/table-header-item/ObcTableHeaderItem.svelte +2 -3
  105. package/dist/components/text-input-field/ObcTextInputField.svelte +4 -9
  106. package/dist/components/textarea-field/ObcTextareaField.svelte +2 -3
  107. package/dist/components/textbox/ObcTextbox.svelte +2 -3
  108. package/dist/components/title-container/ObcTitleContainer.svelte +5 -12
  109. package/dist/components/toggle-button-option/ObcToggleButtonOption.svelte +2 -3
  110. package/dist/components/toggle-button-vertical-option/ObcToggleButtonVerticalOption.svelte +2 -3
  111. package/dist/components/toggle-switch/ObcToggleSwitch.svelte +2 -3
  112. package/dist/components/toggletip/ObcToggletip.svelte +4 -9
  113. package/dist/components/tooltip/ObcTooltip.svelte +2 -3
  114. package/dist/components/top-bar/ObcTopBar.svelte +5 -12
  115. package/dist/components/topbar-message-item/ObcTopbarMessageItem.svelte +10 -27
  116. package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte +2 -3
  117. package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte +2 -3
  118. package/dist/components/user-button/ObcUserButton.svelte +2 -3
  119. package/dist/components/user-menu/ObcUserMenu.svelte +2 -3
  120. package/dist/icons/ObiBipolarTransistor01.svelte +32 -0
  121. package/dist/icons/ObiBipolarTransistor01.svelte.d.ts +16 -0
  122. package/dist/icons/ObiBipolarTransistor02.svelte +32 -0
  123. package/dist/icons/ObiBipolarTransistor02.svelte.d.ts +16 -0
  124. package/dist/icons/ObiBipolarTransistor02Off.svelte +32 -0
  125. package/dist/icons/ObiBipolarTransistor02Off.svelte.d.ts +16 -0
  126. package/dist/icons/ObiBipolarTransistor02On.svelte +32 -0
  127. package/dist/icons/ObiBipolarTransistor02On.svelte.d.ts +16 -0
  128. package/dist/icons/ObiBipolarTransistor03.svelte +32 -0
  129. package/dist/icons/ObiBipolarTransistor03.svelte.d.ts +16 -0
  130. package/dist/icons/ObiBipolarTransistor03Flat.svelte +32 -0
  131. package/dist/icons/ObiBipolarTransistor03Flat.svelte.d.ts +16 -0
  132. package/dist/icons/ObiBipolarTransistor03Off.svelte +32 -0
  133. package/dist/icons/ObiBipolarTransistor03Off.svelte.d.ts +16 -0
  134. package/dist/icons/ObiBipolarTransistor03On.svelte +32 -0
  135. package/dist/icons/ObiBipolarTransistor03On.svelte.d.ts +16 -0
  136. package/dist/icons/ObiBipolarTransistor04.svelte +32 -0
  137. package/dist/icons/ObiBipolarTransistor04.svelte.d.ts +16 -0
  138. package/dist/icons/ObiBipolarTransistor04Flat.svelte +32 -0
  139. package/dist/icons/ObiBipolarTransistor04Flat.svelte.d.ts +16 -0
  140. package/dist/icons/ObiBipolarTransistor04Off.svelte +32 -0
  141. package/dist/icons/ObiBipolarTransistor04Off.svelte.d.ts +16 -0
  142. package/dist/icons/ObiBipolarTransistor04On.svelte +32 -0
  143. package/dist/icons/ObiBipolarTransistor04On.svelte.d.ts +16 -0
  144. package/dist/icons/ObiBipolarTransistorOff.svelte +32 -0
  145. package/dist/icons/ObiBipolarTransistorOff.svelte.d.ts +16 -0
  146. package/dist/icons/ObiBipolarTransistorOn.svelte +32 -0
  147. package/dist/icons/ObiBipolarTransistorOn.svelte.d.ts +16 -0
  148. package/dist/icons/ObiBypass.svelte +32 -0
  149. package/dist/icons/ObiBypass.svelte.d.ts +16 -0
  150. package/dist/icons/{ObiChevronTrippleLeft.svelte → ObiChevronTripleLeft.svelte} +3 -3
  151. package/dist/icons/{ObiChevronTrippleRight.svelte.d.ts → ObiChevronTripleLeft.svelte.d.ts} +4 -4
  152. package/dist/icons/{ObiChevronTrippleRight.svelte → ObiChevronTripleRight.svelte} +3 -3
  153. package/dist/icons/{ObiChevronTrippleLeft.svelte.d.ts → ObiChevronTripleRight.svelte.d.ts} +4 -4
  154. package/dist/icons/ObiHeatPumpBalance.svelte +32 -0
  155. package/dist/icons/ObiHeatPumpBalance.svelte.d.ts +16 -0
  156. package/dist/icons/ObiOutput.svelte +32 -0
  157. package/dist/icons/ObiOutput.svelte.d.ts +16 -0
  158. package/dist/icons/ObiPhase.svelte +32 -0
  159. package/dist/icons/ObiPhase.svelte.d.ts +16 -0
  160. package/dist/icons/ObiSensorWaterDewpoint.svelte +32 -0
  161. package/dist/icons/ObiSensorWaterDewpoint.svelte.d.ts +16 -0
  162. package/dist/icons/ObiSensorWaterHumidity.svelte +32 -0
  163. package/dist/icons/ObiSensorWaterHumidity.svelte.d.ts +16 -0
  164. package/dist/index.d.ts +22 -2
  165. package/dist/index.js +22 -2
  166. package/dist/integration-systems/integration-app-bar/ObcIntegrationAppBar.svelte +2 -3
  167. package/dist/integration-systems/integration-bar/ObcIntegrationBar.svelte +4 -9
  168. package/dist/integration-systems/integration-bar-dropdown/ObcIntegrationBarDropdown.svelte +9 -24
  169. package/dist/integration-systems/integration-button/ObcIntegrationButton.svelte +9 -24
  170. package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +2 -3
  171. package/dist/integration-systems/integration-fleet-button/ObcIntegrationFleetButton.svelte +2 -3
  172. package/dist/integration-systems/integration-vessel-menu/ObcIntegrationVesselMenu.svelte +4 -9
  173. package/dist/integration-systems/integration-vessel-selector/ObcIntegrationVesselSelector.svelte +3 -6
  174. package/dist/navigation-instruments/gauge-proportional/ObcGaugeProportional.svelte +3 -6
  175. package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte +2 -3
  176. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +14 -2
  177. package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +15 -1
  178. package/dist/navigation-instruments/instrument-field/ObcInstrumentField.svelte +2 -3
  179. package/dist/navigation-instruments/readout/ObcReadout.svelte +6 -15
  180. package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte +5 -12
  181. package/dist/util.d.ts +20 -0
  182. package/dist/util.js +42 -0
  183. 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>
@@ -1,12 +1,12 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
3
+ export type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
4
4
  export type {ChartDataset} from 'chart.js';
5
5
  export type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
6
  export type {AreaFillMode} from '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';
7
7
  import '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';
8
8
  import { setProperties } from "../../util.js";
9
- import type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
9
+ import type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
10
10
  import type {ChartDataset} from 'chart.js';
11
11
  import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
12
12
  import type {AreaFillMode} from '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';
@@ -41,6 +41,12 @@ import type {AreaFillMode} from '@oicl/openbridge-webcomponents/dist/bars-graphs
41
41
  yAxisPosition?: YAxisPosition;
42
42
  /** Multiple y-axis definitions for complex multi-axis charts. */
43
43
  yAxes?: ChartLineYAxisConfig[] | undefined;
44
+ /**
45
+ * Pinned x range (`min`/`max`) for time and number axes. Without it the axis spans exactly the data, so a window that is still filling stretches across the full width. In `minutes` display `max` is the `0min` reference.
46
+ *
47
+ * Available when `xAxisType!=category`.
48
+ */
49
+ xAxis?: ChartLineXAxisConfig | undefined;
44
50
  /** Show grid lines. */
45
51
  showGrid?: boolean;
46
52
  /**
@@ -73,6 +79,12 @@ and never wants to show axis labels (e.g. `obc-automation-tank`).
73
79
  Defaults to `true` to preserve existing behavior. Declared with `attribute: false`
74
80
  because a `true`-default boolean cannot work as an HTML boolean attribute. */
75
81
  hasLabelPadding?: boolean;
82
+ /**
83
+ * Labels kept below the 192px threshold, where the axis labels are otherwise hidden: 'y' draws min, max and (inside the range) 0 in a gutter on the y-axis side; 'x' draws the first and last x value in a bottom gutter; 'xy' both. Ignored when `hasLabelPadding` is false.
84
+ *
85
+ * Available when `hasLabelPadding==true`.
86
+ */
87
+ rangeLabels?: RangeLabels;
76
88
  /** Show point markers on data points. Default: false. */
77
89
  showPoints?: boolean;
78
90
  /** Line drawing style: 'smooth' (curved), 'straight', or 'stepped'. */
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';
2
- import type { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
2
+ import type { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
3
3
  import type { ChartDataset } from 'chart.js';
4
4
  import type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
5
  import type { AreaFillMode } from '@oicl/openbridge-webcomponents/dist/bars-graphs/area-graph/area-graph.js';
@@ -33,6 +33,12 @@ export interface Props {
33
33
  yAxisPosition?: YAxisPosition;
34
34
  /** Multiple y-axis definitions for complex multi-axis charts. */
35
35
  yAxes?: ChartLineYAxisConfig[] | undefined;
36
+ /**
37
+ * Pinned x range (`min`/`max`) for time and number axes. Without it the axis spans exactly the data, so a window that is still filling stretches across the full width. In `minutes` display `max` is the `0min` reference.
38
+ *
39
+ * Available when `xAxisType!=category`.
40
+ */
41
+ xAxis?: ChartLineXAxisConfig | undefined;
36
42
  /** Show grid lines. */
37
43
  showGrid?: boolean;
38
44
  /**
@@ -65,6 +71,12 @@ and never wants to show axis labels (e.g. `obc-automation-tank`).
65
71
  Defaults to `true` to preserve existing behavior. Declared with `attribute: false`
66
72
  because a `true`-default boolean cannot work as an HTML boolean attribute. */
67
73
  hasLabelPadding?: boolean;
74
+ /**
75
+ * Labels kept below the 192px threshold, where the axis labels are otherwise hidden: 'y' draws min, max and (inside the range) 0 in a gutter on the y-axis side; 'x' draws the first and last x value in a bottom gutter; 'xy' both. Ignored when `hasLabelPadding` is false.
76
+ *
77
+ * Available when `hasLabelPadding==true`.
78
+ */
79
+ rangeLabels?: RangeLabels;
68
80
  /** Show point markers on data points. Default: false. */
69
81
  showPoints?: boolean;
70
82
  /** Line drawing style: 'smooth' (curved), 'straight', or 'stepped'. */
@@ -123,6 +135,8 @@ declare const ObcAreaGraph: import("svelte").Component<$$ComponentProps, {
123
135
  XAxisType: typeof XAxisType;
124
136
  YAxisPosition: typeof YAxisPosition;
125
137
  ChartLineYAxisConfig: typeof ChartLineYAxisConfig;
138
+ ChartLineXAxisConfig: typeof ChartLineXAxisConfig;
139
+ RangeLabels: typeof RangeLabels;
126
140
  LineMode: typeof LineMode;
127
141
  TimeDisplay: typeof TimeDisplay;
128
142
  ChartDataset: typeof ChartDataset;
@@ -1,11 +1,11 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
3
+ export type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
4
4
  export type {ChartDataset} from 'chart.js';
5
5
  export type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
6
  import '@oicl/openbridge-webcomponents/dist/bars-graphs/line-graph/line-graph.js';
7
7
  import { setProperties } from "../../util.js";
8
- import type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
8
+ import type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
9
9
  import type {ChartDataset} from 'chart.js';
10
10
  import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
11
11
  import type { Snippet } from 'svelte';
@@ -39,6 +39,12 @@ import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '
39
39
  yAxisPosition?: YAxisPosition;
40
40
  /** Multiple y-axis definitions for complex multi-axis charts. */
41
41
  yAxes?: ChartLineYAxisConfig[] | undefined;
42
+ /**
43
+ * Pinned x range (`min`/`max`) for time and number axes. Without it the axis spans exactly the data, so a window that is still filling stretches across the full width. In `minutes` display `max` is the `0min` reference.
44
+ *
45
+ * Available when `xAxisType!=category`.
46
+ */
47
+ xAxis?: ChartLineXAxisConfig | undefined;
42
48
  /** Show grid lines. */
43
49
  showGrid?: boolean;
44
50
  /**
@@ -71,6 +77,12 @@ and never wants to show axis labels (e.g. `obc-automation-tank`).
71
77
  Defaults to `true` to preserve existing behavior. Declared with `attribute: false`
72
78
  because a `true`-default boolean cannot work as an HTML boolean attribute. */
73
79
  hasLabelPadding?: boolean;
80
+ /**
81
+ * Labels kept below the 192px threshold, where the axis labels are otherwise hidden: 'y' draws min, max and (inside the range) 0 in a gutter on the y-axis side; 'x' draws the first and last x value in a bottom gutter; 'xy' both. Ignored when `hasLabelPadding` is false.
82
+ *
83
+ * Available when `hasLabelPadding==true`.
84
+ */
85
+ rangeLabels?: RangeLabels;
74
86
  /** Show point markers on data points. Default: false. */
75
87
  showPoints?: boolean;
76
88
  /** Line drawing style: 'smooth' (curved), 'straight', or 'stepped'. */
@@ -1,5 +1,5 @@
1
1
  import '@oicl/openbridge-webcomponents/dist/bars-graphs/line-graph/line-graph.js';
2
- import type { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
2
+ import type { ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
3
3
  import type { ChartDataset } from 'chart.js';
4
4
  import type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
5
5
  import type { Snippet } from 'svelte';
@@ -32,6 +32,12 @@ export interface Props {
32
32
  yAxisPosition?: YAxisPosition;
33
33
  /** Multiple y-axis definitions for complex multi-axis charts. */
34
34
  yAxes?: ChartLineYAxisConfig[] | undefined;
35
+ /**
36
+ * Pinned x range (`min`/`max`) for time and number axes. Without it the axis spans exactly the data, so a window that is still filling stretches across the full width. In `minutes` display `max` is the `0min` reference.
37
+ *
38
+ * Available when `xAxisType!=category`.
39
+ */
40
+ xAxis?: ChartLineXAxisConfig | undefined;
35
41
  /** Show grid lines. */
36
42
  showGrid?: boolean;
37
43
  /**
@@ -64,6 +70,12 @@ and never wants to show axis labels (e.g. `obc-automation-tank`).
64
70
  Defaults to `true` to preserve existing behavior. Declared with `attribute: false`
65
71
  because a `true`-default boolean cannot work as an HTML boolean attribute. */
66
72
  hasLabelPadding?: boolean;
73
+ /**
74
+ * Labels kept below the 192px threshold, where the axis labels are otherwise hidden: 'y' draws min, max and (inside the range) 0 in a gutter on the y-axis side; 'x' draws the first and last x value in a bottom gutter; 'xy' both. Ignored when `hasLabelPadding` is false.
75
+ *
76
+ * Available when `hasLabelPadding==true`.
77
+ */
78
+ rangeLabels?: RangeLabels;
67
79
  /** Show point markers on data points. Default: false. */
68
80
  showPoints?: boolean;
69
81
  /** Line drawing style: 'smooth' (curved), 'straight', or 'stepped'. */
@@ -115,6 +127,8 @@ declare const ObcLineGraph: import("svelte").Component<$$ComponentProps, {
115
127
  XAxisType: typeof XAxisType;
116
128
  YAxisPosition: typeof YAxisPosition;
117
129
  ChartLineYAxisConfig: typeof ChartLineYAxisConfig;
130
+ ChartLineXAxisConfig: typeof ChartLineXAxisConfig;
131
+ RangeLabels: typeof RangeLabels;
118
132
  LineMode: typeof LineMode;
119
133
  TimeDisplay: typeof TimeDisplay;
120
134
  ChartDataset: typeof ChartDataset;
@@ -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>
@@ -61,6 +61,12 @@ animateSetpoint?: boolean;
61
61
  /** Show scale tickmarks */
62
62
  hasScale?: boolean;
63
63
  showLabels?: boolean;
64
+ /**
65
+ * Label the main tickmarks (min / 0 / max) instead of the primary interval ladder, for a scale too short for a ladder. A chart sets it on its slotted scales below its label threshold.
66
+ *
67
+ * Available when `showLabels==true`.
68
+ */
69
+ showMainTickmarkLabels?: boolean;
64
70
  /** Show bar */
65
71
  hasBar?: boolean;
66
72
  /** Show background behind the scale tickmarks. */
@@ -54,6 +54,12 @@ regardless of instrument state. */
54
54
  /** Show scale tickmarks */
55
55
  hasScale?: boolean;
56
56
  showLabels?: boolean;
57
+ /**
58
+ * Label the main tickmarks (min / 0 / max) instead of the primary interval ladder, for a scale too short for a ladder. A chart sets it on its slotted scales below its label threshold.
59
+ *
60
+ * Available when `showLabels==true`.
61
+ */
62
+ showMainTickmarkLabels?: boolean;
57
63
  /** Show bar */
58
64
  hasBar?: boolean;
59
65
  /** Show background behind the scale tickmarks. */
@@ -57,6 +57,12 @@ animateSetpoint?: boolean;
57
57
  /** Show scale tickmarks */
58
58
  hasScale?: boolean;
59
59
  showLabels?: boolean;
60
+ /**
61
+ * Label the main tickmarks (min / 0 / max) instead of the primary interval ladder, for a scale too short for a ladder. A chart sets it on its slotted scales below its label threshold.
62
+ *
63
+ * Available when `showLabels==true`.
64
+ */
65
+ showMainTickmarkLabels?: boolean;
60
66
  /** Show bar */
61
67
  hasBar?: boolean;
62
68
  /** Show background behind the scale tickmarks. */
@@ -50,6 +50,12 @@ regardless of instrument state. */
50
50
  /** Show scale tickmarks */
51
51
  hasScale?: boolean;
52
52
  showLabels?: boolean;
53
+ /**
54
+ * Label the main tickmarks (min / 0 / max) instead of the primary interval ladder, for a scale too short for a ladder. A chart sets it on its slotted scales below its label threshold.
55
+ *
56
+ * Available when `showLabels==true`.
57
+ */
58
+ showMainTickmarkLabels?: boolean;
53
59
  /** Show bar */
54
60
  hasBar?: boolean;
55
61
  /** Show background behind the scale tickmarks. */
@@ -1,11 +1,11 @@
1
1
 
2
2
  <script lang="ts">
3
- export type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
3
+ export type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
4
4
  export type {ChartDataset} from 'chart.js';
5
5
  export type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
6
6
  import '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
7
7
  import { setProperties } from "../../util.js";
8
- import type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
8
+ import type {ChartLineDataItem, ChartLinePoint, XAxisType, YAxisPosition, ChartLineYAxisConfig, ChartLineXAxisConfig, RangeLabels, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
9
9
  import type {ChartDataset} from 'chart.js';
10
10
  import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
11
11
  import type { Snippet } from 'svelte';
@@ -39,6 +39,12 @@ import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '
39
39
  yAxisPosition?: YAxisPosition;
40
40
  /** Multiple y-axis definitions for complex multi-axis charts. */
41
41
  yAxes?: ChartLineYAxisConfig[] | undefined;
42
+ /**
43
+ * Pinned x range (`min`/`max`) for time and number axes. Without it the axis spans exactly the data, so a window that is still filling stretches across the full width. In `minutes` display `max` is the `0min` reference.
44
+ *
45
+ * Available when `xAxisType!=category`.
46
+ */
47
+ xAxis?: ChartLineXAxisConfig | undefined;
42
48
  /** Show grid lines. */
43
49
  showGrid?: boolean;
44
50
  /**
@@ -71,6 +77,12 @@ and never wants to show axis labels (e.g. `obc-automation-tank`).
71
77
  Defaults to `true` to preserve existing behavior. Declared with `attribute: false`
72
78
  because a `true`-default boolean cannot work as an HTML boolean attribute. */
73
79
  hasLabelPadding?: boolean;
80
+ /**
81
+ * Labels kept below the 192px threshold, where the axis labels are otherwise hidden: 'y' draws min, max and (inside the range) 0 in a gutter on the y-axis side; 'x' draws the first and last x value in a bottom gutter; 'xy' both. Ignored when `hasLabelPadding` is false.
82
+ *
83
+ * Available when `hasLabelPadding==true`.
84
+ */
85
+ rangeLabels?: RangeLabels;
74
86
  /** Show point markers on data points. Default: false. */
75
87
  showPoints?: boolean;
76
88
  /** Line drawing style: 'smooth' (curved), 'straight', or 'stepped'. */