import * as i0 from '@angular/core'; import { OnInit, ViewRef, EventEmitter } from '@angular/core'; import { Rule, MarkSymbolizer, FillSymbolizer, TextSymbolizer, SymbolizerKind, IconSymbolizer, LineSymbolizer, Symbolizer } from 'geostyler-style'; import * as i28 from 'hslayers-ng/services/styler'; import { HsStylerPartBaseComponent, HsStylerService } from 'hslayers-ng/services/styler'; import { ColorEvent } from 'ngx-color'; import { SymbolizerIcon, HsConfig } from 'hslayers-ng/config'; import { HsDialogComponent, HsDialogItem, HsDialogContainerService } from 'hslayers-ng/common/dialogs'; import * as i25 from '@angular/cdk/drag-drop'; import { CdkDragDrop } from '@angular/cdk/drag-drop'; import { HsLayerSelectorService } from 'hslayers-ng/services/layer-manager'; import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; import { HsEventBusService } from 'hslayers-ng/services/event-bus'; import * as i19 from 'hslayers-ng/common/panels'; import { HsPanelBaseComponent } from 'hslayers-ng/common/panels'; import { HsSaveMapService } from 'hslayers-ng/services/save-map'; import * as i23 from 'hslayers-ng/common/upload'; import { HsUploadedFiles } from 'hslayers-ng/common/upload'; import { Style } from 'ol/style'; import { Feature } from 'ol'; import { Vector } from 'ol/layer'; import { Vector as Vector$1 } from 'ol/source'; import { HsLanguageService } from 'hslayers-ng/services/language'; import { HsConfirmDialogComponent } from 'hslayers-ng/common/confirm'; import * as i17 from '@angular/common'; import * as i18 from 'ngx-color/sketch'; import * as i20 from '@angular/forms'; import * as i21 from '@ng-bootstrap/ng-bootstrap'; import * as i22 from '@ngx-translate/core'; import * as i24 from 'hslayers-ng/common/download'; import * as i26 from 'hslayers-ng/common/color-map-picker'; import * as i27 from 'hslayers-ng/common/filters'; declare class HsScaleDenominatorComponent extends HsStylerPartBaseComponent implements OnInit { rule: Rule; scaleDenominator: { min: number; max: number; }; ngOnInit(): void; emitChange(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsColorPickerService { constructor(); addAlpha(color: string, opacity: number): string; hex2Rgb(aRgbHex: string): { r: number; g: number; b: number; }; generateFontColor(rgbColor: Array): string; colorPickerStyle(bcolor: string, color: string): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class HsColorPickerComponent extends HsStylerPartBaseComponent implements OnInit { hsColorPickerService: HsColorPickerService; private hsLog; symbolizer: MarkSymbolizer | FillSymbolizer | TextSymbolizer; attribute: string; opacityAttribute?: string; label: string; fontColor: string; pickerVisible: boolean; ngOnInit(): void; onPick($event: ColorEvent): void; inputChanged(): void; colorPickerStyle(): string; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare enum Kinds { fill = "Fill", icon = "Icon", line = "Line", text = "Text", mark = "Mark" } declare class HsFillSymbolizerComponent extends HsStylerPartBaseComponent { symbolizer: FillSymbolizer; menuRef: any; kinds: typeof Kinds; addSymbolizer(attribute: string, kind: SymbolizerKind): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsIconSymbolizerComponent extends HsStylerPartBaseComponent { private hsDialogContainerService; symbolizer: IconSymbolizer; submenu: boolean; selectedIcon?: SymbolizerIcon; anchors: string[]; showIconSelector(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsLineSymbolizerComponent extends HsStylerPartBaseComponent { symbolizer: LineSymbolizer; lineMenuRef: any; strokeMenuRef: any; caps: string[]; joins: string[]; kinds: typeof Kinds; addSymbolizer(attribute: string, kind: SymbolizerKind): void; addDashItem(): void; removeDashItem(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsMarkSymbolizerComponent extends HsStylerPartBaseComponent { symbolizer: MarkSymbolizer; submenu: boolean; wellKnownNames: string[]; fillColorPickerVisible: boolean; strokeColorPickerVisible: boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsSelectIconDialogComponent implements HsDialogComponent { private hsDialogContainerService; hsConfig: HsConfig; dialogItem?: HsDialogItem; viewRef: ViewRef; data: HsIconSymbolizerComponent; cancel(): void; confirm(): void; iconSelected(icon: SymbolizerIcon): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsSliderComponent extends HsStylerPartBaseComponent { symbolizer: MarkSymbolizer | FillSymbolizer | TextSymbolizer; attribute: string; label: string; min: number; max: number; step: number; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsSymbolizerComponent extends HsStylerPartBaseComponent { symbolizer: any; kinds: typeof Kinds; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsTextSymbolizerComponent extends HsStylerPartBaseComponent { symbolizer: TextSymbolizer; anchors: string[]; fonts: string[]; fontStyles: string[]; transforms: string[]; justifications: string[]; fontWeights: string[]; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsRuleComponent extends HsStylerPartBaseComponent { hsStylerService: HsStylerService; rule: any; changes: EventEmitter; menuRef: any; layerSelectorService: HsLayerSelectorService; filtersVisible: boolean; scalesVisible: boolean; addSymbolizer(kind: SymbolizerKind): Promise; drop(event: CdkDragDrop): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsStylerComponent extends HsPanelBaseComponent { hsStylerService: HsStylerService; hsEventBusService: HsEventBusService; sanitizer: DomSanitizer; hsSaveMapService: HsSaveMapService; hsDialogContainerService: HsDialogContainerService; layerTitle: string; uploaderVisible: boolean; /** * Normalized SLD which will be used for download. */ sldForDownload: i0.Signal; downloadData: any; name: string; colormaps: string[]; constructor(); close(): Promise; uploadSld(): void; clear(): Promise; drop(event: CdkDragDrop): void; handleFileUpload(evt: HsUploadedFiles): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const simple_style: Style; declare class HsRuleListItemComponent implements OnInit { hsStylerService: HsStylerService; private sanitizer; rule: any; ruleVisible: boolean; svg: SafeHtml; ngOnInit(): void; generateLegend(): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsSymbolizerListItemComponent extends HsStylerPartBaseComponent { symbolizer: Symbolizer; rule: Rule; symbolizerVisible: boolean; getSymbolizerName(symbolizer: any): string; removeSymbolizer(symbolizer: Symbolizer): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsAddColormapComponent implements OnInit { hsLanguageService: HsLanguageService; private hsStylerService; name: string; layer: Vector>; weightAttribute: string; attributes: string[]; colorMap: string; min: number | string; max: number | string; categories: number; canceled: EventEmitter; ngOnInit(): void; changeAttrib(): void; save(): void; cancel(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsStylerEditDialogComponent extends HsConfirmDialogComponent { exitWithoutSave(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class HsStylerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { HsAddColormapComponent, HsColorPickerComponent, HsColorPickerService, HsFillSymbolizerComponent, HsIconSymbolizerComponent, HsLineSymbolizerComponent, HsMarkSymbolizerComponent, HsRuleComponent, HsRuleListItemComponent, HsScaleDenominatorComponent, HsSelectIconDialogComponent, HsSliderComponent, HsStylerComponent, HsStylerModule, HsSymbolizerComponent, HsSymbolizerListItemComponent, HsTextSymbolizerComponent, simple_style };