@data-fair/lib-vuetify 1.13.1 → 1.13.3

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/index.js CHANGED
@@ -48,6 +48,10 @@ export function vuetifySessionOptions(session, cspNonce) {
48
48
  VColorPicker: {
49
49
  mode: 'hex'
50
50
  },
51
+ VColorInput: {
52
+ // the text-field input is sufficient
53
+ hideInputs: true
54
+ },
51
55
  VCheckbox: {
52
56
  color: 'primary'
53
57
  },
@@ -60,5 +60,4 @@ import { mdiDotsVertical } from '@mdi/js'
60
60
  import { useDisplay } from 'vuetify'
61
61
 
62
62
  const display = useDisplay()
63
-
64
63
  </script>
package/owner-avatar.vue CHANGED
@@ -50,7 +50,7 @@ const avatarUrl = computed(() => {
50
50
  const label = computed(() => {
51
51
  let label = ''
52
52
  if (!props.omitOwnerName || !props.owner.department) label += props.owner.name
53
- if (props.owner.department) label += ' - ' + (props.owner.departmentName || props.owner.department)
53
+ if (props.owner.department) label += !props.omitOwnerName ? ' - ' : '' + (props.owner.departmentName || props.owner.department)
54
54
  if (props.owner.role) label += ` (${props.owner.role})`
55
55
  return label
56
56
  })
@@ -18,7 +18,7 @@ const label = computed(() => {
18
18
  if (!props.omitOwnerName || !props.owner.department)
19
19
  label += props.owner.name;
20
20
  if (props.owner.department)
21
- label += ' - ' + (props.owner.departmentName || props.owner.department);
21
+ label += !props.omitOwnerName ? ' - ' : '' + (props.owner.departmentName || props.owner.department);
22
22
  if (props.owner.role)
23
23
  label += ` (${props.owner.role})`;
24
24
  return label;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/lib-vuetify",
3
- "version": "1.13.1",
3
+ "version": "1.13.3",
4
4
  "description": "Components based on the Vuetify 3 UI lib for the data-fair stack.",
5
5
  "main": "index.js",
6
6
  "files": [
package/vite.d.ts CHANGED
@@ -5,8 +5,10 @@ export declare const autoImports: (string | {
5
5
  '@data-fair/lib-vue/concept-filters.js': string[];
6
6
  '@data-fair/lib-vue/ui-notif.js': string[];
7
7
  '@data-fair/lib-vue/fetch.js': string[];
8
+ '@data-fair/lib-vue/edit-fetch.js': string[];
8
9
  '@data-fair/lib-vue/ws.js': string[];
9
10
  '@data-fair/lib-vue/async-action.js': string[];
11
+ '@data-fair/lib-vue/leave-guard.js': string[];
10
12
  '@data-fair/lib-vue/deep-diff.js': string[];
11
13
  '@data-fair/lib-vue/format/bytes.js': string[];
12
14
  } | {