/// import type { ArcgisCkeditor5 } from "../components/arcgis-ckeditor5/customElement.js"; import type { ArcgisCkeditor5Popover } from "../components/arcgis-ckeditor5-popover/customElement.js"; import type { ArcgisColorInput } from "../components/arcgis-color-input/customElement.js"; import type { ArcgisCoordinateSystemPicker } from "../components/arcgis-coordinate-system-picker/customElement.js"; import type { ArcgisCoordinateSystemPickerTree } from "../components/arcgis-coordinate-system-picker-tree/customElement.js"; import type { ArcgisFieldInfo } from "../components/arcgis-field-info/customElement.js"; import type { ArcgisFieldPickList } from "../components/arcgis-field-pick-list/customElement.js"; import type { ArcgisHistogram } from "../components/arcgis-histogram/customElement.js"; import type { ArcgisLabelInput } from "../components/arcgis-label-input/customElement.js"; import type { ArcgisPickerInput } from "../components/arcgis-picker-input/customElement.js"; import type { ArcgisRampColor } from "../components/arcgis-ramp-color/customElement.js"; import type { ArcgisRampColorBreak } from "../components/arcgis-ramp-color-break/customElement.js"; import type { ArcgisRampOpacity } from "../components/arcgis-ramp-opacity/customElement.js"; import type { ArcgisSlider } from "../components/arcgis-slider/customElement.js"; import type { ArcgisSliderInput } from "../components/arcgis-slider-input/customElement.js"; import type { ArcgisTicks } from "../components/arcgis-ticks/customElement.js"; import type { ArcgisUniqueValuesList } from "../components/arcgis-unique-values-list/customElement.js"; import { HTMLAttributes } from "preact"; import type { EventHandler } from "@arcgis/lumina"; interface PreactArcgisCkeditor5 extends Partial>, HTMLAttributes { onarcgisCkeditor5Created?: EventHandler; onarcgisCkeditor5DataUpdated?: EventHandler; onarcgisCkeditor5SourceEditingChanged?: EventHandler; onarcgisCreated?: EventHandler; onarcgisDataUpdated?: EventHandler; onarcgisSourceEditingChanged?: EventHandler; } interface PreactArcgisCkeditor5Popover extends Partial>, HTMLAttributes { onarcgisCkeditor5PopoverClosed?: EventHandler; onarcgisPopoverClosed?: EventHandler; } interface PreactArcgisColorInput extends Partial>, HTMLAttributes { onarcgisChange?: EventHandler; onarcgisColorInputChange?: EventHandler; onarcgisColorInputPopoverClose?: EventHandler; onarcgisColorInputPopoverOpen?: EventHandler; onarcgisColorInputSwatchUpdate?: EventHandler; onarcgisPickerClose?: EventHandler; onarcgisPickerOpen?: EventHandler; onarcgisSwatchUpdate?: EventHandler; } interface PreactArcgisCoordinateSystemPicker extends Partial>, HTMLAttributes { onarcgisChange?: EventHandler; } interface PreactArcgisCoordinateSystemPickerTree extends Partial>, HTMLAttributes { onarcgisChange?: EventHandler; } interface PreactArcgisFieldInfo extends Partial>, HTMLAttributes { onarcgisComplete?: EventHandler; onarcgisFieldInfoComplete?: EventHandler; } interface PreactArcgisFieldPickList extends Partial>, HTMLAttributes { onarcgisChange?: EventHandler; onarcgisClose?: EventHandler; onarcgisDeleteField?: EventHandler; onarcgisEditField?: EventHandler; onarcgisFieldPickListChange?: EventHandler; onarcgisFieldPickListDismissed?: EventHandler; onarcgisFieldPickListSortByChange?: EventHandler; onarcgisSortByChange?: EventHandler; } interface PreactArcgisHistogram extends Partial>, HTMLAttributes { } interface PreactArcgisLabelInput extends Partial>, HTMLAttributes { onarcgisChange?: EventHandler; } interface PreactArcgisPickerInput extends Partial>, HTMLAttributes { onarcgisPopoverClose?: EventHandler; onarcgisPopoverOpen?: EventHandler; } interface PreactArcgisRampColor extends Partial>, HTMLAttributes { } interface PreactArcgisRampColorBreak extends Partial>, HTMLAttributes { } interface PreactArcgisRampOpacity extends Partial>, HTMLAttributes { } interface PreactArcgisSlider extends Partial>, HTMLAttributes { onarcgisActiveValueChange?: EventHandler; onarcgisChange?: EventHandler; onarcgisInput?: EventHandler; onarcgisRangeChange?: EventHandler; } interface PreactArcgisSliderInput extends Partial>, HTMLAttributes { onarcgisSliderInputValueChange?: EventHandler; onarcgisValueChange?: EventHandler; } interface PreactArcgisTicks extends Partial>, HTMLAttributes { onarcgisTickClick?: EventHandler; } interface PreactArcgisUniqueValuesList extends Partial>, HTMLAttributes { onarcgisChange?: EventHandler; onarcgisLoad?: EventHandler; onarcgisSortByChange?: EventHandler; } declare module 'preact' { namespace createElement.JSX { interface IntrinsicElements { "arcgis-ckeditor5": PreactArcgisCkeditor5; "arcgis-ckeditor5-popover": PreactArcgisCkeditor5Popover; "arcgis-color-input": PreactArcgisColorInput; "arcgis-coordinate-system-picker": PreactArcgisCoordinateSystemPicker; "arcgis-coordinate-system-picker-tree": PreactArcgisCoordinateSystemPickerTree; "arcgis-field-info": PreactArcgisFieldInfo; "arcgis-field-pick-list": PreactArcgisFieldPickList; "arcgis-histogram": PreactArcgisHistogram; "arcgis-label-input": PreactArcgisLabelInput; "arcgis-picker-input": PreactArcgisPickerInput; "arcgis-ramp-color": PreactArcgisRampColor; "arcgis-ramp-color-break": PreactArcgisRampColorBreak; "arcgis-ramp-opacity": PreactArcgisRampOpacity; "arcgis-slider": PreactArcgisSlider; "arcgis-slider-input": PreactArcgisSliderInput; "arcgis-ticks": PreactArcgisTicks; "arcgis-unique-values-list": PreactArcgisUniqueValuesList; } } namespace h.JSX { interface IntrinsicElements { "arcgis-ckeditor5": PreactArcgisCkeditor5; "arcgis-ckeditor5-popover": PreactArcgisCkeditor5Popover; "arcgis-color-input": PreactArcgisColorInput; "arcgis-coordinate-system-picker": PreactArcgisCoordinateSystemPicker; "arcgis-coordinate-system-picker-tree": PreactArcgisCoordinateSystemPickerTree; "arcgis-field-info": PreactArcgisFieldInfo; "arcgis-field-pick-list": PreactArcgisFieldPickList; "arcgis-histogram": PreactArcgisHistogram; "arcgis-label-input": PreactArcgisLabelInput; "arcgis-picker-input": PreactArcgisPickerInput; "arcgis-ramp-color": PreactArcgisRampColor; "arcgis-ramp-color-break": PreactArcgisRampColorBreak; "arcgis-ramp-opacity": PreactArcgisRampOpacity; "arcgis-slider": PreactArcgisSlider; "arcgis-slider-input": PreactArcgisSliderInput; "arcgis-ticks": PreactArcgisTicks; "arcgis-unique-values-list": PreactArcgisUniqueValuesList; } } }