@sumaris-net/ngx-components 18.14.10 → 18.14.11

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "18.14.10",
4
+ "version": "18.14.11",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -53,9 +53,9 @@ export declare class HomePage extends RxState<HomePageState> implements OnInit,
53
53
  protected locales: LocaleConfig[];
54
54
  protected buttons: IMenuItem[];
55
55
  protected config: IHomePageConfig;
56
- private readonly _debug;
57
56
  private _subscription;
58
57
  private _config;
58
+ protected readonly debug: boolean;
59
59
  protected readonly mobile: boolean;
60
60
  protected readonly showAccountButton: boolean;
61
61
  protected accountName: string;
@@ -17,7 +17,7 @@ export interface InputElement extends FocusableElement {
17
17
  }
18
18
  export declare function isInputElement(object: any): object is InputElement;
19
19
  export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
20
- export declare function tabindexComparator(a: InputElement, b: InputElement): 0 | 1 | -1;
20
+ export declare function tabindexComparator(a: InputElement, b: InputElement): 1 | -1 | 0;
21
21
  export interface CanGainFocusOptions {
22
22
  minTabindex?: number;
23
23
  maxTabindex?: number;
@@ -34,9 +34,11 @@ export declare class FeedsComponent<T extends JsonFeed = JsonFeed> implements On
34
34
  get hasFeeds(): boolean;
35
35
  showHeader: boolean;
36
36
  headerColor: AppColors;
37
- headerTextColor: AppColors;
38
- cardBackgroundColor: AppColors | 'light-transparent';
37
+ cardColor: AppColors | 'light-transparent';
39
38
  shape: 'round' | 'legacy';
39
+ class: string;
40
+ get hostClass(): string;
41
+ get borderRadius(): string;
40
42
  constructor(environment: Environment, feedService: IFeedService<T>);
41
43
  ngOnInit(): void;
42
44
  ngOnDestroy(): void;
@@ -45,5 +47,5 @@ export declare class FeedsComponent<T extends JsonFeed = JsonFeed> implements On
45
47
  openTag(feed: T, tag: string): Promise<void>;
46
48
  getTags(feedOrItem?: T | T['items'][0]): string[];
47
49
  static ɵfac: i0.ɵɵFactoryDeclaration<FeedsComponent<any>, [null, { optional: true; }]>;
48
- static ɵcmp: i0.ɵɵComponentDeclaration<FeedsComponent<any>, "app-feed", never, { "debug": { "alias": "debug"; "required": false; }; "feeds": { "alias": "feeds"; "required": false; }; "feedUrls": { "alias": "feedUrls"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "headerColor": { "alias": "headerColor"; "required": false; }; "headerTextColor": { "alias": "headerTextColor"; "required": false; }; "cardBackgroundColor": { "alias": "cardBackgroundColor"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; }, {}, never, never, false, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<FeedsComponent<any>, "app-feed", never, { "debug": { "alias": "debug"; "required": false; }; "feeds": { "alias": "feeds"; "required": false; }; "feedUrls": { "alias": "feedUrls"; "required": false; }; "showHeader": { "alias": "showHeader"; "required": false; }; "headerColor": { "alias": "headerColor"; "required": false; }; "cardColor": { "alias": "cardColor"; "required": false; }; "shape": { "alias": "shape"; "required": false; }; "class": { "alias": "class"; "required": false; }; }, {}, never, never, false, never>;
49
51
  }
@@ -2,12 +2,20 @@ import { ChangeDetectorRef } from '@angular/core';
2
2
  import { Environment } from '../../../../environments/environment.class';
3
3
  import { LocalSettingsService } from '../../../core/services/local-settings.service';
4
4
  import { LocalSettings } from '../../../core/services/model/settings.model';
5
+ import { AppColors } from '../../../shared/types';
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class FeedTestingPage {
7
8
  protected settings: LocalSettingsService;
8
9
  protected cd: ChangeDetectorRef;
9
10
  private environment;
11
+ protected availableFeedUrls: string[];
12
+ protected availableColors: (AppColors | 'light-transparent')[];
13
+ protected availableShapes: string[];
14
+ protected debug: boolean;
10
15
  protected feedUrls: string[];
16
+ protected shape: 'round' | 'legacy';
17
+ protected headerColor: AppColors | 'light-transparent';
18
+ protected cardColor: AppColors | 'light-transparent';
11
19
  constructor(settings: LocalSettingsService, cd: ChangeDetectorRef, environment: Environment);
12
20
  protected start(settings: LocalSettings): void;
13
21
  static ɵfac: i0.ɵɵFactoryDeclaration<FeedTestingPage, [null, null, { optional: true; }]>;
@@ -3,8 +3,10 @@ import * as i1 from "./feed.testing";
3
3
  import * as i2 from "../../../shared/shared.module";
4
4
  import * as i3 from "@ngx-translate/core";
5
5
  import * as i4 from "../feed.module";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "@angular/material/select";
6
8
  export declare class FeedTestingModule {
7
9
  static ɵfac: i0.ɵɵFactoryDeclaration<FeedTestingModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<FeedTestingModule, [typeof i1.FeedTestingPage], [typeof i2.SharedModule, typeof i3.TranslateModule, typeof i4.FeedModule], [typeof i1.FeedTestingPage, typeof i4.FeedModule]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FeedTestingModule, [typeof i1.FeedTestingPage], [typeof i2.SharedModule, typeof i3.TranslateModule, typeof i4.FeedModule, typeof i5.ReactiveFormsModule, typeof i6.MatSelectModule], [typeof i1.FeedTestingPage, typeof i4.FeedModule]>;
9
11
  static ɵinj: i0.ɵɵInjectorDeclaration<FeedTestingModule>;
10
12
  }
@@ -167,8 +167,8 @@
167
167
  --ion-color-step-450: #949494;
168
168
  --ion-color-step-500: #898989;
169
169
  --ion-color-step-550: #7d7d7d;
170
- --ion-color-step-600: #717171;
171
- --ion-color-step-650: #656565;
170
+ --ion-color-step-600: #666666;
171
+ --ion-color-step-650: #646464;
172
172
  --ion-color-step-700: #595959;
173
173
  --ion-color-step-750: #4d4d4d;
174
174
  --ion-color-step-800: #414141;