@amirjalili1374/ui-kit 1.3.26 → 1.3.27

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/ui-kit.es.js CHANGED
@@ -37541,9 +37541,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
37541
37541
  userInfoLoaded: { type: Boolean, default: false },
37542
37542
  headerMenu: { type: Array, default: () => [] },
37543
37543
  // Events sent back to project
37544
- onToggleMiniSidebar: Function,
37545
- onToggleCustomizer: Function,
37546
- onToggleSidebarDrawer: Function
37544
+ onToggleMiniSidebar: { type: Function, default: void 0 },
37545
+ onToggleCustomizer: { type: Function, default: void 0 },
37546
+ onToggleSidebarDrawer: { type: Function, default: void 0 }
37547
37547
  },
37548
37548
  setup(__props) {
37549
37549
  const props = __props;
@@ -37725,7 +37725,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
37725
37725
  };
37726
37726
  }
37727
37727
  });
37728
- const AppHeader = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-068c6b7b"]]);
37728
+ const AppHeader = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-2e2d8b8b"]]);
37729
37729
  const makeVAppProps = propsFactory({
37730
37730
  ...makeComponentProps(),
37731
37731
  ...omit(makeLayoutProps(), ["fullHeight"]),
@@ -37813,39 +37813,31 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
37813
37813
  __name: "AppLayout",
37814
37814
  props: {
37815
37815
  header: { default: () => ({
37816
- title: "Dashboard",
37817
- subtitle: "",
37818
- showSidebarToggle: true,
37819
- showSearch: false,
37820
- searchPlaceholder: "جستجو...",
37821
- showNotifications: false,
37822
- notificationCount: 0,
37823
- showProfile: false,
37824
- actions: [],
37825
- color: "surface",
37826
- elevation: 1,
37827
- height: 70
37816
+ menuOrientation: "horizontal",
37817
+ miniSidebar: false,
37818
+ userInfoLoaded: false,
37819
+ headerMenu: []
37828
37820
  }) },
37829
37821
  sidebar: { default: () => ({
37830
- menuItems: [],
37831
- logo: "",
37832
- logoLight: "",
37833
- logoText: "UI Kit",
37822
+ menuOrientation: "vertical",
37834
37823
  miniSidebar: false,
37835
- permanent: true,
37836
- temporary: false,
37837
- rail: false,
37838
- location: "left",
37839
- width: 265,
37840
- railWidth: 75
37824
+ userInfoLoaded: false,
37825
+ headerMenu: []
37841
37826
  }) }
37842
37827
  },
37843
37828
  setup(__props) {
37844
- useCustomizerStore();
37845
37829
  return (_ctx, _cache) => {
37846
37830
  return openBlock(), createBlock(VApp, null, {
37847
37831
  default: withCtx(() => [
37848
- createVNode(AppHeader, mergeProps(__props.header, { class: "app-header" }), null, 16),
37832
+ createVNode(AppHeader, mergeProps(__props.header, { class: "app-header" }), {
37833
+ notifications: withCtx(() => [
37834
+ renderSlot(_ctx.$slots, "notifications", {}, void 0, true)
37835
+ ]),
37836
+ profile: withCtx(() => [
37837
+ renderSlot(_ctx.$slots, "profile", {}, void 0, true)
37838
+ ]),
37839
+ _: 3
37840
+ }, 16),
37849
37841
  createVNode(AppSidebar, mergeProps(__props.sidebar, { class: "app-sidebar" }), null, 16),
37850
37842
  createVNode(VMain, null, {
37851
37843
  default: withCtx(() => [
@@ -37861,7 +37853,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
37861
37853
  };
37862
37854
  }
37863
37855
  });
37864
- const AppLayout = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-f81b2c63"]]);
37856
+ const AppLayout = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-a6ef935f"]]);
37865
37857
  function useDataTable(options) {
37866
37858
  const items = ref([]);
37867
37859
  const loading = ref(false);