@posiwise/admin-module 0.0.153 → 0.0.154
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/components/domain-config/domain-config-details/domain-config-build/domain-config-build.component.mjs +234 -20
- package/esm2022/lib/components/resources/resources-admin-details/resources-admin-details.component.mjs +2 -1
- package/esm2022/lib/shared/interface/domain-config.interface.mjs +1 -1
- package/fesm2022/posiwise-admin-module.mjs +249 -35
- package/fesm2022/posiwise-admin-module.mjs.map +1 -1
- package/lib/components/domain-config/domain-config-details/domain-config-build/domain-config-build.component.d.ts +32 -2
- package/lib/shared/interface/domain-config.interface.d.ts +4 -0
- package/package.json +1 -1
|
@@ -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;
|