@leanix/components 0.4.852 → 0.4.854
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/fesm2022/leanix-components-ui5.mjs +9 -9
- package/fesm2022/leanix-components-ui5.mjs.map +1 -1
- package/fesm2022/leanix-components.mjs +483 -485
- package/fesm2022/leanix-components.mjs.map +1 -1
- package/index.d.ts +5283 -134
- package/package.json +10 -10
- package/ui5/index.d.ts +88 -8
- package/lib/core-ui/components/avatar/avatar.component.d.ts +0 -45
- package/lib/core-ui/components/avatar/avatar.helpers.d.ts +0 -8
- package/lib/core-ui/components/avatar/avatar.model.d.ts +0 -38
- package/lib/core-ui/components/avatar-group/avatar-group.component.d.ts +0 -75
- package/lib/core-ui/components/badge/badge.component.d.ts +0 -27
- package/lib/core-ui/components/banner/banner.component.d.ts +0 -40
- package/lib/core-ui/components/banner/banner.models.d.ts +0 -14
- package/lib/core-ui/components/button/button.component.d.ts +0 -87
- package/lib/core-ui/components/button-group/button-group.component.d.ts +0 -34
- package/lib/core-ui/components/card/card.component.d.ts +0 -26
- package/lib/core-ui/components/collapsible/collapsible.component.d.ts +0 -56
- package/lib/core-ui/components/counter/counter.component.d.ts +0 -32
- package/lib/core-ui/components/ellipsis/ellipsis.component.d.ts +0 -64
- package/lib/core-ui/components/empty-state/empty-state.component.d.ts +0 -83
- package/lib/core-ui/components/page-header/page-header.component.d.ts +0 -85
- package/lib/core-ui/components/skeleton/skeleton.component.d.ts +0 -40
- package/lib/core-ui/components/spinner/spinner.component.d.ts +0 -30
- package/lib/core-ui/components/stepper/stepper.component.d.ts +0 -76
- package/lib/core-ui/components/table/table-header/table-header.component.d.ts +0 -55
- package/lib/core-ui/components/table/table.component.d.ts +0 -83
- package/lib/core-ui/components/tokenizer/token/token.component.d.ts +0 -26
- package/lib/core-ui/components/tokenizer/tokenizer-overflow-popover/tokenizer-overflow-popover.component.d.ts +0 -57
- package/lib/core-ui/components/tokenizer/tokenizer.component.d.ts +0 -97
- package/lib/core-ui/core-ui.constants.d.ts +0 -16
- package/lib/core-ui/core-ui.module.d.ts +0 -72
- package/lib/core-ui/directives/after-view-init.directive.d.ts +0 -19
- package/lib/core-ui/directives/autoclose-group.service.d.ts +0 -12
- package/lib/core-ui/directives/autoclose.directive.d.ts +0 -26
- package/lib/core-ui/directives/autofocus.directive.d.ts +0 -13
- package/lib/core-ui/functions/core-css.helpers.d.ts +0 -10
- package/lib/core-ui/functions/highlight-text.function.d.ts +0 -29
- package/lib/core-ui/icon/fa-to-sap-icon.pipe.d.ts +0 -23
- package/lib/core-ui/icon/icon-map.d.ts +0 -13
- package/lib/core-ui/linkify/linkify.pipe.d.ts +0 -59
- package/lib/core-ui/linkify/unlinkify.pipe.d.ts +0 -20
- package/lib/core-ui/pipes/br.pipe.d.ts +0 -9
- package/lib/core-ui/pipes/contrast-color.pipe.d.ts +0 -7
- package/lib/core-ui/pipes/custom-date.pipe.d.ts +0 -28
- package/lib/core-ui/pipes/display-avatars.pipe.d.ts +0 -12
- package/lib/core-ui/pipes/highlight-range.pipe.d.ts +0 -9
- package/lib/core-ui/pipes/highlight-term.pipe.d.ts +0 -23
- package/lib/core-ui/pipes/lx-is-uuid.pipe.d.ts +0 -7
- package/lib/core-ui/pipes/lx-time-ago.pipe.d.ts +0 -8
- package/lib/core-ui/pipes/lx-translate.pipe.d.ts +0 -17
- package/lib/core-ui/pipes/markdown.pipe.d.ts +0 -14
- package/lib/core-ui/pipes/nbsp.pipe.d.ts +0 -7
- package/lib/core-ui/pipes/sort.pipe.d.ts +0 -13
- package/lib/core-ui/pipes/translation-after.pipe.d.ts +0 -17
- package/lib/core-ui/pipes/translation-before.pipe.d.ts +0 -32
- package/lib/core-ui/pipes/translation-between.pipe.d.ts +0 -37
- package/lib/core-ui/pipes/unescape-curly-braces.pipe.d.ts +0 -7
- package/lib/core-ui/services/resize-observer.service.d.ts +0 -33
- package/lib/core-ui/tooltip/to-cdk-position.function.d.ts +0 -3
- package/lib/core-ui/tooltip/tooltip-position.interface.d.ts +0 -6
- package/lib/core-ui/tooltip/tooltip.component.d.ts +0 -39
- package/lib/core-ui/tooltip/tooltip.directive.d.ts +0 -38
- package/lib/forms-ui/components/basic-dropdown/basic-dropdown.component.d.ts +0 -127
- package/lib/forms-ui/components/basic-dropdown-item/basic-dropdown-item.component.d.ts +0 -53
- package/lib/forms-ui/components/breadcrumb/breadcrumb.component.d.ts +0 -48
- package/lib/forms-ui/components/cdk-options-dropdown/cdk-options-dropdown.component.d.ts +0 -73
- package/lib/forms-ui/components/cdk-options-sub-dropdown/cdk-options-sub-dropdown.component.d.ts +0 -49
- package/lib/forms-ui/components/currency/currency-input.component.d.ts +0 -113
- package/lib/forms-ui/components/currency/currency-symbol-map.constant.d.ts +0 -3
- package/lib/forms-ui/components/currency/currency-symbol.component.d.ts +0 -27
- package/lib/forms-ui/components/date-input/date-input.component.d.ts +0 -259
- package/lib/forms-ui/components/date-picker-ui/date-formatter.d.ts +0 -4
- package/lib/forms-ui/components/date-picker-ui/datepicker-inner.component.d.ts +0 -113
- package/lib/forms-ui/components/date-picker-ui/datepicker-ui.module.d.ts +0 -9
- package/lib/forms-ui/components/date-picker-ui/datepicker.component.d.ts +0 -81
- package/lib/forms-ui/components/date-picker-ui/datepicker.config.d.ts +0 -22
- package/lib/forms-ui/components/date-picker-ui/daypicker.component.d.ts +0 -23
- package/lib/forms-ui/components/date-picker-ui/isBs3.d.ts +0 -1
- package/lib/forms-ui/components/date-picker-ui/monthpicker.component.d.ts +0 -20
- package/lib/forms-ui/components/date-picker-ui/yearpicker.component.d.ts +0 -20
- package/lib/forms-ui/components/drag-and-drop-list/constants.d.ts +0 -4
- package/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list-item/drag-and-drop-list-item.component.d.ts +0 -68
- package/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.component.d.ts +0 -104
- package/lib/forms-ui/components/drag-and-drop-list/drag-and-drop-list.module.d.ts +0 -13
- package/lib/forms-ui/components/drag-and-drop-list/keyboard-sortable-item/keyboard-sortable-item.directive.d.ts +0 -38
- package/lib/forms-ui/components/drag-and-drop-list/keyboard-sortable-list/keyboard-sortable-list.directive.d.ts +0 -14
- package/lib/forms-ui/components/error-message/error-message.component.d.ts +0 -23
- package/lib/forms-ui/components/form-error/form-error.component.d.ts +0 -36
- package/lib/forms-ui/components/input/input.component.d.ts +0 -42
- package/lib/forms-ui/components/keyboard-select.directive.d.ts +0 -47
- package/lib/forms-ui/components/multi-select/multi-select-selection/multi-select-selection.component.d.ts +0 -41
- package/lib/forms-ui/components/multi-select/multi-select.component.d.ts +0 -172
- package/lib/forms-ui/components/option/option.component.d.ts +0 -81
- package/lib/forms-ui/components/option-group/option-group.component.d.ts +0 -36
- package/lib/forms-ui/components/option-group-dropdown/option-group-dropdown.component.d.ts +0 -113
- package/lib/forms-ui/components/options-dropdown/options-dropdown.component.d.ts +0 -149
- package/lib/forms-ui/components/options-sub-dropdown/options-sub-dropdown.component.d.ts +0 -48
- package/lib/forms-ui/components/picker/picker-trigger.directive.d.ts +0 -19
- package/lib/forms-ui/components/picker/picker.component.d.ts +0 -99
- package/lib/forms-ui/components/picker-option/picker-option.component.d.ts +0 -78
- package/lib/forms-ui/components/pill-item/pill-item.component.d.ts +0 -38
- package/lib/forms-ui/components/pill-list/pill-list.component.d.ts +0 -88
- package/lib/forms-ui/components/responsive-input/responsive-input.component.d.ts +0 -51
- package/lib/forms-ui/components/rich-text-editor/components/rich-text-editor/rich-text-editor.component.d.ts +0 -34
- package/lib/forms-ui/components/rich-text-editor/components/rich-text-editor-toolbar/rich-text-editor-toolbar.component.d.ts +0 -49
- package/lib/forms-ui/components/rich-text-editor/directives/focus-editor.directive.d.ts +0 -8
- package/lib/forms-ui/components/rich-text-editor/directives/tiptap-editor.directive.d.ts +0 -23
- package/lib/forms-ui/components/rich-text-editor/extensions/highlight-term/highlight-term-state.plugin.d.ts +0 -8
- package/lib/forms-ui/components/rich-text-editor/extensions/highlight-term/highlight-term.directive.d.ts +0 -8
- package/lib/forms-ui/components/rich-text-editor/extensions/highlight-term/highlight-term.extension.d.ts +0 -9
- package/lib/forms-ui/components/rich-text-editor/extensions/highlight-term/highlight-term.plugin.d.ts +0 -5
- package/lib/forms-ui/components/rich-text-editor/extensions/link/components/link-modal/link-modal.component.d.ts +0 -33
- package/lib/forms-ui/components/rich-text-editor/extensions/link/link.extension.d.ts +0 -8
- package/lib/forms-ui/components/rich-text-editor/extensions/link/link.plugin.d.ts +0 -10
- package/lib/forms-ui/components/rich-text-editor/extensions/link/url-validator.directive.d.ts +0 -7
- package/lib/forms-ui/components/rich-text-editor/extensions/table/index.d.ts +0 -2
- package/lib/forms-ui/components/rich-text-editor/extensions/table/table-bubble-menu/table-bubble-menu.component.d.ts +0 -30
- package/lib/forms-ui/components/rich-text-editor/extensions/table/table-extensions.d.ts +0 -4
- package/lib/forms-ui/components/rich-text-editor/extensions/table/utils.d.ts +0 -28
- package/lib/forms-ui/components/rich-text-editor/extensions/tracking/tracking.directive.d.ts +0 -8
- package/lib/forms-ui/components/rich-text-editor/extensions/tracking/tracking.extension.d.ts +0 -10
- package/lib/forms-ui/components/rich-text-editor/extensions/tracking/tracking.plugin.d.ts +0 -4
- package/lib/forms-ui/components/rich-text-editor/extensions/truncate/index.d.ts +0 -2
- package/lib/forms-ui/components/rich-text-editor/extensions/truncate/truncate-button.component.d.ts +0 -22
- package/lib/forms-ui/components/rich-text-editor/extensions/truncate/truncate.directive.d.ts +0 -9
- package/lib/forms-ui/components/rich-text-editor/extensions/truncate/truncate.extension.d.ts +0 -6
- package/lib/forms-ui/components/rich-text-editor/extensions/truncate/truncate.plugin.d.ts +0 -10
- package/lib/forms-ui/components/rich-text-editor/ngx-tiptap/AngularRenderer.d.ts +0 -12
- package/lib/forms-ui/components/rich-text-editor/ngx-tiptap/NodeViewRenderer.d.ts +0 -18
- package/lib/forms-ui/components/rich-text-editor/ngx-tiptap/editor.directive.d.ts +0 -24
- package/lib/forms-ui/components/rich-text-editor/ngx-tiptap/node-view.component.d.ts +0 -27
- package/lib/forms-ui/components/rich-text-editor/pipes/extension-enabled.pipe.d.ts +0 -8
- package/lib/forms-ui/components/rich-text-editor/pipes/remove-markdown.pipe.d.ts +0 -14
- package/lib/forms-ui/components/rich-text-editor/utils/extensions-builder.d.ts +0 -13
- package/lib/forms-ui/components/rich-text-editor/utils/features.d.ts +0 -3
- package/lib/forms-ui/components/single-select/single-select.component.d.ts +0 -120
- package/lib/forms-ui/components/sorting-dropdown/sorting-dropdown.component.d.ts +0 -47
- package/lib/forms-ui/components/sorting-dropdown-trigger/sorting-dropdown-trigger.component.d.ts +0 -28
- package/lib/forms-ui/components/switch/switch.component.d.ts +0 -57
- package/lib/forms-ui/directives/contenteditable.directive.d.ts +0 -28
- package/lib/forms-ui/directives/form-error.directive.d.ts +0 -41
- package/lib/forms-ui/directives/form-submit.directive.d.ts +0 -12
- package/lib/forms-ui/directives/keyboard-action-source.directive.d.ts +0 -16
- package/lib/forms-ui/directives/mark-invalid.directive.d.ts +0 -15
- package/lib/forms-ui/directives/max-length-counter.directive.d.ts +0 -25
- package/lib/forms-ui/directives/select-dropdown.directive.d.ts +0 -23
- package/lib/forms-ui/directives/selectable-item.directive.d.ts +0 -14
- package/lib/forms-ui/directives/selected-option.directive.d.ts +0 -18
- package/lib/forms-ui/forms-ui.module.d.ts +0 -74
- package/lib/forms-ui/helpers/key-codes.constants.d.ts +0 -11
- package/lib/forms-ui/helpers/keyboard-navigation.helpers.d.ts +0 -12
- package/lib/forms-ui/models/base-select.directive.d.ts +0 -75
- package/lib/forms-ui/models/dropdown-item.interface.d.ts +0 -5
- package/lib/forms-ui/models/single-select-padding.interface.d.ts +0 -1
- package/lib/forms-ui/models/sorting.interface.d.ts +0 -5
- package/lib/forms-ui/pipes/filter-selection.pipe.d.ts +0 -7
- package/lib/forms-ui/pipes/filter-term.pipe.d.ts +0 -10
- package/lib/forms-ui/pipes/format-number.pipe.d.ts +0 -23
- package/lib/forms-ui/validators/date-in-foreseeable-future.validator.d.ts +0 -11
- package/lib/forms-ui/validators/string-not-in-array.validator.d.ts +0 -7
- package/lib/modal-ui/components/modal/modal.component.d.ts +0 -119
- package/lib/modal-ui/components/modal-footer/modal-footer.component.d.ts +0 -25
- package/lib/modal-ui/components/modal-header/modal-header.component.d.ts +0 -29
- package/lib/modal-ui/directives/modal-content.directive.d.ts +0 -5
- package/lib/modal-ui/modal.constants.d.ts +0 -17
- package/lib/popover-ui/components/popover/popover.component.d.ts +0 -116
- package/lib/popover-ui/directives/popover-click.directive.d.ts +0 -23
- package/lib/popover-ui/directives/popover-content.directive.d.ts +0 -8
- package/lib/popover-ui/directives/popover-hover.directive.d.ts +0 -38
- package/lib/shared/date-helpers.d.ts +0 -16
- package/lib/shared/html-helpers.function.d.ts +0 -2
- package/lib/shared/json.helpers.d.ts +0 -7
- package/lib/shared/misc-helpers.d.ts +0 -8
- package/lib/shared/observe.d.ts +0 -8
- package/lib/shared/storybook.helpers.d.ts +0 -12
- package/lib/tab-ui/components/tab/tab.component.d.ts +0 -120
- package/lib/tab-ui/components/tab-group/tab-group-key-codes.enum.d.ts +0 -10
- package/lib/tab-ui/components/tab-group/tab-group.component.d.ts +0 -73
- package/ui5/components/breadcrumbs-item.component.d.ts +0 -22
- package/ui5/components/breadcrumbs.component.d.ts +0 -29
- package/ui5/icons/register-icons.d.ts +0 -4
- package/ui5/ui5.provider.d.ts +0 -15
- package/ui5/utils/get-outer-html-with-shadow-dom.d.ts +0 -15
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { TemplatePortal } from '@angular/cdk/portal';
|
|
2
|
-
import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
3
|
-
import { ActivatedRoute, Router, RouterLinkActive } from '@angular/router';
|
|
4
|
-
import { IconComponent } from '@ui5/webcomponents-ngx/main/icon';
|
|
5
|
-
import { Observable } from 'rxjs';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Individual tab component used inside `lx-tab-group`.
|
|
9
|
-
* Supports icons, counters, router links, and keyboard navigation.
|
|
10
|
-
* Content is projected and rendered by the parent tab group when the tab is active.
|
|
11
|
-
*
|
|
12
|
-
* ### Example
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <lx-tab-group>
|
|
16
|
-
* <lx-tab [label]="'General'" [icon]="'settings'" [disabled]="false">
|
|
17
|
-
* <p>General content</p>
|
|
18
|
-
* </lx-tab>
|
|
19
|
-
* <lx-tab [label]="'Notifications'" [counter]="3">
|
|
20
|
-
* <p>Notification content</p>
|
|
21
|
-
* </lx-tab>
|
|
22
|
-
* <lx-tab [label]="'Settings'" [tabLink]="['/settings']">
|
|
23
|
-
* <p>Settings content</p>
|
|
24
|
-
* </lx-tab>
|
|
25
|
-
* </lx-tab-group>
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare class TabComponent {
|
|
29
|
-
private cd;
|
|
30
|
-
private router;
|
|
31
|
-
private activatedRoute;
|
|
32
|
-
/**
|
|
33
|
-
* The icon input takes an SAP icon name.
|
|
34
|
-
* WARNING: Currently this component does not support using an icon together with a counter.
|
|
35
|
-
*/
|
|
36
|
-
icon?: string;
|
|
37
|
-
/**
|
|
38
|
-
* The design of the icon.
|
|
39
|
-
* @default NonInteractive
|
|
40
|
-
*/
|
|
41
|
-
iconDesign: IconComponent['design'];
|
|
42
|
-
/**
|
|
43
|
-
* The label text displayed for the tab.
|
|
44
|
-
* @default ''
|
|
45
|
-
*/
|
|
46
|
-
label: string;
|
|
47
|
-
/**
|
|
48
|
-
* Optional title attribute for the tab element (shown on hover).
|
|
49
|
-
*/
|
|
50
|
-
title?: string;
|
|
51
|
-
/**
|
|
52
|
-
* Router link for tab navigation. Accepts both string and array formats.
|
|
53
|
-
* When set, the tab will navigate to the specified route when selected.
|
|
54
|
-
*/
|
|
55
|
-
tabLink?: string | any[];
|
|
56
|
-
/**
|
|
57
|
-
* Counter badge displayed on the tab.
|
|
58
|
-
* WARNING: Currently this component does not support using a counter together with an icon.
|
|
59
|
-
*/
|
|
60
|
-
counter?: number;
|
|
61
|
-
/**
|
|
62
|
-
* Options for the RouterLinkActive directive.
|
|
63
|
-
* @default { exact: true }
|
|
64
|
-
*/
|
|
65
|
-
routerLinkActiveOptions: {
|
|
66
|
-
exact: boolean;
|
|
67
|
-
};
|
|
68
|
-
/**
|
|
69
|
-
* Size of the counter badge.
|
|
70
|
-
* @default 'default'
|
|
71
|
-
*/
|
|
72
|
-
counterBadgeSize: 'default' | 'small';
|
|
73
|
-
/**
|
|
74
|
-
* Whether to remove margin from the tab.
|
|
75
|
-
* @default false
|
|
76
|
-
*/
|
|
77
|
-
noMargin: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Whether to remove left margin for the first tab.
|
|
80
|
-
* @default false
|
|
81
|
-
*/
|
|
82
|
-
noLeftMarginForFirstTab: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Background color of the tab.
|
|
85
|
-
* @default 'white'
|
|
86
|
-
*/
|
|
87
|
-
background: 'white' | 'gray';
|
|
88
|
-
/**
|
|
89
|
-
* Whether the tab is disabled and cannot be selected.
|
|
90
|
-
* @default false
|
|
91
|
-
*/
|
|
92
|
-
disabled: boolean;
|
|
93
|
-
/**
|
|
94
|
-
* Event emitted when the tab is selected.
|
|
95
|
-
*/
|
|
96
|
-
switch: EventEmitter<any>;
|
|
97
|
-
/**
|
|
98
|
-
* Event emitted when a keyboard key is pressed on the tab.
|
|
99
|
-
*/
|
|
100
|
-
keyDownAction: EventEmitter<KeyboardEvent>;
|
|
101
|
-
tabId: string;
|
|
102
|
-
content?: TemplatePortal<any>;
|
|
103
|
-
tabElement?: ElementRef<HTMLElement>;
|
|
104
|
-
routerLinkActive$: Observable<RouterLinkActive>;
|
|
105
|
-
routerLinkActive?: RouterLinkActive;
|
|
106
|
-
/**
|
|
107
|
-
* Used by the lx-tab-group to be notified when a lx-tab that is a link
|
|
108
|
-
* is set to active by the Angular router.
|
|
109
|
-
*/
|
|
110
|
-
routerLinkActiveChange$: Observable<boolean>;
|
|
111
|
-
set isActive(value: boolean);
|
|
112
|
-
get isActive(): boolean;
|
|
113
|
-
private _isActive;
|
|
114
|
-
constructor(cd: ChangeDetectorRef, router: Router, activatedRoute: ActivatedRoute);
|
|
115
|
-
select(): void;
|
|
116
|
-
setFocus(): void;
|
|
117
|
-
handleKeyDown(event: KeyboardEvent): void;
|
|
118
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
119
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "lx-tab", never, { "icon": { "alias": "icon"; "required": false; }; "iconDesign": { "alias": "iconDesign"; "required": false; }; "label": { "alias": "label"; "required": false; }; "title": { "alias": "title"; "required": false; }; "tabLink": { "alias": "tabLink"; "required": false; }; "counter": { "alias": "counter"; "required": false; }; "routerLinkActiveOptions": { "alias": "routerLinkActiveOptions"; "required": false; }; "counterBadgeSize": { "alias": "counterBadgeSize"; "required": false; }; "noMargin": { "alias": "noMargin"; "required": false; }; "noLeftMarginForFirstTab": { "alias": "noLeftMarginForFirstTab"; "required": false; }; "background": { "alias": "background"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "switch": "switch"; "keyDownAction": "keyDownAction"; }, never, ["*"], true, never>;
|
|
120
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { AfterContentInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, QueryList, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { Observable, Subject } from 'rxjs';
|
|
3
|
-
import { TabComponent } from '../tab/tab.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* Container for tab navigation that manages active tab state and keyboard interactions.
|
|
7
|
-
* Supports both static tabs and router-linked tabs with keyboard navigation (arrow keys, Home, End).
|
|
8
|
-
*
|
|
9
|
-
* ### Content Projection
|
|
10
|
-
* - Project `lx-tab` components as children
|
|
11
|
-
*
|
|
12
|
-
* ### Example
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <lx-tab-group [selectedIndex]="0" (indexChange)="onTabChange($event)">
|
|
16
|
-
* <lx-tab [label]="'General'" [icon]="'settings'">
|
|
17
|
-
* <p>General content</p>
|
|
18
|
-
* </lx-tab>
|
|
19
|
-
* <lx-tab [label]="'Notifications'" [counter]="3">
|
|
20
|
-
* <p>Notification content</p>
|
|
21
|
-
* </lx-tab>
|
|
22
|
-
* </lx-tab-group>
|
|
23
|
-
* ```
|
|
24
|
-
*/
|
|
25
|
-
export declare class TabGroupComponent implements OnChanges, AfterContentInit, OnDestroy {
|
|
26
|
-
private cd;
|
|
27
|
-
/**
|
|
28
|
-
* Whether the tabs should be centered.
|
|
29
|
-
* @default false
|
|
30
|
-
*/
|
|
31
|
-
isCentered: boolean;
|
|
32
|
-
/**
|
|
33
|
-
* The index of the tab whose content should be displayed.
|
|
34
|
-
* @default 0
|
|
35
|
-
*/
|
|
36
|
-
selectedIndex: number;
|
|
37
|
-
/**
|
|
38
|
-
* Event emitted when the selected tab index changes.
|
|
39
|
-
*/
|
|
40
|
-
indexChange: EventEmitter<number>;
|
|
41
|
-
/** @internal */
|
|
42
|
-
tabsQueryList$: Observable<QueryList<TabComponent>>;
|
|
43
|
-
/** @internal */
|
|
44
|
-
tabsQueryList?: QueryList<TabComponent>;
|
|
45
|
-
/** @internal */
|
|
46
|
-
tabListElement?: ElementRef<HTMLElement>;
|
|
47
|
-
/**
|
|
48
|
-
* The tab that is currently focused via keyboard.
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
|
-
focusedIndex: number;
|
|
52
|
-
/** @internal */
|
|
53
|
-
get tabIds(): string[];
|
|
54
|
-
private get tabs();
|
|
55
|
-
/** @internal */
|
|
56
|
-
get activeTabPortal(): import("@angular/cdk/portal").TemplatePortal<any> | undefined;
|
|
57
|
-
/** @internal */
|
|
58
|
-
readonly destroyed$: Subject<void>;
|
|
59
|
-
constructor(cd: ChangeDetectorRef);
|
|
60
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
61
|
-
ngAfterContentInit(): void;
|
|
62
|
-
ngOnDestroy(): void;
|
|
63
|
-
/** @internal */
|
|
64
|
-
onFocusOut(event: any): void;
|
|
65
|
-
/** @internal */
|
|
66
|
-
switchTo(tab: TabComponent): void;
|
|
67
|
-
/** @internal */
|
|
68
|
-
handleKeyDown(event: KeyboardEvent): void;
|
|
69
|
-
private focusTab;
|
|
70
|
-
private listenToFirstTabSelectByAngularRouterForTabLinks;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TabGroupComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabGroupComponent, "lx-tab-group", never, { "isCentered": { "alias": "isCentered"; "required": false; }; "selectedIndex": { "alias": "selectedIndex"; "required": false; }; }, { "indexChange": "indexChange"; }, ["tabsQueryList"], ["*"], true, never>;
|
|
73
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { BreadcrumbsItemComponent as Ui5BreadcrumbsItemComponent } from '@ui5/webcomponents-ngx/main/breadcrumbs-item';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* This component extends the `ui5-breadcrumbs-item` component from `@ui5/webcomponents-ngx`.
|
|
5
|
-
* This extension is needed for Angular versions before 20 to sync Angular's `RouterLink` directive
|
|
6
|
-
* with the `href` attribute of the `ui5-breadcrumbs-item`.
|
|
7
|
-
*
|
|
8
|
-
* **Why?** Support for custom elements in the `RouterLink` directive was added in Angular 20.
|
|
9
|
-
* For older versions, this component allows using the `RouterLink` on a `ui5-breadcrumb-item`.
|
|
10
|
-
*
|
|
11
|
-
* @see https://github.com/angular/angular/commit/ff98ccb19391ed4e04528b82771c04ad67067d68
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
export declare class BreadcrumbsItemComponent extends Ui5BreadcrumbsItemComponent {
|
|
15
|
-
private readonly router;
|
|
16
|
-
private readonly routerLinkInstance;
|
|
17
|
-
private readonly locationStrategy;
|
|
18
|
-
readonly routerLink: import("@angular/core").InputSignal<string | any[] | import("@angular/router").UrlTree | null | undefined>;
|
|
19
|
-
readonly updateBreadcrumbHref: import("@angular/core").EffectRef;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbsItemComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbsItemComponent, "ui5-breadcrumbs-item", never, { "routerLink": { "alias": "routerLink"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
22
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { BreadcrumbsComponent as Ui5BreadcrumbsComponent } from '@ui5/webcomponents-ngx/main/breadcrumbs';
|
|
2
|
-
import { BreadcrumbsItemClickEventDetail } from '@ui5/webcomponents/dist/Breadcrumbs.js';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Enables users to navigate between items by providing a list of links to previous steps in the user's navigation path.
|
|
6
|
-
*
|
|
7
|
-
* It helps the user to be aware of their location within the application and allows faster navigation.
|
|
8
|
-
*
|
|
9
|
-
* This component extends the `ui5-breadcrumbs` component from `@ui5/webcomponents-ngx`.
|
|
10
|
-
* See the [UI5 Breadcrumb documentation](https://ui5.github.io/webcomponents/components/Breadcrumbs) for more info.
|
|
11
|
-
*
|
|
12
|
-
* This extension allows using the `RouterLink` directive on `ui5-breadcrumbs-item` components.
|
|
13
|
-
*
|
|
14
|
-
* @example ```html
|
|
15
|
-
* <ui5-breadcrumbs>
|
|
16
|
-
* <ui5-breadcrumbs-item routerLink="/inventory">Inventory</ui5-breadcrumbs-item>
|
|
17
|
-
* <ui5-breadcrumbs-item routerLink="/inventory/agile-tracking">Agile Tracking</ui5-breadcrumbs-item>
|
|
18
|
-
* <ui5-breadcrumbs-item routerLink="/inventory/agile-tracking/settings">Settings</ui5-breadcrumbs-item>
|
|
19
|
-
* </ui5-breadcrumbs>
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare class BreadcrumbsComponent extends Ui5BreadcrumbsComponent {
|
|
23
|
-
/**
|
|
24
|
-
* @internal
|
|
25
|
-
*/
|
|
26
|
-
onClick(event: CustomEvent<BreadcrumbsItemClickEventDetail>): void;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BreadcrumbsComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BreadcrumbsComponent, "ui5-breadcrumbs", never, {}, {}, never, ["*"], true, never>;
|
|
29
|
-
}
|
package/ui5/ui5.provider.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Sets up providers necessary to use UI5 components in the application.
|
|
3
|
-
*
|
|
4
|
-
* @usageNotes
|
|
5
|
-
*
|
|
6
|
-
* Basic example of how you can add UI5 to your application:
|
|
7
|
-
* ```ts
|
|
8
|
-
* import { provideUi5 } from '@leanix/components/ui5';
|
|
9
|
-
*
|
|
10
|
-
* bootstrapApplication(AppComponent, {
|
|
11
|
-
* providers: [provideUi5()]
|
|
12
|
-
* });
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
export declare const provideUi5: () => import("@angular/core").EnvironmentProviders;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
* A replacement for `HTMLElement.outerHTML`, but works with web components shadow DOM.
|
|
4
|
-
* Returns a string of outer HTML of a DOM node, inlining shadow DOM for web components.
|
|
5
|
-
* (@see TRAVERSED_ELEMENTS_SELECTOR for the list of supported web components.)
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* @description
|
|
9
|
-
* Solves the problem of getting the full HTML structure of web components,
|
|
10
|
-
* as `element.outerHTML` does not include shadow DOM.
|
|
11
|
-
* This function inlines shadow DOM into a <template> tag inside the component root.
|
|
12
|
-
* It helps to keep the shadow DOM structure and preserve style encapsulation.
|
|
13
|
-
* Also includes whitelisted styles from computed styles into the component root as inline styles (@see WEB_COMPONENT_STYLE_PROPERTIES_WHITELIST).
|
|
14
|
-
*/
|
|
15
|
-
export declare function getOuterHtmlWithShadowDom(rootNode: HTMLElement): string;
|