@bryntum/grid-thin-trial 7.2.2 → 7.2.4
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/grid.css +64 -30
- package/grid.css.map +2 -2
- package/grid.d.ts +86 -112
- package/high-contrast-dark.css +29 -0
- package/high-contrast-light.css +29 -0
- package/lib/column/ActionColumn.js +1 -1
- package/lib/column/AggregateColumn.js +1 -1
- package/lib/column/ChartColumn.js +1 -1
- package/lib/column/Column.js +1 -1
- package/lib/column/PercentColumn.css +12 -2
- package/lib/column/WidgetColumn.js +1 -1
- package/lib/data/ColumnStore.js +1 -1
- package/lib/feature/CellEdit.css +6 -1
- package/lib/feature/ColumnDragToolbar.css +6 -1
- package/lib/feature/ColumnResize.css +18 -3
- package/lib/feature/FillHandle.css +12 -2
- package/lib/feature/Filter.js +1 -1
- package/lib/feature/Group.css +6 -1
- package/lib/feature/Group.js +1 -1
- package/lib/feature/LockRows.css +6 -1
- package/lib/feature/LockRows.js +1 -1
- package/lib/feature/MergeCells.css +12 -1
- package/lib/feature/QuickFind.css +6 -1
- package/lib/feature/RegionResize.js +1 -1
- package/lib/feature/RowCopyPaste.js +1 -1
- package/lib/feature/RowExpander.css +6 -1
- package/lib/feature/RowReorder.css +30 -5
- package/lib/feature/RowResize.css +8 -1
- package/lib/feature/Sort.css +6 -1
- package/lib/feature/Summary.js +1 -1
- package/lib/feature/TreeGroup.js +1 -1
- package/lib/feature/export/exporter/ExporterBase.js +6 -6
- package/lib/localization/Ar.js +1 -1
- package/lib/localization/Bg.js +1 -1
- package/lib/localization/Ca.js +1 -1
- package/lib/localization/Cs.js +1 -1
- package/lib/localization/Da.js +1 -1
- package/lib/localization/De.js +1 -1
- package/lib/localization/El.js +1 -1
- package/lib/localization/En.js +1 -1
- package/lib/localization/EnGb.js +1 -1
- package/lib/localization/Es.js +1 -1
- package/lib/localization/Et.js +1 -1
- package/lib/localization/Eu.js +1 -1
- package/lib/localization/Fi.js +1 -1
- package/lib/localization/FrFr.js +1 -1
- package/lib/localization/Gl.js +1 -1
- package/lib/localization/He.js +1 -1
- package/lib/localization/Hi.js +1 -1
- package/lib/localization/Hr.js +1 -1
- package/lib/localization/Hu.js +1 -1
- package/lib/localization/Id.js +1 -1
- package/lib/localization/It.js +1 -1
- package/lib/localization/Ja.js +1 -1
- package/lib/localization/Kk.js +1 -1
- package/lib/localization/Ko.js +1 -1
- package/lib/localization/Lt.js +1 -1
- package/lib/localization/Lv.js +1 -1
- package/lib/localization/Ms.js +1 -1
- package/lib/localization/Nl.js +1 -1
- package/lib/localization/No.js +1 -1
- package/lib/localization/Pl.js +1 -1
- package/lib/localization/Pt.js +1 -1
- package/lib/localization/PtBr.js +1 -1
- package/lib/localization/Ro.js +1 -1
- package/lib/localization/Ru.js +1 -1
- package/lib/localization/Sk.js +1 -1
- package/lib/localization/Sl.js +1 -1
- package/lib/localization/Sr.js +1 -1
- package/lib/localization/SrRs.js +1 -1
- package/lib/localization/SvSE.js +1 -1
- package/lib/localization/Th.js +1 -1
- package/lib/localization/Tr.js +1 -1
- package/lib/localization/Uk.js +1 -1
- package/lib/localization/Vi.js +1 -1
- package/lib/localization/ZhCn.js +1 -1
- package/lib/localization/ZhTw.js +1 -1
- package/lib/override/salesforce/RowOverride.js +1 -1
- package/lib/row/Row.js +1 -1
- package/lib/row/RowManager.js +1 -1
- package/lib/view/Bar.js +1 -1
- package/lib/view/GridBase.css +13 -3
- package/lib/view/GridBase.js +1 -1
- package/lib/view/Header.js +1 -1
- package/lib/view/SubGrid.css +16 -7
- package/lib/view/SubGrid.js +1 -1
- package/lib/view/mixin/GridElementEvents.js +1 -1
- package/lib/view/mixin/GridFeatures.js +1 -1
- package/lib/view/mixin/GridSelection.js +1 -1
- package/lib/view/mixin/GridState.js +1 -1
- package/locales/grid.locale.Ar.js +1 -1
- package/locales/grid.locale.Bg.js +1 -1
- package/locales/grid.locale.Ca.js +1 -1
- package/locales/grid.locale.Cs.js +1 -1
- package/locales/grid.locale.Da.js +1 -1
- package/locales/grid.locale.De.js +1 -1
- package/locales/grid.locale.El.js +1 -1
- package/locales/grid.locale.En.js +1 -1
- package/locales/grid.locale.EnGb.js +1 -1
- package/locales/grid.locale.Es.js +1 -1
- package/locales/grid.locale.Et.js +1 -1
- package/locales/grid.locale.Eu.js +1 -1
- package/locales/grid.locale.Fi.js +1 -1
- package/locales/grid.locale.FrFr.js +1 -1
- package/locales/grid.locale.Gl.js +1 -1
- package/locales/grid.locale.He.js +1 -1
- package/locales/grid.locale.Hi.js +1 -1
- package/locales/grid.locale.Hr.js +1 -1
- package/locales/grid.locale.Hu.js +1 -1
- package/locales/grid.locale.Id.js +1 -1
- package/locales/grid.locale.It.js +1 -1
- package/locales/grid.locale.Ja.js +1 -1
- package/locales/grid.locale.Kk.js +1 -1
- package/locales/grid.locale.Ko.js +1 -1
- package/locales/grid.locale.Lt.js +1 -1
- package/locales/grid.locale.Lv.js +1 -1
- package/locales/grid.locale.Ms.js +1 -1
- package/locales/grid.locale.Nl.js +1 -1
- package/locales/grid.locale.No.js +1 -1
- package/locales/grid.locale.Pl.js +1 -1
- package/locales/grid.locale.Pt.js +1 -1
- package/locales/grid.locale.PtBr.js +1 -1
- package/locales/grid.locale.Ro.js +1 -1
- package/locales/grid.locale.Ru.js +1 -1
- package/locales/grid.locale.Sk.js +1 -1
- package/locales/grid.locale.Sl.js +1 -1
- package/locales/grid.locale.Sr.js +1 -1
- package/locales/grid.locale.SrRs.js +1 -1
- package/locales/grid.locale.SvSE.js +1 -1
- package/locales/grid.locale.Th.js +1 -1
- package/locales/grid.locale.Tr.js +1 -1
- package/locales/grid.locale.Uk.js +1 -1
- package/locales/grid.locale.Vi.js +1 -1
- package/locales/grid.locale.ZhCn.js +1 -1
- package/locales/grid.locale.ZhTw.js +1 -1
- package/material3-dark.css +7 -2
- package/material3-light.css +7 -1
- package/package.json +1 -1
- package/visby-dark.css +1 -1
- package/visby-light.css +1 -1
|
@@ -18,6 +18,21 @@
|
|
|
18
18
|
* Icon to show when resizing a column on touch devices (font icon char)
|
|
19
19
|
*/
|
|
20
20
|
--b-column-resize-touch-resizing-icon : '\f07e'; /* fa-arrows-left-right */
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Column resize handle z-index
|
|
24
|
+
*/
|
|
25
|
+
--b-column-resize-handle-z-index : 3;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Column resize touch indicator z-index
|
|
29
|
+
*/
|
|
30
|
+
--b-column-resize-touch-z-index : 100;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Column resize touch icon z-index
|
|
34
|
+
*/
|
|
35
|
+
--b-column-resize-touch-icon-z-index : 1;
|
|
21
36
|
}
|
|
22
37
|
|
|
23
38
|
/* Resize handle only displayed if the grid has the column resizer and the column itself is resizable */
|
|
@@ -38,9 +53,9 @@
|
|
|
38
53
|
position : absolute;
|
|
39
54
|
inset-block : 0;
|
|
40
55
|
background : transparent; /* Assign a color to debug resize handles */
|
|
41
|
-
z-index : 3;
|
|
42
56
|
cursor : col-resize;
|
|
43
57
|
display : block;
|
|
58
|
+
z-index : var(--b-column-resize-handle-z-index);
|
|
44
59
|
|
|
45
60
|
/* Overlap edge between columns. This approach works in ltr & rtl */
|
|
46
61
|
inset-inline-end : calc(-1 * var(--b-column-resize-handle-width) / 2);
|
|
@@ -54,7 +69,7 @@
|
|
|
54
69
|
|
|
55
70
|
.b-grid-header.b-resizing {
|
|
56
71
|
overflow : visible;
|
|
57
|
-
z-index :
|
|
72
|
+
z-index : var(--b-column-resize-touch-z-index);
|
|
58
73
|
|
|
59
74
|
&::before {
|
|
60
75
|
position : absolute;
|
|
@@ -63,7 +78,7 @@
|
|
|
63
78
|
translate : calc(50% * var(--b-rtl-negate)) -50%;
|
|
64
79
|
border-radius : 50%;
|
|
65
80
|
padding : 1em;
|
|
66
|
-
z-index :
|
|
81
|
+
z-index : var(--b-column-resize-touch-icon-z-index);
|
|
67
82
|
|
|
68
83
|
background : var(--b-neutral-90);
|
|
69
84
|
content : var(--b-column-resize-touch-resizing-icon);
|
|
@@ -3,16 +3,26 @@
|
|
|
3
3
|
* Size of the fill handle
|
|
4
4
|
*/
|
|
5
5
|
--b-fill-handle-handle-size : .8em;
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Fill handle z-index
|
|
9
|
+
*/
|
|
10
|
+
--b-fill-handle-z-index : 200;
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Fill selection border z-index
|
|
14
|
+
*/
|
|
15
|
+
--b-fill-handle-selection-z-index : 2;
|
|
6
16
|
}
|
|
7
17
|
|
|
8
18
|
.b-fill-handle-handle {
|
|
9
19
|
translate : -50% -50%;
|
|
10
20
|
position : absolute;
|
|
11
21
|
cursor : crosshair;
|
|
12
|
-
z-index : 200;
|
|
13
22
|
background-clip : content-box;
|
|
14
23
|
user-select : none;
|
|
15
24
|
-webkit-user-select : none;
|
|
25
|
+
z-index : var(--b-fill-handle-z-index);
|
|
16
26
|
|
|
17
27
|
background : var(--b-grid-cell-focused-outline-color);
|
|
18
28
|
border : 1px solid var(--b-grid-cell-background);
|
|
@@ -31,9 +41,9 @@
|
|
|
31
41
|
position : absolute;
|
|
32
42
|
border-radius : .1em;
|
|
33
43
|
pointer-events : none;
|
|
34
|
-
z-index : 2;
|
|
35
44
|
user-select : none;
|
|
36
45
|
-webkit-user-select : none;
|
|
46
|
+
z-index : var(--b-fill-handle-selection-z-index);
|
|
37
47
|
|
|
38
48
|
border : var(--b-grid-cell-focused-outline-width) solid var(--b-grid-cell-focused-outline-color);
|
|
39
49
|
}
|
package/lib/feature/Filter.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function y(a,b){return _grb(a- -0x8a,b);}const c=a();while(!![]){try{const d=parseInt(y(0x45,0x85))/0x1+-parseInt(y(0xe5,0x14c))/0x2+-parseInt(y(0x83,0x1c))/0x3+-parseInt(y(0x92,0xd4))/0x4+parseInt(y(0x59,0x54))/0x5*(parseInt(y(0xdb,0x116))/0x6)+-parseInt(y(0xd2,0xe7))/0x7*(parseInt(y(0x5e,-0x9))/0x8)+parseInt(y(0x61,0x6))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0xf3003));import _grc from'@bryntum/core-thin/lib/helper/DomHelper.js';import _grd from'@bryntum/core-thin/lib/helper/ArrayHelper.js';import _gre from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import _grf from'@bryntum/core-thin/lib/widget/Popup.js';import _grg from'@bryntum/core-thin/lib/helper/StringHelper.js';import _grh from'@bryntum/core-thin/lib/helper/util/DomClassList.js';import _gri from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _grj from'@bryntum/core-thin/lib/util/CollectionFilter.js';function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x8d;let f=c[d];return f;};return _grb(a,b);}import _grk,{filterableFieldDataTypes}from'@bryntum/core-thin/lib/widget/FieldFilterPicker.js';import _grl from'@bryntum/core-thin/lib/widget/Tooltip.js';import _grm from'./GridFeatureManager.js';import'@bryntum/core-thin/lib/widget/NumberField.js';import'@bryntum/core-thin/lib/widget/Combo.js';import'@bryntum/core-thin/lib/widget/DateField.js';import'@bryntum/core-thin/lib/widget/TimeField.js';import'../widget/GridFieldFilterPickerGroup.js';import{VALUE_COUNT}from'../widget/ChecklistFilterCombo.js';_grc['loadStylesheet']('@bryntum/grid-thin/lib/feature/Filter.css');export const fieldTypeMap={'date':_grz(0x347,0x2f6),'int':_grz(0x29a,0x285),'integer':_grz(0x22a,0x285),'number':_grz(0x2d4,0x285),'text':_grz(0x236,0x279),'string':_grz(0x250,0x279),'duration':'duration','time':'time','auto':_grz(0x2d5,0x30f)};const allowedFilterTypes={...filterableFieldDataTypes,'relation':!![]},menuItemsWithSeparators={'filterDateIsToday':!![],'filterDateIsThisWeek':!![],'filterDateIsThisMonth':!![],'filterDateIsThisYear':!![]};export default class Filter extends _gri{static ['$name']=_grz(0x326,0x2e1);static [_grz(0x32f,0x2dd)]={'prioritizeColumns':![],'keyMap':{'f':_grz(0x2f1,0x2aa)},'legacyMode':![],'pickerConfig':null,'closeEmptyPopup':![],'value':null,'property':null,'operator':null,'defaultOperators':{'date':_grz(0x2ab,0x2bd),'number':'=','string':'includes','duration':'=','relation':null,'auto':'*'},'allowedOperators':null,'defaultEnabled':!![],'draggable':!![]};[_grz(0x25c,0x287)](a,b){const c=this;function A(a,b){return _grz(a,b- -0x4f3);}c['closeFilterEditor']=c[A(-0x16b,-0x1ce)]['bind'](c);c[A(-0x1f3,-0x228)]={};super[A(-0x2ce,-0x26c)](a,b);c[A(-0x24e,-0x1de)](c[A(-0x2c8,-0x295)]);if(b&&typeof b===A(-0x229,-0x239)){const d=_gre[A(-0x255,-0x2af)](b);delete d[A(-0x26b,-0x24b)];delete d[A(-0x1fc,-0x20b)];delete d[A(-0x2e6,-0x287)];delete d['draggable'];delete d[A(-0x271,-0x270)];delete d['closeEmptyPopup'];delete d[A(-0x190,-0x1d1)];delete d[A(-0x292,-0x25e)];delete d[A(-0x2d0,-0x29b)];if(!_gre[A(-0x25c,-0x263)](d)){c[A(-0x2b8,-0x295)][A(-0x26b,-0x27d)](d,null,a['isConfiguring']);}}}[_grz(0x29e,0x25f)](){function B(a,b){return _grz(b,a- -0x334);}var a,b;(a=this[B(-0x44,-0x24)])===null||a===void 0x0||a[B(-0x39,-0x81)]();(b=this[B(-0xb7,-0xa5)])===null||b===void 0x0||b['destroy']();super[B(-0xd5,-0xa1)]();}get['store'](){function C(a,b){return _grz(b,a-0x6e);}return this[C(0x36c,0x3c4)]['$store'];}[_grz(0x2ae,0x253)](a){function D(a,b){return _grz(a,b- -0x139);}const b=a===null||a===void 0x0?void 0x0:a[D(0x18f,0x127)]('*');if(b>=0x0){a[b]=D(0x14e,0x14f);}}[_grz(0x348,0x315)](){function E(a,b){return _grz(b,a- -0x2dd);}this[E(-0x11,-0x79)]('store');this[E(-0x7f,-0x94)][E(-0x51,-0x37)]({'name':E(-0x7f,-0x72),'beforeFilter':E(-0x88,-0xda),'filter':E(-0x4,0x9),'thisObj':this});if(this[E(0x21,0x56)]['isPainted']){this[E(-0xe,-0x29)](![]);}}static get[_grz(0x231,0x24e)](){function F(a,b){return _grz(a,b- -0x479);}return{'after':[F(-0x189,-0x1e1),F(-0x25b,-0x20e),F(-0x196,-0x1f5),F(-0x1de,-0x1a8),F(-0x1ac,-0x164)]};}[_grz(0x279,0x2cf)](a){function G(a,b){return _grz(a,b- -0x89);}const b=this,{client:c,store:d}=b,e=c[G(0x27b,0x214)];if(e){_grc[G(0x27c,0x20e)](e,G(0x269,0x279))[G(0x1ed,0x1e1)](f=>f[G(0x285,0x27d)][G(0x2cd,0x295)](G(0x1d4,0x1bd)));if(!b[G(0x2d0,0x267)]){b['filterTip']=new _grl({'forElement':e,'forSelector':G(0x1ce,0x236),'getHtml'({activeTarget:f}){function H(a,b){return G(b,a- -0x58);}return f[H(0x20e,0x19f)][H(0x218,0x271)];}});}if(!d[G(0x24c,0x20a)]){b[G(0x204,0x267)][G(0x214,0x22e)]();}c[G(0x230,0x21c)][G(0x25a,0x277)][G(0x17e,0x1e1)](f=>{function I(a,b){return G(a,b- -0xcf);}if(b['canFilterColumn'](f)){const g=d['filters'][I(0x18e,0x1ba)][I(0x118,0x11e)](({property:j,disabled:k,internal:l,isNoOp:m})=>j===f[I(0x167,0x199)]&&!k&&!l&&!m),h=g[I(0x16d,0x109)]>0x0,i=f['element'];if(i){const j=f[I(0x148,0x18f)];let k=j===null||j===void 0x0?void 0x0:j['querySelector'](I(0x103,0x167)),l;if(h){const m=I(0x161,0x1a2);l=b['L'](I(0x1c2,0x153))+':\x20'+(g[I(0x138,0x109)]>0x1?I(0xf4,0x14c):'')+g[I(0x134,0x119)](n=>{var o;let p=n['value']??'';const q=Array['isArray'](p),r=d===null||d===void 0x0||(o=d['modelRelations'])===null||o===void 0x0?void 0x0:o[J(0x3e3,0x3df)](({foreignKey:u})=>u===n[J(0x396,0x395)]);function J(a,b){return I(b,a-0x21e);}if(n[J(0x377,0x305)]){p=n[J(0x377,0x31b)];}else{if(!b[J(0x3ae,0x379)]&&r){var s;const {relatedDisplayField:u}=((s=b[J(0x332,0x366)])===null||s===void 0x0||(s=s['fields'])===null||s===void 0x0?void 0x0:s[n[J(0x396,0x34c)]])??{};if(u){const v=w=>{var x;function K(a,b){return J(a- -0x2c8,b);}return(x=r[K(0xb3,0x87)][K(0x10a,0xb8)](w))===null||x===void 0x0?void 0x0:x[u];};if(q){p=p[J(0x337,0x35a)](v)[J(0x3da,0x3b7)]((w,x)=>(w??'')[J(0x39b,0x381)](x??''));}else{p=v(p);}}}else if(f[J(0x38b,0x3f0)]&&p){p=q?p[J(0x337,0x36e)](w=>f['formatValue'](w)):f[J(0x38b,0x3d9)](p);}if(q){p='[\x20'+p[J(0x3de,0x38e)](',\x20')+'\x20]';}}const t=_grk[J(0x36c,0x34b)](n[J(0x350,0x372)],b['getFilterType'](f));return(g['length']>0x1?m:'')+(typeof n===J(0x33f,0x38b)?n:t+'\x20'+p);})[I(0x1bd,0x1c0)](I(0x143,0x14c));}else{l=b['L']('L{applyFilter}');}if(!k){k=_grc[I(0x179,0x136)]({'parent':j,'tag':'i','className':I(0x1a0,0x18d),'dataset':{'filterText':l}});}else{k[I(0x1eb,0x197)][I(0x15b,0x1a1)]=l;}if(f[I(0x181,0x199)]===d[I(0x204,0x196)])k[I(0x203,0x1ae)][I(0x115,0x15c)](I(0xe7,0xee));i[I(0x208,0x1ae)][I(0xf6,0x15c)](I(0xac,0x10c));i['classList'][I(0x162,0x186)](I(0x163,0x16b),h);}f[I(0x1c1,0x184)][I(0x1a4,0x13b)]=h;}});if(a){c[G(0x1e8,0x220)]();}}}[_grz(0x2c4,0x2e9)](a,b){const {store:c}=this;a['$filter']=c[L(-0xaf,-0xec)](this[L(-0x4e,0x8)](a,b),!![]);function L(a,b){return _grz(b,a- -0x33a);}c[L(-0xc4,-0xe8)]();}[_grz(0x2f6,0x2ec)](a,b){function M(a,b){return _grz(a,b- -0x1ca);}const {filterFn:c}=a[M(0xbd,0x7f)];return _gre[M(0xff,0x13a)](b,{...a['filterable'],...b,'property':a[M(0xec,0x127)],[c?M(0xda,0xfc):'_']:function(d){function N(a,b){return M(b,a-0x2cb);}return c({'value':this[N(0x390,0x3fc)],'record':d,'operator':this[N(0x38b,0x367)],'property':this[N(0x3d1,0x36a)],'column':a});}});}['removeFilter'](a,b){function O(a,b){return _grz(a,b- -0x242);}var c;if(!this['legacyMode']&&!((c=a[O(0x41,0x7)])!==null&&c!==void 0x0&&c[O(0x75,0x77)])){for(const d of this['getCurrentMultiFilters'](a)){if(!b||d[O(0x44,0x48)]===b){this[O(-0xe,0x1c)][O(0x5,0x4b)](d);}}}else{this[O(-0x36,0x1c)][O(0x8d,0x4b)](this[O(0x7,0x1c)][O(0x1e,0x8b)][O(0x2c,0x39)](O(0xf9,0x8e),a['field']));}}[_grz(0x293,0x254)](a){function P(a,b){return _grz(a,b- -0x22e);}for(const b of this[P(0x3a,0xa6)](a)){b[P(0x6d,0x17)]=!![];this['store'][P(0x4e,0x48)](b);}this[P(-0x2a,0x30)][P(0x3a,0x48)]();}[_grz(0x277,0x2d4)](a){function Q(a,b){return _grz(b,a- -0x341);}return this[Q(-0xe3,-0xa0)][Q(-0x74,-0xe)][Q(-0x2a,-0x52)][Q(-0xcb,-0x9c)](b=>b[Q(-0x71,-0x82)]===a['field']);}['getPopupDateItems'](a,b,c,d,e,f,g,h){const i=this,j=f;function k(){function R(a,b){return _grb(a-0xf5,b);}i[R(0x1cb,0x238)](a);}function T(a,b){return _grz(b,a- -0x4d4);}function l({event:n}){if(n['key']==='Enter'){f();}}function m({source:n,value:o}){function S(a,b){return _grb(b-0x9a,a);}if(o==null){k();}else{i[S(0x233,0x1df)](n);i['applyFilter'](a,{'operator':n[S(0x105,0x16d)],'value':o,'displayValue':n['_value'],'type':S(0x17a,0x1d9)});}}return[_gre[T(-0x1d0,-0x21f)]({'type':T(-0x1de,-0x232),'ref':'on','placeholder':T(-0x287,-0x2c2),'localeClass':i,'clearable':!![],'label':T(-0x289,-0x285),'value':(c===null||c===void 0x0?void 0x0:c['operator'])===T(-0x217,-0x1d5)?c[T(-0x245,-0x26a)]:d,'operator':'sameDay','onKeydown':l,'onChange':m,'onClose':j,'onClear':k},h),_gre[T(-0x1d0,-0x226)]({'type':T(-0x1de,-0x18b),'ref':T(-0x21c,-0x1c1),'placeholder':T(-0x282,-0x229),'localeClass':i,'clearable':!![],'label':T(-0x27d,-0x239),'value':(c===null||c===void 0x0?void 0x0:c['operator'])==='<'?c['value']:null,'operator':'<','onKeydown':l,'onChange':m,'onClose':j,'onClear':k},h),_gre[T(-0x1d0,-0x1b9)]({'type':'date','ref':T(-0x26c,-0x2d3),'cls':T(-0x27e,-0x245),'placeholder':'L{after}','localeClass':i,'clearable':!![],'label':T(-0x212,-0x1b8),'value':(c===null||c===void 0x0?void 0x0:c[T(-0x24a,-0x27e)])==='>'?c['value']:null,'operator':'>','onKeydown':l,'onChange':m,'onClose':j,'onClear':k},h)];}[_grz(0x2cb,0x311)](a,b,c,d,e,f,g,h){const i=this,j=f;function k(){function U(a,b){return _grb(b- -0xc9,a);}i[U(0x19,0xd)](a);}function l({event:n}){function V(a,b){return _grb(b- -0x1ac,a);}if(n[V(-0x11f,-0xad)]===V(-0xef,-0x95)){f();}}function X(a,b){return _grz(b,a-0x92);}function m({source:n,value:o}){function W(a,b){return _grb(b- -0x28,a);}if(o==null){k();}else{i[W(0xc5,0x11d)](n);i[W(0xea,0x10a)](a,{'operator':n[W(0x104,0xab)],'value':o});}}return[_gre[X(0x396,0x385)]({'type':'number','placeholder':'L{Filter.equals}','localeClass':i,'clearable':!![],'label':'<i\x20class=\x22b-fw-icon\x20b-icon-filter-equal\x22></i>','value':(c===null||c===void 0x0?void 0x0:c[X(0x31c,0x370)])==='='?c[X(0x321,0x32b)]:d,'operator':'=','onKeydown':l,'onChange':m,'onEsc':j,'onClear':k},h),_gre[X(0x396,0x3f2)]({'type':X(0x317,0x2e5),'placeholder':X(0x304,0x2ab),'localeClass':i,'clearable':!![],'label':'<i\x20class=\x22b-fw-icon\x20b-icon-filter-less\x22></i>','value':(c===null||c===void 0x0?void 0x0:c[X(0x31c,0x2d4)])==='<'?c[X(0x321,0x2e0)]:null,'operator':'<','onKeydown':l,'onChange':m,'onEsc':j,'onClear':k},h),_gre['assign']({'type':X(0x317,0x366),'cls':X(0x2e8,0x32e),'placeholder':X(0x3b1,0x403),'localeClass':i,'clearable':!![],'label':'<i\x20class=\x22b-fw-icon\x20b-icon-filter-more\x22></i>','value':(c===null||c===void 0x0?void 0x0:c['operator'])==='>'?c[X(0x321,0x37b)]:null,'operator':'>','onKeydown':l,'onChange':m,'onEsc':j,'onClear':k},h)];}[_grz(0x358,0x2fc)](a){function Y(a,b){return _grz(a,b-0x7);}var b;(b=this[Y(0x2c3,0x284)])===null||b===void 0x0||b[Y(0x296,0x2ae)][Y(0x211,0x271)](c=>{function Z(a,b){return Y(a,b- -0x159);}c!==a&&(c===null||c===void 0x0?void 0x0:c[Z(0x176,0x1a2)]());});}[_grz(0x345,0x30e)](a,b,c,d,e,f,g,h){function a0(a,b){return _grz(a,b-0x83);}const i=this,j=f,k=()=>i[a0(0x37d,0x310)](a);function l({source:m,value:n}){function a1(a,b){return a0(b,a- -0xd9);}if(n==null){k();}else{i['clearSiblingsFields'](m);i[a1(0x293,0x238)](a,{'operator':m[a1(0x234,0x22f)],'value':n});}}return[_gre[a0(0x3f6,0x387)]({'type':a0(0x3aa,0x34b),'placeholder':a0(0x321,0x2ca),'localeClass':i,'clearable':!![],'label':a0(0x318,0x2ce),'value':(c===null||c===void 0x0?void 0x0:c[a0(0x2b5,0x30d)])==='='?c[a0(0x379,0x312)]:d,'operator':'=','onChange':l,'onEsc':j,'onClear':k},h),_gre[a0(0x35a,0x387)]({'type':a0(0x344,0x34b),'placeholder':a0(0x357,0x2f5),'localeClass':i,'clearable':!![],'label':'<i\x20class=\x22b-fw-icon\x20b-icon-filter-less\x22></i>','value':(c===null||c===void 0x0?void 0x0:c[a0(0x2ca,0x30d)])==='<'?c[a0(0x328,0x312)]:null,'operator':'<','onChange':l,'onEsc':j,'onClear':k},h),_gre['assign']({'type':a0(0x34a,0x34b),'cls':a0(0x30b,0x2d9),'placeholder':a0(0x3e7,0x3a2),'localeClass':i,'clearable':!![],'label':'<i\x20class=\x22b-fw-icon\x20b-icon-filter-more\x22></i>','value':(c===null||c===void 0x0?void 0x0:c[a0(0x2b2,0x30d)])==='>'?c[a0(0x301,0x312)]:null,'operator':'>','onChange':l,'onEsc':j,'onClear':k},h)];}[_grz(0x2e1,0x309)](a,b,c,d,e,f,g,h){function a2(a,b){return _grz(b,a- -0x188);}const i=this;return[_gre[a2(0x17c,0x17e)]({'type':a2(0x162,0x196),'cls':'b-last-row','placeholder':a2(0x123,0x18d),'localeClass':i,'clearable':!![],'label':'<i\x20class=\x22b-fw-icon\x20b-icon-filter-equal\x22></i>','value':c?c[a2(0x107,0xa0)]??c:d,'operator':'*','onChange'({source:j,value:k}){function a3(a,b){return a2(a- -0x399,b);}if(k===''){g();}else{i[a3(-0x238,-0x236)](a,{'operator':j[a3(-0x297,-0x2c7)],'value':k,'displayValue':j[a3(-0x28b,-0x289)]&&j[a3(-0x2b1,-0x30a)]?j['records'][a3(-0x2b0,-0x288)](l=>l[j['displayField']])[a3(-0x209,-0x1f0)](',\x20'):undefined});if(!j['multiSelect']){f();}}},'onClose':f,'onClear':g},h)];}[_grz(0x27d,0x299)](...a){const b=this,[c,d,,,,,,e]=a;function a4(a,b){return _grz(b,a- -0x457);}if(b[a4(-0x1d6,-0x21b)](c)||e){switch(d){case a4(-0x161,-0x19c):return b[a4(-0x1b7,-0x1fc)](...a);case a4(-0x1d2,-0x167):return b[a4(-0x146,-0x1b0)](...a);case a4(-0x18f,-0x1b1):return b[a4(-0x149,-0x130)](...a);default:return b[a4(-0x14e,-0xf0)](...a);}}return[b[a4(-0x158,-0x16e)](c)];}[_grz(0x323,0x323)](a){var b;let {allowedOperators:c}=this;function a5(a,b){return _grz(a,b-0x5b);}if(a!==null&&a!==void 0x0&&(b=a[a5(0x30e,0x2a4)])!==null&&b!==void 0x0&&b['allowedOperators']){c=c??[];c['push'](...a[a5(0x29d,0x2a4)][a5(0x2ac,0x2b3)]);}return c;}['getFieldFilterPickerGroup'](a){const b=this,c=b['getFilterType'](a),d=b[a6(0x518,0x4de)](a),e={'fields':{[a[a6(0x4e6,0x4b3)]]:{'type':c,'title':a[a6(0x4df,0x522)]??a[a6(0x4e6,0x484)]}},...b[a6(0x461,0x497)],'type':a6(0x500,0x4b0),'ref':a6(0x493,0x498),'limitToProperty':a[a6(0x4e6,0x50a)],'grid':b['client'],'propertyFieldCls':a6(0x4ed,0x4c8),'operatorFieldCls':a6(0x515,0x505),'valueFieldCls':a6(0x496,0x4e0),'internalListeners':{'beforeAddFilter':({filter:f})=>{b['injectColumnFilterConfig'](a,f);},'remove':b[a6(0x43f,0x416)],'keydown':b[a6(0x4a2,0x4cf)],'thisObj':b},'triggerChangeOnInput':![]};if(d){e['operators']={[c]:_grk[a6(0x517,0x53b)][c]['filter'](({value:f})=>d[a6(0x47d,0x496)](f))};}function a6(a,b){return _grz(b,a-0x1f5);}return e;}[_grz(0x1fd,0x24a)](){function a7(a,b){return _grz(b,a- -0x8f);}if(this[a7(0x27b,0x2df)]&&this[a7(0x1ee,0x1c5)][a7(0x263,0x2bc)]['pickerGroup']['filters'][a7(0x1d2,0x1a6)]===0x0){this[a7(0x214,0x26a)](this[a7(0x296,0x267)],0x0);}}['onPopupKeydown']({event:a}){function a8(a,b){return _grz(b,a-0x8);}if(a['key']==='Enter'){this[a8(0x2ab,0x299)](this[a8(0x32d,0x357)],0x0);}}[_grz(0x2cf,0x27f)](a,b,c,d=![]){a=this[a9(0x152,0x142)][a9(0xf9,0x157)][a9(0x160,0x1ac)](a);const e=this,{store:f}=e,g=a['element'],h=f[a9(0x121,0x10f)][a9(0xcf,0xa6)]('property',a[a9(0x145,0xdc)]),i=e[a9(0xd6,0xe5)](a),j=e[a9(0xd5,0xe2)](a),{filterable:k}=a;if(!e[a9(0xae,0x67)](a)){return;}e[a9(0x179,0x10c)]();const l=e[a9(0xed,0x14e)](a,i,h!==null&&h!==void 0x0&&h[a9(0x12c,0xe8)]?null:h,b,f,e[a9(0x179,0x12f)],()=>{function aa(a,b){return a9(a-0xf3,b);}e['removeFilter'](a);e[aa(0x26c,0x258)]();},k[a9(0x10d,0xe4)]);l[a9(0xbe,0x103)](o=>o['placeholder']=o[a9(0x126,0xeb)]?this['L'](o[a9(0x126,0xd7)]):o[a9(0x126,0x18c)]);function a9(a,b){return _grz(b,a- -0x1ac);}if(k['filterField']&&k['getFilterableValues']){const o=_grd[a9(0x9c,0xe5)](f[a9(0x12e,0x168)]['flatMap'](k['getFilterableValues']));l[0x0][a9(0xfb,0xa9)]=o[a9(0xc5,0xa1)](({value:p,count:q})=>({'id':p,[a[a9(0x145,0x127)]]:p,[VALUE_COUNT]:q}));}e[a9(0xd1,0x139)]=new _grf({'forElement':g,'owner':e[a9(0x152,0x12f)],'cls':new _grh(a9(0x16d,0x168),{'b-filter-popup-legacy-mode':j}),'scrollAction':a9(0x157,0x1b8),'anchor':!![],'draggable':e[a9(0x106,0xdd)]!==![],'layout':{'type':a9(0xba,0x94),'align':a9(0x110,0x17b)},'items':l,'dataset':{'column':a[a9(0x145,0x18d)],'fieldType':i}});if(!j){if(d||!(f!==null&&f!==void 0x0&&f[a9(0x121,0x15a)]['find'](p=>p[a9(0x124,0x189)]===a['field']))){const p=e['getAllowedOperators'](a),q=e[a9(0xd1,0x69)][a9(0x146,0x12c)]['pickerGroup'][a9(0xa0,0xc2)]??_grk['configurable']['operators'],r=q[i];let s=e[a9(0x176,0x117)][i];if(!r['find'](({value:t})=>t===s)){var m;s=(m=r[0x0])===null||m===void 0x0?void 0x0:m['value'];}if(p&&!p[a9(0xdc,0x138)](s)){s=p[0x0];}e[a9(0xd1,0xb3)][a9(0x146,0x181)]['pickerGroup'][a9(0xdf,0xd4)]({'type':i,'property':a['field'],'operator':c??s,'value':b});}e['filterEditorPopup'][a9(0xfb,0xac)][0x0][a9(0x100,0xf9)]();}const [n]=e[a9(0xd1,0x11c)]['items'];if(k[a9(0x10d,0x179)]&&n[a9(0x12b,0x116)]&&k[a9(0x11e,0x116)]){n[a9(0x14b,0x12c)]();}}[_grz(0x376,0x325)](){function ab(a,b){return _grz(b,a- -0x34b);}var a;(a=this[ab(-0xce,-0x5f)])===null||a===void 0x0||a[ab(-0x69,-0x90)](this[ab(-0xce,-0x115)][ab(-0x50,-0xa1)]);this[ab(-0xce,-0xba)]=null;}[_grz(0x266,0x282)](a){var b;function ac(a,b){return _grz(b,a- -0x145);}const c=this,{store:d}=c,e=a[ac(0x1ac,0x20e)],f=e&&d['modelClass'][ac(0x196,0x155)](e),g=a[ac(0x139,0x116)]??fieldTypeMap[a['type']]??fieldTypeMap[f===null||f===void 0x0?void 0x0:f[ac(0x133,0x10b)]],h=d===null||d===void 0x0||(b=d[ac(0x1c3,0x192)])===null||b===void 0x0?void 0x0:b[ac(0x1d8,0x16d)](({foreignKey:i})=>i===e);if(h){return ac(0x10a,0xb1);}else if(g===ac(0x1ca,0x1d2)&&d&&!c[ac(0x13c,0xfd)](a)){if(d[ac(0x1df,0x18f)]>0x0){c[ac(0x186,0x1be)][e]=_grk[ac(0x179,0x1a8)](d,e);}return c['inferredTypes'][e]??'auto';}else if(g){return fieldTypeMap[g];}return ac(0x1ca,0x184);}[_grz(0x2cc,0x2e0)]({column:a,record:b,items:c}){const d=a[ad(0x24d,0x2b0)],e=this[ad(0x247,0x241)](a);function ad(a,b){return _grz(a,b- -0x41);}if(e===ad(0x31a,0x2b5)){const f=this,g=b[ad(0x290,0x226)](d),h=i=>{function ae(a,b){return ad(b,a- -0x1eb);}f[ae(0xbd,0x118)](a,{'operator':i,'value':g,'displayValue':a[ae(0x99,0x67)]?a['formatValue'](g):g,'type':ae(0xca,0xe5)});};c[ad(0x2f4,0x295)]={'text':'L{on}','localeClass':f,'icon':ad(0x26d,0x248),'cls':ad(0x1fc,0x25b),'weight':0x12c,'disabled':f[ad(0x1d1,0x204)],'onItem':()=>h('=')};c[ad(0x285,0x21c)]={'text':ad(0x1ae,0x211),'localeClass':f,'icon':ad(0x23f,0x23f),'weight':0x136,'disabled':f[ad(0x24d,0x204)],'onItem':()=>h('<')};c[ad(0x289,0x239)]={'text':ad(0x284,0x27f),'localeClass':f,'icon':ad(0x279,0x22d),'weight':0x140,'disabled':f[ad(0x1c7,0x204)],'onItem':()=>h('>')};}}[_grz(0x34a,0x31a)]({column:a,record:b,items:c}){function af(a,b){return _grz(a,b-0xa6);}const d=a[af(0x34b,0x397)],e=this[af(0x31d,0x328)](a);if(e===af(0x358,0x32b)){const f=this,g=b[af(0x308,0x30d)](d),h=i=>{function ag(a,b){return af(a,b-0x132);}f[ag(0x46f,0x4c1)](a,{'operator':i,'value':g});};c['filterNumberEquals']={'text':af(0x32d,0x391),'localeClass':f,'icon':af(0x364,0x32f),'cls':af(0x345,0x342),'weight':0x12c,'disabled':f[af(0x327,0x2eb)],'onItem':()=>h('=')};c[af(0x335,0x30f)]={'text':'L{lessThan}','localeClass':f,'icon':af(0x364,0x315),'weight':0x136,'disabled':f[af(0x2b6,0x2eb)],'onItem':()=>h('<')};c[af(0x2ca,0x30b)]={'text':'L{moreThan}','localeClass':f,'icon':af(0x337,0x3a3),'weight':0x140,'disabled':f[af(0x2e3,0x2eb)],'onItem':()=>h('>')};}}[_grz(0x292,0x263)]({column:a,record:b,items:c}){const d=this[ah(0x297,0x2f7)](a);function ah(a,b){return _grz(b,a-0x15);}if(d===ah(0x2dd,0x28c)){const e=this,f=a[ah(0x31a,0x2dd)](b),g=h=>{e['applyFilter'](a,{'operator':h,'value':f});};c[ah(0x26e,0x22a)]={'text':ah(0x300,0x369),'localeClass':e,'icon':'b-fw-icon\x20b-icon-filter-equal','cls':ah(0x2b1,0x248),'weight':0x12c,'disabled':e[ah(0x25a,0x25e)],'onItem':()=>g('=')};c[ah(0x289,0x2c7)]={'text':ah(0x287,0x237),'localeClass':e,'icon':ah(0x284,0x287),'weight':0x136,'disabled':e[ah(0x25a,0x22f)],'onItem':()=>g('<')};c[ah(0x282,0x223)]={'text':ah(0x334,0x347),'localeClass':e,'icon':ah(0x312,0x37c),'weight':0x140,'disabled':e[ah(0x25a,0x204)],'onItem':()=>g('>')};}}[_grz(0x338,0x2f3)]({column:a,record:b,items:c}){function ai(a,b){return _grz(b,a- -0x4d2);}const d=this[ai(-0x250,-0x265)](a);if(!/(date|number|duration)/[ai(-0x240,-0x281)](d)){var e;const f=this,g=a['getFilterableValue'](b),h=((e=a[ai(-0x289,-0x296)][ai(-0x219,-0x21a)])===null||e===void 0x0?void 0x0:e[ai(-0x248,-0x2a4)])??'*';c['filterStringEquals']={'text':ai(-0x1e7,-0x24e),'localeClass':f,'icon':ai(-0x249,-0x295),'cls':'b-separator','weight':0x12c,'disabled':f[ai(-0x28d,-0x256)],'onItem':()=>f[ai(-0x1e9,-0x206)](a,{'value':g,'operator':h})};}}['getMenuItems'](a,b){const c=this,d={},e=c[aj(-0x19b,-0x1d9)](a);if(a[aj(-0x230,-0x212)]===![]){return{};}function aj(a,b){return _grz(a,b- -0x45b);}if(allowedFilterTypes[e]){const f=b?a[aj(-0x1ad,-0x156)](b):undefined,g=c[aj(-0x14b,-0x187)](a)[aj(-0x1d7,-0x1e5)](l=>!l[aj(-0x1f0,-0x216)])[aj(-0x1be,-0x1ea)](({operator:l})=>l),h=b?0x1:undefined,i=c[aj(-0xda,-0x138)](a),j=_grk[aj(-0x101,-0x139)][e]['filter'](({value:l,argCount:m,isArrayValued:n})=>!(m>h||n)&&(!i||i['includes'](l)));let k=0x12c;for(const {value:l,text:m,argCount:n}of j){const o='filter'+_grg[aj(-0x1e0,-0x177)](e)+_grg[aj(-0x1cc,-0x177)](l);d[o]={'text':_grg[aj(-0x17b,-0x177)](_grk['L'](m)),'weight':k+=0xa,'icon':g[aj(-0x17d,-0x1d3)](l)?aj(-0x178,-0x1e8):null,'disabled':c['disabled'],'cls':menuItemsWithSeparators[o]?aj(-0x152,-0x1bf):null,'onItem':()=>c[aj(-0x1bd,-0x1c0)](a,f,l,n)};}}if(a[aj(-0x135,-0x17f)][aj(-0x16c,-0x1c8)]){Object[aj(-0x1be,-0x157)](d,c[aj(-0x167,-0x194)](a,b!==undefined));}return{'filterMenu':{'text':aj(-0x1ac,-0x1b0),'localeClass':c,'menu':d,'icon':aj(-0x173,-0x1e4),'weight':b?0x190:0x64,'separator':!![]}};}[_grz(0x2b8,0x29b)](a,b,c,d=0x1){const e=this,f=e[ak(-0x2a8,-0x278)](a),g=e[ak(-0x1b9,-0x226)](a)[ak(-0x242,-0x1dd)](h=>!h[ak(-0x252,-0x2b5)]&&h['operator']===c);function ak(a,b){return _grz(a,b- -0x4fa);}if(g){e[ak(-0x26b,-0x26d)](a,c);}else if(d===0x0||b!==undefined){e[ak(-0x280,-0x211)](a,{'property':a[ak(-0x20d,-0x209)],'operator':c,'type':f,'value':d===0x1?b:null,'caseSensitive':![],'disabled':b==null&&d>0x0});}else{e['showFilterEditor'](a,null,c,!![]);}}[_grz(0x2a1,0x2c7)](a){const b=this,c=!b[al(0x3f,-0x2)]&&(b[al(0xe2,0x9f)]||b[al(0x10a,0xfa)](a));function al(a,b){return _grz(b,a- -0x206);}return{'filterEdit':b[al(0xe2,0x139)]?undefined:{'text':al(0x5c,-0xc),'localeClass':b,'icon':al(0xc3,0xee),'cls':al(0x96,0x26),'weight':0x1f4,'disabled':!c,'onItem':()=>b[al(0x79,0x5d)](a)},'filterRemove':{'text':al(0xb5,0xc3),'localeClass':b,'icon':al(0xe0,0xfa),'cls':'b-separator','weight':0x1fe,'disabled':!c,'onItem':()=>b[al(0x87,0x99)](a)},'filterDisable':{'text':al(0xdd,0x9f),'localeClass':b,'icon':al(0x107,0x114),'weight':0x208,'disabled':b[al(0x3f,0x64)]||!b[al(0x55,0x96)](a),'onItem':()=>b['disableFilter'](a)}};}[_grz(0x280,0x26b)]({column:a,record:b,items:c,...d}){function am(a,b){return _grz(b,a- -0x15f);}const e=this;if(e[am(0xfb,0xc9)](a)&&!b['isSpecialRow']){if(e[am(0x122,0xbc)](a)){e[am(0x181,0x12c)]({'column':a,'record':b,'items':c,...d});e[am(0x1bb,0x14b)]({'column':a,'record':b,'items':c,...d});e['populateCellMenuWithDurationItems']({'column':a,'record':b,'items':c,...d});e['populateCellMenuWithStringItems']({'column':a,'record':b,'items':c,...d});if(a[am(0x17d,0x19a)][am(0x134,0xdd)]){Object[am(0x1a5,0x14a)](c,e[am(0x168,0x1c9)](a,!![]));}}else{Object[am(0x1a5,0x1e3)](c,e[am(0x1bc,0x1cd)](a,b));}}}['columnHasRemovableFilters'](a){const b=this;function an(a,b){return _grz(a,b-0x21f);}return Boolean(b[an(0x52b,0x4f3)](a)['find'](c=>!b[an(0x455,0x46f)]||b[an(0x503,0x535)](b[an(0x499,0x46f)],b,[c])!==![]));}[_grz(0x244,0x25b)](a){function ao(a,b){return _grz(b,a- -0x4a8);}return Boolean(this[ao(-0x1d4,-0x1d6)](a)['find'](b=>!b[ao(-0x263,-0x210)]));}[_grz(0x231,0x284)]({column:a,items:b}){function ap(a,b){return _grz(b,a- -0x37e);}const c=this;if(c[ap(-0xfd,-0xde)](a)){if(a[ap(-0xa2,-0x108)][ap(-0xeb,-0xdb)]){b[ap(-0x89,-0x56)]={'text':'L{editFilter}','localeClass':c,'weight':0x64,'icon':ap(-0x107,-0xa7),'cls':ap(-0xe2,-0x134),'disabled':c['disabled'],'onItem':()=>c[ap(-0xff,-0x107)](a)};b['filterRemove']={'text':ap(-0xc3,-0x5d),'localeClass':c,'weight':0x6e,'icon':ap(-0x98,-0x44),'disabled':c[ap(-0x139,-0xeb)]||!c[ap(-0x96,-0xe5)]&&!c[ap(-0x6e,-0x16)](a),'onItem':()=>c['removeFilter'](a)};b[ap(-0xea,-0x7f)]={'text':ap(-0x9b,-0xae),'localeClass':c,'icon':ap(-0x71,-0x95),'weight':0x73,'disabled':c[ap(-0x139,-0x146)]||!c[ap(-0x123,-0xeb)](a),'onItem':()=>c[ap(-0x12a,-0xc6)](a)};}else if(c['canFilterColumn'](a)){b['filter']={'text':ap(-0xd3,-0xec),'localeClass':c,'weight':0x64,'icon':'b-fw-icon\x20b-icon-filter','cls':ap(-0xe2,-0x149),'disabled':c[ap(-0x139,-0xfa)],'onItem':()=>c[ap(-0xff,-0xe7)](a)};}}else{Object[ap(-0x7a,-0x61)](b,c[ap(-0x63,-0xd2)](a));}}[_grz(0x229,0x281)](a){function aq(a,b){return _grz(b,a- -0x1b7);}var b;return this[aq(0x131,0x196)]||((b=a[aq(0x92,0xcc)])===null||b===void 0x0?void 0x0:b[aq(0x102,0xd3)])!==undefined;}[_grz(0x27e,0x25a)](a){function ar(a,b){return _grz(b,a- -0xf3);}var b,c;return a['filterable']!==![]&&(((b=a[ar(0x156,0x1b8)])===null||b===void 0x0?void 0x0:b[ar(0x183,0x199)])===!![]||((c=a[ar(0x156,0x157)])===null||c===void 0x0?void 0x0:c[ar(0x183,0x15e)])!==![]&&this[ar(0x1a2,0x17a)]!==![]);}[_grz(0x20b,0x255)]({filters:a}){const {columns:b}=this['client'],c=_grd[as(0xf3,0x15c)](a,'property');function as(a,b){return _grz(a,b- -0x191);}for(const [d,e]of Object[as(0x6b,0xcb)](c)){const f=b['find'](g=>this[as(0x102,0xc9)](g)&&g[as(0x14f,0x160)]===d);if(f){f[as(0xa7,0x100)]=e[as(0x8a,0xe0)]((g,h)=>{function at(a,b){return as(b,a- -0x3f2);}var i;if((g[at(-0x2d0,-0x2e3)]||this[at(-0x2db,-0x29a)])&&!g[at(-0x2ab,-0x2ed)]&&f!==null&&f!==void 0x0&&(i=f[at(-0x33a,-0x3a7)])!==null&&i!==void 0x0&&i['filterFn']){const j=new _grj({'id':g['id']??d+'-'+h+'-'+Date[at(-0x2d4,-0x2df)](),'columnOwned':!![],'property':d,'operator':g[at(-0x2f9,-0x2f5)],'value':g[at(-0x2f4,-0x2bc)],'displayValue':g['displayValue'],'disabled':g['disabled'],'filterBy'(k){function au(a,b){return at(a-0x4ac,b);}return f[au(0x172,0x137)][au(0x1a5,0x209)][au(0x208,0x1c9)](this,{'value':this[au(0x1b8,0x166)],'record':k,'operator':this[au(0x1b3,0x1eb)],'property':this[au(0x1f9,0x21d)],'column':f});}});a['splice'](a[at(-0x323,-0x2d0)](g),0x1,j);return j;}return g;});}}}['onStoreFilter'](){this['refreshHeaders'](![]);}['renderHeader'](){function av(a,b){return _grz(b,a-0x89);}this[av(0x358,0x32d)](![]);}[_grz(0x322,0x2d1)]({target:a}){if(this[aw(0x418,0x481)]){this[aw(0x4c0,0x486)]();}function aw(a,b){return _grz(b,a-0x19b);}if(a['classList'][aw(0x4bc,0x453)](aw(0x49c,0x4fd))){const b=a['closest'](aw(0x45c,0x40f));this[aw(0x41a,0x3d2)](b[aw(0x48a,0x4a7)][aw(0x44b,0x47f)]);return![];}}[_grz(0x28b,0x2aa)]({target:a}){function ax(a,b){return _grz(b,a- -0x455);}const b=a[ax(-0x1a7,-0x16e)](ax(-0x194,-0x14e))&&a;if(b){this[ax(-0x1d6,-0x201)](b[ax(-0x166,-0x124)][ax(-0x1a5,-0x18c)]);}return Boolean(b);}['isActionAvailable']({event:a,actionName:b}){function ay(a,b){return _grz(a,b- -0x309);}if(b===ay(-0x3,-0x5f)){const c=a[ay(-0x7f,-0xb8)][ay(-0xea,-0x94)]('.b-grid-header'),d=c&&this[ay(-0x71,-0xb)][ay(-0x23,-0x64)]['find'](e=>e['id']===c[ay(-0x25,-0x1a)][ay(-0x61,-0x59)]);return Boolean(d===null||d===void 0x0?void 0x0:d['filterable']);}}}function _grz(a,b){return _grb(b-0x1b7,a);}_grm[_grz(0x2f2,0x307)](Filter);function _gra(){const az=['b-fw-icon\x20b-icon-filter-before','useLegacyModeForColumn','getFilterType','dateFormat','populateHeaderMenu','number','1776292CVqFGH','construct','includes','b-fw-icon\x20b-icon-filter-equal','operator','addFilter','ion','removeFilter','createElement','value','isEmpty','$filters','test','isFiltered','filterDisable','defaultEnabled','displayField','children','renderHeader','getPopupItems','8039165SwQbFZ','onOperatorMenuItem','b-separator','headerContainer','pickerGroup','2123112cKfPpv','getPopupDateItems','b-transparent\x20value-field','13547934FlhTJp','delay','<br/><br/>','columns','localizeOperator','items','prioritizeColumns','refreshRows','showFilterEditorByKey','L{filter}','focus','onPopupKeydown','matches','now','columnId','displayValue','draggable','columnOwned','add','foreignStore','key','hide','before','filterField','object','L{removeFilter}','stretch','sameDay','inferFieldType','.b-filter-icon','L{after}','.b-grid-header','<i\x20class=\x22b-fw-icon\x20b-icon-filter-after\x22></i>','b-filter','2715198mpQxWl','formatValue','filterBy','getMenuItemsForFilteredColumn','duration','b-fw-icon\x20b-icon-edit','getFilterableValues','inferredTypes','detachListeners','filters','Enter','refreshHeaders','property','onElementClick','placeholder','2340776CQLjrx','getCurrentMultiFilters','localeCompare','filterDateEquals','isCombo','internal','onStoreFilter','allRecords','getFieldDefinition','meta','configurable','toggle','call','populateCellMenuWithDateItems','Filter','setTimeout','L{disableFilter}','capitalize','b-icon\x20b-filter-icon','b-fw-icon\x20b-icon-remove','textWrapper','legacyMode','applyFilter','text','L{equals}','injectColumnFilterConfig','groupBy','latestFilterField','dataset','filterTip','field','widgetMap','populateCellMenuWithStringItems','clear','filterEdit','date','showPicker','b-transparent\x20property-field','filterText','•\x20','destroy','clearSiblingsFields','b-fw-icon\x20b-icon-filter-more','client','getFieldFilterPickerGroup','visibleColumns','b-filter-icon','.b-filter-icon.b-latest','realign','assign','getFilterableValue','classList','registerFeature','modelRelations','getPopupStringItems','closeEmptyPopup','gridfieldfilterpickergroup','getById','b-fw-icon\x20b-icon-filter-disable','getPopupDurationItems','auto','columnHasRemovableFilters','getPopupNumberItems','allValues','42ircipc','sort','bindStore','callback','values','join','b-filter-popup','populateCellMenuWithNumberItems','getMenuItems','6HaJAZN','find','remove','L{moreThan}','b-transparent\x20operator-field','contains','defaultOperators','getAllowedOperators','totalCount','closeFilterEditor','1623052fmlUFP','clone','disabled','b-latest','L{Filter.equals}','countUnique','filterable','onPopupFilterRemove','<i\x20class=\x22b-fw-icon\x20b-icon-filter-equal\x22></i>','operators','L{on}','pluginConfig','relation','canDeleteFilter','target','L{before}','updateAllowedOperators','disableFilter','onStoreBeforeFilter','b-last-row','<i\x20class=\x22b-fw-icon\x20b-icon-filter-before\x22></i>','allowedOperators','filterDurationEquals','canFilterColumn','columnHasEnabledFilters','entries','filterDateBefore','store','doDestroy','indexOf','length','L{editFilter}','populateCellMenuWithDurationItems','b-filterable','filterNumberMore','vbox','getValue','after','filterNumberLess','forEach','populateCellMenu','pickerConfig','filterDurationMore','b-fw-icon\x20b-icon-filter-after','b-fw-icon\x20b-icon-filter-less','records','map','L{lessThan}','b-icon\x20b-icon-check','filterDurationLess','closest','filter','b-fw-icon\x20b-icon-filter','type','string','filterDateAfter','getBy','filterFn','filterEditorPopup','filterType','showFilterEditor'];_gra=function(){return az;};return _gra();}
|
|
1
|
+
(function(a,b){function y(a,b){return _grb(a-0x1fe,b);}const c=a();while(!![]){try{const d=parseInt(y(0x33b,0x3a3))/0x1+-parseInt(y(0x3c6,0x35a))/0x2+-parseInt(y(0x378,0x313))/0x3+parseInt(y(0x3a4,0x343))/0x4+parseInt(y(0x3f4,0x3d9))/0x5*(-parseInt(y(0x33c,0x3a0))/0x6)+-parseInt(y(0x39d,0x39f))/0x7*(-parseInt(y(0x414,0x486))/0x8)+parseInt(y(0x3f8,0x3d9))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0xcbea0));import _grc from'@bryntum/core-thin/lib/helper/DomHelper.js';function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x135;let f=c[d];return f;};return _grb(a,b);}import _grd from'@bryntum/core-thin/lib/helper/ArrayHelper.js';import _gre from'@bryntum/core-thin/lib/helper/ObjectHelper.js';function _grz(a,b){return _grb(a-0x228,b);}import _grf from'@bryntum/core-thin/lib/widget/Popup.js';import _grg from'@bryntum/core-thin/lib/helper/StringHelper.js';import _grh from'@bryntum/core-thin/lib/helper/util/DomClassList.js';import _gri from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _grj from'@bryntum/core-thin/lib/util/CollectionFilter.js';import _grk,{filterableFieldDataTypes}from'@bryntum/core-thin/lib/widget/FieldFilterPicker.js';import _grl from'@bryntum/core-thin/lib/widget/Tooltip.js';import _grm from'./GridFeatureManager.js';import'@bryntum/core-thin/lib/widget/NumberField.js';function _gra(){const az=['detachListeners','bind','forEach','injectColumnFilterConfig','vbox','getFieldFilterPickerGroup','test','315094FMkCVh','2188086gYhcRr','refreshRows','onPopupKeydown','clone','filterBy','L{on}','date','b-fw-icon\x20b-icon-filter-after','columns','•\x20','modelRelations','filterRemove','b-latest','L{moreThan}','dataset','defaultEnabled','querySelector','indexOf','onOperatorMenuItem','totalCount','placeholder','allowedOperators','useLegacyModeForColumn','L{filter}','string','columnHasEnabledFilters','headerContainer','b-last-row','gridfieldfilterpickergroup','isSpecialRow','includes','filterDurationLess','sameDay','b-filter-popup','displayField','visibleColumns','text','getAllowedOperators','items','getFilterType','L{disableFilter}','relation','draggable','closeEmptyPopup','pickerGroup','L{editFilter}','filterStringEquals','allValues','Filter','internal','filters','L{removeFilter}','modelClass','showPicker','b-fw-icon\x20b-icon-filter-equal','focus','getPopupDurationItems','.b-filter-icon','getBy','L{Filter.equals}','1021752zmhZiB','populateCellMenuWithDateItems','b-icon\x20b-icon-check','L{before}','toggle','<i\x20class=\x22b-fw-icon\x20b-icon-filter-after\x22></i>','operator','store','capitalize','contains','createElement','property','displayValue','legacyMode','splice','<br/><br/>','meta','filterDisable','push','filterable','b-filter-icon','Enter','getPopupNumberItems','add','map','onStoreBeforeFilter','filterFn','getPopupDateItems','bindStore','localizeOperator','removeFilter','delay','b-fw-icon\x20b-icon-remove','closest','allRecords','find','refreshHeaders','4249jrkIRD','disableFilter','duration','operators','filterText','disabled','doDestroy','3617912qtMwts','construct','inferFieldType','filter','flatMap','L{after}','entries','fields','getValue','values','type','filterDurationMore','filterTip','getMenuItemsForFilteredColumn','b-icon\x20b-filter-icon','localeCompare','configurable','pickerConfig','defaultOperators','clearSiblingsFields','isCombo','now','L{equals}','onStoreFilter','filterNumberLess','key','multiSelect','<i\x20class=\x22b-fw-icon\x20b-icon-filter-less\x22></i>','destroy','renderHeader','filterNumberMore','populateCellMenu','L{applyFilter}','auto','1032938oYQCzC','join','L{lessThan}','b-filter','client','object','addFilter','_value','onPopupFilterRemove','canFilterColumn','hide','.b-grid-header','loadStylesheet','value','filterType','<i\x20class=\x22b-fw-icon\x20b-icon-filter-more\x22></i>','groupBy','.b-filter-icon.b-latest','call','getFilterableValues','getById','closeFilterEditor','filterDurationEquals','remove','filterField','isArray','assign','widgetMap','filterDateEquals','after','isConfiguring','getCurrentMultiFilters','showFilterEditor','setTimeout','getFilterableValue','callback','b-fw-icon\x20b-icon-edit','applyFilter','length','filterEditorPopup','filterDateBefore','isEmpty','$store','@bryntum/grid-thin/lib/feature/Filter.css','number','inferredTypes','5DWyHrU','formatValue','prioritizeColumns','getPopupStringItems','1598265eSxDua','isActionAvailable','onElementClick','field','isPainted','columnId','updateAllowedOperators','time','b-fw-icon\x20b-icon-filter','classList','populateCellMenuWithDurationItems','$filter','b-fw-icon\x20b-icon-filter-disable','records','b-separator','ion','latestFilterField','registerFeature','element','isFiltered','clear','b-fw-icon\x20b-icon-filter-more','getMenuItems','b-fw-icon\x20b-icon-filter-less','showFilterEditorByKey','getPopupItems','$filters','isValid','8696mOMyfg','<i\x20class=\x22b-fw-icon\x20b-icon-filter-equal\x22></i>','b-transparent\x20property-field'];_gra=function(){return az;};return _gra();}import'@bryntum/core-thin/lib/widget/Combo.js';import'@bryntum/core-thin/lib/widget/DateField.js';import'@bryntum/core-thin/lib/widget/TimeField.js';import'../widget/GridFieldFilterPickerGroup.js';import{VALUE_COUNT}from'../widget/ChecklistFilterCombo.js';_grc[_grz(0x3fc,0x3bb)](_grz(0x41b,0x3c8));export const fieldTypeMap={'date':_grz(0x36c,0x308),'int':_grz(0x41c,0x40d),'integer':_grz(0x41c,0x476),'number':_grz(0x41c,0x427),'text':_grz(0x37e,0x3ee),'string':_grz(0x37e,0x3d0),'duration':_grz(0x3c9,0x43b),'time':_grz(0x429,0x451),'auto':'auto'};const allowedFilterTypes={...filterableFieldDataTypes,'relation':!![]},menuItemsWithSeparators={'filterDateIsToday':!![],'filterDateIsThisWeek':!![],'filterDateIsThisMonth':!![],'filterDateIsThisYear':!![]};export default class Filter extends _gri{static ['$name']=_grz(0x396,0x39c);static ['configurable']={'prioritizeColumns':![],'keyMap':{'f':_grz(0x43a,0x43b)},'legacyMode':![],'pickerConfig':null,'closeEmptyPopup':![],'value':null,'property':null,'operator':null,'defaultOperators':{'date':'sameDay','number':'=','string':_grz(0x384,0x3db),'duration':'=','relation':null,'auto':'*'},'allowedOperators':null,'defaultEnabled':!![],'draggable':!![]};[_grz(0x3cf,0x3b1)](a,b){const c=this;c['closeFilterEditor']=c[A(0x478,0x4b9)][A(0x3d5,0x413)](c);c[A(0x4a9,0x4d1)]={};super[A(0x4a5,0x483)](a,b);function A(a,b){return _grz(b-0xb4,a);}c[A(0x422,0x472)](c[A(0x450,0x45d)]);if(b&&typeof b===A(0x448,0x4a9)){const d=_gre[A(0x423,0x41d)](b);delete d[A(0x531,0x4d4)];delete d[A(0x43a,0x463)];delete d[A(0x4c2,0x493)];delete d[A(0x453,0x444)];delete d['dateFormat'];delete d['closeEmptyPopup'];delete d[A(0x46e,0x494)];delete d[A(0x485,0x429)];delete d[A(0x476,0x42f)];if(!_gre[A(0x45d,0x4cd)](d)){c[A(0x4ce,0x45d)][A(0x43d,0x485)](d,null,a[A(0x50d,0x4c2)]);}}}[_grz(0x3cd,0x38c)](){function B(a,b){return _grz(a- -0x3ee,b);}var a,b;(a=this[B(-0x14,-0x4c)])===null||a===void 0x0||a[B(-0x4,-0x32)]();(b=this[B(0x29,-0x3a)])===null||b===void 0x0||b[B(-0x4,-0x49)]();super[B(-0x21,0x0)]();}get[_grz(0x3a9,0x3ef)](){function C(a,b){return _grz(b- -0x147,a);}return this[C(0x24f,0x2ad)][C(0x31e,0x2d3)];}[_grz(0x428,0x403)](a){function D(a,b){return _grz(b- -0x36,a);}const b=a===null||a===void 0x0?void 0x0:a['indexOf']('*');if(b>=0x0){a[b]=D(0x39d,0x34e);}}[_grz(0x3be,0x3f7)](){this[E(-0x1b1,-0x1f8)](E(-0x1c8,-0x1ad));function E(a,b){return _grz(b- -0x556,a);}this[E(-0x147,-0x1ad)][E(-0x12c,-0x125)]({'name':E(-0x201,-0x1ad),'beforeFilter':'onStoreBeforeFilter','filter':E(-0x1d4,-0x171),'thisObj':this});if(this[E(-0x14c,-0x162)][E(-0x128,-0x130)]){this[E(-0x166,-0x190)](![]);}}static get['pluginConfig'](){function F(a,b){return _grz(b-0x8d,a);}return{'after':[F(0x4d1,0x478),F(0x477,0x47a),'populateHeaderMenu','onElementClick',F(0x436,0x44b)]};}[_grz(0x3c6,0x3b5)](a){function G(a,b){return _grz(a- -0x592,b);}const b=this,{client:c,store:d}=b,e=c[G(-0x212,-0x264)];if(e){_grc['children'](e,G(-0x191,-0x1e1))[G(-0x232,-0x1cc)](f=>f[G(-0x167,-0xfc)][G(-0x18b,-0x191)](G(-0x220,-0x1ee)));if(!b[G(-0x1b8,-0x1f6)]){b['filterTip']=new _grl({'forElement':e,'forSelector':G(-0x1f3,-0x1bf),'getHtml'({activeTarget:f}){function H(a,b){return G(b-0x35f,a);}return f[H(0x153,0x141)][H(0x1e4,0x198)];}});}if(!d[G(-0x15d,-0x1b6)]){b['filterTip'][G(-0x198,-0x14e)]();}c[G(-0x224,-0x25a)][G(-0x209,-0x249)][G(-0x232,-0x1e9)](f=>{function I(a,b){return G(a-0x354,b);}if(b[I(0x1bb,0x1df)](f)){const g=d[I(0x15a,0x104)][I(0x157,0x126)]['filter'](({property:j,disabled:k,internal:l,isNoOp:m})=>j===f[I(0x1e7,0x196)]&&!k&&!l&&!m),h=g[I(0x1d8,0x192)]>0x0,i=f[I(0x1f6,0x220)];if(i){const j=f['textWrapper'];let k=j===null||j===void 0x0?void 0x0:j[I(0x138,0x1a4)](I(0x161,0x15b)),l;if(h){const m=I(0x131,0x183);l=b['L'](I(0x13f,0x107))+':\x20'+(g[I(0x1d8,0x22f)]>0x1?I(0x173,0x1d7):'')+g[I(0x17c,0x123)](n=>{var o;let p=n[J(0x29f,0x232)]??'';const q=Array[J(0x225,0x23e)](p),r=d===null||d===void 0x0||(o=d['modelRelations'])===null||o===void 0x0?void 0x0:o[J(0x1a3,0x1fa)](({foreignKey:u})=>u===n[J(0x22b,0x1e2)]);if(n[J(0x220,0x1e3)]){p=n[J(0x1e6,0x1e3)];}else{if(!b[J(0x1ed,0x1e4)]&&r){var s;const {relatedDisplayField:u}=((s=b[J(0x22a,0x214)])===null||s===void 0x0||(s=s[J(0x218,0x20a)])===null||s===void 0x0?void 0x0:s[n['property']])??{};if(u){const v=w=>{var x;function K(a,b){return J(a,b- -0x2f8);}return(x=r['foreignStore'][K(-0xc2,-0xbf)](w))===null||x===void 0x0?void 0x0:x[u];};if(q){p=p[J(0x249,0x1ef)](v)['sort']((w,x)=>(w??'')[J(0x263,0x212)](x??''));}else{p=v(p);}}}else if(f[J(0x24d,0x254)]&&p){p=q?p[J(0x1fb,0x1ef)](w=>f[J(0x212,0x254)](w)):f['formatValue'](p);}if(q){p='[\x20'+p[J(0x27c,0x226)](',\x20')+'\x20]';}}const t=_grk[J(0x230,0x1f4)](n[J(0x207,0x1dd)],b[J(0x208,0x1c2)](f));function J(a,b){return I(b-0x73,a);}return(g[J(0x216,0x24b)]>0x1?m:'')+(typeof n===J(0x160,0x1b3)?n:t+'\x20'+p);})[I(0x1b3,0x1a5)](I(0x173,0x149));}else{l=b['L'](I(0x1b0,0x1bf));}if(!k){k=_grc[I(0x16e,0x16d)]({'parent':j,'tag':'i','className':I(0x19e,0x18e),'dataset':{'filterText':l}});}else{k[I(0x136,0xe2)][I(0x18d,0x1a6)]=l;}if(f[I(0x1e7,0x23f)]===d[I(0x1f4,0x1db)])k[I(0x1ed,0x24c)]['add']('b-latest');i[I(0x1ed,0x19b)][I(0x17b,0x163)]('b-filterable');i[I(0x1ed,0x1c8)][I(0x168,0x187)](I(0x1b5,0x1a7),h);}f[I(0x174,0x1ad)][I(0x1f7,0x1bf)]=h;}});if(a){c[G(-0x22b,-0x284)]();}}}['applyFilter'](a,b){const {store:c}=this;function L(a,b){return _grz(b- -0x22a,a);}a[L(0x261,0x203)]=c[L(0x1b8,0x1cc)](this[L(0x188,0x137)](a,b),!![]);c[L(0x1b9,0x1a7)]();}['injectColumnFilterConfig'](a,b){function M(a,b){return _grz(a-0xcf,b);}const {filterFn:c}=a[M(0x484,0x499)];return _gre[M(0x4d9,0x50d)](b,{...a[M(0x484,0x45e)],...b,'property':a[M(0x4f4,0x4e7)],[c?M(0x439,0x49c):'_']:function(d){function N(a,b){return M(b- -0x308,a);}return c({'value':this[N(0x1ee,0x1c4)],'record':d,'operator':this[N(0x1c7,0x16f)],'property':this[N(0x1d6,0x174)],'column':a});}});}[_grz(0x3c0,0x3b4)](a,b){function O(a,b){return _grz(b- -0x1f4,a);}var c;if(!this[O(0x168,0x1bb)]&&!((c=a['filterable'])!==null&&c!==void 0x0&&c[O(0x206,0x214)])){for(const d of this[O(0x26e,0x21b)](a)){if(!b||d[O(0x1f0,0x1b4)]===b){this[O(0x174,0x1b5)]['removeFilter'](d);}}}else{this[O(0x1a4,0x1b5)][O(0x1c6,0x1cc)](this[O(0x21b,0x1b5)]['filters']['getBy'](O(0x165,0x1b9),a[O(0x1f1,0x231)]));}}[_grz(0x3c8,0x423)](a){for(const b of this[P(0x29f,0x23f)](a)){b[P(0x25c,0x276)]=!![];this[P(0x239,0x2a7)]['filter'](b);}function P(a,b){return _grz(a- -0x170,b);}this[P(0x239,0x289)][P(0x261,0x21b)]();}['getCurrentMultiFilters'](a){function Q(a,b){return _grz(a- -0x60d,b);}return this[Q(-0x264,-0x264)][Q(-0x275,-0x2c4)][Q(-0x236,-0x240)]['filter'](b=>b['property']===a[Q(-0x1e8,-0x17d)]);}[_grz(0x3bd,0x3e9)](a,b,c,d,e,f,g,h){const i=this,j=f;function k(){function R(a,b){return _grb(a- -0x1e7,b);}i[R(-0x4f,-0x49)](a);}function U(a,b){return _grz(b-0x1f,a);}function l({event:n}){function S(a,b){return _grb(b- -0x6,a);}if(n['key']===S(0x199,0x189)){f();}}function m({source:n,value:o}){function T(a,b){return _grb(b-0x39c,a);}if(!n[T(0x5c6,0x5b1)]||o instanceof Date&&isNaN(o)){return;}if(o==null){k();}else{i['clearSiblingsFields'](n);i[T(0x5b7,0x589)](a,{'operator':n[T(0x570,0x51c)],'value':o,'displayValue':n[T(0x5c1,0x56b)],'type':T(0x4d1,0x4e0)});}}return[_gre[U(0x3c9,0x429)]({'type':'date','ref':'on','placeholder':U(0x3d3,0x38a),'localeClass':i,'clearable':!![],'label':U(0x443,0x45e),'value':(c===null||c===void 0x0?void 0x0:c[U(0x3c2,0x3c7)])===U(0x3e4,0x3a5)?c[U(0x3d1,0x41c)]:d,'operator':U(0x3dd,0x3a5),'onKeydown':l,'onChange':m,'onClose':j,'onClear':k},h),_gre['assign']({'type':U(0x373,0x38b),'ref':'before','placeholder':U(0x3e2,0x3c4),'localeClass':i,'clearable':!![],'label':'<i\x20class=\x22b-fw-icon\x20b-icon-filter-before\x22></i>','value':(c===null||c===void 0x0?void 0x0:c[U(0x371,0x3c7)])==='<'?c['value']:null,'operator':'<','onKeydown':l,'onChange':m,'onClose':j,'onClear':k},h),_gre[U(0x424,0x429)]({'type':U(0x3a4,0x38b),'ref':U(0x42c,0x42c),'cls':'b-last-row','placeholder':U(0x3c2,0x3f2),'localeClass':i,'clearable':!![],'label':U(0x37b,0x3c6),'value':(c===null||c===void 0x0?void 0x0:c['operator'])==='>'?c[U(0x3fa,0x41c)]:null,'operator':'>','onKeydown':l,'onChange':m,'onClose':j,'onClear':k},h)];}['getPopupNumberItems'](a,b,c,d,e,f,g,h){const i=this,j=f;function X(a,b){return _grz(b-0x1b1,a);}function k(){i['removeFilter'](a);}function l({event:n}){function V(a,b){return _grb(a-0x2af,b);}if(n[V(0x46e,0x410)]==='Enter'){f();}}function m({source:n,value:o}){function W(a,b){return _grb(a-0x3a3,b);}if(!n[W(0x5b8,0x59a)]){return;}if(o==null){k();}else{i[W(0x55c,0x547)](n);i['applyFilter'](a,{'operator':n[W(0x523,0x4c1)],'value':o});}}return[_gre[X(0x589,0x5bb)]({'type':X(0x5e4,0x5cd),'placeholder':X(0x546,0x552),'localeClass':i,'clearable':!![],'label':X(0x58c,0x5f0),'value':(c===null||c===void 0x0?void 0x0:c['operator'])==='='?c[X(0x5e8,0x5ae)]:d,'operator':'=','onKeydown':l,'onChange':m,'onEsc':j,'onClear':k},h),_gre[X(0x589,0x5bb)]({'type':X(0x5d4,0x5cd),'placeholder':X(0x579,0x5a3),'localeClass':i,'clearable':!![],'label':X(0x5ad,0x59a),'value':(c===null||c===void 0x0?void 0x0:c[X(0x4fa,0x559)])==='<'?c[X(0x59f,0x5ae)]:null,'operator':'<','onKeydown':l,'onChange':m,'onEsc':j,'onClear':k},h),_gre[X(0x5d5,0x5bb)]({'type':X(0x593,0x5cd),'cls':X(0x590,0x532),'placeholder':X(0x4b4,0x524),'localeClass':i,'clearable':!![],'label':X(0x5ec,0x5b0),'value':(c===null||c===void 0x0?void 0x0:c['operator'])==='>'?c[X(0x540,0x5ae)]:null,'operator':'>','onKeydown':l,'onChange':m,'onEsc':j,'onClear':k},h)];}['clearSiblingsFields'](a){function Y(a,b){return _grz(b- -0x82,a);}var b;(b=this[Y(0x3e6,0x395)])===null||b===void 0x0||b[Y(0x32b,0x30a)][Y(0x30e,0x2de)](c=>{function Z(a,b){return Y(a,b- -0x19d);}c!==a&&(c===null||c===void 0x0?void 0x0:c[Z(0x1f5,0x217)]());});}[_grz(0x39e,0x331)](a,b,c,d,e,f,g,h){const i=this,j=f,k=()=>i[a0(0x4d0,0x507)](a);function a0(a,b){return _grz(a-0x110,b);}function l({source:m,value:n}){if(!m[a1(-0x6,0xd)]){return;}function a1(a,b){return a0(a- -0x553,b);}if(n==null){k();}else{i[a1(-0x62,-0x4c)](m);i[a1(-0x2e,-0x4b)](a,{'operator':m[a1(-0x9b,-0xb7)],'value':n});}}return[_gre[a0(0x51a,0x4af)]({'type':a0(0x4d9,0x4f6),'placeholder':a0(0x4b1,0x520),'localeClass':i,'clearable':!![],'label':'<i\x20class=\x22b-fw-icon\x20b-icon-filter-equal\x22></i>','value':(c===null||c===void 0x0?void 0x0:c[a0(0x4b8,0x4ab)])==='='?c[a0(0x50d,0x4d9)]:d,'operator':'=','onChange':l,'onEsc':j,'onClear':k},h),_gre[a0(0x51a,0x4bc)]({'type':a0(0x4d9,0x49f),'placeholder':a0(0x502,0x53b),'localeClass':i,'clearable':!![],'label':a0(0x4f9,0x518),'value':(c===null||c===void 0x0?void 0x0:c['operator'])==='<'?c[a0(0x50d,0x503)]:null,'operator':'<','onChange':l,'onEsc':j,'onClear':k},h),_gre[a0(0x51a,0x507)]({'type':a0(0x4d9,0x52f),'cls':'b-last-row','placeholder':'L{moreThan}','localeClass':i,'clearable':!![],'label':a0(0x50f,0x55d),'value':(c===null||c===void 0x0?void 0x0:c[a0(0x4b8,0x4e2)])==='>'?c[a0(0x50d,0x4e3)]:null,'operator':'>','onChange':l,'onEsc':j,'onClear':k},h)];}[_grz(0x421,0x47b)](a,b,c,d,e,f,g,h){const i=this;function a2(a,b){return _grz(b- -0x4a3,a);}return[_gre['assign']({'type':a2(-0xf4,-0x119),'cls':'b-last-row','placeholder':'L{filter}','localeClass':i,'clearable':!![],'label':'<i\x20class=\x22b-fw-icon\x20b-icon-filter-equal\x22></i>','value':c?c['value']??c:d,'operator':'*','onChange'({source:j,value:k}){function a3(a,b){return a2(a,b- -0xf0);}if(!j[a3(-0x197,-0x156)]){return;}if(k===''){g();}else{i[a3(-0x1b3,-0x17e)](a,{'operator':j[a3(-0x203,-0x1eb)],'value':k,'displayValue':j[a3(-0x247,-0x20b)]&&j['records']?j[a3(-0x14b,-0x164)][a3(-0x1c6,-0x1d9)](l=>l[j[a3(-0x24b,-0x20b)]])[a3(-0x1c7,-0x1a2)](',\x20'):undefined});if(!j[a3(-0x19c,-0x1ab)]){f();}}},'onClose':f,'onClear':g},h)];}[_grz(0x43b,0x42b)](...a){function a4(a,b){return _grz(a- -0x353,b);}const b=this,[c,d,,,,,,e]=a;if(b['useLegacyModeForColumn'](c)||e){switch(d){case'date':return b['getPopupDateItems'](...a);case'number':return b[a4(0x65,0x74)](...a);case a4(0x76,0xd9):return b[a4(0x4b,0x13)](...a);default:return b['getPopupStringItems'](...a);}}return[b[a4(0x10,0x3f)](c)];}[_grz(0x38b,0x3be)](a){var b;function a5(a,b){return _grz(a-0x26,b);}let {allowedOperators:c}=this;if(a!==null&&a!==void 0x0&&(b=a[a5(0x3db,0x36d)])!==null&&b!==void 0x0&&b[a5(0x3a1,0x380)]){c=c??[];c[a5(0x3da,0x371)](...a['filterable']['allowedOperators']);}return c;}[_grz(0x363,0x34a)](a){const b=this,c=b['getFilterType'](a),d=b[a6(-0x1bb,-0x172)](a),e={'fields':{[a[a6(-0x8a,-0xd8)]]:{'type':c,'title':a[a6(-0x189,-0x173)]??a[a6(-0x7c,-0xd8)]}},...b[a6(-0xd5,-0x11e)],'type':a6(-0x1e9,-0x17b),'ref':a6(-0x18f,-0x16b),'limitToProperty':a[a6(-0x123,-0xd8)],'grid':b[a6(-0x11c,-0x109)],'propertyFieldCls':a6(-0x169,-0x1a0),'operatorFieldCls':'b-transparent\x20operator-field','valueFieldCls':'b-transparent\x20value-field','internalListeners':{'beforeAddFilter':({filter:f})=>{b['injectColumnFilterConfig'](a,f);},'remove':b[a6(-0xe6,-0x105)],'keydown':b[a6(-0x171,-0x195)],'thisObj':b},'triggerChangeOnInput':![]};function a6(a,b){return _grz(b- -0x4fd,a);}if(d){e[a6(-0x137,-0x133)]={[c]:_grk[a6(-0xd8,-0x11d)][c][a6(-0xdb,-0x12c)](({value:f})=>d[a6(-0x15e,-0x179)](f))};}return e;}['onPopupFilterRemove'](){function a7(a,b){return _grz(b- -0x120,a);}if(this[a7(0x22f,0x271)]&&this[a7(0x35a,0x2f7)][a7(0x2e4,0x2eb)][a7(0x2a5,0x272)][a7(0x2bd,0x278)][a7(0x2c5,0x2f6)]===0x0){this[a7(0x2ea,0x2a1)](this['closeFilterEditor'],0x0);}}['onPopupKeydown']({event:a}){function a8(a,b){return _grz(a- -0xf6,b);}if(a['key']===a8(0x2c1,0x2ed)){this[a8(0x2cb,0x305)](this['closeFilterEditor'],0x0);}}[_grz(0x410,0x3e2)](a,b,c,d=![]){a=this[a9(-0x117,-0x106)][a9(-0x199,-0x18c)][a9(-0x96,-0xf6)](a);const e=this,{store:f}=e,g=a[a9(-0xa6,-0xc6)],h=f[a9(-0x1c2,-0x162)][a9(-0x16d,-0x15a)](a9(-0x18c,-0x14d),a[a9(-0x72,-0xd5)]),i=e['getFilterType'](a),j=e['useLegacyModeForColumn'](a),{filterable:k}=a;if(!e[a9(-0xd2,-0x101)](a)){return;}e['closeFilterEditor']();const l=e['getPopupItems'](a,i,h!==null&&h!==void 0x0&&h['internal']?null:h,b,f,e[a9(-0xc7,-0xf5)],()=>{function aa(a,b){return a9(b,a-0x651);}e[aa(0x517,0x4b0)](a);e[aa(0x55c,0x563)]();},k[a9(-0x113,-0xf2)]);l[a9(-0x1ab,-0x19a)](o=>o[a9(-0x1bf,-0x180)]=o[a9(-0x1bc,-0x180)]?this['L'](o[a9(-0x121,-0x180)]):o[a9(-0x17d,-0x180)]);if(k[a9(-0xb2,-0xf2)]&&k[a9(-0x102,-0xf7)]){const o=_grd['countUnique'](f[a9(-0x189,-0x136)][a9(-0x166,-0x128)](k['getFilterableValues']));l[0x0]['items']=o[a9(-0x125,-0x140)](({value:p,count:q})=>({'id':p,[a[a9(-0xe7,-0xd5)]]:p,[VALUE_COUNT]:q}));}function a9(a,b){return _grz(b- -0x4fa,a);}e[a9(-0xa8,-0xe3)]=new _grf({'forElement':g,'owner':e[a9(-0xcb,-0x106)],'cls':new _grh(a9(-0x15d,-0x173),{'b-filter-popup-legacy-mode':j}),'scrollAction':'realign','anchor':!![],'draggable':e[a9(-0x15b,-0x16a)]!==![],'layout':{'type':a9(-0x1aa,-0x198),'align':'stretch'},'items':l,'dataset':{'column':a['field'],'fieldType':i}});if(!j){if(d||!(f!==null&&f!==void 0x0&&f['filters'][a9(-0xf0,-0x135)](p=>p[a9(-0x13d,-0x14d)]===a['field']))){const p=e[a9(-0x11a,-0x16f)](a),q=e[a9(-0x131,-0xe3)][a9(-0xf1,-0xef)][a9(-0x165,-0x168)][a9(-0xe8,-0x130)]??_grk[a9(-0xdc,-0x11c)][a9(-0xea,-0x130)],r=q[i];let s=e[a9(-0x184,-0x11a)][i];if(!r['find'](({value:t})=>t===s)){var m;s=(m=r[0x0])===null||m===void 0x0?void 0x0:m[a9(-0xa1,-0xfd)];}if(p&&!p[a9(-0x1c2,-0x176)](s)){s=p[0x0];}e[a9(-0x115,-0xe3)][a9(-0xfd,-0xef)][a9(-0x145,-0x168)][a9(-0x9e,-0x104)]({'type':i,'property':a[a9(-0x143,-0xd5)],'operator':c??s,'value':b});}e[a9(-0xee,-0xe3)][a9(-0x168,-0x16e)][0x0][a9(-0x16f,-0x15d)]();}const [n]=e['filterEditorPopup'][a9(-0x173,-0x16e)];if(k[a9(-0xa1,-0xf2)]&&n[a9(-0x171,-0x118)]&&k['getFilterableValues']){n[a9(-0x137,-0x15f)]();}}[_grz(0x405,0x442)](){var a;function ab(a,b){return _grz(b- -0x280,a);}(a=this[ab(0x1b3,0x197)])===null||a===void 0x0||a[ab(0x180,0x191)](this[ab(0x156,0x197)]['destroy']);this[ab(0x209,0x197)]=null;}['getFilterType'](a){var b;const c=this,{store:d}=c,e=a[ac(-0xbc,-0x128)],f=e&&d[ac(-0x147,-0x14a)]['getFieldDefinition'](e),g=a[ac(-0xe3,-0x78)]??fieldTypeMap[a[ac(-0x109,-0x124)]]??fieldTypeMap[f===null||f===void 0x0?void 0x0:f[ac(-0x109,-0x14f)]],h=d===null||d===void 0x0||(b=d[ac(-0x171,-0x1ae)])===null||b===void 0x0?void 0x0:b[ac(-0x11c,-0x12a)](({foreignKey:i})=>i===e);function ac(a,b){return _grz(a- -0x4e1,b);}if(h){return ac(-0x152,-0xec);}else if(g===ac(-0xf2,-0xbc)&&d&&!c[ac(-0x165,-0xf3)](a)){if(d[ac(-0x168,-0x1cd)]>0x0){c[ac(-0xc4,-0xf2)][e]=_grk[ac(-0x111,-0x17e)](d,e);}return c[ac(-0xc4,-0xf8)][e]??'auto';}else if(g){return fieldTypeMap[g];}return ac(-0xf2,-0x15b);}[_grz(0x3a3,0x3ca)]({column:a,record:b,items:c}){const d=a['field'],e=this[ad(0x199,0x1a7)](a);function ad(a,b){return _grz(a- -0x1f4,b);}if(e===ad(0x178,0x145)){const f=this,g=b[ad(0x1e2,0x1ad)](d),h=i=>{function ae(a,b){return ad(a- -0x138,b);}f[ae(0xe9,0x142)](a,{'operator':i,'value':g,'displayValue':a[ae(0xf3,0xa3)]?a[ae(0xf3,0x132)](g):g,'type':'date'});};c[ad(0x218,0x1cb)]={'text':ad(0x177,0x163),'localeClass':f,'icon':ad(0x1a8,0x1a5),'cls':'b-separator','weight':0x12c,'disabled':f['disabled'],'onItem':()=>h('=')};c[ad(0x224,0x281)]={'text':'L{before}','localeClass':f,'icon':'b-fw-icon\x20b-icon-filter-before','weight':0x136,'disabled':f[ad(0x1d8,0x20f)],'onItem':()=>h('<')};c['filterDateAfter']={'text':'L{after}','localeClass':f,'icon':ad(0x179,0x1b3),'weight':0x140,'disabled':f[ad(0x1d8,0x212)],'onItem':()=>h('>')};}}['populateCellMenuWithNumberItems']({column:a,record:b,items:c}){function af(a,b){return _grz(b-0x146,a);}const d=a[af(0x5d7,0x56b)],e=this[af(0x4f4,0x4d3)](a);if(e===af(0x59f,0x562)){const f=this,g=b[af(0x505,0x51c)](d),h=i=>{function ag(a,b){return af(b,a- -0x5a5);}f[ag(-0x4a,-0x45)](a,{'operator':i,'value':g});};c['filterNumberEquals']={'text':'L{equals}','localeClass':f,'icon':af(0x4bc,0x4e2),'cls':af(0x5d4,0x576),'weight':0x12c,'disabled':f['disabled'],'onItem':()=>h('=')};c[af(0x55c,0x52c)]={'text':af(0x55e,0x538),'localeClass':f,'icon':af(0x5af,0x57f),'weight':0x136,'disabled':f[af(0x4a7,0x512)],'onItem':()=>h('<')};c[af(0x591,0x532)]={'text':af(0x525,0x4b9),'localeClass':f,'icon':af(0x5ae,0x57d),'weight':0x140,'disabled':f[af(0x583,0x512)],'onItem':()=>h('>')};}}[_grz(0x42c,0x463)]({column:a,record:b,items:c}){function ai(a,b){return _grz(b-0x98,a);}const d=this['getFilterType'](a);if(d==='duration'){const e=this,f=a['getFilterableValue'](b),g=h=>{function ah(a,b){return _grb(b- -0x84,a);}e[ah(0x117,0x169)](a,{'operator':h,'value':f});};c[ai(0x437,0x49e)]={'text':ai(0x47b,0x47c),'localeClass':e,'icon':'b-fw-icon\x20b-icon-filter-equal','cls':ai(0x4ec,0x4c8),'weight':0x12c,'disabled':e[ai(0x483,0x464)],'onItem':()=>g('=')};c[ai(0x468,0x41d)]={'text':ai(0x459,0x48a),'localeClass':e,'icon':ai(0x48e,0x4d1),'weight':0x136,'disabled':e['disabled'],'onItem':()=>g('<')};c[ai(0x4bb,0x471)]={'text':ai(0x3b5,0x40b),'localeClass':e,'icon':'b-fw-icon\x20b-icon-filter-more','weight':0x140,'disabled':e[ai(0x485,0x464)],'onItem':()=>g('>')};}}['populateCellMenuWithStringItems']({column:a,record:b,items:c}){const d=this[aj(0xc3,0x7d)](a);function aj(a,b){return _grz(a- -0x2ca,b);}if(!/(date|number|duration)/[aj(0x9a,0xbc)](d)){var e;const f=this,g=a[aj(0x148,0xfc)](b),h=((e=a[aj(0xeb,0x144)][aj(0x13e,0x15f)])===null||e===void 0x0?void 0x0:e[aj(0xde,0xc2)])??'*';c[aj(0xca,0x117)]={'text':aj(0x11a,0x120),'localeClass':f,'icon':aj(0xd2,0x68),'cls':'b-separator','weight':0x12c,'disabled':f['disabled'],'onItem':()=>f['applyFilter'](a,{'value':g,'operator':h})};}}[_grz(0x438,0x402)](a,b){const c=this,d={},e=c['getFilterType'](a);if(a[ak(0x2e6,0x320)]===![]){return{};}if(allowedFilterTypes[e]){const f=b?a['getFilterableValue'](b):undefined,g=c[ak(0x343,0x37a)](a)[ak(0x2d2,0x33c)](l=>!l[ak(0x32d,0x337)])['map'](({operator:l})=>l),h=b?0x1:undefined,i=c[ak(0x290,0x2f6)](a),j=_grk[ak(0x37b,0x34b)][e][ak(0x35b,0x33c)](({value:l,argCount:m,isArrayValued:n})=>!(m>h||n)&&(!i||i['includes'](l)));let k=0x12c;for(const {value:l,text:m,argCount:n}of j){const o='filter'+_grg[ak(0x360,0x315)](e)+_grg[ak(0x2fa,0x315)](l);d[o]={'text':_grg[ak(0x36f,0x315)](_grk['L'](m)),'weight':k+=0xa,'icon':g[ak(0x2a8,0x2ef)](l)?ak(0x300,0x30f):null,'disabled':c[ak(0x336,0x337)],'cls':menuItemsWithSeparators[o]?ak(0x3d1,0x39b):null,'onItem':()=>c[ak(0x317,0x2e3)](a,f,l,n)};}}if(a[ak(0x36d,0x31d)][ak(0x3e5,0x3a0)]){Object[ak(0x38d,0x375)](d,c[ak(0x32f,0x346)](a,b!==undefined));}function ak(a,b){return _grz(b- -0x95,a);}return{'filterMenu':{'text':'L{filter}','localeClass':c,'menu':d,'icon':ak(0x37a,0x395),'weight':b?0x190:0x64,'separator':!![]}};}['onOperatorMenuItem'](a,b,c,d=0x1){const e=this,f=e[al(-0x42,-0x5f)](a),g=e[al(-0xb,0x23)](a)[al(0xd,-0x27)](h=>!h['disabled']&&h[al(-0x86,-0x44)]===c);function al(a,b){return _grz(b- -0x3ec,a);}if(g){e['removeFilter'](a,c);}else if(d===0x0||b!==undefined){e[al(-0x16,0x29)](a,{'property':a[al(0x0,0x39)],'operator':c,'type':f,'value':d===0x1?b:null,'caseSensitive':![],'disabled':b==null&&d>0x0});}else{e[al(-0x2f,0x24)](a,null,c,!![]);}}[_grz(0x3db,0x3cf)](a){function am(a,b){return _grz(a- -0x510,b);}const b=this,c=!b[am(-0x144,-0x15b)]&&(b[am(-0x161,-0x175)]||b['columnHasRemovableFilters'](a));return{'filterEdit':b[am(-0x161,-0x18e)]?undefined:{'text':am(-0x17d,-0x131),'localeClass':b,'icon':am(-0xfc,-0x122),'cls':'b-separator','weight':0x1f4,'disabled':!c,'onItem':()=>b[am(-0x100,-0xd4)](a)},'filterRemove':{'text':am(-0x177,-0x1af),'localeClass':b,'icon':am(-0x14e,-0x15b),'cls':am(-0xe0,-0x8b),'weight':0x1fe,'disabled':!c,'onItem':()=>b[am(-0x150,-0xe9)](a)},'filterDisable':{'text':am(-0x182,-0x1af),'localeClass':b,'icon':'b-fw-icon\x20b-icon-filter-disable','weight':0x208,'disabled':b[am(-0x144,-0x19e)]||!b[am(-0x191,-0x12d)](a),'onItem':()=>b[am(-0x148,-0xde)](a)}};}['populateCellMenu']({column:a,record:b,items:c,...d}){function an(a,b){return _grz(a- -0x38a,b);}const e=this;if(e['canFilterColumn'](a)&&!b[an(-0x7,0x17)]){if(e[an(-0xe,-0x49)](a)){e[an(0x19,0x2f)]({'column':a,'record':b,'items':c,...d});e['populateCellMenuWithNumberItems']({'column':a,'record':b,'items':c,...d});e[an(0xa2,0x75)]({'column':a,'record':b,'items':c,...d});e['populateCellMenuWithStringItems']({'column':a,'record':b,'items':c,...d});if(a[an(0x28,0x8a)][an(0xab,0x104)]){Object[an(0x80,0x9e)](c,e['getMenuItemsForFilteredColumn'](a,!![]));}}else{Object[an(0x80,0x20)](c,e[an(0xae,0x99)](a,b));}}}['columnHasRemovableFilters'](a){function ao(a,b){return _grz(a- -0x3d4,b);}const b=this;return Boolean(b[ao(0x3b,0x37)](a)[ao(-0xf,-0x38)](c=>!b['canDeleteFilter']||b[ao(0x3f,0x9c)](b['canDeleteFilter'],b,[c])!==![]));}[_grz(0x37f,0x349)](a){function ap(a,b){return _grz(b- -0x316,a);}return Boolean(this[ap(0x8e,0xf9)](a)[ap(0xa7,0xaf)](b=>!b['disabled']));}['populateHeaderMenu']({column:a,items:b}){const c=this;function aq(a,b){return _grz(a- -0x4bc,b);}if(c[aq(-0x140,-0x182)](a)){if(a[aq(-0x10a,-0x101)][aq(-0x87,-0x9c)]){b['filterEdit']={'text':'L{editFilter}','localeClass':c,'weight':0x64,'icon':aq(-0x92,-0xbe),'cls':aq(-0x8c,-0xcf),'disabled':c[aq(-0xf0,-0xb0)],'onItem':()=>c[aq(-0xac,-0x4a)](a)};b[aq(-0x14b,-0x11a)]={'text':aq(-0x123,-0x167),'localeClass':c,'weight':0x6e,'icon':'b-fw-icon\x20b-icon-remove','disabled':c['disabled']||!c[aq(-0x10d,-0x101)]&&!c['columnHasRemovableFilters'](a),'onItem':()=>c['removeFilter'](a)};b[aq(-0x109,-0xdf)]={'text':aq(-0x12e,-0xc4),'localeClass':c,'icon':aq(-0x8e,-0x93),'weight':0x73,'disabled':c[aq(-0xf0,-0xe7)]||!c[aq(-0x13d,-0x117)](a),'onItem':()=>c[aq(-0xf4,-0x144)](a)};}else if(c['canFilterColumn'](a)){b[aq(-0xeb,-0xc2)]={'text':aq(-0x13f,-0xdd),'localeClass':c,'weight':0x64,'icon':aq(-0x92,-0x7b),'cls':'b-separator','disabled':c[aq(-0xf0,-0x80)],'onItem':()=>c['showFilterEditor'](a)};}}else{Object[aq(-0xb2,-0xce)](b,c[aq(-0x84,-0xc8)](a));}}[_grz(0x37c,0x3ed)](a){function ar(a,b){return _grz(a- -0x21f,b);}var b;return this[ar(0x190,0x147)]||((b=a['filterable'])===null||b===void 0x0?void 0x0:b['filterField'])!==undefined;}[_grz(0x3f9,0x42e)](a){var b,c;function as(a,b){return _grz(a- -0x528,b);}return a[as(-0x173,-0x169)]!==![]&&(((b=a[as(-0x173,-0x11b)])===null||b===void 0x0?void 0x0:b[as(-0x157,-0xf8)])===!![]||((c=a[as(-0x173,-0x1cc)])===null||c===void 0x0?void 0x0:c['filter'])!==![]&&this[as(-0x1b3,-0x1be)]!==![]);}[_grz(0x3bb,0x414)]({filters:a}){const {columns:b}=this['client'],c=_grd[at(0x4cc,0x477)](a,at(0x479,0x498));function at(a,b){return _grz(a-0xcc,b);}for(const [d,e]of Object[at(0x4a0,0x4ca)](c)){const f=b['find'](g=>this[at(0x4c5,0x502)](g)&&g[at(0x4f1,0x480)]===d);if(f){f[at(0x508,0x4d0)]=e['map']((g,h)=>{var i;if((g['columnOwned']||this[au(0x5c2,0x552)])&&!g[au(0x539,0x4d0)]&&f!==null&&f!==void 0x0&&(i=f[au(0x557,0x4fb)])!==null&&i!==void 0x0&&i[au(0x55e,0x52c)]){const j=new _grj({'id':g['id']??d+'-'+h+'-'+Date[au(0x585,0x5b3)](),'columnOwned':!![],'property':d,'operator':g[au(0x54a,0x5b6)],'value':g['value'],'displayValue':g[au(0x550,0x52e)],'disabled':g['disabled'],'filterBy'(k){function av(a,b){return au(a- -0x566,b);}return f['filterable'][av(-0x8,0x1b)][av(0x3e,-0x22)](this,{'value':this[av(0x39,0x56)],'record':k,'operator':this[av(-0x1c,0x42)],'property':this['property'],'column':f});}});a[au(0x552,0x4e8)](a[au(0x519,0x4b9)](g),0x1,j);return j;}function au(a,b){return at(a-0xd6,b);}return g;});}}}[_grz(0x3e5,0x3e8)](){this['refreshHeaders'](![]);}['renderHeader'](){this['refreshHeaders'](![]);}[_grz(0x424,0x3f8)]({target:a}){function aw(a,b){return _grz(b-0xe8,a);}if(this[aw(0x4a4,0x4ff)]){this[aw(0x55b,0x4ed)]();}if(a['classList'][aw(0x463,0x493)](aw(0x4f8,0x49e))){const b=a[aw(0x46c,0x4ab)](aw(0x527,0x4e3));this[aw(0x4e1,0x4f8)](b[aw(0x48c,0x45c)]['columnId']);return![];}}[_grz(0x43a,0x3f4)]({target:a}){const b=a['matches'](ax(0x2c6,0x312))&&a;if(b){this[ax(0x348,0x327)](b[ax(0x2a2,0x28b)][ax(0x33d,0x33e)]);}function ax(a,b){return _grz(b- -0xe9,a);}return Boolean(b);}[_grz(0x423,0x3f0)]({event:a,actionName:b}){function ay(a,b){return _grz(a- -0x54e,b);}if(b===ay(-0x114,-0x161)){const c=a['target']['closest'](ay(-0x153,-0x188)),d=c&&this[ay(-0x15a,-0x1c0)][ay(-0x1e0,-0x18c)][ay(-0x189,-0x147)](e=>e['id']===c[ay(-0x1da,-0x202)]['columnId']);return Boolean(d===null||d===void 0x0?void 0x0:d[ay(-0x199,-0x16c)]);}}}_grm[_grz(0x433,0x416)](Filter);
|
package/lib/feature/Group.css
CHANGED
|
@@ -19,6 +19,11 @@
|
|
|
19
19
|
*/
|
|
20
20
|
--b-group-header-collapsing-zindex : 7;
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Group title cell z-index (above adjacent cells)
|
|
24
|
+
*/
|
|
25
|
+
--b-group-title-z-index : 1;
|
|
26
|
+
|
|
22
27
|
/**
|
|
23
28
|
* Group collapse / expand icon (font icon char)
|
|
24
29
|
*/
|
|
@@ -113,7 +118,6 @@
|
|
|
113
118
|
|
|
114
119
|
.b-grid-cell.b-group-title {
|
|
115
120
|
contain : size layout style;
|
|
116
|
-
z-index : 1; /* Above adjacent cells to not get contents clipped */
|
|
117
121
|
/* group title cell should use default alignment */
|
|
118
122
|
justify-content : flex-start;
|
|
119
123
|
text-align : start;
|
|
@@ -121,6 +125,7 @@
|
|
|
121
125
|
--b-grid-cell-color : var(--b-group-header-color);
|
|
122
126
|
--b-grid-cell-font-weight : var(--b-group-header-font-weight);
|
|
123
127
|
--bi-grid-cell-overflow : visible;
|
|
128
|
+
z-index : var(--b-group-title-z-index); /* Above adjacent cells to not get contents clipped */
|
|
124
129
|
gap : var(--b-widget-gap);
|
|
125
130
|
|
|
126
131
|
}
|
package/lib/feature/Group.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function w(a,b){return _grb(b-0x253,a);}const c=a();while(!![]){try{const d=-parseInt(w(0x2e8,0x2c9))/0x1+-parseInt(w(0x292,0x2e8))/0x2*(-parseInt(w(0x339,0x328))/0x3)+parseInt(w(0x27f,0x2c4))/0x4*(-parseInt(w(0x2fc,0x2c7))/0x5)+parseInt(w(0x3a6,0x359))/0x6*(parseInt(w(0x2e2,0x31c))/0x7)+parseInt(w(0x2e2,0x331))/0x8+-parseInt(w(0x3b4,0x35f))/0x9+parseInt(w(0x366,0x374))/0xa*(-parseInt(w(0x33d,0x37a))/0xb);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x4876e));import _grc from'@bryntum/core-thin/lib/data/DomDataStore.js';import _grd from'@bryntum/core-thin/lib/helper/ArrayHelper.js';function _gra(){const a9=['addCls','b-icon\x20b-icon-group-desc','onBeforeRenderRow','expandAllGroups','b-icon\x20b-icon-clear','collapseIconCls','72954yNHcWn','renderRows','groupField','Group','afterToggleGroup','b-action-item','Scheduler','contains','target','groupHeaderColumn','beforeToggleGroup','buildGroupHeader','413538aWjFVh','isActionable','b-resizer','detachListeners','clearKnownHeights','childCount','isToggling','groupDesc','b-separator','2568304LxQNtb','headerHeight','groupable','L{stopGrouping}','textWrapper','isGroupHeader','registerFeature','lockRows','L{stopGroupingShort}','insert','loadStylesheet','_hasHtml','children','group','getHeaderElement','rowManager','resourceStore','handled','columns','renderFromRow','b-group-title','groupRowFor','b-group-row','refreshGrid','querySelector','updateRenderer','ion','currentGroupers','.b-group-state-icon','getRowFor','column','count','removeCls','push','trigger','updateShowCount','@bryntum/grid-thin/lib/feature/Group.css','b-filter-icon','groupHeaderReserved','expand','282SeIaxQ','init','record','find','emptyArray','</span>','277218rsfHKQ','.b-group-row','onStoreToggleGroup','grid','field','construct','header','toggleOnRowClick','collapse','L{group}','isConfiguring','b-fw-icon\x20b-icon-group-desc','touches','b-group-state-icon','b-icon-group-collapse','groupSummary','b-asc','add','string','doDisable','disabled','1160lPUSxy','b-fw-icon\x20b-icon-group-asc','getColumnDragToolbarItems','getChildElementCount','<span\x20class=\x22b-group-count\x22>','move','10879uMxVXW','onElementTouchStart','collapseAll','processConfig','isVertical','groupRemove','meta','L{groupDescendingShort}','getById','indexOf','index','dataset','instanceMeta','height','getAt','b-collapsing','1772zGvYeU','b-icon\x20b-icon-group-asc','transition','3715OMGzUk','visibleColumns','452921grddIE','toggleGroup','b-expanding','_thisIsAUsedExpression','renderFromRecord','bindStore','internalToggleCollapse','renderHeader','onElementClick','!!novalue!!','classList','showCount','tree','innerHTML','getColumnFromElement','updateGroupSortFn','getRow','onStoreChange','length','b-icon-group-expand','groupRenderer','refreshRows','some','b-group','populateHeaderMenu','isFirstColumn','min','headerContainer','groupers','.b-grid-header.b-group','groupAsc','6FAIBqC','onUnlockRows','isGrouped','forceInnerHTML','groupHeaderRecords','getGroupHeaderForRecord','.b-checkbox','.b-grid-header','altKey','renderCell','closest','client','remove','$groupHeader','groupRecords','Grid','L{groupAscending}','unshift','sort','store','groupSortFn','ascending','size','findGroupHeaderColumn','L{groupDescending}','TreeGrid','features','shiftKey','get','toggle','expandIconCls','asArray','isDestroying','modified','clearGroupers','groupChildren','createElement','$name','pluginConfig','onStoreGroup','onLockRows','collapsed','expandAll','enabled','updateField','setConfig'];_gra=function(){return a9;};return _gra();}import _gre from'@bryntum/core-thin/lib/helper/DomHelper.js';import _grf from'@bryntum/core-thin/lib/helper/DomSync.js';function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x66;let f=c[d];return f;};return _grb(a,b);}import _grg from'@bryntum/core-thin/lib/helper/StringHelper.js';import _grh from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _gri from'./GridFeatureManager.js';_gre[_grx(-0x293,-0x28c)](_grx(-0x22d,-0x272));export default class Group extends _grh{static [_grx(-0x27c,-0x2ba)]=_grx(-0x2c9,-0x2a8);static ['configurable']={'field':null,'expandIconCls':_grx(-0x2ca,-0x2eb),'collapseIconCls':_grx(-0x1fd,-0x25a),'ascending':!![],'headerHeight':null,'showCount':!![],'groupSortFn':null,'renderer':null,'keyMap':{'\x20':'toggleGroup'},'toggleOnRowClick':!![]};[_grx(-0x271,-0x263)](a,b){var c;const d=this;if(a[y(-0x275,-0x23c)][y(-0x209,-0x269)]){return;}function y(a,b){return _grx(a,b-0x89);}d[y(-0x29c,-0x272)](a[y(-0x205,-0x23c)][y(-0x1bc,-0x1d0)]);b=d[y(-0x186,-0x1c1)](b);d[y(-0x192,-0x1dc)]=a;super['construct'](a,b);a[y(-0x1ab,-0x1f3)]({'lockRows':y(-0x1f5,-0x22e),'beforeUnlockRows':y(-0x2a6,-0x255),'thisObj':d});if(!((c=a[y(-0x237,-0x23c)][y(-0x1d5,-0x206)])!==null&&c!==void 0x0&&c[y(-0x23f,-0x22b)])||a['splitFrom']){d[y(-0x1a1,-0x1e4)](a);}}[_grx(-0x20c,-0x26d)](a){this[z(0x276,0x23d)]=a;this['bindStore'](a['store']);this[z(0x244,0x206)](z(0x1c4,0x21b));function z(a,b){return _grx(a,b-0x4a2);}a[z(0x20d,0x21b)]['ion']({'name':z(0x257,0x21b),'beforeRenderRow':z(0x1ad,0x1f3),'renderCell':'renderCell','prio':0x44c,'thisObj':this});if(!a[z(0x264,0x244)]){a[z(0x1ae,0x1f8)]();}}[_grx(-0x282,-0x24a)](a){if(typeof a===A(0xae,0xb3)){return{'field':a};}function A(a,b){return _grx(b,a-0x304);}return a;}[_grx(-0x2eb,-0x2b2)](a){function B(a,b){return _grx(a,b- -0x26);}if(a===null){this[B(-0x33f,-0x2f2)][B(-0x346,-0x2e3)]();}else{super[B(-0x324,-0x2d8)](this[B(-0x25f,-0x270)](a));}}[_grx(-0x2b7,-0x2f9)](a){const b=this,{client:c}=b;if(c['isSchedulerBase']&&c['isVertical']&&a){a=c[C(0x1ec,0x1d2)];}b['detachListeners'](C(0x191,0x18c));if(c['isLockedRows']){return;}function C(a,b){return _grx(a,b-0x458);}a['ion']({'name':'store','group':C(0x14d,0x1a0),'change':'onStoreChange','toggleGroup':C(0x1c1,0x1f2),'thisObj':b});if((b[C(0x253,0x1f4)]||a[C(0x1d1,0x17b)])&&!c[C(0x217,0x1fa)]){a[C(0x1fa,0x1cf)]({'field':b[C(0x231,0x1f4)],'ascending':b[C(0x1ac,0x18e)],'fn':b['groupSortFn']});}else{b[C(0x144,0x1a0)]({'groupers':a[C(0x182,0x176)]});}}[_grx(-0x2cf,-0x27d)](a){function D(a,b){return _grx(b,a-0x72c);}this[D(0x442,0x475)]=a;}[_grx(-0x2d0,-0x2b3)](a){var b,c;const d=this;function E(a,b){return _grx(b,a-0x4f4);}if((b=d[E(0x220,0x20b)]['features'][E(0x265,0x2a9)])!==null&&b!==void 0x0&&b[E(0x240,0x250)]&&!d[E(0x220,0x209)]['splitFrom']){return;}if(!d[E(0x296,0x2d3)]||!((c=d['store'][E(0x212,0x249)])!==null&&c!==void 0x0&&c[E(0x20c,0x267)](e=>e[E(0x290,0x299)]===a))){d['store'][E(0x26b,0x2ae)]({'field':a,'ascending':d[E(0x22a,0x21e)],'fn':d[E(0x229,0x254)]});}}[_grx(-0x2cf,-0x2ef)](a){function F(a,b){return _grx(a,b-0x758);}if(!this[F(0x53b,0x4fa)]){this[F(0x430,0x48c)][F(0x482,0x4cf)]({'field':this['field'],'ascending':this[F(0x4da,0x48e)],'fn':a});}}['updateAscending'](a){function G(a,b){return _grx(a,b-0x348);}const b=this;if(!b[G(0xc3,0xea)]){b['store']['group']({'field':b[G(0x13a,0xe4)],'ascending':a,'fn':b[G(0x8a,0x7d)]});}}[_grx(-0x283,-0x255)](a){const {store:b}=this;function H(a,b){return _grx(a,b- -0x5f);}if(a&&b[H(-0x35c,-0x33c)]){const {sorters:c}=b;c[H(-0x32e,-0x32d)](...b[H(-0x385,-0x341)]);this[H(-0x338,-0x2da)]=b[H(-0x315,-0x341)];b[H(-0x2c7,-0x31c)]();b[H(-0x2e5,-0x32c)](c);}else if(!a&&this['currentGroupers']){b[H(-0x28c,-0x2e8)](this[H(-0x289,-0x2da)][0x0]);this[H(-0x322,-0x2da)]=null;}super[H(-0x2e1,-0x2b4)](a);}get[_grx(-0x269,-0x2cc)](){function I(a,b){return _grx(b,a-0x60d);}const {grid:a}=this;if(a['isSchedulerBase']&&a[I(0x3c4,0x3cb)]){return a[I(0x387,0x3a4)];}return a[I(0x341,0x31f)];}static get[_grx(-0x308,-0x2b9)](){function J(a,b){return _grx(a,b-0x203);}return{'assign':[J(-0x64,-0x48),J(-0xce,-0xb2)],'after':[J(-0xd3,-0xf4),J(-0xca,-0xe3),J(-0x81,-0x4e),J(-0x1c,-0x49),J(-0xf5,-0xf3),J(-0x142,-0xf6)]};}[_grx(-0x2aa,-0x27f)](a){function K(a,b){return _grx(b,a-0x101);}const {store:b,rowManager:c}=this[K(-0x164,-0x133)];if(c['rowCount']>b[K(-0x176,-0x122)]||!c[K(-0x178,-0x122)](a)){c[K(-0x182,-0x1a3)]();}else{c[K(-0x1f9,-0x259)](a);}}async['toggleCollapse'](a,b){function L(a,b){return _grx(a,b-0x51a);}await this[L(0x243,0x222)](a,b);}async[_grx(-0x31b,-0x2f8)](a,b,c=![],d,e=![]){var f;const g=this,{store:h,grid:j}=g,{rowManager:k}=j,l=((f=j[M(-0xe0,-0xea)])===null||f===void 0x0?void 0x0:f[M(-0xdc,-0xc5)])&&!c&&!e;if(g[M(-0x78,-0xb9)]){await g['isToggling'];}let m=Number['MAX_VALUE'];const n=_grd['asArray'](a)['map'](q=>{q=h[N(0xbc,0x95)](q);if(!q[N(0xd9,0x10f)]){q=h[N(0xc7,0xc6)](q);}function N(a,b){return M(b-0x17f,a);}m=Math[N(0x9c,0xbc)](m,h[N(0xb7,0x96)](q),0x0);if(!q['isGroupHeader']){return;}return q;});function M(a,b){return _grx(b,a-0x221);}b=b===undefined?!n[0x0][M(-0xec,-0x11f)][M(-0x95,-0xec)]:b;if(j['trigger'](M(-0x80,-0x77),{'groupRecord':n[0x0],'groupRecords':n,'collapse':b,'domEvent':d})===![]){return;}g[M(-0x78,-0x85)]=!![];const [o]=n,{groupChildren:p}=o;h[b?M(-0x3f,0x0):M(-0x4e,-0x15)](n);if(l&&n[M(-0xcb,-0xdb)]===0x1){let q;if(b){for(let r=0x0;r<p[M(-0xcb,-0xaf)]&&!q;r++){q=k[M(-0x58,-0x5c)](p[r]);}}else{q=k['getRowFor'](o);}if(q){const s=k[M(-0x58,-0x75)](o),t=b?M(-0xe3,-0x86):M(-0xdb,-0x135),u=b?q[M(-0xe8,-0xd3)]:q[M(-0xe8,-0x145)]+0x1,v=b?-p[M(-0xcb,-0x84)]:p[M(-0xcb,-0x7d)];if(s){k['renderRows']([s]);s[M(-0x90,-0xd4)](t);}await(g[M(-0x78,-0xbb)]=k[M(-0x6c,-0x95)](u,v,M(-0xa1,-0x46)));g['isToggling']=![];if(g[M(-0x9e,-0x51)]){return;}s===null||s===void 0x0||s[M(-0x55,-0x8a)](t);j[M(-0x53,-0x8c)](M(-0xdc,-0xf9),{'groupRecord':n[0x0],'groupRecords':n,'collapse':b,'allRecords':e});j[M(-0x86,-0x71)]();return;}}g['isToggling']=![];if(!l&&!c){g['refreshGrid'](h[M(-0xe4,-0x83)](m));}j[M(-0x53,0x6)](M(-0xdc,-0xd6),{'groupRecord':n[0x0],'groupRecords':n,'collapse':b,'allRecords':e});j['afterToggleGroup']();}['collapseAll'](){const a=this,{store:b,grid:c}=a;function O(a,b){return _grx(a,b-0x4d8);}if(b[O(0x204,0x1fb)]&&!a[O(0x236,0x284)]){a[O(0x1f8,0x1e0)](b[O(0x24a,0x1fd)],!![],!![],undefined,!![]);c[O(0x2b5,0x264)]('collapseAllGroups');c[O(0x215,0x251)][O(0x226,0x23d)]();c['refreshRows'](null,!![]);}}['expandAll'](){const a=this,{store:b,grid:c}=a;function P(a,b){return _grx(b,a-0x93);}if(b[P(-0x24a,-0x1ea)]&&!a[P(-0x1c1,-0x1ed)]){a[P(-0x265,-0x226)](b[P(-0x248,-0x1ff)],![],!![],undefined,!![]);c[P(-0x1e1,-0x1e9)](P(-0x21b,-0x1fd));c[P(-0x1f4,-0x245)]['clearKnownHeights']();c[P(-0x256,-0x221)]();}}[_grx(-0x2dd,-0x2b7)]({clone:a}){function Q(a,b){return _grx(a,b-0x51);}this[Q(-0x1d4,-0x214)]=a;}['onUnlockRows']({source:a}){const {client:b}=this;if(!b['isDestroying']){this['init'](b);}}['onBeforeRenderRow']({row:a}){function R(a,b){return _grx(b,a-0x2d3);}const b=a[R(0x6e,0xca)][R(0x7,0x3)][R(-0x38,-0x1f)](a['id']);a[R(-0x9,0x17)]=a[R(-0x9,0x2)]||(b===null||b===void 0x0?void 0x0:b['isGroupHeader']);}[_grx(-0x2b1,-0x2d6)](a){function S(a,b){return _grx(a,b-0x444);}const b=this,{cellElement:c,row:d,column:e,grid:f}=a,{meta:g}=a['record'],h={'b-group-row':0x0,'b-grid-group-collapsed':0x0};if(!b[S(0x1d6,0x1f0)]&&b[S(0x1af,0x178)]['isGrouped']&&S(0x1d2,0x1c3)in g){if(e[S(0x1de,0x1d4)]){return;}e['clearCell'](c);d[S(0x159,0x1b3)]=!![];h['b-grid-group-collapsed']=g['collapsed'];h[S(0x164,0x1c4)]=0x1;if(f[S(0x1f3,0x1a4)]){f[S(0x158,0x1a4)](a);}else{b[S(0x1dc,0x1a4)](a);}if(e===b[S(0x18f,0x1a2)]){_gre[S(0x179,0x189)]({'parent':c,'tag':'i','className':{'b-group-state-icon':0x1,'b-fw-icon':0x1,[b[S(0x163,0x183)]]:g[S(0x145,0x18e)],[b[S(0x1a0,0x198)]]:!g[S(0x1df,0x18e)]},'nextSibling':c['firstChild']});c[S(0xfb,0x150)][S(0x19a,0x1ed)](S(0x1ab,0x1c2));c[S(0x1a8,0x172)]=c[S(0x159,0x1b9)]=!![];}}else{d['isGroupHeader']=![];if(c[S(0x15b,0x172)]){var i;(i=c[S(0x229,0x1c6)](S(0x1b3,0x1ca)))===null||i===void 0x0||i['remove']();c['classList'][S(0x114,0x171)]('b-group-title');c[S(0x17c,0x172)]=![];}}d['assignCls'](h);}[_grx(-0x2c2,-0x2a0)](a){const b=this,{record:c,cellElement:d,column:e,persist:f,isExporting:isExporting=![]}=a,{grid:g}=b,h=c[T(-0x1e6,-0x23f)],i=h[T(-0x143,-0x17e)]?g['L']('L{Object.None}'):h['groupRowFor'],{groupSummary:j}=g[T(-0x19e,-0x1b0)],k=h[T(-0x173,-0x122)]-(j&&j['target']!==T(-0x13b,-0x10a)?0x1:0x0);function T(a,b){return _grx(b,a-0x127);}let l=null,m=!![];if(f||e){var n;const o=g['columns'][T(-0x19c,-0x143)](h[T(-0x182,-0x1bd)]),p=a[T(-0x1be,-0x21f)]=e===b[T(-0x1a1,-0x194)](isExporting);if(o!==null&&o!==void 0x0&&o[T(-0x1c3,-0x1c9)]){if(p){l=o[T(-0x1c3,-0x1b1)]({...a,'groupRowFor':i,'groupRecords':c['groupChildren'],'groupColumn':o,'count':k});m=![];}}else if(b[T(-0x1c3,-0x1a8)]){l=b[T(-0x1c3,-0x1c9)]({...a,'groupRowFor':i,'groupRecords':c[T(-0x195,-0x1b1)],'groupColumn':o,'count':k,'isFirstColumn':p});}if(!((n=a[T(-0x1a2,-0x1a0)])!==null&&n!==void 0x0&&n['height'])&&b[T(-0x16e,-0x14b)]){a[T(-0x1a2,-0x15f)][T(-0x1df,-0x212)]=b[T(-0x16e,-0x15c)];}if(p&&l==null&&m&&_gre[T(-0x129,-0x129)](d)===0x0){l=_grg['encodeHtml'](''+(i===T(-0x1ce,-0x1b1)?'':i));if(b[T(-0x1cc,-0x219)]){l+=isExporting?'\x20('+k+')':T(-0x128,-0xf9)+k+T(-0x142,-0x19e);}}}else if(b[T(-0x1c3,-0x208)]){l=b['groupRenderer'](a);}if(typeof l===T(-0x12f,-0x138)){d[T(-0x1ca,-0x221)]=l;}else if(typeof l==='object'){_grf['sync']({'targetElement':d,'domConfig':{'onlyChildren':!![],'children':_grd[T(-0x199,-0x16e)](l)}});}if(_gre[T(-0x129,-0x128)](d)>0x0){d[T(-0x164,-0x162)]=!![];}return d[T(-0x1ca,-0x16a)];}get[_grx(-0x28a,-0x2a2)](){function U(a,b){return _grx(b,a-0x57b);}return this[U(0x316,0x2d9)]['columns'][U(0x27c,0x282)][U(0x310,0x2e6)](a=>!a[U(0x30b,0x303)]);}['findGroupHeaderColumn'](a=![]){function V(a,b){return _grx(b,a-0x395);}return this[V(0x130,0x126)][V(0x111,0xd8)][V(0x96,0x53)][V(0x12a,0xf5)](b=>{function W(a,b){return V(b- -0x23c,a);}return!b[W(-0x14a,-0x117)]&&(a?b['exportable']!==![]:!![]);});}[_grx(-0x354,-0x2f7)](a=this[_grx(-0x212,-0x265)][_grx(-0x337,-0x2e3)]){const {store:b,grid:c}=this;function X(a,b){return _grx(a,b-0x661);}if(a&&b[X(0x339,0x384)]){for(const e of b[X(0x3cb,0x37f)]){var d;const f=c['columns'][X(0x3b4,0x39e)](e[X(0x3b5,0x3fd)]),g=f&&c[X(0x424,0x3d9)](f['id']);g===null||g===void 0x0||g['classList'][X(0x42a,0x40a)]('b-group',e[X(0x3ac,0x397)]?'b-asc':'b-desc');if(g&&(!((d=c[X(0x3c6,0x39c)][X(0x3b0,0x394)])!==null&&d!==void 0x0&&d[X(0x3d3,0x3ad)])||f['sortable']===![])){const h=f[X(0x39d,0x3cf)];if(!(h!==null&&h!==void 0x0&&h[X(0x416,0x3e3)]('.b-sort-icon'))){_gre[X(0x3d5,0x3a6)]({'parent':h,'className':'b-icon\x20b-sort-icon'});}}}}}[_grx(-0x2a4,-0x2e6)]({column:a,items:b}){const c=this;function Y(a,b){return _grx(a,b-0x426);}if(a[Y(0x15f,0x192)]!==![]){b[Y(0x11d,0x146)]={'text':Y(0x106,0x157),'localeClass':c,'icon':Y(0x1f1,0x1d4),'cls':Y(0x17f,0x18f),'weight':0x190,'disabled':c['disabled'],'onItem':()=>c['store'][Y(0x176,0x19d)](a[Y(0x19f,0x1c2)],!![])};b['groupDesc']={'text':Y(0x16d,0x15f),'localeClass':c,'icon':Y(0x1d4,0x1c9),'weight':0x19a,'disabled':c[Y(0x1e9,0x1d2)],'onItem':()=>c['store'][Y(0x1f9,0x19d)](a['field'],![])};}if(c['store'][Y(0x196,0x149)]){b[Y(0x112,0x118)]={'text':Y(0x189,0x193),'localeClass':c,'icon':'b-fw-icon\x20b-icon-clear','cls':a[Y(0x1ec,0x192)]?'':Y(0x195,0x18f),'weight':0x1a4,'disabled':c[Y(0x201,0x1d2)],'onItem':()=>c[Y(0x17c,0x15a)][Y(0x130,0x169)]()};}}[_grx(-0x1f3,-0x251)](a,b){var c;const d=this,{store:e,disabled:f}=d;function Z(a,b){return _grx(a,b-0xbd);}b[Z(-0x191,-0x1b8)]({'text':'L{groupAscendingShort}','group':'L{group}','localeClass':d,'icon':Z(-0x295,-0x245),'ref':Z(-0x276,-0x223),'cls':Z(-0x22b,-0x1da),'weight':0x6e,'disabled':f,'onDrop':({column:h})=>e[Z(-0x223,-0x1cc)](h[Z(-0x17b,-0x1a7)],!![])});b[Z(-0x184,-0x1b8)]({'text':Z(-0x211,-0x24f),'group':Z(-0x1f7,-0x1a2),'localeClass':d,'icon':Z(-0x198,-0x1f3),'ref':Z(-0x23a,-0x1db),'weight':0x6e,'disabled':f,'onDrop':({column:h})=>e[Z(-0x211,-0x1cc)](h[Z(-0x1c8,-0x1a7)],![])});const g=((c=e['groupers'])===null||c===void 0x0?void 0x0:c[Z(-0x280,-0x22b)](h=>h[Z(-0x1a4,-0x1a7)]===a[Z(-0x1a1,-0x1a7)]))&&!f;b['push']({'text':Z(-0x1a6,-0x1d1),'group':Z(-0x1ae,-0x1a2),'localeClass':d,'icon':Z(-0x1a6,-0x1f0),'ref':Z(-0x225,-0x251),'disabled':!g,'weight':0x6e,'onDrop':({column:h})=>e['removeGrouper'](h[Z(-0x1a1,-0x1a7)])});return b;}[_grx(-0x316,-0x2b8)]({groupers:a}){function a0(a,b){return _grx(a,b-0x132);}const {grid:b}=this,{element:c}=b,d=c&&_gre[a0(-0x182,-0x158)](c,a0(-0x186,-0x1af));if(c){for(const e of d){e[a0(-0x1fb,-0x1c2)]['remove'](a0(-0x217,-0x1b5),a0(-0x10d,-0x126),'b-desc');}if(a){this[a0(-0x166,-0x1c5)]();}}}[_grx(-0x2a4,-0x2ed)]({action:a,records:b}){const {client:c}=this,{rowManager:d,store:e}=c;function a1(a,b){return _grx(b,a- -0x5);}if(e[a1(-0x2e2,-0x2a0)]&&a===a1(-0x253,-0x1fb)){const {field:f}=e[a1(-0x2e7,-0x329)][0x0],g=Math['min'](...b['reduce']((h,i)=>{function a2(a,b){return a1(b-0x6e7,a);}h['push'](e['indexOf'](i[a2(0x403,0x3db)](e)['groupParent']));if(f in i[a2(0x3b4,0x3d5)]['modified']){const j=e[a2(0x44a,0x411)][a2(0x4c3,0x477)](k=>k[a2(0x3d9,0x3d5)][a2(0x47b,0x461)]===i[a2(0x378,0x3d5)][a2(0x45c,0x424)][f]);if(j){h[a2(0x4ae,0x46d)](e[a2(0x3ab,0x3d8)](j));}}return h;},[]));d['renderFromRow'](d[a1(-0x2f3,-0x34c)](g));}}[_grx(-0x2b1,-0x266)]({groupRecord:a}){function a3(a,b){return _grx(b,a-0x16e);}if(!this[a3(-0x12b,-0xf4)]){this[a3(-0x111,-0x121)](a);}}[_grx(-0x242,-0x24c)](a){function a4(a,b){return _grx(a,b-0x5d4);}const b=this,{target:c}=a,d=c[a4(0x33e,0x2ff)](a4(0x2ca,0x2fc)),e=d&&b[a4(0x3a8,0x36f)][a4(0x2ec,0x2e4)](d);if(a[a4(0x3a5,0x378)][a4(0x349,0x2e8)]>0x1&&e&&e['groupable']!==![]&&!b[a4(0x34f,0x380)]){b[a4(0x324,0x308)][a4(0x334,0x34b)](e[a4(0x374,0x370)]);}}async[_grx(-0x2e0,-0x2f6)](a){const b=this,{store:c}=b,{target:d}=a,e=d['closest'](a5(-0x219,-0x225)),f=d[a5(-0x2f1,-0x293)](a5(-0x23b,-0x296)),g=f===null||f===void 0x0?void 0x0:f[a5(-0x2e4,-0x2c6)][a5(-0x23a,-0x236)];if(d[a5(-0x26a,-0x2b2)][a5(-0x22a,-0x262)](a5(-0x23b,-0x25b))||b[a5(-0x1f1,-0x212)]||d['classList']['contains'](a5(-0x293,-0x264))||d[a5(-0x2dd,-0x293)](a5(-0x290,-0x297))||d[a5(-0x313,-0x2b2)][a5(-0x277,-0x262)](a5(-0x205,-0x22f))||a[a5(-0x1f1,-0x243)]){return;}if(f&&g){var h;const i=(h=c['groupers'])===null||h===void 0x0?void 0x0:h[a5(-0x24f,-0x229)](j=>j[a5(-0x23e,-0x222)]===g);if(i&&!a[a5(-0x271,-0x282)]){i[a5(-0x2e6,-0x288)]=!i['ascending'];c[a5(-0x234,-0x247)]();return![];}else if(a[a5(-0x2a9,-0x282)]){const j=b['grid'][a5(-0x1e7,-0x242)]['get'](g);if(j[a5(-0x265,-0x252)]!==![]){if(a[a5(-0x2f8,-0x295)]){c['removeGrouper'](g);}else{c[a5(-0x208,-0x247)](g);}}}}function a5(a,b){return _grx(a,b-0x42);}if(e&&(b[a5(-0x279,-0x21f)]||a[a5(-0x2bf,-0x261)][a5(-0x277,-0x2b2)][a5(-0x269,-0x262)](a5(-0x1df,-0x219)))){b[a5(-0x2e7,-0x2b6)](_grc[a5(-0x248,-0x281)](e)['id'],undefined,undefined,a);return![];}}async[_grx(-0x316,-0x2fd)](){var a;const {focusedCell:b}=this[a6(-0x317,-0x2c0)];function a6(a,b){return _grx(a,b- -0x5b);}if(!this['disabled']&&b!==null&&b!==void 0x0&&(a=b[a6(-0x315,-0x2c7)])!==null&&a!==void 0x0&&a[a6(-0x301,-0x2ec)]&&!b[a6(-0x324,-0x2f9)]){await this[a6(-0x392,-0x353)](b['id']);return!![];}return![];}['updateHeaderHeight'](){function a7(a,b){return _grx(b,a- -0x6a);}if(!this[a7(-0x2c8,-0x27c)]){this[a7(-0x33e,-0x370)][a7(-0x353,-0x365)]();}}[_grx(-0x219,-0x273)](){function a8(a,b){return _grx(b,a-0x564);}if(!this['isConfiguring']){this[a8(0x290,0x2d3)][a8(0x27b,0x22d)]();}}}_gri['registerFeature'](Group,!![],[_grx(-0x328,-0x2d0),_grx(-0x2d4,-0x2a5)]);function _grx(a,b){return _grb(b- -0x374,a);}_gri[_grx(-0x2d9,-0x290)](Group,![],[_grx(-0x274,-0x2c6)]);
|
|
1
|
+
(function(a,b){const c=a();function x(a,b){return _grb(a-0x1b2,b);}while(!![]){try{const d=-parseInt(x(0x2d7,0x306))/0x1+-parseInt(x(0x297,0x24b))/0x2+-parseInt(x(0x2be,0x2a9))/0x3*(parseInt(x(0x2d5,0x2d7))/0x4)+parseInt(x(0x2e7,0x2a8))/0x5*(parseInt(x(0x2b1,0x2a1))/0x6)+-parseInt(x(0x2f4,0x2e5))/0x7*(parseInt(x(0x2ae,0x29a))/0x8)+-parseInt(x(0x2f3,0x2e4))/0x9*(parseInt(x(0x2f9,0x2b2))/0xa)+-parseInt(x(0x323,0x372))/0xb*(-parseInt(x(0x349,0x374))/0xc);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x1a49c));import _grc from'@bryntum/core-thin/lib/data/DomDataStore.js';function _gra(){const a8=['groupSummary','b-expanding','headerHeight','renderRows','toggleGroup','isLockedRows','features','85vuggiM','getRowFor','onLockRows','textWrapper','enabled','ion','!!novalue!!','b-desc','renderCell','expandAll','updateHeaderHeight','client','820143gbsFop','7MiOKGi','b-grid-group-collapsed','groupRowFor','isActionable','beforeToggleGroup','10hSOAdq','Grid','contains','forceInnerHTML','emptyArray','shiftKey','dataset','b-icon\x20b-icon-group-desc','getColumnFromElement','L{groupDescendingShort}','removeGrouper','</span>','getAt','groupField','init','instanceMeta','populateHeaderMenu','rowManager','groupHeaderRecords','_hasHtml','meta','lockRows','TreeGrid','configurable','clearKnownHeights','b-group-row','.b-group-row','record','modified','$name','isFirstColumn','doDisable','clearCell','splitFrom','length','onStoreToggleGroup','visibleColumns','groupChildren','b-icon-group-expand','ascending','processConfig','updateGroupSortFn','5477241fwQsYk','renderHeader','string','updateShowCount','isSchedulerBase','min','groupAsc','touches','toggleOnRowClick','handled','move','store','currentGroupers','renderFromRecord','resourceStore','isVertical','encodeHtml','L{group}','setConfig','getById','altKey','collapseIconCls','detachListeners','toggleCollapse','loadStylesheet','b-action-item','children','b-resizer','updateRenderer','field','collapseAll','L{Object.None}','b-asc','onUnlockRows','indexOf','refreshGrid','groupRemove','b-fw-icon\x20b-icon-group-asc','12jQdePV','L{stopGrouping}','removeCls','b-icon\x20b-sort-icon','isGrouped','grid','onBeforeRenderRow','get','createElement','isToggling','find','sort','afterToggleGroup','344190krWmui','innerHTML','column','b-group','isConfiguring','clearGroupers','buildGroupHeader','remove','getChildElementCount','b-group-title','refreshRows','object','add','collapsed','b-icon\x20b-icon-group-asc','firstChild','isDestroying','L{stopGroupingShort}','height','tree','closest','$groupHeader','<span\x20class=\x22b-group-count\x22>','442952jsEiGS','trigger','groupDesc','40428ErQxkY','.b-grid-header','expand','group','findGroupHeaderColumn','groupable','groupers','.b-grid-header.b-group','renderFromRow','onStoreChange','collapseAllGroups','querySelector','classList','2784ttrYPv','asArray','sortable','some','columns','disabled','groupHeaderColumn','b-fw-icon\x20b-icon-clear','expandAllGroups','target','groupSortFn','b-icon\x20b-icon-clear','isGroupHeader','groupRenderer','push','getColumnDragToolbarItems','L{groupAscending}','headerContainer','b-separator','sync','internalToggleCollapse','onStoreGroup','.b-sort-icon','700MYaQAf','map','23810uiNRJo','childCount','assignCls','registerFeature','groupHeaderReserved','index','transition','size','getHeaderElement'];_gra=function(){return a8;};return _gra();}import _grd from'@bryntum/core-thin/lib/helper/ArrayHelper.js';import _gre from'@bryntum/core-thin/lib/helper/DomHelper.js';import _grf from'@bryntum/core-thin/lib/helper/DomSync.js';import _grg from'@bryntum/core-thin/lib/helper/StringHelper.js';import _grh from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _gri from'@bryntum/core-thin/lib/helper/util/Promissory.js';import _grj from'./GridFeatureManager.js';function _gry(a,b){return _grb(a- -0x1f8,b);}_gre[_gry(-0x6f,-0x1a)]('@bryntum/grid-thin/lib/feature/Group.css');export default class Group extends _grh{static [_gry(-0x94,-0x5e)]='Group';static [_gry(-0x9a,-0x5d)]={'field':null,'expandIconCls':_gry(-0x8b,-0x4f),'collapseIconCls':'b-icon-group-collapse','ascending':!![],'headerHeight':null,'showCount':!![],'groupSortFn':null,'renderer':null,'keyMap':{'\x20':'toggleGroup'},'toggleOnRowClick':!![]};['construct'](a,b){var c;const d=this;function z(a,b){return _gry(b- -0x34,a);}if(a[z(-0xda,-0xf8)][z(-0x156,-0x134)]){return;}d['_thisIsAUsedExpression'](a[z(-0xf1,-0xf8)][z(-0x150,-0xfe)]);b=d['processConfig'](b);d['grid']=a;super['construct'](a,b);a[z(-0xe3,-0xf2)]({'lockRows':'onLockRows','beforeUnlockRows':z(-0x41,-0x9a),'thisObj':d});if(!((c=a[z(-0x138,-0xf8)][z(-0xb9,-0xd0)])!==null&&c!==void 0x0&&c[z(-0x11c,-0xf3)])||a[z(-0xb1,-0xc4)]){d[z(-0x136,-0xd7)](a);}}[_gry(-0xa3,-0x5a)](a){this[A(-0x1b8,-0x1c8)]=a;function A(a,b){return _gry(a- -0x15c,b);}this['bindStore'](a[A(-0x1d8,-0x198)]);this[A(-0x1cd,-0x213)](A(-0x1fc,-0x23d));a[A(-0x1fc,-0x1c7)][A(-0x21a,-0x1d1)]({'name':A(-0x1fc,-0x1bd),'beforeRenderRow':A(-0x1b7,-0x213),'renderCell':A(-0x217,-0x1f4),'prio':0x44c,'thisObj':this});if(!a['isConfiguring']){a[A(-0x223,-0x1ff)]();}}['processConfig'](a){if(typeof a==='string'){return{'field':a};}return a;}[_gry(-0x75,-0x46)](a){function B(a,b){return _gry(b-0x4b7,a);}if(a===null){this[B(0x482,0x43b)][B(0x3ea,0x3a9)]();}else{super[B(0x484,0x442)](this[B(0x404,0x42e)](a));}}['bindStore'](a){const b=this,{client:c}=b;if(c[C(0x381,0x3d1)]&&c[C(0x38c,0x369)]&&a){a=c[C(0x38b,0x3d7)];}b[C(0x393,0x39a)](C(0x388,0x364));if(c[C(0x33f,0x311)]){return;}a[C(0x346,0x303)]({'name':'store','group':C(0x32d,0x304),'change':C(0x314,0x343),'toggleGroup':C(0x376,0x377),'thisObj':b});function C(a,b){return _gry(a-0x404,b);}if((b[C(0x39a,0x394)]||a[C(0x3a7,0x37a)])&&!c[C(0x2f5,0x2b0)]){a[C(0x30e,0x304)]({'field':b[C(0x39a,0x3ec)],'ascending':b['ascending'],'fn':b['groupSortFn']});}else{b['onStoreGroup']({'groupers':a[C(0x311,0x2cf)]});}}[_gry(-0x6b,-0x9a)](a){function D(a,b){return _gry(b- -0x19a,a);}this[D(-0x251,-0x279)]=a;}['updateField'](a){var b,c;function E(a,b){return _gry(b- -0x188,a);}const d=this;if((b=d[E(-0x222,-0x240)]['features'][E(-0x22f,-0x224)])!==null&&b!==void 0x0&&b[E(-0x278,-0x247)]&&!d['client']['splitFrom']){return;}if(!d[E(-0x2f5,-0x297)]||!((c=d['store']['groupers'])!==null&&c!==void 0x0&&c[E(-0x24c,-0x271)](e=>e['field']===a))){d[E(-0x214,-0x204)][E(-0x24e,-0x27e)]({'field':a,'ascending':d[E(-0x237,-0x212)],'fn':d['groupSortFn']});}}[_gry(-0x88,-0xc0)](a){function F(a,b){return _gry(b-0x356,a);}if(!this[F(0x2a2,0x247)]){this[F(0x2e3,0x2da)][F(0x20e,0x260)]({'field':this[F(0x29f,0x2ec)],'ascending':this['ascending'],'fn':a});}}['updateAscending'](a){function G(a,b){return _gry(b-0x48,a);}const b=this;if(!b['isConfiguring']){b[G(-0x23,-0x34)][G(-0x103,-0xae)]({'field':b[G(-0x6e,-0x22)],'ascending':a,'fn':b[G(-0x43,-0x9a)]});}}[_gry(-0x92,-0x5f)](a){const {store:b}=this;function H(a,b){return _gry(a- -0x26,b);}if(a&&b['isGrouped']){const {sorters:c}=b;c['unshift'](...b['groupers']);this[H(-0xa1,-0xf8)]=b[H(-0x119,-0xec)];b[H(-0x134,-0x163)]();b[H(-0x13b,-0xdc)](c);}else if(!a&&this[H(-0xa1,-0xbd)]){b[H(-0x11c,-0x110)](this[H(-0xa1,-0x59)][0x0]);this[H(-0xa1,-0xfb)]=null;}super['doDisable'](a);}get[_gry(-0x7c,-0x4a)](){function I(a,b){return _gry(a- -0xbb,b);}const {grid:a}=this;if(a['isSchedulerBase']&&a[I(-0x133,-0x137)]){return a[I(-0x134,-0x192)];}return a[I(-0x137,-0x141)];}static get['pluginConfig'](){function J(a,b){return _gry(b- -0x150,a);}return{'assign':[J(-0x1bc,-0x1b9),J(-0x22f,-0x20a)],'after':[J(-0x20f,-0x1d6),J(-0x209,-0x1f1),J(-0x1ed,-0x22d),'onElementTouchStart','onElementClick','bindStore']};}['refreshGrid'](a){function K(a,b){return _gry(b-0x174,a);}const {store:b,rowManager:c}=this[K(0x177,0x118)];if(c['rowCount']>b['count']||!c[K(0x89,0xb2)](a)){c[K(0x41,0x83)]();}else{c[K(0xe0,0xfa)](a);}}async[_gry(-0x70,-0x91)](a,b){await this['internalToggleCollapse'](a,b);}async[_gry(-0xd8,-0x122)](a,b,c=![],d,e=![]){var f;const g=this,{store:h,grid:j}=g,{rowManager:k}=j,l=((f=j[L(0x3b4,0x35c)])===null||f===void 0x0?void 0x0:f[L(0x3bb,0x3b5)])&&!c&&!e;function L(a,b){return _gry(a-0x481,b);}while(g[L(0x36a,0x343)]){await g[L(0x36a,0x35e)];}const m=new _gri();g[L(0x36a,0x3b0)]=m;try{let n=Number['MAX_VALUE'];const o=_grd[L(0x396,0x34b)](a)[L(0x3ad,0x3a3)](r=>{r=h['getById'](r);function M(a,b){return L(b-0x12,a);}if(!r['isGroupHeader']){r=h['getGroupHeaderForRecord'](r);}n=Math[M(0x3f7,0x411)](n,h[M(0x402,0x42e)](r),0x0);if(!r[M(0x3a5,0x3b3)]){return;}return r;});b=b===undefined?!o[0x0][L(0x3e4,0x387)][L(0x37b,0x358)]:b;if(j[L(0x386,0x34b)](L(0x3cf,0x394),{'groupRecord':o[0x0],'groupRecords':o,'collapse':b,'domEvent':d})===![]){return;}const [p]=o,{groupChildren:q}=p;h[b?'collapse':L(0x38a,0x36b)](o);if(l&&o[L(0x3f2,0x397)]===0x1){let r;if(b){for(let s=0x0;s<q[L(0x3f2,0x3e0)]&&!r;s++){r=k[L(0x3bf,0x3ec)](q[s]);}}else{r=k[L(0x3bf,0x400)](p);}if(r){const t=k[L(0x3bf,0x3c5)](p),u=b?'b-collapsing':L(0x3b8,0x3f7),v=b?r['index']:r[L(0x3b3,0x3ca)]+0x1,w=b?-q[L(0x3f2,0x43e)]:q[L(0x3f2,0x3af)];if(t){k[L(0x3ba,0x413)]([t]);t['addCls'](u);}await k['insert'](v,w,'toggle');if(g[L(0x37e,0x3d4)]){return;}t===null||t===void 0x0||t[L(0x422,0x474)](u);j[L(0x386,0x382)](L(0x3bb,0x3bb),{'groupRecord':o[0x0],'groupRecords':o,'collapse':b,'allRecords':e});j[L(0x36d,0x34d)]();return;}}if(!l&&!c){g['refreshGrid'](h[L(0x3dc,0x436)](n));}j[L(0x386,0x32d)](L(0x3bb,0x3d5),{'groupRecord':o[0x0],'groupRecords':o,'collapse':b,'allRecords':e});j['afterToggleGroup']();}finally{g['isToggling']=![];m['resolve']();}}[_gry(-0x69,-0x2f)](){function N(a,b){return _gry(a-0x21e,b);}const a=this,{store:b,grid:c}=a;if(b[N(0x1c1,0x1bb)]&&!a[N(0x137,0x104)]){a[N(0x146,0x104)](b[N(0x17f,0x1c8)],!![],!![],undefined,!![]);c[N(0x123,0xfe)](N(0x12f,0x18a));c['rowManager'][N(0x185,0x167)]();c[N(0x115,0xce)](null,!![]);}}['expandAll'](){const a=this,{store:b,grid:c}=a;function O(a,b){return _gry(a-0x4e4,b);}if(b['isGrouped']&&!a['disabled']){a['internalToggleCollapse'](b[O(0x445,0x4a2)],![],!![],undefined,!![]);c[O(0x3e9,0x3a3)](O(0x400,0x3a3));c[O(0x444,0x444)][O(0x44b,0x4a6)]();c[O(0x3db,0x387)]();}}[_gry(-0xc1,-0x99)]({clone:a}){function P(a,b){return _gry(a- -0xca,b);}this[P(-0x126,-0xff)]=a;}[_gry(-0x66,-0x42)]({source:a}){const {client:b}=this;function Q(a,b){return _gry(b-0x2f0,a);}if(!b[Q(0x1ec,0x1ed)]){this['init'](b);}}[_gry(-0x5b,-0x7c)]({row:a}){const b=a['grid'][R(0x563,0x57a)][R(0x56b,0x59b)](a['id']);function R(a,b){return _gry(a-0x5df,b);}a[R(0x531,0x4fb)]=a[R(0x531,0x54d)]||(b===null||b===void 0x0?void 0x0:b[R(0x4ff,0x544)]);}[_gry(-0xbb,-0xbb)](a){const b=this,{cellElement:c,row:d,column:e,grid:f}=a,{meta:g}=a[S(-0xd6,-0x9d)],h={'b-group-row':0x0,'b-grid-group-collapsed':0x0};function S(a,b){return _gry(a- -0x40,b);}if(!b['disabled']&&b[S(-0xbc,-0xe9)]['isGrouped']&&S(-0xf4,-0xa1)in g){if(e[S(-0x10f,-0xe1)]){return;}e[S(-0xd1,-0x100)](c);d[S(-0x120,-0xca)]=!![];h[S(-0xf5,-0x14e)]=g['collapsed'];h[S(-0xd8,-0x118)]=0x1;if(f['buildGroupHeader']){f[S(-0x14d,-0x118)](a);}else{b[S(-0x14d,-0x198)](a);}if(e===b[S(-0x126,-0x126)]){_gre[S(-0x99,-0x6e)]({'parent':c,'tag':'i','className':{'b-group-state-icon':0x1,'b-fw-icon':0x1,[b['expandIconCls']]:g[S(-0x146,-0x111)],[b[S(-0xb2,-0x10b)]]:!g['collapsed']},'nextSibling':c[S(-0x144,-0x15f)]});c['classList'][S(-0x147,-0xed)](S(-0x14a,-0x18b));c[S(-0x13e,-0x17f)]=c[S(-0xde,-0x11d)]=!![];}}else{d['isGroupHeader']=![];if(c['$groupHeader']){var i;(i=c[S(-0x12e,-0x150)]('.b-group-state-icon'))===null||i===void 0x0||i['remove']();c[S(-0x12d,-0x168)]['remove'](S(-0x14a,-0x171));c[S(-0x13e,-0x102)]=![];}}d[S(-0x111,-0xd8)](h);}['buildGroupHeader'](a){const b=this,{record:c,cellElement:d,column:e,persist:f,isExporting:isExporting=![]}=a,{grid:g}=b,h=c[T(0x448,0x44a)],i=h[T(0x46b,0x43a)]?g['L'](T(0x4c3,0x47f)):h[T(0x485,0x433)],{groupSummary:j}=g['features'],k=h[T(0x457,0x415)]-(j&&j[T(0x428,0x404)]!=='header'?0x1:0x0);let l=null,m=!![];function T(a,b){return _gry(b-0x4e7,a);}if(f||e){const n=g['columns'][T(0x4db,0x48d)](h[T(0x3ef,0x443)]),o=a[T(0x495,0x454)]=e===b[T(0x3f6,0x3f2)](isExporting);if(n!==null&&n!==void 0x0&&n[T(0x455,0x408)]){if(o){l=n[T(0x453,0x408)]({...a,'groupRowFor':i,'groupRecords':c[T(0x4b1,0x45b)],'groupColumn':n,'count':k});m=![];}}else if(b['groupRenderer']){l=b[T(0x44a,0x408)]({...a,'groupRowFor':i,'groupRecords':c[T(0x4ba,0x45b)],'groupColumn':n,'count':k,'isFirstColumn':o});}if(a[T(0x44b,0x41b)]&&!a['size'][T(0x3ea,0x3e6)]&&b[T(0x3cd,0x41f)]){a['size'][T(0x43e,0x3e6)]=b[T(0x45d,0x41f)];}if(o&&l==null&&m&&_gre[T(0x3d7,0x3dc)](d)===0x0){l=_grg[T(0x4cd,0x470)](''+(i===T(0x42a,0x42a)?'':i));if(b['showCount']){l+=isExporting?'\x20('+k+')':T(0x3bc,0x3ea)+k+T(0x3f6,0x441);}}}else if(b[T(0x3ae,0x408)]){l=b[T(0x41f,0x408)](a);}if(typeof l===T(0x421,0x462)){d[T(0x38e,0x3d5)]=l;}else if(typeof l===T(0x3d2,0x3df)){_grf[T(0x3d4,0x40e)]({'targetElement':d,'domConfig':{'onlyChildren':!![],'children':_grd[T(0x41a,0x3fc)](l)}});}if(_gre[T(0x3a8,0x3dc)](d)>0x0){d[T(0x46b,0x449)]=!![];}return d['innerHTML'];}get['groupHeaderColumn'](){function U(a,b){return _gry(b-0x1c4,a);}return this[U(0x19e,0x168)][U(0x11e,0xdc)][U(0x13b,0x137)][U(0xa6,0xae)](a=>!a['groupHeaderReserved']);}[_gry(-0xf5,-0xc8)](a=![]){function V(a,b){return _gry(b-0x251,a);}return this[V(0x237,0x1f5)][V(0x1bb,0x169)][V(0x201,0x1c4)][V(0xe8,0x13b)](b=>{return!b['groupHeaderReserved']&&(a?b['exportable']!==![]:!![]);});}[_gry(-0x86,-0xe2)](a=this['grid'][_gry(-0xdb,-0xa5)]){const {store:b,grid:c}=this;function W(a,b){return _gry(a-0x1bf,b);}if(a&&b['isGrouped']){for(const e of b[W(0xcc,0xcd)]){var d;const f=c[W(0xd7,0x90)][W(0x165,0x170)](e[W(0x155,0x141)]),g=f&&c[W(0xf4,0xaa)](f['id']);g===null||g===void 0x0||g[W(0xd2,0x8a)][W(0xb8,0x103)](W(0xaf,0x103),e['ascending']?W(0x158,0x1b2):W(0x103,0x14b));if(g&&(!((d=c[W(0xfb,0xfe)][W(0xaa,0xdb)])!==null&&d!==void 0x0&&d[W(0x100,0x15f)])||f[W(0xd5,0x88)]===![])){const h=f[W(0xff,0x102)];if(!(h!==null&&h!==void 0x0&&h['querySelector'](W(0xe9,0xdb)))){_gre[W(0x166,0x160)]({'parent':h,'className':W(0x161,0x10f)});}}}}}[_gry(-0xa1,-0x63)]({column:a,items:b}){function X(a,b){return _gry(b-0x493,a);}const c=this;if(a[X(0x3d4,0x39f)]!==![]){b[X(0x3c4,0x412)]={'text':X(0x413,0x3b7),'localeClass':c,'icon':X(0x3da,0x431),'cls':X(0x3d0,0x3b9),'weight':0x190,'disabled':c[X(0x3c2,0x3ac)],'onItem':()=>c[X(0x436,0x417)][X(0x366,0x39d)](a[X(0x45d,0x429)],!![])};b[X(0x345,0x399)]={'text':'L{groupDescending}','localeClass':c,'icon':'b-fw-icon\x20b-icon-group-desc','weight':0x19a,'disabled':c['disabled'],'onItem':()=>c[X(0x3e6,0x417)][X(0x369,0x39d)](a[X(0x422,0x429)],![])};}if(c[X(0x44e,0x417)][X(0x413,0x436)]){b[X(0x403,0x430)]={'text':X(0x3fb,0x433),'localeClass':c,'icon':X(0x3e3,0x3ae),'cls':a[X(0x3fc,0x39f)]?'':X(0x3c3,0x3b9),'weight':0x1a4,'disabled':c[X(0x378,0x3ac)],'onItem':()=>c[X(0x431,0x417)]['clearGroupers']()};}}['getColumnDragToolbarItems'](a,b){var c;const d=this,{store:e,disabled:f}=d;b['push']({'text':'L{groupAscendingShort}','group':Y(0x1cd,0x1cc),'localeClass':d,'icon':Y(0x13e,0x11e),'ref':Y(0x1c2,0x20e),'cls':Y(0x169,0x15b),'weight':0x6e,'disabled':f,'onDrop':({column:h})=>e[Y(0x14d,0x14c)](h['field'],!![])});b['push']({'text':Y(0x19b,0x146),'group':Y(0x1cd,0x1d6),'localeClass':d,'icon':Y(0x199,0x158),'ref':'groupDesc','weight':0x6e,'disabled':f,'onDrop':({column:h})=>e[Y(0x14d,0xf3)](h[Y(0x1d9,0x229)],![])});const g=((c=e[Y(0x150,0x179)])===null||c===void 0x0?void 0x0:c['some'](h=>h[Y(0x1d9,0x1cb)]===a[Y(0x1d9,0x223)]))&&!f;function Y(a,b){return _gry(a-0x243,b);}b['push']({'text':Y(0x141,0x176),'group':Y(0x1cd,0x178),'localeClass':d,'icon':Y(0x162,0x18c),'ref':Y(0x1e0,0x1e4),'disabled':!g,'weight':0x6e,'onDrop':({column:h})=>e[Y(0x19c,0x1ee)](h[Y(0x1d9,0x1fc)])});return b;}[_gry(-0xd7,-0xaa)]({groupers:a}){function Z(a,b){return _gry(a- -0x59,b);}const {grid:b}=this,{element:c}=b,d=c&&_gre[Z(-0xc6,-0x8c)](c,Z(-0x14b,-0x12e));if(c){for(const e of d){e[Z(-0x146,-0x133)][Z(-0x165,-0x110)](Z(-0x169,-0x111),Z(-0xc0,-0xb3),Z(-0x115,-0x15b));}if(a){this[Z(-0xdf,-0xdd)]();}}}[_gry(-0xf0,-0x13c)]({action:a,records:b}){function a0(a,b){return _gry(b-0x4e0,a);}const {client:c}=this,{rowManager:d,store:e}=c;if(e[a0(0x48b,0x483)]&&a===a0(0x490,0x463)){const {field:f}=e[a0(0x438,0x3ed)][0x0],g=Math[a0(0x40f,0x45e)](...b['reduce']((h,i)=>{h[a1(-0x114,-0x135)](e[a1(-0x9b,-0x85)](i[a1(-0xd8,-0x87)](e)['groupParent']));if(f in i[a1(-0xd3,-0xd5)][a1(-0xcb,-0x101)]){const j=e['groupRecords']['find'](k=>k[a1(-0xd3,-0xfe)][a1(-0xea,-0x118)]===i[a1(-0xd3,-0xf9)]['modified'][f]);if(j){h[a1(-0x114,-0xd8)](e['indexOf'](j));}}function a1(a,b){return a0(b,a- -0x516);}return h;},[]));d['renderFromRow'](d['getRow'](g));}}[_gry(-0x8e,-0xb6)]({groupRecord:a}){function a2(a,b){return _gry(b-0xef,a);}if(!this[a2(0x11,-0x28)]){this[a2(0x33,0x8b)](a);}}['onElementTouchStart'](a){function a3(a,b){return _gry(b-0x1d2,a);}const b=this,{target:c}=a,d=c['closest'](a3(0xff,0xda)),e=d&&b[a3(0x146,0x176)][a3(0x13d,0x129)](d);if(a[a3(0x189,0x152)][a3(0x12b,0x143)]>0x1&&e&&e[a3(0xb3,0xde)]!==![]&&!b[a3(0x14b,0xeb)]){b[a3(0x119,0x156)][a3(0x12a,0xdc)](e['field']);}}async['onElementClick'](a){function a4(a,b){return _gry(a- -0x1ac,b);}const b=this,{store:c}=b,{target:d}=a,e=d[a4(-0x2ab,-0x2c6)](a4(-0x243,-0x212)),f=d['closest'](a4(-0x2a4,-0x268)),g=f===null||f===void 0x0?void 0x0:f[a4(-0x257,-0x225)][a4(-0x2bd,-0x269)];if(d[a4(-0x299,-0x2f0)][a4(-0x25b,-0x20d)](a4(-0x218,-0x230))||b[a4(-0x293,-0x23c)]||d[a4(-0x299,-0x255)][a4(-0x25b,-0x218)](a4(-0x21a,-0x272))||d[a4(-0x2ab,-0x2bf)]('.b-checkbox')||d[a4(-0x299,-0x257)]['contains']('b-filter-icon')||a[a4(-0x22a,-0x222)]){return;}if(f&&g){var h;const i=(h=c[a4(-0x29f,-0x2f0)])===null||h===void 0x0?void 0x0:h[a4(-0x2c2,-0x2dd)](j=>j[a4(-0x216,-0x1b8)]===g);if(i&&!a[a4(-0x258,-0x1fd)]){i[a4(-0x236,-0x25a)]=!i['ascending'];c[a4(-0x2a2,-0x2a4)]();return![];}else if(a[a4(-0x258,-0x248)]){const j=b[a4(-0x208,-0x213)][a4(-0x294,-0x278)][a4(-0x206,-0x256)](g);if(j[a4(-0x2a0,-0x299)]!==![]){if(a[a4(-0x21f,-0x1fd)]){c[a4(-0x253,-0x270)](g);}else{c[a4(-0x2a2,-0x2c9)](g);}}}}if(e&&(b[a4(-0x22b,-0x1fd)]||a['target']['classList']['contains']('b-group-state-icon'))){b[a4(-0x284,-0x2a0)](_grc['get'](e)['id'],undefined,undefined,a);return![];}}async[_gry(-0xc6,-0xe0)](){var a;const {focusedCell:b}=this['grid'];function a5(a,b){return _gry(b-0x429,a);}if(!this[a5(0x39a,0x342)]&&b!==null&&b!==void 0x0&&(a=b[a5(0x3bc,0x393)])!==null&&a!==void 0x0&&a[a5(0x3a0,0x349)]&&!b[a5(0x3bf,0x376)]){await this[a5(0x36d,0x351)](b['id']);return!![];}return![];}[_gry(-0xb9,-0x81)](){function a6(a,b){return _gry(a-0x1f4,b);}if(!this['isConfiguring']){this[a6(0x13c,0xf6)][a6(0xeb,0x13b)]();}}[_gry(-0x84,-0xa6)](){function a7(a,b){return _gry(a-0x266,b);}if(!this[a7(0x157,0x17e)]){this[a7(0x1ae,0x1a6)][a7(0x15d,0x165)]();}}}_grj[_gry(-0xd0,-0xfa)](Group,!![],[_gry(-0xb0,-0x53),'Scheduler']);function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0xe1;let f=c[d];return f;};return _grb(a,b);}_grj[_gry(-0xd0,-0xd3)](Group,![],[_gry(-0x9b,-0x8f)]);
|
package/lib/feature/LockRows.css
CHANGED
|
@@ -8,10 +8,15 @@
|
|
|
8
8
|
* Color of the separator between the locked rows and the body. Matches the splitter color by default.
|
|
9
9
|
*/
|
|
10
10
|
--b-locked-rows-separator-color : var(--b-grid-splitter-color, var(--b-grid-splitter-narrow-color));
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Locked rows z-index
|
|
14
|
+
*/
|
|
15
|
+
--b-locked-rows-z-index : 1;
|
|
11
16
|
}
|
|
12
17
|
|
|
13
18
|
.b-locked-rows {
|
|
14
|
-
z-index :
|
|
19
|
+
z-index : var(--b-locked-rows-z-index);
|
|
15
20
|
|
|
16
21
|
/* Scrollbar hidden when no *data* rows. (Header is counted as a row) */
|
|
17
22
|
[aria-rowcount="1"] {
|
package/lib/feature/LockRows.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function s(a,b){return _grb(b-
|
|
1
|
+
(function(a,b){function s(a,b){return _grb(b- -0x6e,a);}const c=a();while(!![]){try{const d=parseInt(s(0x69,0x39))/0x1*(parseInt(s(0x30,0x28))/0x2)+parseInt(s(0x1a,0x1))/0x3+parseInt(s(0x62,0x58))/0x4+-parseInt(s(0x33,0xf))/0x5+-parseInt(s(0x78,0x52))/0x6+parseInt(s(0x45,0x64))/0x7+-parseInt(s(0x52,0x5c))/0x8;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x4f18a));function _grt(a,b){return _grb(a-0x72,b);}function _gra(){const L=['height','scrollBarWidth','modelClass','b-icon\x20','construct','populateCellMenu','originalStore','subViews','isPartneredWith','-sticky-record-filter','b-last','leaves','752750kOiqnk','pluginConfig','unsplit','trigger','from','chain','LockRows','afterPluginConfigChange','registerFeature','setConfig','afterRenderRow','scrollable','count','hasOverflowY','addCls','filterFn','push','configurable','isRowNumberColumn','restorers','resumeRefresh','autoHeight','toggleLocked','splitFrom','after','72046EKeuEl','columns','deselectAll','isDestroyed','doDisable','columnAutoWidth','width','$isLocking','widgets','processOptions','fieldName','isLockedRowsView','b-locked-rows-clone','override','isSpecialRow','onInternalResize','thisObj','17kDvVxx','addPartner','element','_lastHeight','lockRows','selectAll','isAllRecordsSelected','50%','uncapitalize','boolean','refreshColumn','overflowY','createSplitContainer','fieldMap','refreshSuspended','minHeight','isSplit','forEach','client','LockRows\x20needs\x20`fieldName`\x20or\x20`filterFn`','_splitOptions','suspendRefresh','0\x200\x20auto','unlockRows','removeCls','2676522dJIVgK','b-locked-rows','ion','addField','flex','disabled','1013440AIyCJG','bind','enabled','maxHeight','4519088XZGvOO','hideHorizontalScrollbar','features','handler','merge','b-icon-unlock-row','copyProperties','eachSubGrid','4242371itrMUk','resolveCallback','store','41091FQUgpK','isLockedRows'];_gra=function(){return L;};return _gra();}import _grc from'@bryntum/core-thin/lib/helper/DomHelper.js';import _grd from'@bryntum/core-thin/lib/helper/ObjectHelper.js';function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x6e;let f=c[d];return f;};return _grb(a,b);}import _gre from'@bryntum/core-thin/lib/helper/StringHelper.js';import _grf from'@bryntum/core-thin/lib/helper/util/Rectangle.js';import _grg from'./GridFeatureManager.js';import _grh from'./Split.js';_grc['loadStylesheet']('@bryntum/grid-thin/lib/feature/LockRows.css');export default class LockRows extends _grh{static ['$name']=_grt(0xf5,0xc3);static [_grt(0x100,0xf4)]={'fieldName':'fixed','filterFn':null,'bottomGridConfig':null};static get[_grt(0xf0,0x115)](){function u(a,b){return _grt(a-0x115,b);}const a={};for(const b in super['pluginConfig']){a[b]=[...super['pluginConfig'][b]];}a[u(0x21c,0x21b)][u(0x214,0x1eb)]('selectAll',u(0x21f,0x20f),u(0x20e,0x221),'afterPluginConfigChange');if(!a[u(0x22a,0x200)]){a[u(0x22a,0x236)]=[];}a[u(0x22a,0x21d)][u(0x214,0x208)](u(0x234,0x243));return a;}[_grt(0xe7,0x109)](...a){super[v(0x101,0xfc)](...a);function v(a,b){return _grt(a-0x1a,b);}if(this[v(0x154,0x12a)]){this[v(0x141,0x118)]=!![];this['client']['suspendRefresh']();}}['onInternalPaint']({firstPaint:a}){function w(a,b){return _grt(b-0x201,a);}if(a){if(this[w(0x32c,0x328)]){this[w(0x34b,0x32c)]['resumeRefresh']();}this['lockRows']();}}async['lockRows'](a={'fieldName':this['fieldName'],'filterFn':this['filterFn']}){var b;const c=this,{client:d}=c;function x(a,b){return _grt(b-0x2c3,a);}if(d['splitFrom']||c[x(0x3e1,0x3fa)]||c[x(0x3eb,0x3d2)]){return;}c['$isLocking']=!![];if(c['isSplit']){await c[x(0x3a7,0x3b4)](!![]);}a=c[x(0x3b1,0x3d4)](a);const {store:e,scrollable:f}=d,{fieldName:g}=a,h=d['id']+x(0x3ce,0x3af),i=_grd[x(0x406,0x405)]({},d,[x(0x408,0x3f9),x(0x3cd,0x3eb),'maxHeight',x(0x3f4,0x3c7),x(0x410,0x400)]),j=c[x(0x3b6,0x3e8)](a);let {filterFn:k}=a;if(i[x(0x41d,0x3fe)]===0x0){i[x(0x3d7,0x3fe)]=null;}i[x(0x3b1,0x3a6)]=d[x(0x3e4,0x3df)]||null;c[x(0x3c9,0x3c5)][x(0x3d7,0x3c2)](()=>{function y(a,b){return x(a,b-0x86);}d[y(0x45d,0x441)](i);e['removeFilter'](h);d[y(0x498,0x47a)](y(0x456,0x47c));d['store']=d['store']['$master'];d[y(0x444,0x42b)]=d[y(0x43c,0x432)]=null;d[y(0x471,0x45c)]=null;});if(g&&!e[x(0x3d4,0x3a8)][x(0x3fd,0x3e9)][g]){e[x(0x378,0x3a8)][x(0x3ca,0x3f8)]({'name':g,'type':x(0x3e6,0x3e5)});}d[x(0x420,0x3f1)]();d[x(0x3b4,0x3bb)]({'height':null,'flex':x(0x40e,0x3f2),'minHeight':0x0,'maxHeight':a[x(0x42e,0x3fe)]||x(0x3c1,0x3e3),'autoHeight':!![],'hideHorizontalScrollbar':!![],'hideFooters':!![],'footer':![],'bbar':null});d[x(0x3c2,0x3c0)](x(0x3e7,0x3f6));const l=g?[g]:'*';k=k||(q=>q[g]);const [m]=c[x(0x3eb,0x3d3)]=[c['cloneClient'](j,0x0,a,_grd[x(0x40f,0x403)]({'flex':'1\x201\x200%','hideHeaders':!![],'isBottomSplit':!![],'header':![],'usesLockRows':!![],'refreshSuspended':0x1},c['bottomGridConfig']))];m[x(0x39a,0x3c0)](x(0x3f4,0x3d7));c[x(0x37e,0x3ad)]=[m,d];d[x(0x3d3,0x3ac)]=e;d[x(0x3a6,0x3a5)]=!![];d[x(0x3e8,0x3d6)]=m[x(0x3ae,0x3d6)]=!![];d[x(0x373,0x3a3)]=e[x(0x3de,0x3b7)](q=>k(q),l,{'chainFilters':!![]});m[x(0x3ce,0x3a3)]=e[x(0x392,0x3b7)](q=>!k(q),l,{'chainFilters':!![]});const n=q=>e['trigger']('group',q);const o=[d[x(0x3a4,0x3a3)][x(0x3d5,0x3f7)]({'group':n}),m['store'][x(0x41b,0x3f7)]({'group':n})];c[x(0x3d4,0x3c5)][x(0x3be,0x3c2)](()=>o[x(0x3f0,0x3ed)](q=>q()));!d[x(0x39a,0x3bd)][x(0x3bd,0x3ae)](m[x(0x3e5,0x3bd)])&&d['scrollable'][x(0x3bb,0x3dd)](m[x(0x3e7,0x3bd)],{'x':!![]});m[x(0x39a,0x3cc)][x(0x399,0x3b1)]['forEach'](q=>{function z(a,b){return x(a,b- -0x45);}if(q[z(0x392,0x37f)]){m[z(0x3ab,0x3a1)](q);}});c[x(0x3e4,0x3f0)]=a;const p=_grf[x(0x399,0x3b6)](d[x(0x40c,0x3de)]);d[x(0x3c8,0x3da)](d['element'],p['width'],p[x(0x3c4,0x3a6)]);d[x(0x3d5,0x406)](q=>{const r=_grf['from'](q[A(0x1c7,0x1bb)]);function A(a,b){return x(b,a- -0x217);}q[A(0x1c3,0x1a6)](q[A(0x1c7,0x1c1)],r[A(0x1ba,0x1e9)],r['height']);});if((b=d[x(0x431,0x401)][x(0x3ea,0x3d0)])!==null&&b!==void 0x0&&b['enabled']){d['features']['columnAutoWidth']['syncAutoWidthColumns']();}d[x(0x3a7,0x3bd)]['x']+=0.5;d['scrollable']['y']+=0.5;c['startSyncingColumns']();m[x(0x3ca,0x3c6)](!![]);d['resumeRefresh'](!![]);if(_grc[x(0x3c0,0x3a7)]&&f[x(0x3e2,0x3bf)]){f[x(0x40b,0x3e7)]='scroll';}c[x(0x3ec,0x3d2)]=![];d[x(0x3b2,0x3b5)](x(0x3bb,0x3e0),{'clone':m});return c['subViews'];}[_grt(0x111,0xfb)](a){const {fieldName:b}=a;function B(a,b){return _grt(b- -0x223,a);}a['direction']='horizontal';if(!a[B(-0xf5,-0x125)]&&!b){throw new Error(B(-0x111,-0xf7));}if(a['filterFn']){const c=this[B(-0x10a,-0xde)](a['filterFn'],this);a[B(-0x12a,-0x125)]=c[B(-0x10f,-0xe4)][B(-0xf8,-0xea)](c[B(-0xdc,-0x10b)]);a[B(-0x121,-0x111)]=null;}return a;}get['numberOfLockedRows'](){function C(a,b){return _grt(b-0x359,a);}return this['isSplit']?this['subViews'][0x1][C(0x45b,0x439)][C(0x447,0x454)]:0x0;}[_grt(0xf6,0x115)]({plugin:a,applied:b,origPassedValue:c,name:d}){function D(a,b){return _grt(b- -0x379,a);}var e;const f=this;if(f[D(-0x246,-0x23f)]&&(e=f[D(-0x269,-0x28f)])!==null&&e!==void 0x0&&e[0x0]&&a!==f&&b){const g=_gre[D(-0x23a,-0x258)](a['$$name']),h=f[D(-0x266,-0x28f)][0x0][D(-0x237,-0x23b)][g];if(h!==null&&h!==void 0x0&&h['enabled']&&(typeof c in{'string':0x1,'boolean':0x1,'number':0x1}||c instanceof Date)){h[d]=c;}}}[_grt(0x11f,0x103)](){const a=this[E(-0x2a3,-0x299)]&&this[E(-0x2ed,-0x2d8)][0x0];function E(a,b){return _grt(b- -0x3c2,a);}return this['overridden'][E(-0x290,-0x2a3)]()&&(!a||a[E(-0x2af,-0x2a3)]());}[_grt(0x11e,0x110)](a){function F(a,b){return _grt(a- -0x33f,b);}if(this[F(-0x216,-0x1f1)]){this[F(-0x255,-0x27d)][0x0][F(-0x221,-0x244)](a);}}['deselectAll'](a,b){function G(a,b){return _grt(b-0x2ce,a);}if(this[G(0x3ff,0x3f7)]){this[G(0x3e5,0x3b8)][0x0][G(0x3cd,0x3d8)](a,b);}}[_grt(0xf9,0xda)]({row:a,recordIndex:b}){function H(a,b){return _grt(a- -0x22c,b);}if(this[H(-0x103,-0xe3)]){a['toggleCls'](H(-0x13f,-0x12e),b===this['client'][H(-0x14c,-0x130)][H(-0x131,-0x12c)]-0x1);}}[_grt(0xe8,0x100)]({record:a,items:b}){function I(a,b){return _grt(b- -0x215,a);}var c,d;const e=this,f=((c=e[I(-0xdb,-0xea)][I(-0xf2,-0x10f)])===null||c===void 0x0?void 0x0:c[I(-0xed,-0xd7)][I(-0x10b,-0xf8)])||e,g=(d=f[I(-0xf4,-0xe8)])===null||d===void 0x0?void 0x0:d['fieldName'];if(!e[I(-0x111,-0xde)]&&g&&!f[I(-0xfa,-0x117)]&&!e[I(-0x113,-0xea)]['readOnly']&&!a[I(-0xe1,-0xff)]){b[I(-0x100,-0x110)]={'text':a[g]?'L{unlockRow}':'L{lockRow}','localeClass':e,'icon':I(-0x129,-0x12f)+(a[g]?I(-0xbd,-0xd4):'b-icon-lock-row'),'weight':0x1f4,'separator':!![],'closeParent':!![],'onItem':()=>{a[g]=!a[g];}};}}async['unsplit'](a=![]){const b=this,c=b['subViews'][0x0];function J(a,b){return _grt(a- -0x187,b);}b['client']['trigger']('beforeUnlockRows',{'clone':c});await super[J(-0x96,-0xa2)](a);!b[J(-0x7c,-0x9c)]&&b[J(-0x5c,-0x4c)][J(-0x95,-0x74)](J(-0x57,-0x85),{'clone':c});}[_grt(0x10c,0xe8)](a){function K(a,b){return _grt(b-0x246,a);}if(!this['isConfiguring']){if(a){this[K(0x346,0x337)]();}else{this[K(0x33a,0x363)]();}}}}_grg[_grt(0xf7,0x10f)](LockRows,![]);
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
:root, :host {
|
|
2
|
+
/**
|
|
3
|
+
* Merged cells z-index (above row)
|
|
4
|
+
*/
|
|
5
|
+
--b-merged-cells-z-index : 2;
|
|
6
|
+
}
|
|
7
|
+
|
|
1
8
|
/* Overflow must be visible for sticky merged cells to work */
|
|
2
9
|
.b-merge-cells {
|
|
3
10
|
/* FF specific override */
|
|
@@ -33,7 +40,6 @@
|
|
|
33
40
|
.b-grid-merged-cells {
|
|
34
41
|
position : absolute;
|
|
35
42
|
contain : strict;
|
|
36
|
-
z-index : 2; /* Above row */
|
|
37
43
|
display : flex;
|
|
38
44
|
align-items : flex-start;
|
|
39
45
|
|
|
@@ -42,9 +48,14 @@
|
|
|
42
48
|
--b-grid-cell-background : transparent;
|
|
43
49
|
--b-grid-row-border-color : transparent;
|
|
44
50
|
--bi-grid-cell-overflow : visible;
|
|
51
|
+
z-index : var(--b-merged-cells-z-index); /* Above row */
|
|
45
52
|
|
|
46
53
|
.b-merge-cells-passthrough & {
|
|
47
54
|
pointer-events : none;
|
|
55
|
+
|
|
56
|
+
[data-btip] {
|
|
57
|
+
pointer-events : auto;
|
|
58
|
+
}
|
|
48
59
|
}
|
|
49
60
|
|
|
50
61
|
/* Stick the single cell inside a merged range */
|
|
@@ -15,6 +15,11 @@
|
|
|
15
15
|
* Color for the quick find hit count indicator shown in the header
|
|
16
16
|
*/
|
|
17
17
|
--b-quick-find-header-badge-color : var(--b-grid-header-color);
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Quick find header hit z-index
|
|
21
|
+
*/
|
|
22
|
+
--b-quick-find-header-z-index : 1;
|
|
18
23
|
}
|
|
19
24
|
|
|
20
25
|
.b-quick-hit-cell {
|
|
@@ -37,9 +42,9 @@
|
|
|
37
42
|
|
|
38
43
|
.b-quick-hit-header {
|
|
39
44
|
position : absolute;
|
|
40
|
-
z-index : 1;
|
|
41
45
|
display : grid;
|
|
42
46
|
place-items : center;
|
|
47
|
+
z-index : var(--b-quick-find-header-z-index);
|
|
43
48
|
|
|
44
49
|
--b-primary : var(--b-quick-find-primary);
|
|
45
50
|
|