@sumaris-net/ngx-components 18.1.1 → 18.1.3
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/doc/changelog.md +11 -1
- package/esm2022/src/app/admin/users/users.mjs +2 -2
- package/esm2022/src/app/core/about/about.modal.mjs +1 -1
- package/esm2022/src/app/core/account/account.page.mjs +1 -1
- package/esm2022/src/app/core/account/new-token.modal.mjs +1 -1
- package/esm2022/src/app/core/account/password/change-password.page.mjs +1 -1
- package/esm2022/src/app/core/account/token.table.mjs +1 -1
- package/esm2022/src/app/core/auth/auth.form.mjs +2 -2
- package/esm2022/src/app/core/auth/auth.modal.mjs +1 -1
- package/esm2022/src/app/core/auth/reset-password.modal.mjs +1 -1
- package/esm2022/src/app/core/form/array/testing/form-array.test.mjs +1 -1
- package/esm2022/src/app/core/form/entity/entity-metadata.component.mjs +2 -2
- package/esm2022/src/app/core/form/list/list.form.mjs +1 -1
- package/esm2022/src/app/core/form/properties/properties.form.mjs +1 -1
- package/esm2022/src/app/core/form/properties/properties.table.mjs +1 -1
- package/esm2022/src/app/core/form/properties/testing/properties-form.test.mjs +1 -1
- package/esm2022/src/app/core/form/text-popover/testing/text-popover.testing.mjs +1 -1
- package/esm2022/src/app/core/form/text-popover/text-popover.component.mjs +1 -1
- package/esm2022/src/app/core/home/home.mjs +3 -3
- package/esm2022/src/app/core/menu/menu.component.mjs +2 -2
- package/esm2022/src/app/core/menu/menu.service.mjs +24 -19
- package/esm2022/src/app/core/menu/testing/menu-other.testing.mjs +1 -1
- package/esm2022/src/app/core/menu/testing/menu.testing.mjs +1 -1
- package/esm2022/src/app/core/peer/select-peer.modal.mjs +2 -2
- package/esm2022/src/app/core/register/register-confirm.page.mjs +1 -1
- package/esm2022/src/app/core/register/register.form.mjs +1 -1
- package/esm2022/src/app/core/register/register.modal.mjs +1 -1
- package/esm2022/src/app/core/services/local-settings.service.mjs +3 -2
- package/esm2022/src/app/core/services/model/settings.model.mjs +4 -2
- package/esm2022/src/app/core/settings/settings.page.mjs +1 -1
- package/esm2022/src/app/core/table/table-select-columns.component.mjs +1 -1
- package/esm2022/src/app/core/table/testing/table.testing.mjs +1 -1
- package/esm2022/src/app/core/table/testing/table2.testing.mjs +1 -1
- package/esm2022/src/app/shared/audio/audio.testing.mjs +1 -1
- package/esm2022/src/app/shared/debug/debug.component.mjs +1 -1
- package/esm2022/src/app/shared/help/help.modal.mjs +1 -1
- package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +5 -5
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +2 -2
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.mjs +1 -1
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +1 -1
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +1 -1
- package/esm2022/src/app/shared/material/badge/badge.test.mjs +1 -1
- package/esm2022/src/app/shared/material/boolean/testing/boolean.test.page.mjs +1 -1
- package/esm2022/src/app/shared/material/chips/testing/chips.test.mjs +1 -1
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +1 -1
- package/esm2022/src/app/shared/material/datetime/testing/mat-date.test.mjs +1 -1
- package/esm2022/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +1 -1
- package/esm2022/src/app/shared/material/duration/testing/mat-duration.test.mjs +1 -1
- package/esm2022/src/app/shared/material/latlong/testing/latlong.test.mjs +1 -1
- package/esm2022/src/app/shared/material/swipe/testing/swipe.test.mjs +1 -1
- package/esm2022/src/app/shared/material/testing/common.test.mjs +1 -1
- package/esm2022/src/app/shared/material/text/testing/text-form.testing.mjs +1 -1
- package/esm2022/src/app/shared/named-filter/testing/named-filter-selector.testing.mjs +1 -1
- package/esm2022/src/app/shared/platforms.mjs +3 -3
- package/esm2022/src/app/shared/storage/storage-explorer.component.mjs +1 -1
- package/esm2022/src/app/shared/testing/maskito.test.mjs +1 -1
- package/esm2022/src/app/shared/testing/observable.test.mjs +1 -1
- package/esm2022/src/app/shared/testing/tests.page.mjs +1 -1
- package/esm2022/src/app/shared/toast/toast.testing.mjs +1 -1
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +1 -1
- package/esm2022/src/app/shared/upload-file/testing/upload-file.testing.mjs +1 -1
- package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +1 -1
- package/esm2022/src/app/shared/upload-file/upload-file.component.mjs +1 -1
- package/esm2022/src/app/social/job/progression/job-progression.component.mjs +1 -1
- package/esm2022/src/app/social/job/progression/job-progression.list.mjs +1 -1
- package/esm2022/src/app/social/job/testing/job-progression.testing.mjs +1 -1
- package/esm2022/src/app/social/message/message.modal.mjs +1 -1
- package/esm2022/src/app/social/user-event/notification/user-event-notification.list.mjs +1 -1
- package/esm2022/src/app/social/user-event/testing/user-event.testing.mjs +1 -1
- package/fesm2022/sumaris-net.ngx-components.mjs +165 -159
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +5 -5
- package/src/app/core/menu/menu.service.d.ts +6 -7
- package/src/app/core/services/model/settings.model.d.ts +1 -1
- package/src/app/shared/hotkeys/hotkeys.service.d.ts +0 -1
- package/src/app/shared/platforms.d.ts +1 -1
- package/src/assets/manifest.json +1 -1
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.1.
|
|
4
|
+
"version": "18.1.3",
|
|
5
5
|
"author": "contact@e-is.pro",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
7
7
|
"readmeFilename": "README.md",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"tslib": "^2.3.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@apollo/client": "
|
|
33
|
-
"@ionic/storage": "
|
|
32
|
+
"@apollo/client": "~3.11.9",
|
|
33
|
+
"@ionic/storage": "~4.0.0",
|
|
34
34
|
"d3": "~7.6.1",
|
|
35
35
|
"localforage": "~1.10.0",
|
|
36
|
-
"rxjs": "
|
|
37
|
-
"zone.js": "
|
|
36
|
+
"rxjs": "~7.8.1",
|
|
37
|
+
"zone.js": "~0.14.10"
|
|
38
38
|
},
|
|
39
39
|
"optionalDependencies": {
|
|
40
40
|
"@awesome-cordova-plugins/core": "~6.4.0",
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { EventEmitter, InjectionToken } from '@angular/core';
|
|
2
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
3
|
-
import { IMenuItem, MenuItem, MenuOptions } from './menu.model';
|
|
4
2
|
import { Router } from '@angular/router';
|
|
3
|
+
import { AlertController, ModalController, NavController } from '@ionic/angular';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
5
6
|
import { Environment } from '../../../environments/environment.class';
|
|
7
|
+
import { StartableObservableService } from '../../shared/services/startable-observable-service.class';
|
|
6
8
|
import { AccountService } from '../services/account.service';
|
|
7
9
|
import { ConfigService } from '../services/config.service';
|
|
8
|
-
import { Account } from '../services/model/account.model';
|
|
9
|
-
import { StartableObservableService } from '../../shared/services/startable-observable-service.class';
|
|
10
10
|
import { LocalSettingsService } from '../services/local-settings.service';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
11
|
+
import { Account } from '../services/model/account.model';
|
|
12
|
+
import { IMenuItem, MenuItem, MenuOptions } from './menu.model';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
export type SplitPaneShowWhen = boolean | 'lg';
|
|
15
15
|
export declare const DEFAULT_MENU_SHOW_WHEN: SplitPaneShowWhen;
|
|
@@ -42,7 +42,6 @@ export declare class MenuService extends StartableObservableService<MenuItem[]>
|
|
|
42
42
|
private readonly _$splitPaneWhen;
|
|
43
43
|
private readonly _$enabled;
|
|
44
44
|
private readonly _$enableSubMenu;
|
|
45
|
-
private readonly _$listenRoute;
|
|
46
45
|
constructor(settings: LocalSettingsService, configService: ConfigService, accountService: AccountService, router: Router, modalCtrl: ModalController, alertController: AlertController, navController: NavController, translate: TranslateService, environment: Environment, options?: MenuOptions, staticItems?: IMenuItem[]);
|
|
47
46
|
get opened(): Observable<boolean>;
|
|
48
47
|
get splitPaneWhen(): Observable<SplitPaneShowWhen>;
|
|
@@ -2,7 +2,7 @@ import { Property, PropertyMap } from '../../../shared/types';
|
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
3
|
import { HistoryPageReference } from './history.model';
|
|
4
4
|
export type UsageMode = 'DESK' | 'FIELD';
|
|
5
|
-
export declare function isOnFieldMode(
|
|
5
|
+
export declare function isOnFieldMode(value: UsageMode): value is 'FIELD';
|
|
6
6
|
export declare interface LocaleConfig extends Property {
|
|
7
7
|
country?: string;
|
|
8
8
|
}
|
|
@@ -6,7 +6,7 @@ export declare const isSafari: (win?: Window) => boolean;
|
|
|
6
6
|
export declare const isEdge: (win?: Window) => boolean;
|
|
7
7
|
export declare const isTouchUi: (win?: Window) => boolean;
|
|
8
8
|
export declare const isIpad: (win: Window) => boolean;
|
|
9
|
-
export declare const
|
|
9
|
+
export declare const isMacOS: (win: Window) => boolean;
|
|
10
10
|
export declare const isIOS: (win: Window) => boolean;
|
|
11
11
|
export declare const isAndroid: (win: Window) => boolean;
|
|
12
12
|
export declare const isCapacitor: (win: any) => boolean;
|
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": "18.1.
|
|
5
|
+
"version": "18.1.3",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|