adminforth 3.14.1 → 3.14.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.
@@ -14,7 +14,7 @@
14
14
  placeholder-lightDropdownButtonsPlaceholderText text-lightDropdownButtonsText text-base sm:text-sm transition duration-150 ease-in-out dark:bg-darkDropdownButtonsBackground dark:border-darkDropdownButtonsBorder dark:placeholder-darkDropdownButtonsPlaceholderText
15
15
  dark:text-darkDropdownButtonsText focus:ring-lightPrimary focus:border-lightPrimary dark:focus:ring-darkPrimary dark:focus:border-darkPrimary"
16
16
  :class="[{'cursor-pointer': searchDisabled}, classesForInput]"
17
- autocomplete="off" data-custom="no-autofill"
17
+ autocomplete="off" data-custom="no-autofill" name="afcl-select-input" id="afcl-select-input"
18
18
  :placeholder="
19
19
  selectedItems.length && !multiple ? '' : (showDropdown ? $t('Search') : placeholder || $t('Select...'))
20
20
  "
@@ -54,7 +54,7 @@
54
54
 
55
55
  <div v-if="coreStore?.config?.defaultUserExists && !isLocalhost" class="p-4 mb-4 text-white rounded-lg bg-red-700/80 fill-white text-sm">
56
56
  <IconExclamationCircleOutline class="inline-block align-text-bottom mr-0,5 w-5 h-5" />
57
- Default user <strong>"adminforth"</strong> detected. Delete it and create your own account.
57
+ {{ $t('Default user') }} <strong>"adminforth"</strong> {{ $t('detected. Delete it and create your own account.') }}
58
58
  </div>
59
59
 
60
60
  <ul class="af-sidebar-container space-y-2 font-medium" >
@@ -329,10 +329,12 @@ import { Tooltip } from '@/afcl';
329
329
  import type { AnnouncementBadgeResponse } from '@/types/Common';
330
330
  import { useAdminforth } from '@/adminforth';
331
331
  import { IconExclamationCircleOutline} from '@iconify-prerendered/vue-flowbite';
332
+ import { useI18n } from 'vue-i18n';
332
333
 
333
334
  const isLocalhost = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1' || window.location.hostname === '::1';
334
335
 
335
336
  const { menu } = useAdminforth();
337
+ const { t } = useI18n();
336
338
 
337
339
  interface Props {
338
340
  sideBarOpen: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adminforth",
3
- "version": "3.14.1",
3
+ "version": "3.14.3",
4
4
  "description": "OpenSource Agent-Native forth-generation admin panel",
5
5
  "keywords": [
6
6
  "adminforth",