@ditojs/admin 2.2.7-debug.1 → 2.2.7-debug.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/dist/dito-admin.es.js +8 -1
- package/dist/dito-admin.umd.js +2 -2
- package/package.json +2 -2
- package/src/utils/filter.js +7 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ditojs/admin",
|
|
3
|
-
"version": "2.2.7-debug.
|
|
3
|
+
"version": "2.2.7-debug.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Dito.js Admin is a schema based admin interface for Dito.js Server, featuring auto-generated views and forms and built with Vue.js",
|
|
6
6
|
"repository": "https://github.com/ditojs/dito/tree/master/packages/admin",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"vite": "^4.3.1"
|
|
83
83
|
},
|
|
84
84
|
"types": "types",
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "1008cb90f8bee745e2c80c39bddba3cdf9f1b4e9",
|
|
86
86
|
"scripts": {
|
|
87
87
|
"build": "vite build",
|
|
88
88
|
"watch": "yarn build --mode 'development' --watch",
|
package/src/utils/filter.js
CHANGED
|
@@ -211,6 +211,13 @@ function getComponentsForFilter(schema, name) {
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
function formatFiltersData(schema, data) {
|
|
214
|
+
console.log(
|
|
215
|
+
'formatFiltersData()',
|
|
216
|
+
{
|
|
217
|
+
data: JSON.stringify(data),
|
|
218
|
+
schema: JSON.stringify(Object.keys(schema?.components || {}))
|
|
219
|
+
}
|
|
220
|
+
)
|
|
214
221
|
const filters = []
|
|
215
222
|
for (const name in data) {
|
|
216
223
|
const entry = data[name]
|