sat-earth 0.0.14 → 0.0.15

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.
@@ -1,12 +1,13 @@
1
+ import { type Ref } from 'vue';
1
2
  declare const _sfc_main: import("vue").DefineComponent<{
2
3
  isVisible: {
3
4
  type: BooleanConstructor;
4
5
  default: () => boolean;
5
6
  };
6
7
  }, {
7
- emit: (event: "changeVisible", ...args: any[]) => void;
8
+ isShowDrawer: Ref<boolean> | undefined;
8
9
  handleClose: () => void;
9
- isMobile: import("vue").Ref<boolean>;
10
+ isMobile: Ref<boolean>;
10
11
  defaultOpend: string[];
11
12
  SatMenuTree: import("vue").DefineComponent<{
12
13
  treeData: {
@@ -36,16 +37,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
36
37
  default: () => boolean;
37
38
  };
38
39
  }>> & {
39
- onChangeVisible?: ((...args: any[]) => any) | undefined;
40
40
  onCustomClick?: ((...args: any[]) => any) | undefined;
41
41
  onCustomCloseClick?: ((...args: any[]) => any) | undefined;
42
42
  }>>;
43
- emit: (event: "changeVisible" | "customClick" | "customCloseClick", ...args: any[]) => void;
43
+ emit: (event: "customClick" | "customCloseClick", ...args: any[]) => void;
44
+ isShowDrawer: Ref<boolean> | undefined;
44
45
  handleClose: () => void;
45
46
  handleMenuClick: (item: import("./helpers").MenuItem) => void;
46
47
  handleCloseItemClick: (item: import("./helpers").MenuItem) => void;
47
48
  getAssetsSource: typeof import("../../utils").getAssetsSource;
48
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeVisible" | "customClick" | "customCloseClick")[], "changeVisible" | "customClick" | "customCloseClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
49
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("customClick" | "customCloseClick")[], "customClick" | "customCloseClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
49
50
  treeData: {
50
51
  type: import("vue").PropType<import("./helpers").MenuItem[]>;
51
52
  default: () => import("./helpers").MenuItem[];
@@ -59,7 +60,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
59
60
  default: () => boolean;
60
61
  };
61
62
  }>> & {
62
- onChangeVisible?: ((...args: any[]) => any) | undefined;
63
63
  onCustomClick?: ((...args: any[]) => any) | undefined;
64
64
  onCustomCloseClick?: ((...args: any[]) => any) | undefined;
65
65
  }, {
@@ -69,14 +69,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
69
69
  }>;
70
70
  menuList: import("vue").ComputedRef<import("./helpers").MenuItem[]>;
71
71
  menuListEnabled: import("vue").ComputedRef<import("./helpers").MenuItem[]>;
72
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "changeVisible"[], "changeVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
72
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
73
73
  isVisible: {
74
74
  type: BooleanConstructor;
75
75
  default: () => boolean;
76
76
  };
77
- }>> & {
78
- onChangeVisible?: ((...args: any[]) => any) | undefined;
79
- }, {
77
+ }>>, {
80
78
  isVisible: boolean;
81
79
  }>;
82
80
  export default _sfc_main;
@@ -7,7 +7,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
7
7
  default: () => boolean;
8
8
  };
9
9
  }, {
10
- emit: (event: "changeVisible", ...args: any[]) => void;
10
+ isShowDrawer: import("vue").Ref<boolean> | undefined;
11
11
  handleClose: () => void;
12
12
  isMobile: import("vue").Ref<boolean>;
13
13
  defaultOpend: string[];
@@ -39,16 +39,16 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
39
39
  default: () => boolean;
40
40
  };
41
41
  }>> & {
42
- onChangeVisible?: ((...args: any[]) => any) | undefined;
43
42
  onCustomClick?: ((...args: any[]) => any) | undefined;
44
43
  onCustomCloseClick?: ((...args: any[]) => any) | undefined;
45
44
  }>>;
46
- emit: (event: "changeVisible" | "customClick" | "customCloseClick", ...args: any[]) => void;
45
+ emit: (event: "customClick" | "customCloseClick", ...args: any[]) => void;
46
+ isShowDrawer: import("vue").Ref<boolean> | undefined;
47
47
  handleClose: () => void;
48
48
  handleMenuClick: (item: import("./helpers").MenuItem) => void;
49
49
  handleCloseItemClick: (item: import("./helpers").MenuItem) => void;
