@oicl/openbridge-webcomponents-svelte 2.0.0-next.2 → 2.0.0-next.20
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/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte +10 -10
- package/dist/ar/chart-object-vessel-button/ObcChartObjectVesselButton.svelte.d.ts +3 -3
- package/dist/ar/{building-blocks/poi → poi}/ObcPoi.svelte +6 -6
- package/dist/ar/{building-blocks/poi → poi}/ObcPoi.svelte.d.ts +3 -3
- package/dist/ar/{poi-aton → poi}/ObcPoiAton.svelte +6 -4
- package/dist/ar/{poi-aton → poi}/ObcPoiAton.svelte.d.ts +5 -4
- package/dist/ar/{poi-data → poi}/ObcPoiData.svelte +5 -5
- package/dist/ar/{poi-data → poi}/ObcPoiData.svelte.d.ts +6 -6
- package/dist/ar/{poi-vessel → poi}/ObcPoiVessel.svelte +3 -3
- package/dist/ar/{poi-vessel → poi}/ObcPoiVessel.svelte.d.ts +2 -2
- package/dist/ar/{building-blocks/poi/ObcPoiBase.svelte → poi/PoiBase.svelte} +9 -10
- package/dist/ar/{building-blocks/poi/ObcPoiBase.svelte.d.ts → poi/PoiBase.svelte.d.ts} +8 -9
- package/dist/ar/{building-blocks/poi-button → poi-button}/ObcPoiButton.svelte +4 -4
- package/dist/ar/{building-blocks/poi-button → poi-button}/ObcPoiButton.svelte.d.ts +2 -2
- package/dist/ar/{poi-button-aton → poi-button}/ObcPoiButtonAton.svelte +6 -4
- package/dist/ar/{poi-button-aton → poi-button}/ObcPoiButtonAton.svelte.d.ts +5 -4
- package/dist/ar/{poi-button-data → poi-button}/ObcPoiButtonData.svelte +5 -5
- package/dist/ar/{poi-button-data → poi-button}/ObcPoiButtonData.svelte.d.ts +6 -6
- package/dist/ar/{poi-button-vessel → poi-button}/ObcPoiButtonVessel.svelte +3 -3
- package/dist/ar/{poi-button-vessel → poi-button}/ObcPoiButtonVessel.svelte.d.ts +2 -2
- package/dist/ar/poi-controller/ObcPoiController.svelte +14 -5
- package/dist/ar/poi-controller/ObcPoiController.svelte.d.ts +2 -1
- package/dist/ar/{building-blocks/poi-object/ObcAbstractPoiObject.svelte → poi-object/AbstractPoiObject.svelte} +5 -5
- package/dist/ar/poi-object/AbstractPoiObject.svelte.d.ts +22 -0
- package/dist/ar/{building-blocks/poi-object → poi-object}/ObcPoiObject.svelte +4 -4
- package/dist/ar/{building-blocks/poi-object → poi-object}/ObcPoiObject.svelte.d.ts +2 -2
- package/dist/ar/{poi-object-aton → poi-object}/ObcPoiObjectAton.svelte +3 -3
- package/dist/ar/{poi-object-aton → poi-object}/ObcPoiObjectAton.svelte.d.ts +2 -2
- package/dist/ar/{poi-object-data → poi-object}/ObcPoiObjectData.svelte +3 -3
- package/dist/ar/{poi-object-data → poi-object}/ObcPoiObjectData.svelte.d.ts +2 -2
- package/dist/ar/{poi-object-vessel → poi-object}/ObcPoiObjectVessel.svelte +3 -3
- package/dist/ar/{poi-object-vessel → poi-object}/ObcPoiObjectVessel.svelte.d.ts +2 -2
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +6 -4
- package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +9 -4
- 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 +6 -6
- package/dist/building-blocks/chart-line/ObcChartLineBase.svelte.d.ts +6 -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/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/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/notification-floating-item/ObcNotificationFloatingItem.svelte +7 -7
- package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte.d.ts +2 -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/tab-item/ObcTabItem.svelte +4 -4
- package/dist/components/tab-item/ObcTabItem.svelte.d.ts +1 -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 +15 -14
- package/dist/index.js +15 -14
- 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/compass/ObcCompass.svelte +17 -1
- package/dist/navigation-instruments/compass/ObcCompass.svelte.d.ts +16 -0
- 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-sector/ObcCompassSector.svelte +16 -1
- package/dist/navigation-instruments/compass-sector/ObcCompassSector.svelte.d.ts +15 -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-trend/ObcGaugeTrend.svelte +3 -3
- package/dist/navigation-instruments/gauge-trend/ObcGaugeTrend.svelte.d.ts +3 -8
- 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/pitch/ObcPitch.svelte +12 -1
- package/dist/navigation-instruments/pitch/ObcPitch.svelte.d.ts +11 -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/rate-of-turn/ObcRateOfTurn.svelte +6 -0
- package/dist/navigation-instruments/rate-of-turn/ObcRateOfTurn.svelte.d.ts +6 -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/rot-indicator/ObcRotIndicator.svelte +10 -0
- package/dist/navigation-instruments/rot-indicator/ObcRotIndicator.svelte.d.ts +10 -0
- package/dist/navigation-instruments/watch/ObcWatch.svelte +3 -1
- package/dist/navigation-instruments/watch/ObcWatch.svelte.d.ts +2 -0
- 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-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
- package/dist/ar/building-blocks/poi-object/ObcAbstractPoiObject.svelte.d.ts +0 -21
|
@@ -8,8 +8,20 @@ export interface Props {
|
|
|
8
8
|
minAvgRoll?: number;
|
|
9
9
|
maxAvgRoll?: number;
|
|
10
10
|
vesselImageFore?: VesselImage;
|
|
11
|
+
scaleForeImage?: number;
|
|
11
12
|
maxRollAdvice?: number | undefined;
|
|
12
13
|
triggerRollAdvice?: boolean;
|
|
14
|
+
zoomToFitArc?: boolean;
|
|
15
|
+
/** Half-extent of the watch arc in degrees. The arc spans `180° ± arcAngle`
|
|
16
|
+
and roll values are placed at their true position within it. Default
|
|
17
|
+
`45` reproduces the historical 90°-wide arc.
|
|
18
|
+
|
|
19
|
+
Smaller values render a narrower arc. Combined with `zoomToFitArc`, the
|
|
20
|
+
narrower arc is enlarged (its radius grows) on its own layer, while the
|
|
21
|
+
vessel image and the rotating indicator line stay at their natural size
|
|
22
|
+
and position on a separate central layer. The two layers are
|
|
23
|
+
intentionally visually disconnected. */
|
|
24
|
+
arcAngle?: number;
|
|
13
25
|
}
|
|
14
26
|
export interface Events {
|
|
15
27
|
}
|
|
@@ -9,6 +9,16 @@
|
|
|
9
9
|
export interface Props {
|
|
10
10
|
class?: string;
|
|
11
11
|
style?: string;
|
|
12
|
+
/** Measured rate of turn in degrees per minute (positive = starboard).
|
|
13
|
+
|
|
14
|
+
Drives the spinner animation via `(rateOfTurnDegreesPerMinute / 360) *
|
|
15
|
+
rotDotAnimationFactor` rotations per minute. When `undefined` the legacy
|
|
16
|
+
`rotationsPerMinute` value is used instead. */
|
|
17
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
18
|
+
/** Visual amplification applied to the spinning dot animation. Default `18`
|
|
19
|
+
keeps the legacy visual feel (≈1 rpm at 20°/min). Has no effect when
|
|
20
|
+
the legacy `rotationsPerMinute` API is used. */
|
|
21
|
+
rotDotAnimationFactor?: number;
|
|
12
22
|
rotationsPerMinute?: number
|
|
13
23
|
}
|
|
14
24
|
export interface Events {
|
|
@@ -3,6 +3,16 @@ import type { Snippet } from 'svelte';
|
|
|
3
3
|
export interface Props {
|
|
4
4
|
class?: string;
|
|
5
5
|
style?: string;
|
|
6
|
+
/** Measured rate of turn in degrees per minute (positive = starboard).
|
|
7
|
+
|
|
8
|
+
Drives the spinner animation via `(rateOfTurnDegreesPerMinute / 360) *
|
|
9
|
+
rotDotAnimationFactor` rotations per minute. When `undefined` the legacy
|
|
10
|
+
`rotationsPerMinute` value is used instead. */
|
|
11
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
12
|
+
/** Visual amplification applied to the spinning dot animation. Default `18`
|
|
13
|
+
keeps the legacy visual feel (≈1 rpm at 20°/min). Has no effect when
|
|
14
|
+
the legacy `rotationsPerMinute` API is used. */
|
|
15
|
+
rotDotAnimationFactor?: number;
|
|
6
16
|
rotationsPerMinute?: number;
|
|
7
17
|
}
|
|
8
18
|
export interface Events {
|
|
@@ -64,7 +64,9 @@ import type {RotType, RotPosition} from '@oicl/openbridge-webcomponents/dist/nav
|
|
|
64
64
|
rotEndAngle?: number;
|
|
65
65
|
rotPriority?: Priority | undefined;
|
|
66
66
|
rotPortStarboard?: boolean;
|
|
67
|
-
rotAtZeroDeadband?: number
|
|
67
|
+
rotAtZeroDeadband?: number;
|
|
68
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
69
|
+
rotDotAnimationFactor?: number
|
|
68
70
|
}
|
|
69
71
|
export interface Events {
|
|
70
72
|
|
|
@@ -43,7 +43,9 @@ derived from the current scale (e.g. `LINEAR_DOT_ANGLE_SPACING * translationScal
|
|
|
43
43
|
rotDotSpacing?: number;
|
|
44
44
|
rotPriority?: Priority;
|
|
45
45
|
rotPortStarboard?: boolean;
|
|
46
|
-
rotAtZeroDeadband?: number
|
|
46
|
+
rotAtZeroDeadband?: number;
|
|
47
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
48
|
+
rotDotAnimationFactor?: number
|
|
47
49
|
}
|
|
48
50
|
export interface Events {
|
|
49
51
|
|
|
@@ -35,6 +35,8 @@ derived from the current scale (e.g. `LINEAR_DOT_ANGLE_SPACING * translationScal
|
|
|
35
35
|
rotPriority?: Priority;
|
|
36
36
|
rotPortStarboard?: boolean;
|
|
37
37
|
rotAtZeroDeadband?: number;
|
|
38
|
+
rateOfTurnDegreesPerMinute?: number | undefined;
|
|
39
|
+
rotDotAnimationFactor?: number;
|
|
38
40
|
}
|
|
39
41
|
export interface Events {
|
|
40
42
|
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {SailType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';
|
|
4
|
+
export type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
+
export type {WindPropulsionPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
|
|
6
|
+
export type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
7
|
+
export type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
8
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
|
|
9
|
+
import { setProperties } from "../../util.js";
|
|
10
|
+
import type {SailType} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';
|
|
11
|
+
import type {InstrumentState, Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
12
|
+
import type {WindPropulsionPriorityElement} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
|
|
13
|
+
import type {TickmarkStyle} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
14
|
+
import type {AngleAdvice} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
15
|
+
import type { Snippet } from 'svelte';
|
|
16
|
+
|
|
17
|
+
export interface Props {
|
|
18
|
+
class?: string;
|
|
19
|
+
style?: string;
|
|
20
|
+
forceAngle?: number;
|
|
21
|
+
sailAngle?: number;
|
|
22
|
+
sailAngleSetpoint?: number | undefined;
|
|
23
|
+
newSailAngleSetpoint?: number | undefined;
|
|
24
|
+
atSailAngleSetpoint?: boolean;
|
|
25
|
+
autoAtSailAngleSetpoint?: boolean;
|
|
26
|
+
autoAtSailAngleSetpointDeadband?: number;
|
|
27
|
+
sailAngleSetpointAtZeroDeadband?: number;
|
|
28
|
+
sailAngleSetpointOverride?: boolean;
|
|
29
|
+
animateSetpoint?: boolean;
|
|
30
|
+
touching?: boolean;
|
|
31
|
+
force?: number;
|
|
32
|
+
maxForce?: number;
|
|
33
|
+
sailType?: SailType;
|
|
34
|
+
state?: InstrumentState;
|
|
35
|
+
priority?: Priority;
|
|
36
|
+
priorityElements?: WindPropulsionPriorityElement[];
|
|
37
|
+
showLabels?: boolean;
|
|
38
|
+
tickmarksInside?: boolean;
|
|
39
|
+
tickmarkStyle?: TickmarkStyle;
|
|
40
|
+
currentWindSpeedBeaufort?: number | null;
|
|
41
|
+
currentWindFromDirection?: number | null;
|
|
42
|
+
sailAngleAdvices?: AngleAdvice[]
|
|
43
|
+
}
|
|
44
|
+
export interface Events {
|
|
45
|
+
onNone?: (event: CustomEvent<unknown>) => void
|
|
46
|
+
}
|
|
47
|
+
export interface Slots {
|
|
48
|
+
children?: Snippet
|
|
49
|
+
}
|
|
50
|
+
const {onNone, class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
51
|
+
|
|
52
|
+
</script>
|
|
53
|
+
<obc-wind-propulsion
|
|
54
|
+
use:setProperties={props}
|
|
55
|
+
class={className}
|
|
56
|
+
style={style}
|
|
57
|
+
onNone={onNone} >
|
|
58
|
+
|
|
59
|
+
{#if children}
|
|
60
|
+
{@render children()}
|
|
61
|
+
{/if}
|
|
62
|
+
</obc-wind-propulsion>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
|
|
2
|
+
import type { SailType } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/sail-type.js';
|
|
3
|
+
import type { InstrumentState, Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
+
import type { WindPropulsionPriorityElement } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/wind-propulsion/wind-propulsion.js';
|
|
5
|
+
import type { TickmarkStyle } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/tickmark.js';
|
|
6
|
+
import type { AngleAdvice } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/watch/advice.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
export interface Props {
|
|
9
|
+
class?: string;
|
|
10
|
+
style?: string;
|
|
11
|
+
forceAngle?: number;
|
|
12
|
+
sailAngle?: number;
|
|
13
|
+
sailAngleSetpoint?: number | undefined;
|
|
14
|
+
newSailAngleSetpoint?: number | undefined;
|
|
15
|
+
atSailAngleSetpoint?: boolean;
|
|
16
|
+
autoAtSailAngleSetpoint?: boolean;
|
|
17
|
+
autoAtSailAngleSetpointDeadband?: number;
|
|
18
|
+
sailAngleSetpointAtZeroDeadband?: number;
|
|
19
|
+
sailAngleSetpointOverride?: boolean;
|
|
20
|
+
animateSetpoint?: boolean;
|
|
21
|
+
touching?: boolean;
|
|
22
|
+
force?: number;
|
|
23
|
+
maxForce?: number;
|
|
24
|
+
sailType?: SailType;
|
|
25
|
+
state?: InstrumentState;
|
|
26
|
+
priority?: Priority;
|
|
27
|
+
priorityElements?: WindPropulsionPriorityElement[];
|
|
28
|
+
showLabels?: boolean;
|
|
29
|
+
tickmarksInside?: boolean;
|
|
30
|
+
tickmarkStyle?: TickmarkStyle;
|
|
31
|
+
currentWindSpeedBeaufort?: number | null;
|
|
32
|
+
currentWindFromDirection?: number | null;
|
|
33
|
+
sailAngleAdvices?: AngleAdvice[];
|
|
34
|
+
}
|
|
35
|
+
export interface Events {
|
|
36
|
+
onNone?: (event: CustomEvent<unknown>) => void;
|
|
37
|
+
}
|
|
38
|
+
export interface Slots {
|
|
39
|
+
children?: Snippet;
|
|
40
|
+
}
|
|
41
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
42
|
+
declare const ObcWindPropulsion: import("svelte").Component<$$ComponentProps, {
|
|
43
|
+
SailType: typeof SailType;
|
|
44
|
+
InstrumentState: typeof InstrumentState;
|
|
45
|
+
Priority: typeof Priority;
|
|
46
|
+
WindPropulsionPriorityElement: typeof WindPropulsionPriorityElement;
|
|
47
|
+
TickmarkStyle: typeof TickmarkStyle;
|
|
48
|
+
AngleAdvice: typeof AngleAdvice;
|
|
49
|
+
}, "">;
|
|
50
|
+
type ObcWindPropulsion = ReturnType<typeof ObcWindPropulsion>;
|
|
51
|
+
export default ObcWindPropulsion;
|
|
@@ -20,12 +20,13 @@ import type {Alert} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
20
20
|
export interface Events {
|
|
21
21
|
onAckAllVisibleClick?: (event: ObcAlertListPageAckAllClickEvent) => void;
|
|
22
22
|
onAckClick?: (event: ObcAckClickEvent) => void;
|
|
23
|
-
onRowClick?: (event: ObcRowClickEvent) => void
|
|
23
|
+
onRowClick?: (event: ObcRowClickEvent) => void;
|
|
24
|
+
onSilenceClick?: (event: CustomEvent<void>) => void
|
|
24
25
|
}
|
|
25
26
|
export interface Slots {
|
|
26
27
|
children?: Snippet
|
|
27
28
|
}
|
|
28
|
-
const {onAckAllVisibleClick, onAckClick, onRowClick, class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
29
|
+
const {onAckAllVisibleClick, onAckClick, onRowClick, onSilenceClick, class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
29
30
|
|
|
30
31
|
</script>
|
|
31
32
|
<obc-alert-list-page-small
|
|
@@ -34,7 +35,8 @@ import type {Alert} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
|
34
35
|
style={style}
|
|
35
36
|
onack-all-visible-click={onAckAllVisibleClick}
|
|
36
37
|
onack-click={onAckClick}
|
|
37
|
-
onrow-click={onRowClick}
|
|
38
|
+
onrow-click={onRowClick}
|
|
39
|
+
onsilence-click={onSilenceClick} >
|
|
38
40
|
|
|
39
41
|
{#if children}
|
|
40
42
|
{@render children()}
|
|
@@ -15,6 +15,7 @@ export interface Events {
|
|
|
15
15
|
onAckAllVisibleClick?: (event: ObcAlertListPageAckAllClickEvent) => void;
|
|
16
16
|
onAckClick?: (event: ObcAckClickEvent) => void;
|
|
17
17
|
onRowClick?: (event: ObcRowClickEvent) => void;
|
|
18
|
+
onSilenceClick?: (event: CustomEvent<void>) => void;
|
|
18
19
|
}
|
|
19
20
|
export interface Slots {
|
|
20
21
|
children?: Snippet;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oicl/openbridge-webcomponents-svelte",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.20",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite dev",
|
|
6
6
|
"build": "vite build && npm run prepack",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@oicl/openbridge-webcomponents": "^2.0.0-next.
|
|
34
|
+
"@oicl/openbridge-webcomponents": "^2.0.0-next.19"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"svelte": "^5.0.0"
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import '@oicl/openbridge-webcomponents/dist/ar/building-blocks/poi-object/abstract-poi-object.js';
|
|
2
|
-
import type { ObcPoiObjectState } from '@oicl/openbridge-webcomponents/dist/ar/building-blocks/poi-object/poi-object.js';
|
|
3
|
-
import type { Snippet } from 'svelte';
|
|
4
|
-
export interface Props {
|
|
5
|
-
class?: string;
|
|
6
|
-
style?: string;
|
|
7
|
-
objectStyle?: string;
|
|
8
|
-
state?: ObcPoiObjectState;
|
|
9
|
-
interactive?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export interface Events {
|
|
12
|
-
}
|
|
13
|
-
export interface Slots {
|
|
14
|
-
children?: Snippet;
|
|
15
|
-
}
|
|
16
|
-
type $$ComponentProps = Props & Events & Slots;
|
|
17
|
-
declare const ObcAbstractPoiObject: import("svelte").Component<$$ComponentProps, {
|
|
18
|
-
ObcPoiObjectState: typeof ObcPoiObjectState;
|
|
19
|
-
}, "">;
|
|
20
|
-
type ObcAbstractPoiObject = ReturnType<typeof ObcAbstractPoiObject>;
|
|
21
|
-
export default ObcAbstractPoiObject;
|