"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/app/shared/form/builder/ds-dynamic-form-ui/models/date-picker/date-picker.model.ts" between
dspace-angular-dspace-7.0.tar.gz and dspace-angular-dspace-7.1.tar.gz

About: dspace-angular is the Angular-based frontend of DSpace, a digital repository system to capture, store, index, preserve and redistribute an organization’s research material in digital formats.

date-picker.model.ts  (dspace-angular-dspace-7.0):date-picker.model.ts  (dspace-angular-dspace-7.1)
import { import {
DynamicDateControlModel, DynamicDateControlModel,
DynamicDateControlModelConfig, DynamicDatePickerModelConfig,
DynamicFormControlLayout, DynamicFormControlLayout,
serializable serializable
} from '@ng-dynamic-forms/core'; } from '@ng-dynamic-forms/core';
export const DYNAMIC_FORM_CONTROL_TYPE_DSDATEPICKER = 'DATE'; export const DYNAMIC_FORM_CONTROL_TYPE_DSDATEPICKER = 'DATE';
export interface DynamicDsDateControlModelConfig extends DynamicDatePickerModelC
onfig {
legend?: string;
}
/** /**
* Dynamic Date Picker Model class * Dynamic Date Picker Model class
*/ */
export class DynamicDsDatePickerModel extends DynamicDateControlModel { export class DynamicDsDatePickerModel extends DynamicDateControlModel {
@serializable() readonly type: string = DYNAMIC_FORM_CONTROL_TYPE_DSDATEPICKER ; @serializable() readonly type: string = DYNAMIC_FORM_CONTROL_TYPE_DSDATEPICKER ;
malformedDate: boolean; malformedDate: boolean;
legend: string;
hasLanguages = false; hasLanguages = false;
repeatable = false; repeatable = false;
constructor(config: DynamicDateControlModelConfig, layout?: DynamicFormControl Layout) { constructor(config: DynamicDsDateControlModelConfig, layout?: DynamicFormContr olLayout) {
super(config, layout); super(config, layout);
this.malformedDate = false; this.malformedDate = false;
this.legend = config.legend;
} }
} }
 End of changes. 5 change blocks. 
2 lines changed or deleted 9 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)