simpo-component-library 3.6.490 → 3.6.496
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 +36 -31
- package/esm2022/lib/directive/letters-only.directive.mjs +28 -0
- package/esm2022/lib/directive/numbers-only.directive.mjs +28 -0
- package/esm2022/lib/ecommerce/sections/featured-category/featured-category.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/featured-category/featured-collection.component.mjs +4 -4
- package/esm2022/lib/ecommerce/sections/featured-products/featured-products.component.mjs +9 -9
- package/esm2022/lib/ecommerce/sections/new-collection/new-collection.component.mjs +4 -4
- package/esm2022/lib/elements/media-selector/media-selector.component.mjs +3 -3
- package/esm2022/lib/elements/text-editor/text-editor.component.mjs +165 -38
- package/esm2022/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.mjs +33 -6
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +3 -3
- package/esm2022/lib/sections/logo-gallery/logo-gallery.component.mjs +3 -3
- package/esm2022/lib/sections/new-services/new-services.component.mjs +18 -5
- package/esm2022/lib/sections/new-testimonials/new-testimonials.component.mjs +3 -3
- package/esm2022/lib/sections/testimonial-fullwidth/testimonial-fullwidth.component.mjs +3 -3
- package/esm2022/lib/services/rest.service.mjs +3 -2
- package/fesm2022/simpo-component-library.mjs +324 -103
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -0
- package/lib/directive/letters-only.directive.d.ts +9 -0
- package/lib/directive/numbers-only.directive.d.ts +9 -0
- package/lib/elements/text-editor/text-editor.component.d.ts +10 -0
- package/lib/sections/appointment-form/appointment-booking/appointment-booking/appointment-booking.component.d.ts +13 -2
- package/lib/sections/new-services/new-services.component.d.ts +2 -0
- package/package.json +1 -1
- package/simpo-component-library-3.6.496.tgz +0 -0
- package/src/lib/styles/global-styles.css +0 -30
- package/simpo-component-library-3.6.486.tgz +0 -0
- package/simpo-component-library-3.6.487.tgz +0 -0
- package/simpo-component-library-3.6.488.tgz +0 -0
- package/simpo-component-library-3.6.489.tgz +0 -0
- package/simpo-component-library-3.6.490.tgz +0 -0
@@ -8,6 +8,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
8
8
|
simpoBackground?: BackgroundModel;
|
9
9
|
scrollValue?: number;
|
10
10
|
eventEmmitter: any;
|
11
|
+
videoElementId: string;
|
11
12
|
constructor(el: ElementRef, eventService: EventsService);
|
12
13
|
ngOnDestroy(): void;
|
13
14
|
ngOnChanges(change: SimpleChanges): void;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class LettersOnlyDirective {
|
4
|
+
private el;
|
5
|
+
constructor(el: ElementRef);
|
6
|
+
onInputChange(event: Event): void;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LettersOnlyDirective, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LettersOnlyDirective, "[simpoLettersOnly]", never, {}, {}, never, never, true, never>;
|
9
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class NumbersOnlyDirective {
|
4
|
+
private el;
|
5
|
+
constructor(el: ElementRef);
|
6
|
+
onInputChange(event: Event): void;
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumbersOnlyDirective, never>;
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumbersOnlyDirective, "[simpoNumbersOnly]", never, {}, {}, never, never, true, never>;
|
9
|
+
}
|
@@ -10,6 +10,7 @@ export declare class TextEditorComponent {
|
|
10
10
|
colorPicker: ElementRef;
|
11
11
|
parentElement: ElementRef;
|
12
12
|
suggestion: ElementRef;
|
13
|
+
private lastGradientSpan;
|
13
14
|
value: string;
|
14
15
|
valueChange: EventEmitter<string>;
|
15
16
|
editable: boolean;
|
@@ -27,9 +28,18 @@ export declare class TextEditorComponent {
|
|
27
28
|
constructor(editorService: ElementServiceService, platformId: Object, ngZone: NgZone);
|
28
29
|
ngOnInit(): void;
|
29
30
|
ngOnDestroy(): void;
|
31
|
+
private selectRange;
|
32
|
+
private markSelection;
|
33
|
+
private restoreSelectionFromMarkers;
|
30
34
|
showToolbar(event: MouseEvent): void;
|
35
|
+
rememberSelection(e: MouseEvent): void;
|
36
|
+
private getActiveRange;
|
37
|
+
setColorMode(mode: 'SOLID' | 'GRADIENT'): void;
|
38
|
+
private wrapRangeWithGradient;
|
39
|
+
private unwrapGradientInRange;
|
31
40
|
hideToolbar(event: MouseEvent): void;
|
32
41
|
formatText(command: string, value?: string): void;
|
42
|
+
updateFSforOL(): void;
|
33
43
|
private setStyleWithCSS;
|
34
44
|
private toLegacyFontStep;
|
35
45
|
private normalizeFontSizeToCss;
|
@@ -1,12 +1,22 @@
|
|
1
1
|
import { RestService } from '../../../../services/rest.service';
|
2
2
|
import { EventsService } from '../../../../services/events.service';
|
3
3
|
import { Router } from '@angular/router';
|
4
|
+
import { BannerContentModel, BannerSectionModel } from '../../appointment-form.model';
|
5
|
+
import { BackgroundModel, BannerStylesModel } from '../../../../styles/style.model';
|
4
6
|
import * as i0 from "@angular/core";
|
5
7
|
export declare class AppointmentBookingComponent {
|
6
8
|
private restService;
|
7
9
|
private _eventService;
|
8
10
|
private readonly router;
|
9
11
|
constructor(restService: RestService, _eventService: EventsService, router: Router);
|
12
|
+
data?: BannerSectionModel;
|
13
|
+
index?: number;
|
14
|
+
content?: BannerContentModel;
|
15
|
+
edit?: boolean;
|
16
|
+
delete?: boolean;
|
17
|
+
customClass?: string;
|
18
|
+
nextComponentColor?: BackgroundModel;
|
19
|
+
styles?: BannerStylesModel;
|
10
20
|
ngOnInit(): void;
|
11
21
|
closeOnOutsideClick(): void;
|
12
22
|
accessedTabs: {
|
@@ -32,8 +42,9 @@ export declare class AppointmentBookingComponent {
|
|
32
42
|
email: string;
|
33
43
|
mobileNumber: string;
|
34
44
|
};
|
45
|
+
dateFilter: (d: Date | null) => boolean;
|
35
46
|
toggleCalendar(event?: Event): void;
|
36
|
-
onDateSelected(date:
|
47
|
+
onDateSelected(date: any): void;
|
37
48
|
private formatDate;
|
38
49
|
selectService(service: any): void;
|
39
50
|
selectLocation(location: any): void;
|
@@ -63,5 +74,5 @@ export declare class AppointmentBookingComponent {
|
|
63
74
|
paymentBookingAppointment(): void;
|
64
75
|
goBack(): void;
|
65
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppointmentBookingComponent, never>;
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentBookingComponent, "simpo-appointment-booking", never, {}, {}, never, never, true, never>;
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppointmentBookingComponent, "simpo-appointment-booking", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
67
78
|
}
|
@@ -25,6 +25,8 @@ export declare class NewServicesComponent extends BaseSection {
|
|
25
25
|
screenWidth: any;
|
26
26
|
getScreenSize(): void;
|
27
27
|
getGradientDirection(direction: any): any;
|
28
|
+
onResize(event: UIEvent): void;
|
29
|
+
private updateScreenWidth;
|
28
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<NewServicesComponent, never>;
|
29
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<NewServicesComponent, "simpo-new-services", never, { "data": { "alias": "data"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
30
32
|
}
|
package/package.json
CHANGED
Binary file
|
@@ -277,34 +277,4 @@
|
|
277
277
|
-webkit-box-orient: vertical;
|
278
278
|
text-overflow: ellipsis !important;
|
279
279
|
/* word-break: break-all; */
|
280
|
-
}
|
281
|
-
|
282
|
-
.name-mobile {
|
283
|
-
.mat-mdc-form-field-infix {
|
284
|
-
input {
|
285
|
-
font-family: var(--website-font-family) !important;
|
286
|
-
}
|
287
|
-
}
|
288
|
-
|
289
|
-
.mat-mdc-select-min-line {
|
290
|
-
font-family: var(--website-font-family) !important;
|
291
|
-
}
|
292
|
-
|
293
|
-
.mat-mdc-select-placeholder {
|
294
|
-
font-family: var(--website-font-family) !important;
|
295
|
-
}
|
296
|
-
}
|
297
|
-
|
298
|
-
.mat-mdc-option {
|
299
|
-
.mdc-list-item__primary-text {
|
300
|
-
font-family: var(--website-font-family) !important;
|
301
|
-
}
|
302
|
-
}
|
303
|
-
|
304
|
-
.full-message-section {
|
305
|
-
.mat-mdc-form-field-infix {
|
306
|
-
input {
|
307
|
-
font-family: var(--website-font-family) !important;
|
308
|
-
}
|
309
|
-
}
|
310
280
|
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|