druxt-views 0.19.1 → 0.20.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.
|
@@ -281,7 +281,7 @@ export default {
|
|
|
281
281
|
},
|
|
282
282
|
|
|
283
283
|
watch: {
|
|
284
|
-
|
|
284
|
+
'$route.query'(to) {
|
|
285
285
|
if (!Object.entries(to || {}).length) {
|
|
286
286
|
this.model = {
|
|
287
287
|
filter: {},
|
|
@@ -291,42 +291,42 @@ export default {
|
|
|
291
291
|
}
|
|
292
292
|
},
|
|
293
293
|
|
|
294
|
-
|
|
295
|
-
|
|
294
|
+
arguments() {
|
|
295
|
+
this.$fetch()
|
|
296
|
+
},
|
|
297
|
+
|
|
298
|
+
displayId() {
|
|
299
|
+
this.$fetch()
|
|
296
300
|
},
|
|
297
301
|
|
|
298
302
|
'model.filter': {
|
|
299
303
|
deep: true,
|
|
300
|
-
|
|
304
|
+
handler(to, from) {
|
|
301
305
|
if (!Object.entries(to || {}).length && !Object.entries(from || {}).length) {
|
|
302
306
|
return
|
|
303
307
|
}
|
|
304
|
-
|
|
308
|
+
this.$fetch()
|
|
305
309
|
},
|
|
306
310
|
},
|
|
307
311
|
|
|
308
|
-
|
|
312
|
+
'model.page'(to, from) {
|
|
309
313
|
if (to !== from) {
|
|
310
|
-
|
|
314
|
+
this.$fetch()
|
|
311
315
|
}
|
|
312
316
|
},
|
|
313
317
|
|
|
314
|
-
|
|
318
|
+
'model.sort'(to, from) {
|
|
315
319
|
if (to !== from) {
|
|
316
|
-
|
|
320
|
+
this.$fetch()
|
|
317
321
|
}
|
|
318
322
|
},
|
|
319
323
|
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
},
|
|
323
|
-
|
|
324
|
-
async uuid() {
|
|
325
|
-
await this.$fetch()
|
|
324
|
+
uuid() {
|
|
325
|
+
this.$fetch()
|
|
326
326
|
},
|
|
327
327
|
|
|
328
|
-
|
|
329
|
-
|
|
328
|
+
viewId() {
|
|
329
|
+
this.$fetch()
|
|
330
330
|
},
|
|
331
331
|
},
|
|
332
332
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "druxt-views",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "Drupal Views components for Druxt with support for filters, pagination and sorting.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"axios": "^0.27.2",
|
|
45
45
|
"deepmerge": "^4.2.2",
|
|
46
46
|
"drupal-jsonapi-params": "^2.0.0",
|
|
47
|
-
"druxt": "^0.
|
|
48
|
-
"druxt-blocks": "^0.16.
|
|
49
|
-
"druxt-entity": "^0.
|
|
50
|
-
"druxt-router": "^0.
|
|
47
|
+
"druxt": "^0.20.0",
|
|
48
|
+
"druxt-blocks": "^0.16.3",
|
|
49
|
+
"druxt-entity": "^0.26.0",
|
|
50
|
+
"druxt-router": "^0.28.0",
|
|
51
51
|
"md5": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"optionalDependencies": {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import DruxtView from 'druxt-views/dist/components/DruxtView.vue'
|
|
2
|
+
import DruxtModule from 'druxt/dist/components/DruxtModule.vue'
|
|
3
|
+
|
|
4
|
+
DruxtView.__docgenInfo.props = [
|
|
5
|
+
...DruxtModule.__docgenInfo.props,
|
|
6
|
+
...DruxtView.__docgenInfo.props,
|
|
7
|
+
].sort((a, b) => a.name < b.name ? -1 : 1).filter((o) => o.name !== 'v-model')
|
|
2
8
|
|
|
3
9
|
export default {
|
|
4
10
|
title: 'Druxt/Views/DruxtView',
|