@sumaris-net/ngx-components 1.22.0 → 1.22.1
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 +3621 -3593
- 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/doc/changelog.md +3 -0
- package/esm2015/src/app/core/core.module.js +5 -5
- package/esm2015/src/app/core/icon/icon.module.js +26 -0
- package/esm2015/src/app/core/menu/menu.component.js +9 -5
- package/esm2015/src/app/core/menu/menu.model.js +3 -1
- package/esm2015/src/app/core/menu/menu.module.js +4 -2
- package/esm2015/src/app/social/job/progression/job-progression.list.js +1 -1
- package/esm2015/src/app/social/user-event/notification/user-event-notification.component.js +1 -1
- package/esm2015/src/app/social/user-event/notification/user-event-notification.list.js +3 -3
- package/esm2015/src/app/social/user-event/user-event.module.js +4 -4
- package/esm2015/sumaris-net.ngx-components.js +17 -16
- package/fesm2015/sumaris-net.ngx-components.js +3132 -3104
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/core/icon/icon.module.d.ts +2 -0
- package/src/app/core/menu/menu.component.d.ts +7 -5
- package/src/app/core/menu/menu.model.d.ts +3 -0
- package/src/assets/i18n/en-US.json +2 -1
- package/src/assets/i18n/en.json +2 -1
- package/src/assets/i18n/fr.json +3 -2
- package/sumaris-net.ngx-components.d.ts +16 -15
- package/sumaris-net.ngx-components.metadata.json +1 -1
package/package.json
CHANGED
|
@@ -9,8 +9,9 @@ import { ConfigService } from '../services/config.service';
|
|
|
9
9
|
import { HammerSwipeEvent } from '../../shared/gesture/hammer.utils';
|
|
10
10
|
import { PlatformService } from '../services/platform.service';
|
|
11
11
|
import { MenuService, SplitPaneShowWhen } from './menu.service';
|
|
12
|
-
import { MenuItem } from './menu.model';
|
|
12
|
+
import { MenuConfig, MenuItem } from './menu.model';
|
|
13
13
|
export declare const APP_MENU_ITEMS: InjectionToken<MenuItem[]>;
|
|
14
|
+
export declare const APP_MENU_CONFIG: InjectionToken<MenuConfig>;
|
|
14
15
|
export declare class MenuComponent implements OnInit {
|
|
15
16
|
protected platformService: PlatformService;
|
|
16
17
|
protected accountService: AccountService;
|
|
@@ -37,11 +38,12 @@ export declare class MenuComponent implements OnInit {
|
|
|
37
38
|
menuId: string;
|
|
38
39
|
side: string;
|
|
39
40
|
contentId: string;
|
|
40
|
-
logo:
|
|
41
|
-
appName:
|
|
42
|
-
appVersion:
|
|
41
|
+
logo: string;
|
|
42
|
+
appName: string;
|
|
43
|
+
appVersion: string;
|
|
44
|
+
showNotification: boolean;
|
|
43
45
|
splitPane: IonSplitPane;
|
|
44
|
-
constructor(platformService: PlatformService, accountService: AccountService, router: Router, menu: MenuController, modalCtrl: ModalController, alertController: AlertController, translate: TranslateService, configService: ConfigService, cd: ChangeDetectorRef, menuService: MenuService, environment: any, items: MenuItem[]);
|
|
46
|
+
constructor(platformService: PlatformService, accountService: AccountService, router: Router, menu: MenuController, modalCtrl: ModalController, alertController: AlertController, translate: TranslateService, configService: ConfigService, cd: ChangeDetectorRef, menuService: MenuService, environment: any, config: MenuConfig, items: MenuItem[]);
|
|
45
47
|
ngOnInit(): Promise<void>;
|
|
46
48
|
onLogin(account: Account): Promise<void>;
|
|
47
49
|
onLogout(skipRedirect?: boolean): Promise<void>;
|
package/src/assets/i18n/en.json
CHANGED
package/src/assets/i18n/fr.json
CHANGED
|
@@ -195,7 +195,8 @@
|
|
|
195
195
|
"FOOTER_VERSION_ABOUT": "v{{version}} | à propos",
|
|
196
196
|
"LOCAL_SETTINGS": "Paramètres",
|
|
197
197
|
"LOGOUT": "Se déconnecter",
|
|
198
|
-
"ABOUT": "À propos"
|
|
198
|
+
"ABOUT": "À propos",
|
|
199
|
+
"BTN_MY_ACCOUNT": "Mon compte"
|
|
199
200
|
},
|
|
200
201
|
"ABOUT": {
|
|
201
202
|
"TITLE": "À propos",
|
|
@@ -393,7 +394,7 @@
|
|
|
393
394
|
"NOTIFICATION": {
|
|
394
395
|
"TITLE": "Notifications",
|
|
395
396
|
"EMPTY": "Aucune notification",
|
|
396
|
-
"READ_ALL": "
|
|
397
|
+
"READ_ALL": "Tout marquer comme lu"
|
|
397
398
|
},
|
|
398
399
|
"EVENT_TYPE": "Type",
|
|
399
400
|
"CREATION_DATE": "Date/Heure",
|
|
@@ -2,21 +2,22 @@
|
|
|
2
2
|
* Generated bundle index. Do not edit.
|
|
3
3
|
*/
|
|
4
4
|
export * from './public_api';
|
|
5
|
-
export { AppIconComponent as
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
5
|
+
export { AppIconComponent as ɵe } from './src/app/core/icon/icon.component';
|
|
6
|
+
export { AppIconModule as ɵd } from './src/app/core/icon/icon.module';
|
|
7
|
+
export { AppUpdateOfflineModeCard as ɵm } from './src/app/core/offline/update-offline-mode-card.component';
|
|
8
|
+
export { RegisterForm as ɵh } from './src/app/core/register/form/form-register';
|
|
9
|
+
export { RegisterModal as ɵj } from './src/app/core/register/modal/modal-register';
|
|
10
|
+
export { AccountValidatorService as ɵi } from './src/app/core/services/validator/account.validator';
|
|
11
|
+
export { LocalSettingsValidatorService as ɵl } from './src/app/core/services/validator/local-settings.validator';
|
|
12
|
+
export { UserSettingsValidatorService as ɵk } from './src/app/core/services/validator/user-settings.validator';
|
|
12
13
|
export { isFocusableElement as ɵc } from './src/app/shared/focusable';
|
|
13
|
-
export { MatBadgeIconTestPage as
|
|
14
|
-
export { DateTestPage as
|
|
14
|
+
export { MatBadgeIconTestPage as ɵq } from './src/app/shared/material/badge/badge-icon.test';
|
|
15
|
+
export { DateTestPage as ɵo } from './src/app/shared/material/datetime/testing/mat-date.test';
|
|
15
16
|
export { MatNumpadDomService as ɵb } from './src/app/shared/material/numpad/numpad.dom-service';
|
|
16
|
-
export { NumpadTestPage as
|
|
17
|
+
export { NumpadTestPage as ɵp } from './src/app/shared/material/numpad/testing/numpad.test';
|
|
17
18
|
export { CustomReuseStrategy as ɵa } from './src/app/shared/shared-routing.module';
|
|
18
|
-
export { ToastTestingPage as
|
|
19
|
-
export { ToastTestingModule as
|
|
20
|
-
export { JobProgressionList as
|
|
21
|
-
export { UserEventNotificationList as
|
|
22
|
-
export { UserEventTestService as
|
|
19
|
+
export { ToastTestingPage as ɵs } from './src/app/shared/toast/toast.testing';
|
|
20
|
+
export { ToastTestingModule as ɵr } from './src/app/shared/toast/toast.testing.module';
|
|
21
|
+
export { JobProgressionList as ɵn } from './src/app/social/job/progression/job-progression.list';
|
|
22
|
+
export { UserEventNotificationList as ɵf } from './src/app/social/user-event/notification/user-event-notification.list';
|
|
23
|
+
export { UserEventTestService as ɵg } from './src/app/social/user-event/testing/user-event.testing.service';
|