druxt-views 0.20.0 → 0.21.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.
@@ -641,6 +641,16 @@ export default {
641
641
 
642
642
  return scopedSlots
643
643
  },
644
+
645
+ /**
646
+ * Druxt development template tool configuration.
647
+ */
648
+ template: {
649
+ debug: "{ view, results }",
650
+ mixins: {
651
+ 'DruxtViewsViewMixin': 'druxt-views'
652
+ }
653
+ }
644
654
  }
645
655
  }
646
656
 
@@ -44,7 +44,17 @@ export default {
44
44
  * @param {object} context - The module component ViewModel.
45
45
  * @returns {PropsData}
46
46
  */
47
- propsData: ({ filter, model }) => ({ filter, value: model })
47
+ propsData: ({ filter, model }) => ({ filter, value: model }),
48
+
49
+ /**
50
+ * Druxt development template tool configuration.
51
+ */
52
+ template: {
53
+ debug: "{ filter, model }",
54
+ mixins: {
55
+ 'DruxtViewsFilterMixin': 'druxt-views'
56
+ }
57
+ }
48
58
  },
49
59
  }
50
60
 
@@ -115,6 +115,16 @@ export default {
115
115
 
116
116
  return scopedSlots
117
117
  },
118
+
119
+ /**
120
+ * Druxt development template tool configuration.
121
+ */
122
+ template: {
123
+ debug: "{ options, filters, model, type }",
124
+ mixins: {
125
+ 'DruxtViewsFiltersMixin': 'druxt-views'
126
+ }
127
+ }
118
128
  },
119
129
  }
120
130
 
@@ -167,6 +167,16 @@ export default {
167
167
  ]),
168
168
  ])
169
169
  }
170
+ },
171
+
172
+ /**
173
+ * Druxt development template tool configuration.
174
+ */
175
+ template: {
176
+ debug: "{ count, options, resource, type, model }",
177
+ mixins: {
178
+ 'DruxtViewsPagerMixin': 'druxt-views'
179
+ }
170
180
  }
171
181
  }
172
182
  }
@@ -112,6 +112,16 @@ export default {
112
112
  ])))
113
113
  ]),
114
114
  }
115
+ },
116
+
117
+ /**
118
+ * Druxt development template tool configuration.
119
+ */
120
+ template: {
121
+ debug: "{ model, options, sorts, type }",
122
+ mixins: {
123
+ 'DruxtViewsSortsMixin': 'druxt-views'
124
+ }
115
125
  }
116
126
  }
117
127
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "druxt-views",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "Drupal Views components for Druxt with support for filters, pagination and sorting.",
5
5
  "keywords": [
6
6
  "cms",
@@ -43,15 +43,15 @@
43
43
  "dependencies": {
44
44
  "axios": "^0.27.2",
45
45
  "deepmerge": "^4.2.2",
46
- "drupal-jsonapi-params": "^2.0.0",
47
- "druxt": "^0.20.0",
48
- "druxt-blocks": "^0.16.3",
49
- "druxt-entity": "^0.26.0",
50
- "druxt-router": "^0.28.0",
46
+ "drupal-jsonapi-params": "^2.1.0",
47
+ "druxt": "^0.21.0",
48
+ "druxt-blocks": "^0.17.0",
49
+ "druxt-entity": "^0.27.0",
50
+ "druxt-router": "^0.29.0",
51
51
  "md5": "^2.3.0"
52
52
  },
53
53
  "optionalDependencies": {
54
- "vue": "^2.6.14",
54
+ "vue": "^2.7.10",
55
55
  "vuex": "^3.6.2"
56
56
  },
57
57
  "publishConfig": {