@onemrvapublic/design-system 20.7.0-develop.1 → 20.7.0-develop.11
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-jsonform-renderers.mjs +37 -30
- package/fesm2022/onemrvapublic-design-system-jsonform-renderers.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-layout.mjs +3 -3
- package/fesm2022/onemrvapublic-design-system-layout.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-iban.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs +25 -26
- package/fesm2022/onemrvapublic-design-system-mat-input-phone.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system-shared.mjs +10 -4
- package/fesm2022/onemrvapublic-design-system-shared.mjs.map +1 -1
- package/fesm2022/onemrvapublic-design-system.mjs +75 -63
- package/fesm2022/onemrvapublic-design-system.mjs.map +1 -1
- package/index.d.ts +9 -10
- package/jsonform-renderers/index.d.ts +3 -2
- package/mat-input-iban/index.d.ts +1 -1
- package/mat-input-phone/index.d.ts +3 -5
- package/package.json +24 -19
- package/shared/index.d.ts +2 -2
package/index.d.ts
CHANGED
|
@@ -1146,7 +1146,7 @@ declare class OnemrvaMatInputIbanComponent implements ControlValueAccessor, MatF
|
|
|
1146
1146
|
readonly ngControl: NgControl | null;
|
|
1147
1147
|
constructor();
|
|
1148
1148
|
errors(): ValidationErrors | null;
|
|
1149
|
-
onChange: (
|
|
1149
|
+
onChange: (_value: any) => void;
|
|
1150
1150
|
onTouched: () => void;
|
|
1151
1151
|
get errorState(): boolean;
|
|
1152
1152
|
get shouldLabelFloat(): boolean;
|
|
@@ -1193,7 +1193,6 @@ declare class OnemrvaMatInputPhoneComponent implements ControlValueAccessor, Mat
|
|
|
1193
1193
|
noEntriesFoundLabel: string;
|
|
1194
1194
|
placeholderLabel: string;
|
|
1195
1195
|
searchAriaLabel: string;
|
|
1196
|
-
label: string;
|
|
1197
1196
|
defaultPrefix: string;
|
|
1198
1197
|
getCountry: EventEmitter<any>;
|
|
1199
1198
|
filterCtrl: FormControl<string | null>;
|
|
@@ -1211,13 +1210,12 @@ declare class OnemrvaMatInputPhoneComponent implements ControlValueAccessor, Mat
|
|
|
1211
1210
|
get countryCodeField(): FormControl;
|
|
1212
1211
|
private readonly focusMonitor;
|
|
1213
1212
|
readonly elementRef: ElementRef<any>;
|
|
1214
|
-
private readonly cd;
|
|
1215
1213
|
private readonly formBuilder;
|
|
1216
1214
|
readonly ngControl: NgControl | null;
|
|
1217
1215
|
filteredCountries$: Observable<OnemrvaMaterialCountry$1[]>;
|
|
1218
1216
|
constructor();
|
|
1219
1217
|
errors(): ValidationErrors | null;
|
|
1220
|
-
onChange: (
|
|
1218
|
+
onChange: (_value: any) => void;
|
|
1221
1219
|
onTouched: () => void;
|
|
1222
1220
|
get errorState(): boolean;
|
|
1223
1221
|
get shouldLabelFloat(): boolean;
|
|
@@ -1243,12 +1241,12 @@ declare class OnemrvaMatInputPhoneComponent implements ControlValueAccessor, Mat
|
|
|
1243
1241
|
setDescribedByIds(ids: string[]): void;
|
|
1244
1242
|
registerOnChange(fn: any): void;
|
|
1245
1243
|
registerOnTouched(fn: any): void;
|
|
1246
|
-
writeValue(number: string | null): void;
|
|
1244
|
+
writeValue(number: string | null | undefined): void;
|
|
1247
1245
|
_handleInput(control: AbstractControl, nextElement?: HTMLInputElement): void;
|
|
1248
1246
|
private formatPhoneNumber;
|
|
1249
1247
|
onKeyup(event: KeyboardEvent): void;
|
|
1250
1248
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatInputPhoneComponent, never>;
|
|
1251
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputPhoneComponent, "onemrva-mat-input-phone", never, { "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; }; "
|
|
1249
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputPhoneComponent, "onemrva-mat-input-phone", never, { "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; }; "defaultPrefix": { "alias": "defaultPrefix"; "required": false; }; "value": { "alias": "value"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "getCountry": "getCountry"; }, never, never, true, never>;
|
|
1252
1250
|
}
|
|
1253
1251
|
|
|
1254
1252
|
declare class PhoneNumberDirective {
|
|
@@ -2872,8 +2870,8 @@ declare class OnemRvaReadonlyDirective {
|
|
|
2872
2870
|
declare const directives: any[];
|
|
2873
2871
|
|
|
2874
2872
|
/**
|
|
2875
|
-
* Get language from local storage or browser
|
|
2876
|
-
*
|
|
2873
|
+
* Get language from local storage or browser.
|
|
2874
|
+
*
|
|
2877
2875
|
* @param translateService
|
|
2878
2876
|
* @param languages
|
|
2879
2877
|
* @param default_language
|
|
@@ -3214,8 +3212,6 @@ declare class IbanRendererComponent extends JsonFormsControl {
|
|
|
3214
3212
|
readonly: i0.InputSignal<boolean>;
|
|
3215
3213
|
private readonly isUpdating;
|
|
3216
3214
|
ngOnInit(): void;
|
|
3217
|
-
onChange(event: any): void;
|
|
3218
|
-
private buildIbanValue;
|
|
3219
3215
|
getEventValue: (event: any) => any;
|
|
3220
3216
|
validator: ValidatorFn;
|
|
3221
3217
|
private setErrorValue;
|
|
@@ -3253,6 +3249,9 @@ declare class NissRendererComponent extends JsonFormsControl {
|
|
|
3253
3249
|
declare const nissControlTester: RankedTester;
|
|
3254
3250
|
|
|
3255
3251
|
declare class PhoneRendererComponent extends JsonFormsControl {
|
|
3252
|
+
ngOnInit(): void;
|
|
3253
|
+
getEventValue: (event: any) => any;
|
|
3254
|
+
validator: ValidatorFn;
|
|
3256
3255
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneRendererComponent, never>;
|
|
3257
3256
|
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneRendererComponent, "app-phone-renderer", never, {}, {}, never, never, true, never>;
|
|
3258
3257
|
}
|
|
@@ -44,8 +44,6 @@ declare class IbanRendererComponent extends JsonFormsControl {
|
|
|
44
44
|
readonly: i0.InputSignal<boolean>;
|
|
45
45
|
private readonly isUpdating;
|
|
46
46
|
ngOnInit(): void;
|
|
47
|
-
onChange(event: any): void;
|
|
48
|
-
private buildIbanValue;
|
|
49
47
|
getEventValue: (event: any) => any;
|
|
50
48
|
validator: ValidatorFn;
|
|
51
49
|
private setErrorValue;
|
|
@@ -83,6 +81,9 @@ declare class NissRendererComponent extends JsonFormsControl {
|
|
|
83
81
|
declare const nissControlTester: RankedTester;
|
|
84
82
|
|
|
85
83
|
declare class PhoneRendererComponent extends JsonFormsControl {
|
|
84
|
+
ngOnInit(): void;
|
|
85
|
+
getEventValue: (event: any) => any;
|
|
86
|
+
validator: ValidatorFn;
|
|
86
87
|
static ɵfac: i0.ɵɵFactoryDeclaration<PhoneRendererComponent, never>;
|
|
87
88
|
static ɵcmp: i0.ɵɵComponentDeclaration<PhoneRendererComponent, "app-phone-renderer", never, {}, {}, never, never, true, never>;
|
|
88
89
|
}
|
|
@@ -38,7 +38,7 @@ declare class OnemrvaMatInputIbanComponent implements ControlValueAccessor, MatF
|
|
|
38
38
|
readonly ngControl: NgControl | null;
|
|
39
39
|
constructor();
|
|
40
40
|
errors(): ValidationErrors | null;
|
|
41
|
-
onChange: (
|
|
41
|
+
onChange: (_value: any) => void;
|
|
42
42
|
onTouched: () => void;
|
|
43
43
|
get errorState(): boolean;
|
|
44
44
|
get shouldLabelFloat(): boolean;
|
|
@@ -15,7 +15,6 @@ declare class OnemrvaMatInputPhoneComponent implements ControlValueAccessor, Mat
|
|
|
15
15
|
noEntriesFoundLabel: string;
|
|
16
16
|
placeholderLabel: string;
|
|
17
17
|
searchAriaLabel: string;
|
|
18
|
-
label: string;
|
|
19
18
|
defaultPrefix: string;
|
|
20
19
|
getCountry: EventEmitter<any>;
|
|
21
20
|
filterCtrl: FormControl<string | null>;
|
|
@@ -33,13 +32,12 @@ declare class OnemrvaMatInputPhoneComponent implements ControlValueAccessor, Mat
|
|
|
33
32
|
get countryCodeField(): FormControl;
|
|
34
33
|
private readonly focusMonitor;
|
|
35
34
|
readonly elementRef: ElementRef<any>;
|
|
36
|
-
private readonly cd;
|
|
37
35
|
private readonly formBuilder;
|
|
38
36
|
readonly ngControl: NgControl | null;
|
|
39
37
|
filteredCountries$: Observable<OnemrvaMaterialCountry[]>;
|
|
40
38
|
constructor();
|
|
41
39
|
errors(): ValidationErrors | null;
|
|
42
|
-
onChange: (
|
|
40
|
+
onChange: (_value: any) => void;
|
|
43
41
|
onTouched: () => void;
|
|
44
42
|
get errorState(): boolean;
|
|
45
43
|
get shouldLabelFloat(): boolean;
|
|
@@ -65,12 +63,12 @@ declare class OnemrvaMatInputPhoneComponent implements ControlValueAccessor, Mat
|
|
|
65
63
|
setDescribedByIds(ids: string[]): void;
|
|
66
64
|
registerOnChange(fn: any): void;
|
|
67
65
|
registerOnTouched(fn: any): void;
|
|
68
|
-
writeValue(number: string | null): void;
|
|
66
|
+
writeValue(number: string | null | undefined): void;
|
|
69
67
|
_handleInput(control: AbstractControl, nextElement?: HTMLInputElement): void;
|
|
70
68
|
private formatPhoneNumber;
|
|
71
69
|
onKeyup(event: KeyboardEvent): void;
|
|
72
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<OnemrvaMatInputPhoneComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputPhoneComponent, "onemrva-mat-input-phone", never, { "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; }; "
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OnemrvaMatInputPhoneComponent, "onemrva-mat-input-phone", never, { "noEntriesFoundLabel": { "alias": "noEntriesFoundLabel"; "required": false; }; "placeholderLabel": { "alias": "placeholderLabel"; "required": false; }; "searchAriaLabel": { "alias": "searchAriaLabel"; "required": false; }; "defaultPrefix": { "alias": "defaultPrefix"; "required": false; }; "value": { "alias": "value"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, { "getCountry": "getCountry"; }, never, never, true, never>;
|
|
74
72
|
}
|
|
75
73
|
|
|
76
74
|
declare class PhoneNumberDirective {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onemrvapublic/design-system",
|
|
3
|
-
"version": "20.7.0-develop.
|
|
3
|
+
"version": "20.7.0-develop.11",
|
|
4
4
|
"description": "Design System Onem/Rva without theme included",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -18,10 +18,15 @@
|
|
|
18
18
|
"@angular/platform-browser-dynamic": "^20.0.0",
|
|
19
19
|
"@angular/router": "^20.0.0",
|
|
20
20
|
"@ngx-translate/core": "^16.0.4",
|
|
21
|
-
"@types/luxon": "^3.
|
|
21
|
+
"@types/luxon": "^3.7.1",
|
|
22
22
|
"ibantools": "^4.5.1",
|
|
23
|
+
"ngx-mask": "^20.0.3",
|
|
23
24
|
"libphonenumber-js": "^1.11.15",
|
|
24
|
-
"luxon": "^3.5.0"
|
|
25
|
+
"luxon": "^3.5.0",
|
|
26
|
+
"@jsonforms/angular": "^3.6.0",
|
|
27
|
+
"@jsonforms/angular-material": "^3.6.0",
|
|
28
|
+
"@jsonforms/core": "^3.6.0",
|
|
29
|
+
"@ngrx/component-store": "20.0.1"
|
|
25
30
|
},
|
|
26
31
|
"dependencies": {
|
|
27
32
|
"tslib": "^2.8.1"
|
|
@@ -76,14 +81,14 @@
|
|
|
76
81
|
"types": "./mat-copy-to-clipboard/index.d.ts",
|
|
77
82
|
"default": "./fesm2022/onemrvapublic-design-system-mat-copy-to-clipboard.mjs"
|
|
78
83
|
},
|
|
79
|
-
"./mat-country-item": {
|
|
80
|
-
"types": "./mat-country-item/index.d.ts",
|
|
81
|
-
"default": "./fesm2022/onemrvapublic-design-system-mat-country-item.mjs"
|
|
82
|
-
},
|
|
83
84
|
"./mat-datepicker-header": {
|
|
84
85
|
"types": "./mat-datepicker-header/index.d.ts",
|
|
85
86
|
"default": "./fesm2022/onemrvapublic-design-system-mat-datepicker-header.mjs"
|
|
86
87
|
},
|
|
88
|
+
"./mat-country-item": {
|
|
89
|
+
"types": "./mat-country-item/index.d.ts",
|
|
90
|
+
"default": "./fesm2022/onemrvapublic-design-system-mat-country-item.mjs"
|
|
91
|
+
},
|
|
87
92
|
"./mat-empty-row": {
|
|
88
93
|
"types": "./mat-empty-row/index.d.ts",
|
|
89
94
|
"default": "./fesm2022/onemrvapublic-design-system-mat-empty-row.mjs"
|
|
@@ -92,14 +97,14 @@
|
|
|
92
97
|
"types": "./mat-file-upload/index.d.ts",
|
|
93
98
|
"default": "./fesm2022/onemrvapublic-design-system-mat-file-upload.mjs"
|
|
94
99
|
},
|
|
95
|
-
"./mat-input-address": {
|
|
96
|
-
"types": "./mat-input-address/index.d.ts",
|
|
97
|
-
"default": "./fesm2022/onemrvapublic-design-system-mat-input-address.mjs"
|
|
98
|
-
},
|
|
99
100
|
"./mat-input-birthplace": {
|
|
100
101
|
"types": "./mat-input-birthplace/index.d.ts",
|
|
101
102
|
"default": "./fesm2022/onemrvapublic-design-system-mat-input-birthplace.mjs"
|
|
102
103
|
},
|
|
104
|
+
"./mat-input-address": {
|
|
105
|
+
"types": "./mat-input-address/index.d.ts",
|
|
106
|
+
"default": "./fesm2022/onemrvapublic-design-system-mat-input-address.mjs"
|
|
107
|
+
},
|
|
103
108
|
"./mat-input-country": {
|
|
104
109
|
"types": "./mat-input-country/index.d.ts",
|
|
105
110
|
"default": "./fesm2022/onemrvapublic-design-system-mat-input-country.mjs"
|
|
@@ -128,14 +133,14 @@
|
|
|
128
133
|
"types": "./mat-navigation/index.d.ts",
|
|
129
134
|
"default": "./fesm2022/onemrvapublic-design-system-mat-navigation.mjs"
|
|
130
135
|
},
|
|
131
|
-
"./mat-paginator": {
|
|
132
|
-
"types": "./mat-paginator/index.d.ts",
|
|
133
|
-
"default": "./fesm2022/onemrvapublic-design-system-mat-paginator.mjs"
|
|
134
|
-
},
|
|
135
136
|
"./mat-notification": {
|
|
136
137
|
"types": "./mat-notification/index.d.ts",
|
|
137
138
|
"default": "./fesm2022/onemrvapublic-design-system-mat-notification.mjs"
|
|
138
139
|
},
|
|
140
|
+
"./mat-paginator": {
|
|
141
|
+
"types": "./mat-paginator/index.d.ts",
|
|
142
|
+
"default": "./fesm2022/onemrvapublic-design-system-mat-paginator.mjs"
|
|
143
|
+
},
|
|
139
144
|
"./mat-panel": {
|
|
140
145
|
"types": "./mat-panel/index.d.ts",
|
|
141
146
|
"default": "./fesm2022/onemrvapublic-design-system-mat-panel.mjs"
|
|
@@ -164,14 +169,14 @@
|
|
|
164
169
|
"types": "./mat-skeleton/index.d.ts",
|
|
165
170
|
"default": "./fesm2022/onemrvapublic-design-system-mat-skeleton.mjs"
|
|
166
171
|
},
|
|
167
|
-
"./mat-spinner": {
|
|
168
|
-
"types": "./mat-spinner/index.d.ts",
|
|
169
|
-
"default": "./fesm2022/onemrvapublic-design-system-mat-spinner.mjs"
|
|
170
|
-
},
|
|
171
172
|
"./mat-stepper": {
|
|
172
173
|
"types": "./mat-stepper/index.d.ts",
|
|
173
174
|
"default": "./fesm2022/onemrvapublic-design-system-mat-stepper.mjs"
|
|
174
175
|
},
|
|
176
|
+
"./mat-spinner": {
|
|
177
|
+
"types": "./mat-spinner/index.d.ts",
|
|
178
|
+
"default": "./fesm2022/onemrvapublic-design-system-mat-spinner.mjs"
|
|
179
|
+
},
|
|
175
180
|
"./mat-sticker": {
|
|
176
181
|
"types": "./mat-sticker/index.d.ts",
|
|
177
182
|
"default": "./fesm2022/onemrvapublic-design-system-mat-sticker.mjs"
|
package/shared/index.d.ts
CHANGED
|
@@ -234,8 +234,8 @@ declare class OnemRvaReadonlyDirective {
|
|
|
234
234
|
declare const directives: any[];
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
|
-
* Get language from local storage or browser
|
|
238
|
-
*
|
|
237
|
+
* Get language from local storage or browser.
|
|
238
|
+
*
|
|
239
239
|
* @param translateService
|
|
240
240
|
* @param languages
|
|
241
241
|
* @param default_language
|