@abi-software/map-utilities 0.0.0-beta.1 → 0.0.0-beta.3

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/package.json CHANGED
@@ -1,12 +1,22 @@
1
1
  {
2
2
  "name": "@abi-software/map-utilities",
3
- "version": "0.0.0-beta.1",
3
+ "version": "0.0.0-beta.3",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "serve": "vite",
7
7
  "build-bundle": "vite build",
8
8
  "preview": "vite preview"
9
9
  },
10
+ "main": "./dist/map-utilities.umd.cjs",
11
+ "module": "./dist/map-utilities.js",
12
+ "exports": {
13
+ ".": {
14
+ "import": "./dist/map-utilities.js",
15
+ "require": "./dist/map-utilities.umd.cjs"
16
+ },
17
+ "./dist/style.css": "./dist/style.css",
18
+ "./src/*": "./src/*"
19
+ },
10
20
  "dependencies": {
11
21
  "@abi-software/svg-sprite": "^1.0.0",
12
22
  "@element-plus/icons-vue": "^2.3.1",
@@ -147,7 +147,7 @@
147
147
 
148
148
  <script>
149
149
  export default {
150
- name: "AnnotationTool",
150
+ name: "AnnotationPopup",
151
151
  props: {
152
152
  annotationEntry: {
153
153
  type: Object,
@@ -21,7 +21,7 @@
21
21
  import { shallowRef } from "vue";
22
22
  import { Notebook as ElIconNotebook } from "@element-plus/icons-vue";
23
23
 
24
- import EventBus from "../EventBus";
24
+ import EventBus from "../EventBus.js";
25
25
 
26
26
  export default {
27
27
  name: "ExternalResourceCard",
@@ -169,7 +169,7 @@
169
169
  </template>
170
170
 
171
171
  <script>
172
- import EventBus from "../EventBus";
172
+ import EventBus from "../EventBus.js";
173
173
 
174
174
  const titleCase = (str) => {
175
175
  return str.replace(/\w\S*/g, (t) => {
package/src/main.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { createApp } from "vue";
2
2
  import App from "./App.vue";
3
3
 
4
- import DrawToolbar from "./DrawToolbar/DrawToolbar.vue";
5
- import HelpModeDialog from "./HelpModeDialog/HelpModeDialog.vue";
6
- import Tooltip from "./Tooltip/Tooltip.vue";
7
- import TreeControls from "./TreeControls/TreeControls.vue";
4
+ import DrawToolbar from "./components/DrawToolbar/DrawToolbar.vue";
5
+ import HelpModeDialog from "./components/HelpModeDialog/HelpModeDialog.vue";
6
+ import Tooltip from "./components/Tooltip/Tooltip.vue";
7
+ import TreeControls from "./components/TreeControls/TreeControls.vue";
8
8
 
9
9
  const app = createApp(App);
10
10