@netgrif/components-core 6.2.6 → 6.2.8
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/esm2020/assets/i18n/de.json +2 -1
- package/esm2020/assets/i18n/en.json +2 -1
- package/esm2020/assets/i18n/sk.json +2 -1
- package/esm2020/lib/data-fields/user-list-field/models/user-list-field.mjs +37 -1
- package/esm2020/lib/tabs/classes/tab-view.mjs +2 -2
- package/esm2020/lib/tabs/interfaces.mjs +1 -1
- package/fesm2015/netgrif-components-core.mjs +44 -4
- package/fesm2015/netgrif-components-core.mjs.map +1 -1
- package/fesm2020/netgrif-components-core.mjs +43 -4
- package/fesm2020/netgrif-components-core.mjs.map +1 -1
- package/lib/data-fields/user-list-field/models/user-list-field.d.ts +4 -0
- package/lib/tabs/interfaces.d.ts +2 -0
- package/package.json +1 -1
- package/src/assets/i18n/de.json +2 -1
- package/src/assets/i18n/en.json +2 -1
- package/src/assets/i18n/sk.json +2 -1
|
@@ -4,7 +4,11 @@ import { Layout } from '../../models/layout';
|
|
|
4
4
|
import { Validation } from '../../models/validation';
|
|
5
5
|
import { Component } from '../../models/component';
|
|
6
6
|
import { UserListValue } from './user-list-value';
|
|
7
|
+
import { FormControl, ValidatorFn } from "@angular/forms";
|
|
7
8
|
export declare class UserListField extends DataField<UserListValue> {
|
|
8
9
|
constructor(stringId: string, title: string, behavior: Behavior, value: UserListValue, placeholder?: string, description?: string, layout?: Layout, validations?: Array<Validation>, component?: Component, parentTaskId?: string);
|
|
9
10
|
protected valueEquality(a: UserListValue, b: UserListValue): boolean;
|
|
11
|
+
protected calculateValidity(forValidRequired: boolean, formControl: FormControl): boolean;
|
|
12
|
+
protected resolveFormControlValidators(): Array<ValidatorFn>;
|
|
13
|
+
private requiredTrue;
|
|
10
14
|
}
|
package/lib/tabs/interfaces.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Type } from '@angular/core';
|
|
2
2
|
import { Observable, ReplaySubject } from 'rxjs';
|
|
3
|
+
import { Filter } from "../filter/models/filter";
|
|
3
4
|
/**
|
|
4
5
|
* Stores information about content of one opened tab in tab view.
|
|
5
6
|
*
|
|
@@ -101,6 +102,7 @@ export interface InjectedTabData {
|
|
|
101
102
|
* stream emits when the tab is closed by any means except for the destruction of the parent component
|
|
102
103
|
*/
|
|
103
104
|
tabClosed$: Observable<void>;
|
|
105
|
+
loadFilter?: Filter;
|
|
104
106
|
}
|
|
105
107
|
/**
|
|
106
108
|
* Methods of parent tab view, that tabs can access.
|
package/package.json
CHANGED
package/src/assets/i18n/de.json
CHANGED
|
@@ -232,7 +232,8 @@
|
|
|
232
232
|
"min": "Die eingegebene Nummer muss größer als {{length}} sein",
|
|
233
233
|
"translationRequired": "Übersetzung für Sprachen: <{{translation}}> muss eingegeben werden",
|
|
234
234
|
"translationOnly": "Nur die Übersetzung für Sprachen: <{{translation}}> ist erlaubt",
|
|
235
|
-
"requiredI18n": "Es muss mindestens ein Wert eingegeben werden"
|
|
235
|
+
"requiredI18n": "Es muss mindestens ein Wert eingegeben werden",
|
|
236
|
+
"requiredUserList": "Es muss mindestens ein Wert eingegeben werden"
|
|
236
237
|
},
|
|
237
238
|
"snackBar": {
|
|
238
239
|
"downloadFail": " könnte nicht heruntergeladen werden",
|
package/src/assets/i18n/en.json
CHANGED
|
@@ -232,7 +232,8 @@
|
|
|
232
232
|
"min": "Entered number must be greater than {{length}}",
|
|
233
233
|
"translationRequired": "Translation for languages: <{{translation}}> must be entered",
|
|
234
234
|
"translationOnly": "Only translation for languages: <{{translation}}> is allowed",
|
|
235
|
-
"requiredI18n": "At least one value must be entered"
|
|
235
|
+
"requiredI18n": "At least one value must be entered",
|
|
236
|
+
"requiredUserList": "At least one value must be entered"
|
|
236
237
|
},
|
|
237
238
|
"snackBar": {
|
|
238
239
|
"downloadFail": " failed to download",
|
package/src/assets/i18n/sk.json
CHANGED
|
@@ -232,7 +232,8 @@
|
|
|
232
232
|
"min": "Zadané číslo musí byť väčšie ako {{length}}",
|
|
233
233
|
"translationRequired": "Musí byť vyplnený preklad pre jazyky: <{{translation}}>",
|
|
234
234
|
"translationOnly": "Je povolený iba preklad pre jazyky: <{{translation}}>",
|
|
235
|
-
"requiredI18n": "Aspoň jedna hodnota musí byť vyplnená"
|
|
235
|
+
"requiredI18n": "Aspoň jedna hodnota musí byť vyplnená",
|
|
236
|
+
"requiredUserList": "Aspoň jedna hodnota musí byť vyplnená"
|
|
236
237
|
},
|
|
237
238
|
"snackBar": {
|
|
238
239
|
"downloadFail": " sťahovanie zlyhalo",
|