@omniviewdev/vite-plugin 0.8.2 → 0.9.0
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.cjs +3 -2
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +11 -10
- package/package.json +8 -6
- package/shims/_dnd-kit__core.mjs +65 -44
- package/shims/_dnd-kit__modifiers.mjs +17 -20
- package/shims/_dnd-kit__sortable.mjs +27 -25
- package/shims/_dnd-kit__utilities.mjs +53 -38
- package/shims/_monaco-editor__react.mjs +13 -17
- package/shims/_omniviewdev__ai-ui.mjs +125 -74
- package/shims/_omniviewdev__ai-ui__styles.css.mjs +3 -13
- package/shims/_omniviewdev__base-ui.mjs +385 -203
- package/shims/_omniviewdev__base-ui__styles.css.mjs +3 -13
- package/shims/_omniviewdev__editors.mjs +31 -27
- package/shims/_omniviewdev__editors__styles.css.mjs +3 -13
- package/shims/_omniviewdev__runtime.mjs +167 -97
- package/shims/_omniviewdev__runtime__api.mjs +43 -33
- package/shims/_omniviewdev__runtime__models.mjs +273 -151
- package/shims/_omniviewdev__runtime__runtime.mjs +25 -77
- package/shims/_tanstack__react-query.mjs +121 -67
- package/shims/_tanstack__react-table.mjs +233 -66
- package/shims/_tanstack__react-virtual.mjs +37 -29
- package/shims/date-fns.mjs +503 -263
- package/shims/monaco-editor.mjs +31 -13
- package/shims/monaco-types.mjs +5 -13
- package/shims/monaco-yaml.mjs +5 -14
- package/shims/react-dom.mjs +35 -21
- package/shims/react-icons.mjs +13 -18
- package/shims/react-icons__lu.mjs +3085 -1554
- package/shims/react-icons__si.mjs +6895 -3618
- package/shims/react-router.mjs +274 -0
- package/shims/react-router__dom.mjs +14 -0
- package/shims/react.mjs +97 -49
- package/shims/react__compiler-runtime.mjs +7 -14
- package/shims/react__jsx-dev-runtime.mjs +9 -15
- package/shims/react__jsx-runtime.mjs +11 -16
- package/shims/yaml.mjs +63 -42
- package/shims/react-router-dom.mjs +0 -70
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
// Auto-generated shim for 'react-router-dom'
|
|
2
|
-
// DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
|
|
3
|
-
|
|
4
|
-
const mod = window.__OMNIVIEW_SHARED__['react-router-dom'];
|
|
5
|
-
|
|
6
|
-
if (!mod) {
|
|
7
|
-
throw new Error(
|
|
8
|
-
'[omniview] Shared dependency "react-router-dom" is not available on window.__OMNIVIEW_SHARED__. ' +
|
|
9
|
-
'Ensure the Omniview host app is running and shared deps are exported before loading this plugin.'
|
|
10
|
-
);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export const BrowserRouter = mod.BrowserRouter;
|
|
14
|
-
export const HashRouter = mod.HashRouter;
|
|
15
|
-
export const Link = mod.Link;
|
|
16
|
-
export const MemoryRouter = mod.MemoryRouter;
|
|
17
|
-
export const NavLink = mod.NavLink;
|
|
18
|
-
export const Navigate = mod.Navigate;
|
|
19
|
-
export const Outlet = mod.Outlet;
|
|
20
|
-
export const Route = mod.Route;
|
|
21
|
-
export const Router = mod.Router;
|
|
22
|
-
export const Routes = mod.Routes;
|
|
23
|
-
export const ScrollRestoration = mod.ScrollRestoration;
|
|
24
|
-
export const UNSAFE_DataRouterContext = mod.UNSAFE_DataRouterContext;
|
|
25
|
-
export const UNSAFE_DataRouterStateContext = mod.UNSAFE_DataRouterStateContext;
|
|
26
|
-
export const UNSAFE_LocationContext = mod.UNSAFE_LocationContext;
|
|
27
|
-
export const UNSAFE_NavigationContext = mod.UNSAFE_NavigationContext;
|
|
28
|
-
export const UNSAFE_RouteContext = mod.UNSAFE_RouteContext;
|
|
29
|
-
export const createBrowserRouter = mod.createBrowserRouter;
|
|
30
|
-
export const createHashRouter = mod.createHashRouter;
|
|
31
|
-
export const createMemoryRouter = mod.createMemoryRouter;
|
|
32
|
-
export const createPath = mod.createPath;
|
|
33
|
-
export const createRoutesFromChildren = mod.createRoutesFromChildren;
|
|
34
|
-
export const createRoutesFromElements = mod.createRoutesFromElements;
|
|
35
|
-
export const createSearchParams = mod.createSearchParams;
|
|
36
|
-
export const generatePath = mod.generatePath;
|
|
37
|
-
export const isRouteErrorResponse = mod.isRouteErrorResponse;
|
|
38
|
-
export const matchPath = mod.matchPath;
|
|
39
|
-
export const matchRoutes = mod.matchRoutes;
|
|
40
|
-
export const parsePath = mod.parsePath;
|
|
41
|
-
export const redirect = mod.redirect;
|
|
42
|
-
export const renderMatches = mod.renderMatches;
|
|
43
|
-
export const resolvePath = mod.resolvePath;
|
|
44
|
-
export const unstable_useBlocker = mod.unstable_useBlocker;
|
|
45
|
-
export const useActionData = mod.useActionData;
|
|
46
|
-
export const useFetcher = mod.useFetcher;
|
|
47
|
-
export const useFetchers = mod.useFetchers;
|
|
48
|
-
export const useFormAction = mod.useFormAction;
|
|
49
|
-
export const useHref = mod.useHref;
|
|
50
|
-
export const useInRouterContext = mod.useInRouterContext;
|
|
51
|
-
export const useLinkClickHandler = mod.useLinkClickHandler;
|
|
52
|
-
export const useLoaderData = mod.useLoaderData;
|
|
53
|
-
export const useLocation = mod.useLocation;
|
|
54
|
-
export const useMatch = mod.useMatch;
|
|
55
|
-
export const useMatches = mod.useMatches;
|
|
56
|
-
export const useNavigate = mod.useNavigate;
|
|
57
|
-
export const useNavigation = mod.useNavigation;
|
|
58
|
-
export const useNavigationType = mod.useNavigationType;
|
|
59
|
-
export const useOutlet = mod.useOutlet;
|
|
60
|
-
export const useOutletContext = mod.useOutletContext;
|
|
61
|
-
export const useParams = mod.useParams;
|
|
62
|
-
export const useResolvedPath = mod.useResolvedPath;
|
|
63
|
-
export const useRevalidator = mod.useRevalidator;
|
|
64
|
-
export const useRouteError = mod.useRouteError;
|
|
65
|
-
export const useRouteLoaderData = mod.useRouteLoaderData;
|
|
66
|
-
export const useRoutes = mod.useRoutes;
|
|
67
|
-
export const useSearchParams = mod.useSearchParams;
|
|
68
|
-
export const useSubmit = mod.useSubmit;
|
|
69
|
-
|
|
70
|
-
export default mod.default !== undefined ? mod.default : mod;
|