@emuanalytics/flow-rdf-ui 4.1.3 → 4.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/autocomplete/autocomplete.component.mjs +623 -0
- package/dist/components/autocomplete/autocomplete.mjs +5 -0
- package/dist/components/autocomplete/autocomplete.styles.mjs +233 -0
- package/dist/components/timer/ticker.mjs +1 -0
- package/dist/custom-elements.json +1061 -330
- package/dist/index.d.mts +211 -7
- package/dist/index.d.ts +211 -7
- package/dist/index.mjs +1 -0
- package/dist/package.json.mjs +1 -1
- package/dist/utilities/register-components.mjs +2 -0
- package/dist/vscode.html-custom-data.json +138 -39
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1925,6 +1925,216 @@ declare global {
|
|
|
1925
1925
|
}
|
|
1926
1926
|
}
|
|
1927
1927
|
|
|
1928
|
+
declare global {
|
|
1929
|
+
interface HTMLElementTagNameMap {
|
|
1930
|
+
'flow-ui-icon': FlowUiIcon;
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
/**
|
|
1935
|
+
* @tagname flow-ui-autocomplete
|
|
1936
|
+
* @summary The Autocomplete is a Text input enhanced by a panel of suggested options.
|
|
1937
|
+
*
|
|
1938
|
+
* @dependency flow-ui-popup
|
|
1939
|
+
* @dependency flow-ui-icon
|
|
1940
|
+
*
|
|
1941
|
+
* @slot - The listbox options. Must be `<flow-option>` elements. You can use `<flow-divider>` to group items visually.
|
|
1942
|
+
* @slot label - The input's label. Alternatively, you can use the `label` attribute.
|
|
1943
|
+
* @slot prefix - Used to prepend a presentational icon or similar element to the combobox.
|
|
1944
|
+
* @slot suffix - Used to append a presentational icon or similar element to the combobox.
|
|
1945
|
+
* @slot clear-icon - An icon to use in lieu of the default clear icon.
|
|
1946
|
+
* @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.
|
|
1947
|
+
*
|
|
1948
|
+
* @event flow-ui-input - Emitted when the display value changes.
|
|
1949
|
+
* @event flow-ui-change - Emitted when the input value changes.
|
|
1950
|
+
* @event flow-ui-focus - Emitted when the input is focused.
|
|
1951
|
+
* @event flow-ui-blur - Emitted when the input is blurred.
|
|
1952
|
+
* @event flow-ui-show - Emitted when the dropdown is shown.
|
|
1953
|
+
* @event flow-ui-after-show - Emitted when the dropdown is shown.
|
|
1954
|
+
* @event flow-ui-hide - Emitted when the dropdown is hidden.
|
|
1955
|
+
* @event flow-ui-after-hide - Emitted when the dropdown is hidden.
|
|
1956
|
+
* @event flow-ui-invalid - Emitted when the input is invalid.
|
|
1957
|
+
* @event flow-ui-valid - Emitted when the input is valid.
|
|
1958
|
+
* @event flow-ui-validate - Emitted when the input is validated.
|
|
1959
|
+
* @event flow-ui-validate-complete - Emitted when the input is validated and the validity state is updated.
|
|
1960
|
+
* @event flow-ui-validate-error - Emitted when the input is validated and an error occurs.
|
|
1961
|
+
* @event flow-ui-validate-success - Emitted when the input is validated and no errors occur.
|
|
1962
|
+
*
|
|
1963
|
+
* @csspart form-control - The form control that wraps the label, input, and help text.
|
|
1964
|
+
* @csspart form-control-label - The label's wrapper.
|
|
1965
|
+
* @csspart form-control-input - The select's wrapper.
|
|
1966
|
+
* @csspart form-control-help-text - The help text's wrapper.
|
|
1967
|
+
* @csspart combobox - The container the wraps the prefix, suffix, combobox, clear icon, and expand button.
|
|
1968
|
+
* @csspart prefix - The container that wraps the prefix slot.
|
|
1969
|
+
* @csspart suffix - The container that wraps the suffix slot.
|
|
1970
|
+
* @csspart display-input - The element that displays the selected option's label, an `<input>` element.
|
|
1971
|
+
* @csspart listbox - The listbox container where options are slotted.
|
|
1972
|
+
* @csspart clear-button - The clear button.
|
|
1973
|
+
*/
|
|
1974
|
+
declare class FlowUiAutocomplete extends FlowRdfFormControl {
|
|
1975
|
+
static styles: CSSResultGroup;
|
|
1976
|
+
static dependencies: {
|
|
1977
|
+
'flow-ui-popup': typeof FlowUiPopup;
|
|
1978
|
+
'flow-ui-icon': typeof FlowUiIcon;
|
|
1979
|
+
};
|
|
1980
|
+
private readonly hasSlotController;
|
|
1981
|
+
private readonly localize;
|
|
1982
|
+
/** @internal Last time when the mousedown event was fired */
|
|
1983
|
+
private mouseDownAt;
|
|
1984
|
+
private debouncedInput;
|
|
1985
|
+
private pendingChangeEvent;
|
|
1986
|
+
private pendingInputEvent;
|
|
1987
|
+
private hasOptions;
|
|
1988
|
+
private readonly formControlController;
|
|
1989
|
+
/** The autocomplete's size */
|
|
1990
|
+
size: 'small' | 'medium' | 'large';
|
|
1991
|
+
/** Draws a filled autocomplete input */
|
|
1992
|
+
filled: boolean;
|
|
1993
|
+
/** Draws a pill-style autocomplete input with rounded edges */
|
|
1994
|
+
pill: boolean;
|
|
1995
|
+
/** The autocomplete input's label. If you need to display HTML, use the `help-text` slot instead */
|
|
1996
|
+
label: string;
|
|
1997
|
+
/** The autocomplete input's help text. If you need to display HTML, use the `help-text` slot instead */
|
|
1998
|
+
helpText: string;
|
|
1999
|
+
/** The autocomplete input's placeholder text */
|
|
2000
|
+
placeholder: string;
|
|
2001
|
+
/** Disables the autocomplete */
|
|
2002
|
+
disabled: boolean;
|
|
2003
|
+
/**
|
|
2004
|
+
* The "form owner" to associate the button with. If omitted, the closest containing form will be used instead. The
|
|
2005
|
+
* value of this attribute must be an id of a form in the same document or shadow root as the button.
|
|
2006
|
+
*/
|
|
2007
|
+
form: string;
|
|
2008
|
+
/** Makes the autocomplete a required field */
|
|
2009
|
+
required: boolean;
|
|
2010
|
+
/** Display the autocomplete in the 'inline' form control style */
|
|
2011
|
+
inline: boolean;
|
|
2012
|
+
/** Indicates that the control should display a divider */
|
|
2013
|
+
divider: boolean;
|
|
2014
|
+
/**
|
|
2015
|
+
* Enable this option to prevent the listbox from being clipped when the component is placed inside a container with
|
|
2016
|
+
* `overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
|
|
2017
|
+
*/
|
|
2018
|
+
hoist: boolean;
|
|
2019
|
+
/**
|
|
2020
|
+
* The preferred placement of the autocomplete's menu. Note that the actual placement may vary as needed to keep the listbox
|
|
2021
|
+
* inside of the viewport.
|
|
2022
|
+
*/
|
|
2023
|
+
placement: 'top' | 'bottom';
|
|
2024
|
+
/** Current value of the control, selected from one of the valid options available */
|
|
2025
|
+
value: string;
|
|
2026
|
+
/**
|
|
2027
|
+
* Function for determining the `displayValue` for a given `value`.
|
|
2028
|
+
* By default, it will show the `value` itself.
|
|
2029
|
+
*/
|
|
2030
|
+
displayWith: ((value: string) => string) | ((value: string) => Promise<string>);
|
|
2031
|
+
/** Debounce delay */
|
|
2032
|
+
debounceDelay: number;
|
|
2033
|
+
/** Show the option to clear input */
|
|
2034
|
+
clearable: boolean;
|
|
2035
|
+
/** Current value displayed by the control; this can be what the user is typing or the label of the selected option */
|
|
2036
|
+
private inputText;
|
|
2037
|
+
/** @internal Is the listbox open or not */
|
|
2038
|
+
private open;
|
|
2039
|
+
private selectedOption;
|
|
2040
|
+
private currentOption;
|
|
2041
|
+
/** @internal Is the component in focus or not */
|
|
2042
|
+
hasFocus: boolean;
|
|
2043
|
+
private input;
|
|
2044
|
+
private popup;
|
|
2045
|
+
connectedCallback(): void;
|
|
2046
|
+
/** Gets the associated form, if one exists. */
|
|
2047
|
+
getForm(): HTMLFormElement | null;
|
|
2048
|
+
/** Gets the validity state object.*/
|
|
2049
|
+
get validity(): ValidityState;
|
|
2050
|
+
/** Gets the validation message. */
|
|
2051
|
+
get validationMessage(): string;
|
|
2052
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
2053
|
+
checkValidity(): boolean;
|
|
2054
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
2055
|
+
reportValidity(): boolean;
|
|
2056
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
2057
|
+
setCustomValidity(_: string): void;
|
|
2058
|
+
/** @internal Gets an array of all <flow-ui-option> elements */
|
|
2059
|
+
private getAllOptions;
|
|
2060
|
+
/** @internal Gets the first <flow-ui-option> element */
|
|
2061
|
+
private getFirstOption;
|
|
2062
|
+
/**
|
|
2063
|
+
* @internal
|
|
2064
|
+
* Un-highlights currently highlighted option
|
|
2065
|
+
* and highlights the given option
|
|
2066
|
+
*/
|
|
2067
|
+
private setCurrentOption;
|
|
2068
|
+
/**
|
|
2069
|
+
* @internal
|
|
2070
|
+
* Unselects currently selected option
|
|
2071
|
+
* and selects the given option
|
|
2072
|
+
*/
|
|
2073
|
+
private setSelectedOption;
|
|
2074
|
+
/**
|
|
2075
|
+
* @internal
|
|
2076
|
+
* Sets the value of the control.
|
|
2077
|
+
* Should trigger {@link handleValueChange} when value is set.
|
|
2078
|
+
* By default, it will emit a `flow-ui-change` event.
|
|
2079
|
+
*
|
|
2080
|
+
* @param value - The value to set.
|
|
2081
|
+
* @param emitChangeEvent - A change event will be emitted if true.
|
|
2082
|
+
*/
|
|
2083
|
+
private setValue;
|
|
2084
|
+
/** @internal Updates the debounced input emitter if `{@link debounceDelay} is changed. */
|
|
2085
|
+
updateDebounceDelay(): void;
|
|
2086
|
+
/** @internal Handle the `flow-ui-input` event from the input box. */
|
|
2087
|
+
private handleInput;
|
|
2088
|
+
/** @internal Handle the `flow-ui-change` event from the input box */
|
|
2089
|
+
private handleInputChange;
|
|
2090
|
+
/** @internal Handle `flow-ui-focus` event from the input box. */
|
|
2091
|
+
private handleInputFocus;
|
|
2092
|
+
/** @internal Handle `flow-ui-focus` event from the input box. */
|
|
2093
|
+
private handleInputBlur;
|
|
2094
|
+
handleClearClick(event: MouseEvent): void;
|
|
2095
|
+
/** @internal Handle the `mousedown` event from the clear button */
|
|
2096
|
+
handleClearMouseDown(event: MouseEvent): void;
|
|
2097
|
+
/** @internal Handle option selection when an option is clicked on */
|
|
2098
|
+
private handleListboxClick;
|
|
2099
|
+
/** @internal Handle mouse and keyboard events in the document, outside the control. */
|
|
2100
|
+
private handleDocumentEvent;
|
|
2101
|
+
/** @internal */
|
|
2102
|
+
private handleKeyDown;
|
|
2103
|
+
/** @internal Add event listeners to the document when the dropdown is opened. */
|
|
2104
|
+
private addListenersForDropdown;
|
|
2105
|
+
/** @internal Remove event listeners from the document when the dropdown is closed. */
|
|
2106
|
+
private removeListenersForDropdown;
|
|
2107
|
+
/** @internal Handles changes in the default slot */
|
|
2108
|
+
private handleDefaultSlotChange;
|
|
2109
|
+
/** @internal Toggles listbox based on focus and options in the default slot. */
|
|
2110
|
+
toggleListbox(): void;
|
|
2111
|
+
/**
|
|
2112
|
+
* @internal
|
|
2113
|
+
* Syncs the {@link displayValue} by applying {@link displayWith} based on the current {@link value}.
|
|
2114
|
+
*/
|
|
2115
|
+
private syncDisplayValue;
|
|
2116
|
+
/** @internal */
|
|
2117
|
+
handleValueChange(oldValue: string, value: string): Promise<void>;
|
|
2118
|
+
/** Focuses on the control */
|
|
2119
|
+
focus(): void;
|
|
2120
|
+
/** Blurs from the control. */
|
|
2121
|
+
blur(): void;
|
|
2122
|
+
/** Shows the listbox. */
|
|
2123
|
+
show(): Promise<void>;
|
|
2124
|
+
/** Hides the listbox. */
|
|
2125
|
+
hide(): Promise<void>;
|
|
2126
|
+
/** Gets the current value of the text input */
|
|
2127
|
+
getInputText(): string;
|
|
2128
|
+
/** @internal */
|
|
2129
|
+
render(): lit_html.TemplateResult<1>;
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
declare global {
|
|
2133
|
+
interface HTMLElementTagNameMap {
|
|
2134
|
+
'flow-ui-autocomplete': FlowUiAutocomplete;
|
|
2135
|
+
}
|
|
2136
|
+
}
|
|
2137
|
+
|
|
1928
2138
|
/**
|
|
1929
2139
|
* @tagname flow-ui-avatar
|
|
1930
2140
|
* @summary Avatars are used to represent a person or object.
|
|
@@ -4411,12 +4621,6 @@ declare global {
|
|
|
4411
4621
|
}
|
|
4412
4622
|
}
|
|
4413
4623
|
|
|
4414
|
-
declare global {
|
|
4415
|
-
interface HTMLElementTagNameMap {
|
|
4416
|
-
'flow-ui-icon': FlowUiIcon;
|
|
4417
|
-
}
|
|
4418
|
-
}
|
|
4419
|
-
|
|
4420
4624
|
/**
|
|
4421
4625
|
* @tagname flow-ui-list-item
|
|
4422
4626
|
* @summary A list item.
|
|
@@ -6488,4 +6692,4 @@ declare global {
|
|
|
6488
6692
|
}
|
|
6489
6693
|
}
|
|
6490
6694
|
|
|
6491
|
-
export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, type FlowApplyEvent as FlowUiApplyEvent, FlowUiAvatar, FlowUiBadge, FlowUiBaseControl, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiBusyOverlay, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, FlowUiCheckboxGroup, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type FlowCollapseTreeEvent as FlowUiCollapseSplitViewEvent, FlowUiColorMapper, FlowUiColorPicker, FlowUiColorStop, FlowUiDateTimePicker, FlowUiDetails, FlowUiDialog, FlowUiDivider, type FlowDragDropEvent as FlowUiDragDrop, type FlowDragEndEvent as FlowUiDragEndEvent, type FlowDragEvent as FlowUiDragEvent, type FlowDragOverEvent as FlowUiDragOverEvent, type FlowDragStartEvent as FlowUiDragStartEvent, FlowUiDrawer, FlowUiDropdown, type FlowErrorEvent as FlowUiErrorEvent, type FlowExpandEvent as FlowUiExpandEvent, type FlowExpandTreeEvent as FlowUiExpandSplitViewEvent, type FlowFinishEvent as FlowUiFinishEvent, type FlowFocusEvent as FlowUiFocusEvent, FlowUiFormGroup, FlowUiGauge, type FlowHideEvent as FlowUiHideEvent, type FlowHoverEvent as FlowUiHoverEvent, FlowUiIcon, FlowUiIconButton, type FlowInitialFocusEvent as FlowUiInitialFocusEvent, FlowUiInput, type FlowInputEvent as FlowUiInputEvent, type FlowInvalidEvent as FlowUiInvalidEvent, type FlowLazyChangeEvent as FlowUiLazyChangeEvent, type FlowLazyLoadEvent as FlowUiLazyLoadEvent, FlowUiList, FlowUiListItem, type FlowLoadEvent as FlowUiLoadEvent, FlowUiMap, type FlowMapLoadEvent as FlowUiMapLoadEvent, FlowUiMenu, FlowUiMenuItem, FlowUiMenuLabel, type FlowMutationEvent as FlowUiMutationEvent, FlowUiMutationObserver, FlowUiOption, FlowUiPanel, FlowUiPanelHeader, type FlowPanelToggleEvent as FlowUiPanelToggleEvent, FlowUiPopup, FlowUiProgressBar, FlowUiProgressRing, FlowUiQueryBuilder, FlowUiRadio, FlowUiRadioGroup, FlowUiRange, type FlowRemoveEvent as FlowUiRemoveEvent, type FlowRepositionEvent as FlowUiRepositionEvent, type FlowRequestCloseEvent as FlowUiRequestCloseEvent, type FlowResizeEvent as FlowUiResizeEvent, FlowUiResizeObserver, FlowUiScrollView, FlowUiSelect, type FlowSelectEvent as FlowUiSelectEvent, type FlowShowEvent as FlowUiShowEvent, type FlowSlideChange as FlowUiSlideChange, FlowUiSplitView, FlowUiSplitViewDivider, FlowUiSplitViewPane, FlowUiSplitViewToggleButton, type FlowStartEvent as FlowUiStartEvent, FlowUiStepper, FlowUiStepperPanel, FlowUiSwitch, FlowUiTab, FlowUiTabGroup, type FlowTabHideEvent as FlowUiTabHideEvent, FlowUiTabPanel, type FlowTabShowEvent as FlowUiTabShowEvent, FlowUiTag, FlowUiTextarea, FlowUiTimer, FlowUiToolButton, FlowUiToolButtonGroup, FlowUiTooltip, FlowUiTree, FlowUiTreeItem, FlowUiVisuallyHidden, JavaScriptFilterError, type JavaScriptFilterFn, LocalizeController, type NumberColorMapperField, type NumberColorStopOptions, type SelectColorMapperField, type SelectColorStopOptions, type StringColorMapperField, type StringColorStopOptions, type Translation, addIcons, colorMapperValueToMaplibreExpression, countRuleSet, escapeMaplibreString, filterRuleSet, converter$2 as flowQueryConverter, getAnimationNames, getEasingNames, initialize, initializeChartJs, isRule, isRuleOrRuleset, isRuleSet, converter$1 as javascriptFilterConverter, converter as mapLayerFilterConverter, registerChartComponent, registerComponents, registerIconLibrary, registerTranslation, renameRuleSetFields, setDefaultLocale, setDefaultTimeZone, transformRuleSet, unregisterIconLibrary };
|
|
6695
|
+
export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, type FlowApplyEvent as FlowUiApplyEvent, FlowUiAutocomplete, FlowUiAvatar, FlowUiBadge, FlowUiBaseControl, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiBusyOverlay, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, FlowUiCheckboxGroup, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type FlowCollapseTreeEvent as FlowUiCollapseSplitViewEvent, FlowUiColorMapper, FlowUiColorPicker, FlowUiColorStop, FlowUiDateTimePicker, FlowUiDetails, FlowUiDialog, FlowUiDivider, type FlowDragDropEvent as FlowUiDragDrop, type FlowDragEndEvent as FlowUiDragEndEvent, type FlowDragEvent as FlowUiDragEvent, type FlowDragOverEvent as FlowUiDragOverEvent, type FlowDragStartEvent as FlowUiDragStartEvent, FlowUiDrawer, FlowUiDropdown, type FlowErrorEvent as FlowUiErrorEvent, type FlowExpandEvent as FlowUiExpandEvent, type FlowExpandTreeEvent as FlowUiExpandSplitViewEvent, type FlowFinishEvent as FlowUiFinishEvent, type FlowFocusEvent as FlowUiFocusEvent, FlowUiFormGroup, FlowUiGauge, type FlowHideEvent as FlowUiHideEvent, type FlowHoverEvent as FlowUiHoverEvent, FlowUiIcon, FlowUiIconButton, type FlowInitialFocusEvent as FlowUiInitialFocusEvent, FlowUiInput, type FlowInputEvent as FlowUiInputEvent, type FlowInvalidEvent as FlowUiInvalidEvent, type FlowLazyChangeEvent as FlowUiLazyChangeEvent, type FlowLazyLoadEvent as FlowUiLazyLoadEvent, FlowUiList, FlowUiListItem, type FlowLoadEvent as FlowUiLoadEvent, FlowUiMap, type FlowMapLoadEvent as FlowUiMapLoadEvent, FlowUiMenu, FlowUiMenuItem, FlowUiMenuLabel, type FlowMutationEvent as FlowUiMutationEvent, FlowUiMutationObserver, FlowUiOption, FlowUiPanel, FlowUiPanelHeader, type FlowPanelToggleEvent as FlowUiPanelToggleEvent, FlowUiPopup, FlowUiProgressBar, FlowUiProgressRing, FlowUiQueryBuilder, FlowUiRadio, FlowUiRadioGroup, FlowUiRange, type FlowRemoveEvent as FlowUiRemoveEvent, type FlowRepositionEvent as FlowUiRepositionEvent, type FlowRequestCloseEvent as FlowUiRequestCloseEvent, type FlowResizeEvent as FlowUiResizeEvent, FlowUiResizeObserver, FlowUiScrollView, FlowUiSelect, type FlowSelectEvent as FlowUiSelectEvent, type FlowShowEvent as FlowUiShowEvent, type FlowSlideChange as FlowUiSlideChange, FlowUiSplitView, FlowUiSplitViewDivider, FlowUiSplitViewPane, FlowUiSplitViewToggleButton, type FlowStartEvent as FlowUiStartEvent, FlowUiStepper, FlowUiStepperPanel, FlowUiSwitch, FlowUiTab, FlowUiTabGroup, type FlowTabHideEvent as FlowUiTabHideEvent, FlowUiTabPanel, type FlowTabShowEvent as FlowUiTabShowEvent, FlowUiTag, FlowUiTextarea, FlowUiTimer, FlowUiToolButton, FlowUiToolButtonGroup, FlowUiTooltip, FlowUiTree, FlowUiTreeItem, FlowUiVisuallyHidden, JavaScriptFilterError, type JavaScriptFilterFn, LocalizeController, type NumberColorMapperField, type NumberColorStopOptions, type SelectColorMapperField, type SelectColorStopOptions, type StringColorMapperField, type StringColorStopOptions, type Translation, addIcons, colorMapperValueToMaplibreExpression, countRuleSet, escapeMaplibreString, filterRuleSet, converter$2 as flowQueryConverter, getAnimationNames, getEasingNames, initialize, initializeChartJs, isRule, isRuleOrRuleset, isRuleSet, converter$1 as javascriptFilterConverter, converter as mapLayerFilterConverter, registerChartComponent, registerComponents, registerIconLibrary, registerTranslation, renameRuleSetFields, setDefaultLocale, setDefaultTimeZone, transformRuleSet, unregisterIconLibrary };
|
package/dist/index.d.ts
CHANGED
|
@@ -1925,6 +1925,216 @@ declare global {
|
|
|
1925
1925
|
}
|
|
1926
1926
|
}
|
|
1927
1927
|
|
|
1928
|
+
declare global {
|
|
1929
|
+
interface HTMLElementTagNameMap {
|
|
1930
|
+
'flow-ui-icon': FlowUiIcon;
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
/**
|
|
1935
|
+
* @tagname flow-ui-autocomplete
|
|
1936
|
+
* @summary The Autocomplete is a Text input enhanced by a panel of suggested options.
|
|
1937
|
+
*
|
|
1938
|
+
* @dependency flow-ui-popup
|
|
1939
|
+
* @dependency flow-ui-icon
|
|
1940
|
+
*
|
|
1941
|
+
* @slot - The listbox options. Must be `<flow-option>` elements. You can use `<flow-divider>` to group items visually.
|
|
1942
|
+
* @slot label - The input's label. Alternatively, you can use the `label` attribute.
|
|
1943
|
+
* @slot prefix - Used to prepend a presentational icon or similar element to the combobox.
|
|
1944
|
+
* @slot suffix - Used to append a presentational icon or similar element to the combobox.
|
|
1945
|
+
* @slot clear-icon - An icon to use in lieu of the default clear icon.
|
|
1946
|
+
* @slot help-text - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.
|
|
1947
|
+
*
|
|
1948
|
+
* @event flow-ui-input - Emitted when the display value changes.
|
|
1949
|
+
* @event flow-ui-change - Emitted when the input value changes.
|
|
1950
|
+
* @event flow-ui-focus - Emitted when the input is focused.
|
|
1951
|
+
* @event flow-ui-blur - Emitted when the input is blurred.
|
|
1952
|
+
* @event flow-ui-show - Emitted when the dropdown is shown.
|
|
1953
|
+
* @event flow-ui-after-show - Emitted when the dropdown is shown.
|
|
1954
|
+
* @event flow-ui-hide - Emitted when the dropdown is hidden.
|
|
1955
|
+
* @event flow-ui-after-hide - Emitted when the dropdown is hidden.
|
|
1956
|
+
* @event flow-ui-invalid - Emitted when the input is invalid.
|
|
1957
|
+
* @event flow-ui-valid - Emitted when the input is valid.
|
|
1958
|
+
* @event flow-ui-validate - Emitted when the input is validated.
|
|
1959
|
+
* @event flow-ui-validate-complete - Emitted when the input is validated and the validity state is updated.
|
|
1960
|
+
* @event flow-ui-validate-error - Emitted when the input is validated and an error occurs.
|
|
1961
|
+
* @event flow-ui-validate-success - Emitted when the input is validated and no errors occur.
|
|
1962
|
+
*
|
|
1963
|
+
* @csspart form-control - The form control that wraps the label, input, and help text.
|
|
1964
|
+
* @csspart form-control-label - The label's wrapper.
|
|
1965
|
+
* @csspart form-control-input - The select's wrapper.
|
|
1966
|
+
* @csspart form-control-help-text - The help text's wrapper.
|
|
1967
|
+
* @csspart combobox - The container the wraps the prefix, suffix, combobox, clear icon, and expand button.
|
|
1968
|
+
* @csspart prefix - The container that wraps the prefix slot.
|
|
1969
|
+
* @csspart suffix - The container that wraps the suffix slot.
|
|
1970
|
+
* @csspart display-input - The element that displays the selected option's label, an `<input>` element.
|
|
1971
|
+
* @csspart listbox - The listbox container where options are slotted.
|
|
1972
|
+
* @csspart clear-button - The clear button.
|
|
1973
|
+
*/
|
|
1974
|
+
declare class FlowUiAutocomplete extends FlowRdfFormControl {
|
|
1975
|
+
static styles: CSSResultGroup;
|
|
1976
|
+
static dependencies: {
|
|
1977
|
+
'flow-ui-popup': typeof FlowUiPopup;
|
|
1978
|
+
'flow-ui-icon': typeof FlowUiIcon;
|
|
1979
|
+
};
|
|
1980
|
+
private readonly hasSlotController;
|
|
1981
|
+
private readonly localize;
|
|
1982
|
+
/** @internal Last time when the mousedown event was fired */
|
|
1983
|
+
private mouseDownAt;
|
|
1984
|
+
private debouncedInput;
|
|
1985
|
+
private pendingChangeEvent;
|
|
1986
|
+
private pendingInputEvent;
|
|
1987
|
+
private hasOptions;
|
|
1988
|
+
private readonly formControlController;
|
|
1989
|
+
/** The autocomplete's size */
|
|
1990
|
+
size: 'small' | 'medium' | 'large';
|
|
1991
|
+
/** Draws a filled autocomplete input */
|
|
1992
|
+
filled: boolean;
|
|
1993
|
+
/** Draws a pill-style autocomplete input with rounded edges */
|
|
1994
|
+
pill: boolean;
|
|
1995
|
+
/** The autocomplete input's label. If you need to display HTML, use the `help-text` slot instead */
|
|
1996
|
+
label: string;
|
|
1997
|
+
/** The autocomplete input's help text. If you need to display HTML, use the `help-text` slot instead */
|
|
1998
|
+
helpText: string;
|
|
1999
|
+
/** The autocomplete input's placeholder text */
|
|
2000
|
+
placeholder: string;
|
|
2001
|
+
/** Disables the autocomplete */
|
|
2002
|
+
disabled: boolean;
|
|
2003
|
+
/**
|
|
2004
|
+
* The "form owner" to associate the button with. If omitted, the closest containing form will be used instead. The
|
|
2005
|
+
* value of this attribute must be an id of a form in the same document or shadow root as the button.
|
|
2006
|
+
*/
|
|
2007
|
+
form: string;
|
|
2008
|
+
/** Makes the autocomplete a required field */
|
|
2009
|
+
required: boolean;
|
|
2010
|
+
/** Display the autocomplete in the 'inline' form control style */
|
|
2011
|
+
inline: boolean;
|
|
2012
|
+
/** Indicates that the control should display a divider */
|
|
2013
|
+
divider: boolean;
|
|
2014
|
+
/**
|
|
2015
|
+
* Enable this option to prevent the listbox from being clipped when the component is placed inside a container with
|
|
2016
|
+
* `overflow: auto|scroll`. Hoisting uses a fixed positioning strategy that works in many, but not all, scenarios.
|
|
2017
|
+
*/
|
|
2018
|
+
hoist: boolean;
|
|
2019
|
+
/**
|
|
2020
|
+
* The preferred placement of the autocomplete's menu. Note that the actual placement may vary as needed to keep the listbox
|
|
2021
|
+
* inside of the viewport.
|
|
2022
|
+
*/
|
|
2023
|
+
placement: 'top' | 'bottom';
|
|
2024
|
+
/** Current value of the control, selected from one of the valid options available */
|
|
2025
|
+
value: string;
|
|
2026
|
+
/**
|
|
2027
|
+
* Function for determining the `displayValue` for a given `value`.
|
|
2028
|
+
* By default, it will show the `value` itself.
|
|
2029
|
+
*/
|
|
2030
|
+
displayWith: ((value: string) => string) | ((value: string) => Promise<string>);
|
|
2031
|
+
/** Debounce delay */
|
|
2032
|
+
debounceDelay: number;
|
|
2033
|
+
/** Show the option to clear input */
|
|
2034
|
+
clearable: boolean;
|
|
2035
|
+
/** Current value displayed by the control; this can be what the user is typing or the label of the selected option */
|
|
2036
|
+
private inputText;
|
|
2037
|
+
/** @internal Is the listbox open or not */
|
|
2038
|
+
private open;
|
|
2039
|
+
private selectedOption;
|
|
2040
|
+
private currentOption;
|
|
2041
|
+
/** @internal Is the component in focus or not */
|
|
2042
|
+
hasFocus: boolean;
|
|
2043
|
+
private input;
|
|
2044
|
+
private popup;
|
|
2045
|
+
connectedCallback(): void;
|
|
2046
|
+
/** Gets the associated form, if one exists. */
|
|
2047
|
+
getForm(): HTMLFormElement | null;
|
|
2048
|
+
/** Gets the validity state object.*/
|
|
2049
|
+
get validity(): ValidityState;
|
|
2050
|
+
/** Gets the validation message. */
|
|
2051
|
+
get validationMessage(): string;
|
|
2052
|
+
/** Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid. */
|
|
2053
|
+
checkValidity(): boolean;
|
|
2054
|
+
/** Checks for validity and shows the browser's validation message if the control is invalid. */
|
|
2055
|
+
reportValidity(): boolean;
|
|
2056
|
+
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
2057
|
+
setCustomValidity(_: string): void;
|
|
2058
|
+
/** @internal Gets an array of all <flow-ui-option> elements */
|
|
2059
|
+
private getAllOptions;
|
|
2060
|
+
/** @internal Gets the first <flow-ui-option> element */
|
|
2061
|
+
private getFirstOption;
|
|
2062
|
+
/**
|
|
2063
|
+
* @internal
|
|
2064
|
+
* Un-highlights currently highlighted option
|
|
2065
|
+
* and highlights the given option
|
|
2066
|
+
*/
|
|
2067
|
+
private setCurrentOption;
|
|
2068
|
+
/**
|
|
2069
|
+
* @internal
|
|
2070
|
+
* Unselects currently selected option
|
|
2071
|
+
* and selects the given option
|
|
2072
|
+
*/
|
|
2073
|
+
private setSelectedOption;
|
|
2074
|
+
/**
|
|
2075
|
+
* @internal
|
|
2076
|
+
* Sets the value of the control.
|
|
2077
|
+
* Should trigger {@link handleValueChange} when value is set.
|
|
2078
|
+
* By default, it will emit a `flow-ui-change` event.
|
|
2079
|
+
*
|
|
2080
|
+
* @param value - The value to set.
|
|
2081
|
+
* @param emitChangeEvent - A change event will be emitted if true.
|
|
2082
|
+
*/
|
|
2083
|
+
private setValue;
|
|
2084
|
+
/** @internal Updates the debounced input emitter if `{@link debounceDelay} is changed. */
|
|
2085
|
+
updateDebounceDelay(): void;
|
|
2086
|
+
/** @internal Handle the `flow-ui-input` event from the input box. */
|
|
2087
|
+
private handleInput;
|
|
2088
|
+
/** @internal Handle the `flow-ui-change` event from the input box */
|
|
2089
|
+
private handleInputChange;
|
|
2090
|
+
/** @internal Handle `flow-ui-focus` event from the input box. */
|
|
2091
|
+
private handleInputFocus;
|
|
2092
|
+
/** @internal Handle `flow-ui-focus` event from the input box. */
|
|
2093
|
+
private handleInputBlur;
|
|
2094
|
+
handleClearClick(event: MouseEvent): void;
|
|
2095
|
+
/** @internal Handle the `mousedown` event from the clear button */
|
|
2096
|
+
handleClearMouseDown(event: MouseEvent): void;
|
|
2097
|
+
/** @internal Handle option selection when an option is clicked on */
|
|
2098
|
+
private handleListboxClick;
|
|
2099
|
+
/** @internal Handle mouse and keyboard events in the document, outside the control. */
|
|
2100
|
+
private handleDocumentEvent;
|
|
2101
|
+
/** @internal */
|
|
2102
|
+
private handleKeyDown;
|
|
2103
|
+
/** @internal Add event listeners to the document when the dropdown is opened. */
|
|
2104
|
+
private addListenersForDropdown;
|
|
2105
|
+
/** @internal Remove event listeners from the document when the dropdown is closed. */
|
|
2106
|
+
private removeListenersForDropdown;
|
|
2107
|
+
/** @internal Handles changes in the default slot */
|
|
2108
|
+
private handleDefaultSlotChange;
|
|
2109
|
+
/** @internal Toggles listbox based on focus and options in the default slot. */
|
|
2110
|
+
toggleListbox(): void;
|
|
2111
|
+
/**
|
|
2112
|
+
* @internal
|
|
2113
|
+
* Syncs the {@link displayValue} by applying {@link displayWith} based on the current {@link value}.
|
|
2114
|
+
*/
|
|
2115
|
+
private syncDisplayValue;
|
|
2116
|
+
/** @internal */
|
|
2117
|
+
handleValueChange(oldValue: string, value: string): Promise<void>;
|
|
2118
|
+
/** Focuses on the control */
|
|
2119
|
+
focus(): void;
|
|
2120
|
+
/** Blurs from the control. */
|
|
2121
|
+
blur(): void;
|
|
2122
|
+
/** Shows the listbox. */
|
|
2123
|
+
show(): Promise<void>;
|
|
2124
|
+
/** Hides the listbox. */
|
|
2125
|
+
hide(): Promise<void>;
|
|
2126
|
+
/** Gets the current value of the text input */
|
|
2127
|
+
getInputText(): string;
|
|
2128
|
+
/** @internal */
|
|
2129
|
+
render(): lit_html.TemplateResult<1>;
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
declare global {
|
|
2133
|
+
interface HTMLElementTagNameMap {
|
|
2134
|
+
'flow-ui-autocomplete': FlowUiAutocomplete;
|
|
2135
|
+
}
|
|
2136
|
+
}
|
|
2137
|
+
|
|
1928
2138
|
/**
|
|
1929
2139
|
* @tagname flow-ui-avatar
|
|
1930
2140
|
* @summary Avatars are used to represent a person or object.
|
|
@@ -4411,12 +4621,6 @@ declare global {
|
|
|
4411
4621
|
}
|
|
4412
4622
|
}
|
|
4413
4623
|
|
|
4414
|
-
declare global {
|
|
4415
|
-
interface HTMLElementTagNameMap {
|
|
4416
|
-
'flow-ui-icon': FlowUiIcon;
|
|
4417
|
-
}
|
|
4418
|
-
}
|
|
4419
|
-
|
|
4420
4624
|
/**
|
|
4421
4625
|
* @tagname flow-ui-list-item
|
|
4422
4626
|
* @summary A list item.
|
|
@@ -6488,4 +6692,4 @@ declare global {
|
|
|
6488
6692
|
}
|
|
6489
6693
|
}
|
|
6490
6694
|
|
|
6491
|
-
export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, type FlowApplyEvent as FlowUiApplyEvent, FlowUiAvatar, FlowUiBadge, FlowUiBaseControl, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiBusyOverlay, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, FlowUiCheckboxGroup, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type FlowCollapseTreeEvent as FlowUiCollapseSplitViewEvent, FlowUiColorMapper, FlowUiColorPicker, FlowUiColorStop, FlowUiDateTimePicker, FlowUiDetails, FlowUiDialog, FlowUiDivider, type FlowDragDropEvent as FlowUiDragDrop, type FlowDragEndEvent as FlowUiDragEndEvent, type FlowDragEvent as FlowUiDragEvent, type FlowDragOverEvent as FlowUiDragOverEvent, type FlowDragStartEvent as FlowUiDragStartEvent, FlowUiDrawer, FlowUiDropdown, type FlowErrorEvent as FlowUiErrorEvent, type FlowExpandEvent as FlowUiExpandEvent, type FlowExpandTreeEvent as FlowUiExpandSplitViewEvent, type FlowFinishEvent as FlowUiFinishEvent, type FlowFocusEvent as FlowUiFocusEvent, FlowUiFormGroup, FlowUiGauge, type FlowHideEvent as FlowUiHideEvent, type FlowHoverEvent as FlowUiHoverEvent, FlowUiIcon, FlowUiIconButton, type FlowInitialFocusEvent as FlowUiInitialFocusEvent, FlowUiInput, type FlowInputEvent as FlowUiInputEvent, type FlowInvalidEvent as FlowUiInvalidEvent, type FlowLazyChangeEvent as FlowUiLazyChangeEvent, type FlowLazyLoadEvent as FlowUiLazyLoadEvent, FlowUiList, FlowUiListItem, type FlowLoadEvent as FlowUiLoadEvent, FlowUiMap, type FlowMapLoadEvent as FlowUiMapLoadEvent, FlowUiMenu, FlowUiMenuItem, FlowUiMenuLabel, type FlowMutationEvent as FlowUiMutationEvent, FlowUiMutationObserver, FlowUiOption, FlowUiPanel, FlowUiPanelHeader, type FlowPanelToggleEvent as FlowUiPanelToggleEvent, FlowUiPopup, FlowUiProgressBar, FlowUiProgressRing, FlowUiQueryBuilder, FlowUiRadio, FlowUiRadioGroup, FlowUiRange, type FlowRemoveEvent as FlowUiRemoveEvent, type FlowRepositionEvent as FlowUiRepositionEvent, type FlowRequestCloseEvent as FlowUiRequestCloseEvent, type FlowResizeEvent as FlowUiResizeEvent, FlowUiResizeObserver, FlowUiScrollView, FlowUiSelect, type FlowSelectEvent as FlowUiSelectEvent, type FlowShowEvent as FlowUiShowEvent, type FlowSlideChange as FlowUiSlideChange, FlowUiSplitView, FlowUiSplitViewDivider, FlowUiSplitViewPane, FlowUiSplitViewToggleButton, type FlowStartEvent as FlowUiStartEvent, FlowUiStepper, FlowUiStepperPanel, FlowUiSwitch, FlowUiTab, FlowUiTabGroup, type FlowTabHideEvent as FlowUiTabHideEvent, FlowUiTabPanel, type FlowTabShowEvent as FlowUiTabShowEvent, FlowUiTag, FlowUiTextarea, FlowUiTimer, FlowUiToolButton, FlowUiToolButtonGroup, FlowUiTooltip, FlowUiTree, FlowUiTreeItem, FlowUiVisuallyHidden, JavaScriptFilterError, type JavaScriptFilterFn, LocalizeController, type NumberColorMapperField, type NumberColorStopOptions, type SelectColorMapperField, type SelectColorStopOptions, type StringColorMapperField, type StringColorStopOptions, type Translation, addIcons, colorMapperValueToMaplibreExpression, countRuleSet, escapeMaplibreString, filterRuleSet, converter$2 as flowQueryConverter, getAnimationNames, getEasingNames, initialize, initializeChartJs, isRule, isRuleOrRuleset, isRuleSet, converter$1 as javascriptFilterConverter, converter as mapLayerFilterConverter, registerChartComponent, registerComponents, registerIconLibrary, registerTranslation, renameRuleSetFields, setDefaultLocale, setDefaultTimeZone, transformRuleSet, unregisterIconLibrary };
|
|
6695
|
+
export { type BaseColorMapperField, type BaseColorStopOptions, type ColorMapperField, type ColorMapperOptions, type ColorMapperValue, type ColorStopOptions, type ColorStopValue, type FlowQueryBuilderConfig, type FlowQueryBuilderConverter, type FlowQueryBuilderConverterOptions, type FlowQueryBuilderDateField, type FlowQueryBuilderDateTimeField, type FlowQueryBuilderDateTimeFieldBase, type FlowQueryBuilderField, type FlowQueryBuilderFieldBase, type FlowQueryBuilderFieldDefinition, type FlowQueryBuilderFieldMap, type FlowQueryBuilderFieldType, type FlowQueryBuilderFieldTypeMap, type FlowQueryBuilderNumberField, type FlowQueryBuilderOption, type FlowQueryBuilderRule, type FlowQueryBuilderRuleSet, type FlowQueryBuilderSelectField, type FlowQueryBuilderStringField, type FlowQueryBuilderTemplateFn, type FlowQueryBuilderTimeField, type FlowAfterCollapseEvent as FlowUiAfterCollapseEvent, type FlowAfterExpandEvent as FlowUiAfterExpandEvent, type FlowAfterHideEvent as FlowUiAfterHideEvent, type FlowAfterShowEvent as FlowUiAfterShowEvent, FlowUiAlert, FlowUiAnimation, type FlowApplyEvent as FlowUiApplyEvent, FlowUiAutocomplete, FlowUiAvatar, FlowUiBadge, FlowUiBaseControl, type FlowBlurEvent as FlowUiBlurEvent, FlowUiBreadcrumb, FlowUiBreadcrumbItem, FlowUiBusyOverlay, FlowUiButton, FlowUiButtonGroup, FlowUiCalendar, type FlowCancelEvent as FlowUiCancelEvent, FlowUiCard, FlowUiCarousel, FlowUiCarouselItem, type FlowChangeEvent as FlowUiChangeEvent, FlowUiChart, FlowUiCheckbox, FlowUiCheckboxGroup, type FlowClearEvent as FlowUiClearEvent, type FlowCloseEvent as FlowUiCloseEvent, type FlowCollapseEvent as FlowUiCollapseEvent, type FlowCollapseTreeEvent as FlowUiCollapseSplitViewEvent, FlowUiColorMapper, FlowUiColorPicker, FlowUiColorStop, FlowUiDateTimePicker, FlowUiDetails, FlowUiDialog, FlowUiDivider, type FlowDragDropEvent as FlowUiDragDrop, type FlowDragEndEvent as FlowUiDragEndEvent, type FlowDragEvent as FlowUiDragEvent, type FlowDragOverEvent as FlowUiDragOverEvent, type FlowDragStartEvent as FlowUiDragStartEvent, FlowUiDrawer, FlowUiDropdown, type FlowErrorEvent as FlowUiErrorEvent, type FlowExpandEvent as FlowUiExpandEvent, type FlowExpandTreeEvent as FlowUiExpandSplitViewEvent, type FlowFinishEvent as FlowUiFinishEvent, type FlowFocusEvent as FlowUiFocusEvent, FlowUiFormGroup, FlowUiGauge, type FlowHideEvent as FlowUiHideEvent, type FlowHoverEvent as FlowUiHoverEvent, FlowUiIcon, FlowUiIconButton, type FlowInitialFocusEvent as FlowUiInitialFocusEvent, FlowUiInput, type FlowInputEvent as FlowUiInputEvent, type FlowInvalidEvent as FlowUiInvalidEvent, type FlowLazyChangeEvent as FlowUiLazyChangeEvent, type FlowLazyLoadEvent as FlowUiLazyLoadEvent, FlowUiList, FlowUiListItem, type FlowLoadEvent as FlowUiLoadEvent, FlowUiMap, type FlowMapLoadEvent as FlowUiMapLoadEvent, FlowUiMenu, FlowUiMenuItem, FlowUiMenuLabel, type FlowMutationEvent as FlowUiMutationEvent, FlowUiMutationObserver, FlowUiOption, FlowUiPanel, FlowUiPanelHeader, type FlowPanelToggleEvent as FlowUiPanelToggleEvent, FlowUiPopup, FlowUiProgressBar, FlowUiProgressRing, FlowUiQueryBuilder, FlowUiRadio, FlowUiRadioGroup, FlowUiRange, type FlowRemoveEvent as FlowUiRemoveEvent, type FlowRepositionEvent as FlowUiRepositionEvent, type FlowRequestCloseEvent as FlowUiRequestCloseEvent, type FlowResizeEvent as FlowUiResizeEvent, FlowUiResizeObserver, FlowUiScrollView, FlowUiSelect, type FlowSelectEvent as FlowUiSelectEvent, type FlowShowEvent as FlowUiShowEvent, type FlowSlideChange as FlowUiSlideChange, FlowUiSplitView, FlowUiSplitViewDivider, FlowUiSplitViewPane, FlowUiSplitViewToggleButton, type FlowStartEvent as FlowUiStartEvent, FlowUiStepper, FlowUiStepperPanel, FlowUiSwitch, FlowUiTab, FlowUiTabGroup, type FlowTabHideEvent as FlowUiTabHideEvent, FlowUiTabPanel, type FlowTabShowEvent as FlowUiTabShowEvent, FlowUiTag, FlowUiTextarea, FlowUiTimer, FlowUiToolButton, FlowUiToolButtonGroup, FlowUiTooltip, FlowUiTree, FlowUiTreeItem, FlowUiVisuallyHidden, JavaScriptFilterError, type JavaScriptFilterFn, LocalizeController, type NumberColorMapperField, type NumberColorStopOptions, type SelectColorMapperField, type SelectColorStopOptions, type StringColorMapperField, type StringColorStopOptions, type Translation, addIcons, colorMapperValueToMaplibreExpression, countRuleSet, escapeMaplibreString, filterRuleSet, converter$2 as flowQueryConverter, getAnimationNames, getEasingNames, initialize, initializeChartJs, isRule, isRuleOrRuleset, isRuleSet, converter$1 as javascriptFilterConverter, converter as mapLayerFilterConverter, registerChartComponent, registerComponents, registerIconLibrary, registerTranslation, renameRuleSetFields, setDefaultLocale, setDefaultTimeZone, transformRuleSet, unregisterIconLibrary };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { initialize } from './public-api.mjs';
|
|
2
2
|
export { default as FlowUiAlert } from './components/alert/alert.component.mjs';
|
|
3
3
|
export { default as FlowUiAnimation } from './components/animation/animation.component.mjs';
|
|
4
|
+
export { default as FlowUiAutocomplete } from './components/autocomplete/autocomplete.component.mjs';
|
|
4
5
|
export { default as FlowUiAvatar } from './components/avatar/avatar.component.mjs';
|
|
5
6
|
export { default as FlowUiBadge } from './components/badge/badge.component.mjs';
|
|
6
7
|
export { default as FlowUiBaseControl } from './components/base-control/base-control.component.mjs';
|
package/dist/package.json.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import FlowUiAlert from '../components/alert/alert.component.mjs';
|
|
2
2
|
import FlowUiAnimation from '../components/animation/animation.component.mjs';
|
|
3
|
+
import FlowUiAutocomplete from '../components/autocomplete/autocomplete.component.mjs';
|
|
3
4
|
import FlowUiAvatar from '../components/avatar/avatar.component.mjs';
|
|
4
5
|
import FlowUiBadge from '../components/badge/badge.component.mjs';
|
|
5
6
|
import FlowUiBaseControl from '../components/base-control/base-control.component.mjs';
|
|
@@ -72,6 +73,7 @@ import FlowUiVisuallyHidden from '../components/visually-hidden/visually-hidden.
|
|
|
72
73
|
async function registerComponents() {
|
|
73
74
|
FlowUiAlert.define("flow-ui-alert");
|
|
74
75
|
FlowUiAnimation.define("flow-ui-animation");
|
|
76
|
+
FlowUiAutocomplete.define("flow-ui-autocomplete");
|
|
75
77
|
FlowUiAvatar.define("flow-ui-avatar");
|
|
76
78
|
FlowUiBadge.define("flow-ui-badge");
|
|
77
79
|
FlowUiBaseControl.define("flow-ui-base-control");
|