@testgorilla/tgo-ui 2.10.2 → 2.10.4

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/README.md CHANGED
@@ -62,8 +62,7 @@ To ensure consistency with CI, update snapshots using Docker:
62
62
  ```
63
63
  docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:latest /bin/bash
64
64
  npx playwright install
65
- npx ng serve --configuration production &
66
- npx playwright test e2e/playwright-ci/tests/<file_name>.spec.ts -g '@visual' --update-snapshots
65
+ npx playwright test visual-tests --config 'visual-tests/playwright.config.ts' --update-snapshots
67
66
  ```
68
67
 
69
68
  If you encounter the following error, it can be safely ignored. We need reports in a single directory for CI artifact storage:
@@ -84,8 +83,7 @@ Use Docker to align screenshots with the same OS:
84
83
  ```
85
84
  docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:latest /bin/bash
86
85
  npx playwright install
87
- npx ng serve --configuration production &
88
- npx playwright test e2e/playwright-ci/tests/<file_name>.spec.ts
86
+ npx playwright test visual-tests --config 'visual-tests/playwright.config.ts'
89
87
  ```
90
88
 
91
89
 
@@ -152,12 +152,20 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
152
152
  * @memberof AutocompleteComponent
153
153
  */
154
154
  hideLabelInErrors: boolean;
155
+ /**
156
+ * Sets dropdown list to virtual scroll mode
157
+ *
158
+ * @type {boolean}
159
+ * @memberof AutocompleteComponent
160
+ */
161
+ virtualScroll: boolean;
155
162
  selectionChange: EventEmitter<any>;
156
163
  searchTextChange: EventEmitter<string>;
157
164
  formFieldElement: ElementRef<HTMLElement>;
158
165
  tagContainer: ElementRef<HTMLElement>;
159
166
  autocomplete: MatAutocompleteTrigger;
160
167
  cdkVirtualScrollViewPort: CdkVirtualScrollViewport;
168
+ matAutocomplete: MatAutocomplete;
161
169
  protected safeErrors: SafeHtml[];
162
170
  protected value: any;
163
171
  protected inputValue: any;
@@ -166,6 +174,7 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
166
174
  protected isOverLapping: boolean;
167
175
  protected isOverlapChecking: boolean;
168
176
  protected overlapIndex: number;
177
+ protected inputOpacity: number;
169
178
  protected inputValueSearch$: ReplaySubject<string>;
170
179
  protected userInput$: ReplaySubject<string>;
171
180
  protected filteredItemsList$: import("rxjs").Observable<any>;
@@ -207,5 +216,6 @@ export declare class AutocompleteComponent implements ControlValueAccessor, OnCh
207
216
  */
208
217
  private setCompanyColorVariable;
209
218
  static ɵfac: i0.ɵɵFactoryDeclaration<AutocompleteComponent, [{ optional: true; }, null, null, { optional: true; self: true; }, null, null]>;
210
- static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ui-autocomplete", never, { "itemsList": { "alias": "itemsList"; "required": false; }; "suggestionsList": { "alias": "suggestionsList"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "allowAdd": { "alias": "allowAdd"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "label": { "alias": "label"; "required": false; }; "itemValue": { "alias": "itemValue"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minCharactersSearch": { "alias": "minCharactersSearch"; "required": false; }; "variant": { "alias": "variant"; "required": true; }; "language": { "alias": "language"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; }, never, never, false, never>;
219
+ static ɵcmp: i0.ɵɵComponentDeclaration<AutocompleteComponent, "ui-autocomplete", never, { "itemsList": { "alias": "itemsList"; "required": false; }; "suggestionsList": { "alias": "suggestionsList"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "allowAdd": { "alias": "allowAdd"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "label": { "alias": "label"; "required": false; }; "itemValue": { "alias": "itemValue"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minCharactersSearch": { "alias": "minCharactersSearch"; "required": false; }; "variant": { "alias": "variant"; "required": true; }; "language": { "alias": "language"; "required": false; }; "showBottomContent": { "alias": "showBottomContent"; "required": false; }; "valuePrimitive": { "alias": "valuePrimitive"; "required": false; }; "fullWidth": { "alias": "fullWidth"; "required": false; }; "applicationTheme": { "alias": "applicationTheme"; "required": false; }; "required": { "alias": "required"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "companyColor": { "alias": "companyColor"; "required": false; }; "hideBuiltInErrors": { "alias": "hideBuiltInErrors"; "required": false; }; "hideLabelInErrors": { "alias": "hideLabelInErrors"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; }, { "selectionChange": "selectionChange"; "searchTextChange": "searchTextChange"; }, never, never, false, never>;
220
+ static ngAcceptInputType_virtualScroll: unknown;
211
221
  }
@@ -1,9 +1,9 @@
1
- import { ChangeDetectorRef, DoCheck, EventEmitter, OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, DoCheck, EventEmitter, OnChanges, OnInit } from '@angular/core';
2
2
  import { ControlValueAccessor, NgControl } from '@angular/forms';
3
3
  import { MatCheckboxChange } from '@angular/material/checkbox';
4
4
  import { ApplicationTheme } from '../../models/application-theme.model';
5
5
  import * as i0 from "@angular/core";
6
- export declare class CheckboxComponent implements OnInit, ControlValueAccessor, DoCheck {
6
+ export declare class CheckboxComponent implements OnInit, ControlValueAccessor, DoCheck, OnChanges {
7
7
  private readonly defaultAppTheme;
8
8
  private cdr;
9
9
  ngControl: NgControl;
@@ -129,6 +129,7 @@ export declare class CheckboxComponent implements OnInit, ControlValueAccessor,
129
129
  onTouch: () => void;
130
130
  classMultiple: string;
131
131
  constructor(defaultAppTheme: ApplicationTheme, cdr: ChangeDetectorRef, ngControl: NgControl);
132
+ ngOnChanges(): void;
132
133
  /**
133
134
  * Used to mark component view as dirty when touched programmatically with markAsTouched/markAllAsTouched or errors
134
135
  * to display validation errors that might happen (e.g. required)