@abi-software/gallery 0.2.1-beta-2 → 0.2.1-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/dist/gallery.common.js +62290 -1429
- package/dist/gallery.common.js.map +1 -1
- package/dist/gallery.umd.js +62291 -1430
- package/dist/gallery.umd.js.map +1 -1
- package/dist/gallery.umd.min.js +16 -1
- package/dist/gallery.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Card.vue +8 -0
- package/src/components/Gallery.vue +3 -3
- package/src/main.js +2 -8
- package/dist/img/logo.82b9c7a5.png +0 -0
package/package.json
CHANGED
package/src/components/Card.vue
CHANGED
|
@@ -33,6 +33,14 @@
|
|
|
33
33
|
</template>
|
|
34
34
|
|
|
35
35
|
<script>
|
|
36
|
+
import Vue from "vue";
|
|
37
|
+
import { Card, Button, Tooltip, Loading } from "element-ui";
|
|
38
|
+
|
|
39
|
+
Vue.use(Card)
|
|
40
|
+
Vue.use(Button)
|
|
41
|
+
Vue.use(Tooltip)
|
|
42
|
+
Vue.use(Loading)
|
|
43
|
+
|
|
36
44
|
export default {
|
|
37
45
|
name: 'GalleryCard',
|
|
38
46
|
props: {
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
</a>
|
|
7
7
|
<div class="filler" />
|
|
8
8
|
<div class="card-line">
|
|
9
|
-
<span v-for="(item, index) in windowedItems" :key="'
|
|
10
|
-
<card
|
|
9
|
+
<span v-for="(item, index) in windowedItems" :key="'span_' + index" :class="['key-image-span', { active: isActive(index) }]">
|
|
10
|
+
<card v-if="item !== undefined" :key="'card_' + index" :entry="item" :width="cardWidth" :height="cardHeight" :show-card-details="showCardDetails" />
|
|
11
11
|
</span>
|
|
12
12
|
</div>
|
|
13
13
|
<div class="filler" />
|
|
@@ -43,7 +43,7 @@ export default {
|
|
|
43
43
|
},
|
|
44
44
|
maxWidth: {
|
|
45
45
|
type: Number,
|
|
46
|
-
default:
|
|
46
|
+
default: 3
|
|
47
47
|
},
|
|
48
48
|
cardWidth: {
|
|
49
49
|
type: Number,
|
package/src/main.js
CHANGED
|
Binary file
|