@design-system-rte/angular 0.13.0 → 0.15.0
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/esm2022/lib/components/badge/badge.component.mjs +3 -3
- package/esm2022/lib/components/badge/badge.directive.mjs +3 -3
- package/esm2022/lib/components/banner/banner.component.mjs +5 -5
- package/esm2022/lib/components/breadcrumbs/breadcrumb-item/breadcrumb-item.component.mjs +38 -0
- package/esm2022/lib/components/breadcrumbs/breadcrumbs.component.mjs +12 -14
- package/esm2022/lib/components/button/button.component.mjs +14 -19
- package/esm2022/lib/components/checkbox/checkbox.component.mjs +4 -5
- package/esm2022/lib/components/checkbox-group/checkbox-group.component.mjs +5 -6
- package/esm2022/lib/components/chip/chip.component.mjs +3 -3
- package/esm2022/lib/components/divider/divider.component.mjs +5 -5
- package/esm2022/lib/components/dropdown/dropdown-item/dropdown-item.component.mjs +41 -0
- package/esm2022/lib/components/dropdown/dropdown-menu/dropdown-menu.component.mjs +44 -0
- package/esm2022/lib/components/dropdown/dropdown-trigger/dropdown-trigger.directive.mjs +39 -0
- package/esm2022/lib/components/dropdown/dropdown.directive.mjs +147 -0
- package/esm2022/lib/components/dropdown/dropdown.module.mjs +19 -0
- package/esm2022/lib/components/dropdown/dropdown.utils.mjs +40 -0
- package/esm2022/lib/components/dropdown/index.mjs +8 -0
- package/esm2022/lib/components/grid/col/col.directive.mjs +3 -3
- package/esm2022/lib/components/grid/grid.directive.mjs +3 -3
- package/esm2022/lib/components/icon/icon.component.mjs +3 -3
- package/esm2022/lib/components/icon/icon.service.mjs +3 -3
- package/esm2022/lib/components/icon-button/icon-button.component.mjs +5 -5
- package/esm2022/lib/components/icon-button-toggle/icon-button-toggle.component.mjs +3 -3
- package/esm2022/lib/components/link/link.component.mjs +7 -5
- package/esm2022/lib/components/popover/popover.component.mjs +5 -5
- package/esm2022/lib/components/popover/popover.directive.mjs +3 -3
- package/esm2022/lib/components/radio-button/radio-button.component.mjs +3 -3
- package/esm2022/lib/components/radio-button-group/radio-button-group.component.mjs +3 -3
- package/esm2022/lib/components/segmented-control/segmented-control.component.mjs +3 -3
- package/esm2022/lib/components/split-button/split-button.component.mjs +33 -7
- package/esm2022/lib/components/switch/switch.component.mjs +3 -3
- package/esm2022/lib/components/text-input/text-input.component.mjs +3 -3
- package/esm2022/lib/components/textarea/textarea.component.mjs +4 -4
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +3 -3
- package/esm2022/lib/components/tooltip/tooltip.directive.mjs +20 -5
- package/esm2022/lib/services/dropdown.service.mjs +81 -0
- package/esm2022/lib/services/overlay.service.mjs +3 -3
- package/fesm2022/design-system-rte-angular.mjs +571 -134
- package/fesm2022/design-system-rte-angular.mjs.map +1 -1
- package/lib/components/badge/badge.directive.d.ts +1 -1
- package/lib/components/breadcrumbs/breadcrumb-item/breadcrumb-item.component.d.ts +16 -0
- package/lib/components/breadcrumbs/breadcrumbs.component.d.ts +2 -2
- package/lib/components/button/button.component.d.ts +4 -12
- package/lib/components/checkbox/checkbox.component.d.ts +1 -2
- package/lib/components/checkbox-group/checkbox-group.component.d.ts +1 -2
- package/lib/components/chip/chip.component.d.ts +1 -1
- package/lib/components/dropdown/dropdown-item/dropdown-item.component.d.ts +25 -0
- package/lib/components/dropdown/dropdown-menu/dropdown-menu.component.d.ts +20 -0
- package/lib/components/dropdown/dropdown-trigger/dropdown-trigger.directive.d.ts +14 -0
- package/lib/components/dropdown/dropdown.directive.d.ts +49 -0
- package/lib/components/dropdown/dropdown.module.d.ts +10 -0
- package/lib/components/dropdown/dropdown.utils.d.ts +4 -0
- package/lib/components/dropdown/index.d.ts +5 -0
- package/lib/components/icon-button/icon-button.component.d.ts +2 -2
- package/lib/components/icon-button-toggle/icon-button-toggle.component.d.ts +2 -2
- package/lib/components/link/link.component.d.ts +3 -1
- package/lib/components/split-button/split-button.component.d.ts +12 -5
- package/lib/components/text-input/text-input.component.d.ts +3 -3
- package/lib/components/tooltip/tooltip.directive.d.ts +2 -1
- package/lib/services/dropdown.service.d.ts +27 -0
- package/package.json +4 -4
|
@@ -6,7 +6,7 @@ export declare class BadgeDirective implements OnInit, OnChanges, OnDestroy {
|
|
|
6
6
|
readonly rteBadgeSize: import("@angular/core").InputSignal<BadgeSize>;
|
|
7
7
|
readonly rteBadgeContent: import("@angular/core").InputSignal<BadgeContent>;
|
|
8
8
|
readonly rteBadgeCount: import("@angular/core").InputSignal<number | undefined>;
|
|
9
|
-
readonly rteBadgeIcon: import("@angular/core").InputSignal<"add" | "apps" | "asterisk" | "bluetooth" | "check" | "close" | "compare" | "cut" | "download" | "exclamation" | "
|
|
9
|
+
readonly rteBadgeIcon: import("@angular/core").InputSignal<"article" | "label" | "link" | "map" | "menu" | "search" | "filter" | "image" | "stop" | "add" | "apps" | "asterisk" | "bluetooth" | "check" | "close" | "compare" | "cut" | "download" | "exclamation" | "forward" | "fullscreen" | "history" | "language" | "list" | "login" | "logout" | "monitoring" | "ohm" | "paste" | "public" | "publish" | "radar" | "redo" | "reload" | "remove" | "reply" | "route" | "sort" | "timeline" | "tune" | "undo" | "upload" | "water" | "wifi" | "windmill" | "alt-route" | "arrow-alt-down" | "arrow-alt-down-left" | "arrow-alt-down-right" | "arrow-alt-left" | "arrow-alt-right" | "arrow-alt-up" | "arrow-alt-up-left" | "arrow-alt-up-right" | "arrow-angle-down-left" | "arrow-angle-down-right" | "arrow-angle-up-left" | "arrow-angle-up-right" | "arrow-chevron-down" | "arrow-chevron-left" | "arrow-chevron-right" | "arrow-chevron-up" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-down-left" | "arrow-down-right" | "arrow-drop-down" | "arrow-drop-up" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "attach-file" | "battery-alt-empty" | "battery-alt-full" | "battery-charging" | "battery-empty" | "battery-full" | "bluetooth-off" | "chart-bar" | "chart-bar-stacked" | "check-indeterminate" | "check-small" | "checkbox-empty" | "copy-all" | "crisis-alert" | "download-done" | "drag-handle" | "drag-indicator" | "explore-travel" | "external-link" | "filter-off" | "first-page" | "fullscreen-exit" | "hourglass-empty" | "info-i" | "last-page" | "link-off" | "location-disabled" | "menu-open" | "more-down" | "more-horiz" | "more-up" | "more-vert" | "open-in-full" | "play-pause" | "power-input" | "power-plug" | "power-settings" | "priority-high" | "question-mark" | "radio-button-empty" | "reply-all" | "side-navigation" | "support-agent" | "trending-down" | "trending-flat" | "trending-up" | "water-alt" | "wifi-off" | "zoom-in" | "zoom-out" | "add-circle" | "admin-panel-settings" | "analytics" | "archive" | "arrow-circle-chevron-down" | "arrow-circle-chevron-left" | "arrow-circle-chevron-right" | "arrow-circle-chevron-up" | "arrow-circle-down" | "arrow-circle-left" | "arrow-circle-right" | "arrow-circle-up" | "assignment-complete" | "assignment" | "battery-alert" | "battery-charging-full" | "bolt-alt-circle" | "bolt-alt" | "bolt-circle" | "bolt" | "bookmark" | "bookmarks" | "build" | "calendar-available" | "calendar-busy" | "calendar-month" | "calendar-today" | "call" | "cancel" | "category" | "chart-add" | "chart-area" | "chart-pie" | "chart-table" | "chat-alt" | "chat-alt-unread" | "chat" | "chat-unread" | "check-circle" | "checkbox" | "checkbox-indeterminate" | "clock" | "cloud-download" | "cloud" | "cloud-off" | "cloud-upload" | "comment-add" | "comment" | "copy" | "dangerous" | "dashboard" | "database" | "delete" | "desktop" | "devices" | "draft" | "eco" | "edit" | "electric-meter" | "error" | "explore" | "explore-off" | "fast-forward" | "fast-rewind" | "feedback" | "file-copy" | "file-download" | "file-upload" | "filter-alt" | "filter-alt-off" | "fire" | "fit-screen" | "flag" | "flash" | "flash-off" | "folder-add" | "folder" | "folder-move" | "folder-open" | "folder-shared" | "forum" | "group-add" | "group" | "groups" | "headphones" | "heart" | "help" | "home" | "hourglass" | "image-broken" | "image-gallery" | "inbox" | "info" | "keep" | "keep-off" | "laptop" | "left-panel-close" | "left-panel-open" | "light-off" | "lightbulb-alt" | "lightbulb-circle" | "lightbulb" | "list-alt" | "location-me" | "location-off" | "location-on" | "lock" | "lock-open" | "lock-open-right" | "mail" | "mail-unread" | "mic" | "mic-off" | "mode-dark" | "mode-light" | "notification" | "notification-important" | "notification-off" | "notification-unread" | "palette" | "pause-circle" | "pause" | "photo-camera" | "play-circle" | "play" | "power" | "power-off" | "power-plug-connect" | "power-settings-circle" | "power-solar" | "power-switch" | "power-wind" | "print" | "right-panel-close" | "right-panel-open" | "save" | "send" | "settings" | "share" | "skip-next" | "skip-previous" | "smartphone" | "star" | "sticky-note" | "stop-circle" | "subtitles" | "text-snippet" | "trash-restore" | "unarchive" | "user-add" | "user-circle" | "user" | "user-settings" | "verified" | "video-camera" | "video-camera-off" | "video-gallery" | "view-agenda" | "view-column" | "view-grid" | "view-kanban" | "view-module" | "view-timeline" | "visibility-hide" | "visibility-show" | "volume-down" | "volume-mute" | "volume-off" | "volume-up" | "warning" | "waterdrop">;
|
|
10
10
|
private badgeComponentRef;
|
|
11
11
|
private hostElement;
|
|
12
12
|
private readonly viewContainer;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { AfterViewInit } from "@angular/core";
|
|
2
|
+
import { BreadcrumbProps } from "@design-system-rte/core/components/breadcrumbs/breadcrumbs.interface";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class BreadcrumbItemComponent implements AfterViewInit {
|
|
5
|
+
readonly item: import("@angular/core").InputSignal<BreadcrumbProps | undefined>;
|
|
6
|
+
readonly isLast: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
readonly breadcrumbItemMaxWidth: import("@angular/core").InputSignal<number | undefined>;
|
|
8
|
+
readonly initialScrollWidth: import("@angular/core").WritableSignal<number>;
|
|
9
|
+
private elementRef;
|
|
10
|
+
readonly isEllipsisActive: import("@angular/core").Signal<boolean>;
|
|
11
|
+
readonly tooltipTriggerStyle: import("@angular/core").Signal<string>;
|
|
12
|
+
readonly linkStyle: import("@angular/core").Signal<string>;
|
|
13
|
+
ngAfterViewInit(): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbItemComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbItemComponent, "rte-breadcrumb-item", never, { "item": { "alias": "item"; "required": false; "isSignal": true; }; "isLast": { "alias": "isLast"; "required": false; "isSignal": true; }; "breadcrumbItemMaxWidth": { "alias": "breadcrumbItemMaxWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
16
|
+
}
|
|
@@ -3,8 +3,8 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
export declare class BreadcrumbsComponent {
|
|
4
4
|
readonly items: import("@angular/core").InputSignal<BreadcrumbProps[]>;
|
|
5
5
|
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
6
|
+
readonly breadcrumbItemMaxWidth: import("@angular/core").InputSignal<number>;
|
|
6
7
|
readonly truncatedItems: import("@angular/core").Signal<BreadcrumbsTruncatedItems | null>;
|
|
7
|
-
readonly truncatedItemsText: import("@angular/core").Signal<string>;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbsComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbsComponent, "rte-breadcrumbs", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbsComponent, "rte-breadcrumbs", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "breadcrumbItemMaxWidth": { "alias": "breadcrumbItemMaxWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
10
|
}
|
|
@@ -1,17 +1,9 @@
|
|
|
1
|
-
import { ButtonType } from "@design-system-rte/core/components/button/button.interface";
|
|
2
1
|
import { ButtonSize, ButtonVariant } from "@design-system-rte/core/components/button/common/common-button";
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class ButtonComponent {
|
|
5
|
-
readonly
|
|
6
|
-
readonly
|
|
7
|
-
|
|
8
|
-
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
9
|
-
readonly icon: import("@angular/core").InputSignal<string>;
|
|
10
|
-
readonly ariaLabel: import("@angular/core").InputSignal<string>;
|
|
11
|
-
readonly ariaLabelledBy: import("@angular/core").InputSignal<string>;
|
|
12
|
-
readonly buttonType: import("@angular/core").InputSignal<ButtonType>;
|
|
13
|
-
readonly click: import("@angular/core").OutputEmitterRef<void>;
|
|
14
|
-
onClick(event: MouseEvent | KeyboardEvent): void;
|
|
4
|
+
readonly rteButtonVariant: import("@angular/core").InputSignal<ButtonVariant>;
|
|
5
|
+
readonly rteButtonSize: import("@angular/core").InputSignal<ButtonSize>;
|
|
6
|
+
get classes(): string;
|
|
15
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[rteButton]", never, { "rteButtonVariant": { "alias": "rteButtonVariant"; "required": false; "isSignal": true; }; "rteButtonSize": { "alias": "rteButtonSize"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
17
9
|
}
|
|
@@ -11,8 +11,7 @@ export declare class CheckboxComponent {
|
|
|
11
11
|
readonly errorMessage: import("@angular/core").InputSignal<string>;
|
|
12
12
|
readonly readOnly: import("@angular/core").InputSignal<boolean>;
|
|
13
13
|
readonly checked: import("@angular/core").InputSignal<boolean>;
|
|
14
|
-
readonly groupName: import("@angular/core").InputSignal<string>;
|
|
15
14
|
onKeydown(event: KeyboardEvent): void;
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "rte-checkbox", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; };
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "rte-checkbox", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "description": { "alias": "description"; "required": false; "isSignal": true; }; "showLabel": { "alias": "showLabel"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; "checked": { "alias": "checked"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
17
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class CheckboxGroupComponent {
|
|
3
|
-
readonly groupName: import("@angular/core").InputSignal<string>;
|
|
4
3
|
readonly items: import("@angular/core").InputSignal<string[]>;
|
|
5
4
|
readonly direction: import("@angular/core").InputSignal<string>;
|
|
6
5
|
readonly showItemsLabel: import("@angular/core").InputSignal<boolean>;
|
|
@@ -14,5 +13,5 @@ export declare class CheckboxGroupComponent {
|
|
|
14
13
|
readonly readOnly: import("@angular/core").InputSignal<boolean>;
|
|
15
14
|
readonly isDisplayed: import("@angular/core").Signal<boolean>;
|
|
16
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxGroupComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroupComponent, "rte-checkbox-group", never, { "
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxGroupComponent, "rte-checkbox-group", never, { "items": { "alias": "items"; "required": true; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "showItemsLabel": { "alias": "showItemsLabel"; "required": false; "isSignal": true; }; "groupTitle": { "alias": "groupTitle"; "required": false; "isSignal": true; }; "showGroupTitle": { "alias": "showGroupTitle"; "required": false; "isSignal": true; }; "groupHelpText": { "alias": "groupHelpText"; "required": false; "isSignal": true; }; "showHelpText": { "alias": "showHelpText"; "required": false; "isSignal": true; }; "errorMessage": { "alias": "errorMessage"; "required": false; "isSignal": true; }; "error": { "alias": "error"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readOnly": { "alias": "readOnly"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
17
|
}
|
|
@@ -4,7 +4,7 @@ export declare class ChipComponent {
|
|
|
4
4
|
readonly label: import("@angular/core").InputSignal<string>;
|
|
5
5
|
readonly selected: import("@angular/core").InputSignal<boolean>;
|
|
6
6
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
7
|
-
readonly type: import("@angular/core").InputSignal<"input" | "
|
|
7
|
+
readonly type: import("@angular/core").InputSignal<"input" | "multi" | "single">;
|
|
8
8
|
readonly compactSpacing: import("@angular/core").InputSignal<boolean>;
|
|
9
9
|
readonly click: import("@angular/core").OutputEmitterRef<Event>;
|
|
10
10
|
readonly close: import("@angular/core").OutputEmitterRef<Event>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export interface DropdownItemConfig {
|
|
4
|
+
id?: string;
|
|
5
|
+
label: string;
|
|
6
|
+
leftIcon?: string;
|
|
7
|
+
trailingText?: string;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
hasSeparator?: boolean;
|
|
10
|
+
hasIndent?: boolean;
|
|
11
|
+
link?: string;
|
|
12
|
+
click?: EventEmitter<Event>;
|
|
13
|
+
}
|
|
14
|
+
export declare class DropdownItemComponent {
|
|
15
|
+
readonly item: import("@angular/core").InputSignal<DropdownItemConfig | undefined>;
|
|
16
|
+
readonly menuId: import("@angular/core").InputSignal<string | undefined>;
|
|
17
|
+
readonly itemEvent: import("@angular/core").OutputEmitterRef<{
|
|
18
|
+
event: Event;
|
|
19
|
+
id: string;
|
|
20
|
+
}>;
|
|
21
|
+
handleClick(event: Event): void;
|
|
22
|
+
handleKeyDown(event: KeyboardEvent): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownItemComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownItemComponent, "rte-dropdown-item", never, { "item": { "alias": "item"; "required": false; "isSignal": true; }; "menuId": { "alias": "menuId"; "required": false; "isSignal": true; }; }, { "itemEvent": "itemEvent"; }, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { DropdownItemConfig } from "../dropdown-item/dropdown-item.component";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DropdownMenuComponent {
|
|
4
|
+
private readonly elementRef;
|
|
5
|
+
private readonly dropdownService;
|
|
6
|
+
readonly items: import("@angular/core").InputSignal<DropdownItemConfig[]>;
|
|
7
|
+
readonly menuId: import("@angular/core").InputSignal<string | undefined>;
|
|
8
|
+
readonly itemEvent: import("@angular/core").OutputEmitterRef<{
|
|
9
|
+
event: Event;
|
|
10
|
+
id: string;
|
|
11
|
+
}>;
|
|
12
|
+
getChildMenuId(itemIndex: number): string;
|
|
13
|
+
handleItemEvent(itemEvent: {
|
|
14
|
+
event: Event;
|
|
15
|
+
id: string;
|
|
16
|
+
}): void;
|
|
17
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownMenuComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DropdownMenuComponent, "rte-dropdown-menu", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "menuId": { "alias": "menuId"; "required": false; "isSignal": true; }; }, { "itemEvent": "itemEvent"; }, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementRef } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DropdownTriggerDirective {
|
|
4
|
+
readonly elementRef: ElementRef<any>;
|
|
5
|
+
readonly rteDropdownTriggerActivateWithArrowDown: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
readonly dropdownKeyDown: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
7
|
+
readonly dropdownTriggered: import("@angular/core").OutputEmitterRef<Event>;
|
|
8
|
+
readonly dropdownTriggerFocus: import("@angular/core").OutputEmitterRef<Event>;
|
|
9
|
+
onDropdownTriggered(event: Event): void;
|
|
10
|
+
onDropdownTriggerFocus(event: Event): void;
|
|
11
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownTriggerDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownTriggerDirective, "[rteDropdownTrigger]", never, { "rteDropdownTriggerActivateWithArrowDown": { "alias": "rteDropdownTriggerActivateWithArrowDown"; "required": false; "isSignal": true; }; }, { "dropdownKeyDown": "dropdownKeyDown"; "dropdownTriggered": "dropdownTriggered"; "dropdownTriggerFocus": "dropdownTriggerFocus"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { AfterContentInit, ChangeDetectorRef, ComponentRef, DestroyRef, ElementRef, OnDestroy, Renderer2, ViewContainerRef } from "@angular/core";
|
|
2
|
+
import { Alignment } from "@design-system-rte/core/common/common-types";
|
|
3
|
+
import { Position } from "@design-system-rte/core/components/common/common-types";
|
|
4
|
+
import { DropdownService } from "../../services/dropdown.service";
|
|
5
|
+
import { OverlayService } from "../../services/overlay.service";
|
|
6
|
+
import { DropdownMenuComponent } from "./dropdown-menu/dropdown-menu.component";
|
|
7
|
+
import { DropdownTriggerDirective } from "./dropdown-trigger/dropdown-trigger.directive";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class DropdownDirective implements AfterContentInit, OnDestroy {
|
|
10
|
+
private static idCounter;
|
|
11
|
+
readonly trigger: import("@angular/core").Signal<DropdownTriggerDirective | undefined>;
|
|
12
|
+
readonly menu: import("@angular/core").Signal<DropdownMenuComponent | undefined>;
|
|
13
|
+
readonly rteDropdownPosition: import("@angular/core").InputSignal<Position>;
|
|
14
|
+
readonly rteDropdownAlignment: import("@angular/core").InputSignal<Alignment>;
|
|
15
|
+
readonly rteDropdownIsOpen: import("@angular/core").InputSignal<boolean>;
|
|
16
|
+
readonly rteDropdownOffset: import("@angular/core").InputSignal<number>;
|
|
17
|
+
readonly dropdownId: string;
|
|
18
|
+
readonly menuEvent: import("@angular/core").OutputEmitterRef<{
|
|
19
|
+
event: Event;
|
|
20
|
+
id: string;
|
|
21
|
+
}>;
|
|
22
|
+
readonly overlayService: OverlayService;
|
|
23
|
+
readonly dropdownService: DropdownService;
|
|
24
|
+
readonly viewContainerRef: ViewContainerRef;
|
|
25
|
+
readonly elementRef: ElementRef<any>;
|
|
26
|
+
readonly renderer: Renderer2;
|
|
27
|
+
readonly hostElement: HTMLElement;
|
|
28
|
+
readonly destroyRef: DestroyRef;
|
|
29
|
+
readonly cdr: ChangeDetectorRef;
|
|
30
|
+
constructor();
|
|
31
|
+
dropdownMenuRef: ComponentRef<DropdownMenuComponent> | null;
|
|
32
|
+
onTrigger(): void;
|
|
33
|
+
onTriggerKeyEvent(event: KeyboardEvent): void;
|
|
34
|
+
onMenuEvent(event: {
|
|
35
|
+
event: Event;
|
|
36
|
+
id: string;
|
|
37
|
+
}): void;
|
|
38
|
+
ngAfterContentInit(): void;
|
|
39
|
+
showDropdownMenu(): void;
|
|
40
|
+
private assignItems;
|
|
41
|
+
private positionDropdownMenu;
|
|
42
|
+
ngOnDestroy(): void;
|
|
43
|
+
private readonly handleClickOutside;
|
|
44
|
+
private addClickOutsideListener;
|
|
45
|
+
private removeClickOutsideListener;
|
|
46
|
+
private closeDropdown;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownDirective, never>;
|
|
48
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownDirective, "[rteDropdown]", never, { "rteDropdownPosition": { "alias": "rteDropdownPosition"; "required": false; "isSignal": true; }; "rteDropdownAlignment": { "alias": "rteDropdownAlignment"; "required": false; "isSignal": true; }; "rteDropdownIsOpen": { "alias": "rteDropdownIsOpen"; "required": false; "isSignal": true; }; "rteDropdownOffset": { "alias": "rteDropdownOffset"; "required": false; "isSignal": true; }; }, { "menuEvent": "menuEvent"; }, ["trigger", "menu"], never, true, never>;
|
|
49
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./dropdown.directive";
|
|
3
|
+
import * as i2 from "./dropdown-trigger/dropdown-trigger.directive";
|
|
4
|
+
import * as i3 from "./dropdown-menu/dropdown-menu.component";
|
|
5
|
+
import * as i4 from "./dropdown-item/dropdown-item.component";
|
|
6
|
+
export declare class DropdownModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DropdownModule, never, [typeof i1.DropdownDirective, typeof i2.DropdownTriggerDirective, typeof i3.DropdownMenuComponent, typeof i4.DropdownItemComponent], [typeof i1.DropdownDirective, typeof i2.DropdownTriggerDirective, typeof i3.DropdownMenuComponent, typeof i4.DropdownItemComponent]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DropdownModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const focusNextElement: (dropdown: HTMLElement) => void;
|
|
2
|
+
export declare const focusPreviousElement: (dropdown: HTMLElement) => void;
|
|
3
|
+
export declare const focusDropdownFirstElement: (dropdownId: string) => void;
|
|
4
|
+
export declare const focusParentDropdownFirstElement: (dropdownId: string) => void;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { DropdownModule } from "./dropdown.module";
|
|
2
|
+
export { DropdownDirective } from "./dropdown.directive";
|
|
3
|
+
export { DropdownTriggerDirective } from "./dropdown-trigger/dropdown-trigger.directive";
|
|
4
|
+
export { DropdownMenuComponent } from "./dropdown-menu/dropdown-menu.component";
|
|
5
|
+
export { DropdownItemComponent } from "./dropdown-item/dropdown-item.component";
|
|
@@ -3,7 +3,7 @@ import { ButtonSize, ButtonVariant } from "@design-system-rte/core/components/bu
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class IconButtonComponent {
|
|
5
5
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
6
|
-
readonly name: import("@angular/core").InputSignal<"add" | "apps" | "asterisk" | "bluetooth" | "check" | "close" | "compare" | "cut" | "download" | "exclamation" | "
|
|
6
|
+
readonly name: import("@angular/core").InputSignal<"article" | "label" | "link" | "map" | "menu" | "search" | "filter" | "image" | "stop" | "add" | "apps" | "asterisk" | "bluetooth" | "check" | "close" | "compare" | "cut" | "download" | "exclamation" | "forward" | "fullscreen" | "history" | "language" | "list" | "login" | "logout" | "monitoring" | "ohm" | "paste" | "public" | "publish" | "radar" | "redo" | "reload" | "remove" | "reply" | "route" | "sort" | "timeline" | "tune" | "undo" | "upload" | "water" | "wifi" | "windmill" | "alt-route" | "arrow-alt-down" | "arrow-alt-down-left" | "arrow-alt-down-right" | "arrow-alt-left" | "arrow-alt-right" | "arrow-alt-up" | "arrow-alt-up-left" | "arrow-alt-up-right" | "arrow-angle-down-left" | "arrow-angle-down-right" | "arrow-angle-up-left" | "arrow-angle-up-right" | "arrow-chevron-down" | "arrow-chevron-left" | "arrow-chevron-right" | "arrow-chevron-up" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-down-left" | "arrow-down-right" | "arrow-drop-down" | "arrow-drop-up" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "attach-file" | "battery-alt-empty" | "battery-alt-full" | "battery-charging" | "battery-empty" | "battery-full" | "bluetooth-off" | "chart-bar" | "chart-bar-stacked" | "check-indeterminate" | "check-small" | "checkbox-empty" | "copy-all" | "crisis-alert" | "download-done" | "drag-handle" | "drag-indicator" | "explore-travel" | "external-link" | "filter-off" | "first-page" | "fullscreen-exit" | "hourglass-empty" | "info-i" | "last-page" | "link-off" | "location-disabled" | "menu-open" | "more-down" | "more-horiz" | "more-up" | "more-vert" | "open-in-full" | "play-pause" | "power-input" | "power-plug" | "power-settings" | "priority-high" | "question-mark" | "radio-button-empty" | "reply-all" | "side-navigation" | "support-agent" | "trending-down" | "trending-flat" | "trending-up" | "water-alt" | "wifi-off" | "zoom-in" | "zoom-out" | "add-circle" | "admin-panel-settings" | "analytics" | "archive" | "arrow-circle-chevron-down" | "arrow-circle-chevron-left" | "arrow-circle-chevron-right" | "arrow-circle-chevron-up" | "arrow-circle-down" | "arrow-circle-left" | "arrow-circle-right" | "arrow-circle-up" | "assignment-complete" | "assignment" | "battery-alert" | "battery-charging-full" | "bolt-alt-circle" | "bolt-alt" | "bolt-circle" | "bolt" | "bookmark" | "bookmarks" | "build" | "calendar-available" | "calendar-busy" | "calendar-month" | "calendar-today" | "call" | "cancel" | "category" | "chart-add" | "chart-area" | "chart-pie" | "chart-table" | "chat-alt" | "chat-alt-unread" | "chat" | "chat-unread" | "check-circle" | "checkbox" | "checkbox-indeterminate" | "clock" | "cloud-download" | "cloud" | "cloud-off" | "cloud-upload" | "comment-add" | "comment" | "copy" | "dangerous" | "dashboard" | "database" | "delete" | "desktop" | "devices" | "draft" | "eco" | "edit" | "electric-meter" | "error" | "explore" | "explore-off" | "fast-forward" | "fast-rewind" | "feedback" | "file-copy" | "file-download" | "file-upload" | "filter-alt" | "filter-alt-off" | "fire" | "fit-screen" | "flag" | "flash" | "flash-off" | "folder-add" | "folder" | "folder-move" | "folder-open" | "folder-shared" | "forum" | "group-add" | "group" | "groups" | "headphones" | "heart" | "help" | "home" | "hourglass" | "image-broken" | "image-gallery" | "inbox" | "info" | "keep" | "keep-off" | "laptop" | "left-panel-close" | "left-panel-open" | "light-off" | "lightbulb-alt" | "lightbulb-circle" | "lightbulb" | "list-alt" | "location-me" | "location-off" | "location-on" | "lock" | "lock-open" | "lock-open-right" | "mail" | "mail-unread" | "mic" | "mic-off" | "mode-dark" | "mode-light" | "notification" | "notification-important" | "notification-off" | "notification-unread" | "palette" | "pause-circle" | "pause" | "photo-camera" | "play-circle" | "play" | "power" | "power-off" | "power-plug-connect" | "power-settings-circle" | "power-solar" | "power-switch" | "power-wind" | "print" | "right-panel-close" | "right-panel-open" | "save" | "send" | "settings" | "share" | "skip-next" | "skip-previous" | "smartphone" | "star" | "sticky-note" | "stop-circle" | "subtitles" | "text-snippet" | "trash-restore" | "unarchive" | "user-add" | "user-circle" | "user" | "user-settings" | "verified" | "video-camera" | "video-camera-off" | "video-gallery" | "view-agenda" | "view-column" | "view-grid" | "view-kanban" | "view-module" | "view-timeline" | "visibility-hide" | "visibility-show" | "volume-down" | "volume-mute" | "volume-off" | "volume-up" | "warning" | "waterdrop">;
|
|
7
7
|
readonly size: import("@angular/core").InputSignal<ButtonSize>;
|
|
8
8
|
readonly variant: import("@angular/core").InputSignal<ButtonVariant>;
|
|
9
9
|
readonly type: import("@angular/core").InputSignal<ButtonType>;
|
|
@@ -13,7 +13,7 @@ export declare class IconButtonComponent {
|
|
|
13
13
|
readonly ariaLabelledBy: import("@angular/core").InputSignal<string | undefined>;
|
|
14
14
|
readonly buttonIconSize: import("@angular/core").Signal<number>;
|
|
15
15
|
readonly isValidIconName: import("@angular/core").Signal<boolean>;
|
|
16
|
-
readonly click: import("@angular/core").OutputEmitterRef<
|
|
16
|
+
readonly click: import("@angular/core").OutputEmitterRef<KeyboardEvent | MouseEvent>;
|
|
17
17
|
onClick(event: MouseEvent | KeyboardEvent): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconButtonComponent, never>;
|
|
19
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<IconButtonComponent, "rte-icon-button", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "name": { "alias": "name"; "required": true; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "compactSpacing": { "alias": "compactSpacing"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "ariaLabelledBy": { "alias": "ariaLabelledBy"; "required": false; "isSignal": true; }; }, { "click": "click"; }, never, never, true, never>;
|
|
@@ -3,7 +3,7 @@ import { ButtonSize, ButtonVariant } from "@design-system-rte/core/components/bu
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class IconButtonToggleComponent {
|
|
5
5
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
6
|
-
readonly name: import("@angular/core").InputSignal<"add" | "apps" | "asterisk" | "bluetooth" | "check" | "close" | "compare" | "cut" | "download" | "exclamation" | "
|
|
6
|
+
readonly name: import("@angular/core").InputSignal<"article" | "label" | "link" | "map" | "menu" | "search" | "filter" | "image" | "stop" | "add" | "apps" | "asterisk" | "bluetooth" | "check" | "close" | "compare" | "cut" | "download" | "exclamation" | "forward" | "fullscreen" | "history" | "language" | "list" | "login" | "logout" | "monitoring" | "ohm" | "paste" | "public" | "publish" | "radar" | "redo" | "reload" | "remove" | "reply" | "route" | "sort" | "timeline" | "tune" | "undo" | "upload" | "water" | "wifi" | "windmill" | "alt-route" | "arrow-alt-down" | "arrow-alt-down-left" | "arrow-alt-down-right" | "arrow-alt-left" | "arrow-alt-right" | "arrow-alt-up" | "arrow-alt-up-left" | "arrow-alt-up-right" | "arrow-angle-down-left" | "arrow-angle-down-right" | "arrow-angle-up-left" | "arrow-angle-up-right" | "arrow-chevron-down" | "arrow-chevron-left" | "arrow-chevron-right" | "arrow-chevron-up" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-down-left" | "arrow-down-right" | "arrow-drop-down" | "arrow-drop-up" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "attach-file" | "battery-alt-empty" | "battery-alt-full" | "battery-charging" | "battery-empty" | "battery-full" | "bluetooth-off" | "chart-bar" | "chart-bar-stacked" | "check-indeterminate" | "check-small" | "checkbox-empty" | "copy-all" | "crisis-alert" | "download-done" | "drag-handle" | "drag-indicator" | "explore-travel" | "external-link" | "filter-off" | "first-page" | "fullscreen-exit" | "hourglass-empty" | "info-i" | "last-page" | "link-off" | "location-disabled" | "menu-open" | "more-down" | "more-horiz" | "more-up" | "more-vert" | "open-in-full" | "play-pause" | "power-input" | "power-plug" | "power-settings" | "priority-high" | "question-mark" | "radio-button-empty" | "reply-all" | "side-navigation" | "support-agent" | "trending-down" | "trending-flat" | "trending-up" | "water-alt" | "wifi-off" | "zoom-in" | "zoom-out" | "add-circle" | "admin-panel-settings" | "analytics" | "archive" | "arrow-circle-chevron-down" | "arrow-circle-chevron-left" | "arrow-circle-chevron-right" | "arrow-circle-chevron-up" | "arrow-circle-down" | "arrow-circle-left" | "arrow-circle-right" | "arrow-circle-up" | "assignment-complete" | "assignment" | "battery-alert" | "battery-charging-full" | "bolt-alt-circle" | "bolt-alt" | "bolt-circle" | "bolt" | "bookmark" | "bookmarks" | "build" | "calendar-available" | "calendar-busy" | "calendar-month" | "calendar-today" | "call" | "cancel" | "category" | "chart-add" | "chart-area" | "chart-pie" | "chart-table" | "chat-alt" | "chat-alt-unread" | "chat" | "chat-unread" | "check-circle" | "checkbox" | "checkbox-indeterminate" | "clock" | "cloud-download" | "cloud" | "cloud-off" | "cloud-upload" | "comment-add" | "comment" | "copy" | "dangerous" | "dashboard" | "database" | "delete" | "desktop" | "devices" | "draft" | "eco" | "edit" | "electric-meter" | "error" | "explore" | "explore-off" | "fast-forward" | "fast-rewind" | "feedback" | "file-copy" | "file-download" | "file-upload" | "filter-alt" | "filter-alt-off" | "fire" | "fit-screen" | "flag" | "flash" | "flash-off" | "folder-add" | "folder" | "folder-move" | "folder-open" | "folder-shared" | "forum" | "group-add" | "group" | "groups" | "headphones" | "heart" | "help" | "home" | "hourglass" | "image-broken" | "image-gallery" | "inbox" | "info" | "keep" | "keep-off" | "laptop" | "left-panel-close" | "left-panel-open" | "light-off" | "lightbulb-alt" | "lightbulb-circle" | "lightbulb" | "list-alt" | "location-me" | "location-off" | "location-on" | "lock" | "lock-open" | "lock-open-right" | "mail" | "mail-unread" | "mic" | "mic-off" | "mode-dark" | "mode-light" | "notification" | "notification-important" | "notification-off" | "notification-unread" | "palette" | "pause-circle" | "pause" | "photo-camera" | "play-circle" | "play" | "power" | "power-off" | "power-plug-connect" | "power-settings-circle" | "power-solar" | "power-switch" | "power-wind" | "print" | "right-panel-close" | "right-panel-open" | "save" | "send" | "settings" | "share" | "skip-next" | "skip-previous" | "smartphone" | "star" | "sticky-note" | "stop-circle" | "subtitles" | "text-snippet" | "trash-restore" | "unarchive" | "user-add" | "user-circle" | "user" | "user-settings" | "verified" | "video-camera" | "video-camera-off" | "video-gallery" | "view-agenda" | "view-column" | "view-grid" | "view-kanban" | "view-module" | "view-timeline" | "visibility-hide" | "visibility-show" | "volume-down" | "volume-mute" | "volume-off" | "volume-up" | "warning" | "waterdrop">;
|
|
7
7
|
readonly size: import("@angular/core").InputSignal<ButtonSize>;
|
|
8
8
|
readonly variant: import("@angular/core").InputSignal<ButtonVariant>;
|
|
9
9
|
readonly type: import("@angular/core").InputSignal<ButtonType>;
|
|
@@ -14,7 +14,7 @@ export declare class IconButtonToggleComponent {
|
|
|
14
14
|
readonly internalSelected: import("@angular/core").WritableSignal<boolean>;
|
|
15
15
|
readonly defaultSelected: import("@angular/core").InputSignal<boolean>;
|
|
16
16
|
readonly isControlled: import("@angular/core").Signal<boolean>;
|
|
17
|
-
readonly click: import("@angular/core").OutputEmitterRef<
|
|
17
|
+
readonly click: import("@angular/core").OutputEmitterRef<KeyboardEvent | MouseEvent>;
|
|
18
18
|
readonly isSelected: import("@angular/core").Signal<boolean | undefined>;
|
|
19
19
|
private toggleInternalSelectedState;
|
|
20
20
|
onClick(event: MouseEvent | KeyboardEvent): void;
|
|
@@ -4,6 +4,8 @@ export declare class LinkComponent {
|
|
|
4
4
|
readonly href: import("@angular/core").InputSignal<string>;
|
|
5
5
|
readonly subtle: import("@angular/core").InputSignal<boolean>;
|
|
6
6
|
readonly externalLink: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
readonly reverse: import("@angular/core").InputSignal<boolean>;
|
|
8
|
+
readonly maxWidth: import("@angular/core").InputSignal<number | undefined>;
|
|
7
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<LinkComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "rte-link", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "subtle": { "alias": "subtle"; "required": false; "isSignal": true; }; "externalLink": { "alias": "externalLink"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LinkComponent, "rte-link", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "href": { "alias": "href"; "required": false; "isSignal": true; }; "subtle": { "alias": "subtle"; "required": false; "isSignal": true; }; "externalLink": { "alias": "externalLink"; "required": false; "isSignal": true; }; "reverse": { "alias": "reverse"; "required": false; "isSignal": true; }; "maxWidth": { "alias": "maxWidth"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
11
|
}
|
|
@@ -1,21 +1,28 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnInit, OnDestroy } from "@angular/core";
|
|
2
|
+
import { Alignment, Position } from "@design-system-rte/core/components/common/common-types";
|
|
3
|
+
import { SplitButtonAppearance, SplitButtonItemProps, SplitButtonPosition, SplitButtonSize } from "@design-system-rte/core/components/split-button/split-button.interface";
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SplitButtonComponent {
|
|
5
|
+
export declare class SplitButtonComponent implements OnInit, OnDestroy {
|
|
4
6
|
readonly appearance: import("@angular/core").InputSignal<SplitButtonAppearance>;
|
|
5
7
|
readonly size: import("@angular/core").InputSignal<SplitButtonSize>;
|
|
6
8
|
readonly label: import("@angular/core").InputSignal<string>;
|
|
7
9
|
readonly compactSpacing: import("@angular/core").InputSignal<boolean>;
|
|
8
|
-
readonly selected: import("@angular/core").InputSignal<boolean>;
|
|
9
10
|
readonly position: import("@angular/core").InputSignal<SplitButtonPosition>;
|
|
10
|
-
readonly icon: import("@angular/core").InputSignal<"add" | "apps" | "asterisk" | "bluetooth" | "check" | "close" | "compare" | "cut" | "download" | "exclamation" | "
|
|
11
|
+
readonly icon: import("@angular/core").InputSignal<"article" | "label" | "link" | "map" | "menu" | "search" | "filter" | "image" | "stop" | "add" | "apps" | "asterisk" | "bluetooth" | "check" | "close" | "compare" | "cut" | "download" | "exclamation" | "forward" | "fullscreen" | "history" | "language" | "list" | "login" | "logout" | "monitoring" | "ohm" | "paste" | "public" | "publish" | "radar" | "redo" | "reload" | "remove" | "reply" | "route" | "sort" | "timeline" | "tune" | "undo" | "upload" | "water" | "wifi" | "windmill" | "alt-route" | "arrow-alt-down" | "arrow-alt-down-left" | "arrow-alt-down-right" | "arrow-alt-left" | "arrow-alt-right" | "arrow-alt-up" | "arrow-alt-up-left" | "arrow-alt-up-right" | "arrow-angle-down-left" | "arrow-angle-down-right" | "arrow-angle-up-left" | "arrow-angle-up-right" | "arrow-chevron-down" | "arrow-chevron-left" | "arrow-chevron-right" | "arrow-chevron-up" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-down-left" | "arrow-down-right" | "arrow-drop-down" | "arrow-drop-up" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "attach-file" | "battery-alt-empty" | "battery-alt-full" | "battery-charging" | "battery-empty" | "battery-full" | "bluetooth-off" | "chart-bar" | "chart-bar-stacked" | "check-indeterminate" | "check-small" | "checkbox-empty" | "copy-all" | "crisis-alert" | "download-done" | "drag-handle" | "drag-indicator" | "explore-travel" | "external-link" | "filter-off" | "first-page" | "fullscreen-exit" | "hourglass-empty" | "info-i" | "last-page" | "link-off" | "location-disabled" | "menu-open" | "more-down" | "more-horiz" | "more-up" | "more-vert" | "open-in-full" | "play-pause" | "power-input" | "power-plug" | "power-settings" | "priority-high" | "question-mark" | "radio-button-empty" | "reply-all" | "side-navigation" | "support-agent" | "trending-down" | "trending-flat" | "trending-up" | "water-alt" | "wifi-off" | "zoom-in" | "zoom-out" | "add-circle" | "admin-panel-settings" | "analytics" | "archive" | "arrow-circle-chevron-down" | "arrow-circle-chevron-left" | "arrow-circle-chevron-right" | "arrow-circle-chevron-up" | "arrow-circle-down" | "arrow-circle-left" | "arrow-circle-right" | "arrow-circle-up" | "assignment-complete" | "assignment" | "battery-alert" | "battery-charging-full" | "bolt-alt-circle" | "bolt-alt" | "bolt-circle" | "bolt" | "bookmark" | "bookmarks" | "build" | "calendar-available" | "calendar-busy" | "calendar-month" | "calendar-today" | "call" | "cancel" | "category" | "chart-add" | "chart-area" | "chart-pie" | "chart-table" | "chat-alt" | "chat-alt-unread" | "chat" | "chat-unread" | "check-circle" | "checkbox" | "checkbox-indeterminate" | "clock" | "cloud-download" | "cloud" | "cloud-off" | "cloud-upload" | "comment-add" | "comment" | "copy" | "dangerous" | "dashboard" | "database" | "delete" | "desktop" | "devices" | "draft" | "eco" | "edit" | "electric-meter" | "error" | "explore" | "explore-off" | "fast-forward" | "fast-rewind" | "feedback" | "file-copy" | "file-download" | "file-upload" | "filter-alt" | "filter-alt-off" | "fire" | "fit-screen" | "flag" | "flash" | "flash-off" | "folder-add" | "folder" | "folder-move" | "folder-open" | "folder-shared" | "forum" | "group-add" | "group" | "groups" | "headphones" | "heart" | "help" | "home" | "hourglass" | "image-broken" | "image-gallery" | "inbox" | "info" | "keep" | "keep-off" | "laptop" | "left-panel-close" | "left-panel-open" | "light-off" | "lightbulb-alt" | "lightbulb-circle" | "lightbulb" | "list-alt" | "location-me" | "location-off" | "location-on" | "lock" | "lock-open" | "lock-open-right" | "mail" | "mail-unread" | "mic" | "mic-off" | "mode-dark" | "mode-light" | "notification" | "notification-important" | "notification-off" | "notification-unread" | "palette" | "pause-circle" | "pause" | "photo-camera" | "play-circle" | "play" | "power" | "power-off" | "power-plug-connect" | "power-settings-circle" | "power-solar" | "power-switch" | "power-wind" | "print" | "right-panel-close" | "right-panel-open" | "save" | "send" | "settings" | "share" | "skip-next" | "skip-previous" | "smartphone" | "star" | "sticky-note" | "stop-circle" | "subtitles" | "text-snippet" | "trash-restore" | "unarchive" | "user-add" | "user-circle" | "user" | "user-settings" | "verified" | "video-camera" | "video-camera-off" | "video-gallery" | "view-agenda" | "view-column" | "view-grid" | "view-kanban" | "view-module" | "view-timeline" | "visibility-hide" | "visibility-show" | "volume-down" | "volume-mute" | "volume-off" | "volume-up" | "warning" | "waterdrop" | null>;
|
|
11
12
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
12
13
|
readonly ariaLabelRight: import("@angular/core").InputSignal<string | undefined>;
|
|
14
|
+
readonly options: import("@angular/core").InputSignal<SplitButtonItemProps[]>;
|
|
13
15
|
readonly splitButtonLeftIconSize: import("@angular/core").Signal<number>;
|
|
14
16
|
readonly splitButtonRightIconSize: import("@angular/core").Signal<number>;
|
|
15
17
|
readonly isOpen: import("@angular/core").WritableSignal<boolean>;
|
|
18
|
+
readonly internalPosition: import("@angular/core").Signal<Position>;
|
|
19
|
+
readonly internalAlignment: import("@angular/core").Signal<Alignment>;
|
|
20
|
+
handleClickOutside(event: MouseEvent): void;
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
16
23
|
handleKeyDownOnRightButton(event: KeyboardEvent): void;
|
|
17
24
|
handleKeyDownOnMenu(event: KeyboardEvent): void;
|
|
18
25
|
private handleKeyDown;
|
|
19
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<SplitButtonComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "rte-split-button", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "compactSpacing": { "alias": "compactSpacing"; "required": false; "isSignal": true; }; "
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "rte-split-button", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; "isSignal": true; }; "compactSpacing": { "alias": "compactSpacing"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "ariaLabelRight": { "alias": "ariaLabelRight"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
21
28
|
}
|
|
@@ -7,7 +7,7 @@ export declare class TextInputComponent {
|
|
|
7
7
|
readonly showCounter: import("@angular/core").InputSignal<boolean>;
|
|
8
8
|
readonly value: import("@angular/core").InputSignal<string>;
|
|
9
9
|
readonly internalValue: import("@angular/core").WritableSignal<string>;
|
|
10
|
-
readonly leftIcon: import("@angular/core").InputSignal<"add" | "apps" | "asterisk" | "bluetooth" | "check" | "close" | "compare" | "cut" | "download" | "exclamation" | "
|
|
10
|
+
readonly leftIcon: import("@angular/core").InputSignal<"article" | "label" | "link" | "map" | "menu" | "search" | "filter" | "image" | "stop" | "add" | "apps" | "asterisk" | "bluetooth" | "check" | "close" | "compare" | "cut" | "download" | "exclamation" | "forward" | "fullscreen" | "history" | "language" | "list" | "login" | "logout" | "monitoring" | "ohm" | "paste" | "public" | "publish" | "radar" | "redo" | "reload" | "remove" | "reply" | "route" | "sort" | "timeline" | "tune" | "undo" | "upload" | "water" | "wifi" | "windmill" | "alt-route" | "arrow-alt-down" | "arrow-alt-down-left" | "arrow-alt-down-right" | "arrow-alt-left" | "arrow-alt-right" | "arrow-alt-up" | "arrow-alt-up-left" | "arrow-alt-up-right" | "arrow-angle-down-left" | "arrow-angle-down-right" | "arrow-angle-up-left" | "arrow-angle-up-right" | "arrow-chevron-down" | "arrow-chevron-left" | "arrow-chevron-right" | "arrow-chevron-up" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-down-left" | "arrow-down-right" | "arrow-drop-down" | "arrow-drop-up" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "attach-file" | "battery-alt-empty" | "battery-alt-full" | "battery-charging" | "battery-empty" | "battery-full" | "bluetooth-off" | "chart-bar" | "chart-bar-stacked" | "check-indeterminate" | "check-small" | "checkbox-empty" | "copy-all" | "crisis-alert" | "download-done" | "drag-handle" | "drag-indicator" | "explore-travel" | "external-link" | "filter-off" | "first-page" | "fullscreen-exit" | "hourglass-empty" | "info-i" | "last-page" | "link-off" | "location-disabled" | "menu-open" | "more-down" | "more-horiz" | "more-up" | "more-vert" | "open-in-full" | "play-pause" | "power-input" | "power-plug" | "power-settings" | "priority-high" | "question-mark" | "radio-button-empty" | "reply-all" | "side-navigation" | "support-agent" | "trending-down" | "trending-flat" | "trending-up" | "water-alt" | "wifi-off" | "zoom-in" | "zoom-out" | "add-circle" | "admin-panel-settings" | "analytics" | "archive" | "arrow-circle-chevron-down" | "arrow-circle-chevron-left" | "arrow-circle-chevron-right" | "arrow-circle-chevron-up" | "arrow-circle-down" | "arrow-circle-left" | "arrow-circle-right" | "arrow-circle-up" | "assignment-complete" | "assignment" | "battery-alert" | "battery-charging-full" | "bolt-alt-circle" | "bolt-alt" | "bolt-circle" | "bolt" | "bookmark" | "bookmarks" | "build" | "calendar-available" | "calendar-busy" | "calendar-month" | "calendar-today" | "call" | "cancel" | "category" | "chart-add" | "chart-area" | "chart-pie" | "chart-table" | "chat-alt" | "chat-alt-unread" | "chat" | "chat-unread" | "check-circle" | "checkbox" | "checkbox-indeterminate" | "clock" | "cloud-download" | "cloud" | "cloud-off" | "cloud-upload" | "comment-add" | "comment" | "copy" | "dangerous" | "dashboard" | "database" | "delete" | "desktop" | "devices" | "draft" | "eco" | "edit" | "electric-meter" | "error" | "explore" | "explore-off" | "fast-forward" | "fast-rewind" | "feedback" | "file-copy" | "file-download" | "file-upload" | "filter-alt" | "filter-alt-off" | "fire" | "fit-screen" | "flag" | "flash" | "flash-off" | "folder-add" | "folder" | "folder-move" | "folder-open" | "folder-shared" | "forum" | "group-add" | "group" | "groups" | "headphones" | "heart" | "help" | "home" | "hourglass" | "image-broken" | "image-gallery" | "inbox" | "info" | "keep" | "keep-off" | "laptop" | "left-panel-close" | "left-panel-open" | "light-off" | "lightbulb-alt" | "lightbulb-circle" | "lightbulb" | "list-alt" | "location-me" | "location-off" | "location-on" | "lock" | "lock-open" | "lock-open-right" | "mail" | "mail-unread" | "mic" | "mic-off" | "mode-dark" | "mode-light" | "notification" | "notification-important" | "notification-off" | "notification-unread" | "palette" | "pause-circle" | "pause" | "photo-camera" | "play-circle" | "play" | "power" | "power-off" | "power-plug-connect" | "power-settings-circle" | "power-solar" | "power-switch" | "power-wind" | "print" | "right-panel-close" | "right-panel-open" | "save" | "send" | "settings" | "share" | "skip-next" | "skip-previous" | "smartphone" | "star" | "sticky-note" | "stop-circle" | "subtitles" | "text-snippet" | "trash-restore" | "unarchive" | "user-add" | "user-circle" | "user" | "user-settings" | "verified" | "video-camera" | "video-camera-off" | "video-gallery" | "view-agenda" | "view-column" | "view-grid" | "view-kanban" | "view-module" | "view-timeline" | "visibility-hide" | "visibility-show" | "volume-down" | "volume-mute" | "volume-off" | "volume-up" | "warning" | "waterdrop" | null>;
|
|
11
11
|
readonly showRightIcon: import("@angular/core").InputSignal<boolean>;
|
|
12
12
|
readonly rightIconAction: import("@angular/core").InputSignal<"clean" | "visibilityOn" | "visibilityOff">;
|
|
13
13
|
readonly showLabelRequirement: import("@angular/core").InputSignal<boolean>;
|
|
@@ -26,9 +26,9 @@ export declare class TextInputComponent {
|
|
|
26
26
|
readonly rightIconClick: import("@angular/core").OutputEmitterRef<void>;
|
|
27
27
|
readonly characterCount: import("@angular/core").WritableSignal<number>;
|
|
28
28
|
readonly isHiddenInput: import("@angular/core").WritableSignal<boolean>;
|
|
29
|
-
readonly displayedLeftIcon: import("@angular/core").Signal<"add" | "apps" | "asterisk" | "bluetooth" | "check" | "close" | "compare" | "cut" | "download" | "exclamation" | "
|
|
29
|
+
readonly displayedLeftIcon: import("@angular/core").Signal<"article" | "label" | "link" | "map" | "menu" | "search" | "filter" | "image" | "stop" | "add" | "apps" | "asterisk" | "bluetooth" | "check" | "close" | "compare" | "cut" | "download" | "exclamation" | "forward" | "fullscreen" | "history" | "language" | "list" | "login" | "logout" | "monitoring" | "ohm" | "paste" | "public" | "publish" | "radar" | "redo" | "reload" | "remove" | "reply" | "route" | "sort" | "timeline" | "tune" | "undo" | "upload" | "water" | "wifi" | "windmill" | "alt-route" | "arrow-alt-down" | "arrow-alt-down-left" | "arrow-alt-down-right" | "arrow-alt-left" | "arrow-alt-right" | "arrow-alt-up" | "arrow-alt-up-left" | "arrow-alt-up-right" | "arrow-angle-down-left" | "arrow-angle-down-right" | "arrow-angle-up-left" | "arrow-angle-up-right" | "arrow-chevron-down" | "arrow-chevron-left" | "arrow-chevron-right" | "arrow-chevron-up" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-down-left" | "arrow-down-right" | "arrow-drop-down" | "arrow-drop-up" | "arrow-left" | "arrow-right" | "arrow-up" | "arrow-up-left" | "arrow-up-right" | "attach-file" | "battery-alt-empty" | "battery-alt-full" | "battery-charging" | "battery-empty" | "battery-full" | "bluetooth-off" | "chart-bar" | "chart-bar-stacked" | "check-indeterminate" | "check-small" | "checkbox-empty" | "copy-all" | "crisis-alert" | "download-done" | "drag-handle" | "drag-indicator" | "explore-travel" | "external-link" | "filter-off" | "first-page" | "fullscreen-exit" | "hourglass-empty" | "info-i" | "last-page" | "link-off" | "location-disabled" | "menu-open" | "more-down" | "more-horiz" | "more-up" | "more-vert" | "open-in-full" | "play-pause" | "power-input" | "power-plug" | "power-settings" | "priority-high" | "question-mark" | "radio-button-empty" | "reply-all" | "side-navigation" | "support-agent" | "trending-down" | "trending-flat" | "trending-up" | "water-alt" | "wifi-off" | "zoom-in" | "zoom-out" | "add-circle" | "admin-panel-settings" | "analytics" | "archive" | "arrow-circle-chevron-down" | "arrow-circle-chevron-left" | "arrow-circle-chevron-right" | "arrow-circle-chevron-up" | "arrow-circle-down" | "arrow-circle-left" | "arrow-circle-right" | "arrow-circle-up" | "assignment-complete" | "assignment" | "battery-alert" | "battery-charging-full" | "bolt-alt-circle" | "bolt-alt" | "bolt-circle" | "bolt" | "bookmark" | "bookmarks" | "build" | "calendar-available" | "calendar-busy" | "calendar-month" | "calendar-today" | "call" | "cancel" | "category" | "chart-add" | "chart-area" | "chart-pie" | "chart-table" | "chat-alt" | "chat-alt-unread" | "chat" | "chat-unread" | "check-circle" | "checkbox" | "checkbox-indeterminate" | "clock" | "cloud-download" | "cloud" | "cloud-off" | "cloud-upload" | "comment-add" | "comment" | "copy" | "dangerous" | "dashboard" | "database" | "delete" | "desktop" | "devices" | "draft" | "eco" | "edit" | "electric-meter" | "error" | "explore" | "explore-off" | "fast-forward" | "fast-rewind" | "feedback" | "file-copy" | "file-download" | "file-upload" | "filter-alt" | "filter-alt-off" | "fire" | "fit-screen" | "flag" | "flash" | "flash-off" | "folder-add" | "folder" | "folder-move" | "folder-open" | "folder-shared" | "forum" | "group-add" | "group" | "groups" | "headphones" | "heart" | "help" | "home" | "hourglass" | "image-broken" | "image-gallery" | "inbox" | "info" | "keep" | "keep-off" | "laptop" | "left-panel-close" | "left-panel-open" | "light-off" | "lightbulb-alt" | "lightbulb-circle" | "lightbulb" | "list-alt" | "location-me" | "location-off" | "location-on" | "lock" | "lock-open" | "lock-open-right" | "mail" | "mail-unread" | "mic" | "mic-off" | "mode-dark" | "mode-light" | "notification" | "notification-important" | "notification-off" | "notification-unread" | "palette" | "pause-circle" | "pause" | "photo-camera" | "play-circle" | "play" | "power" | "power-off" | "power-plug-connect" | "power-settings-circle" | "power-solar" | "power-switch" | "power-wind" | "print" | "right-panel-close" | "right-panel-open" | "save" | "send" | "settings" | "share" | "skip-next" | "skip-previous" | "smartphone" | "star" | "sticky-note" | "stop-circle" | "subtitles" | "text-snippet" | "trash-restore" | "unarchive" | "user-add" | "user-circle" | "user" | "user-settings" | "verified" | "video-camera" | "video-camera-off" | "video-gallery" | "view-agenda" | "view-column" | "view-grid" | "view-kanban" | "view-module" | "view-timeline" | "visibility-hide" | "visibility-show" | "volume-down" | "volume-mute" | "volume-off" | "volume-up" | "warning" | "waterdrop" | null>;
|
|
30
30
|
readonly displayCounter: import("@angular/core").Signal<boolean>;
|
|
31
|
-
readonly rightIconName: import("@angular/core").Signal<"" | "
|
|
31
|
+
readonly rightIconName: import("@angular/core").Signal<"close" | "" | "visibility-show" | "visibility-hide">;
|
|
32
32
|
readonly rightIconAriaLabel: import("@angular/core").Signal<"" | "show text" | "hide text" | "clear">;
|
|
33
33
|
readonly shouldShowRightIcon: import("@angular/core").Signal<boolean>;
|
|
34
34
|
private lastParentValue;
|