slick-table 0.0.27 → 0.0.29
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 +42 -42
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js +42 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { DefaultPrinter, DeletedRowsFilter, SlickTable, } from './shared/lib/slickgrid';
|
|
1
|
+
export { DecoratorFilter, DefaultPrinter, DeletedRowsFilter, Filter, SlickTable, } from './shared/lib/slickgrid';
|
|
2
2
|
export type { IPrinter, ISlickTable, IColumn, IFilter, IFilterArguments, IHotKeysBehavior, } from './shared/model/types';
|
package/dist/index.es.js
CHANGED
|
@@ -16134,6 +16134,44 @@ class Cb {
|
|
|
16134
16134
|
set tableId(t) {
|
|
16135
16135
|
}
|
|
16136
16136
|
}
|
|
16137
|
+
class Ob {
|
|
16138
|
+
constructor(t) {
|
|
16139
|
+
this.filter = t;
|
|
16140
|
+
}
|
|
16141
|
+
getFilterFn() {
|
|
16142
|
+
const t = this.filter.getFilterFn();
|
|
16143
|
+
return (i, r) => this.filterFn(i, r) && t(i, r);
|
|
16144
|
+
}
|
|
16145
|
+
register(t, i) {
|
|
16146
|
+
this.tableId = i, this.grid = t;
|
|
16147
|
+
const r = t.getData();
|
|
16148
|
+
r.setFilter(this.getFilterFn()), r.setFilterArgs(this.args), r.refresh();
|
|
16149
|
+
}
|
|
16150
|
+
reset() {
|
|
16151
|
+
this.filter.reset();
|
|
16152
|
+
}
|
|
16153
|
+
print(t) {
|
|
16154
|
+
return this.filter.print(t);
|
|
16155
|
+
}
|
|
16156
|
+
set args(t) {
|
|
16157
|
+
this.filter.args = t;
|
|
16158
|
+
}
|
|
16159
|
+
set grid(t) {
|
|
16160
|
+
this.filter.grid = t;
|
|
16161
|
+
}
|
|
16162
|
+
set tableId(t) {
|
|
16163
|
+
this.filter.tableId = t;
|
|
16164
|
+
}
|
|
16165
|
+
get args() {
|
|
16166
|
+
return this.filter.args;
|
|
16167
|
+
}
|
|
16168
|
+
get grid() {
|
|
16169
|
+
return this.filter.grid;
|
|
16170
|
+
}
|
|
16171
|
+
get tableId() {
|
|
16172
|
+
return this.filter.tableId;
|
|
16173
|
+
}
|
|
16174
|
+
}
|
|
16137
16175
|
class Sb extends aa {
|
|
16138
16176
|
constructor() {
|
|
16139
16177
|
super(...arguments), this.columnId = "", this.group = ss.Text, this.target = null, this.x = 0, this.y = 0;
|
|
@@ -18709,7 +18747,7 @@ function xb(e) {
|
|
|
18709
18747
|
const { scrollHeight: i, scrollWidth: r } = document.documentElement, { bottom: s, left: o, right: l, top: c } = t.getBoundingClientRect();
|
|
18710
18748
|
return s <= 0 || o >= r || l <= 0 || c >= i;
|
|
18711
18749
|
}
|
|
18712
|
-
class
|
|
18750
|
+
class Ab {
|
|
18713
18751
|
constructor(t) {
|
|
18714
18752
|
this.hotKeysBehavior = new wb(), this.filter = new Cb(), this.downloadManager = new vb(), this._grid = null, this._grouping = {}, this._isActive = !1, this._isEdited = !1, this._lastActiveCell = { row: 0, cell: 0 }, this._observers = [], this._printer = new Tb();
|
|
18715
18753
|
const { downloadManager: i, filter: r, hotKeys: s, id: o, name: l, printer: c } = t;
|
|
@@ -18786,7 +18824,9 @@ class Db extends aa {
|
|
|
18786
18824
|
}
|
|
18787
18825
|
new Db();
|
|
18788
18826
|
export {
|
|
18827
|
+
Ob as DecoratorFilter,
|
|
18789
18828
|
Tb as DefaultPrinter,
|
|
18790
18829
|
Pb as DeletedRowsFilter,
|
|
18791
|
-
|
|
18830
|
+
_b as Filter,
|
|
18831
|
+
Ab as SlickTable
|
|
18792
18832
|
};
|