@pdg/react-table 1.0.80 → 1.0.81
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/index.esm.js +3 -3
- package/dist/index.js +2 -2
- package/package.json +5 -5
package/dist/index.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React,{createContext,useContext,useMemo,useCallback,useState,useEffect,useRef,useLayoutEffect,useId}from'react';import classNames from'classnames';import {styled,TableRow,lighten,TableCell,Box,Tooltip,Checkbox,Stack,Pagination,useTheme,TableHead,TableBody,Icon,TableFooter,Paper,Table as Table$1,Grid,Button,Popper,Grow,ClickAwayListener,IconButton}from'@mui/material';import SimpleBar from'simplebar-react';import {useResizeDetector}from'react-resize-detector';import {useSortable,sortableKeyboardCoordinates,arrayMove,SortableContext,verticalListSortingStrategy}from'@dnd-kit/sortable';import dayjs from'dayjs';import {personalNoAutoDash,companyNoAutoDash,
|
|
1
|
+
import React,{createContext,useContext,useMemo,useCallback,useState,useEffect,useRef,useLayoutEffect,useId}from'react';import classNames from'classnames';import {styled,TableRow,lighten,TableCell,Box,Tooltip,Checkbox,Stack,Pagination,useTheme,TableHead,TableBody,Icon,TableFooter,Paper,Table as Table$1,Grid,Button,Popper,Grow,ClickAwayListener,IconButton}from'@mui/material';import SimpleBar from'simplebar-react';import {useResizeDetector}from'react-resize-detector';import {useSortable,sortableKeyboardCoordinates,arrayMove,SortableContext,verticalListSortingStrategy}from'@dnd-kit/sortable';import dayjs from'dayjs';import {personalNoAutoDash,companyNoAutoDash,telNoAutoDash,numberFormat,notEmpty,equal,empty}from'@pdg/util';import {useAutoUpdateLayoutState}from'@pdg/react-hook';import {useSensors,useSensor,MouseSensor,TouchSensor,KeyboardSensor,DndContext,closestCenter}from'@dnd-kit/core';import'simplebar-react/dist/simplebar.min.css';import {v4}from'uuid';import {Search,SearchGroup,FormHidden,FormIcon}from'@pdg/react-form';import {PdgIcon}from'@pdg/react-component';import {CopyToClipboard}from'react-copy-to-clipboard';/******************************************************************************
|
|
2
2
|
Copyright (c) Microsoft Corporation.
|
|
3
3
|
|
|
4
4
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -392,7 +392,7 @@ var TableBodyCell = function (_a) {
|
|
|
392
392
|
break;
|
|
393
393
|
case 'tel':
|
|
394
394
|
if (typeof data === 'string') {
|
|
395
|
-
data =
|
|
395
|
+
data = telNoAutoDash(data);
|
|
396
396
|
}
|
|
397
397
|
break;
|
|
398
398
|
case 'company_no':
|
|
@@ -1876,7 +1876,7 @@ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, temp
|
|
|
1876
1876
|
break;
|
|
1877
1877
|
case 'tel':
|
|
1878
1878
|
if (typeof data === 'string') {
|
|
1879
|
-
data =
|
|
1879
|
+
data = telNoAutoDash(data);
|
|
1880
1880
|
}
|
|
1881
1881
|
break;
|
|
1882
1882
|
case 'email':
|
package/dist/index.js
CHANGED
|
@@ -392,7 +392,7 @@ var TableBodyCell = function (_a) {
|
|
|
392
392
|
break;
|
|
393
393
|
case 'tel':
|
|
394
394
|
if (typeof data === 'string') {
|
|
395
|
-
data = util.
|
|
395
|
+
data = util.telNoAutoDash(data);
|
|
396
396
|
}
|
|
397
397
|
break;
|
|
398
398
|
case 'company_no':
|
|
@@ -1876,7 +1876,7 @@ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, temp
|
|
|
1876
1876
|
break;
|
|
1877
1877
|
case 'tel':
|
|
1878
1878
|
if (typeof data === 'string') {
|
|
1879
|
-
data = util.
|
|
1879
|
+
data = util.telNoAutoDash(data);
|
|
1880
1880
|
}
|
|
1881
1881
|
break;
|
|
1882
1882
|
case 'email':
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pdg/react-table",
|
|
3
3
|
"title": "React Table",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.81",
|
|
5
5
|
"description": "React Table",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"@mui/icons-material": "^5.15.13",
|
|
47
47
|
"@mui/material": "^5.15.13",
|
|
48
48
|
"@mui/x-date-pickers": "^6.19.7",
|
|
49
|
-
"@pdg/react-component": "^1.0.
|
|
50
|
-
"@pdg/react-form": "^1.0.
|
|
51
|
-
"@pdg/react-hook": "^1.0.
|
|
52
|
-
"@pdg/util": "^1.0.
|
|
49
|
+
"@pdg/react-component": "^1.0.7",
|
|
50
|
+
"@pdg/react-form": "^1.0.92",
|
|
51
|
+
"@pdg/react-hook": "^1.0.7",
|
|
52
|
+
"@pdg/util": "^1.0.13",
|
|
53
53
|
"@tinymce/tinymce-react": "^4.3.2",
|
|
54
54
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
55
55
|
"@types/react-copy-to-clipboard": "^5.0.7",
|