@selvajs/ui 6.0.0-beta.1 → 6.0.0-beta.4
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/components/preview/ImageOutput.svelte +1 -1
- package/dist/components/preview/OutputDisplay.svelte +1 -1
- package/dist/utils/file-download.d.ts +1 -1
- package/dist/utils/file-download.js +1 -1
- package/package.json +10 -11
- package/src/lib/components/preview/ImageOutput.svelte +1 -1
- package/src/lib/components/preview/OutputDisplay.svelte +1 -1
- package/src/lib/utils/file-download.ts +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { OutputImageLayoutItem } from '@selvajs/schemas';
|
|
3
|
-
import type { FileData } from '@selvajs/compute';
|
|
3
|
+
import type { FileData } from '@selvajs/compute/core';
|
|
4
4
|
import { Download, Maximize, Minimize } from '@lucide/svelte';
|
|
5
5
|
import { downloadFiles, isFileData, MIME_BY_EXT } from '../../utils/file-download';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { OutputLayoutItem } from '@selvajs/schemas';
|
|
3
|
-
import type { FileData } from '@selvajs/compute';
|
|
3
|
+
import type { FileData } from '@selvajs/compute/core';
|
|
4
4
|
import ChartOutput from './ChartOutput.svelte';
|
|
5
5
|
import ImageOutput from './ImageOutput.svelte';
|
|
6
6
|
import {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type FileData } from '@selvajs/compute';
|
|
1
|
+
import { type FileData } from '@selvajs/compute/core';
|
|
2
2
|
export declare const MIME_BY_EXT: Record<string, string>;
|
|
3
3
|
export declare function downloadFiles(fileData: FileData | FileData[], fileName?: string): Promise<void>;
|
|
4
4
|
export declare function isFileData(data: unknown): data is FileData;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@selvajs/ui",
|
|
3
|
-
"version": "6.0.0-beta.
|
|
3
|
+
"version": "6.0.0-beta.4",
|
|
4
4
|
"description": "Shared UI components and utilities for Selva applications",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "VektorNode",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"types": "./dist/public.d.ts",
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
32
|
-
"source": {
|
|
32
|
+
"selva-source": {
|
|
33
33
|
"types": "./dist/index.d.ts",
|
|
34
34
|
"svelte": "./dist/index.js"
|
|
35
35
|
},
|
|
@@ -60,10 +60,10 @@
|
|
|
60
60
|
"svelte": "^5",
|
|
61
61
|
"tailwind-variants": "^3.3.0",
|
|
62
62
|
"three": "^0.185.1",
|
|
63
|
-
"@selvajs/
|
|
64
|
-
"@selvajs/
|
|
65
|
-
"@selvajs/solve": "^1.0.0-beta.
|
|
66
|
-
"@selvajs/visualization": "^1.0.0-beta.
|
|
63
|
+
"@selvajs/schemas": "^5.0.0-beta.1",
|
|
64
|
+
"@selvajs/compute": "^4.0.0-beta.4",
|
|
65
|
+
"@selvajs/solve": "^1.0.0-beta.8",
|
|
66
|
+
"@selvajs/visualization": "^1.0.0-beta.1"
|
|
67
67
|
},
|
|
68
68
|
"peerDependenciesMeta": {
|
|
69
69
|
"three": {
|
|
@@ -87,16 +87,15 @@
|
|
|
87
87
|
"@sveltejs/vite-plugin-svelte": "^7.2.0",
|
|
88
88
|
"@types/three": "^0.185.1",
|
|
89
89
|
"bits-ui": "^2.18.0",
|
|
90
|
-
"rhino3dm": "8.32.1",
|
|
91
90
|
"rimraf": "^6.0.1",
|
|
92
91
|
"svelte": "5.56.8",
|
|
93
92
|
"tailwind-variants": "^3.3.0",
|
|
94
93
|
"vitest": "^4.1.10",
|
|
95
94
|
"@selvajs/config": "0.0.3",
|
|
96
|
-
"@selvajs/schemas": "
|
|
97
|
-
"@selvajs/visualization": "1.0.0-beta.
|
|
98
|
-
"@selvajs/solve": "1.0.0-beta.
|
|
99
|
-
"@selvajs/compute": "4.0.0-beta.
|
|
95
|
+
"@selvajs/schemas": "5.0.0-beta.1",
|
|
96
|
+
"@selvajs/visualization": "1.0.0-beta.1",
|
|
97
|
+
"@selvajs/solve": "1.0.0-beta.8",
|
|
98
|
+
"@selvajs/compute": "4.0.0-beta.4"
|
|
100
99
|
},
|
|
101
100
|
"scripts": {
|
|
102
101
|
"predev": "node ../../scripts/sync-shared-assets.js",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { OutputImageLayoutItem } from '@selvajs/schemas';
|
|
3
|
-
import type { FileData } from '@selvajs/compute';
|
|
3
|
+
import type { FileData } from '@selvajs/compute/core';
|
|
4
4
|
import { Download, Maximize, Minimize } from '@lucide/svelte';
|
|
5
5
|
import { downloadFiles, isFileData, MIME_BY_EXT } from '$lib/utils/file-download';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { OutputLayoutItem } from '@selvajs/schemas';
|
|
3
|
-
import type { FileData } from '@selvajs/compute';
|
|
3
|
+
import type { FileData } from '@selvajs/compute/core';
|
|
4
4
|
import ChartOutput from './ChartOutput.svelte';
|
|
5
5
|
import ImageOutput from './ImageOutput.svelte';
|
|
6
6
|
import {
|