@ascentgl/ads-ui 22.15.0 → 22.17.0
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/package.json
CHANGED
|
@@ -1619,6 +1619,16 @@ declare class AdsSearchDropdownComponent extends AbstractDropdownComponent imple
|
|
|
1619
1619
|
showSearchIcon: boolean;
|
|
1620
1620
|
/** If "false", will not auto-select single option on blur. Default is true */
|
|
1621
1621
|
autoSelectSingleOption: boolean;
|
|
1622
|
+
/**
|
|
1623
|
+
* If "false", blurring the field never adopts an option merely because the
|
|
1624
|
+
* typed text equals its label — the field clears, and only an explicit pick
|
|
1625
|
+
* sets a value. Default is true.
|
|
1626
|
+
*
|
|
1627
|
+
* Turn it off where several options can carry the same label, or where the
|
|
1628
|
+
* text the user typed is the very thing that makes the choice ambiguous.
|
|
1629
|
+
* Adopting the first of those matches is a guess dressed up as a selection.
|
|
1630
|
+
*/
|
|
1631
|
+
selectExactMatchOnBlur: boolean;
|
|
1622
1632
|
/** Provide callback that will vbe executed when user clicks on magnifying glass icon */
|
|
1623
1633
|
displayValueFormatter: ((value: string, option: DropdownComponentOption) => string | SafeHtml) | undefined;
|
|
1624
1634
|
/** If "true", will read option template provided via "ng-template dropdown-option" selector */
|
|
@@ -1728,10 +1738,14 @@ declare class AdsSearchDropdownComponent extends AbstractDropdownComponent imple
|
|
|
1728
1738
|
get canUsePrependOption(): boolean;
|
|
1729
1739
|
/**
|
|
1730
1740
|
* @ignore
|
|
1731
|
-
*
|
|
1732
|
-
*
|
|
1733
|
-
*
|
|
1734
|
-
*
|
|
1741
|
+
* Kept through a reload, like the prepend slot above it. The options a search
|
|
1742
|
+
* is replacing stay on screen while it runs, so dropping the bar underneath
|
|
1743
|
+
* them resizes the panel out from under the pointer every time a character is
|
|
1744
|
+
* deleted — worse than a count that is a moment out of date.
|
|
1745
|
+
*
|
|
1746
|
+
* Deliberately not gated on there being options either: a footer reporting
|
|
1747
|
+
* that nothing was found is a valid use, and the caller decides by passing
|
|
1748
|
+
* the option or not.
|
|
1735
1749
|
*/
|
|
1736
1750
|
get canUseFooterOption(): boolean;
|
|
1737
1751
|
/**
|
|
@@ -1847,7 +1861,7 @@ declare class AdsSearchDropdownComponent extends AbstractDropdownComponent imple
|
|
|
1847
1861
|
private autoResizeTextarea;
|
|
1848
1862
|
private setupIntersectionObserver;
|
|
1849
1863
|
static ɵfac: i0.ɵɵFactoryDeclaration<AdsSearchDropdownComponent, never>;
|
|
1850
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AdsSearchDropdownComponent, "ads-search-dropdown", never, { "externalButton": { "alias": "externalButton"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "options": { "alias": "options"; "required": false; }; "staticOptions": { "alias": "staticOptions"; "required": false; }; "filterOptions": { "alias": "filterOptions"; "required": false; }; "emitEmptyValues": { "alias": "emitEmptyValues"; "required": false; }; "loadSuggestionOnInit": { "alias": "loadSuggestionOnInit"; "required": false; }; "noDataOption": { "alias": "noDataOption"; "required": false; }; "showNoDataOption": { "alias": "showNoDataOption"; "required": false; }; "moreDataOption": { "alias": "moreDataOption"; "required": false; }; "staticDataOption": { "alias": "staticDataOption"; "required": false; }; "prependOption": { "alias": "prependOption"; "required": false; }; "showPrependOption": { "alias": "showPrependOption"; "required": false; }; "stickyPrependOption": { "alias": "stickyPrependOption"; "required": false; }; "footerOption": { "alias": "footerOption"; "required": false; }; "onEnterKeyDown": { "alias": "onEnterKeyDown"; "required": false; }; "searchIconClickCallback": { "alias": "searchIconClickCallback"; "required": false; }; "showSearchIcon": { "alias": "showSearchIcon"; "required": false; }; "autoSelectSingleOption": { "alias": "autoSelectSingleOption"; "required": false; }; "displayValueFormatter": { "alias": "displayValueFormatter"; "required": false; }; "useOptionTemplate": { "alias": "useOptionTemplate"; "required": false; }; "minValueLength": { "alias": "minValueLength"; "required": false; }; "preventClick": { "alias": "preventClick"; "required": false; }; "closePanelEnabled": { "alias": "closePanelEnabled"; "required": false; }; "trimValue": { "alias": "trimValue"; "required": false; }; "closeOnOutOfView": { "alias": "closeOnOutOfView"; "required": false; }; "outOfViewRootMargin": { "alias": "outOfViewRootMargin"; "required": false; }; "control": { "alias": "control"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "externalButtonClick": "externalButtonClick"; "focusInput": "focusInput"; "blurInput": "blurInput"; "emitSearchValueInput": "emitSearchValueInput"; }, ["optionRef"], never, true, never>;
|
|
1864
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AdsSearchDropdownComponent, "ads-search-dropdown", never, { "externalButton": { "alias": "externalButton"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; }; "panelClass": { "alias": "panelClass"; "required": false; }; "options": { "alias": "options"; "required": false; }; "staticOptions": { "alias": "staticOptions"; "required": false; }; "filterOptions": { "alias": "filterOptions"; "required": false; }; "emitEmptyValues": { "alias": "emitEmptyValues"; "required": false; }; "loadSuggestionOnInit": { "alias": "loadSuggestionOnInit"; "required": false; }; "noDataOption": { "alias": "noDataOption"; "required": false; }; "showNoDataOption": { "alias": "showNoDataOption"; "required": false; }; "moreDataOption": { "alias": "moreDataOption"; "required": false; }; "staticDataOption": { "alias": "staticDataOption"; "required": false; }; "prependOption": { "alias": "prependOption"; "required": false; }; "showPrependOption": { "alias": "showPrependOption"; "required": false; }; "stickyPrependOption": { "alias": "stickyPrependOption"; "required": false; }; "footerOption": { "alias": "footerOption"; "required": false; }; "onEnterKeyDown": { "alias": "onEnterKeyDown"; "required": false; }; "searchIconClickCallback": { "alias": "searchIconClickCallback"; "required": false; }; "showSearchIcon": { "alias": "showSearchIcon"; "required": false; }; "autoSelectSingleOption": { "alias": "autoSelectSingleOption"; "required": false; }; "selectExactMatchOnBlur": { "alias": "selectExactMatchOnBlur"; "required": false; }; "displayValueFormatter": { "alias": "displayValueFormatter"; "required": false; }; "useOptionTemplate": { "alias": "useOptionTemplate"; "required": false; }; "minValueLength": { "alias": "minValueLength"; "required": false; }; "preventClick": { "alias": "preventClick"; "required": false; }; "closePanelEnabled": { "alias": "closePanelEnabled"; "required": false; }; "trimValue": { "alias": "trimValue"; "required": false; }; "closeOnOutOfView": { "alias": "closeOnOutOfView"; "required": false; }; "outOfViewRootMargin": { "alias": "outOfViewRootMargin"; "required": false; }; "control": { "alias": "control"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "externalButtonClick": "externalButtonClick"; "focusInput": "focusInput"; "blurInput": "blurInput"; "emitSearchValueInput": "emitSearchValueInput"; }, ["optionRef"], never, true, never>;
|
|
1851
1865
|
}
|
|
1852
1866
|
|
|
1853
1867
|
declare class AdsSearchInputComponent extends AdsInputComponent {
|