@pdg/react-table 1.0.75 → 1.0.76

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.
Files changed (65) hide show
  1. package/README.md +1 -1
  2. package/dist/@types/index.d.ts +1 -1
  3. package/dist/@types/types.d.ts +13 -13
  4. package/dist/@util/companyNo.d.ts +6 -6
  5. package/dist/@util/compare.d.ts +4 -4
  6. package/dist/@util/index.d.ts +9 -9
  7. package/dist/@util/number.d.ts +1 -1
  8. package/dist/@util/personalNo.d.ts +6 -6
  9. package/dist/@util/table.d.ts +8 -8
  10. package/dist/@util/tel.d.ts +1 -1
  11. package/dist/InfoTable/InfoTable.d.ts +7 -7
  12. package/dist/InfoTable/InfoTable.style.d.ts +14 -14
  13. package/dist/InfoTable/InfoTable.types.d.ts +72 -72
  14. package/dist/InfoTable/index.d.ts +4 -4
  15. package/dist/SearchTable/SearchTable.d.ts +8 -8
  16. package/dist/SearchTable/SearchTable.types.d.ts +34 -34
  17. package/dist/SearchTable/index.d.ts +4 -4
  18. package/dist/Table/Table.d.ts +8 -8
  19. package/dist/Table/Table.styles.d.ts +5 -5
  20. package/dist/Table/Table.types.d.ts +115 -115
  21. package/dist/Table/index.d.ts +4 -4
  22. package/dist/TableBodyCell/TableBodyCell.d.ts +4 -4
  23. package/dist/TableBodyCell/TableBodyCell.types.d.ts +18 -18
  24. package/dist/TableBodyCell/index.d.ts +4 -4
  25. package/dist/TableBodyRow/TableBodyRow.d.ts +7 -7
  26. package/dist/TableBodyRow/TableBodyRow.types.d.ts +19 -19
  27. package/dist/TableBodyRow/index.d.ts +4 -4
  28. package/dist/TableButton/TableButton.d.ts +4 -4
  29. package/dist/TableButton/TableButton.types.d.ts +7 -7
  30. package/dist/TableButton/index.d.ts +4 -4
  31. package/dist/TableCommonCell/TableCommonCell.d.ts +4 -4
  32. package/dist/TableCommonCell/TableCommonCell.types.d.ts +11 -11
  33. package/dist/TableCommonCell/index.d.ts +4 -4
  34. package/dist/TableContext/TableContext.d.ts +4 -4
  35. package/dist/TableContext/TableContext.types.d.ts +14 -14
  36. package/dist/TableContext/index.d.ts +5 -5
  37. package/dist/TableContext/useTableState.d.ts +2 -2
  38. package/dist/TableContextProvider/TableContextProvider.d.ts +4 -4
  39. package/dist/TableContextProvider/TableContextProvider.types.d.ts +6 -6
  40. package/dist/TableContextProvider/index.d.ts +4 -4
  41. package/dist/TableFooterCell/TableFooterCell.d.ts +4 -4
  42. package/dist/TableFooterCell/TableFooterCell.types.d.ts +5 -5
  43. package/dist/TableFooterCell/index.d.ts +4 -4
  44. package/dist/TableHeadCell/TableHeadCell.d.ts +4 -4
  45. package/dist/TableHeadCell/TableHeadCell.types.d.ts +11 -11
  46. package/dist/TableHeadCell/index.d.ts +4 -4
  47. package/dist/TableIcon/TableIcon.d.ts +4 -4
  48. package/dist/TableIcon/TableIcon.types.d.ts +5 -5
  49. package/dist/TableIcon/index.d.ts +4 -4
  50. package/dist/TableMenuButton/TableMenuButton.d.ts +4 -4
  51. package/dist/TableMenuButton/TableMenuButton.types.d.ts +13 -13
  52. package/dist/TableMenuButton/index.d.ts +4 -4
  53. package/dist/TablePagination/TablePagination.d.ts +4 -4
  54. package/dist/TablePagination/TablePagination.types.d.ts +13 -13
  55. package/dist/TablePagination/index.d.ts +4 -4
  56. package/dist/TableTopHead/TableTopHead.d.ts +4 -4
  57. package/dist/TableTopHead/TableTopHead.style.d.ts +4 -4
  58. package/dist/TableTopHead/TableTopHead.types.d.ts +18 -18
  59. package/dist/TableTopHead/index.d.ts +4 -4
  60. package/dist/index.d.ts +7 -7
  61. package/dist/index.esm.js +1958 -4901
  62. package/dist/index.esm.js.map +1 -1
  63. package/dist/index.js +1958 -4901
  64. package/dist/index.js.map +1 -1
  65. package/package.json +38 -36
