@mapomodule/uikit 1.0.0-alpha.34 → 1.0.0-alpha.35
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.0.0-alpha.35](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.34...v1.0.0-alpha.35) (2022-11-11)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fix mime type filtering for new media manager ([bbd1a9b](https://github.com/lotrekagency/mapo/commit/bbd1a9ba6ef6f17980c9bf534060b3add658fefe))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [1.0.0-alpha.34](https://github.com/lotrekagency/mapo/compare/v1.0.0-alpha.33...v1.0.0-alpha.34) (2022-11-11)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -10,12 +10,18 @@
|
|
|
10
10
|
class="elevation-4 media-gallery--selection-item"
|
|
11
11
|
/>
|
|
12
12
|
</div>
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
<div class="media-gallery--loading" v-if="loading">
|
|
14
|
+
<v-progress-circular
|
|
15
|
+
size="60"
|
|
16
|
+
color="primary"
|
|
17
|
+
indeterminate
|
|
18
|
+
></v-progress-circular>
|
|
19
|
+
</div>
|
|
20
|
+
<div class="media-gallery--empty" v-else-if="!medias.length">
|
|
15
21
|
<v-icon size="60"> mdi-image-off-outline </v-icon>
|
|
16
22
|
<p>{{ $t("mapo.mediaGallery.noMediaFound") }}</p>
|
|
17
23
|
</div>
|
|
18
|
-
<div class="media-gallery--masonry" v-
|
|
24
|
+
<div class="media-gallery--masonry" v-else>
|
|
19
25
|
<div
|
|
20
26
|
v-for="media in medias"
|
|
21
27
|
:key="media.file"
|
|
@@ -112,6 +118,14 @@ $wcol: calc(100% / 6 - 12px);
|
|
|
112
118
|
justify-content: center;
|
|
113
119
|
text-align: center;
|
|
114
120
|
}
|
|
121
|
+
.media-gallery--loading{
|
|
122
|
+
height: 100%;
|
|
123
|
+
display: flex;
|
|
124
|
+
flex-direction: column;
|
|
125
|
+
align-items: center;
|
|
126
|
+
justify-content: center;
|
|
127
|
+
text-align: center;
|
|
128
|
+
}
|
|
115
129
|
|
|
116
130
|
.media-gallery--selection {
|
|
117
131
|
min-height: 60px;
|
|
@@ -158,7 +172,7 @@ import { mapGetters, mapActions } from "vuex"
|
|
|
158
172
|
export default {
|
|
159
173
|
name: "MediaGallery",
|
|
160
174
|
computed: {
|
|
161
|
-
...mapGetters("mapo/media", ["page", "pages", "medias", "selection", "selectMode"]),
|
|
175
|
+
...mapGetters("mapo/media", ["page", "pages", "medias", "selection", "selectMode", "loading"]),
|
|
162
176
|
currentPage: {
|
|
163
177
|
get() {
|
|
164
178
|
return this.page;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapomodule/uikit",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.35",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "This is part of Mapo nuxt module. Injects Mapo ui components in the nuxt component discovery system.",
|
|
6
6
|
"author": "bnznamco <gabriele.baldi.01@gmail.com>",
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
"publishConfig": {
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "dd40443bd7e5fdaf91799444f59faae5a6dd03bf"
|
|
19
19
|
}
|