@onemrvapublic/design-system 20.0.0-develop.2 → 20.0.0-develop.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/onemrvapublic-design-system-mat-address.mjs +84 -0
- package/fesm2022/onemrvapublic-design-system-mat-address.mjs.map +1 -0
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs +33 -6
- package/fesm2022/onemrvapublic-design-system-mat-input-address.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs +4 -3
- package/fesm2022/onemrvapublic-design-system-mat-input-country.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs +2 -2
- package/fesm2022/onemrvapublic-design-system-mat-multi-select.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system.mjs +104 -11
- package/fesm2022/onemrvapublic-design-system.mjs.map +1 -1
- package/index.d.ts +29 -4
- package/mat-address/index.d.ts +29 -0
- package/mat-address/src/onemrva-address.scss +50 -0
- package/mat-input-address/index.d.ts +2 -1
- package/mat-input-country/src/onemrva-mat-input-country.component.scss +11 -5
- package/package.json +5 -5
- package/shared/index.d.ts +1 -0
- package/address/index.d.ts +0 -8
- package/address/src/address.scss +0 -0
- package/fesm2022/onemrvapublic-design-system-address.mjs +0 -22
- package/fesm2022/onemrvapublic-design-system-address.mjs.map +0 -1
package/index.d.ts
CHANGED
|
@@ -1001,6 +1001,7 @@ declare class OnemrvaMatInputAddressComponent implements OnInit {
|
|
|
1001
1001
|
placeholder: string;
|
|
1002
1002
|
readonly: boolean;
|
|
1003
1003
|
address: FormControl;
|
|
1004
|
+
mode: 'road-only' | 'full';
|
|
1004
1005
|
label: string;
|
|
1005
1006
|
noEntriesFoundLabel: string;
|
|
1006
1007
|
hint: string;
|
|
@@ -1017,7 +1018,30 @@ declare class OnemrvaMatInputAddressComponent implements OnInit {
|
|
|
1017
1018
|
clear(): void;
|
|
1018
1019
|
handleEnter(): void;
|
|
1019
1020
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatInputAddressComponent, never>;
|
|
1020
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputAddressComponent, "onemrva-mat-input-address", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "address": { "alias": "address"; "required": false; }; "label": { "alias": "label"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "countryCodes": { "alias": "countryCodes"; "required": false; }; }, { "getAddress": "getAddress"; }, never, never, true, never>;
|
|
1021
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputAddressComponent, "onemrva-mat-input-address", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "address": { "alias": "address"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "label": { "alias": "label"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "countryCodes": { "alias": "countryCodes"; "required": false; }; }, { "getAddress": "getAddress"; }, never, never, true, never>;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
declare class OnemRvaAddress implements OnInit {
|
|
1025
|
+
INSMode?: boolean;
|
|
1026
|
+
update: EventEmitter<{
|
|
1027
|
+
country?: string;
|
|
1028
|
+
street?: string;
|
|
1029
|
+
postal_code?: string;
|
|
1030
|
+
city?: string;
|
|
1031
|
+
street_number?: string;
|
|
1032
|
+
nis?: string;
|
|
1033
|
+
}>;
|
|
1034
|
+
countryForm: FormControl<string | null>;
|
|
1035
|
+
addressControl: FormControl<string | null>;
|
|
1036
|
+
postalCodeControl: FormControl<string | null>;
|
|
1037
|
+
cityControl: FormControl<string | null>;
|
|
1038
|
+
boiteControl: FormControl<string | null>;
|
|
1039
|
+
numeroControl: FormControl<string | null>;
|
|
1040
|
+
NISControl: FormControl<string | null>;
|
|
1041
|
+
ngOnInit(): void;
|
|
1042
|
+
onAddressSelected(result: OSMResult$1): void;
|
|
1043
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaAddress, never>;
|
|
1044
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemRvaAddress, "onemrva-address", never, { "INSMode": { "alias": "INSMode"; "required": false; }; }, { "update": "update"; }, never, never, true, never>;
|
|
1021
1045
|
}
|
|
1022
1046
|
|
|
1023
1047
|
declare class OnemrvaMatInputBirthPlaceComponent implements OnInit, OnDestroy {
|
|
@@ -1067,7 +1091,7 @@ declare class OnemrvaMatInputCountryComponent implements OnInit {
|
|
|
1067
1091
|
constructor();
|
|
1068
1092
|
ngOnInit(): void;
|
|
1069
1093
|
handleClick(e: any): void;
|
|
1070
|
-
errors(): "input.country.
|
|
1094
|
+
errors(): "input.country.required" | "input.country.unknown.error";
|
|
1071
1095
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatInputCountryComponent, never>;
|
|
1072
1096
|
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputCountryComponent, "onemrva-mat-input-country", never, { "readonly": { "alias": "readonly"; "required": false; }; "country": { "alias": "country"; "required": false; }; "label": { "alias": "label"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; }; }, { "getCountry": "getCountry"; }, never, never, true, never>;
|
|
1073
1097
|
}
|
|
@@ -1727,7 +1751,7 @@ type ConfigurableDefaultOptions = (typeof configurableDefaultOptions)[number];
|
|
|
1727
1751
|
*
|
|
1728
1752
|
* See the corresponding inputs of `MatSelectSearchComponent` for documentation.
|
|
1729
1753
|
*/
|
|
1730
|
-
declare const MAT_SELECTSEARCH_DEFAULT_OPTIONS: InjectionToken<Readonly<Partial<Pick<MatSelectSearchComponent, "ariaLabel" | "
|
|
1754
|
+
declare const MAT_SELECTSEARCH_DEFAULT_OPTIONS: InjectionToken<Readonly<Partial<Pick<MatSelectSearchComponent, "ariaLabel" | "noEntriesFoundLabel" | "placeholderLabel" | "closeIcon" | "closeSvgIcon" | "clearSearchInput" | "searching" | "disableInitialFocus" | "enableClearOnEscapePressed" | "preventHomeEndKeyPropagation" | "disableScrollToActiveOnOptionsChanged" | "hideClearSearchButton">>>>;
|
|
1731
1755
|
/** Global configurable options for MatSelectSearch. */
|
|
1732
1756
|
type MatSelectSearchOptions = Readonly<Partial<Pick<MatSelectSearchComponent, ConfigurableDefaultOptions>>>;
|
|
1733
1757
|
|
|
@@ -2888,6 +2912,7 @@ interface OSMAddress {
|
|
|
2888
2912
|
village?: string;
|
|
2889
2913
|
municipality?: string;
|
|
2890
2914
|
county?: string;
|
|
2915
|
+
town?: string;
|
|
2891
2916
|
state?: string;
|
|
2892
2917
|
'ISO3166-2-lvl6'?: string;
|
|
2893
2918
|
postcode?: string;
|
|
@@ -3061,5 +3086,5 @@ declare function onemrvaThemeProvider(): Provider[];
|
|
|
3061
3086
|
declare const LOOKUP_COUNTRY_SERVICE_URL: InjectionToken<string>;
|
|
3062
3087
|
declare const ONEMRVA_THEME_CLASS: InjectionToken<string>;
|
|
3063
3088
|
|
|
3064
|
-
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, 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, 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, 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 };
|
|
3089
|
+
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, 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, 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 };
|
|
3065
3090
|
export type { ActionConfig, ConfigurableDefaultOptions, CustomValidationFn, FileUploadStoreEvent, HttpCacheOptions, HttpCacheStorage, MatSelectSearchOptions, MimeDefinition, OSMAddress, OSMResult, OnemRvaCommonCountry, OnemRvaLanguage, OnemrvaMatFileUploadInterface, OnemrvaMatFileUploadStoreItf, OnemrvaMatToc, OnemrvaMatTocAnchor, OnemrvaMaterialCountry, OnemrvaMenu, OnemrvaSkeletonLoaderConfigTheme, ProgressFile, ReferencedProgressFile, UploadState };
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { OnInit, EventEmitter } from '@angular/core';
|
|
3
|
+
import { FormControl } from '@angular/forms';
|
|
4
|
+
import { OSMResult } from '@onemrvapublic/design-system/shared';
|
|
5
|
+
|
|
6
|
+
declare class OnemRvaAddress implements OnInit {
|
|
7
|
+
INSMode?: boolean;
|
|
8
|
+
update: EventEmitter<{
|
|
9
|
+
country?: string;
|
|
10
|
+
street?: string;
|
|
11
|
+
postal_code?: string;
|
|
12
|
+
city?: string;
|
|
13
|
+
street_number?: string;
|
|
14
|
+
nis?: string;
|
|
15
|
+
}>;
|
|
16
|
+
countryForm: FormControl<string | null>;
|
|
17
|
+
addressControl: FormControl<string | null>;
|
|
18
|
+
postalCodeControl: FormControl<string | null>;
|
|
19
|
+
cityControl: FormControl<string | null>;
|
|
20
|
+
boiteControl: FormControl<string | null>;
|
|
21
|
+
numeroControl: FormControl<string | null>;
|
|
22
|
+
NISControl: FormControl<string | null>;
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
onAddressSelected(result: OSMResult): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OnemRvaAddress, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemRvaAddress, "onemrva-address", never, { "INSMode": { "alias": "INSMode"; "required": false; }; }, { "update": "update"; }, never, never, true, never>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { OnemRvaAddress };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
width: 400px;
|
|
5
|
+
|
|
6
|
+
onemrva-mat-input-country {
|
|
7
|
+
display: flex;
|
|
8
|
+
width: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.line-2 {
|
|
12
|
+
display: flex;
|
|
13
|
+
|
|
14
|
+
onemrva-mat-input-address {
|
|
15
|
+
width: 248px;
|
|
16
|
+
max-width: 248px;
|
|
17
|
+
margin-right: var(--spacer);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
mat-form-field:first-of-type {
|
|
21
|
+
margin-right: var(--spacer);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.line-3 {
|
|
26
|
+
width: 100%;
|
|
27
|
+
display: flex;
|
|
28
|
+
|
|
29
|
+
mat-form-field:first-child {
|
|
30
|
+
display: flex;
|
|
31
|
+
width: 30%;
|
|
32
|
+
margin-right: var(--spacer);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
mat-form-field:last-child {
|
|
36
|
+
display: flex;
|
|
37
|
+
width: auto;
|
|
38
|
+
flex-grow: 1;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.line-4 {
|
|
43
|
+
width: 100%;
|
|
44
|
+
display: flex;
|
|
45
|
+
|
|
46
|
+
mat-form-field {
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -9,6 +9,7 @@ declare class OnemrvaMatInputAddressComponent implements OnInit {
|
|
|
9
9
|
placeholder: string;
|
|
10
10
|
readonly: boolean;
|
|
11
11
|
address: FormControl;
|
|
12
|
+
mode: 'road-only' | 'full';
|
|
12
13
|
label: string;
|
|
13
14
|
noEntriesFoundLabel: string;
|
|
14
15
|
hint: string;
|
|
@@ -25,7 +26,7 @@ declare class OnemrvaMatInputAddressComponent implements OnInit {
|
|
|
25
26
|
clear(): void;
|
|
26
27
|
handleEnter(): void;
|
|
27
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatInputAddressComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputAddressComponent, "onemrva-mat-input-address", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "address": { "alias": "address"; "required": false; }; "label": { "alias": "label"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "countryCodes": { "alias": "countryCodes"; "required": false; }; }, { "getAddress": "getAddress"; }, never, never, true, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputAddressComponent, "onemrva-mat-input-address", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "address": { "alias": "address"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "label": { "alias": "label"; "required": false; }; "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "countryCodes": { "alias": "countryCodes"; "required": false; }; }, { "getAddress": "getAddress"; }, never, never, true, never>;
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
export { OnemrvaMatInputAddressComponent };
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
mat-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
mat-form-field.onemrva-input-country {
|
|
2
|
+
width: 100%;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
:host {
|
|
6
|
+
mat-option.mdc-list-item {
|
|
7
|
+
.country {
|
|
8
|
+
position: relative;
|
|
9
|
+
display: block;
|
|
10
|
+
padding-top: var(--half-spacer);
|
|
11
|
+
}
|
|
6
12
|
}
|
|
7
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onemrvapublic/design-system",
|
|
3
|
-
"version": "20.0.0-develop.
|
|
3
|
+
"version": "20.0.0-develop.4",
|
|
4
4
|
"description": "Design System Onem/Rva without theme included",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -40,10 +40,6 @@
|
|
|
40
40
|
"./package.json": {
|
|
41
41
|
"default": "./package.json"
|
|
42
42
|
},
|
|
43
|
-
"./address": {
|
|
44
|
-
"types": "./address/index.d.ts",
|
|
45
|
-
"default": "./fesm2022/onemrvapublic-design-system-address.mjs"
|
|
46
|
-
},
|
|
47
43
|
"./flag-icon": {
|
|
48
44
|
"types": "./flag-icon/index.d.ts",
|
|
49
45
|
"default": "./fesm2022/onemrvapublic-design-system-flag-icon.mjs"
|
|
@@ -52,6 +48,10 @@
|
|
|
52
48
|
"types": "./layout/index.d.ts",
|
|
53
49
|
"default": "./fesm2022/onemrvapublic-design-system-layout.mjs"
|
|
54
50
|
},
|
|
51
|
+
"./mat-address": {
|
|
52
|
+
"types": "./mat-address/index.d.ts",
|
|
53
|
+
"default": "./fesm2022/onemrvapublic-design-system-mat-address.mjs"
|
|
54
|
+
},
|
|
55
55
|
"./mat-avatar": {
|
|
56
56
|
"types": "./mat-avatar/index.d.ts",
|
|
57
57
|
"default": "./fesm2022/onemrvapublic-design-system-mat-avatar.mjs"
|
package/shared/index.d.ts
CHANGED
package/address/index.d.ts
DELETED
package/address/src/address.scss
DELETED
|
File without changes
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
class Address {
|
|
5
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: Address, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.0.6", type: Address, isStandalone: true, selector: "onemrva-address", ngImport: i0, template: "<p>address works!</p>\n", styles: [""] }); }
|
|
7
|
-
}
|
|
8
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.6", ngImport: i0, type: Address, decorators: [{
|
|
9
|
-
type: Component,
|
|
10
|
-
args: [{ selector: 'onemrva-address', imports: [], standalone: true, template: "<p>address works!</p>\n" }]
|
|
11
|
-
}] });
|
|
12
|
-
|
|
13
|
-
/*
|
|
14
|
-
* Public API Surface of mat-bank-account-input
|
|
15
|
-
*/
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Generated bundle index. Do not edit.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
export { Address };
|
|
22
|
-
//# sourceMappingURL=onemrvapublic-design-system-address.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"onemrvapublic-design-system-address.mjs","sources":["../../../../projects/onemrva/design-system/address/src/address.ts","../../../../projects/onemrva/design-system/address/src/address.html","../../../../projects/onemrva/design-system/address/index.ts","../../../../projects/onemrva/design-system/address/onemrvapublic-design-system-address.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'onemrva-address',\n imports: [],\n templateUrl: './address.html',\n styleUrl: './address.scss',\n standalone: true,\n})\nexport class Address {}\n","<p>address works!</p>\n","/*\n * Public API Surface of mat-bank-account-input\n */\n\nexport * from './src/address';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MASa,OAAO,CAAA;8GAAP,OAAO,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAP,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,OAAO,2ECTpB,yBACA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;2FDQa,OAAO,EAAA,UAAA,EAAA,CAAA;kBAPnB,SAAS;+BACE,iBAAiB,EAAA,OAAA,EAClB,EAAE,EAAA,UAAA,EAGC,IAAI,EAAA,QAAA,EAAA,yBAAA,EAAA;;;AEPlB;;AAEG;;ACFH;;AAEG;;;;"}
|