@drax/audit-vue 0.40.0 → 0.43.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
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "0.40.0",
6
+ "version": "0.43.0",
7
7
  "type": "module",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -24,8 +24,8 @@
24
24
  "format": "prettier --write src/"
25
25
  },
26
26
  "dependencies": {
27
- "@drax/crud-front": "^0.40.0",
28
- "@drax/crud-share": "^0.40.0"
27
+ "@drax/crud-front": "^0.43.0",
28
+ "@drax/crud-share": "^0.43.0"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "pinia": "^2.2.2",
@@ -62,5 +62,5 @@
62
62
  "vue-tsc": "^2.0.11",
63
63
  "vuetify": "^3.7.1"
64
64
  },
65
- "gitHead": "269ec7921d83364dfba091cd74bd3f45a8135c26"
65
+ "gitHead": "3451a1c66eaf3facd4fef67d96750bf5d38a1d5c"
66
66
  }
@@ -3,6 +3,7 @@
3
3
  import AuditCrud from '../../cruds/AuditCrud'
4
4
  import {Crud, useCrudStore} from "@drax/crud-vue";
5
5
  import {formatDateTime} from "@drax/common-front"
6
+ import {EntityCombobox} from "@drax/crud-vue"
6
7
  import AuditView from "../../components/AuditView.vue";
7
8
  import {useI18n} from "vue-i18n";
8
9
 
@@ -14,6 +15,18 @@ const store = useCrudStore();
14
15
  <template>
15
16
  <crud :entity="AuditCrud.instance">
16
17
 
18
+ <template v-slot:filter.entity="{filterIndex}">
19
+ <entity-combobox
20
+ v-model="store.filters[filterIndex].value"
21
+ :clearable="true"
22
+ density="compact"
23
+ variant="outlined"
24
+ hide-details
25
+ disable-rules
26
+ prepend-inner-icon="mdi-equal"
27
+ />
28
+ </template>
29
+
17
30
  <template v-slot:item.createdAt="{value}">
18
31
  {{ formatDateTime(value) }}
19
32
  </template>