slick-table 0.0.31 → 0.0.33
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.cjs.js +18 -18
- package/dist/index.d.ts +2 -1
- package/dist/index.es.js +12 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
export { DecoratorColumnFilter, DecoratorFilter, DefaultPrinter, DeletedRowsFilter, Filter, SlickTable, } from './shared/lib/slickgrid';
|
|
1
|
+
export { DecoratorColumnFilter, DecoratorFilter, DefaultPrinter, DeletedRowsFilter, Filter, SlickTable, openColumnFilter, } from './shared/lib/slickgrid';
|
|
2
2
|
export type { IPrinter, ISlickTable, IColumn, IFilter, IFilterArguments, IHotKeysBehavior, } from './shared/model/types';
|
|
3
|
+
export { EColumnFiltersGroup } from './shared/model/enums';
|
package/dist/index.es.js
CHANGED
|
@@ -16172,6 +16172,12 @@ class SS {
|
|
|
16172
16172
|
return this.filter.tableId;
|
|
16173
16173
|
}
|
|
16174
16174
|
}
|
|
16175
|
+
function YS(e) {
|
|
16176
|
+
return {
|
|
16177
|
+
tooltip: "Apply column filter",
|
|
16178
|
+
command: e
|
|
16179
|
+
};
|
|
16180
|
+
}
|
|
16175
16181
|
class RS extends ha {
|
|
16176
16182
|
constructor() {
|
|
16177
16183
|
super(...arguments), this.columnId = "", this.group = os.Text, this.target = null, this.x = 0, this.y = 0;
|
|
@@ -16440,7 +16446,7 @@ const xS = new TS(), DS = [
|
|
|
16440
16446
|
os.Boolean,
|
|
16441
16447
|
os.Number
|
|
16442
16448
|
];
|
|
16443
|
-
class
|
|
16449
|
+
class zS extends SS {
|
|
16444
16450
|
filterFn(t, r) {
|
|
16445
16451
|
if (!r.columnFilters) return !0;
|
|
16446
16452
|
const i = this.grid;
|
|
@@ -18877,7 +18883,7 @@ function LS(e) {
|
|
|
18877
18883
|
const { scrollHeight: r, scrollWidth: i } = document.documentElement, { bottom: s, left: o, right: l, top: c } = t.getBoundingClientRect();
|
|
18878
18884
|
return s <= 0 || o >= i || l <= 0 || c >= r;
|
|
18879
18885
|
}
|
|
18880
|
-
class
|
|
18886
|
+
class $S {
|
|
18881
18887
|
constructor(t) {
|
|
18882
18888
|
this.hotKeysBehavior = new _S(), this.filter = new CS(), this.downloadManager = new wS(), this._grid = null, this._grouping = {}, this._isActive = !1, this._isEdited = !1, this._lastActiveCell = { row: 0, cell: 0 }, this._observers = [], this._printer = new NS();
|
|
18883
18889
|
const { downloadManager: r, filter: i, hotKeys: s, id: o, name: l, printer: c } = t;
|
|
@@ -18954,10 +18960,12 @@ class FS extends ha {
|
|
|
18954
18960
|
}
|
|
18955
18961
|
new FS();
|
|
18956
18962
|
export {
|
|
18957
|
-
|
|
18963
|
+
zS as DecoratorColumnFilter,
|
|
18958
18964
|
SS as DecoratorFilter,
|
|
18959
18965
|
NS as DefaultPrinter,
|
|
18960
18966
|
HS as DeletedRowsFilter,
|
|
18967
|
+
os as EColumnFiltersGroup,
|
|
18961
18968
|
bS as Filter,
|
|
18962
|
-
|
|
18969
|
+
$S as SlickTable,
|
|
18970
|
+
YS as openColumnFilter
|
|
18963
18971
|
};
|