import * as i0 from '@angular/core'; import { ElementRef, QueryList, EventEmitter, OnInit, OnDestroy, ChangeDetectorRef, AfterContentInit, TemplateRef, AfterViewInit, PipeTransform } from '@angular/core'; import * as i33 from 'ngx-bootstrap/dropdown'; import { BsDropdownContainerComponent } from 'ngx-bootstrap/dropdown'; import * as i3 from '@angular/common'; import { WeekDay, DatePipe } from '@angular/common'; import * as i26 from '@angular/forms'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import moment from 'moment'; import { SelectItem, SelectColor } from '@sowatech/shared/@types'; import * as i36 from '@sowatech/shared/utilities'; import { I18nService } from '@sowatech/shared/utilities'; import { LoggerService } from '@sowatech/shared/logger'; import { UserPropertiesStorageService } from '@sowatech/shared/user-properties-storage'; import { IBoxDefaultConfig } from '@sowatech/shared/shared-config'; import * as i4 from '@sowatech/shared/template'; import * as i5 from '@sowatech/shared/layout'; import * as i30 from 'ng-keyboard-shortcuts'; import { ShortcutInput } from 'ng-keyboard-shortcuts'; import * as i35 from '@ng-select/ng-select'; import { NgSelectComponent } from '@ng-select/ng-select'; import * as i31 from 'ngx-quill'; import { QuillModules, QuillEditorComponent, QuillModule } from 'ngx-quill'; import * as i28 from 'ngx-mask'; import * as i29 from '@sowatech/shared/no-double-click'; type InputSize$1 = 'small' | 'medium' | 'large'; declare class DropDownContainerComponent { dropdown: BsDropdownContainerComponent; inputContainer: ElementRef; childDropdowns: QueryList; container: string; alignContent: 'left' | 'right'; width: string; disableClickPropagation: boolean; inputSize: InputSize$1; tabindex: number | string | null; /** * Kann gesetzt werden um den Dropdown automatisch zu schließen sobald man außerhalb des Dropdowns klickt. * ToggleCollapse/Expand funktionieren nicht, wenn closeWhenClickOutside aktiviert ist. */ closeWhenClickOutside: boolean; value: string; values: string[]; set displayValue(value: string | string[]); get collapsed(): boolean; set collapsed(value: boolean); allowClear: boolean; onClear: EventEmitter; onShow: EventEmitter; toggleCollapse(isGoingToOpen: boolean): void; collapse(): void; collapseAndFocus(): void; expand(): void; clear(eventData: Event): void; collapseChildDropdowns(): void; onKeyDown(event: KeyboardEvent): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SwtDatePickerComponent implements ControlValueAccessor, OnInit { constructor(); ngOnInit(): void; modusYear: boolean; set markedDays(value: Date[]); get markedDays(): Date[]; private _markedDays; calendarWeekVisible: boolean; private _firstDayOfWeek; get firstDayOfWeek(): WeekDay; set firstDayOfWeek(value: WeekDay); get lastDayOfWeek(): WeekDay; readonly DisplayModus: typeof DisplayModus; private startDate; private endDate; currentMonth: number; private currentYear; weeks: DatePickerWeekViewModel[]; daysOfWeek: string[]; displayModus: DisplayModus; yearAuswahl: number[][]; private yearInCenterView; private innerValue; private onTouchedCallback; private onChangeCallback; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; get value(): string | Date; set value(v: string | Date); refresh(): void; writeValue(v: string | Date): void; private valueType; valueChange: EventEmitter; monthChanged: EventEmitter<{ startDay: Date; endDay: Date; }>; select(date: Date): void; get currentMonthAndYear(): Date; next(): void; previous(): void; private goToSelectedDate; private displayNextMonth; private displayNextYears; private displayPreviousMonth; private displayPreviousYears; /** * Berechnet Start- und Enddatum der Ansicht neu */ private refreshStartEndDate; private buildMonth; private buildWeek; today(): void; setYear(pickedYear: number): void; setModusYear(): void; fillYearAuswahlArray(): void; getStartDate(): Date; getEndDate(): Date; private setDaysOfWeek; private toIsoWeekday; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DatePickerWeekViewModel { weekNumber: number; days: DatePickerDayViewModel[]; constructor(weekNumber: number, days?: DatePickerDayViewModel[]); } declare class DatePickerDayViewModel { currentMoment: moment.Moment; constructor(currentMoment: moment.Moment, currentMonth: number, valueMoment: moment.Moment, valueChange: EventEmitter, markedDays: moment.Moment[]); isCurrentMonth: boolean; isToday: boolean; isSelected: boolean; isMarked: boolean; get currentDate(): Date; get cssClass(): string; } declare enum DisplayModus { Years = 0, Days = 1 } /** * - number: Letzten x Tage bis zum gewählten Tag * - 'day', 'currentday': Tag * - 'currentmonth': Monat + Jahr * - 'currentmonthwithoutyear': Datum => Monat * - 'currentquarter': Quartal + Jahr * - 'currentyear': Jahr * - 'interval': Tag bis Tag * - 'calendarweek': Kalenderwoche + Jahr * - 'monthinterval': Monat bis Monat + Jahr */ type TIntervalSelectType = number | 'day' | 'currentday' | 'currentmonth' | 'currentquarter' | 'currentyear' | 'interval' | 'currentmonthwithoutyear' | 'calendarweek' | 'monthinterval'; declare class DateInterval { constructor(start?: string | Date, end?: string | Date); start: string; end: string; get startMoment(): moment.Moment; get endMoment(): moment.Moment; get startDate(): Date; get endDate(): Date; setStart(d: string | Date): any; setStart(m: moment.Moment): any; setEnd(d: string | Date): any; setEnd(m: moment.Moment): any; } declare class DateRange { constructor(start?: string | Date, end?: string | Date, maxDuration?: number); static createFromDateRange(from: DateRange, maxDuration?: number): DateRange; private _start?; set start(val: string); get start(): string | undefined; private _end?; set end(val: string); get end(): string | undefined; readonly maxDurationInDays?: number; get isValid(): boolean; isDefined(): boolean; hasValidOrder(): boolean; durationMaxisNotExceeded(): boolean; setStart(value: string | Date): void; setEnd(value: string | Date): void; } declare class SwtDateRangePickerComponent { private i18n; stopPropagation(evt: Event): void; set inputInterval(val: DateInterval); set maxDurationInDays(val: number); newInterval: EventEmitter; currentRange: DateRange; errortext?: string; submitInterval(): void; getError(range: DateRange): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SwtPopoverComponent { title: string; private placement; set setPlacement(value: 'top' | 'bottom' | 'left' | 'right'); private trigger; set setTrigger(value: 'click' | 'hover' | 'focus' | 'manual'); private target; set setTarget(value: HTMLElement); private oldEvent; private popoverElement; private arrowElement; arrow: HTMLElement; set arrowRef(ref: ElementRef); set popoverRef(ref: ElementRef); private setArrowStyle; private currentEventListener; private removeEventListener; private addEventListener; private get triggerEventName(); get display(): string; visible: boolean; show(target?: HTMLElement): void; hide(): void; private calculatePosition; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SwtDateIntervalStoreHelper { private loggerService; private storage; constructor(loggerService: LoggerService, storage: UserPropertiesStorageService); clearStorage(storeKey: string): void; loadFromStorage(storeKey: string, maxDurationInDays?: number): DateIntervalStoredData; saveToStorage(storeKey: string, start: string, end: string, intervalSelectType: TIntervalSelectType): void; private selectedDateKey; private selectedFromDateKey; private selectedItemValueKey; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class DateIntervalStoredData { constructor(start: string, end: string, intervalSelectType: TIntervalSelectType, maxDurationInDays?: number); start: string; end: string; intervalSelectType: TIntervalSelectType; private maxDurationInDays?; get isValid(): boolean; private hasValidDates; private isDefined; private hasValidOrder; private durationMaxisNotExceeded; } type InputSize = 'small' | 'medium' | 'large'; declare class SwtDateIntervalComponent implements OnInit, OnDestroy { private storeHelper; private i18n; private changeDetectorRef; constructor(storeHelper: SwtDateIntervalStoreHelper, i18n: I18nService, changeDetectorRef: ChangeDetectorRef); storeKey: string; set setintervalValues(values: Array); private _selectedDate?; get selectedDate(): Date | string | undefined; get selectedDateAsString(): string | undefined; set setSelectedDate(value: Date | string); maxDurationInDays: number; delimiter: string; inputSize: InputSize; changeEventEmitter: EventEmitter; swtcontainer: DropDownContainerComponent; swtFromcontainer: DropDownContainerComponent; swtDropdownContainerContainer: string; private readonly subscriptions; private onInitCalled; ngOnInit(): void; ngOnDestroy(): void; currentInterval: DateInterval; intervalSelectType: TIntervalSelectType; selectItems: Array; setIntervalSelectType(value: TIntervalSelectType): void; newIntervalFromRangePicker(val: DateInterval, container: DropDownContainerComponent): void; onIntervalChange(): void; selectedMonth: TMonthIndex; selectedFromMonth: TMonthIndex; selectedFromQuarter: Quarters; selectedYear: number; selectedCalendarWeek: number; onMonthYearChange(): void; private initQuarter; updateQuarter(): void; selectedYearAdd(addYear: number): void; calendarWeekAdd(increment: number): void; isFirstCalendarWeekOfYear: boolean; isLastCalendarWeekOfYear: boolean; private recalcIsFirstOrLastWeek; onCalendarWeekChange(): void; fixCalendarWeek(): void; startEndError: boolean; fromDatePickerVisible: boolean; datepickervisible: boolean; monthvisible: boolean; fromMonthVisible: boolean; yearvisible: boolean; calendarweekVisible: boolean; intervalVisible: boolean; currentmonthyearvisible: boolean; quarterSelectorVisible: boolean; isInChange: boolean; months: Array; readonly quarters: SelectItem[]; calendarWeeks: Array; refreshCalendarWeeks(): void; private detectChanges; private setSelectItemsValues; private getIntervalTypeSelectItemText; private oldInterval; private setCurrentInterval; private updateSelectedDateProperties; private getSelectedYearByInterval; private saveToStorage; private refreshControlVisibility; onInputChange(eventData: Event | string | Date, collapseContainer?: DropDownContainerComponent): void; private hasDatePicker; useBrowserDateInput(): boolean; private hasMonthSelect; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare enum TMonthIndex { jan = 0, feb = 1, mar = 2, apr = 3, may = 4, jun = 5, jul = 6, aug = 7, sep = 8, oct = 9, nov = 10, dec = 11 } declare enum Quarters { I = 0, II = 1, III = 2, IV = 3 } declare class RatingIconsComponent { private logger; constructor(logger: LoggerService); iconCssClass: string; emptyIconCssClass: string; set rating(value: number); set maxRating(value: number); _rating: number; _maxRating: number; fullArray: number[]; emptyArray: number[]; private refreshArrays; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class LoadingIndicatorComponent implements AfterContentInit { text: string; spinnerSize: string; minHeight: string; private set loadingContainerRef(value); private loadingContainer; visible: boolean; topdistance: string; constructor(); ngAfterContentInit(): void; private recalcPosition; show(): void; hide(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare enum State { open = "open", collapsed = "collapsed" } declare class IBoxComponent implements OnInit { private logger; private config; private userPropStorageService; stateChange: EventEmitter; heading: string; collapsable: boolean; collapsed: boolean; headingHidden: boolean; label: string; contentHeadingClass: string; storeKey?: string; saveState?: boolean; constructor(logger: LoggerService, config: IBoxDefaultConfig, userPropStorageService: UserPropertiesStorageService); toggleCollapse(event: MouseEvent): void; ngOnInit(): void; private get key(); private get defaultKey(); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare abstract class IBoxTemplateBase { component: IBoxComponent; content: TemplateRef; content_heading: TemplateRef; content_titleInfo: TemplateRef; content_tools: TemplateRef; content_contentHeading: TemplateRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class IBoxSneatComponent extends IBoxTemplateBase { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IBoxInspiniaComponent extends IBoxTemplateBase { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IBoxModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class SwtCheckboxWrapper { sizePixel: number; checkBoxFocused: boolean; get fontSize(): string; get boxSize(): string; set contentChild(value: ElementRef); checkBoxControl: HTMLInputElement; onFocusCheckbox(): void; onUnfocusCheckbox(): void; get isChecked(): boolean; toggleCheckbox(): void; get isIntermediate(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SwtCheckboxComponent implements ControlValueAccessor, AfterViewInit { private changeDetectorRef; constructor(changeDetectorRef: ChangeDetectorRef); activeChangeDetectionHack: boolean; size: number; get boxSize(): string; id: i0.InputSignal; checkBox: HTMLInputElement; ngAfterViewInit(): void; swtCheckboxWrapper: SwtCheckboxWrapper; set checkBoxRef(value: ElementRef); private innerValue; private onTouchedCallback; private onChangeCallback; onFocusCheckbox(): void; onUnfocusCheckbox(): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; onBlur(): void; get value(): boolean; set value(v: boolean); writeValue(v: boolean): void; valueChanged(event: any): void; refreshBindings(): void; protected toggleCheckbox(event: Event): void; valueChange: EventEmitter; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WizardStepComponent { step: WizardStep; set setIdent(value: string); set setName(value: string); /** @deprecated title sorgt für einen Tooltip auf dem ganzen Wizard Step */ set setTitle(value: string); set setNumber(value: string); set setCanFinish(value: boolean); set setLast(value: boolean); set setFirst(value: boolean); set canCancel(value: boolean); set leaveStepToNextCallback(v: () => boolean | Promise); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class WizardStep { constructor(title: string); title: string; ident: string; number?: string; get class(): string; disabled: boolean; current: boolean; done: boolean; hidden: boolean; error: boolean; private _first; set first(value: boolean); get first(): boolean; private _last; set last(value: boolean); get last(): boolean; canFinish: boolean; canLeaveToNext: boolean; canLeaveToPrevious: boolean; canCancel: boolean; /** Callback, ob man den Step verlassen darf. Wird bei Click auf "Weiter" abgefragt. */ leaveStepToNextCallback: () => boolean | Promise; } declare class WizardComponent implements AfterContentInit { shortcuts: ShortcutInput[]; wizardStepComponents: QueryList; ngAfterContentInit(): void; tabclass: string; autoReset: boolean; /** `@Input` mit 'title' sorgt für einen tooltip, also besser 'heading' benutzen */ title: string; get heading(): string; set heading(value: string); subTitle: string; onAfterReset: EventEmitter; onBeforeLeaveStepToNext: EventEmitter; onBeforeLeaveStepToPrevious: EventEmitter; onAfterLeaveStep: EventEmitter; onBeforeEnterStep: EventEmitter; onAfterEnterStep: EventEmitter; onStepChanged: EventEmitter; onBeforeFinished: EventEmitter; onAfterFinished: EventEmitter; onCanceled: EventEmitter; steps: Array; private initSteps; private setStepDefaults; reset(): void; private setFirstStep; set firstStep(firstStep: WizardStep); get firstStep(): WizardStep; private setCurrentStep; set currentStep(currentStep: WizardStep); get currentStep(): WizardStep; setLastSteps(lastSteps: WizardStep[]): void; getNextStep(): WizardStep; getPreviousStep(): WizardStep; goto(gotoStep: WizardStep): Promise; next(targetStep?: WizardStep): Promise; previous(enteredStep?: WizardStep): void; private leftStep; private enterStep; finish(): void; cancel(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DebounceDirective implements OnInit { model: NgControl; private readonly destroyRef; onDebounce: EventEmitter; debounceTime: number; private isFirstChange; constructor(model: NgControl); ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare abstract class SwtLruComponentBase { htmlInputSearch: ElementRef; htmlSelectItems: QueryList; component: LRUComponent; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SwtLruInspiniaComponent extends SwtLruComponentBase { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SwtLruSneatComponent extends SwtLruComponentBase { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class LRUComponent implements OnInit { private storage; constructor(storage: UserPropertiesStorageService); template: QueryList; selectedId: EventEmitter; selectedName: EventEmitter; valueChange: EventEmitter; private get htmlInputSearch(); private get htmlSelectItems(); private inputValue; get value(): string; set value(value: string); key: string; inputMaxLength: number; stopEventPropagation: boolean; filterMethod: 'includes' | 'startswith'; set inputSelectItems(selectItems: SelectItem[]); private _cssClass; set cssClass(value: string); get cssClass(): string; id: string; focusLost: EventEmitter; inputGroupCss: string; /** * @deprecated Use the 'value' two-way-binding instead */ set preSetText(text: string); savedIds: number[]; selectItems: SelectItem[]; originalSelectItems: SelectItem[]; inputFocused: boolean; listFocused: boolean; showList: boolean; private focusedItem; ngOnInit(): void; storageKey(): string; onKeydown(event: KeyboardEvent): void; filterSelectItems(): void; select(itemValue?: number): void; refresh(): void; reorderSelectItems(): void; onInputFocus(): void; onListFocus(): void; onInputFocusLost(): void; onListFocusLost(): void; private updateShowList; clearInput(): void; private getFocusedElement; private setSelectedText; private removeItemFromArray; private loadFromStorage; private saveToStorage; private addToBeginning; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } type VALUE = any; declare class MultiLRUComponent implements OnInit, OnDestroy { ngSelect: NgSelectComponent; selectedValues: EventEmitter; selectedTexts: EventEmitter; valueChange: EventEmitter; focusLost: EventEmitter; protected readonly nameSignal: i0.WritableSignal; get name(): string; set name(value: string); private _textValues; /**Text der SelectItems */ get value(): string[]; set value(value: string[]); inputSelectItems: SelectItem[]; inputSelectItemsFn: (searchTerm: string) => Promise; multiple: boolean; addTag: boolean; maxSelectedItems: number; inputMaxLength: number; filterMethod: 'includes' | 'startswith'; cssClass: string; fieldText: string; id: string; private loadingCounter; private readonly subscriptions; ngOnInit(): void; ngOnDestroy(): void; onSelectChanged(): void; onSearch(searchTerm: string): Promise; filterFunction: (term: string, item: SelectItem) => boolean; protected loading: i0.WritableSignal; private showLoading; private hideLoading; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class ToolBarContainerComponent { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class UlNavTabs implements AfterContentInit, OnDestroy { cssClasses: any; pills: boolean; stacked: boolean; justified: boolean; private readonly config; get ngClassValue(): string; changed: EventEmitter; private navtabsRef; private get navtabs(); private get navTabsItems(); ngAfterContentInit(): void; ngOnDestroy(): void; contentChange(): void; private tabsWithSubscriptions; private initTabs; private unsubscribeTabs; private onNavTabClick; private onNavTabKeyDown; private activeTabId; setActive(id: string): void; getActive(): string; isActive(id: string): boolean; /** In Bs3 wird die active Klasse direkt auf dem LI-Element gesetzt. In Bs5 wird sie auf dem A-Element gesetzt */ private getActiveClassHtmlElement; private getNavStackedCssClass; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SwtDateInputComponent implements ControlValueAccessor, OnInit, OnDestroy { private datePipe; locale: string; private i18n; constructor(datePipe: DatePipe, locale: string, i18n: I18nService); private subscriptions; ngOnInit(): void; ngOnDestroy(): void; private valueType; errorMessage: string; isValid: boolean; languageIso: string; private momentFormat; private alternativeMomentFormat; private dateIsoFormat; dateString: string; dateInputError: DateInputError; private pattern; placeholder: string; dateFormat: string; name: any; autofocus: any; required: boolean; class: any; width: number; maxDate: Date; minDate: Date; showErrorMessage: boolean; id: string; dateError: EventEmitter; focusLost: EventEmitter; private setTranslationProps; transformDateToString(date: Date): string; transformStringToDate(dateString: string): Date; transformStringToMoment(dateString: string): moment.Moment; dateMoment: moment.Moment; private onTouchedCallback; private onChangeCallback; get dateValue(): string; set dateValue(v: string); private resetErrorMessage; onBlur(): void; writeValue(value: DateIso | Date): void; private isIsoFormat; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; onKeyDown(event: KeyboardEvent): void; private checkValidation; private checkDateIntervallisValid; checkForMaxDateError(maxDateMoment: moment.Moment, dateMoment: moment.Moment): DateInputError; private checkForMinDateError; private checkForDateIntervallError; private getErrorMessage; private checkDateIsValid; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare enum DateInputError { None = 0, DateInvalidError = 1, MinDateError = 2, MaxDateError = 3, DateIntervallError = 4 } type DateIso = string; declare class SwtColorPickerService { getColorFromSelectColorsOrEmptyColor(hexColor: string, colors: SelectColor[]): SelectColor; isSelectedColor(hexColor: string, colors: SelectColor[]): boolean; hexColorIsValid(hexColor: string): boolean; getEmptySelectColor(hexColor?: string): SelectColor; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class ColorPickerConfiguration { returnHexCode?: boolean; emptyText?: string; allowOnlyColorsFromSelect?: boolean; } declare class SwtColorPickerComponent implements ControlValueAccessor, OnInit { private elementRef; private colorPickerService; input: Element; required: boolean; set _selectColors(value: SelectColor[]); set _config(value: ColorPickerConfiguration); get emptyText(): string; get value(): string; set value(v: string); selectColors: SelectColor[]; showColors: boolean; selectedColor: SelectColor; config: ColorPickerConfiguration; private innerValue; constructor(elementRef: ElementRef, colorPickerService: SwtColorPickerService); ngOnInit(): void; onDocumentClick(event: MouseEvent): void; writeValue(value: string): void; changeValue(selectedColor: SelectColor): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; changeColor(hexColor: string): void; changeColorManual(hexColor: string): void; hexColorIsValid(hexColor: string): boolean; toggleColors(): void; private initConfigDefaults; private setSelectedColor; private onChangeCallback; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SWTHighlightSearch implements PipeTransform { transform(value: any, args: any): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵpipe: i0.ɵɵPipeDeclaration; } interface IQuillConfiguration { /** default: 'html' */ format?: 'html' | 'object' | 'text' | 'json'; /** default: 'snow' */ theme?: 'snow' | 'bubble'; readOnly?: boolean; toolbar?: QuillToolbarDefaultType | IQuillToolbarConfiguration; /** *wird nur benötigt, falls standard modules/toolbar nicht ausreicht */ modules?: QuillModules; } /** *manuelles einstellen der Toolbar */ interface IQuillToolbarConfiguration { clean?: boolean; decorators?: QuillDecorator[]; quotes?: QuillQuote[]; headers?: QuillHeader[]; lists?: QuillList[]; scripts?: QuillScript[]; directions?: QuillDirection[]; sizes?: QuillSize[]; colors?: string[]; backgrounds?: string[]; fonts?: string[]; aligns?: QuillAlign[]; } /** * reduced: decorators, lists, sizes, colors, backgrounds, aligns * * full: decorators, quotes, headers, lists, scripts, directions, sizes, colors, backgrounds, fonts, aligns */ type QuillToolbarDefaultType = 'reduced' | 'full'; type QuillDecorator = 'bold' | 'italic' | 'underline' | 'strike'; type QuillQuote = 'blockquote'; type QuillHeader = 1 | 2 | number[]; type QuillList = 'ordered' | 'bullet'; type QuillScript = 'sub' | 'super'; type QuillDirection = 'rtl'; type QuillSize = '10px' | false | '18px' | '32px'; type QuillAlign = false | 'center' | 'right' | 'justify'; declare const SWT_QUILL_EDITOR_VALUE_ACCESSOR: any; declare class SwtQuillEditorComponent implements OnInit, ControlValueAccessor { private logger; constructor(logger: LoggerService); private _config; get config(): IQuillConfiguration; set config(config: IQuillConfiguration); name: string; maxLength: number; minLength: number; required: boolean; placeholder: string; textbox: QuillEditorComponent; ngOnInit(): void; private innerValue; get value(): string; set value(v: string); private onTouchedCallback; private onChangeCallback; writeValue(v: string): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; private configureQuillInlineStyles; quillModules: QuillModule; private setQuillModules; private getQuillToolbar; private prepareConfig; getDefaultQuillToolbar(defaultType: QuillToolbarDefaultType): IQuillToolbarConfiguration; static getReducedQuillToolbar(): IQuillToolbarConfiguration; static getFullQuillToolbar(): IQuillToolbarConfiguration; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class DomChangeDirective implements OnDestroy { private elementRef; private changes; domChange: EventEmitter; constructor(elementRef: ElementRef); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class LoadingDirective { private readonly loadingIndicator; private readonly changeDetector; constructor(); /** Wenn `true`, wird der `loading-indicator` angezeigt */ readonly loading: i0.InputSignal; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare abstract class SwtDateIntervalComponentBase { component: SwtDateIntervalComponent; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class SwtDateIntervalInspiniaComponent extends SwtDateIntervalComponentBase { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class SwtDateIntervalSneatComponent extends SwtDateIntervalComponentBase { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const QuillModuleForRoot: i0.ModuleWithProviders; declare class SwtControlsModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { ColorPickerConfiguration, DateInterval, DebounceDirective, DomChangeDirective, DropDownContainerComponent, IBoxComponent, IBoxModule, LRUComponent, LoadingDirective, LoadingIndicatorComponent, MultiLRUComponent, QuillModuleForRoot, RatingIconsComponent, SWTHighlightSearch, SWT_QUILL_EDITOR_VALUE_ACCESSOR, SwtCheckboxComponent, SwtCheckboxWrapper, SwtColorPickerComponent, SwtControlsModule, SwtDateInputComponent, SwtDateIntervalComponent, SwtDateIntervalStoreHelper, SwtDatePickerComponent, SwtDateRangePickerComponent, SwtPopoverComponent, SwtQuillEditorComponent, ToolBarContainerComponent, UlNavTabs, WizardComponent, WizardStep, WizardStepComponent }; export type { IQuillConfiguration, IQuillToolbarConfiguration, QuillAlign, QuillDecorator, QuillDirection, QuillHeader, QuillList, QuillQuote, QuillScript, QuillSize, QuillToolbarDefaultType };