simpo-component-library 1.4.88 → 1.4.100
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/background-directive.mjs +1 -1
- package/esm2022/lib/directive/border-directive.mjs +23 -11
- package/esm2022/lib/directive/spacing-horizontal.directive.mjs +48 -0
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +38 -19
- package/esm2022/lib/ecommerce/sections/authenticate-user/authenticate-user.component.mjs +37 -26
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +154 -42
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +49 -29
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.modal.mjs +11 -2
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +37 -4
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +45 -25
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +72 -22
- package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +18 -15
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +111 -22
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.modal.mjs +1 -1
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +105 -12
- package/esm2022/lib/ecommerce/styles/OrderedItems.modal.mjs +2 -2
- package/esm2022/lib/ecommerce/styles/cart.modal.mjs +2 -1
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +1 -2
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +5 -5
- package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +3 -3
- package/esm2022/lib/services/cart.service.mjs +39 -109
- package/esm2022/lib/services/endUser.service.mjs +28 -0
- package/esm2022/lib/services/events.service.mjs +3 -2
- package/esm2022/lib/services/rest.service.mjs +5 -2
- package/esm2022/lib/services/storage.service.mjs +76 -30
- package/esm2022/lib/styles/index.mjs +8 -1
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/esm2022/lib/styles/types.mjs +1 -1
- package/esm2022/public-api.mjs +2 -3
- package/fesm2022/simpo-component-library.mjs +913 -699
- 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/directive/spacing-horizontal.directive.d.ts +18 -0
- package/lib/ecommerce/sections/address/address.component.d.ts +9 -5
- package/lib/ecommerce/sections/authenticate-user/authenticate-user.component.d.ts +16 -4
- package/lib/ecommerce/sections/cart/cart.component.d.ts +7 -2
- package/lib/ecommerce/sections/featured-products/featured-products.component.d.ts +6 -3
- package/lib/ecommerce/sections/featured-products/featured-products.modal.d.ts +4 -1
- package/lib/ecommerce/sections/order-details/order-details.component.d.ts +9 -1
- package/lib/ecommerce/sections/product-desc/product-desc.component.d.ts +6 -2
- package/lib/ecommerce/sections/product-desc/product-desc.modal.d.ts +2 -1
- package/lib/ecommerce/sections/product-list/product-list.component.d.ts +14 -1
- package/lib/ecommerce/sections/user-basic-info/user-basic-info.component.d.ts +5 -1
- package/lib/ecommerce/sections/user-profile/user-profile.component.d.ts +29 -9
- package/lib/ecommerce/sections/user-profile/user-profile.modal.d.ts +5 -8
- package/lib/ecommerce/sections/whislist/whislist.component.d.ts +10 -2
- package/lib/ecommerce/styles/OrderedItems.modal.d.ts +1 -1
- package/lib/ecommerce/styles/cart.modal.d.ts +1 -0
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/services/cart.service.d.ts +8 -5
- package/lib/services/endUser.service.d.ts +13 -0
- package/lib/services/events.service.d.ts +4 -3
- package/lib/services/rest.service.d.ts +1 -0
- package/lib/services/storage.service.d.ts +11 -44
- package/lib/styles/index.d.ts +6 -0
- package/lib/styles/style.model.d.ts +4 -1
- package/lib/styles/types.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -2
- package/simpo-component-library-1.4.100.tgz +0 -0
- package/esm2022/lib/directive/removeCarousel-directive.mjs +0 -73
- package/esm2022/lib/ecommerce/json/user-cart.json +0 -40
- package/esm2022/lib/ecommerce/json/user-details.json +0 -15
- package/esm2022/lib/ecommerce/json/user-favourite.json +0 -32
- package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +0 -166
- package/esm2022/lib/sections/carousel-banner/carousel-banner.model.mjs +0 -2
- package/lib/directive/removeCarousel-directive.d.ts +0 -35
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +0 -28
- package/lib/sections/carousel-banner/carousel-banner.model.d.ts +0 -42
- package/simpo-component-library-1.4.88.tgz +0 -0
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnChanges, OnDestroy, OnInit, Renderer2 } from '@angular/core';
|
|
2
|
-
import { EventsService } from '../services/events.service';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class RemoveCarouselDirective implements OnChanges, OnInit, OnDestroy {
|
|
5
|
-
private el;
|
|
6
|
-
private renderer;
|
|
7
|
-
private eventService;
|
|
8
|
-
carouselRemove?: any;
|
|
9
|
-
currentIndex?: number;
|
|
10
|
-
eventServiceSubscription: any;
|
|
11
|
-
private observer;
|
|
12
|
-
animationSpeed: {
|
|
13
|
-
type: {
|
|
14
|
-
top: string;
|
|
15
|
-
bottom: string;
|
|
16
|
-
left: string;
|
|
17
|
-
right: string;
|
|
18
|
-
fadeIn: string;
|
|
19
|
-
zoom: string;
|
|
20
|
-
none: string;
|
|
21
|
-
};
|
|
22
|
-
speed: {
|
|
23
|
-
slow: string;
|
|
24
|
-
medium: string;
|
|
25
|
-
fast: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
constructor(el: ElementRef, renderer: Renderer2, eventService: EventsService);
|
|
29
|
-
ngOnDestroy(): void;
|
|
30
|
-
ngOnInit(): void;
|
|
31
|
-
ngOnChanges(): void;
|
|
32
|
-
private stopCarousel;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RemoveCarouselDirective, never>;
|
|
34
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<RemoveCarouselDirective, "[simpoCarouselRemove]", never, { "carouselRemove": { "alias": "simpoCarouselRemove"; "required": false; }; "currentIndex": { "alias": "currentIndex"; "required": false; }; }, {}, never, never, true, never>;
|
|
35
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { OnInit, ElementRef } from '@angular/core';
|
|
2
|
-
import { LayOutModel, PositionLayoutModal } from '../../styles/style.model';
|
|
3
|
-
import BaseSection from '../BaseSection';
|
|
4
|
-
import { EventsService } from './../../services/events.service';
|
|
5
|
-
import { BannerSectionModel } from './carousel-banner.model';
|
|
6
|
-
import { OverlayValue } from "../../styles/index";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class CarouselBannerComponent extends BaseSection implements OnInit {
|
|
9
|
-
private _eventService;
|
|
10
|
-
carouselElement1: ElementRef;
|
|
11
|
-
data?: BannerSectionModel;
|
|
12
|
-
index?: number;
|
|
13
|
-
edit?: boolean;
|
|
14
|
-
delete?: boolean;
|
|
15
|
-
currentIndex: number;
|
|
16
|
-
selectSlide(index: number): void;
|
|
17
|
-
constructor(_eventService: EventsService);
|
|
18
|
-
ngOnInit(): void;
|
|
19
|
-
stylesLayout(item: any): LayOutModel;
|
|
20
|
-
get getJustifyContent(): string;
|
|
21
|
-
canMergeNavbar(item: any): any;
|
|
22
|
-
isBorderlessImage(item: any): any;
|
|
23
|
-
getPositionLayout(item: any): PositionLayoutModal;
|
|
24
|
-
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
|
25
|
-
editSection(): void;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ActionModel, BannerStylesModel, Image, InputTextModel, ListItemModal } from './../../styles/style.model';
|
|
2
|
-
export interface BannerSectionModel {
|
|
3
|
-
id: string;
|
|
4
|
-
sectionType: string;
|
|
5
|
-
sectionName: string;
|
|
6
|
-
listBanners: [singleBannerModel];
|
|
7
|
-
styles: stylesModel;
|
|
8
|
-
}
|
|
9
|
-
export interface ImageModel extends Image {
|
|
10
|
-
showImage: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface stylesModel {
|
|
13
|
-
bannerAnimation: {
|
|
14
|
-
label: string;
|
|
15
|
-
value: string;
|
|
16
|
-
types: [];
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export interface textModel {
|
|
20
|
-
value: string;
|
|
21
|
-
}
|
|
22
|
-
export interface BannerContentModel {
|
|
23
|
-
inputText: InputTextModel[];
|
|
24
|
-
image: ImageModel;
|
|
25
|
-
listItem: ListItemModal<BannerListItem>;
|
|
26
|
-
}
|
|
27
|
-
export interface BannerListItem {
|
|
28
|
-
inputText: InputTextModel[];
|
|
29
|
-
}
|
|
30
|
-
export interface singleBannerModel {
|
|
31
|
-
sectionName: string;
|
|
32
|
-
sectionType: string;
|
|
33
|
-
id: string;
|
|
34
|
-
content: BannerContentModel;
|
|
35
|
-
styles: BannerStylesModel;
|
|
36
|
-
action: ActionModel;
|
|
37
|
-
}
|
|
38
|
-
export interface actionsModel {
|
|
39
|
-
label: string;
|
|
40
|
-
value: string;
|
|
41
|
-
types: ["Horizontal", "Animated"];
|
|
42
|
-
}
|
|
Binary file
|