@sumaris-net/ngx-components 2.6.23-beta9 → 2.6.23

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": "2.6.23-beta9",
4
+ "version": "2.6.23",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -1,21 +1,21 @@
1
- import { Observable } from "rxjs";
2
- import { Apollo, ExtraSubscriptionOptions, QueryRef } from "apollo-angular";
3
- import { ApolloCache, ApolloClient, FetchPolicy, MutationUpdaterFn, OperationVariables, TypePolicies, WatchQueryFetchPolicy } from "@apollo/client/core";
4
- import { ServiceError } from "../services/errors";
5
- import { InjectionToken } from "@angular/core";
6
- import { NetworkService } from "../services/network.service";
7
- import { EmptyObject } from "./graphql.utils";
8
- import { Platform } from "@ionic/angular";
9
- import { IEntity } from "../services/model/entity.model";
10
- import { Resolvers } from "@apollo/client/core/types";
11
- import { HttpLink } from "apollo-angular/http";
12
- import { ErrorPolicy, MutationBaseOptions } from "@apollo/client/core/watchQueryOptions";
13
- import { Cache } from "@apollo/client/cache/core/types/Cache";
14
- import { Environment } from "../../../environments/environment.class";
15
- import { PropertiesMap } from "../../shared/types";
16
- import { StartableService } from "../../shared/services/startable-service.class";
17
- import { StorageService } from "../../shared/storage/storage.service";
18
- import { DocumentNode } from "graphql";
1
+ import { Observable } from 'rxjs';
2
+ import { Apollo, ExtraSubscriptionOptions, QueryRef } from 'apollo-angular';
3
+ import { ApolloCache, ApolloClient, FetchPolicy, MutationUpdaterFn, OperationVariables, TypePolicies, WatchQueryFetchPolicy } from '@apollo/client/core';
4
+ import { ServiceError } from '../services/errors';
5
+ import { InjectionToken } from '@angular/core';
6
+ import { NetworkService } from '../services/network.service';
7
+ import { EmptyObject } from './graphql.utils';
8
+ import { Platform } from '@ionic/angular';
9
+ import { IEntity } from '../services/model/entity.model';
10
+ import { Resolvers } from '@apollo/client/core/types';
11
+ import { HttpLink } from 'apollo-angular/http';
12
+ import { ErrorPolicy, MutationBaseOptions } from '@apollo/client/core/watchQueryOptions';
13
+ import { Cache } from '@apollo/client/cache/core/types/Cache';
14
+ import { Environment } from '../../../environments/environment.class';
15
+ import { PropertiesMap } from '../../shared/types';
16
+ import { StartableService } from '../../shared/services/startable-service.class';
17
+ import { StorageService } from '../../shared/storage/storage.service';
18
+ import { DocumentNode } from 'graphql';
19
19
  import * as i0 from "@angular/core";
20
20
  export interface WatchQueryOptions<V> {
21
21
  query: any;
@@ -15,10 +15,8 @@ export declare class NamedFilterSelector extends AppForm<any> implements OnInit
15
15
  protected popoverController: PopoverController;
16
16
  protected dataService: INamedFilterService<INamedFilter<any>, INamedFilterFilter<any, any>>;
17
17
  protected logPrefix: string;
18
- private _entityName;
19
- private _deleteDisabled;
20
- set entityName(entityName: string);
21
- get entityName(): string;
18
+ protected _deleteDisabled: boolean;
19
+ entityName: string;
22
20
  filterContentProvider: () => any;
23
21
  filterImportCallback: (namedFilter: NamedFilter) => Promise<NamedFilter>;
24
22
  filterFormDirty: boolean;
@@ -34,8 +32,6 @@ export declare class NamedFilterSelector extends AppForm<any> implements OnInit
34
32
  get deleteDisabled(): boolean;
35
33
  get dirty(): boolean;
36
34
  ngOnInit(): void;
37
- setEntityName(entityName: string): void;
38
- getFilter(): any;
39
35
  markForCheck(): void;
40
36
  save(): Promise<void>;
41
37
  delete(): Promise<void>;
@@ -44,5 +40,5 @@ export declare class NamedFilterSelector extends AppForm<any> implements OnInit
44
40
  protected onFilterChanges(value: NamedFilter | string): Promise<void>;
45
41
  protected setControlValue(value: NamedFilter): void;
46
42
  static ɵfac: i0.ɵɵFactoryDeclaration<NamedFilterSelector, never>;
47
- static ɵcmp: i0.ɵɵComponentDeclaration<NamedFilterSelector, "app-named-filter-selector", never, { "entityName": "entityName"; "filterContentProvider": "filterContentProvider"; "filterImportCallback": "filterImportCallback"; "filterFormDirty": "filterFormDirty"; "showButtons": "showButtons"; "exportFileNamePrefix": "exportFileNamePrefix"; "autocompleteConfig": "autocompleteConfig"; }, { "filterSelected": "filterSelected"; "filterDeleted": "filterDeleted"; }, never, never, false>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<NamedFilterSelector, "app-named-filter-selector[entityName]", never, { "entityName": "entityName"; "filterContentProvider": "filterContentProvider"; "filterImportCallback": "filterImportCallback"; "filterFormDirty": "filterFormDirty"; "showButtons": "showButtons"; "exportFileNamePrefix": "exportFileNamePrefix"; "autocompleteConfig": "autocompleteConfig"; }, { "filterSelected": "filterSelected"; "filterDeleted": "filterDeleted"; }, never, never, false>;
48
44
  }
@@ -6,5 +6,4 @@ export declare function suggestFromArray<T = any>(items: T[], value: any, opts?:
6
6
  searchAttributes?: string[];
7
7
  excludedIds?: number[];
8
8
  skipSort?: boolean;
9
- anySearch?: boolean;
10
9
  }): LoadResult<T>;
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "2.6.22",
5
+ "version": "2.6.23",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{