adminforth 1.7.0-next.12 → 1.7.0-next.13

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.
@@ -54,7 +54,7 @@
54
54
  />
55
55
 
56
56
  <Input
57
- v-else-if="[ 'string', 'text' ].includes(c.type)"
57
+ v-else-if="['string', 'text', 'unknown'].includes(c.type)"
58
58
  type="text"
59
59
  full-width
60
60
  :placeholder="$t('Search')"
@@ -62,6 +62,14 @@
62
62
  :modelValue="getFilterItem({ column: c, operator: 'ilike' })"
63
63
  />
64
64
 
65
+ <textarea
66
+ v-else-if="['json', 'richtext'].includes(c.type)"
67
+ class="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white focus:ring-lightPrimary focus:border-lightPrimary dark:focus:ring-darkPrimary dark:focus:border-darkPrimary"
68
+ :placeholder="$t('Search')"
69
+ :value="getFilterItem({ column: c, operator: 'ilike' })"
70
+ @input="setFilterItem({ column: c, operator: 'ilike', value: $event.target.value || undefined })"
71
+ />
72
+
65
73
  <CustomDateRangePicker
66
74
  v-else-if="['datetime'].includes(c.type)"
67
75
  :column="c"
@@ -72,7 +80,7 @@
72
80
  />
73
81
 
74
82
  <Input
75
- v-else-if="[ 'date', 'time' ].includes(c.type)"
83
+ v-else-if="['date', 'time'].includes(c.type)"
76
84
  type="text"
77
85
  full-width
78
86
  :placeholder="$t('Search datetime')"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.7.0-next.12",
3
+ "version": "1.7.0-next.13",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",