@progress/kendo-react-dropdowns 9.0.0-develop.9 → 9.0.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/index.d.mts CHANGED
@@ -1231,6 +1231,7 @@ declare class DropDownBase {
1231
1231
  calculateDir(): void;
1232
1232
  calculatePopupWidth(): void;
1233
1233
  scrollToItem(itemIndex: number, vsEnabled?: boolean, once?: boolean): void;
1234
+ updateComponentArgs(args: any): void;
1234
1235
  handleItemClick: (index: number, event: React_2.MouseEvent<HTMLLIElement> | React_2.KeyboardEvent<HTMLInputElement>) => void;
1235
1236
  handleFocus: React_2.FocusEventHandler<HTMLSpanElement>;
1236
1237
  filterChanged: (text: string | null, state: InternalState) => void;
@@ -1321,70 +1322,71 @@ declare interface DropdownEvent<T> {
1321
1322
  target: T;
1322
1323
  }
1323
1324
 
1324
- /** @hidden */
1325
- export declare type DropDownList = DropDownListHandle;
1326
-
1327
1325
  /**
1328
1326
  * Represents the [KendoReact DropDownList component]({% slug overview_dropdownlist %}).
1329
1327
  *
1330
1328
  * Accepts properties of type [DropDownListProps]({% slug api_dropdowns_dropdownlistprops %}).
1331
1329
  * Obtaining the `ref` returns an object of type [DropDownListHandle]({% slug api_dropdowns_dropdownlisthandle %}).
1332
1330
  *
1333
- * @example
1334
- * ```jsx
1335
- * class App extends React.Component {
1336
- * dropdownlist = null;
1337
- * render() {
1338
- * return (
1339
- * <div>
1340
- * <DropDownList
1341
- * data={[ "Albania", "Andorra", "Austria", "Belarus" ]}
1342
- * ref={component => this.dropdownlist = component}
1343
- * />
1344
- * <button onClick={() => alert(this.dropdownlist.value)}>alert value</button>
1345
- * </div>
1346
- * );
1347
- * }
1348
- * }
1349
- * ReactDOM.render(<App />, document.querySelector('my-app'));
1350
- * ```
1351
1331
  */
1352
- export declare const DropDownList: React_2.ForwardRefExoticComponent<DropDownListProps & React_2.RefAttributes<any>>;
1332
+ export declare const DropDownList: React_2.ForwardRefExoticComponent<DropDownListProps & React_2.RefAttributes<DropDownListHandle>>;
1353
1333
 
1354
1334
  /**
1355
1335
  * Represents the object of the `blur` DropDownList event.
1356
1336
  */
1357
- export declare interface DropDownListBlurEvent extends BlurEvent<DropDownList> {
1337
+ export declare interface DropDownListBlurEvent extends BlurEvent<DropDownListHandle> {
1358
1338
  }
1359
1339
 
1360
1340
  /**
1361
1341
  * Represents the object of the `change` DropDownList event.
1362
1342
  */
1363
- export declare interface DropDownListChangeEvent extends ChangeEvent<DropDownList> {
1343
+ export declare interface DropDownListChangeEvent extends ChangeEvent<DropDownListHandle> {
1364
1344
  }
1365
1345
 
1366
1346
  /**
1367
1347
  * Represents the object of the `close` DropDownList event.
1368
1348
  */
1369
- export declare interface DropDownListCloseEvent extends CloseEvent_2<DropDownList> {
1349
+ export declare interface DropDownListCloseEvent extends CloseEvent_2<DropDownListHandle> {
1370
1350
  }
1371
1351
 
1352
+ /**
1353
+ * The default props of the DropDownList component.
1354
+ */
1355
+ export declare const dropDownListDefaultProps: {
1356
+ required: boolean;
1357
+ size: "small" | "large" | "medium" | null | undefined;
1358
+ rounded: "small" | "large" | "medium" | "full" | null | undefined;
1359
+ fillMode: "flat" | "solid" | "outline" | null | undefined;
1360
+ groupMode: string | undefined;
1361
+ popupSettings: {
1362
+ height: string;
1363
+ };
1364
+ validityStyles: boolean;
1365
+ delay: number;
1366
+ tabIndex: number;
1367
+ ignoreCase: boolean;
1368
+ };
1369
+
1372
1370
  /**
1373
1371
  * Represents the object of the `filterChange` DropDownList event.
1374
1372
  */
1375
- export declare interface DropDownListFilterChangeEvent extends FilterChangeEvent<DropDownList> {
1373
+ export declare interface DropDownListFilterChangeEvent extends FilterChangeEvent<DropDownListHandle> {
1376
1374
  }
1377
1375
 
1378
1376
  /**
1379
1377
  * Represents the object of the `focus` DropDownList event.
1380
1378
  */
1381
- export declare interface DropDownListFocusEvent extends FocusEvent_2<DropDownList> {
1379
+ export declare interface DropDownListFocusEvent extends FocusEvent_2<DropDownListHandle> {
1382
1380
  }
1383
1381
 
1384
1382
  /**
1385
1383
  * Represent the `ref` of the DropDownList component.
1386
1384
  */
1387
- export declare interface DropDownListHandle extends Pick<DropDownListWithoutContext, keyof DropDownListWithoutContext> {
1385
+ export declare interface DropDownListHandle {
1386
+ /**
1387
+ * The element of the DropDownList component.
1388
+ */
1389
+ element: HTMLSpanElement | null;
1388
1390
  /**
1389
1391
  * The index of the selected item.
1390
1392
  */
@@ -1401,18 +1403,30 @@ export declare interface DropDownListHandle extends Pick<DropDownListWithoutCont
1401
1403
  * The value of the DropDownList.
1402
1404
  */
1403
1405
  value: any;
1406
+ /**
1407
+ * The props of the DropDownList component
1408
+ */
1409
+ props: Readonly<DropDownListProps>;
1410
+ /**
1411
+ * Focuses the wrapper of the DropDownList component.
1412
+ */
1413
+ focus: () => void;
1414
+ /**
1415
+ * Toggles the popup of the DropDownList component.
1416
+ */
1417
+ togglePopup: () => void;
1404
1418
  }
1405
1419
 
1406
1420
  /**
1407
1421
  * Represents the object of the `open` DropDownList event.
1408
1422
  */
1409
- export declare interface DropDownListOpenEvent extends OpenEvent<DropDownList> {
1423
+ export declare interface DropDownListOpenEvent extends OpenEvent<DropDownListHandle> {
1410
1424
  }
1411
1425
 
1412
1426
  /**
1413
1427
  * Represents the object of the `pageChange` DropDownList event.
1414
1428
  */
1415
- export declare interface DropDownListPageChangeEvent extends PageChangeEvent<DropDownList> {
1429
+ export declare interface DropDownListPageChangeEvent extends PageChangeEvent<DropDownListHandle> {
1416
1430
  }
1417
1431
 
1418
1432
  /**
@@ -1717,208 +1731,10 @@ export declare const DropDownListPropsContext: React_2.Context<(p: DropDownListP
1717
1731
  /**
1718
1732
  * @hidden
1719
1733
  */
1720
- declare interface DropDownListState extends DropDownStateBase {
1734
+ export declare interface DropDownListState extends DropDownStateBase {
1721
1735
  windowWidth?: number;
1722
1736
  }
1723
1737
 
1724
- /**
1725
- * @hidden
1726
- */
1727
- declare class DropDownListWithoutContext extends React_2.Component<DropDownListProps, DropDownListState> implements FormComponent {
1728
- static displayName: string;
1729
- /**
1730
- * @hidden
1731
- */
1732
- static propTypes: {
1733
- value: PropTypes.Requireable<any>;
1734
- defaultValue: PropTypes.Requireable<any>;
1735
- filterable: PropTypes.Requireable<boolean>;
1736
- filter: PropTypes.Requireable<string>;
1737
- virtual: PropTypes.Requireable<PropTypes.InferProps<{
1738
- pageSize: PropTypes.Validator<number>;
1739
- skip: PropTypes.Validator<number>;
1740
- total: PropTypes.Validator<number>;
1741
- }>>;
1742
- onFilterChange: PropTypes.Requireable<(...args: any[]) => any>;
1743
- onPageChange: PropTypes.Requireable<(...args: any[]) => any>;
1744
- opened: PropTypes.Requireable<boolean>;
1745
- disabled: PropTypes.Requireable<boolean>;
1746
- dir: PropTypes.Requireable<string>;
1747
- tabIndex: PropTypes.Requireable<number>;
1748
- accessKey: PropTypes.Requireable<string>;
1749
- data: PropTypes.Requireable<any[]>;
1750
- textField: PropTypes.Requireable<string>;
1751
- className: PropTypes.Requireable<string>;
1752
- label: PropTypes.Requireable<string>;
1753
- loading: PropTypes.Requireable<boolean>;
1754
- popupSettings: PropTypes.Requireable<PropTypes.InferProps<{
1755
- animate: PropTypes.Requireable<NonNullable<boolean | PropTypes.InferProps<{
1756
- openDuration: PropTypes.Requireable<number>;
1757
- closeDuration: PropTypes.Requireable<number>;
1758
- }> | null | undefined>>;
1759
- popupClass: PropTypes.Requireable<string>;
1760
- className: PropTypes.Requireable<string>;
1761
- appendTo: PropTypes.Requireable<any>;
1762
- width: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
1763
- height: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
1764
- }>>;
1765
- onOpen: PropTypes.Requireable<(...args: any[]) => any>;
1766
- onClose: PropTypes.Requireable<(...args: any[]) => any>;
1767
- onFocus: PropTypes.Requireable<(...args: any[]) => any>;
1768
- onBlur: PropTypes.Requireable<(...args: any[]) => any>;
1769
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
1770
- itemRender: PropTypes.Requireable<(...args: any[]) => any>;
1771
- listNoDataRender: PropTypes.Requireable<(...args: any[]) => any>;
1772
- focusedItemIndex: PropTypes.Requireable<(...args: any[]) => any>;
1773
- header: PropTypes.Requireable<PropTypes.ReactNodeLike>;
1774
- footer: PropTypes.Requireable<PropTypes.ReactNodeLike>;
1775
- delay: PropTypes.Requireable<number>;
1776
- ignoreCase: PropTypes.Requireable<boolean>;
1777
- iconClassName: PropTypes.Requireable<string>;
1778
- svgIcon: PropTypes.Requireable<PropTypes.InferProps<{
1779
- name: PropTypes.Validator<string>;
1780
- content: PropTypes.Validator<string>;
1781
- viewBox: PropTypes.Validator<string>;
1782
- }>>;
1783
- defaultItem: PropTypes.Requireable<any>;
1784
- valueRender: PropTypes.Requireable<(...args: any[]) => any>;
1785
- valueMap: PropTypes.Requireable<(...args: any[]) => any>;
1786
- validationMessage: PropTypes.Requireable<string>;
1787
- required: PropTypes.Requireable<boolean>;
1788
- id: PropTypes.Requireable<string>;
1789
- ariaLabelledBy: PropTypes.Requireable<string>;
1790
- ariaDescribedBy: PropTypes.Requireable<string>;
1791
- ariaLabel: PropTypes.Requireable<string>;
1792
- leftRightKeysNavigation: PropTypes.Requireable<boolean>;
1793
- title: PropTypes.Requireable<string>;
1794
- groupField: PropTypes.Requireable<string>;
1795
- list: PropTypes.Requireable<any>;
1796
- skipDisabledItems: PropTypes.Requireable<boolean>;
1797
- renderListFilterWrapper: PropTypes.Requireable<boolean>;
1798
- };
1799
- /**
1800
- * @hidden
1801
- */
1802
- static defaultProps: {
1803
- required: boolean;
1804
- size: "small" | "large" | "medium" | null | undefined;
1805
- rounded: "small" | "large" | "medium" | "full" | null | undefined;
1806
- fillMode: "flat" | "solid" | "outline" | null | undefined;
1807
- groupMode: string | undefined;
1808
- popupSettings: {
1809
- height: string;
1810
- };
1811
- validityStyles: boolean;
1812
- delay: number;
1813
- tabIndex: number;
1814
- ignoreCase: boolean;
1815
- };
1816
- /**
1817
- * @hidden
1818
- */
1819
- readonly state: DropDownListState;
1820
- private _element;
1821
- private _typingTimeout;
1822
- protected readonly base: DropDownBase;
1823
- private searchState;
1824
- private _select;
1825
- private _skipFocusEvent;
1826
- private _filterInput;
1827
- private _valueDuringOnChange;
1828
- private _navigated;
1829
- private _lastKeypressIsFilter;
1830
- private get _inputId();
1831
- private get _listboxId();
1832
- private get _guid();
1833
- private itemHeight;
1834
- private observerResize?;
1835
- private get document();
1836
- constructor(props: DropDownListProps);
1837
- /**
1838
- * @hidden
1839
- */
1840
- focus: () => void;
1841
- /**
1842
- * @hidden
1843
- */
1844
- get element(): HTMLSpanElement | null;
1845
- /**
1846
- * The value of the DropDownList.
1847
- */
1848
- get value(): any;
1849
- /**
1850
- * The index of the selected item.
1851
- */
1852
- get index(): number;
1853
- /**
1854
- * Gets the `name` property of the DropDownList.
1855
- */
1856
- get name(): string | undefined;
1857
- /**
1858
- * Represents the validity state into which the DropDownList is set.
1859
- */
1860
- get validity(): FormComponentValidity;
1861
- protected get validityStyles(): boolean;
1862
- /**
1863
- * @hidden
1864
- */
1865
- protected get required(): boolean;
1866
- /**
1867
- * @hidden
1868
- */
1869
- componentDidUpdate(prevProps: DropDownListProps, prevState: DropDownListState): void;
1870
- /**
1871
- * @hidden
1872
- */
1873
- componentDidMount(): void;
1874
- /** @hidden */
1875
- componentWillUnmount(): void;
1876
- /**
1877
- * @hidden
1878
- */
1879
- render(): JSX_2.Element;
1880
- /**
1881
- * @hidden
1882
- */
1883
- handleItemSelect: (index: number, state: InternalState) => void;
1884
- /**
1885
- * @hidden
1886
- */
1887
- onNavigate(state: InternalState, keyCode: number, skipItems?: number): void;
1888
- private componentRef;
1889
- private dummySelect;
1890
- private renderAdaptiveListContainer;
1891
- private renderListContainer;
1892
- private renderList;
1893
- private onScroll;
1894
- private renderListFilter;
1895
- private renderDefaultItem;
1896
- private search;
1897
- private selectNext;
1898
- private handleKeyDown;
1899
- private handleItemClick;
1900
- private handleFocus;
1901
- private handleBlur;
1902
- private handleDefaultItemClick;
1903
- private handleWrapperClick;
1904
- private handleKeyPress;
1905
- private handleListFilterChange;
1906
- private onPopupOpened;
1907
- private onPopupClosed;
1908
- private onPopupMouseDown;
1909
- togglePopup: () => void;
1910
- private getFocusedIndex;
1911
- private focusElement;
1912
- private setValidity;
1913
- private triggerOnChange;
1914
- private applyState;
1915
- private calculateMedia;
1916
- private resetValueIfDisabledItem;
1917
- private haveFocusedItemAndDataNotEmpty;
1918
- }
1919
- export { DropDownListWithoutContext as DropDownListClassComponent }
1920
- export { DropDownListWithoutContext }
1921
-
1922
1738
  /**
1923
1739
  * @hidden
1924
1740
  */
package/index.d.ts CHANGED
@@ -1231,6 +1231,7 @@ declare class DropDownBase {
1231
1231
  calculateDir(): void;
1232
1232
  calculatePopupWidth(): void;
1233
1233
  scrollToItem(itemIndex: number, vsEnabled?: boolean, once?: boolean): void;
1234
+ updateComponentArgs(args: any): void;
1234
1235
  handleItemClick: (index: number, event: React_2.MouseEvent<HTMLLIElement> | React_2.KeyboardEvent<HTMLInputElement>) => void;
1235
1236
  handleFocus: React_2.FocusEventHandler<HTMLSpanElement>;
1236
1237
  filterChanged: (text: string | null, state: InternalState) => void;
@@ -1321,70 +1322,71 @@ declare interface DropdownEvent<T> {
1321
1322
  target: T;
1322
1323
  }
1323
1324
 
1324
- /** @hidden */
1325
- export declare type DropDownList = DropDownListHandle;
1326
-
1327
1325
  /**
1328
1326
  * Represents the [KendoReact DropDownList component]({% slug overview_dropdownlist %}).
1329
1327
  *
1330
1328
  * Accepts properties of type [DropDownListProps]({% slug api_dropdowns_dropdownlistprops %}).
1331
1329
  * Obtaining the `ref` returns an object of type [DropDownListHandle]({% slug api_dropdowns_dropdownlisthandle %}).
1332
1330
  *
1333
- * @example
1334
- * ```jsx
1335
- * class App extends React.Component {
1336
- * dropdownlist = null;
1337
- * render() {
1338
- * return (
1339
- * <div>
1340
- * <DropDownList
1341
- * data={[ "Albania", "Andorra", "Austria", "Belarus" ]}
1342
- * ref={component => this.dropdownlist = component}
1343
- * />
1344
- * <button onClick={() => alert(this.dropdownlist.value)}>alert value</button>
1345
- * </div>
1346
- * );
1347
- * }
1348
- * }
1349
- * ReactDOM.render(<App />, document.querySelector('my-app'));
1350
- * ```
1351
1331
  */
1352
- export declare const DropDownList: React_2.ForwardRefExoticComponent<DropDownListProps & React_2.RefAttributes<any>>;
1332
+ export declare const DropDownList: React_2.ForwardRefExoticComponent<DropDownListProps & React_2.RefAttributes<DropDownListHandle>>;
1353
1333
 
1354
1334
  /**
1355
1335
  * Represents the object of the `blur` DropDownList event.
1356
1336
  */
1357
- export declare interface DropDownListBlurEvent extends BlurEvent<DropDownList> {
1337
+ export declare interface DropDownListBlurEvent extends BlurEvent<DropDownListHandle> {
1358
1338
  }
1359
1339
 
1360
1340
  /**
1361
1341
  * Represents the object of the `change` DropDownList event.
1362
1342
  */
1363
- export declare interface DropDownListChangeEvent extends ChangeEvent<DropDownList> {
1343
+ export declare interface DropDownListChangeEvent extends ChangeEvent<DropDownListHandle> {
1364
1344
  }
1365
1345
 
1366
1346
  /**
1367
1347
  * Represents the object of the `close` DropDownList event.
1368
1348
  */
1369
- export declare interface DropDownListCloseEvent extends CloseEvent_2<DropDownList> {
1349
+ export declare interface DropDownListCloseEvent extends CloseEvent_2<DropDownListHandle> {
1370
1350
  }
1371
1351
 
1352
+ /**
1353
+ * The default props of the DropDownList component.
1354
+ */
1355
+ export declare const dropDownListDefaultProps: {
1356
+ required: boolean;
1357
+ size: "small" | "large" | "medium" | null | undefined;
1358
+ rounded: "small" | "large" | "medium" | "full" | null | undefined;
1359
+ fillMode: "flat" | "solid" | "outline" | null | undefined;
1360
+ groupMode: string | undefined;
1361
+ popupSettings: {
1362
+ height: string;
1363
+ };
1364
+ validityStyles: boolean;
1365
+ delay: number;
1366
+ tabIndex: number;
1367
+ ignoreCase: boolean;
1368
+ };
1369
+
1372
1370
  /**
1373
1371
  * Represents the object of the `filterChange` DropDownList event.
1374
1372
  */
1375
- export declare interface DropDownListFilterChangeEvent extends FilterChangeEvent<DropDownList> {
1373
+ export declare interface DropDownListFilterChangeEvent extends FilterChangeEvent<DropDownListHandle> {
1376
1374
  }
1377
1375
 
1378
1376
  /**
1379
1377
  * Represents the object of the `focus` DropDownList event.
1380
1378
  */
1381
- export declare interface DropDownListFocusEvent extends FocusEvent_2<DropDownList> {
1379
+ export declare interface DropDownListFocusEvent extends FocusEvent_2<DropDownListHandle> {
1382
1380
  }
1383
1381
 
1384
1382
  /**
1385
1383
  * Represent the `ref` of the DropDownList component.
1386
1384
  */
1387
- export declare interface DropDownListHandle extends Pick<DropDownListWithoutContext, keyof DropDownListWithoutContext> {
1385
+ export declare interface DropDownListHandle {
1386
+ /**
1387
+ * The element of the DropDownList component.
1388
+ */
1389
+ element: HTMLSpanElement | null;
1388
1390
  /**
1389
1391
  * The index of the selected item.
1390
1392
  */
@@ -1401,18 +1403,30 @@ export declare interface DropDownListHandle extends Pick<DropDownListWithoutCont
1401
1403
  * The value of the DropDownList.
1402
1404
  */
1403
1405
  value: any;
1406
+ /**
1407
+ * The props of the DropDownList component
1408
+ */
1409
+ props: Readonly<DropDownListProps>;
1410
+ /**
1411
+ * Focuses the wrapper of the DropDownList component.
1412
+ */
1413
+ focus: () => void;
1414
+ /**
1415
+ * Toggles the popup of the DropDownList component.
1416
+ */
1417
+ togglePopup: () => void;
1404
1418
  }
1405
1419
 
1406
1420
  /**
1407
1421
  * Represents the object of the `open` DropDownList event.
1408
1422
  */
1409
- export declare interface DropDownListOpenEvent extends OpenEvent<DropDownList> {
1423
+ export declare interface DropDownListOpenEvent extends OpenEvent<DropDownListHandle> {
1410
1424
  }
1411
1425
 
1412
1426
  /**
1413
1427
  * Represents the object of the `pageChange` DropDownList event.
1414
1428
  */
1415
- export declare interface DropDownListPageChangeEvent extends PageChangeEvent<DropDownList> {
1429
+ export declare interface DropDownListPageChangeEvent extends PageChangeEvent<DropDownListHandle> {
1416
1430
  }
1417
1431
 
1418
1432
  /**
@@ -1717,208 +1731,10 @@ export declare const DropDownListPropsContext: React_2.Context<(p: DropDownListP
1717
1731
  /**
1718
1732
  * @hidden
1719
1733
  */
1720
- declare interface DropDownListState extends DropDownStateBase {
1734
+ export declare interface DropDownListState extends DropDownStateBase {
1721
1735
  windowWidth?: number;
1722
1736
  }
1723
1737
 
1724
- /**
1725
- * @hidden
1726
- */
1727
- declare class DropDownListWithoutContext extends React_2.Component<DropDownListProps, DropDownListState> implements FormComponent {
1728
- static displayName: string;
1729
- /**
1730
- * @hidden
1731
- */
1732
- static propTypes: {
1733
- value: PropTypes.Requireable<any>;
1734
- defaultValue: PropTypes.Requireable<any>;
1735
- filterable: PropTypes.Requireable<boolean>;
1736
- filter: PropTypes.Requireable<string>;
1737
- virtual: PropTypes.Requireable<PropTypes.InferProps<{
1738
- pageSize: PropTypes.Validator<number>;
1739
- skip: PropTypes.Validator<number>;
1740
- total: PropTypes.Validator<number>;
1741
- }>>;
1742
- onFilterChange: PropTypes.Requireable<(...args: any[]) => any>;
1743
- onPageChange: PropTypes.Requireable<(...args: any[]) => any>;
1744
- opened: PropTypes.Requireable<boolean>;
1745
- disabled: PropTypes.Requireable<boolean>;
1746
- dir: PropTypes.Requireable<string>;
1747
- tabIndex: PropTypes.Requireable<number>;
1748
- accessKey: PropTypes.Requireable<string>;
1749
- data: PropTypes.Requireable<any[]>;
1750
- textField: PropTypes.Requireable<string>;
1751
- className: PropTypes.Requireable<string>;
1752
- label: PropTypes.Requireable<string>;
1753
- loading: PropTypes.Requireable<boolean>;
1754
- popupSettings: PropTypes.Requireable<PropTypes.InferProps<{
1755
- animate: PropTypes.Requireable<NonNullable<boolean | PropTypes.InferProps<{
1756
- openDuration: PropTypes.Requireable<number>;
1757
- closeDuration: PropTypes.Requireable<number>;
1758
- }> | null | undefined>>;
1759
- popupClass: PropTypes.Requireable<string>;
1760
- className: PropTypes.Requireable<string>;
1761
- appendTo: PropTypes.Requireable<any>;
1762
- width: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
1763
- height: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
1764
- }>>;
1765
- onOpen: PropTypes.Requireable<(...args: any[]) => any>;
1766
- onClose: PropTypes.Requireable<(...args: any[]) => any>;
1767
- onFocus: PropTypes.Requireable<(...args: any[]) => any>;
1768
- onBlur: PropTypes.Requireable<(...args: any[]) => any>;
1769
- onChange: PropTypes.Requireable<(...args: any[]) => any>;
1770
- itemRender: PropTypes.Requireable<(...args: any[]) => any>;
1771
- listNoDataRender: PropTypes.Requireable<(...args: any[]) => any>;
1772
- focusedItemIndex: PropTypes.Requireable<(...args: any[]) => any>;
1773
- header: PropTypes.Requireable<PropTypes.ReactNodeLike>;
1774
- footer: PropTypes.Requireable<PropTypes.ReactNodeLike>;
1775
- delay: PropTypes.Requireable<number>;
1776
- ignoreCase: PropTypes.Requireable<boolean>;
1777
- iconClassName: PropTypes.Requireable<string>;
1778
- svgIcon: PropTypes.Requireable<PropTypes.InferProps<{
1779
- name: PropTypes.Validator<string>;
1780
- content: PropTypes.Validator<string>;
1781
- viewBox: PropTypes.Validator<string>;
1782
- }>>;
1783
- defaultItem: PropTypes.Requireable<any>;
1784
- valueRender: PropTypes.Requireable<(...args: any[]) => any>;
1785
- valueMap: PropTypes.Requireable<(...args: any[]) => any>;
1786
- validationMessage: PropTypes.Requireable<string>;
1787
- required: PropTypes.Requireable<boolean>;
1788
- id: PropTypes.Requireable<string>;
1789
- ariaLabelledBy: PropTypes.Requireable<string>;
1790
- ariaDescribedBy: PropTypes.Requireable<string>;
1791
- ariaLabel: PropTypes.Requireable<string>;
1792
- leftRightKeysNavigation: PropTypes.Requireable<boolean>;
1793
- title: PropTypes.Requireable<string>;
1794
- groupField: PropTypes.Requireable<string>;
1795
- list: PropTypes.Requireable<any>;
1796
- skipDisabledItems: PropTypes.Requireable<boolean>;
1797
- renderListFilterWrapper: PropTypes.Requireable<boolean>;
1798
- };
1799
- /**
1800
- * @hidden
1801
- */
1802
- static defaultProps: {
1803
- required: boolean;
1804
- size: "small" | "large" | "medium" | null | undefined;
1805
- rounded: "small" | "large" | "medium" | "full" | null | undefined;
1806
- fillMode: "flat" | "solid" | "outline" | null | undefined;
1807
- groupMode: string | undefined;
1808
- popupSettings: {
1809
- height: string;
1810
- };
1811
- validityStyles: boolean;
1812
- delay: number;
1813
- tabIndex: number;
1814
- ignoreCase: boolean;
1815
- };
1816
- /**
1817
- * @hidden
1818
- */
1819
- readonly state: DropDownListState;
1820
- private _element;
1821
- private _typingTimeout;
1822
- protected readonly base: DropDownBase;
1823
- private searchState;
1824
- private _select;
1825
- private _skipFocusEvent;
1826
- private _filterInput;
1827
- private _valueDuringOnChange;
1828
- private _navigated;
1829
- private _lastKeypressIsFilter;
1830
- private get _inputId();
1831
- private get _listboxId();
1832
- private get _guid();
1833
- private itemHeight;
1834
- private observerResize?;
1835
- private get document();
1836
- constructor(props: DropDownListProps);
1837
- /**
1838
- * @hidden
1839
- */
1840
- focus: () => void;
1841
- /**
1842
- * @hidden
1843
- */
1844
- get element(): HTMLSpanElement | null;
1845
- /**
1846
- * The value of the DropDownList.
1847
- */
1848
- get value(): any;
1849
- /**
1850
- * The index of the selected item.
1851
- */
1852
- get index(): number;
1853
- /**
1854
- * Gets the `name` property of the DropDownList.
1855
- */
1856
- get name(): string | undefined;
1857
- /**
1858
- * Represents the validity state into which the DropDownList is set.
1859
- */
1860
- get validity(): FormComponentValidity;
1861
- protected get validityStyles(): boolean;
1862
- /**
1863
- * @hidden
1864
- */
1865
- protected get required(): boolean;
1866
- /**
1867
- * @hidden
1868
- */
1869
- componentDidUpdate(prevProps: DropDownListProps, prevState: DropDownListState): void;
1870
- /**
1871
- * @hidden
1872
- */
1873
- componentDidMount(): void;
1874
- /** @hidden */
1875
- componentWillUnmount(): void;
1876
- /**
1877
- * @hidden
1878
- */
1879
- render(): JSX_2.Element;
1880
- /**
1881
- * @hidden
1882
- */
1883
- handleItemSelect: (index: number, state: InternalState) => void;
1884
- /**
1885
- * @hidden
1886
- */
1887
- onNavigate(state: InternalState, keyCode: number, skipItems?: number): void;
1888
- private componentRef;
1889
- private dummySelect;
1890
- private renderAdaptiveListContainer;
1891
- private renderListContainer;
1892
- private renderList;
1893
- private onScroll;
1894
- private renderListFilter;
1895
- private renderDefaultItem;
1896
- private search;
1897
- private selectNext;
1898
- private handleKeyDown;
1899
- private handleItemClick;
1900
- private handleFocus;
1901
- private handleBlur;
1902
- private handleDefaultItemClick;
1903
- private handleWrapperClick;
1904
- private handleKeyPress;
1905
- private handleListFilterChange;
1906
- private onPopupOpened;
1907
- private onPopupClosed;
1908
- private onPopupMouseDown;
1909
- togglePopup: () => void;
1910
- private getFocusedIndex;
1911
- private focusElement;
1912
- private setValidity;
1913
- private triggerOnChange;
1914
- private applyState;
1915
- private calculateMedia;
1916
- private resetValueIfDisabledItem;
1917
- private haveFocusedItemAndDataNotEmpty;
1918
- }
1919
- export { DropDownListWithoutContext as DropDownListClassComponent }
1920
- export { DropDownListWithoutContext }
1921
-
1922
1738
  /**
1923
1739
  * @hidden
1924
1740
  */