druxt-views 0.18.1 → 0.18.2
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.
|
@@ -413,7 +413,11 @@ export default {
|
|
|
413
413
|
* @param {object} context - The module component ViewModel.
|
|
414
414
|
* @returns {ComponentOptions}
|
|
415
415
|
*/
|
|
416
|
-
componentOptions: ({ displayId, uuid, viewId }) => ([
|
|
416
|
+
componentOptions: ({ displayId, uuid, view, viewId }) => ([
|
|
417
|
+
[viewId || ((view.data || {}).attributes || {}).drupal_internal__id, displayId],
|
|
418
|
+
[uuid || (view.data || {}).id, displayId],
|
|
419
|
+
[displayId]
|
|
420
|
+
]),
|
|
417
421
|
|
|
418
422
|
/**
|
|
419
423
|
* Fetch View configuration resource.
|
|
@@ -639,13 +643,19 @@ export default {
|
|
|
639
643
|
* @example @lang js
|
|
640
644
|
* [
|
|
641
645
|
* 'DruxtView[ViewId][DisplayId]',
|
|
642
|
-
* 'DruxtView[ViewId]'
|
|
646
|
+
* 'DruxtView[ViewId]',
|
|
647
|
+
* 'DruxtView[UUID][DisplayId]',
|
|
648
|
+
* 'DruxtView[UUID]',
|
|
649
|
+
* 'DruxtView[DisplayId]',
|
|
643
650
|
* ]
|
|
644
651
|
*
|
|
645
652
|
* @example <caption>featured_articles (default)</caption> @lang js
|
|
646
653
|
* [
|
|
647
654
|
* 'DruxtViewFeaturedArticlesDefault',
|
|
648
|
-
* 'DruxtViewFeaturedArticles'
|
|
655
|
+
* 'DruxtViewFeaturedArticles',
|
|
656
|
+
* 'DruxtView16f5d68e5bae4d7aa61c6b2bc3b6d3b6Default',
|
|
657
|
+
* 'DruxtView16f5d68e5bae4d7aa61c6b2bc3b6d3b6',
|
|
658
|
+
* 'DruxtViewDefault',
|
|
649
659
|
* ]
|
|
650
660
|
*/
|
|
651
661
|
|
|
@@ -22,7 +22,7 @@ import { DruxtBlocksBlockMixin } from 'druxt-blocks'
|
|
|
22
22
|
* uuid="43d613c6-ab66-453d-bce1-e1dfc990b4a1"
|
|
23
23
|
* />
|
|
24
24
|
*
|
|
25
|
-
* @see {@link https://blocks.druxtjs.org/api/components/DruxtBlock
|
|
25
|
+
* @see {@link https://blocks.druxtjs.org/api/components/DruxtBlock|DruxtBlock}
|
|
26
26
|
*/
|
|
27
27
|
export default {
|
|
28
28
|
name: 'DruxtBlockViewsBlock',
|
|
@@ -30,7 +30,7 @@ export default {
|
|
|
30
30
|
/**
|
|
31
31
|
* Vue.js Mixins.
|
|
32
32
|
*
|
|
33
|
-
* @see {@link https://blocks.druxtjs.org/api/mixins/block
|
|
33
|
+
* @see {@link https://blocks.druxtjs.org/api/mixins/block|DruxtBlocksBlockMixin}
|
|
34
34
|
*/
|
|
35
35
|
mixins: [DruxtBlocksBlockMixin],
|
|
36
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "druxt-views",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.2",
|
|
4
4
|
"description": "Drupal Views components for Druxt with support for filters, pagination and sorting.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"axios": "^0.21.1",
|
|
45
45
|
"deepmerge": "^4.2.2",
|
|
46
|
-
"drupal-jsonapi-params": "^
|
|
47
|
-
"druxt": "^0.18.
|
|
48
|
-
"druxt-blocks": "^0.15.
|
|
49
|
-
"druxt-entity": "^0.24.
|
|
46
|
+
"drupal-jsonapi-params": "^2.0.0",
|
|
47
|
+
"druxt": "^0.18.2",
|
|
48
|
+
"druxt-blocks": "^0.15.2",
|
|
49
|
+
"druxt-entity": "^0.24.3",
|
|
50
50
|
"druxt-router": "^0.26.1",
|
|
51
51
|
"md5": "^2.3.0"
|
|
52
52
|
},
|