@sumaris-net/ngx-components 2.6.4 → 2.6.6-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 +6 -0
- package/esm2020/public_api.mjs +12 -2
- package/esm2020/src/app/admin/services/filter/person.filter.mjs +1 -1
- package/esm2020/src/app/admin/services/person.service.mjs +9 -1
- package/esm2020/src/app/admin/users/users.mjs +73 -67
- package/esm2020/src/app/core/account/account.page.mjs +1 -1
- package/esm2020/src/app/core/form/buttons/form-buttons-bar.component.mjs +44 -8
- package/esm2020/src/app/core/form/entity/editor.class.mjs +7 -7
- package/esm2020/src/app/core/form/entity/entity-editor-modal.class.mjs +4 -3
- package/esm2020/src/app/core/form/entity/entity-editor.class.mjs +6 -3
- package/esm2020/src/app/core/form/form.class.mjs +7 -2
- package/esm2020/src/app/core/form/form.utils.mjs +4 -1
- package/esm2020/src/app/core/form/properties/properties.table.mjs +1 -1
- package/esm2020/src/app/core/form/properties/testing/properties-form.test.mjs +2 -2
- package/esm2020/src/app/core/form/text-popover/text-popover.component.mjs +2 -2
- package/esm2020/src/app/core/graphql/graphql.service.mjs +6 -2
- package/esm2020/src/app/core/graphql/graphql.utils.mjs +1 -1
- package/esm2020/src/app/core/home/home.mjs +12 -10
- package/esm2020/src/app/core/install/install-upgrade-card.component.mjs +3 -2
- package/esm2020/src/app/core/menu/menu.component.mjs +80 -171
- package/esm2020/src/app/core/menu/menu.model.mjs +219 -7
- package/esm2020/src/app/core/menu/menu.module.mjs +27 -14
- package/esm2020/src/app/core/menu/menu.service.mjs +610 -11
- package/esm2020/src/app/core/menu/sub-menu-tab.directive.mjs +98 -0
- package/esm2020/src/app/core/menu/testing/menu-other.testing.mjs +48 -0
- package/esm2020/src/app/core/menu/testing/menu.testing.mjs +121 -0
- package/esm2020/src/app/core/menu/testing/menu.testing.module.mjs +79 -0
- package/esm2020/src/app/core/peer/select-peer.modal.mjs +3 -2
- package/esm2020/src/app/core/register/register-confirm.page.mjs +3 -3
- package/esm2020/src/app/core/register/register.form.mjs +21 -19
- package/esm2020/src/app/core/services/account.service.mjs +9 -15
- package/esm2020/src/app/core/services/base-entity-service.class.mjs +1 -1
- package/esm2020/src/app/core/services/base-graphql-service.class.mjs +2 -4
- package/esm2020/src/app/core/services/config.service.mjs +23 -22
- package/esm2020/src/app/core/services/crypto.service.mjs +14 -21
- package/esm2020/src/app/core/services/local-settings.service.mjs +12 -1
- package/esm2020/src/app/core/services/model/account.model.mjs +27 -2
- package/esm2020/src/app/core/services/model/config.model.mjs +1 -1
- package/esm2020/src/app/core/services/model/department.model.mjs +1 -1
- package/esm2020/src/app/core/services/model/entity.decorators.mjs +1 -1
- package/esm2020/src/app/core/services/model/entity.model.mjs +20 -35
- package/esm2020/src/app/core/services/model/filter.model.mjs +3 -1
- package/esm2020/src/app/core/services/model/peer.model.mjs +1 -1
- package/esm2020/src/app/core/services/model/person.model.mjs +5 -1
- package/esm2020/src/app/core/services/model/referential.model.mjs +3 -3
- package/esm2020/src/app/core/services/model/token.model.mjs +1 -1
- package/esm2020/src/app/core/services/model/tree-item-entity.model.mjs +199 -0
- package/esm2020/src/app/core/services/network.service.mjs +12 -8
- package/esm2020/src/app/core/services/network.utils.mjs +1 -1
- package/esm2020/src/app/core/services/platform.service.mjs +15 -16
- package/esm2020/src/app/core/services/storage/entities-storage.service.mjs +10 -10
- package/esm2020/src/app/core/services/testing/referential-filter.model.mjs +1 -1
- package/esm2020/src/app/core/services/validator/local-settings.validator.mjs +3 -3
- package/esm2020/src/app/core/settings/settings.page.mjs +2 -2
- package/esm2020/src/app/core/table/async-table.class.mjs +4 -3
- package/esm2020/src/app/core/table/entities-async-table-datasource.class.mjs +1 -1
- package/esm2020/src/app/core/table/entities-table-datasource.class.mjs +1 -1
- package/esm2020/src/app/core/table/table-select-columns.component.mjs +1 -1
- package/esm2020/src/app/core/table/table.class.mjs +19 -14
- package/esm2020/src/app/core/table/table.utils.mjs +6 -3
- package/esm2020/src/app/core/table/testing/table.testing.mjs +3 -2
- package/esm2020/src/app/shared/audio/audio.mjs +5 -5
- package/esm2020/src/app/shared/capacitor/plugins.mjs +1 -1
- package/esm2020/src/app/shared/dates.mjs +3 -1
- package/esm2020/src/app/shared/debug/debug.component.mjs +1 -1
- package/esm2020/src/app/shared/directives/autofocus.directive.mjs +5 -4
- package/esm2020/src/app/shared/directives/drag-and-drop.directive.mjs +1 -1
- package/esm2020/src/app/shared/directives/ng-var.directive.mjs +1 -1
- package/esm2020/src/app/shared/directives/resizable/resizable.directive.mjs +1 -1
- package/esm2020/src/app/shared/events.mjs +2 -1
- package/esm2020/src/app/shared/file/csv.utils.mjs +12 -14
- package/esm2020/src/app/shared/file/file.utils.mjs +2 -2
- package/esm2020/src/app/shared/file/images.utils.mjs +2 -2
- package/esm2020/src/app/shared/file/json.utils.mjs +3 -3
- package/esm2020/src/app/shared/file/uri.utils.mjs +2 -1
- package/esm2020/src/app/shared/form/field.component.mjs +28 -3
- package/esm2020/src/app/shared/forms.mjs +48 -30
- package/esm2020/src/app/shared/functions.mjs +7 -2
- package/esm2020/src/app/shared/geolocation/geolocation.utils.mjs +1 -1
- package/esm2020/src/app/shared/help/help.modal.mjs +1 -1
- package/esm2020/src/app/shared/image/gallery/image-gallery.component.mjs +9 -6
- package/esm2020/src/app/shared/image/gallery/testing/gallegry.model.testing.mjs +1 -1
- package/esm2020/src/app/shared/image/gallery/testing/gallery.service.testing.mjs +1 -1
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.mjs +2 -2
- package/esm2020/src/app/shared/image/gallery/testing/gallery.testing.module.mjs +1 -1
- package/esm2020/src/app/shared/interceptors/progess.interceptor.mjs +1 -1
- package/esm2020/src/app/shared/logging/logger.model.mjs +1 -1
- package/esm2020/src/app/shared/logging/logging-service.class.mjs +2 -2
- package/esm2020/src/app/shared/logging/logging-service.config.mjs +1 -1
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.mjs +10 -10
- package/esm2020/src/app/shared/material/autocomplete/material.autocomplete.utils.mjs +4 -6
- package/esm2020/src/app/shared/material/autocomplete/testing/autocomplete.test.mjs +1 -1
- package/esm2020/src/app/shared/material/badge/badge.directive.mjs +8 -3
- package/esm2020/src/app/shared/material/badge/badge.test.mjs +2 -2
- package/esm2020/src/app/shared/material/chips/material.chips.mjs +9 -10
- package/esm2020/src/app/shared/material/chips/testing/chips.test.mjs +3 -3
- package/esm2020/src/app/shared/material/datetime/material.date.mjs +2 -2
- package/esm2020/src/app/shared/material/datetime/material.dateshort.mjs +3 -3
- package/esm2020/src/app/shared/material/datetime/material.datetime.mjs +3 -3
- package/esm2020/src/app/shared/material/datetime/testing/mat-date-time.test.mjs +1 -1
- package/esm2020/src/app/shared/material/datetime/testing/mat-date.test.mjs +1 -1
- package/esm2020/src/app/shared/material/datetime/testing/mat-dateshort.test.mjs +1 -1
- package/esm2020/src/app/shared/material/duration/material.duration.mjs +3 -3
- package/esm2020/src/app/shared/material/latlong/material.latlong.mjs +5 -4
- package/esm2020/src/app/shared/material/latlong/testing/latlong.test.mjs +1 -1
- package/esm2020/src/app/shared/material/material.animations.mjs +41 -2
- package/esm2020/src/app/shared/material/material.testing.module.mjs +2 -2
- package/esm2020/src/app/shared/material/numpad/testing/numpad.test.mjs +1 -1
- package/esm2020/src/app/shared/material/swipe/testing/swipe.test.mjs +1 -1
- package/esm2020/src/app/shared/modules.mjs +2 -1
- package/esm2020/src/app/shared/named-filter/named-filter.model.mjs +1 -1
- package/esm2020/src/app/shared/observables.mjs +3 -2
- package/esm2020/src/app/shared/pipes/colors.pipe.mjs +3 -1
- package/esm2020/src/app/shared/pipes/date-format.pipe.mjs +1 -1
- package/esm2020/src/app/shared/pipes/form.pipes.mjs +1 -1
- package/esm2020/src/app/shared/pipes/property.pipes.mjs +1 -1
- package/esm2020/src/app/shared/pipes/translate-context.pipe.mjs +1 -1
- package/esm2020/src/app/shared/platforms.mjs +1 -1
- package/esm2020/src/app/shared/services/memory-entity-service.class.mjs +3 -1
- package/esm2020/src/app/shared/services/startable-observable-service.class.mjs +5 -6
- package/esm2020/src/app/shared/services/startable-service.class.mjs +1 -1
- package/esm2020/src/app/shared/services/translate-context.service.mjs +11 -13
- package/esm2020/src/app/shared/services/validator-service.class.mjs +1 -1
- package/esm2020/src/app/shared/shared-routing.module.mjs +2 -1
- package/esm2020/src/app/shared/shared.testing.module.mjs +16 -8
- package/esm2020/src/app/shared/storage/storage-explorer.component.mjs +3 -3
- package/esm2020/src/app/shared/storage/storage-explorer.module.mjs +5 -18
- package/esm2020/src/app/shared/storage/storage-explorer.testing-routing.module.mjs +35 -0
- package/esm2020/src/app/shared/storage/storage-explorer.testing.module.mjs +33 -0
- package/esm2020/src/app/shared/storage/storage.service.mjs +3 -3
- package/esm2020/src/app/shared/storage/storage.utils.mjs +1 -1
- package/esm2020/src/app/shared/testing/observable.test.mjs +2 -2
- package/esm2020/src/app/shared/testing/tests.page.mjs +1 -1
- package/esm2020/src/app/shared/toast/toast.testing.mjs +1 -1
- package/esm2020/src/app/shared/toast/toasts.mjs +2 -2
- package/esm2020/src/app/shared/toolbar/toolbar.mjs +1 -1
- package/esm2020/src/app/shared/upload-file/testing/upload-file.testing.mjs +2 -1
- package/esm2020/src/app/shared/upload-file/upload-file.component.mjs +1 -1
- package/esm2020/src/app/shared/validator/form-error-adapter.class.mjs +5 -5
- package/esm2020/src/app/shared/validator/validators.mjs +10 -3
- package/esm2020/src/app/shared/version/versions.mjs +2 -2
- package/esm2020/src/app/social/job/progression/job-progression.icon.mjs +2 -2
- package/esm2020/src/app/social/job/progression/job-progression.model.mjs +1 -1
- package/esm2020/src/app/social/job/progression/job-progression.service.mjs +1 -1
- package/esm2020/src/app/social/job/testing/job-progression.testing.mjs +1 -1
- package/esm2020/src/app/social/job/testing/job-progression.testing.service.mjs +3 -3
- package/esm2020/src/app/social/message/message.form.mjs +11 -8
- package/esm2020/src/app/social/message/message.modal.mjs +1 -1
- package/esm2020/src/app/social/message/message.model.mjs +1 -1
- package/esm2020/src/app/social/message/message.service.mjs +2 -2
- package/esm2020/src/app/social/social.module.mjs +2 -2
- package/esm2020/src/app/social/user-event/testing/user-event.testing.mjs +5 -5
- package/esm2020/src/app/social/user-event/testing/user-event.testing.model.mjs +1 -1
- package/esm2020/src/app/social/user-event/testing/user-event.testing.service.mjs +1 -1
- package/esm2020/src/app/social/user-event/user-event.model.mjs +1 -1
- package/esm2020/src/app/social/user-event/user-event.service.mjs +4 -3
- package/fesm2015/sumaris-net.ngx-components.mjs +2758 -1263
- package/fesm2015/sumaris-net.ngx-components.mjs.map +1 -1
- package/fesm2020/sumaris-net.ngx-components.mjs +2687 -1223
- package/fesm2020/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +8 -9
- package/public_api.d.ts +11 -1
- package/src/app/admin/services/person.service.d.ts +5 -0
- package/src/app/admin/users/users.d.ts +4 -2
- package/src/app/core/form/buttons/form-buttons-bar.component.d.ts +14 -2
- package/src/app/core/form/entity/entity-editor-modal.class.d.ts +1 -0
- package/src/app/core/form/form.class.d.ts +2 -0
- package/src/app/core/form/form.utils.d.ts +4 -1
- package/src/app/core/form/text-popover/text-popover.component.d.ts +2 -1
- package/src/app/core/graphql/graphql.service.d.ts +5 -4
- package/src/app/core/graphql/graphql.utils.d.ts +2 -2
- package/src/app/core/home/home.d.ts +11 -10
- package/src/app/core/install/install-upgrade-card.component.d.ts +3 -2
- package/src/app/core/menu/menu.component.d.ts +29 -26
- package/src/app/core/menu/menu.model.d.ts +123 -6
- package/src/app/core/menu/menu.module.d.ts +8 -4
- package/src/app/core/menu/menu.service.d.ts +76 -5
- package/src/app/core/menu/sub-menu-tab.directive.d.ts +29 -0
- package/src/app/core/menu/testing/menu-other.testing.d.ts +15 -0
- package/src/app/core/menu/testing/menu.testing.d.ts +43 -0
- package/src/app/core/menu/testing/menu.testing.module.d.ts +12 -0
- package/src/app/core/peer/select-peer.modal.d.ts +4 -3
- package/src/app/core/register/register.form.d.ts +3 -2
- package/src/app/core/services/account.service.d.ts +4 -3
- package/src/app/core/services/config.service.d.ts +5 -3
- package/src/app/core/services/crypto.service.d.ts +7 -7
- package/src/app/core/services/local-settings.service.d.ts +1 -0
- package/src/app/core/services/model/account.model.d.ts +7 -1
- package/src/app/core/services/model/entity.model.d.ts +5 -8
- package/src/app/core/services/model/filter.model.d.ts +2 -0
- package/src/app/core/services/model/person.model.d.ts +1 -0
- package/src/app/core/services/model/tree-item-entity.model.d.ts +53 -0
- package/src/app/core/services/network.service.d.ts +4 -3
- package/src/app/core/services/platform.service.d.ts +4 -5
- package/src/app/core/services/storage/entities-storage.service.d.ts +3 -3
- package/src/app/core/settings/settings.page.d.ts +5 -5
- package/src/app/core/table/async-table.class.d.ts +1 -0
- package/src/app/core/table/table.class.d.ts +5 -1
- package/src/app/core/table/testing/table.testing.d.ts +1 -0
- package/src/app/shared/dates.d.ts +2 -0
- package/src/app/shared/events.d.ts +1 -0
- package/src/app/shared/file/uri.utils.d.ts +1 -0
- package/src/app/shared/form/field.component.d.ts +1 -0
- package/src/app/shared/forms.d.ts +4 -1
- package/src/app/shared/functions.d.ts +1 -0
- package/src/app/shared/material/autocomplete/material.autocomplete.d.ts +1 -0
- package/src/app/shared/material/badge/badge.directive.d.ts +1 -1
- package/src/app/shared/material/datetime/material.dateshort.d.ts +1 -1
- package/src/app/shared/material/latlong/material.latlong.d.ts +1 -0
- package/src/app/shared/material/material.animations.d.ts +2 -0
- package/src/app/shared/modules.d.ts +1 -0
- package/src/app/shared/observables.d.ts +1 -0
- package/src/app/shared/pipes/translate-context.pipe.d.ts +1 -1
- package/src/app/shared/services/memory-entity-service.class.d.ts +2 -0
- package/src/app/shared/services/startable-observable-service.class.d.ts +1 -1
- package/src/app/shared/services/translate-context.service.d.ts +2 -2
- package/src/app/shared/services/validator-service.class.d.ts +1 -0
- package/src/app/shared/shared-routing.module.d.ts +1 -0
- package/src/app/shared/shared.testing.module.d.ts +3 -2
- package/src/app/shared/storage/storage-explorer.component.d.ts +2 -2
- package/src/app/shared/storage/storage-explorer.module.d.ts +5 -8
- package/src/app/shared/storage/storage-explorer.testing-routing.module.d.ts +9 -0
- package/src/app/shared/storage/storage-explorer.testing.module.d.ts +10 -0
- package/src/app/shared/storage/storage.service.d.ts +0 -1
- package/src/app/shared/upload-file/testing/upload-file.testing.d.ts +1 -0
- package/src/app/shared/validator/validators.d.ts +4 -0
- package/src/app/social/user-event/user-event.model.d.ts +1 -2
- package/src/assets/i18n/en-US.json +1 -0
- package/src/assets/i18n/en.json +1 -0
- package/src/assets/i18n/fr.json +10 -1
- package/src/assets/manifest.json +1 -1
- package/src/theme/_ngx-components.scss +2 -1
|
@@ -14,9 +14,9 @@ import { AlertController, NavController } from '@ionic/angular';
|
|
|
14
14
|
import { Property } from '../../shared/types';
|
|
15
15
|
import { CanLeave } from '../../shared/guard/component-dirty.guard';
|
|
16
16
|
import { ISelectPeerModalOptions } from '../peer/select-peer.modal';
|
|
17
|
-
import {
|
|
17
|
+
import { IMenuItem } from '../menu/menu.model';
|
|
18
18
|
import * as i0 from "@angular/core";
|
|
19
|
-
export declare const APP_SETTINGS_MENU_ITEMS: InjectionToken<
|
|
19
|
+
export declare const APP_SETTINGS_MENU_ITEMS: InjectionToken<IMenuItem[]>;
|
|
20
20
|
export declare class SettingsPage extends AppForm<LocalSettings> implements OnInit, OnDestroy, CanLeave {
|
|
21
21
|
protected platform: PlatformService;
|
|
22
22
|
protected navController: NavController;
|
|
@@ -33,7 +33,7 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
|
|
|
33
33
|
mobile: boolean;
|
|
34
34
|
saving: boolean;
|
|
35
35
|
usageModes: UsageMode[];
|
|
36
|
-
menuItems:
|
|
36
|
+
menuItems: IMenuItem[];
|
|
37
37
|
propertyDefinitions: FormFieldDefinition[];
|
|
38
38
|
propertyDefinitionsByKey: FormFieldDefinitionMap;
|
|
39
39
|
propertyDefinitionsByIndex: {
|
|
@@ -44,7 +44,7 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
|
|
|
44
44
|
get accountInheritance(): boolean;
|
|
45
45
|
get isLogin(): boolean;
|
|
46
46
|
get propertiesForm(): UntypedFormArray;
|
|
47
|
-
constructor(injector: Injector, platform: PlatformService, navController: NavController, validatorService: LocalSettingsValidatorService, alertCtrl: AlertController, translate: TranslateService, formBuilder: UntypedFormBuilder, accountService: AccountService, settings: LocalSettingsService, cd: ChangeDetectorRef, network: NetworkService, locales: LocaleConfig[], menuItems?:
|
|
47
|
+
constructor(injector: Injector, platform: PlatformService, navController: NavController, validatorService: LocalSettingsValidatorService, alertCtrl: AlertController, translate: TranslateService, formBuilder: UntypedFormBuilder, accountService: AccountService, settings: LocalSettingsService, cd: ChangeDetectorRef, network: NetworkService, locales: LocaleConfig[], menuItems?: IMenuItem[]);
|
|
48
48
|
ngOnInit(): Promise<void>;
|
|
49
49
|
getPropertyDefinition(index: number): FormFieldDefinition;
|
|
50
50
|
updatePropertyDefinition(index: number): FormFieldDefinition;
|
|
@@ -59,7 +59,7 @@ export declare class SettingsPage extends AppForm<LocalSettings> implements OnIn
|
|
|
59
59
|
cancel(event?: Event): Promise<void>;
|
|
60
60
|
close(event?: Event): Promise<boolean>;
|
|
61
61
|
clearCache(event?: Event): Promise<void>;
|
|
62
|
-
executeAction(event: Event, item:
|
|
62
|
+
executeAction(event: Event, item: IMenuItem): Promise<void>;
|
|
63
63
|
protected getValue(): Promise<LocalSettings>;
|
|
64
64
|
protected getJsonValueToSave(): Promise<any>;
|
|
65
65
|
protected markForCheck(): void;
|
|
@@ -58,11 +58,11 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
58
58
|
readonly dirtySubject: BehaviorSubject<boolean>;
|
|
59
59
|
readonly errorSubject: BehaviorSubject<string>;
|
|
60
60
|
get error(): string;
|
|
61
|
+
set error(error: string);
|
|
61
62
|
/**
|
|
62
63
|
* @deprecated
|
|
63
64
|
*/
|
|
64
65
|
get error$(): Observable<string>;
|
|
65
|
-
set error(error: string);
|
|
66
66
|
selection: SelectionModel<TableElement<T>>;
|
|
67
67
|
permanentSelection: SelectionModel<T>;
|
|
68
68
|
permanentSelectionChangedPrevented: boolean;
|
|
@@ -267,6 +267,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
267
267
|
selectRowById(id: number): Promise<boolean>;
|
|
268
268
|
/**
|
|
269
269
|
* Try to select row by data. Will use equals() to find same row's data
|
|
270
|
+
*
|
|
270
271
|
* @param data
|
|
271
272
|
*/
|
|
272
273
|
selectRowByData(data: T): Promise<boolean>;
|
|
@@ -285,6 +286,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
285
286
|
}): boolean;
|
|
286
287
|
/**
|
|
287
288
|
* Try to select row, by row.id, or by data. WIll use EntityUtils.equals()
|
|
289
|
+
*
|
|
288
290
|
* @param id
|
|
289
291
|
* @param data
|
|
290
292
|
* @protected
|
|
@@ -304,6 +306,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
304
306
|
/**
|
|
305
307
|
* Open a row detail view. By default, will to open row detail page.
|
|
306
308
|
* Can be override by subclasses, BUT prefer to subscribe on onOpenRow
|
|
309
|
+
*
|
|
307
310
|
* @param id
|
|
308
311
|
* @param row
|
|
309
312
|
* @protected
|
|
@@ -378,6 +381,7 @@ export declare abstract class AppTable<T extends IEntity<T, ID>, F = any, ID = n
|
|
|
378
381
|
private stopCellValueChanges;
|
|
379
382
|
/**
|
|
380
383
|
* Initialize the permanent selection model
|
|
384
|
+
*
|
|
381
385
|
* @protected
|
|
382
386
|
*/
|
|
383
387
|
private initPermanentSelection;
|
|
@@ -21,6 +21,7 @@ export declare class TableTestPage extends AppTable<Referential, ReferentialFilt
|
|
|
21
21
|
filterForm: UntypedFormGroup;
|
|
22
22
|
filterCriteriaCount: number;
|
|
23
23
|
groupColumns: string[];
|
|
24
|
+
permanentSelectionAllowed: boolean;
|
|
24
25
|
readonly statusList: readonly import("../../services/model/referential.model").IStatus[];
|
|
25
26
|
readonly statusById: Readonly<import("@sumaris-net/ngx-components").KeyValueType<import("../../services/model/referential.model").IStatus>>;
|
|
26
27
|
readonly columnDefinitions: FormFieldDefinitionMap;
|
|
@@ -16,6 +16,7 @@ export declare class DateUtils {
|
|
|
16
16
|
/**
|
|
17
17
|
* Create a copy of a date, without time fields (always return a new Moment object, or undefined).
|
|
18
18
|
* Same implementation as the Java class Dates.resetTime() (see any SUMARiS like Pod)
|
|
19
|
+
*
|
|
19
20
|
* @param value
|
|
20
21
|
* @param timezone a timezone (see https://momentjs.com/timezone/)
|
|
21
22
|
* @param keepLocalTime if true, only the timezone (and offset) is updated, keeping the local time same. Consequently, it will now point to a different point in time if the offset has changed.
|
|
@@ -26,6 +27,7 @@ export declare class DateUtils {
|
|
|
26
27
|
static isNoTime(value: Moment): boolean;
|
|
27
28
|
/**
|
|
28
29
|
* Test if a date is on the given day of week
|
|
30
|
+
*
|
|
29
31
|
* @param date
|
|
30
32
|
* @param weekday
|
|
31
33
|
* @param timezone
|
|
@@ -21,6 +21,7 @@ export interface CompletableEvent extends Event {
|
|
|
21
21
|
* For example, use the value of 10% for the infinite output event to get called when the user has scrolled
|
|
22
22
|
* 10% from the bottom of the page. Use the value 100px when the scroll is within 100 pixels from the bottom of the page.
|
|
23
23
|
* </p>
|
|
24
|
+
*
|
|
24
25
|
* @param element
|
|
25
26
|
* @param threshold default to '15%'
|
|
26
27
|
*/
|
|
@@ -42,9 +42,11 @@ export declare function addValueInArray(arrayControl: UntypedFormArray, createCo
|
|
|
42
42
|
}): boolean;
|
|
43
43
|
/**
|
|
44
44
|
* Set an array using given default values. Each default value will be pass to the 'createControl()' function
|
|
45
|
+
*
|
|
45
46
|
* @param arrayControl
|
|
46
47
|
* @param createControl
|
|
47
|
-
* @param
|
|
48
|
+
* @param defaultValues
|
|
49
|
+
* @param options
|
|
48
50
|
*/
|
|
49
51
|
export declare function initArrayControlsFromValues(arrayControl: UntypedFormArray, createControl: (value?: any) => AbstractControl, defaultValues: any[], options?: {
|
|
50
52
|
emitEvent?: boolean;
|
|
@@ -82,6 +84,7 @@ export declare function waitWhilePending<T extends {
|
|
|
82
84
|
}>(form: T, opts?: WaitForOptions): Promise<void>;
|
|
83
85
|
/**
|
|
84
86
|
* Wait form is idle (not loading). This need to implement {loading: boolean}
|
|
87
|
+
*
|
|
85
88
|
* @param form
|
|
86
89
|
* @param opts
|
|
87
90
|
*/
|
|
@@ -21,6 +21,7 @@ export declare function arrayGroupBy<T = any, K extends keyof T = any, M extends
|
|
|
21
21
|
/**
|
|
22
22
|
* Remove duplicated value, in array. Will compute a unique key (from given properties, or given function).
|
|
23
23
|
* If propertiesOrKeyFn is nil or undefined, will use all object properties
|
|
24
|
+
*
|
|
24
25
|
* @param values
|
|
25
26
|
* @param propertiesOrKeyFn
|
|
26
27
|
*/
|
|
@@ -130,6 +130,7 @@ export declare class MatAutocompleteField implements OnInit, AfterViewInit, OnDe
|
|
|
130
130
|
/**
|
|
131
131
|
* Hack : if we are in a IonModal, it's necessary to move the CdkOverlay container
|
|
132
132
|
* in the IonModal to might keep focus in IonSearchbar.
|
|
133
|
+
*
|
|
133
134
|
* @param panelElement
|
|
134
135
|
* @private
|
|
135
136
|
*/
|
|
@@ -33,5 +33,5 @@ export declare class BadgeDirective extends MatBadge implements AfterViewInit, O
|
|
|
33
33
|
ngOnDestroy(): void;
|
|
34
34
|
private updateView;
|
|
35
35
|
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeDirective, [null, null, null, null, { optional: true; }]>;
|
|
36
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<BadgeDirective, "[appBadge], [appBadgeIcon], [appBadgeMatIcon]", never, { "disabled": "
|
|
36
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<BadgeDirective, "[appBadge], [appBadgeIcon], [appBadgeMatIcon]", never, { "content": "appBadge"; "disabled": "appBadgeDisabled"; "color": "appBadgeColor"; "size": "appBadgeSize"; "fill": "appBadgeFill"; "hidden": "appBadgeHidden"; "overlap": "appBadgeOverlap"; "position": "appBadgePosition"; "appBadgeColor": "appBadgeColor"; "appBadgeFill": "appBadgeFill"; "appBadgeMatIcon": "appBadgeMatIcon"; "appBadgeIcon": "appBadgeIcon"; "appBadgeHidden": "appBadgeHidden"; "appBadgeOverlap": "appBadgeOverlap"; "appBadgePosition": "appBadgePosition"; }, {}, never, never, false>;
|
|
37
37
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, FormGroupDirective, UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
|
|
3
3
|
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
-
import { Moment } from 'moment
|
|
4
|
+
import { Moment } from 'moment';
|
|
5
5
|
import { InputElement } from '../../inputs';
|
|
6
6
|
import { FloatLabelType, MatFormFieldAppearance } from '@angular/material/form-field';
|
|
7
7
|
import { DateFilterFn, MatDatepicker, MatDatepickerInputEvent } from '@angular/material/datepicker';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const fadeInAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
2
|
+
export declare const fadeInSlowAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
2
3
|
export declare const fadeInOutAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
4
|
+
export declare const slideInAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
3
5
|
export declare const slideInOutAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
4
6
|
export declare const slideUpDownAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
@@ -3,6 +3,7 @@ export declare function isESModule<T>(value: any | T): value is {
|
|
|
3
3
|
};
|
|
4
4
|
/**
|
|
5
5
|
* Workaround need for CommonJS library (eg. moment), because of packagr's issue - see https://github.com/ng-packagr/ng-packagr/issues/2215
|
|
6
|
+
*
|
|
6
7
|
* @param commonJSModule
|
|
7
8
|
*/
|
|
8
9
|
export declare function unwrapESModule<T = any>(commonJSModule: T | any): T;
|
|
@@ -21,6 +21,7 @@ export declare function firstNotNilPromise<T = any>(obs: Observable<T>, opts?: F
|
|
|
21
21
|
export declare function chainPromises<T = any>(defers: (() => Promise<any>)[]): Promise<T[]>;
|
|
22
22
|
/**
|
|
23
23
|
* Wait form a predicate return true. This need to implement AppFormUtils.waitWhilePending(), AppFormUtils.waitIdle()
|
|
24
|
+
*
|
|
24
25
|
* @param predicate
|
|
25
26
|
* @param opts
|
|
26
27
|
*/
|
|
@@ -4,7 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class TranslateContextPipe implements PipeTransform {
|
|
5
5
|
private translate;
|
|
6
6
|
constructor(translate: TranslateContextService);
|
|
7
|
-
transform(query: string, context?: string, interpolateParams?:
|
|
7
|
+
transform(query: string, context?: string, interpolateParams?: any): string;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TranslateContextPipe, never>;
|
|
9
9
|
static ɵpipe: i0.ɵɵPipeDeclaration<TranslateContextPipe, "translateContext", false>;
|
|
10
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<TranslateContextPipe>;
|
|
@@ -49,10 +49,12 @@ export declare class InMemoryEntitiesService<T extends IEntity<T, ID>, F = any,
|
|
|
49
49
|
equals(d1: T, d2: T): boolean;
|
|
50
50
|
/**
|
|
51
51
|
* Count data stored by the service (without hidden data).
|
|
52
|
+
*
|
|
52
53
|
* @param opts
|
|
53
54
|
*/
|
|
54
55
|
/**
|
|
55
56
|
* Count data stored by the service (without hidden data).
|
|
57
|
+
*
|
|
56
58
|
* @param opts
|
|
57
59
|
* @deprecated TODO Please rename this getter into visibleCount (and create count = hiddenCount + visibleCount)
|
|
58
60
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BehaviorSubject, Subject, Subscription } from 'rxjs';
|
|
2
2
|
import { IStartableService } from './startable-service.class';
|
|
3
3
|
/**
|
|
4
|
-
* Same as StartableService,
|
|
4
|
+
* Same as StartableService, but with a dataSubject instead of a simple 'data' property
|
|
5
5
|
*/
|
|
6
6
|
export declare abstract class StartableObservableService<T = any, O = any> implements IStartableService<T> {
|
|
7
7
|
readonly dataSubject: BehaviorSubject<T>;
|
|
@@ -4,8 +4,8 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class TranslateContextService {
|
|
5
5
|
protected translate: TranslateService;
|
|
6
6
|
constructor(translate: TranslateService);
|
|
7
|
-
get(key: string | string[], context?: string, interpolateParams?:
|
|
8
|
-
instant(key: string | string[], context?: string, interpolateParams?:
|
|
7
|
+
get(key: string | string[], context?: string, interpolateParams?: any): Observable<any>;
|
|
8
|
+
instant(key: string | string[], context?: string, interpolateParams?: any): any;
|
|
9
9
|
/**
|
|
10
10
|
* Compute contextual i18n keys, using the context as suffix.<br>
|
|
11
11
|
* Suffix can be simple name (like 'aaa' - will return ['<key>.aaa']) or complexe (like 'aaa.bbb' - will return ['<key>.aaa.bbb', '<key>.aaa']
|
|
@@ -4,6 +4,7 @@ export interface IValidatorService<T> extends ValidatorService {
|
|
|
4
4
|
getFormGroup(data?: T): UntypedFormGroup;
|
|
5
5
|
/**
|
|
6
6
|
* Compute errors from a controls
|
|
7
|
+
*
|
|
7
8
|
* @param control any control, or FormGroup, or FormArray
|
|
8
9
|
*/
|
|
9
10
|
getI18nFormErrors(control: AbstractControl): string[];
|
|
@@ -8,10 +8,11 @@ import * as i5 from "./toast/toast.testing.module";
|
|
|
8
8
|
import * as i6 from "./upload-file/testing/upload-file.testing.module";
|
|
9
9
|
import * as i7 from "./image/gallery/testing/gallery.testing.module";
|
|
10
10
|
import * as i8 from "./audio/audio.testing.module";
|
|
11
|
-
import * as i9 from "./storage/storage-explorer.module";
|
|
11
|
+
import * as i9 from "./storage/storage-explorer.testing.module";
|
|
12
|
+
import * as i10 from "../core/menu/testing/menu.testing.module";
|
|
12
13
|
export declare const SHARED_TESTING_PAGES: TestingPage[];
|
|
13
14
|
export declare class SharedTestingModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedTestingModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedTestingModule, never, [typeof i1.CommonModule, typeof i2.IonicModule, typeof i3.TranslateModule, typeof i4.MaterialTestingModule, typeof i5.ToastTestingModule, typeof i6.UploadFileTestingModule, typeof i7.ImageGalleryTestingModule, typeof i8.AudioTestingModule, typeof i9.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SharedTestingModule, never, [typeof i1.CommonModule, typeof i2.IonicModule, typeof i3.TranslateModule, typeof i4.MaterialTestingModule, typeof i5.ToastTestingModule, typeof i6.UploadFileTestingModule, typeof i7.ImageGalleryTestingModule, typeof i8.AudioTestingModule, typeof i9.StorageExplorerTestingModule, typeof i10.MenuTestingModule], [typeof i4.MaterialTestingModule, typeof i5.ToastTestingModule, typeof i6.UploadFileTestingModule, typeof i7.ImageGalleryTestingModule, typeof i8.AudioTestingModule, typeof i9.StorageExplorerTestingModule, typeof i10.MenuTestingModule]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<SharedTestingModule>;
|
|
17
18
|
}
|
|
@@ -9,11 +9,11 @@ import { Log, LogUtils } from '../logging/logger.model';
|
|
|
9
9
|
import { MomentDateAdapter } from '@angular/material-moment-adapter';
|
|
10
10
|
import { LogLevel } from '../logging/log-level.model';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
|
-
|
|
12
|
+
interface StorageItemInfo {
|
|
13
13
|
key: string;
|
|
14
14
|
type: 'array' | 'object' | 'string' | 'number';
|
|
15
15
|
total: number;
|
|
16
|
-
}
|
|
16
|
+
}
|
|
17
17
|
export declare const APP_STORAGE_EXPLORER_PROTECTED_KEYS: InjectionToken<string[]>;
|
|
18
18
|
export declare class StorageExplorerComponent implements OnInit {
|
|
19
19
|
protected platform: Platform;
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import { TestingPage } from '../testing/tests.page';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import * as i1 from "./storage-explorer.component";
|
|
4
3
|
import * as i2 from "@ionic/angular";
|
|
5
4
|
import * as i3 from "@angular/common";
|
|
6
|
-
import * as i4 from "@
|
|
7
|
-
import * as i5 from "@
|
|
8
|
-
import * as i6 from "
|
|
9
|
-
import * as i7 from "../
|
|
10
|
-
import * as i8 from "../material/material.module";
|
|
11
|
-
export declare const SHARED_STORAGE_TESTING_PAGES: TestingPage[];
|
|
5
|
+
import * as i4 from "@rx-angular/template/for";
|
|
6
|
+
import * as i5 from "@ngx-translate/core";
|
|
7
|
+
import * as i6 from "../pipes/pipes.module";
|
|
8
|
+
import * as i7 from "../material/material.module";
|
|
12
9
|
export declare class StorageExplorerModule {
|
|
13
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<StorageExplorerModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StorageExplorerModule, [typeof i1.StorageExplorerComponent], [typeof i2.IonicModule, typeof i3.CommonModule, typeof i4.
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StorageExplorerModule, [typeof i1.StorageExplorerComponent], [typeof i2.IonicModule, typeof i3.CommonModule, typeof i4.ForModule, typeof i5.TranslateModule, typeof i6.SharedPipesModule, typeof i7.SharedMaterialModule], [typeof i1.StorageExplorerComponent]>;
|
|
15
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<StorageExplorerModule>;
|
|
16
13
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "@angular/router";
|
|
4
|
+
import * as i3 from "./storage-explorer.module";
|
|
5
|
+
export declare class StorageExplorerTestingRoutingModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StorageExplorerTestingRoutingModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StorageExplorerTestingRoutingModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.StorageExplorerModule], [typeof i2.RouterModule]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StorageExplorerTestingRoutingModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TestingPage } from '../testing/tests.page';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "@angular/common";
|
|
4
|
+
import * as i2 from "@angular/router";
|
|
5
|
+
export declare const SHARED_STORAGE_TESTING_PAGES: TestingPage[];
|
|
6
|
+
export declare class StorageExplorerTestingModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StorageExplorerTestingModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StorageExplorerTestingModule, never, [typeof i1.CommonModule, typeof i2.RouterModule], [typeof i2.RouterModule]>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StorageExplorerTestingModule>;
|
|
10
|
+
}
|
|
@@ -5,7 +5,6 @@ import { Platform } from '@ionic/angular';
|
|
|
5
5
|
import { Environment } from '../../../environments/environment.class';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class StorageService extends StartableService<Storage> implements IStorage<Storage> {
|
|
8
|
-
private platform;
|
|
9
8
|
private storage;
|
|
10
9
|
private environment;
|
|
11
10
|
get driver(): string | undefined;
|
|
@@ -9,6 +9,7 @@ export declare class UploadFileTestingPage {
|
|
|
9
9
|
showPopover(event: Event, opts?: Partial<UploadFilePopoverOptions<any>>): Promise<void>;
|
|
10
10
|
/**
|
|
11
11
|
* Simulate a upload function, with progression
|
|
12
|
+
*
|
|
12
13
|
* @param file
|
|
13
14
|
*/
|
|
14
15
|
uploadFile(file: File): Observable<FileEvent<{
|
|
@@ -44,6 +44,7 @@ export declare class SharedValidators {
|
|
|
44
44
|
}): ValidatorFn;
|
|
45
45
|
/**
|
|
46
46
|
* Check precision. e.g. if precision=0.5 then value=0.6 is invalid, but 1.5 is valid
|
|
47
|
+
*
|
|
47
48
|
* @param precision
|
|
48
49
|
*/
|
|
49
50
|
static precision(precision: number): ValidatorFn;
|
|
@@ -65,6 +66,7 @@ export declare class SharedFormGroupValidators {
|
|
|
65
66
|
static propagateIfDirty(fieldName: string, fieldNameToPropagate: string, valueToPropagate: any): ValidatorFn;
|
|
66
67
|
/**
|
|
67
68
|
* Same as compose, but keep only the first errors (instead of the union)
|
|
69
|
+
*
|
|
68
70
|
* @param validators
|
|
69
71
|
*/
|
|
70
72
|
first(validators: (ValidatorFn | null | undefined)[]): ValidationErrors | null;
|
|
@@ -91,6 +93,7 @@ export declare class SharedAsyncValidators {
|
|
|
91
93
|
private static DEBOUNCE_TIME_VALIDATOR_ID;
|
|
92
94
|
/**
|
|
93
95
|
* Add a debounce time to a validator.
|
|
96
|
+
*
|
|
94
97
|
* @param form
|
|
95
98
|
* @param validatorFn
|
|
96
99
|
* @param opts Use opts.stopSubject to stop the validator, before end
|
|
@@ -103,6 +106,7 @@ export declare class SharedAsyncValidators {
|
|
|
103
106
|
}): ObservableValidatorFn;
|
|
104
107
|
/**
|
|
105
108
|
* Add an async validator, that can be disposed by the returned subscription
|
|
109
|
+
*
|
|
106
110
|
* @param form
|
|
107
111
|
* @param validatorFn the validator or job to execute
|
|
108
112
|
* @param opts
|
package/src/assets/i18n/en.json
CHANGED
package/src/assets/i18n/fr.json
CHANGED
|
@@ -33,6 +33,8 @@
|
|
|
33
33
|
"BTN_SAVE": "Sauvegarder",
|
|
34
34
|
"BTN_SAVE_WITH_SHORTCUT": "<u>S</u>auvegarder",
|
|
35
35
|
"BTN_SAVE_WITH_SHORTCUT_HELP": "Sauvegarder (Ctrl+S)",
|
|
36
|
+
"BTN_SAVE_AND_CLOSE": "Sauvegarder et fermer",
|
|
37
|
+
"BTN_SAVE_AND_NEXT": "Sauvegarder et suivant",
|
|
36
38
|
"BTN_FILTER": "Filtrer",
|
|
37
39
|
"BTN_RELOAD": "Recharger",
|
|
38
40
|
"BTN_REFRESH": "Rafraichir",
|
|
@@ -210,7 +212,12 @@
|
|
|
210
212
|
"LOCAL_SETTINGS": "Paramètres",
|
|
211
213
|
"LOGOUT": "Se déconnecter",
|
|
212
214
|
"ABOUT": "À propos",
|
|
213
|
-
"BTN_MY_ACCOUNT": "Mon compte"
|
|
215
|
+
"BTN_MY_ACCOUNT": "Mon compte",
|
|
216
|
+
|
|
217
|
+
"TRIPS": "Marées",
|
|
218
|
+
"LOGBOOKS": "Logbooks",
|
|
219
|
+
"OCCASIONS": "Sorties",
|
|
220
|
+
"AUCTION_OCCASIONS": "Sorties en criées"
|
|
214
221
|
},
|
|
215
222
|
"ABOUT": {
|
|
216
223
|
"TITLE": "À propos",
|
|
@@ -416,6 +423,7 @@
|
|
|
416
423
|
"LIST": {
|
|
417
424
|
"TITLE": "Utilisateurs",
|
|
418
425
|
"BTN_SEND_MESSAGE": "Envoyer un message",
|
|
426
|
+
"BTN_ACTIONS": "Actions",
|
|
419
427
|
"FILTER": {
|
|
420
428
|
"SEARCH": "Recherche : nom, prénom..."
|
|
421
429
|
}
|
|
@@ -659,6 +667,7 @@
|
|
|
659
667
|
"CREATION_DATE": "Date création",
|
|
660
668
|
"UPDATE_DATE": "Date MAJ",
|
|
661
669
|
"COMMENTS": "Commentaires",
|
|
670
|
+
"VALUES": "Enums",
|
|
662
671
|
"GROUP_1": "Groupe 1",
|
|
663
672
|
"GROUP_2": "Groupe 2",
|
|
664
673
|
"STATUS_ID": "Etat de saisie"
|
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": "2.6.
|
|
5
|
+
"version": "2.6.6-rc1",
|
|
6
6
|
"default_locale": "fr",
|
|
7
7
|
"description": "Angular components for building beautiful and responsive Apps",
|
|
8
8
|
"icons": [{
|
|
@@ -1308,7 +1308,8 @@ ion-modal.modal-fullscreen {
|
|
|
1308
1308
|
}
|
|
1309
1309
|
|
|
1310
1310
|
.popover-notifications {
|
|
1311
|
-
--
|
|
1311
|
+
--popover-top: 0;
|
|
1312
|
+
--max-height: calc(90vh - 40px /* header + footer height */ - var(--popover-top, 0px) - var(--offset-y, 0px));
|
|
1312
1313
|
|
|
1313
1314
|
ion-item {
|
|
1314
1315
|
--ion-item-background-color-hover: var(--ion-color-light);
|