@wavelengthusaf/web-components 1.2.0 → 1.3.1

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.
@@ -1368,4 +1368,44 @@ declare class WavelengthNavBar extends HTMLElement {
1368
1368
  private renderTabs;
1369
1369
  }
1370
1370
 
1371
- export { BaseWavelengthInput, BaseWavelengthMultiSelectAutocomplete, SampleComponent, WavelengthBanner, WavelengthButton, WavelengthDatePicker, WavelengthForm, WavelengthInput, WavelengthMultiSelectAutocomplete, WavelengthNavBar, WavelengthProgressBar, WavelengthTitleBar };
1371
+ interface ChildDataTableData {
1372
+ id: string;
1373
+ [key: string]: any;
1374
+ dropdown?: HTMLElement | string | any;
1375
+ }
1376
+
1377
+ interface ChildDataTableColumn {
1378
+ key: string;
1379
+ title: string;
1380
+ renderCell?: (item: ChildDataTableData) => string;
1381
+ cellLocation?: "bottom" | "top" | "relative";
1382
+ sort?: boolean;
1383
+ }
1384
+
1385
+ declare class ChildDataTable extends HTMLElement {
1386
+ static get observedAttributes(): string[];
1387
+ private _columns;
1388
+ private _data;
1389
+ private _sortOrder;
1390
+ private _sortKey;
1391
+ private _dropdownArrowLocation;
1392
+ private _sortIcon;
1393
+ private _dropdownButtonIcon;
1394
+ private shadow;
1395
+ constructor();
1396
+ connectedCallback(): void;
1397
+ attributeChangedCallback(name: string, oldValue: any, newValue: any): void;
1398
+ renderColumns(newValue: string | ChildDataTableColumn[]): void;
1399
+ renderRows(newValue: any): void;
1400
+ handleDropdownClick(): void;
1401
+ handleSortClick(): void;
1402
+ handleActionClick(): void;
1403
+ handleSort(sortKey: keyof ChildDataTableData): void;
1404
+ set setColumns(columns: ChildDataTableColumn[]);
1405
+ set setData(data: ChildDataTableData[]);
1406
+ set setDropdownArrowLocation(location: typeof this._dropdownArrowLocation);
1407
+ set setSortIcon(icon: typeof this._sortIcon);
1408
+ set setDropdownButtonIcon(icon: typeof this._sortIcon);
1409
+ }
1410
+
1411
+ export { BaseWavelengthInput, BaseWavelengthMultiSelectAutocomplete, ChildDataTable, SampleComponent, WavelengthBanner, WavelengthButton, WavelengthDatePicker, WavelengthForm, WavelengthInput, WavelengthMultiSelectAutocomplete, WavelengthNavBar, WavelengthProgressBar, WavelengthTitleBar };
@@ -1368,4 +1368,44 @@ declare class WavelengthNavBar extends HTMLElement {
1368
1368
  private renderTabs;
1369
1369
  }
1370
1370
 
1371
- export { BaseWavelengthInput, BaseWavelengthMultiSelectAutocomplete, SampleComponent, WavelengthBanner, WavelengthButton, WavelengthDatePicker, WavelengthForm, WavelengthInput, WavelengthMultiSelectAutocomplete, WavelengthNavBar, WavelengthProgressBar, WavelengthTitleBar };
1371
+ interface ChildDataTableData {
1372
+ id: string;
1373
+ [key: string]: any;
1374
+ dropdown?: HTMLElement | string | any;
1375
+ }
1376
+
1377
+ interface ChildDataTableColumn {
1378
+ key: string;
1379
+ title: string;
1380
+ renderCell?: (item: ChildDataTableData) => string;
1381
+ cellLocation?: "bottom" | "top" | "relative";
1382
+ sort?: boolean;
1383
+ }
1384
+
1385
+ declare class ChildDataTable extends HTMLElement {
1386
+ static get observedAttributes(): string[];
1387
+ private _columns;
1388
+ private _data;
1389
+ private _sortOrder;
1390
+ private _sortKey;
1391
+ private _dropdownArrowLocation;
1392
+ private _sortIcon;
1393
+ private _dropdownButtonIcon;
1394
+ private shadow;
1395
+ constructor();
1396
+ connectedCallback(): void;
1397
+ attributeChangedCallback(name: string, oldValue: any, newValue: any): void;
1398
+ renderColumns(newValue: string | ChildDataTableColumn[]): void;
1399
+ renderRows(newValue: any): void;
1400
+ handleDropdownClick(): void;
1401
+ handleSortClick(): void;
1402
+ handleActionClick(): void;
1403
+ handleSort(sortKey: keyof ChildDataTableData): void;
1404
+ set setColumns(columns: ChildDataTableColumn[]);
1405
+ set setData(data: ChildDataTableData[]);
1406
+ set setDropdownArrowLocation(location: typeof this._dropdownArrowLocation);
1407
+ set setSortIcon(icon: typeof this._sortIcon);
1408
+ set setDropdownButtonIcon(icon: typeof this._sortIcon);
1409
+ }
1410
+
1411
+ export { BaseWavelengthInput, BaseWavelengthMultiSelectAutocomplete, ChildDataTable, SampleComponent, WavelengthBanner, WavelengthButton, WavelengthDatePicker, WavelengthForm, WavelengthInput, WavelengthMultiSelectAutocomplete, WavelengthNavBar, WavelengthProgressBar, WavelengthTitleBar };