@amirjalili1374/ui-kit 1.4.3 → 1.4.4

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
@@ -38153,10 +38153,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
38153
38153
  type: Boolean,
38154
38154
  default: false
38155
38155
  },
38156
- sidebarDrawer: {
38157
- type: Boolean,
38158
- default: false
38159
- },
38160
38156
  userInfoLoaded: {
38161
38157
  type: Boolean,
38162
38158
  default: false
@@ -38185,29 +38181,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
38185
38181
  if (props.userInfoLoaded) return props.headerMenu;
38186
38182
  return props.headerMenu;
38187
38183
  });
38188
- const headerWidth = computed(() => {
38189
- if (props.menuOrientation === "horizontal") {
38190
- return "100%";
38191
- }
38192
- if (props.menuOrientation === "vertical") {
38193
- if (!props.sidebarDrawer) {
38194
- return "100%";
38195
- }
38196
- if (props.miniSidebar) {
38197
- return "calc(100% - 82px)";
38198
- } else {
38199
- return "calc(100% - 256px)";
38200
- }
38201
- }
38202
- return "100%";
38203
- });
38204
38184
  return (_ctx, _cache) => {
38205
38185
  return openBlock(), createBlock(VAppBar, {
38206
38186
  elevation: "0",
38207
38187
  height: "80",
38208
- fixed: "",
38209
- class: "app-header topbar",
38210
- style: normalizeStyle({ width: headerWidth.value, right: 0 })
38188
+ class: "app-header topbar"
38211
38189
  }, {
38212
38190
  default: withCtx(() => [
38213
38191
  __props.menuOrientation === "vertical" ? (openBlock(), createBlock(VBtn, {
@@ -38408,11 +38386,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent$1({
38408
38386
  ], true)
38409
38387
  ]),
38410
38388
  _: 3
38411
- }, 8, ["style"]);
38389
+ });
38412
38390
  };
38413
38391
  }
38414
38392
  });
38415
- const AppHeader = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-069b62b2"]]);
38393
+ const AppHeader = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__scopeId", "data-v-9b94743b"]]);
38416
38394
  const makeVAppProps = propsFactory({
38417
38395
  ...makeComponentProps(),
38418
38396
  ...omit(makeLayoutProps(), ["fullHeight"]),
@@ -38506,10 +38484,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
38506
38484
  return (_ctx, _cache) => {
38507
38485
  return openBlock(), createBlock(VApp, null, {
38508
38486
  default: withCtx(() => [
38509
- createVNode(AppHeader, mergeProps(__props.header, {
38510
- sidebarDrawer: __props.sidebar.sidebarDrawer,
38511
- class: "app-header"
38512
- }), {
38487
+ createVNode(AppHeader, mergeProps(__props.header, { class: "app-header" }), {
38513
38488
  notifications: withCtx(() => [
38514
38489
  renderSlot(_ctx.$slots, "notifications", {}, void 0, true)
38515
38490
  ]),
@@ -38517,7 +38492,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
38517
38492
  renderSlot(_ctx.$slots, "profile", {}, void 0, true)
38518
38493
  ]),
38519
38494
  _: 3
38520
- }, 16, ["sidebarDrawer"]),
38495
+ }, 16),
38521
38496
  createVNode(_sfc_main$2, {
38522
38497
  sidebarItems: __props.sidebar.sidebarItems,
38523
38498
  getFilteredSidebarItems: __props.sidebar.getFilteredSidebarItems,
@@ -38541,7 +38516,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent$1({
38541
38516
  };
38542
38517
  }
38543
38518
  });
38544
- const AppLayout = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-4e28ff13"]]);
38519
+ const AppLayout = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-82bccb54"]]);
38545
38520
  function useDataTable(options) {
38546
38521
  const items = ref([]);
38547
38522
  const loading = ref(false);