@js-smart/ng-kit 19.7.0 → 20.0.0
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/js-smart-ng-kit.mjs +252 -259
- package/fesm2022/js-smart-ng-kit.mjs.map +1 -1
- package/index.d.ts +939 -3
- package/package.json +1 -1
- package/lib/components/alert/alert.component.d.ts +0 -73
- package/lib/components/autocomplete/autocomplete.component.d.ts +0 -92
- package/lib/components/buttons/base-button/base-button.component.d.ts +0 -69
- package/lib/components/buttons/bs-link-button/bs-link-button.component.d.ts +0 -10
- package/lib/components/buttons/delete-button/delete-button.component.d.ts +0 -11
- package/lib/components/buttons/edit-bs-button/edit-bs-button.component.d.ts +0 -9
- package/lib/components/buttons/edit-button/edit-button.component.d.ts +0 -10
- package/lib/components/buttons/edit-svg-icon-button/edit-svg-icon-button.component.d.ts +0 -10
- package/lib/components/buttons/excel-export-button/excel-export-button.component.d.ts +0 -5
- package/lib/components/buttons/manage-button/manage-button.component.d.ts +0 -10
- package/lib/components/buttons/pdf-export-button/pdf-export-button.component.d.ts +0 -5
- package/lib/components/buttons/primary-button/primary-button.component.d.ts +0 -12
- package/lib/components/buttons/save-primary-button/save-primary-button.component.d.ts +0 -11
- package/lib/components/buttons/search-button/search-button.component.d.ts +0 -11
- package/lib/components/buttons/success-button/success-button.component.d.ts +0 -11
- package/lib/components/buttons/view-button/view-button.component.d.ts +0 -9
- package/lib/components/buttons/view-primary-button/view-primary-button.component.d.ts +0 -10
- package/lib/components/confirm-dialog/confirm-dialog.component.d.ts +0 -20
- package/lib/components/ngx-spinner/ngx-spinner.component.d.ts +0 -109
- package/lib/components/ngx-spinner/ngx-spinner.enum.d.ts +0 -37
- package/lib/components/ngx-spinner/ngx-spinner.service.d.ts +0 -34
- package/lib/components/ngx-spinner/safe-html.pipe.d.ts +0 -10
- package/lib/components/snack-bar/error-snack-bar/error-snack-bar.component.d.ts +0 -22
- package/lib/components/snack-bar/success-snack-bar/success-snack-bar.component.d.ts +0 -22
- package/lib/components/spinner/spinner.component.d.ts +0 -22
- package/lib/directives/ngx-print.directive.d.ts +0 -157
- package/lib/directives/prevent-multiple-clicks.directive.d.ts +0 -21
- package/lib/pipes/type-of.pipe.d.ts +0 -7
- package/lib/services/mat-snack-bar.service.d.ts +0 -61
- package/lib/store/entity-store.d.ts +0 -61
- package/lib/store/store.d.ts +0 -22
- package/lib/svg-icons/edit-solid-svg/edit-solid-svg.component.d.ts +0 -8
- package/lib/types/id-type.d.ts +0 -3
- package/lib/types/progress-state.d.ts +0 -7
- package/lib/util/progress-util.d.ts +0 -39
- package/public-api.d.ts +0 -29
package/package.json
CHANGED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
/**
|
|
4
|
-
* Boostrap Alert component that can be used to alert messages to the user
|
|
5
|
-
*
|
|
6
|
-
* @author Pavan Kumar Jadda
|
|
7
|
-
* @since 12.0.0
|
|
8
|
-
*/
|
|
9
|
-
export declare class AlertComponent implements OnInit {
|
|
10
|
-
private cdr;
|
|
11
|
-
/**
|
|
12
|
-
* Type of the BootStrap Alert. Following values are supported. See BootStrap docs for more information
|
|
13
|
-
* <pre>
|
|
14
|
-
* 1. info
|
|
15
|
-
* 2. primary
|
|
16
|
-
* 3. secondary
|
|
17
|
-
* 4. success
|
|
18
|
-
* 5. warning
|
|
19
|
-
* 6. danger
|
|
20
|
-
* 7. dark
|
|
21
|
-
* 8. light
|
|
22
|
-
* </pre>
|
|
23
|
-
*/
|
|
24
|
-
type: import("@angular/core").InputSignal<string>;
|
|
25
|
-
/**
|
|
26
|
-
* Is alert visible or open
|
|
27
|
-
*/
|
|
28
|
-
isOpen: import("@angular/core").InputSignal<boolean>;
|
|
29
|
-
/**
|
|
30
|
-
* Writable signal for isOpen
|
|
31
|
-
*/
|
|
32
|
-
open: import("@angular/core").WritableSignal<boolean>;
|
|
33
|
-
/**
|
|
34
|
-
* If set, displays an inline “Close” button
|
|
35
|
-
*/
|
|
36
|
-
dismissible: import("@angular/core").InputSignal<boolean>;
|
|
37
|
-
/**
|
|
38
|
-
* If set, dismisses the alert after Dismiss Timeout
|
|
39
|
-
*/
|
|
40
|
-
dismissOnTimeout: import("@angular/core").InputSignal<boolean>;
|
|
41
|
-
/**
|
|
42
|
-
* Number in milliseconds, after which alert will be closed. Default value is 5000 ms
|
|
43
|
-
*/
|
|
44
|
-
dismissTimeout: import("@angular/core").InputSignal<number>;
|
|
45
|
-
/**
|
|
46
|
-
* Additional classes to be added to the alert. This can be used to add custom styles to the alert
|
|
47
|
-
*/
|
|
48
|
-
class: import("@angular/core").InputSignal<string>;
|
|
49
|
-
constructor(cdr: ChangeDetectorRef);
|
|
50
|
-
/**
|
|
51
|
-
* Initialize the component and settings
|
|
52
|
-
*
|
|
53
|
-
* @author Pavan Kumar Jadda
|
|
54
|
-
* @since 12.0.0
|
|
55
|
-
*/
|
|
56
|
-
ngOnInit(): void;
|
|
57
|
-
/**
|
|
58
|
-
* Closes BootStrap Alert if not open
|
|
59
|
-
*
|
|
60
|
-
* @author Pavan Kumar Jadda
|
|
61
|
-
* @since 12.0.0
|
|
62
|
-
*/
|
|
63
|
-
closeAlert(): void;
|
|
64
|
-
/**
|
|
65
|
-
* Opens Bootstrap Alert
|
|
66
|
-
*
|
|
67
|
-
* @author Pavan Kumar Jadda
|
|
68
|
-
* @since 12.0.0
|
|
69
|
-
*/
|
|
70
|
-
private openAlert;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AlertComponent, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AlertComponent, "lib-alert, alert", never, { "type": { "alias": "type"; "required": false; "isSignal": true; }; "isOpen": { "alias": "isOpen"; "required": false; "isSignal": true; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; "dismissOnTimeout": { "alias": "dismissOnTimeout"; "required": false; "isSignal": true; }; "dismissTimeout": { "alias": "dismissTimeout"; "required": false; "isSignal": true; }; "class": { "alias": "class"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
73
|
-
}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { AfterContentChecked, ChangeDetectorRef, ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
-
import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
4
|
-
import { MatOptionSelectionChange } from '@angular/material/core';
|
|
5
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Reusable Auto Complete component that extends MatAutoComplete to show Clear icon and Arrow buttons
|
|
9
|
-
*
|
|
10
|
-
* @author Pavan Kumar Jadda
|
|
11
|
-
* @since 12.0.0
|
|
12
|
-
*/
|
|
13
|
-
export declare class AutocompleteComponent implements OnInit, OnChanges, AfterContentChecked, ControlValueAccessor {
|
|
14
|
-
private cdRef;
|
|
15
|
-
/**
|
|
16
|
-
* Gets reference inputAutoComplete HTML attribute
|
|
17
|
-
*/
|
|
18
|
-
inputAutoComplete: ElementRef;
|
|
19
|
-
/**
|
|
20
|
-
* Internal form control for the autocomplete
|
|
21
|
-
*/
|
|
22
|
-
control: FormControl<string | null>;
|
|
23
|
-
/**
|
|
24
|
-
* Label of the AutoComplete
|
|
25
|
-
*/
|
|
26
|
-
label: import("@angular/core").InputSignal<string>;
|
|
27
|
-
/**
|
|
28
|
-
* Placeholder of the AutoComplete
|
|
29
|
-
*/
|
|
30
|
-
placeHolder: import("@angular/core").InputSignal<string>;
|
|
31
|
-
/**
|
|
32
|
-
* Appearance of the AutoComplete, defaults to `fill`
|
|
33
|
-
*/
|
|
34
|
-
appearance: import("@angular/core").InputSignal<string>;
|
|
35
|
-
/**
|
|
36
|
-
* List of CSS classes that need to applied to autocomplete
|
|
37
|
-
*/
|
|
38
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
39
|
-
/**
|
|
40
|
-
* Attribute of the Object whose value would be shown when searching for data. Defaults to `ID`
|
|
41
|
-
*/
|
|
42
|
-
bindLabel: import("@angular/core").InputSignal<string>;
|
|
43
|
-
/**
|
|
44
|
-
* Attribute of the Object whose value would be used for search
|
|
45
|
-
*/
|
|
46
|
-
bindValue: import("@angular/core").InputSignal<string>;
|
|
47
|
-
/**
|
|
48
|
-
* Function that maps an option's control value to its display value in the trigger.
|
|
49
|
-
*/
|
|
50
|
-
displayWith: ((value: any) => string) | null;
|
|
51
|
-
/**
|
|
52
|
-
* Specifies if the autocomplete is required. Default is not required.
|
|
53
|
-
*/
|
|
54
|
-
required: import("@angular/core").InputSignal<boolean>;
|
|
55
|
-
/**
|
|
56
|
-
* Specifies if the autocomplete is disabled. Default is not required.
|
|
57
|
-
*/
|
|
58
|
-
disabled: import("@angular/core").InputSignal<boolean>;
|
|
59
|
-
/**
|
|
60
|
-
* List of Objects that need to be bind and searched for
|
|
61
|
-
*/
|
|
62
|
-
data: import("@angular/core").InputSignal<any[] | string[] | undefined>;
|
|
63
|
-
/**
|
|
64
|
-
* Emit selected value on selection changes
|
|
65
|
-
*/
|
|
66
|
-
onSelectionChange: import("@angular/core").OutputEmitterRef<any>;
|
|
67
|
-
/**
|
|
68
|
-
* BehaviorSubject that shows the current active arrow icon
|
|
69
|
-
*/
|
|
70
|
-
arrowIconSubject: BehaviorSubject<string>;
|
|
71
|
-
/**
|
|
72
|
-
* Filtered options when user types
|
|
73
|
-
*/
|
|
74
|
-
filteredOptions: Observable<any[] | undefined> | undefined;
|
|
75
|
-
private value;
|
|
76
|
-
constructor(cdRef: ChangeDetectorRef);
|
|
77
|
-
writeValue(value: any): void;
|
|
78
|
-
registerOnChange(fn: any): void;
|
|
79
|
-
registerOnTouched(fn: any): void;
|
|
80
|
-
setDisabledState(isDisabled: boolean): void;
|
|
81
|
-
ngAfterContentChecked(): void;
|
|
82
|
-
ngOnInit(): void;
|
|
83
|
-
ngOnChanges(_changes: SimpleChanges): void;
|
|
84
|
-
clearInput(evt: any): void;
|
|
85
|
-
openOrClosePanel(evt: any, trigger: MatAutocompleteTrigger): void;
|
|
86
|
-
displayFn(object: any): string;
|
|
87
|
-
emitSelectedValue($event: MatOptionSelectionChange): void;
|
|
88
|
-
private onChange;
|
|
89
|
-
private onTouched;
|
|
90
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
|
|
91
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "autocomplete, lib-autocomplete", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeHolder": { "alias": "placeHolder"; "required": false; "isSignal": true; }; "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "bindLabel": { "alias": "bindLabel"; "required": false; "isSignal": true; }; "bindValue": { "alias": "bindValue"; "required": false; "isSignal": true; }; "displayWith": { "alias": "displayWith"; "required": false; }; "required": { "alias": "required"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; }, { "onSelectionChange": "onSelectionChange"; }, never, never, true, never>;
|
|
92
|
-
}
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class BaseButtonComponent {
|
|
3
|
-
/**
|
|
4
|
-
* Is search in progress and loading the data
|
|
5
|
-
*/
|
|
6
|
-
loading: import("@angular/core").InputSignalWithTransform<boolean, boolean | undefined>;
|
|
7
|
-
/**
|
|
8
|
-
* Is button disabled
|
|
9
|
-
*/
|
|
10
|
-
disabled: import("@angular/core").InputSignal<boolean>;
|
|
11
|
-
/**
|
|
12
|
-
* Type of the button. Following values are supported. See BootStrap docs for more information
|
|
13
|
-
* <pre>
|
|
14
|
-
* 1. button
|
|
15
|
-
* 2. submit
|
|
16
|
-
* </pre>
|
|
17
|
-
*/
|
|
18
|
-
type: import("@angular/core").InputSignal<string>;
|
|
19
|
-
/**
|
|
20
|
-
* If set, shows when action in Progress
|
|
21
|
-
*/
|
|
22
|
-
loadingLabel: import("@angular/core").InputSignal<string>;
|
|
23
|
-
/**
|
|
24
|
-
* If set, shows when Delete is not in progress
|
|
25
|
-
*/
|
|
26
|
-
label: import("@angular/core").InputSignal<string>;
|
|
27
|
-
/**
|
|
28
|
-
* If set, shows the icon. Otherwise, shows delete icon
|
|
29
|
-
*/
|
|
30
|
-
icon: import("@angular/core").InputSignal<string>;
|
|
31
|
-
/**
|
|
32
|
-
* If set, shows material icon otherwise hides the icons
|
|
33
|
-
*/
|
|
34
|
-
showIcon: import("@angular/core").InputSignal<boolean>;
|
|
35
|
-
/**
|
|
36
|
-
* If set, sets the style of the button
|
|
37
|
-
*/
|
|
38
|
-
style: import("@angular/core").InputSignal<any>;
|
|
39
|
-
/**
|
|
40
|
-
* If set, sets the class of the button
|
|
41
|
-
*/
|
|
42
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
43
|
-
/**
|
|
44
|
-
* If set, sets the data-cy attribute for the button
|
|
45
|
-
*/
|
|
46
|
-
dataCy: import("@angular/core").InputSignal<string>;
|
|
47
|
-
/**
|
|
48
|
-
* Output event when button is clicked
|
|
49
|
-
*/
|
|
50
|
-
onClick: import("@angular/core").OutputEmitterRef<MouseEvent>;
|
|
51
|
-
/**
|
|
52
|
-
* Output event when button is focused
|
|
53
|
-
*/
|
|
54
|
-
onFocus: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
55
|
-
/**
|
|
56
|
-
* Output event when button is blurred
|
|
57
|
-
*/
|
|
58
|
-
onBlur: import("@angular/core").OutputEmitterRef<FocusEvent>;
|
|
59
|
-
/**
|
|
60
|
-
* Output event when key is pressed
|
|
61
|
-
*/
|
|
62
|
-
onKeyDown: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
63
|
-
/**
|
|
64
|
-
* Output event when key is up
|
|
65
|
-
*/
|
|
66
|
-
onKeyUp: import("@angular/core").OutputEmitterRef<KeyboardEvent>;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseButtonComponent, never>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseButtonComponent, "ng-component", never, { "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "loadingLabel": { "alias": "loadingLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; "dataCy": { "alias": "dataCy"; "required": false; "isSignal": true; }; }, { "onClick": "onClick"; "onFocus": "onFocus"; "onBlur": "onBlur"; "onKeyDown": "onKeyDown"; "onKeyUp": "onKeyUp"; }, never, never, true, never>;
|
|
69
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseButtonComponent } from '../base-button/base-button.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class BsLinkButtonComponent extends BaseButtonComponent {
|
|
4
|
-
label: import("@angular/core").InputSignal<string>;
|
|
5
|
-
icon: import("@angular/core").InputSignal<string>;
|
|
6
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
7
|
-
constructor();
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BsLinkButtonComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BsLinkButtonComponent, "bs-link-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseButtonComponent } from '../base-button/base-button.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DeleteButtonComponent extends BaseButtonComponent {
|
|
4
|
-
loadingLabel: import("@angular/core").InputSignal<string>;
|
|
5
|
-
label: import("@angular/core").InputSignal<string>;
|
|
6
|
-
icon: import("@angular/core").InputSignal<string>;
|
|
7
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
8
|
-
constructor();
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DeleteButtonComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DeleteButtonComponent, "delete-button", never, { "loadingLabel": { "alias": "loadingLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseButtonComponent } from '../base-button/base-button.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class EditBsButtonComponent extends BaseButtonComponent {
|
|
4
|
-
label: import("@angular/core").InputSignal<string>;
|
|
5
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
6
|
-
constructor();
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditBsButtonComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditBsButtonComponent, "edit-bs-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseButtonComponent } from '../base-button/base-button.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class EditButtonComponent extends BaseButtonComponent {
|
|
4
|
-
label: import("@angular/core").InputSignal<string>;
|
|
5
|
-
icon: import("@angular/core").InputSignal<string>;
|
|
6
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
7
|
-
constructor();
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditButtonComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditButtonComponent, "edit-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseButtonComponent } from '../base-button/base-button.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class EditSvgIconButtonComponent extends BaseButtonComponent {
|
|
4
|
-
label: import("@angular/core").InputSignal<string>;
|
|
5
|
-
icon: import("@angular/core").InputSignal<string>;
|
|
6
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
7
|
-
constructor();
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EditSvgIconButtonComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EditSvgIconButtonComponent, "edit-svg-icon-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ExcelExportButtonComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExcelExportButtonComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExcelExportButtonComponent, "excel-export-button", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseButtonComponent } from '../base-button/base-button.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ManageButtonComponent extends BaseButtonComponent {
|
|
4
|
-
label: import("@angular/core").InputSignal<string>;
|
|
5
|
-
icon: import("@angular/core").InputSignal<string>;
|
|
6
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
7
|
-
constructor();
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ManageButtonComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ManageButtonComponent, "manage-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class PdfExportButtonComponent {
|
|
3
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PdfExportButtonComponent, never>;
|
|
4
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PdfExportButtonComponent, "pdf-export-button", never, {}, {}, never, never, true, never>;
|
|
5
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BaseButtonComponent } from '../base-button/base-button.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class PrimaryButtonComponent extends BaseButtonComponent {
|
|
4
|
-
loadingLabel: import("@angular/core").InputSignal<string>;
|
|
5
|
-
label: import("@angular/core").InputSignal<string>;
|
|
6
|
-
icon: import("@angular/core").InputSignal<string>;
|
|
7
|
-
showIcon: import("@angular/core").InputSignal<boolean>;
|
|
8
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
9
|
-
constructor();
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PrimaryButtonComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PrimaryButtonComponent, "primary-button", never, { "loadingLabel": { "alias": "loadingLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "showIcon": { "alias": "showIcon"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseButtonComponent } from '../base-button/base-button.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SavePrimaryButtonComponent extends BaseButtonComponent {
|
|
4
|
-
loadingLabel: import("@angular/core").InputSignal<string>;
|
|
5
|
-
label: import("@angular/core").InputSignal<string>;
|
|
6
|
-
icon: import("@angular/core").InputSignal<string>;
|
|
7
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
8
|
-
constructor();
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SavePrimaryButtonComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SavePrimaryButtonComponent, "save-primary-button", never, { "loadingLabel": { "alias": "loadingLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseButtonComponent } from '../base-button/base-button.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SearchButtonComponent extends BaseButtonComponent {
|
|
4
|
-
loadingLabel: import("@angular/core").InputSignal<string>;
|
|
5
|
-
label: import("@angular/core").InputSignal<string>;
|
|
6
|
-
icon: import("@angular/core").InputSignal<string>;
|
|
7
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
8
|
-
constructor();
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SearchButtonComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SearchButtonComponent, "search-button", never, { "loadingLabel": { "alias": "loadingLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseButtonComponent } from '../base-button/base-button.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SuccessButtonComponent extends BaseButtonComponent {
|
|
4
|
-
loadingLabel: import("@angular/core").InputSignal<string>;
|
|
5
|
-
label: import("@angular/core").InputSignal<string>;
|
|
6
|
-
icon: import("@angular/core").InputSignal<string>;
|
|
7
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
8
|
-
constructor();
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SuccessButtonComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SuccessButtonComponent, "success-button", never, { "loadingLabel": { "alias": "loadingLabel"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BaseButtonComponent } from '../base-button/base-button.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ViewButtonComponent extends BaseButtonComponent {
|
|
4
|
-
label: import("@angular/core").InputSignal<string>;
|
|
5
|
-
icon: import("@angular/core").InputSignal<string>;
|
|
6
|
-
constructor();
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewButtonComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewButtonComponent, "view-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BaseButtonComponent } from '../base-button/base-button.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ViewPrimaryButtonComponent extends BaseButtonComponent {
|
|
4
|
-
label: import("@angular/core").InputSignal<string>;
|
|
5
|
-
icon: import("@angular/core").InputSignal<string>;
|
|
6
|
-
classes: import("@angular/core").InputSignal<string>;
|
|
7
|
-
constructor();
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewPrimaryButtonComponent, never>;
|
|
9
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ViewPrimaryButtonComponent, "view-primary-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "classes": { "alias": "classes"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
10
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ConfirmDialogComponent {
|
|
4
|
-
data: ConfirmDialogData;
|
|
5
|
-
dialogRef: MatDialogRef<ConfirmDialogComponent>;
|
|
6
|
-
title: string;
|
|
7
|
-
message: string;
|
|
8
|
-
constructor(data: ConfirmDialogData, dialogRef: MatDialogRef<ConfirmDialogComponent>);
|
|
9
|
-
onDismiss(): void;
|
|
10
|
-
onConfirm(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmDialogComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmDialogComponent, "app-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Class to represent confirm dialog model.
|
|
16
|
-
*/
|
|
17
|
-
export interface ConfirmDialogData {
|
|
18
|
-
title: string;
|
|
19
|
-
message: string;
|
|
20
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChange } from '@angular/core';
|
|
2
|
-
import { NgxSpinnerService } from './ngx-spinner.service';
|
|
3
|
-
import { Subject } from 'rxjs';
|
|
4
|
-
import { NgxSpinner, Size } from './ngx-spinner.enum';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class NgxSpinnerComponent implements OnDestroy, OnInit, OnChanges {
|
|
7
|
-
private spinnerService;
|
|
8
|
-
private changeDetector;
|
|
9
|
-
/**
|
|
10
|
-
* To set backdrop color
|
|
11
|
-
* Only supports RGBA color format
|
|
12
|
-
*/
|
|
13
|
-
bdColor: string;
|
|
14
|
-
/**
|
|
15
|
-
* To set spinner size
|
|
16
|
-
*/
|
|
17
|
-
size: Size;
|
|
18
|
-
/**
|
|
19
|
-
* To set spinner color(DEFAULTS.SPINNER_COLOR)
|
|
20
|
-
*/
|
|
21
|
-
color: string;
|
|
22
|
-
/**
|
|
23
|
-
* To set type of spinner
|
|
24
|
-
*/
|
|
25
|
-
type: string;
|
|
26
|
-
/**
|
|
27
|
-
* To toggle fullscreen mode
|
|
28
|
-
*/
|
|
29
|
-
fullScreen: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Spinner name
|
|
32
|
-
*/
|
|
33
|
-
name: string;
|
|
34
|
-
/**
|
|
35
|
-
* z-index value
|
|
36
|
-
*/
|
|
37
|
-
zIndex: number;
|
|
38
|
-
/**
|
|
39
|
-
* Custom template for spinner/loader
|
|
40
|
-
*/
|
|
41
|
-
template: string;
|
|
42
|
-
/**
|
|
43
|
-
* Show/Hide the spinner
|
|
44
|
-
* @type {boolean}
|
|
45
|
-
*/
|
|
46
|
-
showSpinner: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* To enable/disable animation
|
|
49
|
-
*/
|
|
50
|
-
disableAnimation: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Spinner Object
|
|
53
|
-
*/
|
|
54
|
-
spinner: NgxSpinner;
|
|
55
|
-
/**
|
|
56
|
-
* Array for spinner's div
|
|
57
|
-
*/
|
|
58
|
-
divArray: Array<number>;
|
|
59
|
-
/**
|
|
60
|
-
* Counter for div
|
|
61
|
-
*/
|
|
62
|
-
divCount: number;
|
|
63
|
-
/**
|
|
64
|
-
* Show spinner
|
|
65
|
-
**/
|
|
66
|
-
show: boolean;
|
|
67
|
-
/**
|
|
68
|
-
* Unsubscribe from spinner's observable
|
|
69
|
-
**/
|
|
70
|
-
ngUnsubscribe: Subject<void>;
|
|
71
|
-
/**
|
|
72
|
-
* Element Reference
|
|
73
|
-
*/
|
|
74
|
-
spinnerDOM: any;
|
|
75
|
-
/**
|
|
76
|
-
* Creates an instance of NgxSpinnerComponent.
|
|
77
|
-
*/
|
|
78
|
-
constructor(spinnerService: NgxSpinnerService, changeDetector: ChangeDetectorRef);
|
|
79
|
-
handleKeyboardEvent(event: KeyboardEvent): void;
|
|
80
|
-
/**
|
|
81
|
-
* Initialization method
|
|
82
|
-
|
|
83
|
-
*/
|
|
84
|
-
ngOnInit(): void;
|
|
85
|
-
/**
|
|
86
|
-
* To set default ngx-spinner options
|
|
87
|
-
*/
|
|
88
|
-
setDefaultOptions: () => void;
|
|
89
|
-
/**
|
|
90
|
-
* On changes event for input variables
|
|
91
|
-
*/
|
|
92
|
-
ngOnChanges(changes: {
|
|
93
|
-
[propKey: string]: SimpleChange;
|
|
94
|
-
}): void;
|
|
95
|
-
/**
|
|
96
|
-
* To get class for spinner
|
|
97
|
-
*/
|
|
98
|
-
getClass(type: string, size: Size): string;
|
|
99
|
-
/**
|
|
100
|
-
* Check if input variables have changed
|
|
101
|
-
*/
|
|
102
|
-
onInputChange(): void;
|
|
103
|
-
/**
|
|
104
|
-
* Component destroy event
|
|
105
|
-
*/
|
|
106
|
-
ngOnDestroy(): void;
|
|
107
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgxSpinnerComponent, never>;
|
|
108
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgxSpinnerComponent, "ngx-spinner", never, { "bdColor": { "alias": "bdColor"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "type": { "alias": "type"; "required": false; }; "fullScreen": { "alias": "fullScreen"; "required": false; }; "name": { "alias": "name"; "required": false; }; "zIndex": { "alias": "zIndex"; "required": false; }; "template": { "alias": "template"; "required": false; }; "showSpinner": { "alias": "showSpinner"; "required": false; }; "disableAnimation": { "alias": "disableAnimation"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
109
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export declare const LOADERS: {
|
|
2
|
-
'ball-clip-rotate': number;
|
|
3
|
-
};
|
|
4
|
-
export declare const DEFAULTS: {
|
|
5
|
-
BD_COLOR: string;
|
|
6
|
-
SPINNER_COLOR: string;
|
|
7
|
-
SPINNER_TYPE: string;
|
|
8
|
-
Z_INDEX: number;
|
|
9
|
-
};
|
|
10
|
-
export declare const PRIMARY_SPINNER = "primary";
|
|
11
|
-
export type Size = 'default' | 'small' | 'medium' | 'large';
|
|
12
|
-
export interface Spinner {
|
|
13
|
-
bdColor?: string;
|
|
14
|
-
size?: Size;
|
|
15
|
-
color?: string;
|
|
16
|
-
type?: string;
|
|
17
|
-
fullScreen?: boolean;
|
|
18
|
-
zIndex?: number;
|
|
19
|
-
template?: string;
|
|
20
|
-
showSpinner?: boolean;
|
|
21
|
-
}
|
|
22
|
-
export declare class NgxSpinner {
|
|
23
|
-
name?: string;
|
|
24
|
-
bdColor?: string;
|
|
25
|
-
size?: Size;
|
|
26
|
-
color?: string;
|
|
27
|
-
type?: string;
|
|
28
|
-
class?: string;
|
|
29
|
-
divCount?: number;
|
|
30
|
-
divArray?: Array<number>;
|
|
31
|
-
fullScreen?: boolean;
|
|
32
|
-
show?: boolean;
|
|
33
|
-
zIndex?: number;
|
|
34
|
-
template?: string;
|
|
35
|
-
showSpinner?: boolean;
|
|
36
|
-
constructor(init?: Partial<NgxSpinner>);
|
|
37
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
-
import { NgxSpinner, Spinner } from './ngx-spinner.enum';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class NgxSpinnerService {
|
|
5
|
-
/**
|
|
6
|
-
* Spinner observable
|
|
7
|
-
*
|
|
8
|
-
* @memberof NgxSpinnerService
|
|
9
|
-
*/
|
|
10
|
-
spinnerObservable: BehaviorSubject<NgxSpinner | undefined>;
|
|
11
|
-
/**
|
|
12
|
-
* Creates an instance of NgxSpinnerService.
|
|
13
|
-
* @memberof NgxSpinnerService
|
|
14
|
-
*/
|
|
15
|
-
/**
|
|
16
|
-
* Get subscription of desired spinner
|
|
17
|
-
* @memberof NgxSpinnerService
|
|
18
|
-
**/
|
|
19
|
-
getSpinner(name: string): Observable<NgxSpinner>;
|
|
20
|
-
/**
|
|
21
|
-
* To show spinner
|
|
22
|
-
*
|
|
23
|
-
* @memberof NgxSpinnerService
|
|
24
|
-
*/
|
|
25
|
-
show(name?: string, spinner?: Spinner): Promise<unknown>;
|
|
26
|
-
/**
|
|
27
|
-
* To hide spinner
|
|
28
|
-
*
|
|
29
|
-
* @memberof NgxSpinnerService
|
|
30
|
-
*/
|
|
31
|
-
hide(name?: string, debounce?: number): Promise<unknown>;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgxSpinnerService, never>;
|
|
33
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NgxSpinnerService>;
|
|
34
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
|
|
2
|
-
import { PipeTransform } from '@angular/core';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SafeHtmlPipe implements PipeTransform {
|
|
5
|
-
private _sanitizer;
|
|
6
|
-
constructor(_sanitizer: DomSanitizer);
|
|
7
|
-
transform(v: string): SafeHtml | undefined;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
9
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", true>;
|
|
10
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { MatSnackBarRef } from '@angular/material/snack-bar';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ErrorSnackBarComponent {
|
|
4
|
-
msb: MatSnackBarRef<ErrorSnackBarComponent>;
|
|
5
|
-
data: {
|
|
6
|
-
message: string;
|
|
7
|
-
action?: string;
|
|
8
|
-
};
|
|
9
|
-
constructor(msb: MatSnackBarRef<ErrorSnackBarComponent>, data: {
|
|
10
|
-
message: string;
|
|
11
|
-
action?: string;
|
|
12
|
-
});
|
|
13
|
-
/**
|
|
14
|
-
* Close the Snack Bar
|
|
15
|
-
*
|
|
16
|
-
* @author Pavan Kumar Jadda
|
|
17
|
-
* @since 2.7.18
|
|
18
|
-
*/
|
|
19
|
-
close(): void;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorSnackBarComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorSnackBarComponent, "app-error-snack-bar", never, {}, {}, never, never, true, never>;
|
|
22
|
-
}
|