@leanix/components 0.4.853 → 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,64 +0,0 @@
|
|
|
1
|
-
import { AfterViewChecked, ChangeDetectorRef, ElementRef, InjectionToken, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
4
|
-
import { ResizeObserverService } from '../../services/resize-observer.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare const LX_ELLIPSIS_DEBOUNCE_ON_RESIZE: InjectionToken<number>;
|
|
7
|
-
/**
|
|
8
|
-
* You can set `max-width` CSS property on your `lx-ellipsis` host element or the parent element if you want its content to never exceed a specific width.
|
|
9
|
-
* The component automatically truncates overflowing text and provides a "Show more" / "Show less" toggle button.
|
|
10
|
-
*
|
|
11
|
-
* ### Example
|
|
12
|
-
* @example
|
|
13
|
-
* ```html
|
|
14
|
-
* <lx-ellipsis [content]="longDescription" style="max-width: 300px;" />
|
|
15
|
-
* <lx-ellipsis [content]="userInput" [escapeHtmlInContent]="true" />
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare class EllipsisComponent implements OnInit, OnDestroy, AfterViewChecked {
|
|
19
|
-
private debounceMsAfterResize;
|
|
20
|
-
private cdRef;
|
|
21
|
-
private hostEl;
|
|
22
|
-
private resizeObserverService;
|
|
23
|
-
private translateService;
|
|
24
|
-
/** @internal */
|
|
25
|
-
static DEFAULT_RESIZE_DEBOUNCE_MS: number;
|
|
26
|
-
/**
|
|
27
|
-
* The text content to display and potentially truncate.
|
|
28
|
-
* @default ''
|
|
29
|
-
*/
|
|
30
|
-
content: string;
|
|
31
|
-
/**
|
|
32
|
-
* Only set this to false if the content is not a user provided string
|
|
33
|
-
* or if you sanitize the provided content yourself.
|
|
34
|
-
* @default true
|
|
35
|
-
*/
|
|
36
|
-
escapeHtmlInContent: boolean;
|
|
37
|
-
private contentSpanEl$;
|
|
38
|
-
/** @internal */
|
|
39
|
-
contentSpanEl: ElementRef<HTMLSpanElement>;
|
|
40
|
-
private showMoreButtonEl$;
|
|
41
|
-
/** @internal */
|
|
42
|
-
showMoreButtonEl: ElementRef<HTMLButtonElement>;
|
|
43
|
-
/** @internal */
|
|
44
|
-
isShowingMore$: BehaviorSubject<boolean>;
|
|
45
|
-
/** @internal */
|
|
46
|
-
showButton$: Observable<boolean>;
|
|
47
|
-
/** @internal */
|
|
48
|
-
showMoreButtonLabel$: Observable<string>;
|
|
49
|
-
/** @internal */
|
|
50
|
-
sanitizedContent$: Observable<string>;
|
|
51
|
-
private content$;
|
|
52
|
-
private destroyed$;
|
|
53
|
-
private viewChecked$;
|
|
54
|
-
constructor(debounceMsAfterResize: number, cdRef: ChangeDetectorRef, hostEl: ElementRef, resizeObserverService: ResizeObserverService, translateService: TranslateService);
|
|
55
|
-
ngOnInit(): void;
|
|
56
|
-
ngAfterViewChecked(): void;
|
|
57
|
-
/** @internal */
|
|
58
|
-
onShowMoreToggle(): void;
|
|
59
|
-
ngOnDestroy(): void;
|
|
60
|
-
private detectChangesWhenObservableEmits;
|
|
61
|
-
private isContentOverflowing;
|
|
62
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EllipsisComponent, never>;
|
|
63
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EllipsisComponent, "lx-ellipsis", never, { "content": { "alias": "content"; "required": false; }; "escapeHtmlInContent": { "alias": "escapeHtmlInContent"; "required": false; }; }, {}, never, never, true, never>;
|
|
64
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, Signal } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Displays an empty state with an optional icon, title, description, action buttons, and a more link.
|
|
5
|
-
* Useful for showing initial states before data is loaded or when no data is available.
|
|
6
|
-
*
|
|
7
|
-
* ### Projection slots
|
|
8
|
-
* - Default slot: Description text or additional content to display below the title
|
|
9
|
-
*
|
|
10
|
-
* ### Example
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <lx-empty-state
|
|
14
|
-
* [title]="'No items found'"
|
|
15
|
-
* [icon]="'inbox'"
|
|
16
|
-
* [buttonLabel]="'Add Item'"
|
|
17
|
-
* [secondaryButtonLabel]="'Import'"
|
|
18
|
-
* [moreLinkLabel]="'Learn more'"
|
|
19
|
-
* [moreLink]="'https://docs.example.com'"
|
|
20
|
-
* (buttonClicked)="onAddItem()"
|
|
21
|
-
* (secondaryButtonClicked)="onImport()"
|
|
22
|
-
* >
|
|
23
|
-
* <p>Start by adding your first item or importing existing data.</p>
|
|
24
|
-
* </lx-empty-state>
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export declare class EmptyStateComponent {
|
|
28
|
-
/**
|
|
29
|
-
* The title to be displayed. Can contain HTML.
|
|
30
|
-
*/
|
|
31
|
-
title: import("@angular/core").InputSignal<string>;
|
|
32
|
-
/**
|
|
33
|
-
* The SAP icon name to show in the empty state (e.g., 'inbox', 'add-document').
|
|
34
|
-
*/
|
|
35
|
-
icon: import("@angular/core").InputSignal<string | undefined>;
|
|
36
|
-
/**
|
|
37
|
-
* The main call-to-action button label. If not provided, the button will not be shown.
|
|
38
|
-
*/
|
|
39
|
-
buttonLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
40
|
-
/**
|
|
41
|
-
* The secondary call-to-action button label. If not provided, the button will not be shown.
|
|
42
|
-
*/
|
|
43
|
-
secondaryButtonLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
44
|
-
/**
|
|
45
|
-
* Whether the empty state is in a loading state. If true, action buttons will show a spinner.
|
|
46
|
-
* @default false
|
|
47
|
-
*/
|
|
48
|
-
loading: import("@angular/core").InputSignal<boolean>;
|
|
49
|
-
/**
|
|
50
|
-
* The text label for the more link.
|
|
51
|
-
*/
|
|
52
|
-
moreLinkLabel: import("@angular/core").InputSignal<string | undefined>;
|
|
53
|
-
/**
|
|
54
|
-
* The URL of the more link. Can be a string for external links or an array for Angular router links.
|
|
55
|
-
*/
|
|
56
|
-
moreLink: import("@angular/core").InputSignal<string | string[] | undefined>;
|
|
57
|
-
/**
|
|
58
|
-
* Whether the more link should be opened in a new tab.
|
|
59
|
-
* @default true
|
|
60
|
-
*/
|
|
61
|
-
openMoreLinkInNewTab: import("@angular/core").InputSignal<boolean>;
|
|
62
|
-
/**
|
|
63
|
-
* The size of the empty state.
|
|
64
|
-
* @default 'medium'
|
|
65
|
-
*/
|
|
66
|
-
size: import("@angular/core").InputSignal<"small" | "medium">;
|
|
67
|
-
protected useRouterLink: Signal<boolean>;
|
|
68
|
-
protected get _size(): "small" | "medium";
|
|
69
|
-
/**
|
|
70
|
-
* Emitted when the main call-to-action button is clicked.
|
|
71
|
-
*/
|
|
72
|
-
buttonClicked: EventEmitter<MouseEvent>;
|
|
73
|
-
/**
|
|
74
|
-
* Emitted when the secondary call-to-action button is clicked.
|
|
75
|
-
*/
|
|
76
|
-
secondaryButtonClicked: EventEmitter<MouseEvent>;
|
|
77
|
-
/**
|
|
78
|
-
* Emitted when the more link is clicked.
|
|
79
|
-
*/
|
|
80
|
-
moreLinkClicked: EventEmitter<MouseEvent>;
|
|
81
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EmptyStateComponent, never>;
|
|
82
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EmptyStateComponent, "lx-empty-state", never, { "title": { "alias": "title"; "required": true; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; "isSignal": true; }; "secondaryButtonLabel": { "alias": "secondaryButtonLabel"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "moreLinkLabel": { "alias": "moreLinkLabel"; "required": false; "isSignal": true; }; "moreLink": { "alias": "moreLink"; "required": false; "isSignal": true; }; "openMoreLinkInNewTab": { "alias": "openMoreLinkInNewTab"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; }, { "buttonClicked": "buttonClicked"; "secondaryButtonClicked": "secondaryButtonClicked"; "moreLinkClicked": "moreLinkClicked"; }, never, ["*"], true, never>;
|
|
83
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { RouterLink } from '@angular/router';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* The page header acts as a central navigation tool, guiding users through the application and helping them understand their current location.
|
|
5
|
-
* It often includes a back arrow for easy navigation in child pages and may feature a toolbar on the right for quick access to actions or tools.
|
|
6
|
-
* Additionally, it can include a breadcrumb.
|
|
7
|
-
*
|
|
8
|
-
* ### Projection slots
|
|
9
|
-
* - `ui5-breadcrumbs`: Defines the breadcrumbs shown above the page title
|
|
10
|
-
* - `header-title`: Defines the page title content
|
|
11
|
-
* - `header-content`: Defines additional content below the page title
|
|
12
|
-
* - `header-buttons`: Defines the header action buttons
|
|
13
|
-
*
|
|
14
|
-
* ### Using Breadcrumbs
|
|
15
|
-
* To use breadcrumbs, import the `BreadcrumbsComponent` and `BreadcrumbsItemComponent`:
|
|
16
|
-
*
|
|
17
|
-
* ```typescript
|
|
18
|
-
* import { BreadcrumbsComponent, BreadcrumbsItemComponent } from '@leanix/components/ui5';
|
|
19
|
-
* ```
|
|
20
|
-
* [Link to UI5 Breadcrumbs documentation](https://ui5.github.io/webcomponents/components/Breadcrumbs)
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* ### Example
|
|
24
|
-
* @example
|
|
25
|
-
* ```html
|
|
26
|
-
* <lx-page-header [pageTitle]="'Agile Tracking'">
|
|
27
|
-
* <ui5-breadcrumbs>
|
|
28
|
-
* <ui5-breadcrumbs-item routerLink="/">Root Page</ui5-breadcrumbs-item>
|
|
29
|
-
* <ui5-breadcrumbs-item routerLink="/inventory">Inventory</ui5-breadcrumbs-item>
|
|
30
|
-
* <ui5-breadcrumbs-item>Agile Tracking</ui5-breadcrumbs-item>
|
|
31
|
-
* </ui5-breadcrumbs>
|
|
32
|
-
* <ng-container header-buttons>
|
|
33
|
-
* <button lx-button size="large" color="primary" icon="add">Add Entity</button>
|
|
34
|
-
* <button lx-button size="large">Settings</button>
|
|
35
|
-
* </ng-container>
|
|
36
|
-
* </lx-page-header>
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export declare class PageHeaderComponent {
|
|
40
|
-
/**
|
|
41
|
-
* Optional title to display in the header.
|
|
42
|
-
* If none is passed down, the component assumes
|
|
43
|
-
* you will pass down a title via the `header-title` projection slot.
|
|
44
|
-
*/
|
|
45
|
-
pageTitle: import("@angular/core").InputSignal<string | undefined>;
|
|
46
|
-
/**
|
|
47
|
-
* Relative URL to navigate back to
|
|
48
|
-
* @deprecated Project the `ui5-breadcrumbs` component for navigation purposes
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
|
-
backUrl: import("@angular/core").InputSignal<string[]>;
|
|
52
|
-
/**
|
|
53
|
-
* Query parameters to append to the `backUrl`
|
|
54
|
-
* @deprecated Project the `ui5-breadcrumbs` component for navigation purposes
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
queryParams: import("@angular/core").InputSignal<{
|
|
58
|
-
[key: string]: string;
|
|
59
|
-
}>;
|
|
60
|
-
/**
|
|
61
|
-
* Accessible name of the back link
|
|
62
|
-
* @deprecated Project the `ui5-breadcrumbs` component for navigation purposes
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
backUrlLabel: import("@angular/core").InputSignal<string | null | undefined>;
|
|
66
|
-
/**
|
|
67
|
-
* Additional navigation state for the back link
|
|
68
|
-
* @deprecated Project the `ui5-breadcrumbs` component for navigation purposes
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
navigationStateOptions: import("@angular/core").InputSignal<Pick<RouterLink, "state">>;
|
|
72
|
-
/**
|
|
73
|
-
* Whether a divider should be shown below the header.
|
|
74
|
-
* @default true
|
|
75
|
-
*/
|
|
76
|
-
showDivider: import("@angular/core").InputSignal<boolean>;
|
|
77
|
-
/**
|
|
78
|
-
* Event emitted when the back icon is clicked.
|
|
79
|
-
* @deprecated Project the `ui5-breadcrumbs` component for navigation purposes
|
|
80
|
-
* @internal
|
|
81
|
-
*/
|
|
82
|
-
backIconClick: import("@angular/core").OutputEmitterRef<void>;
|
|
83
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PageHeaderComponent, never>;
|
|
84
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageHeaderComponent, "lx-page-header", never, { "pageTitle": { "alias": "pageTitle"; "required": false; "isSignal": true; }; "backUrl": { "alias": "backUrl"; "required": false; "isSignal": true; }; "queryParams": { "alias": "queryParams"; "required": false; "isSignal": true; }; "backUrlLabel": { "alias": "backUrlLabel"; "required": false; "isSignal": true; }; "navigationStateOptions": { "alias": "navigationStateOptions"; "required": false; "isSignal": true; }; "showDivider": { "alias": "showDivider"; "required": false; "isSignal": true; }; }, { "backIconClick": "backIconClick"; }, never, ["ui5-breadcrumbs", "[header-title]", "[header-buttons]", "[header-content]"], true, never>;
|
|
85
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Skeleton is a component that can be used to show a loading state of a component.
|
|
4
|
-
*
|
|
5
|
-
* Use skeleton loaders for pages or sections that load content progressively, like text and images. The component can
|
|
6
|
-
* be used to compose various scenarios like placeholders for thumbnails, lists, and avatars. See the example
|
|
7
|
-
* [patterns](?path=/docs/skeleton-patterns--docs) for more details.
|
|
8
|
-
*
|
|
9
|
-
* ### Example
|
|
10
|
-
* @example
|
|
11
|
-
* ```html
|
|
12
|
-
* <lx-skeleton width="100%" height="20px" />
|
|
13
|
-
* <lx-skeleton width="200px" height="200px" borderRadius="50%" />
|
|
14
|
-
* <lx-skeleton width="80%" height="16px" color="dark" />
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export declare class SkeletonComponent {
|
|
18
|
-
/**
|
|
19
|
-
* Width of the skeleton element. Valid CSS values are supported.
|
|
20
|
-
* @default '100%'
|
|
21
|
-
*/
|
|
22
|
-
width?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Height of the skeleton element. Valid CSS values are supported.
|
|
25
|
-
* @default '100%'
|
|
26
|
-
*/
|
|
27
|
-
height?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Border radius of the skeleton element. Valid CSS values are supported.
|
|
30
|
-
* @default '4px'
|
|
31
|
-
*/
|
|
32
|
-
borderRadius?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Color of the skeleton element. 'dark' or 'light' are supported.
|
|
35
|
-
* @default 'light'
|
|
36
|
-
*/
|
|
37
|
-
color: 'dark' | 'light';
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkeletonComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkeletonComponent, "lx-skeleton", never, { "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "borderRadius": { "alias": "borderRadius"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
40
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* The following CSS classes should be used to style this component. The use of the inputs is deprecated.
|
|
4
|
-
* - `fullSpace`: Sets position to absolute with full height and width => fills ancestor with position set.
|
|
5
|
-
* - `fullSpaceFixed`: Sets position to fixed with full height and width => fills window
|
|
6
|
-
* (or ancestor with new rendering context, created, for example, with `transform: translate(0, 0)`
|
|
7
|
-
* - `fadeBackground`: Sets background to 60% transparent white. TODO: Always use for fullSpace* classes and remove.
|
|
8
|
-
*
|
|
9
|
-
* ### Projection slots
|
|
10
|
-
* - Default slot: Optional text or content to display below the spinner
|
|
11
|
-
*
|
|
12
|
-
* @deprecated Use the `ui5-busy-indicator` component instead.
|
|
13
|
-
*
|
|
14
|
-
* ### Example
|
|
15
|
-
* @example
|
|
16
|
-
* ```html
|
|
17
|
-
* <lx-spinner class="fullSpace fadeBackground">Loading...</lx-spinner>
|
|
18
|
-
* <lx-spinner [fadeBackground]="true" />
|
|
19
|
-
* ```
|
|
20
|
-
*/
|
|
21
|
-
export declare class SpinnerComponent {
|
|
22
|
-
/**
|
|
23
|
-
* Applies a semi-transparent white background.
|
|
24
|
-
* @default false
|
|
25
|
-
* @deprecated Use the `fadeBackground` CSS class instead.
|
|
26
|
-
*/
|
|
27
|
-
fadeBackground: boolean;
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "lx-spinner", never, { "fadeBackground": { "alias": "fadeBackground"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
30
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { CdkStepper } from '@angular/cdk/stepper';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Stepper component is a wrapper around the Angular CDK Stepper component. It provides a way to create a linear
|
|
5
|
-
* sequence of steps that guide users through a process.
|
|
6
|
-
*
|
|
7
|
-
* ### Projection slots
|
|
8
|
-
* Each `cdk-step` element projects its content into the stepper's content area when that step is active.
|
|
9
|
-
*
|
|
10
|
-
* ### Example
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <lx-stepper [selectedIndex]="currentStep">
|
|
14
|
-
* <cdk-step label="Personal Info">
|
|
15
|
-
* <form>
|
|
16
|
-
* <input type="text" placeholder="Name" />
|
|
17
|
-
* </form>
|
|
18
|
-
* </cdk-step>
|
|
19
|
-
* <cdk-step label="Contact Details">
|
|
20
|
-
* <form>
|
|
21
|
-
* <input type="email" placeholder="Email" />
|
|
22
|
-
* </form>
|
|
23
|
-
* </cdk-step>
|
|
24
|
-
* <cdk-step label="Review">
|
|
25
|
-
* <p>Review your information</p>
|
|
26
|
-
* </cdk-step>
|
|
27
|
-
* </lx-stepper>
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* ## Usage
|
|
31
|
-
*
|
|
32
|
-
* 1. Import `LxCoreUiModule` module from `@leanix/components` and `CdkStepperModule` module from `@angular/cdk/stepper` in your module where you want to use the component, or in case of a standalone parent component, import the
|
|
33
|
-
* `StepperComponent` and `CdkStepperModule` directly into your standalone component.
|
|
34
|
-
*
|
|
35
|
-
* - Module import:
|
|
36
|
-
*
|
|
37
|
-
* ```ts
|
|
38
|
-
* import { LxCoreUiModule } from '@leanix/components';
|
|
39
|
-
* import { CdkStepperModule } from '@angular/cdk/stepper';
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* - Standalone component import:
|
|
43
|
-
*
|
|
44
|
-
* ```ts
|
|
45
|
-
* import { StepperComponent } from '@leanix/components';
|
|
46
|
-
* import { CdkStepperModule } from '@angular/cdk/stepper';
|
|
47
|
-
*
|
|
48
|
-
* @Component({
|
|
49
|
-
* selector: 'lx-my-component',
|
|
50
|
-
* imports: [CdkStepperModule, StepperComponent],
|
|
51
|
-
* templateUrl: './my-component.component.html'
|
|
52
|
-
* })
|
|
53
|
-
* export class MyComponent {}
|
|
54
|
-
* ```
|
|
55
|
-
*
|
|
56
|
-
* 2. Use the component in your template. All steps added to the stepper should be wrapped in a `cdk-step` element.
|
|
57
|
-
*
|
|
58
|
-
* Since this component extends the Angular CDK `CdkStepper` component, all the inputs, outputs, and methods available in the
|
|
59
|
-
* `CdkStepper` component are also available in the `StepperComponent` and are documented in the
|
|
60
|
-
* [Angular CDK documentation](https://material.angular.io/cdk/stepper/api).
|
|
61
|
-
*/
|
|
62
|
-
export declare class StepperComponent extends CdkStepper {
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*
|
|
66
|
-
* TODO: remove this dead code
|
|
67
|
-
*/
|
|
68
|
-
size: 'small' | 'normal';
|
|
69
|
-
get isSmallVariant(): boolean;
|
|
70
|
-
/** @internal */
|
|
71
|
-
isCompleted(index: number): boolean;
|
|
72
|
-
/** @internal */
|
|
73
|
-
isActiveStep(index: number): boolean;
|
|
74
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "lx-stepper", never, {}, {}, never, never, true, never>;
|
|
76
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { OrderOption, SortingOptions } from '../../../pipes/sort.pipe';
|
|
3
|
-
import { TableComponent } from '../table.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* The `lx-th` can be used in combination with `lx-table` to implement sortable `<table>` elements.
|
|
7
|
-
* Renders a table header cell with optional sorting functionality.
|
|
8
|
-
*
|
|
9
|
-
* ### Projection slots
|
|
10
|
-
* - Default slot: The header text content
|
|
11
|
-
*
|
|
12
|
-
* ### Example
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <table lx-table [isSortable]="true" [(sort)]="sort">
|
|
16
|
-
* <thead>
|
|
17
|
-
* <tr>
|
|
18
|
-
* <lx-th column="name">Name</lx-th>
|
|
19
|
-
* <lx-th column="date" [disableSortClear]="true">Date</lx-th>
|
|
20
|
-
* <lx-th column="actions" [disableSort]="true">Actions</lx-th>
|
|
21
|
-
* </tr>
|
|
22
|
-
* </thead>
|
|
23
|
-
* </table>
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export declare class TableHeaderComponent {
|
|
27
|
-
#private;
|
|
28
|
-
private parentTable?;
|
|
29
|
-
/**
|
|
30
|
-
* The technical column name used as the key in sort operations. Required for sortable columns.
|
|
31
|
-
*/
|
|
32
|
-
column?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Disables sorting for this column even when the table has sorting enabled.
|
|
35
|
-
* @default false
|
|
36
|
-
*/
|
|
37
|
-
disableSort: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Prevents the user from clearing the sort state.
|
|
40
|
-
* When true, only allows toggling between ascending and descending order.
|
|
41
|
-
* @default false
|
|
42
|
-
*/
|
|
43
|
-
disableSortClear: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Emitted whenever the user changes the sort order by clicking the header.
|
|
46
|
-
* Provides the new sort state with column key and order.
|
|
47
|
-
*/
|
|
48
|
-
sortChange: EventEmitter<SortingOptions>;
|
|
49
|
-
readonly sortable: import("@angular/core").Signal<boolean>;
|
|
50
|
-
readonly order: import("@angular/core").Signal<OrderOption>;
|
|
51
|
-
constructor(parentTable?: TableComponent | undefined);
|
|
52
|
-
onSort(): void;
|
|
53
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableHeaderComponent, [{ optional: true; }]>;
|
|
54
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableHeaderComponent, "lx-th", never, { "column": { "alias": "column"; "required": false; }; "disableSort": { "alias": "disableSort"; "required": false; }; "disableSortClear": { "alias": "disableSortClear"; "required": false; }; }, { "sortChange": "sortChange"; }, never, ["*"], true, never>;
|
|
55
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { SortingOptions } from '../../pipes/sort.pipe';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* The `lx-table` directive can be applied to `<table>` elements to provide a common styling.
|
|
5
|
-
* Furthermore it supports column sorting in combination with `<lx-th>` for table headers.
|
|
6
|
-
*
|
|
7
|
-
* ### Example
|
|
8
|
-
* @example
|
|
9
|
-
* ```html
|
|
10
|
-
* <table lx-table [isSortable]="true" [(sort)]="sort">
|
|
11
|
-
* <thead>
|
|
12
|
-
* <tr>
|
|
13
|
-
* <lx-th column="name">Name</lx-th>
|
|
14
|
-
* <lx-th column="status" [disableSortClear]="true">Status</lx-th>
|
|
15
|
-
* <lx-th column="actions" [disableSort]="true">Actions</lx-th>
|
|
16
|
-
* </tr>
|
|
17
|
-
* </thead>
|
|
18
|
-
* <tbody>
|
|
19
|
-
* <tr>
|
|
20
|
-
* <td>Item 1</td>
|
|
21
|
-
* <td>Active</td>
|
|
22
|
-
* <td><button>Edit</button></td>
|
|
23
|
-
* </tr>
|
|
24
|
-
* </tbody>
|
|
25
|
-
* </table>
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* ## Usage
|
|
29
|
-
*
|
|
30
|
-
* 1. Import the `TableComponent` from `@leanix/components` where you want to use it.
|
|
31
|
-
*
|
|
32
|
-
* ```ts
|
|
33
|
-
* import { TableComponent } from '@leanix/components';
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* 2. Add the `lx-table` directive to your `<table>` element.
|
|
37
|
-
*
|
|
38
|
-
* ```html
|
|
39
|
-
* <table lx-table></table>
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* ## Sortability
|
|
43
|
-
*
|
|
44
|
-
* To provide sortability within a table, the `isSortable` input has to be set to `true`
|
|
45
|
-
* and the columns that support sorting should be `<lx-th>` elements with a column name applied via the `column` input.
|
|
46
|
-
*
|
|
47
|
-
* Sorting can be disabled for individual columns via the `disableSort` input.
|
|
48
|
-
*
|
|
49
|
-
* By default the sort order of columns can be changed between unsorted, ascending, and descending (after descending back to unsorted).
|
|
50
|
-
* To prevent the user from clearing the sort order and just allow toggling between ascending and descending the `disableSortClear` input can be set to `true`.
|
|
51
|
-
*
|
|
52
|
-
* To handle sort changes, the `(sortChange)` output can be used to receive the new sort (`key` of the column and `order` - either `ASC`, `DESC`, or `undefined`).
|
|
53
|
-
*
|
|
54
|
-
* ### Example code
|
|
55
|
-
* ```html
|
|
56
|
-
* <table lx-table [isSortable]="true" [(sort)]="sort" (sortChange)="...">
|
|
57
|
-
* <thead>
|
|
58
|
-
* <lx-th column="column1" [disableSortClear]="false">Allows asc, desc & unsorted</lx-th>
|
|
59
|
-
* <lx-th column="column2" [disableSortClear]="true">Allows only asc & desc</lx-th>
|
|
60
|
-
* <lx-th column="column3" [disableSort]="true">Is not sortable</lx-th>
|
|
61
|
-
* </thead>
|
|
62
|
-
* </table>
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
export declare class TableComponent {
|
|
66
|
-
/**
|
|
67
|
-
* Enables or disables the sortability of the table. When enabled, `<lx-th>` elements with a `column` attribute become sortable.
|
|
68
|
-
* @default false
|
|
69
|
-
*/
|
|
70
|
-
readonly isSortable: import("@angular/core").InputSignal<boolean>;
|
|
71
|
-
/**
|
|
72
|
-
* The sort state of the table containing the column key and sort order (ASC, DESC, or undefined).
|
|
73
|
-
* Can be used with two-way binding to control and react to sort changes.
|
|
74
|
-
* @default {}
|
|
75
|
-
*/
|
|
76
|
-
readonly sort: import("@angular/core").ModelSignal<SortingOptions>;
|
|
77
|
-
/**
|
|
78
|
-
* @internal To be called from `lx-th` elements to set the sort state.
|
|
79
|
-
*/
|
|
80
|
-
onTableHeaderSortChange(sort: SortingOptions): void;
|
|
81
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
|
|
82
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableComponent, "table[lx-table]", never, { "isSortable": { "alias": "isSortable"; "required": false; "isSignal": true; }; "sort": { "alias": "sort"; "required": false; "isSignal": true; }; }, { "sort": "sortChange"; }, never, never, true, never>;
|
|
83
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* A token wrapper component used within `lx-tokenizer` to represent individual items.
|
|
5
|
-
* The tokenizer manages visibility of tokens based on available space.
|
|
6
|
-
*
|
|
7
|
-
* ### Projection slots
|
|
8
|
-
* - Default slot: The content to display inside the token (text, icons, badges, etc.)
|
|
9
|
-
*
|
|
10
|
-
* ### Example
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <lx-tokenizer>
|
|
14
|
-
* <lx-token>Token One</lx-token>
|
|
15
|
-
* <lx-token>Token Two</lx-token>
|
|
16
|
-
* </lx-tokenizer>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare class TokenComponent {
|
|
20
|
-
private elementRef;
|
|
21
|
-
constructor(elementRef: ElementRef<HTMLElement>);
|
|
22
|
-
show(): void;
|
|
23
|
-
hide(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TokenComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TokenComponent, "lx-token", never, {}, {}, never, ["*"], true, never>;
|
|
26
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import { SatPopoverComponent, SatPopoverHorizontalAlign, SatPopoverVerticalAlign } from '@ncstate/sat-popover';
|
|
3
|
-
import { TokenizerComponent } from '../tokenizer.component';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
/**
|
|
6
|
-
* A companion component for `lx-tokenizer` that displays overflowing tokens in a popover.
|
|
7
|
-
* Automatically listens to the tokenizer's overflow events and shows a popover anchored to the counter button.
|
|
8
|
-
*
|
|
9
|
-
* ### Projection slots
|
|
10
|
-
* - `popoverTemplate`: Template to render inside the popover. Receives the `startIndex` of overflowing tokens as context.
|
|
11
|
-
*
|
|
12
|
-
* ### Example
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <lx-tokenizer #tokenizer [active]="true">
|
|
16
|
-
* <lx-token>Item 1</lx-token>
|
|
17
|
-
* <lx-token>Item 2</lx-token>
|
|
18
|
-
* <lx-token>Item 3</lx-token>
|
|
19
|
-
* </lx-tokenizer>
|
|
20
|
-
*
|
|
21
|
-
* <lx-tokenizer-overflow-popover [tokenizer]="tokenizer">
|
|
22
|
-
* <ng-template #popoverTemplate let-startIndex>
|
|
23
|
-
* <div class="overflow-items">
|
|
24
|
-
* @for (item of getOverflowItems(startIndex); track item) {
|
|
25
|
-
* <div>{{ item }}</div>
|
|
26
|
-
* }
|
|
27
|
-
* </div>
|
|
28
|
-
* </ng-template>
|
|
29
|
-
* </lx-tokenizer-overflow-popover>
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
export declare class TokenizerOverflowPopoverComponent {
|
|
33
|
-
private destroyRef;
|
|
34
|
-
private overflowClickSubscription?;
|
|
35
|
-
protected startIndex: import("@angular/core").WritableSignal<number>;
|
|
36
|
-
private changeDetectorRef;
|
|
37
|
-
protected readonly popoverTemplate?: TemplateRef<unknown>;
|
|
38
|
-
protected readonly popover: SatPopoverComponent;
|
|
39
|
-
/**
|
|
40
|
-
* Reference to the tokenizer component to listen for overflow events.
|
|
41
|
-
*/
|
|
42
|
-
tokenizer: import("@angular/core").InputSignal<TokenizerComponent>;
|
|
43
|
-
/**
|
|
44
|
-
* Horizontal alignment of the popover relative to the counter button.
|
|
45
|
-
* @default 'after'
|
|
46
|
-
*/
|
|
47
|
-
horizontalAlign: import("@angular/core").InputSignal<SatPopoverHorizontalAlign>;
|
|
48
|
-
/**
|
|
49
|
-
* Vertical alignment of the popover relative to the counter button.
|
|
50
|
-
* @default 'start'
|
|
51
|
-
*/
|
|
52
|
-
verticalAlign: import("@angular/core").InputSignal<SatPopoverVerticalAlign>;
|
|
53
|
-
constructor();
|
|
54
|
-
protected closePopover(): void;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TokenizerOverflowPopoverComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TokenizerOverflowPopoverComponent, "lx-tokenizer-overflow-popover", never, { "tokenizer": { "alias": "tokenizer"; "required": true; "isSignal": true; }; "horizontalAlign": { "alias": "horizontalAlign"; "required": false; "isSignal": true; }; "verticalAlign": { "alias": "verticalAlign"; "required": false; "isSignal": true; }; }, {}, ["popoverTemplate"], never, true, never>;
|
|
57
|
-
}
|