simpo-component-library 3.5.40 → 3.5.42
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/sections/blog-list/blog-list.component.mjs +2 -2
- package/esm2022/lib/sections/header-section/header-section.component.mjs +6 -4
- package/esm2022/lib/sections/header-section/header-section.model.mjs +1 -1
- package/esm2022/lib/sections/moving-text/moving-text.component.mjs +110 -0
- package/esm2022/lib/sections/moving-text/moving-text.modal.mjs +2 -0
- package/esm2022/lib/styles/index.mjs +6 -1
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/esm2022/public-api.mjs +2 -2
- package/fesm2022/simpo-component-library.mjs +107 -5
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/sections/header-section/header-section.component.d.ts +2 -0
- package/lib/sections/header-section/header-section.model.d.ts +10 -2
- package/lib/sections/moving-text/moving-text.component.d.ts +27 -0
- package/lib/sections/moving-text/moving-text.modal.d.ts +19 -0
- package/lib/styles/index.d.ts +4 -0
- package/lib/styles/style.model.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
- package/simpo-component-library-3.5.42.tgz +0 -0
- package/simpo-component-library-3.5.40.tgz +0 -0
@@ -6,6 +6,7 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|
6
6
|
import { MatDialog } from '@angular/material/dialog';
|
7
7
|
import { StorageServiceService } from '../../services/storage.service';
|
8
8
|
import { Header_Type, ProductCardTheme } from '../../styles/index';
|
9
|
+
import { MovingTextModal } from '../moving-text/moving-text.modal';
|
9
10
|
import * as i0 from "@angular/core";
|
10
11
|
export declare class HeaderSectionComponent implements OnInit {
|
11
12
|
private readonly _eventService;
|
@@ -39,6 +40,7 @@ export declare class HeaderSectionComponent implements OnInit {
|
|
39
40
|
goToCart(): void;
|
40
41
|
applyFilter(value: any, type: string): void;
|
41
42
|
onScroll(event: any): void;
|
43
|
+
movingText?: MovingTextModal;
|
42
44
|
ngOnInit(): void;
|
43
45
|
isNavbarOpen: boolean;
|
44
46
|
screenWidth: number;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Header_Type, HeaderButtonStyle, ProductCardTheme } from "./../../styles/index";
|
2
|
-
import { BackgroundModel, HeaderButtonStyleModel, InputTextModel, NavbarButton } from "../../styles/style.model";
|
1
|
+
import { animationType, Header_Type, HeaderButtonStyle, ProductCardTheme } from "./../../styles/index";
|
2
|
+
import { BackgroundModel, DisplaySection, HeaderButtonStyleModel, InputTextModel, ListItemModal, NavbarButton } from "../../styles/style.model";
|
3
3
|
import { FooterLayoutModel, FooterLogoModel, FooterSocialLinkModel } from "../footer-section/footer-section.modal";
|
4
4
|
import { ActionModel } from "../../styles/style.model";
|
5
5
|
export interface HeaderSectionModel {
|
@@ -19,6 +19,13 @@ export interface HeaderContentModel {
|
|
19
19
|
ecomlinks: {
|
20
20
|
[key: string]: string[];
|
21
21
|
};
|
22
|
+
listItem: ListItemModal<HeaderSectionListItemModel>;
|
23
|
+
display: Display;
|
24
|
+
}
|
25
|
+
export interface Display extends DisplaySection {
|
26
|
+
}
|
27
|
+
export interface HeaderSectionListItemModel {
|
28
|
+
inputText: InputTextModel[];
|
22
29
|
}
|
23
30
|
export interface HeaderStyleModel {
|
24
31
|
layout: FooterLayoutModel;
|
@@ -28,4 +35,5 @@ export interface HeaderStyleModel {
|
|
28
35
|
navbarButtonStyle: HeaderButtonStyleModel;
|
29
36
|
styling: Header_Type;
|
30
37
|
theme: ProductCardTheme;
|
38
|
+
animationType: animationType;
|
31
39
|
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import BaseSection from '../BaseSection';
|
2
|
+
import { MovingTextModal } from './moving-text.modal';
|
3
|
+
import { EventsService } from '../../services/events.service';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class MovingTextComponent extends BaseSection {
|
6
|
+
private _eventService;
|
7
|
+
data?: MovingTextModal;
|
8
|
+
edit?: boolean;
|
9
|
+
delete?: boolean;
|
10
|
+
customClass?: string;
|
11
|
+
index?: number;
|
12
|
+
constructor(_eventService: EventsService);
|
13
|
+
ngOnInit(): void;
|
14
|
+
ngOnChanges(): void;
|
15
|
+
editSection(): void;
|
16
|
+
stopPropagation(event: any): void;
|
17
|
+
screenWidth: any;
|
18
|
+
getScreenSize(): void;
|
19
|
+
currentIndex: number;
|
20
|
+
isTransitioning: boolean;
|
21
|
+
animationDirection: string;
|
22
|
+
private interval;
|
23
|
+
private alternateDirection;
|
24
|
+
startAnimationCycle(): void;
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MovingTextComponent, never>;
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MovingTextComponent, "simpo-moving-text", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
27
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { ListItemModal, InputTextModel, BackgroundModel } from './../../styles/style.model';
|
2
|
+
import { animationType } from "./../../styles/index";
|
3
|
+
export interface MovingTextModal {
|
4
|
+
id: string;
|
5
|
+
sectionType: string;
|
6
|
+
sectionName: string;
|
7
|
+
content: MovingTextContentModal;
|
8
|
+
styles: MovingTextStylesModal;
|
9
|
+
}
|
10
|
+
export interface MovingTextContentModal {
|
11
|
+
listItem: ListItemModal<NewServicesItemModel>;
|
12
|
+
}
|
13
|
+
export interface NewServicesItemModel {
|
14
|
+
inputText: InputTextModel[];
|
15
|
+
}
|
16
|
+
export interface MovingTextStylesModal {
|
17
|
+
background: BackgroundModel;
|
18
|
+
animationType: animationType;
|
19
|
+
}
|
package/lib/styles/index.d.ts
CHANGED
@@ -233,6 +233,10 @@ export declare enum FooterType {
|
|
233
233
|
FOOTER_3 = "Footer3",
|
234
234
|
FOOTER_4 = "Footer4"
|
235
235
|
}
|
236
|
+
export declare enum animationType {
|
237
|
+
INFINITE_SCROLL = "InfiniteScroll",
|
238
|
+
SOFT_TRANSITION = "SoftTransition"
|
239
|
+
}
|
236
240
|
export declare enum GradientDirection {
|
237
241
|
DOWN = "",
|
238
242
|
RIGHT = "90deg",
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -40,6 +40,7 @@ export * from './lib/sections/footer/footer.component';
|
|
40
40
|
export * from './lib/sections/header-section/header-section.component';
|
41
41
|
export * from './lib/sections/new-testimonials/new-testimonials.component';
|
42
42
|
export * from './lib/sections/new-services/new-services.component';
|
43
|
+
export * from './lib/sections/moving-text/moving-text.component';
|
43
44
|
export * from './lib/ecommerce/sections/featured-products/featured-products.component';
|
44
45
|
export * from './lib/ecommerce/sections/featured-category/featured-category.component';
|
45
46
|
export * from './lib/ecommerce/sections/product-desc/product-desc.component';
|
Binary file
|
Binary file
|