@posiwise/admin-module 0.0.153 → 0.0.155

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,19 +1,23 @@
1
1
  import { AfterViewInit, Injector, OnInit, QueryList } from '@angular/core';
2
- import { FormArray, FormBuilder, UntypedFormGroup } from '@angular/forms';
2
+ import { FormArray, FormBuilder, FormGroup, UntypedFormGroup } from '@angular/forms';
3
3
  import { AdminService } from '@posiwise/admin-module-utils';
4
4
  import { AppBaseComponent } from '@posiwise/app-base-component';
5
5
  import { ProductService } from '@posiwise/common-services';
6
6
  import { CustomUploaderComponent } from '@posiwise/shared-components';
7
+ import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
7
8
  import { DomainConfig } from '../../../../shared/interface/domain-config.interface';
8
9
  import * as i0 from "@angular/core";
9
10
  export declare class DomainConfigBuildComponent extends AppBaseComponent implements OnInit, AfterViewInit {
10
11
  private readonly adminService;
11
12
  private readonly productService;
13
+ private readonly modalService;
12
14
  private readonly fb;
13
15
  uploader: QueryList<CustomUploaderComponent>;
16
+ partnerCropper: any;
14
17
  form: UntypedFormGroup;
15
18
  submitted: boolean;
16
19
  buttonBusy: boolean;
20
+ selectedPartnerIndex: number;
17
21
  id: number;
18
22
  duplicateConfigId: any;
19
23
  subscriptionId: number;
@@ -66,13 +70,39 @@ export declare class DomainConfigBuildComponent extends AppBaseComponent impleme
66
70
  childList: any[];
67
71
  isLoading: boolean;
68
72
  shardUrl: string;
69
- constructor(injector: Injector, adminService: AdminService, productService: ProductService, fb: FormBuilder);
73
+ constructor(injector: Injector, adminService: AdminService, productService: ProductService, modalService: NgbModal, fb: FormBuilder);
70
74
  ngOnInit(): void;
71
75
  addBookDemoLink(): void;
76
+ get integrations(): FormGroup;
77
+ get integrationsItems(): FormArray;
78
+ addIntegrationItem(): void;
79
+ removeIntegrationItem(index: number): void;
80
+ getQuestionOptions(questionIndex: number): FormArray;
81
+ addContactUsOption(questionIndex: number): void;
82
+ removeContactUsOption(questionIndex: number, optionIndex: number): void;
72
83
  removeBookDemoLink(index: number): void;
84
+ get ctas(): FormGroup;
85
+ get ctasItems(): FormArray;
86
+ get contactUs(): FormGroup;
87
+ get contactUsQuestions(): FormArray;
88
+ addContactUsQuestion(): void;
89
+ removeContactUsQuestion(index: number): void;
90
+ addCtasItem(): void;
91
+ removeCtasItem(index: number): void;
92
+ get testimonials(): FormGroup;
93
+ get testimonialsItems(): FormArray;
94
+ openPartnerImageCropper(index: number): void;
95
+ addPartnerItem(): void;
96
+ removePartnerItem(index: number): void;
73
97
  get uspsItems(): FormArray;
74
98
  addUspItem(): void;
75
99
  removeUspItem(index: number): void;
100
+ get videos(): FormGroup;
101
+ get videosItems(): FormArray;
102
+ addVideoItem(): void;
103
+ removeVideoItem(index: number): void;
104
+ addTestimonialItem(): void;
105
+ removeTestimonialItem(index: number): void;
76
106
  get headerSubHeadings(): FormArray;
77
107
  addHeaderSubHeading(): void;
78
108
  removeHeaderSubHeading(index: number): void;
@@ -24,6 +24,10 @@ export interface DomainConfig {
24
24
  description: string;
25
25
  title: string;
26
26
  items: Array<{
27
+ name: string;
28
+ description: string;
29
+ blog_url: string;
30
+ video_url: string;
27
31
  image_url: string;
28
32
  }>;
29
33
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@posiwise/admin-module",
3
- "version": "0.0.153",
3
+ "version": "0.0.155",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "17.3.11",
6
6
  "@angular/core": "17.3.11",