@bootkit/ng0 0.0.0-alpha.41 → 0.0.0-alpha.43
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/common/index.d.ts +30 -6
- package/components/accordion/index.d.ts +8 -8
- package/components/button/index.d.ts +7 -10
- package/components/card/index.d.ts +2 -6
- package/components/code/index.d.ts +2 -4
- package/components/collapse/index.d.ts +4 -41
- package/components/confirmation/index.d.ts +14 -16
- package/components/dropdown/index.d.ts +3 -3
- package/components/form-field/index.d.ts +1 -1
- package/components/list/index.d.ts +5 -5
- package/components/modal/index.d.ts +14 -10
- package/components/nav/index.d.ts +13 -15
- package/components/pagination/index.d.ts +8 -8
- package/components/popover/index.d.ts +6 -6
- package/components/sidenav/index.d.ts +17 -21
- package/components/stepper/index.d.ts +3 -4
- package/components/table/index.d.ts +29 -31
- package/components/toast/index.d.ts +14 -8
- package/components/tooltip/index.d.ts +18 -13
- package/components/vertical-menu/index.d.ts +78 -37
- package/data/index.d.ts +1 -6
- package/fesm2022/bootkit-ng0-components-accordion.mjs +8 -10
- package/fesm2022/bootkit-ng0-components-accordion.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-button.mjs +10 -18
- package/fesm2022/bootkit-ng0-components-button.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-card.mjs +8 -16
- package/fesm2022/bootkit-ng0-components-card.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-code.mjs +8 -12
- package/fesm2022/bootkit-ng0-components-code.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-collapse.mjs +15 -127
- package/fesm2022/bootkit-ng0-components-collapse.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-confirmation.mjs +15 -25
- package/fesm2022/bootkit-ng0-components-confirmation.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-dropdown.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-form-field.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-list.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-modal.mjs +13 -11
- package/fesm2022/bootkit-ng0-components-modal.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-nav.mjs +7 -14
- package/fesm2022/bootkit-ng0-components-nav.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-pagination.mjs +9 -9
- package/fesm2022/bootkit-ng0-components-pagination.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-popover.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-sidenav.mjs +50 -43
- package/fesm2022/bootkit-ng0-components-sidenav.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-stepper.mjs +6 -33
- package/fesm2022/bootkit-ng0-components-stepper.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-table.mjs +24 -31
- package/fesm2022/bootkit-ng0-components-table.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-toast.mjs +59 -81
- package/fesm2022/bootkit-ng0-components-toast.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-tooltip.mjs +54 -60
- package/fesm2022/bootkit-ng0-components-tooltip.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-components-vertical-menu.mjs +168 -97
- package/fesm2022/bootkit-ng0-components-vertical-menu.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-data.mjs +1 -1
- package/fesm2022/bootkit-ng0-data.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-http.mjs +22 -30
- package/fesm2022/bootkit-ng0-http.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-layouts-layout1.mjs +1 -1
- package/fesm2022/bootkit-ng0-layouts-layout1.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-security.mjs +46 -30
- package/fesm2022/bootkit-ng0-security.mjs.map +1 -1
- package/fesm2022/bootkit-ng0-utils.mjs +49 -2
- package/fesm2022/bootkit-ng0-utils.mjs.map +1 -1
- package/http/index.d.ts +10 -10
- package/package.json +1 -5
- package/security/index.d.ts +17 -11
- package/utils/index.d.ts +22 -1
- package/components/backdrop/index.d.ts +0 -12
- package/fesm2022/bootkit-ng0-components-backdrop.mjs +0 -46
- package/fesm2022/bootkit-ng0-components-backdrop.mjs.map +0 -1
package/common/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, TrackByFunction } from '@angular/core';
|
|
3
|
+
import { IsActiveMatchOptions } from '@angular/router';
|
|
3
4
|
import { Observable } from 'rxjs';
|
|
4
5
|
|
|
5
6
|
declare const RTL: InjectionToken<boolean>;
|
|
@@ -21,6 +22,7 @@ interface ClaimObject {
|
|
|
21
22
|
*
|
|
22
23
|
*/
|
|
23
24
|
type ClaimLike = string | ClaimObject;
|
|
25
|
+
type ShowCondition = ClaimObject | 'set' | 'unset';
|
|
24
26
|
|
|
25
27
|
type Placement = 'start' | 'end' | 'top' | 'bottom';
|
|
26
28
|
type Alignment = 'start' | 'center' | 'end';
|
|
@@ -40,20 +42,42 @@ declare function flipPlacement(placement: Placement): "start" | "end" | "top" |
|
|
|
40
42
|
declare function formatString(str: string, ...args: any[]): string;
|
|
41
43
|
|
|
42
44
|
/** Menu item */
|
|
43
|
-
interface
|
|
45
|
+
interface MenuItemBase {
|
|
44
46
|
type?: string;
|
|
45
47
|
id?: any;
|
|
46
|
-
disabled?: boolean;
|
|
47
|
-
active?: boolean;
|
|
48
48
|
show?: boolean;
|
|
49
49
|
claim?: ClaimLike;
|
|
50
|
-
|
|
50
|
+
cssClass?: string;
|
|
51
|
+
data?: any;
|
|
52
|
+
}
|
|
53
|
+
interface NodeMenuItem {
|
|
54
|
+
type?: 'node';
|
|
55
|
+
disabled?: boolean;
|
|
51
56
|
text?: string;
|
|
52
|
-
expanded?: boolean;
|
|
53
57
|
icon?: string;
|
|
58
|
+
expanded?: boolean;
|
|
54
59
|
children?: MenuItem[];
|
|
55
60
|
routerLink?: string | string[];
|
|
61
|
+
routerLinkActiveOptions?: {
|
|
62
|
+
exact: boolean;
|
|
63
|
+
} | IsActiveMatchOptions;
|
|
64
|
+
href?: string;
|
|
65
|
+
target?: '_blank' | '_parent' | '_self' | '_top';
|
|
66
|
+
tag?: string;
|
|
67
|
+
tagCssClass?: string | string[];
|
|
68
|
+
}
|
|
69
|
+
interface HeaderMenuItem {
|
|
70
|
+
type: 'header';
|
|
71
|
+
disabled?: boolean;
|
|
72
|
+
text?: string;
|
|
73
|
+
icon?: string;
|
|
74
|
+
tag?: string;
|
|
75
|
+
tagCssClass?: string | string[];
|
|
76
|
+
}
|
|
77
|
+
interface DividerMenuItem extends MenuItemBase {
|
|
78
|
+
type: 'divider';
|
|
56
79
|
}
|
|
80
|
+
type MenuItem = NodeMenuItem | HeaderMenuItem | DividerMenuItem;
|
|
57
81
|
|
|
58
82
|
/**
|
|
59
83
|
* Converts a value to an Observable.
|
|
@@ -273,4 +297,4 @@ declare class IfDirective {
|
|
|
273
297
|
}
|
|
274
298
|
|
|
275
299
|
export { CssClassAttribute, IdGeneratorAttribute, IfDirective, RTL, TrackByAttribute, comparerAttribute, defaultComparer, defaultEqualityComparer, defaultFilter, defaultValueWriter, deleteEntries, equalityComparerAttribute, filterPredicateAttribute, flipPlacement, formatString, getEnumValues, noopFilter, numberArray, sequentialIdGenerator, toObservable, trackByIndex, trackByItem, valueWriterAttribute };
|
|
276
|
-
export type { Alignment, ClaimLike, ClaimObject, Comparer, ComparerLike, CssClass, CssClassGetter, CssClassLike, EqualityComparer, EqualityComparerLike, FilterPredicate, FilterPredicateLike, IdGenerator, IdGeneratorLike, MenuItem, Placement, TrackByLike, ValueWriter, ValueWriterLike };
|
|
300
|
+
export type { Alignment, ClaimLike, ClaimObject, Comparer, ComparerLike, CssClass, CssClassGetter, CssClassLike, DividerMenuItem, EqualityComparer, EqualityComparerLike, FilterPredicate, FilterPredicateLike, HeaderMenuItem, IdGenerator, IdGeneratorLike, MenuItem, MenuItemBase, NodeMenuItem, Placement, ShowCondition, TrackByLike, ValueWriter, ValueWriterLike };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { QueryList
|
|
2
|
+
import { QueryList } from '@angular/core';
|
|
3
3
|
|
|
4
4
|
declare class AccordionItemComponent {
|
|
5
|
-
private _element;
|
|
6
|
-
private _renderer;
|
|
7
|
-
private _accordion;
|
|
5
|
+
private readonly _element;
|
|
6
|
+
private readonly _renderer;
|
|
7
|
+
private readonly _accordion;
|
|
8
8
|
/**
|
|
9
9
|
* The header text of the accordion item.
|
|
10
10
|
*/
|
|
11
|
-
header: i0.InputSignal<string | undefined>;
|
|
11
|
+
readonly header: i0.InputSignal<string | undefined>;
|
|
12
12
|
/**
|
|
13
13
|
* Whether the accordion item is collapsed or expanded.
|
|
14
14
|
*/
|
|
15
|
-
collapsed: i0.ModelSignal<boolean>;
|
|
15
|
+
readonly collapsed: i0.ModelSignal<boolean>;
|
|
16
16
|
constructor();
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionItemComponent, never>;
|
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionItemComponent, "ng0-accordion-item", ["ng0AccordionItem"], { "header": { "alias": "header"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; }, { "collapsed": "collapsedChange"; }, never, ["*"], true, never>;
|
|
@@ -26,9 +26,9 @@ declare class AccordionComponent {
|
|
|
26
26
|
* 'single' mode allows only one item to be expanded at a time.
|
|
27
27
|
* 'multiple' mode allows multiple items to be expanded simultaneously.
|
|
28
28
|
*/
|
|
29
|
-
mode: i0.InputSignal<"single" | "multiple">;
|
|
29
|
+
readonly mode: i0.InputSignal<"single" | "multiple">;
|
|
30
30
|
readonly items: QueryList<AccordionItemComponent>;
|
|
31
|
-
constructor(
|
|
31
|
+
constructor();
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<AccordionComponent, never>;
|
|
33
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<AccordionComponent, "ng0-accordion", ["ng0Accordion"], { "mode": { "alias": "mode"; "required": false; "isSignal": true; }; }, {}, ["items"], ["*"], true, never>;
|
|
34
34
|
}
|
|
@@ -1,40 +1,37 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit
|
|
3
|
-
import { HttpService } from '@bootkit/ng0/http';
|
|
2
|
+
import { OnInit } from '@angular/core';
|
|
4
3
|
|
|
5
|
-
declare class ButtonDirective implements OnInit
|
|
4
|
+
declare class ButtonDirective implements OnInit {
|
|
5
|
+
private _loadingElement;
|
|
6
6
|
private _element;
|
|
7
7
|
private _renderer;
|
|
8
8
|
private _http;
|
|
9
9
|
private _destroyRef;
|
|
10
|
-
private _loadingElement;
|
|
11
10
|
/**
|
|
12
11
|
* The IDs of the HTTP requests that this button listens to.
|
|
13
12
|
* If one of these requests is in progress, it will show a loading indicator or will be disabled based on 'showLoading' and 'disableOnLoading' properties.
|
|
14
13
|
*/
|
|
15
|
-
request: i0.InputSignal<string | string[] | undefined>;
|
|
14
|
+
readonly request: i0.InputSignal<string | string[] | undefined>;
|
|
16
15
|
/**
|
|
17
16
|
* Whether the button is disabled or not.
|
|
18
17
|
*/
|
|
19
|
-
disabled: i0.ModelSignal<boolean>;
|
|
18
|
+
readonly disabled: i0.ModelSignal<boolean>;
|
|
20
19
|
/**
|
|
21
20
|
* Whether to wait for the HTTP response before enabling the button again.
|
|
22
21
|
* If true, the button will remain disabled until the HTTP request completes.
|
|
23
22
|
* This is useful for preventing multiple clicks while waiting for a response.
|
|
24
23
|
* Default is true.
|
|
25
24
|
*/
|
|
26
|
-
disableDuringRequest: i0.InputSignalWithTransform<boolean, unknown>;
|
|
25
|
+
readonly disableDuringRequest: i0.InputSignalWithTransform<boolean, unknown>;
|
|
27
26
|
/**
|
|
28
27
|
* Whether to show a loading indicator when the HTTP request is in progress.
|
|
29
28
|
* If true, a loading spinner will be displayed on the button while the request is being processed.
|
|
30
29
|
* Default is true.
|
|
31
30
|
*/
|
|
32
|
-
loadingIndicator: i0.InputSignalWithTransform<boolean, unknown>;
|
|
33
|
-
constructor(_element: ElementRef, _renderer: Renderer2, _http: HttpService, _destroyRef: DestroyRef);
|
|
31
|
+
readonly loadingIndicator: i0.InputSignalWithTransform<boolean, unknown>;
|
|
34
32
|
ngOnInit(): void;
|
|
35
33
|
private _showLoading;
|
|
36
34
|
private _hideLoading;
|
|
37
|
-
ngOnDestroy(): void;
|
|
38
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonDirective, never>;
|
|
39
36
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonDirective, "button[ng0Button], a[ng0Button], input[type=button][ng0Button], input[type=submit][ng0Button], input[type=reset][ng0Button]", ["ng0Button"], { "request": { "alias": "request"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "disableDuringRequest": { "alias": "disableDuringRequest"; "required": false; "isSignal": true; }; "loadingIndicator": { "alias": "loadingIndicator"; "required": false; "isSignal": true; }; }, { "disabled": "disabledChange"; }, never, never, true, never>;
|
|
40
37
|
}
|
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ElementRef, Renderer2 } from '@angular/core';
|
|
3
2
|
|
|
4
3
|
declare class CardComponent {
|
|
5
4
|
private _element;
|
|
6
5
|
private _renderer;
|
|
7
|
-
header: i0.InputSignal<string | undefined>;
|
|
8
|
-
constructor(
|
|
6
|
+
readonly header: i0.InputSignal<string | undefined>;
|
|
7
|
+
constructor();
|
|
9
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardComponent, never>;
|
|
10
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<CardComponent, "ng0-card", ["ng0Card"], { "header": { "alias": "header"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
declare class CardHeaderComponent {
|
|
14
|
-
private _element;
|
|
15
|
-
private _renderer;
|
|
16
|
-
constructor(_element: ElementRef, _renderer: Renderer2);
|
|
17
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<CardHeaderComponent, never>;
|
|
18
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<CardHeaderComponent, "ng0-card-header", ["ng0CardHeader"], {}, {}, never, ["*"], true, never>;
|
|
19
15
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
3
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
4
3
|
|
|
5
4
|
type CodeFormatterFunc = (code: string) => string;
|
|
6
5
|
declare class CodeFormatter {
|
|
@@ -19,14 +18,13 @@ declare class CodeFormatters {
|
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
declare class CodeComponent {
|
|
22
|
-
private
|
|
23
|
-
private
|
|
21
|
+
private _formatters;
|
|
22
|
+
private _domSanitizer;
|
|
24
23
|
/** Code formatter name */
|
|
25
24
|
formatter: i0.InputSignal<string>;
|
|
26
25
|
/** Code */
|
|
27
26
|
code: i0.InputSignal<string>;
|
|
28
27
|
protected _safeHtml: i0.Signal<_angular_platform_browser.SafeHtml | undefined>;
|
|
29
|
-
constructor(formatters: CodeFormatters, domSanitizer: DomSanitizer);
|
|
30
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<CodeComponent, never>;
|
|
31
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<CodeComponent, "ng0-code", ["ng0Code"], { "formatter": { "alias": "formatter"; "required": true; "isSignal": true; }; "code": { "alias": "code"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
32
30
|
}
|
|
@@ -1,36 +1,4 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { OnInit, OnDestroy, ElementRef, Renderer2 } from '@angular/core';
|
|
3
|
-
import { AnimationBuilder } from '@angular/animations';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Directive to handle the collapse and expand functionality of a host element.
|
|
7
|
-
*/
|
|
8
|
-
declare class CollapseDirective implements OnInit, OnDestroy {
|
|
9
|
-
private el;
|
|
10
|
-
private builder;
|
|
11
|
-
private renderer;
|
|
12
|
-
/**
|
|
13
|
-
* Indicates whether the host element is collapsed.
|
|
14
|
-
* @input
|
|
15
|
-
*/
|
|
16
|
-
collapsed: i0.InputSignal<boolean>;
|
|
17
|
-
/** Animation timings for collapse/expand animations.
|
|
18
|
-
* @input
|
|
19
|
-
*/
|
|
20
|
-
timings: i0.InputSignal<string | number>;
|
|
21
|
-
private _player?;
|
|
22
|
-
private _firstExecution;
|
|
23
|
-
constructor(el: ElementRef, builder: AnimationBuilder, renderer: Renderer2);
|
|
24
|
-
ngOnInit(): void;
|
|
25
|
-
private _collapse;
|
|
26
|
-
private _expand;
|
|
27
|
-
private _playAnimation;
|
|
28
|
-
private _addClass;
|
|
29
|
-
private _removeClass;
|
|
30
|
-
ngOnDestroy(): void;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CollapseDirective, never>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CollapseDirective, "[ng0Collapse]", ["ng0Collapse"], { "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; "timings": { "alias": "timings"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
33
|
-
}
|
|
34
2
|
|
|
35
3
|
/**
|
|
36
4
|
* A component that provides collapse and expand functionality.
|
|
@@ -40,20 +8,15 @@ declare class CollapseComponent {
|
|
|
40
8
|
* Indicates whether the host element is collapsed.
|
|
41
9
|
* @model
|
|
42
10
|
*/
|
|
43
|
-
collapsed: i0.
|
|
44
|
-
/** Animation timings for collapse/expand animations.
|
|
45
|
-
* @input
|
|
46
|
-
*/
|
|
47
|
-
timings: i0.InputSignal<string | number>;
|
|
48
|
-
private get _collapseExpand();
|
|
11
|
+
readonly collapsed: i0.InputSignal<boolean>;
|
|
49
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollapseComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CollapseComponent, "ng0-collapse", never, { "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; };
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CollapseComponent, "ng0-collapse", never, { "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
51
14
|
}
|
|
52
15
|
|
|
53
16
|
declare class CollapseModule {
|
|
54
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<CollapseModule, never>;
|
|
55
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CollapseModule, never, [typeof
|
|
18
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CollapseModule, never, [typeof CollapseComponent], [typeof CollapseComponent]>;
|
|
56
19
|
static ɵinj: i0.ɵɵInjectorDeclaration<CollapseModule>;
|
|
57
20
|
}
|
|
58
21
|
|
|
59
|
-
export { CollapseComponent,
|
|
22
|
+
export { CollapseComponent, CollapseModule };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
3
|
import * as rxjs from 'rxjs';
|
|
4
|
-
import { DialogRef
|
|
4
|
+
import { DialogRef } from '@angular/cdk/dialog';
|
|
5
5
|
|
|
6
6
|
interface ConfirmationConfig {
|
|
7
7
|
message?: string;
|
|
@@ -37,23 +37,14 @@ declare class ConfirmationComponent implements OnInit {
|
|
|
37
37
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationComponent, "ng0-confirmation", ["ng0Confirmation"], {}, {}, never, never, true, never>;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
declare class ConfirmationService {
|
|
41
|
-
private dialog;
|
|
42
|
-
constructor(dialog: Dialog);
|
|
43
|
-
open(config?: ConfirmationConfig): ConfirmationRef;
|
|
44
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
|
|
45
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
40
|
declare class ConfirmationDirective {
|
|
49
|
-
private
|
|
50
|
-
config
|
|
51
|
-
confirm: EventEmitter<ConfirmationRef>;
|
|
52
|
-
cancel: EventEmitter<ConfirmationRef>;
|
|
53
|
-
|
|
54
|
-
private _onClick;
|
|
41
|
+
private _confirmationService;
|
|
42
|
+
readonly config: i0.InputSignal<ConfirmationConfig | undefined>;
|
|
43
|
+
readonly confirm: EventEmitter<ConfirmationRef>;
|
|
44
|
+
readonly cancel: EventEmitter<ConfirmationRef>;
|
|
45
|
+
protected _onClick(): void;
|
|
55
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDirective, never>;
|
|
56
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ConfirmationDirective, "[ng0Confirmation]", ["ng0Confirmation"], { "config": { "alias": "config"; "required": false; }; }, { "confirm": "confirm"; "cancel": "cancel"; }, never, never, true, never>;
|
|
47
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ConfirmationDirective, "[ng0Confirmation]", ["ng0Confirmation"], { "config": { "alias": "config"; "required": false; "isSignal": true; }; }, { "confirm": "confirm"; "cancel": "cancel"; }, never, never, true, never>;
|
|
57
48
|
}
|
|
58
49
|
|
|
59
50
|
declare class ConfirmationModule {
|
|
@@ -62,5 +53,12 @@ declare class ConfirmationModule {
|
|
|
62
53
|
static ɵinj: i0.ɵɵInjectorDeclaration<ConfirmationModule>;
|
|
63
54
|
}
|
|
64
55
|
|
|
56
|
+
declare class ConfirmationService {
|
|
57
|
+
private _dialog;
|
|
58
|
+
open(config?: ConfirmationConfig): ConfirmationRef;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationService, never>;
|
|
60
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ConfirmationService>;
|
|
61
|
+
}
|
|
62
|
+
|
|
65
63
|
export { ConfirmationComponent, ConfirmationDirective, ConfirmationModule, ConfirmationRef, ConfirmationService };
|
|
66
64
|
export type { ConfirmationConfig };
|
|
@@ -84,7 +84,7 @@ declare class DropdownComponent {
|
|
|
84
84
|
* Toggle the dropdown open or closed.
|
|
85
85
|
*/
|
|
86
86
|
toggle(): void;
|
|
87
|
-
|
|
87
|
+
protected _onDocumentClick(e: MouseEvent): void;
|
|
88
88
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownComponent, never>;
|
|
89
89
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropdownComponent, "ng0-dropdown", ["ng0Dropdown"], { "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "defaultStyle": { "alias": "defaultStyle"; "required": false; "isSignal": true; }; "toggleCss": { "alias": "toggleCss"; "required": false; "isSignal": true; }; "splitCss": { "alias": "splitCss"; "required": false; "isSignal": true; }; "open": { "alias": "open"; "required": false; "isSignal": true; }; "split": { "alias": "split"; "required": false; "isSignal": true; }; "autoClose": { "alias": "autoClose"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "open": "openChange"; "toggleClick": "toggleClick"; }, ["_dropdownMenu"], ["*", "ng0-dropdown-menu"], true, never>;
|
|
90
90
|
}
|
|
@@ -110,7 +110,7 @@ declare class DropdownItemComponent {
|
|
|
110
110
|
* Whether the dropdown item is disabled.
|
|
111
111
|
*/
|
|
112
112
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
113
|
-
|
|
113
|
+
protected _onClick(e: MouseEvent): void;
|
|
114
114
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownItemComponent, never>;
|
|
115
115
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropdownItemComponent, "ng0-dropdown-item", ["ng0DropdownItem"], { "cssClass": { "alias": "cssClass"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
116
116
|
}
|
|
@@ -136,7 +136,7 @@ declare class DropdownLinkComponent {
|
|
|
136
136
|
* Whether the dropdown link is disabled.
|
|
137
137
|
*/
|
|
138
138
|
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
139
|
-
|
|
139
|
+
protected _onClick(e: MouseEvent): void;
|
|
140
140
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DropdownLinkComponent, never>;
|
|
141
141
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DropdownLinkComponent, "ng0-dropdown-link", ["ng0DropdownLink"], { "link": { "alias": "link"; "required": true; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; "target": { "alias": "target"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
142
142
|
}
|
|
@@ -41,7 +41,7 @@ declare class FormFieldComponent implements AfterContentInit {
|
|
|
41
41
|
ngAfterContentInit(): void;
|
|
42
42
|
private _checkValidation;
|
|
43
43
|
private _isControlRequired;
|
|
44
|
-
|
|
44
|
+
protected _onFocusOut(): void;
|
|
45
45
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormFieldComponent, never>;
|
|
46
46
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormFieldComponent, "ng0-form-field, ng0-field", ["ng0FormField"], { "label": { "alias": "label"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "showErrors": { "alias": "showErrors"; "required": false; "isSignal": true; }; "showRequired": { "alias": "showRequired"; "required": false; "isSignal": true; }; "showSubscripts": { "alias": "showSubscripts"; "required": false; "isSignal": true; }; "inputGroup": { "alias": "inputGroup"; "required": false; "isSignal": true; }; }, {}, ["_ngControlElement", "_ngControl"], ["*"], true, never>;
|
|
47
47
|
}
|
|
@@ -62,7 +62,7 @@ declare class ListItem {
|
|
|
62
62
|
* Sets focus on the item.
|
|
63
63
|
*/
|
|
64
64
|
focus(): void;
|
|
65
|
-
|
|
65
|
+
protected _getTabIndex(): 0 | -1 | undefined;
|
|
66
66
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListItem, never>;
|
|
67
67
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ListItem, "ng0-list-item", ["ng0ListItem"], { "value": { "alias": "value"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
68
68
|
}
|
|
@@ -222,10 +222,10 @@ declare class ListComponent implements ControlValueAccessor {
|
|
|
222
222
|
private _updateSelectedItems;
|
|
223
223
|
private _activateFirstSelectedItem;
|
|
224
224
|
private _updateValue;
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
225
|
+
protected _hostAriaActiveDescendant: _angular_core.Signal<any>;
|
|
226
|
+
protected _hostTabIndex: _angular_core.Signal<0 | undefined>;
|
|
227
|
+
protected _onHostBlur(): void;
|
|
228
|
+
protected _onKeydown(e: KeyboardEvent): void;
|
|
229
229
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
230
230
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListComponent, "ng0-list, ng0-select-list", ["ng0List"], { "source": { "alias": "source"; "required": true; "isSignal": true; }; "multiple": { "alias": "multiple"; "required": false; "isSignal": true; }; "showSelectionIndicator": { "alias": "showSelectionIndicator"; "required": false; "isSignal": true; }; "compareBy": { "alias": "compareBy"; "required": false; "isSignal": true; }; "formatBy": { "alias": "formatBy"; "required": false; "isSignal": true; }; "writeBy": { "alias": "writeBy"; "required": false; "isSignal": true; }; "filterBy": { "alias": "filterBy"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "itemClass": { "alias": "itemClass"; "required": false; "isSignal": true; }; "focusMode": { "alias": "focusMode"; "required": false; "isSignal": true; }; "idGenerator": { "alias": "idGenerator"; "required": false; "isSignal": true; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; "isSignal": true; }; }, { "itemSelect": "itemSelect"; }, ["_itemTemplate"], never, true, never>;
|
|
231
231
|
}
|
|
@@ -7,35 +7,38 @@ interface ModalCloseRequest {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
declare class ModalComponent {
|
|
10
|
+
protected readonly _modalStatic: _angular_core.WritableSignal<boolean>;
|
|
11
|
+
/**
|
|
12
|
+
* Is modal open?
|
|
13
|
+
*/
|
|
14
|
+
readonly open: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
10
15
|
/**
|
|
11
16
|
* Is modal scrollable?
|
|
12
17
|
*/
|
|
13
|
-
scrollable: _angular_core.
|
|
18
|
+
readonly scrollable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
14
19
|
/** Is modal vertically centered? */
|
|
15
|
-
centered: _angular_core.
|
|
20
|
+
readonly centered: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
16
21
|
/**
|
|
17
22
|
* Size of the modal.
|
|
18
23
|
*/
|
|
19
|
-
size: _angular_core.InputSignal<"sm" | "default" | "lg" | "xl">;
|
|
24
|
+
readonly size: _angular_core.InputSignal<"sm" | "default" | "lg" | "xl">;
|
|
20
25
|
/**
|
|
21
26
|
* Is modal fullscreen?
|
|
22
27
|
*/
|
|
23
|
-
fullscreen: _angular_core.InputSignal<"sm" | "lg" | "xl" | "always" | "md" | "xxl" | undefined>;
|
|
28
|
+
readonly fullscreen: _angular_core.InputSignal<"sm" | "lg" | "xl" | "always" | "md" | "xxl" | undefined>;
|
|
24
29
|
/**
|
|
25
30
|
* Emitted when user clicks the backdrop or presses the escape key.
|
|
26
31
|
*/
|
|
27
|
-
closeRequest: EventEmitter<ModalCloseRequest>;
|
|
32
|
+
readonly closeRequest: EventEmitter<ModalCloseRequest>;
|
|
28
33
|
/**
|
|
29
34
|
* Emitted when the backdrop is clicked.
|
|
30
35
|
*/
|
|
31
|
-
backdropClick: EventEmitter<Event>;
|
|
32
|
-
protected _modalStatic: _angular_core.WritableSignal<boolean>;
|
|
33
|
-
constructor();
|
|
36
|
+
readonly backdropClick: EventEmitter<Event>;
|
|
34
37
|
protected _onBackdropClick(event: MouseEvent): void;
|
|
35
|
-
|
|
38
|
+
protected _onDocumentKeyDown(event: KeyboardEvent): void;
|
|
36
39
|
private _shakeModal;
|
|
37
40
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ModalComponent, never>;
|
|
38
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent, "ng0-modal", ["ng0Modal"], { "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "centered": { "alias": "centered"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullscreen": { "alias": "fullscreen"; "required": false; "isSignal": true; }; }, { "closeRequest": "closeRequest"; "backdropClick": "backdropClick"; }, never, ["*"], true, never>;
|
|
41
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ModalComponent, "ng0-modal", ["ng0Modal"], { "open": { "alias": "open"; "required": false; "isSignal": true; }; "scrollable": { "alias": "scrollable"; "required": false; "isSignal": true; }; "centered": { "alias": "centered"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "fullscreen": { "alias": "fullscreen"; "required": false; "isSignal": true; }; }, { "closeRequest": "closeRequest"; "backdropClick": "backdropClick"; }, never, ["*"], true, never>;
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
declare class ModalModule {
|
|
@@ -45,3 +48,4 @@ declare class ModalModule {
|
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
export { ModalComponent, ModalModule };
|
|
51
|
+
export type { ModalCloseRequest };
|
|
@@ -5,16 +5,26 @@ declare class NavDirective {
|
|
|
5
5
|
/**
|
|
6
6
|
* The active item.
|
|
7
7
|
*/
|
|
8
|
-
activeItem: i0.ModelSignal<any>;
|
|
8
|
+
readonly activeItem: i0.ModelSignal<any>;
|
|
9
9
|
/**
|
|
10
10
|
* Whether the navigation is disabled.
|
|
11
11
|
*/
|
|
12
|
-
disabled: i0.InputSignal<boolean>;
|
|
13
|
-
constructor();
|
|
12
|
+
readonly disabled: i0.InputSignal<boolean>;
|
|
14
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavDirective, never>;
|
|
15
14
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NavDirective, "[ng0Nav]", ["ng0Nav"], { "activeItem": { "alias": "activeItem"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "activeItem": "activeItemChange"; }, never, never, true, never>;
|
|
16
15
|
}
|
|
17
16
|
|
|
17
|
+
declare class NavLinkDirective {
|
|
18
|
+
private _nav;
|
|
19
|
+
private _navItem;
|
|
20
|
+
elementRef: ElementRef<any>;
|
|
21
|
+
protected _onClick(): void;
|
|
22
|
+
protected get _active(): boolean;
|
|
23
|
+
protected get _disabled(): boolean;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NavLinkDirective, never>;
|
|
25
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NavLinkDirective, "[ng0NavLink]", ["ng0NavLink"], {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
27
|
+
|
|
18
28
|
declare class NavItemDirective {
|
|
19
29
|
elementRef: ElementRef;
|
|
20
30
|
id: i0.InputSignal<any>;
|
|
@@ -24,18 +34,6 @@ declare class NavItemDirective {
|
|
|
24
34
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NavItemDirective, "[ng0NavItem]", ["ng0NavItem"], { "id": { "alias": "ng0NavItem"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
35
|
}
|
|
26
36
|
|
|
27
|
-
declare class NavLinkDirective {
|
|
28
|
-
elementRef: ElementRef;
|
|
29
|
-
private _nav;
|
|
30
|
-
private _navItem;
|
|
31
|
-
constructor(elementRef: ElementRef, _nav: NavDirective, _navItem: NavItemDirective);
|
|
32
|
-
private _onClick;
|
|
33
|
-
private get _active();
|
|
34
|
-
private get _disabled();
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavLinkDirective, never>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NavLinkDirective, "[ng0NavLink]", ["ng0NavLink"], {}, {}, never, never, true, never>;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
37
|
declare class NavContentDirective {
|
|
40
38
|
templateRef: TemplateRef<any>;
|
|
41
39
|
id: i0.InputSignal<any>;
|
|
@@ -5,30 +5,30 @@ declare class PaginationComponent {
|
|
|
5
5
|
/**
|
|
6
6
|
* Total number of records.
|
|
7
7
|
*/
|
|
8
|
-
totalRecords: _angular_core.InputSignal<number>;
|
|
8
|
+
readonly totalRecords: _angular_core.InputSignal<number>;
|
|
9
9
|
/**
|
|
10
10
|
* Page size. Number of items in each page.
|
|
11
11
|
*/
|
|
12
|
-
pageSize: _angular_core.InputSignal<number>;
|
|
12
|
+
readonly pageSize: _angular_core.InputSignal<number>;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Zero-based index of the selected page.
|
|
15
15
|
*/
|
|
16
|
-
selectedPage: _angular_core.InputSignal<number
|
|
16
|
+
readonly selectedPage: _angular_core.InputSignal<number>;
|
|
17
17
|
/**
|
|
18
18
|
* Maximum number of visible pages.
|
|
19
19
|
* Default is 10.
|
|
20
20
|
*/
|
|
21
|
-
maxVisiblePages: _angular_core.InputSignal<number>;
|
|
21
|
+
readonly maxVisiblePages: _angular_core.InputSignal<number>;
|
|
22
22
|
/**
|
|
23
23
|
* Show first and last buttons.
|
|
24
24
|
* Default is true.
|
|
25
25
|
*/
|
|
26
|
-
showNextPreviousButtons: _angular_core.InputSignal<boolean | undefined>;
|
|
26
|
+
readonly showNextPreviousButtons: _angular_core.InputSignal<boolean | undefined>;
|
|
27
27
|
/**
|
|
28
28
|
* Show first and last buttons.
|
|
29
29
|
* Default is true.
|
|
30
30
|
*/
|
|
31
|
-
showFirstLastButtons: _angular_core.InputSignal<boolean | undefined>;
|
|
31
|
+
readonly showFirstLastButtons: _angular_core.InputSignal<boolean | undefined>;
|
|
32
32
|
/**
|
|
33
33
|
* Total number of pages.
|
|
34
34
|
* This is a computed property based on totalRecords and pageSize.
|
|
@@ -39,7 +39,7 @@ declare class PaginationComponent {
|
|
|
39
39
|
* Emits the selected page index when a page is clicked.
|
|
40
40
|
* The index starts from 1.
|
|
41
41
|
*/
|
|
42
|
-
itemClick: EventEmitter<number>;
|
|
42
|
+
readonly itemClick: EventEmitter<number>;
|
|
43
43
|
protected _totalPagesCount: number;
|
|
44
44
|
protected _visiblePages: _angular_core.Signal<number[]>;
|
|
45
45
|
_onPageChange(pageIndex: number): void;
|
|
@@ -22,12 +22,12 @@ declare class PopoverDirective implements OnInit, OnDestroy {
|
|
|
22
22
|
private _disposeOverlay;
|
|
23
23
|
private _toggleOverlay;
|
|
24
24
|
private _getPositions;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
protected _onClick(): void;
|
|
26
|
+
protected _onDblclick(): void;
|
|
27
|
+
protected _onMouseEnter(): void;
|
|
28
|
+
protected _onMouseLeave(): void;
|
|
29
|
+
protected _onFocus(): void;
|
|
30
|
+
protected _onFocusout(): void;
|
|
31
31
|
ngOnDestroy(): void;
|
|
32
32
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PopoverDirective, never>;
|
|
33
33
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<PopoverDirective, "[ng0Popover]", ["ng0Popover"], { "header": { "alias": "header"; "required": false; "isSignal": true; }; "content": { "alias": "ng0Popover"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "triggerBy": { "alias": "triggerBy"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|