@oicl/openbridge-webcomponents-svelte 2.0.0 → 2.1.0-next.2

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.
Files changed (73) hide show
  1. package/dist/automation/analog-valve/ObcAnalogValve.svelte +2 -2
  2. package/dist/automation/analog-valve/ObcAnalogValve.svelte.d.ts +2 -2
  3. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte +2 -2
  4. package/dist/automation/automation-button/ObcAbstractAutomationButton.svelte.d.ts +2 -2
  5. package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte +2 -2
  6. package/dist/automation/automation-button/ObcAbstractAutomationButtonMotorized.svelte.d.ts +2 -2
  7. package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte +2 -2
  8. package/dist/automation/automation-button/ObcAbstractAutomationButtonSquared.svelte.d.ts +2 -2
  9. package/dist/automation/automation-button/ObcAutomationButton.svelte +2 -2
  10. package/dist/automation/automation-button/ObcAutomationButton.svelte.d.ts +2 -2
  11. package/dist/automation/automation-tank/ObcAutomationTank.svelte +34 -3
  12. package/dist/automation/automation-tank/ObcAutomationTank.svelte.d.ts +34 -2
  13. package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte +2 -2
  14. package/dist/automation/bipolar-transistor/ObcBipolarTransistor.svelte.d.ts +2 -2
  15. package/dist/automation/capacitor/ObcCapacitor.svelte +2 -2
  16. package/dist/automation/capacitor/ObcCapacitor.svelte.d.ts +2 -2
  17. package/dist/automation/converter/ObcConverter.svelte +2 -2
  18. package/dist/automation/converter/ObcConverter.svelte.d.ts +2 -2
  19. package/dist/automation/damper/ObcDamper.svelte +2 -2
  20. package/dist/automation/damper/ObcDamper.svelte.d.ts +2 -2
  21. package/dist/automation/digital-valve/ObcDigitalValve.svelte +2 -2
  22. package/dist/automation/digital-valve/ObcDigitalValve.svelte.d.ts +2 -2
  23. package/dist/automation/diodes/ObcDiodes.svelte +2 -2
  24. package/dist/automation/diodes/ObcDiodes.svelte.d.ts +2 -2
  25. package/dist/automation/fan/ObcFan.svelte +2 -2
  26. package/dist/automation/fan/ObcFan.svelte.d.ts +2 -2
  27. package/dist/automation/filter/ObcFilter.svelte +2 -2
  28. package/dist/automation/filter/ObcFilter.svelte.d.ts +2 -2
  29. package/dist/automation/ground/ObcGround.svelte +2 -2
  30. package/dist/automation/ground/ObcGround.svelte.d.ts +2 -2
  31. package/dist/automation/heat-exchanger/ObcHeatExchanger.svelte +10 -4
  32. package/dist/automation/heat-exchanger/ObcHeatExchanger.svelte.d.ts +10 -3
  33. package/dist/automation/heat-pump/ObcHeatPump.svelte +10 -4
  34. package/dist/automation/heat-pump/ObcHeatPump.svelte.d.ts +10 -3
  35. package/dist/automation/hydraulic-separator/ObcHydraulicSeparator.svelte +10 -4
  36. package/dist/automation/hydraulic-separator/ObcHydraulicSeparator.svelte.d.ts +10 -3
  37. package/dist/automation/logic/ObcLogic.svelte +2 -2
  38. package/dist/automation/logic/ObcLogic.svelte.d.ts +2 -2
  39. package/dist/automation/mosfet/ObcMosfet.svelte +2 -2
  40. package/dist/automation/mosfet/ObcMosfet.svelte.d.ts +2 -2
  41. package/dist/automation/motor/ObcMotor.svelte +2 -2
  42. package/dist/automation/motor/ObcMotor.svelte.d.ts +2 -2
  43. package/dist/automation/pump/ObcPump.svelte +2 -2
  44. package/dist/automation/pump/ObcPump.svelte.d.ts +2 -2
  45. package/dist/automation/resistor/ObcResistor.svelte +2 -2
  46. package/dist/automation/resistor/ObcResistor.svelte.d.ts +2 -2
  47. package/dist/automation/router/ObcRouter.svelte +2 -2
  48. package/dist/automation/router/ObcRouter.svelte.d.ts +2 -2
  49. package/dist/automation/source/ObcSource.svelte +2 -2
  50. package/dist/automation/source/ObcSource.svelte.d.ts +2 -2
  51. package/dist/automation/specialty-tank/ObcAbstractSpecialtyTank.svelte +10 -4
  52. package/dist/automation/specialty-tank/ObcAbstractSpecialtyTank.svelte.d.ts +10 -3
  53. package/dist/automation/switch/ObcSwitch.svelte +2 -2
  54. package/dist/automation/switch/ObcSwitch.svelte.d.ts +2 -2
  55. package/dist/automation/transformer/ObcTransformer.svelte +2 -2
  56. package/dist/automation/transformer/ObcTransformer.svelte.d.ts +2 -2
  57. package/dist/automation/transmitter/ObcTransmitter.svelte +58 -3
  58. package/dist/automation/transmitter/ObcTransmitter.svelte.d.ts +46 -1
  59. package/dist/building-blocks/alert-list/ObcAlertList.svelte +1 -0
  60. package/dist/building-blocks/alert-list/ObcAlertList.svelte.d.ts +1 -0
  61. package/dist/building-blocks/alert-list/ObcAlertListBase.svelte +34 -0
  62. package/dist/building-blocks/alert-list/ObcAlertListBase.svelte.d.ts +15 -0
  63. package/dist/components/accordion-card/ObcAccordionCard.svelte +22 -4
  64. package/dist/components/accordion-card/ObcAccordionCard.svelte.d.ts +21 -2
  65. package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte +3 -1
  66. package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte.d.ts +3 -1
  67. package/dist/index.d.ts +2 -0
  68. package/dist/index.js +2 -0
  69. package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte +11 -3
  70. package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte.d.ts +10 -2
  71. package/dist/pages/alert-list-page-small/ObcAlertListPageSmallBase.svelte +43 -0
  72. package/dist/pages/alert-list-page-small/ObcAlertListPageSmallBase.svelte.d.ts +25 -0
  73. package/package.json +2 -2
