@sumaris-net/ngx-components 1.20.7 → 1.20.10
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/bundles/sumaris-net.ngx-components.umd.js +16 -12
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/public_api.js +2 -1
- package/esm2015/src/app/core/graphql/graphql.service.js +2 -2
- package/esm2015/src/app/core/icon/icon.component.js +1 -1
- package/esm2015/src/app/core/services/errors.js +1 -1
- package/esm2015/src/app/core/services/model/referential.model.js +2 -1
- package/esm2015/src/app/shared/graph/colors.utils.js +1 -1
- package/esm2015/src/app/shared/help/help.modal.js +14 -7
- package/fesm2015/sumaris-net.ngx-components.js +15 -6
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
- package/src/app/core/icon/icon.component.d.ts +3 -2
- package/src/app/core/services/errors.d.ts +1 -1
- package/src/app/core/services/model/referential.model.d.ts +2 -0
- package/src/app/shared/help/help.modal.d.ts +4 -3
- package/sumaris-net.ngx-components.metadata.json +1 -1
- package/esm2015/src/app/shared/colors.utils.js +0 -2
- package/src/app/shared/colors.utils.d.ts +0 -3
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -187,6 +187,7 @@ export * from './src/app/shared/upload-file/testing/upload-file.testing.module';
|
|
|
187
187
|
export * from './src/app/core/core.testing.module';
|
|
188
188
|
export * from './src/app/core/services/testing/referential-filter.model';
|
|
189
189
|
export * from './src/app/core/services/testing/referential.validator';
|
|
190
|
+
export * from './src/app/core/services/errors';
|
|
190
191
|
export * from './src/app/core/table/testing/table.testing.module';
|
|
191
192
|
export * from './src/app/core/table/testing/table.testing';
|
|
192
193
|
export * from './src/app/core/text-popover/testing/text-popover.testing.module';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { AppColors } from '../../shared/colors.utils';
|
|
2
1
|
import { IconRef } from '../../shared/types';
|
|
2
|
+
import { PredefinedColors } from '@ionic/core';
|
|
3
|
+
import { ThemePalette } from '@angular/material/core';
|
|
3
4
|
export declare class AppIconComponent {
|
|
4
5
|
icon: string;
|
|
5
6
|
matIcon: string;
|
|
6
7
|
matSvgIcon: string;
|
|
7
|
-
color:
|
|
8
|
+
color: PredefinedColors | ThemePalette;
|
|
8
9
|
set ref(value: IconRef);
|
|
9
10
|
}
|
|
@@ -12,6 +12,7 @@ export declare const StatusById: Readonly<import("../../../shared/types").KeyVal
|
|
|
12
12
|
export declare interface IReferentialRef<T extends IEntity<T, ID> = IEntity<any, any>, ID = number> extends IEntity<T, ID> {
|
|
13
13
|
label: string;
|
|
14
14
|
name: string;
|
|
15
|
+
description?: string;
|
|
15
16
|
levelId?: number;
|
|
16
17
|
statusId: number;
|
|
17
18
|
entityName: string;
|
|
@@ -56,6 +57,7 @@ export declare class ReferentialRef<T extends ReferentialRef<any, ID> = Referent
|
|
|
56
57
|
static fromObject: (source: any, opts?: any) => ReferentialRef;
|
|
57
58
|
label: string;
|
|
58
59
|
name: string;
|
|
60
|
+
description: string;
|
|
59
61
|
statusId: number;
|
|
60
62
|
levelId: number;
|
|
61
63
|
entityName: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Injector } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, Injector, OnInit } from '@angular/core';
|
|
2
2
|
import { ModalController } from '@ionic/angular';
|
|
3
3
|
import { PlatformService } from '../../core/services/platform.service';
|
|
4
4
|
import { LocalSettingsService } from '../../core/services/local-settings.service';
|
|
@@ -9,7 +9,7 @@ export interface AppHelpModalOptions {
|
|
|
9
9
|
docUrl?: string;
|
|
10
10
|
showError?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare class AppHelpModal implements AppHelpModalOptions {
|
|
12
|
+
export declare class AppHelpModal implements AppHelpModalOptions, OnInit {
|
|
13
13
|
protected injector: Injector;
|
|
14
14
|
protected viewCtrl: ModalController;
|
|
15
15
|
protected platform: PlatformService;
|
|
@@ -24,7 +24,8 @@ export declare class AppHelpModal implements AppHelpModalOptions {
|
|
|
24
24
|
docUrl: string;
|
|
25
25
|
showError: boolean;
|
|
26
26
|
constructor(injector: Injector, viewCtrl: ModalController, platform: PlatformService, settings: LocalSettingsService, translate: TranslateService, cd: ChangeDetectorRef);
|
|
27
|
-
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
close(event?: UIEvent): Promise<boolean>;
|
|
28
29
|
markAsLoaded(): void;
|
|
29
30
|
onLoadError(error?: string): void;
|
|
30
31
|
}
|