@omniviewdev/vite-plugin 0.8.1 → 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.
Files changed (39) hide show
  1. package/dist/index.cjs +3 -2
  2. package/dist/index.d.cts +2 -1
  3. package/dist/index.d.ts +2 -1
  4. package/dist/index.js +11 -10
  5. package/package.json +8 -6
  6. package/shims/_dnd-kit__core.mjs +65 -44
  7. package/shims/_dnd-kit__modifiers.mjs +17 -20
  8. package/shims/_dnd-kit__sortable.mjs +27 -25
  9. package/shims/_dnd-kit__utilities.mjs +53 -38
  10. package/shims/_monaco-editor__react.mjs +13 -17
  11. package/shims/_omniviewdev__ai-ui.mjs +125 -74
  12. package/shims/_omniviewdev__ai-ui__styles.css.mjs +3 -13
  13. package/shims/_omniviewdev__base-ui.mjs +385 -203
  14. package/shims/_omniviewdev__base-ui__styles.css.mjs +3 -13
  15. package/shims/_omniviewdev__editors.mjs +31 -27
  16. package/shims/_omniviewdev__editors__styles.css.mjs +3 -13
  17. package/shims/_omniviewdev__runtime.mjs +167 -97
  18. package/shims/_omniviewdev__runtime__api.mjs +43 -33
  19. package/shims/_omniviewdev__runtime__models.mjs +273 -151
  20. package/shims/_omniviewdev__runtime__runtime.mjs +25 -77
  21. package/shims/_tanstack__react-query.mjs +121 -67
  22. package/shims/_tanstack__react-table.mjs +233 -66
  23. package/shims/_tanstack__react-virtual.mjs +37 -29
  24. package/shims/date-fns.mjs +503 -263
  25. package/shims/monaco-editor.mjs +31 -13
  26. package/shims/monaco-types.mjs +5 -13
  27. package/shims/monaco-yaml.mjs +5 -14
  28. package/shims/react-dom.mjs +35 -21
  29. package/shims/react-icons.mjs +13 -18
  30. package/shims/react-icons__lu.mjs +3085 -1554
  31. package/shims/react-icons__si.mjs +6895 -3618
  32. package/shims/react-router.mjs +274 -0
  33. package/shims/react-router__dom.mjs +14 -0
  34. package/shims/react.mjs +97 -49
  35. package/shims/react__compiler-runtime.mjs +7 -14
  36. package/shims/react__jsx-dev-runtime.mjs +9 -15
  37. package/shims/react__jsx-runtime.mjs +11 -16
  38. package/shims/yaml.mjs +63 -42
  39. package/shims/react-router-dom.mjs +0 -70
@@ -1,14 +1,32 @@
1
- // Auto-generated shim for 'monaco-editor'
1
+ // Auto-generated shim for "monaco-editor"
2
2
  // DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
