@d-mok/quasar-app-extension-quasar-axe 2.0.11 → 2.0.14

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.11",
3
+ "version": "2.0.14",
4
4
  "description": "A Quasar App Extension",
5
5
  "author": "d-mok <49301824+d-mok@users.noreply.github.com>",
6
6
  "license": "MIT",
@@ -24,7 +24,7 @@
24
24
  "jszip": "^3.9.0",
25
25
  "lodash": "^4.17.21",
26
26
  "papaparse": "^5.3.2",
27
- "sapphire-js": "^1.0.67",
27
+ "sapphire-js": "^1.0.68",
28
28
  "vuedraggable": "^4.1.0"
29
29
  },
30
30
  "devDependencies": {
@@ -4,15 +4,15 @@
4
4
  class="text-body1"
5
5
  v-if="tooltip"
6
6
  :delay="150"
7
- >{{ tooltip }}
8
- </q-tooltip>
7
+ >{{ tooltip }}</q-tooltip
8
+ >
9
9
  <q-badge
10
10
  v-if="badge !== undefined"
11
11
  floating
12
- transparent
13
12
  rounded
14
- >{{ badge }}
15
- </q-badge>
13
+ :color="badgeColor"
14
+ >{{ badge }}</q-badge
15
+ >
16
16
  </q-btn>
17
17
  </template>
18
18
 
@@ -21,7 +21,10 @@ const props = withDefaults(
21
21
  defineProps<{
22
22
  tooltip?: string
23
23
  badge?: string | number
24
+ badgeColor?: string
24
25
  }>(),
25
- {}
26
+ {
27
+ badgeColor: 'red',
28
+ }
26
29
  )
27
30
  </script>
@@ -33,7 +33,7 @@ type action = {
33
33
 
34
34
  const props = defineProps<{
35
35
  position: 'bottom-left' | 'bottom-right'
36
- color: string
36
+ color?: string
37
37
  icon: string
38
38
  label?: string
39
39
  actions: action[]
@@ -30,7 +30,7 @@
30
30
  defineProps<{
31
31
  title: string
32
32
  caption?: string
33
- link: string
33
+ link?: string
34
34
  icon?: string
35
35
  }>()
36
36
  </script>
@@ -33,14 +33,19 @@
33
33
  <script lang="ts" setup>
34
34
  import { computed } from 'vue'
35
35
 
36
- const props = defineProps<{
37
- name?: string
38
- modelValue?: string | boolean
39
- width?: number
40
- title?: string
41
- side?: 'right' | 'left'
42
- noClose?: boolean
43
- }>()
36
+ const props = withDefaults(
37
+ defineProps<{
38
+ name?: string
39
+ modelValue?: string | boolean
40
+ width?: number
41
+ title?: string
42
+ side?: 'right' | 'left'
43
+ noClose?: boolean
44
+ }>(),
45
+ {
46
+ modelValue: undefined,
47
+ }
48
+ )
44
49
 
45
50
  const emit = defineEmits(['update:model-value'])
46
51