@dcmjs-org/media 0.0.0-stage → 1.0.0-beta.10
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.txt +22 -0
- package/README.md +31 -2
- package/dist/index.cjs +65 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.mjs +55 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +30 -3
package/License.txt
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
The MIT License (MIT)
|
|
3
|
+
|
|
4
|
+
Copyright (c) 2017 Steve Pieper
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @dcmjs-org/media
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The dcmjs bulk-data bundle. One dependency that re-exports the bulk-data
|
|
4
|
+
packages under the namespace shapes dcmjs v2 consumers already know:
|
|
5
|
+
|
|
6
|
+
| Namespace | Backed by | Contents |
|
|
7
|
+
| -------------- | ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
8
|
+
| `media` | `@dcmjs-org/dicomdir` | `buildDicomDirDataset`, `writeDicomDir`, `MEDIA_STORAGE_DIRECTORY_SOP_CLASS_UID` |
|
|
9
|
+
| `encapsulated` | `@dcmjs-org/encapsulated` + `@dcmjs-org/video` | `encapsulate`, `encapsulatePdf`, `extractEncapsulatedPdf`, `buildVideoDataset`, `encapsulateVideo`, `extractEncapsulatedVideo`, the base blocks `encapsulatedBase`, `encapsulatedPdfBase`, `videoBase`, `PDF_MIME_TYPE`, the SOP class UIDs, `DEFAULT_FRAGMENT_BYTES` |
|
|
10
|
+
| `image` | `@dcmjs-org/imaging` + `@dcmjs-org/video` | `buildImageDataset`, the base blocks `imageBase` and `derivedImageBase`, `parseJpegInfo`, `parseMp4Info`, `h264TransferSyntaxUID`, `SECONDARY_CAPTURE_SOP_CLASS_UID` |
|
|
11
|
+
|
|
12
|
+
`createVideoEventSource` (the streaming MP4 → event-stream source) is a
|
|
13
|
+
top-level named export.
|
|
14
|
+
|
|
15
|
+
The builders take the `createInstance` options of `@dcmjs-org/core`
|
|
16
|
+
(`instance`, `dataLevel`, `levels`, `predecessor`, `postProcess`,
|
|
17
|
+
`baseDicom`, `overrides`). The DICOM attributes go in `overrides`; a
|
|
18
|
+
top-level attribute key has no effect (CORE-USR-7).
|
|
19
|
+
|
|
20
|
+
```js
|
|
21
|
+
import { media, encapsulated, image } from "@dcmjs-org/media";
|
|
22
|
+
|
|
23
|
+
const dataset = encapsulated.encapsulatePdf(pdfBytes, {
|
|
24
|
+
instance: existingNaturalizedInstance,
|
|
25
|
+
overrides: { DocumentTitle: "Discharge Summary" }
|
|
26
|
+
});
|
|
27
|
+
const dicomdir = media.buildDicomDirDataset(fileSetDescription);
|
|
28
|
+
const info = image.parseMp4Info(mp4Bytes);
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Every export here is the same object as the underlying package's export —
|
|
32
|
+
this bundle adds no behavior, only a single install surface.
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var dicomdir = require('@dcmjs-org/dicomdir');
|
|
6
|
+
var encapsulated$1 = require('@dcmjs-org/encapsulated');
|
|
7
|
+
var imaging = require('@dcmjs-org/imaging');
|
|
8
|
+
var video = require('@dcmjs-org/video');
|
|
9
|
+
|
|
10
|
+
// The @dcmjs-org/media bundle: one dependency for the bulk-data surfaces —
|
|
11
|
+
// DICOMDIR building (@dcmjs-org/dicomdir), Encapsulated PDF wrapping
|
|
12
|
+
// (@dcmjs-org/encapsulated), image building (@dcmjs-org/imaging), and video
|
|
13
|
+
// encapsulation (@dcmjs-org/video) — re-exported under the namespace shapes
|
|
14
|
+
// of dcmjs v2's src/index.js (`media`, `encapsulated`, `image`), so a
|
|
15
|
+
// consumer of `dcmjs.media` / `dcmjs.encapsulated` / `dcmjs.image` reads the
|
|
16
|
+
// same names here. The builders take the createInstance options of
|
|
17
|
+
// @dcmjs-org/core; the base blocks ride along for a custom `baseDicom`.
|
|
18
|
+
|
|
19
|
+
// Media storage (PS3.10): the DICOMDIR builder — dcmjs v2's `media` namespace.
|
|
20
|
+
const media = {
|
|
21
|
+
buildDicomDirDataset: dicomdir.buildDicomDirDataset,
|
|
22
|
+
writeDicomDir: dicomdir.writeDicomDir,
|
|
23
|
+
MEDIA_STORAGE_DIRECTORY_SOP_CLASS_UID: dicomdir.MEDIA_STORAGE_DIRECTORY_SOP_CLASS_UID
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
// Encapsulated payloads (documents and video, in and out) — v2's
|
|
27
|
+
// `encapsulated`.
|
|
28
|
+
const encapsulated = {
|
|
29
|
+
encapsulate: encapsulated$1.encapsulate,
|
|
30
|
+
encapsulatedBase: encapsulated$1.encapsulatedBase,
|
|
31
|
+
encapsulatePdf: encapsulated$1.encapsulatePdf,
|
|
32
|
+
encapsulatedPdfBase: encapsulated$1.encapsulatedPdfBase,
|
|
33
|
+
extractEncapsulatedPdf: encapsulated$1.extractEncapsulatedPdf,
|
|
34
|
+
ENCAPSULATED_PDF_SOP_CLASS_UID: encapsulated$1.ENCAPSULATED_PDF_SOP_CLASS_UID,
|
|
35
|
+
PDF_MIME_TYPE: encapsulated$1.PDF_MIME_TYPE,
|
|
36
|
+
buildVideoDataset: video.buildVideoDataset,
|
|
37
|
+
videoBase: video.videoBase,
|
|
38
|
+
encapsulateVideo: video.encapsulateVideo,
|
|
39
|
+
extractEncapsulatedVideo: video.extractEncapsulatedVideo,
|
|
40
|
+
VIDEO_PHOTOGRAPHIC_SOP_CLASS_UID: video.VIDEO_PHOTOGRAPHIC_SOP_CLASS_UID,
|
|
41
|
+
DEFAULT_FRAGMENT_BYTES: video.DEFAULT_FRAGMENT_BYTES
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
// Image instances from decoded pixels (codec-free) — v2's `image`.
|
|
45
|
+
const image = {
|
|
46
|
+
buildImageDataset: imaging.buildImageDataset,
|
|
47
|
+
imageBase: imaging.imageBase,
|
|
48
|
+
derivedImageBase: imaging.derivedImageBase,
|
|
49
|
+
SECONDARY_CAPTURE_SOP_CLASS_UID: imaging.SECONDARY_CAPTURE_SOP_CLASS_UID,
|
|
50
|
+
parseJpegInfo: imaging.parseJpegInfo,
|
|
51
|
+
parseMp4Info: video.parseMp4Info,
|
|
52
|
+
h264TransferSyntaxUID: imaging.h264TransferSyntaxUID
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
var index = { media, encapsulated, image, createVideoEventSource: video.createVideoEventSource };
|
|
56
|
+
|
|
57
|
+
Object.defineProperty(exports, "createVideoEventSource", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return video.createVideoEventSource; }
|
|
60
|
+
});
|
|
61
|
+
exports.default = index;
|
|
62
|
+
exports.encapsulated = encapsulated;
|
|
63
|
+
exports.image = image;
|
|
64
|
+
exports.media = media;
|
|
65
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/index.js"],"sourcesContent":["// The @dcmjs-org/media bundle: one dependency for the bulk-data surfaces —\n// DICOMDIR building (@dcmjs-org/dicomdir), Encapsulated PDF wrapping\n// (@dcmjs-org/encapsulated), image building (@dcmjs-org/imaging), and video\n// encapsulation (@dcmjs-org/video) — re-exported under the namespace shapes\n// of dcmjs v2's src/index.js (`media`, `encapsulated`, `image`), so a\n// consumer of `dcmjs.media` / `dcmjs.encapsulated` / `dcmjs.image` reads the\n// same names here. The builders take the createInstance options of\n// @dcmjs-org/core; the base blocks ride along for a custom `baseDicom`.\nimport {\n buildDicomDirDataset,\n writeDicomDir,\n MEDIA_STORAGE_DIRECTORY_SOP_CLASS_UID\n} from \"@dcmjs-org/dicomdir\";\nimport {\n encapsulate,\n encapsulatedBase,\n encapsulatePdf,\n encapsulatedPdfBase,\n extractEncapsulatedPdf,\n ENCAPSULATED_PDF_SOP_CLASS_UID,\n PDF_MIME_TYPE\n} from \"@dcmjs-org/encapsulated\";\nimport {\n buildImageDataset,\n imageBase,\n derivedImageBase,\n SECONDARY_CAPTURE_SOP_CLASS_UID,\n parseJpegInfo,\n h264TransferSyntaxUID\n} from \"@dcmjs-org/imaging\";\nimport {\n buildVideoDataset,\n videoBase,\n encapsulateVideo,\n extractEncapsulatedVideo,\n VIDEO_PHOTOGRAPHIC_SOP_CLASS_UID,\n DEFAULT_FRAGMENT_BYTES,\n parseMp4Info,\n createVideoEventSource\n} from \"@dcmjs-org/video\";\n\n// Media storage (PS3.10): the DICOMDIR builder — dcmjs v2's `media` namespace.\nexport const media = {\n buildDicomDirDataset,\n writeDicomDir,\n MEDIA_STORAGE_DIRECTORY_SOP_CLASS_UID\n};\n\n// Encapsulated payloads (documents and video, in and out) — v2's\n// `encapsulated`.\nexport const encapsulated = {\n encapsulate,\n encapsulatedBase,\n encapsulatePdf,\n encapsulatedPdfBase,\n extractEncapsulatedPdf,\n ENCAPSULATED_PDF_SOP_CLASS_UID,\n PDF_MIME_TYPE,\n buildVideoDataset,\n videoBase,\n encapsulateVideo,\n extractEncapsulatedVideo,\n VIDEO_PHOTOGRAPHIC_SOP_CLASS_UID,\n DEFAULT_FRAGMENT_BYTES\n};\n\n// Image instances from decoded pixels (codec-free) — v2's `image`.\nexport const image = {\n buildImageDataset,\n imageBase,\n derivedImageBase,\n SECONDARY_CAPTURE_SOP_CLASS_UID,\n parseJpegInfo,\n parseMp4Info,\n h264TransferSyntaxUID\n};\n\n// The streaming MP4 → events source has no v2 namespace; it rides along\n// as a named export for event-stream consumers.\nexport { createVideoEventSource };\n\nexport default { media, encapsulated, image, createVideoEventSource };\n"],"names":["buildDicomDirDataset","writeDicomDir","MEDIA_STORAGE_DIRECTORY_SOP_CLASS_UID","encapsulate","encapsulatedBase","encapsulatePdf","encapsulatedPdfBase","extractEncapsulatedPdf","ENCAPSULATED_PDF_SOP_CLASS_UID","PDF_MIME_TYPE","buildVideoDataset","videoBase","encapsulateVideo","extractEncapsulatedVideo","VIDEO_PHOTOGRAPHIC_SOP_CLASS_UID","DEFAULT_FRAGMENT_BYTES","buildImageDataset","imageBase","derivedImageBase","SECONDARY_CAPTURE_SOP_CLASS_UID","parseJpegInfo","parseMp4Info","h264TransferSyntaxUID","createVideoEventSource"],"mappings":";;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAkCA;AACY,MAAC,KAAK,GAAG;AACrB,0BAAIA,6BAAoB;AACxB,mBAAIC,sBAAa;AACjB,2CAAIC;AACJ;;AAEA;AACA;AACY,MAAC,YAAY,GAAG;AAC5B,iBAAIC,0BAAW;AACf,sBAAIC,+BAAgB;AACpB,oBAAIC,6BAAc;AAClB,yBAAIC,kCAAmB;AACvB,4BAAIC,qCAAsB;AAC1B,oCAAIC,6CAA8B;AAClC,mBAAIC,4BAAa;AACjB,uBAAIC,uBAAiB;AACrB,eAAIC,eAAS;AACb,sBAAIC,sBAAgB;AACpB,8BAAIC,8BAAwB;AAC5B,sCAAIC,sCAAgC;AACpC,4BAAIC;AACJ;;AAEA;AACY,MAAC,KAAK,GAAG;AACrB,uBAAIC,yBAAiB;AACrB,eAAIC,iBAAS;AACb,sBAAIC,wBAAgB;AACpB,qCAAIC,uCAA+B;AACnC,mBAAIC,qBAAa;AACjB,kBAAIC,kBAAY;AAChB,2BAAIC;AACJ;;AAMA,YAAe,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,0BAAEC,4BAAsB,EAAE;;;;;;;;;;;"}
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { MEDIA_STORAGE_DIRECTORY_SOP_CLASS_UID, writeDicomDir, buildDicomDirDataset } from '@dcmjs-org/dicomdir';
|
|
2
|
+
import { PDF_MIME_TYPE, ENCAPSULATED_PDF_SOP_CLASS_UID, extractEncapsulatedPdf, encapsulatedPdfBase, encapsulatePdf, encapsulatedBase, encapsulate } from '@dcmjs-org/encapsulated';
|
|
3
|
+
import { h264TransferSyntaxUID, parseJpegInfo, SECONDARY_CAPTURE_SOP_CLASS_UID, derivedImageBase, imageBase, buildImageDataset } from '@dcmjs-org/imaging';
|
|
4
|
+
import { createVideoEventSource, parseMp4Info, DEFAULT_FRAGMENT_BYTES, VIDEO_PHOTOGRAPHIC_SOP_CLASS_UID, extractEncapsulatedVideo, encapsulateVideo, videoBase, buildVideoDataset } from '@dcmjs-org/video';
|
|
5
|
+
export { createVideoEventSource } from '@dcmjs-org/video';
|
|
6
|
+
|
|
7
|
+
// The @dcmjs-org/media bundle: one dependency for the bulk-data surfaces —
|
|
8
|
+
// DICOMDIR building (@dcmjs-org/dicomdir), Encapsulated PDF wrapping
|
|
9
|
+
// (@dcmjs-org/encapsulated), image building (@dcmjs-org/imaging), and video
|
|
10
|
+
// encapsulation (@dcmjs-org/video) — re-exported under the namespace shapes
|
|
11
|
+
// of dcmjs v2's src/index.js (`media`, `encapsulated`, `image`), so a
|
|
12
|
+
// consumer of `dcmjs.media` / `dcmjs.encapsulated` / `dcmjs.image` reads the
|
|
13
|
+
// same names here. The builders take the createInstance options of
|
|
14
|
+
// @dcmjs-org/core; the base blocks ride along for a custom `baseDicom`.
|
|
15
|
+
|
|
16
|
+
// Media storage (PS3.10): the DICOMDIR builder — dcmjs v2's `media` namespace.
|
|
17
|
+
const media = {
|
|
18
|
+
buildDicomDirDataset,
|
|
19
|
+
writeDicomDir,
|
|
20
|
+
MEDIA_STORAGE_DIRECTORY_SOP_CLASS_UID
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
// Encapsulated payloads (documents and video, in and out) — v2's
|
|
24
|
+
// `encapsulated`.
|
|
25
|
+
const encapsulated = {
|
|
26
|
+
encapsulate,
|
|
27
|
+
encapsulatedBase,
|
|
28
|
+
encapsulatePdf,
|
|
29
|
+
encapsulatedPdfBase,
|
|
30
|
+
extractEncapsulatedPdf,
|
|
31
|
+
ENCAPSULATED_PDF_SOP_CLASS_UID,
|
|
32
|
+
PDF_MIME_TYPE,
|
|
33
|
+
buildVideoDataset,
|
|
34
|
+
videoBase,
|
|
35
|
+
encapsulateVideo,
|
|
36
|
+
extractEncapsulatedVideo,
|
|
37
|
+
VIDEO_PHOTOGRAPHIC_SOP_CLASS_UID,
|
|
38
|
+
DEFAULT_FRAGMENT_BYTES
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
// Image instances from decoded pixels (codec-free) — v2's `image`.
|
|
42
|
+
const image = {
|
|
43
|
+
buildImageDataset,
|
|
44
|
+
imageBase,
|
|
45
|
+
derivedImageBase,
|
|
46
|
+
SECONDARY_CAPTURE_SOP_CLASS_UID,
|
|
47
|
+
parseJpegInfo,
|
|
48
|
+
parseMp4Info,
|
|
49
|
+
h264TransferSyntaxUID
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
var index = { media, encapsulated, image, createVideoEventSource };
|
|
53
|
+
|
|
54
|
+
export { index as default, encapsulated, image, media };
|
|
55
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../src/index.js"],"sourcesContent":["// The @dcmjs-org/media bundle: one dependency for the bulk-data surfaces —\n// DICOMDIR building (@dcmjs-org/dicomdir), Encapsulated PDF wrapping\n// (@dcmjs-org/encapsulated), image building (@dcmjs-org/imaging), and video\n// encapsulation (@dcmjs-org/video) — re-exported under the namespace shapes\n// of dcmjs v2's src/index.js (`media`, `encapsulated`, `image`), so a\n// consumer of `dcmjs.media` / `dcmjs.encapsulated` / `dcmjs.image` reads the\n// same names here. The builders take the createInstance options of\n// @dcmjs-org/core; the base blocks ride along for a custom `baseDicom`.\nimport {\n buildDicomDirDataset,\n writeDicomDir,\n MEDIA_STORAGE_DIRECTORY_SOP_CLASS_UID\n} from \"@dcmjs-org/dicomdir\";\nimport {\n encapsulate,\n encapsulatedBase,\n encapsulatePdf,\n encapsulatedPdfBase,\n extractEncapsulatedPdf,\n ENCAPSULATED_PDF_SOP_CLASS_UID,\n PDF_MIME_TYPE\n} from \"@dcmjs-org/encapsulated\";\nimport {\n buildImageDataset,\n imageBase,\n derivedImageBase,\n SECONDARY_CAPTURE_SOP_CLASS_UID,\n parseJpegInfo,\n h264TransferSyntaxUID\n} from \"@dcmjs-org/imaging\";\nimport {\n buildVideoDataset,\n videoBase,\n encapsulateVideo,\n extractEncapsulatedVideo,\n VIDEO_PHOTOGRAPHIC_SOP_CLASS_UID,\n DEFAULT_FRAGMENT_BYTES,\n parseMp4Info,\n createVideoEventSource\n} from \"@dcmjs-org/video\";\n\n// Media storage (PS3.10): the DICOMDIR builder — dcmjs v2's `media` namespace.\nexport const media = {\n buildDicomDirDataset,\n writeDicomDir,\n MEDIA_STORAGE_DIRECTORY_SOP_CLASS_UID\n};\n\n// Encapsulated payloads (documents and video, in and out) — v2's\n// `encapsulated`.\nexport const encapsulated = {\n encapsulate,\n encapsulatedBase,\n encapsulatePdf,\n encapsulatedPdfBase,\n extractEncapsulatedPdf,\n ENCAPSULATED_PDF_SOP_CLASS_UID,\n PDF_MIME_TYPE,\n buildVideoDataset,\n videoBase,\n encapsulateVideo,\n extractEncapsulatedVideo,\n VIDEO_PHOTOGRAPHIC_SOP_CLASS_UID,\n DEFAULT_FRAGMENT_BYTES\n};\n\n// Image instances from decoded pixels (codec-free) — v2's `image`.\nexport const image = {\n buildImageDataset,\n imageBase,\n derivedImageBase,\n SECONDARY_CAPTURE_SOP_CLASS_UID,\n parseJpegInfo,\n parseMp4Info,\n h264TransferSyntaxUID\n};\n\n// The streaming MP4 → events source has no v2 namespace; it rides along\n// as a named export for event-stream consumers.\nexport { createVideoEventSource };\n\nexport default { media, encapsulated, image, createVideoEventSource };\n"],"names":[],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAkCA;AACY,MAAC,KAAK,GAAG;AACrB,IAAI,oBAAoB;AACxB,IAAI,aAAa;AACjB,IAAI;AACJ;;AAEA;AACA;AACY,MAAC,YAAY,GAAG;AAC5B,IAAI,WAAW;AACf,IAAI,gBAAgB;AACpB,IAAI,cAAc;AAClB,IAAI,mBAAmB;AACvB,IAAI,sBAAsB;AAC1B,IAAI,8BAA8B;AAClC,IAAI,aAAa;AACjB,IAAI,iBAAiB;AACrB,IAAI,SAAS;AACb,IAAI,gBAAgB;AACpB,IAAI,wBAAwB;AAC5B,IAAI,gCAAgC;AACpC,IAAI;AACJ;;AAEA;AACY,MAAC,KAAK,GAAG;AACrB,IAAI,iBAAiB;AACrB,IAAI,SAAS;AACb,IAAI,gBAAgB;AACpB,IAAI,+BAA+B;AACnC,IAAI,aAAa;AACjB,IAAI,YAAY;AAChB,IAAI;AACJ;;AAMA,YAAe,EAAE,KAAK,EAAE,YAAY,EAAE,KAAK,EAAE,sBAAsB,EAAE;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcmjs-org/media",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "1.0.0-beta.10",
|
|
4
|
+
"description": "The dcmjs bulk-data bundle: DICOMDIR building (@dcmjs-org/dicomdir), Encapsulated PDF wrapping (@dcmjs-org/encapsulated), image building (@dcmjs-org/imaging), and video encapsulation (@dcmjs-org/video) re-exported under the stable dcmjs media, encapsulated, and image namespaces",
|
|
5
|
+
"main": "./dist/index.cjs",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"import": "./dist/index.mjs",
|
|
9
|
+
"require": "./dist/index.cjs"
|
|
10
|
+
},
|
|
11
|
+
"./package.json": "./package.json"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist",
|
|
15
|
+
"README.md"
|
|
16
|
+
],
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/dcmjs-org/dcmjs.git",
|
|
21
|
+
"directory": "packages/media"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@dcmjs-org/dicomdir": "1.0.0-beta.10",
|
|
25
|
+
"@dcmjs-org/encapsulated": "1.0.0-beta.10",
|
|
26
|
+
"@dcmjs-org/imaging": "1.0.0-beta.10",
|
|
27
|
+
"@dcmjs-org/video": "1.0.0-beta.10"
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"build": "rollup -c ../../rollup.packages.config.mjs"
|
|
31
|
+
},
|
|
32
|
+
"module": "./dist/index.mjs"
|
|
6
33
|
}
|