50
50
  getAssetsSource: typeof import("../../utils").getAssetsSource;
51
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeVisible" | "customClick" | "customCloseClick")[], "changeVisible" | "customClick" | "customCloseClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("customClick" | "customCloseClick")[], "customClick" | "customCloseClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
52
52
  treeData: {
53
53
  type: import("vue").PropType<import("./helpers").MenuItem[]>;
54
54
  default: () => import("./helpers").MenuItem[];
@@ -62,7 +62,6 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
62
62
  default: () => boolean;
63
63
  };
64
64
  }>> & {
65
- onChangeVisible?: ((...args: any[]) => any) | undefined;
66
65
  onCustomClick?: ((...args: any[]) => any) | undefined;
67
66
  onCustomCloseClick?: ((...args: any[]) => any) | undefined;
68
67
  }, {
@@ -72,14 +71,12 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
72
71
  }>;
73
72
  menuList: import("vue").ComputedRef<import("./helpers").MenuItem[]>;
74
73
  menuListEnabled: import("vue").ComputedRef<import("./helpers").MenuItem[]>;
75
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "changeVisible"[], "changeVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
74
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
76
75
  isVisible: {
77
76
  type: BooleanConstructor;
78
77
  default: () => boolean;
79
78
  };
80
- }>> & {
81
- onChangeVisible?: ((...args: any[]) => any) | undefined;
82
- }, {
79
+ }>>, {
83
80
  isVisible: boolean;
84
81
  }>;
85
82
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
@@ -7,7 +7,7 @@ export declare const SatMenu: import('../../utils/installer').SFCWithInstall<imp
7
7
  default: () => boolean;
8
8
  };
9
9
  }, {
10
- emit: (event: "changeVisible", ...args: any[]) => void;
10
+ isShowDrawer: import("vue").Ref<boolean> | undefined;
11
11
  handleClose: () => void;
12
12
  isMobile: import("vue").Ref<boolean>;
13
13
  defaultOpend: string[];
@@ -39,16 +39,16 @@ export declare const SatMenu: import('../../utils/installer').SFCWithInstall<imp
39
39
  default: () => boolean;
40
40
  };
41
41
  }>> & {
42
- onChangeVisible?: ((...args: any[]) => any) | undefined;
43
42
  onCustomClick?: ((...args: any[]) => any) | undefined;
44
43
  onCustomCloseClick?: ((...args: any[]) => any) | undefined;
45
44
  }>>;
46
- emit: (event: "changeVisible" | "customClick" | "customCloseClick", ...args: any[]) => void;
45
+ emit: (event: "customClick" | "customCloseClick", ...args: any[]) => void;
46
+ isShowDrawer: import("vue").Ref<boolean> | undefined;
47
47
  handleClose: () => void;
48
48
  handleMenuClick: (item: import("./helpers").MenuItem) => void;
49
49
  handleCloseItemClick: (item: import("./helpers").MenuItem) => void;
50
50
  getAssetsSource: typeof import("../../utils").getAssetsSource;
51
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeVisible" | "customClick" | "customCloseClick")[], "changeVisible" | "customClick" | "customCloseClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("customClick" | "customCloseClick")[], "customClick" | "customCloseClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
52
52
  treeData: {
53
53
  type: import("vue").PropType<import("./helpers").MenuItem[]>;
54
54
  default: () => import("./helpers").MenuItem[];
@@ -62,7 +62,6 @@ export declare const SatMenu: import('../../utils/installer').SFCWithInstall<imp
62
62
  default: () => boolean;
63
63
  };
64
64
  }>> & {
65
- onChangeVisible?: ((...args: any[]) => any) | undefined;
66
65
  onCustomClick?: ((...args: any[]) => any) | undefined;
67
66
  onCustomCloseClick?: ((...args: any[]) => any) | undefined;
68
67
  }, {
@@ -72,14 +71,12 @@ export declare const SatMenu: import('../../utils/installer').SFCWithInstall<imp
72
71
  }>;
73
72
  menuList: import("vue").ComputedRef<import("./helpers").MenuItem[]>;
74
73
  menuListEnabled: import("vue").ComputedRef<import("./helpers").MenuItem[]>;
75
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "changeVisible"[], "changeVisible", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
74
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
76
75
  isVisible: {
77
76
  type: BooleanConstructor;
78
77
  default: () => boolean;
79
78
  };
80
- }>> & {
81
- onChangeVisible?: ((...args: any[]) => any) | undefined;
82
- }, {
79
+ }>>, {
83
80
  isVisible: boolean;
84
81
  }>;
