@impartner/design-components 1.0.0 → 1.0.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.
- package/README.md +1 -1
- package/esm2020/lib/alert/alert.component.mjs +1 -1
- package/esm2020/lib/avatar/avatar.component.mjs +1 -1
- package/esm2020/lib/backdrop/backdrop.component.mjs +7 -1
- package/esm2020/lib/badge/badge.component.mjs +1 -1
- package/esm2020/lib/breadcrumb/breadcrumb.component.mjs +11 -7
- package/esm2020/lib/breadcrumb/breadcrumb.module.mjs +5 -5
- package/esm2020/lib/button/button.component.mjs +1 -1
- package/esm2020/lib/button-group/button-group.component.mjs +1 -1
- package/esm2020/lib/card-heading/card-heading.component.mjs +1 -1
- package/esm2020/lib/data-card/data-card.component.mjs +127 -0
- package/esm2020/lib/data-card/data-card.module.mjs +19 -0
- package/esm2020/lib/data-card/index.mjs +3 -0
- package/esm2020/lib/dropdown/components/dropdown-item/dropdown-item.component.mjs +1 -1
- package/esm2020/lib/dropdown/dropdown.component.mjs +1 -1
- package/esm2020/lib/file-upload/directives/file-drop.directive.mjs +1 -1
- package/esm2020/lib/file-upload/file-upload.component.mjs +1 -1
- package/esm2020/lib/form-field/controls/checkbox/checkbox.component.mjs +1 -1
- package/esm2020/lib/form-field/controls/input/input.directive.mjs +1 -1
- package/esm2020/lib/form-field/controls/radio/radio-button/radio-button.component.mjs +1 -1
- package/esm2020/lib/form-field/controls/radio/radio-group/radio-group.directive.mjs +2 -1
- package/esm2020/lib/form-field/controls/select/option/select-option.component.mjs +1 -1
- package/esm2020/lib/form-field/controls/select/select-model.mjs +2 -1
- package/esm2020/lib/form-field/controls/select/select.component.mjs +1 -1
- package/esm2020/lib/form-field/controls/shared/toggle/toggle.component.mjs +1 -1
- package/esm2020/lib/form-field/directives/error.directive.mjs +1 -1
- package/esm2020/lib/form-field/directives/hint.directive.mjs +1 -1
- package/esm2020/lib/form-field/shared/disabled.mixin.mjs +1 -1
- package/esm2020/lib/form-field/shared/error-state.mixin.mjs +1 -1
- package/esm2020/lib/icon/icon.component.mjs +14 -10
- package/esm2020/lib/index.mjs +2 -1
- package/esm2020/lib/modal/modal.component.mjs +51 -13
- package/esm2020/lib/pagination/pagination.component.mjs +1 -1
- package/esm2020/lib/progress-bar/progress-bar.component.mjs +1 -1
- package/esm2020/lib/scrollable/scrollable.component.mjs +14 -21
- package/esm2020/lib/select-icon/select-icon.component.mjs +1 -1
- package/esm2020/lib/spinner/spinner.component.mjs +1 -1
- package/esm2020/lib/table/table.component.mjs +1 -1
- package/esm2020/lib/text-highlight/text-highlight.component.mjs +1 -1
- package/esm2020/services/interaction.service.mjs +13 -3
- package/esm2020/utilities/sanitize.mjs +3 -3
- package/fesm2015/impartner-design-components.mjs +253 -55
- package/fesm2015/impartner-design-components.mjs.map +1 -1
- package/fesm2020/impartner-design-components.mjs +250 -54
- package/fesm2020/impartner-design-components.mjs.map +1 -1
- package/lib/backdrop/backdrop.component.d.ts +5 -3
- package/lib/breadcrumb/breadcrumb.component.d.ts +7 -4
- package/lib/breadcrumb/breadcrumb.module.d.ts +3 -3
- package/lib/data-card/data-card.component.d.ts +72 -0
- package/lib/data-card/data-card.module.d.ts +9 -0
- package/lib/data-card/index.d.ts +2 -0
- package/lib/icon/icon.component.d.ts +6 -4
- package/lib/index.d.ts +1 -0
- package/lib/modal/modal.component.d.ts +32 -7
- package/lib/scrollable/scrollable.component.d.ts +3 -1
- package/package.json +2 -2
- package/services/interaction.service.d.ts +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { InteractionService } from '../../services';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
@@ -6,14 +6,16 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
* This component needs to be added to the body of the host application if a backdrop is desired.
|
|
7
7
|
* To use, import `BackdropModule` or another module that imports and exports that module from `@impartner/design-components`.
|
|
8
8
|
*/
|
|
9
|
-
export declare class BackdropComponent implements OnInit {
|
|
9
|
+
export declare class BackdropComponent implements OnInit, OnDestroy {
|
|
10
10
|
private interactionService;
|
|
11
11
|
private _valid;
|
|
12
|
+
constructor(interactionService: InteractionService);
|
|
12
13
|
get valid(): boolean;
|
|
13
14
|
get show(): boolean;
|
|
14
|
-
constructor(interactionService: InteractionService);
|
|
15
15
|
ngOnInit(): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
16
17
|
invalidate(): void;
|
|
18
|
+
validate(): void;
|
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackdropComponent, never>;
|
|
18
20
|
static ɵcmp: i0.ɵɵComponentDeclaration<BackdropComponent, "impdc-backdrop", never, {}, {}, never, never, false>;
|
|
19
21
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryList } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, QueryList } from '@angular/core';
|
|
2
2
|
import { BreadcrumbItemComponent } from './breadcrumb-item.component';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
@@ -6,13 +6,16 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
* to a previous page. Items within must be wrapped with `BreadcrumbItemComponent` (`<impdc-breadcrumb-item`).
|
|
7
7
|
* To use, import `BreadcrumbModule` or another module that imports and exports that module from `@impartner/design-components`.
|
|
8
8
|
*/
|
|
9
|
-
export declare class BreadcrumbComponent {
|
|
9
|
+
export declare class BreadcrumbComponent implements AfterViewInit {
|
|
10
|
+
private _changeDetectorRef;
|
|
10
11
|
/**
|
|
11
12
|
* Sets the `aria-label` attribute for the Breadcrumb's `nav` element for accessibility.
|
|
12
13
|
*/
|
|
13
14
|
label: string;
|
|
14
15
|
private impdcBreadcrumb;
|
|
15
|
-
protected
|
|
16
|
+
protected breadcrumbItems: QueryList<BreadcrumbItemComponent>;
|
|
17
|
+
constructor(_changeDetectorRef: ChangeDetectorRef);
|
|
18
|
+
ngAfterViewInit(): void;
|
|
16
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "impdc-breadcrumb, div[impdc-breadcrumb]", never, { "label": "label"; }, {}, ["
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbComponent, "impdc-breadcrumb, div[impdc-breadcrumb]", never, { "label": "label"; }, {}, ["breadcrumbItems"], never, false>;
|
|
18
21
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./breadcrumb.component";
|
|
3
|
-
import * as i2 from "./breadcrumb
|
|
2
|
+
import * as i1 from "./breadcrumb-item.component";
|
|
3
|
+
import * as i2 from "./breadcrumb.component";
|
|
4
4
|
import * as i3 from "@angular/common";
|
|
5
5
|
export declare class BreadcrumbModule {
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<BreadcrumbModule, [typeof i1.
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<BreadcrumbModule, [typeof i1.BreadcrumbItemComponent, typeof i2.BreadcrumbComponent], [typeof i3.CommonModule], [typeof i1.BreadcrumbItemComponent, typeof i2.BreadcrumbComponent]>;
|
|
8
8
|
static ɵinj: i0.ɵɵInjectorDeclaration<BreadcrumbModule>;
|
|
9
9
|
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* The `CardHeadingComponent` (`<impdc-data-card` or `<any impdc-data-card`) is to display data snapshots with support for
|
|
5
|
+
* previous values and differences.
|
|
6
|
+
* To use, import `DataCardModule` or another module that imports and exports that module from `@impartner/design-components`.
|
|
7
|
+
*/
|
|
8
|
+
export declare class DataCardComponent {
|
|
9
|
+
/**
|
|
10
|
+
* The subject text for the Data Card.
|
|
11
|
+
*/
|
|
12
|
+
title: string;
|
|
13
|
+
/**
|
|
14
|
+
* The current data value. Any number/currency format is supported.
|
|
15
|
+
*/
|
|
16
|
+
current: string;
|
|
17
|
+
/**
|
|
18
|
+
* The previous data value. Any number/currency format is supported.
|
|
19
|
+
*/
|
|
20
|
+
previous: string;
|
|
21
|
+
/**
|
|
22
|
+
* The difference between the current and previous values. A numerical or percentage value is preferred,
|
|
23
|
+
* but any number/currency format is supported.
|
|
24
|
+
*/
|
|
25
|
+
difference: string;
|
|
26
|
+
/**
|
|
27
|
+
* Text for the link at the bottom of the Data Card. If provided, enables the `linkClicked` event to be emitted.
|
|
28
|
+
*/
|
|
29
|
+
linkText: string;
|
|
30
|
+
/**
|
|
31
|
+
* When stacking multiple Data Card elements together, it's common to combine their borders.
|
|
32
|
+
*/
|
|
33
|
+
sharedBorders: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Makes the title stand out more than it does by default.
|
|
36
|
+
*/
|
|
37
|
+
titleAttention: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Determines if the difference value will be wrapped in a `rounded-pill`.
|
|
40
|
+
*/
|
|
41
|
+
differencePill: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Changes the text color for the current value.
|
|
44
|
+
*/
|
|
45
|
+
currentColor: string;
|
|
46
|
+
/**
|
|
47
|
+
* Changes the color of the icon.
|
|
48
|
+
*/
|
|
49
|
+
iconColor: string;
|
|
50
|
+
/**
|
|
51
|
+
* Changes the color of the icon's background.
|
|
52
|
+
*/
|
|
53
|
+
iconBgColor: string;
|
|
54
|
+
/**
|
|
55
|
+
* Emitted when the link text is clicked.
|
|
56
|
+
*/
|
|
57
|
+
linkClicked: EventEmitter<MouseEvent | Event>;
|
|
58
|
+
/**
|
|
59
|
+
* Emitted when the corner content is clicked.
|
|
60
|
+
*/
|
|
61
|
+
cornerClicked: EventEmitter<MouseEvent | Event>;
|
|
62
|
+
private get classDataCard();
|
|
63
|
+
private get classDataCardSharedBorders();
|
|
64
|
+
get differenceNumber(): number;
|
|
65
|
+
get differenceNegative(): boolean;
|
|
66
|
+
get differencePositive(): boolean;
|
|
67
|
+
get differenceDisplay(): string;
|
|
68
|
+
handleLinkClick(event: MouseEvent | Event): void;
|
|
69
|
+
handleCornerClick(event: MouseEvent | Event): void;
|
|
70
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataCardComponent, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DataCardComponent, "impdc-data-card, [impdc-data-card]", never, { "title": "title"; "current": "current"; "previous": "previous"; "difference": "difference"; "linkText": "linkText"; "sharedBorders": "sharedBorders"; "differencePill": "differencePill"; "currentColor": "currentColor"; "iconColor": "iconColor"; "iconBgColor": "iconBgColor"; }, { "linkClicked": "linkClicked"; "cornerClicked": "cornerClicked"; }, never, ["[icon]", "*", "[corner]", "[footer]"], false>;
|
|
72
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./data-card.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
export declare class DataCardModule {
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DataCardModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DataCardModule, [typeof i1.DataCardComponent], [typeof i2.CommonModule], [typeof i1.DataCardComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DataCardModule>;
|
|
9
|
+
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
1
|
+
import { AfterContentChecked, ElementRef } from '@angular/core';
|
|
2
2
|
import { FontAwesomeIcon, FontAwesomeIconTheme } from '../../constants';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* The `IconComponent` (`<impdc-icon` or `<any impdc-icon`) is an icon wrapper utilizing Font Awesome 5.
|
|
6
6
|
* To use, import `IconModule` or another module that imports and exports that module from `@impartner/design-components`.
|
|
7
7
|
*/
|
|
8
|
-
export declare class IconComponent {
|
|
8
|
+
export declare class IconComponent implements AfterContentChecked {
|
|
9
|
+
private _loading;
|
|
10
|
+
private _licensed;
|
|
9
11
|
/**
|
|
10
12
|
* The Font Awesome 5 icon name. See {@link https://fontawesome.com/v5/search}. Local
|
|
11
13
|
* development may not represent the complete list of available icons.
|
|
@@ -21,10 +23,10 @@ export declare class IconComponent {
|
|
|
21
23
|
* interpreted as pixels.
|
|
22
24
|
*/
|
|
23
25
|
size: string | number;
|
|
24
|
-
iconRef
|
|
25
|
-
private get usingLicensed();
|
|
26
|
+
iconRef: ElementRef;
|
|
26
27
|
get typeClass(): string;
|
|
27
28
|
get computedSize(): string;
|
|
29
|
+
ngAfterContentChecked(): void;
|
|
28
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
29
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "impdc-icon, [impdc-icon]", never, { "name": "name"; "theme": "theme"; "size": "size"; }, {}, never, never, false>;
|
|
30
32
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { FontAwesomeIcon, FontAwesomeIconTheme } from '../../constants';
|
|
3
3
|
import { InteractionService } from '../../services';
|
|
4
4
|
import { ButtonTheme } from '../button';
|
|
@@ -13,10 +13,11 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
export declare class ModalComponent implements OnInit, OnDestroy {
|
|
14
14
|
private _interactionService;
|
|
15
15
|
private _interactableId;
|
|
16
|
+
private _show;
|
|
16
17
|
/**
|
|
17
18
|
* Determines if the Modal should be shown immediately.
|
|
18
19
|
*/
|
|
19
|
-
show: boolean;
|
|
20
|
+
set show(show: boolean);
|
|
20
21
|
/**
|
|
21
22
|
* The theme of the Modal. Affects the layout of the Modal as well as some colors.
|
|
22
23
|
*/
|
|
@@ -38,6 +39,10 @@ export declare class ModalComponent implements OnInit, OnDestroy {
|
|
|
38
39
|
* The subject text of the Modal.
|
|
39
40
|
*/
|
|
40
41
|
titleText: string;
|
|
42
|
+
/**
|
|
43
|
+
* The fallback button text to accept the Modal. This is bypassed if you content-project the accept button.
|
|
44
|
+
*/
|
|
45
|
+
acceptText: string;
|
|
41
46
|
/**
|
|
42
47
|
* Allows the Modal to be dismissed. This is different from `accept` and `deny`. If a Modal is meant to be re-opened frequently it should be dismissable.
|
|
43
48
|
*/
|
|
@@ -50,6 +55,18 @@ export declare class ModalComponent implements OnInit, OnDestroy {
|
|
|
50
55
|
* Shows a backdrop behind the Modal.
|
|
51
56
|
*/
|
|
52
57
|
backdrop: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Contains the dismiss button content projection.
|
|
60
|
+
*/
|
|
61
|
+
dismissEl: ElementRef;
|
|
62
|
+
/**
|
|
63
|
+
* Contains the deny button content projection.
|
|
64
|
+
*/
|
|
65
|
+
denyEl: ElementRef;
|
|
66
|
+
/**
|
|
67
|
+
* Contains the accept button content projection.
|
|
68
|
+
*/
|
|
69
|
+
acceptEl: ElementRef;
|
|
53
70
|
/**
|
|
54
71
|
* Event emitted when the Modal content is dismissed.
|
|
55
72
|
*/
|
|
@@ -62,6 +79,7 @@ export declare class ModalComponent implements OnInit, OnDestroy {
|
|
|
62
79
|
* Event emitted when the Modal content is accepted.
|
|
63
80
|
*/
|
|
64
81
|
accept: EventEmitter<MouseEvent | Event>;
|
|
82
|
+
constructor(_interactionService: InteractionService);
|
|
65
83
|
get interactableId(): number;
|
|
66
84
|
get valid(): boolean;
|
|
67
85
|
get shown(): boolean;
|
|
@@ -69,12 +87,19 @@ export declare class ModalComponent implements OnInit, OnDestroy {
|
|
|
69
87
|
get showDestructiveIcon(): boolean;
|
|
70
88
|
get acceptFallbackTheme(): ButtonTheme;
|
|
71
89
|
get hideHeader(): boolean;
|
|
72
|
-
constructor(_interactionService: InteractionService);
|
|
73
90
|
ngOnInit(): void;
|
|
74
91
|
ngOnDestroy(): void;
|
|
75
|
-
handleDismiss(event: MouseEvent | Event): void;
|
|
76
|
-
handleDeny(event: MouseEvent | Event): void;
|
|
77
|
-
handleAccept(event: MouseEvent | Event): void;
|
|
92
|
+
protected handleDismiss(event: MouseEvent | Event): void;
|
|
93
|
+
protected handleDeny(event: MouseEvent | Event): void;
|
|
94
|
+
protected handleAccept(event: MouseEvent | Event): void;
|
|
95
|
+
/**
|
|
96
|
+
* Opens/shows the modal programmatically.
|
|
97
|
+
*/
|
|
98
|
+
open(): void;
|
|
99
|
+
/**
|
|
100
|
+
* Closes/hides the modal programmatically.
|
|
101
|
+
*/
|
|
102
|
+
close(): void;
|
|
78
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
79
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "impdc-modal", never, { "show": "show"; "theme": "theme"; "size": "size"; "iconName": "iconName"; "iconTheme": "iconTheme"; "titleText": "titleText"; "dismissable": "dismissable"; "fade": "fade"; "backdrop": "backdrop"; }, { "dismiss": "dismiss"; "deny": "deny"; "accept": "accept"; }, never, ["*", "[dismiss]", "[deny]", "[accept]"], false>;
|
|
104
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ModalComponent, "impdc-modal", never, { "show": "show"; "theme": "theme"; "size": "size"; "iconName": "iconName"; "iconTheme": "iconTheme"; "titleText": "titleText"; "acceptText": "acceptText"; "dismissable": "dismissable"; "fade": "fade"; "backdrop": "backdrop"; }, { "dismiss": "dismiss"; "deny": "deny"; "accept": "accept"; }, never, ["*", "[dismiss]", "[deny]", "[accept]"], false>;
|
|
80
105
|
}
|
|
@@ -9,6 +9,8 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
*/
|
|
10
10
|
export declare class ScrollableComponent implements OnChanges, AfterViewInit {
|
|
11
11
|
private _cd;
|
|
12
|
+
private readonly _hostElementRef;
|
|
13
|
+
private readonly GET_ANCESTOR_BG_SEARCH_DEPTH;
|
|
12
14
|
/**
|
|
13
15
|
* The base amount to scroll.
|
|
14
16
|
*/
|
|
@@ -25,7 +27,7 @@ export declare class ScrollableComponent implements OnChanges, AfterViewInit {
|
|
|
25
27
|
private get _containerElement();
|
|
26
28
|
contentRef: ElementRef | undefined;
|
|
27
29
|
private get _contentElement();
|
|
28
|
-
constructor(_cd: ChangeDetectorRef);
|
|
30
|
+
constructor(_cd: ChangeDetectorRef, _hostElementRef: ElementRef);
|
|
29
31
|
ngOnChanges(changes: SimpleChanges): void;
|
|
30
32
|
ngAfterViewInit(): void;
|
|
31
33
|
scroll(direction: number): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@impartner/design-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"author": "Impartner",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"private": false,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@angular/core": ">= 14",
|
|
17
17
|
"@angular/forms": ">= 14",
|
|
18
18
|
"@angular/localize": ">= 14",
|
|
19
|
-
"@impartner/design": "^1.0.
|
|
19
|
+
"@impartner/design": "^1.0.1",
|
|
20
20
|
"@ng-bootstrap/ng-bootstrap": "^13.1.1",
|
|
21
21
|
"@popperjs/core": "^2.10.2",
|
|
22
22
|
"nanoid": "^4.0.0",
|
|
@@ -6,6 +6,7 @@ export declare class InteractionService {
|
|
|
6
6
|
private _interactables;
|
|
7
7
|
get showBackdrop(): boolean;
|
|
8
8
|
registerBackdrop(modalBackdrop: BackdropComponent): void;
|
|
9
|
+
unregisterBackdrop(modalBackdrop: BackdropComponent): void;
|
|
9
10
|
add(interactable: InteractableComponent): number;
|
|
10
11
|
remove(interactableId: number): void;
|
|
11
12
|
toggle(interactable: InteractableComponent): boolean;
|