druxt-views 0.16.1 → 0.17.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.
@@ -1,17 +1,3 @@
1
- <template>
2
- <component
3
- :is="(wrapper || {}).component || 'div'"
4
- v-if="!$fetchState.pending"
5
- v-bind="(wrapper || {}).propsData"
6
- >
7
- <component
8
- :is="component.is"
9
- v-model="model"
10
- v-bind="component.propsData"
11
- />
12
- </component>
13
- </template>
14
-
15
1
  <script>
16
2
 
17
3
  import DruxtModule from 'druxt/dist/components/DruxtModule.vue'
@@ -38,14 +24,6 @@ export default {
38
24
  },
39
25
  },
40
26
 
41
- watch: {
42
- model(to, from) {
43
- if (to !== from) {
44
- this.$emit('input', this.model)
45
- }
46
- }
47
- },
48
-
49
27
  /** DruxtModule settings */
50
28
  druxt: {
51
29
  /**
@@ -71,7 +71,6 @@ const DruxtViewsNuxtModule = function(moduleOptions = {}) {
71
71
  await DruxtViewsStorybook.call(this, { stories });
72
72
  });
73
73
  };
74
- DruxtViewsNuxtModule.meta = require("../package.json");
75
74
 
76
75
  const DruxtViewsStore = ({ store }) => {
77
76
  if (typeof store === "undefined") {
@@ -278,5 +277,7 @@ const DruxtViewsViewMixin = {
278
277
  }
279
278
  };
280
279
 
280
+ DruxtViewsNuxtModule.meta = require("../package.json");
281
+
281
282
  export default DruxtViewsNuxtModule;
282
283
  export { DruxtViewsFilterMixin, DruxtViewsFiltersMixin, DruxtViewsPagerMixin, DruxtViewsSortsMixin, DruxtViewsStore, DruxtViewsViewMixin };
@@ -80,7 +80,6 @@ const DruxtViewsNuxtModule = function(moduleOptions = {}) {
80
80
  await DruxtViewsStorybook.call(this, { stories });
81
81
  });
82
82
  };
83
- DruxtViewsNuxtModule.meta = require("../package.json");
84
83
 
85
84
  const DruxtViewsStore = ({ store }) => {
86
85
  if (typeof store === "undefined") {
@@ -287,6 +286,8 @@ const DruxtViewsViewMixin = {
287
286
  }
288
287
  };
289
288
 
289
+ DruxtViewsNuxtModule.meta = require("../package.json");
290
+
290
291
  exports.DruxtViewsFilterMixin = DruxtViewsFilterMixin;
291
292
  exports.DruxtViewsFiltersMixin = DruxtViewsFiltersMixin;
292
293
  exports.DruxtViewsPagerMixin = DruxtViewsPagerMixin;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "druxt-views",
3
- "version": "0.16.1",
3
+ "version": "0.17.2",
4
4
  "description": "Drupal Views components for Druxt with support for filters, pagination and sorting.",
5
5
  "keywords": [
6
6
  "cms",
@@ -38,17 +38,16 @@
38
38
  "module": "dist/druxt-views.esm.js",
39
39
  "files": [
40
40
  "dist",
41
- "nuxt",
42
41
  "templates"
43
42
  ],
44
43
  "dependencies": {
45
44
  "axios": "^0.21.1",
46
45
  "deepmerge": "^4.2.2",
47
46
  "drupal-jsonapi-params": "^1.1.12",
48
- "druxt": "^0.13.0",
49
- "druxt-blocks": "^0.14.1",
50
- "druxt-entity": "^0.21.2",
51
- "druxt-router": "^0.24.0",
47
+ "druxt": "^0.16.0",
48
+ "druxt-blocks": "^0.14.5",
49
+ "druxt-entity": "^0.23.0",
50
+ "druxt-router": "^0.25.0",
52
51
  "md5": "^2.3.0"
53
52
  },
54
53
  "optionalDependencies": {
package/CHANGELOG.md DELETED
@@ -1,273 +0,0 @@
1
- # druxt-views
2
-
3
- ## 0.16.1
4
-
5
- ### Patch Changes
6
-
7
- - Updated dependencies [9161b38]
8
- - druxt-router@0.24.0
9
- - druxt-blocks@0.14.1
10
- - druxt-entity@0.21.2
11
-
12
- ## 0.16.0
13
-
14
- ### Minor Changes
15
-
16
- - e7b1533: Refactored DruxtModule fetch hooks
17
-
18
- ### Patch Changes
19
-
20
- - d80f5d4: Fixed issue with undefined wrapper in DruxtViewsFilter
21
- - Updated dependencies [025315a]
22
- - druxt-entity@0.21.0
23
- - druxt-blocks@0.14.0
24
- - druxt@0.13.0
25
- - druxt-router@0.23.0
26
-
27
- ## 0.15.0
28
-
29
- ### Minor Changes
30
-
31
- - c769243: Added support for Contextual filters (arguments)
32
-
33
- ```vue
34
- <DruxtView
35
- :arguments="[1, 2, 3]"
36
- displayid="block_1"
37
- view-id="articles_aside"
38
- />
39
- ```
40
-
41
- ### Patch Changes
42
-
43
- - Updated dependencies [4504a2f]
44
- - druxt@0.12.0
45
- - druxt-router@0.22.0
46
- - druxt-entity@0.20.0
47
- - druxt-blocks@0.13.1
48
-
49
- ## 0.14.1
50
-
51
- ### Patch Changes
52
-
53
- - b9e5839: Fixed missing templates in package
54
-
55
- ## 0.14.0
56
-
57
- ### Minor Changes
58
-
59
- - dae345e: Moved `$druxtViews` plugin settings to `$druxt.settings.views`
60
- - dae345e: Added module level options
61
- - 8d28c18: Updated storybook integration
62
-
63
- ### Patch Changes
64
-
65
- - 4da7fd3: Fixed errors when no props provided to component
66
- - Updated dependencies [9d905e8]
67
- - druxt-router@0.21.0
68
- - druxt-blocks@0.13.0
69
- - druxt-entity@0.19.0
70
- - druxt@0.11.0
71
-
72
- ## 0.13.0
73
-
74
- ### Minor Changes
75
-
76
- - 715e5ef: Updated component registration method to use the Nuxt `components:dirs` hook
77
-
78
- ### Patch Changes
79
-
80
- - 49454cb: Fixed path to components in Storybook
81
- - Updated dependencies [1ab762c]
82
- - druxt-router@0.20.0
83
- - druxt-blocks@0.12.0
84
- - druxt@0.10.0
85
- - druxt-entity@0.18.0
86
-
87
- ## 0.12.1
88
-
89
- ### Patch Changes
90
-
91
- - c4616df: Fixed dependencies
92
- - Updated dependencies [c4616df]
93
- - druxt-blocks@0.11.1
94
- - druxt-entity@0.17.1
95
- - druxt-router@0.19.1
96
-
97
- ## 0.12.0
98
-
99
- ### Minor Changes
100
-
101
- - 21170fb: Moved Vue components out of bundle
102
-
103
- ⚠ Potential breaking change
104
-
105
- _**Note:** This only effects custom Druxt modules and implementations._
106
-
107
- ```diff
108
- -import { DruxtView } from 'druxt-views'
109
- +import DruxtView from 'druxt-views/dist/components/DruxtView.vue'
110
- ```
111
-
112
- ### Patch Changes
113
-
114
- - Updated dependencies [21170fb]
115
- - druxt-blocks@0.11.0
116
- - druxt@0.9.0
117
- - druxt-entity@0.17.0
118
- - druxt-router@0.19.0
119
-
120
- ## 0.11.0
121
-
122
- ### Minor Changes
123
-
124
- - Added support for default template injection
125
-
126
- - For details, see the [Druxt 0.8.0 release notes](/api/packages/druxt/CHANGELOG#080)
127
-
128
- - Added ability to load by UUID or View ID
129
-
130
- ## 0.10.0
131
-
132
- ### Minor Changes
133
-
134
- - Added empty content to results slot if no results
135
-
136
- ## 0.9.3
137
-
138
- ### Patch Changes
139
-
140
- - Fixed issue with model filter forcing a refresh
141
-
142
- ## 0.9.2
143
-
144
- ### Patch Changes
145
-
146
- - Added fetchKey to fix hydration issues
147
-
148
- ## 0.9.1
149
-
150
- ### Patch Changes
151
-
152
- - Fixed issue with default view mode value
153
-
154
- ## 0.9.0
155
-
156
- ### Minor Changes
157
-
158
- - Added ability to filter JSON:API fields
159
- - Refactored components to use DruxtModule
160
- - Fixed issues with Storybook integration
161
-
162
- ## 0.8.3
163
-
164
- ### Patch Changes
165
-
166
- - Fixed missing attachement Views
167
-
168
- ## 0.8.2
169
-
170
- ### Patch Changes
171
-
172
- - Fixed issues with Storybook integration
173
-
174
- ## 0.8.1
175
-
176
- ### Patch Changes
177
-
178
- - Fixed issues with Storybook integration
179
- - Fixed missing attachements Views
180
-
181
- ## 0.8.0
182
-
183
- ### Minor Changes
184
-
185
- - Added Storybook intergration
186
- - Fixed broken View results
187
-
188
- ## 0.7.2
189
-
190
- ### Patch Changes
191
-
192
- - Fixed broken View results
193
-
194
- ## 0.7.1
195
-
196
- ### Patch Changes
197
-
198
- - Fixed deprecation notice
199
-
200
- ## 0.7.0
201
-
202
- ### Minor Changes
203
-
204
- - Refactored module to use DruxtClient/DruxtStore
205
- - Added pagination
206
- - Added exposed sorts
207
- - Added exposed filters
208
- - Added Views Vuex store
209
-
210
- ## 0.6.2
211
-
212
- ### Patch Changes
213
-
214
- - Fixed issue with View display data
215
-
216
- ## 0.6.1
217
-
218
- ### Patch Changes
219
-
220
- - Updated dependencies
221
-
222
- ## 0.6.0
223
-
224
- ### Minor Changes
225
-
226
- - Added DruxtRouter View component
227
- - Updated dependencies
228
-
229
- ## 0.5.1
230
-
231
- ### Patch Changes
232
-
233
- - Updated dependencies
234
-
235
- ## 0.5.0
236
-
237
- ### Minor Changes
238
-
239
- - Added support for DruxtComponentMixin
240
- - Updated dependencies
241
-
242
- ## 0.4.2
243
-
244
- ### Patch Changes
245
-
246
- - Updated attachment_before/after slots
247
- - Updated dependencies
248
-
249
- ## 0.4.1
250
-
251
- ### Patch Changes
252
-
253
- - Added attachment_before/after slots
254
-
255
- ## 0.4.0
256
-
257
- ### Minor Changes
258
-
259
- ## 0.3.0
260
-
261
- ### Minor Changes
262
-
263
- ## 0.2.1
264
-
265
- ### Patch Changes
266
-
267
- ## 0.2.0
268
-
269
- ### Minor Changes
270
-
271
- ## 0.1.0
272
-
273
- ### Initial release