fastapi-rtk 0.2.48 → 0.2.49
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/.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/dist/index.esm.cjs +0 -73
- package/dist/.external/esm/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/dist/index.esm.mjs +2 -75
- package/dist/core/cjs/Dialogs/AddDialog.cjs +1 -1
- package/dist/core/cjs/Dialogs/EditDialog.cjs +1 -1
- package/dist/core/cjs/Tables/DataGrid/Toolbar/Filter/FilterMenu.cjs +1 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/NextGenDataGrid.cjs +2 -1
- package/dist/core/cjs/Tables/NextGenDataGrid/hooks/useSize.cjs +4 -2
- package/dist/core/cjs/Tables/NextGenDataGrid/patch/MRT_TableContainer.cjs +81 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/patch/MRT_TableContainer.module.css.cjs +10 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/patch/MRT_TablePaper.cjs +66 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/patch/MRT_TablePaper.module.css.cjs +8 -0
- package/dist/core/cjs/Tables/NextGenDataGrid/patch/MantineReactTable.cjs +16 -0
- package/dist/core/esm/Dialogs/AddDialog.mjs +1 -1
- package/dist/core/esm/Dialogs/EditDialog.mjs +1 -1
- package/dist/core/esm/Tables/DataGrid/Toolbar/Filter/FilterMenu.mjs +1 -1
- package/dist/core/esm/Tables/NextGenDataGrid/NextGenDataGrid.mjs +2 -1
- package/dist/core/esm/Tables/NextGenDataGrid/hooks/useSize.mjs +4 -2
- package/dist/core/esm/Tables/NextGenDataGrid/patch/MRT_TableContainer.mjs +81 -0
- package/dist/core/esm/Tables/NextGenDataGrid/patch/MRT_TableContainer.module.css.mjs +10 -0
- package/dist/core/esm/Tables/NextGenDataGrid/patch/MRT_TablePaper.mjs +66 -0
- package/dist/core/esm/Tables/NextGenDataGrid/patch/MRT_TablePaper.module.css.mjs +8 -0
- package/dist/core/esm/Tables/NextGenDataGrid/patch/MantineReactTable.mjs +16 -0
- package/dist/core/lib/Tables/NextGenDataGrid/hooks/useSize.d.ts +3 -0
- package/dist/core/lib/Tables/NextGenDataGrid/patch/MRT_TableContainer.d.ts +4 -0
- package/dist/core/lib/Tables/NextGenDataGrid/patch/MRT_TablePaper.d.ts +4 -0
- package/dist/core/lib/Tables/NextGenDataGrid/patch/MantineReactTable.d.ts +1 -0
- package/dist/core/styles.css +91 -0
- package/package.json +1 -1
- /package/dist/.external/cjs/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.2_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.3_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.cjs +0 -0
- /package/dist/.external/esm/{mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.2_yup@1.7.1 → mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.3_yup@1.7.1}/mantine-form-yup-resolver/dist/esm/index.mjs +0 -0
|
@@ -2572,8 +2572,6 @@ const useMRT_TableInstance = (definedTableOptions) => {
|
|
|
2572
2572
|
return table;
|
|
2573
2573
|
};
|
|
2574
2574
|
const useMantineReactTable = (tableOptions) => useMRT_TableInstance(useMRT_TableOptions(tableOptions));
|
|
2575
|
-
var classes$8 = { "root": "MRT_TablePaper-module_root__q0v5L" };
|
|
2576
|
-
var classes$7 = { "root": "MRT_TableContainer-module_root__JIsGB", "root-sticky": "MRT_TableContainer-module_root-sticky__uC4qx", "root-fullscreen": "MRT_TableContainer-module_root-fullscreen__aM8Jg" };
|
|
2577
2575
|
var classes$6 = { "root": "MRT_Table-module_root__ms2uS", "root-grid": "MRT_Table-module_root-grid__2Pynz" };
|
|
2578
2576
|
const useMRT_ColumnVirtualizer = (table) => {
|
|
2579
2577
|
var _a, _b, _c, _d;
|
|
@@ -2678,31 +2676,6 @@ const MRT_EditRowModal = (_a) => {
|
|
|
2678
2676
|
table
|
|
2679
2677
|
}))) !== null && _b !== void 0 ? _b : jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("form", { onSubmit: (e) => e.preventDefault(), children: jsxRuntime.jsx(core.Stack, { gap: "lg", pb: 24, pt: 16, children: internalEditComponents }) }), jsxRuntime.jsx(core.Flex, { justify: "flex-end", children: jsxRuntime.jsx(MRT_EditActionButtons, { row, table, variant: "text" }) })] }));
|
|
2680
2678
|
};
|
|
2681
|
-
const useIsomorphicLayoutEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
2682
|
-
const MRT_TableContainer = (_a) => {
|
|
2683
|
-
var { table } = _a, rest = __rest(_a, ["table"]);
|
|
2684
|
-
const { getState, options: { createDisplayMode, editDisplayMode, enableStickyHeader, mantineLoadingOverlayProps, mantineTableContainerProps }, refs: { bottomToolbarRef, tableContainerRef, topToolbarRef } } = table;
|
|
2685
|
-
const { creatingRow, editingRow, isFullScreen, isLoading, showLoadingOverlay } = getState();
|
|
2686
|
-
const [totalToolbarHeight, setTotalToolbarHeight] = React.useState(0);
|
|
2687
|
-
const tableContainerProps = Object.assign(Object.assign({}, parseFromValuesOrFunc(mantineTableContainerProps, { table })), rest);
|
|
2688
|
-
const loadingOverlayProps = parseFromValuesOrFunc(mantineLoadingOverlayProps, { table });
|
|
2689
|
-
useIsomorphicLayoutEffect(() => {
|
|
2690
|
-
var _a2, _b, _c, _d;
|
|
2691
|
-
const topToolbarHeight = typeof document !== "undefined" ? (_b = (_a2 = topToolbarRef.current) === null || _a2 === void 0 ? void 0 : _a2.offsetHeight) !== null && _b !== void 0 ? _b : 0 : 0;
|
|
2692
|
-
const bottomToolbarHeight = typeof document !== "undefined" ? (_d = (_c = bottomToolbarRef === null || bottomToolbarRef === void 0 ? void 0 : bottomToolbarRef.current) === null || _c === void 0 ? void 0 : _c.offsetHeight) !== null && _d !== void 0 ? _d : 0 : 0;
|
|
2693
|
-
setTotalToolbarHeight(topToolbarHeight + bottomToolbarHeight);
|
|
2694
|
-
});
|
|
2695
|
-
const createModalOpen = createDisplayMode === "modal" && creatingRow;
|
|
2696
|
-
const editModalOpen = editDisplayMode === "modal" && editingRow;
|
|
2697
|
-
return jsxRuntime.jsxs(core.Box, Object.assign({}, tableContainerProps, { __vars: Object.assign({ "--mrt-top-toolbar-height": `${totalToolbarHeight}` }, tableContainerProps === null || tableContainerProps === void 0 ? void 0 : tableContainerProps.__vars), className: clsx.clsx("mrt-table-container", classes$7.root, enableStickyHeader && classes$7["root-sticky"], isFullScreen && classes$7["root-fullscreen"], tableContainerProps === null || tableContainerProps === void 0 ? void 0 : tableContainerProps.className), ref: (node) => {
|
|
2698
|
-
if (node) {
|
|
2699
|
-
tableContainerRef.current = node;
|
|
2700
|
-
if (tableContainerProps === null || tableContainerProps === void 0 ? void 0 : tableContainerProps.ref) {
|
|
2701
|
-
tableContainerProps.ref.current = node;
|
|
2702
|
-
}
|
|
2703
|
-
}
|
|
2704
|
-
}, children: [jsxRuntime.jsx(core.LoadingOverlay, Object.assign({ visible: isLoading || showLoadingOverlay, zIndex: 2 }, loadingOverlayProps)), jsxRuntime.jsx(MRT_Table, { table }), (createModalOpen || editModalOpen) && jsxRuntime.jsx(MRT_EditRowModal, { open: true, table })] }));
|
|
2705
|
-
};
|
|
2706
2679
|
var commonClasses = { "common-toolbar-styles": "common-styles-module_common-toolbar-styles__DnjR8" };
|
|
2707
2680
|
var classes$5 = { "root": "MRT_BottomToolbar-module_root__VDeWo", "root-fullscreen": "MRT_BottomToolbar-module_root-fullscreen__esE15", "custom-toolbar-container": "MRT_BottomToolbar-module_custom-toolbar-container__XcDRF", "paginator-container": "MRT_BottomToolbar-module_paginator-container__A3eWY", "paginator-container-alert-banner": "MRT_BottomToolbar-module_paginator-container-alert-banner__gyqtO" };
|
|
2708
2681
|
var classes$4 = { "collapse": "MRT_ProgressBar-module_collapse__rOLJH", "collapse-top": "MRT_ProgressBar-module_collapse-top__oCi0h" };
|
|
@@ -2804,49 +2777,6 @@ const MRT_TopToolbar = (_a) => {
|
|
|
2804
2777
|
}
|
|
2805
2778
|
}, children: [positionToolbarAlertBanner === "top" && jsxRuntime.jsx(MRT_ToolbarAlertBanner, { stackAlertBanner, table }), ["both", "top"].includes(positionToolbarDropZone !== null && positionToolbarDropZone !== void 0 ? positionToolbarDropZone : "") && jsxRuntime.jsx(MRT_ToolbarDropZone, { table }), jsxRuntime.jsxs(core.Flex, { className: clsx.clsx(classes$1["actions-container"], stackAlertBanner && classes$1["actions-container-stack-alert"]), children: [enableGlobalFilter && positionGlobalFilter === "left" && jsxRuntime.jsx(MRT_GlobalFilterTextInput, Object.assign({}, globalFilterProps)), (_b = renderTopToolbarCustomActions === null || renderTopToolbarCustomActions === void 0 ? void 0 : renderTopToolbarCustomActions({ table })) !== null && _b !== void 0 ? _b : jsxRuntime.jsx("span", {}), enableToolbarInternalActions ? jsxRuntime.jsxs(core.Flex, { justify: "end", wrap: "wrap-reverse", children: [enableGlobalFilter && positionGlobalFilter === "right" && jsxRuntime.jsx(MRT_GlobalFilterTextInput, Object.assign({}, globalFilterProps)), jsxRuntime.jsx(MRT_ToolbarInternalButtons, { table })] }) : enableGlobalFilter && positionGlobalFilter === "right" && jsxRuntime.jsx(MRT_GlobalFilterTextInput, Object.assign({}, globalFilterProps))] }), enablePagination && ["both", "top"].includes(positionPagination !== null && positionPagination !== void 0 ? positionPagination : "") && jsxRuntime.jsx(core.Flex, { justify: "end", children: jsxRuntime.jsx(MRT_TablePagination, { position: "top", table }) }), jsxRuntime.jsx(MRT_ProgressBar, { isTopToolbar: true, table })] }));
|
|
2806
2779
|
};
|
|
2807
|
-
const MRT_TablePaper = (_a) => {
|
|
2808
|
-
var _b, _c;
|
|
2809
|
-
var { table } = _a, rest = __rest(_a, ["table"]);
|
|
2810
|
-
const { getState, options: { enableBottomToolbar, enableTopToolbar, mantinePaperProps, renderBottomToolbar, renderTopToolbar }, refs: { tablePaperRef } } = table;
|
|
2811
|
-
const { isFullScreen } = getState();
|
|
2812
|
-
const tablePaperProps = Object.assign(Object.assign({}, parseFromValuesOrFunc(mantinePaperProps, { table })), rest);
|
|
2813
|
-
return jsxRuntime.jsxs(core.Paper, Object.assign({ shadow: "xs", withBorder: true }, tablePaperProps, {
|
|
2814
|
-
className: clsx.clsx("mrt-table-paper", classes$8.root, isFullScreen && "mrt-table-paper-fullscreen", tablePaperProps === null || tablePaperProps === void 0 ? void 0 : tablePaperProps.className),
|
|
2815
|
-
ref: (ref) => {
|
|
2816
|
-
tablePaperRef.current = ref;
|
|
2817
|
-
if (tablePaperProps === null || tablePaperProps === void 0 ? void 0 : tablePaperProps.ref) {
|
|
2818
|
-
tablePaperProps.ref.current = ref;
|
|
2819
|
-
}
|
|
2820
|
-
},
|
|
2821
|
-
// rare case where we should use inline styles to guarantee highest specificity
|
|
2822
|
-
style: (theme) => Object.assign(Object.assign({ zIndex: isFullScreen ? 200 : void 0 }, parseFromValuesOrFunc(tablePaperProps === null || tablePaperProps === void 0 ? void 0 : tablePaperProps.style, theme)), isFullScreen ? {
|
|
2823
|
-
border: 0,
|
|
2824
|
-
borderRadius: 0,
|
|
2825
|
-
bottom: 0,
|
|
2826
|
-
height: "100vh",
|
|
2827
|
-
left: 0,
|
|
2828
|
-
margin: 0,
|
|
2829
|
-
maxHeight: "100vh",
|
|
2830
|
-
maxWidth: "100vw",
|
|
2831
|
-
padding: 0,
|
|
2832
|
-
position: "fixed",
|
|
2833
|
-
right: 0,
|
|
2834
|
-
top: 0,
|
|
2835
|
-
width: "100vw"
|
|
2836
|
-
} : null),
|
|
2837
|
-
children: [enableTopToolbar && ((_b = parseFromValuesOrFunc(renderTopToolbar, { table })) !== null && _b !== void 0 ? _b : jsxRuntime.jsx(MRT_TopToolbar, { table })), jsxRuntime.jsx(MRT_TableContainer, { table }), enableBottomToolbar && ((_c = parseFromValuesOrFunc(renderBottomToolbar, { table })) !== null && _c !== void 0 ? _c : jsxRuntime.jsx(MRT_BottomToolbar, { table }))]
|
|
2838
|
-
}));
|
|
2839
|
-
};
|
|
2840
|
-
const isTableInstanceProp = (props) => props.table !== void 0;
|
|
2841
|
-
const MantineReactTable = (props) => {
|
|
2842
|
-
let table;
|
|
2843
|
-
if (isTableInstanceProp(props)) {
|
|
2844
|
-
table = props.table;
|
|
2845
|
-
} else {
|
|
2846
|
-
table = useMantineReactTable(props);
|
|
2847
|
-
}
|
|
2848
|
-
return jsxRuntime.jsx(MRT_TablePaper, { table });
|
|
2849
|
-
};
|
|
2850
2780
|
exports.MRT_AggregationFns = MRT_AggregationFns;
|
|
2851
2781
|
exports.MRT_BottomToolbar = MRT_BottomToolbar;
|
|
2852
2782
|
exports.MRT_ColumnActionMenu = MRT_ColumnActionMenu;
|
|
@@ -2883,7 +2813,6 @@ exports.MRT_TableBodyEmptyRow = MRT_TableBodyEmptyRow;
|
|
|
2883
2813
|
exports.MRT_TableBodyRow = MRT_TableBodyRow;
|
|
2884
2814
|
exports.MRT_TableBodyRowGrabHandle = MRT_TableBodyRowGrabHandle;
|
|
2885
2815
|
exports.MRT_TableBodyRowPinButton = MRT_TableBodyRowPinButton;
|
|
2886
|
-
exports.MRT_TableContainer = MRT_TableContainer;
|
|
2887
2816
|
exports.MRT_TableDetailPanel = MRT_TableDetailPanel;
|
|
2888
2817
|
exports.MRT_TableFooter = MRT_TableFooter;
|
|
2889
2818
|
exports.MRT_TableFooterCell = MRT_TableFooterCell;
|
|
@@ -2897,7 +2826,6 @@ exports.MRT_TableHeadCellResizeHandle = MRT_TableHeadCellResizeHandle;
|
|
|
2897
2826
|
exports.MRT_TableHeadCellSortLabel = MRT_TableHeadCellSortLabel;
|
|
2898
2827
|
exports.MRT_TableHeadRow = MRT_TableHeadRow;
|
|
2899
2828
|
exports.MRT_TablePagination = MRT_TablePagination;
|
|
2900
|
-
exports.MRT_TablePaper = MRT_TablePaper;
|
|
2901
2829
|
exports.MRT_ToggleDensePaddingButton = MRT_ToggleDensePaddingButton;
|
|
2902
2830
|
exports.MRT_ToggleFiltersButton = MRT_ToggleFiltersButton;
|
|
2903
2831
|
exports.MRT_ToggleFullScreenButton = MRT_ToggleFullScreenButton;
|
|
@@ -2907,7 +2835,6 @@ exports.MRT_ToolbarAlertBanner = MRT_ToolbarAlertBanner;
|
|
|
2907
2835
|
exports.MRT_ToolbarDropZone = MRT_ToolbarDropZone;
|
|
2908
2836
|
exports.MRT_ToolbarInternalButtons = MRT_ToolbarInternalButtons;
|
|
2909
2837
|
exports.MRT_TopToolbar = MRT_TopToolbar;
|
|
2910
|
-
exports.MantineReactTable = MantineReactTable;
|
|
2911
2838
|
exports.Memo_MRT_TableBody = Memo_MRT_TableBody;
|
|
2912
2839
|
exports.Memo_MRT_TableBodyCell = Memo_MRT_TableBodyCell;
|
|
2913
2840
|
exports.Memo_MRT_TableBodyRow = Memo_MRT_TableBodyRow;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { clsx } from "../../../clsx@2.1.1/clsx/dist/clsx.mjs";
|
|
3
|
-
import { useRef, useMemo, useState, useReducer, useEffect,
|
|
4
|
-
import { useDirection, Flex, Tooltip,
|
|
3
|
+
import { useRef, useMemo, useState, useReducer, useEffect, Fragment as Fragment$1, memo, createElement, useCallback } from "react";
|
|
4
|
+
import { useDirection, Flex, Tooltip, Switch, Radio, Checkbox, Box, ActionIcon, Menu, Button, Select, MultiSelect, TextInput, Badge, Collapse, Alert, Stack, Transition, Text, Group, Pagination, Progress, useMantineColorScheme, Table, lighten, darken, Modal, TableThead, TableTr, TableTh, TableTbody, TableTfoot, useMantineTheme, TableTd, Popover, Indicator, Skeleton, RangeSlider, Autocomplete, CopyButton, UnstyledButton, Highlight } from "@mantine/core";
|
|
5
5
|
import { useReactTable } from "../../../@tanstack_react-table@8.20.5_react-dom@18.3.1_react@18.3.1/@tanstack/react-table/build/lib/index.mjs";
|
|
6
6
|
import { rankItem, compareItems, rankings } from "../../../@tanstack_match-sorter-utils@8.19.4/@tanstack/match-sorter-utils/build/lib/index.mjs";
|
|
7
7
|
import { useVirtualizer } from "../../../@tanstack_react-virtual@3.11.2_react-dom@18.3.1_react@18.3.1/@tanstack/react-virtual/dist/esm/index.mjs";
|
|
@@ -2570,8 +2570,6 @@ const useMRT_TableInstance = (definedTableOptions) => {
|
|
|
2570
2570
|
return table;
|
|
2571
2571
|
};
|
|
2572
2572
|
const useMantineReactTable = (tableOptions) => useMRT_TableInstance(useMRT_TableOptions(tableOptions));
|
|
2573
|
-
var classes$8 = { "root": "MRT_TablePaper-module_root__q0v5L" };
|
|
2574
|
-
var classes$7 = { "root": "MRT_TableContainer-module_root__JIsGB", "root-sticky": "MRT_TableContainer-module_root-sticky__uC4qx", "root-fullscreen": "MRT_TableContainer-module_root-fullscreen__aM8Jg" };
|
|
2575
2573
|
var classes$6 = { "root": "MRT_Table-module_root__ms2uS", "root-grid": "MRT_Table-module_root-grid__2Pynz" };
|
|
2576
2574
|
const useMRT_ColumnVirtualizer = (table) => {
|
|
2577
2575
|
var _a, _b, _c, _d;
|
|
@@ -2676,31 +2674,6 @@ const MRT_EditRowModal = (_a) => {
|
|
|
2676
2674
|
table
|
|
2677
2675
|
}))) !== null && _b !== void 0 ? _b : jsxs(Fragment, { children: [jsx("form", { onSubmit: (e) => e.preventDefault(), children: jsx(Stack, { gap: "lg", pb: 24, pt: 16, children: internalEditComponents }) }), jsx(Flex, { justify: "flex-end", children: jsx(MRT_EditActionButtons, { row, table, variant: "text" }) })] }));
|
|
2678
2676
|
};
|
|
2679
|
-
const useIsomorphicLayoutEffect = typeof window !== "undefined" ? useLayoutEffect : useEffect;
|
|
2680
|
-
const MRT_TableContainer = (_a) => {
|
|
2681
|
-
var { table } = _a, rest = __rest(_a, ["table"]);
|
|
2682
|
-
const { getState, options: { createDisplayMode, editDisplayMode, enableStickyHeader, mantineLoadingOverlayProps, mantineTableContainerProps }, refs: { bottomToolbarRef, tableContainerRef, topToolbarRef } } = table;
|
|
2683
|
-
const { creatingRow, editingRow, isFullScreen, isLoading, showLoadingOverlay } = getState();
|
|
2684
|
-
const [totalToolbarHeight, setTotalToolbarHeight] = useState(0);
|
|
2685
|
-
const tableContainerProps = Object.assign(Object.assign({}, parseFromValuesOrFunc(mantineTableContainerProps, { table })), rest);
|
|
2686
|
-
const loadingOverlayProps = parseFromValuesOrFunc(mantineLoadingOverlayProps, { table });
|
|
2687
|
-
useIsomorphicLayoutEffect(() => {
|
|
2688
|
-
var _a2, _b, _c, _d;
|
|
2689
|
-
const topToolbarHeight = typeof document !== "undefined" ? (_b = (_a2 = topToolbarRef.current) === null || _a2 === void 0 ? void 0 : _a2.offsetHeight) !== null && _b !== void 0 ? _b : 0 : 0;
|
|
2690
|
-
const bottomToolbarHeight = typeof document !== "undefined" ? (_d = (_c = bottomToolbarRef === null || bottomToolbarRef === void 0 ? void 0 : bottomToolbarRef.current) === null || _c === void 0 ? void 0 : _c.offsetHeight) !== null && _d !== void 0 ? _d : 0 : 0;
|
|
2691
|
-
setTotalToolbarHeight(topToolbarHeight + bottomToolbarHeight);
|
|
2692
|
-
});
|
|
2693
|
-
const createModalOpen = createDisplayMode === "modal" && creatingRow;
|
|
2694
|
-
const editModalOpen = editDisplayMode === "modal" && editingRow;
|
|
2695
|
-
return jsxs(Box, Object.assign({}, tableContainerProps, { __vars: Object.assign({ "--mrt-top-toolbar-height": `${totalToolbarHeight}` }, tableContainerProps === null || tableContainerProps === void 0 ? void 0 : tableContainerProps.__vars), className: clsx("mrt-table-container", classes$7.root, enableStickyHeader && classes$7["root-sticky"], isFullScreen && classes$7["root-fullscreen"], tableContainerProps === null || tableContainerProps === void 0 ? void 0 : tableContainerProps.className), ref: (node) => {
|
|
2696
|
-
if (node) {
|
|
2697
|
-
tableContainerRef.current = node;
|
|
2698
|
-
if (tableContainerProps === null || tableContainerProps === void 0 ? void 0 : tableContainerProps.ref) {
|
|
2699
|
-
tableContainerProps.ref.current = node;
|
|
2700
|
-
}
|
|
2701
|
-
}
|
|
2702
|
-
}, children: [jsx(LoadingOverlay, Object.assign({ visible: isLoading || showLoadingOverlay, zIndex: 2 }, loadingOverlayProps)), jsx(MRT_Table, { table }), (createModalOpen || editModalOpen) && jsx(MRT_EditRowModal, { open: true, table })] }));
|
|
2703
|
-
};
|
|
2704
2677
|
var commonClasses = { "common-toolbar-styles": "common-styles-module_common-toolbar-styles__DnjR8" };
|
|
2705
2678
|
var classes$5 = { "root": "MRT_BottomToolbar-module_root__VDeWo", "root-fullscreen": "MRT_BottomToolbar-module_root-fullscreen__esE15", "custom-toolbar-container": "MRT_BottomToolbar-module_custom-toolbar-container__XcDRF", "paginator-container": "MRT_BottomToolbar-module_paginator-container__A3eWY", "paginator-container-alert-banner": "MRT_BottomToolbar-module_paginator-container-alert-banner__gyqtO" };
|
|
2706
2679
|
var classes$4 = { "collapse": "MRT_ProgressBar-module_collapse__rOLJH", "collapse-top": "MRT_ProgressBar-module_collapse-top__oCi0h" };
|
|
@@ -2802,49 +2775,6 @@ const MRT_TopToolbar = (_a) => {
|
|
|
2802
2775
|
}
|
|
2803
2776
|
}, children: [positionToolbarAlertBanner === "top" && jsx(MRT_ToolbarAlertBanner, { stackAlertBanner, table }), ["both", "top"].includes(positionToolbarDropZone !== null && positionToolbarDropZone !== void 0 ? positionToolbarDropZone : "") && jsx(MRT_ToolbarDropZone, { table }), jsxs(Flex, { className: clsx(classes$1["actions-container"], stackAlertBanner && classes$1["actions-container-stack-alert"]), children: [enableGlobalFilter && positionGlobalFilter === "left" && jsx(MRT_GlobalFilterTextInput, Object.assign({}, globalFilterProps)), (_b = renderTopToolbarCustomActions === null || renderTopToolbarCustomActions === void 0 ? void 0 : renderTopToolbarCustomActions({ table })) !== null && _b !== void 0 ? _b : jsx("span", {}), enableToolbarInternalActions ? jsxs(Flex, { justify: "end", wrap: "wrap-reverse", children: [enableGlobalFilter && positionGlobalFilter === "right" && jsx(MRT_GlobalFilterTextInput, Object.assign({}, globalFilterProps)), jsx(MRT_ToolbarInternalButtons, { table })] }) : enableGlobalFilter && positionGlobalFilter === "right" && jsx(MRT_GlobalFilterTextInput, Object.assign({}, globalFilterProps))] }), enablePagination && ["both", "top"].includes(positionPagination !== null && positionPagination !== void 0 ? positionPagination : "") && jsx(Flex, { justify: "end", children: jsx(MRT_TablePagination, { position: "top", table }) }), jsx(MRT_ProgressBar, { isTopToolbar: true, table })] }));
|
|
2804
2777
|
};
|
|
2805
|
-
const MRT_TablePaper = (_a) => {
|
|
2806
|
-
var _b, _c;
|
|
2807
|
-
var { table } = _a, rest = __rest(_a, ["table"]);
|
|
2808
|
-
const { getState, options: { enableBottomToolbar, enableTopToolbar, mantinePaperProps, renderBottomToolbar, renderTopToolbar }, refs: { tablePaperRef } } = table;
|
|
2809
|
-
const { isFullScreen } = getState();
|
|
2810
|
-
const tablePaperProps = Object.assign(Object.assign({}, parseFromValuesOrFunc(mantinePaperProps, { table })), rest);
|
|
2811
|
-
return jsxs(Paper, Object.assign({ shadow: "xs", withBorder: true }, tablePaperProps, {
|
|
2812
|
-
className: clsx("mrt-table-paper", classes$8.root, isFullScreen && "mrt-table-paper-fullscreen", tablePaperProps === null || tablePaperProps === void 0 ? void 0 : tablePaperProps.className),
|
|
2813
|
-
ref: (ref) => {
|
|
2814
|
-
tablePaperRef.current = ref;
|
|
2815
|
-
if (tablePaperProps === null || tablePaperProps === void 0 ? void 0 : tablePaperProps.ref) {
|
|
2816
|
-
tablePaperProps.ref.current = ref;
|
|
2817
|
-
}
|
|
2818
|
-
},
|
|
2819
|
-
// rare case where we should use inline styles to guarantee highest specificity
|
|
2820
|
-
style: (theme) => Object.assign(Object.assign({ zIndex: isFullScreen ? 200 : void 0 }, parseFromValuesOrFunc(tablePaperProps === null || tablePaperProps === void 0 ? void 0 : tablePaperProps.style, theme)), isFullScreen ? {
|
|
2821
|
-
border: 0,
|
|
2822
|
-
borderRadius: 0,
|
|
2823
|
-
bottom: 0,
|
|
2824
|
-
height: "100vh",
|
|
2825
|
-
left: 0,
|
|
2826
|
-
margin: 0,
|
|
2827
|
-
maxHeight: "100vh",
|
|
2828
|
-
maxWidth: "100vw",
|
|
2829
|
-
padding: 0,
|
|
2830
|
-
position: "fixed",
|
|
2831
|
-
right: 0,
|
|
2832
|
-
top: 0,
|
|
2833
|
-
width: "100vw"
|
|
2834
|
-
} : null),
|
|
2835
|
-
children: [enableTopToolbar && ((_b = parseFromValuesOrFunc(renderTopToolbar, { table })) !== null && _b !== void 0 ? _b : jsx(MRT_TopToolbar, { table })), jsx(MRT_TableContainer, { table }), enableBottomToolbar && ((_c = parseFromValuesOrFunc(renderBottomToolbar, { table })) !== null && _c !== void 0 ? _c : jsx(MRT_BottomToolbar, { table }))]
|
|
2836
|
-
}));
|
|
2837
|
-
};
|
|
2838
|
-
const isTableInstanceProp = (props) => props.table !== void 0;
|
|
2839
|
-
const MantineReactTable = (props) => {
|
|
2840
|
-
let table;
|
|
2841
|
-
if (isTableInstanceProp(props)) {
|
|
2842
|
-
table = props.table;
|
|
2843
|
-
} else {
|
|
2844
|
-
table = useMantineReactTable(props);
|
|
2845
|
-
}
|
|
2846
|
-
return jsx(MRT_TablePaper, { table });
|
|
2847
|
-
};
|
|
2848
2778
|
export {
|
|
2849
2779
|
MRT_AggregationFns,
|
|
2850
2780
|
MRT_BottomToolbar,
|
|
@@ -2882,7 +2812,6 @@ export {
|
|
|
2882
2812
|
MRT_TableBodyRow,
|
|
2883
2813
|
MRT_TableBodyRowGrabHandle,
|
|
2884
2814
|
MRT_TableBodyRowPinButton,
|
|
2885
|
-
MRT_TableContainer,
|
|
2886
2815
|
MRT_TableDetailPanel,
|
|
2887
2816
|
MRT_TableFooter,
|
|
2888
2817
|
MRT_TableFooterCell,
|
|
@@ -2896,7 +2825,6 @@ export {
|
|
|
2896
2825
|
MRT_TableHeadCellSortLabel,
|
|
2897
2826
|
MRT_TableHeadRow,
|
|
2898
2827
|
MRT_TablePagination,
|
|
2899
|
-
MRT_TablePaper,
|
|
2900
2828
|
MRT_ToggleDensePaddingButton,
|
|
2901
2829
|
MRT_ToggleFiltersButton,
|
|
2902
2830
|
MRT_ToggleFullScreenButton,
|
|
@@ -2906,7 +2834,6 @@ export {
|
|
|
2906
2834
|
MRT_ToolbarDropZone,
|
|
2907
2835
|
MRT_ToolbarInternalButtons,
|
|
2908
2836
|
MRT_TopToolbar,
|
|
2909
|
-
MantineReactTable,
|
|
2910
2837
|
Memo_MRT_TableBody,
|
|
2911
2838
|
Memo_MRT_TableBodyCell,
|
|
2912
2839
|
Memo_MRT_TableBodyRow,
|
|
@@ -7,7 +7,7 @@ const utils = require("fastapi-rtk/utils");
|
|
|
7
7
|
const core = require("@mantine/core");
|
|
8
8
|
const form = require("@mantine/form");
|
|
9
9
|
const hooks = require("@mantine/hooks");
|
|
10
|
-
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
10
|
+
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.3_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
|
|
11
11
|
const React = require("react");
|
|
12
12
|
const useApi = require("../hooks/api/useApi.cjs");
|
|
13
13
|
const useForms = require("../hooks/api/useForms.cjs");
|
|
@@ -8,7 +8,7 @@ const core = require("@mantine/core");
|
|
|
8
8
|
const form = require("@mantine/form");
|
|
9
9
|
const hooks = require("@mantine/hooks");
|
|
10
10
|
const lodash = require("../_virtual/lodash.cjs");
|
|
11
|
-
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
11
|
+
const index = require("../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.3_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
|
|
12
12
|
const React = require("react");
|
|
13
13
|
const convertToFormInputs$1 = require("../ActionIcons/utils/convertToFormInputs.cjs");
|
|
14
14
|
const convertToFormInputs = require("../fab-react-toolkit-patch/utils/convertToFormInputs.cjs");
|
|
@@ -4,7 +4,7 @@ const jsxRuntime = require("react/jsx-runtime");
|
|
|
4
4
|
const core = require("@mantine/core");
|
|
5
5
|
const form = require("@mantine/form");
|
|
6
6
|
const hooks = require("@mantine/hooks");
|
|
7
|
-
const index = require("../../../../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
7
|
+
const index = require("../../../../../../.external/cjs/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.3_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.cjs");
|
|
8
8
|
const React = require("react");
|
|
9
9
|
const index_esm = require("../../../../../../.external/cjs/yup@1.7.1/yup/index.esm.cjs");
|
|
10
10
|
const useApi = require("../../../../hooks/api/useApi.cjs");
|
|
@@ -28,6 +28,7 @@ const useSize = require("./hooks/useSize.cjs");
|
|
|
28
28
|
const useSorting = require("./hooks/useSorting.cjs");
|
|
29
29
|
const useToolbar = require("./hooks/useToolbar/useToolbar.cjs");
|
|
30
30
|
const useToolbarAlertBanner = require("./hooks/useToolbarAlertBanner/useToolbarAlertBanner.cjs");
|
|
31
|
+
const MantineReactTable = require("./patch/MantineReactTable.cjs");
|
|
31
32
|
const baseProps = { enableStickyHeader: true, enableColumnPinning: true };
|
|
32
33
|
const NextGenDataGrid = React.forwardRef((props, ref) => {
|
|
33
34
|
var _a, _b, _c, _d, _e;
|
|
@@ -229,7 +230,7 @@ const NextGenDataGrid = React.forwardRef((props, ref) => {
|
|
|
229
230
|
/* @__PURE__ */ jsxRuntime.jsx(EditDialog.EditDialog, { jsonForms: form == null ? void 0 : form.edit, ...(_d = form == null ? void 0 : form.edit) == null ? void 0 : _d.dialogProps }),
|
|
230
231
|
/* @__PURE__ */ jsxRuntime.jsx(DeleteDialog.DeleteDialog, { ...(_e = form == null ? void 0 : form.delete) == null ? void 0 : _e.dialogProps })
|
|
231
232
|
] }),
|
|
232
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
233
|
+
/* @__PURE__ */ jsxRuntime.jsx(MantineReactTable.MantineReactTable, { table: mrtTable, ...rest }),
|
|
233
234
|
children == null ? void 0 : children({ table: mrtTable }),
|
|
234
235
|
!hideError ? /* @__PURE__ */ jsxRuntime.jsx(ErrorDialog.ErrorDialog, {}) : null
|
|
235
236
|
] });
|
|
@@ -17,7 +17,8 @@ function useSize(withBorder) {
|
|
|
17
17
|
() => ({ ref: bottomToolbarRef, pos: "sticky", bottom: 0 }),
|
|
18
18
|
[bottomToolbarRef]
|
|
19
19
|
);
|
|
20
|
-
const mantineTableContainerProps = React.useMemo(
|
|
20
|
+
const mantineTableContainerProps = React.useMemo(() => ({ h: "100%" }), []);
|
|
21
|
+
const mantineTableContainerWrapperProps = React.useMemo(
|
|
21
22
|
() => ({
|
|
22
23
|
h: `calc(100% - ${topToolbarHeight + bottomToolbarHeight}px)`
|
|
23
24
|
}),
|
|
@@ -27,7 +28,8 @@ function useSize(withBorder) {
|
|
|
27
28
|
mantinePaperProps,
|
|
28
29
|
mantineTopToolbarProps,
|
|
29
30
|
mantineBottomToolbarProps,
|
|
30
|
-
mantineTableContainerProps
|
|
31
|
+
mantineTableContainerProps,
|
|
32
|
+
mantineTableContainerWrapperProps
|
|
31
33
|
};
|
|
32
34
|
}
|
|
33
35
|
exports.useSize = useSize;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const utils = require("fastapi-rtk/utils");
|
|
5
|
+
const core = require("@mantine/core");
|
|
6
|
+
const clsx = require("../../../../../.external/cjs/clsx@2.1.1/clsx/dist/clsx.cjs");
|
|
7
|
+
const index_esm = require("../../../../../.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/dist/index.esm.cjs");
|
|
8
|
+
const React = require("react");
|
|
9
|
+
const MRT_TableContainer_module = require("./MRT_TableContainer.module.css.cjs");
|
|
10
|
+
const useIsomorphicLayoutEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
11
|
+
const MRT_TableContainer = ({ table, ...rest }) => {
|
|
12
|
+
const {
|
|
13
|
+
getState,
|
|
14
|
+
options: {
|
|
15
|
+
createDisplayMode,
|
|
16
|
+
editDisplayMode,
|
|
17
|
+
enableStickyHeader,
|
|
18
|
+
mantineLoadingOverlayProps,
|
|
19
|
+
mantineTableContainerProps,
|
|
20
|
+
mantineTableContainerWrapperProps
|
|
21
|
+
},
|
|
22
|
+
refs: { bottomToolbarRef, tableContainerRef, topToolbarRef }
|
|
23
|
+
} = table;
|
|
24
|
+
const { creatingRow, editingRow, isFullScreen, isLoading, showLoadingOverlay } = getState();
|
|
25
|
+
const [totalToolbarHeight, setTotalToolbarHeight] = React.useState(0);
|
|
26
|
+
const tableContainerProps = {
|
|
27
|
+
...utils.parseFromValuesOrFunc(mantineTableContainerProps, { table }),
|
|
28
|
+
...rest
|
|
29
|
+
};
|
|
30
|
+
const loadingOverlayProps = utils.parseFromValuesOrFunc(mantineLoadingOverlayProps, { table });
|
|
31
|
+
useIsomorphicLayoutEffect(() => {
|
|
32
|
+
var _a, _b;
|
|
33
|
+
const topToolbarHeight = typeof document !== "undefined" ? ((_a = topToolbarRef.current) == null ? void 0 : _a.offsetHeight) ?? 0 : 0;
|
|
34
|
+
const bottomToolbarHeight = typeof document !== "undefined" ? ((_b = bottomToolbarRef == null ? void 0 : bottomToolbarRef.current) == null ? void 0 : _b.offsetHeight) ?? 0 : 0;
|
|
35
|
+
setTotalToolbarHeight(topToolbarHeight + bottomToolbarHeight);
|
|
36
|
+
});
|
|
37
|
+
const createModalOpen = createDisplayMode === "modal" && creatingRow;
|
|
38
|
+
const editModalOpen = editDisplayMode === "modal" && editingRow;
|
|
39
|
+
const tableContainerWrapperProps = utils.parseFromValuesOrFunc(mantineTableContainerWrapperProps, { table });
|
|
40
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41
|
+
core.Box,
|
|
42
|
+
{
|
|
43
|
+
pos: "relative",
|
|
44
|
+
...tableContainerWrapperProps,
|
|
45
|
+
className: clsx.clsx("mrt-table-container-wrapper", tableContainerWrapperProps == null ? void 0 : tableContainerWrapperProps.className),
|
|
46
|
+
children: [
|
|
47
|
+
/* @__PURE__ */ jsxRuntime.jsx(core.LoadingOverlay, { visible: isLoading || showLoadingOverlay, zIndex: 2, ...loadingOverlayProps }),
|
|
48
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
49
|
+
core.Box,
|
|
50
|
+
{
|
|
51
|
+
...tableContainerProps,
|
|
52
|
+
__vars: {
|
|
53
|
+
"--mrt-top-toolbar-height": `${totalToolbarHeight}`,
|
|
54
|
+
...tableContainerProps == null ? void 0 : tableContainerProps.__vars
|
|
55
|
+
},
|
|
56
|
+
className: clsx.clsx(
|
|
57
|
+
"mrt-table-container",
|
|
58
|
+
MRT_TableContainer_module.default.root,
|
|
59
|
+
enableStickyHeader && MRT_TableContainer_module.default["root-sticky"],
|
|
60
|
+
isFullScreen && MRT_TableContainer_module.default["root-fullscreen"],
|
|
61
|
+
tableContainerProps == null ? void 0 : tableContainerProps.className
|
|
62
|
+
),
|
|
63
|
+
ref: (node) => {
|
|
64
|
+
if (node) {
|
|
65
|
+
tableContainerRef.current = node;
|
|
66
|
+
if (tableContainerProps == null ? void 0 : tableContainerProps.ref) {
|
|
67
|
+
tableContainerProps.ref.current = node;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
children: [
|
|
72
|
+
/* @__PURE__ */ jsxRuntime.jsx(index_esm.MRT_Table, { table }),
|
|
73
|
+
(createModalOpen || editModalOpen) && /* @__PURE__ */ jsxRuntime.jsx(index_esm.MRT_EditRowModal, { open: true, table })
|
|
74
|
+
]
|
|
75
|
+
}
|
|
76
|
+
)
|
|
77
|
+
]
|
|
78
|
+
}
|
|
79
|
+
);
|
|
80
|
+
};
|
|
81
|
+
exports.MRT_TableContainer = MRT_TableContainer;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const root = "_root_1krki_1";
|
|
4
|
+
const classes = {
|
|
5
|
+
root,
|
|
6
|
+
"root-sticky": "_root-sticky_1krki_8",
|
|
7
|
+
"root-fullscreen": "_root-fullscreen_1krki_16"
|
|
8
|
+
};
|
|
9
|
+
exports.default = classes;
|
|
10
|
+
exports.root = root;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const utils = require("fastapi-rtk/utils");
|
|
5
|
+
const core = require("@mantine/core");
|
|
6
|
+
const clsx = require("../../../../../.external/cjs/clsx@2.1.1/clsx/dist/clsx.cjs");
|
|
7
|
+
const index_esm = require("../../../../../.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/dist/index.esm.cjs");
|
|
8
|
+
const MRT_TableContainer = require("./MRT_TableContainer.cjs");
|
|
9
|
+
const MRT_TablePaper_module = require("./MRT_TablePaper.module.css.cjs");
|
|
10
|
+
const MRT_TablePaper = ({ table, ...rest }) => {
|
|
11
|
+
const {
|
|
12
|
+
getState,
|
|
13
|
+
options: { enableBottomToolbar, enableTopToolbar, mantinePaperProps, renderBottomToolbar, renderTopToolbar },
|
|
14
|
+
refs: { tablePaperRef }
|
|
15
|
+
} = table;
|
|
16
|
+
const { isFullScreen } = getState();
|
|
17
|
+
const tablePaperProps = {
|
|
18
|
+
...utils.parseFromValuesOrFunc(mantinePaperProps, { table }),
|
|
19
|
+
...rest
|
|
20
|
+
};
|
|
21
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
22
|
+
core.Paper,
|
|
23
|
+
{
|
|
24
|
+
shadow: "xs",
|
|
25
|
+
withBorder: true,
|
|
26
|
+
...tablePaperProps,
|
|
27
|
+
className: clsx.clsx(
|
|
28
|
+
"mrt-table-paper",
|
|
29
|
+
MRT_TablePaper_module.default.root,
|
|
30
|
+
isFullScreen && "mrt-table-paper-fullscreen",
|
|
31
|
+
tablePaperProps == null ? void 0 : tablePaperProps.className
|
|
32
|
+
),
|
|
33
|
+
ref: (ref) => {
|
|
34
|
+
tablePaperRef.current = ref;
|
|
35
|
+
if (tablePaperProps == null ? void 0 : tablePaperProps.ref) {
|
|
36
|
+
tablePaperProps.ref.current = ref;
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
style: (theme) => ({
|
|
40
|
+
zIndex: isFullScreen ? 200 : void 0,
|
|
41
|
+
...utils.parseFromValuesOrFunc(tablePaperProps == null ? void 0 : tablePaperProps.style, theme),
|
|
42
|
+
...isFullScreen ? {
|
|
43
|
+
border: 0,
|
|
44
|
+
borderRadius: 0,
|
|
45
|
+
bottom: 0,
|
|
46
|
+
height: "100vh",
|
|
47
|
+
left: 0,
|
|
48
|
+
margin: 0,
|
|
49
|
+
maxHeight: "100vh",
|
|
50
|
+
maxWidth: "100vw",
|
|
51
|
+
padding: 0,
|
|
52
|
+
position: "fixed",
|
|
53
|
+
right: 0,
|
|
54
|
+
top: 0,
|
|
55
|
+
width: "100vw"
|
|
56
|
+
} : null
|
|
57
|
+
}),
|
|
58
|
+
children: [
|
|
59
|
+
enableTopToolbar && (utils.parseFromValuesOrFunc(renderTopToolbar, { table }) ?? /* @__PURE__ */ jsxRuntime.jsx(index_esm.MRT_TopToolbar, { table })),
|
|
60
|
+
/* @__PURE__ */ jsxRuntime.jsx(MRT_TableContainer.MRT_TableContainer, { table }),
|
|
61
|
+
enableBottomToolbar && (utils.parseFromValuesOrFunc(renderBottomToolbar, { table }) ?? /* @__PURE__ */ jsxRuntime.jsx(index_esm.MRT_BottomToolbar, { table }))
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
};
|
|
66
|
+
exports.MRT_TablePaper = MRT_TablePaper;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const jsxRuntime = require("react/jsx-runtime");
|
|
4
|
+
const index_esm = require("../../../../../.external/cjs/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/dist/index.esm.cjs");
|
|
5
|
+
const MRT_TablePaper = require("./MRT_TablePaper.cjs");
|
|
6
|
+
const isTableInstanceProp = (props) => props.table !== void 0;
|
|
7
|
+
const MantineReactTable = (props) => {
|
|
8
|
+
let table;
|
|
9
|
+
if (isTableInstanceProp(props)) {
|
|
10
|
+
table = props.table;
|
|
11
|
+
} else {
|
|
12
|
+
table = index_esm.useMantineReactTable(props);
|
|
13
|
+
}
|
|
14
|
+
return /* @__PURE__ */ jsxRuntime.jsx(MRT_TablePaper.MRT_TablePaper, { table });
|
|
15
|
+
};
|
|
16
|
+
exports.MantineReactTable = MantineReactTable;
|
|
@@ -5,7 +5,7 @@ import { deepMerge } from "fastapi-rtk/utils";
|
|
|
5
5
|
import { useProps, Stack } from "@mantine/core";
|
|
6
6
|
import { useForm } from "@mantine/form";
|
|
7
7
|
import { useDebouncedState } from "@mantine/hooks";
|
|
8
|
-
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
8
|
+
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.3_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
|
|
9
9
|
import { useMemo, useCallback, useEffect } from "react";
|
|
10
10
|
import { useApi } from "../hooks/api/useApi.mjs";
|
|
11
11
|
import { useForms } from "../hooks/api/useForms.mjs";
|
|
@@ -6,7 +6,7 @@ import { useProps, Stack } from "@mantine/core";
|
|
|
6
6
|
import { useForm } from "@mantine/form";
|
|
7
7
|
import { useDebouncedState } from "@mantine/hooks";
|
|
8
8
|
import { l as lodashExports } from "../_virtual/lodash.mjs";
|
|
9
|
-
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
9
|
+
import { yupResolver } from "../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.3_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
|
|
10
10
|
import { useMemo, useRef, useEffect, useCallback } from "react";
|
|
11
11
|
import { convertToFormInputs as convertToFormInputs$1 } from "../ActionIcons/utils/convertToFormInputs.mjs";
|
|
12
12
|
import { convertToFormInputs } from "../fab-react-toolkit-patch/utils/convertToFormInputs.mjs";
|
|
@@ -2,7 +2,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useProps, Box, Flex, ActionIcon, Divider, Text, ScrollArea, Button, Group } from "@mantine/core";
|
|
3
3
|
import { useForm } from "@mantine/form";
|
|
4
4
|
import { randomId } from "@mantine/hooks";
|
|
5
|
-
import { yupResolver } from "../../../../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.
|
|
5
|
+
import { yupResolver } from "../../../../../../.external/esm/mantine-form-yup-resolver@2.0.0_@mantine_form@8.3.3_yup@1.7.1/mantine-form-yup-resolver/dist/esm/index.mjs";
|
|
6
6
|
import { useEffect } from "react";
|
|
7
7
|
import { object as create$3, array as create$2, mixed as create$8, string as create$6 } from "../../../../../../.external/esm/yup@1.7.1/yup/index.esm.mjs";
|
|
8
8
|
import { useApi } from "../../../../hooks/api/useApi.mjs";
|
|
@@ -3,7 +3,7 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
3
3
|
/* empty css */
|
|
4
4
|
import { deepMerge, mergeProps, getItemId } from "fastapi-rtk/utils";
|
|
5
5
|
import { useProps, Box } from "@mantine/core";
|
|
6
|
-
import { useMantineReactTable
|
|
6
|
+
import { useMantineReactTable } from "../../../../.external/esm/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/dist/index.esm.mjs";
|
|
7
7
|
import { forwardRef, useMemo, useEffect } from "react";
|
|
8
8
|
import { AddDialog } from "../../Dialogs/AddDialog.mjs";
|
|
9
9
|
import { DeleteDialog } from "../../Dialogs/DeleteDialog.mjs";
|
|
@@ -26,6 +26,7 @@ import { useSize } from "./hooks/useSize.mjs";
|
|
|
26
26
|
import { useSorting } from "./hooks/useSorting.mjs";
|
|
27
27
|
import { useToolbar } from "./hooks/useToolbar/useToolbar.mjs";
|
|
28
28
|
import { useToolbarAlertBanner } from "./hooks/useToolbarAlertBanner/useToolbarAlertBanner.mjs";
|
|
29
|
+
import { MantineReactTable } from "./patch/MantineReactTable.mjs";
|
|
29
30
|
const baseProps = { enableStickyHeader: true, enableColumnPinning: true };
|
|
30
31
|
const NextGenDataGrid = forwardRef((props, ref) => {
|
|
31
32
|
var _a, _b, _c, _d, _e;
|
|
@@ -15,7 +15,8 @@ function useSize(withBorder) {
|
|
|
15
15
|
() => ({ ref: bottomToolbarRef, pos: "sticky", bottom: 0 }),
|
|
16
16
|
[bottomToolbarRef]
|
|
17
17
|
);
|
|
18
|
-
const mantineTableContainerProps = useMemo(
|
|
18
|
+
const mantineTableContainerProps = useMemo(() => ({ h: "100%" }), []);
|
|
19
|
+
const mantineTableContainerWrapperProps = useMemo(
|
|
19
20
|
() => ({
|
|
20
21
|
h: `calc(100% - ${topToolbarHeight + bottomToolbarHeight}px)`
|
|
21
22
|
}),
|
|
@@ -25,7 +26,8 @@ function useSize(withBorder) {
|
|
|
25
26
|
mantinePaperProps,
|
|
26
27
|
mantineTopToolbarProps,
|
|
27
28
|
mantineBottomToolbarProps,
|
|
28
|
-
mantineTableContainerProps
|
|
29
|
+
mantineTableContainerProps,
|
|
30
|
+
mantineTableContainerWrapperProps
|
|
29
31
|
};
|
|
30
32
|
}
|
|
31
33
|
export {
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { parseFromValuesOrFunc } from "fastapi-rtk/utils";
|
|
3
|
+
import { Box, LoadingOverlay } from "@mantine/core";
|
|
4
|
+
import { clsx } from "../../../../../.external/esm/clsx@2.1.1/clsx/dist/clsx.mjs";
|
|
5
|
+
import { MRT_Table, MRT_EditRowModal } from "../../../../../.external/esm/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/dist/index.esm.mjs";
|
|
6
|
+
import { useState, useLayoutEffect, useEffect } from "react";
|
|
7
|
+
import classes from "./MRT_TableContainer.module.css.mjs";
|
|
8
|
+
const useIsomorphicLayoutEffect = typeof window !== "undefined" ? useLayoutEffect : useEffect;
|
|
9
|
+
const MRT_TableContainer = ({ table, ...rest }) => {
|
|
10
|
+
const {
|
|
11
|
+
getState,
|
|
12
|
+
options: {
|
|
13
|
+
createDisplayMode,
|
|
14
|
+
editDisplayMode,
|
|
15
|
+
enableStickyHeader,
|
|
16
|
+
mantineLoadingOverlayProps,
|
|
17
|
+
mantineTableContainerProps,
|
|
18
|
+
mantineTableContainerWrapperProps
|
|
19
|
+
},
|
|
20
|
+
refs: { bottomToolbarRef, tableContainerRef, topToolbarRef }
|
|
21
|
+
} = table;
|
|
22
|
+
const { creatingRow, editingRow, isFullScreen, isLoading, showLoadingOverlay } = getState();
|
|
23
|
+
const [totalToolbarHeight, setTotalToolbarHeight] = useState(0);
|
|
24
|
+
const tableContainerProps = {
|
|
25
|
+
...parseFromValuesOrFunc(mantineTableContainerProps, { table }),
|
|
26
|
+
...rest
|
|
27
|
+
};
|
|
28
|
+
const loadingOverlayProps = parseFromValuesOrFunc(mantineLoadingOverlayProps, { table });
|
|
29
|
+
useIsomorphicLayoutEffect(() => {
|
|
30
|
+
var _a, _b;
|
|
31
|
+
const topToolbarHeight = typeof document !== "undefined" ? ((_a = topToolbarRef.current) == null ? void 0 : _a.offsetHeight) ?? 0 : 0;
|
|
32
|
+
const bottomToolbarHeight = typeof document !== "undefined" ? ((_b = bottomToolbarRef == null ? void 0 : bottomToolbarRef.current) == null ? void 0 : _b.offsetHeight) ?? 0 : 0;
|
|
33
|
+
setTotalToolbarHeight(topToolbarHeight + bottomToolbarHeight);
|
|
34
|
+
});
|
|
35
|
+
const createModalOpen = createDisplayMode === "modal" && creatingRow;
|
|
36
|
+
const editModalOpen = editDisplayMode === "modal" && editingRow;
|
|
37
|
+
const tableContainerWrapperProps = parseFromValuesOrFunc(mantineTableContainerWrapperProps, { table });
|
|
38
|
+
return /* @__PURE__ */ jsxs(
|
|
39
|
+
Box,
|
|
40
|
+
{
|
|
41
|
+
pos: "relative",
|
|
42
|
+
...tableContainerWrapperProps,
|
|
43
|
+
className: clsx("mrt-table-container-wrapper", tableContainerWrapperProps == null ? void 0 : tableContainerWrapperProps.className),
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ jsx(LoadingOverlay, { visible: isLoading || showLoadingOverlay, zIndex: 2, ...loadingOverlayProps }),
|
|
46
|
+
/* @__PURE__ */ jsxs(
|
|
47
|
+
Box,
|
|
48
|
+
{
|
|
49
|
+
...tableContainerProps,
|
|
50
|
+
__vars: {
|
|
51
|
+
"--mrt-top-toolbar-height": `${totalToolbarHeight}`,
|
|
52
|
+
...tableContainerProps == null ? void 0 : tableContainerProps.__vars
|
|
53
|
+
},
|
|
54
|
+
className: clsx(
|
|
55
|
+
"mrt-table-container",
|
|
56
|
+
classes.root,
|
|
57
|
+
enableStickyHeader && classes["root-sticky"],
|
|
58
|
+
isFullScreen && classes["root-fullscreen"],
|
|
59
|
+
tableContainerProps == null ? void 0 : tableContainerProps.className
|
|
60
|
+
),
|
|
61
|
+
ref: (node) => {
|
|
62
|
+
if (node) {
|
|
63
|
+
tableContainerRef.current = node;
|
|
64
|
+
if (tableContainerProps == null ? void 0 : tableContainerProps.ref) {
|
|
65
|
+
tableContainerProps.ref.current = node;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
children: [
|
|
70
|
+
/* @__PURE__ */ jsx(MRT_Table, { table }),
|
|
71
|
+
(createModalOpen || editModalOpen) && /* @__PURE__ */ jsx(MRT_EditRowModal, { open: true, table })
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
)
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
);
|
|
78
|
+
};
|
|
79
|
+
export {
|
|
80
|
+
MRT_TableContainer
|
|
81
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { parseFromValuesOrFunc } from "fastapi-rtk/utils";
|
|
3
|
+
import { Paper } from "@mantine/core";
|
|
4
|
+
import { clsx } from "../../../../../.external/esm/clsx@2.1.1/clsx/dist/clsx.mjs";
|
|
5
|
+
import { MRT_TopToolbar, MRT_BottomToolbar } from "../../../../../.external/esm/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/dist/index.esm.mjs";
|
|
6
|
+
import { MRT_TableContainer } from "./MRT_TableContainer.mjs";
|
|
7
|
+
import classes from "./MRT_TablePaper.module.css.mjs";
|
|
8
|
+
const MRT_TablePaper = ({ table, ...rest }) => {
|
|
9
|
+
const {
|
|
10
|
+
getState,
|
|
11
|
+
options: { enableBottomToolbar, enableTopToolbar, mantinePaperProps, renderBottomToolbar, renderTopToolbar },
|
|
12
|
+
refs: { tablePaperRef }
|
|
13
|
+
} = table;
|
|
14
|
+
const { isFullScreen } = getState();
|
|
15
|
+
const tablePaperProps = {
|
|
16
|
+
...parseFromValuesOrFunc(mantinePaperProps, { table }),
|
|
17
|
+
...rest
|
|
18
|
+
};
|
|
19
|
+
return /* @__PURE__ */ jsxs(
|
|
20
|
+
Paper,
|
|
21
|
+
{
|
|
22
|
+
shadow: "xs",
|
|
23
|
+
withBorder: true,
|
|
24
|
+
...tablePaperProps,
|
|
25
|
+
className: clsx(
|
|
26
|
+
"mrt-table-paper",
|
|
27
|
+
classes.root,
|
|
28
|
+
isFullScreen && "mrt-table-paper-fullscreen",
|
|
29
|
+
tablePaperProps == null ? void 0 : tablePaperProps.className
|
|
30
|
+
),
|
|
31
|
+
ref: (ref) => {
|
|
32
|
+
tablePaperRef.current = ref;
|
|
33
|
+
if (tablePaperProps == null ? void 0 : tablePaperProps.ref) {
|
|
34
|
+
tablePaperProps.ref.current = ref;
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
style: (theme) => ({
|
|
38
|
+
zIndex: isFullScreen ? 200 : void 0,
|
|
39
|
+
...parseFromValuesOrFunc(tablePaperProps == null ? void 0 : tablePaperProps.style, theme),
|
|
40
|
+
...isFullScreen ? {
|
|
41
|
+
border: 0,
|
|
42
|
+
borderRadius: 0,
|
|
43
|
+
bottom: 0,
|
|
44
|
+
height: "100vh",
|
|
45
|
+
left: 0,
|
|
46
|
+
margin: 0,
|
|
47
|
+
maxHeight: "100vh",
|
|
48
|
+
maxWidth: "100vw",
|
|
49
|
+
padding: 0,
|
|
50
|
+
position: "fixed",
|
|
51
|
+
right: 0,
|
|
52
|
+
top: 0,
|
|
53
|
+
width: "100vw"
|
|
54
|
+
} : null
|
|
55
|
+
}),
|
|
56
|
+
children: [
|
|
57
|
+
enableTopToolbar && (parseFromValuesOrFunc(renderTopToolbar, { table }) ?? /* @__PURE__ */ jsx(MRT_TopToolbar, { table })),
|
|
58
|
+
/* @__PURE__ */ jsx(MRT_TableContainer, { table }),
|
|
59
|
+
enableBottomToolbar && (parseFromValuesOrFunc(renderBottomToolbar, { table }) ?? /* @__PURE__ */ jsx(MRT_BottomToolbar, { table }))
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
);
|
|
63
|
+
};
|
|
64
|
+
export {
|
|
65
|
+
MRT_TablePaper
|
|
66
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useMantineReactTable } from "../../../../../.external/esm/mantine-react-table@2.0.0-beta.9_@mantine_core@7.17.8_@mantine_dates@7.17.8_@mantine_hooks@7._v6brefjjgmgbqbolvm3v6bkbsa/mantine-react-table/dist/index.esm.mjs";
|
|
3
|
+
import { MRT_TablePaper } from "./MRT_TablePaper.mjs";
|
|
4
|
+
const isTableInstanceProp = (props) => props.table !== void 0;
|
|
5
|
+
const MantineReactTable = (props) => {
|
|
6
|
+
let table;
|
|
7
|
+
if (isTableInstanceProp(props)) {
|
|
8
|
+
table = props.table;
|
|
9
|
+
} else {
|
|
10
|
+
table = useMantineReactTable(props);
|
|
11
|
+
}
|
|
12
|
+
return /* @__PURE__ */ jsx(MRT_TablePaper, { table });
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
MantineReactTable
|
|
16
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export function MantineReactTable(props: any): import("react").JSX.Element;
|
package/dist/core/styles.css
CHANGED
|
@@ -1509,3 +1509,94 @@
|
|
|
1509
1509
|
._toolbar-alert_bw71q_25._head-overlay_bw71q_28.md {
|
|
1510
1510
|
padding: 8px;
|
|
1511
1511
|
}
|
|
1512
|
+
._root_1krki_1 {
|
|
1513
|
+
background-color: var(--mrt-base-background-color);
|
|
1514
|
+
max-width: 100%;
|
|
1515
|
+
overflow: auto;
|
|
1516
|
+
position: relative;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
._root-sticky_1krki_8 {
|
|
1520
|
+
max-height: clamp(
|
|
1521
|
+
350px,
|
|
1522
|
+
calc(100vh - calc(var(--mrt-top-toolbar-height) * 1px)),
|
|
1523
|
+
9999px
|
|
1524
|
+
);
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
._root-fullscreen_1krki_16 {
|
|
1528
|
+
max-height: calc(
|
|
1529
|
+
100vh - calc(var(--mrt-top-toolbar-height) * 1px)
|
|
1530
|
+
) !important;
|
|
1531
|
+
}
|
|
1532
|
+
:root {
|
|
1533
|
+
/* default background color for everything */
|
|
1534
|
+
--mrt-base-background-color: var(--mantine-color-body);
|
|
1535
|
+
|
|
1536
|
+
/* cell borders */
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
:root[data-mantine-color-scheme='light'] {
|
|
1540
|
+
--mrt-striped-row-background-color: color-mix(in srgb, var(--mrt-base-background-color), black 5%);
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
:root[data-mantine-color-scheme='dark'] {
|
|
1544
|
+
--mrt-striped-row-background-color: color-mix(in srgb, var(--mrt-base-background-color), white 4%);
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
/* row hover */
|
|
1548
|
+
|
|
1549
|
+
:root[data-mantine-color-scheme='light'] {
|
|
1550
|
+
--mrt-row-hover-background-color: color-mix(in srgb, var(--mrt-base-background-color), black 8%);
|
|
1551
|
+
--mrt-striped-row-hover-background-color: color-mix(in srgb, var(--mrt-striped-row-background-color), black 12%);
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
:root[data-mantine-color-scheme='dark'] {
|
|
1555
|
+
--mrt-row-hover-background-color: color-mix(in srgb, var(--mrt-base-background-color), white 8%);
|
|
1556
|
+
--mrt-striped-row-hover-background-color: color-mix(in srgb, var(--mrt-striped-row-background-color), white 8%);
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
:root {
|
|
1560
|
+
--mrt-selected-row-background-color: color-mix(in srgb, var(--mantine-primary-color-light), transparent 19.999999999999996%);
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
/* row selection */
|
|
1564
|
+
|
|
1565
|
+
:root[data-mantine-color-scheme='light'] {
|
|
1566
|
+
--mrt-selected-row-hover-background-color: color-mix(in srgb, var(--mantine-primary-color-light-hover), black 5%);
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
:root[data-mantine-color-scheme='dark'] {
|
|
1570
|
+
--mrt-selected-row-hover-background-color: color-mix(in srgb, var(--mantine-primary-color-light-hover), white 5%);
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1573
|
+
:root {
|
|
1574
|
+
--mrt-pinned-row-background-color: var(--mrt-selected-row-background-color);
|
|
1575
|
+
--mrt-pinned-row-hover-background-color: var(
|
|
1576
|
+
--mrt-selected-row-hover-background-color
|
|
1577
|
+
);
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
/* column pinning */
|
|
1581
|
+
|
|
1582
|
+
:root[data-mantine-color-scheme='light'] {
|
|
1583
|
+
--mrt-pinned-column-background-color: color-mix(in srgb, var(--mrt-base-background-color), black 1%);
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
/* row pinning */
|
|
1587
|
+
|
|
1588
|
+
:root[data-mantine-color-scheme='dark'] {
|
|
1589
|
+
--mrt-pinned-column-background-color: color-mix(in srgb, var(--mrt-base-background-color), black 5%);
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
:root {
|
|
1593
|
+
--mrt-dragging-hovered-border-color: var(--mantine-primary-color-filled);
|
|
1594
|
+
--mrt-dragging-drag-border-color: var(--mantine-color-gray-7);
|
|
1595
|
+
--mrt-resize-column-border-color: var(--mantine-primary-color-filled);
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
._root_r40yr_84 {
|
|
1599
|
+
background-color: var(--mrt-base-background-color);
|
|
1600
|
+
overflow: hidden;
|
|
1601
|
+
transition: all 150ms ease-in-out;
|
|
1602
|
+
}
|
package/package.json
CHANGED
|
File without changes
|