@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.
- package/dist/NamedSlot.svelte +26 -0
- package/dist/NamedSlot.svelte.d.ts +11 -0
- package/dist/ar/building-blocks/poi-header/ObcPoiHeader.svelte +2 -3
- package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte +5 -12
- package/dist/ar/poi/ObcPoi.svelte +3 -6
- package/dist/ar/poi/ObcPoiAton.svelte +2 -3
- package/dist/ar/poi/ObcPoiData.svelte +2 -3
- package/dist/ar/poi/ObcPoiVessel.svelte +4 -9
- package/dist/ar/poi-button/ObcPoiButton.svelte +3 -6
- package/dist/ar/poi-button/ObcPoiButtonAton.svelte +3 -6
- package/dist/ar/poi-button/ObcPoiButtonData.svelte +3 -6
- package/dist/ar/poi-button/ObcPoiButtonVessel.svelte +5 -12
- package/dist/ar/poi-card/ObcPoiCard.svelte +3 -6
- package/dist/ar/poi-card-header/ObcPoiCardHeader.svelte +3 -6
- package/dist/ar/poi-controller/ObcPoiController.svelte +3 -6
- package/dist/ar/poi-object/ObcPoiObjectVessel.svelte +3 -6
- package/dist/automation/automation-badge/ObcAutomationBadge.svelte +2 -3
- package/dist/automation/automation-button/ObcAutomationButton.svelte +10 -27
- package/dist/automation/automation-input-modal/ObcAutomationInputModal.svelte +5 -12
- package/dist/automation/automation-tank/ObcAutomationTank.svelte +11 -30
- package/dist/automation/gauge-generator/ObcGaugeGenerator.svelte +3 -6
- package/dist/automation/gauge-motors-and-pumps/ObcGaugeMotorsAndPumps.svelte +3 -6
- package/dist/automation/gauge-valve/ObcGaugeValve.svelte +2 -3
- package/dist/automation/heat-exchanger/ObcHeatExchanger.svelte +6 -15
- package/dist/automation/heat-pump/ObcHeatPump.svelte +6 -15
- package/dist/automation/hydraulic-separator/ObcHydraulicSeparator.svelte +6 -15
- package/dist/automation/indicator-battery/ObcIndicatorBattery.svelte +2 -3
- package/dist/automation/indicator-generator/ObcIndicatorGenerator.svelte +2 -3
- package/dist/automation/indicator-tank-atmospheric/ObcIndicatorTankAtmospheric.svelte +2 -3
- package/dist/automation/transmitter/ObcTransmitter.svelte +2 -3
- package/dist/automation/transmitter-button/ObcTransmitterButton.svelte +2 -3
- package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte +14 -2
- package/dist/bars-graphs/area-graph/ObcAreaGraph.svelte.d.ts +15 -1
- package/dist/bars-graphs/line-graph/ObcLineGraph.svelte +14 -2
- package/dist/bars-graphs/line-graph/ObcLineGraph.svelte.d.ts +15 -1
- package/dist/building-blocks/alert-list/ObcAlertList.svelte +4 -9
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +6 -0
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +6 -0
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +6 -0
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +6 -0
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +14 -2
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +15 -1
- package/dist/building-blocks/readout-block/ObcReadoutBlock.svelte +2 -3
- package/dist/components/accordion-card/ObcAccordionCard.svelte +6 -15
- package/dist/components/accordion-item/ObcAccordionItem.svelte +2 -3
- package/dist/components/advice-button/ObcAdviceButton.svelte +2 -3
- package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +8 -21
- package/dist/components/advice-menu-item/ObcAdviceMenuItem.svelte +2 -3
- package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +2 -3
- package/dist/components/alert-button/ObcAlertButton.svelte +4 -2
- package/dist/components/alert-button/ObcAlertButton.svelte.d.ts +4 -1
- package/dist/components/alert-floating-item/ObcAlertFloatingItem.svelte +8 -21
- package/dist/components/alert-frame/ObcAlertFrame.svelte +12 -13
- package/dist/components/alert-frame/ObcAlertFrame.svelte.d.ts +8 -2
- package/dist/components/alert-icon/ObcAlertIcon.svelte +5 -3
- package/dist/components/alert-icon/ObcAlertIcon.svelte.d.ts +4 -1
- package/dist/components/alert-menu/ObcAlertMenu.svelte +4 -9
- package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte +5 -12
- package/dist/components/alert-subsystem-counter/ObcAlertSubsystemCounter.svelte +3 -6
- package/dist/components/app-button/ObcAppButton.svelte +2 -3
- package/dist/components/attachment-list-item/ObcAttachmentListItem.svelte +4 -9
- package/dist/components/badge/ObcBadge.svelte +2 -3
- package/dist/components/button/ObcButton.svelte +3 -6
- package/dist/components/card/ObcCard.svelte +4 -9
- package/dist/components/check-button/ObcCheckButton.svelte +4 -9
- package/dist/components/command-menu/ObcCommandMenu.svelte +10 -27
- package/dist/components/dropdown-button/ObcDropdownButton.svelte +2 -3
- package/dist/components/elevated-card/ObcElevatedCard.svelte +8 -21
- package/dist/components/floating-item/ObcFloatingItem.svelte +9 -24
- package/dist/components/form-container/ObcFormContainer.svelte +4 -9
- package/dist/components/form-group/ObcFormGroup.svelte +3 -6
- package/dist/components/form-item/ObcFormItem.svelte +2 -3
- package/dist/components/icon-button/ObcIconButton.svelte +2 -3
- package/dist/components/icon-check-button/ObcIconCheckButton.svelte +2 -3
- package/dist/components/keyboard-numeric/ObcKeyboardNumeric.svelte +2 -3
- package/dist/components/menu-button/ObcMenuButton.svelte +2 -3
- package/dist/components/message-menu-item/ObcMessageMenuItem.svelte +7 -18
- package/dist/components/modal-window/ObcModalWindow.svelte +7 -18
- package/dist/components/navigation-item/ObcNavigationItem.svelte +3 -6
- package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte +2 -3
- package/dist/components/navigation-menu/ObcNavigationMenu.svelte +4 -9
- package/dist/components/notification-button/ObcNotificationButton.svelte +2 -3
- package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +8 -21
- package/dist/components/notification-menu-item/ObcNotificationMenuItem.svelte +2 -3
- package/dist/components/notification-message-item/ObcNotificationMessageItem.svelte +2 -3
- package/dist/components/number-input-field/ObcNumberInputField.svelte +4 -9
- package/dist/components/pivot-item/ObcPivotItem.svelte +2 -3
- package/dist/components/progress-bar/ObcProgressBar.svelte +2 -3
- package/dist/components/progress-button/ObcProgressButton.svelte +4 -9
- package/dist/components/rich-button/ObcRichButton.svelte +3 -6
- package/dist/components/sequence-card/ObcSequenceCard.svelte +8 -21
- package/dist/components/sequence-item/ObcSequenceItem.svelte +5 -12
- package/dist/components/sequence-modal/ObcSequenceModal.svelte +2 -3
- package/dist/components/sequence-toolbar/ObcSequenceToolbar.svelte +5 -12
- package/dist/components/slide-button/ObcSlideButton.svelte +3 -6
- package/dist/components/slider/ObcSlider.svelte +3 -6
- package/dist/components/slider-double/ObcSliderDouble.svelte +3 -6
- package/dist/components/split-button/ObcSplitButton.svelte +2 -3
- package/dist/components/start-stop-switch/ObcStartStopSwitch.svelte +7 -18
- package/dist/components/system-menu/ObcSystemMenu.svelte +2 -3
- package/dist/components/tab-item/ObcTabItem.svelte +4 -9
- package/dist/components/tab-row/ObcTabRow.svelte +3 -6
- package/dist/components/tabbed-card/ObcTabbedCard.svelte +16 -45
- package/dist/components/table-header-item/ObcTableHeaderItem.svelte +2 -3
- package/dist/components/text-input-field/ObcTextInputField.svelte +4 -9
- package/dist/components/textarea-field/ObcTextareaField.svelte +2 -3
- package/dist/components/textbox/ObcTextbox.svelte +2 -3
- package/dist/components/title-container/ObcTitleContainer.svelte +5 -12
- package/dist/components/toggle-button-option/ObcToggleButtonOption.svelte +2 -3
- package/dist/components/toggle-button-vertical-option/ObcToggleButtonVerticalOption.svelte +2 -3
- package/dist/components/toggle-switch/ObcToggleSwitch.svelte +2 -3
- package/dist/components/toggletip/ObcToggletip.svelte +4 -9
- package/dist/components/tooltip/ObcTooltip.svelte +2 -3
- package/dist/components/top-bar/ObcTopBar.svelte +5 -12
- package/dist/components/topbar-message-item/ObcTopbarMessageItem.svelte +10 -27
- package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte +2 -3
- package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte +2 -3
- package/dist/components/user-button/ObcUserButton.svelte +2 -3
- package/dist/components/user-menu/ObcUserMenu.svelte +2 -3
- package/dist/icons/ObiBipolarTransistor01.svelte +32 -0
- package/dist/icons/ObiBipolarTransistor01.svelte.d.ts +16 -0
- package/dist/icons/ObiBipolarTransistor02.svelte +32 -0
- package/dist/icons/ObiBipolarTransistor02.svelte.d.ts +16 -0
- package/dist/icons/ObiBipolarTransistor02Off.svelte +32 -0
- package/dist/icons/ObiBipolarTransistor02Off.svelte.d.ts +16 -0
- package/dist/icons/ObiBipolarTransistor02On.svelte +32 -0
- package/dist/icons/ObiBipolarTransistor02On.svelte.d.ts +16 -0
- package/dist/icons/ObiBipolarTransistor03.svelte +32 -0
- package/dist/icons/ObiBipolarTransistor03.svelte.d.ts +16 -0
- package/dist/icons/ObiBipolarTransistor03Flat.svelte +32 -0
- package/dist/icons/ObiBipolarTransistor03Flat.svelte.d.ts +16 -0
- package/dist/icons/ObiBipolarTransistor03Off.svelte +32 -0
- package/dist/icons/ObiBipolarTransistor03Off.svelte.d.ts +16 -0
- package/dist/icons/ObiBipolarTransistor03On.svelte +32 -0
- package/dist/icons/ObiBipolarTransistor03On.svelte.d.ts +16 -0
- package/dist/icons/ObiBipolarTransistor04.svelte +32 -0
- package/dist/icons/ObiBipolarTransistor04.svelte.d.ts +16 -0
- package/dist/icons/ObiBipolarTransistor04Flat.svelte +32 -0
- package/dist/icons/ObiBipolarTransistor04Flat.svelte.d.ts +16 -0
- package/dist/icons/ObiBipolarTransistor04Off.svelte +32 -0
- package/dist/icons/ObiBipolarTransistor04Off.svelte.d.ts +16 -0
- package/dist/icons/ObiBipolarTransistor04On.svelte +32 -0
- package/dist/icons/ObiBipolarTransistor04On.svelte.d.ts +16 -0
- package/dist/icons/ObiBipolarTransistorOff.svelte +32 -0
- package/dist/icons/ObiBipolarTransistorOff.svelte.d.ts +16 -0
- package/dist/icons/ObiBipolarTransistorOn.svelte +32 -0
- package/dist/icons/ObiBipolarTransistorOn.svelte.d.ts +16 -0
- package/dist/icons/ObiBypass.svelte +32 -0
- package/dist/icons/ObiBypass.svelte.d.ts +16 -0
- package/dist/icons/{ObiChevronTrippleLeft.svelte → ObiChevronTripleLeft.svelte} +3 -3
- package/dist/icons/{ObiChevronTrippleRight.svelte.d.ts → ObiChevronTripleLeft.svelte.d.ts} +4 -4
- package/dist/icons/{ObiChevronTrippleRight.svelte → ObiChevronTripleRight.svelte} +3 -3
- package/dist/icons/{ObiChevronTrippleLeft.svelte.d.ts → ObiChevronTripleRight.svelte.d.ts} +4 -4
- package/dist/icons/ObiHeatPumpBalance.svelte +32 -0
- package/dist/icons/ObiHeatPumpBalance.svelte.d.ts +16 -0
- package/dist/icons/ObiOutput.svelte +32 -0
- package/dist/icons/ObiOutput.svelte.d.ts +16 -0
- package/dist/icons/ObiPhase.svelte +32 -0
- package/dist/icons/ObiPhase.svelte.d.ts +16 -0
- package/dist/icons/ObiSensorWaterDewpoint.svelte +32 -0
- package/dist/icons/ObiSensorWaterDewpoint.svelte.d.ts +16 -0
- package/dist/icons/ObiSensorWaterHumidity.svelte +32 -0
- package/dist/icons/ObiSensorWaterHumidity.svelte.d.ts +16 -0
- package/dist/index.d.ts +22 -2
- package/dist/index.js +22 -2
- package/dist/integration-systems/integration-app-bar/ObcIntegrationAppBar.svelte +2 -3
- package/dist/integration-systems/integration-bar/ObcIntegrationBar.svelte +4 -9
- package/dist/integration-systems/integration-bar-dropdown/ObcIntegrationBarDropdown.svelte +9 -24
- package/dist/integration-systems/integration-button/ObcIntegrationButton.svelte +9 -24
- package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +2 -3
- package/dist/integration-systems/integration-fleet-button/ObcIntegrationFleetButton.svelte +2 -3
- package/dist/integration-systems/integration-vessel-menu/ObcIntegrationVesselMenu.svelte +4 -9
- package/dist/integration-systems/integration-vessel-selector/ObcIntegrationVesselSelector.svelte +3 -6
- package/dist/navigation-instruments/gauge-proportional/ObcGaugeProportional.svelte +3 -6
- package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte +2 -3
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +14 -2
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +15 -1
- package/dist/navigation-instruments/instrument-field/ObcInstrumentField.svelte +2 -3
- package/dist/navigation-instruments/readout/ObcReadout.svelte +6 -15
- package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte +5 -12
- package/dist/util.d.ts +20 -0
- package/dist/util.js +42 -0
- package/package.json +2 -2
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {TabData} from '@oicl/openbridge-webcomponents/dist/components/tab-row/tab-row.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/tab-row/tab-row.js';
|
|
5
5
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {TabData} from '@oicl/openbridge-webcomponents/dist/components/tab-row/tab-row.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -67,17 +68,13 @@ hasAddNewTab?: boolean
|
|
|
67
68
|
|
|
68
69
|
{#if props.tabs && tabIcon}
|
|
69
70
|
{#each props.tabs as item}
|
|
70
|
-
<
|
|
71
|
-
{@render tabIcon(item)}
|
|
72
|
-
</div>
|
|
71
|
+
<NamedSlot name="tab-{item.id}-icon" content={tabIcon} arg={item} />
|
|
73
72
|
{/each}
|
|
74
73
|
{/if}
|
|
75
74
|
|
|
76
75
|
{#if props.tabs && tab}
|
|
77
76
|
{#each props.tabs as item}
|
|
78
|
-
<
|
|
79
|
-
{@render tab(item)}
|
|
80
|
-
</div>
|
|
77
|
+
<NamedSlot name="tab-{item.id}-<iconSlotName>" content={tab} arg={item} />
|
|
81
78
|
{/each}
|
|
82
79
|
{/if}
|
|
83
80
|
</obc-tab-row>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/tabbed-card/tabbed-card.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
|
|
|
@@ -53,92 +54,62 @@
|
|
|
53
54
|
{/if}
|
|
54
55
|
|
|
55
56
|
{#if tabTitle0}
|
|
56
|
-
<
|
|
57
|
-
{@render tabTitle0()}
|
|
58
|
-
</div>
|
|
57
|
+
<NamedSlot name="tab-title-0" content={tabTitle0} />
|
|
59
58
|
{/if}
|
|
60
59
|
|
|
61
60
|
{#if tabContent0}
|
|
62
|
-
<
|
|
63
|
-
{@render tabContent0()}
|
|
64
|
-
</div>
|
|
61
|
+
<NamedSlot name="tab-content-0" content={tabContent0} />
|
|
65
62
|
{/if}
|
|
66
63
|
|
|
67
64
|
{#if tabTitle1}
|
|
68
|
-
<
|
|
69
|
-
{@render tabTitle1()}
|
|
70
|
-
</div>
|
|
65
|
+
<NamedSlot name="tab-title-1" content={tabTitle1} />
|
|
71
66
|
{/if}
|
|
72
67
|
|
|
73
68
|
{#if tabContent1}
|
|
74
|
-
<
|
|
75
|
-
{@render tabContent1()}
|
|
76
|
-
</div>
|
|
69
|
+
<NamedSlot name="tab-content-1" content={tabContent1} />
|
|
77
70
|
{/if}
|
|
78
71
|
|
|
79
72
|
{#if tabTitle2}
|
|
80
|
-
<
|
|
81
|
-
{@render tabTitle2()}
|
|
82
|
-
</div>
|
|
73
|
+
<NamedSlot name="tab-title-2" content={tabTitle2} />
|
|
83
74
|
{/if}
|
|
84
75
|
|
|
85
76
|
{#if tabContent2}
|
|
86
|
-
<
|
|
87
|
-
{@render tabContent2()}
|
|
88
|
-
</div>
|
|
77
|
+
<NamedSlot name="tab-content-2" content={tabContent2} />
|
|
89
78
|
{/if}
|
|
90
79
|
|
|
91
80
|
{#if tabTitle3}
|
|
92
|
-
<
|
|
93
|
-
{@render tabTitle3()}
|
|
94
|
-
</div>
|
|
81
|
+
<NamedSlot name="tab-title-3" content={tabTitle3} />
|
|
95
82
|
{/if}
|
|
96
83
|
|
|
97
84
|
{#if tabContent3}
|
|
98
|
-
<
|
|
99
|
-
{@render tabContent3()}
|
|
100
|
-
</div>
|
|
85
|
+
<NamedSlot name="tab-content-3" content={tabContent3} />
|
|
101
86
|
{/if}
|
|
102
87
|
|
|
103
88
|
{#if tabTitle4}
|
|
104
|
-
<
|
|
105
|
-
{@render tabTitle4()}
|
|
106
|
-
</div>
|
|
89
|
+
<NamedSlot name="tab-title-4" content={tabTitle4} />
|
|
107
90
|
{/if}
|
|
108
91
|
|
|
109
92
|
{#if tabContent4}
|
|
110
|
-
<
|
|
111
|
-
{@render tabContent4()}
|
|
112
|
-
</div>
|
|
93
|
+
<NamedSlot name="tab-content-4" content={tabContent4} />
|
|
113
94
|
{/if}
|
|
114
95
|
|
|
115
96
|
{#if tabIcon0}
|
|
116
|
-
<
|
|
117
|
-
{@render tabIcon0()}
|
|
118
|
-
</div>
|
|
97
|
+
<NamedSlot name="tab-icon-0" content={tabIcon0} />
|
|
119
98
|
{/if}
|
|
120
99
|
|
|
121
100
|
{#if tabIcon1}
|
|
122
|
-
<
|
|
123
|
-
{@render tabIcon1()}
|
|
124
|
-
</div>
|
|
101
|
+
<NamedSlot name="tab-icon-1" content={tabIcon1} />
|
|
125
102
|
{/if}
|
|
126
103
|
|
|
127
104
|
{#if tabIcon2}
|
|
128
|
-
<
|
|
129
|
-
{@render tabIcon2()}
|
|
130
|
-
</div>
|
|
105
|
+
<NamedSlot name="tab-icon-2" content={tabIcon2} />
|
|
131
106
|
{/if}
|
|
132
107
|
|
|
133
108
|
{#if tabIcon3}
|
|
134
|
-
<
|
|
135
|
-
{@render tabIcon3()}
|
|
136
|
-
</div>
|
|
109
|
+
<NamedSlot name="tab-icon-3" content={tabIcon3} />
|
|
137
110
|
{/if}
|
|
138
111
|
|
|
139
112
|
{#if tabIcon4}
|
|
140
|
-
<
|
|
141
|
-
{@render tabIcon4()}
|
|
142
|
-
</div>
|
|
113
|
+
<NamedSlot name="tab-icon-4" content={tabIcon4} />
|
|
143
114
|
{/if}
|
|
144
115
|
</obc-tabbed-card>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {ObcTableHeaderItemType, ObcTableHeaderItemSortDirection} from '@oicl/openbridge-webcomponents/dist/components/table-header-item/table-header-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/table-header-item/table-header-item.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {ObcTableHeaderItemType, ObcTableHeaderItemSortDirection} from '@oicl/openbridge-webcomponents/dist/components/table-header-item/table-header-item.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -35,9 +36,7 @@
|
|
|
35
36
|
>
|
|
36
37
|
|
|
37
38
|
{#if leadingIcon}
|
|
38
|
-
<
|
|
39
|
-
{@render leadingIcon()}
|
|
40
|
-
</div>
|
|
39
|
+
<NamedSlot name="leading-icon" content={leadingIcon} />
|
|
41
40
|
{/if}
|
|
42
41
|
|
|
43
42
|
{#if children}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {HTMLInputTypeAttribute, ObcTextInputFieldTextAlign, ObcTextInputFieldSize, ObcTextInputFieldPlacement} from '@oicl/openbridge-webcomponents/dist/components/text-input-field/text-input-field.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/text-input-field/text-input-field.js';
|
|
5
5
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {HTMLInputTypeAttribute, ObcTextInputFieldTextAlign, ObcTextInputFieldSize, ObcTextInputFieldPlacement} from '@oicl/openbridge-webcomponents/dist/components/text-input-field/text-input-field.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -65,20 +66,14 @@
|
|
|
65
66
|
use:forwardEvents={{'input': onInput, 'change': onChange, 'clear': onClear, 'blur': onBlur}} >
|
|
66
67
|
|
|
67
68
|
{#if leadingIcon}
|
|
68
|
-
<
|
|
69
|
-
{@render leadingIcon()}
|
|
70
|
-
</div>
|
|
69
|
+
<NamedSlot name="leading-icon" content={leadingIcon} />
|
|
71
70
|
{/if}
|
|
72
71
|
|
|
73
72
|
{#if labelIcon}
|
|
74
|
-
<
|
|
75
|
-
{@render labelIcon()}
|
|
76
|
-
</div>
|
|
73
|
+
<NamedSlot name="label-icon" content={labelIcon} />
|
|
77
74
|
{/if}
|
|
78
75
|
|
|
79
76
|
{#if helperIcon}
|
|
80
|
-
<
|
|
81
|
-
{@render helperIcon()}
|
|
82
|
-
</div>
|
|
77
|
+
<NamedSlot name="helper-icon" content={helperIcon} />
|
|
83
78
|
{/if}
|
|
84
79
|
</obc-text-input-field>
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
export type {AudioRecordingStatus} from '@oicl/openbridge-webcomponents/dist/components/audio-recording-item/audio-recording-item.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/components/textarea-field/textarea-field.js';
|
|
6
6
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
7
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
7
8
|
import type {VoiceActionDetail, TextareaFieldType, Attachment} from '@oicl/openbridge-webcomponents/dist/components/textarea-field/textarea-field.js';
|
|
8
9
|
import type {AudioRecordingStatus} from '@oicl/openbridge-webcomponents/dist/components/audio-recording-item/audio-recording-item.js';
|
|
9
10
|
import type { Snippet } from 'svelte';
|
|
@@ -101,8 +102,6 @@ import type {AudioRecordingStatus} from '@oicl/openbridge-webcomponents/dist/com
|
|
|
101
102
|
use:forwardEvents={{'change': onChange, 'input': onInput, 'blur': onBlur, 'send-click': onSendClick, 'add-click': onAddClick, 'screenshot-click': onScreenshotClick, 'image-click': onImageClick, 'attachment-click': onAttachmentClick, 'voice-action': onVoiceAction, 'attachment-remove': onAttachmentRemove}} >
|
|
102
103
|
|
|
103
104
|
{#if leadingIcon}
|
|
104
|
-
<
|
|
105
|
-
{@render leadingIcon()}
|
|
106
|
-
</div>
|
|
105
|
+
<NamedSlot name="leading-icon" content={leadingIcon} />
|
|
107
106
|
{/if}
|
|
108
107
|
</obc-textarea-field>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {ObcTextboxAlignment, ObcTextboxSize, ObcTextboxFontWeight} from '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {ObcTextboxAlignment, ObcTextboxSize, ObcTextboxFontWeight} from '@oicl/openbridge-webcomponents/dist/components/textbox/textbox.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -35,8 +36,6 @@
|
|
|
35
36
|
{/if}
|
|
36
37
|
|
|
37
38
|
{#if length}
|
|
38
|
-
<
|
|
39
|
-
{@render length()}
|
|
40
|
-
</div>
|
|
39
|
+
<NamedSlot name="length" content={length} />
|
|
41
40
|
{/if}
|
|
42
41
|
</obc-textbox>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {ObcTitleContainerState} from '@oicl/openbridge-webcomponents/dist/components/title-container/title-container.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/title-container/title-container.js';
|
|
5
5
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {ObcTitleContainerState} from '@oicl/openbridge-webcomponents/dist/components/title-container/title-container.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -32,26 +33,18 @@
|
|
|
32
33
|
use:forwardEvents={{'action-click': onActionClick}} >
|
|
33
34
|
|
|
34
35
|
{#if icon}
|
|
35
|
-
<
|
|
36
|
-
{@render icon()}
|
|
37
|
-
</div>
|
|
36
|
+
<NamedSlot name="icon" content={icon} />
|
|
38
37
|
{/if}
|
|
39
38
|
|
|
40
39
|
{#if title}
|
|
41
|
-
<
|
|
42
|
-
{@render title()}
|
|
43
|
-
</div>
|
|
40
|
+
<NamedSlot name="title" content={title} />
|
|
44
41
|
{/if}
|
|
45
42
|
|
|
46
43
|
{#if labelSnippet}
|
|
47
|
-
<
|
|
48
|
-
{@render labelSnippet()}
|
|
49
|
-
</div>
|
|
44
|
+
<NamedSlot name="label" content={labelSnippet} />
|
|
50
45
|
{/if}
|
|
51
46
|
|
|
52
47
|
{#if actions}
|
|
53
|
-
<
|
|
54
|
-
{@render actions()}
|
|
55
|
-
</div>
|
|
48
|
+
<NamedSlot name="actions" content={actions} />
|
|
56
49
|
{/if}
|
|
57
50
|
</obc-title-container>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {ObcToggleButtonOptionType, ObcToggleButtonOptionVariant} from '@oicl/openbridge-webcomponents/dist/components/toggle-button-option/toggle-button-option.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/toggle-button-option/toggle-button-option.js';
|
|
5
5
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {ObcToggleButtonOptionType, ObcToggleButtonOptionVariant} from '@oicl/openbridge-webcomponents/dist/components/toggle-button-option/toggle-button-option.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -57,8 +58,6 @@
|
|
|
57
58
|
{/if}
|
|
58
59
|
|
|
59
60
|
{#if icon}
|
|
60
|
-
<
|
|
61
|
-
{@render icon()}
|
|
62
|
-
</div>
|
|
61
|
+
<NamedSlot name="icon" content={icon} />
|
|
63
62
|
{/if}
|
|
64
63
|
</obc-toggle-button-option>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {ObcToggleButtonVerticalOptionType, ObcToggleButtonLabelPlacement} from '@oicl/openbridge-webcomponents/dist/components/toggle-button-vertical-option/toggle-button-vertical-option.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/toggle-button-vertical-option/toggle-button-vertical-option.js';
|
|
5
5
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {ObcToggleButtonVerticalOptionType, ObcToggleButtonLabelPlacement} from '@oicl/openbridge-webcomponents/dist/components/toggle-button-vertical-option/toggle-button-vertical-option.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -44,8 +45,6 @@ labelPlacement?: ObcToggleButtonLabelPlacement
|
|
|
44
45
|
use:forwardEvents={{'selected': onSelected}} >
|
|
45
46
|
|
|
46
47
|
{#if icon}
|
|
47
|
-
<
|
|
48
|
-
{@render icon()}
|
|
49
|
-
</div>
|
|
48
|
+
<NamedSlot name="icon" content={icon} />
|
|
50
49
|
{/if}
|
|
51
50
|
</obc-toggle-button-vertical-option>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {ObcToggleSwitchInputEvent, ObcToggleSwitchChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/toggle-switch/toggle-switch.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/toggle-switch/toggle-switch.js';
|
|
5
5
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {ObcToggleSwitchInputEvent, ObcToggleSwitchChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/toggle-switch/toggle-switch.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -47,8 +48,6 @@
|
|
|
47
48
|
use:forwardEvents={{'input': onInput, 'change': onChange}} >
|
|
48
49
|
|
|
49
50
|
{#if icon}
|
|
50
|
-
<
|
|
51
|
-
{@render icon()}
|
|
52
|
-
</div>
|
|
51
|
+
<NamedSlot name="icon" content={icon} />
|
|
53
52
|
{/if}
|
|
54
53
|
</obc-toggle-switch>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {ToggletipVariant} from '@oicl/openbridge-webcomponents/dist/components/toggletip/toggletip.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/toggletip/toggletip.js';
|
|
5
5
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {ToggletipVariant} from '@oicl/openbridge-webcomponents/dist/components/toggletip/toggletip.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -73,20 +74,14 @@ variant?: ToggletipVariant;
|
|
|
73
74
|
use:forwardEvents={{'primary-action': onPrimaryAction, 'secondary-action': onSecondaryAction}} >
|
|
74
75
|
|
|
75
76
|
{#if leadingIcon}
|
|
76
|
-
<
|
|
77
|
-
{@render leadingIcon()}
|
|
78
|
-
</div>
|
|
77
|
+
<NamedSlot name="leading-icon" content={leadingIcon} />
|
|
79
78
|
{/if}
|
|
80
79
|
|
|
81
80
|
{#if trailingIcon}
|
|
82
|
-
<
|
|
83
|
-
{@render trailingIcon()}
|
|
84
|
-
</div>
|
|
81
|
+
<NamedSlot name="trailing-icon" content={trailingIcon} />
|
|
85
82
|
{/if}
|
|
86
83
|
|
|
87
84
|
{#if content}
|
|
88
|
-
<
|
|
89
|
-
{@render content()}
|
|
90
|
-
</div>
|
|
85
|
+
<NamedSlot name="content" content={content} />
|
|
91
86
|
{/if}
|
|
92
87
|
</obc-toggletip>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {TooltipType, TooltipVariant} from '@oicl/openbridge-webcomponents/dist/components/tooltip/tooltip.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/tooltip/tooltip.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {TooltipType, TooltipVariant} from '@oicl/openbridge-webcomponents/dist/components/tooltip/tooltip.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -54,8 +55,6 @@ showIcon?: boolean
|
|
|
54
55
|
>
|
|
55
56
|
|
|
56
57
|
{#if icon}
|
|
57
|
-
<
|
|
58
|
-
{@render icon()}
|
|
59
|
-
</div>
|
|
58
|
+
<NamedSlot name="icon" content={icon} />
|
|
60
59
|
{/if}
|
|
61
60
|
</obc-tooltip>
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
export type {ObcTopBarMenuButtonIcon} from '@oicl/openbridge-webcomponents/dist/components/top-bar/top-bar.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/components/top-bar/top-bar.js';
|
|
6
6
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
7
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
7
8
|
import type {BreadcrumbClickEvent, BreadcrumbItem} from '@oicl/openbridge-webcomponents/dist/components/breadcrumb/breadcrumb.js';
|
|
8
9
|
import type {ObcTopBarMenuButtonIcon} from '@oicl/openbridge-webcomponents/dist/components/top-bar/top-bar.js';
|
|
9
10
|
import type { Snippet } from 'svelte';
|
|
@@ -90,26 +91,18 @@ breadcrumbItems?: BreadcrumbItem[]
|
|
|
90
91
|
use:forwardEvents={{'menu-button-clicked': onMenuButtonClicked, 'dimming-button-clicked': onDimmingButtonClicked, 'apps-button-clicked': onAppsButtonClicked, 'left-more-button-clicked': onLeftMoreButtonClicked, 'user-button-clicked': onUserButtonClicked, 'close': onClose, 'back': onBack, 'emergency-brightness-start': onEmergencyBrightnessStart, 'emergency-brightness-stop': onEmergencyBrightnessStop, 'breadcrumb-click': onBreadcrumbClick}} >
|
|
91
92
|
|
|
92
93
|
{#if appIcon}
|
|
93
|
-
<
|
|
94
|
-
{@render appIcon()}
|
|
95
|
-
</div>
|
|
94
|
+
<NamedSlot name="app-icon" content={appIcon} />
|
|
96
95
|
{/if}
|
|
97
96
|
|
|
98
97
|
{#if commandButton}
|
|
99
|
-
<
|
|
100
|
-
{@render commandButton()}
|
|
101
|
-
</div>
|
|
98
|
+
<NamedSlot name="command-button" content={commandButton} />
|
|
102
99
|
{/if}
|
|
103
100
|
|
|
104
101
|
{#if alerts}
|
|
105
|
-
<
|
|
106
|
-
{@render alerts()}
|
|
107
|
-
</div>
|
|
102
|
+
<NamedSlot name="alerts" content={alerts} />
|
|
108
103
|
{/if}
|
|
109
104
|
|
|
110
105
|
{#if clock}
|
|
111
|
-
<
|
|
112
|
-
{@render clock()}
|
|
113
|
-
</div>
|
|
106
|
+
<NamedSlot name="clock" content={clock} />
|
|
114
107
|
{/if}
|
|
115
108
|
</obc-top-bar>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {ObcTopbarMessageItemType, ObcTopbarMessageItemSize} from '@oicl/openbridge-webcomponents/dist/components/topbar-message-item/topbar-message-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/topbar-message-item/topbar-message-item.js';
|
|
5
5
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {ObcTopbarMessageItemType, ObcTopbarMessageItemSize} from '@oicl/openbridge-webcomponents/dist/components/topbar-message-item/topbar-message-item.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -81,56 +82,38 @@ size?: ObcTopbarMessageItemSize;
|
|
|
81
82
|
use:forwardEvents={{'message-click': onMessageClick, 'action-click': onActionClick}} >
|
|
82
83
|
|
|
83
84
|
{#if primaryIcon}
|
|
84
|
-
<
|
|
85
|
-
{@render primaryIcon()}
|
|
86
|
-
</div>
|
|
85
|
+
<NamedSlot name="primary-icon" content={primaryIcon} />
|
|
87
86
|
{/if}
|
|
88
87
|
|
|
89
88
|
{#if secondaryIcon}
|
|
90
|
-
<
|
|
91
|
-
{@render secondaryIcon()}
|
|
92
|
-
</div>
|
|
89
|
+
<NamedSlot name="secondary-icon" content={secondaryIcon} />
|
|
93
90
|
{/if}
|
|
94
91
|
|
|
95
92
|
{#if title}
|
|
96
|
-
<
|
|
97
|
-
{@render title()}
|
|
98
|
-
</div>
|
|
93
|
+
<NamedSlot name="title" content={title} />
|
|
99
94
|
{/if}
|
|
100
95
|
|
|
101
96
|
{#if description}
|
|
102
|
-
<
|
|
103
|
-
{@render description()}
|
|
104
|
-
</div>
|
|
97
|
+
<NamedSlot name="description" content={description} />
|
|
105
98
|
{/if}
|
|
106
99
|
|
|
107
100
|
{#if time}
|
|
108
|
-
<
|
|
109
|
-
{@render time()}
|
|
110
|
-
</div>
|
|
101
|
+
<NamedSlot name="time" content={time} />
|
|
111
102
|
{/if}
|
|
112
103
|
|
|
113
104
|
{#if timeSecondary}
|
|
114
|
-
<
|
|
115
|
-
{@render timeSecondary()}
|
|
116
|
-
</div>
|
|
105
|
+
<NamedSlot name="time-secondary" content={timeSecondary} />
|
|
117
106
|
{/if}
|
|
118
107
|
|
|
119
108
|
{#if actionText}
|
|
120
|
-
<
|
|
121
|
-
{@render actionText()}
|
|
122
|
-
</div>
|
|
109
|
+
<NamedSlot name="action-text" content={actionText} />
|
|
123
110
|
{/if}
|
|
124
111
|
|
|
125
112
|
{#if actionIcon}
|
|
126
|
-
<
|
|
127
|
-
{@render actionIcon()}
|
|
128
|
-
</div>
|
|
113
|
+
<NamedSlot name="action-icon" content={actionIcon} />
|
|
129
114
|
{/if}
|
|
130
115
|
|
|
131
116
|
{#if empty}
|
|
132
|
-
<
|
|
133
|
-
{@render empty()}
|
|
134
|
-
</div>
|
|
117
|
+
<NamedSlot name="empty" content={empty} />
|
|
135
118
|
{/if}
|
|
136
119
|
</obc-topbar-message-item>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/tree-navigation-group/tree-navigation-group.js';
|
|
5
5
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -45,9 +46,7 @@ alerts?: TreeNavigationItemAlerts | undefined;
|
|
|
45
46
|
use:forwardEvents={{'expand-toggle': onExpandToggle}} >
|
|
46
47
|
|
|
47
48
|
{#if icon}
|
|
48
|
-
<
|
|
49
|
-
{@render icon()}
|
|
50
|
-
</div>
|
|
49
|
+
<NamedSlot name="icon" content={icon} />
|
|
51
50
|
{/if}
|
|
52
51
|
|
|
53
52
|
{#if children}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
5
5
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -49,8 +50,6 @@ alerts?: TreeNavigationItemAlerts | undefined;
|
|
|
49
50
|
use:forwardEvents={{'expand-toggle': onExpandToggle, 'click': onClick}} >
|
|
50
51
|
|
|
51
52
|
{#if icon}
|
|
52
|
-
<
|
|
53
|
-
{@render icon()}
|
|
54
|
-
</div>
|
|
53
|
+
<NamedSlot name="icon" content={icon} />
|
|
55
54
|
{/if}
|
|
56
55
|
</obc-tree-navigation-item>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {Variant, Size, StyleType} from '@oicl/openbridge-webcomponents/dist/components/user-button/user-button.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/user-button/user-button.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {Variant, Size, StyleType} from '@oicl/openbridge-webcomponents/dist/components/user-button/user-button.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -54,8 +55,6 @@ initials?: string;
|
|
|
54
55
|
>
|
|
55
56
|
|
|
56
57
|
{#if icon}
|
|
57
|
-
<
|
|
58
|
-
{@render icon()}
|
|
59
|
-
</div>
|
|
58
|
+
<NamedSlot name="icon" content={icon} />
|
|
60
59
|
{/if}
|
|
61
60
|
</obc-user-button>
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
export type {ObcUserMenuType, ObcUserMenuSize, ObcUserMenuUser, ObcUserMenuSignedInAction} from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';
|
|
5
5
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import NamedSlot from "../../NamedSlot.svelte";
|
|
6
7
|
import type {ObcUserMenuType, ObcUserMenuSize, ObcUserMenuUser, ObcUserMenuSignedInAction} from '@oicl/openbridge-webcomponents/dist/components/user-menu/user-menu.js';
|
|
7
8
|
import type { Snippet } from 'svelte';
|
|
8
9
|
|
|
@@ -101,8 +102,6 @@
|
|
|
101
102
|
use:forwardEvents={{'sign-in-click': onSignInClick, 'sign-out-click': onSignOutClick, 'signed-in-action-click': onSignedInActionClick, 'recent-user-click': onRecentUserClick}} >
|
|
102
103
|
|
|
103
104
|
{#if signedInActionIcon}
|
|
104
|
-
<
|
|
105
|
-
{@render signedInActionIcon()}
|
|
106
|
-
</div>
|
|
105
|
+
<NamedSlot name="signed-in-action-icon-<id>" content={signedInActionIcon} />
|
|
107
106
|
{/if}
|
|
108
107
|
</obc-user-menu>
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/icons/icon-bipolar-transistor-01.js';
|
|
5
|
+
import { setProperties } from "../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
useCssColor?: boolean
|
|
13
|
+
}
|
|
14
|
+
export interface Events {
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
export interface Slots {
|
|
18
|
+
children?: Snippet
|
|
19
|
+
}
|
|
20
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
21
|
+
|
|
22
|
+
</script>
|
|
23
|
+
<obi-bipolar-transistor-01
|
|
24
|
+
use:setProperties={props}
|
|
25
|
+
class={className}
|
|
26
|
+
style={style}
|
|
27
|
+
>
|
|
28
|
+
|
|
29
|
+
{#if children}
|
|
30
|
+
{@render children()}
|
|
31
|
+
{/if}
|
|
32
|
+
</obi-bipolar-transistor-01>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/icons/icon-bipolar-transistor-01.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
useCssColor?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface Events {
|
|
9
|
+
}
|
|
10
|
+
export interface Slots {
|
|
11
|
+
children?: Snippet;
|
|
12
|
+
}
|
|
13
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
14
|
+
declare const ObiBipolarTransistor01: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
15
|
+
type ObiBipolarTransistor01 = ReturnType<typeof ObiBipolarTransistor01>;
|
|
16
|
+
export default ObiBipolarTransistor01;
|