85
82
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
@@ -1,4 +1,4 @@
1
- import { type PropType } from 'vue';
1
+ import { type PropType, type Ref } from 'vue';
2
2
  import { getAssetsSource } from '../../../utils';
3
3
  import { type MenuItem } from '../helpers';
4
4
  declare const _sfc_main: import("vue").DefineComponent<{
@@ -29,16 +29,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
29
29
  default: () => boolean;
30
30
  };
31
31
  }>> & {
32
- onChangeVisible?: ((...args: any[]) => any) | undefined;
33
32
  onCustomClick?: ((...args: any[]) => any) | undefined;
34
33
  onCustomCloseClick?: ((...args: any[]) => any) | undefined;
35
34
  }>>;
36
- emit: (event: "changeVisible" | "customClick" | "customCloseClick", ...args: any[]) => void;
35
+ emit: (event: "customClick" | "customCloseClick", ...args: any[]) => void;
36
+ isShowDrawer: Ref<boolean> | undefined;
37
37
  handleClose: () => void;
38
38
  handleMenuClick: (item: MenuItem) => void;
39
39
  handleCloseItemClick: (item: MenuItem) => void;
40
40
  getAssetsSource: typeof getAssetsSource;
41
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeVisible" | "customClick" | "customCloseClick")[], "changeVisible" | "customClick" | "customCloseClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
41
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("customClick" | "customCloseClick")[], "customClick" | "customCloseClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
42
  treeData: {
43
43
  type: PropType<MenuItem[]>;
44
44
  default: () => MenuItem[];
@@ -52,7 +52,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
52
52
  default: () => boolean;
53
53
  };
54
54
  }>> & {
55
- onChangeVisible?: ((...args: any[]) => any) | undefined;
56
55
  onCustomClick?: ((...args: any[]) => any) | undefined;
57
56
  onCustomCloseClick?: ((...args: any[]) => any) | undefined;
58
57
  }, {
@@ -26,16 +26,16 @@ export declare const SatMenuTree: import('../../../utils/installer').SFCWithInst
26
26
  default: () => boolean;
27
27
  };
28
28
  }>> & {
29
- onChangeVisible?: ((...args: any[]) => any) | undefined;
30
29
  onCustomClick?: ((...args: any[]) => any) | undefined;
31
30
  onCustomCloseClick?: ((...args: any[]) => any) | undefined;
32
31
  }>>;
33
- emit: (event: "changeVisible" | "customClick" | "customCloseClick", ...args: any[]) => void;
32
+ emit: (event: "customClick" | "customCloseClick", ...args: any[]) => void;
33
+ isShowDrawer: import("vue").Ref<boolean> | undefined;
34
34
  handleClose: () => void;
35
35
  handleMenuClick: (item: import("..").MenuItem) => void;
36
36
  handleCloseItemClick: (item: import("..").MenuItem) => void;
37
37
  getAssetsSource: typeof import("../../../utils").getAssetsSource;
38
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("changeVisible" | "customClick" | "customCloseClick")[], "changeVisible" | "customClick" | "customCloseClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
38
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("customClick" | "customCloseClick")[], "customClick" | "customCloseClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
39
39
  treeData: {
40
40
  type: import("vue").PropType<import("..").MenuItem[]>;
41
41
  default: () => import("..").MenuItem[];
@@ -49,7 +49,6 @@ export declare const SatMenuTree: import('../../../utils/installer').SFCWithInst
49
49
  default: () => boolean;
50
50
  };
51
51
  }>> & {
52
- onChangeVisible?: ((...args: any[]) => any) | undefined;
53
52
  onCustomClick?: ((...args: any[]) => any) | undefined;
54
53
  onCustomCloseClick?: ((...args: any[]) => any) | undefined;
55
54
  }, {
@@ -12517,11 +12517,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
12517
12517
  }
12518
12518
  }
12519
12519
  },
12520
- emits: ["changeVisible", "customClick", "customCloseClick"],
12520
+ emits: ["customClick", "customCloseClick"],
12521
12521
  setup(__props, { emit }) {
12522
12522
  const props = __props;
12523
+ const isShowDrawer = inject("isShowDrawer");
12523
12524
  const handleClose = () => {
12524
- emit("changeVisible");
12525
+ isShowDrawer.value = false;
12525
12526
  };
12526
12527
  const handleMenuClick = (item) => {
12527
12528
  handleClose();
@@ -12610,8 +12611,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
12610
12611
  };
12611
12612
  }
