bmp-layout 0.0.25-beta.1 → 0.0.25-beta.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.
package/bmp-layout.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openBlock, createBlock, unref, normalizeClass, ref, computed, watch, withCtx, createElementBlock, createElementVNode, normalizeStyle, nextTick, createVNode, Fragment, resolveComponent, defineComponent, isVNode, renderList, createCommentVNode, createTextVNode, toDisplayString, renderSlot, onBeforeMount, withModifiers, onMounted, onUnmounted, Teleport, Transition, provide, KeepAlive, resolveDynamicComponent, TransitionGroup, mergeProps, isRef, withDirectives, resolveDirective, watchEffect, vShow, useSlots, useAttrs, createSlots, inject, onBeforeUnmount, reactive, onUpdated, render, useCssVars } from "vue";
1
+ import { openBlock, createBlock, unref, normalizeClass, ref, computed, watch, withCtx, createElementBlock, createElementVNode, normalizeStyle, nextTick, createVNode, Fragment, resolveComponent, defineComponent, isVNode, renderList, createCommentVNode, createTextVNode, toDisplayString, renderSlot, onBeforeMount, onMounted, withModifiers, onUnmounted, Teleport, Transition, provide, KeepAlive, resolveDynamicComponent, TransitionGroup, mergeProps, isRef, withDirectives, resolveDirective, watchEffect, vShow, useSlots, useAttrs, createSlots, inject, onBeforeUnmount, reactive, onUpdated, render, useCssVars } from "vue";
2
2
  import { createPinia, setActivePinia, defineStore } from "pinia";
3
3
  import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
4
4
  import { cloneDeep, omit } from "lodash-es";
@@ -417,7 +417,18 @@ const whiteLight = {
417
417
  topHeaderCompanyIconColor: "#88a0c3",
418
418
  topHeaderCompanyBgColor: "rgba(246,248,255,1)",
419
419
  // 菜单触发器背景颜色
420
- menuTriggerBgColor: "#2468F2"
420
+ menuTriggerBgColor: "#2468F2",
421
+ // 多页签
422
+ tagsViewTextColor: "#7b7e90",
423
+ tagsViewTextActiveColor: "#fff",
424
+ tagsViewBgColor: "transparent",
425
+ tagsViewBgHoverColor: "#dce4f5",
426
+ tagsViewBgActiveColor: "#3d65ff",
427
+ tagsViewArrowColor: "#a4aec4",
428
+ tagsViewArrowHoverColor: "#7d8595",
429
+ tagsViewArrowBgColor: "transparent",
430
+ tagsViewArrowBgHoverColor: "#e5eaf0",
431
+ tagsViewArrowBgDisabledColor: "#e5eaf080"
421
432
  };