@@ -3,7 +3,7 @@
3
3
  export type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
4
4
  export type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
5
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';
6
+ export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
7
7
  export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  import '@oicl/openbridge-webcomponents/dist/automation/heat-pump/heat-pump.js';
9
9
  import { setProperties, forwardEvents } from "../../util.js";
@@ -11,7 +11,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
11
11
  import type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
12
12
  import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
13
13
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
14
- import type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
14
+ import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
15
15
  import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
16
16
  import type { Snippet } from 'svelte';
17
17
 
@@ -65,15 +65,21 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
65
65
  */
66
66
  alertFrameStatus?: AlertType;
67
67
  /**
68
- * Shows the alert category icon inside the frame.
68
+ * Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame.
69
69
  *
70
70
  * Available when `alert==true`.
71
71
  */
72
+ alertFrameMode?: ObcAlertFrameMode;
73
+ /**
74
+ * Shows the alert category icon inside the frame.
75
+ *
76
+ * Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`.
77
+ */
72
78
  showAlertCategoryIcon?: boolean;
73
79
  /**
74
80
  * Shows the slotted alert icon inside the frame.
75
81
  *
76
- * Available when `alert==true`.
82
+ * Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`.
77
83
  */
78
84
  showAlertIcon?: boolean
79
85
  }
@@ -2,7 +2,7 @@ import '@oicl/openbridge-webcomponents/dist/automation/heat-pump/heat-pump.js';
2
2
  import type { SpecialtyTankMedium } from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
