@canmingir/link 1.2.12 → 1.2.14
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/package.json +1 -1
- package/src/lib/AddItemWizard/AddItemWizard.jsx +3 -3
- package/src/lib/CustomBreadcrumbs/CustomBreadcrumbs.jsx +1 -1
- package/src/lib/CustomPopover/usePopover.js +1 -1
- package/src/lib/FormProvider/FormProvider.jsx +1 -1
- package/src/lib/ItemSummary/ItemSummary.jsx +1 -0
- package/src/lib/ItemSummary/ItemsSummary.jsx +1 -0
- package/src/lib/RHFTextfield/RHFTextfield.jsx +3 -2
- package/src/lib/SearchNotFound/SearchNotFound.jsx +1 -1
- package/src/lib/SvgColor/SvgColor.jsx +2 -1
- package/src/lib/TableHeadCustom/TableHeadCustom.jsx +1 -1
- package/src/lib/TableSelectedAction/TableSelectedAction.jsx +1 -1
- package/src/lib/useChart/useChart.js +1 -0
- package/src/lib/useTable/useTable.js +1 -1
- package/vite/vite.js +10 -1
package/package.json
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { Grid, Stack, Switch, Typography } from "@mui/material";
|
|
2
|
+
import { publish, useEvent } from "@nucleoidai/react-event";
|
|
3
|
+
|
|
1
4
|
import Dialog from "@mui/material/Dialog";
|
|
2
5
|
import DialogContent from "@mui/material/DialogContent";
|
|
3
6
|
import DialogTitle from "@mui/material/DialogTitle";
|
|
@@ -7,9 +10,6 @@ import SelectAvatar from "../IconSelector/IconSelector";
|
|
|
7
10
|
import SparkleInput from "../SparkleInput/SparkleInput";
|
|
8
11
|
import StepComponent from "../StepComponent/StepComponent";
|
|
9
12
|
|
|
10
|
-
import { Grid, Stack, Switch, Typography } from "@mui/material";
|
|
11
|
-
import { publish, useEvent } from "@nucleoidai/react-event";
|
|
12
|
-
|
|
13
13
|
function AddItemWizard({ onSubmit, items, steps, stepExp }) {
|
|
14
14
|
const [activeStep, setActiveStep] = React.useState(0);
|
|
15
15
|
const [newItems, setNewItems] = React.useState(items);
|
|
@@ -3,9 +3,9 @@ import Breadcrumbs from "@mui/material/Breadcrumbs";
|
|
|
3
3
|
import Link from "@mui/material/Link";
|
|
4
4
|
import LinkItem from "./link-item";
|
|
5
5
|
import PropTypes from "prop-types";
|
|
6
|
+
import React from "react";
|
|
6
7
|
import Stack from "@mui/material/Stack";
|
|
7
8
|
import Typography from "@mui/material/Typography";
|
|
8
|
-
|
|
9
9
|
export default function CustomBreadcrumbs({
|
|
10
10
|
links,
|
|
11
11
|
action,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { Controller, useFormContext } from "react-hook-form";
|
|
2
|
-
|
|
3
1
|
import PropTypes from "prop-types";
|
|
2
|
+
import React from "react";
|
|
4
3
|
import TextField from "@mui/material/TextField";
|
|
5
4
|
|
|
5
|
+
import { Controller, useFormContext } from "react-hook-form";
|
|
6
|
+
|
|
6
7
|
export default function RHFTextField({ name, helperText, type, ...other }) {
|
|
7
8
|
const { control } = useFormContext();
|
|
8
9
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import Box from "@mui/material/Box";
|
|
2
2
|
import Checkbox from "@mui/material/Checkbox";
|
|
3
3
|
import PropTypes from "prop-types";
|
|
4
|
+
import React from "react";
|
|
4
5
|
import TableCell from "@mui/material/TableCell";
|
|
5
6
|
import TableHead from "@mui/material/TableHead";
|
|
6
7
|
import TableRow from "@mui/material/TableRow";
|
|
7
8
|
import TableSortLabel from "@mui/material/TableSortLabel";
|
|
8
|
-
|
|
9
9
|
const visuallyHidden = {
|
|
10
10
|
border: 0,
|
|
11
11
|
margin: -1,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Checkbox from "@mui/material/Checkbox";
|
|
2
2
|
import PropTypes from "prop-types";
|
|
3
|
+
import React from "react";
|
|
3
4
|
import Stack from "@mui/material/Stack";
|
|
4
5
|
import Typography from "@mui/material/Typography";
|
|
5
|
-
|
|
6
6
|
export default function TableSelectedAction({
|
|
7
7
|
dense,
|
|
8
8
|
action,
|
package/vite/vite.js
CHANGED
|
@@ -57,9 +57,18 @@ async function vite() {
|
|
|
57
57
|
rollupOptions: {
|
|
58
58
|
output: {
|
|
59
59
|
entryFileNames: `assets/[name].[hash].js`,
|
|
60
|
-
chunkFileNames:
|
|
60
|
+
chunkFileNames: (chunkInfo) => {
|
|
61
|
+
if (chunkInfo.name === "config") {
|
|
62
|
+
return "config.js";
|
|
63
|
+
}
|
|
64
|
+
return `assets/[name].[hash].js`;
|
|
65
|
+
},
|
|
61
66
|
assetFileNames: `assets/[name].[hash].[ext]`,
|
|
62
67
|
manualChunks(id) {
|
|
68
|
+
if (id.includes("config.js") && !id.includes("node_modules")) {
|
|
69
|
+
return "config";
|
|
70
|
+
}
|
|
71
|
+
|
|
63
72
|
if (id.includes("node_modules")) {
|
|
64
73
|
return id
|
|
65
74
|
.toString()
|