import { SingleSelectIdText } from "../../anna-dropdown-lib/components/anna-single-select/models/anna-single-select.model"; export interface IRadioButton { value: any; isDisabled: boolean; label: string; class: string; tooltip?: string; } export interface IAngular2MultiSelectSettings { text: string; selectAllText: string; unSelectAllText: string; badgeShowLimit: number; singleSelection: boolean; classes: string; enableSearchFilter: boolean; enableCheckAll: boolean; autoPosition: boolean; position: string; lazyLoading: boolean; disabled: boolean; showCheckbox: boolean; enableFilterSelectAll: boolean; maxHeight: number; } export interface INgxAsideSettings { title: string; cancelButtonTitle: string; submitButtonTitle: string; closeOnEscape: boolean; showOverlay: boolean; showDefaultFooter: boolean; showDefaultHeader: boolean; } export interface INgbDatePickerSettings { autoClose: boolean; placeholder: string; displayMonths: number; firstDayOfWeek: number; showWeekNumbers: boolean; readonly: boolean; } export interface INgSelectSettings { allowClear: boolean; placeholder: string; } export interface INgxInfiniteScrollSettings { infiniteScrollDistance: number; infiniteScrollUpDistance: number; infiniteScrollThrottle: number; scrollWindow: boolean; } export interface INgxSkeletonLoaderSettings { numberOfSkeletonRows: number[]; } export interface IRadioButtonComponentConfig { heading?: string; radioGroupName: string; radioButtons: IRadioButton[]; } export interface IConfirmationPopupConfig { showCancelButton: boolean; title: string; subTitle?: string; showConfirmButton: boolean; cancelButtonLabel: string; confirmButtonLabel: string; showCloseIcon: boolean; windowClass: string; backdrop: "static" | boolean; size: "sm" | "lg"; keyboard: boolean; centered?: boolean; } export interface IWeekCalendar { firstDayOfWeek?: number; numberOfMonthsToEnableInPast: number; selectMultipleWeeks: boolean; showWeekNumbers?: boolean; dateFormatToDisplay?: string; maxWeeksToShowWithRemainingCount?: number; customClass?: string; emitMultipleWeekObjects?: boolean; emitInitialSelection?: boolean; dateFormatForRequest?: string; maxWeeksToSelect?: number; showAsDropdown: boolean; selectCurrentWeek: boolean; isContainerBody?: boolean; } export interface ICustomSingleSelect { showSearchBar: boolean; placeholder: string; classes: string; position: Position; showBlueBorderOnEdit?: boolean; showRedBorderWhenNoOptionSelected?: boolean; initialSelectedItem?: SingleSelectIdText; maxHeightOfList: number; minHeightOfList?: number; } export interface ICustomMultiSelect extends ICustomSingleSelect { showErrorWhenNoOptionSelected: boolean; showCancelAndApplyButtons: boolean; } type Position = "TOP" | "BOTTOM"; export {};