@sumaris-net/ngx-components 2.6.11 → 2.6.13
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/esm2020/src/app/admin/users/users.mjs +6 -21
- package/esm2020/src/app/core/form/entity/entity-metadata.component.mjs +3 -3
- package/esm2020/src/app/social/message/message.form.mjs +3 -3
- package/esm2020/src/app/social/message/message.service.mjs +29 -8
- package/fesm2015/sumaris-net.ngx-components.mjs +37 -29
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +35 -29
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/core/form/entity/entity-metadata.component.d.ts +1 -1
- package/src/app/social/message/message.service.d.ts +8 -3
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -9,5 +9,5 @@ export declare class EntityMetadataComponent {
|
|
|
9
9
|
};
|
|
10
10
|
showRecorder: boolean;
|
|
11
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<EntityMetadataComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EntityMetadataComponent, "app-entity-metadata", never, { "value": "value"; "showRecorder": "showRecorder"; }, {}, never, ["*"], false>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EntityMetadataComponent, "app-entity-metadata", never, { "value": "value"; "showRecorder": "showRecorder"; }, {}, never, ["[recorderSuffix]", "*"], false>;
|
|
13
13
|
}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { GraphqlService } from '../../core/graphql/graphql.service';
|
|
2
|
-
import { ToastController } from '@ionic/angular';
|
|
2
|
+
import { ModalController, ToastController } from '@ionic/angular';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { BaseGraphqlService } from '../../core/services/base-graphql-service.class';
|
|
5
5
|
import { Environment } from '../../../environments/environment.class';
|
|
6
6
|
import { Message, MessageFilter } from './message.model';
|
|
7
7
|
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
8
|
+
import { MessageModalOptions } from './message.modal';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export declare class MessageService extends BaseGraphqlService<Message, MessageFilter> {
|
|
10
11
|
protected graphql: GraphqlService;
|
|
11
12
|
protected translate: TranslateService;
|
|
13
|
+
protected modalCtrl: ModalController;
|
|
12
14
|
protected toastController: ToastController;
|
|
13
15
|
protected environment: Environment;
|
|
14
|
-
constructor(graphql: GraphqlService, translate: TranslateService, toastController: ToastController, environment: Environment);
|
|
16
|
+
constructor(graphql: GraphqlService, translate: TranslateService, modalCtrl: ModalController, toastController: ToastController, environment: Environment);
|
|
15
17
|
/**
|
|
16
18
|
* Send a message to recipient(s)
|
|
17
19
|
*
|
|
@@ -21,7 +23,10 @@ export declare class MessageService extends BaseGraphqlService<Message, MessageF
|
|
|
21
23
|
send(entity: Message, opts?: {
|
|
22
24
|
showToast?: boolean;
|
|
23
25
|
}): Promise<boolean>;
|
|
26
|
+
openComposeModal(options: MessageModalOptions & {
|
|
27
|
+
showToast?: boolean;
|
|
28
|
+
}): Promise<any>;
|
|
24
29
|
protected showToast(opts: ShowToastOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, [null, null, null, { optional: true; }]>;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, [null, null, null, null, { optional: true; }]>;
|
|
26
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
|
|
27
32
|
}
|
package/src/assets/manifest.json
CHANGED
|
@@ -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.
|
|
5
|
+
"version": "2.6.13",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|