@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,14 +0,0 @@
|
|
|
1
|
-
import { PipeTransform } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Removes markdown syntax from text.
|
|
5
|
-
* e.g '### This is a heading' will become 'This is a heading'
|
|
6
|
-
*
|
|
7
|
-
* It does not remove links. Links can be post processed by LxLinkifyPipe or LxUnLinkifyPipe
|
|
8
|
-
*/
|
|
9
|
-
export declare class RemoveMarkdownPipe implements PipeTransform {
|
|
10
|
-
transform(markdown: string): string;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveMarkdownPipe, never>;
|
|
12
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<RemoveMarkdownPipe, "lxRemoveMarkdown", true>;
|
|
13
|
-
}
|
|
14
|
-
export declare function markdownToText(md: string): string;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { Extension, Extensions, Node } from '@tiptap/core';
|
|
3
|
-
import { OutputFormat, RichTextEditorFeature } from './features';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export type ExtensionFactory = (injector: Injector) => Node | Extension;
|
|
6
|
-
export declare class ExtensionsBuilder {
|
|
7
|
-
injector: Injector;
|
|
8
|
-
build(features: RichTextEditorFeature[], output: OutputFormat): Extensions;
|
|
9
|
-
buildCustomExtensions(extensionFactories: ExtensionFactory[]): Extensions;
|
|
10
|
-
private pluginRegistry;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExtensionsBuilder, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ExtensionsBuilder>;
|
|
13
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export type OutputFormat = 'json' | 'markdown';
|
|
2
|
-
export type RichTextEditorFeature = 'Heading' | 'Bold' | 'Italic' | 'Underline' | 'Strike' | 'List' | 'TextAlign' | 'Code' | 'Link' | 'Table' | 'Truncate' | 'HighlightTerm';
|
|
3
|
-
export declare const EDITOR_FEATURES: Record<OutputFormat, RichTextEditorFeature[]>;
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { BaseSelectDirective } from '../../models/base-select.directive';
|
|
5
|
-
import { SingleSelectPadding } from '../../models/single-select-padding.interface';
|
|
6
|
-
import { KeyboardSelectAction } from '../keyboard-select.directive';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export type SingleSelectSize = 'default' | 'small' | 'select2' | 'large';
|
|
9
|
-
/**
|
|
10
|
-
* A dropdown component for selecting a single value from a list of options.
|
|
11
|
-
* Implements `ControlValueAccessor` for seamless integration with Angular reactive forms.
|
|
12
|
-
*
|
|
13
|
-
* ### Projection slots
|
|
14
|
-
* - `.selectedOption`: Displays the currently selected value in the input field
|
|
15
|
-
* - `.dropdownComponent`: Contains the dropdown (typically `lx-basic-dropdown`)
|
|
16
|
-
*
|
|
17
|
-
* Alternatively, use `lxSelectDropdown` and `lxSelectedOption` directives on `<ng-template>`.
|
|
18
|
-
*
|
|
19
|
-
* ### Example
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <lx-single-select
|
|
23
|
-
* #select
|
|
24
|
-
* [formControl]="control"
|
|
25
|
-
* (query)="searchTerm = $event">
|
|
26
|
-
* <span class="selectedOption">{{ control.value?.name }}</span>
|
|
27
|
-
* <lx-basic-dropdown
|
|
28
|
-
* class="dropdownComponent"
|
|
29
|
-
* [keyboardSelectAction]="select.optionsKeyboardSelectAction$"
|
|
30
|
-
* [options]="options | lxFilterByTerm: { term: searchTerm }"
|
|
31
|
-
* labelKey="name"
|
|
32
|
-
* (onItemSelected)="select.selectOption($event)">
|
|
33
|
-
* </lx-basic-dropdown>
|
|
34
|
-
* </lx-single-select>
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
export declare class SingleSelectComponent extends BaseSelectDirective implements OnDestroy, AfterViewInit, ControlValueAccessor {
|
|
38
|
-
private cd;
|
|
39
|
-
/** @internal */
|
|
40
|
-
static calculateNewCursorPostionOnKeyboardNavigation(cursorPosition: number, keyCode: number): number;
|
|
41
|
-
/** @internal */
|
|
42
|
-
static getKeyboardSelectAction(cursorPosition: number, keyCode: number): KeyboardSelectAction | null;
|
|
43
|
-
/** The currently selected value. */
|
|
44
|
-
selection: any;
|
|
45
|
-
/** Background color of the selection input field. */
|
|
46
|
-
selectionBackground: 'white' | 'gray';
|
|
47
|
-
/** Size variant of the select component. */
|
|
48
|
-
size: SingleSelectSize;
|
|
49
|
-
/** @deprecated To keep different inputs aligned, we should use the default padding */
|
|
50
|
-
padding?: SingleSelectPadding;
|
|
51
|
-
/** Optional ID attribute for the input element. */
|
|
52
|
-
inputId?: string;
|
|
53
|
-
/** Whether the select field is required. */
|
|
54
|
-
required: boolean;
|
|
55
|
-
/** Whether to close the dropdown when the Tab key is pressed. */
|
|
56
|
-
closeDropdownOnTab: boolean;
|
|
57
|
-
/** Event emitted when the selection changes. */
|
|
58
|
-
selectionChange: EventEmitter<any>;
|
|
59
|
-
/** Event emitted when the input loses focus. */
|
|
60
|
-
blur: EventEmitter<FocusEvent>;
|
|
61
|
-
/** @internal */
|
|
62
|
-
explicitDropdown?: TemplateRef<any>;
|
|
63
|
-
/** @internal */
|
|
64
|
-
explicitSelectedOption?: TemplateRef<any>;
|
|
65
|
-
/** @internal */
|
|
66
|
-
private dropdownComponent?;
|
|
67
|
-
/** @internal */
|
|
68
|
-
implicitSelectedOption: TemplateRef<any>;
|
|
69
|
-
/** @internal */
|
|
70
|
-
implicitDropdown: TemplateRef<any>;
|
|
71
|
-
/** @internal */
|
|
72
|
-
get selectedOptionTmpl(): TemplateRef<any>;
|
|
73
|
-
/** @internal */
|
|
74
|
-
get dropdownTmpl(): TemplateRef<any>;
|
|
75
|
-
/** Whether to show a clear button to remove the selection. */
|
|
76
|
-
allowClear: boolean;
|
|
77
|
-
/** Tab index of the input element for keyboard navigation. */
|
|
78
|
-
tabIndex: number;
|
|
79
|
-
/** Whether to visually mark the input as invalid. */
|
|
80
|
-
markInvalid: boolean;
|
|
81
|
-
/** @internal */
|
|
82
|
-
toggleElement?: ElementRef<HTMLElement>;
|
|
83
|
-
/** @internal */
|
|
84
|
-
queryInput: ElementRef<HTMLInputElement>;
|
|
85
|
-
/** @internal */
|
|
86
|
-
readonly destroyed$: Subject<void>;
|
|
87
|
-
/** @internal */
|
|
88
|
-
isInputFocusedViaTab: boolean;
|
|
89
|
-
constructor(cd: ChangeDetectorRef);
|
|
90
|
-
/** @internal */
|
|
91
|
-
get cursorStyle(): "default" | "text" | "pointer";
|
|
92
|
-
/** @internal */
|
|
93
|
-
resetInput(): void;
|
|
94
|
-
/** @internal */
|
|
95
|
-
focus(): void;
|
|
96
|
-
/** @internal */
|
|
97
|
-
focusAndOpen(): void;
|
|
98
|
-
ngOnDestroy(): void;
|
|
99
|
-
ngAfterViewInit(): void;
|
|
100
|
-
/** @internal */
|
|
101
|
-
selectOption(option: any): void;
|
|
102
|
-
/** @internal */
|
|
103
|
-
removeSelection(): void;
|
|
104
|
-
/** @internal */
|
|
105
|
-
propagateChange(_value: any): void;
|
|
106
|
-
/** @internal */
|
|
107
|
-
writeValue(newSelection: any): void;
|
|
108
|
-
/** @internal */
|
|
109
|
-
setDisabledState(isDisabled: boolean): void;
|
|
110
|
-
/** @internal */
|
|
111
|
-
registerOnChange(fn: any): void;
|
|
112
|
-
/** @internal */
|
|
113
|
-
registerOnTouched(_fn: any): void;
|
|
114
|
-
/** @internal */
|
|
115
|
-
focusedViaTab(): void;
|
|
116
|
-
private determineHighlightIndex;
|
|
117
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SingleSelectComponent, never>;
|
|
118
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SingleSelectComponent, "lx-single-select", never, { "selection": { "alias": "selection"; "required": false; }; "selectionBackground": { "alias": "selectionBackground"; "required": false; }; "size": { "alias": "size"; "required": false; }; "padding": { "alias": "padding"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "required": { "alias": "required"; "required": false; }; "closeDropdownOnTab": { "alias": "closeDropdownOnTab"; "required": false; }; "allowClear": { "alias": "allowClear"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "markInvalid": { "alias": "markInvalid"; "required": false; }; }, { "selectionChange": "selectionChange"; "blur": "blur"; }, ["explicitDropdown", "explicitSelectedOption", "dropdownComponent"], [".selectedOption", ".dropdownComponent"], true, never>;
|
|
119
|
-
static ngAcceptInputType_required: unknown;
|
|
120
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { Sorting, SortingOrder } from '../../models/sorting.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Used for translation. The dash in the name ensures that this will not clash with a DataModel field.
|
|
6
|
-
* This key is used when there is no sorting parameter sent to the allFactSheets query, meaning that the ElasticSearch
|
|
7
|
-
* score will be used for sorting.
|
|
8
|
-
*/
|
|
9
|
-
export declare const RELEVANCE_SORTING_KEY = "lx-relevance";
|
|
10
|
-
/**
|
|
11
|
-
* Dropdown for selecting sorting mode and direction.
|
|
12
|
-
* Displays available sorting options and allows toggling between ascending/descending order.
|
|
13
|
-
*
|
|
14
|
-
* ### Example
|
|
15
|
-
* @example
|
|
16
|
-
* ```html
|
|
17
|
-
* <lx-sorting-dropdown
|
|
18
|
-
* [currentSorting]="{ key: 'name', order: 'asc' }"
|
|
19
|
-
* [sortingOptions]="sortOptions"
|
|
20
|
-
* (apply)="handleSortChange($event)">
|
|
21
|
-
* </lx-sorting-dropdown>
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export declare class SortingDropdownComponent implements OnInit {
|
|
25
|
-
/** The currently active sorting configuration. */
|
|
26
|
-
currentSorting: Sorting | null;
|
|
27
|
-
/**
|
|
28
|
-
* Available sorting options to choose from.
|
|
29
|
-
* @default []
|
|
30
|
-
*/
|
|
31
|
-
sortingOptions: Sorting[];
|
|
32
|
-
/**
|
|
33
|
-
* Whether to show ascending/descending direction options.
|
|
34
|
-
* @default true
|
|
35
|
-
*/
|
|
36
|
-
showDirectionOptions: boolean;
|
|
37
|
-
/** Event emitted when a new sorting configuration is applied. */
|
|
38
|
-
apply: EventEmitter<Sorting>;
|
|
39
|
-
readonly NAME = "SortingDropdownComponent";
|
|
40
|
-
readonly sortingDirections: SortingOrder[];
|
|
41
|
-
ngOnInit(): void;
|
|
42
|
-
applySortingMode(sort: Sorting): void;
|
|
43
|
-
applySortingDirection(sortDirection: SortingOrder): void;
|
|
44
|
-
getSortLabel(key: string): `sorting.${string}.label`;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SortingDropdownComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SortingDropdownComponent, "lx-sorting-dropdown", never, { "currentSorting": { "alias": "currentSorting"; "required": false; }; "sortingOptions": { "alias": "sortingOptions"; "required": false; }; "showDirectionOptions": { "alias": "showDirectionOptions"; "required": false; }; }, { "apply": "apply"; }, never, never, true, never>;
|
|
47
|
-
}
|
package/lib/forms-ui/components/sorting-dropdown-trigger/sorting-dropdown-trigger.component.d.ts
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* Trigger button for the sorting dropdown.
|
|
4
|
-
* Displays the current sorting mode with a dropdown chevron icon.
|
|
5
|
-
*
|
|
6
|
-
* ### Example
|
|
7
|
-
* @example
|
|
8
|
-
* ```html
|
|
9
|
-
* <lx-sorting-dropdown-trigger
|
|
10
|
-
* label="Sort by"
|
|
11
|
-
* currentSortingLabel="Name"
|
|
12
|
-
* [disabled]="false">
|
|
13
|
-
* </lx-sorting-dropdown-trigger>
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
export declare class SortingDropdownTriggerComponent {
|
|
17
|
-
/** Prefix label displayed before the current sorting option (e.g., "Sort by"). */
|
|
18
|
-
label: string;
|
|
19
|
-
/** Label of the currently selected sorting option. */
|
|
20
|
-
currentSortingLabel: string;
|
|
21
|
-
/**
|
|
22
|
-
* Whether the trigger button is disabled.
|
|
23
|
-
* @default false
|
|
24
|
-
*/
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SortingDropdownTriggerComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SortingDropdownTriggerComponent, "lx-sorting-dropdown-trigger", never, { "label": { "alias": "label"; "required": false; }; "currentSortingLabel": { "alias": "currentSortingLabel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* A toggle switch component for selecting between two states (on/off, true/false).
|
|
5
|
-
* Provides a visual toggle with optional label and supports disabled states.
|
|
6
|
-
*
|
|
7
|
-
* ### Example
|
|
8
|
-
* @example
|
|
9
|
-
* ```html
|
|
10
|
-
* <lx-switch
|
|
11
|
-
* [value]="isEnabled"
|
|
12
|
-
* [label]="'Enable notifications'"
|
|
13
|
-
* [labelInFront]="true"
|
|
14
|
-
* (toggle)="handleToggle($event)">
|
|
15
|
-
* </lx-switch>
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare class SwitchComponent {
|
|
19
|
-
/**
|
|
20
|
-
* Current boolean value of the switch (true for on, false for off).
|
|
21
|
-
*/
|
|
22
|
-
value: boolean;
|
|
23
|
-
/**
|
|
24
|
-
* Visual size variant of the switch.
|
|
25
|
-
* @default 'small'
|
|
26
|
-
*/
|
|
27
|
-
size: 'small';
|
|
28
|
-
/**
|
|
29
|
-
* Whether the switch is disabled and cannot be toggled.
|
|
30
|
-
* @default false
|
|
31
|
-
*/
|
|
32
|
-
disabled: boolean;
|
|
33
|
-
/**
|
|
34
|
-
* Text label to display alongside the switch.
|
|
35
|
-
*/
|
|
36
|
-
label: string;
|
|
37
|
-
/**
|
|
38
|
-
* Whether the label should appear before (left of) the switch.
|
|
39
|
-
* @default true
|
|
40
|
-
*/
|
|
41
|
-
labelInFront: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Optional ID attribute for the switch element (prefixed with "tour" for internal use).
|
|
44
|
-
*/
|
|
45
|
-
elementId?: string;
|
|
46
|
-
/**
|
|
47
|
-
* Event emitted when the switch is toggled, returning the new boolean value.
|
|
48
|
-
*/
|
|
49
|
-
toggle: EventEmitter<boolean>;
|
|
50
|
-
/** @internal */
|
|
51
|
-
onToggle(): void;
|
|
52
|
-
get id(): string | null;
|
|
53
|
-
/** @internal */
|
|
54
|
-
focus(checkbox: HTMLInputElement): void;
|
|
55
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "lx-switch", never, { "value": { "alias": "value"; "required": false; }; "size": { "alias": "size"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "label": { "alias": "label"; "required": false; }; "labelInFront": { "alias": "labelInFront"; "required": false; }; "elementId": { "alias": "elementId"; "required": false; }; }, { "toggle": "toggle"; }, never, never, true, never>;
|
|
57
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ContenteditableDirective implements OnChanges {
|
|
5
|
-
private elRef;
|
|
6
|
-
private sanitizer;
|
|
7
|
-
/** Model */
|
|
8
|
-
lxContenteditableModel: string;
|
|
9
|
-
lxContenteditableModelChange: EventEmitter<string>;
|
|
10
|
-
/** Allow (sanitized) html */
|
|
11
|
-
lxContenteditableHtml: boolean | 'trim';
|
|
12
|
-
lxContenteditableHtmlPaste: boolean;
|
|
13
|
-
private emittedValue;
|
|
14
|
-
constructor(elRef: ElementRef<HTMLElement>, sanitizer: DomSanitizer);
|
|
15
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
16
|
-
onInput(initialInlineData?: boolean): void;
|
|
17
|
-
/**
|
|
18
|
-
* @param event {ClipboardEvent}
|
|
19
|
-
*/
|
|
20
|
-
onPaste(event: any): void;
|
|
21
|
-
onDrop(event: MouseEvent): boolean;
|
|
22
|
-
private cleanContent;
|
|
23
|
-
private refreshView;
|
|
24
|
-
private getProperty;
|
|
25
|
-
private sanitize;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ContenteditableDirective, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ContenteditableDirective, "[lxContenteditableModel]", never, { "lxContenteditableModel": { "alias": "lxContenteditableModel"; "required": false; }; "lxContenteditableHtml": { "alias": "lxContenteditableHtml"; "required": false; }; "lxContenteditableHtmlPaste": { "alias": "lxContenteditableHtmlPaste"; "required": false; }; }, { "lxContenteditableModelChange": "lxContenteditableModelChange"; }, never, never, true, never>;
|
|
28
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { ComponentFactoryResolver, DestroyRef, InjectionToken, OnInit, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { AbstractControl, NgControl } from '@angular/forms';
|
|
3
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { FormSubmitDirective } from './form-submit.directive';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export type FormControlErrorDisplayStrategy = (obj: {
|
|
7
|
-
control: AbstractControl;
|
|
8
|
-
submitted?: boolean;
|
|
9
|
-
}) => boolean;
|
|
10
|
-
export declare const FORM_CONTROL_ERROR_NAMESPACE: InjectionToken<string>;
|
|
11
|
-
export declare const FORM_CONTROL_ERROR_DISPLAY_STRATEGY: InjectionToken<FormControlErrorDisplayStrategy>;
|
|
12
|
-
export declare const provideFormControlErrorNamespace: (namespace: string) => {
|
|
13
|
-
provide: InjectionToken<string>;
|
|
14
|
-
useValue: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const provideFormControlErrorDisplayStrategy: (fn: FormControlErrorDisplayStrategy) => {
|
|
17
|
-
provide: InjectionToken<FormControlErrorDisplayStrategy>;
|
|
18
|
-
useValue: FormControlErrorDisplayStrategy;
|
|
19
|
-
};
|
|
20
|
-
export declare class FormErrorDirective implements OnInit {
|
|
21
|
-
private viewContainer;
|
|
22
|
-
private componentFactoryResolver;
|
|
23
|
-
private translateService;
|
|
24
|
-
private destroyRef;
|
|
25
|
-
private ngControl?;
|
|
26
|
-
private formSubmitDirective?;
|
|
27
|
-
private namespace?;
|
|
28
|
-
private strategy?;
|
|
29
|
-
ctrl?: AbstractControl | '';
|
|
30
|
-
controlName?: string;
|
|
31
|
-
private ref?;
|
|
32
|
-
private get control();
|
|
33
|
-
private get name();
|
|
34
|
-
private get formSubmitted();
|
|
35
|
-
constructor(viewContainer: ViewContainerRef, componentFactoryResolver: ComponentFactoryResolver, translateService: TranslateService, destroyRef: DestroyRef, ngControl?: NgControl | undefined, formSubmitDirective?: FormSubmitDirective | undefined, namespace?: string | undefined, strategy?: FormControlErrorDisplayStrategy | undefined);
|
|
36
|
-
ngOnInit(): void;
|
|
37
|
-
private buildTranslationKey;
|
|
38
|
-
private setError;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormErrorDirective, [null, null, null, null, { optional: true; self: true; }, { optional: true; host: true; }, { optional: true; }, { optional: true; }]>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FormErrorDirective, "[lxFormError]", never, { "ctrl": { "alias": "lxFormError"; "required": false; }; "controlName": { "alias": "controlName"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FormSubmitDirective implements OnDestroy {
|
|
5
|
-
private elementRef;
|
|
6
|
-
submitted$: BehaviorSubject<boolean>;
|
|
7
|
-
private subscription;
|
|
8
|
-
constructor(elementRef: ElementRef);
|
|
9
|
-
ngOnDestroy(): void;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<FormSubmitDirective, never>;
|
|
11
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FormSubmitDirective, "form", never, {}, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { KeyboardSelectAction } from '../components/keyboard-select.directive';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class KeyboardActionSourceDirective implements OnDestroy {
|
|
6
|
-
private element;
|
|
7
|
-
dontEmit: boolean;
|
|
8
|
-
readonly destroyed$: Subject<void>;
|
|
9
|
-
keyboardActions$: import("rxjs").Observable<KeyboardSelectAction.PREV | KeyboardSelectAction.NEXT | KeyboardSelectAction.FIRST | KeyboardSelectAction.LAST | KeyboardSelectAction.LEFT | KeyboardSelectAction.RIGHT | KeyboardSelectAction.EXECUTE | KeyboardSelectAction.CLOSE | null>;
|
|
10
|
-
constructor(element: ElementRef<HTMLElement>);
|
|
11
|
-
blur(): void;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
nativeElement(): HTMLElement;
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<KeyboardActionSourceDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<KeyboardActionSourceDirective, "[lxKeyboardActionSource]", ["keyboardActionSource"], {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { Observable, Subject } from 'rxjs';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MarkInvalidDirective implements OnInit, OnDestroy {
|
|
5
|
-
private element;
|
|
6
|
-
private renderer;
|
|
7
|
-
lxMarkInvalid: boolean;
|
|
8
|
-
lxMarkInvalid$: Observable<boolean>;
|
|
9
|
-
readonly destroyed$: Subject<void>;
|
|
10
|
-
constructor(element: ElementRef<HTMLElement>, renderer: Renderer2);
|
|
11
|
-
ngOnInit(): void;
|
|
12
|
-
ngOnDestroy(): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MarkInvalidDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MarkInvalidDirective, "[lxMarkInvalid]", never, { "lxMarkInvalid": { "alias": "lxMarkInvalid"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MaxLengthCounterDirective implements OnInit, OnDestroy {
|
|
5
|
-
private el;
|
|
6
|
-
private renderer;
|
|
7
|
-
private ngControl;
|
|
8
|
-
lxMaxLengthCounter: number | null;
|
|
9
|
-
lxMaxLengthCounterRef?: HTMLSpanElement;
|
|
10
|
-
private counterElement;
|
|
11
|
-
private destroy$;
|
|
12
|
-
constructor(el: ElementRef, renderer: Renderer2, ngControl: NgControl);
|
|
13
|
-
ngOnInit(): void;
|
|
14
|
-
ngOnDestroy(): void;
|
|
15
|
-
private setupMaxLengthValidation;
|
|
16
|
-
private getMaxLength;
|
|
17
|
-
private connectCounter;
|
|
18
|
-
private createCounter;
|
|
19
|
-
private updateCounter;
|
|
20
|
-
private subscribeToValueChanges;
|
|
21
|
-
private setupInputRestriction;
|
|
22
|
-
private checkForInitialOversize;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MaxLengthCounterDirective, [null, null, { self: true; }]>;
|
|
24
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MaxLengthCounterDirective, "[lxMaxLengthCounter]", never, { "lxMaxLengthCounter": { "alias": "lxMaxLengthCounter"; "required": false; }; "lxMaxLengthCounterRef": { "alias": "lxMaxLengthCounterRef"; "required": false; }; }, {}, never, never, true, never>;
|
|
25
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* This directive is supposed to be used in combination with single or multi-selects.
|
|
4
|
-
* It allows to mark a ng-template as the dropdown for those components.
|
|
5
|
-
* The ng-template will be instantiated and "projected" whenever the dropdown is
|
|
6
|
-
* opened. This has the advantage over content projection via ng-content, as it will
|
|
7
|
-
* defer the initialization and rendering of the dropdown contents until the dropdown
|
|
8
|
-
* is actually opened.
|
|
9
|
-
*
|
|
10
|
-
* Example:
|
|
11
|
-
*
|
|
12
|
-
* ```
|
|
13
|
-
* <lx-single-select>
|
|
14
|
-
* <ng-template lxSelectDropdown>
|
|
15
|
-
* <lx-basic-dropdown></lx-basic-dropdown>
|
|
16
|
-
* </ng-template>
|
|
17
|
-
* </lx-single-select>
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export declare class SelectDropdownDirective {
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectDropdownDirective, never>;
|
|
22
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectDropdownDirective, "[lxSelectDropdown]", never, {}, {}, never, never, true, never>;
|
|
23
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
-
import { DropdownItem } from '../models/dropdown-item.interface';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SelectableItemDirective implements DropdownItem {
|
|
5
|
-
readonly element: ElementRef<HTMLElement>;
|
|
6
|
-
scrollInContainer: HTMLElement;
|
|
7
|
-
lxSelectableItem: any;
|
|
8
|
-
select: EventEmitter<any>;
|
|
9
|
-
get item(): any;
|
|
10
|
-
constructor(element: ElementRef<HTMLElement>);
|
|
11
|
-
scrollToItem(): void;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectableItemDirective, never>;
|
|
13
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectableItemDirective, "[lxSelectableItem]", never, { "scrollInContainer": { "alias": "scrollInContainer"; "required": false; }; "lxSelectableItem": { "alias": "lxSelectableItem"; "required": false; }; }, { "select": "select"; }, never, never, true, never>;
|
|
14
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
/**
|
|
3
|
-
* This directive is supposed to be used in combination with a single-select in
|
|
4
|
-
* order to mark a ng-template as the template to be rendered within the select to
|
|
5
|
-
* display the currently selected option.
|
|
6
|
-
*
|
|
7
|
-
* Example:
|
|
8
|
-
*
|
|
9
|
-
* ```
|
|
10
|
-
* <lx-single-select>
|
|
11
|
-
* <ng-template lxSelectedOption>{{ someValue }}</ng-template>
|
|
12
|
-
* </lx-single-select>
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
export declare class SelectedOptionDirective {
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SelectedOptionDirective, never>;
|
|
17
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectedOptionDirective, "[lxSelectedOption]", never, {}, {}, never, never, true, never>;
|
|
18
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { CdkOptionsDropdownComponent } from './components/cdk-options-dropdown/cdk-options-dropdown.component';
|
|
2
|
-
import { CdkOptionsSubDropdownComponent } from './components/cdk-options-sub-dropdown/cdk-options-sub-dropdown.component';
|
|
3
|
-
import { CurrencyInputComponent } from './components/currency/currency-input.component';
|
|
4
|
-
import { DateInputComponent } from './components/date-input/date-input.component';
|
|
5
|
-
import { LxDragAndDropListModule } from './components/drag-and-drop-list/drag-and-drop-list.module';
|
|
6
|
-
import { InputComponent } from './components/input/input.component';
|
|
7
|
-
import { MultiSelectComponent } from './components/multi-select/multi-select.component';
|
|
8
|
-
import { OptionComponent } from './components/option/option.component';
|
|
9
|
-
import { OptionsDropdownComponent } from './components/options-dropdown/options-dropdown.component';
|
|
10
|
-
import { OptionsSubDropdownComponent } from './components/options-sub-dropdown/options-sub-dropdown.component';
|
|
11
|
-
import { PickerOptionComponent } from './components/picker-option/picker-option.component';
|
|
12
|
-
import { PickerTriggerDirective } from './components/picker/picker-trigger.directive';
|
|
13
|
-
import { PickerComponent } from './components/picker/picker.component';
|
|
14
|
-
import { SingleSelectComponent } from './components/single-select/single-select.component';
|
|
15
|
-
import { ContenteditableDirective } from './directives/contenteditable.directive';
|
|
16
|
-
import { FormErrorDirective } from './directives/form-error.directive';
|
|
17
|
-
import { FormSubmitDirective } from './directives/form-submit.directive';
|
|
18
|
-
import { KeyboardActionSourceDirective } from './directives/keyboard-action-source.directive';
|
|
19
|
-
import { MarkInvalidDirective } from './directives/mark-invalid.directive';
|
|
20
|
-
import { SelectableItemDirective } from './directives/selectable-item.directive';
|
|
21
|
-
import { FormatNumberPipe } from './pipes/format-number.pipe';
|
|
22
|
-
import * as i0 from "@angular/core";
|
|
23
|
-
import * as i1 from "@angular/common";
|
|
24
|
-
import * as i2 from "@angular/forms";
|
|
25
|
-
import * as i3 from "@ngx-translate/core";
|
|
26
|
-
import * as i4 from "./components/date-picker-ui/datepicker-ui.module";
|
|
27
|
-
import * as i5 from "ngx-infinite-scroll";
|
|
28
|
-
import * as i6 from "@angular/cdk/clipboard";
|
|
29
|
-
import * as i7 from "@angular/cdk/overlay";
|
|
30
|
-
import * as i8 from "./components/drag-and-drop-list/drag-and-drop-list.module";
|
|
31
|
-
import * as i9 from "./components/basic-dropdown/basic-dropdown.component";
|
|
32
|
-
import * as i10 from "./components/basic-dropdown-item/basic-dropdown-item.component";
|
|
33
|
-
import * as i11 from "./components/breadcrumb/breadcrumb.component";
|
|
34
|
-
import * as i12 from "./components/currency/currency-input.component";
|
|
35
|
-
import * as i13 from "./components/currency/currency-symbol.component";
|
|
36
|
-
import * as i14 from "./components/date-input/date-input.component";
|
|
37
|
-
import * as i15 from "./pipes/filter-selection.pipe";
|
|
38
|
-
import * as i16 from "./pipes/filter-term.pipe";
|
|
39
|
-
import * as i17 from "./components/form-error/form-error.component";
|
|
40
|
-
import * as i18 from "./directives/keyboard-action-source.directive";
|
|
41
|
-
import * as i19 from "./directives/mark-invalid.directive";
|
|
42
|
-
import * as i20 from "./components/multi-select/multi-select.component";
|
|
43
|
-
import * as i21 from "./components/option/option.component";
|
|
44
|
-
import * as i22 from "./components/option-group/option-group.component";
|
|
45
|
-
import * as i23 from "./components/option-group-dropdown/option-group-dropdown.component";
|
|
46
|
-
import * as i24 from "./components/options-dropdown/options-dropdown.component";
|
|
47
|
-
import * as i25 from "./components/options-sub-dropdown/options-sub-dropdown.component";
|
|
48
|
-
import * as i26 from "./components/cdk-options-dropdown/cdk-options-dropdown.component";
|
|
49
|
-
import * as i27 from "./components/cdk-options-sub-dropdown/cdk-options-sub-dropdown.component";
|
|
50
|
-
import * as i28 from "./components/picker/picker.component";
|
|
51
|
-
import * as i29 from "./components/picker-option/picker-option.component";
|
|
52
|
-
import * as i30 from "./components/picker/picker-trigger.directive";
|
|
53
|
-
import * as i31 from "./components/pill-list/pill-list.component";
|
|
54
|
-
import * as i32 from "./components/pill-item/pill-item.component";
|
|
55
|
-
import * as i33 from "./components/responsive-input/responsive-input.component";
|
|
56
|
-
import * as i34 from "./directives/selectable-item.directive";
|
|
57
|
-
import * as i35 from "./directives/selected-option.directive";
|
|
58
|
-
import * as i36 from "./directives/select-dropdown.directive";
|
|
59
|
-
import * as i37 from "./components/single-select/single-select.component";
|
|
60
|
-
import * as i38 from "./components/switch/switch.component";
|
|
61
|
-
import * as i39 from "./components/sorting-dropdown/sorting-dropdown.component";
|
|
62
|
-
import * as i40 from "./components/sorting-dropdown-trigger/sorting-dropdown-trigger.component";
|
|
63
|
-
import * as i41 from "./components/input/input.component";
|
|
64
|
-
import * as i42 from "./pipes/format-number.pipe";
|
|
65
|
-
import * as i43 from "./directives/form-error.directive";
|
|
66
|
-
import * as i44 from "./components/error-message/error-message.component";
|
|
67
|
-
import * as i45 from "./directives/form-submit.directive";
|
|
68
|
-
import * as i46 from "./directives/contenteditable.directive";
|
|
69
|
-
export declare const FORMS_MODULE_EXPORTS: (typeof SelectableItemDirective | typeof KeyboardActionSourceDirective | typeof OptionComponent | typeof CdkOptionsDropdownComponent | typeof CdkOptionsSubDropdownComponent | typeof MarkInvalidDirective | typeof CurrencyInputComponent | typeof DateInputComponent | typeof LxDragAndDropListModule | typeof InputComponent | typeof MultiSelectComponent | typeof OptionsDropdownComponent | typeof OptionsSubDropdownComponent | typeof PickerOptionComponent | typeof PickerTriggerDirective | typeof PickerComponent | typeof SingleSelectComponent | typeof ContenteditableDirective | typeof FormSubmitDirective | typeof FormErrorDirective | typeof FormatNumberPipe)[];
|
|
70
|
-
export declare class LxFormsModule {
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LxFormsModule, never>;
|
|
72
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LxFormsModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.TranslateModule, typeof i4.DatepickerUiModule, typeof i5.InfiniteScrollModule, typeof i6.ClipboardModule, typeof i7.OverlayModule, typeof i8.LxDragAndDropListModule, typeof i9.BasicDropdownComponent, typeof i10.BasicDropdownItemComponent, typeof i11.BreadcrumbComponent, typeof i12.CurrencyInputComponent, typeof i13.CurrencySymbolComponent, typeof i14.DateInputComponent, typeof i15.FilterSelectionPipe, typeof i16.FilterTermPipe, typeof i17.FormErrorComponent, typeof i18.KeyboardActionSourceDirective, typeof i19.MarkInvalidDirective, typeof i20.MultiSelectComponent, typeof i21.OptionComponent, typeof i22.OptionGroupComponent, typeof i23.OptionGroupDropdownComponent, typeof i24.OptionsDropdownComponent, typeof i25.OptionsSubDropdownComponent, typeof i26.CdkOptionsDropdownComponent, typeof i27.CdkOptionsSubDropdownComponent, typeof i28.PickerComponent, typeof i29.PickerOptionComponent, typeof i30.PickerTriggerDirective, typeof i31.PillListComponent, typeof i32.PillItemComponent, typeof i33.ResponsiveInputComponent, typeof i34.SelectableItemDirective, typeof i35.SelectedOptionDirective, typeof i36.SelectDropdownDirective, typeof i37.SingleSelectComponent, typeof i38.SwitchComponent, typeof i39.SortingDropdownComponent, typeof i40.SortingDropdownTriggerComponent, typeof i41.InputComponent, typeof i42.FormatNumberPipe, typeof i43.FormErrorDirective, typeof i44.ErrorMessageComponent, typeof i45.FormSubmitDirective, typeof i46.ContenteditableDirective], [typeof i9.BasicDropdownComponent, typeof i10.BasicDropdownItemComponent, typeof i11.BreadcrumbComponent, typeof i12.CurrencyInputComponent, typeof i13.CurrencySymbolComponent, typeof i14.DateInputComponent, typeof i15.FilterSelectionPipe, typeof i16.FilterTermPipe, typeof i17.FormErrorComponent, typeof i18.KeyboardActionSourceDirective, typeof i19.MarkInvalidDirective, typeof i20.MultiSelectComponent, typeof i21.OptionComponent, typeof i22.OptionGroupComponent, typeof i23.OptionGroupDropdownComponent, typeof i24.OptionsDropdownComponent, typeof i25.OptionsSubDropdownComponent, typeof i26.CdkOptionsDropdownComponent, typeof i27.CdkOptionsSubDropdownComponent, typeof i28.PickerComponent, typeof i29.PickerOptionComponent, typeof i30.PickerTriggerDirective, typeof i31.PillListComponent, typeof i32.PillItemComponent, typeof i33.ResponsiveInputComponent, typeof i34.SelectableItemDirective, typeof i36.SelectDropdownDirective, typeof i35.SelectedOptionDirective, typeof i37.SingleSelectComponent, typeof i38.SwitchComponent, typeof i39.SortingDropdownComponent, typeof i40.SortingDropdownTriggerComponent, typeof i42.FormatNumberPipe, typeof i43.FormErrorDirective, typeof i45.FormSubmitDirective, typeof i44.ErrorMessageComponent, typeof i8.LxDragAndDropListModule, typeof i46.ContenteditableDirective, typeof i41.InputComponent]>;
|
|
73
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LxFormsModule>;
|
|
74
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const BACKSPACE = 8;
|
|
2
|
-
export declare const TAB = 9;
|
|
3
|
-
export declare const ARROW_DOWN = 40;
|
|
4
|
-
export declare const ARROW_UP = 38;
|
|
5
|
-
export declare const ARROW_LEFT = 37;
|
|
6
|
-
export declare const ARROW_RIGHT = 39;
|
|
7
|
-
export declare const ENTER = 13;
|
|
8
|
-
export declare const ESCAPE = 27;
|
|
9
|
-
export declare const SPACE = 32;
|
|
10
|
-
export declare const HOME = 36;
|
|
11
|
-
export declare const END = 35;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { KeyboardSelectAction } from '../components/keyboard-select.directive';
|
|
3
|
-
export interface KeyboardNavigationEvents {
|
|
4
|
-
verticalNavigation$: Observable<KeyboardEvent>;
|
|
5
|
-
close$: Observable<KeyboardEvent>;
|
|
6
|
-
dropdownKeyboardEvent$: Observable<KeyboardSelectAction | null>;
|
|
7
|
-
enter$: Observable<KeyboardEvent>;
|
|
8
|
-
space$: Observable<KeyboardEvent>;
|
|
9
|
-
openOnArrowDown$: Observable<KeyboardEvent>;
|
|
10
|
-
}
|
|
11
|
-
export declare function getKeyboardNavigationEvents(sourceElement: HTMLElement, destroyed$: Observable<void>): KeyboardNavigationEvents;
|
|
12
|
-
export declare function stopKeyboardEventPropagation(evt: Event): void;
|