inviton-powerduck 0.0.206 → 0.0.208
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.
|
@@ -38,6 +38,7 @@ import ColVisModal from './col-vis-modal';
|
|
|
38
38
|
import TableExportModal from './export-excel-modal';
|
|
39
39
|
import ColFilterModal from './filter-modal';
|
|
40
40
|
import loadingGif from './img/loading_16_16.gif';
|
|
41
|
+
import { DataTableConfig } from './ts/datatable-config';
|
|
41
42
|
import ReorderProvider from './ts/reorder';
|
|
42
43
|
import './css/datatable.css';
|
|
43
44
|
|
|
@@ -351,11 +352,6 @@ export class DataTableFilterItemCollection extends Array<DataTableFilterItem> {
|
|
|
351
352
|
}
|
|
352
353
|
}
|
|
353
354
|
|
|
354
|
-
export class DataTableConfig {
|
|
355
|
-
static filterMarking = true;
|
|
356
|
-
static defaultMobileBehavior = DataTableMobileBehavior.MobileLayout;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
355
|
@Component
|
|
360
356
|
class TableButtonComponent extends TsxComponent<TableButton> implements TableButton {
|
|
361
357
|
@Prop() title!: string;
|
|
@@ -1816,7 +1812,7 @@ class DataTableComponent extends TsxComponent<DataTableArgs> implements DataTabl
|
|
|
1816
1812
|
}
|
|
1817
1813
|
|
|
1818
1814
|
getMobileBehavior(): DataTableMobileBehavior {
|
|
1819
|
-
return this.currentMobileBehavior ?? DataTableConfig.defaultMobileBehavior;
|
|
1815
|
+
return this.currentMobileBehavior ?? (DataTableConfig.defaultMobileBehavior as DataTableMobileBehavior);
|
|
1820
1816
|
}
|
|
1821
1817
|
|
|
1822
1818
|
getVisibleColumns(): TableColumn[] {
|