@sumaris-net/ngx-components 18.7.0 → 18.7.1-rc1
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 +94 -0
- package/esm2022/public_api.mjs +4 -1
- package/esm2022/src/app/admin/users/users.mjs +2 -2
- package/esm2022/src/app/core/account/account.page.mjs +1 -1
- package/esm2022/src/app/core/account/password/change-password.page.mjs +2 -2
- package/esm2022/src/app/core/form/entity/entity-metadata.component.mjs +3 -3
- package/esm2022/src/app/core/form/list/list.form.mjs +2 -2
- package/esm2022/src/app/core/form/properties/properties.form.mjs +15 -6
- package/esm2022/src/app/core/form/properties/properties.utils.mjs +9 -10
- package/esm2022/src/app/core/home/home.mjs +4 -2
- package/esm2022/src/app/core/menu/menu.component.mjs +19 -24
- package/esm2022/src/app/core/menu/menu.service.mjs +6 -3
- 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/register/register-confirm.page.mjs +1 -1
- package/esm2022/src/app/core/register/register.form.mjs +1 -1
- package/esm2022/src/app/core/services/model/entity.model.mjs +14 -5
- package/esm2022/src/app/core/services/platform.service.mjs +27 -10
- package/esm2022/src/app/core/settings/settings.page.mjs +1 -1
- package/esm2022/src/app/core/table/column/actions-column.component.mjs +3 -3
- package/esm2022/src/app/core/table/column/row-field.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/dates.mjs +13 -1
- package/esm2022/src/app/shared/directives/autoresize.directive.mjs +75 -0
- package/esm2022/src/app/shared/directives/directives.module.mjs +5 -4
- package/esm2022/src/app/shared/form/field.component.mjs +10 -4
- package/esm2022/src/app/shared/forms.mjs +3 -1
- package/esm2022/src/app/shared/functions.mjs +7 -1
- package/esm2022/src/app/shared/hotkeys/hotkeys.service.mjs +3 -2
- package/esm2022/src/app/shared/image/gallery/image-gallery.component.mjs +11 -4
- package/esm2022/src/app/shared/image/gallery/testing/gallery.testing.mjs +1 -1
- package/esm2022/src/app/shared/markdown/markdown.component.mjs +55 -81
- package/esm2022/src/app/shared/markdown/markdown.modal.mjs +17 -10
- package/esm2022/src/app/shared/markdown/markdown.service.mjs +7 -5
- package/esm2022/src/app/shared/markdown/markdown.utils.mjs +8 -1
- package/esm2022/src/app/shared/markdown/testing/markdown.test.mjs +16 -7
- package/esm2022/src/app/shared/material/autocomplete/material.autocomplete.mjs +71 -36
- package/esm2022/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +3 -3
- package/esm2022/src/app/shared/material/boolean/material.boolean.mjs +2 -2
- package/esm2022/src/app/shared/material/chips/material.chips.mjs +13 -5
- package/esm2022/src/app/shared/material/datetime/material.datetime.mjs +19 -9
- package/esm2022/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +4 -4
- package/esm2022/src/app/shared/material/text/text-form.component.mjs +5 -4
- package/esm2022/src/app/shared/named-filter/named-filter-selector.component.mjs +3 -3
- package/esm2022/src/app/shared/named-filter/testing/named-filter-selector.testing.mjs +1 -1
- package/esm2022/src/app/shared/observables.mjs +5 -5
- package/esm2022/src/app/shared/pipes/arrays.pipe.mjs +18 -2
- package/esm2022/src/app/shared/pipes/duration.pipe.mjs +3 -12
- package/esm2022/src/app/shared/pipes/html.pipes.mjs +18 -1
- package/esm2022/src/app/shared/pipes/observable.pipes.mjs +44 -0
- package/esm2022/src/app/shared/pipes/pipes.module.mjs +28 -6
- package/esm2022/src/app/shared/pipes/string.pipes.mjs +35 -4
- package/esm2022/src/app/shared/print/print.service.mjs +305 -0
- package/esm2022/src/app/shared/rx-state/rx-state.decorators.mjs +4 -4
- package/esm2022/src/app/shared/toast/toast.testing.mjs +13 -11
- package/esm2022/src/app/shared/toast/toast.testing.module.mjs +5 -4
- package/esm2022/src/app/shared/toast/toasts.mjs +23 -33
- package/esm2022/src/app/shared/toolbar/modal-toolbar.mjs +3 -3
- package/esm2022/src/app/shared/toolbar/toolbar.mjs +7 -3
- package/esm2022/src/app/shared/upload-file/upload-file-popover.component.mjs +3 -3
- package/esm2022/src/app/shared/validator/form-error-adapter.class.mjs +2 -2
- package/esm2022/src/app/shared/validator/validators.mjs +12 -8
- package/esm2022/src/app/social/message/message.form.mjs +4 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +971 -373
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +3 -0
- package/src/app/core/form/properties/properties.form.d.ts +2 -0
- package/src/app/core/menu/menu.component.d.ts +3 -6
- package/src/app/core/services/model/entity.model.d.ts +5 -3
- package/src/app/core/services/platform.service.d.ts +9 -2
- package/src/app/shared/dates.d.ts +4 -0
- package/src/app/shared/directives/autoresize.directive.d.ts +20 -0
- package/src/app/shared/directives/directives.module.d.ts +4 -3
- package/src/app/shared/form/field.component.d.ts +3 -1
- package/src/app/shared/functions.d.ts +6 -0
- package/src/app/shared/image/gallery/image-gallery.component.d.ts +4 -1
- package/src/app/shared/markdown/markdown.component.d.ts +12 -7
- package/src/app/shared/markdown/markdown.modal.d.ts +9 -2
- package/src/app/shared/markdown/markdown.utils.d.ts +1 -0
- package/src/app/shared/markdown/testing/markdown.test.d.ts +4 -1
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +2 -0
- package/src/app/shared/material/chips/material.chips.d.ts +1 -0
- package/src/app/shared/material/datetime/material.datetime.d.ts +1 -0
- package/src/app/shared/observables.d.ts +2 -2
- package/src/app/shared/pipes/arrays.pipe.d.ts +8 -0
- package/src/app/shared/pipes/html.pipes.d.ts +7 -0
- package/src/app/shared/pipes/observable.pipes.d.ts +19 -0
- package/src/app/shared/pipes/pipes.module.d.ts +5 -4
- package/src/app/shared/pipes/string.pipes.d.ts +11 -1
- package/src/app/shared/print/print.service.d.ts +94 -0
- package/src/app/shared/rx-state/rx-state.decorators.d.ts +2 -2
- package/src/app/shared/toast/toast.testing.d.ts +1 -1
- package/src/app/shared/toast/toast.testing.module.d.ts +2 -1
- package/src/app/shared/toast/toasts.d.ts +2 -3
- package/src/app/shared/toolbar/toolbar.d.ts +3 -1
- package/src/app/shared/validator/validators.d.ts +3 -1
- package/src/assets/i18n/en-US.json +3 -2
- package/src/assets/i18n/en.json +2 -1
- package/src/assets/i18n/fr.json +2 -1
- package/src/assets/manifest.json +1 -1
- package/src/theme/_mixins.scss +7 -0
- package/src/theme/_ngx-components.scss +53 -46
- package/src/theme/_ngx-components.table.scss +4 -1
- package/src/theme/_ngx-components.tabs.scss +11 -0
package/package.json
CHANGED
package/public_api.d.ts
CHANGED
|
@@ -66,6 +66,7 @@ export * from './src/app/shared/directives/throttled-click.directive';
|
|
|
66
66
|
export * from './src/app/shared/directives/resizable/resizable.directive';
|
|
67
67
|
export * from './src/app/shared/directives/resizable/resizable.component';
|
|
68
68
|
export * from './src/app/shared/directives/resizable/resizable.module';
|
|
69
|
+
export * from './src/app/shared/directives/autoresize.directive';
|
|
69
70
|
export * from './src/app/shared/pipes/pipes.module';
|
|
70
71
|
export * from './src/app/shared/pipes/date-format.pipe';
|
|
71
72
|
export * from './src/app/shared/pipes/date-from-now.pipe';
|
|
@@ -81,6 +82,7 @@ export * from './src/app/shared/pipes/math.pipes';
|
|
|
81
82
|
export * from './src/app/shared/pipes/arrays.pipe';
|
|
82
83
|
export * from './src/app/shared/pipes/maps.pipe';
|
|
83
84
|
export * from './src/app/shared/pipes/string.pipes';
|
|
85
|
+
export * from './src/app/shared/pipes/observable.pipes';
|
|
84
86
|
export * from './src/app/shared/pipes/translate-context.pipe';
|
|
85
87
|
export * from './src/app/shared/pipes/ng-init.pipe';
|
|
86
88
|
export * from './src/app/shared/pipes/form.pipes';
|
|
@@ -147,6 +149,7 @@ export * from './src/app/shared/markdown/markdown.service';
|
|
|
147
149
|
export * from './src/app/shared/markdown/markdown.directive';
|
|
148
150
|
export * from './src/app/shared/markdown/markdown.component';
|
|
149
151
|
export * from './src/app/shared/markdown/markdown.modal';
|
|
152
|
+
export * from './src/app/shared/print/print.service';
|
|
150
153
|
export * from './src/app/core/core.module';
|
|
151
154
|
export * from './src/app/core/services/model/account.model';
|
|
152
155
|
export * from './src/app/core/services/model/token.model';
|
|
@@ -74,6 +74,8 @@ export declare class AppPropertiesForm<O = any, T extends Property<O> = Property
|
|
|
74
74
|
removeAt(index: number): void;
|
|
75
75
|
setValue(data: PropertyMap | T[]): Promise<void>;
|
|
76
76
|
getValueAsJson(): PropertyMap;
|
|
77
|
+
clear(): void;
|
|
78
|
+
protected clearTemplateCache(): void;
|
|
77
79
|
protected suggestDefinitionKeys(value: any, filter?: any, sortBy?: string | keyof Property, sortDirection?: SortDirection, opts?: {
|
|
78
80
|
offset?: number;
|
|
79
81
|
size?: number;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { IonSplitPane, MenuController, ModalController, NavController } from '@ionic/angular';
|
|
3
3
|
import { Account } from '../services/model/account.model';
|
|
4
4
|
import { AccountService } from '../services/account.service';
|
|
5
5
|
import { TranslateService } from '@ngx-translate/core';
|
|
6
|
-
import { PlatformService } from '../services/platform.service';
|
|
7
6
|
import { Environment } from '../../../environments/environment.class';
|
|
8
7
|
import { MenuService, SplitPaneShowWhen } from './menu.service';
|
|
9
8
|
import { IMenuItem, MenuItem } from './menu.model';
|
|
@@ -11,12 +10,10 @@ import { ActivatedRoute, Router } from '@angular/router';
|
|
|
11
10
|
import { RxStrategyNames } from '@rx-angular/cdk/render-strategies';
|
|
12
11
|
import * as i0 from "@angular/core";
|
|
13
12
|
export declare class MenuComponent implements OnInit {
|
|
14
|
-
protected platformService: PlatformService;
|
|
15
13
|
protected accountService: AccountService;
|
|
16
14
|
protected navController: NavController;
|
|
17
15
|
protected menu: MenuController;
|
|
18
16
|
protected modalCtrl: ModalController;
|
|
19
|
-
protected alertController: AlertController;
|
|
20
17
|
protected translate: TranslateService;
|
|
21
18
|
protected cd: ChangeDetectorRef;
|
|
22
19
|
protected menuService: MenuService;
|
|
@@ -39,7 +36,7 @@ export declare class MenuComponent implements OnInit {
|
|
|
39
36
|
accountEmail: string;
|
|
40
37
|
private readonly _debug;
|
|
41
38
|
private _subscription;
|
|
42
|
-
constructor(
|
|
39
|
+
constructor(accountService: AccountService, navController: NavController, menu: MenuController, modalCtrl: ModalController, translate: TranslateService, cd: ChangeDetectorRef, menuService: MenuService, router: Router, environment: Environment, route: ActivatedRoute);
|
|
43
40
|
ngOnInit(): Promise<void>;
|
|
44
41
|
onLogin(account: Account): Promise<void>;
|
|
45
42
|
onLogout(skipRedirect?: boolean): Promise<void>;
|
|
@@ -64,6 +61,6 @@ export declare class MenuComponent implements OnInit {
|
|
|
64
61
|
protected detectChanges(): void;
|
|
65
62
|
protected markForCheck(): void;
|
|
66
63
|
protected togglePinned(event: Event, item: IMenuItem): void;
|
|
67
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, [null, null, null, null, null, null, null, null, null,
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, [null, null, null, null, null, null, null, null, null, { optional: true; }]>;
|
|
68
65
|
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "app-menu", never, { "id": { "alias": "id"; "required": false; }; "menuId": { "alias": "menuId"; "required": false; }; "side": { "alias": "side"; "required": false; }; "contentId": { "alias": "contentId"; "required": false; }; "logo": { "alias": "logo"; "required": false; }; "appName": { "alias": "appName"; "required": false; }; "rxStrategy": { "alias": "rxStrategy"; "required": false; }; "appVersion": { "alias": "appVersion"; "required": false; }; }, {}, never, ["*", "[headerBottomRight]"], false, never>;
|
|
69
66
|
}
|
|
@@ -44,8 +44,8 @@ export declare abstract class Entity<T extends Entity<T, ID, AO, FO>, ID = numbe
|
|
|
44
44
|
export declare function isInstanceOf<T>(obj: any, constructor: new (...args: any[]) => T): obj is T;
|
|
45
45
|
export declare abstract class EntityUtils {
|
|
46
46
|
static isEntity<T extends IEntity<any>>(obj: T | any): obj is T;
|
|
47
|
-
static isNotEmpty<T extends IEntity<any> | any>(obj: T, checkedAttribute
|
|
48
|
-
static isEmpty<T extends IEntity<any> | any>(obj: T, checkedAttribute
|
|
47
|
+
static isNotEmpty<T extends IEntity<any> | any>(obj: T, checkedAttribute?: keyof T): boolean;
|
|
48
|
+
static isEmpty<T extends IEntity<any> | any>(obj: T, checkedAttribute?: keyof T): boolean;
|
|
49
49
|
static equals<T extends IEntity<any> | any>(o1: T, o2: T, checkAttribute?: keyof T): boolean;
|
|
50
50
|
static getPropertyByPath: typeof getPropertyByPath;
|
|
51
51
|
static getArrayAsMap<T = any>(source?: ObjectMapEntry<T>[]): ObjectMap<T>;
|
|
@@ -81,7 +81,8 @@ export declare abstract class EntityUtils {
|
|
|
81
81
|
static isLocalId(id: number): boolean;
|
|
82
82
|
static isRemoteId(id: number): boolean;
|
|
83
83
|
static getId<T extends IEntity<T, ID> = IEntity<any, any>, ID = any>(entity: T): ID;
|
|
84
|
-
static hasId<T extends IEntity<
|
|
84
|
+
static hasId<T extends IEntity<any, any> = IEntity<any, any>>(entity: T): boolean;
|
|
85
|
+
static hasNilId<T extends IEntity<any, any> = IEntity<any, any>>(entity: T): boolean;
|
|
85
86
|
/**
|
|
86
87
|
* Splits an array of entities into a key-value map using an entity ID as the key.
|
|
87
88
|
*
|
|
@@ -101,4 +102,5 @@ export declare abstract class EntityUtils {
|
|
|
101
102
|
*/
|
|
102
103
|
static collectById<T extends IEntity<T, ID>, ID = any>(entities: T[]): ID[];
|
|
103
104
|
static arrayDistinctFilterFn<E extends IEntity<any, any>>(item: E, index: number, values: E[]): boolean;
|
|
105
|
+
static findById<E extends IEntity<any, ID> = IEntity<any, any>, ID = number>(items: E[], id: ID): E | undefined;
|
|
104
106
|
}
|
|
@@ -9,7 +9,7 @@ import { EntitiesStorage } from './storage/entities-storage.service';
|
|
|
9
9
|
import { ShowToastOptions } from '../../shared/toast/toasts';
|
|
10
10
|
import { TranslateService } from '@ngx-translate/core';
|
|
11
11
|
import { AccountService } from './account.service';
|
|
12
|
-
import { Observable } from 'rxjs';
|
|
12
|
+
import { BehaviorSubject, Observable } from 'rxjs';
|
|
13
13
|
import { Environment } from '../../../environments/environment.class';
|
|
14
14
|
import { ConfigService } from './config.service';
|
|
15
15
|
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
@@ -47,6 +47,7 @@ export declare class PlatformService extends StartableService {
|
|
|
47
47
|
private _capacitor;
|
|
48
48
|
private _android;
|
|
49
49
|
private _ios;
|
|
50
|
+
busySubject: BehaviorSubject<boolean>;
|
|
50
51
|
constructor(ionicPlatform: Platform, cdkPlatform: CdkPlatform, cdkClipboard: CdkClipboard, toastController: ToastController, translate: TranslateService, dateAdapter: MomentDateAdapter, entitiesStorage: EntitiesStorage, settings: LocalSettingsService, networkService: NetworkService, accountService: AccountService, configService: ConfigService, cache: CacheService, audioProvider: AudioProvider, environment: Environment, loggingService: ILoggingService, downloader: Downloader);
|
|
51
52
|
private _downloadingJobs;
|
|
52
53
|
private checkAppVersionTimer;
|
|
@@ -78,6 +79,11 @@ export declare class PlatformService extends StartableService {
|
|
|
78
79
|
width(): number;
|
|
79
80
|
height(): number;
|
|
80
81
|
protected ngOnStart(): Promise<any>;
|
|
82
|
+
/**
|
|
83
|
+
* Used to show a backdrop when platform is busy (e.g. from the app.component.ts)
|
|
84
|
+
*/
|
|
85
|
+
markAsBusy(): void;
|
|
86
|
+
markAsNotBusy(): void;
|
|
81
87
|
open(url: string, opts?: Omit<OpenOptions, 'url'>): Promise<void>;
|
|
82
88
|
getDownloadingJob(uri: string): Observable<string>;
|
|
83
89
|
download(request: {
|
|
@@ -86,6 +92,8 @@ export declare class PlatformService extends StartableService {
|
|
|
86
92
|
} & Partial<DownloadRequest>): Observable<string | undefined>;
|
|
87
93
|
copyToClipboard(data: string | WriteOptions, opts?: ShowToastOptions): Promise<void>;
|
|
88
94
|
toggleDarkTheme(enable: boolean): void;
|
|
95
|
+
showToast(opts: ShowToastOptions): Promise<HTMLIonToastElement>;
|
|
96
|
+
closeToast(id?: string): Promise<boolean>;
|
|
89
97
|
protected configureTheme(mobile: boolean, win?: any): Promise<void>;
|
|
90
98
|
protected configureCapacitorPlugins(): Promise<void>;
|
|
91
99
|
protected configureTranslate(): void;
|
|
@@ -95,7 +103,6 @@ export declare class PlatformService extends StartableService {
|
|
|
95
103
|
canReload?: boolean;
|
|
96
104
|
silent?: boolean;
|
|
97
105
|
}): Promise<void>;
|
|
98
|
-
protected showToast(opts: ShowToastOptions): Promise<HTMLIonToastElement>;
|
|
99
106
|
protected onStartupError(err: any): Promise<void>;
|
|
100
107
|
static ɵfac: i0.ɵɵFactoryDeclaration<PlatformService, [null, null, null, null, null, null, null, null, null, null, null, null, null, null, { optional: true; }, { optional: true; }]>;
|
|
101
108
|
static ɵprov: i0.ɵɵInjectableDeclaration<PlatformService>;
|
|
@@ -48,6 +48,10 @@ export declare class DateUtils {
|
|
|
48
48
|
* @param timezone
|
|
49
49
|
*/
|
|
50
50
|
static isAtDay(date: string | Moment, weekday: number, timezone?: string): boolean;
|
|
51
|
+
static durationToString(value: number, dayUnit: string, opts?: unitOfTime.DurationConstructor | {
|
|
52
|
+
unit?: unitOfTime.DurationConstructor;
|
|
53
|
+
seconds?: boolean;
|
|
54
|
+
} | any): string;
|
|
51
55
|
}
|
|
52
56
|
export declare function toDateISOString(value: any): string | undefined;
|
|
53
57
|
export declare function fromDateISOString(value: any): Moment | undefined;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { CdkTextareaAutosize } from '@angular/cdk/text-field';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AutoResizeDirective implements AfterViewInit {
|
|
5
|
+
readonly element: ElementRef<HTMLTextAreaElement>;
|
|
6
|
+
readonly cdkDirective: CdkTextareaAutosize;
|
|
7
|
+
private get _cachedLineHeight();
|
|
8
|
+
private get _previousValue();
|
|
9
|
+
private set _previousValue(value);
|
|
10
|
+
maxRows: number;
|
|
11
|
+
minRows: number;
|
|
12
|
+
constructor(element: ElementRef<HTMLTextAreaElement>, cdkDirective: CdkTextareaAutosize);
|
|
13
|
+
ngAfterViewInit(): void;
|
|
14
|
+
onInput(): void;
|
|
15
|
+
private doResize;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AutoResizeDirective, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<AutoResizeDirective, "textarea[cdkTextareaAutosize]", never, { "maxRows": { "alias": "cdkAutosizeMaxRows"; "required": false; }; "minRows": { "alias": "cdkAutosizeMinRows"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
|
+
static ngAcceptInputType_maxRows: unknown;
|
|
19
|
+
static ngAcceptInputType_minRows: unknown;
|
|
20
|
+
}
|
|
@@ -4,10 +4,11 @@ import * as i2 from "./ng-var.directive";
|
|
|
4
4
|
import * as i3 from "./drag-and-drop.directive";
|
|
5
5
|
import * as i4 from "./autotitle.directive";
|
|
6
6
|
import * as i5 from "./throttled-click.directive";
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "@
|
|
7
|
+
import * as i6 from "./autoresize.directive";
|
|
8
|
+
import * as i7 from "@angular/common";
|
|
9
|
+
import * as i8 from "@ionic/angular";
|
|
9
10
|
export declare class SharedDirectivesModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedDirectivesModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectivesModule, [typeof i1.AutofocusDirective, typeof i2.NgVarDirective, typeof i3.DragAndDropDirective, typeof i4.AutoTitleDirective, typeof i5.ThrottledClickDirective], [typeof
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedDirectivesModule, [typeof i1.AutofocusDirective, typeof i2.NgVarDirective, typeof i3.DragAndDropDirective, typeof i4.AutoTitleDirective, typeof i5.ThrottledClickDirective, typeof i6.AutoResizeDirective], [typeof i7.CommonModule, typeof i8.IonicModule], [typeof i1.AutofocusDirective, typeof i2.NgVarDirective, typeof i3.DragAndDropDirective, typeof i4.AutoTitleDirective, typeof i5.ThrottledClickDirective, typeof i6.AutoResizeDirective]>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedDirectivesModule>;
|
|
13
14
|
}
|
|
@@ -40,6 +40,8 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
|
|
|
40
40
|
chipColor: ThemePalette | PredefinedColors;
|
|
41
41
|
classList: string;
|
|
42
42
|
debug: boolean;
|
|
43
|
+
panelClass: string;
|
|
44
|
+
panelWidth: string;
|
|
43
45
|
onKeyupEnter: EventEmitter<any>;
|
|
44
46
|
get value(): any;
|
|
45
47
|
matInput: ElementRef;
|
|
@@ -70,7 +72,7 @@ export declare class AppFormField implements OnInit, ControlValueAccessor {
|
|
|
70
72
|
}): void;
|
|
71
73
|
protected updateTabIndex(timeout?: number): void;
|
|
72
74
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppFormField, [null, null, null, { optional: true; }]>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppFormField, "app-form-field", never, { "definition": { "alias": "definition"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hideRequiredMarker": { "alias": "hideRequiredMarker"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "chipColor": { "alias": "chipColor"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; }, { "onKeyupEnter": "keyup.enter"; }, never, ["[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]"], false, never>;
|
|
75
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppFormField, "app-form-field", never, { "definition": { "alias": "definition"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "formControl": { "alias": "formControl"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "compact": { "alias": "compact"; "required": false; }; "required": { "alias": "required"; "required": false; }; "hideRequiredMarker": { "alias": "hideRequiredMarker"; "required": false; }; "floatLabel": { "alias": "floatLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "subscriptSizing": { "alias": "subscriptSizing"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "autofocus": { "alias": "autofocus"; "required": false; }; "clearable": { "alias": "clearable"; "required": false; }; "chipColor": { "alias": "chipColor"; "required": false; }; "classList": { "alias": "class"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "panelWidth": { "alias": "panelWidth"; "required": false; }; }, { "onKeyupEnter": "keyup.enter"; }, never, ["[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matPrefix]", "[matSuffix]", "[matSuffix]"], false, never>;
|
|
74
76
|
static ngAcceptInputType_readonly: unknown;
|
|
75
77
|
static ngAcceptInputType_disabled: unknown;
|
|
76
78
|
static ngAcceptInputType_compact: unknown;
|
|
@@ -88,6 +88,12 @@ export declare function getPropertyByPathAsString(obj: any, path: string | strin
|
|
|
88
88
|
export declare function setPropertyByPath<T = any>(obj: T, path: string | string[], value: any): T;
|
|
89
89
|
export declare function sleep(ms: number): Promise<void>;
|
|
90
90
|
export declare function isPromise<T>(value: T | Promise<T>): value is Promise<T>;
|
|
91
|
+
/**
|
|
92
|
+
* Rounds a numeric value to two decimal places.
|
|
93
|
+
*
|
|
94
|
+
* @param {number | undefined | null} value - The value to be rounded. Can be a number, undefined, or null.
|
|
95
|
+
* @return {number} The rounded value with two decimal places if the input value is a valid number; otherwise, returns the input value.
|
|
96
|
+
*/
|
|
91
97
|
export declare function round(value: number | undefined | null): number;
|
|
92
98
|
export declare function equalsOrNil(value1: any, value2: any): boolean;
|
|
93
99
|
/**
|
|
@@ -49,8 +49,10 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
49
49
|
showToolbar: boolean;
|
|
50
50
|
showFabButton: boolean;
|
|
51
51
|
showTitle: boolean;
|
|
52
|
+
showAddTextButton: boolean;
|
|
52
53
|
showAddCardButton: boolean;
|
|
53
54
|
addButtonColor: AppColors;
|
|
55
|
+
addButtonText: string;
|
|
54
56
|
set dataSource(dataSource: TableDataSource<T, any, any, any>);
|
|
55
57
|
get dataSource(): TableDataSource<T, any, any, any>;
|
|
56
58
|
get enabled(): boolean;
|
|
@@ -95,7 +97,7 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
95
97
|
}): Promise<boolean>;
|
|
96
98
|
protected markForCheck(): void;
|
|
97
99
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppImageGalleryComponent<any>, [null, null, null, null, null, { optional: true; }]>;
|
|
98
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppImageGalleryComponent<any>, "app-image-gallery", never, { "cardColor": { "alias": "cardColor"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "confirmBeforeDelete": { "alias": "confirmBeforeDelete"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "showFabButton": { "alias": "showFabButton"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showAddCardButton": { "alias": "showAddCardButton"; "required": false; }; "addButtonColor": { "alias": "addButtonColor"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, { "onBeforeDeleteRows": "onBeforeDeleteRows"; "onAfterAddRows": "onAfterAddRows"; "onAfterEditRow": "onAfterEditRow"; }, never, never, false, never>;
|
|
100
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppImageGalleryComponent<any>, "app-image-gallery", never, { "cardColor": { "alias": "cardColor"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "mobile": { "alias": "mobile"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "confirmBeforeDelete": { "alias": "confirmBeforeDelete"; "required": false; }; "showToolbar": { "alias": "showToolbar"; "required": false; }; "showFabButton": { "alias": "showFabButton"; "required": false; }; "showTitle": { "alias": "showTitle"; "required": false; }; "showAddTextButton": { "alias": "showAddTextButton"; "required": false; }; "showAddCardButton": { "alias": "showAddCardButton"; "required": false; }; "addButtonColor": { "alias": "addButtonColor"; "required": false; }; "addButtonText": { "alias": "addButtonText"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; }, { "onBeforeDeleteRows": "onBeforeDeleteRows"; "onAfterAddRows": "onAfterAddRows"; "onAfterEditRow": "onAfterEditRow"; }, never, never, false, never>;
|
|
99
101
|
static ngAcceptInputType_debug: unknown;
|
|
100
102
|
static ngAcceptInputType_disabled: unknown;
|
|
101
103
|
static ngAcceptInputType_readOnly: unknown;
|
|
@@ -103,5 +105,6 @@ export declare class AppImageGalleryComponent<T extends Image> implements OnInit
|
|
|
103
105
|
static ngAcceptInputType_showToolbar: unknown;
|
|
104
106
|
static ngAcceptInputType_showFabButton: unknown;
|
|
105
107
|
static ngAcceptInputType_showTitle: unknown;
|
|
108
|
+
static ngAcceptInputType_showAddTextButton: unknown;
|
|
106
109
|
static ngAcceptInputType_showAddCardButton: unknown;
|
|
107
110
|
}
|
|
@@ -3,8 +3,9 @@ import { LocalSettingsService } from '../../core/services/local-settings.service
|
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
4
|
import { NetworkService } from '../../core/services/network.service';
|
|
5
5
|
import { MarkdownService } from './markdown.service';
|
|
6
|
-
import { NavController } from '@ionic/angular';
|
|
6
|
+
import { NavController, ToastController } from '@ionic/angular';
|
|
7
7
|
import { ActivatedRoute } from '@angular/router';
|
|
8
|
+
import { PrintService } from '../print/print.service';
|
|
8
9
|
import * as i0 from "@angular/core";
|
|
9
10
|
export interface AppMarkdownOptions {
|
|
10
11
|
data?: string;
|
|
@@ -16,13 +17,15 @@ export declare class AppMarkdownContent implements AppMarkdownOptions, OnDestroy
|
|
|
16
17
|
protected element: ElementRef<HTMLElement>;
|
|
17
18
|
private _document;
|
|
18
19
|
protected route: ActivatedRoute;
|
|
19
|
-
private
|
|
20
|
+
private _printId;
|
|
20
21
|
private _clickSubscription;
|
|
21
22
|
protected navController: NavController;
|
|
22
23
|
protected settings: LocalSettingsService;
|
|
23
24
|
protected translate: TranslateService;
|
|
24
25
|
protected network: NetworkService;
|
|
25
26
|
protected markdownService: MarkdownService;
|
|
27
|
+
protected toastController: ToastController;
|
|
28
|
+
protected printService: PrintService;
|
|
26
29
|
protected loading: boolean;
|
|
27
30
|
protected error: string;
|
|
28
31
|
protected baseUrl: string;
|
|
@@ -52,13 +55,15 @@ export declare class AppMarkdownContent implements AppMarkdownOptions, OnDestroy
|
|
|
52
55
|
ngOnDestroy(): void;
|
|
53
56
|
goBack(event?: Event): void;
|
|
54
57
|
get canGoBack(): boolean;
|
|
55
|
-
print(
|
|
56
|
-
markAsLoaded(
|
|
57
|
-
|
|
58
|
+
print(): Promise<void>;
|
|
59
|
+
markAsLoaded(opts?: {
|
|
60
|
+
emitEvent?: boolean;
|
|
61
|
+
}): void;
|
|
62
|
+
markAsLoading(opts?: {
|
|
63
|
+
emitEvent?: boolean;
|
|
64
|
+
}): void;
|
|
58
65
|
setError(error: string | Error): void;
|
|
59
66
|
resetError(): void;
|
|
60
|
-
private createPrintHiddenIframe;
|
|
61
|
-
private injectAppStylesIntoIframe;
|
|
62
67
|
protected setData(value: string, opts?: {
|
|
63
68
|
anchor?: string;
|
|
64
69
|
addToNavigationHistory?: boolean;
|
|
@@ -13,6 +13,8 @@ export interface AppMarkdownModalOptions {
|
|
|
13
13
|
showError?: boolean;
|
|
14
14
|
cssClass?: string;
|
|
15
15
|
canPrint?: boolean;
|
|
16
|
+
enableNavigationHistory?: boolean;
|
|
17
|
+
debug?: boolean;
|
|
16
18
|
}
|
|
17
19
|
export declare class AppMarkdownModal implements AppMarkdownModalOptions {
|
|
18
20
|
protected injector: Injector;
|
|
@@ -22,12 +24,13 @@ export declare class AppMarkdownModal implements AppMarkdownModalOptions {
|
|
|
22
24
|
protected translate: TranslateService;
|
|
23
25
|
protected network: NetworkService;
|
|
24
26
|
protected cd: ChangeDetectorRef;
|
|
25
|
-
debug: boolean;
|
|
26
27
|
title: string;
|
|
27
28
|
showError: boolean;
|
|
28
29
|
canPrint: boolean;
|
|
29
30
|
data: string;
|
|
30
31
|
src: string;
|
|
32
|
+
enableNavigationHistory: boolean;
|
|
33
|
+
debug: boolean;
|
|
31
34
|
content: AppMarkdownContent;
|
|
32
35
|
static show(modalCtrl: ModalController, options: AppMarkdownModalOptions): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
33
36
|
constructor(injector: Injector, viewCtrl: ModalController, platform: PlatformService, settings: LocalSettingsService, translate: TranslateService, network: NetworkService, cd: ChangeDetectorRef);
|
|
@@ -38,5 +41,9 @@ export declare class AppMarkdownModal implements AppMarkdownModalOptions {
|
|
|
38
41
|
protected setError(err: string | Error): void;
|
|
39
42
|
protected resetError(): void;
|
|
40
43
|
static ɵfac: i0.ɵɵFactoryDeclaration<AppMarkdownModal, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AppMarkdownModal, "app-markdown-modal", never, { "
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AppMarkdownModal, "app-markdown-modal", never, { "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; }; "enableNavigationHistory": { "alias": "enableNavigationHistory"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; }, {}, never, never, false, never>;
|
|
45
|
+
static ngAcceptInputType_showError: unknown;
|
|
46
|
+
static ngAcceptInputType_canPrint: unknown;
|
|
47
|
+
static ngAcceptInputType_enableNavigationHistory: unknown;
|
|
48
|
+
static ngAcceptInputType_debug: unknown;
|
|
42
49
|
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { ModalController } from '@ionic/angular';
|
|
3
|
+
import { Environment } from '../../../../environments/environment.class';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class MarkdownTestPage {
|
|
5
6
|
private modalCtrl;
|
|
6
7
|
private cd;
|
|
8
|
+
protected environment: Environment;
|
|
7
9
|
protected markdownModalTitle: string;
|
|
10
|
+
protected debug: boolean;
|
|
8
11
|
protected markdownUrl: string;
|
|
9
|
-
constructor(modalCtrl: ModalController, cd: ChangeDetectorRef);
|
|
12
|
+
constructor(modalCtrl: ModalController, cd: ChangeDetectorRef, environment: Environment);
|
|
10
13
|
onSubmit(event: Event, newUrl: string | number): void;
|
|
11
14
|
updateInputUrl(url: string): void;
|
|
12
15
|
openHelpModal(event: Event): Promise<import("@ionic/core").OverlayEventDetail<any>>;
|
|
@@ -30,6 +30,7 @@ export declare class MatAutocompleteField implements OnInit, AfterViewInit, OnDe
|
|
|
30
30
|
private _openedSubscription;
|
|
31
31
|
private _$filter;
|
|
32
32
|
private _itemCount;
|
|
33
|
+
private _suggestExecutionId;
|
|
33
34
|
private _reload$;
|
|
34
35
|
protected _readonly: boolean;
|
|
35
36
|
protected _tabindex: number;
|
|
@@ -40,6 +41,7 @@ export declare class MatAutocompleteField implements OnInit, AfterViewInit, OnDe
|
|
|
40
41
|
protected _moreItemsCount: number;
|
|
41
42
|
protected _fetchMore$: EventEmitter<Event>;
|
|
42
43
|
protected _defaultPanelWidth: string;
|
|
44
|
+
protected _focused: boolean;
|
|
43
45
|
equals: EqualsFn;
|
|
44
46
|
logPrefix: string;
|
|
45
47
|
formControl: UntypedFormControl;
|
|
@@ -21,6 +21,7 @@ export declare class MatChipsField implements OnInit, OnDestroy, InputElement, C
|
|
|
21
21
|
private _openedSubscription;
|
|
22
22
|
private _$filter;
|
|
23
23
|
private _itemCount;
|
|
24
|
+
private _suggestExecutionId;
|
|
24
25
|
private _reload$;
|
|
25
26
|
protected _tabindex: number;
|
|
26
27
|
protected _$inputItems: BehaviorSubject<any[]>;
|
|
@@ -63,6 +63,7 @@ export declare class MatDateTime implements OnInit, AfterViewInit, OnDestroy, Co
|
|
|
63
63
|
get formControlName(): string;
|
|
64
64
|
set required(value: boolean | any);
|
|
65
65
|
get required(): boolean | any;
|
|
66
|
+
get requiredTime(): boolean | any;
|
|
66
67
|
set readonly(value: boolean);
|
|
67
68
|
get readonly(): boolean;
|
|
68
69
|
set tabindex(value: number);
|
|
@@ -13,8 +13,8 @@ export declare function filterNotNil<T = any>(obs: Observable<T>): Observable<T>
|
|
|
13
13
|
export declare function filterTrue(obs: Observable<boolean>): Observable<boolean>;
|
|
14
14
|
export declare function filterFalse(obs: Observable<boolean>, opts?: FirstOptions): Observable<boolean>;
|
|
15
15
|
export declare function firstNotNil<T = any>(obs: Observable<T>, opts?: FirstOptions): Observable<T>;
|
|
16
|
-
export declare function firstTrue(obs: Observable<boolean>, opts?: FirstOptions): Observable<
|
|
17
|
-
export declare function firstFalse(obs: Observable<boolean>, opts?: FirstOptions): Observable<
|
|
16
|
+
export declare function firstTrue<T = void>(obs: Observable<boolean>, opts?: FirstOptions, result?: T): Observable<T>;
|
|
17
|
+
export declare function firstFalse<T = void>(obs: Observable<boolean>, opts?: FirstOptions, result?: T): Observable<T>;
|
|
18
18
|
export declare function firstTruePromise(obs: Observable<boolean>, opts?: FirstOptions): Promise<void>;
|
|
19
19
|
export declare function firstFalsePromise(obs: Observable<boolean>, opts?: FirstOptions): Promise<void>;
|
|
20
20
|
export declare function firstNotNilPromise<T = any>(obs: Observable<T>, opts?: FirstOptions): Promise<T>;
|
|
@@ -57,3 +57,11 @@ export declare class ArrayJoinPipe implements PipeTransform {
|
|
|
57
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayJoinPipe, never>;
|
|
58
58
|
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayJoinPipe, "arrayJoin", false>;
|
|
59
59
|
}
|
|
60
|
+
export declare class ArrayDistinctPipe implements PipeTransform {
|
|
61
|
+
transform<T = any>(val: unknown | T[], opts?: string | {
|
|
62
|
+
property: string;
|
|
63
|
+
omitNil?: boolean;
|
|
64
|
+
}): any[];
|
|
65
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayDistinctPipe, never>;
|
|
66
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ArrayDistinctPipe, "arrayDistinct", false>;
|
|
67
|
+
}
|
|
@@ -13,3 +13,10 @@ export declare class SafeHtmlPipe implements PipeTransform {
|
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<SafeHtmlPipe, never>;
|
|
14
14
|
static ɵpipe: i0.ɵɵPipeDeclaration<SafeHtmlPipe, "safeHtml", false>;
|
|
15
15
|
}
|
|
16
|
+
export declare class SafeStylePipe implements PipeTransform {
|
|
17
|
+
private sanitized;
|
|
18
|
+
constructor(sanitized: DomSanitizer);
|
|
19
|
+
transform(value: string): SafeHtml;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SafeStylePipe, never>;
|
|
21
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SafeStylePipe, "safeStyle", false>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { FirstOptions } from '../observables';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FirstTruePipe implements PipeTransform {
|
|
6
|
+
transform(value: Observable<boolean>, opts?: FirstOptions): Observable<boolean>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FirstTruePipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FirstTruePipe, "firstTrue", false>;
|
|
9
|
+
}
|
|
10
|
+
export declare class FirstFalsePipe implements PipeTransform {
|
|
11
|
+
transform(value: Observable<boolean>, opts?: FirstOptions): Observable<boolean>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FirstFalsePipe, never>;
|
|
13
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FirstFalsePipe, "firstFalse", false>;
|
|
14
|
+
}
|
|
15
|
+
export declare class FirstPipe implements PipeTransform {
|
|
16
|
+
transform<T = any>(value: Observable<T>): Observable<T>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FirstPipe, never>;
|
|
18
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<FirstPipe, "first", false>;
|
|
19
|
+
}
|
|
@@ -23,11 +23,12 @@ import * as i21 from "./selection.pipes";
|
|
|
23
23
|
import * as i22 from "./badge.pipes";
|
|
24
24
|
import * as i23 from "./html.pipes";
|
|
25
25
|
import * as i24 from "./display-with.pipe";
|
|
26
|
-
import * as i25 from "
|
|
27
|
-
import * as i26 from "@
|
|
28
|
-
import * as i27 from "@
|
|
26
|
+
import * as i25 from "./observable.pipes";
|
|
27
|
+
import * as i26 from "@angular/common";
|
|
28
|
+
import * as i27 from "@ionic/angular";
|
|
29
|
+
import * as i28 from "@ngx-translate/core";
|
|
29
30
|
export declare class SharedPipesModule {
|
|
30
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedPipesModule, never>;
|
|
31
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i1.ValueFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayLastPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNilOrNaNPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.IsNilPipe, typeof i14.IsValidDatePipe, typeof i13.ToStringPipe, typeof i13.CapitalizePipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i13.StrReplacePipe, typeof i1.BooleanFormatPipe, typeof i15.TranslateContextPipe, typeof i15.TranslatablePipe, typeof i16.NgInitDirective, typeof i17.FormErrorPipe, typeof i17.FormErrorTranslatePipe, typeof i17.FormGetPipe, typeof i17.FormGetControlPipe, typeof i17.FormGetArrayPipe, typeof i17.FormGetGroupPipe, typeof i17.FormGetValuePipe, typeof i18.MatColorPipe, typeof i19.AsAnyPipe, typeof i19.AsArrayPipe, typeof i19.AsObservablePipe, typeof i19.AsFloatLabelTypePipe, typeof i20.MaskitoPlaceholderPipe, typeof i21.IsSelectedPipe, typeof i21.IsNotEmptySelectionPipe, typeof i21.IsEmptySelectionPipe, typeof i21.SelectionLengthPipe, typeof i21.IsMultipleSelectionPipe, typeof i21.IsSingleSelectionPipe, typeof i22.BadgeNumberPipe, typeof i19.AsBooleanPipe, typeof i23.SafeHtmlPipe, typeof i23.NoHtmlPipe, typeof i24.DisplayWithPipe], [typeof
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedPipesModule, [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i1.ValueFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayLastPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i11.ArrayDistinctPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNilOrNaNPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.IsNilPipe, typeof i14.IsValidDatePipe, typeof i13.ToStringPipe, typeof i13.CapitalizePipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i13.StrReplacePipe, typeof i13.TruncTextPipe, typeof i13.TruncHtmlPipe, typeof i1.BooleanFormatPipe, typeof i15.TranslateContextPipe, typeof i15.TranslatablePipe, typeof i16.NgInitDirective, typeof i17.FormErrorPipe, typeof i17.FormErrorTranslatePipe, typeof i17.FormGetPipe, typeof i17.FormGetControlPipe, typeof i17.FormGetArrayPipe, typeof i17.FormGetGroupPipe, typeof i17.FormGetValuePipe, typeof i18.MatColorPipe, typeof i19.AsAnyPipe, typeof i19.AsArrayPipe, typeof i19.AsObservablePipe, typeof i19.AsFloatLabelTypePipe, typeof i20.MaskitoPlaceholderPipe, typeof i21.IsSelectedPipe, typeof i21.IsNotEmptySelectionPipe, typeof i21.IsEmptySelectionPipe, typeof i21.SelectionLengthPipe, typeof i21.IsMultipleSelectionPipe, typeof i21.IsSingleSelectionPipe, typeof i22.BadgeNumberPipe, typeof i19.AsBooleanPipe, typeof i23.SafeHtmlPipe, typeof i23.SafeStylePipe, typeof i23.NoHtmlPipe, typeof i24.DisplayWithPipe, typeof i25.FirstTruePipe, typeof i25.FirstFalsePipe, typeof i25.FirstPipe], [typeof i26.CommonModule, typeof i27.IonicModule, typeof i28.TranslateModule], [typeof i1.PropertyGetPipe, typeof i1.PropertyFormatPipe, typeof i1.ValueFormatPipe, typeof i2.DateFormatPipe, typeof i3.DateDiffDurationPipe, typeof i4.DurationPipe, typeof i5.DateFromNowPipe, typeof i6.LatLongFormatPipe, typeof i6.LatitudeFormatPipe, typeof i6.LongitudeFormatPipe, typeof i7.HighlightPipe, typeof i8.NumberFormatPipe, typeof i9.FileSizePipe, typeof i10.MathAbsPipe, typeof i10.OddPipe, typeof i10.EvenPipe, typeof i11.NotEmptyArrayPipe, typeof i11.EmptyArrayPipe, typeof i11.ArrayLengthPipe, typeof i11.ArrayFirstPipe, typeof i11.ArrayLastPipe, typeof i11.ArrayPluckPipe, typeof i11.ArrayIncludesPipe, typeof i11.ArrayFilterPipe, typeof i11.ArrayJoinPipe, typeof i11.ArrayDistinctPipe, typeof i12.MapGetPipe, typeof i12.MapKeysPipe, typeof i12.MapValuesPipe, typeof i13.IsNilOrBlankPipe, typeof i13.IsNotNilOrBlankPipe, typeof i13.IsNilOrNaNPipe, typeof i13.IsNotNilOrNaNPipe, typeof i13.IsNotNilPipe, typeof i13.IsNilPipe, typeof i14.IsValidDatePipe, typeof i13.ToStringPipe, typeof i13.CapitalizePipe, typeof i13.StrLengthPipe, typeof i13.StrIncludesPipe, typeof i13.StrReplacePipe, typeof i13.TruncTextPipe, typeof i13.TruncHtmlPipe, typeof i1.BooleanFormatPipe, typeof i15.TranslateContextPipe, typeof i15.TranslatablePipe, typeof i16.NgInitDirective, typeof i17.FormErrorPipe, typeof i17.FormErrorTranslatePipe, typeof i17.FormGetPipe, typeof i17.FormGetControlPipe, typeof i17.FormGetArrayPipe, typeof i17.FormGetGroupPipe, typeof i17.FormGetValuePipe, typeof i18.MatColorPipe, typeof i19.AsAnyPipe, typeof i19.AsArrayPipe, typeof i19.AsObservablePipe, typeof i19.AsFloatLabelTypePipe, typeof i20.MaskitoPlaceholderPipe, typeof i21.IsSelectedPipe, typeof i21.IsNotEmptySelectionPipe, typeof i21.IsEmptySelectionPipe, typeof i21.SelectionLengthPipe, typeof i21.IsMultipleSelectionPipe, typeof i21.IsSingleSelectionPipe, typeof i22.BadgeNumberPipe, typeof i19.AsBooleanPipe, typeof i23.SafeHtmlPipe, typeof i23.SafeStylePipe, typeof i23.NoHtmlPipe, typeof i24.DisplayWithPipe, typeof i25.FirstTruePipe, typeof i25.FirstFalsePipe, typeof i25.FirstPipe]>;
|
|
32
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedPipesModule>;
|
|
33
34
|
}
|
|
@@ -52,7 +52,17 @@ export declare class StrIncludesPipe implements PipeTransform {
|
|
|
52
52
|
static ɵpipe: i0.ɵɵPipeDeclaration<StrIncludesPipe, "strIncludes", false>;
|
|
53
53
|
}
|
|
54
54
|
export declare class StrReplacePipe implements PipeTransform {
|
|
55
|
-
transform(input:
|
|
55
|
+
transform(input: string, searchValue: string | RegExp, replacement: string): any;
|
|
56
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<StrReplacePipe, never>;
|
|
57
57
|
static ɵpipe: i0.ɵɵPipeDeclaration<StrReplacePipe, "replace", false>;
|
|
58
58
|
}
|
|
59
|
+
export declare class TruncTextPipe implements PipeTransform {
|
|
60
|
+
transform(input: string, size?: number, ellipsis?: boolean, ellipsisText?: string): any;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruncTextPipe, never>;
|
|
62
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TruncTextPipe, "truncText", false>;
|
|
63
|
+
}
|
|
64
|
+
export declare class TruncHtmlPipe implements PipeTransform {
|
|
65
|
+
transform(input: string, size?: number, ellipsis?: boolean, ellipsisText?: string): any;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruncHtmlPipe, never>;
|
|
67
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TruncHtmlPipe, "truncHtml", false>;
|
|
68
|
+
}
|