@qbs-origin/origin-form 0.6.2 → 0.6.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/esm2022/lib/model-population.helper.mjs +45 -1
- package/esm2022/lib/models/forms.model.mjs +1 -1
- package/esm2022/lib/origin-form.component.mjs +3 -1
- package/esm2022/lib/services/proxy.service.mjs +2 -2
- package/fesm2022/qbs-origin-origin-form.mjs +47 -1
- package/fesm2022/qbs-origin-origin-form.mjs.map +1 -1
- package/lib/model-population.helper.d.ts +1 -0
- package/lib/models/forms.model.d.ts +2 -0
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { DictionaryDto, DictionaryValue } from "./models/dictionary.model";
|
|
|
2
2
|
import { Language } from "./models/language.model";
|
|
3
3
|
export declare class ModelPopulationHelper {
|
|
4
4
|
static populateModelWithFillData(fillData: any, flux: any[], dictionaryMap: Map<string, DictionaryDto>, availableLanguages: Language[]): Record<string, any>;
|
|
5
|
+
static applyPrecompletionToModel(model: Record<string, any>, flux: any[]): void;
|
|
5
6
|
static applyDefaultsToModel(flux: any[], dictionaryMap: Map<string, DictionaryDto>, availableLanguages?: Language[]): any;
|
|
6
7
|
static mapDictionaryValueDto(dto: any, availableLanguages: Language[]): DictionaryValue | null;
|
|
7
8
|
static findAndMapDefaultValue(dictionary: DictionaryDto | undefined, defaultValueId: number, availableLanguages: Language[]): DictionaryValue | null;
|
|
@@ -312,6 +312,8 @@ export declare class ManualInputControlData {
|
|
|
312
312
|
allowOnlyPast?: boolean;
|
|
313
313
|
allowOnlyFuture?: boolean;
|
|
314
314
|
isMandatory: boolean;
|
|
315
|
+
isPrecompletable?: boolean;
|
|
316
|
+
precompletionFieldId?: string | null;
|
|
315
317
|
}
|
|
316
318
|
export declare class ParagraphControlData {
|
|
317
319
|
descriptionTranslations: LabelInfo[];
|