@yesilyazilim/web.spa 1.1.16 → 1.1.18
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.js +14 -5
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +3 -1
- package/types.d.ts.map +1 -1
package/index.js
CHANGED
|
@@ -4914,7 +4914,7 @@ let $0415fe1c7b6a7c9c$export$181f40ec41159e56 = class DropdownButton extends (0,
|
|
|
4914
4914
|
const btnList = new (0, $5786e9760f3ab83e$export$a583f905da3ed349)({
|
|
4915
4915
|
orientation: 'vertical'
|
|
4916
4916
|
});
|
|
4917
|
-
this._dropDown = new (0, $4eb86fb8e262138f$export$931cbfb6bfb85fc)(btnList);
|
|
4917
|
+
this._dropDown = new (0, $4eb86fb8e262138f$export$931cbfb6bfb85fc)(btnList, props.widthMode || 'auto', props.rightAligned || false);
|
|
4918
4918
|
for (const child of props.children){
|
|
4919
4919
|
const hasAuth = this._authService.hasAuth(child.auth);
|
|
4920
4920
|
const btn = (0, $94579973dd0f02f3$export$624631f482c54f59).Buttons.fromButtonInfo(child, null, (ev, btn)=>{
|
|
@@ -7946,11 +7946,19 @@ let $1b4e3c1abfa7ee85$export$df30df7ec97b32b5 = class DataTable extends (0, $ea0
|
|
|
7946
7946
|
setStaticFilter(staticfilter) {
|
|
7947
7947
|
if (staticfilter == this._staticFilter) return;
|
|
7948
7948
|
this._staticFilter = staticfilter;
|
|
7949
|
-
this.
|
|
7949
|
+
this.refreshRemoteData();
|
|
7950
7950
|
}
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
|
|
7951
|
+
refreshRemoteData() {
|
|
7952
|
+
this.applyFilterGroup({
|
|
7953
|
+
key: '_refresh',
|
|
7954
|
+
andFilters: [
|
|
7955
|
+
{
|
|
7956
|
+
field: 'dummy__',
|
|
7957
|
+
type: '=',
|
|
7958
|
+
value: Date.now()
|
|
7959
|
+
}
|
|
7960
|
+
]
|
|
7961
|
+
});
|
|
7954
7962
|
}
|
|
7955
7963
|
_createTabulatorFilterFromActiveGroups() {
|
|
7956
7964
|
const andFilters = [];
|
|
@@ -8615,6 +8623,7 @@ let $1b4e3c1abfa7ee85$export$df30df7ec97b32b5 = class DataTable extends (0, $ea0
|
|
|
8615
8623
|
si.staticFilter = this._staticFilter;
|
|
8616
8624
|
const transformFilter = (f, arr)=>{
|
|
8617
8625
|
let rField = f.field;
|
|
8626
|
+
if (rField == 'dummy__') return;
|
|
8618
8627
|
if (rField.startsWith('_')) rField = rField.substring(1);
|
|
8619
8628
|
arr.push({
|
|
8620
8629
|
field: rField,
|