@dmsi/wedgekit-react 0.0.644 → 0.0.646
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-XVWCVBVF.js → chunk-3MV3KMQH.js} +1 -1
- package/dist/{chunk-Z3Q7PLVD.js → chunk-3PBA2EZ5.js} +1 -1
- package/dist/{chunk-LN3HVXH5.js → chunk-B3T7KBDA.js} +1 -1
- package/dist/{chunk-VAARSN7U.js → chunk-EXCAOI2L.js} +3 -3
- package/dist/{chunk-OXOMO76M.js → chunk-FCGPQNS2.js} +1 -1
- package/dist/{chunk-J2QD64F2.js → chunk-FJXWYGB7.js} +5 -5
- package/dist/{chunk-V2GSI3ZX.js → chunk-HIGNJAQA.js} +2 -2
- package/dist/{chunk-NUFBAJ6L.js → chunk-ISRG77J6.js} +1 -1
- package/dist/{chunk-YXZRGZ2I.js → chunk-REC2XOPI.js} +1 -1
- package/dist/{chunk-K22B4L3G.js → chunk-ZSRTAMSW.js} +28 -1
- package/dist/components/CalendarRange.cjs +157 -154
- package/dist/components/CalendarRange.js +11 -11
- package/dist/components/CompactImagesPreview.cjs +6 -3
- package/dist/components/CompactImagesPreview.js +2 -2
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.cjs +157 -154
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/ColumnSelectorMenuOption.js +11 -11
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.cjs +157 -154
- package/dist/components/DataGrid/ColumnSelectorHeaderCell/index.js +11 -11
- package/dist/components/DataGrid/PinnedColumns.cjs +157 -154
- package/dist/components/DataGrid/PinnedColumns.js +11 -11
- package/dist/components/DataGrid/TableBody/LoadingCell.cjs +157 -154
- package/dist/components/DataGrid/TableBody/LoadingCell.js +11 -11
- package/dist/components/DataGrid/TableBody/TableBodyRow.cjs +157 -154
- package/dist/components/DataGrid/TableBody/TableBodyRow.js +11 -11
- package/dist/components/DataGrid/TableBody/index.cjs +157 -154
- package/dist/components/DataGrid/TableBody/index.js +11 -11
- package/dist/components/DataGrid/index.cjs +158 -155
- package/dist/components/DataGrid/index.js +11 -11
- package/dist/components/DataGrid/utils.cjs +157 -154
- package/dist/components/DataGrid/utils.js +11 -11
- package/dist/components/DataGridCell.cjs +61 -58
- package/dist/components/DataGridCell.js +5 -5
- package/dist/components/DateInput.cjs +150 -147
- package/dist/components/DateInput.js +11 -11
- package/dist/components/DateRangeInput.cjs +163 -160
- package/dist/components/DateRangeInput.js +11 -11
- package/dist/components/Menu.cjs +15 -12
- package/dist/components/Menu.js +3 -3
- package/dist/components/MenuOption.cjs +8 -5
- package/dist/components/MenuOption.js +2 -2
- package/dist/components/MobileDataGrid/ColumnList.js +1 -1
- package/dist/components/MobileDataGrid/ColumnSelector/index.cjs +161 -158
- package/dist/components/MobileDataGrid/ColumnSelector/index.js +11 -11
- package/dist/components/MobileDataGrid/MobileDataGridCard/index.js +1 -1
- package/dist/components/MobileDataGrid/MobileDataGridHeader.cjs +161 -158
- package/dist/components/MobileDataGrid/MobileDataGridHeader.js +11 -11
- package/dist/components/MobileDataGrid/RowDetailModalProvider/ModalContent.js +1 -1
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.cjs +19 -16
- package/dist/components/MobileDataGrid/RowDetailModalProvider/index.js +4 -4
- package/dist/components/MobileDataGrid/index.cjs +170 -167
- package/dist/components/MobileDataGrid/index.js +11 -11
- package/dist/components/Modal.cjs +15 -12
- package/dist/components/Modal.js +2 -2
- package/dist/components/NestedMenu.cjs +11 -8
- package/dist/components/NestedMenu.js +2 -2
- package/dist/components/PDFViewer/index.cjs +31 -28
- package/dist/components/PDFViewer/index.js +2 -2
- package/dist/components/ProductImagePreview/index.cjs +18 -15
- package/dist/components/ProductImagePreview/index.js +2 -2
- package/dist/components/ProjectBar.cjs +3 -0
- package/dist/components/ProjectBar.js +1 -1
- package/dist/components/index.cjs +218 -215
- package/dist/components/index.js +11 -11
- package/dist/components/useMenuSystem.cjs +22 -19
- package/dist/components/useMenuSystem.js +2 -2
- package/dist/hooks/index.cjs +28 -0
- package/dist/hooks/index.js +3 -1
- package/package.json +1 -1
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
CalendarRange,
|
|
3
3
|
CalendarRange_default,
|
|
4
4
|
isWeekend
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-FJXWYGB7.js";
|
|
6
|
+
import "../chunk-3MV3KMQH.js";
|
|
7
7
|
import "../chunk-M7INAUAJ.js";
|
|
8
8
|
import "../chunk-XT4BQXSX.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-FCGPQNS2.js";
|
|
10
10
|
import "../chunk-YCDDBSVU.js";
|
|
11
11
|
import "../chunk-3X3Y4TMS.js";
|
|
12
12
|
import "../chunk-BQNPOGD5.js";
|
|
@@ -16,8 +16,8 @@ import "../chunk-2IKT6IHB.js";
|
|
|
16
16
|
import "../chunk-ECYXZZWC.js";
|
|
17
17
|
import "../chunk-Q4AANHJY.js";
|
|
18
18
|
import "../chunk-5IFPG6TS.js";
|
|
19
|
-
import "../chunk-OZEKRO4L.js";
|
|
20
19
|
import "../chunk-AJ5M6MVX.js";
|
|
20
|
+
import "../chunk-OZEKRO4L.js";
|
|
21
21
|
import "../chunk-AT4AWD6B.js";
|
|
22
22
|
import "../chunk-EWGHVZL5.js";
|
|
23
23
|
import "../chunk-UF5XGCSF.js";
|
|
@@ -26,7 +26,7 @@ import "../chunk-L3BXRDLP.js";
|
|
|
26
26
|
import "../chunk-34VEVX5H.js";
|
|
27
27
|
import "../chunk-LB7UT6F3.js";
|
|
28
28
|
import "../chunk-AS57Y2D3.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-3PBA2EZ5.js";
|
|
30
30
|
import "../chunk-4RJKB7LC.js";
|
|
31
31
|
import "../chunk-UUKHQUSF.js";
|
|
32
32
|
import "../chunk-WVVEOCEH.js";
|
|
@@ -37,17 +37,17 @@ import "../chunk-UAMI54FE.js";
|
|
|
37
37
|
import "../chunk-SJZNVG4N.js";
|
|
38
38
|
import "../chunk-75USUR3I.js";
|
|
39
39
|
import "../chunk-BWPNXY7T.js";
|
|
40
|
-
import "../chunk-
|
|
41
|
-
import "../chunk-
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-EXCAOI2L.js";
|
|
41
|
+
import "../chunk-HIGNJAQA.js";
|
|
42
|
+
import "../chunk-ISRG77J6.js";
|
|
43
|
+
import "../chunk-REC2XOPI.js";
|
|
44
44
|
import "../chunk-FHXCCVOG.js";
|
|
45
45
|
import "../chunk-7T5RGDCN.js";
|
|
46
46
|
import "../chunk-HXGJVYGQ.js";
|
|
47
47
|
import "../chunk-WVUIIBRR.js";
|
|
48
48
|
import "../chunk-M7WHWZ2J.js";
|
|
49
|
-
import "../chunk-
|
|
50
|
-
import "../chunk-
|
|
49
|
+
import "../chunk-B3T7KBDA.js";
|
|
50
|
+
import "../chunk-ZSRTAMSW.js";
|
|
51
51
|
import "../chunk-VXWSAIB5.js";
|
|
52
52
|
import "../chunk-HCHKYUNQ.js";
|
|
53
53
|
import "../chunk-5UH6QUFB.js";
|
|
@@ -62,7 +62,7 @@ __export(CompactImagesPreview_exports, {
|
|
|
62
62
|
CompactImagesPreview: () => CompactImagesPreview
|
|
63
63
|
});
|
|
64
64
|
module.exports = __toCommonJS(CompactImagesPreview_exports);
|
|
65
|
-
var
|
|
65
|
+
var import_react6 = require("react");
|
|
66
66
|
|
|
67
67
|
// src/components/Stack.tsx
|
|
68
68
|
var import_clsx2 = __toESM(require("clsx"), 1);
|
|
@@ -463,6 +463,9 @@ var LocalStoragePrefixVersion = `dmsi-acc-v1.1.1`;
|
|
|
463
463
|
var import_react4 = require("react");
|
|
464
464
|
var LocalStoragePrefix = `${LocalStoragePrefixVersion}-tableLayout`;
|
|
465
465
|
|
|
466
|
+
// src/hooks/useEditCell.tsx
|
|
467
|
+
var import_react5 = require("react");
|
|
468
|
+
|
|
466
469
|
// src/components/CompactImagesPreview.tsx
|
|
467
470
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
468
471
|
function CompactImagesPreview(props) {
|
|
@@ -482,7 +485,7 @@ function CompactImagesPreview(props) {
|
|
|
482
485
|
} = props;
|
|
483
486
|
const isMobile = useMatchesMobile();
|
|
484
487
|
const imagesCount = sources.length;
|
|
485
|
-
const handleImgError = (0,
|
|
488
|
+
const handleImgError = (0, import_react6.useCallback)(
|
|
486
489
|
(e) => {
|
|
487
490
|
if (!placeholderImageUri) return;
|
|
488
491
|
const img = e.currentTarget;
|
|
@@ -492,7 +495,7 @@ function CompactImagesPreview(props) {
|
|
|
492
495
|
},
|
|
493
496
|
[placeholderImageUri, placeholderAlt]
|
|
494
497
|
);
|
|
495
|
-
const handleThumbnailClick = (0,
|
|
498
|
+
const handleThumbnailClick = (0, import_react6.useCallback)(
|
|
496
499
|
(newIndex) => {
|
|
497
500
|
if (newIndex === currentSourceIndex) return;
|
|
498
501
|
if (newIndex < 0 || newIndex >= imagesCount) return;
|