@abi-software/map-side-bar 1.4.3-context-card-disabled → 1.4.5-context-card-disabled
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.common.js +114 -3788
- package/dist/map-side-bar.common.js.map +1 -1
- package/dist/map-side-bar.css +1 -1
- package/dist/map-side-bar.umd.js +114 -3788
- package/dist/map-side-bar.umd.js.map +1 -1
- package/dist/map-side-bar.umd.min.js +2 -2
- package/dist/map-side-bar.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/SideBar.vue +1 -1
- package/src/components/SidebarContent.vue +1 -12
package/package.json
CHANGED
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<el-card :body-style="bodyStyle" class="content-card">
|
|
3
3
|
<div slot="header" class="header">
|
|
4
|
-
<context-card
|
|
5
|
-
v-if="contextCardEntry && contextCardEnabled"
|
|
6
|
-
:entry="contextCardEntry"
|
|
7
|
-
:envVars="envVars"
|
|
8
|
-
/>
|
|
9
4
|
<el-input
|
|
10
5
|
class="search-input"
|
|
11
6
|
placeholder="Search"
|
|
@@ -34,7 +29,6 @@
|
|
|
34
29
|
<DatasetCard
|
|
35
30
|
:entry="result"
|
|
36
31
|
:envVars="envVars"
|
|
37
|
-
@contextUpdate="contextCardUpdate"
|
|
38
32
|
></DatasetCard>
|
|
39
33
|
</div>
|
|
40
34
|
<el-pagination
|
|
@@ -68,7 +62,6 @@ import lang from "element-ui/lib/locale/lang/en";
|
|
|
68
62
|
import locale from "element-ui/lib/locale";
|
|
69
63
|
import SearchFilters from "./SearchFilters";
|
|
70
64
|
import DatasetCard from "./DatasetCard";
|
|
71
|
-
import ContextCard from "./ContextCard.vue";
|
|
72
65
|
import EventBus from "./EventBus";
|
|
73
66
|
|
|
74
67
|
import { AlgoliaClient } from "../algolia/algolia.js";
|
|
@@ -109,12 +102,11 @@ var initial_state = {
|
|
|
109
102
|
pageModel: 1,
|
|
110
103
|
start: 0,
|
|
111
104
|
hasSearched: false,
|
|
112
|
-
contextCardEntry: undefined,
|
|
113
105
|
contextCardEnabled: false,
|
|
114
106
|
};
|
|
115
107
|
|
|
116
108
|
export default {
|
|
117
|
-
components: { SearchFilters, DatasetCard
|
|
109
|
+
components: { SearchFilters, DatasetCard },
|
|
118
110
|
name: "SideBarContent",
|
|
119
111
|
props: {
|
|
120
112
|
visible: {
|
|
@@ -155,9 +147,6 @@ export default {
|
|
|
155
147
|
},
|
|
156
148
|
},
|
|
157
149
|
methods: {
|
|
158
|
-
contextCardUpdate: function (val) {
|
|
159
|
-
this.contextCardEntry = val;
|
|
160
|
-
},
|
|
161
150
|
resetSearch: function () {
|
|
162
151
|
this.numberOfHits = 0;
|
|
163
152
|
this.discoverIds = [];
|