@bryntum/grid-thin-trial 7.2.3 → 7.3.0
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/README.md +0 -1
- package/fluent2-dark.css +16 -0
- package/grid.css +77 -51
- package/grid.css.map +2 -2
- package/grid.d.ts +3768 -5812
- package/high-contrast-dark.css +45 -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/CheckColumn.js +1 -1
- package/lib/column/ColorColumn.js +1 -1
- package/lib/column/Column.js +1 -1
- package/lib/column/CurrencyColumn.js +1 -1
- package/lib/column/DateColumn.js +1 -1
- package/lib/column/NumberColumn.js +1 -1
- package/lib/column/PercentColumn.css +17 -2
- package/lib/column/PercentColumn.js +1 -1
- package/lib/column/RatingColumn.js +1 -1
- package/lib/column/RowNumberColumn.js +1 -1
- package/lib/column/SparklineColumn.js +1 -1
- package/lib/column/TemplateColumn.js +1 -1
- package/lib/column/TimeColumn.js +1 -1
- package/lib/column/TreeColumn.css +9 -1
- package/lib/column/TreeColumn.js +1 -1
- package/lib/column/WidgetColumn.js +1 -1
- package/lib/column/mixin/TreeColumnMixin.js +1 -1
- package/lib/customElements/GridTag.js +1 -1
- package/lib/data/ColumnStore.js +1 -1
- package/lib/data/GridRowModel.js +1 -1
- package/lib/feature/AI.js +1 -1
- package/lib/feature/CellCopyPaste.js +1 -1
- package/lib/feature/CellEdit.css +6 -1
- package/lib/feature/CellEdit.js +1 -1
- package/lib/feature/CellMenu.js +1 -1
- package/lib/feature/CellTooltip.js +1 -1
- package/lib/feature/Charts.js +1 -1
- package/lib/feature/ColumnAutoWidth.js +1 -1
- package/lib/feature/ColumnDragToolbar.css +6 -1
- package/lib/feature/ColumnDragToolbar.js +7 -7
- package/lib/feature/ColumnPicker.js +1 -1
- package/lib/feature/ColumnRename.js +1 -1
- package/lib/feature/ColumnReorder.js +1 -1
- package/lib/feature/ColumnResize.css +18 -3
- package/lib/feature/ColumnResize.js +1 -1
- package/lib/feature/FillHandle.css +12 -2
- package/lib/feature/FillHandle.js +1 -1
- package/lib/feature/Filter.js +1 -1
- package/lib/feature/FilterBar.js +1 -1
- package/lib/feature/GridFeatureManager.js +1 -1
- package/lib/feature/Group.css +6 -1
- package/lib/feature/Group.js +1 -1
- package/lib/feature/GroupSummary.js +1 -1
- package/lib/feature/HeaderMenu.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/MergeCells.js +1 -1
- package/lib/feature/PinColumns.js +1 -1
- package/lib/feature/QuickFind.css +6 -1
- package/lib/feature/QuickFind.js +1 -1
- package/lib/feature/RegionResize.js +1 -1
- package/lib/feature/RowCopyPaste.js +1 -1
- package/lib/feature/RowEdit.js +1 -1
- package/lib/feature/RowExpander.css +6 -1
- package/lib/feature/RowExpander.js +1 -1
- package/lib/feature/RowReorder.css +30 -5
- package/lib/feature/RowReorder.js +1 -1
- package/lib/feature/RowResize.css +8 -1
- package/lib/feature/RowResize.js +1 -1
- package/lib/feature/Search.js +1 -1
- package/lib/feature/Sort.css +6 -1
- package/lib/feature/Sort.js +1 -1
- package/lib/feature/Split.js +1 -1
- package/lib/feature/StickyCells.css +12 -28
- package/lib/feature/StickyCells.js +1 -1
- package/lib/feature/Stripe.js +1 -1
- package/lib/feature/Summary.js +1 -1
- package/lib/feature/Tree.js +1 -1
- package/lib/feature/TreeGroup.js +1 -1
- package/lib/feature/ai/AIFilter.js +1 -1
- package/lib/feature/ai/agents/DefaultGridAgent.js +3 -3
- package/lib/feature/ai/agents/trainingData.js +1 -1
- package/lib/feature/base/CopyPasteBase.js +1 -1
- package/lib/feature/base/GridEditBase.js +1 -1
- package/lib/feature/experimental/ExcelExporter.js +1 -1
- package/lib/feature/experimental/FileDrop.js +1 -1
- package/lib/feature/experimental/xlsproviders/XlsProviderBase.js +1 -1
- package/lib/feature/export/PdfExport.js +4 -4
- package/lib/feature/export/Print.js +1 -1
- package/lib/feature/export/exporter/Exporter.js +1 -1
- package/lib/feature/export/exporter/ExporterBase.js +6 -6
- package/lib/feature/export/exporter/MultiPageExporter.js +1 -1
- package/lib/feature/export/exporter/MultiPageVerticalExporter.js +1 -1
- package/lib/feature/export/exporter/SinglePageExporter.js +1 -1
- package/lib/feature/export/exporter/SinglePageUnscaledExporter.js +1 -1
- package/lib/feature/export/mixin/PrintMixin.js +1 -1
- 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/row/Row.js +1 -1
- package/lib/row/RowManager.js +1 -1
- package/lib/util/GridLocation.js +1 -1
- package/lib/util/TableExporter.js +1 -1
- package/lib/view/Bar.js +1 -1
- package/lib/view/Grid.js +1 -1
- package/lib/view/GridBase.css +13 -13
- package/lib/view/GridBase.js +1 -1
- package/lib/view/Header.js +1 -1
- package/lib/view/SubGrid.css +13 -3
- package/lib/view/SubGrid.js +1 -1
- package/lib/view/TreeGrid.js +1 -1
- package/lib/view/export/ExportDialog.js +1 -1
- package/lib/view/mixin/GridElementEvents.js +1 -1
- package/lib/view/mixin/GridFeatures.js +1 -1
- package/lib/view/mixin/GridNavigation.js +1 -1
- package/lib/view/mixin/GridResponsive.js +1 -1
- package/lib/view/mixin/GridSelection.js +1 -1
- package/lib/view/mixin/GridState.js +1 -1
- package/lib/view/mixin/GridSubGrids.js +1 -1
- package/lib/widget/AIFilterField.js +1 -1
- package/lib/widget/ChecklistFilterCombo.js +1 -1
- package/lib/widget/GridChartDesigner.js +1 -1
- package/lib/widget/GridFieldFilterPicker.js +1 -1
- package/lib/widget/GridFieldFilterPickerGroup.js +1 -1
- package/lib/widget/GroupBar.js +1 -1
- package/lib/widget/TreeCombo.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 +16 -0
- package/package.json +1 -1
- package/stockholm-dark.css +16 -0
- package/svalbard-dark.css +16 -0
- package/visby-dark.css +16 -0
package/lib/util/GridLocation.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){function r(a,b){return _grb(b-0x364,a);}const c=a();while(!![]){try{const d=-parseInt(r(0x487,0x49d))/0x1*(parseInt(r(0x465,0x47f))/0x2)+parseInt(r(0x49e,0x4a1))/0x3+parseInt(r(0x44b,0x457))/0x4*(parseInt(r(0x459,0x45e))/0x5)+parseInt(r(0x49d,0x48f))/0x6*(parseInt(r(0x48c,0x499))/0x7)+-parseInt(r(0x445,0x459))/0x8*(-parseInt(r(0x4bb,0x49b))/0x9)+parseInt(r(0x4a6,0x4b0))/0xa+-parseInt(r(0x498,0x4a7))/0xb;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x57ebc));import _grc from'@bryntum/core-thin/lib/helper/DomHelper.js';import _grd from'@bryntum/core-thin/lib/widget/Widget.js';function _grs(a,b){return _grb(a-0xcd,b);}export default class GridLocation{static ['UP']=0x1;static [_grs(0x20b,0x1ec)]=0x2;static ['DOWN']=0x3;static [_grs(0x1e4,0x1e2)]=0x4;static ['FIRST_COLUMN']=0x5;static [_grs(0x1d7,0x1bc)]=0x6;static [_grs(0x217,0x20a)]=0x7;static [_grs(0x218,0x217)]=0x8;static [_grs(0x20f,0x221)]=0x9;static [_grs(0x1db,0x1b7)]=0xa;constructor(a){function t(a,b){return _grs(b- -0x247,a);}if(a){if(a[t(-0x6c,-0x76)]){return a;}if(a[t(-0x69,-0x4a)]===Node[t(-0x8,-0x35)]){const b=_grd['fromElement'](a,t(-0x60,-0x4c)),c=b&&a[t(-0x4a,-0x75)](b[t(-0x7e,-0x6d)]);if(c){const {dataset:d}=c['parentNode'];this[t(-0x51,-0x58)]({'grid':b,'rowIndex':b['store']['includes'](d['id'])?b[t(-0x45,-0x42)][t(-0x92,-0x6a)](d['id']):d[t(-0x79,-0x62)]||-0x1,'columnId':c[t(-0x48,-0x5e)]['columnId']});this['initialTarget']=a;}}else{this[t(-0x75,-0x58)](a);}}}[_grs(0x1ef,0x1f2)](a){var b;const c=this;const d=c['grid']=a[u(0x441,0x44f)],{store:e,columns:f}=d,{visibleColumns:g}=f;if(a[u(0x443,0x425)]){c[u(0x43d,0x428)]=[c['_target']=a[u(0x443,0x44e)]];}if(a[u(0x436,0x441)]){c['_id']=a[u(0x436,0x434)]['isRow']?a[u(0x436,0x448)]['id']:e[u(0x43a,0x41f)](a[u(0x436,0x456)])['id'];}else if('id'in a){c[u(0x444,0x429)]=a['id'];if(a['id']==null){c[u(0x44c,0x449)]=-0x1;}}else{var h;const i=!isNaN(a[u(0x43b,0x40d)])?a[u(0x43b,0x446)]:!isNaN(a[u(0x45e,0x455)])?a[u(0x45e,0x474)]:NaN;c[u(0x44c,0x424)]=Math['max'](Math[u(0x43e,0x428)](Number(i),c['maxStoreIndex']),d['hideHeaders']?0x0:-0x1);c[u(0x444,0x455)]=(h=e[u(0x425,0x400)][c[u(0x44c,0x42d)]])===null||h===void 0x0?void 0x0:h['id'];}if(!('_rowIndex'in c)){c['_rowIndex']=e['indexOf'](c['id']);}c[u(0x463,0x436)]=(b=c['record'])===null||b===void 0x0?void 0x0:b[u(0x463,0x461)];function u(a,b){return _grs(a-0x250,b);}if(u(0x414,0x432)in a){c['_column']=f[u(0x43a,0x41f)](a[u(0x414,0x41a)]);}else if(u(0x41f,0x402)in a){c[u(0x464,0x43a)]=f[u(0x411,0x3ef)](a[u(0x41f,0x44d)]);}else{const j=!isNaN(a[u(0x420,0x3f3)])?a[u(0x420,0x41b)]:!isNaN(a[u(0x45d,0x442)])?a['columnIndex']:NaN;if(!isNaN(j)){c['_columnIndex']=Math[u(0x43e,0x42b)](Number(j),g[u(0x445,0x44b)]-0x1);c[u(0x464,0x472)]=g[c[u(0x449,0x474)]];}else{c[u(0x464,0x481)]=u(0x420,0x41e)in a?isNaN(a[u(0x420,0x404)])?a[u(0x420,0x407)]:g[a[u(0x420,0x437)]]:g[0x0];}}if(!(u(0x449,0x431)in c)){c[u(0x449,0x43d)]=g[u(0x42d,0x406)](c[u(0x464,0x43d)]);}}get[_grs(0x1d1,0x1cf)](){return!![];}['equals'](a,b=![]){const c=this;function v(a,b){return _grs(a- -0x420,b);}return(a===null||a===void 0x0?void 0x0:a['isLocation'])&&a[v(-0x22f,-0x239)]===c[v(-0x22f,-0x22f)]&&(b?c['id']===a['id']&&c['_column']===a[v(-0x20c,-0x20e)]:a[v(-0x23a,-0x224)]===c['record']&&a[v(-0x250,-0x260)]===c['column']&&a['target']===c[v(-0x22d,-0x202)]);}get[_grs(0x20e,0x1fc)](){const {_id:a,grid:b}=this,{store:c}=b;function w(a,b){return _grs(a-0x50,b);}return c[w(0x218,0x20e)](a)?c[w(0x22d,0x255)](a):Math[w(0x23e,0x248)](this[w(0x24c,0x257)],this[w(0x266,0x258)]);}get[_grs(0x1f7,0x1d6)](){function x(a,b){return _grs(b- -0x230,a);}const {rowManager:a}=this[x(-0x36,-0x3f)],{rowIndex:b}=this;return b===-0x1?b:Math[x(-0x2a,-0x52)](Math[x(-0x29,-0x42)](b,a[x(-0x4f,-0x64)][x(-0x68,-0x44)]),a[x(0xe,-0x1b)][x(-0x47,-0x44)]);}get[_grs(0x1d8,0x1c4)](){function y(a,b){return _grs(a-0x5e,b);}return this[y(0x24f,0x253)][y(0x263,0x263)][y(0x226,0x20c)](this[y(0x252,0x22f)])&&!this['isSpecialRow'];}get[_grs(0x1e6,0x1e7)](){function z(a,b){return _grs(a- -0x9,b);}var a;if((a=this[z(0x1e7,0x20a)])!==null&&a!==void 0x0&&a[z(0x1fa,0x207)]){return this[z(0x1e7,0x1c6)];}if(this[z(0x1f3,0x1f9)]>-0x1){const {store:b}=this[z(0x1e8,0x1fc)];if(!b[z(0x1bf,0x1b1)](this[z(0x1eb,0x1d1)])){return b[z(0x1cc,0x1b3)][this[z(0x1f3,0x1fc)]];}return b['getById'](this['_id']);}}get['id'](){function A(a,b){return _grs(b-0xb5,a);}return this[A(0x2b7,0x2a9)];}get[_grs(0x1d0,0x1d1)](){const {visibleColumns:a}=this[B(-0x20,0x6)][B(-0x5,0x2)];function B(a,b){return _grs(a- -0x211,b);}if(!(a!==null&&a!==void 0x0&&a[B(-0x49,-0x66)](this[B(0x3,-0x1d)]))){return a===null||a===void 0x0?void 0x0:a[this['columnIndex']];}return this[B(0x3,0x24)];}get[_grs(0x1c4,0x1a7)](){var a;function C(a,b){return _grs(b-0x2ff,a);}return(a=this[C(0x4af,0x4cf)])===null||a===void 0x0?void 0x0:a['id'];}get[_grs(0x20d,0x21d)](){var a;function D(a,b){return _grs(b- -0x1be,a);}return Math['min'](this[D(0x26,0x3b)],((a=this[D(0x45,0x33)][D(0x67,0x4e)][D(0x15,0x38)])===null||a===void 0x0?void 0x0:a['length'])-0x1);}[_grs(0x1c5,0x1df)](a){const b=this,{record:c,column:d,grid:e}=b,{store:f}=e,g=e['columns'][E(0x363,0x389)],h=new GridLocation();let i=f[E(0x33c,0x35b)](c)?f[E(0x389,0x370)](c):b[E(0x38e,0x3a1)],j=g[E(0x33b,0x35b)](d)?g[E(0x34b,0x370)](d):b[E(0x3b8,0x3a0)];function E(a,b){return _grs(b-0x193,a);}const k=e[E(0x3aa,0x39a)]?0x0:-0x1,l=b[E(0x38b,0x3a9)],m=g[E(0x38f,0x388)]-0x1,n=i===k,o=i===l,p=j===0x0,q=j===m;switch(a){case GridLocation['PREV_CELL']:if(p){if(!n){j=m;i--;}}else{j--;}break;case GridLocation[E(0x38c,0x39e)]:if(q){if(!o){j=0x0;i++;}}else{j++;}break;case GridLocation['UP']:if(!n){i--;}break;case GridLocation[E(0x38b,0x391)]:if(!o){if(i===-0x1){i=e[E(0x366,0x369)][E(0x398,0x376)][E(0x39d,0x37f)];}else{i++;}}break;case GridLocation[E(0x382,0x39b)]:j=0x0;break;case GridLocation[E(0x361,0x36a)]:j=m;break;case GridLocation[E(0x3c9,0x3aa)]:i=k;j=0x0;break;case GridLocation[E(0x3b9,0x3ab)]:i=l;j=m;break;case GridLocation[E(0x3a8,0x3a2)]:i=Math[E(0x350,0x371)](k,i-Math[E(0x374,0x361)](e[E(0x367,0x352)]['clientHeight']/e[E(0x36b,0x367)]));break;case GridLocation['NEXT_PAGE']:i=Math[E(0x394,0x381)](l,i+Math[E(0x34d,0x361)](e[E(0x349,0x352)][E(0x382,0x394)]/e[E(0x364,0x367)]));break;}h['init']({'grid':e,'rowIndex':i,'columnIndex':j});return h;}get[_grs(0x1fa,0x219)](){function F(a,b){return _grs(a-0x30d,b);}var a;const b=this,{grid:c,id:d,_cell:e}=b;if(e){return e;}if((a=c['features'][F(0x4ef,0x4d3)])!==null&&a!==void 0x0&&a['enabled']&&b[F(0x51b,0x538)]>=c[F(0x512,0x4ed)][F(0x4d7,0x4af)]){const h=c['element'][F(0x4d0,0x4c4)]('.b-grid-footer[data-column-id=\x22'+b[F(0x4d1,0x4ad)]+'\x22]');if(h){h[F(0x4e6,0x4fc)](F(0x4e0,0x4fb),'-1');return h;}}else if(d==null){var f;return(f=c[F(0x519,0x51c)]['getById'](b[F(0x4d1,0x4c6)]))===null||f===void 0x0?void 0x0:f[F(0x4d8,0x4e9)];}else{const {row:i}=b;if(i){var g;return i[F(0x51e,0x525)](b[F(0x4d1,0x4d5)])||i['getCell']((g=c['columns'][F(0x516,0x50a)](b[F(0x51a,0x543)]))===null||g===void 0x0?void 0x0:g['id']);}}}get['$cellIndex'](){function G(a,b){return _grs(a- -0x11f,b);}return{'rowIndex':this[G(0xef,0x109)],'columnIndex':this[G(0xee,0xf0)]};}get[_grs(0x1eb,0x20f)](){function H(a,b){return _grs(a-0x8e,b);}return this[H(0x27f,0x293)][H(0x257,0x235)](this['id'])||this[H(0x27f,0x285)][H(0x26f,0x281)](this['rowIndex']);}get[_grs(0x1f3,0x1ff)](){const {cell:a,_target:b}=this,{focusableFinder:c}=this[I(0x118,0xfd)];function I(a,b){return _grs(b- -0xf4,a);}if(a){if(b){return b;}c[I(0x110,0xe8)]=this[I(0x111,0xfd)][I(0xe1,0xec)]=a;return c[I(0xf6,0x10b)]()||a;}}get[_grs(0x200,0x22c)](){function J(a,b){return _grs(a-0x1d0,b);}const {cell:a}=this,b=a&&_grc[J(0x3af,0x3ab)](a);return b&&a[J(0x396,0x3c4)](b)&Node[J(0x39d,0x3b5)];}get['isActionable'](){const {_target:a}=this;function K(a,b){return _grs(a-0x22e,b);}return Boolean(this[K(0x42e,0x43b)]||a&&a!==this[K(0x428,0x407)]);}get[_grs(0x1e7,0x1ee)](){function L(a,b){return _grs(b-0x302,a);}return this[L(0x511,0x4fc)]&&this[L(0x521,0x510)]===-0x1;}get['isCell'](){function M(a,b){return _grs(b-0x135,a);}return this[M(0x312,0x32f)]&&this[M(0x32d,0x31b)];}get[_grs(0x216,0x226)](){var a;function N(a,b){return _grs(a-0x178,b);}return this[N(0x369,0x349)]['store'][N(0x342,0x366)]-((a=this[N(0x369,0x374)][N(0x36a,0x33c)][N(0x35a,0x34f)])!==null&&a!==void 0x0&&a['enabled']?0x0:0x1);}}function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0xf2;let f=c[d];return f;};return _grb(a,b);}function _gra(){const O=['containsFocus','clientHeight','959672NVJqWd','isModel','117HCXHgx','store','1ZXiAkX','hideHeaders','FIRST_COLUMN','getAt','1756647cSDshd','NEXT_CELL','columns','columnIndex','rowIndex','PREV_PAGE','14903218JPOhEX','getCell','ELEMENT_NODE','isSpecialRow','_column','firstFullyVisibleTow','maxStoreIndex','FIRST_CELL','LAST_CELL','4779460Zzhrns','scrollable','4nulZhI','get','69416SSLZJS','querySelector','columnId','move','compareDocumentPosition','2859215lzJzDl','includes','getRowById','count','element','lastFullyVisibleTow','DOCUMENT_POSITION_CONTAINED_BY','floor','field','column','isLocation','closest','tabindex','rowHeight','records','rowManager','LAST_COLUMN','isSelectable','setAttribute','focusableSelector','NEXT_PAGE','currentNode','indexOf','max','getActiveElement','focusableFinderCell','getRow','summary','firstFullyVisibleRow','PREV_CELL','index','record','isColumnHeader','340546EXsgKn','dataset','getById','row','dataIndex','actionTargets','min','init','_record','grid','features','target','_id','length','visibleColumns','visibleRowIndex','6KxJlVe','_columnIndex','cell','gridbase','_rowIndex','nodeType','DOWN','nextNode'];_gra=function(){return O;};return _gra();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x11f;let f=c[d];return f;};return _grb(a,b);}(function(a,b){const c=a();function n(a,b){return _grb(b- -0x5a,a);}while(!![]){try{const d=parseInt(n(0xb5,0xc6))/0x1+-parseInt(n(0xd7,0xd2))/0x2+parseInt(n(0xda,0xd0))/0x3+-parseInt(n(0xd7,0xe3))/0x4+-parseInt(n(0xf4,0xea))/0x5*(parseInt(n(0xe6,0xe1))/0x6)+parseInt(n(0xcb,0xdd))/0x7+parseInt(n(0xba,0xcb))/0x8;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x23685));function _gra(){const C=['1256424KmTfxx','groupRowFor','repeat','group','exportable','477759JHmEAg','callback','28000HSYOMa','groupFooterFor','innerText','store','tree','exportAllColumns','length','normalizeColumns','renderer','max','groupSummary','1130241UnFRZb','processRecord','enabled','generateRows','114jhcwgj','buildGroupHeader','623020ArxCmG','processColumn','pop','div','find','getFieldDefinition','features','46760UJpfau','slice','isTimelineBase','getValue','generateHtml','width','meta','afterRenderCell','text','visibleColumns','createElement','columns','summary','exportedType','config','field','modelClass','getColumnType','generateExportData','map','string','headerRenderer','filter','groupChildren','\u00a0\u00a0\u00a0\u00a0','textElement','target','innerHTML','14703zOegpk','type','exportDateAsInstance','assign','export'];_gra=function(){return C;};return _gra();}import _grc from'@bryntum/core-thin/lib/helper/DomHelper.js';function _gro(a,b){return _grb(b-0x340,a);}import _grd from'@bryntum/core-thin/lib/Base.js';import _gre from'@bryntum/core-thin/lib/helper/ObjectHelper.js';export default class TableExporter extends _grd{static ['configurable']={'target':null,'defaultColumnWidth':0x64,'exportDateAsInstance':!![],'showGroupHeader':!![],'columns':null,'indent':!![],'indentationSymbol':_gro(0x491,0x49c)};[_gro(0x44c,0x464)](a={}){const b=this;function p(a,b){return _gro(b,a- -0x471);}a=_gre[p(-0xe,0xe)]({},b[p(0x21,0x25)],a);b[p(0x2,0x1a)](a);return b['generateExportData'](a);}[_gro(0x477,0x496)](a){function q(a,b){return _gro(b,a- -0x68e);}const b=this,c=b['generateColumns'](a),d=b[q(-0x214,-0x233)](a);return{'rows':d,'columns':c};}['normalizeColumns'](a){function r(a,b){return _gro(a,b- -0x5fa);}var b,c;const d=a[r(-0x14b,-0x16b)]||(a[r(-0x19b,-0x189)]?(b=this[r(-0x179,-0x15c)][r(-0x187,-0x16b)])===null||b===void 0x0?void 0x0:b['records']:(c=this[r(-0x166,-0x15c)][r(-0x156,-0x16b)])===null||c===void 0x0?void 0x0:c[r(-0x185,-0x16d)])[r(-0x14a,-0x160)](e=>e[r(-0x177,-0x191)]!==![]);a[r(-0x17a,-0x16b)]=d['map'](e=>{function s(a,b){return r(a,b-0xf6);}if(typeof e===s(-0x83,-0x6c)){return this['target'][s(-0x6a,-0x75)][s(-0x7f,-0x83)](f=>f[s(-0x6f,-0x71)]===e)||{'field':e};}else{return e;}});}['generateColumns'](a){function t(a,b){return _gro(b,a- -0x664);}return a[t(-0x1d5,-0x1b9)]['map'](b=>this[t(-0x1e6,-0x1d9)](b,a));}[_gro(0x480,0x47a)](a){var b;const {columns:c,rows:d}=a;function u(a,b){return _gro(a,b- -0x519);}if(c['length']===0x0||(d===null||d===void 0x0?void 0x0:d[u(-0x8c,-0xa7)])===0x0){return[];}const e=this,{target:f}=e;const g=(d||f['store'])[u(-0x94,-0x82)](h=>e[u(-0xc1,-0xa1)](h,c,a))[u(-0x61,-0x7f)](h=>h===null||h===void 0x0?void 0x0:h[u(-0xb5,-0xa7)]);if((b=f['features']['summary'])!==null&&b!==void 0x0&&b[u(-0x92,-0xa0)]){const h=document[u(-0x83,-0x8b)](u(-0xab,-0x99)),i=c[u(-0x80,-0x82)](j=>{h[v(-0x24d,-0x251)]=f[v(-0x229,-0x230)][v(-0x21c,-0x20c)][v(-0x224,-0x225)](j,d||f[v(-0x23d,-0x24a)]['records']);function v(a,b){return u(b,a- -0x193);}return h[v(-0x23e,-0x23d)];});g['push'](i);}return g;}[_gro(0x47c,0x495)](a,b=this[_gro(0x491,0x49e)][_gro(0x454,0x46f)]){function w(a,b){return _gro(b,a- -0x24d);}let c=a[w(0x244,0x25a)]||'object';if(a[w(0x244,0x255)]===undefined){if(a['field']){const d=b[w(0x247,0x23c)][w(0x235,0x218)](a[w(0x246,0x23d)]);if(d&&d[w(0x214,0x219)]!=='auto'){c=d['type'];}}}return c;}['processColumn'](a,b){function x(a,b){return _gro(a,b- -0x1eb);}const c=this,{target:d}=c,{defaultColumnWidth:e}=b;let {field:f,text:g,width:h,minWidth:i}=a;if(d[x(0x296,0x284)]&&!(f in d[x(0x28b,0x284)][x(0x289,0x2a9)]['fieldMap'])){f='';}if(!g||!h){const j=d[x(0x2af,0x2a4)][x(0x297,0x296)](k=>k[x(0x295,0x2a8)]===f);if(!g){g=j&&(j[x(0x290,0x2a1)]||j[x(0x2c7,0x2ae)]&&j[x(0x29b,0x2b2)]['innerText'])||f;}if(h==null){h=j&&j[x(0x283,0x29e)]||e;}}h=Math[x(0x2aa,0x28a)](h||e,i||e);return{'field':f,'value':g,'width':h,'type':c['getColumnType'](a)};}[_gro(0x48f,0x478)](a,b,c){function y(a,b){return _gro(b,a- -0x225);}const {target:d}=this,{showGroupHeader:e,indent:f,indentationSymbol:g}=c;let h;if(!a){h=b[y(0x272,0x26d)](()=>'');}else if(a['isSpecialRow']){if(e&&y(0x241,0x233)in a[y(0x265,0x275)]){h=b[y(0x272,0x255)](i=>{function z(a,b){return y(a- -0x2b,b);}return d[z(0x233,0x250)]['group'][z(0x22c,0x23e)]({'cellElement':_grc[z(0x23e,0x242)](),'grid':d,'isExporting':!![],'record':a,'column':i,'isExport':!![]});});}if(a[y(0x265,0x26c)][y(0x248,0x22c)]&&!d[y(0x261,0x256)]){const i=document[y(0x269,0x274)](y(0x25b,0x23e)),j=a[y(0x276,0x283)][y(0x260,0x26a)]();j[y(0x25a,0x240)]();h=b['map'](k=>{function A(a,b){return y(a- -0x304,b);}i[A(-0xca,-0xd8)]=d[A(-0xa6,-0xc5)][A(-0xb3,-0xa2)][A(-0xa1,-0xa2)](k,j,a,d[A(-0xa6,-0xaf)][A(-0xc1,-0xc8)][A(-0x96,-0x78)],a['_groupValue']);return i['innerText'];});}}else{h=b[y(0x272,0x27a)](k=>{let l=a[B(0x435,0x433)](k['field']);function B(a,b){return y(a-0x1d3,b);}const m=k[B(0x422,0x42c)];if(m&&!(l&&k['isDateColumn']&&c[B(0x410,0x422)])){l=m['call'](k,{'value':l,'record':a,'column':k,'grid':d,'isExport':!![]})??l;}if(f&&k[B(0x41e,0x41e)]){l=''+g[B(0x415,0x431)](a['childLevel'])+l;}if(k[B(0x439,0x451)]){l=k[B(0x419,0x432)](k[B(0x439,0x455)],k,[{'value':l,'record':a,'column':k,'grid':d,'isExport':!![]}]);}return l;});}return h;}}
|
package/lib/view/Bar.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _grm(a,b){return _grb(b-0x2c9,a);}(function(a,b){function l(a,b){return _grb(a-0x128,b);}const c=a();while(!![]){try{const d=-parseInt(l(0x197,0x187))/0x1*(-parseInt(l(0x19d,0x184))/0x2)+parseInt(l(0x19c,0x194))/0x3*(parseInt(l(0x1ac,0x1b3))/0x4)+parseInt(l(0x1b1,0x1c1))/0x5+parseInt(l(0x19b,0x193))/0x6+parseInt(l(0x1a7,0x195))/0x7+-parseInt(l(0x19f,0x1a6))/0x8+-parseInt(l(0x1a4,0x19e))/0x9*(parseInt(l(0x1ae,0x198))/0xa);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x8e2d4));import _grc from'@bryntum/core-thin/lib/widget/Widget.js';function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x6d;let f=c[d];return f;};return _grb(a,b);}import _grd from'@bryntum/core-thin/lib/helper/DomHelper.js';function _gra(){const u=['\x200\x20auto','children','3257500vLJJVZ','classList','getBarCellElement','maxWidth','gridbar','traverse','border-left-width','Bar','height','subGrid','flexBasis','padding-left','getPropertyValue','cellLrPadding','overflowingVertically','owner','_columns','isParent','b-has-flex','element','overflowingHorizontally','initClass','type','flex','getComputedStyle','hidden-scroll','parent','isHeader','8wKNDzZ','defaultView','data','columns','6660270gpANMW','2533623fTxFKd','63244OBGaLl','getLrPadding','836696fIRWnw','setLength','width','scrollable','minWidth','7355862ZOaBNH','configurable','reduce','7680071OoAbuw','[data-column-id=\x22','fixCellWidths','border-right-width','ownerDocument','4qOXDCr','style','40ChlIqU'];_gra=function(){return u;};return _gra();}export default class Bar extends _grc{static ['$name']=_grm(0x34b,0x359);static [_grm(0x353,0x368)]=_grm(0x355,0x356);static [_grm(0x34b,0x346)]={'htmlCls':'','scrollable':{'overflowX':_grm(0x36e,0x36b)},'defaultCls':{'b-bryntum':0x0},'role':null,'ariaElement':null};get[_grm(0x333,0x33b)](){function n(a,b){return _grm(a,b-0x6e);}return this[n(0x3be,0x3d0)]||this[n(0x3c7,0x3c9)][n(0x3a7,0x3a9)];}set['columns'](a){function o(a,b){return _grm(b,a- -0x217);}this[o(0x14b,0x135)]=a;}[_grm(0x35d,0x34a)](){const a=this,{hasFlex:b}=a[p(-0xb,-0x25)];let c;a[p(-0x18,-0x25)]['traverse'](d=>{const e=a[q(-0x181,-0x171)](d['id']),f=_grd['setLength'](d['width']),g=_grd[q(-0x16a,-0x184)](d[q(-0x19a,-0x181)]),h=_grd[q(-0x174,-0x184)](d[q(-0x164,-0x170)]);function q(a,b){return p(a,b- -0x165);}if(e){c=f;e[q(-0x175,-0x177)]['maxWidth']=h;if(d[q(-0x17c,-0x162)]&&d[q(-0x191,-0x183)]==null&&d[q(-0x177,-0x15c)]==null){const i=d[q(-0x185,-0x174)][q(-0x196,-0x17e)]((j,k)=>j+=k['shown']&&k[q(-0x159,-0x15c)]||0x0,0x0);e[q(-0x165,-0x177)]['flex']=i>0x0?i+q(-0x18d,-0x175):'';e['style'][q(-0x17d,-0x181)]=null;if(i>0x0){d[q(-0x163,-0x16e)](j=>j[q(-0x187,-0x18b)][q(-0x173,-0x181)]=null);}}else{if(parseInt(d[q(-0x192,-0x181)])>=0x0){e[q(-0x162,-0x177)][q(-0x193,-0x181)]=g;}e[q(-0x18c,-0x177)][q(-0x177,-0x15c)]=e[q(-0x187,-0x177)][q(-0x17d,-0x169)]=e[q(-0x162,-0x177)][q(-0x195,-0x183)]='';if(d[q(-0x168,-0x15c)]){if(!isNaN(parseInt(d[q(-0x15a,-0x15c)]))&&d[q(-0x177,-0x174)]){e[q(-0x18e,-0x177)]['flex']=d[q(-0x150,-0x15c)]+q(-0x175,-0x175);}else{e[q(-0x18e,-0x177)][q(-0x168,-0x15c)]=d[q(-0x16a,-0x15c)];}}else if(parseInt(d['width'])>=0x0){const j=d[q(-0x18a,-0x18f)];if(a[q(-0x17d,-0x18e)]&&!j['isRoot']&&!j[q(-0x17f,-0x183)]){e[q(-0x18f,-0x177)][q(-0x169,-0x183)]=f;}else{e[q(-0x168,-0x177)][q(-0x165,-0x169)]=c;}}}if(d[q(-0x183,-0x16b)]>=0x0){e['style'][q(-0x161,-0x16b)]=_grd['setLength'](d['height']);}}});function p(a,b){return _grm(a,b- -0x360);}a[p(-0x27,-0x1d)][p(0xe,0x5)][p(-0x1d,-0xd)]['toggle'](p(0x14,0x4),b);}[_grm(0x325,0x33f)](a){function r(a,b){return _grm(b,a- -0xbc);}if(!this[r(0x2a3,0x2ae)]){const b=a[r(0x290,0x27d)][r(0x27d,0x293)][r(0x2ae,0x29c)](a);this[r(0x2a3,0x29d)]=parseInt(b[r(0x2a2,0x2b8)](r(0x2a1,0x2b6)))+parseInt(b[r(0x2a2,0x2a9)]('padding-right'))+parseInt(b[r(0x2a2,0x288)](r(0x29c,0x2b0)))+parseInt(b[r(0x2a2,0x294)](r(0x28f,0x293)));}return this[r(0x2a3,0x29d)];}[_grm(0x351,0x354)](a){function s(a,b){return _grm(a,b- -0x2);}return this[s(0x35e,0x363)]['querySelector'](s(0x337,0x347)+a+'\x22]');}get[_grm(0x355,0x366)](){function t(a,b){return _grm(b,a- -0x14c);}var a;return(a=this[t(0x215,0x201)])===null||a===void 0x0?void 0x0:a['overflowingHorizontally'];}get[_grm(0x35b,0x360)](){return![];}}Bar[_grm(0x37b,0x367)]();
|
package/lib/view/Grid.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){function f(a,b){return _grb(b- -
|
|
1
|
+
(function(a,b){var c=a();function f(a,b){return _grb(b- -0x26,a);}while(!![]){try{var d=parseInt(f(0xb6,0xbe))/0x1+-parseInt(f(0xbe,0xc2))/0x2*(parseInt(f(0xc5,0xc4))/0x3)+parseInt(f(0xb3,0xb5))/0x4*(-parseInt(f(0xbb,0xb6))/0x5)+-parseInt(f(0xbf,0xbd))/0x6*(-parseInt(f(0xb3,0xb7))/0x7)+parseInt(f(0xbc,0xc3))/0x8*(-parseInt(f(0xc1,0xb9))/0x9)+parseInt(f(0xba,0xbb))/0xa*(-parseInt(f(0xc2,0xba))/0xb)+parseInt(f(0xb7,0xbf))/0xc;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0xef066));import _grc from'./GridBase.js';function _gra(){var h=['6830915nhCqkT','initClass','72MKznhe','10274ZHHhqF','7640wAvSMy','$name','6eDlTMs','719728SHaNHI','48350856zcuNmw','Grid','grid','1832740qQBDDc','923288RaEwPf','6GPxToS','type','4edpWxO','6380805IuGgic'];_gra=function(){return h;};return _gra();}import'../feature/CellEdit.js';import'../feature/CellMenu.js';import'../feature/ColumnAutoWidth.js';import'../feature/ColumnDragToolbar.js';function _grb(a,b){var c=_gra();_grb=function(d,e){d=d-0xda;var f=c[d];return f;};return _grb(a,b);}import'../feature/ColumnPicker.js';import'../feature/ColumnReorder.js';import'../feature/ColumnResize.js';import'../feature/Filter.js';import'../feature/FilterBar.js';function _grg(a,b){return _grb(a- -0x334,b);}import'../feature/Group.js';import'../feature/HeaderMenu.js';import'../feature/RowCopyPaste.js';import'../feature/Sort.js';import'../feature/StickyCells.js';import'../feature/Stripe.js';import'../column/CheckColumn.js';export default class Grid extends _grc{static [_grg(-0x252,-0x259)]=_grg(-0x24e,-0x256);static [_grg(-0x25a,-0x25e)]=_grg(-0x24d,-0x246);}Grid[_grg(-0x256,-0x24f)]();
|
package/lib/view/GridBase.css
CHANGED
|
@@ -93,6 +93,16 @@
|
|
|
93
93
|
*/
|
|
94
94
|
--b-grid-row-zindex : 1;
|
|
95
95
|
|
|
96
|
+
/**
|
|
97
|
+
* Grid empty text z-index
|
|
98
|
+
*/
|
|
99
|
+
--b-grid-empty-text-z-index : 10;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Grid editing cell z-index
|
|
103
|
+
*/
|
|
104
|
+
--b-grid-editing-z-index : 2;
|
|
105
|
+
|
|
96
106
|
/**
|
|
97
107
|
* Grid splitter width, when not using the RegionResize feature
|
|
98
108
|
*/
|
|
@@ -210,7 +220,7 @@
|
|
|
210
220
|
position : relative;
|
|
211
221
|
color : var(--b-grid-empty-color);
|
|
212
222
|
padding : var(--b-grid-empty-padding);
|
|
213
|
-
z-index :
|
|
223
|
+
z-index : var(--b-grid-empty-text-z-index);
|
|
214
224
|
}
|
|
215
225
|
}
|
|
216
226
|
|
|
@@ -218,16 +228,16 @@
|
|
|
218
228
|
.b-editing {
|
|
219
229
|
overflow : visible;
|
|
220
230
|
contain : unset;
|
|
221
|
-
z-index :
|
|
231
|
+
z-index : var(--b-grid-editing-z-index);
|
|
222
232
|
}
|
|
223
233
|
|
|
224
234
|
&.b-splicing-rows-toggle .b-grid-row:is(.b-adding, .b-removing, .b-repositioning),
|
|
225
235
|
&.b-splicing-rows-remove .b-grid-row:is(.b-removing, .b-repositioning),
|
|
226
236
|
&.b-splicing-rows-insert .b-grid-row:is(.b-adding, .b-repositioning) {
|
|
227
237
|
transition : top var(--b-grid-row-transition-duration), left var(--b-grid-row-transition-duration);
|
|
228
|
-
z-index : calc(var(--b-grid-row-zindex) - 1);
|
|
229
238
|
/* Should not trigger and mouse events on a row being removed */
|
|
230
239
|
pointer-events : none;
|
|
240
|
+
z-index : calc(var(--b-grid-row-zindex) - 1);
|
|
231
241
|
}
|
|
232
242
|
|
|
233
243
|
&.b-collapsing-column {
|
|
@@ -346,16 +356,6 @@
|
|
|
346
356
|
}
|
|
347
357
|
|
|
348
358
|
.b-grid-base {
|
|
349
|
-
/* Sticky content must be visible outside of its container. */
|
|
350
|
-
&.b-enable-sticky {
|
|
351
|
-
.b-sticky-cell,
|
|
352
|
-
.b-grid-sub-grid,
|
|
353
|
-
.b-grid-vertical-scroller,
|
|
354
|
-
.b-grid-row {
|
|
355
|
-
overflow : visible !important;
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
|
|
359
359
|
> .b-panel-body-wrap {
|
|
360
360
|
/* Also let it have a different color than other toolbars*/
|
|
361
361
|
--b-toolbar-background : var(--b-grid-toolbar-background);
|