12612
12613
  }));
12613
- var MenuDrawer_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '.sat-drawer-title[data-v-0624f48a]{text-align:center;font-size:18px;font-weight:600}.sat-menu-title[data-v-0624f48a]{height:40px;line-height:40px}.sat-menu-vertical[data-v-0624f48a]{border:transparent;max-height:calc(50% - 40px);overflow-x:hidden;overflow-y:auto}.sat-menu-vertical[data-v-0624f48a] .sat-menu-icon{margin-right:2px;font-size:20px;width:40px;text-align:center}.sat-menu-vertical[data-v-0624f48a] .sat-menu-control-area .sat-menu-icon{width:20px}.sat-menu-vertical[data-v-0624f48a] .sat-menu-image{margin-right:2px;width:40px}.sat-menu-vertical[data-v-0624f48a] .el-menu-item:after{height:0px;width:2px;position:absolute;left:0;top:0;content:""}.sat-menu-vertical[data-v-0624f48a] .el-menu-item{height:40px;line-height:40px;justify-content:space-between;cursor:unset}.sat-menu-vertical[data-v-0624f48a] .el-menu-item>div{display:flex;align-items:center;cursor:pointer}.sat-menu-vertical[data-v-0624f48a] .el-menu-item.is-active:after{height:0}.sat-menu-vertical[data-v-0624f48a] .el-menu-item:hover:after{height:100%;transition:height .3s}.sat-menu-vertical-inverse.sat-menu-vertical[data-v-0624f48a] .el-menu-item.is-active:after{height:0}.sat-menu-vertical-inverse.sat-menu-vertical[data-v-0624f48a] .el-menu-item:hover:after{height:100%;transition:height .3s}.sat-menu-vertical[data-v-0624f48a] .el-sub-menu>.el-sub-menu__title{height:40px;line-height:40px}.sat-menu-vertical[data-v-0624f48a] .el-sub-menu>.el-sub-menu__title>div{display:flex;align-items:center}\n')();
12614
- const _withScopeId = (n) => (pushScopeId("data-v-0624f48a"), n = n(), popScopeId(), n);
12614
+ var MenuDrawer_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => '.sat-drawer-title[data-v-2ceb6554]{text-align:center;font-size:18px;font-weight:600}.sat-menu-title[data-v-2ceb6554]{height:40px;line-height:40px}.sat-menu-vertical[data-v-2ceb6554]{border:transparent;max-height:calc(50% - 40px);overflow-x:hidden;overflow-y:auto}.sat-menu-vertical[data-v-2ceb6554] .sat-menu-icon{margin-right:2px;font-size:20px;width:40px;text-align:center}.sat-menu-vertical[data-v-2ceb6554] .sat-menu-control-area .sat-menu-icon{width:20px}.sat-menu-vertical[data-v-2ceb6554] .sat-menu-image{margin-right:2px;width:40px}.sat-menu-vertical[data-v-2ceb6554] .el-menu-item:after{height:0px;width:2px;position:absolute;left:0;top:0;content:""}.sat-menu-vertical[data-v-2ceb6554] .el-menu-item{height:40px;line-height:40px;justify-content:space-between;cursor:unset}.sat-menu-vertical[data-v-2ceb6554] .el-menu-item>div{display:flex;align-items:center;cursor:pointer}.sat-menu-vertical[data-v-2ceb6554] .el-menu-item.is-active:after{height:0}.sat-menu-vertical[data-v-2ceb6554] .el-menu-item:hover:after{height:100%;transition:height .3s}.sat-menu-vertical-inverse.sat-menu-vertical[data-v-2ceb6554] .el-menu-item.is-active:after{height:0}.sat-menu-vertical-inverse.sat-menu-vertical[data-v-2ceb6554] .el-menu-item:hover:after{height:100%;transition:height .3s}.sat-menu-vertical[data-v-2ceb6554] .el-sub-menu>.el-sub-menu__title{height:40px;line-height:40px}.sat-menu-vertical[data-v-2ceb6554] .el-sub-menu>.el-sub-menu__title>div{display:flex;align-items:center}\n')();
12615
+ const _withScopeId = (n) => (pushScopeId("data-v-2ceb6554"), n = n(), popScopeId(), n);
12615
12616
  const _hoisted_1$4 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "sat-title sat-drawer-title" }, " MENU ", -1));
