<repo_name>octo888/test-df<file_sep>/lib/components/form-field/form-field.component.d.ts
import { OnInit } from '@angular/core';
import { FormGroup } from '@angular/forms';
export declare class FormFieldComponent implements OnInit {
    field: any;
    data: any;
    form: FormGroup;
    constructor();
    ngOnInit(): void;
}
<file_sep>/lib/components/form-field/components/fields/array-field/array-field.component.d.ts
import { OnInit } from '@angular/core';
import { FormArray, FormGroup } from '@angular/forms';
import { Field } from '../../../../../models/field.model';
import { NiDynamicFormService } from '../../../../../services/ni-dynamic-form.service';
export declare class ArrayFieldComponent implements OnInit {
    formService: NiDynamicFormService;
    form: FormGroup;
    field: Field;
    data: any;
    parentForm: FormGroup;
    formArr: FormArray;
    parentData: any;
    arrayModel: any;
    private initialGroupSchema;
    constructor(formService: NiDynamicFormService);
    ngOnInit(): void;
    onAdd(): void;
    onCopy(item: Field[], control: any): void;
    onRemove(idx: number): void;
}
<file_sep>/lib/dynamic-form.component.d.ts
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { Field } from './models/field.model';
import { NiDynamicFormService } from './services/ni-dynamic-form.service';
import { Subscription } from 'rxjs';
import { ActionService } from './services/action.service';
export declare class DynamicFormComponent implements OnInit, OnChanges {
    private formService;
    private actionService;
    formModel: Array<Field>;
    isInline: boolean;
    data: any;
    form: FormGroup;
    fieldsets: Array<any>;
    fieldChangedEvent: EventEmitter<{}>;
    actionEvent: EventEmitter<{}>;
    viewModel: Array<any>;
    eventSub: Subscription;
    private previousModelLen;
    constructor(formService: NiDynamicFormService, actionService: ActionService);
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    initSub(): void;
    getField(key: any, formModel: any): any;
    setViewData(): void;
    mapFieldSets(fieldsets: any, formModel: any): any[];
}
<file_sep>/lib/components/form-field/components/bootstrap-fields/array-field/array-field.component.d.ts
import { OnInit } from '@angular/core';
import { Field } from '../../../../../models/field.model';
import { ArrayFieldComponent } from '../../fields/array-field/array-field.component';
import { NiDynamicFormService } from '../../../../../services/ni-dynamic-form.service';
export declare class ArrayBsFieldComponent extends ArrayFieldComponent implements OnInit {
    constructor(formService: NiDynamicFormService);
    onCopy(item: Field[], control: any): void;
    onAdd(): void;
    onRemove(idx: number): void;
}
<file_sep>/lib/models/field.model.d.ts
import { Validators } from '@angular/forms';
export declare class Field {
    uid: string;
    type: string;
    key: string;
    value: any;
    label: string;
    placeholder: string;
    required: boolean;
    disabled: boolean;
    order: number;
    hidden: boolean;
    displayMode: string;
    colSize: string;
    cssClass: string;
    renderType: string;
    icon: string;
    iconUrl: string;
    dataUrl: string;
    routeTemplate: string;
    routeParameters: Array<any>;
    routeQueryParameters: Array<any>;
    selectedValueFieldName: any;
    valueFieldName: string;
    keyFieldName: string;
    dataLookupKey: string;
    dataDependentFields: Array<string>;
    group: Array<any>;
    internalFields: Array<Field>;
    fieldsets: any[];
    validations: Validators[];
    validators: any;
    mapOptions: Function;
    loading: boolean;
    constructor(options?: {
        uid?: string;
        value?: any;
        key?: string;
        label?: string;
        placeholder?: string;
        type?: string;
        required?: boolean;
        disabled?: boolean;
        order?: number;
        hidden?: boolean;
        options?: Array<any>;
        displayMode?: string;
        colSize?: string;
        cssClass?: string;
        renderType?: string;
        icon?: string;
        iconUrl?: string;
        dataUrl?: string;
        routeTemplate?: string;
        routeParameters?: Array<any>;
        routeQueryParameters?: Array<any>;
        selectedValueFieldName?: any;
        valueFieldName?: string;
        keyFieldName?: string;
        dataLookupKey?: string;
        dataDependentFields?: Array<string>;
        group?: Array<any>;
        validations?: Validators[];
        validators?: any;
        internalFields?: Array<Field>;
        fieldsets?: any[];
        mapOptions?: Function;
        loading?: boolean;
    });
    private _options;
    options: Array<any>;
    generateGuid(): string;
}
<file_sep>/lib/components/form-field/components/material-fields/material-fields-declarations.d.ts
export declare const MAT_FIELD_COMPONENTS_DECLARATIONS: any[];
<file_sep>/lib/components/form-field/components/fields/switcher-list-field/switcher-list-field.component.d.ts
import { EventEmitter, OnInit } from '@angular/core';
export declare class SwitcherListFieldComponent implements OnInit {
    field: any;
    fieldChange: EventEmitter<{}>;
    selectedAll: boolean;
    selectedValues: Array<string>;
    constructor();
    ngOnInit(): void;
    onSelectAll(): void;
    onSelect(option: any): void;
    isSelected(key: any): boolean;
    setValue(value: any): void;
}
<file_sep>/lib/components/validation-message/validation-message.component.d.ts
import { OnInit } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { Field } from '../../models/field.model';
import { LibService } from '../../services/lib-config.service';
export declare class ValidationMessageComponent implements OnInit {
    private libService;
    form: FormGroup;
    field: Field;
    isBootstrapLayout: boolean;
    validatorsKeys: any;
    constructor(libService: LibService);
    ngOnInit(): void;
}
<file_sep>/lib/services/common-http.service.d.ts
import { Observable } from 'rxjs';
import { HttpClient } from '@angular/common/http';
export declare class CommonHttpService {
    private http;
    constructor(http: HttpClient);
    getReq(params: {
        url: any;
        options?: any;
        config?: any;
    }): Observable<Object>;
}
<file_sep>/lib/components/form-field/components/fields/upload-file/checkbox-modal/checkbox-modal.component.d.ts
import { OnInit, EventEmitter } from '@angular/core';
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { FormGroup } from '@angular/forms';
export declare class CheckboxModalComponent implements OnInit {
    activeModal: NgbActiveModal;
    selectedData: any;
    modalData: any;
    key: string;
    onSubmit: EventEmitter<{}>;
    editForm: FormGroup;
    testForm: FormGroup;
    data: any;
    options: any;
    constructor(activeModal: NgbActiveModal);
    ngOnInit(): void;
    onModalSubmit(): void;
    closeModal(): void;
    private initForm;
    private toSameStructure;
    setCaption(): "Add Tags" | "Add Visibilities";
}
<file_sep>/lib/components/form-field/components/material-fields/switcher-list-field/switcher-list-field.component.d.ts
import { OnInit } from '@angular/core';
import { SwitcherListFieldComponent } from '../../fields/switcher-list-field/switcher-list-field.component';
export declare class SwitcherListMatFieldComponent extends SwitcherListFieldComponent implements OnInit {
    constructor();
    ngOnInit(): void;
    onSelectAll(): void;
    onSelect(option: any): void;
    isSelected(key: any): boolean;
    setValue(value: any): void;
}
<file_sep>/lib/constants/validation.constants.d.ts
export declare const ValidationKeys: {
    REQUIRED: string;
    REGEXP: string;
};
<file_sep>/lib/components/form-field/components/fields/upload-file/upload-file.component.d.ts
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';
import { Subscription } from 'rxjs';
import { HttpClient } from '@angular/common/http';
export declare class UploadFileComponent implements OnInit, OnDestroy {
    private modalService;
    private commonHttpService;
    field: any;
    form: any;
    apiUrl: any;
    filesData: Array<any>;
    hideLabel: boolean;
    uploadConfig: any;
    onChangeFiles: EventEmitter<any>;
    uploadFiles: any;
    currentFiles: Array<any>;
    errorUploads: Array<any>;
    errorMsg: string;
    plainMode: boolean;
    submitUrl: string;
    uploadUrl: string;
    imgPrw: any;
    selectedFile: any;
    modalRef: any;
    modalData: any;
    progressSub: Subscription;
    submitResSub: Subscription;
    htmlId: string;
    constructor(modalService: NgbModal, commonHttpService: HttpClient);
    ngOnInit(): void;
    ngOnDestroy(): void;
    initSettings(): void;
    fileUpload(event: EventTarget): void;
    upload(event: EventTarget): void;
    clearUploadedFiles(): void;
    previewImage(file: any): void;
    openCheckboxModal(selectedData: any, id: any, key: any): void;
    patchForm(files: any): void;
    openModal(content: any, id: any): void;
    closeModal(): void;
    onDeleteFile(): void;
    onSubmitDescription(): void;
    private setTagsAndVisibilities;
    private setSelectedFile;
    getAllowedExts(): string;
    private generateGuid;
}
<file_sep>/lib/components/form-field/components/material-fields/radio-field/radio-field.component.d.ts
import { OnInit } from '@angular/core';
import { RadioFieldComponent } from '../../fields/radio-field/radio-field.component';
export declare class RadioMatFieldComponent extends RadioFieldComponent implements OnInit {
    constructor();
    ngOnInit(): void;
}
<file_sep>/lib/components/form-field/components/fields/plain-field/plain-field.component.d.ts
import { OnInit, OnChanges } from '@angular/core';
import { FormGroup } from '@angular/forms';
export declare class PlainFieldComponent implements OnInit, OnChanges {
    field: any;
    data: any;
    form: FormGroup;
    fieldValue: any;
    showValue: boolean;
    constructor();
    ngOnInit(): void;
    ngOnChanges(): void;
    getUrl(dataUrl: any, dataUrlTokens: any): any;
    transformUrl(dataUrl: any, dataUrlTokens: any, data: any): any;
    getDate(value: any): any;
}
<file_sep>/lib/components/form-field/components/fields/date-field/date-field.component.d.ts
import { EventEmitter, OnInit } from '@angular/core';
import { IMyDateModel, IMyDpOptions, MyDatePicker } from 'mydatepicker';
export declare class DateFieldComponent implements OnInit {
    field: any;
    fieldChange: EventEmitter<{}>;
    mydp: MyDatePicker;
    myDatePickerOptions: IMyDpOptions;
    selectedDate: any;
    constructor();
    ngOnInit(): void;
    onDateChanged(event: IMyDateModel): void;
    onToggleSelector(event: any): void;
    clearDate(): void;
}
<file_sep>/lib/models/event.model.d.ts
import { FormGroup } from '@angular/forms';
import { Field } from './field.model';
export declare class ValueChangedEventModel {
    form: FormGroup;
    field: Field;
    value: any;
    constructor(form: any, field: any, value: any);
}
<file_sep>/lib/components/form-field/components/material-fields/textarea-field/textarea-field.component.d.ts
import { OnInit } from '@angular/core';
import { TextareaFieldComponent } from '../../fields/textarea-field/textarea-field.component';
export declare class TextareaMatFieldComponent extends TextareaFieldComponent implements OnInit {
    constructor();
}
<file_sep>/lib/components/form-field/components/material-fields/switcher-field/switcher-field.component.d.ts
import { OnInit } from '@angular/core';
import { SwitcherFieldComponent } from '../../fields/switcher-field/switcher-field.component';
export declare class SwitcherMatFieldComponent extends SwitcherFieldComponent implements OnInit {
    color: string;
    constructor();
    ngOnInit(): void;
}
<file_sep>/lib/components/form-field/components/fields/input-field/input-field.component.d.ts
import { AfterViewInit, OnInit } from '@angular/core';
import { FormGroup } from '@angular/forms';
export declare class InputFieldComponent implements OnInit, AfterViewInit {
    field: any;
    form: FormGroup;
    defaultPlaceholder: string;
    constructor();
    ngOnInit(): void;
    ngAfterViewInit(): void;
    setPlaceholder(): any;
}
<file_sep>/lib/components/form-field/components/material-fields/checkbox-field/checkbox-field.component.d.ts
import { OnInit } from '@angular/core';
import { CheckboxFieldComponent } from '../../fields/checkbox-field/checkbox-field.component';
export declare class CheckboxMatFieldComponent extends CheckboxFieldComponent implements OnInit {
    constructor();
    ngOnInit(): void;
}
<file_sep>/lib/dynamic-form.module.d.ts
import { InjectionToken, ModuleWithProviders } from '@angular/core';
export declare const LibConfigService: InjectionToken<FormConfig>;
export declare const CommonHttpServiceToken: InjectionToken<any>;
export interface FormConfig {
    uiMode: string;
    component?: any;
}
export declare class DynamicFormModule {
    static forRoot(config?: FormConfig): ModuleWithProviders;
}
<file_sep>/lib/constants/uploader-config.constant.d.ts
export declare const UploaderConfig: {
    allowDownload: boolean;
    allowedExtensions: any;
    editDescription: boolean;
    editTags: boolean;
    editVisibility: boolean;
    preview: boolean;
    singleFile: boolean;
    tagsLookup: any[];
    uploadUrl: string;
    visibilityLookup: any[];
};
<file_sep>/lib/components/form-field/components/material-fields/date-field/date-field.component.d.ts
import { OnInit } from '@angular/core';
import { IMyDateModel } from 'mydatepicker';
import { DateFieldComponent } from '../../fields/date-field/date-field.component';
export declare class DateMatFieldComponent extends DateFieldComponent implements OnInit {
    constructor();
    ngOnInit(): void;
    onDateChanged(event: IMyDateModel): void;
    onToggleSelector(event: any): void;
    clearDate(): void;
    toggle(p: any): void;
}
<file_sep>/lib/components/field-label/field-label.component.d.ts
import { OnInit } from '@angular/core';
import { Field } from '../../models/field.model';
import { LibService } from '../../services/lib-config.service';
export declare class FieldLabelComponent implements OnInit {
    private libService;
    field: Field;
    class: Field;
    isBootstrapLayout: boolean;
    constructor(libService: LibService);
    ngOnInit(): void;
}
<file_sep>/lib/services/ni-dynamic-form.service.d.ts
import { AbstractControl, FormArray, FormControl, FormGroup } from '@angular/forms';
import { Field } from '../models/field.model';
export declare class NiDynamicFormService {
    constructor();
    buildForm(fields: any): FormGroup;
    mapFieldSets(fieldsets: any, formModel: any): any;
    createControl(field: any): any;
    getControl(field: any): FormControl;
    setFieldValue(model: any, data: any): any;
    isNotEmptyValue(value: any): boolean;
    setControlType(field: any, value: any): any;
    setValidation(field: any): {
        validations: any[];
        required: any;
        validators: any;
    };
    addGroupToFormArray(formArr: any, group: Field[]): any;
    copyFormControl(control: AbstractControl): FormGroup | FormArray | FormControl;
    isEmptyObject(obj: any): boolean;
    generateGuid(): string;
    arrayToObject(array: any[], keyField: string): void;
}
<file_sep>/lib/components/form-field/components/bootstrap-fields/bs-fields-declarations.d.ts
export declare const BS_FIELD_COMPONENTS_DECLARATIONS: any[];
<file_sep>/lib/components/form-field/components/material-fields/input-field/input-field.component.d.ts
import { AfterViewInit, OnInit } from '@angular/core';
import { InputFieldComponent } from '../../fields/input-field/input-field.component';
export declare class InputMatFieldComponent extends InputFieldComponent implements OnInit, AfterViewInit {
    constructor();
    ngOnInit(): void;
    ngAfterViewInit(): void;
    setPlaceholder(): any;
}
<file_sep>/lib/components/form-field/components/fields/select-field/select-field.component.d.ts
import { ChangeDetectorRef, OnInit } from '@angular/core';
import { LibService } from '../../../../../services/lib-config.service';
import { NiDynamicFormService } from '../../../../../services/ni-dynamic-form.service';
import { ActionService } from '../../../../../services/action.service';
export declare class SelectFieldComponent implements OnInit {
    private cdr;
    private libService;
    private actionService;
    private formService;
    field: any;
    form: any;
    page: number;
    perPage: number;
    timeout: any;
    isBootstrapLayout: boolean;
    isMultiple: boolean;
    loading: boolean;
    constructor(cdr: ChangeDetectorRef, libService: LibService, actionService: ActionService, formService: NiDynamicFormService);
    ngOnInit(): void;
    emitAction(action: any): void;
    onOpen(): void;
    onScrollToEnd(event: any): void;
    onSearch(event: any): void;
}
<file_sep>/lib/constants/lib-config.constant.d.ts
export declare const UI_MODE: {
    MATERIAL: string;
    BOOTSTRAP: string;
};
<file_sep>/lib/services/action.service.d.ts
import { Subject } from 'rxjs';
export declare class ActionService {
    emitActionEventSubject: Subject<{}>;
    constructor();
}
<file_sep>/lib/pipes/pipes.d.ts
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { PipeTransform } from '@angular/core';
export declare class SafeUrlPipe implements PipeTransform {
    private sanitizer;
    constructor(sanitizer: DomSanitizer);
    transform(url: any): import("@angular/platform-browser").SafeResourceUrl;
}
export declare class NoSanitizePipe implements PipeTransform {
    private domSanitizer;
    constructor(domSanitizer: DomSanitizer);
    transform(html: string): SafeHtml;
}
<file_sep>/lib/components/form-field/dynamic-field.directive.d.ts
import { ComponentFactoryResolver, OnInit, ViewContainerRef } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { SelectFieldComponent } from './components/fields/select-field/select-field.component';
import { CheckboxFieldComponent } from './components/fields/checkbox-field/checkbox-field.component';
import { ArrayBsFieldComponent } from './components/bootstrap-fields/array-field/array-field.component';
import { CheckboxBsFieldComponent } from './components/bootstrap-fields/checkbox-field/checkbox-field.component';
import { UploadFileComponent } from './components/fields/upload-file/upload-file.component';
import { LibService } from '../../services/lib-config.service';
export declare const COMPONENTS: {
    [x: string]: {
        [x: string]: typeof SelectFieldComponent | typeof UploadFileComponent | typeof ArrayBsFieldComponent | typeof CheckboxBsFieldComponent;
    };
};
export declare class DynamicFieldDirective implements OnInit {
    private resolver;
    private container;
    private libServ;
    field: any;
    data: any;
    form: FormGroup;
    private component;
    constructor(resolver: ComponentFactoryResolver, container: ViewContainerRef, libServ: LibService);
    ngOnInit(): void;
    getComponentByType(type: any): typeof CheckboxFieldComponent | typeof SelectFieldComponent | typeof ArrayBsFieldComponent;
}
<file_sep>/lib/services/lib-config.service.d.ts
import { FormConfig } from '../dynamic-form.module';
import { Observable } from 'rxjs';
export declare class LibService {
    private config;
    constructor(config: FormConfig);
    getConfig(): Observable<FormConfig>;
}
<file_sep>/lib/dynamic-form.service.d.ts
export declare class DynamicFormService {
    constructor();
}
<file_sep>/lib/components/form-field/components/fields/fields-declarations.d.ts
export declare const FIELD_COMPONENTS_DECLARATIONS: any[];
<file_sep>/lib/constants/field-types.constant.d.ts
export declare const FieldTypes: {
    INPUT: string;
    NUMBER: string;
    PASSWORD: string;
    TEXTAREA: string;
    RADIO: string;
    SELECT: string;
    MULTI_SELECT: string;
    CHECKBOX: string;
    SWITCHER: string;
    INLINE_SWITCHER: string;
    DATE: string;
    PLAIN: string;
    HTML: string;
    INTERNAL: string;
    FORM_ARRAY: string;
    FORM_GROUP: string;
    FILE_UPLOADER: string;
    HIDDEN_INPUT: string;
};
export declare const OptionsFieldTypes: string[];
export declare const InternalFieldTypes: string[];
<file_sep>/public_api.d.ts
export * from './lib/dynamic-form.service';
export * from './lib/dynamic-form.component';
export * from './lib/dynamic-form.module';
export * from './lib/services/ni-dynamic-form.service';
export * from './lib/services/common-http.service';
export * from './lib/models/field.model';
export * from './lib/constants/lib-config.constant';
