simpo-component-library 3.2.68 → 3.2.70
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/esm2022/lib/directive/button-editor.directive.mjs +3 -3
- package/esm2022/lib/directive/image-editor.directive.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/authentication-required/authentication-required.component.mjs +3 -3
- package/esm2022/lib/elements/add-section/add-section.component.mjs +21 -13
- package/esm2022/lib/elements/media-selector/media-selector.component.mjs +3 -3
- package/esm2022/lib/sections/header-section/header-section.component.mjs +23 -24
- package/fesm2022/simpo-component-library.mjs +48 -41
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/elements/add-section/add-section.component.d.ts +3 -0
- package/lib/sections/header-section/header-section.component.d.ts +2 -5
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-3.2.70.tgz +0 -0
- package/src/lib/styles/global-styles.css +61 -22
- package/simpo-component-library-3.2.68.tgz +0 -0
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
11
11
|
constructor(el: ElementRef, eventService: EventsService);
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
ngOnChanges(change: SimpleChanges): void;
|
14
|
-
getTextColor(bgColor: string): "#
|
14
|
+
getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
|
17
17
|
}
|
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
15
15
|
applyButtonStyleChanges(): void;
|
16
16
|
applyButtonType(style: ButtonStyleModel, color: string): void;
|
17
17
|
applyButtonShape(style: ButtonStyleModel): void;
|
18
|
-
getTextColor(bgColor: string): "#
|
18
|
+
getTextColor(bgColor: string): "#ffffff" | "#000000" | "#ffffff;";
|
19
19
|
buttonStyleSubscription?: Subscription;
|
20
20
|
buttonStyleChangeCheck(): void;
|
21
21
|
changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
|
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
|
|
12
12
|
ngOnDestroy(): void;
|
13
13
|
applyColor(): void;
|
14
14
|
bgColorChangeCheck(): void;
|
15
|
-
getTextColor(): "#
|
15
|
+
getTextColor(): "#ffffff" | "#000000" | "#ffffff;";
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
|
18
18
|
}
|
@@ -10,6 +10,7 @@ export declare class AddSectionComponent {
|
|
10
10
|
private _eventService;
|
11
11
|
private editorService;
|
12
12
|
private elementService;
|
13
|
+
Object?: Object;
|
13
14
|
constructor(dialog: MatDialogRef<AddSectionComponent>, data: any, http: HttpClient, _eventService: EventsService, editorService: ElementServiceService, elementService: ElementServiceService);
|
14
15
|
businessType: 'STATIC' | 'E_COMMERCE';
|
15
16
|
ngOnInit(): void;
|
@@ -23,10 +24,12 @@ export declare class AddSectionComponent {
|
|
23
24
|
selectSection(ele: any): void;
|
24
25
|
getAllSections(): void;
|
25
26
|
getObjectKeys(obj: any): any[];
|
27
|
+
getSectionLength(section: any): number;
|
26
28
|
addNewSection(componentId: any, sectionType: any, event: any): void;
|
27
29
|
searchText: string;
|
28
30
|
dummySections: any;
|
29
31
|
dummy2: any;
|
32
|
+
isSearch: boolean;
|
30
33
|
searchSections(): void;
|
31
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddSectionComponent, never>;
|
32
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddSectionComponent, "simpo-add-section", never, {}, {}, never, never, true, never>;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { OnInit } from '@angular/core';
|
2
2
|
import { HeaderContentModel, HeaderSectionModel, HeaderStyleModel } from './header-section.model';
|
3
3
|
import { EventsService } from './../../services/events.service';
|
4
4
|
import { ActionModel, LayOutModel } from '../../styles/style.model';
|
@@ -13,7 +13,6 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
13
13
|
private readonly activatedRoute;
|
14
14
|
private readonly matDialog;
|
15
15
|
private readonly storageService;
|
16
|
-
private cdRef;
|
17
16
|
data?: HeaderSectionModel;
|
18
17
|
nextComponent: any;
|
19
18
|
index?: number;
|
@@ -29,7 +28,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
29
28
|
theme: typeof ProductCardTheme;
|
30
29
|
HeaderStyling: typeof Header_Type;
|
31
30
|
parentHeight: number;
|
32
|
-
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService
|
31
|
+
constructor(_eventService: EventsService, router: Router, activatedRoute: ActivatedRoute, matDialog: MatDialog, storageService: StorageServiceService);
|
33
32
|
searchProducts(): void;
|
34
33
|
goToFav(): void;
|
35
34
|
get stylesLayout(): LayOutModel;
|
@@ -41,8 +40,6 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
41
40
|
applyFilter(value: any, type: string): void;
|
42
41
|
onScroll(event: any): void;
|
43
42
|
ngOnInit(): void;
|
44
|
-
ngAfterViewInit(): void;
|
45
|
-
updateParentHeight(): void;
|
46
43
|
isNavbarOpen: boolean;
|
47
44
|
screenWidth: number;
|
48
45
|
getScreenSize(event?: number): void;
|
@@ -17,7 +17,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
17
17
|
style?: PricingSectionStylesModel;
|
18
18
|
constructor(_eventService: EventsService);
|
19
19
|
ngOnInit(): void;
|
20
|
-
getTextColor(): "#
|
20
|
+
getTextColor(): "#ffffff" | "#000000";
|
21
21
|
get headingSpace(): SPACING;
|
22
22
|
editSection(): void;
|
23
23
|
redirectTo(): void;
|
package/package.json
CHANGED
Binary file
|
@@ -3,6 +3,7 @@
|
|
3
3
|
--primary-bg-color: linear-gradient(94.22deg, #283E90 -4.45%, #F000E8 111.88%);
|
4
4
|
--primary-color: white;
|
5
5
|
}
|
6
|
+
|
6
7
|
.add-section {
|
7
8
|
position: absolute !important;
|
8
9
|
width: 40%;
|
@@ -11,11 +12,11 @@
|
|
11
12
|
height: 100vh;
|
12
13
|
background-color: transparent !important;
|
13
14
|
box-shadow: none !important;
|
14
|
-
animation: slideInLeft 0.5s ease-in-out forwards;
|
15
|
+
animation: slideInLeft 0.5s ease-in-out forwards;
|
15
16
|
}
|
16
17
|
|
17
18
|
.add-section.closing {
|
18
|
-
animation: slideOutLeft 0.5
|
19
|
+
animation: slideOutLeft 0.5 s ease-in-out forwards;
|
19
20
|
}
|
20
21
|
|
21
22
|
@keyframes slideInLeft {
|
@@ -23,6 +24,7 @@ animation: slideInLeft 0.5s ease-in-out forwards;
|
|
23
24
|
transform: translateX(-100%);
|
24
25
|
opacity: 0;
|
25
26
|
}
|
27
|
+
|
26
28
|
to {
|
27
29
|
transform: translateX(0);
|
28
30
|
opacity: 1;
|
@@ -34,8 +36,10 @@ animation: slideInLeft 0.5s ease-in-out forwards;
|
|
34
36
|
transform: translateX(0);
|
35
37
|
opacity: 1;
|
36
38
|
}
|
39
|
+
|
37
40
|
to {
|
38
|
-
transform: translateX(-100%);
|
41
|
+
transform: translateX(-100%);
|
42
|
+
/* Close to the left side */
|
39
43
|
opacity: 0;
|
40
44
|
}
|
41
45
|
}
|
@@ -44,28 +48,33 @@ animation: slideInLeft 0.5s ease-in-out forwards;
|
|
44
48
|
@media screen and (min-width: 1280px) {
|
45
49
|
.content-side {
|
46
50
|
h1 {
|
47
|
-
font-size: 72px!important;
|
48
|
-
line-height: 80px!important;
|
51
|
+
font-size: 72px !important;
|
52
|
+
line-height: 80px !important;
|
49
53
|
}
|
54
|
+
|
50
55
|
h2 {
|
51
|
-
font-size: 48px!important;
|
52
|
-
line-height: 56px!important;
|
56
|
+
font-size: 48px !important;
|
57
|
+
line-height: 56px !important;
|
53
58
|
}
|
59
|
+
|
54
60
|
h3 {
|
55
|
-
font-size: 32px!important;
|
56
|
-
line-height: 40px!important;
|
61
|
+
font-size: 32px !important;
|
62
|
+
line-height: 40px !important;
|
57
63
|
}
|
64
|
+
|
58
65
|
h4 {
|
59
|
-
font-size: 24px!important;
|
60
|
-
line-height: 36px!important;
|
66
|
+
font-size: 24px !important;
|
67
|
+
line-height: 36px !important;
|
61
68
|
}
|
69
|
+
|
62
70
|
h5 {
|
63
|
-
font-size: 18px!important;
|
64
|
-
line-height: 28px!important;
|
71
|
+
font-size: 18px !important;
|
72
|
+
line-height: 28px !important;
|
65
73
|
}
|
66
|
-
|
67
|
-
|
68
|
-
|
74
|
+
|
75
|
+
p {
|
76
|
+
font-size: 16px !important;
|
77
|
+
line-height: 21px !important;
|
69
78
|
}
|
70
79
|
}
|
71
80
|
|
@@ -77,23 +86,28 @@ animation: slideInLeft 0.5s ease-in-out forwards;
|
|
77
86
|
font-size: 46px;
|
78
87
|
line-height: 54px;
|
79
88
|
}
|
89
|
+
|
80
90
|
h2 {
|
81
91
|
font-size: 35px;
|
82
92
|
line-height: 42px;
|
83
93
|
}
|
94
|
+
|
84
95
|
h3 {
|
85
96
|
font-size: 28px;
|
86
97
|
line-height: 36px;
|
87
98
|
}
|
99
|
+
|
88
100
|
h4 {
|
89
101
|
font-size: 18px;
|
90
102
|
line-height: 26px;
|
91
103
|
}
|
104
|
+
|
92
105
|
h5 {
|
93
106
|
font-size: 16px;
|
94
107
|
line-height: 24px;
|
95
108
|
}
|
96
|
-
|
109
|
+
|
110
|
+
p {
|
97
111
|
font-size: 14px;
|
98
112
|
line-height: 21px;
|
99
113
|
}
|
@@ -106,43 +120,68 @@ animation: slideInLeft 0.5s ease-in-out forwards;
|
|
106
120
|
font-size: 36px;
|
107
121
|
line-height: 42px;
|
108
122
|
}
|
123
|
+
|
109
124
|
h2 {
|
110
125
|
font-size: 30px;
|
111
126
|
line-height: 36px;
|
112
127
|
}
|
128
|
+
|
113
129
|
h3 {
|
114
130
|
font-size: 24px;
|
115
131
|
line-height: 32px;
|
116
132
|
}
|
133
|
+
|
117
134
|
h4 {
|
118
135
|
font-size: 18px;
|
119
136
|
line-height: 26px;
|
120
137
|
}
|
138
|
+
|
121
139
|
h5 {
|
122
140
|
font-size: 16px;
|
123
141
|
line-height: 24px;
|
124
142
|
}
|
125
|
-
|
143
|
+
|
144
|
+
p {
|
126
145
|
font-size: 14px;
|
127
146
|
line-height: 21px;
|
128
147
|
}
|
129
148
|
}
|
149
|
+
|
130
150
|
.link-editor {
|
131
151
|
height: 100vh;
|
132
152
|
width: 28vw;
|
133
|
-
position: absolute!important;
|
153
|
+
position: absolute !important;
|
134
154
|
top: 0;
|
135
155
|
left: 0 !important;
|
136
156
|
animation: slideInLeft 0.5s ease-in-out forwards;
|
137
157
|
}
|
138
|
-
|
158
|
+
|
159
|
+
@media screen and (max-width : 475px) {
|
160
|
+
.link-editor {
|
161
|
+
width: 100% !important;
|
162
|
+
}
|
163
|
+
|
164
|
+
.link-editor {
|
165
|
+
width: 100% !important;
|
166
|
+
max-width: 100% !important;
|
167
|
+
}
|
168
|
+
|
169
|
+
.media-selector {
|
170
|
+
width: 100% !important;
|
171
|
+
max-width: 100% !important;
|
172
|
+
}
|
173
|
+
|
174
|
+
}
|
175
|
+
|
176
|
+
.mat-mdc-form-field-subscript-wrapper {
|
139
177
|
display: none;
|
140
178
|
}
|
141
|
-
|
179
|
+
|
180
|
+
.media-selector {
|
142
181
|
position: absolute !important;
|
143
182
|
top: 0 !important;
|
144
183
|
left: 0 !important;
|
145
184
|
width: 60%;
|
146
185
|
height: 100vh;
|
147
186
|
animation: slideInLeft 0.5s ease-in-out forwards;
|
148
|
-
}
|
187
|
+
}
|
Binary file
|