@piserve-tech/form-submission 0.0.0-watch

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.
Files changed (130) hide show
  1. package/README.md +24 -0
  2. package/element-type/element-type.module.d.ts +12 -0
  3. package/element-type/form-elements/form-elements.component.d.ts +7 -0
  4. package/element-type/question/question.component.d.ts +14 -0
  5. package/element-type/sub-form/sub-form.component.d.ts +6 -0
  6. package/esm2022/element-type/element-type.module.mjs +36 -0
  7. package/esm2022/element-type/form-elements/form-elements.component.mjs +23 -0
  8. package/esm2022/element-type/question/question.component.mjs +52 -0
  9. package/esm2022/element-type/sub-form/sub-form.component.mjs +17 -0
  10. package/esm2022/form-fields/check-box-fields/check-box-fields.component.mjs +198 -0
  11. package/esm2022/form-fields/date-time-fields/date-time-fields.component.mjs +155 -0
  12. package/esm2022/form-fields/drop-down-fields/drop-down-fields.component.mjs +147 -0
  13. package/esm2022/form-fields/file-picker-fields/file-picker-fields.component.mjs +77 -0
  14. package/esm2022/form-fields/form-fields.module.mjs +154 -0
  15. package/esm2022/form-fields/location-fields/location-fields.component.mjs +79 -0
  16. package/esm2022/form-fields/mail-fields/mail-fields.component.mjs +75 -0
  17. package/esm2022/form-fields/mobile-fields/mobile-fields.component.mjs +81 -0
  18. package/esm2022/form-fields/number-fields/number-fields.component.mjs +59 -0
  19. package/esm2022/form-fields/password-fields/password-fields.component.mjs +172 -0
  20. package/esm2022/form-fields/radio-button-fields/radio-button-fields.component.mjs +129 -0
  21. package/esm2022/form-fields/rich-text-editor-fields/rich-text-editor-fields.component.mjs +89 -0
  22. package/esm2022/form-fields/section-fields/section-fields.component.mjs +16 -0
  23. package/esm2022/form-fields/selection-matrix-fields/selection-matrix-fields.component.mjs +27 -0
  24. package/esm2022/form-fields/signature-fields/signature-fields.component.mjs +29 -0
  25. package/esm2022/form-fields/slider-fields/slider-fields.component.mjs +60 -0
  26. package/esm2022/form-fields/terms-and-condition-fields/terms-and-condition-fields.component.mjs +27 -0
  27. package/esm2022/form-fields/text-area-fields/text-area-fields.component.mjs +61 -0
  28. package/esm2022/form-fields/text-fields/text-fields.component.mjs +86 -0
  29. package/esm2022/form-fields/toggle-switch-fields/toggle-switch-fields.component.mjs +42 -0
  30. package/esm2022/form-fields/url-fields/url-fields.component.mjs +59 -0
  31. package/esm2022/form-submission/form-submission.module.mjs +42 -0
  32. package/esm2022/form-submission/header/header.component.mjs +16 -0
  33. package/esm2022/form-submission/logic/logic.component.mjs +17 -0
  34. package/esm2022/form-submission/navigation-tabs/navigation-tabs.component.mjs +27 -0
  35. package/esm2022/form-submission/next-prev-navigation/next-prev-navigation.component.mjs +42 -0
  36. package/esm2022/form-submission/submit-form/submit-form.component.mjs +157 -0
  37. package/esm2022/lib/form-submission.component.mjs +23 -0
  38. package/esm2022/lib/form-submission.module.mjs +45 -0
  39. package/esm2022/lib/form-submission.service.mjs +14 -0
  40. package/esm2022/logic/logic/logic.component.mjs +17 -0
  41. package/esm2022/logic/logic.module.mjs +20 -0
  42. package/esm2022/models/appearance.model.mjs +2 -0
  43. package/esm2022/models/elementOptionAPI.model.mjs +2 -0
  44. package/esm2022/models/elementOptionAPIData.model.mjs +2 -0
  45. package/esm2022/models/elementOptionDB.model.mjs +2 -0
  46. package/esm2022/models/elementOptionDBCriteria.model.mjs +2 -0
  47. package/esm2022/models/enum/condition.enum.mjs +18 -0
  48. package/esm2022/models/enum/elementType .enum.mjs +24 -0
  49. package/esm2022/models/enum/entityType.enum.mjs +12 -0
  50. package/esm2022/models/formConfiguration.model.mjs +2 -0
  51. package/esm2022/models/formElement.model.mjs +2 -0
  52. package/esm2022/models/formElementType.model.mjs +2 -0
  53. package/esm2022/models/grid.model.mjs +2 -0
  54. package/esm2022/models/logic.model.mjs +2 -0
  55. package/esm2022/models/option.model.mjs +2 -0
  56. package/esm2022/models/page.model.mjs +2 -0
  57. package/esm2022/models/publicForm.model.mjs +2 -0
  58. package/esm2022/models/question.model.mjs +2 -0
  59. package/esm2022/models/row.model.mjs +2 -0
  60. package/esm2022/models/section.model.mjs +2 -0
  61. package/esm2022/models/subForm.model.mjs +2 -0
  62. package/esm2022/models/validation.model.mjs +2 -0
  63. package/esm2022/piserve-tech-form-submission.mjs +5 -0
  64. package/esm2022/public-api.mjs +7 -0
  65. package/esm2022/services/countryService.mjs +65 -0
  66. package/esm2022/services/data.service.mjs +26 -0
  67. package/esm2022/services/form.service.mjs +43 -0
  68. package/esm2022/services/mapper.service.mjs +256 -0
  69. package/fesm2022/piserve-tech-form-submission.mjs +2558 -0
  70. package/fesm2022/piserve-tech-form-submission.mjs.map +1 -0
  71. package/form-fields/check-box-fields/check-box-fields.component.d.ts +42 -0
  72. package/form-fields/date-time-fields/date-time-fields.component.d.ts +41 -0
  73. package/form-fields/drop-down-fields/drop-down-fields.component.d.ts +45 -0
  74. package/form-fields/file-picker-fields/file-picker-fields.component.d.ts +24 -0
  75. package/form-fields/form-fields.module.d.ts +36 -0
  76. package/form-fields/location-fields/location-fields.component.d.ts +24 -0
  77. package/form-fields/mail-fields/mail-fields.component.d.ts +21 -0
  78. package/form-fields/mobile-fields/mobile-fields.component.d.ts +45 -0
  79. package/form-fields/number-fields/number-fields.component.d.ts +22 -0
  80. package/form-fields/password-fields/password-fields.component.d.ts +35 -0
  81. package/form-fields/radio-button-fields/radio-button-fields.component.d.ts +39 -0
  82. package/form-fields/rich-text-editor-fields/rich-text-editor-fields.component.d.ts +24 -0
  83. package/form-fields/section-fields/section-fields.component.d.ts +6 -0
  84. package/form-fields/selection-matrix-fields/selection-matrix-fields.component.d.ts +10 -0
  85. package/form-fields/signature-fields/signature-fields.component.d.ts +12 -0
  86. package/form-fields/slider-fields/slider-fields.component.d.ts +25 -0
  87. package/form-fields/terms-and-condition-fields/terms-and-condition-fields.component.d.ts +10 -0
  88. package/form-fields/text-area-fields/text-area-fields.component.d.ts +22 -0
  89. package/form-fields/text-fields/text-fields.component.d.ts +30 -0
  90. package/form-fields/toggle-switch-fields/toggle-switch-fields.component.d.ts +16 -0
  91. package/form-fields/url-fields/url-fields.component.d.ts +22 -0
  92. package/form-submission/form-submission.module.d.ts +14 -0
  93. package/form-submission/header/header.component.d.ts +6 -0
  94. package/form-submission/logic/logic.component.d.ts +6 -0
  95. package/form-submission/navigation-tabs/navigation-tabs.component.d.ts +10 -0
  96. package/form-submission/next-prev-navigation/next-prev-navigation.component.d.ts +15 -0
  97. package/form-submission/submit-form/submit-form.component.d.ts +43 -0
  98. package/index.d.ts +5 -0
  99. package/lib/form-submission.component.d.ts +10 -0
  100. package/lib/form-submission.module.d.ts +14 -0
  101. package/lib/form-submission.service.d.ts +6 -0
  102. package/logic/logic/logic.component.d.ts +6 -0
  103. package/logic/logic.module.d.ts +8 -0
  104. package/models/appearance.model.d.ts +48 -0
  105. package/models/elementOptionAPI.model.d.ts +11 -0
  106. package/models/elementOptionAPIData.model.d.ts +5 -0
  107. package/models/elementOptionDB.model.d.ts +7 -0
  108. package/models/elementOptionDBCriteria.model.d.ts +7 -0
  109. package/models/enum/condition.enum.d.ts +16 -0
  110. package/models/enum/elementType .enum.d.ts +22 -0
  111. package/models/enum/entityType.enum.d.ts +10 -0
  112. package/models/formConfiguration.model.d.ts +16 -0
  113. package/models/formElement.model.d.ts +12 -0
  114. package/models/formElementType.model.d.ts +5 -0
  115. package/models/grid.model.d.ts +8 -0
  116. package/models/logic.model.d.ts +8 -0
  117. package/models/option.model.d.ts +11 -0
  118. package/models/page.model.d.ts +5 -0
  119. package/models/publicForm.model.d.ts +7 -0
  120. package/models/question.model.d.ts +14 -0
  121. package/models/row.model.d.ts +4 -0
  122. package/models/section.model.d.ts +5 -0
  123. package/models/subForm.model.d.ts +8 -0
  124. package/models/validation.model.d.ts +44 -0
  125. package/package.json +43 -0
  126. package/public-api.d.ts +3 -0
  127. package/services/countryService.d.ts +21 -0
  128. package/services/data.service.d.ts +13 -0
  129. package/services/form.service.d.ts +17 -0
  130. package/services/mapper.service.d.ts +10 -0
