@bildvitta/quasar-ui-asteroid 2.14.1 → 2.15.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bildvitta/quasar-ui-asteroid",
3
- "version": "2.14.1",
3
+ "version": "2.15.0",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "scripts": {
@@ -38,7 +38,12 @@ export default {
38
38
 
39
39
  redirectKey: {
40
40
  control: null,
41
- description: 'Key to define the id redirect.'
41
+ description: 'Item key that will be the value of the redirect.'
42
+ },
43
+
44
+ paramKey: {
45
+ control: null,
46
+ description: 'Redirect parameter key.'
42
47
  },
43
48
 
44
49
  useIconRedirect: {
@@ -44,6 +44,11 @@ export default {
44
44
  type: String
45
45
  },
46
46
 
47
+ paramKey: {
48
+ default: 'id',
49
+ type: String
50
+ },
51
+
47
52
  to: {
48
53
  default: () => ({}),
49
54
  type: Object
@@ -61,7 +66,7 @@ export default {
61
66
 
62
67
  getRedirectPayload (item) {
63
68
  return {
64
- params: { [this.redirectKey]: item[this.redirectKey] },
69
+ params: { [this.paramKey]: item[this.redirectKey] },
65
70
  ...this.to
66
71
  }
67
72
  }
@@ -9,7 +9,7 @@
9
9
  <script>
10
10
  import { greatestCommonDivisor } from '../../helpers'
11
11
 
12
- const baseURL = 'https://d17ouzaofz81f3.cloudfront.net/'
12
+ const baseURL = 'https://image-resize.nave.dev/'
13
13
 
14
14
  export default {
15
15
  name: 'QasResizer',