@sumaris-net/ngx-components 18.0.7 → 18.0.9
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 +12 -1
- package/esm2022/src/app/core/about/about.modal.mjs +6 -4
- package/esm2022/src/app/core/about/about.module.mjs +5 -4
- package/esm2022/src/app/core/form/buttons/form-buttons-bar.component.mjs +3 -3
- package/esm2022/src/app/core/services/config/core.config.mjs +6 -1
- package/esm2022/src/app/shared/hotkeys/dialog/hotkeys-dialog.component.mjs +1 -1
- package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +40 -11
- package/esm2022/src/app/shared/material/latlong/material.latlong.mjs +33 -10
- package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +2 -2
- package/fesm2022/sumaris-net.ngx-components.mjs +84 -26
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +6 -4
- package/src/app/core/about/about.modal.d.ts +1 -1
- package/src/app/core/about/about.module.d.ts +2 -1
- package/src/app/core/services/config/core.config.d.ts +1 -0
- package/src/app/shared/hotkeys/hotkeys.service.d.ts +5 -0
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/app/shared/material/latlong/material.latlong.d.ts +3 -0
- package/src/assets/i18n/en-US.json +1 -0
- package/src/assets/i18n/en.json +1 -0
- package/src/assets/i18n/fr.json +1 -0
- 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.0.
|
|
4
|
+
"version": "18.0.9",
|
|
5
5
|
"author": "contact@e-is.pro",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
7
7
|
"readmeFilename": "README.md",
|
|
@@ -35,8 +35,7 @@
|
|
|
35
35
|
"d3": "~7.6.1",
|
|
36
36
|
"localforage": "~1.10.0",
|
|
37
37
|
"rxjs": "~7.8.1",
|
|
38
|
-
"zone.js": "~0.14.10"
|
|
39
|
-
"@typescript-eslint/utils": "7.2.0"
|
|
38
|
+
"zone.js": "~0.14.10"
|
|
40
39
|
},
|
|
41
40
|
"optionalDependencies": {
|
|
42
41
|
"@awesome-cordova-plugins/core": "~6.4.0",
|
|
@@ -59,7 +58,10 @@
|
|
|
59
58
|
"clovelced-plugin-audiomanagement": "~1.0.2",
|
|
60
59
|
"cordova-sqlite-storage": "~6.0.0",
|
|
61
60
|
"integrator-cordova-plugin-downloader": "~1.1.0",
|
|
62
|
-
"localforage-cordovasqlitedriver": "~1.8.0"
|
|
61
|
+
"localforage-cordovasqlitedriver": "~1.8.0",
|
|
62
|
+
"clipboard": "^2.0.11",
|
|
63
|
+
"emoji-toolkit": ">= 8.0.0 < 10.0.0",
|
|
64
|
+
"prismjs": "^1.28.0"
|
|
63
65
|
},
|
|
64
66
|
"repository": {
|
|
65
67
|
"type": "git",
|
|
@@ -18,8 +18,8 @@ export declare class AboutModal implements OnDestroy {
|
|
|
18
18
|
readonly name: string;
|
|
19
19
|
readonly version: string;
|
|
20
20
|
readonly sourceUrl: string;
|
|
21
|
-
readonly reportIssueUrl: string;
|
|
22
21
|
readonly config$: Observable<Configuration>;
|
|
22
|
+
reportIssueUrl: string;
|
|
23
23
|
forumUrl: string;
|
|
24
24
|
helpUrl: string;
|
|
25
25
|
private readonly _subscription;
|
|
@@ -3,8 +3,9 @@ import * as i1 from "./about.modal";
|
|
|
3
3
|
import * as i2 from "../../shared/shared.module";
|
|
4
4
|
import * as i3 from "@ionic/angular";
|
|
5
5
|
import * as i4 from "@ngx-translate/core";
|
|
6
|
+
import * as i5 from "ngx-markdown";
|
|
6
7
|
export declare class AppAboutModalModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppAboutModalModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AppAboutModalModule, [typeof i1.AboutModal], [typeof i2.SharedModule, typeof i3.IonicModule, typeof i4.TranslateModule], [typeof i4.TranslateModule, typeof i1.AboutModal]>;
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AppAboutModalModule, [typeof i1.AboutModal], [typeof i2.SharedModule, typeof i3.IonicModule, typeof i4.TranslateModule, typeof i5.MarkdownModule], [typeof i4.TranslateModule, typeof i1.AboutModal]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<AppAboutModalModule>;
|
|
10
11
|
}
|
|
@@ -20,6 +20,7 @@ export declare const CORE_CONFIG_OPTIONS: Readonly<{
|
|
|
20
20
|
APP_MIN_VERSION: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
21
21
|
HELP_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
22
22
|
FORUM_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
23
|
+
REPORT_ISSUE_URL: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
23
24
|
LOGO_LARGE: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
24
25
|
MENU_ITEMS: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
25
26
|
HOME_PARTNERS_DEPARTMENTS: FormFieldDefinition<string, import("../../../shared/form/field.model").FormFieldType, any>;
|
|
@@ -28,16 +28,21 @@ export declare class Hotkeys {
|
|
|
28
28
|
private modalController;
|
|
29
29
|
private popoverController;
|
|
30
30
|
private _debug;
|
|
31
|
+
private _id;
|
|
31
32
|
private _hotkeys;
|
|
32
33
|
private _document;
|
|
33
34
|
private _defaults;
|
|
34
35
|
private _dialogRef;
|
|
36
|
+
private _dialogIsOpened;
|
|
35
37
|
private _config;
|
|
36
38
|
readonly defaultControlKey: string;
|
|
37
39
|
readonly defaultControlKeyName: string;
|
|
40
|
+
get isHelpModalOpened(): boolean;
|
|
38
41
|
constructor(platform: Platform, eventManager: EventManager, dialog: MatDialog, modalController: ModalController, popoverController: PopoverController, config?: Partial<HotKeysConfig>);
|
|
39
42
|
addShortcut(options: Partial<Options>): Observable<KeyboardEvent>;
|
|
43
|
+
toggleHelpModal(): void;
|
|
40
44
|
openHelpModal(): void;
|
|
45
|
+
closeHelpModal(): void;
|
|
41
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<Hotkeys, [null, null, null, null, null, { optional: true; }]>;
|
|
42
47
|
static ɵprov: i0.ɵɵInjectableDeclaration<Hotkeys>;
|
|
43
48
|
}
|
|
@@ -16,7 +16,7 @@ export interface InputElement extends FocusableElement {
|
|
|
16
16
|
}
|
|
17
17
|
export declare function isInputElement(object: any): object is InputElement;
|
|
18
18
|
export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
|
|
19
|
-
export declare function tabindexComparator(a: InputElement, b: InputElement):
|
|
19
|
+
export declare function tabindexComparator(a: InputElement, b: InputElement): 0 | 1 | -1;
|
|
20
20
|
export interface CanGainFocusOptions {
|
|
21
21
|
minTabindex?: number;
|
|
22
22
|
maxTabindex?: number;
|
|
@@ -61,6 +61,9 @@ export declare class MatLatLongField implements OnInit, OnDestroy, ControlValueA
|
|
|
61
61
|
_onFocus(event: FocusEvent): boolean;
|
|
62
62
|
_onBlur(event: FocusEvent): void;
|
|
63
63
|
protected _format(value: number, opts?: Partial<LatLongFormatOptions>): string;
|
|
64
|
+
protected _checkIfTouched(): void;
|
|
65
|
+
private onFormChange;
|
|
66
|
+
private emitChange;
|
|
64
67
|
private updateTranslations;
|
|
65
68
|
private parseValue;
|
|
66
69
|
private markForCheck;
|
|
@@ -157,6 +157,7 @@
|
|
|
157
157
|
"APP_MIN_VERSION": "App > Minimal compatible version (x.y.z)",
|
|
158
158
|
"HELP_URL": "App > User manual (URL)",
|
|
159
159
|
"FORUM_URL": "App > Forum address (URL)",
|
|
160
|
+
"REPORT_ISSUE_URL": "App > Address to report an issue (URL)",
|
|
160
161
|
"ACCOUNT": {
|
|
161
162
|
"ENABLE_LATLONG_FORMAT": "My Account > Settings > Enable lat/lon format?",
|
|
162
163
|
"READONLY": "My Account > Readonly profile? (readonly option)"
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -156,6 +156,7 @@
|
|
|
156
156
|
"APP_MIN_VERSION": "App > Minimal compatible version (x.y.z)",
|
|
157
157
|
"HELP_URL": "App > User manual (URL)",
|
|
158
158
|
"FORUM_URL": "App > Forum address (URL)",
|
|
159
|
+
"REPORT_ISSUE_URL": "App > Address to report an issue (URL)",
|
|
159
160
|
"ACCOUNT": {
|
|
160
161
|
"ENABLE_LATLONG_FORMAT": "My Account > Settings > Enable lat/lon format?",
|
|
161
162
|
"READONLY": "My Account > Readonly profile? (readonly option)"
|
package/src/assets/i18n/fr.json
CHANGED
|
@@ -156,6 +156,7 @@
|
|
|
156
156
|
"APP_MIN_VERSION": "App > Version minimale compatible (x.y.z)",
|
|
157
157
|
"HELP_URL": "App > Adresse du manuel utilisateur (URL)",
|
|
158
158
|
"FORUM_URL": "App > Adresse du forum (URL)",
|
|
159
|
+
"REPORT_ISSUE_URL": "App > Adresse pour remonter un problème (URL)",
|
|
159
160
|
"ACCOUNT": {
|
|
160
161
|
"ENABLE_LATLONG_FORMAT": "Mon Compte > Préférences > Activer le format lat/lon ?",
|
|
161
162
|
"READONLY": "Mon Compte > Profil en lecture seule ? (option non modifiable)"
|
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.0.
|
|
5
|
+
"version": "18.0.9",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|