@oicl/openbridge-webcomponents-svelte 2.0.0-next.5 → 2.0.0-next.50
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/README.md +2 -0
- package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte +10 -10
- package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte.d.ts +3 -3
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +7 -6
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +10 -6
- package/dist/automation/automation-button/ObcAutomationButton.svelte +3 -4
- package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +2 -4
- package/dist/automation/automation-tank/ObcAutomationTank.svelte +117 -4
- package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +125 -3
- package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte +5 -3
- package/dist/bars-graphs/donut-chart/ObcDonutChart.svelte.d.ts +3 -4
- package/dist/bars-graphs/pie-chart/ObcPieChart.svelte +5 -3
- package/dist/bars-graphs/pie-chart/ObcPieChart.svelte.d.ts +3 -8
- package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte +5 -3
- package/dist/bars-graphs/polar-chart/ObcPolarChart.svelte.d.ts +3 -4
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +3 -3
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte.d.ts +3 -8
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +3 -3
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte.d.ts +3 -8
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte +22 -6
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +22 -13
- package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +7 -7
- package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte.d.ts +2 -2
- package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +13 -13
- package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte.d.ts +4 -4
- package/dist/components/alert-menu/ObcAlertMenu.svelte +11 -1
- package/dist/components/alert-menu/ObcAlertMenu.svelte.d.ts +10 -0
- package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte +4 -5
- package/dist/components/automation-button-readout-stack/ObcAutomationButtonReadoutStack.svelte.d.ts +2 -4
- package/dist/components/card/ObcCard.svelte +4 -4
- package/dist/components/card/ObcCard.svelte.d.ts +4 -4
- package/dist/components/context-menu-input/ObcContextMenuInput.svelte +4 -4
- package/dist/components/context-menu-input/ObcContextMenuInput.svelte.d.ts +6 -10
- package/dist/components/dropdown-button/ObcDropdownButton.svelte +3 -3
- package/dist/components/dropdown-button/ObcDropdownButton.svelte.d.ts +3 -6
- package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte +4 -4
- package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte.d.ts +1 -1
- package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte +3 -3
- package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte.d.ts +3 -5
- package/dist/components/floating-item/ObcFloatingItem.svelte +7 -7
- package/dist/components/floating-item/ObcFloatingItem.svelte.d.ts +2 -2
- package/dist/components/form-container/ObcFormContainer.svelte +4 -4
- package/dist/components/form-container/ObcFormContainer.svelte.d.ts +1 -1
- package/dist/components/icon-button/ObcIconButton.svelte +6 -4
- package/dist/components/icon-button/ObcIconButton.svelte.d.ts +3 -0
- package/dist/components/menu-button/ObcMenuButton.svelte +6 -4
- package/dist/components/menu-button/ObcMenuButton.svelte.d.ts +5 -8
- package/dist/components/message-menu-item/ObcMessageMenuItem.svelte +7 -7
- package/dist/components/message-menu-item/ObcMessageMenuItem.svelte.d.ts +2 -2
- package/dist/components/modal-window/ObcModalWindow.svelte +5 -1
- package/dist/components/modal-window/ObcModalWindow.svelte.d.ts +4 -0
- package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +7 -7
- package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte.d.ts +2 -2
- package/dist/components/number-input-field/ObcNumberInputField.svelte +14 -5
- package/dist/components/number-input-field/ObcNumberInputField.svelte.d.ts +14 -2
- package/dist/components/slider-double/ObcSliderDouble.svelte +34 -3
- package/dist/components/slider-double/ObcSliderDouble.svelte.d.ts +19 -0
- package/dist/components/split-button/ObcSplitButton.svelte +6 -4
- package/dist/components/split-button/ObcSplitButton.svelte.d.ts +5 -9
- package/dist/components/stepper-box/ObcStepperBox.svelte +31 -22
- package/dist/components/stepper-box/ObcStepperBox.svelte.d.ts +32 -7
- package/dist/components/tab-item/ObcTabItem.svelte +12 -4
- package/dist/components/tab-item/ObcTabItem.svelte.d.ts +9 -1
- package/dist/components/tab-row/ObcTabRow.svelte +7 -1
- package/dist/components/tab-row/ObcTabRow.svelte.d.ts +7 -1
- package/dist/components/tag/ObcTag.svelte +3 -2
- package/dist/components/tag/ObcTag.svelte.d.ts +3 -1
- package/dist/components/title-container/ObcTitleContainer.svelte +4 -4
- package/dist/components/title-container/ObcTitleContainer.svelte.d.ts +1 -1
- package/dist/index.d.ts +17 -0
- package/dist/index.js +17 -0
- package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +3 -5
- package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte.d.ts +3 -10
- package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte +3 -0
- package/dist/navigation-instruments/azimuth-thruster-labeled/ObcAzimuthThrusterLabeled.svelte.d.ts +3 -0
- package/dist/navigation-instruments/compass/ObcCompass.svelte +18 -2
- package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +17 -1
- package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte +8 -1
- package/dist/navigation-instruments/compass-flat/ObcCompassFlat.svelte.d.ts +7 -0
- package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte +11 -4
- package/dist/navigation-instruments/compass-indicator/ObcCompassIndicator.svelte.d.ts +11 -3
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte +16 -1
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +15 -0
- package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte +33 -0
- package/dist/navigation-instruments/depth-indicator/ObcDepthIndicator.svelte.d.ts +20 -0
- package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte +34 -0
- package/dist/navigation-instruments/gauge-bar-indicator/ObcGaugeBarIndicator.svelte.d.ts +18 -0
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +3 -3
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte.d.ts +3 -8
- package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte +40 -0
- package/dist/navigation-instruments/gauge-radial-indicator/ObcGaugeRadialIndicator.svelte.d.ts +25 -0
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte +3 -3
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +3 -8
- package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte +38 -0
- package/dist/navigation-instruments/gauge-trend-indicator/ObcGaugeTrendIndicator.svelte.d.ts +25 -0
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +3 -3
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte.d.ts +3 -8
- package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte +35 -0
- package/dist/navigation-instruments/heading-indicator/ObcHeadingIndicator.svelte.d.ts +22 -0
- package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte +33 -0
- package/dist/navigation-instruments/heave-indicator/ObcHeaveIndicator.svelte.d.ts +20 -0
- package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte +38 -0
- package/dist/navigation-instruments/main-engine-indicator/ObcMainEngineIndicator.svelte.d.ts +26 -0
- package/dist/navigation-instruments/pitch/ObcPitch.svelte +12 -1
- package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +11 -0
- package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte +33 -0
- package/dist/navigation-instruments/pitch-indicator/ObcPitchIndicator.svelte.d.ts +20 -0
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte +13 -1
- package/dist/navigation-instruments/pitch-roll/ObcPitchRoll.svelte.d.ts +12 -0
- package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte +38 -0
- package/dist/navigation-instruments/propulsion-azimuth-indicator/ObcPropulsionAzimuthIndicator.svelte.d.ts +25 -0
- package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte +35 -0
- package/dist/navigation-instruments/propulsion-tunnel-thruster/ObcTunnelThruster.svelte.d.ts +19 -0
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte +6 -0
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte.d.ts +6 -0
- package/dist/navigation-instruments/readout/ObcReadout.svelte +158 -0
- package/dist/navigation-instruments/readout/ObcReadout.svelte.d.ts +101 -0
- package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte +53 -0
- package/dist/navigation-instruments/readout-advice/ObcReadoutAdvice.svelte.d.ts +40 -0
- package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte +60 -0
- package/dist/navigation-instruments/readout-list-item/ObcReadoutListItem.svelte.d.ts +42 -0
- package/dist/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.svelte +62 -0
- package/dist/navigation-instruments/readout-setpoint/ObcReadoutSetpoint.svelte.d.ts +46 -0
- package/dist/navigation-instruments/roll/ObcRoll.svelte +13 -1
- package/dist/navigation-instruments/roll/ObcRoll.svelte.d.ts +12 -0
- package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte +33 -0
- package/dist/navigation-instruments/roll-indicator/ObcRollIndicator.svelte.d.ts +20 -0
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte +13 -2
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +15 -1
- package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte +35 -0
- package/dist/navigation-instruments/rudder-indicator/ObcRudderIndicator.svelte.d.ts +22 -0
- package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte +5 -3
- package/dist/navigation-instruments/speed-indicator/ObcSpeedIndicator.svelte.d.ts +6 -1
- package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte +4 -4
- package/dist/navigation-instruments/velocity-projection-plot/ObcVelocityProjectionPlot.svelte.d.ts +4 -4
- package/dist/navigation-instruments/watch/ObcWatch.svelte +4 -2
- package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +3 -1
- package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte +3 -1
- package/dist/navigation-instruments/watch-flat/ObcWatchFlat.svelte.d.ts +2 -0
- package/dist/navigation-instruments/wind/ObcWind.svelte +7 -4
- package/dist/navigation-instruments/wind/ObcWind.svelte.d.ts +6 -2
- package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte +28 -8
- package/dist/navigation-instruments/wind-indicator/ObcWindIndicator.svelte.d.ts +31 -6
- package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte +62 -0
- package/dist/navigation-instruments/wind-propulsion/ObcWindPropulsion.svelte.d.ts +51 -0
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte +5 -3
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte.d.ts +1 -0
- package/package.json +2 -2
|
@@ -39,9 +39,9 @@ required?: boolean
|
|
|
39
39
|
}
|
|
40
40
|
export interface Slots {
|
|
41
41
|
leadingIcon?: Snippet;
|
|
42
|
-
|
|
42
|
+
labelSnippet?: Snippet
|
|
43
43
|
}
|
|
44
|
-
const {onChange, class: className, style, leadingIcon,
|
|
44
|
+
const {onChange, class: className, style, leadingIcon, labelSnippet, ...props} = $props<Props & Events & Slots>();
|
|
45
45
|
|
|
46
46
|
</script>
|
|
47
47
|
<obc-elevated-card-radio
|
|
@@ -56,9 +56,9 @@ required?: boolean
|
|
|
56
56
|
</div>
|
|
57
57
|
{/if}
|
|
58
58
|
|
|
59
|
-
{#if
|
|
59
|
+
{#if labelSnippet}
|
|
60
60
|
<div slot="label">
|
|
61
|
-
{@render
|
|
61
|
+
{@render labelSnippet()}
|
|
62
62
|
</div>
|
|
63
63
|
{/if}
|
|
64
64
|
</obc-elevated-card-radio>
|
|
@@ -34,7 +34,7 @@ export interface Events {
|
|
|
34
34
|
}
|
|
35
35
|
export interface Slots {
|
|
36
36
|
leadingIcon?: Snippet;
|
|
37
|
-
|
|
37
|
+
labelSnippet?: Snippet;
|
|
38
38
|
}
|
|
39
39
|
type $$ComponentProps = Props & Events & Slots;
|
|
40
40
|
declare const ObcElevatedCardRadio: import("svelte").Component<$$ComponentProps, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {ObcElevatedCardRadioGroupChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
3
|
+
export type {ObcElevatedCardRadioGroupChangeEvent, ElevatedCardRadioGroupOption} from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {ObcElevatedCardRadioGroupChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
6
|
+
import type {ObcElevatedCardRadioGroupChangeEvent, ElevatedCardRadioGroupOption} from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
9
9
|
export interface Props {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
/** Array of options to display as card radios. Each option should be an object with a `label` (displayed text) and a `value` (submitted value).
|
|
13
13
|
|
|
14
14
|
Example: `[{label: 'Option 1', value: '1'}, {label: 'Option 2', value: '2'}]` */
|
|
15
|
-
options?:
|
|
15
|
+
options?: ElevatedCardRadioGroupOption[];
|
|
16
16
|
/** Shared name for all radio inputs in the group. Ensures native radio group behavior and correct form submission.
|
|
17
17
|
|
|
18
18
|
Default: `'default'` */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
2
|
-
import type { ObcElevatedCardRadioGroupChangeEvent } from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
2
|
+
import type { ObcElevatedCardRadioGroupChangeEvent, ElevatedCardRadioGroupOption } from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
4
|
export interface Props {
|
|
5
5
|
class?: string;
|
|
@@ -7,10 +7,7 @@ export interface Props {
|
|
|
7
7
|
/** Array of options to display as card radios. Each option should be an object with a `label` (displayed text) and a `value` (submitted value).
|
|
8
8
|
|
|
9
9
|
Example: `[{label: 'Option 1', value: '1'}, {label: 'Option 2', value: '2'}]` */
|
|
10
|
-
options?:
|
|
11
|
-
label: string;
|
|
12
|
-
value: string;
|
|
13
|
-
}[];
|
|
10
|
+
options?: ElevatedCardRadioGroupOption[];
|
|
14
11
|
/** Shared name for all radio inputs in the group. Ensures native radio group behavior and correct form submission.
|
|
15
12
|
|
|
16
13
|
Default: `'default'` */
|
|
@@ -33,6 +30,7 @@ export interface Slots {
|
|
|
33
30
|
type $$ComponentProps = Props & Events & Slots;
|
|
34
31
|
declare const ObcElevatedCardRadioGroup: import("svelte").Component<$$ComponentProps, {
|
|
35
32
|
ObcElevatedCardRadioGroupChangeEvent: typeof ObcElevatedCardRadioGroupChangeEvent;
|
|
33
|
+
ElevatedCardRadioGroupOption: typeof ElevatedCardRadioGroupOption;
|
|
36
34
|
}, "">;
|
|
37
35
|
type ObcElevatedCardRadioGroup = ReturnType<typeof ObcElevatedCardRadioGroup>;
|
|
38
36
|
export default ObcElevatedCardRadioGroup;
|
|
@@ -54,10 +54,10 @@ lineType?: ObcFloatingItemLineType
|
|
|
54
54
|
description?: Snippet;
|
|
55
55
|
time?: Snippet;
|
|
56
56
|
day?: Snippet;
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
actionSnippet?: Snippet;
|
|
58
|
+
action2Snippet?: Snippet
|
|
59
59
|
}
|
|
60
|
-
const {onActionClick, onAction2Click, onDismissClick, class: className, style, primaryIcon, secondaryIcon, title, description, time, day,
|
|
60
|
+
const {onActionClick, onAction2Click, onDismissClick, class: className, style, primaryIcon, secondaryIcon, title, description, time, day, actionSnippet, action2Snippet, ...props} = $props<Props & Events & Slots>();
|
|
61
61
|
|
|
62
62
|
</script>
|
|
63
63
|
<obc-floating-item
|
|
@@ -104,15 +104,15 @@ lineType?: ObcFloatingItemLineType
|
|
|
104
104
|
</div>
|
|
105
105
|
{/if}
|
|
106
106
|
|
|
107
|
-
{#if
|
|
107
|
+
{#if actionSnippet}
|
|
108
108
|
<div slot="action">
|
|
109
|
-
{@render
|
|
109
|
+
{@render actionSnippet()}
|
|
110
110
|
</div>
|
|
111
111
|
{/if}
|
|
112
112
|
|
|
113
|
-
{#if
|
|
113
|
+
{#if action2Snippet}
|
|
114
114
|
<div slot="action2">
|
|
115
|
-
{@render
|
|
115
|
+
{@render action2Snippet()}
|
|
116
116
|
</div>
|
|
117
117
|
{/if}
|
|
118
118
|
</obc-floating-item>
|
|
@@ -49,8 +49,8 @@ export interface Slots {
|
|
|
49
49
|
description?: Snippet;
|
|
50
50
|
time?: Snippet;
|
|
51
51
|
day?: Snippet;
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
actionSnippet?: Snippet;
|
|
53
|
+
action2Snippet?: Snippet;
|
|
54
54
|
}
|
|
55
55
|
type $$ComponentProps = Props & Events & Slots;
|
|
56
56
|
declare const ObcFloatingItem: import("svelte").Component<$$ComponentProps, {
|
|
@@ -17,11 +17,11 @@
|
|
|
17
17
|
}
|
|
18
18
|
export interface Slots {
|
|
19
19
|
title?: Snippet;
|
|
20
|
-
|
|
20
|
+
contentTitleSnippet?: Snippet;
|
|
21
21
|
children?: Snippet;
|
|
22
22
|
footer?: Snippet
|
|
23
23
|
}
|
|
24
|
-
const { class: className, style, title,
|
|
24
|
+
const { class: className, style, title, contentTitleSnippet, children, footer, ...props} = $props<Props & Events & Slots>();
|
|
25
25
|
|
|
26
26
|
</script>
|
|
27
27
|
<obc-form-container
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
</div>
|
|
37
37
|
{/if}
|
|
38
38
|
|
|
39
|
-
{#if
|
|
39
|
+
{#if contentTitleSnippet}
|
|
40
40
|
<div slot="content-title">
|
|
41
|
-
{@render
|
|
41
|
+
{@render contentTitleSnippet()}
|
|
42
42
|
</div>
|
|
43
43
|
{/if}
|
|
44
44
|
|
|
@@ -35,23 +35,25 @@ Use to indicate ongoing actions or loading states.
|
|
|
35
35
|
If undefined, no progress indicator is shown. */
|
|
36
36
|
progress?: number | undefined;
|
|
37
37
|
/** If true, displays a label below the icon using the `label` slot. */
|
|
38
|
-
hasLabel?: boolean
|
|
38
|
+
hasLabel?: boolean;
|
|
39
|
+
/** If false, and cornerLeft or cornerRight is true, the divider is not shown. */
|
|
40
|
+
showDivider?: boolean
|
|
39
41
|
}
|
|
40
42
|
export interface Events {
|
|
41
|
-
|
|
43
|
+
onClick?: (event: CustomEvent<unknown>) => void
|
|
42
44
|
}
|
|
43
45
|
export interface Slots {
|
|
44
46
|
children?: Snippet;
|
|
45
47
|
label?: Snippet
|
|
46
48
|
}
|
|
47
|
-
const { class: className, style, children, label, ...props} = $props<Props & Events & Slots>();
|
|
49
|
+
const {onClick, class: className, style, children, label, ...props} = $props<Props & Events & Slots>();
|
|
48
50
|
|
|
49
51
|
</script>
|
|
50
52
|
<obc-icon-button
|
|
51
53
|
use:setProperties={props}
|
|
52
54
|
class={className}
|
|
53
55
|
style={style}
|
|
54
|
-
|
|
56
|
+
onclick={onClick} >
|
|
55
57
|
|
|
56
58
|
{#if children}
|
|
57
59
|
{@render children()}
|
|
@@ -31,8 +31,11 @@ If undefined, no progress indicator is shown. */
|
|
|
31
31
|
progress?: number | undefined;
|
|
32
32
|
/** If true, displays a label below the icon using the `label` slot. */
|
|
33
33
|
hasLabel?: boolean;
|
|
34
|
+
/** If false, and cornerLeft or cornerRight is true, the divider is not shown. */
|
|
35
|
+
showDivider?: boolean;
|
|
34
36
|
}
|
|
35
37
|
export interface Events {
|
|
38
|
+
onClick?: (event: CustomEvent<unknown>) => void;
|
|
36
39
|
}
|
|
37
40
|
export interface Slots {
|
|
38
41
|
children?: Snippet;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {ObcSplitButtonChangeEvent, ObcMenuButtonItemClickEvent} from '@oicl/openbridge-webcomponents/dist/components/menu-button/menu-button.js';
|
|
4
|
+
export type {ContextMenuOption, ContextMenuType, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
4
5
|
import '@oicl/openbridge-webcomponents/dist/components/menu-button/menu-button.js';
|
|
5
6
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {
|
|
7
|
+
import type {ObcSplitButtonChangeEvent, ObcMenuButtonItemClickEvent} from '@oicl/openbridge-webcomponents/dist/components/menu-button/menu-button.js';
|
|
8
|
+
import type {ContextMenuOption, ContextMenuType, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
7
9
|
import type { Snippet } from 'svelte';
|
|
8
10
|
|
|
9
11
|
export interface Props {
|
|
@@ -64,8 +66,8 @@ Disables both the button and the menu. */
|
|
|
64
66
|
disabled?: boolean
|
|
65
67
|
}
|
|
66
68
|
export interface Events {
|
|
67
|
-
onChange?: (event:
|
|
68
|
-
onItemClick?: (event:
|
|
69
|
+
onChange?: (event: ObcSplitButtonChangeEvent) => void;
|
|
70
|
+
onItemClick?: (event: ObcMenuButtonItemClickEvent) => void;
|
|
69
71
|
onOpen?: (event: CustomEvent<void>) => void;
|
|
70
72
|
onClose?: (event: CustomEvent<void>) => void
|
|
71
73
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/menu-button/menu-button.js';
|
|
2
|
+
import type { ObcSplitButtonChangeEvent, ObcMenuButtonItemClickEvent } from '@oicl/openbridge-webcomponents/dist/components/menu-button/menu-button.js';
|
|
2
3
|
import type { ContextMenuOption, ContextMenuType, ColumnGroup } from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
3
4
|
import type { Snippet } from 'svelte';
|
|
4
5
|
export interface Props {
|
|
@@ -59,14 +60,8 @@ Disables both the button and the menu. */
|
|
|
59
60
|
disabled?: boolean;
|
|
60
61
|
}
|
|
61
62
|
export interface Events {
|
|
62
|
-
onChange?: (event:
|
|
63
|
-
|
|
64
|
-
selectedOptions: Array<ContextMenuOption>;
|
|
65
|
-
}>) => void;
|
|
66
|
-
onItemClick?: (event: CustomEvent<{
|
|
67
|
-
value: string;
|
|
68
|
-
option: ContextMenuOption;
|
|
69
|
-
}>) => void;
|
|
63
|
+
onChange?: (event: ObcSplitButtonChangeEvent) => void;
|
|
64
|
+
onItemClick?: (event: ObcMenuButtonItemClickEvent) => void;
|
|
70
65
|
onOpen?: (event: CustomEvent<void>) => void;
|
|
71
66
|
onClose?: (event: CustomEvent<void>) => void;
|
|
72
67
|
}
|
|
@@ -75,6 +70,8 @@ export interface Slots {
|
|
|
75
70
|
}
|
|
76
71
|
type $$ComponentProps = Props & Events & Slots;
|
|
77
72
|
declare const ObcMenuButton: import("svelte").Component<$$ComponentProps, {
|
|
73
|
+
ObcSplitButtonChangeEvent: typeof ObcSplitButtonChangeEvent;
|
|
74
|
+
ObcMenuButtonItemClickEvent: typeof ObcMenuButtonItemClickEvent;
|
|
78
75
|
ContextMenuOption: typeof ContextMenuOption;
|
|
79
76
|
ContextMenuType: typeof ContextMenuType;
|
|
80
77
|
ColumnGroup: typeof ColumnGroup;
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
onSecondaryActionClick?: (event: CustomEvent<void>) => void
|
|
32
32
|
}
|
|
33
33
|
export interface Slots {
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
titleSnippet?: Snippet;
|
|
35
|
+
descriptionSnippet?: Snippet;
|
|
36
36
|
actionLabel?: Snippet;
|
|
37
37
|
primaryIcon?: Snippet;
|
|
38
38
|
secondaryIcon?: Snippet;
|
|
39
39
|
trailingIcon?: Snippet
|
|
40
40
|
}
|
|
41
|
-
const {onMessageClick, onPrimaryActionClick, onSecondaryActionClick, class: className, style,
|
|
41
|
+
const {onMessageClick, onPrimaryActionClick, onSecondaryActionClick, class: className, style, titleSnippet, descriptionSnippet, actionLabel, primaryIcon, secondaryIcon, trailingIcon, ...props} = $props<Props & Events & Slots>();
|
|
42
42
|
|
|
43
43
|
</script>
|
|
44
44
|
<obc-message-menu-item
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
onprimary-action-click={onPrimaryActionClick}
|
|
50
50
|
onsecondary-action-click={onSecondaryActionClick} >
|
|
51
51
|
|
|
52
|
-
{#if
|
|
52
|
+
{#if titleSnippet}
|
|
53
53
|
<div slot="title">
|
|
54
|
-
{@render
|
|
54
|
+
{@render titleSnippet()}
|
|
55
55
|
</div>
|
|
56
56
|
{/if}
|
|
57
57
|
|
|
58
|
-
{#if
|
|
58
|
+
{#if descriptionSnippet}
|
|
59
59
|
<div slot="description">
|
|
60
|
-
{@render
|
|
60
|
+
{@render descriptionSnippet()}
|
|
61
61
|
</div>
|
|
62
62
|
{/if}
|
|
63
63
|
|
|
@@ -28,8 +28,8 @@ export interface Events {
|
|
|
28
28
|
onSecondaryActionClick?: (event: CustomEvent<void>) => void;
|
|
29
29
|
}
|
|
30
30
|
export interface Slots {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
titleSnippet?: Snippet;
|
|
32
|
+
descriptionSnippet?: Snippet;
|
|
33
33
|
actionLabel?: Snippet;
|
|
34
34
|
primaryIcon?: Snippet;
|
|
35
35
|
secondaryIcon?: Snippet;
|
|
@@ -14,7 +14,11 @@ size?: ObcModalWindowSize;
|
|
|
14
14
|
/** Whether to show an optional third action button. */
|
|
15
15
|
hasOptionalAction?: boolean;
|
|
16
16
|
/** Whether to show the leading icon slot in the header. */
|
|
17
|
-
hasLeadingIcon?: boolean
|
|
17
|
+
hasLeadingIcon?: boolean;
|
|
18
|
+
/** Whether to show the footer cancel button. */
|
|
19
|
+
hasCancelAction?: boolean;
|
|
20
|
+
/** Whether to show the header close (X) button. */
|
|
21
|
+
hasCloseAction?: boolean
|
|
18
22
|
}
|
|
19
23
|
export interface Events {
|
|
20
24
|
onCloseClick?: (event: CustomEvent<unknown>) => void;
|
|
@@ -10,6 +10,10 @@ export interface Props {
|
|
|
10
10
|
hasOptionalAction?: boolean;
|
|
11
11
|
/** Whether to show the leading icon slot in the header. */
|
|
12
12
|
hasLeadingIcon?: boolean;
|
|
13
|
+
/** Whether to show the footer cancel button. */
|
|
14
|
+
hasCancelAction?: boolean;
|
|
15
|
+
/** Whether to show the header close (X) button. */
|
|
16
|
+
hasCloseAction?: boolean;
|
|
13
17
|
}
|
|
14
18
|
export interface Events {
|
|
15
19
|
onCloseClick?: (event: CustomEvent<unknown>) => void;
|
|
@@ -50,10 +50,10 @@ lineType?: ObcFloatingItemLineType
|
|
|
50
50
|
description?: Snippet;
|
|
51
51
|
time?: Snippet;
|
|
52
52
|
day?: Snippet;
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
actionSnippet?: Snippet;
|
|
54
|
+
action2Snippet?: Snippet
|
|
55
55
|
}
|
|
56
|
-
const {onActionClick, onAction2Click, onDismissClick, class: className, style, primaryIcon, secondaryIcon, title, description, time, day,
|
|
56
|
+
const {onActionClick, onAction2Click, onDismissClick, class: className, style, primaryIcon, secondaryIcon, title, description, time, day, actionSnippet, action2Snippet, ...props} = $props<Props & Events & Slots>();
|
|
57
57
|
|
|
58
58
|
</script>
|
|
59
59
|
<obc-notification-floating-item
|
|
@@ -100,15 +100,15 @@ lineType?: ObcFloatingItemLineType
|
|
|
100
100
|
</div>
|
|
101
101
|
{/if}
|
|
102
102
|
|
|
103
|
-
{#if
|
|
103
|
+
{#if actionSnippet}
|
|
104
104
|
<div slot="action">
|
|
105
|
-
{@render
|
|
105
|
+
{@render actionSnippet()}
|
|
106
106
|
</div>
|
|
107
107
|
{/if}
|
|
108
108
|
|
|
109
|
-
{#if
|
|
109
|
+
{#if action2Snippet}
|
|
110
110
|
<div slot="action2">
|
|
111
|
-
{@render
|
|
111
|
+
{@render action2Snippet()}
|
|
112
112
|
</div>
|
|
113
113
|
{/if}
|
|
114
114
|
</obc-notification-floating-item>
|
|
@@ -45,8 +45,8 @@ export interface Slots {
|
|
|
45
45
|
description?: Snippet;
|
|
46
46
|
time?: Snippet;
|
|
47
47
|
day?: Snippet;
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
actionSnippet?: Snippet;
|
|
49
|
+
action2Snippet?: Snippet;
|
|
50
50
|
}
|
|
51
51
|
type $$ComponentProps = Props & Events & Slots;
|
|
52
52
|
declare const ObcNotificationFloatingItem: import("svelte").Component<$$ComponentProps, {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
export interface Props {
|
|
10
10
|
class?: string;
|
|
11
11
|
style?: string;
|
|
12
|
-
value?:
|
|
12
|
+
value?: number;
|
|
13
13
|
unit?: string;
|
|
14
14
|
placeholder?: string;
|
|
15
15
|
textAlign?: ObcNumberInputFieldTextAlign;
|
|
@@ -40,24 +40,33 @@ minlength?: number | undefined;
|
|
|
40
40
|
hasHelperIcon?: boolean;
|
|
41
41
|
helperPlacement?: ObcNumberInputFieldPlacement;
|
|
42
42
|
/** Internal property for squared corners, used when input is used in stepper-box */
|
|
43
|
-
squared?: boolean
|
|
43
|
+
squared?: boolean;
|
|
44
|
+
/** Optional display text override for controlled consumers (e.g. keyboard-numeric)
|
|
45
|
+
that manage formatted strings while the committed value may be NaN. */
|
|
46
|
+
displayOverride?: string;
|
|
47
|
+
decimalSeparator?: string | undefined;
|
|
48
|
+
groupSeparator?: string | undefined;
|
|
49
|
+
minFractionDigits?: number;
|
|
50
|
+
maxFractionDigits?: number | undefined
|
|
44
51
|
}
|
|
45
52
|
export interface Events {
|
|
46
|
-
onInput?: (event: CustomEvent<
|
|
53
|
+
onInput?: (event: CustomEvent<{value: number}>) => void;
|
|
54
|
+
onChange?: (event: CustomEvent<{value: number}>) => void
|
|
47
55
|
}
|
|
48
56
|
export interface Slots {
|
|
49
57
|
leadingIcon?: Snippet;
|
|
50
58
|
labelIcon?: Snippet;
|
|
51
59
|
helperIcon?: Snippet
|
|
52
60
|
}
|
|
53
|
-
const {onInput, class: className, style, leadingIcon, labelIcon, helperIcon, ...props} = $props<Props & Events & Slots>();
|
|
61
|
+
const {onInput, onChange, class: className, style, leadingIcon, labelIcon, helperIcon, ...props} = $props<Props & Events & Slots>();
|
|
54
62
|
|
|
55
63
|
</script>
|
|
56
64
|
<obc-number-input-field
|
|
57
65
|
use:setProperties={props}
|
|
58
66
|
class={className}
|
|
59
67
|
style={style}
|
|
60
|
-
oninput={onInput}
|
|
68
|
+
oninput={onInput}
|
|
69
|
+
onchange={onChange} >
|
|
61
70
|
|
|
62
71
|
{#if leadingIcon}
|
|
63
72
|
<div slot="leading-icon">
|
|
@@ -4,7 +4,7 @@ import type { Snippet } from 'svelte';
|
|
|
4
4
|
export interface Props {
|
|
5
5
|
class?: string;
|
|
6
6
|
style?: string;
|
|
7
|
-
value?:
|
|
7
|
+
value?: number;
|
|
8
8
|
unit?: string;
|
|
9
9
|
placeholder?: string;
|
|
10
10
|
textAlign?: ObcNumberInputFieldTextAlign;
|
|
@@ -36,9 +36,21 @@ This is useful to avoid React re-rendering to reset the value. */
|
|
|
36
36
|
helperPlacement?: ObcNumberInputFieldPlacement;
|
|
37
37
|
/** Internal property for squared corners, used when input is used in stepper-box */
|
|
38
38
|
squared?: boolean;
|
|
39
|
+
/** Optional display text override for controlled consumers (e.g. keyboard-numeric)
|
|
40
|
+
that manage formatted strings while the committed value may be NaN. */
|
|
41
|
+
displayOverride?: string;
|
|
42
|
+
decimalSeparator?: string | undefined;
|
|
43
|
+
groupSeparator?: string | undefined;
|
|
44
|
+
minFractionDigits?: number;
|
|
45
|
+
maxFractionDigits?: number | undefined;
|
|
39
46
|
}
|
|
40
47
|
export interface Events {
|
|
41
|
-
onInput?: (event: CustomEvent<
|
|
48
|
+
onInput?: (event: CustomEvent<{
|
|
49
|
+
value: number;
|
|
50
|
+
}>) => void;
|
|
51
|
+
onChange?: (event: CustomEvent<{
|
|
52
|
+
value: number;
|
|
53
|
+
}>) => void;
|
|
42
54
|
}
|
|
43
55
|
export interface Slots {
|
|
44
56
|
leadingIcon?: Snippet;
|
|
@@ -46,16 +46,35 @@ labelUnit?: string;
|
|
|
46
46
|
/** Number of decimal places to display in value labels. */
|
|
47
47
|
labelDecimals?: number;
|
|
48
48
|
/** CSS width for value labels (e.g., "5ch", "60px"). */
|
|
49
|
-
labelWidth?: string
|
|
49
|
+
labelWidth?: string;
|
|
50
|
+
/** Whether to show the left (low) readout label.
|
|
51
|
+
|
|
52
|
+
When false, the left readout is hidden entirely. When true, the readout
|
|
53
|
+
renders the formatted `low` value or the content slotted into `left-readout`.
|
|
54
|
+
|
|
55
|
+
Default is true. Set via JavaScript property (no HTML attribute). */
|
|
56
|
+
showLeftReadout?: boolean;
|
|
57
|
+
/** Whether to show the right (high) readout label.
|
|
58
|
+
|
|
59
|
+
When false, the right readout is hidden entirely. When true, the readout
|
|
60
|
+
renders the formatted `high` value or the content slotted into `right-readout`.
|
|
61
|
+
|
|
62
|
+
Default is true. Set via JavaScript property (no HTML attribute). */
|
|
63
|
+
showRightReadout?: boolean;
|
|
64
|
+
/** Removes spacing between the slider and its container edges for seamless
|
|
65
|
+
layout integration. Reflected to the `hugcontainer` HTML attribute. */
|
|
66
|
+
hugContainer?: boolean
|
|
50
67
|
}
|
|
51
68
|
export interface Events {
|
|
52
69
|
onValue?: (event: ObcSliderDoubleValueEvent) => void
|
|
53
70
|
}
|
|
54
71
|
export interface Slots {
|
|
55
72
|
iconLeft?: Snippet;
|
|
56
|
-
iconRight?: Snippet
|
|
73
|
+
iconRight?: Snippet;
|
|
74
|
+
leftReadout?: Snippet;
|
|
75
|
+
rightReadout?: Snippet
|
|
57
76
|
}
|
|
58
|
-
const {onValue, class: className, style, iconLeft, iconRight, ...props} = $props<Props & Events & Slots>();
|
|
77
|
+
const {onValue, class: className, style, iconLeft, iconRight, leftReadout, rightReadout, ...props} = $props<Props & Events & Slots>();
|
|
59
78
|
|
|
60
79
|
</script>
|
|
61
80
|
<obc-slider-double
|
|
@@ -75,4 +94,16 @@ labelWidth?: string
|
|
|
75
94
|
{@render iconRight()}
|
|
76
95
|
</div>
|
|
77
96
|
{/if}
|
|
97
|
+
|
|
98
|
+
{#if leftReadout}
|
|
99
|
+
<div slot="left-readout">
|
|
100
|
+
{@render leftReadout()}
|
|
101
|
+
</div>
|
|
102
|
+
{/if}
|
|
103
|
+
|
|
104
|
+
{#if rightReadout}
|
|
105
|
+
<div slot="right-readout">
|
|
106
|
+
{@render rightReadout()}
|
|
107
|
+
</div>
|
|
108
|
+
{/if}
|
|
78
109
|
</obc-slider-double>
|
|
@@ -42,6 +42,23 @@ Default is 1/3 (i.e., 3 seconds for full range). */
|
|
|
42
42
|
labelDecimals?: number;
|
|
43
43
|
/** CSS width for value labels (e.g., "5ch", "60px"). */
|
|
44
44
|
labelWidth?: string;
|
|
45
|
+
/** Whether to show the left (low) readout label.
|
|
46
|
+
|
|
47
|
+
When false, the left readout is hidden entirely. When true, the readout
|
|
48
|
+
renders the formatted `low` value or the content slotted into `left-readout`.
|
|
49
|
+
|
|
50
|
+
Default is true. Set via JavaScript property (no HTML attribute). */
|
|
51
|
+
showLeftReadout?: boolean;
|
|
52
|
+
/** Whether to show the right (high) readout label.
|
|
53
|
+
|
|
54
|
+
When false, the right readout is hidden entirely. When true, the readout
|
|
55
|
+
renders the formatted `high` value or the content slotted into `right-readout`.
|
|
56
|
+
|
|
57
|
+
Default is true. Set via JavaScript property (no HTML attribute). */
|
|
58
|
+
showRightReadout?: boolean;
|
|
59
|
+
/** Removes spacing between the slider and its container edges for seamless
|
|
60
|
+
layout integration. Reflected to the `hugcontainer` HTML attribute. */
|
|
61
|
+
hugContainer?: boolean;
|
|
45
62
|
}
|
|
46
63
|
export interface Events {
|
|
47
64
|
onValue?: (event: ObcSliderDoubleValueEvent) => void;
|
|
@@ -49,6 +66,8 @@ export interface Events {
|
|
|
49
66
|
export interface Slots {
|
|
50
67
|
iconLeft?: Snippet;
|
|
51
68
|
iconRight?: Snippet;
|
|
69
|
+
leftReadout?: Snippet;
|
|
70
|
+
rightReadout?: Snippet;
|
|
52
71
|
}
|
|
53
72
|
type $$ComponentProps = Props & Events & Slots;
|
|
54
73
|
declare const ObcSliderDouble: import("svelte").Component<$$ComponentProps, {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {ObcSplitButtonClickEvent, ObcSplitButtonChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/split-button/split-button.js';
|
|
4
|
+
export type {ContextMenuOption, ContextMenuType, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
4
5
|
import '@oicl/openbridge-webcomponents/dist/components/split-button/split-button.js';
|
|
5
6
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {
|
|
7
|
+
import type {ObcSplitButtonClickEvent, ObcSplitButtonChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/split-button/split-button.js';
|
|
8
|
+
import type {ContextMenuOption, ContextMenuType, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
7
9
|
import type { Snippet } from 'svelte';
|
|
8
10
|
|
|
9
11
|
export interface Props {
|
|
@@ -53,8 +55,8 @@ Use instead of `options` for grouped or subtitle layouts. */
|
|
|
53
55
|
columnGroups?: ColumnGroup[]
|
|
54
56
|
}
|
|
55
57
|
export interface Events {
|
|
56
|
-
onClick?: (event:
|
|
57
|
-
onChange?: (event:
|
|
58
|
+
onClick?: (event: ObcSplitButtonClickEvent) => void;
|
|
59
|
+
onChange?: (event: ObcSplitButtonChangeEvent) => void
|
|
58
60
|
}
|
|
59
61
|
export interface Slots {
|
|
60
62
|
icon?: Snippet
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/components/split-button/split-button.js';
|
|
2
|
+
import type { ObcSplitButtonClickEvent, ObcSplitButtonChangeEvent } from '@oicl/openbridge-webcomponents/dist/components/split-button/split-button.js';
|
|
2
3
|
import type { ContextMenuOption, ContextMenuType, ColumnGroup } from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
3
4
|
import type { Snippet } from 'svelte';
|
|
4
5
|
export interface Props {
|
|
@@ -48,21 +49,16 @@ Use instead of `options` for grouped or subtitle layouts. */
|
|
|
48
49
|
columnGroups?: ColumnGroup[];
|
|
49
50
|
}
|
|
50
51
|
export interface Events {
|
|
51
|
-
onClick?: (event:
|
|
52
|
-
|
|
53
|
-
value?: string;
|
|
54
|
-
option?: ContextMenuOption;
|
|
55
|
-
}>) => void;
|
|
56
|
-
onChange?: (event: CustomEvent<{
|
|
57
|
-
selectedValues: string[];
|
|
58
|
-
selectedOptions: Array<ContextMenuOption>;
|
|
59
|
-
}>) => void;
|
|
52
|
+
onClick?: (event: ObcSplitButtonClickEvent) => void;
|
|
53
|
+
onChange?: (event: ObcSplitButtonChangeEvent) => void;
|
|
60
54
|
}
|
|
61
55
|
export interface Slots {
|
|
62
56
|
icon?: Snippet;
|
|
63
57
|
}
|
|
64
58
|
type $$ComponentProps = Props & Events & Slots;
|
|
65
59
|
declare const ObcSplitButton: import("svelte").Component<$$ComponentProps, {
|
|
60
|
+
ObcSplitButtonClickEvent: typeof ObcSplitButtonClickEvent;
|
|
61
|
+
ObcSplitButtonChangeEvent: typeof ObcSplitButtonChangeEvent;
|
|
66
62
|
ContextMenuOption: typeof ContextMenuOption;
|
|
67
63
|
ContextMenuType: typeof ContextMenuType;
|
|
68
64
|
ColumnGroup: typeof ColumnGroup;
|