@onemrvapublic/design-system 20.2.1-develop.4 → 20.3.0-develop.1
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/fesm2022/onemrvapublic-design-system-layout.mjs +43 -5
- package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs +4 -4
- package/fesm2022/onemrvapublic-design-system-mat-navigation.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-shared.mjs +31 -3
- package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system.mjs +75 -11
- package/fesm2022/onemrvapublic-design-system.mjs.map +1 -1
- package/index.d.ts +38 -14
- package/layout/index.d.ts +28 -13
- package/mat-navigation/src/mat-navigation-item/onemrva-mat-navigation-item.component.scss +11 -15
- package/mat-navigation/src/onemrva-mat-navigation.component.scss +3 -1
- package/package.json +1 -1
- package/shared/index.d.ts +12 -3
package/index.d.ts
CHANGED
|
@@ -9,9 +9,9 @@ import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
|
|
|
9
9
|
import * as i19 from '@angular/material/sidenav';
|
|
10
10
|
import { MatDrawer } from '@angular/material/sidenav';
|
|
11
11
|
import { OnemrvaMatSize, OnemrvaMatColor } from '@onemrvapublic/design-system/utils';
|
|
12
|
-
import { NavItem as NavItem$1 } from '@onemrvapublic/design-system/mat-navigation';
|
|
13
12
|
import * as i26 from '@ngx-translate/core';
|
|
14
13
|
import { TranslateService, MissingTranslationHandler, MissingTranslationHandlerParams, TranslateLoader } from '@ngx-translate/core';
|
|
14
|
+
import { NavItem as NavItem$1 } from '@onemrvapublic/design-system/mat-navigation';
|
|
15
15
|
import * as i14 from '@angular/common';
|
|
16
16
|
import { Location } from '@angular/common';
|
|
17
17
|
import * as i17 from '@angular/material/toolbar';
|
|
@@ -34,6 +34,7 @@ import { OnemRvaCDNMimeService as OnemRvaCDNMimeService$1, OSMResult as OSMResul
|
|
|
34
34
|
import * as i5 from '@angular/forms';
|
|
35
35
|
import { FormControl, ControlValueAccessor, FormGroup, NgControl, ValidationErrors, AbstractControl, ValidatorFn } from '@angular/forms';
|
|
36
36
|
import * as i11 from '@angular/material/input';
|
|
37
|
+
import { MatInput } from '@angular/material/input';
|
|
37
38
|
import { ComponentStore } from '@ngrx/component-store';
|
|
38
39
|
import { HttpEvent, HttpClient } from '@angular/common/http';
|
|
39
40
|
import { MatAutocompleteTrigger } from '@angular/material/autocomplete';
|
|
@@ -230,16 +231,16 @@ declare class LayoutComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
230
231
|
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "onemrva-layout", never, { "logo": { "alias": "logo"; "required": false; }; "languages": { "alias": "languages"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "logoRedictionUrl": { "alias": "logoRedictionUrl"; "required": false; }; "profile": { "alias": "profile"; "required": false; }; "id": { "alias": "id"; "required": false; }; "role": { "alias": "role"; "required": false; }; "showThemeSwitcher": { "alias": "showThemeSwitcher"; "required": false; }; }, { "login": "login"; "logout": "logout"; }, ["title", "loginMenu", "content", "afterNav", "footer", "routes"], never, true, never>;
|
|
231
232
|
}
|
|
232
233
|
|
|
233
|
-
declare class
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
242
|
-
static
|
|
234
|
+
declare class OnemrvaLeftSidenavService {
|
|
235
|
+
private originalItems;
|
|
236
|
+
readonly items: WritableSignal<NavItem$1[]>;
|
|
237
|
+
private router;
|
|
238
|
+
constructor();
|
|
239
|
+
setOriginal(items: NavItem$1[]): void;
|
|
240
|
+
updateItems(items: NavItem$1[]): void;
|
|
241
|
+
reset(): void;
|
|
242
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaLeftSidenavService, never>;
|
|
243
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OnemrvaLeftSidenavService>;
|
|
243
244
|
}
|
|
244
245
|
|
|
245
246
|
declare class LayoutSidenavComponent implements OnInit {
|
|
@@ -261,6 +262,21 @@ declare class LayoutSidenavComponent implements OnInit {
|
|
|
261
262
|
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSidenavComponent, "onemrva-layout-sidenav", never, { "isSmall": { "alias": "isSmall"; "required": false; }; "routes": { "alias": "routes"; "required": false; }; "languages": { "alias": "languages"; "required": false; }; }, {}, never, never, true, never>;
|
|
262
263
|
}
|
|
263
264
|
|
|
265
|
+
declare class LayoutLeftSidenavComponent {
|
|
266
|
+
private _items;
|
|
267
|
+
set items(value: NavItem$1[]);
|
|
268
|
+
get items(): NavItem$1[];
|
|
269
|
+
leftSidenavService: OnemrvaLeftSidenavService;
|
|
270
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutLeftSidenavComponent, never>;
|
|
271
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutLeftSidenavComponent, "onemrva-layout-left-sidenav", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
declare class LayoutSidenavTitleComponent {
|
|
275
|
+
template?: TemplateRef<any>;
|
|
276
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutSidenavTitleComponent, never>;
|
|
277
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSidenavTitleComponent, "onemrva-layout-sidenav-title", never, {}, {}, never, ["*"], true, never>;
|
|
278
|
+
}
|
|
279
|
+
|
|
264
280
|
declare class LayoutDrawerActionsComponent {
|
|
265
281
|
drawerService: OnemrvaDrawerService;
|
|
266
282
|
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutDrawerActionsComponent, never>;
|
|
@@ -280,7 +296,7 @@ declare class LayoutDrawerTitleComponent {
|
|
|
280
296
|
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutDrawerTitleComponent, "onemrva-drawer-title", never, { "showClose": { "alias": "showClose"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
281
297
|
}
|
|
282
298
|
|
|
283
|
-
declare const layoutComponents: (typeof LayoutRouteComponent | typeof LayoutFooterComponent | typeof LayoutComponent | typeof LayoutLeftSidenavComponent)[];
|
|
299
|
+
declare const layoutComponents: (typeof LayoutRouteComponent | typeof LayoutFooterComponent | typeof LayoutSidenavComponent | typeof LayoutComponent | typeof LayoutLeftSidenavComponent)[];
|
|
284
300
|
|
|
285
301
|
declare class StripHtmlPipe implements PipeTransform {
|
|
286
302
|
transform(value: string): any;
|
|
@@ -2765,6 +2781,14 @@ declare class OnemRvaSizeDirective {
|
|
|
2765
2781
|
static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaSizeDirective, "mat-icon[size], onemrva-mat-skeleton[size], onemrva-mat-avatar[size], button[size]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
2766
2782
|
}
|
|
2767
2783
|
|
|
2784
|
+
declare class ReadOnlyFormDirective implements AfterViewInit {
|
|
2785
|
+
matInputs: QueryList<MatInput>;
|
|
2786
|
+
isReadOnly: boolean;
|
|
2787
|
+
ngAfterViewInit(): void;
|
|
2788
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReadOnlyFormDirective, never>;
|
|
2789
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ReadOnlyFormDirective, "form[onemrva-readonly], mat-form-field[onemrva-readonly]", never, {}, {}, ["matInputs"], never, true, never>;
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2768
2792
|
declare const directives: any[];
|
|
2769
2793
|
|
|
2770
2794
|
/**
|
|
@@ -2994,7 +3018,7 @@ declare const bankAccountValidator: (allowEmptyCountry?: boolean) => ValidatorFn
|
|
|
2994
3018
|
|
|
2995
3019
|
declare class OnemrvaSharedModule {
|
|
2996
3020
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaSharedModule, never>;
|
|
2997
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaSharedModule, never, [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective], [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective]>;
|
|
3021
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaSharedModule, never, [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective, typeof ReadOnlyFormDirective], [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective, typeof ReadOnlyFormDirective]>;
|
|
2998
3022
|
static ɵinj: i0.ɵɵInjectorDeclaration<OnemrvaSharedModule>;
|
|
2999
3023
|
}
|
|
3000
3024
|
|
|
@@ -3071,5 +3095,5 @@ declare function onemrvaThemeProvider(): Provider[];
|
|
|
3071
3095
|
declare const LOOKUP_COUNTRY_SERVICE_URL: InjectionToken<string>;
|
|
3072
3096
|
declare const ONEMRVA_THEME_CLASS: InjectionToken<string>;
|
|
3073
3097
|
|
|
3074
|
-
export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, CUSTOM_VALIDATION_FN, CacheService, ClipboardIconComponent, ClockComponent, CoerceBooleanInput, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, DndDirective, DrawerHostDirective, Environment, FlagIconComponent, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, LOOKUP_COUNTRY_SERVICE_URL, LOOKUP_COUNTRY_URL, LayoutAfterNavComponent, LayoutComponent, LayoutContentComponent, LayoutDrawerActionsComponent, LayoutDrawerContentComponent, LayoutDrawerTitleComponent, LayoutFooterComponent, LayoutLeftSidenavComponent, LayoutLoginMenuComponent, LayoutRouteComponent, LayoutSidenavComponent, LayoutSidenavTitleComponent, LayoutSubrouteComponent, LayoutTitleComponent, MAT_SELECTSEARCH_DEFAULT_OPTIONS, MatAvatarType, MatRowClickableDirective, MatSelectNoEntriesFoundDirective, MatSelectSearchClearDirective, MatSelectSearchComponent, MatSelectSearchModule, MatTimePickerToggle, MatTimepickerComponentDialogComponent, MatTimepickerDirective, MatTimepickerToggleIconDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, ONEMRVA_THEME, ONEMRVA_THEME_CLASS, ObservableContent, OnemRvaAddress, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemRvaOSMService, OnemRvaProfile, OnemRvaSizeDirective, OnemrvaBcePipe, OnemrvaCopyToClipboardComponent, OnemrvaCountryItemComponent, OnemrvaDateFormatDirective, OnemrvaDrawerService, OnemrvaErrorHandler, OnemrvaFilePanelComponent, OnemrvaLayoutModule, OnemrvaLuxonDateAdapter, OnemrvaMaskDirective, OnemrvaMatAvatarComponent, OnemrvaMatAvatarModule, OnemrvaMatBreadcrumbComponent, OnemrvaMatBreadcrumbModule, OnemrvaMatBreadcrumbService, OnemrvaMatCarouselComponent, OnemrvaMatCarouselItemComponent, OnemrvaMatChoiceChipComponent, OnemrvaMatDatepickerHeaderComponent, OnemrvaMatEmptyRowComponent, OnemrvaMatFileUploadComponent, OnemrvaMatFileUploadModule, OnemrvaMatFileUploadService, OnemrvaMatFileUploadStore, OnemrvaMatInputAddressComponent, OnemrvaMatInputBirthPlaceComponent, OnemrvaMatInputCountryComponent, OnemrvaMatInputEnterpriseNumberComponent, OnemrvaMatInputIbanComponent, OnemrvaMatInputPhoneComponent, OnemrvaMatLoadingDirective, OnemrvaMatMessageBoxComponent, OnemrvaMatMessageBoxModule, OnemrvaMatMultiSelectComponent, OnemrvaMatMultiSelectModule, OnemrvaMatNavigationComponent, OnemrvaMatNavigationItemComponent, OnemrvaMatNotificationComponent, OnemrvaMatPaginatorComponent, OnemrvaMatPaginatorModule, OnemrvaMatPanelComponent, OnemrvaMatPanelContentComponent, OnemrvaMatPanelIconComponent, OnemrvaMatPanelModule, OnemrvaMatPanelTitleActionComponent, OnemrvaMatPanelTitleComponent, OnemrvaMatPopOverComponent, OnemrvaMatPopOverContentComponent, OnemrvaMatPopOverModule, OnemrvaMatPopOverTriggerComponent, OnemrvaMatProgressBarComponent, OnemrvaMatSelectableBoxComponent, OnemrvaMatSelectableBoxModule, OnemrvaMatSideMenuComponent, OnemrvaMatSideMenuModule, OnemrvaMatSkeletoTypes, OnemrvaMatSkeletonAnimations, OnemrvaMatSkeletonComponent, OnemrvaMatSkeletonModule, OnemrvaMatSpinnerComponent, OnemrvaMatSpinnerModule, OnemrvaMatStepperComponent, OnemrvaMatStepperModule, OnemrvaMatStickerComponent, OnemrvaMatStickerModule, OnemrvaMatTableOfContentComponent, OnemrvaMatTableOfContentDirective, OnemrvaMatTableOfContentService, OnemrvaMatTaskComponent, OnemrvaMatTaskContentComponent, OnemrvaMatTaskListComponent, OnemrvaMatTaskListModule, OnemrvaMatTaskTitleComponent, OnemrvaMatTimepickerComponent, OnemrvaMatTimepickerModule, OnemrvaMatToastComponent, OnemrvaMatToastModule, OnemrvaMatTocAnchorLevel, OnemrvaMatTocAnchorStatus, OnemrvaMatTooltipComponent, OnemrvaMatTooltipDirective, OnemrvaMatTooltipModule, OnemrvaMissingTranslationHandler, OnemrvaNativeDateAdapter, OnemrvaNissPipe, OnemrvaPageNotFoundModule, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, PageNotFoundActionComponent, PageNotFoundComponent, PageNotFoundExtraComponent, PageNotFoundInvaderComponent, PhoneNumberDirective, RequestTimes, SEPA_ONLY_SUPPORTED_COUNTRIES, StripHtmlPipe, ToastType, WebComponentOverlayContainer, bankAccountValidator, components, configurableDefaultOptions, convertToProgressFile, convertToReferencedProgressFile, directives, formatBytes, formattedSize, layoutComponents, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, onemrvaThemeProvider, setTranslationLanguage, setTranslationLanguageFromWO };
|
|
3098
|
+
export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, CUSTOM_VALIDATION_FN, CacheService, ClipboardIconComponent, ClockComponent, CoerceBooleanInput, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, DndDirective, DrawerHostDirective, Environment, FlagIconComponent, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, LOOKUP_COUNTRY_SERVICE_URL, LOOKUP_COUNTRY_URL, LayoutAfterNavComponent, LayoutComponent, LayoutContentComponent, LayoutDrawerActionsComponent, LayoutDrawerContentComponent, LayoutDrawerTitleComponent, LayoutFooterComponent, LayoutLeftSidenavComponent, LayoutLoginMenuComponent, LayoutRouteComponent, LayoutSidenavComponent, LayoutSidenavTitleComponent, LayoutSubrouteComponent, LayoutTitleComponent, MAT_SELECTSEARCH_DEFAULT_OPTIONS, MatAvatarType, MatRowClickableDirective, MatSelectNoEntriesFoundDirective, MatSelectSearchClearDirective, MatSelectSearchComponent, MatSelectSearchModule, MatTimePickerToggle, MatTimepickerComponentDialogComponent, MatTimepickerDirective, MatTimepickerToggleIconDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, ONEMRVA_THEME, ONEMRVA_THEME_CLASS, ObservableContent, OnemRvaAddress, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemRvaOSMService, OnemRvaProfile, OnemRvaSizeDirective, OnemrvaBcePipe, OnemrvaCopyToClipboardComponent, OnemrvaCountryItemComponent, OnemrvaDateFormatDirective, OnemrvaDrawerService, OnemrvaErrorHandler, OnemrvaFilePanelComponent, OnemrvaLayoutModule, OnemrvaLeftSidenavService, OnemrvaLuxonDateAdapter, OnemrvaMaskDirective, OnemrvaMatAvatarComponent, OnemrvaMatAvatarModule, OnemrvaMatBreadcrumbComponent, OnemrvaMatBreadcrumbModule, OnemrvaMatBreadcrumbService, OnemrvaMatCarouselComponent, OnemrvaMatCarouselItemComponent, OnemrvaMatChoiceChipComponent, OnemrvaMatDatepickerHeaderComponent, OnemrvaMatEmptyRowComponent, OnemrvaMatFileUploadComponent, OnemrvaMatFileUploadModule, OnemrvaMatFileUploadService, OnemrvaMatFileUploadStore, OnemrvaMatInputAddressComponent, OnemrvaMatInputBirthPlaceComponent, OnemrvaMatInputCountryComponent, OnemrvaMatInputEnterpriseNumberComponent, OnemrvaMatInputIbanComponent, OnemrvaMatInputPhoneComponent, OnemrvaMatLoadingDirective, OnemrvaMatMessageBoxComponent, OnemrvaMatMessageBoxModule, OnemrvaMatMultiSelectComponent, OnemrvaMatMultiSelectModule, OnemrvaMatNavigationComponent, OnemrvaMatNavigationItemComponent, OnemrvaMatNotificationComponent, OnemrvaMatPaginatorComponent, OnemrvaMatPaginatorModule, OnemrvaMatPanelComponent, OnemrvaMatPanelContentComponent, OnemrvaMatPanelIconComponent, OnemrvaMatPanelModule, OnemrvaMatPanelTitleActionComponent, OnemrvaMatPanelTitleComponent, OnemrvaMatPopOverComponent, OnemrvaMatPopOverContentComponent, OnemrvaMatPopOverModule, OnemrvaMatPopOverTriggerComponent, OnemrvaMatProgressBarComponent, OnemrvaMatSelectableBoxComponent, OnemrvaMatSelectableBoxModule, OnemrvaMatSideMenuComponent, OnemrvaMatSideMenuModule, OnemrvaMatSkeletoTypes, OnemrvaMatSkeletonAnimations, OnemrvaMatSkeletonComponent, OnemrvaMatSkeletonModule, OnemrvaMatSpinnerComponent, OnemrvaMatSpinnerModule, OnemrvaMatStepperComponent, OnemrvaMatStepperModule, OnemrvaMatStickerComponent, OnemrvaMatStickerModule, OnemrvaMatTableOfContentComponent, OnemrvaMatTableOfContentDirective, OnemrvaMatTableOfContentService, OnemrvaMatTaskComponent, OnemrvaMatTaskContentComponent, OnemrvaMatTaskListComponent, OnemrvaMatTaskListModule, OnemrvaMatTaskTitleComponent, OnemrvaMatTimepickerComponent, OnemrvaMatTimepickerModule, OnemrvaMatToastComponent, OnemrvaMatToastModule, OnemrvaMatTocAnchorLevel, OnemrvaMatTocAnchorStatus, OnemrvaMatTooltipComponent, OnemrvaMatTooltipDirective, OnemrvaMatTooltipModule, OnemrvaMissingTranslationHandler, OnemrvaNativeDateAdapter, OnemrvaNissPipe, OnemrvaPageNotFoundModule, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, PageNotFoundActionComponent, PageNotFoundComponent, PageNotFoundExtraComponent, PageNotFoundInvaderComponent, PhoneNumberDirective, ReadOnlyFormDirective, RequestTimes, SEPA_ONLY_SUPPORTED_COUNTRIES, StripHtmlPipe, ToastType, WebComponentOverlayContainer, bankAccountValidator, components, configurableDefaultOptions, convertToProgressFile, convertToReferencedProgressFile, directives, formatBytes, formattedSize, layoutComponents, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, onemrvaThemeProvider, setTranslationLanguage, setTranslationLanguageFromWO };
|
|
3075
3099
|
export type { ActionConfig, ConfigurableDefaultOptions, CustomValidationFn, FileUploadStoreEvent, HttpCacheOptions, HttpCacheStorage, MatSelectSearchOptions, MimeDefinition, NavItem, OSMAddress, OSMResult, OnemRvaCommonCountry, OnemRvaLanguage, OnemrvaMatFileUploadInterface, OnemrvaMatFileUploadStoreItf, OnemrvaMatToc, OnemrvaMatTocAnchor, OnemrvaMaterialCountry, OnemrvaMenu, OnemrvaSkeletonLoaderConfigTheme, ProgressFile, ReferencedProgressFile, UploadState };
|
package/layout/index.d.ts
CHANGED
|
@@ -8,9 +8,9 @@ import { BreakpointObserver } from '@angular/cdk/layout';
|
|
|
8
8
|
import * as i19 from '@angular/material/sidenav';
|
|
9
9
|
import { MatDrawer } from '@angular/material/sidenav';
|
|
10
10
|
import { OnemrvaMatSize } from '@onemrvapublic/design-system/utils';
|
|
11
|
-
import { NavItem } from '@onemrvapublic/design-system/mat-navigation';
|
|
12
11
|
import * as i26 from '@ngx-translate/core';
|
|
13
12
|
import { TranslateService } from '@ngx-translate/core';
|
|
13
|
+
import { NavItem } from '@onemrvapublic/design-system/mat-navigation';
|
|
14
14
|
import * as i14 from '@angular/common';
|
|
15
15
|
import * as i17 from '@angular/material/toolbar';
|
|
16
16
|
import * as i18 from '@angular/material/divider';
|
|
@@ -202,16 +202,16 @@ declare class LayoutComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
|
202
202
|
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, "onemrva-layout", never, { "logo": { "alias": "logo"; "required": false; }; "languages": { "alias": "languages"; "required": false; }; "environment": { "alias": "environment"; "required": false; }; "logoRedictionUrl": { "alias": "logoRedictionUrl"; "required": false; }; "profile": { "alias": "profile"; "required": false; }; "id": { "alias": "id"; "required": false; }; "role": { "alias": "role"; "required": false; }; "showThemeSwitcher": { "alias": "showThemeSwitcher"; "required": false; }; }, { "login": "login"; "logout": "logout"; }, ["title", "loginMenu", "content", "afterNav", "footer", "routes"], never, true, never>;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
|
-
declare class
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<
|
|
214
|
-
static
|
|
205
|
+
declare class OnemrvaLeftSidenavService {
|
|
206
|
+
private originalItems;
|
|
207
|
+
readonly items: WritableSignal<NavItem[]>;
|
|
208
|
+
private router;
|
|
209
|
+
constructor();
|
|
210
|
+
setOriginal(items: NavItem[]): void;
|
|
211
|
+
updateItems(items: NavItem[]): void;
|
|
212
|
+
reset(): void;
|
|
213
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaLeftSidenavService, never>;
|
|
214
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OnemrvaLeftSidenavService>;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
declare class LayoutSidenavComponent implements OnInit {
|
|
@@ -233,6 +233,21 @@ declare class LayoutSidenavComponent implements OnInit {
|
|
|
233
233
|
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSidenavComponent, "onemrva-layout-sidenav", never, { "isSmall": { "alias": "isSmall"; "required": false; }; "routes": { "alias": "routes"; "required": false; }; "languages": { "alias": "languages"; "required": false; }; }, {}, never, never, true, never>;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
+
declare class LayoutLeftSidenavComponent {
|
|
237
|
+
private _items;
|
|
238
|
+
set items(value: NavItem[]);
|
|
239
|
+
get items(): NavItem[];
|
|
240
|
+
leftSidenavService: OnemrvaLeftSidenavService;
|
|
241
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutLeftSidenavComponent, never>;
|
|
242
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutLeftSidenavComponent, "onemrva-layout-left-sidenav", never, { "items": { "alias": "items"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
declare class LayoutSidenavTitleComponent {
|
|
246
|
+
template?: TemplateRef<any>;
|
|
247
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutSidenavTitleComponent, never>;
|
|
248
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutSidenavTitleComponent, "onemrva-layout-sidenav-title", never, {}, {}, never, ["*"], true, never>;
|
|
249
|
+
}
|
|
250
|
+
|
|
236
251
|
declare class LayoutDrawerActionsComponent {
|
|
237
252
|
drawerService: OnemrvaDrawerService;
|
|
238
253
|
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutDrawerActionsComponent, never>;
|
|
@@ -252,7 +267,7 @@ declare class LayoutDrawerTitleComponent {
|
|
|
252
267
|
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutDrawerTitleComponent, "onemrva-drawer-title", never, { "showClose": { "alias": "showClose"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
253
268
|
}
|
|
254
269
|
|
|
255
|
-
declare const layoutComponents: (typeof LayoutRouteComponent | typeof LayoutFooterComponent | typeof LayoutComponent | typeof LayoutLeftSidenavComponent)[];
|
|
270
|
+
declare const layoutComponents: (typeof LayoutRouteComponent | typeof LayoutFooterComponent | typeof LayoutSidenavComponent | typeof LayoutComponent | typeof LayoutLeftSidenavComponent)[];
|
|
256
271
|
|
|
257
272
|
declare class StripHtmlPipe implements PipeTransform {
|
|
258
273
|
transform(value: string): any;
|
|
@@ -270,5 +285,5 @@ declare class OnemrvaLayoutModule {
|
|
|
270
285
|
static ɵinj: i0.ɵɵInjectorDeclaration<OnemrvaLayoutModule>;
|
|
271
286
|
}
|
|
272
287
|
|
|
273
|
-
export { CoerceBooleanInput, DrawerHostDirective, Environment, LayoutAfterNavComponent, LayoutComponent, LayoutContentComponent, LayoutDrawerActionsComponent, LayoutDrawerContentComponent, LayoutDrawerTitleComponent, LayoutFooterComponent, LayoutLeftSidenavComponent, LayoutLoginMenuComponent, LayoutRouteComponent, LayoutSidenavComponent, LayoutSidenavTitleComponent, LayoutSubrouteComponent, LayoutTitleComponent, ObservableContent, OnemRvaProfile, OnemrvaDrawerService, OnemrvaLayoutModule, StripHtmlPipe, layoutComponents };
|
|
288
|
+
export { CoerceBooleanInput, DrawerHostDirective, Environment, LayoutAfterNavComponent, LayoutComponent, LayoutContentComponent, LayoutDrawerActionsComponent, LayoutDrawerContentComponent, LayoutDrawerTitleComponent, LayoutFooterComponent, LayoutLeftSidenavComponent, LayoutLoginMenuComponent, LayoutRouteComponent, LayoutSidenavComponent, LayoutSidenavTitleComponent, LayoutSubrouteComponent, LayoutTitleComponent, ObservableContent, OnemRvaProfile, OnemrvaDrawerService, OnemrvaLayoutModule, OnemrvaLeftSidenavService, StripHtmlPipe, layoutComponents };
|
|
274
289
|
export type { OnemRvaLanguage };
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
&.highlighted2 {
|
|
3
|
-
transition: border-left 0.4s ease;
|
|
4
|
-
border-left: 0.5rem solid var(--mat-sys-tertiary-container);
|
|
5
3
|
.mobile-menu-item {
|
|
6
4
|
transition: border-left 0.4s ease;
|
|
7
5
|
border-left: 0.5rem solid var(--mat-sys-tertiary-container);
|
|
8
6
|
}
|
|
9
7
|
}
|
|
10
8
|
&.highlighted {
|
|
11
|
-
transition: border-left 0.4s ease;
|
|
12
|
-
border-left: 0.5rem solid var(--mat-sys-tertiary);
|
|
13
9
|
.mobile-menu-item {
|
|
14
10
|
transition: border-left 0.4s ease;
|
|
15
11
|
border-left: 0.5rem solid var(--mat-sys-tertiary);
|
|
@@ -30,19 +26,19 @@
|
|
|
30
26
|
color: var(--mat-sys-on-surface);
|
|
31
27
|
border-left: 0.5rem solid transparent;
|
|
32
28
|
|
|
33
|
-
&:active {
|
|
34
|
-
}
|
|
35
29
|
&.active {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
30
|
+
button {
|
|
31
|
+
border-left: 0.5rem solid var(--mat-sys-tertiary);
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
mat-icon {
|
|
34
|
+
font-variation-settings:
|
|
35
|
+
'FILL' 1,
|
|
36
|
+
'wght' 600,
|
|
37
|
+
'GRAD' 0,
|
|
38
|
+
'opsz' 24;
|
|
39
|
+
}
|
|
40
|
+
background: var(--mat-sys-surface-container-low);
|
|
44
41
|
}
|
|
45
|
-
background: var(--mat-sys-surface-container-low);
|
|
46
42
|
}
|
|
47
43
|
&:hover,
|
|
48
44
|
&:focus {
|
package/package.json
CHANGED
package/shared/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { ElementRef, InjectionToken, OnDestroy, EventEmitter, OnInit, ErrorHandler, PipeTransform, Provider } from '@angular/core';
|
|
2
|
+
import { ElementRef, InjectionToken, OnDestroy, EventEmitter, OnInit, AfterViewInit, QueryList, ErrorHandler, PipeTransform, Provider } from '@angular/core';
|
|
3
3
|
import { MatDateFormats, NativeDateAdapter, DateAdapter } from '@angular/material/core';
|
|
4
4
|
import * as rxjs from 'rxjs';
|
|
5
5
|
import { Observable, Subject, BehaviorSubject, ReplaySubject } from 'rxjs';
|
|
@@ -8,6 +8,7 @@ import { HttpClient } from '@angular/common/http';
|
|
|
8
8
|
import { ValidatorFn } from '@angular/forms';
|
|
9
9
|
import { OnemrvaMatColor, OnemrvaMatSize } from '@onemrvapublic/design-system/utils';
|
|
10
10
|
import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';
|
|
11
|
+
import { MatInput } from '@angular/material/input';
|
|
11
12
|
import { DateTime } from 'luxon';
|
|
12
13
|
|
|
13
14
|
declare class ClipboardIconComponent {
|
|
@@ -223,6 +224,14 @@ declare class OnemRvaSizeDirective {
|
|
|
223
224
|
static ɵdir: i0.ɵɵDirectiveDeclaration<OnemRvaSizeDirective, "mat-icon[size], onemrva-mat-skeleton[size], onemrva-mat-avatar[size], button[size]", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
|
|
224
225
|
}
|
|
225
226
|
|
|
227
|
+
declare class ReadOnlyFormDirective implements AfterViewInit {
|
|
228
|
+
matInputs: QueryList<MatInput>;
|
|
229
|
+
isReadOnly: boolean;
|
|
230
|
+
ngAfterViewInit(): void;
|
|
231
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ReadOnlyFormDirective, never>;
|
|
232
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ReadOnlyFormDirective, "form[onemrva-readonly], mat-form-field[onemrva-readonly]", never, {}, {}, ["matInputs"], never, true, never>;
|
|
233
|
+
}
|
|
234
|
+
|
|
226
235
|
declare const directives: any[];
|
|
227
236
|
|
|
228
237
|
/**
|
|
@@ -452,7 +461,7 @@ declare const bankAccountValidator: (allowEmptyCountry?: boolean) => ValidatorFn
|
|
|
452
461
|
|
|
453
462
|
declare class OnemrvaSharedModule {
|
|
454
463
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaSharedModule, never>;
|
|
455
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaSharedModule, never, [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective], [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective]>;
|
|
464
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<OnemrvaSharedModule, never, [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective, typeof ReadOnlyFormDirective], [typeof DigitOnlyDirective, typeof MatRowClickableDirective, typeof OnemRvaClipboardDirective, typeof OnemRvaIconRightDirective, typeof IfWidthIsDirective, typeof OnemRvaColorDirective, typeof OnemrvaMaskDirective, typeof OnemrvaDateFormatDirective, typeof ReadOnlyFormDirective]>;
|
|
456
465
|
static ɵinj: i0.ɵɵInjectorDeclaration<OnemrvaSharedModule>;
|
|
457
466
|
}
|
|
458
467
|
|
|
@@ -529,5 +538,5 @@ declare function onemrvaThemeProvider(): Provider[];
|
|
|
529
538
|
declare const LOOKUP_COUNTRY_SERVICE_URL: InjectionToken<string>;
|
|
530
539
|
declare const ONEMRVA_THEME_CLASS: InjectionToken<string>;
|
|
531
540
|
|
|
532
|
-
export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, CacheService, ClipboardIconComponent, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, LOOKUP_COUNTRY_SERVICE_URL, LOOKUP_COUNTRY_URL, MatRowClickableDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, ONEMRVA_THEME, ONEMRVA_THEME_CLASS, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemRvaOSMService, OnemRvaSizeDirective, OnemrvaBcePipe, OnemrvaDateFormatDirective, OnemrvaErrorHandler, OnemrvaLuxonDateAdapter, OnemrvaMaskDirective, OnemrvaMissingTranslationHandler, OnemrvaNativeDateAdapter, OnemrvaNissPipe, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, RequestTimes, SEPA_ONLY_SUPPORTED_COUNTRIES, WebComponentOverlayContainer, bankAccountValidator, directives, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, onemrvaThemeProvider, setTranslationLanguage, setTranslationLanguageFromWO };
|
|
541
|
+
export { CDNUrlModeOptions, CDN_URLS, CDN_URL_MODE, CacheService, ClipboardIconComponent, CommonCountryLookupService, DefaultStorage, DigitOnlyDirective, HttpRequestCache, IBAN_SUPPORTED_COUNTRIES, IfWidthIsDirective, LOOKUP_COUNTRY_SERVICE_URL, LOOKUP_COUNTRY_URL, MatRowClickableDirective, NISS_MASK, ONEMRVA_MAT_LUXON_DATE_FORMATS, ONEMRVA_MAT_LUXON_YEAR_MONTH_FORMATS, ONEMRVA_MAT_NATIVE_DATE_FORMAT, ONEMRVA_MAT_NATIVE_YEAR_MONTH_FORMAT, ONEMRVA_THEME, ONEMRVA_THEME_CLASS, OnemRvaCDNCountryService, OnemRvaCDNMimeService, OnemRvaCDNService, OnemRvaClipboardDirective, OnemRvaColorDirective, OnemRvaIconRightDirective, OnemRvaOSMService, OnemRvaSizeDirective, OnemrvaBcePipe, OnemrvaDateFormatDirective, OnemrvaErrorHandler, OnemrvaLuxonDateAdapter, OnemrvaMaskDirective, OnemrvaMissingTranslationHandler, OnemrvaNativeDateAdapter, OnemrvaNissPipe, OnemrvaSharedModule, OnemrvaTranslateCDNLoader, OnemrvaTranslateHttpLoader, OnemrvaValidators, ReadOnlyFormDirective, RequestTimes, SEPA_ONLY_SUPPORTED_COUNTRIES, WebComponentOverlayContainer, bankAccountValidator, directives, onemrvaDateLuxonProvider, onemrvaDateLuxonYearMonthProvider, onemrvaDateNativeProvider, onemrvaDateNativeYearMonthProvider, onemrvaThemeProvider, setTranslationLanguage, setTranslationLanguageFromWO };
|
|
533
542
|
export type { HttpCacheOptions, HttpCacheStorage, MimeDefinition, OSMAddress, OSMResult, OnemRvaCommonCountry, OnemrvaMaterialCountry };
|