master-control 0.3.17 → 0.3.19

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 (44) hide show
  1. package/esm2022/lib/age-date/age-date.component.mjs +6 -3
  2. package/esm2022/lib/autocomplete/autocomplete.component.mjs +7 -3
  3. package/esm2022/lib/discount-v2/discount-v2.component.mjs +3 -3
  4. package/esm2022/lib/dob/dob.component.mjs +5 -1
  5. package/esm2022/lib/email-with-domain/email-with-domain.component.mjs +18 -9
  6. package/esm2022/lib/master-control.component.mjs +2 -2
  7. package/esm2022/lib/master-control.service.mjs +14 -1
  8. package/esm2022/lib/medial-questions/medial-questions.component.mjs +2 -2
  9. package/esm2022/lib/mob-number/mob-number.component.mjs +7 -3
  10. package/esm2022/lib/search-multi-select/search-multi-select.component.mjs +19 -13
  11. package/esm2022/lib/select/select.component.mjs +14 -5
  12. package/esm2022/lib/select-textbox/select-textbox.component.mjs +19 -11
  13. package/esm2022/lib/stepper-with-arrow/stepper-with-arrow.component.mjs +179 -9
  14. package/esm2022/lib/subscript-textbox/subscript-textbox.component.mjs +18 -9
  15. package/esm2022/lib/suffix-textbox/suffix-textbox.component.mjs +19 -10
  16. package/esm2022/lib/textarea/textarea.component.mjs +7 -3
  17. package/esm2022/lib/textbox/textbox.component.mjs +7 -3
  18. package/esm2022/lib/textbox-with-image/textbox-with-image.component.mjs +18 -9
  19. package/esm2022/lib/textbox-with-text/textbox-with-text.component.mjs +18 -9
  20. package/esm2022/lib/textbox-with-underscore/textbox-with-underscore.component.mjs +18 -9
  21. package/esm2022/lib/underscore-mob-number/underscore-mob-number.component.mjs +18 -9
  22. package/fesm2022/master-control.mjs +418 -135
  23. package/fesm2022/master-control.mjs.map +1 -1
  24. package/lib/age-date/age-date.component.d.ts +1 -0
  25. package/lib/autocomplete/autocomplete.component.d.ts +1 -0
  26. package/lib/dob/dob.component.d.ts +1 -0
  27. package/lib/email-with-domain/email-with-domain.component.d.ts +4 -0
  28. package/lib/master-control.service.d.ts +1 -0
  29. package/lib/mob-number/mob-number.component.d.ts +1 -0
  30. package/lib/search-multi-select/search-multi-select.component.d.ts +4 -0
  31. package/lib/select/select.component.d.ts +4 -1
  32. package/lib/select-textbox/select-textbox.component.d.ts +4 -0
  33. package/lib/stepper-with-arrow/stepper-with-arrow.component.d.ts +18 -2
  34. package/lib/subscript-textbox/subscript-textbox.component.d.ts +4 -0
  35. package/lib/suffix-textbox/suffix-textbox.component.d.ts +4 -0
  36. package/lib/textarea/textarea.component.d.ts +1 -0
  37. package/lib/textbox/textbox.component.d.ts +1 -0
  38. package/lib/textbox-with-image/textbox-with-image.component.d.ts +4 -0
  39. package/lib/textbox-with-text/textbox-with-text.component.d.ts +4 -0
  40. package/lib/textbox-with-underscore/textbox-with-underscore.component.d.ts +4 -0
  41. package/lib/underscore-mob-number/underscore-mob-number.component.d.ts +4 -0
  42. package/master-control-0.3.19.tgz +0 -0
  43. package/package.json +2 -2
  44. package/master-control-0.3.17.tgz +0 -0
