@d-mok/quasar-app-extension-quasar-axe 2.0.7 → 2.0.8

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": "@d-mok/quasar-app-extension-quasar-axe",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "A Quasar App Extension",
5
5
  "author": "d-mok <49301824+d-mok@users.noreply.github.com>",
6
6
  "license": "MIT",
@@ -94,26 +94,27 @@ type item = {
94
94
  link: string
95
95
  }
96
96
 
97
- interface Props {
98
- title: string
99
- appendix?: string
100
- onClickAppendix?: () => void
101
- items: item[]
102
- width?: string
103
- showDrawer?: boolean
104
- view?: string
105
- noHeader?: boolean
106
- onSignOut?: () => void
107
- account?: string
108
- }
109
-
110
- const props = withDefaults(defineProps<Props>(), {
111
- appendix: '',
112
- width: '1200px',
113
- showDrawer: false,
114
- view: 'hHh LpR fFf',
115
- noHeader: false,
116
- })
97
+ const props = withDefaults(
98
+ defineProps<{
99
+ title: string
100
+ appendix?: string
101
+ onClickAppendix?: () => void
102
+ items: item[]
103
+ width?: string
104
+ showDrawer?: boolean
105
+ view?: string
106
+ noHeader?: boolean
107
+ onSignOut?: () => void
108
+ account?: string
109
+ }>(),
110
+ {
111
+ appendix: '',
112
+ width: '1200px',
113
+ showDrawer: false,
114
+ view: 'hHh LpR fFf',
115
+ noHeader: false,
116
+ }
117
+ )
117
118
 
118
119
  let open = ref(false)
119
120
  </script>
@@ -26,26 +26,14 @@
26
26
  </q-item>
27
27
  </template>
28
28
 
29
- <script lang="ts">
30
- import { defineComponent } from 'vue'
31
-
32
- export default defineComponent({
33
- props: {
34
- title: {
35
- type: String,
36
- required: true,
37
- },
38
- caption: {
39
- type: String,
40
- default: '',
41
- },
42
- link: {
43
- type: String,
44
- },
45
- icon: {
46
- type: String,
47
- default: '',
48
- },
49
- },
50
- })
29
+ <script
30
+ lang="ts"
31
+ setup
32
+ >
33
+ defineProps<{
34
+ title: string
35
+ caption?: string
36
+ link: string
37
+ icon?: string
38
+ }>()
51
39
  </script>