simpo-component-library 1.4.256 → 1.4.260
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/ecommerce/sections/address/address.component.mjs +18 -5
- package/esm2022/lib/ecommerce/sections/cart/cart.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/checkout/checkout.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/order-details/order-details.component.mjs +6 -3
- package/esm2022/lib/ecommerce/sections/product-desc/product-desc.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/product-list/product-list.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/user-basic-info/user-basic-info.component.mjs +3 -3
- package/esm2022/lib/ecommerce/sections/user-profile/user-profile.component.mjs +5 -6
- package/esm2022/lib/ecommerce/sections/verify-payment/verify-payment.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/whislist/whislist.component.mjs +3 -3
- package/esm2022/lib/sections/carousel-banner/carousel-banner.component.mjs +12 -12
- package/esm2022/lib/sections/carousel-banner/carousel-banner.model.mjs +1 -1
- package/esm2022/lib/styles/types.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs +56 -41
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/ecommerce/sections/address/address.component.d.ts +2 -0
- package/lib/ecommerce/sections/order-details/order-details.component.d.ts +1 -0
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +7 -5
- package/lib/sections/carousel-banner/carousel-banner.model.d.ts +41 -26
- package/lib/styles/types.d.ts +1 -0
- package/package.json +1 -1
- package/simpo-component-library-1.4.257.tgz +0 -0
- package/simpo-component-library-1.4.258.tgz +0 -0
- package/simpo-component-library-1.4.260.tgz +0 -0
- package/simpo-component-library-1.4.250.tgz +0 -0
- package/simpo-component-library-1.4.251.tgz +0 -0
- package/simpo-component-library-1.4.252.tgz +0 -0
- package/simpo-component-library-1.4.255.tgz +0 -0
- package/simpo-component-library-1.4.256.tgz +0 -0
@@ -46,6 +46,8 @@ export declare class AddressComponent implements OnInit, OnChanges {
|
|
46
46
|
onAutocompleteSelected(result: any): void;
|
47
47
|
addressSelected(index: number): void;
|
48
48
|
updateAddress(): void;
|
49
|
+
validateMobile(event: KeyboardEvent): void;
|
50
|
+
validateName(event: KeyboardEvent): void;
|
49
51
|
get isEmailValid(): boolean;
|
50
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddressComponent, [null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
51
53
|
static ɵcmp: i0.ɵɵComponentDeclaration<AddressComponent, "simpo-address", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "isCart": { "alias": "isCart"; "required": false; }; }, { "selectedAddress": "selectedAddress"; }, never, never, true, never>;
|
@@ -25,6 +25,7 @@ export declare class OrderDetailsComponent implements OnInit {
|
|
25
25
|
private convertHEX;
|
26
26
|
get currency(): string;
|
27
27
|
get canCancelOrder(): boolean;
|
28
|
+
get orderAddress(): string;
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderDetailsComponent, never>;
|
29
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<OrderDetailsComponent, "simpo-order-details", never, { "responseData": { "alias": "responseData"; "required": false; }; "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "orderDetailData": { "alias": "orderDetailData"; "required": false; }; }, { "goBackEmitter": "goBackEmitter"; }, never, never, true, never>;
|
30
31
|
}
|
@@ -2,7 +2,7 @@ import { OnInit, ElementRef } from '@angular/core';
|
|
2
2
|
import { LayOutModel, PositionLayoutModal } from '../../styles/style.model';
|
3
3
|
import BaseSection from '../BaseSection';
|
4
4
|
import { EventsService } from './../../services/events.service';
|
5
|
-
import { BannerSectionModel } from './carousel-banner.model';
|
5
|
+
import { BannerSectionModel, CarouselBannerContentModel, CarouselBannerStyelsModel } from './carousel-banner.model';
|
6
6
|
import { OverlayValue } from "../../styles/index";
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
export declare class CarouselBannerComponent extends BaseSection implements OnInit {
|
@@ -10,17 +10,19 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
|
|
10
10
|
carouselElement1: ElementRef;
|
11
11
|
data?: BannerSectionModel;
|
12
12
|
index?: number;
|
13
|
+
content?: CarouselBannerContentModel;
|
13
14
|
edit?: boolean;
|
14
15
|
delete?: boolean;
|
16
|
+
styles?: CarouselBannerStyelsModel;
|
15
17
|
currentIndex: number;
|
16
18
|
selectSlide(index: number): void;
|
17
19
|
constructor(_eventService: EventsService);
|
18
20
|
ngOnInit(): void;
|
19
|
-
stylesLayout(
|
21
|
+
get stylesLayout(): LayOutModel;
|
20
22
|
get getJustifyContent(): string;
|
21
|
-
canMergeNavbar(
|
22
|
-
isBorderlessImage(
|
23
|
-
getPositionLayout(
|
23
|
+
get canMergeNavbar(): boolean | undefined;
|
24
|
+
get isBorderlessImage(): boolean | undefined;
|
25
|
+
get getPositionLayout(): PositionLayoutModal;
|
24
26
|
opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
|
25
27
|
editSection(): void;
|
26
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
|
@@ -1,39 +1,54 @@
|
|
1
|
-
import { ActionModel,
|
1
|
+
import { ActionModel, AnimationModel, BackgroundModel, BorderModel, Image, ImageStyle, InputTextModel, ListItemModal, PositionLayoutModal, TextSize } from './../../styles/style.model';
|
2
|
+
import { Corners, AlignContent } from "./../../styles/index";
|
3
|
+
import { ALIGN, FIT, SPACING_TYPE, BANNER_TRANSITION } from './../../styles/types';
|
2
4
|
export interface BannerSectionModel {
|
3
5
|
id: string;
|
4
6
|
sectionType: string;
|
5
7
|
sectionName: string;
|
6
|
-
|
7
|
-
styles:
|
8
|
+
content: CarouselBannerContentModel;
|
9
|
+
styles: CarouselBannerStyelsModel;
|
8
10
|
}
|
9
|
-
export interface
|
10
|
-
|
11
|
-
}
|
12
|
-
export interface stylesModel {
|
13
|
-
bannerAnimation: {
|
14
|
-
label: string;
|
15
|
-
value: string;
|
16
|
-
types: [];
|
17
|
-
};
|
18
|
-
}
|
19
|
-
export interface textModel {
|
20
|
-
value: string;
|
11
|
+
export interface CarouselBannerContentModel {
|
12
|
+
listItem: ListItemModal<BannerItemModel>;
|
21
13
|
}
|
22
|
-
export interface
|
14
|
+
export interface BannerItemModel {
|
15
|
+
id: string;
|
23
16
|
inputText: InputTextModel[];
|
24
17
|
image: ImageModel;
|
25
|
-
|
18
|
+
additionalData: AdditionalData[];
|
19
|
+
action: ActionModel;
|
20
|
+
styles: BannerItemStylesModel;
|
26
21
|
}
|
27
|
-
export interface
|
28
|
-
|
22
|
+
export interface BannerItemStylesModel {
|
23
|
+
contentAlignment: AlignContent;
|
24
|
+
background: BackgroundModel;
|
25
|
+
border: BorderModel;
|
26
|
+
image: ImageStyle;
|
27
|
+
corners: Corners;
|
29
28
|
}
|
30
|
-
export interface
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
29
|
+
export interface AdditionalData {
|
30
|
+
content: string;
|
31
|
+
}
|
32
|
+
export interface ImageModel extends Image {
|
33
|
+
showImage: boolean;
|
34
|
+
}
|
35
|
+
export interface CarouselBannerStyelsModel {
|
36
|
+
layout: CarouselBannerLayoutModel;
|
37
|
+
borderLessImage: boolean;
|
38
|
+
positionLayout: PositionLayoutModal;
|
39
|
+
animation: AnimationModel;
|
40
|
+
textSize: TextSize;
|
41
|
+
merge?: boolean;
|
42
|
+
transition: BANNER_TRANSITION;
|
43
|
+
}
|
44
|
+
export interface CarouselBannerLayoutModel {
|
45
|
+
fit: FIT;
|
46
|
+
spacing: SpacingModel;
|
47
|
+
align: ALIGN;
|
48
|
+
}
|
49
|
+
export interface SpacingModel {
|
50
|
+
top: SPACING_TYPE;
|
51
|
+
bottom: SPACING_TYPE;
|
37
52
|
}
|
38
53
|
export interface actionsModel {
|
39
54
|
label: string;
|
package/lib/styles/types.d.ts
CHANGED
@@ -17,3 +17,4 @@ export type SOCIAL_ICON_TYPE = 'solid' | 'outline';
|
|
17
17
|
export type SITE_NAME_LOGo = 'custom' | 'same as header';
|
18
18
|
export type INPUT_FIELDS_TYPE = "text" | "number" | "desc" | "password" | "checkbox" | "option" | "money" | "rating" | "dropdown" | "address" | "email";
|
19
19
|
export type MAP_STYLE = 'Streets' | 'Outdoors' | 'Light' | 'Dark' | 'Satellite' | 'Satellite_street' | 'navigation_day' | 'navigation_night';
|
20
|
+
export type BANNER_TRANSITION = 'Horizontal' | 'Animated';
|
package/package.json
CHANGED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|