@omniviewdev/vite-plugin 0.1.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.
Files changed (62) hide show
  1. package/LICENSE +661 -0
  2. package/dist/index.cjs +215 -0
  3. package/dist/index.d.cts +84 -0
  4. package/dist/index.d.ts +84 -0
  5. package/dist/index.js +177 -0
  6. package/package.json +50 -0
  7. package/shims/_dnd-kit__core.mjs +45 -0
  8. package/shims/_dnd-kit__modifiers.mjs +21 -0
  9. package/shims/_dnd-kit__sortable.mjs +26 -0
  10. package/shims/_dnd-kit__utilities.mjs +39 -0
  11. package/shims/_emotion__react.mjs +27 -0
  12. package/shims/_emotion__styled.mjs +14 -0
  13. package/shims/_monaco-editor__react.mjs +18 -0
  14. package/shims/_mui__icons-material.mjs +10787 -0
  15. package/shims/_mui__material.mjs +476 -0
  16. package/shims/_mui__material__Box.mjs +15 -0
  17. package/shims/_mui__material__CircularProgress.mjs +16 -0
  18. package/shims/_mui__material__CssBaseline.mjs +14 -0
  19. package/shims/_mui__material__Divider.mjs +16 -0
  20. package/shims/_mui__material__GlobalStyles.mjs +14 -0
  21. package/shims/_mui__material__Grid.mjs +16 -0
  22. package/shims/_mui__material__LinearProgress.mjs +16 -0
  23. package/shims/_mui__material__styles.mjs +60 -0
  24. package/shims/_mui__material__utils.mjs +33 -0
  25. package/shims/_mui__x-charts.mjs +257 -0
  26. package/shims/_omniviewdev__runtime.mjs +82 -0
  27. package/shims/_omniviewdev__runtime__api.mjs +30 -0
  28. package/shims/_omniviewdev__runtime__models.mjs +29 -0
  29. package/shims/_omniviewdev__runtime__runtime.mjs +67 -0
  30. package/shims/_omniviewdev__ui.mjs +46 -0
  31. package/shims/_omniviewdev__ui__buttons.mjs +25 -0
  32. package/shims/_omniviewdev__ui__cells.mjs +19 -0
  33. package/shims/_omniviewdev__ui__charts.mjs +33 -0
  34. package/shims/_omniviewdev__ui__domain.mjs +25 -0
  35. package/shims/_omniviewdev__ui__editors.mjs +22 -0
  36. package/shims/_omniviewdev__ui__feedback.mjs +29 -0
  37. package/shims/_omniviewdev__ui__inputs.mjs +30 -0
  38. package/shims/_omniviewdev__ui__layout.mjs +22 -0
  39. package/shims/_omniviewdev__ui__menus.mjs +19 -0
  40. package/shims/_omniviewdev__ui__navigation.mjs +22 -0
  41. package/shims/_omniviewdev__ui__overlays.mjs +24 -0
  42. package/shims/_omniviewdev__ui__sidebars.mjs +20 -0
  43. package/shims/_omniviewdev__ui__table.mjs +20 -0
  44. package/shims/_omniviewdev__ui__theme.mjs +31 -0
  45. package/shims/_omniviewdev__ui__types.mjs +23 -0
  46. package/shims/_omniviewdev__ui__typography.mjs +19 -0
  47. package/shims/_tanstack__react-query.mjs +68 -0
  48. package/shims/_tanstack__react-table.mjs +67 -0
  49. package/shims/_tanstack__react-virtual.mjs +30 -0
  50. package/shims/date-fns.mjs +264 -0
  51. package/shims/monaco-editor.mjs +14 -0
  52. package/shims/monaco-types.mjs +14 -0
  53. package/shims/monaco-yaml.mjs +15 -0
  54. package/shims/react-dom.mjs +22 -0
  55. package/shims/react-icons.mjs +19 -0
  56. package/shims/react-icons__lu.mjs +1555 -0
  57. package/shims/react-icons__si.mjs +3289 -0
  58. package/shims/react-router-dom.mjs +70 -0
  59. package/shims/react.mjs +50 -0
  60. package/shims/react__jsx-dev-runtime.mjs +16 -0
  61. package/shims/react__jsx-runtime.mjs +17 -0
  62. package/shims/yaml.mjs +43 -0
