adminforth 1.7.0-next.11 → 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')"
@@ -116,7 +116,8 @@ export function initThreeDotsDropdown() {
116
116
  // this resource has three dots dropdown
117
117
  const dd = new Dropdown(
118
118
  threeDotsDropdown,
119
- document.querySelector('[data-dropdown-toggle="listThreeDotsDropdown"]') as HTMLElement,
119
+ document.querySelector('[data-dropdown-toggle="listThreeDotsDropdown"]') as HTMLElement,
120
+ { placement: 'bottom-end' }
120
121
  );
121
122
  adminforth.list.closeThreeDotsDropdown = () => {
122
123
  dd.hide();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "1.7.0-next.11",
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",