12616
12617
  const _hoisted_2$3 = { class: "sat-menu-title" };
12617
12618
  const _hoisted_3$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "sat-menu-title" }, " \u83DC\u5355\u5217\u8868 ", -1));
@@ -12627,10 +12628,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
12627
12628
  }
12628
12629
  }
12629
12630
  },
12630
- emits: ["changeVisible"],
12631
- setup(__props, { emit }) {
12631
+ setup(__props) {
12632
+ const isShowDrawer = inject("isShowDrawer");
12632
12633
  const handleClose = () => {
12633
- emit("changeVisible");
12634
+ isShowDrawer.value = false;
12634
12635
  };
12635
12636
  const { isMobile } = storeToRefs(useLayoutStore());
12636
12637
  const defaultOpend = menuTemplate.map((item) => {
@@ -12657,8 +12658,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
12657
12658
  default: withCtx(() => [
12658
12659
  createVNode(_sfc_main$5, {
12659
12660
  "show-type": "enabled",
12660
- "tree-data": unref(menuListEnabled),
12661
- onChangeVisible: handleClose
12661
+ "tree-data": unref(menuListEnabled)
12662
12662
  }, null, 8, ["tree-data"])
12663
12663
  ]),
12664
12664
  _: 1
@@ -12675,10 +12675,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
12675
12675
  class: "sat-menu-vertical"
12676
12676
  }, {
12677
12677
  default: withCtx(() => [
12678
- createVNode(_sfc_main$5, {
12679
- "tree-data": unref(menuList),
12680
- onChangeVisible: handleClose
12681
- }, null, 8, ["tree-data"])
12678
+ createVNode(_sfc_main$5, { "tree-data": unref(menuList) }, null, 8, ["tree-data"])
12682
12679
  ]),
12683
12680
  _: 1
12684
12681
  }, 8, ["default-openeds"]),
@@ -12694,8 +12691,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
12694
12691
  };
12695
12692
  }
12696
12693
  }));
12697
- var MenuDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-0624f48a"]]);
12698
- var SatMenu_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".sat-menu[data-v-bc11982e]{position:absolute;top:30px}.sat-icon-menu[data-v-bc11982e]{font-size:20px;border-radius:0 20px 20px 0;padding:10px 10px 10px 5px;cursor:pointer}\n")();
12694
+ var MenuDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-2ceb6554"]]);
12695
+ var SatMenu_vue_vue_type_style_index_0_scoped_true_lang = /* @__PURE__ */ (() => ".sat-menu[data-v-fd061be4]{position:absolute;top:30px}.sat-icon-menu[data-v-fd061be4]{font-size:20px;border-radius:0 20px 20px 0;padding:10px 10px 10px 5px;cursor:pointer}\n")();
12699
12696
  const _hoisted_1$3 = { class: "sat-menu" };
12700
12697
  const __default__$3 = {
12701
12698
  name: "SatMenu"
@@ -12706,6 +12703,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
12706
12703
  const changeDrawerVisible = () => {
12707
12704
  isShowDrawer.value = !isShowDrawer.value;
12708
12705
  };
12706
+ provide("isShowDrawer", isShowDrawer);
12709
12707
  return (_ctx, _cache) => {
12710
12708
  return openBlock(), createElementBlock(Fragment, null, [
12711
12709
  createElementVNode("div", _hoisted_1$3, [
@@ -12715,10 +12713,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
12715
12713
  "aria-hidden": "true",
12716
12714
  onClick: changeDrawerVisible
12717
12715
  }, null, 2),
12718
- createVNode(MenuDrawer, {
12719
- "is-visible": isShowDrawer.value,
12720
- onChangeVisible: changeDrawerVisible
12721
- }, {
12716
+ createVNode(MenuDrawer, { "is-visible": isShowDrawer.value }, {
12722
12717
  "custom-enable": withCtx(() => [
12723
12718
  renderSlot(_ctx.$slots, "custom-enable", {}, void 0, true)
12724
12719
  ]),
@@ -12733,7 +12728,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
12733
12728
  };
12734
12729
  }
12735
12730
  }));
12736
- var SatMenuSFC = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-bc11982e"]]);
12731
+ var SatMenuSFC = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-fd061be4"]]);
12737
12732
  const SatMenu = withInstall(SatMenuSFC);
12738
12733
  const SatMenuTree = withInstall(_sfc_main$5);
12739
12734
  const useRenderer = (label) => {