freemium-ui 2.0.17 → 2.0.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.cjs.js CHANGED
@@ -16613,8 +16613,8 @@ onColumnOrderChange:e=>{let t=B??[];t="function"==typeof e?e(B??[]):e,$?.(t)},
16613
16613
  onRowSelectionChange:e=>{let t=Y;t="function"==typeof e?e(Y):e,W?.(t)},
16614
16614
  enableRowSelection:!0,manualPagination:!0,rowCount:te?-1:C
16615
16615
  }),{getPageCount:ie,getRowModel:le,getState:ce,getCanNextPage:se,getCanPreviousPage:ue,getPageOptions:de,previousPage:he,setPageIndex:pe,nextPage:fe,lastPage:me,firstPage:ve}=oe,{rows:ge}=le(),{pagination:{pageIndex:ye,pageSize:be}}=ce(),we=ye*be+(ye<ie()-1?be:ge.length),Ce=oe.getAllColumns().filter((e=>e.getIsVisible())).length+(R?0:1)+(H?1:0),ze=A?.[0].find((e=>e.id===L?.[0]))?.name
16616
- ;return console.log(ze,L),e.createElement(DB,{className:"TableContainer"
16617
- },!w&&e.createElement(RB,{className:"table-actions"
16616
+ ;return console.log("from table",ze,L),e.createElement(DB,{
16617
+ className:"TableContainer"},!w&&e.createElement(RB,{className:"table-actions"
16618
16618
  },d&&e.createElement(e.Fragment,null,d),e.createElement(OB,{
16619
16619
  className:"table-header-component"},h??null),e.createElement(NB,{
16620
16620
  className:"table-header-dropdown-pagination"},V&&e.createElement("div",{
@@ -16622,8 +16622,8 @@ className:"table-heading-dropdown"},e.createElement("div",{
16622
16622
  className:"table-sorting-heading"},`${g}:`)," ",e.createElement(s$,{
16623
16623
  trigger:e.createElement("div",{className:"table-sorting-value-continer"
16624
16624
  },e.createElement("div",null,ze),e.createElement(u$,{fill:X.colors.text.primary
16625
- })),options:A||[],value:L,onSelect:e=>{k?.(e??[])}})),e.createElement(FB,{
16626
- className:"pagination-actions"
16625
+ })),key:L?.join("-"),options:A||[],value:L,onSelect:e=>{k?.(e??[])}
16626
+ })),e.createElement(FB,{className:"pagination-actions"
16627
16627
  },!m&&e.createElement(e.Fragment,null,e.createElement(ma,{variant:"primary",
16628
16628
  className:"pagination-text"},l&&!b?e.createElement(vv,{size:"small"
16629
16629
  }):e.createElement(e.Fragment,null,n.length>0?`${ye*be+1} - ${we} of ${te?""+(ge.length>0?"Many":"-"):C??ge.length??"-"}`:null)),e.createElement(Ca,{
package/lib/index.js CHANGED
@@ -15854,8 +15854,8 @@ onColumnOrderChange:e=>{let t=B??[];t="function"==typeof e?e(B??[]):e,$?.(t)},
15854
15854
  onRowSelectionChange:e=>{let t=Y;t="function"==typeof e?e(Y):e,W?.(t)},
15855
15855
  enableRowSelection:!0,manualPagination:!0,rowCount:te?-1:C
15856
15856
  }),{getPageCount:ie,getRowModel:le,getState:ce,getCanNextPage:se,getCanPreviousPage:ue,getPageOptions:de,previousPage:he,setPageIndex:pe,nextPage:fe,lastPage:me,firstPage:ve}=oe,{rows:ge}=le(),{pagination:{pageIndex:ye,pageSize:be}}=ce(),we=ye*be+(ye<ie()-1?be:ge.length),Ce=oe.getAllColumns().filter((e=>e.getIsVisible())).length+(I?0:1)+(H?1:0),ze=A?.[0].find((e=>e.id===L?.[0]))?.name
15857
- ;return console.log(ze,L),t.createElement(s$,{className:"TableContainer"
15858
- },!w&&t.createElement(m$,{className:"table-actions"
15857
+ ;return console.log("from table",ze,L),t.createElement(s$,{
15858
+ className:"TableContainer"},!w&&t.createElement(m$,{className:"table-actions"
15859
15859
  },d&&t.createElement(t.Fragment,null,d),t.createElement(y$,{
15860
15860
  className:"table-header-component"},h??null),t.createElement(b$,{
15861
15861
  className:"table-header-dropdown-pagination"},V&&t.createElement("div",{
@@ -15863,8 +15863,8 @@ className:"table-heading-dropdown"},t.createElement("div",{
15863
15863
  className:"table-sorting-heading"},`${g}:`)," ",t.createElement(j$,{
15864
15864
  trigger:t.createElement("div",{className:"table-sorting-value-continer"
15865
15865
  },t.createElement("div",null,ze),t.createElement(U$,{fill:X.colors.text.primary
15866
- })),options:A||[],value:L,onSelect:e=>{k?.(e??[])}})),t.createElement(w$,{
15867
- className:"pagination-actions"
15866
+ })),key:L?.join("-"),options:A||[],value:L,onSelect:e=>{k?.(e??[])}
15867
+ })),t.createElement(w$,{className:"pagination-actions"
15868
15868
  },!m&&t.createElement(t.Fragment,null,t.createElement(Pa,{variant:"primary",
15869
15869
  className:"pagination-text"},l&&!b?t.createElement($v,{size:"small"
15870
15870
  }):t.createElement(t.Fragment,null,r.length>0?`${ye*be+1} - ${we} of ${te?""+(ge.length>0?"Many":"-"):C??ge.length??"-"}`:null)),t.createElement(ja,{
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.17",
3
+ "version": "2.0.18",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.17",
3
+ "version": "2.0.18",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.js",