simpo-component-library 3.0.39 → 3.1.0

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.
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vdGVyLm1vZGFsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc2ltcG8tdWkvc3JjL2xpYi9zZWN0aW9ucy9mb290ZXIvZm9vdGVyLm1vZGFsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFubmVsVHlwZSwgRm9vdGVyVHlwZXMsIH0gZnJvbSBcIi4vLi4vLi4vc3R5bGVzL2luZGV4XCJcclxuaW1wb3J0IHsgQWN0aW9uTW9kZWwsIEJhY2tncm91bmRNb2RlbCwgRGV2aWRlck1vZGVsLCBJbnB1dFRleHRNb2RlbCwgTmF2YmFyQnV0dG9uLCBTcGFjaW5nTW9kZWwsTGlzdEl0ZW1Nb2RhbCwgTGF5T3V0TW9kZWwsIEJ1dHRvbiB9IGZyb20gXCIuLy4uLy4uL3N0eWxlcy9zdHlsZS5tb2RlbFwiXHJcbmltcG9ydCB7IEZPT1RFUl9JTUFHRV9TT1VSQ0UsIFNPQ0lBTF9JQ09OX1NIQVBFLCBTT0NJQUxfSUNPTl9TSVpFLCBTT0NJQUxfSUNPTl9UWVBFIH0gZnJvbSBcIi4vLi4vLi4vc3R5bGVzL3R5cGVzXCJcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgRm9vdGVyU2VjdGlvbk1vZGVse1xyXG4gICAgaWQ6c3RyaW5nLFxyXG4gICAgc2VjdGlvblR5cGU6c3RyaW5nLFxyXG4gICAgc2VjdGlvbk5hbWU6c3RyaW5nLFxyXG4gICAgY29udGVudDpGb290Z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ZTpmb290ZXJMb2dvYnJhbmRpbmdNb2RlbDtcclxuICAgIHNpemU6IG51bWJlcjtcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBmb290ZXJMb2dvYnJhbmRpbmdNb2RlbHtcclxuICAgIHNvdXJjZTpGT09URVJfSU1BR0VfU09VUkNFLFxyXG4gICAgdXJsOnN0cmluZ1xyXG59XHJcbmV4cG9ydCBpbnRlcmZhY2UgRm9vdGVyTG9nb1RleHRNb2RlbHtcclxuICAgIGlzVGV4dCA6IGJvb2xlYW4sXHJcbiAgICBpc0ljb24gOiBib29sZWFuLFxyXG4gICAgdXJsOnN0cmluZyxcclxuICAgIGZvbnRGYW1pbHk6c3RyaW5nXHJcbn1cclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgRm9vdGVyU29jaWFsTGlua01vZGVse1xyXG4gICAgZGlzcGxheTpib29sZWFuLFxyXG4gICAgY2hhbm5lbHM6Rm9vdGVyU29jaWFsQ2hhbm5lbE1vZGVsW11cclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBGb290ZXJTb2NpYWxDaGFubmVsTW9kZWx7XHJcbiAgICB0eXBlOkNoYW5uZWxUeXBlLFxyXG4gICAgdXJsOnN0cmluZyxcclxuICAgIGxpbms6c3RyaW5nXHJcbn1cclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgRm9sZGVyTW9kZWwge1xyXG4gIGxhYmVsOiBzdHJpbmc7XHJcbiAgbGlua3M6IEJ1dHRvbltdO1xyXG59XHJcbiJdfQ==
@@ -1,22 +0,0 @@
1
- import { AfterViewInit, ElementRef, OnDestroy, Renderer2 } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class ContenteditableValueAccessor implements ControlValueAccessor, AfterViewInit, OnDestroy {
5
- private readonly elementRef;
6
- private readonly renderer;
7
- private onTouched;
8
- contenteditable: boolean;
9
- private onChange;
10
- private observer?;
11
- constructor(elementRef: ElementRef<Element>, renderer: Renderer2);
12
- ngAfterViewInit(): void;
13
- ngOnDestroy(): void;
14
- onInput(): void;
15
- onBlur(): void;
16
- writeValue(value: string): void;
17
- registerOnChange(onChange: (value: string) => void): void;
18
- registerOnTouched(onTouched: () => void): void;
19
- setDisabledState(disabled: boolean): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<ContenteditableValueAccessor, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<ContenteditableValueAccessor, "[contenteditable][ngModel]", never, { "contenteditable": { "alias": "contenteditable"; "required": false; }; }, {}, never, never, true, never>;
22
- }
@@ -1,28 +0,0 @@
1
- import { ElementRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TextEditorComponent {
4
- toolbar: ElementRef;
5
- editor: ElementRef;
6
- colorPicker: ElementRef;
7
- value: string;
8
- editable: boolean;
9
- show: boolean;
10
- toolbarX: number;
11
- toolbarY: number;
12
- toolbarData: any;
13
- constructor();
14
- ngOnInit(): void;
15
- ngOnDestroy(): void;
16
- showToolbar(event: MouseEvent): void;
17
- hideToolbar(event: MouseEvent): void;
18
- formatText(command: string, value?: string): void;
19
- changeFontSize(event: any): void;
20
- changeColor(event: any): void;
21
- updateText(event: Event): void;
22
- onFormatChange(event: Event): void;
23
- openColorPicker(): void;
24
- readFormattingProperties(): void;
25
- reFormattingData(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<TextEditorComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<TextEditorComponent, "simpo-text-editor", never, { "value": { "alias": "value"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; }, {}, never, never, true, never>;
28
- }
@@ -1,21 +0,0 @@
1
- import { FooterContentModel, FooterSectionModel, FooterStylesModel } from './footer.modal';
2
- import { LayOutModel } from '../../styles/style.model';
3
- import * as i0 from "@angular/core";
4
- export declare class FooterComponent {
5
- data?: FooterSectionModel;
6
- index?: number;
7
- edit?: boolean;
8
- delete?: boolean | undefined;
9
- content?: FooterContentModel;
10
- style?: FooterStylesModel;
11
- footerType: string;
12
- screenWidth: number;
13
- constructor();
14
- ngOnInit(): Promise<void>;
15
- getScreenSize(event?: number): void;
16
- get stylesLayout(): LayOutModel;
17
- pageLink: string;
18
- pages: string[];
19
- static ɵfac: i0.ɵɵFactoryDeclaration<FooterComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<FooterComponent, "simpo-footer", 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
- }
@@ -1,60 +0,0 @@
1
- import { ChannelType, FooterTypes } from "./../../styles/index";
2
- import { ActionModel, BackgroundModel, InputTextModel, LayOutModel, Button } from "./../../styles/style.model";
3
- import { FOOTER_IMAGE_SOURCE, SOCIAL_ICON_SHAPE, SOCIAL_ICON_SIZE, SOCIAL_ICON_TYPE } from "./../../styles/types";
4
- export interface FooterSectionModel {
5
- id: string;
6
- sectionType: string;
7
- sectionName: string;
8
- content: FooterContentModel;
9
- styles: FooterStylesModel;
10
- action: ActionModel;
11
- }
12
- export interface FooterStylesModel {
13
- layout: LayOutModel;
14
- background: BackgroundModel;
15
- footerType: FooterTypes;
16
- socialIcon: FooterSocialIconSizeModel;
17
- }
18
- export interface FooterSocialIconSizeModel {
19
- size: SOCIAL_ICON_SIZE;
20
- shape: SOCIAL_ICON_SHAPE;
21
- type: SOCIAL_ICON_TYPE;
22
- }
23
- export interface FooterContentModel {
24
- siteNameAndLogo: string;
25
- siteName: InputTextModel;
26
- additionalDetails: InputTextModel;
27
- logo: FooterLogoModel;
28
- socialLinks: FooterSocialLinkModel;
29
- displayBranding: boolean;
30
- folder: FolderModel[];
31
- }
32
- export interface FooterLogoModel {
33
- isImage: boolean;
34
- text: FooterLogoTextModel;
35
- image: footerLogobrandingModel;
36
- size: number;
37
- }
38
- export interface footerLogobrandingModel {
39
- source: FOOTER_IMAGE_SOURCE;
40
- url: string;
41
- }
42
- export interface FooterLogoTextModel {
43
- isText: boolean;
44
- isIcon: boolean;
45
- url: string;
46
- fontFamily: string;
47
- }
48
- export interface FooterSocialLinkModel {
49
- display: boolean;
50
- channels: FooterSocialChannelModel[];
51
- }
52
- export interface FooterSocialChannelModel {
53
- type: ChannelType;
54
- url: string;
55
- link: string;
56
- }
57
- export interface FolderModel {
58
- label: string;
59
- links: Button[];
60
- }
Binary file