@sumaris-net/ngx-components 18.6.2 → 18.6.4
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/esm2022/src/app/shared/markdown/markdown.component.mjs +19 -20
- package/esm2022/src/app/shared/markdown/markdown.modal.mjs +19 -5
- package/fesm2022/sumaris-net.ngx-components.mjs +35 -22
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/markdown/markdown.component.d.ts +4 -3
- package/src/app/shared/markdown/markdown.modal.d.ts +5 -2
- package/src/assets/manifest.json +1 -1
package/package.json
CHANGED
|
@@ -53,6 +53,10 @@ export declare class AppMarkdownContent implements AppMarkdownOptions, OnDestroy
|
|
|
53
53
|
goBack(event?: Event): void;
|
|
54
54
|
get canGoBack(): boolean;
|
|
55
55
|
print(event?: Event): void;
|
|
56
|
+
markAsLoaded(): void;
|
|
57
|
+
markAsLoading(): void;
|
|
58
|
+
setError(error: string | Error): void;
|
|
59
|
+
resetError(): void;
|
|
56
60
|
private createPrintHiddenIframe;
|
|
57
61
|
private injectAppStylesIntoIframe;
|
|
58
62
|
protected setData(value: string, opts?: {
|
|
@@ -67,9 +71,6 @@ export declare class AppMarkdownContent implements AppMarkdownOptions, OnDestroy
|
|
|
67
71
|
protected onReady(): void;
|
|
68
72
|
protected onLoadError(error?: string | Error): void;
|
|
69
73
|
protected startListenClickEvents(): void;
|
|
70
|
-
protected markAsLoaded(): void;
|
|
71
|
-
protected markAsLoading(): void;
|
|
72
|
-
protected resetError(): void;
|
|
73
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppMarkdownContent, [null, null, null, { optional: true; }]>;
|
|
74
75
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppMarkdownContent, "app-markdown-content", never, { "data": { "alias": "data"; "required": false; }; "src": { "alias": "src"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "showError": { "alias": "showError"; "required": false; }; "animated": { "alias": "animated"; "required": false; }; "enableNavigationHistory": { "alias": "enableNavigationHistory"; "required": false; }; "updateRouteLocation": { "alias": "updateRouteLocation"; "required": false; }; }, { "markdownUrlChange": "markdownUrlChange"; }, never, never, false, never>;
|
|
75
76
|
static ngAcceptInputType_debug: unknown;
|
|
@@ -22,18 +22,21 @@ export declare class AppMarkdownModal implements AppMarkdownModalOptions {
|
|
|
22
22
|
protected translate: TranslateService;
|
|
23
23
|
protected network: NetworkService;
|
|
24
24
|
protected cd: ChangeDetectorRef;
|
|
25
|
-
protected loading: boolean;
|
|
26
|
-
protected error: string;
|
|
27
25
|
debug: boolean;
|
|
28
26
|
title: string;
|
|
29
27
|
showError: boolean;
|
|
30
28
|
canPrint: boolean;
|
|
31
29
|
data: string;
|
|
32
30
|
src: string;
|
|
31
|
+
content: AppMarkdownContent;
|
|
33
32
|
static show(modalCtrl: ModalController, options: AppMarkdownModalOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
34
33
|
constructor(injector: Injector, viewCtrl: ModalController, platform: PlatformService, settings: LocalSettingsService, translate: TranslateService, network: NetworkService, cd: ChangeDetectorRef);
|
|
35
34
|
close(_?: Event): Promise<boolean>;
|
|
36
35
|
goBack(event: Event, content: AppMarkdownContent): void;
|
|
36
|
+
protected markAsLoaded(): void;
|
|
37
|
+
protected markAsLoading(): void;
|
|
38
|
+
protected setError(err: string | Error): void;
|
|
39
|
+
protected resetError(): void;
|
|
37
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppMarkdownModal, never>;
|
|
38
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<AppMarkdownModal, "app-markdown-modal", never, { "debug": { "alias": "debug"; "required": false; }; "title": { "alias": "title"; "required": false; }; "showError": { "alias": "showError"; "required": false; }; "canPrint": { "alias": "canPrint"; "required": false; }; "data": { "alias": "data"; "required": false; }; "src": { "alias": "src"; "required": false; }; }, {}, never, never, false, never>;
|
|
39
42
|
}
|
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.6.
|
|
5
|
+
"version": "18.6.4",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|