3
-
4
- const mod = window.__OMNIVIEW_SHARED__['monaco-editor'];
5
-
6
- if (!mod) {
7
- throw new Error(
8
- '[omniview] Shared dependency "monaco-editor" 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;
3
+ const mod = window.__OMNIVIEW_SHARED__["monaco-editor"];
4
+ if (!mod) throw new Error('[omniview] Shared dependency ' + "monaco-editor" + ' is not available on window.__OMNIVIEW_SHARED__.');
5
+ const binding0 = mod["CancellationTokenSource"];
6
+ export { binding0 as "CancellationTokenSource" };
7
+ const binding1 = mod["Emitter"];
8
+ export { binding1 as "Emitter" };
9
+ const binding2 = mod["KeyCode"];
10
+ export { binding2 as "KeyCode" };
11
+ const binding3 = mod["KeyMod"];
12
+ export { binding3 as "KeyMod" };
13
+ const binding4 = mod["MarkerSeverity"];
14
+ export { binding4 as "MarkerSeverity" };
15
+ const binding5 = mod["MarkerTag"];
16
+ export { binding5 as "MarkerTag" };
17
+ const binding6 = mod["Position"];
18
+ export { binding6 as "Position" };
19
+ const binding7 = mod["Range"];
20
+ export { binding7 as "Range" };
21
+ const binding8 = mod["Selection"];
22
+ export { binding8 as "Selection" };
23
+ const binding9 = mod["SelectionDirection"];
24
+ export { binding9 as "SelectionDirection" };
25
+ const binding10 = mod["Token"];
26
+ export { binding10 as "Token" };
27
+ const binding11 = mod["Uri"];
28
+ export { binding11 as "Uri" };
29
+ const binding12 = mod["editor"];
30
+ export { binding12 as "editor" };
31
+ const binding13 = mod["languages"];
32
+ export { binding13 as "languages" };
@@ -1,14 +1,6 @@
1
- // Auto-generated shim for 'monaco-types'
1
+ // Auto-generated shim for "monaco-types"
2
2
  // DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
3
-
4
- const mod = window.__OMNIVIEW_SHARED__['monaco-types'];
5
-
6
- if (!mod) {
7
- throw new Error(
8
- '[omniview] Shared dependency "monaco-types" 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;
3
+ const mod = window.__OMNIVIEW_SHARED__["monaco-types"];
4
+ if (!mod) throw new Error('[omniview] Shared dependency ' + "monaco-types" + ' is not available on window.__OMNIVIEW_SHARED__.');
5
+ const binding0 = mod["default"];
6
+ export { binding0 as "default" };
@@ -1,15 +1,6 @@
1
- // Auto-generated shim for 'monaco-yaml'
1
+ // Auto-generated shim for "monaco-yaml"
2
2
  // DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
3
-
4
- const mod = window.__OMNIVIEW_SHARED__['monaco-yaml'];
5
-
6
- if (!mod) {
7
- throw new Error(
8
- '[omniview] Shared dependency "monaco-yaml" 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 configureMonacoYaml = mod.configureMonacoYaml;
14
-
15
- export default mod.default !== undefined ? mod.default : mod;
3
+ const mod = window.__OMNIVIEW_SHARED__["monaco-yaml"];
4
+ if (!mod) throw new Error('[omniview] Shared dependency ' + "monaco-yaml" + ' is not available on window.__OMNIVIEW_SHARED__.');
5
+ const binding0 = mod["configureMonacoYaml"];
6
+ export { binding0 as "configureMonacoYaml" };
@@ -1,22 +1,36 @@
1
- // Auto-generated shim for 'react-dom'
1
+ // Auto-generated shim for "react-dom"
2
2
  // DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
3
-
4
- const mod = window.__OMNIVIEW_SHARED__['react-dom'];
5
-
6
- if (!mod) {
7
- throw new Error(
8
- '[omniview] Shared dependency "react-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 createPortal = mod.createPortal;
14
- export const flushSync = mod.flushSync;
15
- export const hydrate = mod.hydrate;
16
- export const render = mod.render;
17
- export const unmountComponentAtNode = mod.unmountComponentAtNode;
18
- export const unstable_batchedUpdates = mod.unstable_batchedUpdates;
19
- export const unstable_renderSubtreeIntoContainer = mod.unstable_renderSubtreeIntoContainer;
20
- export const version = mod.version;
21
-
22
- export default mod.default !== undefined ? mod.default : mod;
3
+ const mod = window.__OMNIVIEW_SHARED__["react-dom"];
4
+ if (!mod) throw new Error('[omniview] Shared dependency ' + "react-dom" + ' is not available on window.__OMNIVIEW_SHARED__.');
5
+ const binding0 = mod["__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE"];
6
+ export { binding0 as "__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE" };
7
+ const binding1 = mod["browser"];
8
+ export { binding1 as "browser" };
9
+ const binding2 = mod["createPortal"];
10
+ export { binding2 as "createPortal" };
11
+ const binding3 = mod["default"];
12
+ export { binding3 as "default" };
13
+ const binding4 = mod["flushSync"];
14
+ export { binding4 as "flushSync" };
15
+ const binding5 = mod["preconnect"];
16
+ export { binding5 as "preconnect" };
17
+ const binding6 = mod["prefetchDNS"];
18
+ export { binding6 as "prefetchDNS" };
19
+ const binding7 = mod["preinit"];
20
+ export { binding7 as "preinit" };
21
+ const binding8 = mod["preinitModule"];
22
+ export { binding8 as "preinitModule" };
23
+ const binding9 = mod["preload"];
24
+ export { binding9 as "preload" };
25
+ const binding10 = mod["preloadModule"];
26
+ export { binding10 as "preloadModule" };
27
+ const binding11 = mod["requestFormReset"];
28
+ export { binding11 as "requestFormReset" };
29
+ const binding12 = mod["unstable_batchedUpdates"];
30
+ export { binding12 as "unstable_batchedUpdates" };
31
+ const binding13 = mod["useFormState"];
32
+ export { binding13 as "useFormState" };
33
+ const binding14 = mod["useFormStatus"];
34
+ export { binding14 as "useFormStatus" };
35
+ const binding15 = mod["version"];
36
+ export { binding15 as "version" };
@@ -1,19 +1,14 @@
1
- // Auto-generated shim for 'react-icons'
1
+ // Auto-generated shim for "react-icons"
2
2
  // DO NOT EDIT -- regenerate with: pnpm --filter @omniviewdev/vite-plugin generate-shims
3
-
4
- const mod = window.__OMNIVIEW_SHARED__['react-icons'];
5
-
6
- if (!mod) {
7
- throw new Error(
8
- '[omniview] Shared dependency "react-icons" 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 DefaultContext = mod.DefaultContext;
14
- export const GenIcon = mod.GenIcon;
15
- export const IconBase = mod.IconBase;
16
- export const IconContext = mod.IconContext;
17
- export const IconsManifest = mod.IconsManifest;
18
-
19
- export default mod.default !== undefined ? mod.default : mod;
3
+ const mod = window.__OMNIVIEW_SHARED__["react-icons"];
4
+ if (!mod) throw new Error('[omniview] Shared dependency ' + "react-icons" + ' is not available on window.__OMNIVIEW_SHARED__.');
5
+ const binding0 = mod["DefaultContext"];
6
+ export { binding0 as "DefaultContext" };
7
+ const binding1 = mod["GenIcon"];
8
+ export { binding1 as "GenIcon" };
9
+ const binding2 = mod["IconBase"];
10
+ export { binding2 as "IconBase" };
11
+ const binding3 = mod["IconContext"];
12
+ export { binding3 as "IconContext" };
13
+ const binding4 = mod["IconsManifest"];
14
+ export { binding4 as "IconsManifest" };