@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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {ObcPoiObjectVesselType} from '@oicl/openbridge-webcomponents/dist/ar/poi-object
|
|
4
|
-
import '@oicl/openbridge-webcomponents/dist/ar/poi-object
|
|
3
|
+
export type {ObcPoiObjectVesselType} from '@oicl/openbridge-webcomponents/dist/ar/poi-object/poi-object-vessel.js';
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/ar/poi-object/poi-object-vessel.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {ObcPoiObjectVesselType} from '@oicl/openbridge-webcomponents/dist/ar/poi-object
|
|
6
|
+
import type {ObcPoiObjectVesselType} from '@oicl/openbridge-webcomponents/dist/ar/poi-object/poi-object-vessel.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
9
9
|
export interface Props {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '@oicl/openbridge-webcomponents/dist/ar/poi-object
|
|
2
|
-
import type { ObcPoiObjectVesselType } from '@oicl/openbridge-webcomponents/dist/ar/poi-object
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/ar/poi-object/poi-object-vessel.js';
|
|
2
|
+
import type { ObcPoiObjectVesselType } from '@oicl/openbridge-webcomponents/dist/ar/poi-object/poi-object-vessel.js';
|
|
3
3
|
import type { Snippet } from 'svelte';
|
|
4
4
|
export interface Props {
|
|
5
5
|
class?: string;
|
|
@@ -4,12 +4,14 @@
|
|
|
4
4
|
export type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
5
5
|
export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
6
6
|
export type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
7
|
+
export type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
7
8
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
8
9
|
import { setProperties } from "../../util.js";
|
|
9
10
|
import type {AutomationButtonReadoutPosition, AutomationButtonPositioning, AutomationButtonDirection} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/automation-button.js';
|
|
10
11
|
import type {AutomationButtonReadoutStackSize} from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
11
12
|
import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
12
13
|
import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
14
|
+
import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
13
15
|
import type { Snippet } from 'svelte';
|
|
14
16
|
|
|
15
17
|
export interface Props {
|
|
@@ -31,10 +33,10 @@ import type {CircularProgressMode} from '@oicl/openbridge-webcomponents/dist/bui
|
|
|
31
33
|
progressValue?: number;
|
|
32
34
|
tag?: string;
|
|
33
35
|
direction?: AutomationButtonDirection;
|
|
34
|
-
|
|
35
|
-
badgeCommandLocked?:
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
37
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
38
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
39
|
+
badgeAlert?: AutomationButtonBadgeAlert
|
|
38
40
|
}
|
|
39
41
|
export interface Events {
|
|
40
42
|
|
|
@@ -3,6 +3,7 @@ import type { AutomationButtonReadoutPosition, AutomationButtonPositioning, Auto
|
|
|
3
3
|
import type { AutomationButtonReadoutStackSize } from '@oicl/openbridge-webcomponents/dist/components/automation-button-readout-stack/automation-button-readout-stack.js';
|
|
4
4
|
import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameStatus } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
5
5
|
import type { CircularProgressMode } from '@oicl/openbridge-webcomponents/dist/building-blocks/circular-progress/circular-progress.js';
|
|
6
|
+
import type { AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, AutomationButtonBadgeInterlock, AutomationButtonBadgeAlert } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
6
7
|
import type { Snippet } from 'svelte';
|
|
7
8
|
export interface Props {
|
|
8
9
|
class?: string;
|
|
@@ -23,10 +24,10 @@ export interface Props {
|
|
|
23
24
|
progressValue?: number;
|
|
24
25
|
tag?: string;
|
|
25
26
|
direction?: AutomationButtonDirection;
|
|
26
|
-
|
|
27
|
-
badgeCommandLocked?:
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
28
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
29
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
30
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
30
31
|
}
|
|
31
32
|
export interface Events {
|
|
32
33
|
}
|
|
@@ -43,6 +44,10 @@ declare const ObcAbstractAutomationButton: import("svelte").Component<$$Componen
|
|
|
43
44
|
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
44
45
|
ObcAlertFrameStatus: typeof ObcAlertFrameStatus;
|
|
45
46
|
CircularProgressMode: typeof CircularProgressMode;
|
|
47
|
+
AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
|
|
48
|
+
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
49
|
+
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
50
|
+
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
46
51
|
}, "">;
|
|
47
52
|
type ObcAbstractAutomationButton = ReturnType<typeof ObcAbstractAutomationButton>;
|
|
48
53
|
export default ObcAbstractAutomationButton;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {DonutChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
|
|
4
|
+
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
5
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
|
|
5
6
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {
|
|
7
|
+
import type {DonutChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
|
|
8
|
+
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
9
|
import type { Snippet } from 'svelte';
|
|
8
10
|
|
|
9
11
|
export interface Props {
|
|
10
12
|
class?: string;
|
|
11
13
|
style?: string;
|
|
12
|
-
data?:
|
|
14
|
+
data?: DonutChartDataItem[];
|
|
13
15
|
colors?: string[];
|
|
14
16
|
priority?: Priority;
|
|
15
17
|
half?: boolean;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
|
|
2
|
+
import type { DonutChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/donut-chart/donut-chart.js';
|
|
2
3
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
4
|
import type { Snippet } from 'svelte';
|
|
4
5
|
export interface Props {
|
|
5
6
|
class?: string;
|
|
6
7
|
style?: string;
|
|
7
|
-
data?:
|
|
8
|
-
label: string;
|
|
9
|
-
value: number;
|
|
10
|
-
}[];
|
|
8
|
+
data?: DonutChartDataItem[];
|
|
11
9
|
colors?: string[];
|
|
12
10
|
priority?: Priority;
|
|
13
11
|
half?: boolean;
|
|
@@ -31,6 +29,7 @@ export interface Slots {
|
|
|
31
29
|
}
|
|
32
30
|
type $$ComponentProps = Props & Events & Slots;
|
|
33
31
|
declare const ObcDonutChart: import("svelte").Component<$$ComponentProps, {
|
|
32
|
+
DonutChartDataItem: typeof DonutChartDataItem;
|
|
34
33
|
Priority: typeof Priority;
|
|
35
34
|
}, "">;
|
|
36
35
|
type ObcDonutChart = ReturnType<typeof ObcDonutChart>;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {PieChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
|
|
4
|
+
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
5
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
|
|
5
6
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {
|
|
7
|
+
import type {PieChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
|
|
8
|
+
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
9
|
import type { Snippet } from 'svelte';
|
|
8
10
|
|
|
9
11
|
export interface Props {
|
|
10
12
|
class?: string;
|
|
11
13
|
style?: string;
|
|
12
|
-
data?:
|
|
14
|
+
data?: PieChartDataItem[];
|
|
13
15
|
colors?: string[];
|
|
14
16
|
priority?: Priority;
|
|
15
17
|
showOuterLabels?: boolean;
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
|
|
2
|
+
import type { PieChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/pie-chart/pie-chart.js';
|
|
2
3
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
4
|
import type { Snippet } from 'svelte';
|
|
4
5
|
export interface Props {
|
|
5
6
|
class?: string;
|
|
6
7
|
style?: string;
|
|
7
|
-
data?:
|
|
8
|
-
label: string;
|
|
9
|
-
value: number;
|
|
10
|
-
children?: {
|
|
11
|
-
label: string;
|
|
12
|
-
value: number;
|
|
13
|
-
}[] | undefined;
|
|
14
|
-
}[];
|
|
8
|
+
data?: PieChartDataItem[];
|
|
15
9
|
colors?: string[];
|
|
16
10
|
priority?: Priority;
|
|
17
11
|
showOuterLabels?: boolean;
|
|
@@ -31,6 +25,7 @@ export interface Slots {
|
|
|
31
25
|
}
|
|
32
26
|
type $$ComponentProps = Props & Events & Slots;
|
|
33
27
|
declare const ObcPieChart: import("svelte").Component<$$ComponentProps, {
|
|
28
|
+
PieChartDataItem: typeof PieChartDataItem;
|
|
34
29
|
Priority: typeof Priority;
|
|
35
30
|
}, "">;
|
|
36
31
|
type ObcPieChart = ReturnType<typeof ObcPieChart>;
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {PolarChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
|
|
4
|
+
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
5
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
|
|
5
6
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {
|
|
7
|
+
import type {PolarChartDataItem} from '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
|
|
8
|
+
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
9
|
import type { Snippet } from 'svelte';
|
|
8
10
|
|
|
9
11
|
export interface Props {
|
|
10
12
|
class?: string;
|
|
11
13
|
style?: string;
|
|
12
|
-
data?:
|
|
14
|
+
data?: PolarChartDataItem[];
|
|
13
15
|
colors?: string[];
|
|
14
16
|
priority?: Priority;
|
|
15
17
|
monochrome?: boolean;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
|
|
2
|
+
import type { PolarChartDataItem } from '@oicl/openbridge-webcomponents/dist/bars-graphs/polar-chart/polar-chart.js';
|
|
2
3
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
3
4
|
import type { Snippet } from 'svelte';
|
|
4
5
|
export interface Props {
|
|
5
6
|
class?: string;
|
|
6
7
|
style?: string;
|
|
7
|
-
data?:
|
|
8
|
-
label: string;
|
|
9
|
-
value: number;
|
|
10
|
-
}[];
|
|
8
|
+
data?: PolarChartDataItem[];
|
|
11
9
|
colors?: string[];
|
|
12
10
|
priority?: Priority;
|
|
13
11
|
monochrome?: boolean;
|
|
@@ -29,6 +27,7 @@ export interface Slots {
|
|
|
29
27
|
}
|
|
30
28
|
type $$ComponentProps = Props & Events & Slots;
|
|
31
29
|
declare const ObcPolarChart: import("svelte").Component<$$ComponentProps, {
|
|
30
|
+
PolarChartDataItem: typeof PolarChartDataItem;
|
|
32
31
|
Priority: typeof Priority;
|
|
33
32
|
}, "">;
|
|
34
33
|
type ObcPolarChart = ReturnType<typeof ObcPolarChart>;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
4
4
|
export type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
-
export type {
|
|
5
|
+
export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
6
6
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-horizontal/bar-horizontal.js';
|
|
7
7
|
import { setProperties } from "../../util.js";
|
|
8
8
|
import type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
9
9
|
import type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
10
|
-
import type {
|
|
10
|
+
import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
11
11
|
import type { Snippet } from 'svelte';
|
|
12
12
|
|
|
13
13
|
export interface Props {
|
|
@@ -92,7 +92,7 @@ state?: InstrumentState;
|
|
|
92
92
|
advicePosition?: AdvicePosition;
|
|
93
93
|
/** Advice/alert overlays with state and positioning.
|
|
94
94
|
When undefined or empty, no advice shown. */
|
|
95
|
-
advices?:
|
|
95
|
+
advices?: LinearAdvice[] | undefined;
|
|
96
96
|
/** When true, displays a dot indicator at the current value position.
|
|
97
97
|
The dot is rendered in the scale band, touching its inner edge (towards the chart).
|
|
98
98
|
This provides an alternative to bar fill for highlighting the current value. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-horizontal/bar-horizontal.js';
|
|
2
2
|
import type { ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
3
3
|
import type { FrameStyle, BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
import type {
|
|
4
|
+
import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
5
5
|
import type { Snippet } from 'svelte';
|
|
6
6
|
export interface Props {
|
|
7
7
|
class?: string;
|
|
@@ -85,12 +85,7 @@ When instrumentMode=false, this is ignored and border radius is read from CSS va
|
|
|
85
85
|
advicePosition?: AdvicePosition;
|
|
86
86
|
/** Advice/alert overlays with state and positioning.
|
|
87
87
|
When undefined or empty, no advice shown. */
|
|
88
|
-
advices?:
|
|
89
|
-
min: number;
|
|
90
|
-
max: number;
|
|
91
|
-
type: AdviceType;
|
|
92
|
-
hinted: boolean;
|
|
93
|
-
}[] | undefined;
|
|
88
|
+
advices?: LinearAdvice[] | undefined;
|
|
94
89
|
/** When true, displays a dot indicator at the current value position.
|
|
95
90
|
The dot is rendered in the scale band, touching its inner edge (towards the chart).
|
|
96
91
|
This provides an alternative to bar fill for highlighting the current value. */
|
|
@@ -112,7 +107,7 @@ declare const ObcBarHorizontal: import("svelte").Component<$$ComponentProps, {
|
|
|
112
107
|
BorderRadiusPosition: typeof BorderRadiusPosition;
|
|
113
108
|
Priority: typeof Priority;
|
|
114
109
|
InstrumentState: typeof InstrumentState;
|
|
115
|
-
|
|
110
|
+
LinearAdvice: typeof LinearAdvice;
|
|
116
111
|
}, "">;
|
|
117
112
|
type ObcBarHorizontal = ReturnType<typeof ObcBarHorizontal>;
|
|
118
113
|
export default ObcBarHorizontal;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
4
4
|
export type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
|
-
export type {
|
|
5
|
+
export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
6
6
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
|
|
7
7
|
import { setProperties } from "../../util.js";
|
|
8
8
|
import type {ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition} from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
9
9
|
import type {FrameStyle, BorderRadiusPosition, Priority, InstrumentState} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
10
|
-
import type {
|
|
10
|
+
import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
11
11
|
import type { Snippet } from 'svelte';
|
|
12
12
|
|
|
13
13
|
export interface Props {
|
|
@@ -92,7 +92,7 @@ state?: InstrumentState;
|
|
|
92
92
|
advicePosition?: AdvicePosition;
|
|
93
93
|
/** Advice/alert overlays with state and positioning.
|
|
94
94
|
When undefined or empty, no advice shown. */
|
|
95
|
-
advices?:
|
|
95
|
+
advices?: LinearAdvice[] | undefined;
|
|
96
96
|
/** When true, displays a dot indicator at the current value position.
|
|
97
97
|
The dot is rendered in the scale band, touching its inner edge (towards the chart).
|
|
98
98
|
This provides an alternative to bar fill for highlighting the current value. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/bar-vertical/bar-vertical.js';
|
|
2
2
|
import type { ExternalScaleSide, BarContainerStyle, ScaleType, FillMode, AdvicePosition } from '@oicl/openbridge-webcomponents/dist/building-blocks/external-scale/external-scale.js';
|
|
3
3
|
import type { FrameStyle, BorderRadiusPosition, Priority, InstrumentState } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
4
|
-
import type {
|
|
4
|
+
import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
5
5
|
import type { Snippet } from 'svelte';
|
|
6
6
|
export interface Props {
|
|
7
7
|
class?: string;
|
|
@@ -85,12 +85,7 @@ When instrumentMode=false, this is ignored and border radius is read from CSS va
|
|
|
85
85
|
advicePosition?: AdvicePosition;
|
|
86
86
|
/** Advice/alert overlays with state and positioning.
|
|
87
87
|
When undefined or empty, no advice shown. */
|
|
88
|
-
advices?:
|
|
89
|
-
min: number;
|
|
90
|
-
max: number;
|
|
91
|
-
type: AdviceType;
|
|
92
|
-
hinted: boolean;
|
|
93
|
-
}[] | undefined;
|
|
88
|
+
advices?: LinearAdvice[] | undefined;
|
|
94
89
|
/** When true, displays a dot indicator at the current value position.
|
|
95
90
|
The dot is rendered in the scale band, touching its inner edge (towards the chart).
|
|
96
91
|
This provides an alternative to bar fill for highlighting the current value. */
|
|
@@ -112,7 +107,7 @@ declare const ObcBarVertical: import("svelte").Component<$$ComponentProps, {
|
|
|
112
107
|
BorderRadiusPosition: typeof BorderRadiusPosition;
|
|
113
108
|
Priority: typeof Priority;
|
|
114
109
|
InstrumentState: typeof InstrumentState;
|
|
115
|
-
|
|
110
|
+
LinearAdvice: typeof LinearAdvice;
|
|
116
111
|
}, "">;
|
|
117
112
|
type ObcBarVertical = ReturnType<typeof ObcBarVertical>;
|
|
118
113
|
export default ObcBarVertical;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
4
|
-
export type {
|
|
3
|
+
export type {ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
4
|
+
export type {ChartDataset} from 'chart.js';
|
|
5
5
|
export type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
6
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
7
7
|
import { setProperties } from "../../util.js";
|
|
8
|
-
import type {
|
|
9
|
-
import type {
|
|
8
|
+
import type {ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
9
|
+
import type {ChartDataset} from 'chart.js';
|
|
10
10
|
import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
11
11
|
import type { Snippet } from 'svelte';
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ import type {InstrumentState, Priority, FrameStyle, BorderRadiusPosition} from '
|
|
|
14
14
|
class?: string;
|
|
15
15
|
style?: string;
|
|
16
16
|
/** Simple single-series data (array of {label, value}). */
|
|
17
|
-
data?:
|
|
17
|
+
data?: ChartLineDataItem[];
|
|
18
18
|
/** Chart.js-style datasets for multi-series use. If provided, takes precedence over `data`. */
|
|
19
19
|
datasets?: ChartDataset<"line", (number | { x: string | number | Date; y: number; })[]>[] | undefined;
|
|
20
20
|
/** Optional explicit labels for the x-axis (category mode). If omitted labels are derived from `data` */
|
|
@@ -44,7 +44,7 @@ xAxisType?: XAxisType;
|
|
|
44
44
|
/** Single y-axis position ('left' or 'right'). For multiple y-axes, use yAxes instead. */
|
|
45
45
|
yAxisPosition?: YAxisPosition;
|
|
46
46
|
/** Multiple y-axis definitions for complex multi-axis charts. */
|
|
47
|
-
yAxes?:
|
|
47
|
+
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
48
48
|
/** Show grid lines. */
|
|
49
49
|
showGrid?: boolean;
|
|
50
50
|
/** Show vertical grid lines (x-axis). Default: false. */
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
2
|
+
import type { ChartLineDataItem, XAxisType, YAxisPosition, ChartLineYAxisConfig, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
2
3
|
import type { ChartDataset } from 'chart.js';
|
|
3
|
-
import type { XAxisType, YAxisPosition, LineMode, TimeDisplay } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
4
4
|
import type { InstrumentState, Priority, FrameStyle, BorderRadiusPosition } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
5
5
|
import type { Snippet } from 'svelte';
|
|
6
6
|
export interface Props {
|
|
7
7
|
class?: string;
|
|
8
8
|
style?: string;
|
|
9
9
|
/** Simple single-series data (array of {label, value}). */
|
|
10
|
-
data?:
|
|
11
|
-
label: string;
|
|
12
|
-
value: number;
|
|
13
|
-
}[];
|
|
10
|
+
data?: ChartLineDataItem[];
|
|
14
11
|
/** Chart.js-style datasets for multi-series use. If provided, takes precedence over `data`. */
|
|
15
12
|
datasets?: ChartDataset<"line", (number | {
|
|
16
13
|
x: string | number | Date;
|
|
@@ -43,13 +40,7 @@ Default: 384 (matches Figma design baseline). */
|
|
|
43
40
|
/** Single y-axis position ('left' or 'right'). For multiple y-axes, use yAxes instead. */
|
|
44
41
|
yAxisPosition?: YAxisPosition;
|
|
45
42
|
/** Multiple y-axis definitions for complex multi-axis charts. */
|
|
46
|
-
yAxes?:
|
|
47
|
-
id?: string | undefined;
|
|
48
|
-
position?: "left" | "right" | undefined;
|
|
49
|
-
min?: number | undefined;
|
|
50
|
-
max?: number | undefined;
|
|
51
|
-
grid?: boolean | undefined;
|
|
52
|
-
}[] | undefined;
|
|
43
|
+
yAxes?: ChartLineYAxisConfig[] | undefined;
|
|
53
44
|
/** Show grid lines. */
|
|
54
45
|
showGrid?: boolean;
|
|
55
46
|
/** Show vertical grid lines (x-axis). Default: false. */
|
|
@@ -101,11 +92,13 @@ export interface Slots {
|
|
|
101
92
|
}
|
|
102
93
|
type $$ComponentProps = Props & Events & Slots;
|
|
103
94
|
declare const ObcChartLineBase: import("svelte").Component<$$ComponentProps, {
|
|
104
|
-
|
|
95
|
+
ChartLineDataItem: typeof ChartLineDataItem;
|
|
105
96
|
XAxisType: typeof XAxisType;
|
|
106
97
|
YAxisPosition: typeof YAxisPosition;
|
|
98
|
+
ChartLineYAxisConfig: typeof ChartLineYAxisConfig;
|
|
107
99
|
LineMode: typeof LineMode;
|
|
108
100
|
TimeDisplay: typeof TimeDisplay;
|
|
101
|
+
ChartDataset: typeof ChartDataset;
|
|
109
102
|
InstrumentState: typeof InstrumentState;
|
|
110
103
|
Priority: typeof Priority;
|
|
111
104
|
FrameStyle: typeof FrameStyle;
|
|
@@ -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-advice-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-advice-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 ObcAdviceFloatingItem: import("svelte").Component<$$ComponentProps, {
|
|
@@ -64,15 +64,15 @@ emptyText?: string
|
|
|
64
64
|
export interface Slots {
|
|
65
65
|
primaryIcon?: Snippet;
|
|
66
66
|
secondaryIcon?: Snippet;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
titleSnippet?: Snippet;
|
|
68
|
+
descriptionSnippet?: Snippet;
|
|
69
|
+
timeSnippet?: Snippet;
|
|
70
|
+
timeSecondarySnippet?: Snippet;
|
|
71
71
|
actionText?: Snippet;
|
|
72
72
|
actionIcon?: Snippet;
|
|
73
73
|
empty?: Snippet
|
|
74
74
|
}
|
|
75
|
-
const {onMessageClick, onActionClick, class: className, style, primaryIcon, secondaryIcon,
|
|
75
|
+
const {onMessageClick, onActionClick, class: className, style, primaryIcon, secondaryIcon, titleSnippet, descriptionSnippet, timeSnippet, timeSecondarySnippet, actionText, actionIcon, empty, ...props} = $props<Props & Events & Slots>();
|
|
76
76
|
|
|
77
77
|
</script>
|
|
78
78
|
<obc-advice-message-item
|
|
@@ -94,27 +94,27 @@ emptyText?: string
|
|
|
94
94
|
</div>
|
|
95
95
|
{/if}
|
|
96
96
|
|
|
97
|
-
{#if
|
|
97
|
+
{#if titleSnippet}
|
|
98
98
|
<div slot="title">
|
|
99
|
-
{@render
|
|
99
|
+
{@render titleSnippet()}
|
|
100
100
|
</div>
|
|
101
101
|
{/if}
|
|
102
102
|
|
|
103
|
-
{#if
|
|
103
|
+
{#if descriptionSnippet}
|
|
104
104
|
<div slot="description">
|
|
105
|
-
{@render
|
|
105
|
+
{@render descriptionSnippet()}
|
|
106
106
|
</div>
|
|
107
107
|
{/if}
|
|
108
108
|
|
|
109
|
-
{#if
|
|
109
|
+
{#if timeSnippet}
|
|
110
110
|
<div slot="time">
|
|
111
|
-
{@render
|
|
111
|
+
{@render timeSnippet()}
|
|
112
112
|
</div>
|
|
113
113
|
{/if}
|
|
114
114
|
|
|
115
|
-
{#if
|
|
115
|
+
{#if timeSecondarySnippet}
|
|
116
116
|
<div slot="time-secondary">
|
|
117
|
-
{@render
|
|
117
|
+
{@render timeSecondarySnippet()}
|
|
118
118
|
</div>
|
|
119
119
|
{/if}
|
|
120
120
|
|
|
@@ -59,10 +59,10 @@ export interface Events {
|
|
|
59
59
|
export interface Slots {
|
|
60
60
|
primaryIcon?: Snippet;
|
|
61
61
|
secondaryIcon?: Snippet;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
titleSnippet?: Snippet;
|
|
63
|
+
descriptionSnippet?: Snippet;
|
|
64
|
+
timeSnippet?: Snippet;
|
|
65
|
+
timeSecondarySnippet?: Snippet;
|
|
66
66
|
actionText?: Snippet;
|
|
67
67
|
actionIcon?: Snippet;
|
|
68
68
|
empty?: Snippet;
|
|
@@ -18,7 +18,17 @@ hasShelved?: boolean;
|
|
|
18
18
|
Should be set to true only when there are unacknowledged alerts in view.
|
|
19
19
|
|
|
20
20
|
Default: false. */
|
|
21
|
-
canAckAll?: boolean
|
|
21
|
+
canAckAll?: boolean;
|
|
22
|
+
/** If true, shows the "Silence" button in the action bar.
|
|
23
|
+
When hidden, the "ACK visible" button expands to fill the freed space.
|
|
24
|
+
|
|
25
|
+
Default: true. */
|
|
26
|
+
showSilenceButton?: boolean;
|
|
27
|
+
/** If true, shows the "Alerts" navigation button in the action bar.
|
|
28
|
+
When hidden, the "ACK visible" button expands to fill the freed space.
|
|
29
|
+
|
|
30
|
+
Default: true. */
|
|
31
|
+
showAlertListButton?: boolean
|
|
22
32
|
}
|
|
23
33
|
export interface Events {
|
|
24
34
|
onAckAllVisibleClick?: (event: ObcAckAllVisibleClickEvent) => void;
|
|
@@ -14,6 +14,16 @@ Should be set to true only when there are unacknowledged alerts in view.
|
|
|
14
14
|
|
|
15
15
|
Default: false. */
|
|
16
16
|
canAckAll?: boolean;
|
|
17
|
+
/** If true, shows the "Silence" button in the action bar.
|
|
18
|
+
When hidden, the "ACK visible" button expands to fill the freed space.
|
|
19
|
+
|
|
20
|
+
Default: true. */
|
|
21
|
+
showSilenceButton?: boolean;
|
|
22
|
+
/** If true, shows the "Alerts" navigation button in the action bar.
|
|
23
|
+
When hidden, the "ACK visible" button expands to fill the freed space.
|
|
24
|
+
|
|
25
|
+
Default: true. */
|
|
26
|
+
showAlertListButton?: boolean;
|
|
17
27
|
}
|
|
18
28
|
export interface Events {
|
|
19
29
|
onAckAllVisibleClick?: (event: ObcAckAllVisibleClickEvent) => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
|
-
export type {
|
|
3
|
+
export type {ObcContextMenuInputChangeEvent, ObcContextMenuInputItemClickEvent, ContextMenuType, ContextMenuOption, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
5
5
|
import { setProperties } from "../../util.js";
|
|
6
|
-
import type {
|
|
6
|
+
import type {ObcContextMenuInputChangeEvent, ObcContextMenuInputItemClickEvent, ContextMenuType, ContextMenuOption, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
9
9
|
export interface Props {
|
|
@@ -55,8 +55,8 @@ When enabled, only one option can be selected in each group or column. */
|
|
|
55
55
|
selectPerGroup?: boolean | undefined
|
|
56
56
|
}
|
|
57
57
|
export interface Events {
|
|
58
|
-
onChange?: (event:
|
|
59
|
-
onItemClick?: (event:
|
|
58
|
+
onChange?: (event: ObcContextMenuInputChangeEvent) => void;
|
|
59
|
+
onItemClick?: (event: ObcContextMenuInputItemClickEvent) => void;
|
|
60
60
|
onClose?: (event: CustomEvent<void>) => void
|
|
61
61
|
}
|
|
62
62
|
export interface Slots {
|