gentera-rdnd 0.2.13 → 0.2.14
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/gentera-rdnd.mjs +39 -39
- package/fesm2022/gentera-rdnd.mjs.map +1 -1
- package/index.d.ts +552 -5
- package/package.json +4 -5
- package/esm2022/gentera-rdnd.mjs +0 -5
- package/esm2022/lib/components/button/button.component.mjs +0 -85
- package/esm2022/lib/components/input/input.component.mjs +0 -145
- package/esm2022/lib/components/modal/modal.component.mjs +0 -48
- package/esm2022/lib/components/rdnd-active-indicator/rdnd-active-indicator.component.mjs +0 -23
- package/esm2022/lib/components/rdnd-loader/rdnd-loader.component.mjs +0 -27
- package/esm2022/lib/components/rdnd-navbar/rdnd-navbar.component.mjs +0 -55
- package/esm2022/lib/components/rdnd-sidebar/rdnd-sidebar.component.mjs +0 -62
- package/esm2022/lib/components/screen-title/screen-title.component.mjs +0 -25
- package/esm2022/lib/config/rdnd-config.token.mjs +0 -4
- package/esm2022/lib/hooks/button.service.mjs +0 -28
- package/esm2022/lib/hooks/input.service.mjs +0 -58
- package/esm2022/lib/hooks/modal.service.mjs +0 -85
- package/esm2022/lib/services/storage.service.mjs +0 -34
- package/esm2022/lib/styles/colors.mjs +0 -47
- package/esm2022/lib/styles/themes.mjs +0 -111
- package/esm2022/lib/types/Loader-config.types.mjs +0 -2
- package/esm2022/lib/types/Sidebar.types.mjs +0 -2
- package/esm2022/public-api.mjs +0 -21
- package/lib/components/button/button.component.d.ts +0 -135
- package/lib/components/input/input.component.d.ts +0 -38
- package/lib/components/modal/modal.component.d.ts +0 -124
- package/lib/components/rdnd-active-indicator/rdnd-active-indicator.component.d.ts +0 -8
- package/lib/components/rdnd-loader/rdnd-loader.component.d.ts +0 -9
- package/lib/components/rdnd-navbar/rdnd-navbar.component.d.ts +0 -19
- package/lib/components/rdnd-sidebar/rdnd-sidebar.component.d.ts +0 -26
- package/lib/components/screen-title/screen-title.component.d.ts +0 -8
- package/lib/config/rdnd-config.token.d.ts +0 -2
- package/lib/hooks/button.service.d.ts +0 -14
- package/lib/hooks/input.service.d.ts +0 -19
- package/lib/hooks/modal.service.d.ts +0 -23
- package/lib/services/storage.service.d.ts +0 -10
- package/lib/styles/colors.d.ts +0 -46
- package/lib/styles/themes.d.ts +0 -107
- package/lib/types/Loader-config.types.d.ts +0 -6
- package/lib/types/Sidebar.types.d.ts +0 -6
- package/public-api.d.ts +0 -16
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
|
|
2
|
-
import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
|
|
3
|
-
import { ButtonService, ButtonServiceType } from "../../hooks/button.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class RdndButton implements OnInit, OnDestroy {
|
|
6
|
-
private buttonService;
|
|
7
|
-
id: string;
|
|
8
|
-
icon?: IconDefinition;
|
|
9
|
-
text: string;
|
|
10
|
-
theme: any;
|
|
11
|
-
size: 'contained' | 'full';
|
|
12
|
-
type: 'button' | 'submit' | 'reset';
|
|
13
|
-
borders: boolean;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
callback: EventEmitter<void>;
|
|
16
|
-
protected readonly themes: {
|
|
17
|
-
disabled: {
|
|
18
|
-
default: string;
|
|
19
|
-
hover: string;
|
|
20
|
-
border: string;
|
|
21
|
-
active: string;
|
|
22
|
-
fontColor: string;
|
|
23
|
-
};
|
|
24
|
-
magenta: {
|
|
25
|
-
default: string;
|
|
26
|
-
hover: string;
|
|
27
|
-
border: string;
|
|
28
|
-
active: string;
|
|
29
|
-
fontColor: string;
|
|
30
|
-
};
|
|
31
|
-
magentaSolid: {
|
|
32
|
-
default: string;
|
|
33
|
-
hover: string;
|
|
34
|
-
border: string;
|
|
35
|
-
active: string;
|
|
36
|
-
fontColor: string;
|
|
37
|
-
};
|
|
38
|
-
magentaNormal: {
|
|
39
|
-
default: string;
|
|
40
|
-
hover: string;
|
|
41
|
-
border: string;
|
|
42
|
-
active: string;
|
|
43
|
-
fontColor: string;
|
|
44
|
-
};
|
|
45
|
-
gray: {
|
|
46
|
-
default: string;
|
|
47
|
-
hover: string;
|
|
48
|
-
border: string;
|
|
49
|
-
active: string;
|
|
50
|
-
fontColor: string;
|
|
51
|
-
};
|
|
52
|
-
green: {
|
|
53
|
-
default: string;
|
|
54
|
-
hover: string;
|
|
55
|
-
border: string;
|
|
56
|
-
active: string;
|
|
57
|
-
fontColor: string;
|
|
58
|
-
};
|
|
59
|
-
red: {
|
|
60
|
-
default: string;
|
|
61
|
-
hover: string;
|
|
62
|
-
border: string;
|
|
63
|
-
active: string;
|
|
64
|
-
fontColor: string;
|
|
65
|
-
};
|
|
66
|
-
purple: {
|
|
67
|
-
default: string;
|
|
68
|
-
hover: string;
|
|
69
|
-
border: string;
|
|
70
|
-
active: string;
|
|
71
|
-
fontColor: string;
|
|
72
|
-
};
|
|
73
|
-
yellow: {
|
|
74
|
-
default: string;
|
|
75
|
-
hover: string;
|
|
76
|
-
border: string;
|
|
77
|
-
active: string;
|
|
78
|
-
fontColor: string;
|
|
79
|
-
};
|
|
80
|
-
blue: {
|
|
81
|
-
default: string;
|
|
82
|
-
hover: string;
|
|
83
|
-
border: string;
|
|
84
|
-
active: string;
|
|
85
|
-
fontColor: string;
|
|
86
|
-
};
|
|
87
|
-
borderedMagenta: {
|
|
88
|
-
default: string;
|
|
89
|
-
hover: string;
|
|
90
|
-
border: string;
|
|
91
|
-
active: string;
|
|
92
|
-
fontColor: string;
|
|
93
|
-
};
|
|
94
|
-
borderedBlack: {
|
|
95
|
-
default: string;
|
|
96
|
-
hover: string;
|
|
97
|
-
border: string;
|
|
98
|
-
active: string;
|
|
99
|
-
fontColor: string;
|
|
100
|
-
};
|
|
101
|
-
transparentMagenta: {
|
|
102
|
-
default: string;
|
|
103
|
-
hover: string;
|
|
104
|
-
border: string;
|
|
105
|
-
active: string;
|
|
106
|
-
fontColor: string;
|
|
107
|
-
};
|
|
108
|
-
transparentBlack: {
|
|
109
|
-
default: string;
|
|
110
|
-
hover: string;
|
|
111
|
-
border: string;
|
|
112
|
-
active: string;
|
|
113
|
-
fontColor: string;
|
|
114
|
-
};
|
|
115
|
-
transparentGreen: {
|
|
116
|
-
default: string;
|
|
117
|
-
hover: string;
|
|
118
|
-
border: string;
|
|
119
|
-
active: string;
|
|
120
|
-
fontColor: string;
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
private subscription;
|
|
124
|
-
hoverBackgroundColor: string;
|
|
125
|
-
buttonControl: ButtonServiceType;
|
|
126
|
-
constructor(buttonService: ButtonService);
|
|
127
|
-
ngOnInit(): void;
|
|
128
|
-
ngOnDestroy(): void;
|
|
129
|
-
handleClick(event: MouseEvent): void;
|
|
130
|
-
onMouseEnter(): void;
|
|
131
|
-
onMouseLeave(): void;
|
|
132
|
-
protected readonly event: Event | undefined;
|
|
133
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RdndButton, never>;
|
|
134
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RdndButton, "rdnd-button", never, { "id": { "alias": "id"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "text": { "alias": "text"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "size": { "alias": "size"; "required": false; }; "type": { "alias": "type"; "required": false; }; "borders": { "alias": "borders"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "callback": "callback"; }, never, never, true, never>;
|
|
135
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { FormControl, ValidatorFn } from '@angular/forms';
|
|
3
|
-
import { InputService } from "../../hooks/input.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class RdndInput implements OnInit, OnChanges {
|
|
6
|
-
private inputService;
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
type: 'text' | 'password' | 'number' | 'date';
|
|
10
|
-
placeholder: string;
|
|
11
|
-
showLabel: boolean;
|
|
12
|
-
control?: FormControl;
|
|
13
|
-
value: string;
|
|
14
|
-
validators: ValidatorFn[];
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
valueChange: EventEmitter<string>;
|
|
17
|
-
onKeyDown: EventEmitter<KeyboardEvent>;
|
|
18
|
-
onPaste: EventEmitter<ClipboardEvent>;
|
|
19
|
-
onFocus: EventEmitter<FocusEvent>;
|
|
20
|
-
onBlur: EventEmitter<FocusEvent>;
|
|
21
|
-
faEyeSlash: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
22
|
-
showPassword: boolean;
|
|
23
|
-
showError: boolean;
|
|
24
|
-
constructor(inputService: InputService);
|
|
25
|
-
ngOnInit(): void;
|
|
26
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
27
|
-
getErrorMessage(): string | null;
|
|
28
|
-
toggleErrorDisplay(): void;
|
|
29
|
-
hasError(): boolean;
|
|
30
|
-
handleTogglePassword(): void;
|
|
31
|
-
handleChange(event: Event): void;
|
|
32
|
-
handleKeyDown(event: KeyboardEvent): void;
|
|
33
|
-
handlePaste(event: ClipboardEvent): void;
|
|
34
|
-
handleFocus(event: FocusEvent): void;
|
|
35
|
-
handleBlur(event: FocusEvent): void;
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RdndInput, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RdndInput, "rdnd-input", never, { "id": { "alias": "id"; "required": false; }; "name": { "alias": "name"; "required": false; }; "type": { "alias": "type"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "showLabel": { "alias": "showLabel"; "required": false; }; "control": { "alias": "control"; "required": false; }; "value": { "alias": "value"; "required": false; }; "validators": { "alias": "validators"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "valueChange": "valueChange"; "onKeyDown": "onKeyDown"; "onPaste": "onPaste"; "onFocus": "onFocus"; "onBlur": "onBlur"; }, never, never, true, never>;
|
|
38
|
-
}
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RdndModal {
|
|
5
|
-
title: string;
|
|
6
|
-
type: 'success' | 'error' | 'question' | 'warning' | 'info';
|
|
7
|
-
theme: any;
|
|
8
|
-
confirmText: string;
|
|
9
|
-
cancelText: string;
|
|
10
|
-
close: EventEmitter<boolean>;
|
|
11
|
-
protected readonly themes: {
|
|
12
|
-
disabled: {
|
|
13
|
-
default: string;
|
|
14
|
-
hover: string;
|
|
15
|
-
border: string;
|
|
16
|
-
active: string;
|
|
17
|
-
fontColor: string;
|
|
18
|
-
};
|
|
19
|
-
magenta: {
|
|
20
|
-
default: string;
|
|
21
|
-
hover: string;
|
|
22
|
-
border: string;
|
|
23
|
-
active: string;
|
|
24
|
-
fontColor: string;
|
|
25
|
-
};
|
|
26
|
-
magentaSolid: {
|
|
27
|
-
default: string;
|
|
28
|
-
hover: string;
|
|
29
|
-
border: string;
|
|
30
|
-
active: string;
|
|
31
|
-
fontColor: string;
|
|
32
|
-
};
|
|
33
|
-
magentaNormal: {
|
|
34
|
-
default: string;
|
|
35
|
-
hover: string;
|
|
36
|
-
border: string;
|
|
37
|
-
active: string;
|
|
38
|
-
fontColor: string;
|
|
39
|
-
};
|
|
40
|
-
gray: {
|
|
41
|
-
default: string;
|
|
42
|
-
hover: string;
|
|
43
|
-
border: string;
|
|
44
|
-
active: string;
|
|
45
|
-
fontColor: string;
|
|
46
|
-
};
|
|
47
|
-
green: {
|
|
48
|
-
default: string;
|
|
49
|
-
hover: string;
|
|
50
|
-
border: string;
|
|
51
|
-
active: string;
|
|
52
|
-
fontColor: string;
|
|
53
|
-
};
|
|
54
|
-
red: {
|
|
55
|
-
default: string;
|
|
56
|
-
hover: string;
|
|
57
|
-
border: string;
|
|
58
|
-
active: string;
|
|
59
|
-
fontColor: string;
|
|
60
|
-
};
|
|
61
|
-
purple: {
|
|
62
|
-
default: string;
|
|
63
|
-
hover: string;
|
|
64
|
-
border: string;
|
|
65
|
-
active: string;
|
|
66
|
-
fontColor: string;
|
|
67
|
-
};
|
|
68
|
-
yellow: {
|
|
69
|
-
default: string;
|
|
70
|
-
hover: string;
|
|
71
|
-
border: string;
|
|
72
|
-
active: string;
|
|
73
|
-
fontColor: string;
|
|
74
|
-
};
|
|
75
|
-
blue: {
|
|
76
|
-
default: string;
|
|
77
|
-
hover: string;
|
|
78
|
-
border: string;
|
|
79
|
-
active: string;
|
|
80
|
-
fontColor: string;
|
|
81
|
-
};
|
|
82
|
-
borderedMagenta: {
|
|
83
|
-
default: string;
|
|
84
|
-
hover: string;
|
|
85
|
-
border: string;
|
|
86
|
-
active: string;
|
|
87
|
-
fontColor: string;
|
|
88
|
-
};
|
|
89
|
-
borderedBlack: {
|
|
90
|
-
default: string;
|
|
91
|
-
hover: string;
|
|
92
|
-
border: string;
|
|
93
|
-
active: string;
|
|
94
|
-
fontColor: string;
|
|
95
|
-
};
|
|
96
|
-
transparentMagenta: {
|
|
97
|
-
default: string;
|
|
98
|
-
hover: string;
|
|
99
|
-
border: string;
|
|
100
|
-
active: string;
|
|
101
|
-
fontColor: string;
|
|
102
|
-
};
|
|
103
|
-
transparentBlack: {
|
|
104
|
-
default: string;
|
|
105
|
-
hover: string;
|
|
106
|
-
border: string;
|
|
107
|
-
active: string;
|
|
108
|
-
fontColor: string;
|
|
109
|
-
};
|
|
110
|
-
transparentGreen: {
|
|
111
|
-
default: string;
|
|
112
|
-
hover: string;
|
|
113
|
-
border: string;
|
|
114
|
-
active: string;
|
|
115
|
-
fontColor: string;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
icon?: IconDefinition;
|
|
119
|
-
content: string;
|
|
120
|
-
closeModal(result: boolean): void;
|
|
121
|
-
constructor();
|
|
122
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RdndModal, never>;
|
|
123
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RdndModal, "rdnd-modal", never, { "title": { "alias": "title"; "required": false; }; "type": { "alias": "type"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "confirmText": { "alias": "confirmText"; "required": false; }; "cancelText": { "alias": "cancelText"; "required": false; }; }, { "close": "close"; }, never, never, true, never>;
|
|
124
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class RdndActiveIndicator {
|
|
3
|
-
isActive: boolean;
|
|
4
|
-
activeDisplay?: string;
|
|
5
|
-
inactiveDisplay?: string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RdndActiveIndicator, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RdndActiveIndicator, "rdnd-active-indicator", never, { "isActive": { "alias": "isActive"; "required": false; }; "activeDisplay": { "alias": "activeDisplay"; "required": false; }; "inactiveDisplay": { "alias": "inactiveDisplay"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { LoaderConfig, LoaderType } from "../../types/Loader-config.types";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class RdndLoaderComponent {
|
|
4
|
-
show: boolean;
|
|
5
|
-
loaderType: LoaderType;
|
|
6
|
-
constructor(config: LoaderConfig | null);
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RdndLoaderComponent, [{ optional: true; }]>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RdndLoaderComponent, "rdnd-loader", never, { "show": { "alias": "show"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class RdndNavbar {
|
|
3
|
-
protected readonly faBarsStaggered: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
4
|
-
protected readonly faSignOut: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
5
|
-
protected readonly faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
6
|
-
showLoader: boolean;
|
|
7
|
-
userName: string;
|
|
8
|
-
imageUrl: string;
|
|
9
|
-
backgroundStart: string;
|
|
10
|
-
backgroundEnd: string;
|
|
11
|
-
showSidebar: boolean;
|
|
12
|
-
onSignOut: import("@angular/core").OutputEmitterRef<void>;
|
|
13
|
-
onToggleSidebar: import("@angular/core").OutputEmitterRef<void>;
|
|
14
|
-
toggleMenu: () => void;
|
|
15
|
-
closeMenu: () => void;
|
|
16
|
-
handleSignOut: () => void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RdndNavbar, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RdndNavbar, "rdnd-navbar", never, { "userName": { "alias": "userName"; "required": false; }; "imageUrl": { "alias": "imageUrl"; "required": false; }; "backgroundStart": { "alias": "backgroundStart"; "required": false; }; "backgroundEnd": { "alias": "backgroundEnd"; "required": false; }; "showSidebar": { "alias": "showSidebar"; "required": false; }; }, { "onSignOut": "onSignOut"; "onToggleSidebar": "onToggleSidebar"; }, never, never, true, never>;
|
|
19
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { RdndSidebarItem } from "../../types/Sidebar.types";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class RdndSidebar {
|
|
4
|
-
show: boolean;
|
|
5
|
-
user?: {
|
|
6
|
-
name: string;
|
|
7
|
-
email: string;
|
|
8
|
-
photo?: string;
|
|
9
|
-
};
|
|
10
|
-
entries: RdndSidebarItem[];
|
|
11
|
-
backgroundStart: string;
|
|
12
|
-
backgroundEnd: string;
|
|
13
|
-
activeRoute?: string;
|
|
14
|
-
onClickEntry: import("@angular/core").OutputEmitterRef<void>;
|
|
15
|
-
protected readonly faArrowRight: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
16
|
-
protected readonly faChevronDown: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
17
|
-
protected readonly faChevronUp: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
18
|
-
protected readonly faCircle: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
19
|
-
openSections: Set<string>;
|
|
20
|
-
handleClick: () => void;
|
|
21
|
-
toggleSection(name: string): void;
|
|
22
|
-
isSectionOpen(section: RdndSidebarItem): boolean;
|
|
23
|
-
isActiveRoute(itemRoute: string): boolean;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RdndSidebar, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RdndSidebar, "rdnd-sidebar", never, { "show": { "alias": "show"; "required": false; }; "user": { "alias": "user"; "required": false; }; "entries": { "alias": "entries"; "required": false; }; "backgroundStart": { "alias": "backgroundStart"; "required": false; }; "backgroundEnd": { "alias": "backgroundEnd"; "required": false; }; "activeRoute": { "alias": "activeRoute"; "required": false; }; }, { "onClickEntry": "onClickEntry"; }, never, never, true, never>;
|
|
26
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class RdndScreenTitle {
|
|
3
|
-
title: string;
|
|
4
|
-
align: 'LEFT' | 'CENTER';
|
|
5
|
-
color: string;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RdndScreenTitle, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RdndScreenTitle, "rdnd-screen-title", never, { "title": { "alias": "title"; "required": false; }; "align": { "alias": "align"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface ButtonServiceType {
|
|
4
|
-
enable: () => void;
|
|
5
|
-
disable: () => void;
|
|
6
|
-
disabled$: Observable<boolean>;
|
|
7
|
-
}
|
|
8
|
-
export declare class ButtonService {
|
|
9
|
-
private buttonsState;
|
|
10
|
-
private ensureButtonExists;
|
|
11
|
-
useButton(id: string): ButtonServiceType;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonService, never>;
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ButtonService>;
|
|
14
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type InputStateType = {
|
|
5
|
-
isValid: BehaviorSubject<boolean>;
|
|
6
|
-
valid: Observable<boolean>;
|
|
7
|
-
errorMessage: Observable<string | null>;
|
|
8
|
-
setValid: (isValid: boolean) => void;
|
|
9
|
-
setErrorMessage: (message: string | null) => void;
|
|
10
|
-
};
|
|
11
|
-
export declare class InputService {
|
|
12
|
-
private inputState;
|
|
13
|
-
private ensureInputExists;
|
|
14
|
-
useInput(id: string): InputStateType;
|
|
15
|
-
updateInputState(control: FormControl, id: string): void;
|
|
16
|
-
private getErrorMessage;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputService, never>;
|
|
18
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<InputService>;
|
|
19
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ApplicationRef, Injector, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { IconDefinition } from '@fortawesome/free-solid-svg-icons';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ModalService {
|
|
5
|
-
private appRef;
|
|
6
|
-
private injector;
|
|
7
|
-
private modalRef;
|
|
8
|
-
private viewContainerRef;
|
|
9
|
-
constructor(appRef: ApplicationRef, injector: Injector);
|
|
10
|
-
setViewContainerRef(vcr: ViewContainerRef): void;
|
|
11
|
-
openModal(title: string, content: string, type?: 'success' | 'error' | 'question' | 'warning' | 'info', confirmText?: string, cancelText?: string): Promise<boolean>;
|
|
12
|
-
getStyleTheme: (theme: "success" | "error" | "question" | "warning" | "info") => {
|
|
13
|
-
default: string;
|
|
14
|
-
hover: string;
|
|
15
|
-
border: string;
|
|
16
|
-
active: string;
|
|
17
|
-
fontColor: string;
|
|
18
|
-
};
|
|
19
|
-
closeModal(): void;
|
|
20
|
-
getIcon(theme: 'success' | 'error' | 'question' | 'warning' | 'info'): IconDefinition;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
23
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class StorageService {
|
|
3
|
-
constructor();
|
|
4
|
-
save(key: string, value: any): void;
|
|
5
|
-
get(key: string): JSON | null;
|
|
6
|
-
delete(key: string): void;
|
|
7
|
-
wipe(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
|
|
9
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
|
|
10
|
-
}
|
package/lib/styles/colors.d.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export declare const colors: {
|
|
2
|
-
black: string;
|
|
3
|
-
'black-light': string;
|
|
4
|
-
'black-dark': string;
|
|
5
|
-
'black-navy': string;
|
|
6
|
-
'xs-dark-gray': string;
|
|
7
|
-
'dark-gray': string;
|
|
8
|
-
'medium-gray': string;
|
|
9
|
-
gray: string;
|
|
10
|
-
'light-gray': string;
|
|
11
|
-
'xs-light-gray': string;
|
|
12
|
-
'xxs-light-gray': string;
|
|
13
|
-
'soft-white': string;
|
|
14
|
-
green: string;
|
|
15
|
-
'green-medium': string;
|
|
16
|
-
'green-dark': string;
|
|
17
|
-
'green-xs-dark': string;
|
|
18
|
-
'green-1': string;
|
|
19
|
-
'green-2': string;
|
|
20
|
-
'green-3': string;
|
|
21
|
-
'green-light': string;
|
|
22
|
-
'green-4': string;
|
|
23
|
-
'green-5': string;
|
|
24
|
-
"blue-info": string;
|
|
25
|
-
blue: string;
|
|
26
|
-
'blue-dark': string;
|
|
27
|
-
'blue-light': string;
|
|
28
|
-
'blue-gray-soft': string;
|
|
29
|
-
'blue-gray-light': string;
|
|
30
|
-
orange: string;
|
|
31
|
-
'orange-light': string;
|
|
32
|
-
yellow: string;
|
|
33
|
-
"yellow-normal": string;
|
|
34
|
-
'yellow-light': string;
|
|
35
|
-
purple: string;
|
|
36
|
-
'purple-light': string;
|
|
37
|
-
red: string;
|
|
38
|
-
'red-light': string;
|
|
39
|
-
'red-medium': string;
|
|
40
|
-
white: string;
|
|
41
|
-
magentaStart: string;
|
|
42
|
-
magentaEnd: string;
|
|
43
|
-
'magenta-normal': string;
|
|
44
|
-
disabled: string;
|
|
45
|
-
disabledText: string;
|
|
46
|
-
};
|
package/lib/styles/themes.d.ts
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
export declare const themes: {
|
|
2
|
-
disabled: {
|
|
3
|
-
default: string;
|
|
4
|
-
hover: string;
|
|
5
|
-
border: string;
|
|
6
|
-
active: string;
|
|
7
|
-
fontColor: string;
|
|
8
|
-
};
|
|
9
|
-
magenta: {
|
|
10
|
-
default: string;
|
|
11
|
-
hover: string;
|
|
12
|
-
border: string;
|
|
13
|
-
active: string;
|
|
14
|
-
fontColor: string;
|
|
15
|
-
};
|
|
16
|
-
magentaSolid: {
|
|
17
|
-
default: string;
|
|
18
|
-
hover: string;
|
|
19
|
-
border: string;
|
|
20
|
-
active: string;
|
|
21
|
-
fontColor: string;
|
|
22
|
-
};
|
|
23
|
-
magentaNormal: {
|
|
24
|
-
default: string;
|
|
25
|
-
hover: string;
|
|
26
|
-
border: string;
|
|
27
|
-
active: string;
|
|
28
|
-
fontColor: string;
|
|
29
|
-
};
|
|
30
|
-
gray: {
|
|
31
|
-
default: string;
|
|
32
|
-
hover: string;
|
|
33
|
-
border: string;
|
|
34
|
-
active: string;
|
|
35
|
-
fontColor: string;
|
|
36
|
-
};
|
|
37
|
-
green: {
|
|
38
|
-
default: string;
|
|
39
|
-
hover: string;
|
|
40
|
-
border: string;
|
|
41
|
-
active: string;
|
|
42
|
-
fontColor: string;
|
|
43
|
-
};
|
|
44
|
-
red: {
|
|
45
|
-
default: string;
|
|
46
|
-
hover: string;
|
|
47
|
-
border: string;
|
|
48
|
-
active: string;
|
|
49
|
-
fontColor: string;
|
|
50
|
-
};
|
|
51
|
-
purple: {
|
|
52
|
-
default: string;
|
|
53
|
-
hover: string;
|
|
54
|
-
border: string;
|
|
55
|
-
active: string;
|
|
56
|
-
fontColor: string;
|
|
57
|
-
};
|
|
58
|
-
yellow: {
|
|
59
|
-
default: string;
|
|
60
|
-
hover: string;
|
|
61
|
-
border: string;
|
|
62
|
-
active: string;
|
|
63
|
-
fontColor: string;
|
|
64
|
-
};
|
|
65
|
-
blue: {
|
|
66
|
-
default: string;
|
|
67
|
-
hover: string;
|
|
68
|
-
border: string;
|
|
69
|
-
active: string;
|
|
70
|
-
fontColor: string;
|
|
71
|
-
};
|
|
72
|
-
borderedMagenta: {
|
|
73
|
-
default: string;
|
|
74
|
-
hover: string;
|
|
75
|
-
border: string;
|
|
76
|
-
active: string;
|
|
77
|
-
fontColor: string;
|
|
78
|
-
};
|
|
79
|
-
borderedBlack: {
|
|
80
|
-
default: string;
|
|
81
|
-
hover: string;
|
|
82
|
-
border: string;
|
|
83
|
-
active: string;
|
|
84
|
-
fontColor: string;
|
|
85
|
-
};
|
|
86
|
-
transparentMagenta: {
|
|
87
|
-
default: string;
|
|
88
|
-
hover: string;
|
|
89
|
-
border: string;
|
|
90
|
-
active: string;
|
|
91
|
-
fontColor: string;
|
|
92
|
-
};
|
|
93
|
-
transparentBlack: {
|
|
94
|
-
default: string;
|
|
95
|
-
hover: string;
|
|
96
|
-
border: string;
|
|
97
|
-
active: string;
|
|
98
|
-
fontColor: string;
|
|
99
|
-
};
|
|
100
|
-
transparentGreen: {
|
|
101
|
-
default: string;
|
|
102
|
-
hover: string;
|
|
103
|
-
border: string;
|
|
104
|
-
active: string;
|
|
105
|
-
fontColor: string;
|
|
106
|
-
};
|
|
107
|
-
};
|
package/public-api.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from './lib/components/screen-title/screen-title.component';
|
|
2
|
-
export * from "./lib/components/rdnd-navbar/rdnd-navbar.component";
|
|
3
|
-
export * from "./lib/components/rdnd-sidebar/rdnd-sidebar.component";
|
|
4
|
-
export * from "./lib/components/rdnd-loader/rdnd-loader.component";
|
|
5
|
-
export * from "./lib/components/rdnd-active-indicator/rdnd-active-indicator.component";
|
|
6
|
-
export * from './lib/components/button/button.component';
|
|
7
|
-
export * from './lib/hooks/button.service';
|
|
8
|
-
export * from './lib/components/input/input.component';
|
|
9
|
-
export * from './lib/hooks/input.service';
|
|
10
|
-
export * from './lib/components/modal/modal.component';
|
|
11
|
-
export * from './lib/hooks/modal.service';
|
|
12
|
-
export * from './lib/services/storage.service';
|
|
13
|
-
export { themes as rdndThemes } from './lib/styles/themes';
|
|
14
|
-
export { RDND_CONFIG } from "./lib/config/rdnd-config.token";
|
|
15
|
-
export { RdndSidebarItem } from "./lib/types/Sidebar.types";
|
|
16
|
-
export { LoaderConfig } from "./lib/types/Loader-config.types";
|