sodtrack-web-ui 0.74.16 → 0.76.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/dist/chunk-EC4MRIVM.mjs +1 -0
- package/dist/chunk-MOY7IRJM.mjs +1 -0
- package/dist/components/carousel.d.mts +26 -0
- package/dist/components/carousel.d.ts +26 -0
- package/dist/components/carousel.js +16 -0
- package/dist/components/carousel.mjs +1 -0
- package/dist/components/chip-form.d.mts +3 -3
- package/dist/components/chip-form.d.ts +3 -3
- package/dist/components/chip-status-table.d.mts +1 -1
- package/dist/components/chip-status-table.d.ts +1 -1
- package/dist/components/data-table.d.mts +1 -1
- package/dist/components/data-table.d.ts +1 -1
- package/dist/components/data-table.js +4 -2
- package/dist/components/data-table.mjs +1 -1
- package/dist/components/index.d.mts +3 -1
- package/dist/components/index.d.ts +3 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.mjs +1 -1
- package/dist/components/list-item-arrow.mjs +1 -1
- package/dist/components/list-item-button.mjs +1 -1
- package/dist/components/list-item-checkbox-left.js +1 -1
- package/dist/components/list-item-checkbox-left.mjs +1 -1
- package/dist/components/list-item-checkbox.js +1 -1
- package/dist/components/list-item-checkbox.mjs +1 -1
- package/dist/components/list-item.mjs +1 -1
- package/dist/components/tab.d.mts +1 -1
- package/dist/components/tab.d.ts +1 -1
- package/dist/components/table.d.mts +1 -1
- package/dist/components/table.d.ts +1 -1
- package/dist/{data-table-CbbFV6I5.d.mts → data-table-DfqlaNv3.d.mts} +15 -2
- package/dist/{data-table-B5WIrr-Y.d.ts → data-table-DoL1dJyd.d.ts} +15 -2
- package/dist/styles/index.css +1 -1
- package/dist/styles/spacing.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-OUAQ2CF7.mjs +0 -1
- /package/dist/{chunk-UARWHSVD.mjs → chunk-G2WUCUE7.mjs} +0 -0
package/package.json
CHANGED
package/dist/chunk-OUAQ2CF7.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {a,b,c,g,h,d,e as e$1,i,j,f}from'./chunk-2UWUPQW7.mjs';import {b as b$1}from'./chunk-PF2FHSIC.mjs';import {e}from'./chunk-4HYLZVI5.mjs';import {useMemo}from'react';import {useReactTable,getPaginationRowModel,getCoreRowModel,flexRender}from'@tanstack/react-table';import {jsxs,jsx}from'react/jsx-runtime';function oe({columns:h$1,data:m,rowsCount:l,pagination:i$1,onPaginationChange:p,noResults:N,rowsPerPageText:H="Rows per page",ofText:I="of",onNextPageClick:v,onPreviousPageClick:k,disableNextPage:d$1,disablePreviousPage:T,className:z,onRowsPerPageChange:M,columnOrder:O,columnVisibility:B,rowsPerPageOptions:V,...L}){let t=useReactTable({data:m,columns:h$1,rowCount:l,state:{pagination:i$1,columnOrder:O,columnVisibility:B},onPaginationChange:p,manualPagination:true,getCoreRowModel:getCoreRowModel(),getPaginationRowModel:getPaginationRowModel()}),A=useMemo(()=>T||!!l&&!t.getCanPreviousPage(),[T,l,i$1?.pageIndex]),F=useMemo(()=>d$1||!!l&&!t.getCanNextPage(),[d$1,l,i$1?.pageIndex]);return t.getRowModel().rows?.length?jsxs(a,{className:z,...L,children:[jsxs(b,{children:[jsx("colgroup",{children:t.getHeaderGroups()[0].headers.map(a=>{let o=a.column.getSize()/t.getHeaderGroups()[0].headers.reduce((n,G)=>n+G.getSize(),0)*100;return jsx("col",{span:1,style:{width:`${o}%`,minWidth:`${a.column.getSize()}px`}},a.id)})}),jsx(c,{children:t.getHeaderGroups().map(a=>jsx(g,{children:a.headers.map(o=>{let n=o.column.columnDef;return jsx(h,{children:jsxs("div",{className:"flex items-center",children:[o.isPlaceholder?null:jsx(b$1,{content:flexRender(n.header,o.getContext()),contentClassName:"font-normal normal-case",children:jsx("span",{className:"line-clamp-1 text-xs uppercase leading-[130%]",children:flexRender(n.header,o.getContext())})}),n.headerInfoTooltip&&jsx(b$1,{size:n.headerInfoTooltipSize,content:n.headerInfoTooltip,contentClassName:"font-normal normal-case",children:jsx(e,{className:"ml-1 w-[0.875rem] shrink-0"})})]})},o.id)})},a.id))}),jsx(d,{children:t.getRowModel().rows.map(a=>jsx(e$1,{"data-state":a.getIsSelected()&&"selected",children:a.getVisibleCells().map(o=>jsx(i,{children:flexRender(o.column.columnDef.cell,o.getContext())},o.id))},a.id))})]}),i$1&&p&&m.length>0&&jsx(j,{rowsPerPageOptions:V,rowsCount:l,pagination:i$1,onRowsPerPageChange:a=>{t.setPageSize(a),t.setPageIndex(0),M?.(a);},onPreviousPageClick:()=>{t.previousPage(),k?.();},onNextPageClick:()=>{t.nextPage(),v?.();},disableNextPage:F,disablePreviousPage:A,ofText:I,rowsPerPageText:H})]}):jsx(f,{...N})}export{oe as a};
|
|
File without changes
|