@dskripchenko/laravel-admin 1.21.3 → 1.22.0

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/index.d.ts CHANGED
@@ -45,6 +45,7 @@ export { createAdminRouter, buildRoutesFromManifest, createAuthGuard, createTitl
45
45
  export type { AdminRouter, AdminRouterOptions, RouteComponentResolver, AdminRouteComponent, RouteMeta, AuthGuardOptions, TitleGuardOptions, } from './router';
46
46
  export { useMenuStore } from './stores/menu';
47
47
  export type { MenuItem, MenuGroup } from './stores/menu';
48
+ export { trSafe, useI18nStore, tRaw } from './stores/i18n';
48
49
  export { AdminShell, AdminTopBar, AdminSidebar, GlobalSearch, ThemeToggle, LocaleSwitcher, NotificationBell, UserMenu, } from './components/shell';
49
50
  export { LoginPage, LoginForm, TwoFactorForm } from './components/auth';
50
51
  export { ResourceIndexPage, ResourceFormPage, ResourceViewPage } from './components/resource';
package/dist/index.mjs CHANGED
@@ -2,7 +2,8 @@ import { h as Se, ref as A, computed as M, defineComponent as ne, openBlock as c
2
2
  import { defineStore as e1, createPinia as Bw } from "pinia";
3
3
  import { useRouter as Ze, useRoute as l1, createWebHistory as UI, createRouter as Rw } from "vue-router";
4
4
  import { UidIcon as ae, UidMenu as je, UidMenuItem as De, UidMenuSeparator as $w, UidAvatar as dI, UidSidebarItem as Tw, UidSidebar as Uw, UidSkeleton as Re, UidSidebarGroup as Ow, UidModal as Ew, UidSpinner as Zw, UidSidebarLayout as Ww, useToast as ec, provideLocale as Gw, en as Nw, ru as Xw, UidToastProvider as Kw, UidAlert as Ye, UidInput as Le, UidButton as oe, UidCard as we, UidCheckbox as OI, UidErrorState as sI, UidEmptyState as hI, UidTreeView as Jw, UidTable as Co, UidPagination as Yw, UidGrid as uI, UidStack as Qw, UidBadge as yI, UidSelect as S9, UidStat as ic, UidGauge as ex, UidFormField as Z2, UidTextarea as ax, UidNumberInput as tx, UidDatePicker as nx, usePopover as ox, UidTabs as EI, UidTabPanel as ZI, UidTab as lc, UidDescriptionList as cx, UidDescriptionItem as ix, UidDrawer as lx, UidStepper as rx, UidFileUpload as dx, UidProgress as sx } from "@dskripchenko/ui";
5
- import { t as v, u as W2 } from "./i18n-CoRTQbVV.js";
5
+ import { t as v, u as W2 } from "./i18n-CoD-_QDg.js";
6
+ import { a as yj } from "./i18n-CoD-_QDg.js";
6
7
  import { t as hx, p as V9, u as Pe } from "./formState-DeRZBwWH.js";
7
8
  import ux from "axios";
8
9
  import { DskWysiwyg as yx } from "@dskripchenko/wysiwyg";
@@ -28624,7 +28625,7 @@ const m1 = /* @__PURE__ */ ne({
28624
28625
  d.value ? (c(), h("p", KH, y(d.value), 1)) : H("", !0)
28625
28626
  ]));
28626
28627
  }
28627
- }), RI = /* @__PURE__ */ a1(JH, [["__scopeId", "data-v-ec4a41a3"]]), YH = { class: "admin-image-cropper" }, QH = {
28628
+ }), RI = /* @__PURE__ */ a1(JH, [["__scopeId", "data-v-7aaddf6d"]]), YH = { class: "admin-image-cropper" }, QH = {
28628
28629
  key: 0,
28629
28630
  class: "admin-image-cropper__label"
28630
28631
  }, eV = {
@@ -28917,7 +28918,7 @@ const m1 = /* @__PURE__ */ ne({
28917
28918
  d.value ? (c(), h("p", kV, y(d.value), 1)) : H("", !0)
28918
28919
  ]));
28919
28920
  }
28920
- }), gV = /* @__PURE__ */ a1(fV, [["__scopeId", "data-v-f528da4d"]]), MV = {
28921
+ }), gV = /* @__PURE__ */ a1(fV, [["__scopeId", "data-v-32d412e9"]]), MV = {
28921
28922
  key: 0,
28922
28923
  class: "uid-form-field__label"
28923
28924
  }, IV = {
@@ -31086,12 +31087,15 @@ export {
31086
31087
  Nb as registerWidget,
31087
31088
  GF as registerWidgets,
31088
31089
  GI as setAdminClient,
31090
+ yj as tRaw,
31089
31091
  LI as toApiError,
31092
+ v as trSafe,
31090
31093
  hx as tryUseFormState,
31091
31094
  N2 as tryUseRecord,
31092
31095
  Qe as useAuthStore,
31093
31096
  B9 as useBrand,
31094
31097
  Pe as useFormState,
31098
+ W2 as useI18nStore,
31095
31099
  co as useLocaleStore,
31096
31100
  Ee as useManifestStore,
31097
31101
  j9 as useMenuStore,