asksuite-citrus 3.17.26 → 3.17.28-beta.0

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,8 +1,8 @@
1
1
  import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
2
- import { ControlValueAccessor, FormBuilder, FormControl } from "@angular/forms";
3
- import { Overlay } from "@angular/cdk/overlay";
2
+ import { ControlValueAccessor, FormBuilder, FormControl } from '@angular/forms';
3
+ import { Overlay } from '@angular/cdk/overlay';
4
4
  import { TranslateService } from '@ngx-translate/core';
5
- import { OverlayComponent } from "../../classes/overlay.component";
5
+ import { OverlayComponent } from '../../classes/overlay.component';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class AutocompleteComponent extends OverlayComponent implements AfterViewInit, ControlValueAccessor, OnChanges {
8
8
  private formBuilder;
@@ -28,10 +28,10 @@ export declare class AutocompleteComponent extends OverlayComponent implements A
28
28
  protected showExpandedSelectionActions: boolean;
29
29
  protected showSelectAllCheckbox: boolean;
30
30
  protected chipsContainerClasses: {
31
- "-two": boolean;
32
- "-three": boolean;
33
- "-four": boolean;
34
- "-many": boolean;
31
+ '-two': boolean;
32
+ '-three': boolean;
33
+ '-four': boolean;
34
+ '-many': boolean;
35
35
  };
36
36
  protected optionsSelected: {
37
37
  [key: string | number]: boolean;
@@ -59,6 +59,8 @@ export declare class AutocompleteComponent extends OverlayComponent implements A
59
59
  iconPropReference?: string;
60
60
  enableRemove: boolean;
61
61
  title?: string;
62
+ chipBackgroundOrangeGradient: boolean;
63
+ keepChipsUncollapsed: boolean;
62
64
  position: 'above' | 'below';
63
65
  itemCheck: EventEmitter<any>;
64
66
  selectionDone: EventEmitter<any>;
@@ -95,5 +97,5 @@ export declare class AutocompleteComponent extends OverlayComponent implements A
95
97
  registerOnTouched(fn: any): void;
96
98
  setDisabledState(isDisabled: boolean): void;
97
99
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, never>;
98
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ask-autocomplete", never, { "filterFn": { "alias": "filterFn"; "required": false; }; "displayFn": { "alias": "displayFn"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "maxOptions": { "alias": "maxOptions"; "required": false; }; "valueProp": { "alias": "valueProp"; "required": false; }; "options": { "alias": "options"; "required": false; }; "fixedOptions": { "alias": "fixedOptions"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; "allOptionsSelectedText": { "alias": "allOptionsSelectedText"; "required": false; }; "selectAllMessage": { "alias": "selectAllMessage"; "required": false; }; "iconPropReference": { "alias": "iconPropReference"; "required": false; }; "enableRemove": { "alias": "enableRemove"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "itemCheck": "itemCheck"; "selectionDone": "selectionDone"; "optionRemoved": "optionRemoved"; }, never, never, false, never>;
100
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ask-autocomplete", never, { "filterFn": { "alias": "filterFn"; "required": false; }; "displayFn": { "alias": "displayFn"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "maxOptions": { "alias": "maxOptions"; "required": false; }; "valueProp": { "alias": "valueProp"; "required": false; }; "options": { "alias": "options"; "required": false; }; "fixedOptions": { "alias": "fixedOptions"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; "allOptionsSelectedText": { "alias": "allOptionsSelectedText"; "required": false; }; "selectAllMessage": { "alias": "selectAllMessage"; "required": false; }; "iconPropReference": { "alias": "iconPropReference"; "required": false; }; "enableRemove": { "alias": "enableRemove"; "required": false; }; "title": { "alias": "title"; "required": false; }; "chipBackgroundOrangeGradient": { "alias": "chipBackgroundOrangeGradient"; "required": false; }; "keepChipsUncollapsed": { "alias": "keepChipsUncollapsed"; "required": false; }; }, { "itemCheck": "itemCheck"; "selectionDone": "selectionDone"; "optionRemoved": "optionRemoved"; }, never, never, false, never>;
99
101
  }
@@ -9,6 +9,7 @@ export declare class ChipsComponent {
9
9
  set size(value: 'small' | 'regular');
10
10
  color?: string;
11
11
  autoComplete: boolean;
12
+ chipBackgroundOrangeGradient: boolean;
12
13
  protected _isSmall: boolean;
13
14
  protected _isAppearanceLight: boolean;
14
15
  protected _isAppearancePrimary: boolean;
@@ -20,5 +21,5 @@ export declare class ChipsComponent {
20
21
  protected action: EventEmitter<void>;
21
22
  ngOnChanges(): void;
22
23
  static ɵfac: i0.ɵɵFactoryDeclaration<ChipsComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<ChipsComponent, "ask-chips", never, { "appearance": { "alias": "appearance"; "required": false; }; "showAction": { "alias": "showAction"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; }, { "action": "action"; }, never, ["*"], false, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChipsComponent, "ask-chips", never, { "appearance": { "alias": "appearance"; "required": false; }; "showAction": { "alias": "showAction"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "autoComplete": { "alias": "autoComplete"; "required": false; }; "chipBackgroundOrangeGradient": { "alias": "chipBackgroundOrangeGradient"; "required": false; }; }, { "action": "action"; }, never, ["*"], false, never>;
24
25
  }
@@ -1,4 +1,4 @@
1
- import { ElementRef, EventEmitter, OnInit, QueryList, TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { DestroyRef, ElementRef, EventEmitter, OnInit, QueryList, TemplateRef, ViewContainerRef } from '@angular/core';
2
2
  import { ControlValueAccessor, FormControl } from '@angular/forms';
3
3
  import { Overlay } from "@angular/cdk/overlay";
4
4
  import { AskDropdownDirective } from "../../directives";
@@ -8,11 +8,15 @@ import { OverlayComponent } from "../../classes/overlay.component";
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class PhoneDdiComponent extends OverlayComponent implements OnInit, ControlValueAccessor {
10
10
  private countryFlagService;
11
+ private destroyRef;
11
12
  disabled: boolean;
12
13
  value: string;
13
14
  useCountryCode: string;
15
+ disableMask: boolean;
14
16
  valueChange: EventEmitter<string>;
15
17
  onChangeFlag: EventEmitter<CountryData>;
18
+ initialValue: string;
19
+ formControl: FormControl<any>;
16
20
  phoneContainer: ElementRef | undefined;
17
21
  wrapper: ElementRef | undefined;
18
22
  menuContainer: ElementRef | undefined;
@@ -28,7 +32,7 @@ export declare class PhoneDdiComponent extends OverlayComponent implements OnIni
28
32
  protected filteredOptions: any[];
29
33
  private _destroy;
30
34
  private scrollSub?;
31
- constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, countryFlagService: CountryFlagService);
35
+ constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, countryFlagService: CountryFlagService, destroyRef: DestroyRef);
32
36
  ngOnInit(): void;
33
37
  onPaste(event: any): void;
34
38
  handleOptionSelected(item: any): void;
@@ -51,5 +55,5 @@ export declare class PhoneDdiComponent extends OverlayComponent implements OnIni
51
55
  handlePhoneChange(event: any): void;
52
56
  normalizePhoneNumberBr(input: string): string;
53
57
  static ɵfac: i0.ɵɵFactoryDeclaration<PhoneDdiComponent, never>;
54
- static ɵcmp: i0.ɵɵComponentDeclaration<PhoneDdiComponent, "ask-phone-ddi", never, { "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "useCountryCode": { "alias": "useCountryCode"; "required": false; }; }, { "valueChange": "valueChange"; "onChangeFlag": "onChangeFlag"; }, never, never, false, never>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<PhoneDdiComponent, "ask-phone-ddi", never, { "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "useCountryCode": { "alias": "useCountryCode"; "required": false; }; "disableMask": { "alias": "disableMask"; "required": false; }; }, { "valueChange": "valueChange"; "onChangeFlag": "onChangeFlag"; }, never, never, false, never>;
55
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asksuite-citrus",
3
- "version": "3.17.26",
3
+ "version": "3.17.28-beta.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.3.7",
6
6
  "@angular/core": "^17.3.7",