diff --git a/ env.development b/ env.development new file mode 100644 index 0000000..ebd39d4 --- /dev/null +++ b/ env.development @@ -0,0 +1,2 @@ +# .env.development +VITE_PROXY_TARGET=http://172.16.16.78:7860 \ No newline at end of file diff --git a/1.html b/1.html deleted file mode 100644 index e63e8a1..0000000 --- a/1.html +++ /dev/null @@ -1 +0,0 @@ -
13123
\ No newline at end of file diff --git a/a.md b/a.md index 28fb42d..b557486 100644 --- a/a.md +++ b/a.md @@ -1 +1 @@ -base64编码的文件内容 +base64编码的111文件内容 diff --git a/app.tsx b/app.tsx new file mode 100644 index 0000000..6393caf --- /dev/null +++ b/app.tsx @@ -0,0 +1,13 @@ +import "@xyflow/react/dist/style.css"; +import { Suspense } from "react"; +import { RouterProvider } from "react-router-dom"; +import { LoadingPage } from "./pages/LoadingPage"; +import router from "./routes"; + +export default function App() { + return ( + }> + + + ); +} diff --git a/demo/app.css b/demo/app.css new file mode 100644 index 0000000..dd42d2c --- /dev/null +++ b/demo/app.css @@ -0,0 +1,226 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +/* Prevent react flow to overflow the page */ +body { + overflow: hidden; +} + +.App { + text-align: center; +} + +.label { + user-select: none; + -webkit-user-select: none; + /* Safari */ + -moz-user-select: none; + /* Firefox */ + -ms-user-select: none; +} + +.react-flow__node { + width: fit-content !important; + height: auto; + border-radius: auto; + min-width: inherit; +} + +.App-logo { + height: 40vmin; + pointer-events: none; +} + +@media (prefers-reduced-motion: no-preference) { + .App-logo { + animation: App-logo-spin infinite 20s linear; + } +} + +.App-header { + background-color: #282c34; + min-height: 100vh; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + font-size: calc(10px + 2vmin); + color: white; +} + +.App-link { + color: #61dafb; +} + +@keyframes App-logo-spin { + from { + transform: rotate(0deg); + } + + to { + transform: rotate(360deg); + } +} + +@font-face { + font-family: text-security-disc; + src: url("assets/text-security-disc.woff") format("woff"); +} + +.jv-indent { + border-radius: 10px; +} + +.jv-indent::-webkit-scrollbar { + width: 8px !important; + height: 8px !important; + border-radius: 10px; +} + +*::-webkit-scrollbar { + width: 8px !important; + height: 8px !important; + border-radius: 10px; +} + +::-webkit-scrollbar-track { + background-color: hsl(var(--muted)) !important; + border-radius: 10px; +} + +::-webkit-scrollbar-thumb { + background-color: hsl(var(--border)) !important; + border-radius: 999px !important; +} + +::-webkit-scrollbar-thumb:hover { + background-color: hsl(var(--placeholder-foreground)) !important; +} + +.jv-indent::-webkit-scrollbar-track { + background-color: hsl(var(--muted)) !important; + border-radius: 10px; +} + +.jv-indent::-webkit-scrollbar-thumb { + background-color: hsl(var(--border)) !important; + border-radius: 999px !important; +} + +.jv-indent::-webkit-scrollbar-thumb:hover { + background-color: hsl(var(--placeholder-foreground)) !important; +} + +.custom-hover { + transition: background-color 0.5s ease; +} + +.custom-hover:hover { + background-color: rgba(99, + 102, + 241, + 0.1); + /* Medium indigo color with 20% opacity */ +} + +/* This CSS is to not apply the border for the column having 'no-border' class */ +.no-border.ag-cell:focus { + border: none !important; + outline: none; +} + +.no-border.ag-cell { + border: none !important; + outline: none; +} + +.react-flow__edge.selected .react-flow__edge-path { + stroke: var(--selected) !important; + stroke-width: 2px !important; +} + +.react-flow__controls-button svg { + fill: none !important; +} + +.react-flow__edge .react-flow__edge-path { + transition: color; + stroke: var(--connection) !important; + transition-duration: 150ms; + stroke-width: 2px !important; +} + +.react-flow__connection path { + transition: color; + stroke: var(--connection) !important; + transition-duration: 150ms; + stroke-width: 2px !important; +} + +.react-flow__edge.running .react-flow__edge-path { + stroke: hsl(var(--foreground)) !important; + stroke-width: 2px !important; +} + +.react-flow__edge.not-running .react-flow__edge-path { + stroke: hsl(var(--foreground)) !important; + stroke-width: 1px !important; +} + +.react-flow__edge.ran .react-flow__edge-path { + stroke: hsl(var(--foreground)) !important; + stroke-width: 2px !important; +} + +.ag-react-container { + width: 100%; + height: 100%; +} + +.react-flow__resize-control.handle { + width: 0.75rem !important; + height: 0.75rem !important; + background-color: white !important; + border-color: var(--border) !important; + z-index: 50 !important; + border-radius: 20% !important; +} + +code { + font-family: var(--font-mono) s !important; +} + +.ag-cell { + --ag-internal-calculated-line-height: none !important; +} + +.ag-cell-wrapper>*:not(.ag-cell-value):not(.ag-group-value) { + --ag-internal-calculated-line-height: none !important; +} + +.arrow-hide::-webkit-inner-spin-button, +.arrow-hide::-webkit-outer-spin-button { + appearance: none; + margin: 0; +} + +.ag-large-text-input.ag-text-area.ag-input-field { + background-color: hsl(var(--background)) !important; +} + +.ag-large-text-input.ag-text-area.ag-input-field textarea { + resize: none !important; + height: 100% !important; +} + +.cell-disable-edit { + cursor: not-allowed; +} + +.cell-disable-edit.ag-cell-focus { + outline: none !important; + border: 0px !important; + box-shadow: none !important; + border-radius: 0px !important; +} \ No newline at end of file diff --git a/demo/floder/README.md b/demo/floder/README.md new file mode 100644 index 0000000..7f28f25 --- /dev/null +++ b/demo/floder/README.md @@ -0,0 +1,46 @@ +# Getting Started with Create React App + +This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). + +## Available Scripts + +In the project directory, you can run: + +### `npm start` + +Runs the app in the development mode.\ +Open [http://localhost:3000](http://localhost:3000) to view it in the browser. + +The page will reload if you make edits.\ +You will also see any lint errors in the console. + +### `npm test` + +Launches the test runner in the interactive watch mode.\ +See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. + +### `npm run build` + +Builds the app for production to the `build` folder.\ +It correctly bundles React in production mode and optimizes the build for the best performance. + +The build is minified and the filenames include the hashes.\ +Your app is ready to be deployed! + +See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. + +### `npm run eject` + +**Note: this is a one-way operation. Once you `eject`, you can’t go back!** + +If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. + +Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. + +You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. + +## Learn More + +You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). + +To learn React, check out the [React documentation](https://reactjs.org/). diff --git a/dev/a.js b/dev/a.js new file mode 100644 index 0000000..6a89463 --- /dev/null +++ b/dev/a.js @@ -0,0 +1 @@ +AudioParamMap \ No newline at end of file diff --git a/dev/demo/index.tsx b/dev/demo/index.tsx new file mode 100644 index 0000000..e349916 --- /dev/null +++ b/dev/demo/index.tsx @@ -0,0 +1,19 @@ +import ReactDOM from "react-dom/client"; +import reportWebVitals from "./reportWebVitals"; + +import "./style/classes.css"; +// @ts-ignore +import "./style/index.css"; +// @ts-ignore +import "./App.css"; +import "./style/applies.css"; + +// @ts-ignore +import App from "./App"; + +const root = ReactDOM.createRoot( + document.getElementById("root") as HTMLElement, +); + +root.render(); +reportWebVitals(); diff --git a/package.json b/package.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/package.json @@ -0,0 +1 @@ +{}