@@ -6,6 +6,7 @@ export declare class AgeDateComponent {
6
6
  inputValue: any;
7
7
  reactiveFormControlobject: any;
8
8
  constructor(service: MasterControlService);
9
+ isShowMandatoryValidation: any;
9
10
  dateDivisionFormat(event: any): void;
10
11
  _onChange: any;
11
12
  _unTouched: any;
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class AutocompleteComponent implements ControlValueAccessor {
6
6
  masterService: MasterControlService;
7
7
  constructor(masterService: MasterControlService);
8
+ isShowMandatoryValidation: any;
8
9
  field: any;
9
10
  selectedOption: any;
10
11
  filteredOptions: any;
@@ -16,6 +16,7 @@ export declare const MY_DATE_FORMAT: {
16
16
  export declare class DobComponent implements ControlValueAccessor {
17
17
  service: MasterControlService;
18
18
  field: any;
19
+ isShowMandatoryValidation: any;
19
20
  inputValue: any;
20
21
  reactiveFormControlobject: any;
21
22
  blur: EventEmitter<any>;
@@ -1,5 +1,9 @@
1
+ import { MasterControlService } from '../master-control.service';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class EmailWithDomainComponent {
4
+ masterService: MasterControlService;
5
+ constructor(masterService: MasterControlService);
6
+ isShowMandatoryValidation: any;
3
7
  pincode: any;
4
8
  emailUser: any;
5
9
  emailDomain: any;
@@ -8,6 +8,7 @@ export declare class MasterControlService {
8
8
  restoreTableFieldState(key?: any): any | null;
9
9
  addComasToNumberValues(value: any): any;
10
10
  removeComasAndCurrencySymbolFromNumberValues(value: any): any;
11
+ onInputChangeRegexValidation(field: any, value: any): void;
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<MasterControlService, never>;
12
13
  static ɵprov: i0.ɵɵInjectableDeclaration<MasterControlService>;
13
14
  }
@@ -8,6 +8,7 @@ export declare class MobNumberComponent implements ControlValueAccessor {
8
8
  CountryCode: any;
9
9
  inputValue: any;
10
10
  field: any;
11
+ isShowMandatoryValidation: any;
11
12
  reactiveFormControlobject: any;
12
13
  _onChange: any;
13
14
  _unTouched: any;
@@ -1,6 +1,10 @@
1
1
  import { MatSelectChange } from '@angular/material/select';
2
+ import { MasterControlService } from '../master-control.service';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class SearchMultiSelectComponent {
5
+ masterService: MasterControlService;
6
+ constructor(masterService: MasterControlService);
7
+ isShowMandatoryValidation: any;
4
8
  field: any;
5
9
  selectedValues: any;
6
10
  visibleChip: any;
@@ -7,6 +7,8 @@ export declare class SelectComponent implements ControlValueAccessor {
7
7
  masterService: MasterControlService;
8
8
  constructor(masterService: MasterControlService);
9
9
  field: any;
10
+ blur: EventEmitter<any>;
11
+ isShowMandatoryValidation: any;
10
12
  inputValue: any;
11
13
  reactiveFormControlobject: any;
12
14
  onChange: any;
@@ -19,6 +21,7 @@ export declare class SelectComponent implements ControlValueAccessor {
19
21
  onValueChange(newValue: any): void;
20
22
  selectionChanged(event: MatSelectChange): void;
21
23
  onSelectOpened(opened: boolean): void;
24
+ onInputBlur(event?: any): void;
22
25
  static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "lib-select", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "reactiveFormControlobject": { "alias": "reactiveFormControlobject"; "required": false; "isSignal": true; }; }, { "selectionChange": "selectionChange"; }, never, never, true, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "lib-select", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "reactiveFormControlobject": { "alias": "reactiveFormControlobject"; "required": false; "isSignal": true; }; }, { "blur": "blur"; "selectionChange": "selectionChange"; }, never, never, true, never>;
24
27
  }
@@ -1,6 +1,10 @@
1
1
  import { MatSelectChange } from '@angular/material/select';
2
+ import { MasterControlService } from '../master-control.service';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class SelectTextboxComponent {
5
+ masterService: MasterControlService;
6
+ constructor(masterService: MasterControlService);
7
+ isShowMandatoryValidation: any;
4
8
  field: any;
5
9
  inputValue: any;
6
10
  selectValue: any;
@@ -1,19 +1,35 @@
1
+ import { OnInit, OnDestroy } from '@angular/core';
1
2
  import { MasterControlService } from '../master-control.service';
2
3
  import * as i0 from "@angular/core";
3
- export declare class StepperWIthArrowComponent {
4
+ export declare class StepperWIthArrowComponent implements OnInit, OnDestroy {
4
5
  masterSharedService: MasterControlService;
5
6
  field: any;
7
+ currentStepValue: import("@angular/core").InputSignal<string | undefined>;
8
+ autoProgress: import("@angular/core").InputSignal<boolean>;
9
+ autoProgressDelay: import("@angular/core").InputSignal<number>;
6
10
  selectedStep: import("@angular/core").OutputEmitterRef<any>;
7
11
  masterStepper: any;
8
12
  selectedStepIndex: number;
13
+ private autoProgressTimer;
9
14
  constructor(masterSharedService: MasterControlService);
10
15
  ngOnInit(): void;
16
+ ngOnDestroy(): void;
11
17
  initializeStepperState(): void;
12
18
  onStepClick(step: any, index: number): void;
13
19
  isStepSelected(index: number): boolean;
14
20
  shouldShowLabel(index: number): boolean;
15
21
  shouldShowAsDisabled(step: any, index: number): boolean;
16
22
  isStepCompleted(index: number): boolean;
23
+ isStepActive(index: number): boolean;
24
+ emitActiveStepOnLoad(): void;
25
+ moveToNextStep(): void;
26
+ moveToPreviousStep(): void;
27
+ moveToStep(stepIndex: number): void;
28
+ completeCurrentStepAndMoveNext(): void;
29
+ updateStepFromExternal(stepValue: string): void;
30
+ startAutoProgression(): void;
31
+ stopAutoProgression(): void;
32
+ resetToFirstStep(): void;
17
33
  static ɵfac: i0.ɵɵFactoryDeclaration<StepperWIthArrowComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<StepperWIthArrowComponent, "lib-stepper-with-arrow", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; }, { "selectedStep": "selectedStep"; }, never, never, true, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepperWIthArrowComponent, "lib-stepper-with-arrow", never, { "field": { "alias": "field"; "required": true; "isSignal": true; }; "currentStepValue": { "alias": "currentStepValue"; "required": false; "isSignal": true; }; "autoProgress": { "alias": "autoProgress"; "required": false; "isSignal": true; }; "autoProgressDelay": { "alias": "autoProgressDelay"; "required": false; "isSignal": true; }; }, { "selectedStep": "selectedStep"; }, never, never, true, never>;
19
35
  }
@@ -1,5 +1,9 @@
1
+ import { MasterControlService } from '../master-control.service';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class SubscriptTextboxComponent {
4
+ masterService: MasterControlService;
5
+ constructor(masterService: MasterControlService);
6
+ isShowMandatoryValidation: any;
3
7
  inputValue: any;
4
8
  field: any;
5
9
  reactiveFormControlobject: any;
@@ -1,5 +1,9 @@
1
+ import { MasterControlService } from '../master-control.service';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class SuffixTextboxComponent {
4
+ masterService: MasterControlService;
5
+ constructor(masterService: MasterControlService);
6
+ isShowMandatoryValidation: any;
3
7
  field: any;
4
8
  inputValue: any;
5
9
  reactiveFormControlobject: any;
@@ -7,6 +7,7 @@ export declare class TextareaComponent implements ControlValueAccessor {
7
7
  constructor(masterService: MasterControlService);
8
8
  field: any;
9
9
  reactiveFormControlobject: any;
10
+ isShowMandatoryValidation: any;
10
11
  textareaValue: any;
11
12
  _onChange: any;
12
13
  _onTouched: any;
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class TextboxComponent implements ControlValueAccessor {
6
6
  masterService: MasterControlService;
7
7
  constructor(masterService: MasterControlService);
8
+ isShowMandatoryValidation: any;
8
9
  inputValue: any;
9
10
  field: any;
10
11
  reactiveFormControlobject: any;
@@ -1,6 +1,10 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { MasterControlService } from '../master-control.service';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class TextboxWithImageComponent {
5
+ masterService: MasterControlService;
6
+ constructor(masterService: MasterControlService);
7
+ isShowMandatoryValidation: any;
4
8
  field: any;
5
9
  inputValue: any;
6
10
  reactiveFormControlobject: any;
@@ -1,6 +1,10 @@
1
1
  import { EventEmitter } from '@angular/core';
2
+ import { MasterControlService } from '../master-control.service';
2
3
  import * as i0 from "@angular/core";
3
4
  export declare class TextboxWithTextComponent {
5
+ masterService: MasterControlService;
6
+ constructor(masterService: MasterControlService);
7
+ isShowMandatoryValidation: any;
4
8
  inputValue: any;
5
9
  reactiveFormControlobject: any;
6
10
  field: any;
@@ -1,5 +1,9 @@
1
+ import { MasterControlService } from '../master-control.service';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class TextboxWithUnderscoreComponent {
4
+ masterService: MasterControlService;
5
+ constructor(masterService: MasterControlService);
6
+ isShowMandatoryValidation: any;
3
7
  field: any;
4
8
  inputValue: any;
5
9
  reactiveFormControlobject: any;
@@ -1,6 +1,10 @@
1
+ import { MasterControlService } from '../master-control.service';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class UnderscoreMobNumberComponent {
4
+ masterService: MasterControlService;
3
5
  CountryCode: any;
6
+ constructor(masterService: MasterControlService);
7
+ isShowMandatoryValidation: any;
4
8
  field: any;
5
9
  inputValue: any;
6
10
  reactiveFormControlobject: any;
Binary file
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "master-control",
3
- "version": "0.3.17",
4
- "description": "font size 14px for mobile view changes.",
3
+ "version": "0.3.19",
4
+ "description": "validation changes",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^18.2.0",
7
7
  "@angular/core": "^18.2.0"
Binary file