422
433
  const blueLight = {
423
434
  ...baseLight,
@@ -474,7 +485,18 @@ const blueLight = {
474
485
  topHeaderCompanyIconColor: "#fff",
475
486
  topHeaderCompanyBgColor: "rgba(246,248,255,.3)",
476
487
  // 菜单触发器背景颜色
477
- menuTriggerBgColor: "transparent"
488
+ menuTriggerBgColor: "transparent",
489
+ // 多页签
490
+ tagsViewTextColor: "#fff",
491
+ tagsViewTextActiveColor: "#fff",
492
+ tagsViewBgColor: "transparent",
493
+ tagsViewBgHoverColor: "rgba(255,255,255,.3)",
494
+ tagsViewBgActiveColor: "rgba(255,255,255,.2)",
495
+ tagsViewArrowColor: "#fff",
496
+ tagsViewArrowHoverColor: "rgba(255,255,255,.8)",
497
+ tagsViewArrowBgColor: "rgba(255,255,255,.2)",
498
+ tagsViewArrowBgHoverColor: "rgba(255,255,255,.3)",
499
+ tagsViewArrowBgDisabledColor: "rgba(255,255,255,.5)"
478
500
  };
479
501
  const redLight = {
480
502
  ...baseLight,
@@ -530,7 +552,18 @@ const redLight = {
530
552
  topHeaderCompanyIconColor: "#fff",
531
553
  topHeaderCompanyBgColor: "rgba(246,248,255,.3)",
532
554
  // 菜单触发器背景颜色
533
- menuTriggerBgColor: "transparent"
555
+ menuTriggerBgColor: "transparent",
556
+ // 多页签
557
+ tagsViewTextColor: "#fff",
558
+ tagsViewTextActiveColor: "#fff",
559
+ tagsViewBgColor: "transparent",
560
+ tagsViewBgHoverColor: "rgba(255,255,255,.3)",
561
+ tagsViewBgActiveColor: "rgba(255,255,255,.2)",
562
+ tagsViewArrowColor: "#fff",
563
+ tagsViewArrowHoverColor: "rgba(255,255,255,.8)",
564
+ tagsViewArrowBgColor: "rgba(255,255,255,.2)",
565
+ tagsViewArrowBgHoverColor: "rgba(255,255,255,.3)",
566
+ tagsViewArrowBgDisabledColor: "rgba(255,255,255,.5)"
534
567
  };
535
568
  const greenLight = {
536
569
  ...baseLight,
@@ -586,7 +619,18 @@ const greenLight = {
586
619
  topHeaderCompanyIconColor: "#fff",
587
620
  topHeaderCompanyBgColor: "rgba(246,248,255,.3)",
588
621
  // 菜单触发器背景颜色
589
- menuTriggerBgColor: "transparent"
622
+ menuTriggerBgColor: "transparent",
623
+ // 多页签
624
+ tagsViewTextColor: "#fff",
625
+ tagsViewTextActiveColor: "#fff",
626
+ tagsViewBgColor: "transparent",
627
+ tagsViewBgHoverColor: "rgba(255,255,255,.3)",
628
+ tagsViewBgActiveColor: "rgba(255,255,255,.2)",
629
+ tagsViewArrowColor: "#fff",
630
+ tagsViewArrowHoverColor: "rgba(255,255,255,.8)",
631
+ tagsViewArrowBgColor: "rgba(255,255,255,.2)",
632
+ tagsViewArrowBgHoverColor: "rgba(255,255,255,.3)",
633
+ tagsViewArrowBgDisabledColor: "rgba(255,255,255,.5)"
590
634
  };
591
635
  const springFestival = {
592
636
  ...baseLight,
@@ -642,7 +686,18 @@ const springFestival = {
642
686
  topHeaderCompanyIconColor: "#fff",
643
687
  topHeaderCompanyBgColor: "rgba(246,248,255,.3)",
644
688
  // 菜单触发器背景颜色
645
- menuTriggerBgColor: "transparent"
689
+ menuTriggerBgColor: "transparent",
690
+ // 多页签
691
+ tagsViewTextColor: "#fff",
692
+ tagsViewTextActiveColor: "#fff",
693
+ tagsViewBgColor: "transparent",
694
+ tagsViewBgHoverColor: "rgba(255,255,255,.3)",
695
+ tagsViewBgActiveColor: "rgba(255,255,255,.2)",
696
+ tagsViewArrowColor: "#fff",
697
+ tagsViewArrowHoverColor: "rgba(255,255,255,.8)",
698
+ tagsViewArrowBgColor: "rgba(255,255,255,.2)",
699
+ tagsViewArrowBgHoverColor: "rgba(255,255,255,.3)",
700
+ tagsViewArrowBgDisabledColor: "rgba(255,255,255,.5)"
646
701
  };
647
702
  const dragonBoatFestival = {
648
703
  ...baseLight,
@@ -698,7 +753,18 @@ const dragonBoatFestival = {
698
753
  topHeaderCompanyIconColor: "#fff",
699
754
  topHeaderCompanyBgColor: "rgba(246,248,255,.3)",
700
755
  // 菜单触发器背景颜色
701
- menuTriggerBgColor: "transparent"
756
+ menuTriggerBgColor: "transparent",
757
+ // 多页签
758
+ tagsViewTextColor: "#fff",
759
+ tagsViewTextActiveColor: "#fff",
760
+ tagsViewBgColor: "transparent",
761
+ tagsViewBgHoverColor: "rgba(255,255,255,.3)",
762
+ tagsViewBgActiveColor: "rgba(255,255,255,.2)",
763
+ tagsViewArrowColor: "#fff",
764
+ tagsViewArrowHoverColor: "rgba(255,255,255,.8)",
765
+ tagsViewArrowBgColor: "rgba(255,255,255,.2)",
766
+ tagsViewArrowBgHoverColor: "rgba(255,255,255,.3)",
767
+ tagsViewArrowBgDisabledColor: "rgba(255,255,255,.5)"
702
768
  };
703
769
  const midAutumnFestival = {
704
770
  ...baseLight,
@@ -754,7 +820,18 @@ const midAutumnFestival = {
754
820
  topHeaderCompanyIconColor: "#fff",
755
821
  topHeaderCompanyBgColor: "rgba(246,248,255,.3)",
756
822
  // 菜单触发器背景颜色
757
- menuTriggerBgColor: "transparent"
823
+ menuTriggerBgColor: "transparent",
824
+ // 多页签
825
+ tagsViewTextColor: "#fff",
826
+ tagsViewTextActiveColor: "#fff",
827
+ tagsViewBgColor: "transparent",
828
+ tagsViewBgHoverColor: "rgba(255,255,255,.3)",
829
+ tagsViewBgActiveColor: "rgba(255,255,255,.2)",
830
+ tagsViewArrowColor: "#fff",
831
+ tagsViewArrowHoverColor: "rgba(255,255,255,.8)",
832
+ tagsViewArrowBgColor: "rgba(255,255,255,.2)",
833
+ tagsViewArrowBgHoverColor: "rgba(255,255,255,.3)",
834
+ tagsViewArrowBgDisabledColor: "rgba(255,255,255,.5)"
758
835
  };
759
836
  const newYearsDay = {
760
837
  ...baseLight,
@@ -810,7 +887,18 @@ const newYearsDay = {
810
887
  topHeaderCompanyIconColor: "#fff",
811
888
  topHeaderCompanyBgColor: "rgba(246,248,255,.3)",
812
889
  // 菜单触发器背景颜色
813
- menuTriggerBgColor: "transparent"
890
+ menuTriggerBgColor: "transparent",
891
+ // 多页签
892
+ tagsViewTextColor: "#fff",
893
+ tagsViewTextActiveColor: "#fff",
894
+ tagsViewBgColor: "transparent",
895
+ tagsViewBgHoverColor: "rgba(255,255,255,.3)",
896
+ tagsViewBgActiveColor: "rgba(255,255,255,.2)",
897
+ tagsViewArrowColor: "#fff",
898
+ tagsViewArrowHoverColor: "rgba(255,255,255,.8)",
899
+ tagsViewArrowBgColor: "rgba(255,255,255,.2)",
900
+ tagsViewArrowBgHoverColor: "rgba(255,255,255,.3)",
901
+ tagsViewArrowBgDisabledColor: "rgba(255,255,255,.5)"
814
902
  };
815
903
  const systemTheme = {
816
904
  whiteLight,
@@ -8221,14 +8309,53 @@ const _sfc_main$t = /* @__PURE__ */ Object.assign({ name: "TagsView" }, {
8221
8309
  };
8222
8310
  const scrollbarRef = ref();
8223
8311
  const scrollLeftNumber = ref(0);
8312
+ const showArrows = ref(false);
8313
+ const disabledLeftArrow = ref(false);
8314
+ const disabledRightArrow = ref(false);
8224
8315
  let scrollStopFn = null;
8225
- const scroll = ({ scrollLeft }) => {
8316
+ const checkArrows = () => {
8317
+ var _a2;
8318
+ const wrap$ = (_a2 = unref(scrollbarRef)) == null ? void 0 : _a2.wrapRef;
8319
+ if (!wrap$)
8320
+ return;
8321
+ const { scrollLeft, scrollWidth, offsetWidth } = wrap$;
8322
+ showArrows.value = scrollWidth > offsetWidth;
8323
+ disabledLeftArrow.value = scrollLeft <= 0;
8324
+ disabledRightArrow.value = scrollLeft >= scrollWidth - offsetWidth - 1;
8325
+ };
8326
+ const handleScroll = ({ scrollLeft }) => {
8226
8327
  scrollLeftNumber.value = scrollLeft;
8328
+ checkArrows();
8329
+ };
8330
+ const handleScrollLeft = () => {
8331
+ var _a2;
8332
+ const wrap$ = (_a2 = unref(scrollbarRef)) == null ? void 0 : _a2.wrapRef;
8333
+ if (wrap$) {
8334
+ wrap$.scrollTo({
8335
+ left: Math.max(0, wrap$.scrollLeft - 300),
8336
+ behavior: "smooth"
8337
+ });
8338
+ }
8339
+ };
8340
+ const handleScrollRight = () => {
8341
+ var _a2;
8342
+ const wrap$ = (_a2 = unref(scrollbarRef)) == null ? void 0 : _a2.wrapRef;
8343
+ if (wrap$) {
8344
+ wrap$.scrollTo({
8345
+ left: wrap$.scrollLeft + 300,
8346
+ behavior: "smooth"
8347
+ });
8348
+ }
8227
8349
  };
8228
8350
  onBeforeMount(() => {
8229
8351
  initTags();
8230
8352
  addTags();
8231
8353
  });
8354
+ onMounted(() => {
8355
+ nextTick(() => {
8356
+ checkArrows();
8357
+ });
8358
+ });
8232
8359
  watch(
8233
8360
  () => currentRoute.value,
8234
8361
  () => {
@@ -8241,14 +8368,14 @@ const _sfc_main$t = /* @__PURE__ */ Object.assign({ name: "TagsView" }, {
8241
8368
  const _component_router_link = resolveComponent("router-link");
8242
8369
  return openBlock(), createElementBlock("div", {
8243
8370
  id: unref(prefixCls2),
8244
- class: normalizeClass([unref(prefixCls2), "relative flex"])
8371
+ class: normalizeClass([unref(prefixCls2), "relative flex items-center"])
8245
8372
  }, [
8246
8373
  createElementVNode("div", _hoisted_2$a, [
8247
8374
  createVNode(unref(ElScrollbar), {
8248
8375
  ref_key: "scrollbarRef",
8249
8376
  ref: scrollbarRef,
8250
8377
  class: "h-full",
8251
- onScroll: scroll
8378
+ onScroll: handleScroll
8252
8379
  }, {
8253
8380
  default: withCtx(() => [
8254
8381
  createElementVNode("div", _hoisted_3$9, [
@@ -8319,7 +8446,6 @@ const _sfc_main$t = /* @__PURE__ */ Object.assign({ name: "TagsView" }, {
8319
8446
  createVNode(_component_Icon, {
8320
8447
  class: normalizeClass(`${unref(prefixCls2)}__item--close`),
8321
8448
  size: 8,
8322
- color: "#7b7e904ff",
8323
8449
  icon: "svg-icon:tag-close",
8324
8450
  onClick: withModifiers(($event) => closeSelectedTag(item), ["prevent", "stop"])
8325
8451
  }, null, 8, ["class", "onClick"]),
@@ -8341,12 +8467,32 @@ const _sfc_main$t = /* @__PURE__ */ Object.assign({ name: "TagsView" }, {
8341
8467
  ]),
8342
8468
  _: 1
8343
8469
  }, 512)
8344
- ])
8470
+ ]),
8471
+ unref(showArrows) ? (openBlock(), createElementBlock("div", {
8472
+ key: 0,
8473
+ class: normalizeClass(`${unref(prefixCls2)}__arrow ${unref(prefixCls2)}__arrow--left ${unref(disabledLeftArrow) ? "is-disabled" : ""}`),
8474
+ onClick: handleScrollLeft
8475
+ }, [
8476
+ createVNode(_component_Icon, {
8477
+ icon: "svg-icon:chevron-left",
8478
+ size: 10
8479
+ })
8480
+ ], 2)) : createCommentVNode("", true),
8481
+ unref(showArrows) ? (openBlock(), createElementBlock("div", {
8482
+ key: 1,
8483
+ class: normalizeClass(`${unref(prefixCls2)}__arrow ${unref(prefixCls2)}__arrow--right ${unref(disabledRightArrow) ? "is-disabled" : ""}`),
8484
+ onClick: handleScrollRight
8485
+ }, [
8486
+ createVNode(_component_Icon, {
8487
+ icon: "svg-icon:chevron-right",
8488
+ size: 10
8489
+ })
8490
+ ], 2)) : createCommentVNode("", true)
8345
8491
  ], 10, _hoisted_1$c);
8346
8492
  };
8347
8493
  }
8348
8494
  });
8349
- const TagsView = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-3ab01e0b"]]);
8495
+ const TagsView = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-3fbf2f73"]]);
8350
8496
  const _sfc_main$s = /* @__PURE__ */ Object.assign({ name: "MenuTrigger" }, {
8351
8497
  __name: "MenuTrigger",
8352
8498
  props: {
@@ -8362,7 +8508,7 @@ const _sfc_main$s = /* @__PURE__ */ Object.assign({ name: "MenuTrigger" }, {
8362
8508
  const prefixCls2 = getPrefixCls2("menu-trigger");
8363
8509
  const props = __props;
8364
8510
  const theme = computed(() => appStore.getTheme);
8365
- const triggerIcon = computed(() => props.active ? "ant-design:close-outlined" : theme.value === "whiteLight" ? "svg-icon:menu-trigger-filled" : "svg-icon:menu-trigger");
8511
+ const triggerIcon = computed(() => props.active ? "svg-icon:close-square" : theme.value === "whiteLight" ? "svg-icon:menu-trigger-filled" : "svg-icon:menu-trigger");
8366
8512
  const emit = __emit;
8367
8513
  const handleClick = () => {
8368
8514
  emit("click");
@@ -8376,14 +8522,14 @@ const _sfc_main$s = /* @__PURE__ */ Object.assign({ name: "MenuTrigger" }, {
8376
8522
  }, [
8377
8523
  createVNode(_component_Icon, {
8378
8524
  icon: unref(triggerIcon),
8379
- svgClass: "!w-full !h-full",
8380
- class: normalizeClass(["!w-18px", "!h-18px", "icon-color"])
8525
+ class: normalizeClass(["icon-color"]),
8526
+ size: 18
8381
8527
  }, null, 8, ["icon"])
8382
8528
  ], 2);
8383
8529
  };
8384
8530
  }
8385
8531
  });
8386
- const MenuTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-aedf94f7"]]);
8532
+ const MenuTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-df837f35"]]);
8387
8533
  const _hoisted_1$b = { class: "sidebar-inner" };
8388
8534
  const _hoisted_2$9 = ["onClick"];
8389
8535
  const _hoisted_3$8 = ["onClick"];
@@ -8429,6 +8575,7 @@ const _sfc_main$r = /* @__PURE__ */ Object.assign({ name: "ProductServicePanel"
8429
8575
  }, 300);
8430
8576
  }
8431
8577
  });
8578
+ const expandedCardIndex = ref(null);
8432
8579
  const activeProductIndex = ref(0);
8433
8580
  const activeModuleIndex = ref(0);
8434
8581
  const routers = computed(() => permissionStore.getRoleRouters);
@@ -8528,7 +8675,7 @@ const _sfc_main$r = /* @__PURE__ */ Object.assign({ name: "ProductServicePanel"
8528
8675
  activeModuleIndex.value = 0;
8529
8676
  };
8530
8677
  const handleSelect = (item, parentPath = "") => {
8531
- var _a2, _b, _c;
8678
+ var _a2, _b, _c, _d;
8532
8679
  const fullPath = getAccessiblePath(item, parentPath);
8533
8680
  if (fullPath) {
8534
8681
  const currentModuleId = permissionStore.getModuleId;
@@ -8537,7 +8684,7 @@ const _sfc_main$r = /* @__PURE__ */ Object.assign({ name: "ProductServicePanel"
8537
8684
  router.push(fullPath.startsWith("/") ? fullPath : `/${fullPath}`);
8538
8685
  } else {
8539
8686
  const currentOrigin = window.location.origin;
8540
- const modulePath = ((_c = productList.value[activeProductIndex.value]) == null ? void 0 : _c.modulePath) || "";
8687
+ const modulePath = ((_d = (_c = productList.value[activeProductIndex.value]) == null ? void 0 : _c.children[activeModuleIndex.value]) == null ? void 0 : _d.modulePath) || "";
8541
8688
  const moduleFullPath = joinPath(modulePath, fullPath);
8542
8689
  const targetUrl = `${currentOrigin}${moduleFullPath.startsWith("/") ? moduleFullPath : `/${moduleFullPath}`}`;
8543
8690
  window.location.href = targetUrl;
@@ -8596,6 +8743,7 @@ const _sfc_main$r = /* @__PURE__ */ Object.assign({ name: "ProductServicePanel"
8596
8743
  activeProductIndex.value = 0;
8597
8744
  activeModuleIndex.value = 0;
8598
8745
  }
8746
+ expandedCardIndex.value = activeProductIndex.value;
8599
8747
  nextTick(() => {
8600
8748
  var _a2;
8601
8749
  (_a2 = searchInputRef.value) == null ? void 0 : _a2.focus();
@@ -8624,7 +8772,7 @@ const _sfc_main$r = /* @__PURE__ */ Object.assign({ name: "ProductServicePanel"
8624
8772
  __props.visible ? (openBlock(), createElementBlock("div", {
8625
8773
  key: 0,
8626
8774
  class: normalizeClass([unref(prefixCls2)]),
8627
- onClick: _cache[1] || (_cache[1] = withModifiers(() => {
8775
+ onClick: _cache[2] || (_cache[2] = withModifiers(() => {
8628
8776
  }, ["stop"]))
8629
8777
  }, [
8630
8778
  createElementVNode("div", {
@@ -8646,18 +8794,37 @@ const _sfc_main$r = /* @__PURE__ */ Object.assign({ name: "ProductServicePanel"
8646
8794
  key: product.id || pIndex,
8647
8795
  class: normalizeClass([
8648
8796
  unref(prefixCls2) + "__product-card",
8649
- { "is-active": activeProductIndex.value === pIndex }
8797
+ { "is-active": activeProductIndex.value === pIndex },
8798
+ { "is-expanded": expandedCardIndex.value === pIndex }
8650
8799
  ]),
8651
- onClick: ($event) => handleProductSelect(pIndex)
8800
+ onClick: ($event) => {
8801
+ handleProductSelect(pIndex);
8802
+ expandedCardIndex.value = expandedCardIndex.value === pIndex ? null : pIndex;
8803
+ }
8652
8804
  }, [
8653
8805
  createElementVNode("div", {
8654
8806
  class: normalizeClass([unref(prefixCls2) + "__product-name"])
8655
8807
  }, [
8656
- createElementVNode("span", null, toDisplayString(product.title), 1)
8808
+ createVNode(unref(_sfc_main$x), {
8809
+ icon: product.icon ? product.icon : "svg-icon:clipboard",
8810
+ size: "16"
8811
+ }, null, 8, ["icon"]),
8812
+ createElementVNode("span", null, toDisplayString(product.title), 1),
8813
+ product.children.length > 0 ? (openBlock(), createElementBlock("div", {
8814
+ key: 0,
8815
+ class: normalizeClass([unref(prefixCls2) + "__card-toggle"])
8816
+ }, [
8817
+ createVNode(unref(_sfc_main$x), {
8818
+ icon: expandedCardIndex.value === pIndex ? "lucide:chevron-up" : "lucide:chevron-down",
8819
+ size: 14
8820
+ }, null, 8, ["icon"])
8821
+ ], 2)) : createCommentVNode("", true)
8657
8822
  ], 2),
8658
- product.children.length > 0 ? (openBlock(), createElementBlock("div", {
8823
+ product.children.length > 0 && expandedCardIndex.value === pIndex ? (openBlock(), createElementBlock("div", {
8659
8824
  key: 0,
8660
- class: normalizeClass([unref(prefixCls2) + "__product-modules"])
8825
+ class: normalizeClass([unref(prefixCls2) + "__product-modules"]),
8826
+ onClick: _cache[0] || (_cache[0] = withModifiers(() => {
8827
+ }, ["stop"]))
8661
8828
  }, [
8662
8829
  (openBlock(true), createElementBlock(Fragment, null, renderList(product.children, (mod, mIndex) => {
8663
8830
  return openBlock(), createElementBlock("span", {
@@ -8689,7 +8856,7 @@ const _sfc_main$r = /* @__PURE__ */ Object.assign({ name: "ProductServicePanel"
8689
8856
  ref_key: "searchInputRef",
8690
8857
  ref: searchInputRef,
8691
8858
  modelValue: searchKeyword.value,
8692
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchKeyword.value = $event),
8859
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => searchKeyword.value = $event),
8693
8860
  placeholder: unref(t2)("layout.common.searchMenu"),
8694
8861
  clearable: "",
8695
8862
  size: "default"
@@ -8775,7 +8942,7 @@ const _sfc_main$r = /* @__PURE__ */ Object.assign({ name: "ProductServicePanel"
8775
8942
  };
8776
8943
  }
8777
8944
  });
8778
- const ProductServicePanel = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-130420a1"]]);
8945
+ const ProductServicePanel = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-7913a05f"]]);
8779
8946
  const _sfc_main$q = /* @__PURE__ */ Object.assign({ name: "Logo" }, {
8780
8947
  __name: "Logo",
8781
8948
  emits: ["logo-click"],
@@ -8943,10 +9110,10 @@ const _sfc_main$o = /* @__PURE__ */ Object.assign({ name: "Message" }, {
8943
9110
  const Message = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__scopeId", "data-v-fdaeb8e4"]]);
8944
9111
  const avatarImg = "data:image/gif;base64,R0lGODlhUABQAPYAAGTZ1v+Yy/7+/gAAAFS3tc/S0v/S6DuAfwoWFXfd2+j5+Nj19On5+Zjl4xo6OcLu7afp57jt7A4gH8zy8YDf3ajp51/X1Mvy8YXh3ozi4FjBvtnZ2VdXVyRQTxcXF8Xw79f19EtLS1GxrgcQD+np6anp6PHo7Li4uMnJyV/QzVW6uJmZmV3Kx5fl42DRzoiIiDNxb0aHhi5mZLe3t0aYlqenp2DRz6ampnl5ecbGxkeamDd3drS0tG10dOn5+MjIyLnt7E6opmhoaDuAfv/p9IWFhdbW1njd2+jo6NjY2E2npUmgndvi4kqhn7zExEKRj2pqao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uyQnkVhz1DgP4DvUcA3bmhFrIBfB0YoCgE1e4cFlB498gV4sUFJGwQgCbLVesuHAoCCIjVJFEJQu4LYACc9FMlgwgQgYhWqSorTQEM9OCmYVqAlC0CMk2AFqw8HI0rJAVB4w8+BmEBRdOQxc8SRVYUoOgplM/PR3k6MOCCx8gQCBkpWQgACH5BAUEAAYALBEAFAAZACEAAAf7gAaCg4QGFAmCCRSFjI0XAgINEJARjZYGH5ACDJoMl4wNmqICF4MAnwacoqYAra2Xk5CEDAmutpYLsp6CELa3jQKCDLsMvq6Wi4ILgxe+qA3MwQYRr6gGANAGAh+DEYjW19mkhJuVqAAZn5vJlgDslpvfjdVIN/b39isvMTsxp4WtdhlIkuTGAEE4UCh8IeMfoVbLCCGZYsBDgSsBvCAR4ZCVwEFIUCQJxmZTtYcAPn56x6qUNQEQ2mWzdkKGEkYBwX0C4NKSynnmdF6r1mrmoAIOGk0x1iqdUKbohA71lSCoTlsZckmTOkjVVgMFpHqVKDXrAm5crYW9FAgAOw==";
8945
9112
  const _hoisted_1$9 = { class: "flex items-center px-10px py-8px text-[var(--top-header-text-color)] hover:text-[var(--top-header-hover-color)] rounded-6px bg-[var(--top-header-company-bg-color)]" };
8946
- const _hoisted_2$8 = { class: "pl-6px text-12px <lg:hidden" };
9113
+ const _hoisted_2$8 = { class: "pl-6px text-12px <lg:hidden truncate max-w-120px" };
8947
9114
  const _hoisted_3$7 = { class: "ml-6px" };
8948
- const _hoisted_4$6 = { class: "flex items-center text-[var(--top-header-text-color)] hover:text-[var(--top-header-hover-color)] mr-18px" };
8949
- const _hoisted_5$5 = { class: "pl-5px text-12px <lg:hidden" };
9115
+ const _hoisted_4$6 = { class: "flex items-center text-[var(--top-header-text-color)] hover:text-[var(--top-header-hover-color)]" };
9116
+ const _hoisted_5$5 = { class: "pl-5px text-12px <lg:hidden truncate max-w-100px" };
8950
9117
  const _hoisted_6$4 = { class: "ml-6px" };
8951
9118
  const _hoisted_7$2 = { class: "flex items-center text-#e0e0e0" };
8952
9119
  const _hoisted_8$1 = { class: "flex flex-col gap-3px pl-5px text-12px <lg:hidden" };
@@ -9146,7 +9313,7 @@ const _sfc_main$n = /* @__PURE__ */ Object.assign({ name: "UserInfo" }, {
9146
9313
  };
9147
9314
  }
9148
9315
  });
9149
- const UserInfo = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-31268ba6"]]);
9316
+ const UserInfo = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__scopeId", "data-v-d68b68d5"]]);
9150
9317
  const filterBreadcrumb = (routes, parentPath = "") => {
9151
9318
  var _a2;
9152
9319
  const res = [];
@@ -10378,15 +10545,16 @@ const useRenderLayout = (onLogoClick, onMessageClick, onLogoutClick, onClearCach
10378
10545
  };
10379
10546
  const renderTop = () => {
10380
10547
  return createVNode(Fragment, null, [createVNode("div", {
10381
- "class": ["relative flex items-center justify-between bg-[linear-gradient(var(--top-header-bg-color))] shadow-[0px_2px_6px_0px_rgba(197,206,225,0.35)] z-100", {
10548
+ "class": ["relative w-full flex items-center justify-between bg-[linear-gradient(var(--top-header-bg-color))] shadow-[0px_2px_6px_0px_rgba(197,206,225,0.35)] z-100", {
10382
10549
  "layout-border__bottom": !tagsView.value
10383
10550
  }, festivalTopClass.value]
10384
10551
  }, [logo.value ? createVNode(_sfc_main$q, {
10385
- "class": ["w-[var(--left-menu-max-width)]"],
10552
+ "class": ["shrink-0 w-[var(--left-menu-max-width)]"],
10386
10553
  "onLogoClick": onLogoClick
10387
10554
  }, null) : void 0, tagsView.value && createVNode(TagsView, {
10388
- "class": ["layout-border__bottom flex-1"]
10555
+ "class": ["layout-border__bottom flex-1 min-w-0"]
10389
10556
  }, null), createVNode(ToolHeader, {
10557
+ "class": "shrink-0 pl-20px",
10390
10558
  "onMessageClick": onMessageClick,
10391
10559
  "onLogoutClick": onLogoutClick,
10392
10560
  "onClearCacheLogoutClick": onClearCacheLogoutClick,