@oicl/openbridge-webcomponents-svelte 2.0.0-next.135 → 2.0.0-next.137
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/automation/automation-tank/ObcAutomationTank.svelte +4 -2
- package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +3 -2
- package/dist/automation/heat-exchanger/ObcHeatExchanger.svelte +127 -0
- package/dist/automation/heat-exchanger/ObcHeatExchanger.svelte.d.ts +93 -0
- package/dist/automation/heat-pump/ObcHeatPump.svelte +127 -0
- package/dist/automation/heat-pump/ObcHeatPump.svelte.d.ts +93 -0
- package/dist/automation/hydraulic-check-valve/ObcHydraulicCheckValve.svelte +35 -0
- package/dist/automation/hydraulic-check-valve/ObcHydraulicCheckValve.svelte.d.ts +19 -0
- package/dist/automation/hydraulic-separator/ObcHydraulicSeparator.svelte +127 -0
- package/dist/automation/hydraulic-separator/ObcHydraulicSeparator.svelte.d.ts +93 -0
- package/dist/automation/hydraulic-valve-4-3/ObcHydraulicValve43.svelte +39 -0
- package/dist/automation/hydraulic-valve-4-3/ObcHydraulicValve43.svelte.d.ts +28 -0
- package/dist/automation/hydraulic-valve-x-2/ObcHydraulicValveX2.svelte +39 -0
- package/dist/automation/hydraulic-valve-x-2/ObcHydraulicValveX2.svelte.d.ts +28 -0
- package/dist/automation/shuffle-button/ObcShuffleButtonBase.svelte +37 -0
- package/dist/automation/shuffle-button/ObcShuffleButtonBase.svelte.d.ts +21 -0
- package/dist/automation/specialty-tank/ObcAbstractSpecialtyTank.svelte +97 -0
- package/dist/automation/specialty-tank/ObcAbstractSpecialtyTank.svelte.d.ts +88 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +8 -0
- package/package.json +2 -2
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';
|
|
4
|
-
export type {TankTrend, TankType, TankOrientation,
|
|
4
|
+
export type {TankTrend, TankType, TankOrientation, TankChartMode} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
|
|
5
|
+
export type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
5
6
|
export type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
6
7
|
export type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
7
8
|
export type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
@@ -11,7 +12,8 @@ export type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, Automatio
|
|
|
11
12
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
|
|
12
13
|
import { setProperties, forwardEvents } from "../../util.js";
|
|
13
14
|
import type {LineMedium} from '@oicl/openbridge-webcomponents/dist/automation/index.js';
|
|
14
|
-
import type {TankTrend, TankType, TankOrientation,
|
|
15
|
+
import type {TankTrend, TankType, TankOrientation, TankChartMode} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
|
|
16
|
+
import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
15
17
|
import type {ChartLineDataItem} from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
16
18
|
import type {Priority} from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
17
19
|
import type {LinearAdvice} from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
|
|
2
2
|
import type { LineMedium } from '@oicl/openbridge-webcomponents/dist/automation/index.js';
|
|
3
|
-
import type { TankTrend, TankType, TankOrientation,
|
|
3
|
+
import type { TankTrend, TankType, TankOrientation, TankChartMode } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/automation-tank.js';
|
|
4
|
+
import type { TankPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
4
5
|
import type { ChartLineDataItem } from '@oicl/openbridge-webcomponents/dist/building-blocks/chart-line/chart-line-base.js';
|
|
5
6
|
import type { Priority } from '@oicl/openbridge-webcomponents/dist/navigation-instruments/types.js';
|
|
6
7
|
import type { LinearAdvice } from '@oicl/openbridge-webcomponents/dist/building-blocks/instrument-linear/advice.js';
|
|
@@ -157,8 +158,8 @@ declare const ObcAutomationTank: import("svelte").Component<$$ComponentProps, {
|
|
|
157
158
|
TankTrend: typeof TankTrend;
|
|
158
159
|
TankType: typeof TankType;
|
|
159
160
|
TankOrientation: typeof TankOrientation;
|
|
160
|
-
TankPositioning: typeof TankPositioning;
|
|
161
161
|
TankChartMode: typeof TankChartMode;
|
|
162
|
+
TankPositioning: typeof TankPositioning;
|
|
162
163
|
ChartLineDataItem: typeof ChartLineDataItem;
|
|
163
164
|
Priority: typeof Priority;
|
|
164
165
|
LinearAdvice: typeof LinearAdvice;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
4
|
+
export type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
5
|
+
export type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
6
|
+
export type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
|
+
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
8
|
+
import '@oicl/openbridge-webcomponents/dist/automation/heat-exchanger/heat-exchanger.js';
|
|
9
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
10
|
+
import type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
11
|
+
import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
12
|
+
import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
13
|
+
import type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
14
|
+
import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
15
|
+
import type { Snippet } from 'svelte';
|
|
16
|
+
|
|
17
|
+
export interface Props {
|
|
18
|
+
class?: string;
|
|
19
|
+
style?: string;
|
|
20
|
+
/** What the graphic area shows: `regular` (one grey area), `graphic` (two grey halves) or `medium` (hot/cold halves). */
|
|
21
|
+
medium?: SpecialtyTankMedium;
|
|
22
|
+
/** Display-only tile with a flat grey frame and a bare icon, rendered as a non-interactive `<div role="img">`. Hides the graphic area. */
|
|
23
|
+
static?: boolean;
|
|
24
|
+
/** Show the equipment icon centered on the graphic area. */
|
|
25
|
+
showIcon?: boolean;
|
|
26
|
+
/** Identifier rendered in the tag readout below the frame (for example `#0000`); also the accessible name. The cell collapses when empty. */
|
|
27
|
+
tag?: string;
|
|
28
|
+
/** Host positioning model — see `TankPositioning`. `button` (default) fills the parent, `point` uses the fixed design footprint with the P&ID anchor. */
|
|
29
|
+
positioning?: TankPositioning;
|
|
30
|
+
/** Whether the tile is interactive. `false` keeps the resting appearance but drops hover, pressed and focus states and leaves the tab order; property-only because the default is `true`. */
|
|
31
|
+
clickable?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Paints the activated background on the halo. Needs an interactive tile.
|
|
34
|
+
*
|
|
35
|
+
* Available when `clickable==true`.
|
|
36
|
+
*/
|
|
37
|
+
activated?: boolean;
|
|
38
|
+
/** Mode badge (auto / manual / local variants), first in the badge row. */
|
|
39
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
40
|
+
/** Alert badge, second in the badge row. */
|
|
41
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
42
|
+
/** Interlock badge, third in the badge row. */
|
|
43
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
44
|
+
/** Command-locked badge, last in the badge row. */
|
|
45
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
46
|
+
/** Show an alert-frame overlay around the halo, mirroring `obc-automation-tank`. */
|
|
47
|
+
alert?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Shape of the alert frame.
|
|
50
|
+
*
|
|
51
|
+
* Available when `alert==true`.
|
|
52
|
+
*/
|
|
53
|
+
alertFrameType?: ObcAlertFrameType;
|
|
54
|
+
/**
|
|
55
|
+
* Thickness of the alert frame.
|
|
56
|
+
*
|
|
57
|
+
* Available when `alert==true`.
|
|
58
|
+
*/
|
|
59
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
60
|
+
/**
|
|
61
|
+
* Alert status the frame is coloured for.
|
|
62
|
+
*
|
|
63
|
+
* Available when `alert==true`.
|
|
64
|
+
*/
|
|
65
|
+
alertFrameStatus?: AlertType;
|
|
66
|
+
/**
|
|
67
|
+
* Shows the alert category icon inside the frame.
|
|
68
|
+
*
|
|
69
|
+
* Available when `alert==true`.
|
|
70
|
+
*/
|
|
71
|
+
showAlertCategoryIcon?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Shows the slotted alert icon inside the frame.
|
|
74
|
+
*
|
|
75
|
+
* Available when `alert==true`.
|
|
76
|
+
*/
|
|
77
|
+
showAlertIcon?: boolean
|
|
78
|
+
}
|
|
79
|
+
export interface Events {
|
|
80
|
+
onClick?: (event: CustomEvent<unknown>) => void
|
|
81
|
+
}
|
|
82
|
+
export interface Slots {
|
|
83
|
+
badges?: Snippet;
|
|
84
|
+
tagSnippet?: Snippet;
|
|
85
|
+
alertIcon?: Snippet;
|
|
86
|
+
alertLabel?: Snippet;
|
|
87
|
+
alertTimer?: Snippet
|
|
88
|
+
}
|
|
89
|
+
const {onClick, class: className, style, badges, tagSnippet, alertIcon, alertLabel, alertTimer, ...props} = $props<Props & Events & Slots>();
|
|
90
|
+
|
|
91
|
+
</script>
|
|
92
|
+
<obc-heat-exchanger
|
|
93
|
+
use:setProperties={props}
|
|
94
|
+
class={className}
|
|
95
|
+
style={style}
|
|
96
|
+
use:forwardEvents={{'click': onClick}} >
|
|
97
|
+
|
|
98
|
+
{#if badges}
|
|
99
|
+
<div slot="badges">
|
|
100
|
+
{@render badges()}
|
|
101
|
+
</div>
|
|
102
|
+
{/if}
|
|
103
|
+
|
|
104
|
+
{#if tagSnippet}
|
|
105
|
+
<div slot="tag">
|
|
106
|
+
{@render tagSnippet()}
|
|
107
|
+
</div>
|
|
108
|
+
{/if}
|
|
109
|
+
|
|
110
|
+
{#if alertIcon}
|
|
111
|
+
<div slot="alert-icon">
|
|
112
|
+
{@render alertIcon()}
|
|
113
|
+
</div>
|
|
114
|
+
{/if}
|
|
115
|
+
|
|
116
|
+
{#if alertLabel}
|
|
117
|
+
<div slot="alert-label">
|
|
118
|
+
{@render alertLabel()}
|
|
119
|
+
</div>
|
|
120
|
+
{/if}
|
|
121
|
+
|
|
122
|
+
{#if alertTimer}
|
|
123
|
+
<div slot="alert-timer">
|
|
124
|
+
{@render alertTimer()}
|
|
125
|
+
</div>
|
|
126
|
+
{/if}
|
|
127
|
+
</obc-heat-exchanger>
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/heat-exchanger/heat-exchanger.js';
|
|
2
|
+
import type { SpecialtyTankMedium } from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
3
|
+
import type { TankPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
4
|
+
import type { AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
5
|
+
import type { ObcAlertFrameType, ObcAlertFrameThickness } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
6
|
+
import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
export interface Props {
|
|
9
|
+
class?: string;
|
|
10
|
+
style?: string;
|
|
11
|
+
/** What the graphic area shows: `regular` (one grey area), `graphic` (two grey halves) or `medium` (hot/cold halves). */
|
|
12
|
+
medium?: SpecialtyTankMedium;
|
|
13
|
+
/** Display-only tile with a flat grey frame and a bare icon, rendered as a non-interactive `<div role="img">`. Hides the graphic area. */
|
|
14
|
+
static?: boolean;
|
|
15
|
+
/** Show the equipment icon centered on the graphic area. */
|
|
16
|
+
showIcon?: boolean;
|
|
17
|
+
/** Identifier rendered in the tag readout below the frame (for example `#0000`); also the accessible name. The cell collapses when empty. */
|
|
18
|
+
tag?: string;
|
|
19
|
+
/** Host positioning model — see `TankPositioning`. `button` (default) fills the parent, `point` uses the fixed design footprint with the P&ID anchor. */
|
|
20
|
+
positioning?: TankPositioning;
|
|
21
|
+
/** Whether the tile is interactive. `false` keeps the resting appearance but drops hover, pressed and focus states and leaves the tab order; property-only because the default is `true`. */
|
|
22
|
+
clickable?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Paints the activated background on the halo. Needs an interactive tile.
|
|
25
|
+
*
|
|
26
|
+
* Available when `clickable==true`.
|
|
27
|
+
*/
|
|
28
|
+
activated?: boolean;
|
|
29
|
+
/** Mode badge (auto / manual / local variants), first in the badge row. */
|
|
30
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
31
|
+
/** Alert badge, second in the badge row. */
|
|
32
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
33
|
+
/** Interlock badge, third in the badge row. */
|
|
34
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
35
|
+
/** Command-locked badge, last in the badge row. */
|
|
36
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
37
|
+
/** Show an alert-frame overlay around the halo, mirroring `obc-automation-tank`. */
|
|
38
|
+
alert?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Shape of the alert frame.
|
|
41
|
+
*
|
|
42
|
+
* Available when `alert==true`.
|
|
43
|
+
*/
|
|
44
|
+
alertFrameType?: ObcAlertFrameType;
|
|
45
|
+
/**
|
|
46
|
+
* Thickness of the alert frame.
|
|
47
|
+
*
|
|
48
|
+
* Available when `alert==true`.
|
|
49
|
+
*/
|
|
50
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
51
|
+
/**
|
|
52
|
+
* Alert status the frame is coloured for.
|
|
53
|
+
*
|
|
54
|
+
* Available when `alert==true`.
|
|
55
|
+
*/
|
|
56
|
+
alertFrameStatus?: AlertType;
|
|
57
|
+
/**
|
|
58
|
+
* Shows the alert category icon inside the frame.
|
|
59
|
+
*
|
|
60
|
+
* Available when `alert==true`.
|
|
61
|
+
*/
|
|
62
|
+
showAlertCategoryIcon?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Shows the slotted alert icon inside the frame.
|
|
65
|
+
*
|
|
66
|
+
* Available when `alert==true`.
|
|
67
|
+
*/
|
|
68
|
+
showAlertIcon?: boolean;
|
|
69
|
+
}
|
|
70
|
+
export interface Events {
|
|
71
|
+
onClick?: (event: CustomEvent<unknown>) => void;
|
|
72
|
+
}
|
|
73
|
+
export interface Slots {
|
|
74
|
+
badges?: Snippet;
|
|
75
|
+
tagSnippet?: Snippet;
|
|
76
|
+
alertIcon?: Snippet;
|
|
77
|
+
alertLabel?: Snippet;
|
|
78
|
+
alertTimer?: Snippet;
|
|
79
|
+
}
|
|
80
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
81
|
+
declare const ObcHeatExchanger: import("svelte").Component<$$ComponentProps, {
|
|
82
|
+
SpecialtyTankMedium: typeof SpecialtyTankMedium;
|
|
83
|
+
TankPositioning: typeof TankPositioning;
|
|
84
|
+
AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
|
|
85
|
+
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
86
|
+
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
87
|
+
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
88
|
+
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
89
|
+
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
90
|
+
AlertType: typeof AlertType;
|
|
91
|
+
}, "">;
|
|
92
|
+
type ObcHeatExchanger = ReturnType<typeof ObcHeatExchanger>;
|
|
93
|
+
export default ObcHeatExchanger;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
4
|
+
export type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
5
|
+
export type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
6
|
+
export type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
|
+
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
8
|
+
import '@oicl/openbridge-webcomponents/dist/automation/heat-pump/heat-pump.js';
|
|
9
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
10
|
+
import type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
11
|
+
import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
12
|
+
import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
13
|
+
import type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
14
|
+
import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
15
|
+
import type { Snippet } from 'svelte';
|
|
16
|
+
|
|
17
|
+
export interface Props {
|
|
18
|
+
class?: string;
|
|
19
|
+
style?: string;
|
|
20
|
+
/** What the graphic area shows: `regular` (one grey area), `graphic` (two grey halves) or `medium` (hot/cold halves). */
|
|
21
|
+
medium?: SpecialtyTankMedium;
|
|
22
|
+
/** Display-only tile with a flat grey frame and a bare icon, rendered as a non-interactive `<div role="img">`. Hides the graphic area. */
|
|
23
|
+
static?: boolean;
|
|
24
|
+
/** Show the equipment icon centered on the graphic area. */
|
|
25
|
+
showIcon?: boolean;
|
|
26
|
+
/** Identifier rendered in the tag readout below the frame (for example `#0000`); also the accessible name. The cell collapses when empty. */
|
|
27
|
+
tag?: string;
|
|
28
|
+
/** Host positioning model — see `TankPositioning`. `button` (default) fills the parent, `point` uses the fixed design footprint with the P&ID anchor. */
|
|
29
|
+
positioning?: TankPositioning;
|
|
30
|
+
/** Whether the tile is interactive. `false` keeps the resting appearance but drops hover, pressed and focus states and leaves the tab order; property-only because the default is `true`. */
|
|
31
|
+
clickable?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Paints the activated background on the halo. Needs an interactive tile.
|
|
34
|
+
*
|
|
35
|
+
* Available when `clickable==true`.
|
|
36
|
+
*/
|
|
37
|
+
activated?: boolean;
|
|
38
|
+
/** Mode badge (auto / manual / local variants), first in the badge row. */
|
|
39
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
40
|
+
/** Alert badge, second in the badge row. */
|
|
41
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
42
|
+
/** Interlock badge, third in the badge row. */
|
|
43
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
44
|
+
/** Command-locked badge, last in the badge row. */
|
|
45
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
46
|
+
/** Show an alert-frame overlay around the halo, mirroring `obc-automation-tank`. */
|
|
47
|
+
alert?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Shape of the alert frame.
|
|
50
|
+
*
|
|
51
|
+
* Available when `alert==true`.
|
|
52
|
+
*/
|
|
53
|
+
alertFrameType?: ObcAlertFrameType;
|
|
54
|
+
/**
|
|
55
|
+
* Thickness of the alert frame.
|
|
56
|
+
*
|
|
57
|
+
* Available when `alert==true`.
|
|
58
|
+
*/
|
|
59
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
60
|
+
/**
|
|
61
|
+
* Alert status the frame is coloured for.
|
|
62
|
+
*
|
|
63
|
+
* Available when `alert==true`.
|
|
64
|
+
*/
|
|
65
|
+
alertFrameStatus?: AlertType;
|
|
66
|
+
/**
|
|
67
|
+
* Shows the alert category icon inside the frame.
|
|
68
|
+
*
|
|
69
|
+
* Available when `alert==true`.
|
|
70
|
+
*/
|
|
71
|
+
showAlertCategoryIcon?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Shows the slotted alert icon inside the frame.
|
|
74
|
+
*
|
|
75
|
+
* Available when `alert==true`.
|
|
76
|
+
*/
|
|
77
|
+
showAlertIcon?: boolean
|
|
78
|
+
}
|
|
79
|
+
export interface Events {
|
|
80
|
+
onClick?: (event: CustomEvent<unknown>) => void
|
|
81
|
+
}
|
|
82
|
+
export interface Slots {
|
|
83
|
+
badges?: Snippet;
|
|
84
|
+
tagSnippet?: Snippet;
|
|
85
|
+
alertIcon?: Snippet;
|
|
86
|
+
alertLabel?: Snippet;
|
|
87
|
+
alertTimer?: Snippet
|
|
88
|
+
}
|
|
89
|
+
const {onClick, class: className, style, badges, tagSnippet, alertIcon, alertLabel, alertTimer, ...props} = $props<Props & Events & Slots>();
|
|
90
|
+
|
|
91
|
+
</script>
|
|
92
|
+
<obc-heat-pump
|
|
93
|
+
use:setProperties={props}
|
|
94
|
+
class={className}
|
|
95
|
+
style={style}
|
|
96
|
+
use:forwardEvents={{'click': onClick}} >
|
|
97
|
+
|
|
98
|
+
{#if badges}
|
|
99
|
+
<div slot="badges">
|
|
100
|
+
{@render badges()}
|
|
101
|
+
</div>
|
|
102
|
+
{/if}
|
|
103
|
+
|
|
104
|
+
{#if tagSnippet}
|
|
105
|
+
<div slot="tag">
|
|
106
|
+
{@render tagSnippet()}
|
|
107
|
+
</div>
|
|
108
|
+
{/if}
|
|
109
|
+
|
|
110
|
+
{#if alertIcon}
|
|
111
|
+
<div slot="alert-icon">
|
|
112
|
+
{@render alertIcon()}
|
|
113
|
+
</div>
|
|
114
|
+
{/if}
|
|
115
|
+
|
|
116
|
+
{#if alertLabel}
|
|
117
|
+
<div slot="alert-label">
|
|
118
|
+
{@render alertLabel()}
|
|
119
|
+
</div>
|
|
120
|
+
{/if}
|
|
121
|
+
|
|
122
|
+
{#if alertTimer}
|
|
123
|
+
<div slot="alert-timer">
|
|
124
|
+
{@render alertTimer()}
|
|
125
|
+
</div>
|
|
126
|
+
{/if}
|
|
127
|
+
</obc-heat-pump>
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/heat-pump/heat-pump.js';
|
|
2
|
+
import type { SpecialtyTankMedium } from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
3
|
+
import type { TankPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
4
|
+
import type { AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
5
|
+
import type { ObcAlertFrameType, ObcAlertFrameThickness } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
6
|
+
import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
export interface Props {
|
|
9
|
+
class?: string;
|
|
10
|
+
style?: string;
|
|
11
|
+
/** What the graphic area shows: `regular` (one grey area), `graphic` (two grey halves) or `medium` (hot/cold halves). */
|
|
12
|
+
medium?: SpecialtyTankMedium;
|
|
13
|
+
/** Display-only tile with a flat grey frame and a bare icon, rendered as a non-interactive `<div role="img">`. Hides the graphic area. */
|
|
14
|
+
static?: boolean;
|
|
15
|
+
/** Show the equipment icon centered on the graphic area. */
|
|
16
|
+
showIcon?: boolean;
|
|
17
|
+
/** Identifier rendered in the tag readout below the frame (for example `#0000`); also the accessible name. The cell collapses when empty. */
|
|
18
|
+
tag?: string;
|
|
19
|
+
/** Host positioning model — see `TankPositioning`. `button` (default) fills the parent, `point` uses the fixed design footprint with the P&ID anchor. */
|
|
20
|
+
positioning?: TankPositioning;
|
|
21
|
+
/** Whether the tile is interactive. `false` keeps the resting appearance but drops hover, pressed and focus states and leaves the tab order; property-only because the default is `true`. */
|
|
22
|
+
clickable?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Paints the activated background on the halo. Needs an interactive tile.
|
|
25
|
+
*
|
|
26
|
+
* Available when `clickable==true`.
|
|
27
|
+
*/
|
|
28
|
+
activated?: boolean;
|
|
29
|
+
/** Mode badge (auto / manual / local variants), first in the badge row. */
|
|
30
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
31
|
+
/** Alert badge, second in the badge row. */
|
|
32
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
33
|
+
/** Interlock badge, third in the badge row. */
|
|
34
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
35
|
+
/** Command-locked badge, last in the badge row. */
|
|
36
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
37
|
+
/** Show an alert-frame overlay around the halo, mirroring `obc-automation-tank`. */
|
|
38
|
+
alert?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Shape of the alert frame.
|
|
41
|
+
*
|
|
42
|
+
* Available when `alert==true`.
|
|
43
|
+
*/
|
|
44
|
+
alertFrameType?: ObcAlertFrameType;
|
|
45
|
+
/**
|
|
46
|
+
* Thickness of the alert frame.
|
|
47
|
+
*
|
|
48
|
+
* Available when `alert==true`.
|
|
49
|
+
*/
|
|
50
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
51
|
+
/**
|
|
52
|
+
* Alert status the frame is coloured for.
|
|
53
|
+
*
|
|
54
|
+
* Available when `alert==true`.
|
|
55
|
+
*/
|
|
56
|
+
alertFrameStatus?: AlertType;
|
|
57
|
+
/**
|
|
58
|
+
* Shows the alert category icon inside the frame.
|
|
59
|
+
*
|
|
60
|
+
* Available when `alert==true`.
|
|
61
|
+
*/
|
|
62
|
+
showAlertCategoryIcon?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Shows the slotted alert icon inside the frame.
|
|
65
|
+
*
|
|
66
|
+
* Available when `alert==true`.
|
|
67
|
+
*/
|
|
68
|
+
showAlertIcon?: boolean;
|
|
69
|
+
}
|
|
70
|
+
export interface Events {
|
|
71
|
+
onClick?: (event: CustomEvent<unknown>) => void;
|
|
72
|
+
}
|
|
73
|
+
export interface Slots {
|
|
74
|
+
badges?: Snippet;
|
|
75
|
+
tagSnippet?: Snippet;
|
|
76
|
+
alertIcon?: Snippet;
|
|
77
|
+
alertLabel?: Snippet;
|
|
78
|
+
alertTimer?: Snippet;
|
|
79
|
+
}
|
|
80
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
81
|
+
declare const ObcHeatPump: import("svelte").Component<$$ComponentProps, {
|
|
82
|
+
SpecialtyTankMedium: typeof SpecialtyTankMedium;
|
|
83
|
+
TankPositioning: typeof TankPositioning;
|
|
84
|
+
AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
|
|
85
|
+
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
86
|
+
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
87
|
+
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
88
|
+
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
89
|
+
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
90
|
+
AlertType: typeof AlertType;
|
|
91
|
+
}, "">;
|
|
92
|
+
type ObcHeatPump = ReturnType<typeof ObcHeatPump>;
|
|
93
|
+
export default ObcHeatPump;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-check-valve/hydraulic-check-valve.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
/** Accessible name for the symbol. */
|
|
13
|
+
ariaLabel?: string;
|
|
14
|
+
/** Rotates the symbol 90° counter-clockwise to match a vertical flow path. */
|
|
15
|
+
vertical?: boolean
|
|
16
|
+
}
|
|
17
|
+
export interface Events {
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
export interface Slots {
|
|
21
|
+
children?: Snippet
|
|
22
|
+
}
|
|
23
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
24
|
+
|
|
25
|
+
</script>
|
|
26
|
+
<obc-hydraulic-check-valve
|
|
27
|
+
use:setProperties={props}
|
|
28
|
+
class={className}
|
|
29
|
+
style={style}
|
|
30
|
+
>
|
|
31
|
+
|
|
32
|
+
{#if children}
|
|
33
|
+
{@render children()}
|
|
34
|
+
{/if}
|
|
35
|
+
</obc-hydraulic-check-valve>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-check-valve/hydraulic-check-valve.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
/** Accessible name for the symbol. */
|
|
7
|
+
ariaLabel?: string;
|
|
8
|
+
/** Rotates the symbol 90° counter-clockwise to match a vertical flow path. */
|
|
9
|
+
vertical?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface Events {
|
|
12
|
+
}
|
|
13
|
+
export interface Slots {
|
|
14
|
+
children?: Snippet;
|
|
15
|
+
}
|
|
16
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
17
|
+
declare const ObcHydraulicCheckValve: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
18
|
+
type ObcHydraulicCheckValve = ReturnType<typeof ObcHydraulicCheckValve>;
|
|
19
|
+
export default ObcHydraulicCheckValve;
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
4
|
+
export type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
5
|
+
export type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
6
|
+
export type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
|
+
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
8
|
+
import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-separator/hydraulic-separator.js';
|
|
9
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
10
|
+
import type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
11
|
+
import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
12
|
+
import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
13
|
+
import type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
14
|
+
import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
15
|
+
import type { Snippet } from 'svelte';
|
|
16
|
+
|
|
17
|
+
export interface Props {
|
|
18
|
+
class?: string;
|
|
19
|
+
style?: string;
|
|
20
|
+
/** What the graphic area shows: `regular` (one grey area), `graphic` (two grey halves) or `medium` (hot/cold halves). */
|
|
21
|
+
medium?: SpecialtyTankMedium;
|
|
22
|
+
/** Display-only tile with a flat grey frame and a bare icon, rendered as a non-interactive `<div role="img">`. Hides the graphic area. */
|
|
23
|
+
static?: boolean;
|
|
24
|
+
/** Show the equipment icon centered on the graphic area. */
|
|
25
|
+
showIcon?: boolean;
|
|
26
|
+
/** Identifier rendered in the tag readout below the frame (for example `#0000`); also the accessible name. The cell collapses when empty. */
|
|
27
|
+
tag?: string;
|
|
28
|
+
/** Host positioning model — see `TankPositioning`. `button` (default) fills the parent, `point` uses the fixed design footprint with the P&ID anchor. */
|
|
29
|
+
positioning?: TankPositioning;
|
|
30
|
+
/** Whether the tile is interactive. `false` keeps the resting appearance but drops hover, pressed and focus states and leaves the tab order; property-only because the default is `true`. */
|
|
31
|
+
clickable?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Paints the activated background on the halo. Needs an interactive tile.
|
|
34
|
+
*
|
|
35
|
+
* Available when `clickable==true`.
|
|
36
|
+
*/
|
|
37
|
+
activated?: boolean;
|
|
38
|
+
/** Mode badge (auto / manual / local variants), first in the badge row. */
|
|
39
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
40
|
+
/** Alert badge, second in the badge row. */
|
|
41
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
42
|
+
/** Interlock badge, third in the badge row. */
|
|
43
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
44
|
+
/** Command-locked badge, last in the badge row. */
|
|
45
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
46
|
+
/** Show an alert-frame overlay around the halo, mirroring `obc-automation-tank`. */
|
|
47
|
+
alert?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Shape of the alert frame.
|
|
50
|
+
*
|
|
51
|
+
* Available when `alert==true`.
|
|
52
|
+
*/
|
|
53
|
+
alertFrameType?: ObcAlertFrameType;
|
|
54
|
+
/**
|
|
55
|
+
* Thickness of the alert frame.
|
|
56
|
+
*
|
|
57
|
+
* Available when `alert==true`.
|
|
58
|
+
*/
|
|
59
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
60
|
+
/**
|
|
61
|
+
* Alert status the frame is coloured for.
|
|
62
|
+
*
|
|
63
|
+
* Available when `alert==true`.
|
|
64
|
+
*/
|
|
65
|
+
alertFrameStatus?: AlertType;
|
|
66
|
+
/**
|
|
67
|
+
* Shows the alert category icon inside the frame.
|
|
68
|
+
*
|
|
69
|
+
* Available when `alert==true`.
|
|
70
|
+
*/
|
|
71
|
+
showAlertCategoryIcon?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Shows the slotted alert icon inside the frame.
|
|
74
|
+
*
|
|
75
|
+
* Available when `alert==true`.
|
|
76
|
+
*/
|
|
77
|
+
showAlertIcon?: boolean
|
|
78
|
+
}
|
|
79
|
+
export interface Events {
|
|
80
|
+
onClick?: (event: CustomEvent<unknown>) => void
|
|
81
|
+
}
|
|
82
|
+
export interface Slots {
|
|
83
|
+
badges?: Snippet;
|
|
84
|
+
tagSnippet?: Snippet;
|
|
85
|
+
alertIcon?: Snippet;
|
|
86
|
+
alertLabel?: Snippet;
|
|
87
|
+
alertTimer?: Snippet
|
|
88
|
+
}
|
|
89
|
+
const {onClick, class: className, style, badges, tagSnippet, alertIcon, alertLabel, alertTimer, ...props} = $props<Props & Events & Slots>();
|
|
90
|
+
|
|
91
|
+
</script>
|
|
92
|
+
<obc-hydraulic-separator
|
|
93
|
+
use:setProperties={props}
|
|
94
|
+
class={className}
|
|
95
|
+
style={style}
|
|
96
|
+
use:forwardEvents={{'click': onClick}} >
|
|
97
|
+
|
|
98
|
+
{#if badges}
|
|
99
|
+
<div slot="badges">
|
|
100
|
+
{@render badges()}
|
|
101
|
+
</div>
|
|
102
|
+
{/if}
|
|
103
|
+
|
|
104
|
+
{#if tagSnippet}
|
|
105
|
+
<div slot="tag">
|
|
106
|
+
{@render tagSnippet()}
|
|
107
|
+
</div>
|
|
108
|
+
{/if}
|
|
109
|
+
|
|
110
|
+
{#if alertIcon}
|
|
111
|
+
<div slot="alert-icon">
|
|
112
|
+
{@render alertIcon()}
|
|
113
|
+
</div>
|
|
114
|
+
{/if}
|
|
115
|
+
|
|
116
|
+
{#if alertLabel}
|
|
117
|
+
<div slot="alert-label">
|
|
118
|
+
{@render alertLabel()}
|
|
119
|
+
</div>
|
|
120
|
+
{/if}
|
|
121
|
+
|
|
122
|
+
{#if alertTimer}
|
|
123
|
+
<div slot="alert-timer">
|
|
124
|
+
{@render alertTimer()}
|
|
125
|
+
</div>
|
|
126
|
+
{/if}
|
|
127
|
+
</obc-hydraulic-separator>
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-separator/hydraulic-separator.js';
|
|
2
|
+
import type { SpecialtyTankMedium } from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
3
|
+
import type { TankPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
4
|
+
import type { AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
5
|
+
import type { ObcAlertFrameType, ObcAlertFrameThickness } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
6
|
+
import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
export interface Props {
|
|
9
|
+
class?: string;
|
|
10
|
+
style?: string;
|
|
11
|
+
/** What the graphic area shows: `regular` (one grey area), `graphic` (two grey halves) or `medium` (hot/cold halves). */
|
|
12
|
+
medium?: SpecialtyTankMedium;
|
|
13
|
+
/** Display-only tile with a flat grey frame and a bare icon, rendered as a non-interactive `<div role="img">`. Hides the graphic area. */
|
|
14
|
+
static?: boolean;
|
|
15
|
+
/** Show the equipment icon centered on the graphic area. */
|
|
16
|
+
showIcon?: boolean;
|
|
17
|
+
/** Identifier rendered in the tag readout below the frame (for example `#0000`); also the accessible name. The cell collapses when empty. */
|
|
18
|
+
tag?: string;
|
|
19
|
+
/** Host positioning model — see `TankPositioning`. `button` (default) fills the parent, `point` uses the fixed design footprint with the P&ID anchor. */
|
|
20
|
+
positioning?: TankPositioning;
|
|
21
|
+
/** Whether the tile is interactive. `false` keeps the resting appearance but drops hover, pressed and focus states and leaves the tab order; property-only because the default is `true`. */
|
|
22
|
+
clickable?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Paints the activated background on the halo. Needs an interactive tile.
|
|
25
|
+
*
|
|
26
|
+
* Available when `clickable==true`.
|
|
27
|
+
*/
|
|
28
|
+
activated?: boolean;
|
|
29
|
+
/** Mode badge (auto / manual / local variants), first in the badge row. */
|
|
30
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
31
|
+
/** Alert badge, second in the badge row. */
|
|
32
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
33
|
+
/** Interlock badge, third in the badge row. */
|
|
34
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
35
|
+
/** Command-locked badge, last in the badge row. */
|
|
36
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
37
|
+
/** Show an alert-frame overlay around the halo, mirroring `obc-automation-tank`. */
|
|
38
|
+
alert?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Shape of the alert frame.
|
|
41
|
+
*
|
|
42
|
+
* Available when `alert==true`.
|
|
43
|
+
*/
|
|
44
|
+
alertFrameType?: ObcAlertFrameType;
|
|
45
|
+
/**
|
|
46
|
+
* Thickness of the alert frame.
|
|
47
|
+
*
|
|
48
|
+
* Available when `alert==true`.
|
|
49
|
+
*/
|
|
50
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
51
|
+
/**
|
|
52
|
+
* Alert status the frame is coloured for.
|
|
53
|
+
*
|
|
54
|
+
* Available when `alert==true`.
|
|
55
|
+
*/
|
|
56
|
+
alertFrameStatus?: AlertType;
|
|
57
|
+
/**
|
|
58
|
+
* Shows the alert category icon inside the frame.
|
|
59
|
+
*
|
|
60
|
+
* Available when `alert==true`.
|
|
61
|
+
*/
|
|
62
|
+
showAlertCategoryIcon?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Shows the slotted alert icon inside the frame.
|
|
65
|
+
*
|
|
66
|
+
* Available when `alert==true`.
|
|
67
|
+
*/
|
|
68
|
+
showAlertIcon?: boolean;
|
|
69
|
+
}
|
|
70
|
+
export interface Events {
|
|
71
|
+
onClick?: (event: CustomEvent<unknown>) => void;
|
|
72
|
+
}
|
|
73
|
+
export interface Slots {
|
|
74
|
+
badges?: Snippet;
|
|
75
|
+
tagSnippet?: Snippet;
|
|
76
|
+
alertIcon?: Snippet;
|
|
77
|
+
alertLabel?: Snippet;
|
|
78
|
+
alertTimer?: Snippet;
|
|
79
|
+
}
|
|
80
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
81
|
+
declare const ObcHydraulicSeparator: import("svelte").Component<$$ComponentProps, {
|
|
82
|
+
SpecialtyTankMedium: typeof SpecialtyTankMedium;
|
|
83
|
+
TankPositioning: typeof TankPositioning;
|
|
84
|
+
AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
|
|
85
|
+
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
86
|
+
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
87
|
+
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
88
|
+
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
89
|
+
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
90
|
+
AlertType: typeof AlertType;
|
|
91
|
+
}, "">;
|
|
92
|
+
type ObcHydraulicSeparator = ReturnType<typeof ObcHydraulicSeparator>;
|
|
93
|
+
export default ObcHydraulicSeparator;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {PositionSelectedDetail, HydraulicValve43Type} from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-4-3/hydraulic-valve-4-3.js';
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-4-3/hydraulic-valve-4-3.js';
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import type {PositionSelectedDetail, HydraulicValve43Type} from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-4-3/hydraulic-valve-4-3.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
/** Zero-based index of the currently selected position. Out-of-range values are clamped. */
|
|
13
|
+
selectedPosition?: number;
|
|
14
|
+
/** Lays the control out vertically: positions stack top to bottom and the position symbols rotate 90° counter-clockwise to match a vertical flow path. */
|
|
15
|
+
vertical?: boolean;
|
|
16
|
+
/** Accessible name for the control. */
|
|
17
|
+
ariaLabel?: string;
|
|
18
|
+
/** Center-position symbol variant. */
|
|
19
|
+
type?: HydraulicValve43Type
|
|
20
|
+
}
|
|
21
|
+
export interface Events {
|
|
22
|
+
onPositionSelected?: (event: CustomEvent<PositionSelectedDetail>) => void
|
|
23
|
+
}
|
|
24
|
+
export interface Slots {
|
|
25
|
+
children?: Snippet
|
|
26
|
+
}
|
|
27
|
+
const {onPositionSelected, class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
28
|
+
|
|
29
|
+
</script>
|
|
30
|
+
<obc-hydraulic-valve-4-3
|
|
31
|
+
use:setProperties={props}
|
|
32
|
+
class={className}
|
|
33
|
+
style={style}
|
|
34
|
+
use:forwardEvents={{'position-selected': onPositionSelected}} >
|
|
35
|
+
|
|
36
|
+
{#if children}
|
|
37
|
+
{@render children()}
|
|
38
|
+
{/if}
|
|
39
|
+
</obc-hydraulic-valve-4-3>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-4-3/hydraulic-valve-4-3.js';
|
|
2
|
+
import type { PositionSelectedDetail, HydraulicValve43Type } from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-4-3/hydraulic-valve-4-3.js';
|
|
3
|
+
import type { Snippet } from 'svelte';
|
|
4
|
+
export interface Props {
|
|
5
|
+
class?: string;
|
|
6
|
+
style?: string;
|
|
7
|
+
/** Zero-based index of the currently selected position. Out-of-range values are clamped. */
|
|
8
|
+
selectedPosition?: number;
|
|
9
|
+
/** Lays the control out vertically: positions stack top to bottom and the position symbols rotate 90° counter-clockwise to match a vertical flow path. */
|
|
10
|
+
vertical?: boolean;
|
|
11
|
+
/** Accessible name for the control. */
|
|
12
|
+
ariaLabel?: string;
|
|
13
|
+
/** Center-position symbol variant. */
|
|
14
|
+
type?: HydraulicValve43Type;
|
|
15
|
+
}
|
|
16
|
+
export interface Events {
|
|
17
|
+
onPositionSelected?: (event: CustomEvent<PositionSelectedDetail>) => void;
|
|
18
|
+
}
|
|
19
|
+
export interface Slots {
|
|
20
|
+
children?: Snippet;
|
|
21
|
+
}
|
|
22
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
23
|
+
declare const ObcHydraulicValve43: import("svelte").Component<$$ComponentProps, {
|
|
24
|
+
PositionSelectedDetail: typeof PositionSelectedDetail;
|
|
25
|
+
HydraulicValve43Type: typeof HydraulicValve43Type;
|
|
26
|
+
}, "">;
|
|
27
|
+
type ObcHydraulicValve43 = ReturnType<typeof ObcHydraulicValve43>;
|
|
28
|
+
export default ObcHydraulicValve43;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {PositionSelectedDetail, HydraulicValveX2Type} from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-x-2/hydraulic-valve-x-2.js';
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-x-2/hydraulic-valve-x-2.js';
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
|
+
import type {PositionSelectedDetail, HydraulicValveX2Type} from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-x-2/hydraulic-valve-x-2.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
/** Zero-based index of the currently selected position. Out-of-range values are clamped. */
|
|
13
|
+
selectedPosition?: number;
|
|
14
|
+
/** Lays the control out vertically: positions stack top to bottom and the position symbols rotate 90° counter-clockwise to match a vertical flow path. */
|
|
15
|
+
vertical?: boolean;
|
|
16
|
+
/** Accessible name for the control. */
|
|
17
|
+
ariaLabel?: string;
|
|
18
|
+
/** Port/position configuration. */
|
|
19
|
+
type?: HydraulicValveX2Type
|
|
20
|
+
}
|
|
21
|
+
export interface Events {
|
|
22
|
+
onPositionSelected?: (event: CustomEvent<PositionSelectedDetail>) => void
|
|
23
|
+
}
|
|
24
|
+
export interface Slots {
|
|
25
|
+
children?: Snippet
|
|
26
|
+
}
|
|
27
|
+
const {onPositionSelected, class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
28
|
+
|
|
29
|
+
</script>
|
|
30
|
+
<obc-hydraulic-valve-x-2
|
|
31
|
+
use:setProperties={props}
|
|
32
|
+
class={className}
|
|
33
|
+
style={style}
|
|
34
|
+
use:forwardEvents={{'position-selected': onPositionSelected}} >
|
|
35
|
+
|
|
36
|
+
{#if children}
|
|
37
|
+
{@render children()}
|
|
38
|
+
{/if}
|
|
39
|
+
</obc-hydraulic-valve-x-2>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-x-2/hydraulic-valve-x-2.js';
|
|
2
|
+
import type { PositionSelectedDetail, HydraulicValveX2Type } from '@oicl/openbridge-webcomponents/dist/automation/hydraulic-valve-x-2/hydraulic-valve-x-2.js';
|
|
3
|
+
import type { Snippet } from 'svelte';
|
|
4
|
+
export interface Props {
|
|
5
|
+
class?: string;
|
|
6
|
+
style?: string;
|
|
7
|
+
/** Zero-based index of the currently selected position. Out-of-range values are clamped. */
|
|
8
|
+
selectedPosition?: number;
|
|
9
|
+
/** Lays the control out vertically: positions stack top to bottom and the position symbols rotate 90° counter-clockwise to match a vertical flow path. */
|
|
10
|
+
vertical?: boolean;
|
|
11
|
+
/** Accessible name for the control. */
|
|
12
|
+
ariaLabel?: string;
|
|
13
|
+
/** Port/position configuration. */
|
|
14
|
+
type?: HydraulicValveX2Type;
|
|
15
|
+
}
|
|
16
|
+
export interface Events {
|
|
17
|
+
onPositionSelected?: (event: CustomEvent<PositionSelectedDetail>) => void;
|
|
18
|
+
}
|
|
19
|
+
export interface Slots {
|
|
20
|
+
children?: Snippet;
|
|
21
|
+
}
|
|
22
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
23
|
+
declare const ObcHydraulicValveX2: import("svelte").Component<$$ComponentProps, {
|
|
24
|
+
PositionSelectedDetail: typeof PositionSelectedDetail;
|
|
25
|
+
HydraulicValveX2Type: typeof HydraulicValveX2Type;
|
|
26
|
+
}, "">;
|
|
27
|
+
type ObcHydraulicValveX2 = ReturnType<typeof ObcHydraulicValveX2>;
|
|
28
|
+
export default ObcHydraulicValveX2;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
|
|
4
|
+
import '@oicl/openbridge-webcomponents/dist/automation/shuffle-button/shuffle-button-base.js';
|
|
5
|
+
import { setProperties } from "../../util.js";
|
|
6
|
+
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
|
|
9
|
+
export interface Props {
|
|
10
|
+
class?: string;
|
|
11
|
+
style?: string;
|
|
12
|
+
/** Zero-based index of the currently selected position. Out-of-range values are clamped. */
|
|
13
|
+
selectedPosition?: number;
|
|
14
|
+
/** Lays the control out vertically: positions stack top to bottom and the position symbols rotate 90° counter-clockwise to match a vertical flow path. */
|
|
15
|
+
vertical?: boolean;
|
|
16
|
+
/** Accessible name for the radio group (the control is icon-only). Concrete components override the default with a device-specific name. */
|
|
17
|
+
ariaLabel?: string
|
|
18
|
+
}
|
|
19
|
+
export interface Events {
|
|
20
|
+
|
|
21
|
+
}
|
|
22
|
+
export interface Slots {
|
|
23
|
+
children?: Snippet
|
|
24
|
+
}
|
|
25
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
26
|
+
|
|
27
|
+
</script>
|
|
28
|
+
<undefined
|
|
29
|
+
use:setProperties={props}
|
|
30
|
+
class={className}
|
|
31
|
+
style={style}
|
|
32
|
+
>
|
|
33
|
+
|
|
34
|
+
{#if children}
|
|
35
|
+
{@render children()}
|
|
36
|
+
{/if}
|
|
37
|
+
</undefined>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/shuffle-button/shuffle-button-base.js';
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
export interface Props {
|
|
4
|
+
class?: string;
|
|
5
|
+
style?: string;
|
|
6
|
+
/** Zero-based index of the currently selected position. Out-of-range values are clamped. */
|
|
7
|
+
selectedPosition?: number;
|
|
8
|
+
/** Lays the control out vertically: positions stack top to bottom and the position symbols rotate 90° counter-clockwise to match a vertical flow path. */
|
|
9
|
+
vertical?: boolean;
|
|
10
|
+
/** Accessible name for the radio group (the control is icon-only). Concrete components override the default with a device-specific name. */
|
|
11
|
+
ariaLabel?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface Events {
|
|
14
|
+
}
|
|
15
|
+
export interface Slots {
|
|
16
|
+
children?: Snippet;
|
|
17
|
+
}
|
|
18
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
19
|
+
declare const ObcShuffleButtonBase: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
20
|
+
type ObcShuffleButtonBase = ReturnType<typeof ObcShuffleButtonBase>;
|
|
21
|
+
export default ObcShuffleButtonBase;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
|
|
2
|
+
<script lang="ts">
|
|
3
|
+
export type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
4
|
+
export type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
5
|
+
export type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
6
|
+
export type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
7
|
+
export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
8
|
+
import '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
9
|
+
import { setProperties } from "../../util.js";
|
|
10
|
+
import type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
11
|
+
import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
12
|
+
import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
13
|
+
import type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
14
|
+
import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
15
|
+
import type { Snippet } from 'svelte';
|
|
16
|
+
|
|
17
|
+
export interface Props {
|
|
18
|
+
class?: string;
|
|
19
|
+
style?: string;
|
|
20
|
+
/** What the graphic area shows: `regular` (one grey area), `graphic` (two grey halves) or `medium` (hot/cold halves). */
|
|
21
|
+
medium?: SpecialtyTankMedium;
|
|
22
|
+
/** Display-only tile with a flat grey frame and a bare icon, rendered as a non-interactive `<div role="img">`. Hides the graphic area. */
|
|
23
|
+
static?: boolean;
|
|
24
|
+
/** Show the equipment icon centered on the graphic area. */
|
|
25
|
+
showIcon?: boolean;
|
|
26
|
+
/** Identifier rendered in the tag readout below the frame (for example `#0000`); also the accessible name. The cell collapses when empty. */
|
|
27
|
+
tag?: string;
|
|
28
|
+
/** Host positioning model — see `TankPositioning`. `button` (default) fills the parent, `point` uses the fixed design footprint with the P&ID anchor. */
|
|
29
|
+
positioning?: TankPositioning;
|
|
30
|
+
/** Whether the tile is interactive. `false` keeps the resting appearance but drops hover, pressed and focus states and leaves the tab order; property-only because the default is `true`. */
|
|
31
|
+
clickable?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* Paints the activated background on the halo. Needs an interactive tile.
|
|
34
|
+
*
|
|
35
|
+
* Available when `clickable==true`.
|
|
36
|
+
*/
|
|
37
|
+
activated?: boolean;
|
|
38
|
+
/** Mode badge (auto / manual / local variants), first in the badge row. */
|
|
39
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
40
|
+
/** Alert badge, second in the badge row. */
|
|
41
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
42
|
+
/** Interlock badge, third in the badge row. */
|
|
43
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
44
|
+
/** Command-locked badge, last in the badge row. */
|
|
45
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
46
|
+
/** Show an alert-frame overlay around the halo, mirroring `obc-automation-tank`. */
|
|
47
|
+
alert?: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Shape of the alert frame.
|
|
50
|
+
*
|
|
51
|
+
* Available when `alert==true`.
|
|
52
|
+
*/
|
|
53
|
+
alertFrameType?: ObcAlertFrameType;
|
|
54
|
+
/**
|
|
55
|
+
* Thickness of the alert frame.
|
|
56
|
+
*
|
|
57
|
+
* Available when `alert==true`.
|
|
58
|
+
*/
|
|
59
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
60
|
+
/**
|
|
61
|
+
* Alert status the frame is coloured for.
|
|
62
|
+
*
|
|
63
|
+
* Available when `alert==true`.
|
|
64
|
+
*/
|
|
65
|
+
alertFrameStatus?: AlertType;
|
|
66
|
+
/**
|
|
67
|
+
* Shows the alert category icon inside the frame.
|
|
68
|
+
*
|
|
69
|
+
* Available when `alert==true`.
|
|
70
|
+
*/
|
|
71
|
+
showAlertCategoryIcon?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Shows the slotted alert icon inside the frame.
|
|
74
|
+
*
|
|
75
|
+
* Available when `alert==true`.
|
|
76
|
+
*/
|
|
77
|
+
showAlertIcon?: boolean
|
|
78
|
+
}
|
|
79
|
+
export interface Events {
|
|
80
|
+
|
|
81
|
+
}
|
|
82
|
+
export interface Slots {
|
|
83
|
+
children?: Snippet
|
|
84
|
+
}
|
|
85
|
+
const { class: className, style, children, ...props} = $props<Props & Events & Slots>();
|
|
86
|
+
|
|
87
|
+
</script>
|
|
88
|
+
<undefined
|
|
89
|
+
use:setProperties={props}
|
|
90
|
+
class={className}
|
|
91
|
+
style={style}
|
|
92
|
+
>
|
|
93
|
+
|
|
94
|
+
{#if children}
|
|
95
|
+
{@render children()}
|
|
96
|
+
{/if}
|
|
97
|
+
</undefined>
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
2
|
+
import type { SpecialtyTankMedium } from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
|
|
3
|
+
import type { TankPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
|
|
4
|
+
import type { AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked } from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
|
|
5
|
+
import type { ObcAlertFrameType, ObcAlertFrameThickness } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
|
|
6
|
+
import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
|
|
7
|
+
import type { Snippet } from 'svelte';
|
|
8
|
+
export interface Props {
|
|
9
|
+
class?: string;
|
|
10
|
+
style?: string;
|
|
11
|
+
/** What the graphic area shows: `regular` (one grey area), `graphic` (two grey halves) or `medium` (hot/cold halves). */
|
|
12
|
+
medium?: SpecialtyTankMedium;
|
|
13
|
+
/** Display-only tile with a flat grey frame and a bare icon, rendered as a non-interactive `<div role="img">`. Hides the graphic area. */
|
|
14
|
+
static?: boolean;
|
|
15
|
+
/** Show the equipment icon centered on the graphic area. */
|
|
16
|
+
showIcon?: boolean;
|
|
17
|
+
/** Identifier rendered in the tag readout below the frame (for example `#0000`); also the accessible name. The cell collapses when empty. */
|
|
18
|
+
tag?: string;
|
|
19
|
+
/** Host positioning model — see `TankPositioning`. `button` (default) fills the parent, `point` uses the fixed design footprint with the P&ID anchor. */
|
|
20
|
+
positioning?: TankPositioning;
|
|
21
|
+
/** Whether the tile is interactive. `false` keeps the resting appearance but drops hover, pressed and focus states and leaves the tab order; property-only because the default is `true`. */
|
|
22
|
+
clickable?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Paints the activated background on the halo. Needs an interactive tile.
|
|
25
|
+
*
|
|
26
|
+
* Available when `clickable==true`.
|
|
27
|
+
*/
|
|
28
|
+
activated?: boolean;
|
|
29
|
+
/** Mode badge (auto / manual / local variants), first in the badge row. */
|
|
30
|
+
badgeControl?: AutomationButtonBadgeControl;
|
|
31
|
+
/** Alert badge, second in the badge row. */
|
|
32
|
+
badgeAlert?: AutomationButtonBadgeAlert;
|
|
33
|
+
/** Interlock badge, third in the badge row. */
|
|
34
|
+
badgeInterlock?: AutomationButtonBadgeInterlock;
|
|
35
|
+
/** Command-locked badge, last in the badge row. */
|
|
36
|
+
badgeCommandLocked?: AutomationButtonBadgeCommandLocked;
|
|
37
|
+
/** Show an alert-frame overlay around the halo, mirroring `obc-automation-tank`. */
|
|
38
|
+
alert?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Shape of the alert frame.
|
|
41
|
+
*
|
|
42
|
+
* Available when `alert==true`.
|
|
43
|
+
*/
|
|
44
|
+
alertFrameType?: ObcAlertFrameType;
|
|
45
|
+
/**
|
|
46
|
+
* Thickness of the alert frame.
|
|
47
|
+
*
|
|
48
|
+
* Available when `alert==true`.
|
|
49
|
+
*/
|
|
50
|
+
alertFrameThickness?: ObcAlertFrameThickness;
|
|
51
|
+
/**
|
|
52
|
+
* Alert status the frame is coloured for.
|
|
53
|
+
*
|
|
54
|
+
* Available when `alert==true`.
|
|
55
|
+
*/
|
|
56
|
+
alertFrameStatus?: AlertType;
|
|
57
|
+
/**
|
|
58
|
+
* Shows the alert category icon inside the frame.
|
|
59
|
+
*
|
|
60
|
+
* Available when `alert==true`.
|
|
61
|
+
*/
|
|
62
|
+
showAlertCategoryIcon?: boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Shows the slotted alert icon inside the frame.
|
|
65
|
+
*
|
|
66
|
+
* Available when `alert==true`.
|
|
67
|
+
*/
|
|
68
|
+
showAlertIcon?: boolean;
|
|
69
|
+
}
|
|
70
|
+
export interface Events {
|
|
71
|
+
}
|
|
72
|
+
export interface Slots {
|
|
73
|
+
children?: Snippet;
|
|
74
|
+
}
|
|
75
|
+
type $$ComponentProps = Props & Events & Slots;
|
|
76
|
+
declare const ObcAbstractSpecialtyTank: import("svelte").Component<$$ComponentProps, {
|
|
77
|
+
SpecialtyTankMedium: typeof SpecialtyTankMedium;
|
|
78
|
+
TankPositioning: typeof TankPositioning;
|
|
79
|
+
AutomationButtonBadgeControl: typeof AutomationButtonBadgeControl;
|
|
80
|
+
AutomationButtonBadgeAlert: typeof AutomationButtonBadgeAlert;
|
|
81
|
+
AutomationButtonBadgeInterlock: typeof AutomationButtonBadgeInterlock;
|
|
82
|
+
AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
|
|
83
|
+
ObcAlertFrameType: typeof ObcAlertFrameType;
|
|
84
|
+
ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
|
|
85
|
+
AlertType: typeof AlertType;
|
|
86
|
+
}, "">;
|
|
87
|
+
type ObcAbstractSpecialtyTank = ReturnType<typeof ObcAbstractSpecialtyTank>;
|
|
88
|
+
export default ObcAbstractSpecialtyTank;
|
package/dist/index.d.ts
CHANGED
|
@@ -50,7 +50,13 @@ export { default as ObcGaugeGenerator } from './automation/gauge-generator/ObcGa
|
|
|
50
50
|
export { default as ObcGaugeMotorsAndPumps } from './automation/gauge-motors-and-pumps/ObcGaugeMotorsAndPumps.svelte';
|
|
51
51
|
export { default as ObcGaugeValve } from './automation/gauge-valve/ObcGaugeValve.svelte';
|
|
52
52
|
export { default as ObcGround } from './automation/ground/ObcGround.svelte';
|
|
53
|
+
export { default as ObcHeatExchanger } from './automation/heat-exchanger/ObcHeatExchanger.svelte';
|
|
54
|
+
export { default as ObcHeatPump } from './automation/heat-pump/ObcHeatPump.svelte';
|
|
53
55
|
export { default as ObcHorizontalLine } from './automation/horizontal-line/ObcHorizontalLine.svelte';
|
|
56
|
+
export { default as ObcHydraulicCheckValve } from './automation/hydraulic-check-valve/ObcHydraulicCheckValve.svelte';
|
|
57
|
+
export { default as ObcHydraulicSeparator } from './automation/hydraulic-separator/ObcHydraulicSeparator.svelte';
|
|
58
|
+
export { default as ObcHydraulicValve43 } from './automation/hydraulic-valve-4-3/ObcHydraulicValve43.svelte';
|
|
59
|
+
export { default as ObcHydraulicValveX2 } from './automation/hydraulic-valve-x-2/ObcHydraulicValveX2.svelte';
|
|
54
60
|
export { default as ObcIndicatorBattery } from './automation/indicator-battery/ObcIndicatorBattery.svelte';
|
|
55
61
|
export { default as ObcIndicatorEngine } from './automation/indicator-engine/ObcIndicatorEngine.svelte';
|
|
56
62
|
export { default as ObcIndicatorGenerator } from './automation/indicator-generator/ObcIndicatorGenerator.svelte';
|
|
@@ -63,7 +69,9 @@ export { default as ObcMotor } from './automation/motor/ObcMotor.svelte';
|
|
|
63
69
|
export { default as ObcPump } from './automation/pump/ObcPump.svelte';
|
|
64
70
|
export { default as ObcResistor } from './automation/resistor/ObcResistor.svelte';
|
|
65
71
|
export { default as ObcRouter } from './automation/router/ObcRouter.svelte';
|
|
72
|
+
export { default as ObcShuffleButtonBase } from './automation/shuffle-button/ObcShuffleButtonBase.svelte';
|
|
66
73
|
export { default as ObcSource } from './automation/source/ObcSource.svelte';
|
|
74
|
+
export { default as ObcAbstractSpecialtyTank } from './automation/specialty-tank/ObcAbstractSpecialtyTank.svelte';
|
|
67
75
|
export { default as ObcSwitch } from './automation/switch/ObcSwitch.svelte';
|
|
68
76
|
export { default as ObcThreeWayLine } from './automation/three-way-line/ObcThreeWayLine.svelte';
|
|
69
77
|
export { default as ObcTransformer } from './automation/transformer/ObcTransformer.svelte';
|
package/dist/index.js
CHANGED
|
@@ -50,7 +50,13 @@ export { default as ObcGaugeGenerator } from './automation/gauge-generator/ObcGa
|
|
|
50
50
|
export { default as ObcGaugeMotorsAndPumps } from './automation/gauge-motors-and-pumps/ObcGaugeMotorsAndPumps.svelte';
|
|
51
51
|
export { default as ObcGaugeValve } from './automation/gauge-valve/ObcGaugeValve.svelte';
|
|
52
52
|
export { default as ObcGround } from './automation/ground/ObcGround.svelte';
|
|
53
|
+
export { default as ObcHeatExchanger } from './automation/heat-exchanger/ObcHeatExchanger.svelte';
|
|
54
|
+
export { default as ObcHeatPump } from './automation/heat-pump/ObcHeatPump.svelte';
|
|
53
55
|
export { default as ObcHorizontalLine } from './automation/horizontal-line/ObcHorizontalLine.svelte';
|
|
56
|
+
export { default as ObcHydraulicCheckValve } from './automation/hydraulic-check-valve/ObcHydraulicCheckValve.svelte';
|
|
57
|
+
export { default as ObcHydraulicSeparator } from './automation/hydraulic-separator/ObcHydraulicSeparator.svelte';
|
|
58
|
+
export { default as ObcHydraulicValve43 } from './automation/hydraulic-valve-4-3/ObcHydraulicValve43.svelte';
|
|
59
|
+
export { default as ObcHydraulicValveX2 } from './automation/hydraulic-valve-x-2/ObcHydraulicValveX2.svelte';
|
|
54
60
|
export { default as ObcIndicatorBattery } from './automation/indicator-battery/ObcIndicatorBattery.svelte';
|
|
55
61
|
export { default as ObcIndicatorEngine } from './automation/indicator-engine/ObcIndicatorEngine.svelte';
|
|
56
62
|
export { default as ObcIndicatorGenerator } from './automation/indicator-generator/ObcIndicatorGenerator.svelte';
|
|
@@ -63,7 +69,9 @@ export { default as ObcMotor } from './automation/motor/ObcMotor.svelte';
|
|
|
63
69
|
export { default as ObcPump } from './automation/pump/ObcPump.svelte';
|
|
64
70
|
export { default as ObcResistor } from './automation/resistor/ObcResistor.svelte';
|
|
65
71
|
export { default as ObcRouter } from './automation/router/ObcRouter.svelte';
|
|
72
|
+
export { default as ObcShuffleButtonBase } from './automation/shuffle-button/ObcShuffleButtonBase.svelte';
|
|
66
73
|
export { default as ObcSource } from './automation/source/ObcSource.svelte';
|
|
74
|
+
export { default as ObcAbstractSpecialtyTank } from './automation/specialty-tank/ObcAbstractSpecialtyTank.svelte';
|
|
67
75
|
export { default as ObcSwitch } from './automation/switch/ObcSwitch.svelte';
|
|
68
76
|
export { default as ObcThreeWayLine } from './automation/three-way-line/ObcThreeWayLine.svelte';
|
|
69
77
|
export { default as ObcTransformer } from './automation/transformer/ObcTransformer.svelte';
|
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.137",
|
|
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.137"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"svelte": "^5.0.0"
|