druxt 0.19.3 → 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.
@@ -40,6 +40,11 @@ export default {
40
40
  props: {
41
41
  /**
42
42
  * The resource langcode.
43
+ *
44
+ * @example
45
+ * <DruxtModule langcode="en" />
46
+ *
47
+ * @type {string}
43
48
  */
44
49
  langcode: {
45
50
  type: String,
@@ -47,9 +52,15 @@ export default {
47
52
  },
48
53
 
49
54
  /**
50
- * The module value.
55
+ * The module component model value.
56
+ *
57
+ * Used to bypass the Drupal JSON:API fetch, setting the module data
58
+ * directly.
59
+ *
60
+ * @example
61
+ * <DruxtModule v-model="{ foo: bar }" />
51
62
  *
52
- * @type {(Array|Boolean|Date|Number|Object|String)}
63
+ * @type {*}
53
64
  * @model
54
65
  */
55
66
  value: {
@@ -71,7 +82,7 @@ export default {
71
82
  * }"
72
83
  * />
73
84
  *
74
- * @type {(Boolean|Object)}
85
+ * @type {(boolean|object)}
75
86
  */
76
87
  wrapper: {
77
88
  type: [Boolean, Object],
package/dist/druxt.esm.js CHANGED
@@ -135,7 +135,6 @@ class DruxtClient {
135
135
  async get(url, options) {
136
136
  try {
137
137
  const res = await this.axios.get(url, options);
138
- this.checkPermissions(res);
139
138
  return res;
140
139
  } catch (err) {
141
140
  this.error(err, { url });
@@ -251,7 +250,7 @@ class DruxtClient {
251
250
  }
252
251
 
253
252
  var name = "druxt";
254
- var version = "0.19.3";
253
+ var version = "0.20.0";
255
254
  var description = "The Fully Decoupled Drupal Framework for Nuxt.js.";
256
255
  var keywords = [
257
256
  "cms",
package/dist/druxt.ssr.js CHANGED
@@ -148,7 +148,6 @@ class DruxtClient {
148
148
  async get(url, options) {
149
149
  try {
150
150
  const res = await this.axios.get(url, options);
151
- this.checkPermissions(res);
152
151
  return res;
153
152
  } catch (err) {
154
153
  this.error(err, { url });
@@ -264,7 +263,7 @@ class DruxtClient {
264
263
  }
265
264
 
266
265
  var name = "druxt";
267
- var version = "0.19.3";
266
+ var version = "0.20.0";
268
267
  var description = "The Fully Decoupled Drupal Framework for Nuxt.js.";
269
268
  var keywords = [
270
269
  "cms",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "druxt",
3
- "version": "0.19.3",
3
+ "version": "0.20.0",
4
4
  "description": "The Fully Decoupled Drupal Framework for Nuxt.js.",
5
5
  "keywords": [
6
6
  "cms",