@amirjalili1374/ui-kit 1.3.4 → 1.3.5
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/components/layout/AppSidebar.vue.d.ts +6 -6
- package/dist/components/layout/AppSidebar.vue.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/ui-kit.cjs.js +1 -1
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.es.js +11 -5
- package/dist/ui-kit.es.js.map +1 -1
- package/package.json +1 -1
package/dist/ui-kit.es.js
CHANGED
|
@@ -38340,7 +38340,7 @@ const _hoisted_1$2 = {
|
|
|
38340
38340
|
const _hoisted_2$1 = ["innerHTML"];
|
|
38341
38341
|
const _hoisted_3$1 = ["src"];
|
|
38342
38342
|
const _hoisted_4$1 = {
|
|
38343
|
-
key:
|
|
38343
|
+
key: 3,
|
|
38344
38344
|
class: "logo-text text-h6 ms-2"
|
|
38345
38345
|
};
|
|
38346
38346
|
const _hoisted_5$1 = ["src"];
|
|
@@ -38368,6 +38368,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
|
38368
38368
|
const route = useRoute$1();
|
|
38369
38369
|
const router = useRouter$1();
|
|
38370
38370
|
const isMini = computed(() => props.miniSidebar || customizer.mini_sidebar);
|
|
38371
|
+
const isLogoSvgString = computed(() => typeof props.logoSvg === "string" && !!props.logoSvg);
|
|
38372
|
+
const isLogoSvgComponent = computed(() => typeof props.logoSvg !== "string" && !!props.logoSvg);
|
|
38371
38373
|
const drawer = computed({
|
|
38372
38374
|
get: () => customizer.Sidebar_drawer,
|
|
38373
38375
|
set: (val2) => customizer.SET_SIDEBAR_DRAWER(val2)
|
|
@@ -38407,13 +38409,17 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
|
38407
38409
|
}, () => [
|
|
38408
38410
|
!__props.hideDefaultLogo ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
38409
38411
|
__props.logoSvg || __props.logo || __props.logoText ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
38410
|
-
|
|
38412
|
+
isLogoSvgComponent.value ? (openBlock(), createBlock(resolveDynamicComponent(__props.logoSvg), {
|
|
38411
38413
|
key: 0,
|
|
38412
38414
|
class: "logo-svg",
|
|
38415
|
+
style: { "height": "40px", "display": "flex", "align-items": "center" }
|
|
38416
|
+
})) : isLogoSvgString.value ? (openBlock(), createElementBlock("div", {
|
|
38417
|
+
key: 1,
|
|
38418
|
+
class: "logo-svg",
|
|
38413
38419
|
innerHTML: __props.logoSvg,
|
|
38414
38420
|
style: { height: "40px", display: "flex", alignItems: "center" }
|
|
38415
38421
|
}, null, 8, _hoisted_2$1)) : __props.logo && !isMini.value ? (openBlock(), createElementBlock("img", {
|
|
38416
|
-
key:
|
|
38422
|
+
key: 2,
|
|
38417
38423
|
src: unref(customizer).themeMode === "dark" && __props.logoLight ? __props.logoLight : __props.logo,
|
|
38418
38424
|
alt: "Logo",
|
|
38419
38425
|
class: "logo-img",
|
|
@@ -38421,7 +38427,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
|
38421
38427
|
}, null, 8, _hoisted_3$1)) : createCommentVNode("", true),
|
|
38422
38428
|
__props.logoText && !isMini.value ? (openBlock(), createElementBlock("span", _hoisted_4$1, toDisplayString(__props.logoText), 1)) : createCommentVNode("", true),
|
|
38423
38429
|
!__props.logoSvg && __props.logo && isMini.value ? (openBlock(), createElementBlock("img", {
|
|
38424
|
-
key:
|
|
38430
|
+
key: 4,
|
|
38425
38431
|
src: unref(customizer).themeMode === "dark" && __props.logoLight ? __props.logoLight : __props.logo,
|
|
38426
38432
|
alt: "Logo",
|
|
38427
38433
|
class: "logo-img-mini",
|
|
@@ -38596,7 +38602,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent$1({
|
|
|
38596
38602
|
};
|
|
38597
38603
|
}
|
|
38598
38604
|
});
|
|
38599
|
-
const AppSidebar = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-
|
|
38605
|
+
const AppSidebar = /* @__PURE__ */ _export_sfc$1(_sfc_main$2, [["__scopeId", "data-v-e32ab994"]]);
|
|
38600
38606
|
const makeVToolbarTitleProps = propsFactory({
|
|
38601
38607
|
text: String,
|
|
38602
38608
|
...makeComponentProps(),
|