@@ -0,0 +1,42 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormService } from '../../services/form.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CheckBoxFieldsComponent {
5
+ private formService;
6
+ question: any;
7
+ count: number;
8
+ required: boolean;
9
+ hint: string;
10
+ selectionType: string;
11
+ minimumSelection?: number;
12
+ maximumSelection?: number;
13
+ optionType: string;
14
+ lookupTable: any;
15
+ customOptions: any[];
16
+ database: any;
17
+ api: any;
18
+ apiOptions: any[];
19
+ selectedOptions: any[];
20
+ validationFailed: boolean;
21
+ validationMessage: string;
22
+ validate: EventEmitter<boolean>;
23
+ constructor(formService: FormService);
24
+ ngOnInit(): void;
25
+ valueAssigned(): void;
26
+ onCheckboxChange(option: any, event: any): void;
27
+ fetchDataFromLookup(): void;
28
+ fetchDataFromDatabase(): void;
29
+ transformDatabaseObject(database: any): {
30
+ tableName: any;
31
+ valueField: any;
32
+ labelField: any;
33
+ criteria: any;
34
+ };
35
+ fetchDataFromAPI(): void;
36
+ extractDataByPath(data: any, path: string): any;
37
+ isMinimumSelectionValid(): void;
38
+ getOptions(): any[];
39
+ isOptionDisabled(option: any): boolean;
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxFieldsComponent, never>;
41
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckBoxFieldsComponent, "lib-check-box-fields", never, { "question": { "alias": "question"; "required": false; }; }, { "validate": "validate"; }, never, never, false, never>;
42
+ }
@@ -0,0 +1,41 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { BsDatepickerConfig, BsDatepickerDirective } from 'ngx-bootstrap/datepicker';
3
+ import * as i0 from "@angular/core";
4
+ export declare class DateTimeFieldsComponent {
5
+ bsConfig: Partial<BsDatepickerConfig>;
6
+ question: any;
7
+ required: boolean;
8
+ hint: string;
9
+ count: number;
10
+ dateType: string;
11
+ format: string;
12
+ minDateOption: string;
13
+ minDate: Date | undefined;
14
+ maxDateOption: string;
15
+ maxDate: Date | undefined;
16
+ todayDate: Date;
17
+ selectedDate: string;
18
+ selectedTime: string;
19
+ selectedDateRange: string;
20
+ selectedDateAndTime: string;
21
+ validationFailed: boolean;
22
+ validationMessage: string;
23
+ datepicker: BsDatepickerDirective;
24
+ dateRangePicker: BsDatepickerDirective;
25
+ dateAndTimePicker: BsDatepickerDirective;
26
+ validate: EventEmitter<boolean>;
27
+ ngOnInit(): void;
28
+ valueAssigned(): void;
29
+ getMinDate(): Date | undefined;
30
+ getMaxDate(): Date | undefined;
31
+ openDatePicker(): void;
32
+ openDateRangePicker(): void;
33
+ openDateAndTimePicker(): void;
34
+ validateField(): void;
35
+ validateDateOnly(): void;
36
+ validateTimeOnly(): void;
37
+ validateDateRange(): void;
38
+ validateDateAndTime(): void;
39
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateTimeFieldsComponent, never>;
40
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateTimeFieldsComponent, "lib-date-time-fields", never, { "question": { "alias": "question"; "required": false; }; }, { "validate": "validate"; }, never, never, false, never>;
41
+ }
@@ -0,0 +1,45 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormService } from '../../services/form.service';
3
+ import * as i0 from "@angular/core";
4
+ interface DropDownData {
5
+ value: string;
6
+ label: string;
7
+ image: string;
8
+ }
9
+ export declare class DropDownFieldsComponent {
10
+ private formService;
11
+ question: any;
12
+ count: number;
13
+ required: boolean;
14
+ hint: string;
15
+ selectionType: string;
16
+ minimumSelection: number;
17
+ maximumSelection: number;
18
+ optionType: string;
19
+ lookupTable: string;
20
+ customOptions: DropDownData[];
21
+ database: any;
22
+ api: any;
23
+ selectedValue: any[];
24
+ validationFailed: boolean;
25
+ validationMessage: string;
26
+ validate: EventEmitter<boolean>;
27
+ constructor(formService: FormService);
28
+ ngOnInit(): void;
29
+ onValueChange(newValue: any): void;
30
+ valueAssigned(): void;
31
+ transformDatabaseObject(database: any): {
32
+ tableName: any;
33
+ valueField: any;
34
+ labelField: any;
35
+ criteria: any;
36
+ };
37
+ fetchDataFromDatabase(): void;
38
+ fetchDataFromLookup(): void;
39
+ fetchDataFromAPI(): void;
40
+ extractDataByPath(data: any, path: string): any;
41
+ selectItems(): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropDownFieldsComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropDownFieldsComponent, "lib-drop-down-fields", never, { "question": { "alias": "question"; "required": false; }; }, { "validate": "validate"; }, never, never, false, never>;
44
+ }
45
+ export {};
@@ -0,0 +1,24 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class FilePickerFieldsComponent {
3
+ question: any;
4
+ count: number;
5
+ required: boolean;
6
+ hint: string;
7
+ multiFileUploads: boolean;
8
+ fileTypes: string[];
9
+ fileSize: number;
10
+ fileSizeUnit: string;
11
+ totalFileSize: number;
12
+ dragAndDrop: boolean;
13
+ previewUploadedFiles: boolean;
14
+ validationFailed: boolean;
15
+ validationMessage: string;
16
+ handleFileTypeNotAllowed(fileType: string): void;
17
+ handleFileSize(fileType: string): void;
18
+ handleFinalArray(fileType: any[]): void;
19
+ ngOnInit(): void;
20
+ valueAssigned(): void;
21
+ convertToBytes(size: number, unit: string): number;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<FilePickerFieldsComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<FilePickerFieldsComponent, "lib-file-picker-fields", never, { "question": { "alias": "question"; "required": false; }; }, {}, never, never, false, never>;
24
+ }
@@ -0,0 +1,36 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./check-box-fields/check-box-fields.component";
3
+ import * as i2 from "./date-time-fields/date-time-fields.component";
4
+ import * as i3 from "./drop-down-fields/drop-down-fields.component";
5
+ import * as i4 from "./file-picker-fields/file-picker-fields.component";
6
+ import * as i5 from "./location-fields/location-fields.component";
7
+ import * as i6 from "./radio-button-fields/radio-button-fields.component";
8
+ import * as i7 from "./rich-text-editor-fields/rich-text-editor-fields.component";
9
+ import * as i8 from "./selection-matrix-fields/selection-matrix-fields.component";
10
+ import * as i9 from "./signature-fields/signature-fields.component";
11
+ import * as i10 from "./slider-fields/slider-fields.component";
12
+ import * as i11 from "./terms-and-condition-fields/terms-and-condition-fields.component";
13
+ import * as i12 from "./text-area-fields/text-area-fields.component";
14
+ import * as i13 from "./text-fields/text-fields.component";
15
+ import * as i14 from "./toggle-switch-fields/toggle-switch-fields.component";
16
+ import * as i15 from "./url-fields/url-fields.component";
17
+ import * as i16 from "./mail-fields/mail-fields.component";
18
+ import * as i17 from "./mobile-fields/mobile-fields.component";
19
+ import * as i18 from "./number-fields/number-fields.component";
20
+ import * as i19 from "./password-fields/password-fields.component";
21
+ import * as i20 from "./section-fields/section-fields.component";
22
+ import * as i21 from "@angular/common";
23
+ import * as i22 from "@angular/forms";
24
+ import * as i23 from "@angular/material/slider";
25
+ import * as i24 from "ngx-bootstrap/datepicker";
26
+ import * as i25 from "@piserve-tech/drop-down";
27
+ import * as i26 from "@kolkov/angular-editor";
28
+ import * as i27 from "@piserve-tech/file-upload";
29
+ import * as i28 from "@angular/platform-browser";
30
+ import * as i29 from "@angular/google-maps";
31
+ import * as i30 from "@piserve-tech/file-preview";
32
+ export declare class FormFieldsModule {
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldsModule, never>;
34
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormFieldsModule, [typeof i1.CheckBoxFieldsComponent, typeof i2.DateTimeFieldsComponent, typeof i3.DropDownFieldsComponent, typeof i4.FilePickerFieldsComponent, typeof i5.LocationFieldsComponent, typeof i6.RadioButtonFieldsComponent, typeof i7.RichTextEditorFieldsComponent, typeof i8.SelectionMatrixFieldsComponent, typeof i9.SignatureFieldsComponent, typeof i10.SliderFieldsComponent, typeof i11.TermsAndConditionFieldsComponent, typeof i12.TextAreaFieldsComponent, typeof i13.TextFieldsComponent, typeof i14.ToggleSwitchFieldsComponent, typeof i15.UrlFieldsComponent, typeof i16.MailFieldsComponent, typeof i17.MobileFieldsComponent, typeof i18.NumberFieldsComponent, typeof i19.PasswordFieldsComponent, typeof i20.SectionFieldsComponent], [typeof i21.CommonModule, typeof i22.FormsModule, typeof i23.MatSliderModule, typeof i24.BsDatepickerModule, typeof i25.DropdownModule, typeof i26.AngularEditorModule, typeof i27.DocUploadModule, typeof i28.BrowserModule, typeof i29.GoogleMapsModule, typeof i30.FilePreviewModule], [typeof i1.CheckBoxFieldsComponent, typeof i2.DateTimeFieldsComponent, typeof i3.DropDownFieldsComponent, typeof i4.FilePickerFieldsComponent, typeof i5.LocationFieldsComponent, typeof i16.MailFieldsComponent, typeof i17.MobileFieldsComponent, typeof i18.NumberFieldsComponent, typeof i19.PasswordFieldsComponent, typeof i6.RadioButtonFieldsComponent, typeof i7.RichTextEditorFieldsComponent, typeof i8.SelectionMatrixFieldsComponent, typeof i9.SignatureFieldsComponent, typeof i10.SliderFieldsComponent, typeof i11.TermsAndConditionFieldsComponent, typeof i12.TextAreaFieldsComponent, typeof i13.TextFieldsComponent, typeof i14.ToggleSwitchFieldsComponent, typeof i15.UrlFieldsComponent, typeof i20.SectionFieldsComponent]>;
35
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormFieldsModule>;
36
+ }
@@ -0,0 +1,24 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { GoogleMap } from '@angular/google-maps';
3
+ import * as i0 from "@angular/core";
4
+ export declare class LocationFieldsComponent {
5
+ question: any;
6
+ searchField: ElementRef;
7
+ map: GoogleMap;
8
+ count: number;
9
+ required: boolean;
10
+ hint: string;
11
+ defaultZoomLevel: number;
12
+ setCurrentPosition: boolean;
13
+ allowFullScreen: boolean;
14
+ latitude: number;
15
+ longitude: number;
16
+ regionBoundary: boolean;
17
+ region: string;
18
+ showGoogleMap: boolean;
19
+ mapConfigurations: any;
20
+ ngOnInit(): void;
21
+ ngAfterViewInit(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<LocationFieldsComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<LocationFieldsComponent, "lib-location-fields", never, { "question": { "alias": "question"; "required": false; }; }, {}, never, never, false, never>;
24
+ }
@@ -0,0 +1,21 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class MailFieldsComponent {
4
+ question: any;
5
+ count: number;
6
+ required: boolean;
7
+ hint: string;
8
+ placeholder: string;
9
+ expectedDomains: string[];
10
+ regularExpression: string;
11
+ email: string;
12
+ validationFailed: boolean;
13
+ validationMessage: string;
14
+ validate: EventEmitter<boolean>;
15
+ ngOnInit(): void;
16
+ valueAssigned(): void;
17
+ validateEmail(): void;
18
+ validateInput(event: any): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<MailFieldsComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<MailFieldsComponent, "lib-mail-fields", never, { "question": { "alias": "question"; "required": false; }; }, { "validate": "validate"; }, never, never, false, never>;
21
+ }
@@ -0,0 +1,45 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { CountryService } from '../../services/countryService';
3
+ import * as i0 from "@angular/core";
4
+ interface CountryData {
5
+ value: string;
6
+ label: string;
7
+ image: string;
8
+ }
9
+ interface filteredCountry {
10
+ name: string;
11
+ flag: string;
12
+ isd: {};
13
+ languages: {};
14
+ }
15
+ export declare class MobileFieldsComponent implements OnInit {
16
+ private countryService;
17
+ question: any;
18
+ count: number;
19
+ required: boolean;
20
+ hint: string;
21
+ placeholder: string;
22
+ displayCountryCode: boolean;
23
+ displayFlag: boolean;
24
+ displayCode: boolean;
25
+ showCountryName: boolean;
26
+ beautifyNumbers: boolean;
27
+ countryWiseValidation: boolean;
28
+ restrictCountry: boolean;
29
+ allowedCountry: string[];
30
+ blockedCountry: string[];
31
+ countryDetails: CountryData[];
32
+ selectedCountry: CountryData[];
33
+ validationFailed: boolean;
34
+ validationMessage: string;
35
+ mobileNumber: string;
36
+ filteredCountry: filteredCountry[];
37
+ validate: EventEmitter<boolean>;
38
+ constructor(countryService: CountryService);
39
+ ngOnInit(): void;
40
+ valueAssigned(): void;
41
+ validateMobile(): void;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<MobileFieldsComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<MobileFieldsComponent, "lib-mobile-fields", never, { "question": { "alias": "question"; "required": false; }; }, { "validate": "validate"; }, never, never, false, never>;
44
+ }
45
+ export {};
@@ -0,0 +1,22 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NumberFieldsComponent {
4
+ question: any;
5
+ count: number;
6
+ required: boolean;
7
+ hint: string;
8
+ upDown: boolean;
9
+ allowNegativeValues: boolean;
10
+ placeholder: any;
11
+ min: number;
12
+ max: number;
13
+ enteredNumber: number;
14
+ validationFailed: boolean;
15
+ validationMessage: string;
16
+ validate: EventEmitter<boolean>;
17
+ ngOnInit(): void;
18
+ valueAssigned(): void;
19
+ validateNumber(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumberFieldsComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<NumberFieldsComponent, "lib-number-fields", never, { "question": { "alias": "question"; "required": false; }; }, { "validate": "validate"; }, never, never, false, never>;
22
+ }
@@ -0,0 +1,35 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PasswordFieldsComponent {
4
+ question: any;
5
+ count: number;
6
+ required: boolean;
7
+ hint: string;
8
+ confirmPassword: boolean;
9
+ displayStrength: boolean;
10
+ viewButton: boolean;
11
+ maxLength: number;
12
+ minLength: number;
13
+ requireLowercaseLetters: boolean;
14
+ requireUppercaseLetters: boolean;
15
+ requireNumbers: boolean;
16
+ requireSpecialCharacters: boolean;
17
+ allowedSpecialCharacters: string[];
18
+ validationMessage: string;
19
+ cnfrmValidationMessage: string;
20
+ validationFailed: boolean;
21
+ validatedCnfrmPassword: boolean;
22
+ enteredPassowrd: string;
23
+ enteredCnfrmPassword: string;
24
+ passwordStrength: number;
25
+ validate: EventEmitter<boolean>;
26
+ ngOnInit(): void;
27
+ valueAssigned(): void;
28
+ togglePasswordVisibility(): void;
29
+ toggleCnfrmPasswordVisibility(): void;
30
+ checkPasswordMatch(): void;
31
+ validatePassword(): void;
32
+ validateInput(event: any): void;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<PasswordFieldsComponent, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<PasswordFieldsComponent, "lib-password-fields", never, { "question": { "alias": "question"; "required": false; }; }, { "validate": "validate"; }, never, never, false, never>;
35
+ }
@@ -0,0 +1,39 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { FormService } from '../../services/form.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RadioButtonFieldsComponent {
5
+ private formService;
6
+ question: any;
7
+ count: number;
8
+ required: boolean;
9
+ hint: string;
10
+ color: string;
11
+ minimumSelection: number;
12
+ maximumSelection: number;
13
+ optionType: string;
14
+ lookupTable: string;
15
+ customOptions: any[];
16
+ database: any;
17
+ api: any;
18
+ apiOptions: any[];
19
+ selectedOption: string;
20
+ validationFailed: boolean;
21
+ validationMessage: string;
22
+ validate: EventEmitter<boolean>;
23
+ constructor(formService: FormService);
24
+ ngOnInit(): void;
25
+ valueAssigned(): void;
26
+ fetchDataFromLookup(): void;
27
+ fetchDataFromDatabase(): void;
28
+ transformDatabaseObject(database: any): {
29
+ tableName: any;
30
+ valueField: any;
31
+ labelField: any;
32
+ criteria: any;
33
+ };
34
+ fetchDataFromAPI(): void;
35
+ extractDataByPath(data: any, path: string): any;
36
+ validateInput(): void;
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioButtonFieldsComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioButtonFieldsComponent, "lib-radio-button-fields", never, { "question": { "alias": "question"; "required": false; }; }, { "validate": "validate"; }, never, never, false, never>;
39
+ }
@@ -0,0 +1,24 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { AngularEditorConfig } from '@kolkov/angular-editor';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RichTextEditorFieldsComponent {
5
+ question: any;
6
+ count: number;
7
+ required: boolean;
8
+ hint: string;
9
+ numberOfRows: number;
10
+ limitedCharacters: boolean;
11
+ counts: number;
12
+ htmlContent: string;
13
+ characterCount: number;
14
+ validationFailed: boolean;
15
+ validationMessage: string;
16
+ validate: EventEmitter<boolean>;
17
+ config: AngularEditorConfig;
18
+ ngOnInit(): void;
19
+ valueAssigned(): void;
20
+ validateEditor(): void;
21
+ validateInput(event: any): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<RichTextEditorFieldsComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<RichTextEditorFieldsComponent, "lib-rich-text-editor-fields", never, { "question": { "alias": "question"; "required": false; }; }, { "validate": "validate"; }, never, never, false, never>;
24
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class SectionFieldsComponent {
3
+ section: any;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SectionFieldsComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<SectionFieldsComponent, "lib-section-fields", never, { "section": { "alias": "section"; "required": false; }; }, {}, never, never, false, never>;
6
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class SelectionMatrixFieldsComponent {
3
+ question: any;
4
+ count: number;
5
+ required: boolean;
6
+ hint: string;
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SelectionMatrixFieldsComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectionMatrixFieldsComponent, "lib-selection-matrix-fields", never, { "question": { "alias": "question"; "required": false; }; }, {}, never, never, false, never>;
10
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class SignatureFieldsComponent {
3
+ question: any;
4
+ count: number;
5
+ required: boolean;
6
+ hint: string;
7
+ maxFileSize: number;
8
+ minFileSize: number;
9
+ ngOnInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SignatureFieldsComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<SignatureFieldsComponent, "lib-signature-fields", never, { "question": { "alias": "question"; "required": false; }; }, {}, never, never, false, never>;
12
+ }
@@ -0,0 +1,25 @@
1
+ import { Renderer2, ElementRef, EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SliderFieldsComponent {
4
+ private renderer;
5
+ private el;
6
+ question: any;
7
+ count: number;
8
+ required: boolean;
9
+ hint: string;
10
+ minValue: number;
11
+ maxValue: number;
12
+ stepValue: number;
13
+ changeSliderColor: boolean;
14
+ sliderColor: string;
15
+ validationFailed: boolean;
16
+ validationMessage: string;
17
+ selectedValue: number;
18
+ validate: EventEmitter<boolean>;
19
+ constructor(renderer: Renderer2, el: ElementRef);
20
+ ngOnInit(): void;
21
+ valueAssigned(): void;
22
+ validateSlider(): void;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<SliderFieldsComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<SliderFieldsComponent, "lib-slider-fields", never, { "question": { "alias": "question"; "required": false; }; }, { "validate": "validate"; }, never, never, false, never>;
25
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TermsAndConditionFieldsComponent {
3
+ question: any;
4
+ count: number;
5
+ required: boolean;
6
+ hint: string;
7
+ ngOnInit(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TermsAndConditionFieldsComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<TermsAndConditionFieldsComponent, "lib-terms-and-condition-fields", never, { "question": { "alias": "question"; "required": false; }; }, {}, never, never, false, never>;
10
+ }
@@ -0,0 +1,22 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TextAreaFieldsComponent {
4
+ question: any;
5
+ answer: string;
6
+ count: number;
7
+ required: boolean;
8
+ hint: string;
9
+ numberOfRows: number;
10
+ limitedCharacters: boolean;
11
+ characterCount: number;
12
+ validationFailed: boolean;
13
+ validationMessage: string;
14
+ enteredText: string;
15
+ validate: EventEmitter<boolean>;
16
+ ngOnInit(): void;
17
+ valueAssigned(): void;
18
+ validateInput(event: any): void;
19
+ validateTextarea(): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaFieldsComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaFieldsComponent, "lib-text-area-fields", never, { "question": { "alias": "question"; "required": false; }; }, { "validate": "validate"; }, never, never, false, never>;
22
+ }
@@ -0,0 +1,30 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TextFieldsComponent {
4
+ question: any;
5
+ answer: string;
6
+ count: number;
7
+ required: boolean;
8
+ hint: string;
9
+ placeholder: string;
10
+ defaultValue: string;
11
+ isBold: boolean;
12
+ isUnderline: boolean;
13
+ isItalics: boolean;
14
+ textAlign: string;
15
+ font: string;
16
+ fontSize: string;
17
+ validationType: string;
18
+ validation: string;
19
+ regex: string;
20
+ enteredText: string;
21
+ validationFailed: boolean;
22
+ validationMessage: string;
23
+ validate: EventEmitter<boolean>;
24
+ ngOnInit(): void;
25
+ valueAssigned(): void;
26
+ validatetextField(): void;
27
+ validateInput(event: any): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextFieldsComponent, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextFieldsComponent, "lib-text-fields", never, { "question": { "alias": "question"; "required": false; }; }, { "validate": "validate"; }, never, never, false, never>;
30
+ }
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class ToggleSwitchFieldsComponent {
3
+ question: any;
4
+ count: number;
5
+ required: boolean;
6
+ hint: string;
7
+ labelOnValue: string;
8
+ labelOffValue: string;
9
+ labelOnColor: string;
10
+ labelOffColor: string;
11
+ toggleBackgroundColor: string;
12
+ ngOnInit(): void;
13
+ toggleSliderColor(event: any): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<ToggleSwitchFieldsComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<ToggleSwitchFieldsComponent, "lib-toggle-switch-fields", never, { "question": { "alias": "question"; "required": false; }; }, {}, never, never, false, never>;
16
+ }
@@ -0,0 +1,22 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class UrlFieldsComponent {
4
+ question: any;
5
+ count: number;
6
+ required: boolean;
7
+ hint: string;
8
+ placeholder: string;
9
+ showPreviewButton: boolean;
10
+ enteredUrl: string;
11
+ validationFailed: boolean;
12
+ validationMessage: string;
13
+ validate: EventEmitter<any>;
14
+ constructor();
15
+ ngOnInit(): void;
16
+ handleClick(): void;
17
+ valueAssigned(): void;
18
+ validateUrl(): void;
19
+ validateInput(event: any): void;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<UrlFieldsComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<UrlFieldsComponent, "lib-url-fields", never, { "question": { "alias": "question"; "required": false; }; }, { "validate": "validate"; }, never, never, false, never>;
22
+ }
@@ -0,0 +1,14 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./submit-form/submit-form.component";
3
+ import * as i2 from "./header/header.component";
4
+ import * as i3 from "./navigation-tabs/navigation-tabs.component";
5
+ import * as i4 from "./next-prev-navigation/next-prev-navigation.component";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "../form-fields/form-fields.module";
8
+ import * as i7 from "ngx-bootstrap/datepicker";
9
+ import * as i8 from "../element-type/element-type.module";
10
+ export declare class FormSubmitModule {
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormSubmitModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormSubmitModule, [typeof i1.SubmitFormComponent, typeof i2.HeaderComponent, typeof i3.NavigationTabsComponent, typeof i4.NextPrevNavigationComponent], [typeof i5.CommonModule, typeof i6.FormFieldsModule, typeof i7.BsDatepickerModule, typeof i8.ElementTypeModule], [typeof i1.SubmitFormComponent, typeof i4.NextPrevNavigationComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<FormSubmitModule>;
14
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class HeaderComponent {
3
+ name: string;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "lib-header", never, { "name": { "alias": "name"; "required": false; }; }, {}, never, never, false, never>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class LogicComponent {
3
+ childLogics: any;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<LogicComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<LogicComponent, "lib-logic", never, { "childLogics": { "alias": "childLogics"; "required": false; }; }, {}, never, never, false, never>;
6
+ }
@@ -0,0 +1,10 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NavigationTabsComponent {
4
+ pages: any[];
5
+ currentPageIndex: number;
6
+ pageChanged: EventEmitter<number>;
7
+ setCurrentPage(index: number): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavigationTabsComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavigationTabsComponent, "lib-navigation-tabs", never, { "pages": { "alias": "pages"; "required": false; }; "currentPageIndex": { "alias": "currentPageIndex"; "required": false; }; }, { "pageChanged": "pageChanged"; }, never, never, false, never>;
10
+ }
@@ -0,0 +1,15 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class NextPrevNavigationComponent {
4
+ currentPageIndex: number;
5
+ pages: any[];
6
+ previousPage: any;
7
+ nextPage: any;
8
+ currentPage: any;
9
+ navigateNext: EventEmitter<void>;
10
+ navigatePrevious: EventEmitter<void>;
11
+ onNavigateNext(): void;
12
+ onNavigatePrevious(): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<NextPrevNavigationComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<NextPrevNavigationComponent, "lib-next-prev-navigation", never, { "currentPageIndex": { "alias": "currentPageIndex"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; "previousPage": { "alias": "previousPage"; "required": false; }; "nextPage": { "alias": "nextPage"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; }, { "navigateNext": "navigateNext"; "navigatePrevious": "navigatePrevious"; }, never, never, false, never>;
15
+ }