simpo-component-library 2.0.91 → 2.0.93

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.
@@ -0,0 +1,36 @@
1
+ import { RestService } from '../../services/rest.service';
2
+ import { Subscription } from 'rxjs';
3
+ import { MatSnackBar } from '@angular/material/snack-bar';
4
+ import { OnInit } from '@angular/core';
5
+ import { BackgroundModel, StylesModel } from '../../styles/style.model';
6
+ import { EventsService } from './../../services/events.service';
7
+ import BaseSection from '../BaseSection';
8
+ import { TextContentModel, TextSectionModel } from '../text-section/text-section.model';
9
+ import * as i0 from "@angular/core";
10
+ export declare class RegistrationFormComponent extends BaseSection implements OnInit {
11
+ private restService;
12
+ private snackBar;
13
+ private _eventService;
14
+ data?: TextSectionModel;
15
+ index?: number;
16
+ edit?: boolean;
17
+ nextComponentColor?: BackgroundModel;
18
+ content: TextContentModel | undefined;
19
+ styles: StylesModel | undefined;
20
+ constructor(restService: RestService, snackBar: MatSnackBar, _eventService: EventsService);
21
+ Object: ObjectConstructor;
22
+ payload: any;
23
+ selectedKey: any;
24
+ fieldData: any;
25
+ businessId: any;
26
+ ngOnInit(): void;
27
+ getAllFields(): void;
28
+ submitForm(): void;
29
+ registrationSubscription?: Subscription;
30
+ createRegistration(): void;
31
+ createAdmission(): void;
32
+ convertToListOfFields(): any[];
33
+ updateAdmissionImage(ev: any): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<RegistrationFormComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<RegistrationFormComponent, "simpo-registration-form", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
36
+ }
@@ -68,6 +68,10 @@ export declare class RestService implements OnDestroy {
68
68
  getAllService(businessId: any, size: any, page: any, locationId?: any): Observable<Object>;
69
69
  getAllStaffByLocation(businessId: any, size: number, page: number, locationId: string, serviceId: string): Observable<Object>;
70
70
  getAvailableSlots(data: any): Observable<Object>;
71
+ getSelectedListFields(bId: any, showInErp: any, formName: any): Observable<Object>;
72
+ createRegistration(payload: any): Observable<Object>;
73
+ createAdmission(payload: any): Observable<Object>;
74
+ getFieldsToDisplay(fieldsList: any[]): any;
71
75
  static ɵfac: i0.ɵɵFactoryDeclaration<RestService, never>;
72
76
  static ɵprov: i0.ɵɵInjectableDeclaration<RestService>;
73
77
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "simpo-component-library",
3
- "version": "2.0.91",
3
+ "version": "2.0.93",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.2.0",
6
6
  "@angular/core": "^17.2.0",
package/public-api.d.ts CHANGED
@@ -32,6 +32,7 @@ export * from './lib/sections/carousel-banner/carousel-banner.component';
32
32
  export * from './lib/sections/appointment-form/appointment-form.component';
33
33
  export * from './lib/sections/testimonial-video/testimonial-video.component';
34
34
  export * from './lib/sections/logo-gallery/logo-gallery.component';
35
+ export * from './lib/sections/registration-form/registration-form.component';
35
36
  export * from './lib/ecommerce/sections/featured-products/featured-products.component';
36
37
  export * from './lib/ecommerce/sections/featured-category/featured-category.component';
37
38
  export * from './lib/ecommerce/sections/product-desc/product-desc.component';
Binary file