@@ -1,5 +1,5 @@
1
- import { IconProps } from '@mui/material';
2
- export interface TableIconProps extends IconProps {
3
- children: string;
4
- }
5
- export declare const TableIconDefaultProps: {};
1
+ import { IconProps } from '@mui/material';
2
+ export interface TableIconProps extends IconProps {
3
+ children: string;
4
+ }
5
+ export declare const TableIconDefaultProps: {};
@@ -1,4 +1,4 @@
1
- import TableIcon from './TableIcon';
2
- export default TableIcon;
3
- export { TableIcon };
4
- export * from './TableIcon.types';
1
+ import TableIcon from './TableIcon';
2
+ export default TableIcon;
3
+ export { TableIcon };
4
+ export * from './TableIcon.types';
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TableMenuButtonProps as Props } from './TableMenuButton.types';
3
- declare const TableMenuButton: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
- export default TableMenuButton;
1
+ import React from 'react';
2
+ import { TableMenuButtonProps as Props } from './TableMenuButton.types';
3
+ declare const TableMenuButton: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ export default TableMenuButton;
@@ -1,13 +1,13 @@
1
- import { ButtonProps } from '@mui/material';
2
- import { ReactElement } from 'react';
3
- import { PopperPlacementType } from '@mui/base/Popper/Popper.types';
4
- export interface TableMenuButtonProps extends Omit<ButtonProps, 'size' | 'startIcon' | 'endIcon' | 'onClick'> {
5
- icon?: string;
6
- startIcon?: string;
7
- endIcon?: string;
8
- placement?: PopperPlacementType;
9
- inModal?: boolean;
10
- zIndex?: number;
11
- menuList: ReactElement;
12
- }
13
- export declare const TableMenuButtonDefaultProps: Pick<TableMenuButtonProps, 'variant' | 'color' | 'placement'>;
1
+ import { ButtonProps } from '@mui/material';
2
+ import { ReactElement } from 'react';
3
+ import { PopperPlacementType } from '@mui/base/Popper/Popper.types';
4
+ export interface TableMenuButtonProps extends Omit<ButtonProps, 'size' | 'startIcon' | 'endIcon' | 'onClick'> {
5
+ icon?: string;
6
+ startIcon?: string;
7
+ endIcon?: string;
8
+ placement?: PopperPlacementType;
9
+ inModal?: boolean;
10
+ zIndex?: number;
11
+ menuList: ReactElement;
12
+ }
13
+ export declare const TableMenuButtonDefaultProps: Pick<TableMenuButtonProps, 'variant' | 'color' | 'placement'>;
@@ -1,4 +1,4 @@
1
- import TableMenuButton from './TableMenuButton';
2
- export default TableMenuButton;
3
- export { TableMenuButton };
4
- export * from './TableMenuButton.types';
1
+ import TableMenuButton from './TableMenuButton';
2
+ export default TableMenuButton;
3
+ export { TableMenuButton };
4
+ export * from './TableMenuButton.types';
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TablePaginationProps } from './TablePagination.types';
3
- declare const TablePagination: React.FC<TablePaginationProps>;
4
- export default TablePagination;
1
+ import React from 'react';
2
+ import { TablePaginationProps } from './TablePagination.types';
3
+ declare const TablePagination: React.FC<TablePaginationProps>;
4
+ export default TablePagination;
@@ -1,13 +1,13 @@
1
- import { StackProps } from '@mui/material';
2
- import { CommonSxProps } from '../@types';
3
- export interface TablePaging {
4
- current_page: number;
5
- per_page: number;
6
- last_page: number;
7
- total: number;
8
- }
9
- export interface TablePaginationProps extends Pick<CommonSxProps, 'className' | 'style' | 'sx'> {
10
- paging: TablePaging;
11
- align?: StackProps['alignItems'];
12
- onChange?(page: number): void;
13
- }
1
+ import { StackProps } from '@mui/material';
2
+ import { CommonSxProps } from '../@types';
3
+ export interface TablePaging {
4
+ current_page: number;
5
+ per_page: number;
6
+ last_page: number;
7
+ total: number;
8
+ }
9
+ export interface TablePaginationProps extends Pick<CommonSxProps, 'className' | 'style' | 'sx'> {
10
+ paging: TablePaging;
11
+ align?: StackProps['alignItems'];
12
+ onChange?(page: number): void;
13
+ }
@@ -1,4 +1,4 @@
1
- import TablePagination from './TablePagination';
2
- export default TablePagination;
3
- export { TablePagination };
4
- export * from './TablePagination.types';
1
+ import TablePagination from './TablePagination';
2
+ export default TablePagination;
3
+ export { TablePagination };
4
+ export * from './TablePagination.types';
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { TableTopHeadProps as Props } from './TableTopHead.types';
3
- declare const TableTopHead: React.FC<Props>;
4
- export default TableTopHead;
1
+ import React from 'react';
2
+ import { TableTopHeadProps as Props } from './TableTopHead.types';
3
+ declare const TableTopHead: React.FC<Props>;
4
+ export default TableTopHead;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
2
- export declare const TableTopHeadCaptionRow: import("@emotion/styled").StyledComponent<import("@mui/material").TableRowOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & {
3
- ref?: ((instance: HTMLTableRowElement | null) => void) | import("react").RefObject<HTMLTableRowElement> | null | undefined;
4
- }, "className" | "style" | "classes" | "children" | "hover" | "selected" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
1
+ /// <reference types="react" />
2
+ export declare const TableTopHeadCaptionRow: import("@emotion/styled").StyledComponent<import("@mui/material").TableRowOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref"> & {
3
+ ref?: ((instance: HTMLTableRowElement | null) => void) | import("react").RefObject<HTMLTableRowElement> | null | undefined;
4
+ }, "className" | "style" | "classes" | "children" | "hover" | "selected" | "sx"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
@@ -1,18 +1,18 @@
1
- import { ReactNode } from 'react';
2
- import { TableCellProps } from '@mui/material';
3
- import { TableColumn, TableProps } from '../Table/Table.types';
4
- export interface TableTopHeadRowColumn {
5
- colSpan?: number;
6
- rowSpan?: number;
7
- label?: ReactNode;
8
- align?: TableCellProps['align'];
9
- }
10
- export type TableTopHeadRowColumnValue = TableTopHeadRowColumn | false | undefined | null;
11
- export interface TableTopHeadProps {
12
- caption?: ReactNode;
13
- rows?: TableTopHeadRowColumnValue[] | TableTopHeadRowColumnValue[][];
14
- columns: TableColumn[];
15
- defaultAlign: TableProps['defaultAlign'];
16
- onCheckChange(column: TableColumn, checked: boolean): void;
17
- }
18
- export declare const TableTopHeadDefaultProps: {};
1
+ import { ReactNode } from 'react';
2
+ import { TableCellProps } from '@mui/material';
3
+ import { TableColumn, TableProps } from '../Table/Table.types';
4
+ export interface TableTopHeadRowColumn {
5
+ colSpan?: number;
6
+ rowSpan?: number;
7
+ label?: ReactNode;
8
+ align?: TableCellProps['align'];
9
+ }
10
+ export type TableTopHeadRowColumnValue = TableTopHeadRowColumn | false | undefined | null;
11
+ export interface TableTopHeadProps {
12
+ caption?: ReactNode;
13
+ rows?: TableTopHeadRowColumnValue[] | TableTopHeadRowColumnValue[][];
14
+ columns: TableColumn[];
15
+ defaultAlign: TableProps['defaultAlign'];
16
+ onCheckChange(column: TableColumn, checked: boolean): void;
17
+ }
18
+ export declare const TableTopHeadDefaultProps: {};
@@ -1,4 +1,4 @@
1
- import TableTopHead from './TableTopHead';
2
- export default TableTopHead;
3
- export { TableTopHead };
4
- export * from './TableTopHead.types';
1
+ import TableTopHead from './TableTopHead';
2
+ export default TableTopHead;
3
+ export { TableTopHead };
4
+ export * from './TableTopHead.types';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- export * from './@types';
2
- export * from './Table';
3
- export * from './SearchTable';
4
- export * from './TableButton';
5
- export * from './TableMenuButton';
6
- export * from './TableIcon';
7
- export * from './InfoTable';
1
+ export * from './@types';
2
+ export * from './Table';
3
+ export * from './SearchTable';
4
+ export * from './TableButton';
5
+ export * from './TableMenuButton';
6
+ export * from './TableIcon';
7
+ export * from './InfoTable';