adminforth 2.4.0-next.303 → 2.4.0-next.305

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.
@@ -131,8 +131,11 @@ watch(() => props.modelValue, (files) => {
131
131
  mime: file.type,
132
132
  }));
133
133
  storedFiles.value = Array.from(files);
134
+ } else {
135
+ selectedFiles.value = [];
136
+ storedFiles.value = [];
134
137
  }
135
- });
138
+ }, { immediate: true });
136
139
 
137
140
  function doEmit(filesIn: FileList) {
138
141
 
@@ -33,7 +33,7 @@
33
33
  >
34
34
  {{ item.label }}
35
35
  </div>
36
- <span class="absolute right-1 top-1/2 -translate-y-1/2" v-if="item.badge && showExpandedBadge">
36
+ <span class="absolute flex items-center justify-center right-1 top-1/2 -translate-y-1/2" v-if="item.badge && showExpandedBadge">
37
37
  <Tooltip v-if="item.badgeTooltip">
38
38
  <div class="af-badge inline-flex items-center justify-center h-3 py-2.5 px-1 ms-3 text-xs font-medium rounded-full bg-lightAnnouncementBG dark:bg-darkAnnouncementBG
39
39
  fill-lightAnnouncementText dark:fill-darkAccent text-lightAnnouncementText dark:text-darkAccent min-w-[1.5rem] max-w-[3rem]">{{ item.badge }}</div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "2.4.0-next.303",
3
+ "version": "2.4.0-next.305",
4
4
  "description": "OpenSource Vue3 powered forth-generation admin panel",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",