simpo-component-library 1.4.88 → 1.4.90
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/banner-grid-section/banner-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
- package/esm2022/lib/sections/choose-us-section/choose-us-section.component.mjs +7 -3
- package/esm2022/lib/sections/qrcode1/qrcode1.component.mjs +96 -0
- package/esm2022/lib/sections/qrcode1/qrcode1.model.mjs +2 -0
- package/esm2022/lib/sections/qrscanner-2/sanjana-testing.component.mjs +96 -0
- package/esm2022/lib/sections/qrscanner-2/sanjana-testing.modal.mjs +2 -0
- package/esm2022/lib/sections/rajesh-testing/Rajesh-model.mjs +2 -0
- package/esm2022/lib/sections/rajesh-testing/rajesh-testing.component.mjs +95 -0
- package/esm2022/lib/sections/scanner-section/scanner-section.component.mjs +111 -0
- package/esm2022/lib/sections/scanner-section/scanner-section.modal.mjs +2 -0
- package/esm2022/lib/sections/service-section/service-section.component.mjs +3 -3
- package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +3 -3
- package/esm2022/public-api.mjs +5 -1
- package/fesm2022/simpo-component-library.mjs +281 -11
- 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/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/sections/choose-us-section/choose-us-section.component.d.ts +1 -0
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/sections/qrcode1/qrcode1.component.d.ts +21 -0
- package/lib/sections/qrcode1/qrcode1.model.d.ts +30 -0
- package/lib/sections/qrscanner-2/sanjana-testing.component.d.ts +21 -0
- package/lib/sections/qrscanner-2/sanjana-testing.modal.d.ts +27 -0
- package/lib/sections/rajesh-testing/Rajesh-model.d.ts +30 -0
- package/lib/sections/rajesh-testing/rajesh-testing.component.d.ts +21 -0
- package/lib/sections/scanner-section/scanner-section.component.d.ts +24 -0
- package/lib/sections/scanner-section/scanner-section.modal.d.ts +31 -0
- package/package.json +1 -1
- package/public-api.d.ts +4 -0
- package/simpo-component-library-1.4.90.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
|
}
|
|
@@ -23,8 +23,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
|
23
23
|
get stylesLayout(): LayOutModel;
|
|
24
24
|
get getBlurValue(): OverlayValue | undefined;
|
|
25
25
|
get getBackgroundColor(): BackgroundModel;
|
|
26
|
-
get getBackgroundOpacity(): "0
|
|
27
|
-
opacityValue(value: OverlayValue): "0
|
|
26
|
+
get getBackgroundOpacity(): "0" | "0.2" | "0.3" | "0.5" | "0.7";
|
|
27
|
+
opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
|
|
28
28
|
editSection(): void;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
|
|
30
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", 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>;
|
|
@@ -21,7 +21,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
|
|
|
21
21
|
canMergeNavbar(item: any): any;
|
|
22
22
|
isBorderlessImage(item: any): any;
|
|
23
23
|
getPositionLayout(item: any): PositionLayoutModal;
|
|
24
|
-
opacityValue(value: OverlayValue): "0
|
|
24
|
+
opacityValue(value: OverlayValue): "0" | "0.2" | "0.3" | "0.5" | "0.7";
|
|
25
25
|
editSection(): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
|
|
27
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>;
|
|
@@ -14,6 +14,7 @@ export declare class ChooseUsSectionComponent extends BaseSection implements OnI
|
|
|
14
14
|
constructor(_eventService: EventsService);
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
editSection(): void;
|
|
17
|
+
getSanitizedData(value: string): string;
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<ChooseUsSectionComponent, never>;
|
|
18
19
|
static ɵcmp: i0.ɵɵComponentDeclaration<ChooseUsSectionComponent, "simpo-choose-us-section", 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>;
|
|
19
20
|
}
|
|
@@ -15,7 +15,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
|
15
15
|
style?: PricingSectionStylesModel;
|
|
16
16
|
constructor(_eventService: EventsService);
|
|
17
17
|
ngOnInit(): void;
|
|
18
|
-
getTextColor(): "#
|
|
18
|
+
getTextColor(): "#ffffff" | "#000000";
|
|
19
19
|
get headingSpace(): SPACING;
|
|
20
20
|
editSection(): void;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { QRContentModel, QrCodeModal, QrCodeStylesModel } from './qrcode1.model';
|
|
3
|
+
import { LayOutModel } from '../../styles/style.model';
|
|
4
|
+
import { EventsService } from './../../services/events.service';
|
|
5
|
+
import BaseSection from '../BaseSection';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class Qrcode1Component extends BaseSection implements OnInit {
|
|
8
|
+
private _eventService;
|
|
9
|
+
data?: QrCodeModal;
|
|
10
|
+
edit: boolean;
|
|
11
|
+
content?: QRContentModel;
|
|
12
|
+
styles?: QrCodeStylesModel;
|
|
13
|
+
delete?: boolean;
|
|
14
|
+
index?: number;
|
|
15
|
+
constructor(_eventService: EventsService);
|
|
16
|
+
get stylesLayout(): LayOutModel;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
editSection(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Qrcode1Component, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Qrcode1Component, "simpo-qrcode1", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Image, InputTextModel, StylesModel, ImageStyle, PositionLayoutModal } from './../../styles/style.model';
|
|
2
|
+
import { Corners, AlignContent } from '../../styles/index';
|
|
3
|
+
export interface QrCodeModal {
|
|
4
|
+
id: string;
|
|
5
|
+
sectionType: string;
|
|
6
|
+
sectionName: string;
|
|
7
|
+
content: QRContentModel;
|
|
8
|
+
styles: QrCodeStylesModel;
|
|
9
|
+
}
|
|
10
|
+
export interface ImageModel extends Image {
|
|
11
|
+
showImage: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface QrCodeStylesModel extends StylesModel {
|
|
14
|
+
corners: Corners;
|
|
15
|
+
image: ImageStyle;
|
|
16
|
+
fullWidth: boolean;
|
|
17
|
+
invertImage: boolean;
|
|
18
|
+
positionLayout: PositionLayoutModal;
|
|
19
|
+
contentAlignment: AlignContent;
|
|
20
|
+
}
|
|
21
|
+
export interface textModel {
|
|
22
|
+
value: string;
|
|
23
|
+
}
|
|
24
|
+
export interface QRContentModel {
|
|
25
|
+
inputText: InputTextModel[];
|
|
26
|
+
image: ImageModel;
|
|
27
|
+
}
|
|
28
|
+
export interface QRItem {
|
|
29
|
+
inputText: InputTextModel[];
|
|
30
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SanjanaTestingContentModel, SanjanaTestingModel, SanjanaTestingStylesModel } from './sanjana-testing.modal';
|
|
3
|
+
import { LayOutModel } from '../../styles/style.model';
|
|
4
|
+
import { EventsService } from '../../services/events.service';
|
|
5
|
+
import BaseSection from '../BaseSection';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class SanjanaTestingComponent extends BaseSection implements OnInit {
|
|
8
|
+
private _eventService;
|
|
9
|
+
data?: SanjanaTestingModel;
|
|
10
|
+
styles?: SanjanaTestingStylesModel;
|
|
11
|
+
index?: number;
|
|
12
|
+
content?: SanjanaTestingContentModel;
|
|
13
|
+
edit?: boolean;
|
|
14
|
+
delete?: boolean;
|
|
15
|
+
constructor(_eventService: EventsService);
|
|
16
|
+
get stylesLayout(): LayOutModel;
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
editSection(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SanjanaTestingComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SanjanaTestingComponent, "simpo-sanjana-testing", 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>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Image, ImageStyle, InputTextModel, PositionLayoutModal, StylesModel } from '../../styles/style.model';
|
|
2
|
+
import { Corners, AlignContent } from '../../styles/index';
|
|
3
|
+
export interface SanjanaTestingModel {
|
|
4
|
+
id: string;
|
|
5
|
+
sectionType: string;
|
|
6
|
+
sectionName: string;
|
|
7
|
+
content: SanjanaTestingContentModel;
|
|
8
|
+
styles: SanjanaTestingStylesModel;
|
|
9
|
+
}
|
|
10
|
+
export interface ImageModel extends Image {
|
|
11
|
+
showImage: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface textModel {
|
|
14
|
+
value: string;
|
|
15
|
+
}
|
|
16
|
+
export interface SanjanaTestingContentModel {
|
|
17
|
+
inputText: InputTextModel[];
|
|
18
|
+
image: ImageModel;
|
|
19
|
+
}
|
|
20
|
+
export interface SanjanaTestingStylesModel extends StylesModel {
|
|
21
|
+
corners: Corners;
|
|
22
|
+
image: ImageStyle;
|
|
23
|
+
fullWidth: boolean;
|
|
24
|
+
invertImage: boolean;
|
|
25
|
+
positionLayout: PositionLayoutModal;
|
|
26
|
+
contentAlignment: AlignContent;
|
|
27
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Image, InputTextModel, StylesModel, ImageStyle, PositionLayoutModal } from './../../styles/style.model';
|
|
2
|
+
import { Corners, AlignContent } from '../../styles/index';
|
|
3
|
+
export interface QrCodeModal {
|
|
4
|
+
id: string;
|
|
5
|
+
sectionType: string;
|
|
6
|
+
sectionName: string;
|
|
7
|
+
content: QRContentModel;
|
|
8
|
+
styles: QrCodeStylesModel;
|
|
9
|
+
}
|
|
10
|
+
export interface ImageModel extends Image {
|
|
11
|
+
showImage: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface QrCodeStylesModel extends StylesModel {
|
|
14
|
+
corners: Corners;
|
|
15
|
+
image: ImageStyle;
|
|
16
|
+
fullWidth: boolean;
|
|
17
|
+
invertImage: boolean;
|
|
18
|
+
positionLayout: PositionLayoutModal;
|
|
19
|
+
contentAlignment: AlignContent;
|
|
20
|
+
}
|
|
21
|
+
export interface textModel {
|
|
22
|
+
value: string;
|
|
23
|
+
}
|
|
24
|
+
export interface QRContentModel {
|
|
25
|
+
inputText: InputTextModel[];
|
|
26
|
+
image: ImageModel;
|
|
27
|
+
}
|
|
28
|
+
export interface QRItem {
|
|
29
|
+
inputText: InputTextModel[];
|
|
30
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { QRContentModel, QrCodeModal, QrCodeStylesModel } from './Rajesh-model';
|
|
3
|
+
import { LayOutModel } from '../../styles/style.model';
|
|
4
|
+
import { EventsService } from './../../services/events.service';
|
|
5
|
+
import BaseSection from '../BaseSection';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class RajeshTestingComponent extends BaseSection implements OnInit {
|
|
8
|
+
private _eventService;
|
|
9
|
+
data?: QrCodeModal;
|
|
10
|
+
edit: boolean;
|
|
11
|
+
content?: QRContentModel;
|
|
12
|
+
styles?: QrCodeStylesModel;
|
|
13
|
+
delete?: boolean;
|
|
14
|
+
index?: number;
|
|
15
|
+
constructor(_eventService: EventsService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
editSection(): void;
|
|
18
|
+
get stylesLayout(): LayOutModel;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RajeshTestingComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RajeshTestingComponent, "simpo-rajesh-testing", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { EventsService } from './../../services/events.service';
|
|
3
|
+
import BaseSection from '../BaseSection';
|
|
4
|
+
import { LayOutModel } from '../../styles/style.model';
|
|
5
|
+
import { ScannerSectionModal, scannerSectionContentModel, scannerSectionStyleModel } from './scanner-section.modal';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ScannerSectionComponent extends BaseSection implements OnInit {
|
|
8
|
+
private _eventService;
|
|
9
|
+
data?: ScannerSectionModal;
|
|
10
|
+
index?: number;
|
|
11
|
+
content?: scannerSectionContentModel;
|
|
12
|
+
edit?: boolean;
|
|
13
|
+
delete?: boolean;
|
|
14
|
+
styles?: scannerSectionStyleModel;
|
|
15
|
+
deviceWidth: number;
|
|
16
|
+
constructor(_eventService: EventsService);
|
|
17
|
+
screenWidth: number;
|
|
18
|
+
getScreenSize(event?: any): void;
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
editSection(): void;
|
|
21
|
+
get stylesLayout(): LayOutModel;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScannerSectionComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScannerSectionComponent, "simpo-scanner-section", 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>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { ActionModel, Image, InputTextModel, StylesModel, ImageStyle, PositionLayoutModal } from './../../styles/style.model';
|
|
2
|
+
import { Corners, AlignContent } from '../../styles/index';
|
|
3
|
+
export interface ScannerSectionModal {
|
|
4
|
+
id: string;
|
|
5
|
+
sectionType: string;
|
|
6
|
+
sectionName: string;
|
|
7
|
+
content: scannerSectionContentModel;
|
|
8
|
+
styles: scannerSectionStyleModel;
|
|
9
|
+
action: ActionModel;
|
|
10
|
+
}
|
|
11
|
+
export interface ImageModel extends Image {
|
|
12
|
+
showImage: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface textModel {
|
|
15
|
+
value: string;
|
|
16
|
+
}
|
|
17
|
+
export interface scannerSectionContentModel {
|
|
18
|
+
inputText: InputTextModel[];
|
|
19
|
+
image: ImageModel;
|
|
20
|
+
}
|
|
21
|
+
export interface scannerSectionStyleModel extends StylesModel {
|
|
22
|
+
corners: Corners;
|
|
23
|
+
image: ImageStyle;
|
|
24
|
+
fullWidth: boolean;
|
|
25
|
+
invertImage: boolean;
|
|
26
|
+
positionLayout: PositionLayoutModal;
|
|
27
|
+
contentAlignment: AlignContent;
|
|
28
|
+
}
|
|
29
|
+
export interface BannerListItem {
|
|
30
|
+
inputText: InputTextModel[];
|
|
31
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -29,6 +29,10 @@ export * from './lib/sections/testimonial-fullwidth/testimonial-fullwidth.compon
|
|
|
29
29
|
export * from './lib/sections/logo-showcase/logo-showcase.component';
|
|
30
30
|
export * from './lib/sections/banner-carousel/banner-carousel.component';
|
|
31
31
|
export * from './lib/sections/carousel-banner/carousel-banner.component';
|
|
32
|
+
export * from './lib/sections/qrcode1/qrcode1.component';
|
|
33
|
+
export * from './lib/sections/rajesh-testing/rajesh-testing.component';
|
|
34
|
+
export * from './lib/sections/qrscanner-2/sanjana-testing.component';
|
|
35
|
+
export * from './lib/sections/scanner-section/scanner-section.component';
|
|
32
36
|
export * from './lib/ecommerce/sections/featured-products/featured-products.component';
|
|
33
37
|
export * from './lib/ecommerce/sections/featured-category/featured-category.component';
|
|
34
38
|
export * from './lib/ecommerce/sections/product-desc/product-desc.component';
|
|
Binary file
|