@oicl/openbridge-webcomponents-svelte 2.0.0-next.113 → 2.0.0-next.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ar/poi/ObcPoiAton.svelte +2 -2
- package/dist/ar/poi/ObcPoiData.svelte +2 -2
- package/dist/ar/poi/ObcPoiVessel.svelte +2 -2
- package/dist/ar/poi-card/ObcPoiCard.svelte +2 -2
- package/dist/ar/poi-card-header/ObcPoiCardHeader.svelte +2 -2
- package/dist/ar/poi-group/ObcPoiGroup.svelte +2 -3
- package/dist/ar/poi-layer/ObcPoiLayer.svelte +2 -3
- package/dist/building-blocks/bar-horizontal/ObcBarHorizontal.svelte +2 -2
- package/dist/building-blocks/bar-vertical/ObcBarVertical.svelte +2 -2
- package/dist/building-blocks/instrument-radial/ObcInstrumentRadial.svelte +2 -2
- package/dist/components/accordion-card/ObcAccordionCard.svelte +2 -2
- package/dist/components/accordion-item/ObcAccordionItem.svelte +2 -2
- package/dist/components/advice-button/ObcAdviceButton.svelte +2 -2
- package/dist/components/advice-floating-item/ObcAdviceFloatingItem.svelte +2 -4
- package/dist/components/advice-menu-item/ObcAdviceMenuItem.svelte +2 -4
- package/dist/components/advice-message-item/ObcAdviceMessageItem.svelte +2 -3
- package/dist/components/alert-button/ObcAlertButton.svelte +2 -3
- package/dist/components/alert-floating-item/ObcAlertFloatingItem.svelte +2 -4
- package/dist/components/alert-list-details/ObcAlertListDetails.svelte +2 -3
- package/dist/components/alert-menu/ObcAlertMenu.svelte +2 -4
- package/dist/components/alert-menu-item/ObcAlertMenuItem.svelte +2 -4
- package/dist/components/app-menu/ObcAppMenu.svelte +2 -2
- package/dist/components/attachment-list-item/ObcAttachmentListItem.svelte +2 -2
- package/dist/components/audio-recording-item/ObcAudioRecordingItem.svelte +2 -2
- package/dist/components/breadcrumb/ObcBreadcrumb.svelte +2 -2
- package/dist/components/brilliance-menu/ObcBrillianceMenu.svelte +2 -6
- package/dist/components/button/ObcButton.svelte +2 -2
- package/dist/components/calendar/ObcCalendar.svelte +2 -6
- package/dist/components/check-button/ObcCheckButton.svelte +2 -2
- package/dist/components/checkbox/ObcCheckbox.svelte +2 -3
- package/dist/components/checkbox-item/ObcCheckboxItem.svelte +2 -2
- package/dist/components/command-menu/ObcCommandMenu.svelte +2 -2
- package/dist/components/communication-table/ObcCommunicationTable.svelte +2 -2
- package/dist/components/context-menu-input/ObcContextMenuInput.svelte +2 -4
- package/dist/components/date-item/ObcDateItem.svelte +2 -2
- package/dist/components/dropdown-button/ObcDropdownButton.svelte +2 -3
- package/dist/components/elevated-card/ObcElevatedCard.svelte +2 -2
- package/dist/components/elevated-card-radio/ObcElevatedCardRadio.svelte +2 -2
- package/dist/components/elevated-card-radio-group/ObcElevatedCardRadioGroup.svelte +2 -2
- package/dist/components/event-item/ObcEventItem.svelte +2 -2
- package/dist/components/filter-chip/ObcFilterChip.svelte +2 -2
- package/dist/components/floating-item/ObcFloatingItem.svelte +2 -4
- package/dist/components/form-footer-container/ObcFormFooterContainer.svelte +2 -2
- package/dist/components/form-group/ObcFormGroup.svelte +2 -2
- package/dist/components/form-item/ObcFormItem.svelte +2 -2
- package/dist/components/icon-button/ObcIconButton.svelte +2 -2
- package/dist/components/icon-check-button/ObcIconCheckButton.svelte +2 -2
- package/dist/components/input-chip/ObcInputChip.svelte +2 -2
- package/dist/components/keyboard-full/ObcKeyboardFull.svelte +2 -4
- package/dist/components/keyboard-numeric/ObcKeyboardNumeric.svelte +2 -4
- package/dist/components/menu-button/ObcMenuButton.svelte +2 -5
- package/dist/components/message-menu-item/ObcMessageMenuItem.svelte +2 -4
- package/dist/components/modal-window/ObcModalWindow.svelte +2 -5
- package/dist/components/navigation-item/ObcNavigationItem.svelte +2 -2
- package/dist/components/navigation-item-group/ObcNavigationItemGroup.svelte +2 -2
- package/dist/components/notification-button/ObcNotificationButton.svelte +2 -2
- package/dist/components/notification-floating-item/ObcNotificationFloatingItem.svelte +2 -4
- package/dist/components/notification-menu-item/ObcNotificationMenuItem.svelte +2 -4
- package/dist/components/notification-message-item/ObcNotificationMessageItem.svelte +2 -3
- package/dist/components/number-input-field/ObcNumberInputField.svelte +2 -3
- package/dist/components/pagination/ObcPagination.svelte +2 -4
- package/dist/components/pivot-item/ObcPivotItem.svelte +2 -2
- package/dist/components/pivot-item-group/ObcPivotItemGroup.svelte +2 -2
- package/dist/components/progress-button/ObcProgressButton.svelte +2 -2
- package/dist/components/radio/ObcRadio.svelte +2 -2
- package/dist/components/rich-button/ObcRichButton.svelte +2 -2
- package/dist/components/sequence-modal/ObcSequenceModal.svelte +2 -2
- package/dist/components/sequence-toolbar/ObcSequenceToolbar.svelte +2 -4
- package/dist/components/slide-button/ObcSlideButton.svelte +2 -2
- package/dist/components/slider/ObcSlider.svelte +2 -3
- package/dist/components/slider-double/ObcSliderDouble.svelte +2 -3
- package/dist/components/split-button/ObcSplitButton.svelte +2 -3
- package/dist/components/start-stop-switch/ObcStartStopSwitch.svelte +2 -2
- package/dist/components/stepper-box/ObcStepperBox.svelte +2 -5
- package/dist/components/system-button/ObcSystemButton.svelte +2 -6
- package/dist/components/system-menu/ObcSystemMenu.svelte +2 -16
- package/dist/components/tab-item/ObcTabItem.svelte +2 -3
- package/dist/components/tab-row/ObcTabRow.svelte +2 -4
- package/dist/components/tabbed-card/ObcTabbedCard.svelte +2 -2
- package/dist/components/table/ObcTable.svelte +2 -6
- package/dist/components/text-input-field/ObcTextInputField.svelte +2 -5
- package/dist/components/textarea-field/ObcTextareaField.svelte +2 -11
- package/dist/components/title-container/ObcTitleContainer.svelte +2 -2
- package/dist/components/toggle-button-group/ObcToggleButtonGroup.svelte +2 -3
- package/dist/components/toggle-button-option/ObcToggleButtonOption.svelte +2 -2
- package/dist/components/toggle-button-three-state/ObcToggleButtonThreeState.svelte +2 -2
- package/dist/components/toggle-button-vertical-group/ObcToggleButtonVerticalGroup.svelte +2 -3
- package/dist/components/toggle-button-vertical-option/ObcToggleButtonVerticalOption.svelte +2 -2
- package/dist/components/toggle-switch/ObcToggleSwitch.svelte +2 -3
- package/dist/components/toggletip/ObcToggletip.svelte +2 -3
- package/dist/components/top-bar/ObcTopBar.svelte +2 -11
- package/dist/components/topbar-message-item/ObcTopbarMessageItem.svelte +2 -3
- package/dist/components/tree-navigation-group/ObcTreeNavigationGroup.svelte +2 -2
- package/dist/components/tree-navigation-item/ObcTreeNavigationItem.svelte +2 -3
- package/dist/components/user-menu/ObcUserMenu.svelte +2 -5
- package/dist/integration-systems/integration-bar/ObcIntegrationBar.svelte +2 -9
- package/dist/integration-systems/integration-bar-dropdown/ObcIntegrationBarDropdown.svelte +2 -6
- package/dist/integration-systems/integration-button/ObcIntegrationButton.svelte +2 -2
- package/dist/integration-systems/integration-dropdown-button/ObcIntegrationDropdownButton.svelte +2 -2
- package/dist/navigation-instruments/gauge-horizontal/ObcGaugeHorizontal.svelte +2 -2
- package/dist/navigation-instruments/gauge-vertical/ObcGaugeVertical.svelte +2 -2
- package/dist/navigation-instruments/readout/ObcReadout.svelte +2 -3
- package/dist/pages/alert-list-page-small/ObcAlertListPageSmall.svelte +2 -5
- package/dist/util.d.ts +6 -0
- package/dist/util.js +19 -0
- package/package.json +2 -2
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/command-menu/command-menu.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -37,7 +37,7 @@ showLocation?: boolean
|
|
|
37
37
|
use:setProperties={props}
|
|
38
38
|
class={className}
|
|
39
39
|
style={style}
|
|
40
|
-
|
|
40
|
+
use:forwardEvents={{'change': onChange}} >
|
|
41
41
|
|
|
42
42
|
{#if commandIcon}
|
|
43
43
|
<div slot="command-icon">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcCommunicationTableRowClickEvent, ObcCommunicationTableRow} from '@oicl/openbridge-webcomponents/dist/components/communication-table/communication-table.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/communication-table/communication-table.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcCommunicationTableRowClickEvent, ObcCommunicationTableRow} from '@oicl/openbridge-webcomponents/dist/components/communication-table/communication-table.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
use:setProperties={props}
|
|
29
29
|
class={className}
|
|
30
30
|
style={style}
|
|
31
|
-
|
|
31
|
+
use:forwardEvents={{'row-click': onRowClick}} >
|
|
32
32
|
|
|
33
33
|
{#if children}
|
|
34
34
|
{@render children()}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcContextMenuInputChangeEvent, ObcContextMenuInputItemClickEvent, ContextMenuType, ContextMenuOption, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcContextMenuInputChangeEvent, ObcContextMenuInputItemClickEvent, ContextMenuType, ContextMenuOption, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -69,9 +69,7 @@ selectPerGroup?: boolean | undefined
|
|
|
69
69
|
use:setProperties={props}
|
|
70
70
|
class={className}
|
|
71
71
|
style={style}
|
|
72
|
-
|
|
73
|
-
onitem-click={onItemClick}
|
|
74
|
-
onclose={onClose} >
|
|
72
|
+
use:forwardEvents={{'change': onChange, 'item-click': onItemClick, 'close': onClose}} >
|
|
75
73
|
|
|
76
74
|
{#if children}
|
|
77
75
|
{@render children()}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export type {DateItemEvent} from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';
|
|
4
4
|
export type {DateItemSize} from '@oicl/openbridge-webcomponents/dist/components/date-item/date-item.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/components/date-item/date-item.js';
|
|
6
|
-
import { setProperties } from "../../util.js";
|
|
6
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
7
7
|
import type {DateItemEvent} from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';
|
|
8
8
|
import type {DateItemSize} from '@oicl/openbridge-webcomponents/dist/components/date-item/date-item.js';
|
|
9
9
|
import type { Snippet } from 'svelte';
|
|
@@ -46,7 +46,7 @@ date?: number
|
|
|
46
46
|
use:setProperties={props}
|
|
47
47
|
class={className}
|
|
48
48
|
style={style}
|
|
49
|
-
|
|
49
|
+
use:forwardEvents={{'date-click': onDateClick}} >
|
|
50
50
|
|
|
51
51
|
{#if children}
|
|
52
52
|
{@render children()}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcDropdownButtonChangeEvent, DropdownButtonOption, DropdownButtonType} from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcDropdownButtonChangeEvent, DropdownButtonOption, DropdownButtonType} from '@oicl/openbridge-webcomponents/dist/components/dropdown-button/dropdown-button.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -53,8 +53,7 @@ integration?: boolean;
|
|
|
53
53
|
use:setProperties={props}
|
|
54
54
|
class={className}
|
|
55
55
|
style={style}
|
|
56
|
-
|
|
57
|
-
onchange={onChange} >
|
|
56
|
+
use:forwardEvents={{'dropdown-change': onDropdownChange, 'change': onChange}} >
|
|
58
57
|
|
|
59
58
|
{#if children}
|
|
60
59
|
{@render children()}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcElevatedCardPosition, ObcElevatedCardSize, ObcElevatedCardTag} from '@oicl/openbridge-webcomponents/dist/components/elevated-card/elevated-card.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/elevated-card/elevated-card.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcElevatedCardPosition, ObcElevatedCardSize, ObcElevatedCardTag} from '@oicl/openbridge-webcomponents/dist/components/elevated-card/elevated-card.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -84,7 +84,7 @@ target?: string | undefined
|
|
|
84
84
|
use:setProperties={props}
|
|
85
85
|
class={className}
|
|
86
86
|
style={style}
|
|
87
|
-
|
|
87
|
+
use:forwardEvents={{'action-click': onActionClick}} >
|
|
88
88
|
|
|
89
89
|
{#if graphic}
|
|
90
90
|
<div slot="graphic">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcElevatedCardPosition, ObcElevatedCardSize} from '@oicl/openbridge-webcomponents/dist/components/elevated-card/elevated-card.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio/elevated-card-radio.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcElevatedCardPosition, ObcElevatedCardSize} from '@oicl/openbridge-webcomponents/dist/components/elevated-card/elevated-card.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -47,7 +47,7 @@ required?: boolean
|
|
|
47
47
|
use:setProperties={props}
|
|
48
48
|
class={className}
|
|
49
49
|
style={style}
|
|
50
|
-
|
|
50
|
+
use:forwardEvents={{'change': onChange}} >
|
|
51
51
|
|
|
52
52
|
{#if children}
|
|
53
53
|
{@render children()}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcElevatedCardRadioGroupChangeEvent, ElevatedCardRadioGroupOption} from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcElevatedCardRadioGroupChangeEvent, ElevatedCardRadioGroupOption} from '@oicl/openbridge-webcomponents/dist/components/elevated-card-radio-group/elevated-card-radio-group.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -39,7 +39,7 @@ top?: boolean
|
|
|
39
39
|
use:setProperties={props}
|
|
40
40
|
class={className}
|
|
41
41
|
style={style}
|
|
42
|
-
|
|
42
|
+
use:forwardEvents={{'change': onChange}} >
|
|
43
43
|
|
|
44
44
|
{#if children}
|
|
45
45
|
{@render children()}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {EventItemType} from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {EventItemType} from '@oicl/openbridge-webcomponents/dist/components/event-item/event-item.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
use:setProperties={props}
|
|
35
35
|
class={className}
|
|
36
36
|
style={style}
|
|
37
|
-
|
|
37
|
+
use:forwardEvents={{'event-click': onEventClick}} >
|
|
38
38
|
|
|
39
39
|
{#if children}
|
|
40
40
|
{@render children()}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcFilterChipChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/filter-chip/filter-chip.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/filter-chip/filter-chip.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcFilterChipChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/filter-chip/filter-chip.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -31,7 +31,7 @@ showIcon?: boolean
|
|
|
31
31
|
use:setProperties={props}
|
|
32
32
|
class={className}
|
|
33
33
|
style={style}
|
|
34
|
-
|
|
34
|
+
use:forwardEvents={{'chip-toggle': onChipToggle}} >
|
|
35
35
|
|
|
36
36
|
{#if children}
|
|
37
37
|
{@render children()}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcFloatingItemType, ObcFloatingItemDirection, ObcFloatingItemLineType} from '@oicl/openbridge-webcomponents/dist/components/floating-item/floating-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/floating-item/floating-item.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcFloatingItemType, ObcFloatingItemDirection, ObcFloatingItemLineType} from '@oicl/openbridge-webcomponents/dist/components/floating-item/floating-item.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -64,9 +64,7 @@ lineType?: ObcFloatingItemLineType
|
|
|
64
64
|
use:setProperties={props}
|
|
65
65
|
class={className}
|
|
66
66
|
style={style}
|
|
67
|
-
|
|
68
|
-
onaction2-click={onAction2Click}
|
|
69
|
-
ondismiss-click={onDismissClick} >
|
|
67
|
+
use:forwardEvents={{'action-click': onActionClick, 'action2-click': onAction2Click, 'dismiss-click': onDismissClick}} >
|
|
70
68
|
|
|
71
69
|
{#if primaryIcon}
|
|
72
70
|
<div slot="primary-icon">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcFormFooterActionClickEvent} from '@oicl/openbridge-webcomponents/dist/components/form-footer-container/form-footer-container.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/form-footer-container/form-footer-container.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcFormFooterActionClickEvent} from '@oicl/openbridge-webcomponents/dist/components/form-footer-container/form-footer-container.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -25,7 +25,7 @@ hasActions?: boolean
|
|
|
25
25
|
use:setProperties={props}
|
|
26
26
|
class={className}
|
|
27
27
|
style={style}
|
|
28
|
-
|
|
28
|
+
use:forwardEvents={{'action-click': onActionClick}} >
|
|
29
29
|
|
|
30
30
|
{#if children}
|
|
31
31
|
{@render children()}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export type {ObcFormItemActionChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/form-item/form-item.js';
|
|
4
4
|
export type {ObcFormGroupType} from '@oicl/openbridge-webcomponents/dist/components/form-group/form-group.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/components/form-group/form-group.js';
|
|
6
|
-
import { setProperties } from "../../util.js";
|
|
6
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
7
7
|
import type {ObcFormItemActionChangeEvent} from '@oicl/openbridge-webcomponents/dist/components/form-item/form-item.js';
|
|
8
8
|
import type {ObcFormGroupType} from '@oicl/openbridge-webcomponents/dist/components/form-group/form-group.js';
|
|
9
9
|
import type { Snippet } from 'svelte';
|
|
@@ -28,7 +28,7 @@ import type {ObcFormGroupType} from '@oicl/openbridge-webcomponents/dist/compone
|
|
|
28
28
|
use:setProperties={props}
|
|
29
29
|
class={className}
|
|
30
30
|
style={style}
|
|
31
|
-
|
|
31
|
+
use:forwardEvents={{'action-change': onActionChange}} >
|
|
32
32
|
|
|
33
33
|
{#if subtitle}
|
|
34
34
|
<div slot="subtitle">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcFormItemActionChangeEvent, ObcFormItemType, ObcFormItemBasicState, ObcFormItemStatusIcon} from '@oicl/openbridge-webcomponents/dist/components/form-item/form-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/form-item/form-item.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcFormItemActionChangeEvent, ObcFormItemType, ObcFormItemBasicState, ObcFormItemStatusIcon} from '@oicl/openbridge-webcomponents/dist/components/form-item/form-item.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
use:setProperties={props}
|
|
34
34
|
class={className}
|
|
35
35
|
style={style}
|
|
36
|
-
|
|
36
|
+
use:forwardEvents={{'action-change': onActionChange}} >
|
|
37
37
|
|
|
38
38
|
{#if icon}
|
|
39
39
|
<div slot="icon">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {IconButtonVariant} from '@oicl/openbridge-webcomponents/dist/components/icon-button/icon-button.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/icon-button/icon-button.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {IconButtonVariant} from '@oicl/openbridge-webcomponents/dist/components/icon-button/icon-button.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -53,7 +53,7 @@ showDivider?: boolean
|
|
|
53
53
|
use:setProperties={props}
|
|
54
54
|
class={className}
|
|
55
55
|
style={style}
|
|
56
|
-
|
|
56
|
+
use:forwardEvents={{'click': onClick}} >
|
|
57
57
|
|
|
58
58
|
{#if children}
|
|
59
59
|
{@render children()}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/icon-check-button/icon-check-button.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -47,7 +47,7 @@ externalControl?: boolean
|
|
|
47
47
|
use:setProperties={props}
|
|
48
48
|
class={className}
|
|
49
49
|
style={style}
|
|
50
|
-
|
|
50
|
+
use:forwardEvents={{'icon-check-button-click': onIconCheckButtonClick}} >
|
|
51
51
|
|
|
52
52
|
{#if icon}
|
|
53
53
|
<div slot="icon">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/input-chip/input-chip.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -32,7 +32,7 @@ showIcon?: boolean
|
|
|
32
32
|
use:setProperties={props}
|
|
33
33
|
class={className}
|
|
34
34
|
style={style}
|
|
35
|
-
|
|
35
|
+
use:forwardEvents={{'remove-chip': onRemoveChip}} >
|
|
36
36
|
|
|
37
37
|
{#if children}
|
|
38
38
|
{@render children()}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export type {ObcKeyboardFullType} from '@oicl/openbridge-webcomponents/dist/components/keyboard-full/keyboard-full.js';
|
|
4
4
|
export type {ObcTextInputFieldSize, HTMLInputTypeAttribute} from '@oicl/openbridge-webcomponents/dist/components/text-input-field/text-input-field.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/components/keyboard-full/keyboard-full.js';
|
|
6
|
-
import { setProperties } from "../../util.js";
|
|
6
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
7
7
|
import type {ObcKeyboardFullType} from '@oicl/openbridge-webcomponents/dist/components/keyboard-full/keyboard-full.js';
|
|
8
8
|
import type {ObcTextInputFieldSize, HTMLInputTypeAttribute} from '@oicl/openbridge-webcomponents/dist/components/text-input-field/text-input-field.js';
|
|
9
9
|
import type { Snippet } from 'svelte';
|
|
@@ -37,9 +37,7 @@ inputType?: HTMLInputTypeAttribute
|
|
|
37
37
|
use:setProperties={props}
|
|
38
38
|
class={className}
|
|
39
39
|
style={style}
|
|
40
|
-
|
|
41
|
-
ondone-click={onDoneClick}
|
|
42
|
-
onclose-click={onCloseClick} >
|
|
40
|
+
use:forwardEvents={{'value-change': onValueChange, 'done-click': onDoneClick, 'close-click': onCloseClick}} >
|
|
43
41
|
|
|
44
42
|
{#if children}
|
|
45
43
|
{@render children()}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export type {ObcKeyboardNumericType} from '@oicl/openbridge-webcomponents/dist/components/keyboard-numeric/keyboard-numeric.js';
|
|
4
4
|
export type {ObcNumberInputFieldTextAlign} from '@oicl/openbridge-webcomponents/dist/components/number-input-field/number-input-field.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/components/keyboard-numeric/keyboard-numeric.js';
|
|
6
|
-
import { setProperties } from "../../util.js";
|
|
6
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
7
7
|
import type {ObcKeyboardNumericType} from '@oicl/openbridge-webcomponents/dist/components/keyboard-numeric/keyboard-numeric.js';
|
|
8
8
|
import type {ObcNumberInputFieldTextAlign} from '@oicl/openbridge-webcomponents/dist/components/number-input-field/number-input-field.js';
|
|
9
9
|
import type { Snippet } from 'svelte';
|
|
@@ -48,9 +48,7 @@ validationPattern?: string
|
|
|
48
48
|
use:setProperties={props}
|
|
49
49
|
class={className}
|
|
50
50
|
style={style}
|
|
51
|
-
|
|
52
|
-
onvalue-change={onValueChange}
|
|
53
|
-
ondone-click={onDoneClick} >
|
|
51
|
+
use:forwardEvents={{'close-click': onCloseClick, 'value-change': onValueChange, 'done-click': onDoneClick}} >
|
|
54
52
|
|
|
55
53
|
{#if leadingIcon}
|
|
56
54
|
<div slot="leading-icon">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export type {ObcSplitButtonChangeEvent, ObcMenuButtonItemClickEvent} from '@oicl/openbridge-webcomponents/dist/components/menu-button/menu-button.js';
|
|
4
4
|
export type {ContextMenuOption, ContextMenuType, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/components/menu-button/menu-button.js';
|
|
6
|
-
import { setProperties } from "../../util.js";
|
|
6
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
7
7
|
import type {ObcSplitButtonChangeEvent, ObcMenuButtonItemClickEvent} from '@oicl/openbridge-webcomponents/dist/components/menu-button/menu-button.js';
|
|
8
8
|
import type {ContextMenuOption, ContextMenuType, ColumnGroup} from '@oicl/openbridge-webcomponents/dist/components/context-menu-input/context-menu-input.js';
|
|
9
9
|
import type { Snippet } from 'svelte';
|
|
@@ -81,10 +81,7 @@ disabled?: boolean
|
|
|
81
81
|
use:setProperties={props}
|
|
82
82
|
class={className}
|
|
83
83
|
style={style}
|
|
84
|
-
|
|
85
|
-
onitem-click={onItemClick}
|
|
86
|
-
onopen={onOpen}
|
|
87
|
-
onclose={onClose} >
|
|
84
|
+
use:forwardEvents={{'change': onChange, 'item-click': onItemClick, 'open': onOpen, 'close': onClose}} >
|
|
88
85
|
|
|
89
86
|
{#if icon}
|
|
90
87
|
<div slot="icon">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcMessageMenuItemSize} from '@oicl/openbridge-webcomponents/dist/components/message-menu-item/message-menu-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/message-menu-item/message-menu-item.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcMessageMenuItemSize} from '@oicl/openbridge-webcomponents/dist/components/message-menu-item/message-menu-item.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -47,9 +47,7 @@
|
|
|
47
47
|
use:setProperties={props}
|
|
48
48
|
class={className}
|
|
49
49
|
style={style}
|
|
50
|
-
|
|
51
|
-
onprimary-action-click={onPrimaryActionClick}
|
|
52
|
-
onsecondary-action-click={onSecondaryActionClick} >
|
|
50
|
+
use:forwardEvents={{'message-click': onMessageClick, 'primary-action-click': onPrimaryActionClick, 'secondary-action-click': onSecondaryActionClick}} >
|
|
53
51
|
|
|
54
52
|
{#if titleSnippet}
|
|
55
53
|
<div slot="title">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcModalWindowSize} from '@oicl/openbridge-webcomponents/dist/components/modal-window/modal-window.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/modal-window/modal-window.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcModalWindowSize} from '@oicl/openbridge-webcomponents/dist/components/modal-window/modal-window.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -41,10 +41,7 @@ hasCloseAction?: boolean
|
|
|
41
41
|
use:setProperties={props}
|
|
42
42
|
class={className}
|
|
43
43
|
style={style}
|
|
44
|
-
|
|
45
|
-
oncancel-click={onCancelClick}
|
|
46
|
-
ondone-click={onDoneClick}
|
|
47
|
-
onoption-click={onOptionClick} >
|
|
44
|
+
use:forwardEvents={{'close-click': onCloseClick, 'cancel-click': onCancelClick, 'done-click': onDoneClick, 'option-click': onOptionClick}} >
|
|
48
45
|
|
|
49
46
|
{#if leadingIcon}
|
|
50
47
|
<div slot="leading-icon">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export type {ObcNavigationMenuVariant} from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';
|
|
4
4
|
export type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/components/navigation-item/navigation-item.js';
|
|
6
|
-
import { setProperties } from "../../util.js";
|
|
6
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
7
7
|
import type {ObcNavigationMenuVariant} from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';
|
|
8
8
|
import type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
9
9
|
import type { Snippet } from 'svelte';
|
|
@@ -58,7 +58,7 @@ alerts?: TreeNavigationItemAlerts | undefined
|
|
|
58
58
|
use:setProperties={props}
|
|
59
59
|
class={className}
|
|
60
60
|
style={style}
|
|
61
|
-
|
|
61
|
+
use:forwardEvents={{'click': onClick}} >
|
|
62
62
|
|
|
63
63
|
{#if icon}
|
|
64
64
|
<div slot="icon">
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export type {ObcNavigationMenuVariant} from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';
|
|
4
4
|
export type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
5
5
|
import '@oicl/openbridge-webcomponents/dist/components/navigation-item-group/navigation-item-group.js';
|
|
6
|
-
import { setProperties } from "../../util.js";
|
|
6
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
7
7
|
import type {ObcNavigationMenuVariant} from '@oicl/openbridge-webcomponents/dist/components/navigation-menu/navigation-menu.js';
|
|
8
8
|
import type {TreeBranchType, TreeNavigationItemAlerts} from '@oicl/openbridge-webcomponents/dist/components/tree-navigation-item/tree-navigation-item.js';
|
|
9
9
|
import type { Snippet } from 'svelte';
|
|
@@ -52,7 +52,7 @@ defaultOpen?: boolean
|
|
|
52
52
|
use:setProperties={props}
|
|
53
53
|
class={className}
|
|
54
54
|
style={style}
|
|
55
|
-
|
|
55
|
+
use:forwardEvents={{'open': onOpen}} >
|
|
56
56
|
|
|
57
57
|
{#if icon}
|
|
58
58
|
<div slot="icon">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {NotificationButtonClickEvent, NotificationButtonStyle} from '@oicl/openbridge-webcomponents/dist/components/notification-button/notification-button.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/notification-button/notification-button.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {NotificationButtonClickEvent, NotificationButtonStyle} from '@oicl/openbridge-webcomponents/dist/components/notification-button/notification-button.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -58,7 +58,7 @@ ariaLabel?: string
|
|
|
58
58
|
use:setProperties={props}
|
|
59
59
|
class={className}
|
|
60
60
|
style={style}
|
|
61
|
-
|
|
61
|
+
use:forwardEvents={{'obc-click': onObcClick}} >
|
|
62
62
|
|
|
63
63
|
{#if icon}
|
|
64
64
|
<div slot="icon">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcFloatingItemType, ObcFloatingItemDirection, ObcFloatingItemLineType} from '@oicl/openbridge-webcomponents/dist/components/floating-item/floating-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/notification-floating-item/notification-floating-item.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcFloatingItemType, ObcFloatingItemDirection, ObcFloatingItemLineType} from '@oicl/openbridge-webcomponents/dist/components/floating-item/floating-item.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -59,9 +59,7 @@ lineType?: ObcFloatingItemLineType
|
|
|
59
59
|
use:setProperties={props}
|
|
60
60
|
class={className}
|
|
61
61
|
style={style}
|
|
62
|
-
|
|
63
|
-
onaction2-click={onAction2Click}
|
|
64
|
-
ondismiss-click={onDismissClick} >
|
|
62
|
+
use:forwardEvents={{'action-click': onActionClick, 'action2-click': onAction2Click, 'dismiss-click': onDismissClick}} >
|
|
65
63
|
|
|
66
64
|
{#if primaryIcon}
|
|
67
65
|
<div slot="primary-icon">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcMessageMenuItemSize} from '@oicl/openbridge-webcomponents/dist/components/message-menu-item/message-menu-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/notification-menu-item/notification-menu-item.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcMessageMenuItemSize} from '@oicl/openbridge-webcomponents/dist/components/message-menu-item/message-menu-item.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -36,9 +36,7 @@ size?: ObcMessageMenuItemSize;
|
|
|
36
36
|
use:setProperties={props}
|
|
37
37
|
class={className}
|
|
38
38
|
style={style}
|
|
39
|
-
|
|
40
|
-
onsecondary-action-click={onSecondaryActionClick}
|
|
41
|
-
onitem-click={onItemClick} >
|
|
39
|
+
use:forwardEvents={{'primary-action-click': onPrimaryActionClick, 'secondary-action-click': onSecondaryActionClick, 'item-click': onItemClick}} >
|
|
42
40
|
|
|
43
41
|
{#if icon}
|
|
44
42
|
<div slot="icon">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcNotificationMessageItemType, ObcNotificationMessageItemSize} from '@oicl/openbridge-webcomponents/dist/components/notification-message-item/notification-message-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/notification-message-item/notification-message-item.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcNotificationMessageItemType, ObcNotificationMessageItemSize} from '@oicl/openbridge-webcomponents/dist/components/notification-message-item/notification-message-item.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -70,8 +70,7 @@ emptyText?: string
|
|
|
70
70
|
use:setProperties={props}
|
|
71
71
|
class={className}
|
|
72
72
|
style={style}
|
|
73
|
-
|
|
74
|
-
onaction-click={onActionClick} >
|
|
73
|
+
use:forwardEvents={{'message-click': onMessageClick, 'action-click': onActionClick}} >
|
|
75
74
|
|
|
76
75
|
{#if secondaryIcon}
|
|
77
76
|
<div slot="secondary-icon">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcNumberInputFieldTextAlign, ObcNumberInputFieldSize, ObcNumberInputFieldPlacement} from '@oicl/openbridge-webcomponents/dist/components/number-input-field/number-input-field.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/number-input-field/number-input-field.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcNumberInputFieldTextAlign, ObcNumberInputFieldSize, ObcNumberInputFieldPlacement} from '@oicl/openbridge-webcomponents/dist/components/number-input-field/number-input-field.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -70,8 +70,7 @@ validationPattern?: string
|
|
|
70
70
|
use:setProperties={props}
|
|
71
71
|
class={className}
|
|
72
72
|
style={style}
|
|
73
|
-
|
|
74
|
-
onchange={onChange} >
|
|
73
|
+
use:forwardEvents={{'input': onInput, 'change': onChange}} >
|
|
75
74
|
|
|
76
75
|
{#if leadingIcon}
|
|
77
76
|
<div slot="leading-icon">
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent, ObcPaginationSelectPageEvent, PaginationVariant} from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcPaginationValueChangeEvent, ObcPaginationNavigateEvent, ObcPaginationSelectPageEvent, PaginationVariant} from '@oicl/openbridge-webcomponents/dist/components/pagination/pagination.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -52,9 +52,7 @@ fullWidth?: boolean;
|
|
|
52
52
|
use:setProperties={props}
|
|
53
53
|
class={className}
|
|
54
54
|
style={style}
|
|
55
|
-
|
|
56
|
-
onnavigate={onNavigate}
|
|
57
|
-
onselect-page={onSelectPage} >
|
|
55
|
+
use:forwardEvents={{'value': onValue, 'navigate': onNavigate, 'select-page': onSelectPage}} >
|
|
58
56
|
|
|
59
57
|
{#if children}
|
|
60
58
|
{@render children()}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<script lang="ts">
|
|
3
3
|
export type {ObcPivotItemDirection} from '@oicl/openbridge-webcomponents/dist/components/pivot-item/pivot-item.js';
|
|
4
4
|
import '@oicl/openbridge-webcomponents/dist/components/pivot-item/pivot-item.js';
|
|
5
|
-
import { setProperties } from "../../util.js";
|
|
5
|
+
import { setProperties, forwardEvents } from "../../util.js";
|
|
6
6
|
import type {ObcPivotItemDirection} from '@oicl/openbridge-webcomponents/dist/components/pivot-item/pivot-item.js';
|
|
7
7
|
import type { Snippet } from 'svelte';
|
|
8
8
|
|
|
@@ -52,7 +52,7 @@ disabled?: boolean
|
|
|
52
52
|
use:setProperties={props}
|
|
53
53
|
class={className}
|
|
54
54
|
style={style}
|
|
55
|
-
|
|
55
|
+
use:forwardEvents={{'selected': onSelected}} >
|
|
56
56
|
|
|
57
57
|
{#if icon}
|
|
58
58
|
<div slot="icon">
|