nuxt-cornerstone 1.0.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/LICENSE +21 -0
- package/README.md +933 -0
- package/dist/module.d.mts +22 -0
- package/dist/module.json +12 -0
- package/dist/module.mjs +168 -0
- package/dist/runtime/annotation-json.d.ts +76 -0
- package/dist/runtime/annotation-json.js +176 -0
- package/dist/runtime/components/CornerstoneViewport.d.vue.ts +57 -0
- package/dist/runtime/components/CornerstoneViewport.vue +227 -0
- package/dist/runtime/components/CornerstoneViewport.vue.d.ts +57 -0
- package/dist/runtime/composables/useAnnotationReport.d.ts +28 -0
- package/dist/runtime/composables/useAnnotationReport.js +66 -0
- package/dist/runtime/composables/useCinePlayer.d.ts +52 -0
- package/dist/runtime/composables/useCinePlayer.js +95 -0
- package/dist/runtime/composables/useCornerstone.d.ts +17 -0
- package/dist/runtime/composables/useCornerstone.js +30 -0
- package/dist/runtime/composables/useCornerstoneI18n.d.ts +24 -0
- package/dist/runtime/composables/useCornerstoneI18n.js +32 -0
- package/dist/runtime/composables/useCornerstoneTools.d.ts +21 -0
- package/dist/runtime/composables/useCornerstoneTools.js +105 -0
- package/dist/runtime/composables/useDicomAnnotations.d.ts +76 -0
- package/dist/runtime/composables/useDicomAnnotations.js +220 -0
- package/dist/runtime/composables/useDicomFiles.d.ts +87 -0
- package/dist/runtime/composables/useDicomFiles.js +234 -0
- package/dist/runtime/composables/useDicomGuard.d.ts +24 -0
- package/dist/runtime/composables/useDicomGuard.js +30 -0
- package/dist/runtime/composables/useDicomStudy.d.ts +122 -0
- package/dist/runtime/composables/useDicomStudy.js +222 -0
- package/dist/runtime/composables/useImagePrefetch.d.ts +78 -0
- package/dist/runtime/composables/useImagePrefetch.js +119 -0
- package/dist/runtime/composables/useMeasurements.d.ts +51 -0
- package/dist/runtime/composables/useMeasurements.js +138 -0
- package/dist/runtime/composables/useRenderingEngine.d.ts +6 -0
- package/dist/runtime/composables/useRenderingEngine.js +46 -0
- package/dist/runtime/composables/useStackCine.d.ts +50 -0
- package/dist/runtime/composables/useStackCine.js +62 -0
- package/dist/runtime/composables/useViewerShortcuts.d.ts +94 -0
- package/dist/runtime/composables/useViewerShortcuts.js +115 -0
- package/dist/runtime/cornerstone.d.ts +21 -0
- package/dist/runtime/cornerstone.js +100 -0
- package/dist/runtime/dicom-instances.d.ts +32 -0
- package/dist/runtime/dicom-instances.js +15 -0
- package/dist/runtime/dicom-zip.d.ts +95 -0
- package/dist/runtime/dicom-zip.js +149 -0
- package/dist/runtime/i18n/detect.d.ts +37 -0
- package/dist/runtime/i18n/detect.js +37 -0
- package/dist/runtime/i18n/index.d.ts +61 -0
- package/dist/runtime/i18n/index.js +145 -0
- package/dist/runtime/i18n/messages.d.ts +122 -0
- package/dist/runtime/i18n/messages.js +147 -0
- package/dist/runtime/plugin.client.d.ts +13 -0
- package/dist/runtime/plugin.client.js +31 -0
- package/dist/runtime/plugin.i18n.d.ts +12 -0
- package/dist/runtime/plugin.i18n.js +15 -0
- package/dist/runtime/types.d.ts +150 -0
- package/dist/runtime/types.js +10 -0
- package/dist/types.d.mts +29 -0
- package/package.json +76 -0
package/dist/types.d.mts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export { type CornerstoneI18nOptions, type CornerstoneModuleOptions, type LocaleSource, type ResolvedCornerstoneOptions } from '../dist/runtime/types.js'
|
|
2
|
+
|
|
3
|
+
export { type CornerstoneMessageKey, type CornerstoneTranslator, type MessageCatalog, type MessageKey, type MessageParams, type MessageValue, type PluralCategory } from '../dist/runtime/i18n/index.js'
|
|
4
|
+
|
|
5
|
+
export { type AddFilesOptions, type AddZipOptions, type AddZipResult, type DicomSeries, type IndexUrlsOptions, type IndexUrlsResult, type SkipReason, type SkippedEntry, type ZipProgress } from '../dist/runtime/composables/useDicomFiles.js'
|
|
6
|
+
|
|
7
|
+
export { type PrefetchOptions, type PrefetchProgress, type PrefetchResult } from '../dist/runtime/composables/useImagePrefetch.js'
|
|
8
|
+
|
|
9
|
+
export { type CinePlayerOptions } from '../dist/runtime/composables/useCinePlayer.js'
|
|
10
|
+
|
|
11
|
+
export { type OpenUrlsOptions, type Problem, type SourceInfo } from '../dist/runtime/composables/useDicomStudy.js'
|
|
12
|
+
|
|
13
|
+
export { type GuardResult, type RejectedFile } from '../dist/runtime/composables/useDicomGuard.js'
|
|
14
|
+
|
|
15
|
+
export { type StackCineOptions } from '../dist/runtime/composables/useStackCine.js'
|
|
16
|
+
|
|
17
|
+
export { type AnnotationReportOptions } from '../dist/runtime/composables/useAnnotationReport.js'
|
|
18
|
+
|
|
19
|
+
export { type ToolShortcut, type ViewerShortcutHandlers, type ViewerShortcutOptions } from '../dist/runtime/composables/useViewerShortcuts.js'
|
|
20
|
+
|
|
21
|
+
export { type AddBoxesOptions, type AddBoxesResult, type AddJsonOptions, type AddJsonResult, type DicomBox, type PixelBox } from '../dist/runtime/composables/useDicomAnnotations.js'
|
|
22
|
+
|
|
23
|
+
export { type Measurement, type MeasurementsOptions } from '../dist/runtime/composables/useMeasurements.js'
|
|
24
|
+
|
|
25
|
+
export { type AnnotationFormat, type FindingLabelInfo, type ReadAnnotationsOptions, type ReadAnnotationsResult } from '../dist/runtime/annotation-json.js'
|
|
26
|
+
|
|
27
|
+
export { default } from './module.mjs'
|
|
28
|
+
|
|
29
|
+
export { type ModuleOptions } from './module.mjs'
|
package/package.json
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nuxt-cornerstone",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Cornerstone3D medical imaging for Nuxt 4 — DICOM stack viewport, tools and loaders, with the Vite/worker/WASM wiring done for you.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "SaeedP11 <saeed_abdi.p11@outlook.com>",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/SaeedP11/nuxt-cornerstone.git"
|
|
10
|
+
},
|
|
11
|
+
"bugs": "https://github.com/SaeedP11/nuxt-cornerstone/issues",
|
|
12
|
+
"homepage": "https://github.com/SaeedP11/nuxt-cornerstone#readme",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"nuxt",
|
|
16
|
+
"nuxt-module",
|
|
17
|
+
"cornerstone",
|
|
18
|
+
"cornerstone3d",
|
|
19
|
+
"dicom",
|
|
20
|
+
"medical-imaging"
|
|
21
|
+
],
|
|
22
|
+
"main": "./dist/module.mjs",
|
|
23
|
+
"types": "./dist/types.d.mts",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/types.d.mts",
|
|
27
|
+
"import": "./dist/module.mjs"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"dist"
|
|
32
|
+
],
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@nuxt/kit": "^4.5.2",
|
|
35
|
+
"@originjs/vite-plugin-commonjs": "^1.0.3",
|
|
36
|
+
"defu": "^6.1.4",
|
|
37
|
+
"fflate": "^0.8.3"
|
|
38
|
+
},
|
|
39
|
+
"peerDependencies": {
|
|
40
|
+
"@cornerstonejs/core": "^5.10.7",
|
|
41
|
+
"@cornerstonejs/dicom-image-loader": "^5.10.7",
|
|
42
|
+
"@cornerstonejs/metadata": "^5.10.7",
|
|
43
|
+
"@cornerstonejs/tools": "^5.10.7",
|
|
44
|
+
"@cornerstonejs/utils": "^5.10.7",
|
|
45
|
+
"dicom-parser": "^1.8.21"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@cornerstonejs/core": "5.10.8",
|
|
49
|
+
"@cornerstonejs/dicom-image-loader": "5.10.8",
|
|
50
|
+
"@cornerstonejs/metadata": "5.10.8",
|
|
51
|
+
"@cornerstonejs/tools": "5.10.8",
|
|
52
|
+
"@cornerstonejs/utils": "5.10.8",
|
|
53
|
+
"@nuxt/eslint-config": "^1.9.0",
|
|
54
|
+
"@nuxt/module-builder": "^1.0.3",
|
|
55
|
+
"@nuxt/schema": "^4.5.2",
|
|
56
|
+
"@primeuix/themes": "^2.0.3",
|
|
57
|
+
"@primevue/nuxt-module": "^4.5.5",
|
|
58
|
+
"@tailwindcss/vite": "^4.3.3",
|
|
59
|
+
"dicom-parser": "1.8.21",
|
|
60
|
+
"eslint": "^9.35.0",
|
|
61
|
+
"nuxt": "^4.5.2",
|
|
62
|
+
"primeicons": "^7.0.0",
|
|
63
|
+
"primevue": "^4.5.5",
|
|
64
|
+
"tailwindcss": "^4.3.3",
|
|
65
|
+
"typescript": "^5.9.3",
|
|
66
|
+
"vue-tsc": "^3.2.5"
|
|
67
|
+
},
|
|
68
|
+
"scripts": {
|
|
69
|
+
"dev": "nuxi dev playground",
|
|
70
|
+
"dev:build": "nuxi build playground",
|
|
71
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
72
|
+
"samples": "node scripts/fetch-samples.mjs",
|
|
73
|
+
"lint": "eslint .",
|
|
74
|
+
"typecheck": "nuxi typecheck playground"
|
|
75
|
+
}
|
|
76
|
+
}
|