@@ -0,0 +1,26 @@
1
+ // Auto-generated shim for '@dnd-kit/sortable'
2
+ // DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
3
+
4
+ const mod = window.__OMNIVIEW_SHARED__['@dnd-kit/sortable'];
5
+
6
+ if (!mod) {
7
+ throw new Error(
8
+ '[omniview] Shared dependency "@dnd-kit/sortable" 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 SortableContext = mod.SortableContext;
14
+ export const arrayMove = mod.arrayMove;
15
+ export const arraySwap = mod.arraySwap;
16
+ export const defaultAnimateLayoutChanges = mod.defaultAnimateLayoutChanges;
17
+ export const defaultNewIndexGetter = mod.defaultNewIndexGetter;
18
+ export const hasSortableData = mod.hasSortableData;
19
+ export const horizontalListSortingStrategy = mod.horizontalListSortingStrategy;
20
+ export const rectSortingStrategy = mod.rectSortingStrategy;
21
+ export const rectSwappingStrategy = mod.rectSwappingStrategy;
22
+ export const sortableKeyboardCoordinates = mod.sortableKeyboardCoordinates;
23
+ export const useSortable = mod.useSortable;
24
+ export const verticalListSortingStrategy = mod.verticalListSortingStrategy;
25
+
26
+ export default mod.default !== undefined ? mod.default : mod;
@@ -0,0 +1,39 @@
1
+ // Auto-generated shim for '@dnd-kit/utilities'
2
+ // DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
3
+
4
+ const mod = window.__OMNIVIEW_SHARED__['@dnd-kit/utilities'];
5
+
6
+ if (!mod) {
7
+ throw new Error(
8
+ '[omniview] Shared dependency "@dnd-kit/utilities" 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 CSS = mod.CSS;
14
+ export const add = mod.add;
15
+ export const canUseDOM = mod.canUseDOM;
16
+ export const findFirstFocusableNode = mod.findFirstFocusableNode;
17
+ export const getEventCoordinates = mod.getEventCoordinates;
18
+ export const getOwnerDocument = mod.getOwnerDocument;
19
+ export const getWindow = mod.getWindow;
20
+ export const hasViewportRelativeCoordinates = mod.hasViewportRelativeCoordinates;
21
+ export const isDocument = mod.isDocument;
22
+ export const isHTMLElement = mod.isHTMLElement;
23
+ export const isKeyboardEvent = mod.isKeyboardEvent;
24
+ export const isNode = mod.isNode;
25
+ export const isSVGElement = mod.isSVGElement;
26
+ export const isTouchEvent = mod.isTouchEvent;
27
+ export const isWindow = mod.isWindow;
28
+ export const subtract = mod.subtract;
29
+ export const useCombinedRefs = mod.useCombinedRefs;
30
+ export const useEvent = mod.useEvent;
31
+ export const useInterval = mod.useInterval;
32
+ export const useIsomorphicLayoutEffect = mod.useIsomorphicLayoutEffect;
33
+ export const useLatestValue = mod.useLatestValue;
34
+ export const useLazyMemo = mod.useLazyMemo;
35
+ export const useNodeRef = mod.useNodeRef;
36
+ export const usePrevious = mod.usePrevious;
37
+ export const useUniqueId = mod.useUniqueId;
38
+
39
+ export default mod.default !== undefined ? mod.default : mod;
@@ -0,0 +1,27 @@
1
+ // Auto-generated shim for '@emotion/react'
2
+ // DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
3
+
4
+ const mod = window.__OMNIVIEW_SHARED__['@emotion/react'];
5
+
6
+ if (!mod) {
7
+ throw new Error(
8
+ '[omniview] Shared dependency "@emotion/react" 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 CacheProvider = mod.CacheProvider;
14
+ export const ClassNames = mod.ClassNames;
15
+ export const Global = mod.Global;
16
+ export const ThemeContext = mod.ThemeContext;
17
+ export const ThemeProvider = mod.ThemeProvider;
18
+ export const __unsafe_useEmotionCache = mod.__unsafe_useEmotionCache;
19
+ export const createElement = mod.createElement;
20
+ export const css = mod.css;
21
+ export const jsx = mod.jsx;
22
+ export const keyframes = mod.keyframes;
23
+ export const useTheme = mod.useTheme;
24
+ export const withEmotionCache = mod.withEmotionCache;
25
+ export const withTheme = mod.withTheme;
26
+
27
+ export default mod.default !== undefined ? mod.default : mod;
@@ -0,0 +1,14 @@
1
+ // Auto-generated shim for '@emotion/styled'
2
+ // DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
3
+
4
+ const mod = window.__OMNIVIEW_SHARED__['@emotion/styled'];
5
+
6
+ if (!mod) {
7
+ throw new Error(
8
+ '[omniview] Shared dependency "@emotion/styled" 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
+ // Default export: prefer mod.default, fall back to the module namespace itself.
14
+ export default mod.default !== undefined ? mod.default : mod;
@@ -0,0 +1,18 @@
1
+ // Auto-generated shim for '@monaco-editor/react'
2
+ // DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
3
+
4
+ const mod = window.__OMNIVIEW_SHARED__['@monaco-editor/react'];
5
+
6
+ if (!mod) {
7
+ throw new Error(
8
+ '[omniview] Shared dependency "@monaco-editor/react" 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 DiffEditor = mod.DiffEditor;
14
+ export const Editor = mod.Editor;
15
+ export const loader = mod.loader;
16
+ export const useMonaco = mod.useMonaco;
17
+
18
+ export default mod.default !== undefined ? mod.default : mod;