update from cdrl

This commit is contained in:
2026-07-15 11:20:47 -04:00
parent 0f9f42be5a
commit f1745b8a1b
8 changed files with 195 additions and 353 deletions

View File

@@ -324,12 +324,12 @@ export interface AutoTablePagination {
CurrentPage: number;
NextPage?: number;
PreviousPage?: number;
TotalPages: number;
TotalItems: number;
TotalPages?: number;
TotalItems?: number;
MaxItemsPerPage: number;
ItemsThisPage?: number;
ViewRangeLower: number;
ViewRangeUpper: number;
ViewRangeLower?: number;
ViewRangeUpper?: number;
}
export interface AutoTableOrderBy {
@@ -449,7 +449,7 @@ export function AutoTableDateSearch(props: AutoTableDateSearchProps) {
<DatePicker
small={true}
clearable={true}
value={liveValue}
value={liveValue()}
onchange={props.onchange}
placeholder={props.placeholder}
/>
@@ -4181,33 +4181,27 @@ function PaginationButton(props: JSX.ButtonHTMLAttributes<HTMLButtonElement>) {
</button>;
}
interface TdProps {
class?: string;
style?: string;
children: any;
}
export function TdLeft(props: TdProps) {
export function TdLeft(props: JSX.TdHTMLAttributes<HTMLTableCellElement>) {
return <td class={"text-left " + (props.class || "")} style={props.style}>{props.children}</td>;
}
export function TdRight(props: TdProps) {
export function TdRight(props: JSX.TdHTMLAttributes<HTMLTableCellElement>) {
return <td class={"text-right " + (props.class || "")} style={props.style}>{props.children}</td>;
}
export function TdCenter(props: TdProps) {
export function TdCenter(props: JSX.TdHTMLAttributes<HTMLTableCellElement>) {
return <td class={"text-center " + (props.class || "")} style={props.style}>{props.children}</td>;
}
export function TdUniformLeft(props: TdProps) {
export function TdUniformLeft(props: JSX.TdHTMLAttributes<HTMLTableCellElement>) {
return <td class={"text-left " + (props.class || "")} style={props.style}>{props.children}</td>;
}
export function TdUniformRight(props: TdProps) {
export function TdUniformRight(props: JSX.TdHTMLAttributes<HTMLTableCellElement>) {
return <td class={"text-right " + (props.class || "")} style={props.style}>{props.children}</td>;
}
export function TdUniformCenter(props: TdProps) {
export function TdUniformCenter(props: JSX.TdHTMLAttributes<HTMLTableCellElement>) {
return <td class={"text-center " + (props.class || "")} style={props.style}>{props.children}</td>;
}