@energycap/components 0.45.2-multi-select-component.20260304-1526 → 0.45.2-multi-select-component.20260304-1639
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
|
@@ -58,5 +58,6 @@
|
|
|
58
58
|
"DateInput_LatestDataAvailableTitle": "Select most recent data available",
|
|
59
59
|
"DateInput_CalendarCloseButton_Label": "Close",
|
|
60
60
|
"DateInput_CalendarTodayButton_Label": "Go to today",
|
|
61
|
-
"SelectAllMultiSelect_TC": "Select All"
|
|
61
|
+
"SelectAllMultiSelect_TC": "Select All",
|
|
62
|
+
"Search_TC": "Search"
|
|
62
63
|
}
|
|
@@ -6039,7 +6039,8 @@ declare class MultiselectComponent extends FormControlBase implements OnInit, On
|
|
|
6039
6039
|
*/
|
|
6040
6040
|
hideNoMatches: boolean;
|
|
6041
6041
|
/**
|
|
6042
|
-
* Text to show when the menu is empty. "No matches" is the default.
|
|
6042
|
+
* Text to show when the menu is empty. "No matches" is the default. Not visible when allowCustom is set to true
|
|
6043
|
+
* since that will show the "Add custom" option instead of the no matches message.
|
|
6043
6044
|
*/
|
|
6044
6045
|
noMatchesText: string;
|
|
6045
6046
|
/**
|
|
@@ -6148,7 +6149,7 @@ declare class MultiselectComponent extends FormControlBase implements OnInit, On
|
|
|
6148
6149
|
*/
|
|
6149
6150
|
get showAddCustomOption(): boolean;
|
|
6150
6151
|
/** Placeholder text for 'Choose' */
|
|
6151
|
-
private
|
|
6152
|
+
private searchPlaceholder;
|
|
6152
6153
|
/** Items added by the user via the allowCustom feature */
|
|
6153
6154
|
private customItems;
|
|
6154
6155
|
/** Flag to prevent valueChanges subscriptions from reacting during programmatic sync */
|
|
@@ -6245,12 +6246,19 @@ declare class MultiselectComponent extends FormControlBase implements OnInit, On
|
|
|
6245
6246
|
* Rebuild the tags array from selected items
|
|
6246
6247
|
*/
|
|
6247
6248
|
private updateTags;
|
|
6249
|
+
/**
|
|
6250
|
+
* Scroll the multiselect input container to the bottom so the filter input remains visible
|
|
6251
|
+
* after tags are added or removed.
|
|
6252
|
+
*/
|
|
6253
|
+
private scrollToFilterInput;
|
|
6248
6254
|
/**
|
|
6249
6255
|
* Keep filter input disabled status in-sync with the form model
|
|
6250
6256
|
*/
|
|
6251
6257
|
private synchronizeDisabledAttributes;
|
|
6252
6258
|
/**
|
|
6253
|
-
* Recompute the placeholder text
|
|
6259
|
+
* Recompute the placeholder text.
|
|
6260
|
+
* When items are selected, show 'Search_TC' so the user knows they can filter.
|
|
6261
|
+
* When no items are selected, show the provided placeholder or the default 'Choose' text.
|
|
6254
6262
|
*/
|
|
6255
6263
|
private updatePlaceholderText;
|
|
6256
6264
|
/**
|