lightning-tec-br-angular-components 1.6.2 → 2.1.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/lightning-tec-br-angular-components.mjs +160 -152
- package/fesm2022/lightning-tec-br-angular-components.mjs.map +1 -1
- package/lib/button/button.component.d.ts +3 -2
- package/lib/button/button.enum.d.ts +0 -11
- package/lib/button/button.model.d.ts +4 -3
- package/lib/fontWeights.enum.d.ts +11 -0
- package/lib/list-item/list-item.component.d.ts +60 -52
- package/lib/list-item/list-item.enum.d.ts +11 -13
- package/lib/list-item/list-item.model.d.ts +107 -19
- package/lib/list-item/list-item.service.d.ts +2 -2
- package/lib/modal/modal.component.d.ts +3 -2
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { ButtonIconPositionEnum,
|
|
2
|
+
import { ButtonIconPositionEnum, ButtonTypeEnum } from './button.enum';
|
|
3
3
|
import { ButtonService } from './button.service';
|
|
4
4
|
import { ButtonConfigModel } from './button.model';
|
|
5
5
|
import { AlertService } from '../alert/alert.service';
|
|
6
6
|
import { AlertTypesEnum } from '../alert/alert.enum';
|
|
7
7
|
import { AlertModel } from '../alert/alert.model';
|
|
8
8
|
import { IconsEnum } from '../icons.enum.ts';
|
|
9
|
+
import { FontWeights } from '../fontWeights.enum';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class ButtonComponent implements OnInit {
|
|
11
12
|
private element;
|
|
@@ -36,7 +37,7 @@ export declare class ButtonComponent implements OnInit {
|
|
|
36
37
|
TextEnabled?: boolean;
|
|
37
38
|
Text?: string;
|
|
38
39
|
TextFontSize?: number;
|
|
39
|
-
TextFontWeight?:
|
|
40
|
+
TextFontWeight?: FontWeights;
|
|
40
41
|
TextFontFamily?: string;
|
|
41
42
|
TextColorNormal?: string;
|
|
42
43
|
TextColorHover?: string;
|
|
@@ -8,14 +8,3 @@ export declare enum ButtonIconPositionEnum {
|
|
|
8
8
|
Bottom = 2,
|
|
9
9
|
Left = 3
|
|
10
10
|
}
|
|
11
|
-
export declare enum ButtonFontWeights {
|
|
12
|
-
Thin = 100,
|
|
13
|
-
ExtraLight = 200,
|
|
14
|
-
Light = 300,
|
|
15
|
-
Regular = 400,
|
|
16
|
-
Medium = 500,
|
|
17
|
-
SemiBold = 600,
|
|
18
|
-
Bold = 700,
|
|
19
|
-
Extrabold = 800,
|
|
20
|
-
Black = 900
|
|
21
|
-
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ButtonIconPositionEnum, ButtonTypeEnum } from "../button/button.enum";
|
|
2
|
+
import { FontWeights } from "../fontWeights.enum";
|
|
2
3
|
import { IconsEnum } from "../icons.enum.ts";
|
|
3
4
|
export declare class ButtonConfigModel {
|
|
4
5
|
constructor(params: {
|
|
@@ -17,7 +18,7 @@ export declare class ButtonConfigModel {
|
|
|
17
18
|
TextEnabled?: boolean;
|
|
18
19
|
Text?: string;
|
|
19
20
|
TextFontSize?: number;
|
|
20
|
-
TextFontWeight?:
|
|
21
|
+
TextFontWeight?: FontWeights;
|
|
21
22
|
TextFontFamily?: string;
|
|
22
23
|
TextColorNormal?: string;
|
|
23
24
|
TextColorHover?: string;
|
|
@@ -42,7 +43,7 @@ export declare class ButtonConfigModel {
|
|
|
42
43
|
TextEnabled?: boolean;
|
|
43
44
|
Text?: string;
|
|
44
45
|
TextFontSize?: number;
|
|
45
|
-
TextFontWeight?:
|
|
46
|
+
TextFontWeight?: FontWeights;
|
|
46
47
|
TextFontFamily?: string;
|
|
47
48
|
TextColorNormal?: string;
|
|
48
49
|
TextColorHover?: string;
|
|
@@ -1,62 +1,70 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { ListItemPositions, ListItemFontWeights } from './list-item.enum';
|
|
3
|
-
import { ButtonService } from '../button/button.service';
|
|
4
2
|
import { ListItemService } from './list-item.service';
|
|
5
3
|
import { IconsEnum } from '../icons.enum.ts';
|
|
4
|
+
import { ListItemTextAlignEnum, ListItemTypeEnum } from './list-item.enum';
|
|
5
|
+
import { FontWeights } from '../fontWeights.enum';
|
|
6
|
+
import { ListItemItemNumberPositionEnum } from '../list-item/list-item.enum';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class ListItemComponent implements OnInit {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_BoxShadowExternalEnabled: import("@angular/core").InputSignal<boolean>;
|
|
12
|
-
_BoxShadowInternalEnabled: import("@angular/core").InputSignal<boolean>;
|
|
13
|
-
_BorderRadius: number;
|
|
14
|
-
_ItemBackGroundColorNormal: import("@angular/core").InputSignal<string>;
|
|
15
|
-
_ItemBackGroundColorHover: import("@angular/core").InputSignal<string>;
|
|
16
|
-
_IconBackgroundColor: string;
|
|
17
|
-
_ItemNumberEnabled: import("@angular/core").InputSignal<boolean>;
|
|
18
|
-
_ItemNumberText: import("@angular/core").InputSignal<string>;
|
|
19
|
-
_ItemNumberFontFamily: import("@angular/core").InputSignal<string>;
|
|
20
|
-
_ItemNumberFontWeight: import("@angular/core").InputSignal<ListItemFontWeights>;
|
|
21
|
-
_ItemNumberFontColor: import("@angular/core").InputSignal<string>;
|
|
22
|
-
_ItemNumberPosition: import("@angular/core").InputSignal<ListItemPositions>;
|
|
23
|
-
_ItemNumberMarginTop: number;
|
|
24
|
-
_ItemNumberMarginLeft: number;
|
|
25
|
-
_ItemNumberMarginRight: number;
|
|
26
|
-
_IconEnabled: import("@angular/core").InputSignal<boolean>;
|
|
27
|
-
_Icon: IconsEnum;
|
|
28
|
-
_IconColor: string;
|
|
29
|
-
_IconMarginLeft: number;
|
|
30
|
-
_IconMarginRight: number;
|
|
31
|
-
_TextContainerMarginLeft: number;
|
|
32
|
-
_TextContainerMarginRight: number;
|
|
33
|
-
_TextBackgroundColor: string;
|
|
34
|
-
_TitleText: string;
|
|
35
|
-
_TitleFontFamily: import("@angular/core").InputSignal<string>;
|
|
36
|
-
_TitleFontColor: import("@angular/core").InputSignal<string>;
|
|
37
|
-
_TitleFontWeight: import("@angular/core").InputSignal<ListItemFontWeights>;
|
|
38
|
-
_TitleEnabled: boolean;
|
|
39
|
-
_SubTitleEnabled: boolean;
|
|
40
|
-
_SubTitleText: string;
|
|
41
|
-
_SubTitleFontFamily: import("@angular/core").InputSignal<string>;
|
|
42
|
-
_SubTitleFontColor: import("@angular/core").InputSignal<string>;
|
|
43
|
-
_SubTitleFontWeight: import("@angular/core").InputSignal<ListItemFontWeights>;
|
|
44
|
-
_IconOpenBackgroundColor: string;
|
|
45
|
-
_IconOpenItemColor: import("@angular/core").InputSignal<string>;
|
|
46
|
-
_IconOpenItemEnabled: boolean;
|
|
47
|
-
_WrappedBackGroundColor: string;
|
|
48
|
-
_FontSize: import("@angular/core").InputSignal<number>;
|
|
49
|
-
readonly ListItePositions: typeof ListItemPositions;
|
|
50
|
-
readonly IconsEnum: typeof IconsEnum;
|
|
51
|
-
ItemStateOpen: boolean;
|
|
9
|
+
_mouseover: boolean;
|
|
10
|
+
readonly ListItemTypesEnum: typeof ListItemTypeEnum;
|
|
11
|
+
readonly ListItemItemNumberPositionEnum: typeof ListItemItemNumberPositionEnum;
|
|
52
12
|
ListItemService: ListItemService;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
13
|
+
name: import("@angular/core").InputSignal<string>;
|
|
14
|
+
ListItemType?: ListItemTypeEnum;
|
|
15
|
+
OpenState?: boolean;
|
|
16
|
+
Width?: number;
|
|
17
|
+
Height?: number;
|
|
18
|
+
BorderRadius?: number;
|
|
19
|
+
ItemNumberIconContainerWidth?: number;
|
|
20
|
+
ItemNumberIconBackGroundColorNormal?: string;
|
|
21
|
+
ItemNumberIconBackGroundColorHover?: string;
|
|
22
|
+
TitlesContainerWidth?: number;
|
|
23
|
+
TitlesBackGroundColorNormal?: string;
|
|
24
|
+
TitlesBackGroundColorHover?: string;
|
|
25
|
+
TriggerIconContainerWidth?: number;
|
|
26
|
+
TriggerIconBackGroundColorNormal?: string;
|
|
27
|
+
TriggerIconBackGroundColorHover?: string;
|
|
28
|
+
ItemNumberEnabled?: boolean;
|
|
29
|
+
ItemNumberText?: string;
|
|
30
|
+
ItemNumberFontFamily?: string;
|
|
31
|
+
ItemNumberFontWeight?: FontWeights;
|
|
32
|
+
ItemNumberFontColorNormal?: string;
|
|
33
|
+
ItemNumberFontColorHover?: string;
|
|
34
|
+
ItemNumberFontSize?: number;
|
|
35
|
+
ItemNumberPosition?: ListItemItemNumberPositionEnum;
|
|
36
|
+
IconEnabled?: boolean;
|
|
37
|
+
Icon?: IconsEnum;
|
|
38
|
+
IconFontColorNormal?: string;
|
|
39
|
+
IconFontColorHover?: string;
|
|
40
|
+
IconFontSize?: number;
|
|
41
|
+
TitleEnabled?: boolean;
|
|
42
|
+
TitleText?: string;
|
|
43
|
+
TitleFontFamily?: string;
|
|
44
|
+
TitleFontWeight?: FontWeights;
|
|
45
|
+
TitleFontColorNormal?: string;
|
|
46
|
+
TitleFontColorHover?: string;
|
|
47
|
+
TitleFontSize?: number;
|
|
48
|
+
TitleTextAlign?: ListItemTextAlignEnum;
|
|
49
|
+
SubTitleEnabled?: boolean;
|
|
50
|
+
SubTitleText?: string;
|
|
51
|
+
SubTitleFontFamily?: string;
|
|
52
|
+
SubTitleFontWeight?: FontWeights;
|
|
53
|
+
SubTitleFontColorNormal?: string;
|
|
54
|
+
SubTitleFontColorHover?: string;
|
|
55
|
+
SubTitleFontSize?: number;
|
|
56
|
+
SubTitleTextAlign?: ListItemTextAlignEnum;
|
|
57
|
+
TriggerIconEnabled?: boolean;
|
|
58
|
+
TriggerIconClose?: IconsEnum;
|
|
59
|
+
TriggerIconOpen?: IconsEnum;
|
|
60
|
+
TriggerIconFontColorNormal?: string;
|
|
61
|
+
TriggerIconFontColorHover?: string;
|
|
62
|
+
TriggerIconFontSize?: number;
|
|
63
|
+
ContainerWrappedBackGroundColor?: string;
|
|
57
64
|
ngOnInit(): void;
|
|
58
65
|
OnClick(): void;
|
|
59
|
-
|
|
66
|
+
startListenToStateChanged(): void;
|
|
67
|
+
setMouseOver(state: boolean): void;
|
|
60
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListItemComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListItemComponent, "app-list-item", never, { "
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ListItemComponent, "app-list-item", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
62
70
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
export declare enum
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare enum ListItemTypeEnum {
|
|
2
|
+
Normal = "row",
|
|
3
|
+
Reverse = "row-reverse"
|
|
4
4
|
}
|
|
5
|
-
export declare enum
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Extrabold = 800,
|
|
14
|
-
Black = 900
|
|
5
|
+
export declare enum ListItemTextAlignEnum {
|
|
6
|
+
Left = "left",
|
|
7
|
+
Center = "center",
|
|
8
|
+
Right = "right"
|
|
9
|
+
}
|
|
10
|
+
export declare enum ListItemItemNumberPositionEnum {
|
|
11
|
+
Top = "flex-start",
|
|
12
|
+
Middle = "center"
|
|
15
13
|
}
|
|
@@ -1,21 +1,109 @@
|
|
|
1
|
+
import { FontWeights } from "../fontWeights.enum.js";
|
|
1
2
|
import { IconsEnum } from "../icons.enum.ts";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
3
|
+
import { ListItemItemNumberPositionEnum, ListItemTextAlignEnum, ListItemTypeEnum } from "./list-item.enum.js";
|
|
4
|
+
export declare class ListItemConfigModel {
|
|
5
|
+
constructor(params: {
|
|
6
|
+
Name: string;
|
|
7
|
+
ListItemType?: ListItemTypeEnum;
|
|
8
|
+
OpenState?: boolean;
|
|
9
|
+
Width?: number;
|
|
10
|
+
Height?: number;
|
|
11
|
+
BorderRadius?: number;
|
|
12
|
+
ItemNumberIconContainerWidth?: number;
|
|
13
|
+
ItemNumberIconBackGroundColorNormal?: string;
|
|
14
|
+
ItemNumberIconBackGroundColorHover?: string;
|
|
15
|
+
TitlesContainerWidth?: number;
|
|
16
|
+
TitlesBackGroundColorNormal?: string;
|
|
17
|
+
TitlesBackGroundColorHover?: string;
|
|
18
|
+
TriggerIconContainerWidth?: number;
|
|
19
|
+
TriggerIconBackGroundColorNormal?: string;
|
|
20
|
+
TriggerIconBackGroundColorHover?: string;
|
|
21
|
+
ItemNumberEnabled?: boolean;
|
|
22
|
+
ItemNumberText?: string;
|
|
23
|
+
ItemNumberFontFamily?: string;
|
|
24
|
+
ItemNumberFontWeight?: FontWeights;
|
|
25
|
+
ItemNumberFontColorNormal?: string;
|
|
26
|
+
ItemNumberFontColorHover?: string;
|
|
27
|
+
ItemNumberFontSize?: number;
|
|
28
|
+
ItemNumberPosition?: ListItemItemNumberPositionEnum;
|
|
29
|
+
IconEnabled?: boolean;
|
|
30
|
+
Icon?: IconsEnum;
|
|
31
|
+
IconFontColorNormal?: string;
|
|
32
|
+
IconFontColorHover?: string;
|
|
33
|
+
IconFontSize?: number;
|
|
34
|
+
TitleEnabled?: boolean;
|
|
35
|
+
TitleText?: string;
|
|
36
|
+
TitleFontFamily?: string;
|
|
37
|
+
TitleFontWeight?: FontWeights;
|
|
38
|
+
TitleFontColorNormal?: string;
|
|
39
|
+
TitleFontColorHover?: string;
|
|
40
|
+
TitleFontSize?: number;
|
|
41
|
+
TitleTextAlign?: ListItemTextAlignEnum;
|
|
42
|
+
SubTitleEnabled?: boolean;
|
|
43
|
+
SubTitleText?: string;
|
|
44
|
+
SubTitleFontFamily?: string;
|
|
45
|
+
SubTitleFontWeight?: FontWeights;
|
|
46
|
+
SubTitleFontColorNormal?: string;
|
|
47
|
+
SubTitleFontColorHover?: string;
|
|
48
|
+
SubTitleFontSize?: number;
|
|
49
|
+
SubTitleTextAlign?: ListItemTextAlignEnum;
|
|
50
|
+
TriggerIconEnabled?: boolean;
|
|
51
|
+
TriggerIconClose?: IconsEnum;
|
|
52
|
+
TriggerIconOpen?: IconsEnum;
|
|
53
|
+
TriggerIconFontColorNormal?: string;
|
|
54
|
+
TriggerIconFontColorHover?: string;
|
|
55
|
+
TriggerIconFontSize?: number;
|
|
56
|
+
ContainerWrappedBackGroundColor?: string;
|
|
57
|
+
});
|
|
58
|
+
Name?: string;
|
|
59
|
+
ListItemType?: ListItemTypeEnum;
|
|
60
|
+
OpenState?: boolean;
|
|
61
|
+
Width?: number;
|
|
62
|
+
Height?: number;
|
|
63
|
+
BorderRadius?: number;
|
|
64
|
+
ItemNumberIconContainerWidth?: number;
|
|
65
|
+
ItemNumberIconBackGroundColorNormal?: string;
|
|
66
|
+
ItemNumberIconBackGroundColorHover?: string;
|
|
67
|
+
TitlesContainerWidth?: number;
|
|
68
|
+
TitlesBackGroundColorNormal?: string;
|
|
69
|
+
TitlesBackGroundColorHover?: string;
|
|
70
|
+
TriggerIconContainerWidth?: number;
|
|
71
|
+
TriggerIconBackGroundColorNormal?: string;
|
|
72
|
+
TriggerIconBackGroundColorHover?: string;
|
|
73
|
+
ItemNumberEnabled?: boolean;
|
|
74
|
+
ItemNumberText?: string;
|
|
75
|
+
ItemNumberFontFamily?: string;
|
|
76
|
+
ItemNumberFontWeight?: FontWeights;
|
|
77
|
+
ItemNumberFontColorNormal?: string;
|
|
78
|
+
ItemNumberFontColorHover?: string;
|
|
79
|
+
ItemNumberFontSize?: number;
|
|
80
|
+
ItemNumberPosition?: ListItemItemNumberPositionEnum;
|
|
81
|
+
IconEnabled?: boolean;
|
|
82
|
+
Icon?: IconsEnum;
|
|
83
|
+
IconFontColorNormal?: string;
|
|
84
|
+
IconFontColorHover?: string;
|
|
85
|
+
IconFontSize?: number;
|
|
86
|
+
TitleEnabled?: boolean;
|
|
87
|
+
TitleText?: string;
|
|
88
|
+
TitleFontFamily?: string;
|
|
89
|
+
TitleFontWeight?: FontWeights;
|
|
90
|
+
TitleFontColorNormal?: string;
|
|
91
|
+
TitleFontColorHover?: string;
|
|
92
|
+
TitleFontSize?: number;
|
|
93
|
+
TitleTextAlign?: ListItemTextAlignEnum;
|
|
94
|
+
SubTitleEnabled?: boolean;
|
|
95
|
+
SubTitleText?: string;
|
|
96
|
+
SubTitleFontFamily?: string;
|
|
97
|
+
SubTitleFontWeight?: FontWeights;
|
|
98
|
+
SubTitleFontColorNormal?: string;
|
|
99
|
+
SubTitleFontColorHover?: string;
|
|
100
|
+
SubTitleFontSize?: number;
|
|
101
|
+
SubTitleTextAlign?: ListItemTextAlignEnum;
|
|
102
|
+
TriggerIconEnabled?: boolean;
|
|
103
|
+
TriggerIconClose?: IconsEnum;
|
|
104
|
+
TriggerIconOpen?: IconsEnum;
|
|
105
|
+
TriggerIconFontColorNormal?: string;
|
|
106
|
+
TriggerIconFontColorHover?: string;
|
|
107
|
+
TriggerIconFontSize?: number;
|
|
108
|
+
ContainerWrappedBackGroundColor?: string;
|
|
21
109
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Subject } from 'rxjs';
|
|
2
|
-
import {
|
|
2
|
+
import { ListItemConfigModel } from "./list-item.model";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ListItemService {
|
|
5
|
-
stateChanged: Subject<
|
|
5
|
+
stateChanged: Subject<ListItemConfigModel>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ListItemService, never>;
|
|
7
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<ListItemService>;
|
|
8
8
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { ModalService } from './modal.service';
|
|
3
3
|
import { ModalModel } from './modal.model';
|
|
4
|
-
import { ButtonIconPositionEnum, ButtonTypeEnum
|
|
4
|
+
import { ButtonIconPositionEnum, ButtonTypeEnum } from '../button/button.enum';
|
|
5
5
|
import { ButtonService } from '../button/button.service';
|
|
6
6
|
import { IconsEnum } from '../icons.enum.ts';
|
|
7
|
+
import { FontWeights } from '../fontWeights.enum';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class ModalComponent implements OnInit {
|
|
9
10
|
ngOnInit(): void;
|
|
@@ -13,7 +14,7 @@ export declare class ModalComponent implements OnInit {
|
|
|
13
14
|
_ButtonService: ButtonService;
|
|
14
15
|
readonly ButtonTypes: typeof ButtonTypeEnum;
|
|
15
16
|
readonly ButtonIconPositions: typeof ButtonIconPositionEnum;
|
|
16
|
-
readonly
|
|
17
|
+
readonly FontWeights: typeof FontWeights;
|
|
17
18
|
readonly IconsEnum: typeof IconsEnum;
|
|
18
19
|
startListenToShowCommand(): void;
|
|
19
20
|
startToListenToButtonClick(): void;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED