@i-cell/ids-angular 0.0.0-watch
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/accordion/index.d.ts +81 -0
- package/accordion/package.json +3 -0
- package/avatar/index.d.ts +66 -0
- package/avatar/package.json +3 -0
- package/badge/index.d.ts +61 -0
- package/badge/package.json +3 -0
- package/breadcrumb/index.d.ts +67 -0
- package/breadcrumb/package.json +3 -0
- package/button/index.d.ts +81 -0
- package/button/package.json +3 -0
- package/card/index.d.ts +91 -0
- package/card/package.json +3 -0
- package/checkbox/index.d.ts +137 -0
- package/checkbox/package.json +3 -0
- package/chip/index.d.ts +82 -0
- package/chip/package.json +3 -0
- package/core/index.d.ts +168 -0
- package/core/package.json +3 -0
- package/datepicker/index.d.ts +112 -0
- package/datepicker/package.json +3 -0
- package/dialog/index.d.ts +72 -0
- package/dialog/package.json +3 -0
- package/divider/index.d.ts +45 -0
- package/divider/package.json +3 -0
- package/fesm2022/i-cell-ids-angular-accordion.mjs +223 -0
- package/fesm2022/i-cell-ids-angular-accordion.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-avatar.mjs +125 -0
- package/fesm2022/i-cell-ids-angular-avatar.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-badge.mjs +172 -0
- package/fesm2022/i-cell-ids-angular-badge.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-breadcrumb.mjs +313 -0
- package/fesm2022/i-cell-ids-angular-breadcrumb.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-button.mjs +149 -0
- package/fesm2022/i-cell-ids-angular-button.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-card.mjs +222 -0
- package/fesm2022/i-cell-ids-angular-card.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-checkbox.mjs +350 -0
- package/fesm2022/i-cell-ids-angular-checkbox.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-chip.mjs +166 -0
- package/fesm2022/i-cell-ids-angular-chip.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-core.mjs +409 -0
- package/fesm2022/i-cell-ids-angular-core.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-datepicker.mjs +860 -0
- package/fesm2022/i-cell-ids-angular-datepicker.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-dialog.mjs +183 -0
- package/fesm2022/i-cell-ids-angular-dialog.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-divider.mjs +76 -0
- package/fesm2022/i-cell-ids-angular-divider.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-forms.mjs +972 -0
- package/fesm2022/i-cell-ids-angular-forms.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-icon-button.mjs +120 -0
- package/fesm2022/i-cell-ids-angular-icon-button.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-icon.mjs +158 -0
- package/fesm2022/i-cell-ids-angular-icon.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-menu.mjs +154 -0
- package/fesm2022/i-cell-ids-angular-menu.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-notification.mjs +167 -0
- package/fesm2022/i-cell-ids-angular-notification.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-overlay-panel.mjs +72 -0
- package/fesm2022/i-cell-ids-angular-overlay-panel.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-paginator.mjs +319 -0
- package/fesm2022/i-cell-ids-angular-paginator.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-radio.mjs +312 -0
- package/fesm2022/i-cell-ids-angular-radio.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-segmented-control-toggle.mjs +264 -0
- package/fesm2022/i-cell-ids-angular-segmented-control-toggle.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-segmented-control.mjs +283 -0
- package/fesm2022/i-cell-ids-angular-segmented-control.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-select.mjs +549 -0
- package/fesm2022/i-cell-ids-angular-select.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-side-nav.mjs +375 -0
- package/fesm2022/i-cell-ids-angular-side-nav.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-side-sheet.mjs +179 -0
- package/fesm2022/i-cell-ids-angular-side-sheet.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-snackbar.mjs +440 -0
- package/fesm2022/i-cell-ids-angular-snackbar.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-spinner.mjs +67 -0
- package/fesm2022/i-cell-ids-angular-spinner.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-switch.mjs +181 -0
- package/fesm2022/i-cell-ids-angular-switch.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-tab.mjs +142 -0
- package/fesm2022/i-cell-ids-angular-tab.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-table.mjs +663 -0
- package/fesm2022/i-cell-ids-angular-table.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-tag.mjs +116 -0
- package/fesm2022/i-cell-ids-angular-tag.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular-tooltip.mjs +586 -0
- package/fesm2022/i-cell-ids-angular-tooltip.mjs.map +1 -0
- package/fesm2022/i-cell-ids-angular.mjs +9 -0
- package/fesm2022/i-cell-ids-angular.mjs.map +1 -0
- package/forms/index.d.ts +470 -0
- package/forms/package.json +3 -0
- package/icon/index.d.ts +69 -0
- package/icon/package.json +3 -0
- package/icon-button/index.d.ts +68 -0
- package/icon-button/package.json +3 -0
- package/index.d.ts +2 -0
- package/menu/index.d.ts +68 -0
- package/menu/package.json +3 -0
- package/notification/index.d.ts +68 -0
- package/notification/package.json +3 -0
- package/overlay-panel/index.d.ts +41 -0
- package/overlay-panel/package.json +3 -0
- package/package.json +180 -0
- package/paginator/index.d.ts +122 -0
- package/paginator/package.json +3 -0
- package/radio/index.d.ts +95 -0
- package/radio/package.json +3 -0
- package/segmented-control/index.d.ts +98 -0
- package/segmented-control/package.json +3 -0
- package/segmented-control-toggle/index.d.ts +103 -0
- package/segmented-control-toggle/package.json +3 -0
- package/select/index.d.ts +103 -0
- package/select/package.json +3 -0
- package/side-nav/index.d.ts +107 -0
- package/side-nav/package.json +3 -0
- package/side-sheet/index.d.ts +84 -0
- package/side-sheet/package.json +3 -0
- package/snackbar/index.d.ts +149 -0
- package/snackbar/package.json +3 -0
- package/spinner/index.d.ts +41 -0
- package/spinner/package.json +3 -0
- package/switch/index.d.ts +89 -0
- package/switch/package.json +3 -0
- package/tab/index.d.ts +78 -0
- package/tab/package.json +3 -0
- package/table/index.d.ts +393 -0
- package/table/package.json +3 -0
- package/tag/index.d.ts +70 -0
- package/tag/package.json +3 -0
- package/tooltip/index.d.ts +96 -0
- package/tooltip/package.json +3 -0
package/icon/index.d.ts
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Signal, InjectionToken, OnInit } from '@angular/core';
|
|
3
|
+
import { IdsSizeType, IdsSizeCollectionType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
4
|
+
|
|
5
|
+
declare const IdsIconVariant: {
|
|
6
|
+
readonly PRIMARY: "primary";
|
|
7
|
+
readonly SECONDARY: "secondary";
|
|
8
|
+
readonly SURFACE: "surface";
|
|
9
|
+
readonly BRAND: "brand";
|
|
10
|
+
readonly LIGHT: "light";
|
|
11
|
+
readonly DARK: "dark";
|
|
12
|
+
readonly SUCCESS: "success";
|
|
13
|
+
readonly WARNING: "warning";
|
|
14
|
+
readonly ERROR: "error";
|
|
15
|
+
};
|
|
16
|
+
type IdsIconVariantType = (typeof IdsIconVariant)[keyof typeof IdsIconVariant];
|
|
17
|
+
|
|
18
|
+
declare abstract class IdsIconParent {
|
|
19
|
+
readonly embeddedIconVariant: Signal<IdsIconVariantType>;
|
|
20
|
+
}
|
|
21
|
+
declare const IDS_ICON_PARENT: InjectionToken<IdsIconParent>;
|
|
22
|
+
|
|
23
|
+
declare const IdsIconSource: {
|
|
24
|
+
readonly SVG: "svg";
|
|
25
|
+
readonly FONT: "font";
|
|
26
|
+
};
|
|
27
|
+
type IdsIconSourceType = (typeof IdsIconSource)[keyof typeof IdsIconSource];
|
|
28
|
+
|
|
29
|
+
interface IdsIconDefaultConfig {
|
|
30
|
+
size?: IdsSizeType;
|
|
31
|
+
sizeCollection?: IdsSizeCollectionType;
|
|
32
|
+
variant?: IdsIconVariantType;
|
|
33
|
+
iconAssetsPath: string;
|
|
34
|
+
fontNameMappings?: Record<string, string>;
|
|
35
|
+
}
|
|
36
|
+
declare const IDS_ICON_DEFAULT_CONFIG: InjectionToken<IdsIconDefaultConfig>;
|
|
37
|
+
declare function IDS_ICON_DEFAULT_CONFIG_FACTORY(): Required<IdsIconDefaultConfig>;
|
|
38
|
+
|
|
39
|
+
declare class IdsIconComponent extends ComponentBaseWithDefaults<IdsIconDefaultConfig> implements OnInit {
|
|
40
|
+
protected get _hostName(): string;
|
|
41
|
+
private readonly _parent;
|
|
42
|
+
protected readonly _defaultConfig: Required<IdsIconDefaultConfig>;
|
|
43
|
+
private readonly _elementRef;
|
|
44
|
+
private readonly _document;
|
|
45
|
+
private readonly _httpClient;
|
|
46
|
+
private readonly _sanitizer;
|
|
47
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
48
|
+
sizeCollection: _angular_core.InputSignal<IdsSizeCollectionType>;
|
|
49
|
+
variant: _angular_core.InputSignal<IdsIconVariantType>;
|
|
50
|
+
fontIcon: _angular_core.InputSignalWithTransform<string | null, string>;
|
|
51
|
+
svgIconName: _angular_core.InputSignalWithTransform<string | null, string>;
|
|
52
|
+
ariaHidden: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
53
|
+
protected _svgIcon: SVGElement | null;
|
|
54
|
+
protected _safeFontIcon: _angular_core.Signal<string | null>;
|
|
55
|
+
protected _iconSourceType: _angular_core.Signal<"svg" | "font">;
|
|
56
|
+
private _parentOrSelfVariant;
|
|
57
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
58
|
+
private _sanitizeSvgIconEffect;
|
|
59
|
+
ngOnInit(): void;
|
|
60
|
+
private _getSvgElementSource;
|
|
61
|
+
private _setSvgElement;
|
|
62
|
+
private _clearSvgElement;
|
|
63
|
+
private _getSvgElement;
|
|
64
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsIconComponent, never>;
|
|
65
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsIconComponent, "ids-icon", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "sizeCollection": { "alias": "sizeCollection"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "fontIcon": { "alias": "fontIcon"; "required": false; "isSignal": true; }; "svgIconName": { "alias": "svgIcon"; "required": false; "isSignal": true; }; "ariaHidden": { "alias": "aria-hidden"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export { IDS_ICON_DEFAULT_CONFIG, IDS_ICON_DEFAULT_CONFIG_FACTORY, IDS_ICON_PARENT, IdsIconComponent, IdsIconParent, IdsIconSource, IdsIconVariant };
|
|
69
|
+
export type { IdsIconDefaultConfig, IdsIconSourceType, IdsIconVariantType };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Signal, InjectionToken } from '@angular/core';
|
|
3
|
+
import { IdsSizeType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
4
|
+
import { IdsIconComponent } from '@i-cell/ids-angular/icon';
|
|
5
|
+
|
|
6
|
+
declare const IdsIconButtonAppearance: {
|
|
7
|
+
readonly FILLED: "filled";
|
|
8
|
+
readonly OUTLINED: "outlined";
|
|
9
|
+
readonly STANDARD: "standard";
|
|
10
|
+
};
|
|
11
|
+
type IdsIconButtonAppearanceType = (typeof IdsIconButtonAppearance)[keyof typeof IdsIconButtonAppearance];
|
|
12
|
+
|
|
13
|
+
declare const IdsIconButtonVariant: {
|
|
14
|
+
readonly PRIMARY: "primary";
|
|
15
|
+
readonly SECONDARY: "secondary";
|
|
16
|
+
readonly SURFACE: "surface";
|
|
17
|
+
readonly BRAND: "brand";
|
|
18
|
+
readonly LIGHT: "light";
|
|
19
|
+
readonly DARK: "dark";
|
|
20
|
+
readonly INFO: "info";
|
|
21
|
+
readonly SUCCESS: "success";
|
|
22
|
+
readonly WARNING: "warning";
|
|
23
|
+
readonly ERROR: "error";
|
|
24
|
+
};
|
|
25
|
+
type IdsIconButtonVariantType = (typeof IdsIconButtonVariant)[keyof typeof IdsIconButtonVariant];
|
|
26
|
+
|
|
27
|
+
declare abstract class IdsIconButtonParent {
|
|
28
|
+
readonly embeddedIconButtonVariant: Signal<IdsIconButtonVariantType>;
|
|
29
|
+
readonly embeddedIconButtonAppearance: Signal<IdsIconButtonAppearanceType>;
|
|
30
|
+
readonly embeddedIconButtonSize?: Signal<IdsSizeType>;
|
|
31
|
+
readonly disabled?: Signal<boolean>;
|
|
32
|
+
}
|
|
33
|
+
declare const IDS_ICON_BUTTON_PARENT: InjectionToken<IdsIconButtonParent>;
|
|
34
|
+
|
|
35
|
+
interface IdsIconButtonDefaultConfig {
|
|
36
|
+
appearance?: IdsIconButtonAppearanceType;
|
|
37
|
+
size?: IdsSizeType;
|
|
38
|
+
variant?: IdsIconButtonVariantType;
|
|
39
|
+
}
|
|
40
|
+
declare const IDS_ICON_BUTTON_DEFAULT_CONFIG: InjectionToken<IdsIconButtonDefaultConfig>;
|
|
41
|
+
declare function IDS_ICON_BUTTON_DEFAULT_CONFIG_FACTORY(): Required<IdsIconButtonDefaultConfig>;
|
|
42
|
+
|
|
43
|
+
declare class IdsIconButtonComponent extends ComponentBaseWithDefaults<IdsIconButtonDefaultConfig> {
|
|
44
|
+
protected get _hostName(): string;
|
|
45
|
+
private readonly _parent;
|
|
46
|
+
private _hostElement;
|
|
47
|
+
private _routerLink;
|
|
48
|
+
protected readonly _defaultConfig: Required<IdsIconButtonDefaultConfig>;
|
|
49
|
+
appearance: _angular_core.InputSignal<IdsIconButtonAppearanceType>;
|
|
50
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
51
|
+
variant: _angular_core.InputSignal<IdsIconButtonVariantType>;
|
|
52
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
53
|
+
protected _icons: _angular_core.Signal<readonly IdsIconComponent[]>;
|
|
54
|
+
private _parentOrSelfAppearance;
|
|
55
|
+
private _parentOrSelfSize;
|
|
56
|
+
private _parentOrSelfVariant;
|
|
57
|
+
private _parentOrSelfDisabled;
|
|
58
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
59
|
+
private get _buttonType();
|
|
60
|
+
constructor();
|
|
61
|
+
private _disableLink;
|
|
62
|
+
private _enableLink;
|
|
63
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsIconButtonComponent, never>;
|
|
64
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsIconButtonComponent, "button[idsIconButton], a[idsIconButton]", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["_icons"], ["ids-icon"], true, never>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export { IDS_ICON_BUTTON_DEFAULT_CONFIG, IDS_ICON_BUTTON_DEFAULT_CONFIG_FACTORY, IDS_ICON_BUTTON_PARENT, IdsIconButtonAppearance, IdsIconButtonComponent, IdsIconButtonParent, IdsIconButtonVariant };
|
|
68
|
+
export type { IdsIconButtonAppearanceType, IdsIconButtonDefaultConfig, IdsIconButtonVariantType };
|
package/index.d.ts
ADDED
package/menu/index.d.ts
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as i1 from '@angular/cdk/menu';
|
|
2
|
+
import { CdkMenuTrigger } from '@angular/cdk/menu';
|
|
3
|
+
import * as _angular_core from '@angular/core';
|
|
4
|
+
import { InjectionToken } from '@angular/core';
|
|
5
|
+
import { IdsSizeType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
6
|
+
import { IdsIconComponent } from '@i-cell/ids-angular/icon';
|
|
7
|
+
|
|
8
|
+
declare class IdsActionMenuTriggerDirective {
|
|
9
|
+
menuTrigger: CdkMenuTrigger;
|
|
10
|
+
get isOpen(): boolean;
|
|
11
|
+
open(): void;
|
|
12
|
+
close(): void;
|
|
13
|
+
toggle(): void;
|
|
14
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsActionMenuTriggerDirective, never>;
|
|
15
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsActionMenuTriggerDirective, "button[idsActionMenuTriggerFor]", ["idsActionMenuTrigger"], {}, {}, never, never, true, [{ directive: typeof i1.CdkMenuTrigger; inputs: { "cdkMenuTriggerFor": "idsActionMenuTriggerFor"; }; outputs: {}; }]>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class IdsActiveIndicatorDirective {
|
|
19
|
+
private _menuItem;
|
|
20
|
+
active: _angular_core.InputSignal<boolean>;
|
|
21
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsActiveIndicatorDirective, never>;
|
|
22
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsActiveIndicatorDirective, "[idsActiveIndicator]", never, { "active": { "alias": "active"; "required": true; "isSignal": true; }; }, {}, ["_menuItem"], never, true, never>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare const IdsMenuItemAppearance: {
|
|
26
|
+
readonly FILLED: "filled";
|
|
27
|
+
readonly TEXT: "text";
|
|
28
|
+
};
|
|
29
|
+
type IdsMenuItemAppearanceType = (typeof IdsMenuItemAppearance)[keyof typeof IdsMenuItemAppearance];
|
|
30
|
+
|
|
31
|
+
declare const IdsMenuItemVariant: {
|
|
32
|
+
readonly SURFACE: "surface";
|
|
33
|
+
readonly LIGHT: "light";
|
|
34
|
+
};
|
|
35
|
+
type IdsMenuItemVariantType = (typeof IdsMenuItemVariant)[keyof typeof IdsMenuItemVariant];
|
|
36
|
+
|
|
37
|
+
interface IdsMenuItemDefaultConfig {
|
|
38
|
+
appearance?: IdsMenuItemAppearanceType;
|
|
39
|
+
size?: IdsSizeType;
|
|
40
|
+
variant?: IdsMenuItemVariantType;
|
|
41
|
+
showLabel?: boolean;
|
|
42
|
+
}
|
|
43
|
+
declare const IDS_MENU_ITEM_DEFAULT_CONFIG: InjectionToken<IdsMenuItemDefaultConfig>;
|
|
44
|
+
declare function IDS_MENU_ITEM_DEFAULT_CONFIG_FACTORY(): Required<IdsMenuItemDefaultConfig>;
|
|
45
|
+
|
|
46
|
+
declare class IdsMenuItemComponent extends ComponentBaseWithDefaults<IdsMenuItemDefaultConfig> {
|
|
47
|
+
protected get _hostName(): string;
|
|
48
|
+
private _hostElement;
|
|
49
|
+
private _routerLink;
|
|
50
|
+
protected readonly _defaultConfig: Required<IdsMenuItemDefaultConfig>;
|
|
51
|
+
label: _angular_core.InputSignal<string | undefined>;
|
|
52
|
+
appearance: _angular_core.InputSignal<IdsMenuItemAppearanceType>;
|
|
53
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
54
|
+
variant: _angular_core.InputSignal<IdsMenuItemVariantType>;
|
|
55
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
56
|
+
protected _iconLeading: _angular_core.Signal<readonly IdsIconComponent[]>;
|
|
57
|
+
protected _iconTrailing: _angular_core.Signal<readonly IdsIconComponent[]>;
|
|
58
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
59
|
+
private get _buttonType();
|
|
60
|
+
constructor();
|
|
61
|
+
private _disableLink;
|
|
62
|
+
private _enableLink;
|
|
63
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsMenuItemComponent, never>;
|
|
64
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsMenuItemComponent, "button[idsMenuItem],a[idsMenuItem]", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, ["_iconLeading", "_iconTrailing"], ["ids-icon[icon-leading]", "ids-icon[icon-trailing]"], true, [{ directive: typeof i1.CdkMenuItem; inputs: {}; outputs: {}; }]>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export { IDS_MENU_ITEM_DEFAULT_CONFIG, IDS_MENU_ITEM_DEFAULT_CONFIG_FACTORY, IdsActionMenuTriggerDirective, IdsActiveIndicatorDirective, IdsMenuItemAppearance, IdsMenuItemComponent, IdsMenuItemVariant };
|
|
68
|
+
export type { IdsMenuItemAppearanceType, IdsMenuItemDefaultConfig, IdsMenuItemVariantType };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { IdsButtonAppearanceType, IdsButtonParent } from '@i-cell/ids-angular/button';
|
|
4
|
+
import { IdsSizeType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
5
|
+
import { IdsIconButtonParent, IdsIconButtonAppearanceType, IdsIconButtonVariantType } from '@i-cell/ids-angular/icon-button';
|
|
6
|
+
|
|
7
|
+
declare const IdsNotificationAppearance: {
|
|
8
|
+
readonly FILLED: "filled";
|
|
9
|
+
readonly OUTLINED: "outlined";
|
|
10
|
+
};
|
|
11
|
+
type IdsNotificationAppearanceType = (typeof IdsNotificationAppearance)[keyof typeof IdsNotificationAppearance];
|
|
12
|
+
|
|
13
|
+
declare const IdsNotificationVariant: {
|
|
14
|
+
readonly SURFACE: "surface";
|
|
15
|
+
readonly LIGHT: "light";
|
|
16
|
+
readonly DARK: "dark";
|
|
17
|
+
readonly INFO: "info";
|
|
18
|
+
readonly SUCCESS: "success";
|
|
19
|
+
readonly WARNING: "warning";
|
|
20
|
+
readonly ERROR: "error";
|
|
21
|
+
};
|
|
22
|
+
type IdsNotificationVariantType = (typeof IdsNotificationVariant)[keyof typeof IdsNotificationVariant];
|
|
23
|
+
|
|
24
|
+
declare class IdsNotificationActionButtonDirective {
|
|
25
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsNotificationActionButtonDirective, never>;
|
|
26
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<IdsNotificationActionButtonDirective, "[idsNotificationActionButton]", never, {}, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
interface IdsNotificationDefaultConfig {
|
|
30
|
+
appearance?: IdsNotificationAppearanceType;
|
|
31
|
+
size?: IdsSizeType;
|
|
32
|
+
variant?: IdsNotificationVariantType;
|
|
33
|
+
closeButtonSize?: IdsSizeType;
|
|
34
|
+
closeLabelButtonAppearance?: IdsButtonAppearanceType;
|
|
35
|
+
displayActionsAtBottom?: boolean;
|
|
36
|
+
}
|
|
37
|
+
declare const IDS_NOTIFICATION_DEFAULT_CONFIG: InjectionToken<IdsNotificationDefaultConfig>;
|
|
38
|
+
declare function IDS_NOTIFICATION_DEFAULT_CONFIG_FACTORY(): Required<IdsNotificationDefaultConfig>;
|
|
39
|
+
|
|
40
|
+
declare class IdsNotificationComponent extends ComponentBaseWithDefaults<IdsNotificationDefaultConfig> implements IdsButtonParent, IdsIconButtonParent {
|
|
41
|
+
protected get _hostName(): string;
|
|
42
|
+
protected readonly _defaultConfig: Required<IdsNotificationDefaultConfig>;
|
|
43
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
44
|
+
appearance: _angular_core.InputSignal<IdsNotificationAppearanceType>;
|
|
45
|
+
variant: _angular_core.InputSignal<IdsNotificationVariantType>;
|
|
46
|
+
icon: _angular_core.InputSignal<string | undefined>;
|
|
47
|
+
title: _angular_core.InputSignal<string>;
|
|
48
|
+
urgent: _angular_core.InputSignalWithTransform<boolean, boolean | undefined>;
|
|
49
|
+
displayActionsAtBottom: _angular_core.InputSignalWithTransform<boolean, boolean | undefined>;
|
|
50
|
+
closeButtonSize: _angular_core.InputSignal<IdsSizeType>;
|
|
51
|
+
closeLabelButtonAppearance: _angular_core.InputSignal<IdsButtonAppearanceType>;
|
|
52
|
+
closeButtonLabel: _angular_core.InputSignalWithTransform<string, string>;
|
|
53
|
+
embeddedIconButtonAppearance: _angular_core.WritableSignal<IdsIconButtonAppearanceType>;
|
|
54
|
+
disabled: _angular_core.WritableSignal<boolean>;
|
|
55
|
+
protected _actionButtons: _angular_core.Signal<readonly IdsNotificationActionButtonDirective[]>;
|
|
56
|
+
closed: _angular_core.OutputEmitterRef<void>;
|
|
57
|
+
private _role;
|
|
58
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
59
|
+
protected _closeLabelButtonClass: _angular_core.Signal<"" | "ids-notification__label-button">;
|
|
60
|
+
embeddedButtonVariant: _angular_core.Signal<IdsIconButtonVariantType>;
|
|
61
|
+
embeddedIconButtonVariant: _angular_core.Signal<IdsIconButtonVariantType>;
|
|
62
|
+
protected _close(): void;
|
|
63
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsNotificationComponent, never>;
|
|
64
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsNotificationComponent, "ids-notification", never, { "size": { "alias": "size"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "urgent": { "alias": "urgent"; "required": false; "isSignal": true; }; "displayActionsAtBottom": { "alias": "displayActionsAtBottom"; "required": false; "isSignal": true; }; "closeButtonSize": { "alias": "closeButtonSize"; "required": false; "isSignal": true; }; "closeLabelButtonAppearance": { "alias": "closeLabelButtonAppearance"; "required": false; "isSignal": true; }; "closeButtonLabel": { "alias": "closeButtonLabel"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, ["_actionButtons"], ["*", "button[idsNotificationActionButton]"], true, never>;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export { IDS_NOTIFICATION_DEFAULT_CONFIG, IDS_NOTIFICATION_DEFAULT_CONFIG_FACTORY, IdsNotificationActionButtonDirective, IdsNotificationAppearance, IdsNotificationComponent, IdsNotificationVariant };
|
|
68
|
+
export type { IdsNotificationAppearanceType, IdsNotificationDefaultConfig, IdsNotificationVariantType };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { IdsSizeType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
4
|
+
import { IdsMenuItemComponent } from '@i-cell/ids-angular/menu';
|
|
5
|
+
import * as i1 from '@angular/cdk/menu';
|
|
6
|
+
|
|
7
|
+
declare const IdsOverlayPanelAppearance: {
|
|
8
|
+
readonly FILLED: "filled";
|
|
9
|
+
readonly OUTLINED: "outlined";
|
|
10
|
+
readonly ELEVATED: "elevated";
|
|
11
|
+
};
|
|
12
|
+
type IdsOverlayPanelAppearanceType = (typeof IdsOverlayPanelAppearance)[keyof typeof IdsOverlayPanelAppearance];
|
|
13
|
+
|
|
14
|
+
declare const IdsOverlayPanelVariant: {
|
|
15
|
+
readonly SURFACE: "surface";
|
|
16
|
+
readonly LIGHT: "light";
|
|
17
|
+
};
|
|
18
|
+
type IdsOverlayPanelVariantType = (typeof IdsOverlayPanelVariant)[keyof typeof IdsOverlayPanelVariant];
|
|
19
|
+
|
|
20
|
+
interface IdsOverlayPanelDefaultConfig {
|
|
21
|
+
appearance?: IdsOverlayPanelAppearanceType;
|
|
22
|
+
size?: IdsSizeType;
|
|
23
|
+
variant?: IdsOverlayPanelVariantType;
|
|
24
|
+
}
|
|
25
|
+
declare const IDS_OVERLAY_PANEL_DEFAULT_CONFIG: InjectionToken<IdsOverlayPanelDefaultConfig>;
|
|
26
|
+
declare function IDS_OVERLAY_PANEL_DEFAULT_CONFIG_FACTORY(): Required<IdsOverlayPanelDefaultConfig>;
|
|
27
|
+
|
|
28
|
+
declare class IdsOverlayPanelComponent extends ComponentBaseWithDefaults<IdsOverlayPanelDefaultConfig> {
|
|
29
|
+
protected get _hostName(): string;
|
|
30
|
+
protected readonly _defaultConfig: Required<IdsOverlayPanelDefaultConfig>;
|
|
31
|
+
appearance: _angular_core.InputSignal<IdsOverlayPanelAppearanceType>;
|
|
32
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
33
|
+
variant: _angular_core.InputSignal<IdsOverlayPanelVariantType>;
|
|
34
|
+
actionItems: _angular_core.Signal<readonly IdsMenuItemComponent[]>;
|
|
35
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
36
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsOverlayPanelComponent, never>;
|
|
37
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsOverlayPanelComponent, "ids-overlay-panel,div[idsOverlayPanel]", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, {}, ["actionItems"], ["*"], true, [{ directive: typeof i1.CdkMenu; inputs: {}; outputs: {}; }, { directive: typeof i1.CdkTargetMenuAim; inputs: {}; outputs: {}; }]>;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { IDS_OVERLAY_PANEL_DEFAULT_CONFIG, IDS_OVERLAY_PANEL_DEFAULT_CONFIG_FACTORY, IdsOverlayPanelAppearance, IdsOverlayPanelComponent, IdsOverlayPanelVariant };
|
|
41
|
+
export type { IdsOverlayPanelAppearanceType, IdsOverlayPanelDefaultConfig, IdsOverlayPanelVariantType };
|
package/package.json
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@i-cell/ids-angular",
|
|
3
|
+
"version": "0.0.0-watch+1757596135087",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "i-Cell Design System UI Kit components for Angular",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"registry": "https://registry.npmjs.org/",
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/i-Cell-Mobilsoft-Open-Source/ids-angular.git"
|
|
13
|
+
},
|
|
14
|
+
"contributors": [
|
|
15
|
+
"Barsi Balázs",
|
|
16
|
+
"Bátori László",
|
|
17
|
+
"Nagy Gábor",
|
|
18
|
+
"Onofer Dávid",
|
|
19
|
+
"Soós Árpád",
|
|
20
|
+
"Vidóczi Péter"
|
|
21
|
+
],
|
|
22
|
+
"license": "MIT",
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/i-Cell-Mobilsoft-Open-Source/ids-angular/issues"
|
|
25
|
+
},
|
|
26
|
+
"homepage": "https://github.com/i-Cell-Mobilsoft-Open-Source/ids-angular#readme",
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"@angular/animations": "^20.1.7",
|
|
29
|
+
"@angular/cdk": "^20.1.6",
|
|
30
|
+
"@angular/common": "^20.1.7",
|
|
31
|
+
"@angular/core": "^20.1.7",
|
|
32
|
+
"@angular/forms": "^20.1.7",
|
|
33
|
+
"@angular/platform-browser": "^20.1.7",
|
|
34
|
+
"@angular/router": "^20.1.7",
|
|
35
|
+
"@i-cell/ids-styles": "^0.0.49"
|
|
36
|
+
},
|
|
37
|
+
"dependencies": {
|
|
38
|
+
"tslib": "^2.3.0"
|
|
39
|
+
},
|
|
40
|
+
"sideEffects": false,
|
|
41
|
+
"module": "fesm2022/i-cell-ids-angular.mjs",
|
|
42
|
+
"typings": "index.d.ts",
|
|
43
|
+
"exports": {
|
|
44
|
+
"./package.json": {
|
|
45
|
+
"default": "./package.json"
|
|
46
|
+
},
|
|
47
|
+
".": {
|
|
48
|
+
"types": "./index.d.ts",
|
|
49
|
+
"default": "./fesm2022/i-cell-ids-angular.mjs"
|
|
50
|
+
},
|
|
51
|
+
"./accordion": {
|
|
52
|
+
"types": "./accordion/index.d.ts",
|
|
53
|
+
"default": "./fesm2022/i-cell-ids-angular-accordion.mjs"
|
|
54
|
+
},
|
|
55
|
+
"./badge": {
|
|
56
|
+
"types": "./badge/index.d.ts",
|
|
57
|
+
"default": "./fesm2022/i-cell-ids-angular-badge.mjs"
|
|
58
|
+
},
|
|
59
|
+
"./avatar": {
|
|
60
|
+
"types": "./avatar/index.d.ts",
|
|
61
|
+
"default": "./fesm2022/i-cell-ids-angular-avatar.mjs"
|
|
62
|
+
},
|
|
63
|
+
"./button": {
|
|
64
|
+
"types": "./button/index.d.ts",
|
|
65
|
+
"default": "./fesm2022/i-cell-ids-angular-button.mjs"
|
|
66
|
+
},
|
|
67
|
+
"./card": {
|
|
68
|
+
"types": "./card/index.d.ts",
|
|
69
|
+
"default": "./fesm2022/i-cell-ids-angular-card.mjs"
|
|
70
|
+
},
|
|
71
|
+
"./breadcrumb": {
|
|
72
|
+
"types": "./breadcrumb/index.d.ts",
|
|
73
|
+
"default": "./fesm2022/i-cell-ids-angular-breadcrumb.mjs"
|
|
74
|
+
},
|
|
75
|
+
"./checkbox": {
|
|
76
|
+
"types": "./checkbox/index.d.ts",
|
|
77
|
+
"default": "./fesm2022/i-cell-ids-angular-checkbox.mjs"
|
|
78
|
+
},
|
|
79
|
+
"./chip": {
|
|
80
|
+
"types": "./chip/index.d.ts",
|
|
81
|
+
"default": "./fesm2022/i-cell-ids-angular-chip.mjs"
|
|
82
|
+
},
|
|
83
|
+
"./core": {
|
|
84
|
+
"types": "./core/index.d.ts",
|
|
85
|
+
"default": "./fesm2022/i-cell-ids-angular-core.mjs"
|
|
86
|
+
},
|
|
87
|
+
"./dialog": {
|
|
88
|
+
"types": "./dialog/index.d.ts",
|
|
89
|
+
"default": "./fesm2022/i-cell-ids-angular-dialog.mjs"
|
|
90
|
+
},
|
|
91
|
+
"./icon": {
|
|
92
|
+
"types": "./icon/index.d.ts",
|
|
93
|
+
"default": "./fesm2022/i-cell-ids-angular-icon.mjs"
|
|
94
|
+
},
|
|
95
|
+
"./divider": {
|
|
96
|
+
"types": "./divider/index.d.ts",
|
|
97
|
+
"default": "./fesm2022/i-cell-ids-angular-divider.mjs"
|
|
98
|
+
},
|
|
99
|
+
"./icon-button": {
|
|
100
|
+
"types": "./icon-button/index.d.ts",
|
|
101
|
+
"default": "./fesm2022/i-cell-ids-angular-icon-button.mjs"
|
|
102
|
+
},
|
|
103
|
+
"./menu": {
|
|
104
|
+
"types": "./menu/index.d.ts",
|
|
105
|
+
"default": "./fesm2022/i-cell-ids-angular-menu.mjs"
|
|
106
|
+
},
|
|
107
|
+
"./datepicker": {
|
|
108
|
+
"types": "./datepicker/index.d.ts",
|
|
109
|
+
"default": "./fesm2022/i-cell-ids-angular-datepicker.mjs"
|
|
110
|
+
},
|
|
111
|
+
"./notification": {
|
|
112
|
+
"types": "./notification/index.d.ts",
|
|
113
|
+
"default": "./fesm2022/i-cell-ids-angular-notification.mjs"
|
|
114
|
+
},
|
|
115
|
+
"./overlay-panel": {
|
|
116
|
+
"types": "./overlay-panel/index.d.ts",
|
|
117
|
+
"default": "./fesm2022/i-cell-ids-angular-overlay-panel.mjs"
|
|
118
|
+
},
|
|
119
|
+
"./paginator": {
|
|
120
|
+
"types": "./paginator/index.d.ts",
|
|
121
|
+
"default": "./fesm2022/i-cell-ids-angular-paginator.mjs"
|
|
122
|
+
},
|
|
123
|
+
"./forms": {
|
|
124
|
+
"types": "./forms/index.d.ts",
|
|
125
|
+
"default": "./fesm2022/i-cell-ids-angular-forms.mjs"
|
|
126
|
+
},
|
|
127
|
+
"./radio": {
|
|
128
|
+
"types": "./radio/index.d.ts",
|
|
129
|
+
"default": "./fesm2022/i-cell-ids-angular-radio.mjs"
|
|
130
|
+
},
|
|
131
|
+
"./segmented-control": {
|
|
132
|
+
"types": "./segmented-control/index.d.ts",
|
|
133
|
+
"default": "./fesm2022/i-cell-ids-angular-segmented-control.mjs"
|
|
134
|
+
},
|
|
135
|
+
"./segmented-control-toggle": {
|
|
136
|
+
"types": "./segmented-control-toggle/index.d.ts",
|
|
137
|
+
"default": "./fesm2022/i-cell-ids-angular-segmented-control-toggle.mjs"
|
|
138
|
+
},
|
|
139
|
+
"./select": {
|
|
140
|
+
"types": "./select/index.d.ts",
|
|
141
|
+
"default": "./fesm2022/i-cell-ids-angular-select.mjs"
|
|
142
|
+
},
|
|
143
|
+
"./side-nav": {
|
|
144
|
+
"types": "./side-nav/index.d.ts",
|
|
145
|
+
"default": "./fesm2022/i-cell-ids-angular-side-nav.mjs"
|
|
146
|
+
},
|
|
147
|
+
"./snackbar": {
|
|
148
|
+
"types": "./snackbar/index.d.ts",
|
|
149
|
+
"default": "./fesm2022/i-cell-ids-angular-snackbar.mjs"
|
|
150
|
+
},
|
|
151
|
+
"./spinner": {
|
|
152
|
+
"types": "./spinner/index.d.ts",
|
|
153
|
+
"default": "./fesm2022/i-cell-ids-angular-spinner.mjs"
|
|
154
|
+
},
|
|
155
|
+
"./table": {
|
|
156
|
+
"types": "./table/index.d.ts",
|
|
157
|
+
"default": "./fesm2022/i-cell-ids-angular-table.mjs"
|
|
158
|
+
},
|
|
159
|
+
"./switch": {
|
|
160
|
+
"types": "./switch/index.d.ts",
|
|
161
|
+
"default": "./fesm2022/i-cell-ids-angular-switch.mjs"
|
|
162
|
+
},
|
|
163
|
+
"./side-sheet": {
|
|
164
|
+
"types": "./side-sheet/index.d.ts",
|
|
165
|
+
"default": "./fesm2022/i-cell-ids-angular-side-sheet.mjs"
|
|
166
|
+
},
|
|
167
|
+
"./tab": {
|
|
168
|
+
"types": "./tab/index.d.ts",
|
|
169
|
+
"default": "./fesm2022/i-cell-ids-angular-tab.mjs"
|
|
170
|
+
},
|
|
171
|
+
"./tag": {
|
|
172
|
+
"types": "./tag/index.d.ts",
|
|
173
|
+
"default": "./fesm2022/i-cell-ids-angular-tag.mjs"
|
|
174
|
+
},
|
|
175
|
+
"./tooltip": {
|
|
176
|
+
"types": "./tooltip/index.d.ts",
|
|
177
|
+
"default": "./fesm2022/i-cell-ids-angular-tooltip.mjs"
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { InjectionToken } from '@angular/core';
|
|
3
|
+
import { IdsSizeType, ComponentBaseWithDefaults } from '@i-cell/ids-angular/core';
|
|
4
|
+
import { Subject } from 'rxjs';
|
|
5
|
+
|
|
6
|
+
declare const IdsPaginatorPageButtonAppearance: {
|
|
7
|
+
readonly PLAIN: "plain";
|
|
8
|
+
};
|
|
9
|
+
type IdsPaginatorPageButtonAppearanceType = (typeof IdsPaginatorPageButtonAppearance)[keyof typeof IdsPaginatorPageButtonAppearance];
|
|
10
|
+
|
|
11
|
+
declare class IdsPaginatorPageChangeEvent {
|
|
12
|
+
pageIndex: number;
|
|
13
|
+
previousPageIndex?: number;
|
|
14
|
+
pageSize: number;
|
|
15
|
+
length: number;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare const IdsPaginatorVariant: {
|
|
19
|
+
readonly PRIMARY: "primary";
|
|
20
|
+
readonly SECONDARY: "secondary";
|
|
21
|
+
readonly SURFACE: "surface";
|
|
22
|
+
readonly LIGHT: "light";
|
|
23
|
+
};
|
|
24
|
+
type IdsPaginatorVariantType = (typeof IdsPaginatorVariant)[keyof typeof IdsPaginatorVariant];
|
|
25
|
+
|
|
26
|
+
declare const DEFAULT_PAGE_SIZE = 10;
|
|
27
|
+
declare const MAX_DISPLAYED_ITEM_COUNT = 7;
|
|
28
|
+
interface IdsPaginatorDefaultConfig {
|
|
29
|
+
pageSize?: number;
|
|
30
|
+
pageSizeOptions?: number[];
|
|
31
|
+
showFirstLastButton?: boolean;
|
|
32
|
+
showPrevNextLabel?: boolean;
|
|
33
|
+
showPageInfo?: boolean;
|
|
34
|
+
showPageButtons?: boolean;
|
|
35
|
+
showAllPages?: boolean;
|
|
36
|
+
maxDisplayedItemCount?: number;
|
|
37
|
+
size?: IdsSizeType;
|
|
38
|
+
variant?: IdsPaginatorVariantType;
|
|
39
|
+
pageButtonAppearance?: IdsPaginatorPageButtonAppearanceType;
|
|
40
|
+
debounceTime: number;
|
|
41
|
+
}
|
|
42
|
+
declare const IDS_PAGINATOR_DEFAULT_CONFIG: InjectionToken<IdsPaginatorDefaultConfig>;
|
|
43
|
+
declare function IDS_PAGINATOR_DEFAULT_CONFIG_FACTORY(): Required<IdsPaginatorDefaultConfig>;
|
|
44
|
+
|
|
45
|
+
declare class IdsPaginatorIntl {
|
|
46
|
+
readonly changes: Subject<void>;
|
|
47
|
+
nextPageLabel: string;
|
|
48
|
+
previousPageLabel: string;
|
|
49
|
+
nextPageAriaLabel: string;
|
|
50
|
+
previousPageAriaLabel: string;
|
|
51
|
+
firstPageAriaLabel: string;
|
|
52
|
+
lastPageAriaLabel: string;
|
|
53
|
+
getPageAriaLabel: (page: string) => string;
|
|
54
|
+
getRangeLabel: (page: number, pageSize: number, length: number) => string;
|
|
55
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsPaginatorIntl, never>;
|
|
56
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<IdsPaginatorIntl>;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
declare class IdsPaginatorComponent extends ComponentBaseWithDefaults<IdsPaginatorDefaultConfig> {
|
|
60
|
+
protected get _hostName(): string;
|
|
61
|
+
private readonly _changeDetectorRef;
|
|
62
|
+
private readonly _hostElementRef;
|
|
63
|
+
protected readonly _defaultConfig: Required<IdsPaginatorDefaultConfig>;
|
|
64
|
+
private _pageEventDebouncer;
|
|
65
|
+
protected readonly _intl: IdsPaginatorIntl;
|
|
66
|
+
pageSize: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
67
|
+
pageSizeOptions: _angular_core.InputSignal<number[]>;
|
|
68
|
+
showFirstLastButton: _angular_core.InputSignal<boolean>;
|
|
69
|
+
showPrevNextLabel: _angular_core.InputSignal<boolean>;
|
|
70
|
+
showPageInfo: _angular_core.InputSignal<boolean>;
|
|
71
|
+
showPageButtons: _angular_core.InputSignal<boolean>;
|
|
72
|
+
showAllPages: _angular_core.InputSignal<boolean>;
|
|
73
|
+
maxDisplayedItemCount: _angular_core.InputSignal<number>;
|
|
74
|
+
size: _angular_core.InputSignal<IdsSizeType>;
|
|
75
|
+
variant: _angular_core.InputSignal<IdsPaginatorVariantType>;
|
|
76
|
+
pageButtonAppearance: _angular_core.InputSignal<"plain">;
|
|
77
|
+
/** The total number of items that are being paginated. */
|
|
78
|
+
length: _angular_core.InputSignalWithTransform<number, number>;
|
|
79
|
+
disabled: _angular_core.InputSignal<boolean>;
|
|
80
|
+
compactLayout: _angular_core.InputSignal<boolean>;
|
|
81
|
+
protected _hostClasses: _angular_core.Signal<string>;
|
|
82
|
+
protected _pageButtonClasses: _angular_core.Signal<string>;
|
|
83
|
+
protected _safePageSizeData: _angular_core.Signal<{
|
|
84
|
+
safePageSizeOptions: number[];
|
|
85
|
+
safePageSize: number;
|
|
86
|
+
}>;
|
|
87
|
+
protected _pageButtonIdPrefix: _angular_core.Signal<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The index (0 based!) of the currently selected page.
|
|
90
|
+
*
|
|
91
|
+
* Usage note (!):
|
|
92
|
+
* In case paging initiates an async process to update the data and an error occurs the pageIndex needs to be reset to the previous value from the outside.
|
|
93
|
+
* If `pageIndex` is only 1-way bound (input) the model signal's value won't be updated, it needs 2-way binding!
|
|
94
|
+
* Possible cause: https://github.com/angular/angular/issues/57124
|
|
95
|
+
*/
|
|
96
|
+
pageIndex: _angular_core.ModelSignal<number>;
|
|
97
|
+
private _pageIndexValidation;
|
|
98
|
+
protected _pageIndex: _angular_core.Signal<number>;
|
|
99
|
+
private _numberOfPages;
|
|
100
|
+
private _hasPreviousPage;
|
|
101
|
+
private _hasNextPage;
|
|
102
|
+
protected _isPreviousButtonDisabled: _angular_core.Signal<boolean>;
|
|
103
|
+
protected _isNextButtonDisabled: _angular_core.Signal<boolean>;
|
|
104
|
+
protected _pageButtonLabels: _angular_core.Signal<string[]>;
|
|
105
|
+
pageChanged: _angular_core.OutputEmitterRef<IdsPaginatorPageChangeEvent>;
|
|
106
|
+
private _handleKeyDown;
|
|
107
|
+
constructor();
|
|
108
|
+
private _getSafePageSizeData;
|
|
109
|
+
private _getPageButtonLabels;
|
|
110
|
+
private _getTruncatedPageLabels;
|
|
111
|
+
stepNextPage(): void;
|
|
112
|
+
stepPreviousPage(): void;
|
|
113
|
+
stepFirstPage(): void;
|
|
114
|
+
stepLastPage(): void;
|
|
115
|
+
stepPage(pageIndex: number): void;
|
|
116
|
+
private _debouncePageEvent;
|
|
117
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<IdsPaginatorComponent, never>;
|
|
118
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<IdsPaginatorComponent, "ids-paginator", never, { "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; "isSignal": true; }; "showFirstLastButton": { "alias": "showFirstLastButton"; "required": false; "isSignal": true; }; "showPrevNextLabel": { "alias": "showPrevNextLabel"; "required": false; "isSignal": true; }; "showPageInfo": { "alias": "showPageInfo"; "required": false; "isSignal": true; }; "showPageButtons": { "alias": "showPageButtons"; "required": false; "isSignal": true; }; "showAllPages": { "alias": "showAllPages"; "required": false; "isSignal": true; }; "maxDisplayedItemCount": { "alias": "maxDisplayedItemCount"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "pageButtonAppearance": { "alias": "pageButtonAppearance"; "required": false; "isSignal": true; }; "length": { "alias": "length"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "compactLayout": { "alias": "compactLayout"; "required": false; "isSignal": true; }; "pageIndex": { "alias": "pageIndex"; "required": false; "isSignal": true; }; }, { "pageIndex": "pageIndexChange"; "pageChanged": "pageChanged"; }, never, never, true, never>;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export { DEFAULT_PAGE_SIZE, IDS_PAGINATOR_DEFAULT_CONFIG, IDS_PAGINATOR_DEFAULT_CONFIG_FACTORY, IdsPaginatorComponent, IdsPaginatorPageButtonAppearance, IdsPaginatorPageChangeEvent, IdsPaginatorVariant, MAX_DISPLAYED_ITEM_COUNT };
|
|
122
|
+
export type { IdsPaginatorDefaultConfig, IdsPaginatorPageButtonAppearanceType, IdsPaginatorVariantType };
|