triiiceratops 0.12.7 → 0.12.8
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/README.md +44 -9
- package/dist/{ArrowCounterClockwise-BkrSndVO.js → ArrowCounterClockwise-DvXnnh0Z.js} +1 -1
- package/dist/{Check-CB_Zdp64.js → Check-BUdiej1n.js} +1 -1
- package/dist/{X-B3XldraD.js → X-DaQiCkfE.js} +225 -218
- package/dist/components/AnnotationOverlay.svelte +33 -248
- package/dist/components/AnnotationPanel.svelte +269 -0
- package/dist/components/AnnotationPanel.svelte.d.ts +3 -0
- package/dist/components/OSDViewer.svelte +0 -2
- package/dist/components/SettingsMenu.svelte +87 -1
- package/dist/components/TriiiceratopsViewer.svelte +19 -0
- package/dist/{image_filters_reset-jtpS22ff.js → image_filters_reset-P5hB896L.js} +1 -1
- package/dist/plugins/annotation-editor.js +3 -3
- package/dist/plugins/image-manipulation.js +3 -3
- package/dist/state/viewer.svelte.d.ts +1 -0
- package/dist/state/viewer.svelte.js +1 -0
- package/dist/triiiceratops-bundle.js +3393 -3329
- package/dist/triiiceratops-element.iife.js +24 -24
- package/dist/triiiceratops.css +1 -1
- package/dist/types/config.d.ts +15 -0
- package/package.json +1 -1
package/dist/types/config.d.ts
CHANGED
|
@@ -88,6 +88,21 @@ export interface AnnotationsConfig {
|
|
|
88
88
|
* @default false
|
|
89
89
|
*/
|
|
90
90
|
visible?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Whether to show the close button.
|
|
93
|
+
* @default true
|
|
94
|
+
*/
|
|
95
|
+
showCloseButton?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* Where the annotations panel should appear.
|
|
98
|
+
* @default 'right'
|
|
99
|
+
*/
|
|
100
|
+
position?: 'left' | 'right';
|
|
101
|
+
/**
|
|
102
|
+
* Width of the annotations panel.
|
|
103
|
+
* @default '320px'
|
|
104
|
+
*/
|
|
105
|
+
width?: string;
|
|
91
106
|
}
|
|
92
107
|
export interface ToolbarConfig {
|
|
93
108
|
/**
|