@abi-software/map-side-bar 2.14.7 → 2.14.8-demo.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/dist/map-side-bar.js +9768 -8732
- package/dist/map-side-bar.umd.cjs +77 -72
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +11 -4
- package/src/components/CellCard.vue +946 -0
- package/src/components/CellCardExplorer.vue +754 -0
- package/src/components/ConnectivityCard.vue +2 -2
- package/src/components/ConnectivityInfo.vue +3 -46
- package/src/components/SearchFilters.vue +10 -9
- package/src/components/SearchHistory.vue +1 -14
- package/src/components/SideBar.vue +82 -1
- package/src/components/Tabs.vue +15 -6
- package/src/components/icons/IconOpenExternal.vue +28 -0
- package/src/components.d.ts +3 -0
- package/src/utils/common.js +71 -0
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
<el-button @click="getFacets">Get facets</el-button>
|
|
20
20
|
<el-button @click="toggleCreateData">Create Data/Annotation</el-button>
|
|
21
21
|
<el-button @click="openConnectivitySearch()">Connectivity Search</el-button>
|
|
22
|
+
<el-button @click="showCellCardExplorer()">Show Cell Card Explorer</el-button>
|
|
22
23
|
</div>
|
|
23
24
|
<SideBar
|
|
24
25
|
:envVars="envVars"
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
:connectivityEntry="connectivityEntry"
|
|
31
32
|
:connectivityKnowledge="connectivityKnowledge"
|
|
32
33
|
:showVisibilityFilter="true"
|
|
34
|
+
:showCellCards="showCellCards"
|
|
33
35
|
@search-changed="searchChanged($event)"
|
|
34
36
|
@hover-changed="hoverChanged($event)"
|
|
35
37
|
@connectivity-hovered="onConnectivityHovered"
|
|
@@ -45,9 +47,7 @@
|
|
|
45
47
|
import SideBar from './components/SideBar.vue'
|
|
46
48
|
import EventBus from './components/EventBus.js'
|
|
47
49
|
import exampleConnectivityInput from './exampleConnectivityInput.js'
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
const capitalise = (str) => str.charAt(0).toUpperCase() + str.slice(1);
|
|
50
|
+
import { capitalise } from './utils/common.js'
|
|
51
51
|
|
|
52
52
|
const flatmapQuery = (flatmapApi, sql) => {
|
|
53
53
|
const data = { sql: sql };
|
|
@@ -136,6 +136,7 @@ export default {
|
|
|
136
136
|
BL_SERVER_URL: import.meta.env.VITE_APP_BL_SERVER_URL,
|
|
137
137
|
ROOT_URL: import.meta.env.VITE_APP_ROOT_URL,
|
|
138
138
|
FLATMAPAPI_LOCATION: import.meta.env.VITE_FLATMAPAPI_LOCATION,
|
|
139
|
+
CELL_CARDS_API: import.meta.env.VITE_APP_CELL_CARDS_API,
|
|
139
140
|
},
|
|
140
141
|
connectivityEntry: [],
|
|
141
142
|
createData: {
|
|
@@ -152,6 +153,7 @@ export default {
|
|
|
152
153
|
query: '',
|
|
153
154
|
filter: [],
|
|
154
155
|
target: [],
|
|
156
|
+
showCellCards: false,
|
|
155
157
|
}
|
|
156
158
|
},
|
|
157
159
|
methods: {
|
|
@@ -366,7 +368,12 @@ export default {
|
|
|
366
368
|
},
|
|
367
369
|
onConnectivityCollapseChange: function () {
|
|
368
370
|
this.connectivityEntry = [...exampleConnectivityInput]
|
|
369
|
-
}
|
|
371
|
+
},
|
|
372
|
+
showCellCardExplorer: function () {
|
|
373
|
+
this.showCellCards = true;
|
|
374
|
+
this.$refs.sideBar.tabClicked({ id: 4, type: 'cellCardExplorer' });
|
|
375
|
+
this.$refs.sideBar.setDrawerOpen(true);
|
|
376
|
+
},
|
|
370
377
|
},
|
|
371
378
|
mounted: async function () {
|
|
372
379
|
console.log('mounted app')
|