3
3
  import type { TankPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
4
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';
5
+ import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
6
  import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
7
7
  import type { Snippet } from 'svelte';
8
8
  export interface Props {
@@ -55,15 +55,21 @@ export interface Props {
55
55
  */
56
56
  alertFrameStatus?: AlertType;
57
57
  /**
58
- * Shows the alert category icon inside the frame.
58
+ * Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame.
59
59
  *
60
60
  * Available when `alert==true`.
61
61
  */
62
+ alertFrameMode?: ObcAlertFrameMode;
63
+ /**
64
+ * Shows the alert category icon inside the frame.
65
+ *
66
+ * Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`.
67
+ */
62
68
  showAlertCategoryIcon?: boolean;
63
69
  /**
64
70
  * Shows the slotted alert icon inside the frame.
65
71
  *
66
- * Available when `alert==true`.
72
+ * Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`.
67
73
  */
68
74
  showAlertIcon?: boolean;
69
75
  }
@@ -87,6 +93,7 @@ declare const ObcHeatPump: import("svelte").Component<$$ComponentProps, {
87
93
  AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
88
94
  ObcAlertFrameType: typeof ObcAlertFrameType;
89
95
  ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
96
+ ObcAlertFrameMode: typeof ObcAlertFrameMode;
90
97
  AlertType: typeof AlertType;
91
98
  }, "">;
92
99
  type ObcHeatPump = ReturnType<typeof ObcHeatPump>;
@@ -3,7 +3,7 @@
3
3
  export type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
4
4
  export type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
5
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';
6
+ export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
7
7
  export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-separator/hydraulic-separator.js';
9
9
  import { setProperties, forwardEvents } from "../../util.js";
@@ -11,7 +11,7 @@ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
11
11
  import type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
12
12
  import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
13
13
  import type {AutomationButtonBadgeControl, AutomationButtonBadgeAlert, AutomationButtonBadgeInterlock, AutomationButtonBadgeCommandLocked} from '@oicl/openbridge-webcomponents/dist/automation/automation-button/abstract-automation-button.js';
14
- import type {ObcAlertFrameType, ObcAlertFrameThickness} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
14
+ import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
15
15
  import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
16
16
  import type { Snippet } from 'svelte';
17
17
 
@@ -65,15 +65,21 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
65
65
  */
66
66
  alertFrameStatus?: AlertType;
67
67
  /**
68
- * Shows the alert category icon inside the frame.
68
+ * Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame.
69
69
  *
70
70
  * Available when `alert==true`.
71
71
  */
72
+ alertFrameMode?: ObcAlertFrameMode;
73
+ /**
74
+ * Shows the alert category icon inside the frame.
75
+ *
76
+ * Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`.
77
+ */
72
78
  showAlertCategoryIcon?: boolean;
73
79
  /**
74
80
  * Shows the slotted alert icon inside the frame.
75
81
  *
76
- * Available when `alert==true`.
82
+ * Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`.
77
83
  */
78
84
  showAlertIcon?: boolean
79
85
  }
@@ -2,7 +2,7 @@ import '@oicl/openbridge-webcomponents/dist/automation/hydraulic-separator/hydra
2
2
  import type { SpecialtyTankMedium } from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
3
3
  import type { TankPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
4
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';
5
+ import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
6
  import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
7
7
  import type { Snippet } from 'svelte';
8
8
  export interface Props {
@@ -55,15 +55,21 @@ export interface Props {
55
55
  */
56
56
  alertFrameStatus?: AlertType;
57
57
  /**
58
- * Shows the alert category icon inside the frame.
58
+ * Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame.
59
59
  *
60
60
  * Available when `alert==true`.
61
61
  */
62
+ alertFrameMode?: ObcAlertFrameMode;
63
+ /**
64
+ * Shows the alert category icon inside the frame.
65
+ *
66
+ * Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`.
67
+ */
62
68
  showAlertCategoryIcon?: boolean;
63
69
  /**
64
70
  * Shows the slotted alert icon inside the frame.
65
71
  *
66
- * Available when `alert==true`.
72
+ * Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`.
67
73
  */
68
74
  showAlertIcon?: boolean;
69
75
  }
@@ -87,6 +93,7 @@ declare const ObcHydraulicSeparator: import("svelte").Component<$$ComponentProps
87
93
  AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
88
94
  ObcAlertFrameType: typeof ObcAlertFrameType;
89
95
  ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
96
+ ObcAlertFrameMode: typeof ObcAlertFrameMode;
90
97
  AlertType: typeof AlertType;
91
98
  }, "">;
92
99
  type ObcHydraulicSeparator = ReturnType<typeof ObcHydraulicSeparator>;
@@ -50,9 +50,9 @@ import type {LogicAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/aut
50
50
  alertFrameStatus?: AlertType;
51
51
  /** Available when `alert==true`. */
52
52
  alertFrameMode?: ObcAlertFrameMode;
53
- /** Available when `alert==true`. */
53
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
54
54
  showAlertCategoryIcon?: boolean;
55
- /** Available when `alert==true`. */
55
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
56
56
  showAlertIcon?: boolean;
57
57
  /** Shows a progress indicator, used to indicate that an user action is in progress */
58
58
  progress?: boolean;
@@ -38,9 +38,9 @@ export interface Props {
38
38
  alertFrameStatus?: AlertType;
39
39
  /** Available when `alert==true`. */
40
40
  alertFrameMode?: ObcAlertFrameMode;
41
- /** Available when `alert==true`. */
41
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
42
42
  showAlertCategoryIcon?: boolean;
43
- /** Available when `alert==true`. */
43
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
44
44
  showAlertIcon?: boolean;
45
45
  /** Shows a progress indicator, used to indicate that an user action is in progress */
46
46
  progress?: boolean;
@@ -50,9 +50,9 @@ import type {MosfetAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
50
50
  alertFrameStatus?: AlertType;
51
51
  /** Available when `alert==true`. */
52
52
  alertFrameMode?: ObcAlertFrameMode;
53
- /** Available when `alert==true`. */
53
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
54
54
  showAlertCategoryIcon?: boolean;
55
- /** Available when `alert==true`. */
55
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
56
56
  showAlertIcon?: boolean;
57
57
  /** Shows a progress indicator, used to indicate that an user action is in progress */
58
58
  progress?: boolean;
@@ -38,9 +38,9 @@ export interface Props {
38
38
  alertFrameStatus?: AlertType;
39
39
  /** Available when `alert==true`. */
40
40
  alertFrameMode?: ObcAlertFrameMode;
41
- /** Available when `alert==true`. */
41
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
42
42
  showAlertCategoryIcon?: boolean;
43
- /** Available when `alert==true`. */
43
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
44
44
  showAlertIcon?: boolean;
45
45
  /** Shows a progress indicator, used to indicate that an user action is in progress */
46
46
  progress?: boolean;
@@ -54,9 +54,9 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
54
54
  alertFrameStatus?: AlertType;
55
55
  /** Available when `alert==true`. */
56
56
  alertFrameMode?: ObcAlertFrameMode;
57
- /** Available when `alert==true`. */
57
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
58
58
  showAlertCategoryIcon?: boolean;
59
- /** Available when `alert==true`. */
59
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
60
60
  showAlertIcon?: boolean;
61
61
  /** Shows a progress indicator, used to indicate that an user action is in progress */
62
62
  progress?: boolean;
@@ -43,9 +43,9 @@ export interface Props {
43
43
  alertFrameStatus?: AlertType;
44
44
  /** Available when `alert==true`. */
45
45
  alertFrameMode?: ObcAlertFrameMode;
46
- /** Available when `alert==true`. */
46
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
47
47
  showAlertCategoryIcon?: boolean;
48
- /** Available when `alert==true`. */
48
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
49
49
  showAlertIcon?: boolean;
50
50
  /** Shows a progress indicator, used to indicate that an user action is in progress */
51
51
  progress?: boolean;
@@ -54,9 +54,9 @@ import type {AutomationButtonBadgeControl, AutomationButtonBadgeCommandLocked, A
54
54
  alertFrameStatus?: AlertType;
55
55
  /** Available when `alert==true`. */
56
56
  alertFrameMode?: ObcAlertFrameMode;
57
- /** Available when `alert==true`. */
57
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
58
58
  showAlertCategoryIcon?: boolean;
59
- /** Available when `alert==true`. */
59
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
60
60
  showAlertIcon?: boolean;
61
61
  /** Shows a progress indicator, used to indicate that an user action is in progress */
62
62
  progress?: boolean;
@@ -43,9 +43,9 @@ export interface Props {
43
43
  alertFrameStatus?: AlertType;
44
44
  /** Available when `alert==true`. */
45
45
  alertFrameMode?: ObcAlertFrameMode;
46
- /** Available when `alert==true`. */
46
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
47
47
  showAlertCategoryIcon?: boolean;
48
- /** Available when `alert==true`. */
48
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
49
49
  showAlertIcon?: boolean;
50
50
  /** Shows a progress indicator, used to indicate that an user action is in progress */
51
51
  progress?: boolean;
@@ -50,9 +50,9 @@ import type {ResistorAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/
50
50
  alertFrameStatus?: AlertType;
51
51
  /** Available when `alert==true`. */
52
52
  alertFrameMode?: ObcAlertFrameMode;
53
- /** Available when `alert==true`. */
53
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
54
54
  showAlertCategoryIcon?: boolean;
55
- /** Available when `alert==true`. */
55
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
56
56
  showAlertIcon?: boolean;
57
57
  /** Shows a progress indicator, used to indicate that an user action is in progress */
58
58
  progress?: boolean;
@@ -38,9 +38,9 @@ export interface Props {
38
38
  alertFrameStatus?: AlertType;
39
39
  /** Available when `alert==true`. */
40
40
  alertFrameMode?: ObcAlertFrameMode;
41
- /** Available when `alert==true`. */
41
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
42
42
  showAlertCategoryIcon?: boolean;
43
- /** Available when `alert==true`. */
43
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
44
44
  showAlertIcon?: boolean;
45
45
  /** Shows a progress indicator, used to indicate that an user action is in progress */
46
46
  progress?: boolean;
@@ -50,9 +50,9 @@ import type {RouterAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
50
50
  alertFrameStatus?: AlertType;
51
51
  /** Available when `alert==true`. */
52
52
  alertFrameMode?: ObcAlertFrameMode;
53
- /** Available when `alert==true`. */
53
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
54
54
  showAlertCategoryIcon?: boolean;
55
- /** Available when `alert==true`. */
55
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
56
56
  showAlertIcon?: boolean;
57
57
  /** Shows a progress indicator, used to indicate that an user action is in progress */
58
58
  progress?: boolean;
@@ -38,9 +38,9 @@ export interface Props {
38
38
  alertFrameStatus?: AlertType;
39
39
  /** Available when `alert==true`. */
40
40
  alertFrameMode?: ObcAlertFrameMode;
41
- /** Available when `alert==true`. */
41
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
42
42
  showAlertCategoryIcon?: boolean;
43
- /** Available when `alert==true`. */
43
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
44
44
  showAlertIcon?: boolean;
45
45
  /** Shows a progress indicator, used to indicate that an user action is in progress */
46
46
  progress?: boolean;
@@ -50,9 +50,9 @@ import type {SourceAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
50
50
  alertFrameStatus?: AlertType;
51
51
  /** Available when `alert==true`. */
52
52
  alertFrameMode?: ObcAlertFrameMode;
53
- /** Available when `alert==true`. */
53
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
54
54
  showAlertCategoryIcon?: boolean;
55
- /** Available when `alert==true`. */
55
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
56
56
  showAlertIcon?: boolean;
57
57
  /** Shows a progress indicator, used to indicate that an user action is in progress */
58
58
  progress?: boolean;
@@ -38,9 +38,9 @@ export interface Props {
38
38
  alertFrameStatus?: AlertType;
39
39
  /** Available when `alert==true`. */
40
40
  alertFrameMode?: ObcAlertFrameMode;
41
- /** Available when `alert==true`. */
41
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
42
42
  showAlertCategoryIcon?: boolean;
43
- /** Available when `alert==true`. */
43
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
44
44
  showAlertIcon?: boolean;
45
45
  /** Shows a progress indicator, used to indicate that an user action is in progress */
46
46
  progress?: boolean;
@@ -3,14 +3,14 @@
3
3
  export type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
4
4
  export type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
5
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';
6
+ export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
7
7
  export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
8
8
  import '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
9
9
  import { setProperties } from "../../util.js";
10
10
  import type {SpecialtyTankMedium} from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
11
11
  import type {TankPositioning} from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
12
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';
13
+ import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
14
14
  import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
15
15
  import type { Snippet } from 'svelte';
16
16
 
@@ -64,15 +64,21 @@ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
64
64
  */
65
65
  alertFrameStatus?: AlertType;
66
66
  /**
67
- * Shows the alert category icon inside the frame.
67
+ * Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame.
68
68
  *
69
69
  * Available when `alert==true`.
70
70
  */
71
+ alertFrameMode?: ObcAlertFrameMode;
72
+ /**
73
+ * Shows the alert category icon inside the frame.
74
+ *
75
+ * Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`.
76
+ */
71
77
  showAlertCategoryIcon?: boolean;
72
78
  /**
73
79
  * Shows the slotted alert icon inside the frame.
74
80
  *
75
- * Available when `alert==true`.
81
+ * Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`.
76
82
  */
77
83
  showAlertIcon?: boolean
78
84
  }
@@ -2,7 +2,7 @@ import '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-s
2
2
  import type { SpecialtyTankMedium } from '@oicl/openbridge-webcomponents/dist/automation/specialty-tank/abstract-specialty-tank.js';
3
3
  import type { TankPositioning } from '@oicl/openbridge-webcomponents/dist/automation/automation-tank/tank-positioning.js';
4
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';
5
+ import type { ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode } from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
6
6
  import type { AlertType } from '@oicl/openbridge-webcomponents/dist/types.js';
7
7
  import type { Snippet } from 'svelte';
8
8
  export interface Props {
@@ -55,15 +55,21 @@ export interface Props {
55
55
  */
56
56
  alertFrameStatus?: AlertType;
57
57
  /**
58
- * Shows the alert category icon inside the frame.
58
+ * Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame.
59
59
  *
60
60
  * Available when `alert==true`.
61
61
  */
62
+ alertFrameMode?: ObcAlertFrameMode;
63
+ /**
64
+ * Shows the alert category icon inside the frame.
65
+ *
66
+ * Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`.
67
+ */
62
68
  showAlertCategoryIcon?: boolean;
63
69
  /**
64
70
  * Shows the slotted alert icon inside the frame.
65
71
  *
66
- * Available when `alert==true`.
72
+ * Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`.
67
73
  */
68
74
  showAlertIcon?: boolean;
69
75
  }
@@ -82,6 +88,7 @@ declare const ObcAbstractSpecialtyTank: import("svelte").Component<$$ComponentPr
82
88
  AutomationButtonBadgeCommandLocked: typeof AutomationButtonBadgeCommandLocked;
83
89
  ObcAlertFrameType: typeof ObcAlertFrameType;
84
90
  ObcAlertFrameThickness: typeof ObcAlertFrameThickness;
91
+ ObcAlertFrameMode: typeof ObcAlertFrameMode;
85
92
  AlertType: typeof AlertType;
86
93
  }, "">;
87
94
  type ObcAbstractSpecialtyTank = ReturnType<typeof ObcAbstractSpecialtyTank>;
@@ -50,9 +50,9 @@ import type {SwitchAlternativeIcon} from '@oicl/openbridge-webcomponents/dist/au
50
50
  alertFrameStatus?: AlertType;
51
51
  /** Available when `alert==true`. */
52
52
  alertFrameMode?: ObcAlertFrameMode;
53
- /** Available when `alert==true`. */
53
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
54
54
  showAlertCategoryIcon?: boolean;
55
- /** Available when `alert==true`. */
55
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
56
56
  showAlertIcon?: boolean;
57
57
  /** Shows a progress indicator, used to indicate that an user action is in progress */
58
58
  progress?: boolean;
@@ -38,9 +38,9 @@ export interface Props {
38
38
  alertFrameStatus?: AlertType;
39
39
  /** Available when `alert==true`. */
40
40
  alertFrameMode?: ObcAlertFrameMode;
41
- /** Available when `alert==true`. */
41
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
42
42
  showAlertCategoryIcon?: boolean;
43
- /** Available when `alert==true`. */
43
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
44
44
  showAlertIcon?: boolean;
45
45
  /** Shows a progress indicator, used to indicate that an user action is in progress */
46
46
  progress?: boolean;
@@ -50,9 +50,9 @@ import type {TransformerAlternativeIcon} from '@oicl/openbridge-webcomponents/di
50
50
  alertFrameStatus?: AlertType;
51
51
  /** Available when `alert==true`. */
52
52
  alertFrameMode?: ObcAlertFrameMode;
53
- /** Available when `alert==true`. */
53
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
54
54
  showAlertCategoryIcon?: boolean;
55
- /** Available when `alert==true`. */
55
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
56
56
  showAlertIcon?: boolean;
57
57
  /** Shows a progress indicator, used to indicate that an user action is in progress */
58
58
  progress?: boolean;
@@ -38,9 +38,9 @@ export interface Props {
38
38
  alertFrameStatus?: AlertType;
39
39
  /** Available when `alert==true`. */
40
40
  alertFrameMode?: ObcAlertFrameMode;
41
- /** Available when `alert==true`. */
41
+ /** Available when `alert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`. */
42
42
  showAlertCategoryIcon?: boolean;
43
- /** Available when `alert==true`. */
43
+ /** Available when `alert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`. */
44
44
  showAlertIcon?: boolean;
45
45
  /** Shows a progress indicator, used to indicate that an user action is in progress */
46
46
  progress?: boolean;
@@ -4,6 +4,8 @@
4
4
  export type {TransmitterType} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js';
5
5
  export type {LineType} from '@oicl/openbridge-webcomponents/dist/automation/index.js';
6
6
  export type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';
7
+ export type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
8
+ export type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
7
9
  import '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js';
8
10
  import { setProperties } from "../../util.js";
9
11
  import NamedSlot from "../../NamedSlot.svelte";
@@ -11,6 +13,8 @@ export type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/au
11
13
  import type {TransmitterType} from '@oicl/openbridge-webcomponents/dist/automation/transmitter/transmitter.js';
12
14
  import type {LineType} from '@oicl/openbridge-webcomponents/dist/automation/index.js';
13
15
  import type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/automation/transmitter-button/transmitter-button.js';
16
+ import type {AlertType} from '@oicl/openbridge-webcomponents/dist/types.js';
17
+ import type {ObcAlertFrameType, ObcAlertFrameThickness, ObcAlertFrameMode} from '@oicl/openbridge-webcomponents/dist/components/alert-frame/alert-frame.js';
14
18
  import type { Snippet } from 'svelte';
15
19
 
16
20
  export interface Props {
@@ -32,8 +36,44 @@ import type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/au
32
36
  size?: TransmitterButtonSize;
33
37
  hasIcon?: boolean;
34
38
  hasAdvice?: boolean;
35
- /** Wrap the transmitter in an `<obc-alert-frame>` (alarm) when true. */
39
+ /** Wrap the transmitter in an `<obc-alert-frame>` when true. */
36
40
  hasAlert?: boolean;
41
+ /**
42
+ * Severity of the alert frame, which picks its colour and flap badge: `alarm` (default), `warning`, `caution` or one of the `level-*` severities.
43
+ *
44
+ * Available when `hasAlert==true`.
45
+ */
46
+ alertFrameStatus?: AlertType;
47
+ /**
48
+ * Flap of the alert frame: `regular` (default) draws the outline alone, `small-side-flip`, `large-side-flip`, `bottom-flip` and `top-flip` add a flap with the status badge.
49
+ *
50
+ * Available when `hasAlert==true`.
51
+ */
52
+ alertFrameType?: ObcAlertFrameType;
53
+ /**
54
+ * Border of the alert frame: `small` (default) or `large`.
55
+ *
56
+ * Available when `hasAlert==true`.
57
+ */
58
+ alertFrameThickness?: ObcAlertFrameThickness;
59
+ /**
60
+ * Acknowledgement state of the alert: `acked-active` (default) is steady, `unacked-active` flashes, `unacked-rectified` flashes a dashed frame.
61
+ *
62
+ * Available when `hasAlert==true`.
63
+ */
64
+ alertFrameMode?: ObcAlertFrameMode;
65
+ /**
66
+ * Show the status badge in the flap; a small side flap without it is not drawn.
67
+ *
68
+ * Available when `hasAlert==true && alertFrameType in [SmallSideFlip, LargeSideFlip, BottomFlip, TopFlip]`.
69
+ */
70
+ showAlertCategoryIcon?: boolean;
71
+ /**
72
+ * Show the `alert-icon` slot in a large side, bottom or top flap.
73
+ *
74
+ * Available when `hasAlert==true && alertFrameType in [LargeSideFlip, BottomFlip, TopFlip]`.
75
+ */
76
+ showAlertIcon?: boolean;
37
77
  /** Advisory value shown in the leading advice segment when `hasAdvice`. */
38
78
  adviceValue?: number | null | undefined;
39
79
  hasSetPoint?: boolean;
@@ -50,9 +90,12 @@ import type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/au
50
90
 
51
91
  }
52
92
  export interface Slots {
53
- icon?: Snippet
93
+ icon?: Snippet;
94
+ alertIcon?: Snippet;
95
+ alertLabel?: Snippet;
96
+ alertTimer?: Snippet
54
97
  }
55
- const { class: className, style, icon, ...props} = $props<Props & Events & Slots>();
98
+ const { class: className, style, icon, alertIcon, alertLabel, alertTimer, ...props} = $props<Props & Events & Slots>();
56
99
 
57
100
 
58
101
  </script>
@@ -66,4 +109,16 @@ import type {TransmitterButtonSize} from '@oicl/openbridge-webcomponents/dist/au
66
109
  {#if icon}
67
110
  <NamedSlot name="icon" content={icon} />
68
111
  {/if}
112
+
113
+ {#if alertIcon}
114
+ <NamedSlot name="alert-icon" content={alertIcon} />
115
+ {/if}
116
+
117
+ {#if alertLabel}
118
+ <NamedSlot name="alert-label" content={alertLabel} />
119
+ {/if}
120
+
121
+ {#if alertTimer}
122
+ <NamedSlot name="alert-timer" content={alertTimer} />
123
+ {/if}
69
124
  </obc-transmitter>