slim-select 3.4.1 → 3.4.3

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/index.d.ts CHANGED
@@ -131,6 +131,7 @@ declare class Render {
131
131
  store: Store;
132
132
  callbacks: Callbacks;
133
133
  private lastSelectedOption;
134
+ private lastRenderedOptions;
134
135
  private closeAnimationTimeout;
135
136
  main: Main;
136
137
  content: Content;
@@ -300,7 +301,7 @@ declare class Store {
300
301
  getData(): Option_2[] | Optgroup[];
301
302
  getDataOptions(): Option_2[];
302
303
  addOption(option: Partial<Option_2>, addToStart?: boolean): void;
303
- setSelectedBy(selectedType: 'id' | 'value', selectedValues: string[]): void;
304
+ setSelectedBy(selectedType: 'id' | 'value', selectedValues: string[], allowEmptySelection?: boolean): void;
304
305
  getSelected(): string[];
305
306
  getSelectedValues(): string[];
306
307
  getSelectedOptions(): Option_2[];
@@ -131,6 +131,7 @@ declare class Render {
131
131
  store: Store;
132
132
  callbacks: Callbacks;
133
133
  private lastSelectedOption;
134
+ private lastRenderedOptions;
134
135
  private closeAnimationTimeout;
135
136
  main: Main;
136
137
  content: Content;
@@ -300,7 +301,7 @@ declare class Store {
300
301
  getData(): Option_2[] | Optgroup[];
301
302
  getDataOptions(): Option_2[];
302
303
  addOption(option: Partial<Option_2>, addToStart?: boolean): void;
303
- setSelectedBy(selectedType: 'id' | 'value', selectedValues: string[]): void;
304
+ setSelectedBy(selectedType: 'id' | 'value', selectedValues: string[], allowEmptySelection?: boolean): void;
304
305
  getSelected(): string[];
305
306
  getSelectedValues(): string[];
306
307
  getSelectedOptions(): Option_2[];