@xiaou66/u-web-ui 0.0.52 → 0.0.54

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.
Files changed (89) hide show
  1. package/dist/components/BackTop/BackTop.vue.d.ts +1 -1
  2. package/dist/components/BackTop/BackTop.vue.d.ts.map +1 -1
  3. package/dist/components/BackTop/index.d.ts +1 -1
  4. package/dist/components/BackTop/index.d.ts.map +1 -1
  5. package/dist/components/BackTop/{BackTop.d.ts → interface.d.ts} +1 -1
  6. package/dist/components/BackTop/interface.d.ts.map +1 -0
  7. package/dist/components/PageHeader/PageHeader.vue.d.ts +1 -1
  8. package/dist/components/PageHeader/PageHeader.vue.d.ts.map +1 -1
  9. package/dist/components/PageHeader/index.d.ts +1 -1
  10. package/dist/components/PageHeader/index.d.ts.map +1 -1
  11. package/dist/components/PageHeader/{PageHeader.d.ts → interface.d.ts} +1 -1
  12. package/dist/components/PageHeader/interface.d.ts.map +1 -0
  13. package/dist/components/Result/Result.vue.d.ts +1 -1
  14. package/dist/components/Result/Result.vue.d.ts.map +1 -1
  15. package/dist/components/Result/index.d.ts +1 -1
  16. package/dist/components/Result/index.d.ts.map +1 -1
  17. package/dist/components/Result/{Result.d.ts → interface.d.ts} +1 -1
  18. package/dist/components/Result/interface.d.ts.map +1 -0
  19. package/dist/components/Scrollbar/Scrollbar.vue.d.ts +8 -8
  20. package/dist/components/Scrollbar/thumb.vue.d.ts +1 -1
  21. package/dist/components/index.d.ts +1 -1
  22. package/dist/components/layout/SplitPanel/SplitPanel.vue.d.ts +1 -1
  23. package/dist/components/layout/SplitPanel/SplitPanel.vue.d.ts.map +1 -1
  24. package/dist/components/layout/SplitPanel/index.d.ts +1 -1
  25. package/dist/components/layout/SplitPanel/index.d.ts.map +1 -1
  26. package/dist/components/layout/SplitPanel/{SplitPanel.d.ts → interface.d.ts} +1 -1
  27. package/dist/components/layout/SplitPanel/interface.d.ts.map +1 -0
  28. package/dist/components/layout/UtoolsLayout/UtoolsLayout.vue.d.ts +1 -1
  29. package/dist/components/layout/WebLayout/WebLayout.vue.d.ts +1 -1
  30. package/dist/components/layout/WebLayout/index.d.ts +1 -1
  31. package/dist/components/layout/WebLayout/{WebLayout.d.ts → interface.d.ts} +1 -1
  32. package/dist/components/layout/WebLayout/{WebLayout.d.ts.map → interface.d.ts.map} +1 -1
  33. package/dist/components/{Menu → menu}/ContextMenu/ContextMenu.vue.d.ts +4 -5
  34. package/dist/components/menu/ContextMenu/ContextMenu.vue.d.ts.map +1 -0
  35. package/dist/components/menu/ContextMenu/ContextMenuDivider.vue.d.ts.map +1 -0
  36. package/dist/components/{Menu → menu}/ContextMenu/ContextMenuGroup.vue.d.ts +2 -4
  37. package/dist/components/menu/ContextMenu/ContextMenuGroup.vue.d.ts.map +1 -0
  38. package/dist/components/{Menu → menu}/ContextMenu/ContextMenuItem.vue.d.ts +3 -9
  39. package/dist/components/menu/ContextMenu/ContextMenuItem.vue.d.ts.map +1 -0
  40. package/dist/components/{Menu → menu}/ContextMenu/ContextMenuSubmenu.vue.d.ts +3 -7
  41. package/dist/components/menu/ContextMenu/ContextMenuSubmenu.vue.d.ts.map +1 -0
  42. package/dist/components/menu/ContextMenu/index.d.ts +7 -0
  43. package/dist/components/menu/ContextMenu/index.d.ts.map +1 -0
  44. package/dist/components/menu/ContextMenu/interface.d.ts +93 -0
  45. package/dist/components/menu/ContextMenu/interface.d.ts.map +1 -0
  46. package/dist/components/{Menu → menu}/LeftMenu/LeftMenu.vue.d.ts +1 -1
  47. package/dist/components/{Menu → menu}/LeftMenu/LeftMenu.vue.d.ts.map +1 -1
  48. package/dist/components/menu/LeftMenu/index.d.ts +3 -0
  49. package/dist/components/{Menu → menu}/LeftMenu/index.d.ts.map +1 -1
  50. package/dist/components/{Menu/LeftMenu/LeftMenu.d.ts → menu/LeftMenu/interface.d.ts} +9 -2
  51. package/dist/components/menu/LeftMenu/interface.d.ts.map +1 -0
  52. package/dist/components/{Menu → menu}/index.d.ts +0 -1
  53. package/dist/components/menu/index.d.ts.map +1 -0
  54. package/dist/components/switch/SwitchEnable/SwitchEnable.vue.d.ts +1 -1
  55. package/dist/components/switch/SwitchEnable/SwitchEnable.vue.d.ts.map +1 -1
  56. package/dist/components/switch/SwitchEnable/index.d.ts +1 -1
  57. package/dist/components/switch/SwitchEnable/index.d.ts.map +1 -1
  58. package/dist/components/switch/SwitchEnable/{SwitchEnable.d.ts → interface.d.ts} +1 -1
  59. package/dist/components/switch/SwitchEnable/interface.d.ts.map +1 -0
  60. package/dist/components/switch/SwitchPlus/SwitchPlus.vue.d.ts +1 -1
  61. package/dist/components/switch/SwitchPlus/SwitchPlus.vue.d.ts.map +1 -1
  62. package/dist/components/switch/SwitchPlus/SwitchPlusEnable.vue.d.ts +1 -1
  63. package/dist/components/switch/SwitchPlus/SwitchPlusEnable.vue.d.ts.map +1 -1
  64. package/dist/components/switch/SwitchPlus/index.d.ts +1 -1
  65. package/dist/components/switch/SwitchPlus/index.d.ts.map +1 -1
  66. package/dist/components/switch/SwitchPlus/{SwitchPlus.d.ts → interface.d.ts} +1 -1
  67. package/dist/components/switch/SwitchPlus/interface.d.ts.map +1 -0
  68. package/dist/index.es.js +77 -67
  69. package/dist/u-web-ui.css +1 -1
  70. package/package.json +1 -1
  71. package/dist/components/BackTop/BackTop.d.ts.map +0 -1
  72. package/dist/components/Menu/ContextMenu/ContextMenu.vue.d.ts.map +0 -1
  73. package/dist/components/Menu/ContextMenu/ContextMenuDivider.vue.d.ts.map +0 -1
  74. package/dist/components/Menu/ContextMenu/ContextMenuGroup.vue.d.ts.map +0 -1
  75. package/dist/components/Menu/ContextMenu/ContextMenuItem.vue.d.ts.map +0 -1
  76. package/dist/components/Menu/ContextMenu/ContextMenuSubmenu.vue.d.ts.map +0 -1
  77. package/dist/components/Menu/ContextMenu/index.d.ts +0 -21
  78. package/dist/components/Menu/ContextMenu/index.d.ts.map +0 -1
  79. package/dist/components/Menu/LeftMenu/LeftMenu.d.ts.map +0 -1
  80. package/dist/components/Menu/LeftMenu/index.d.ts +0 -3
  81. package/dist/components/Menu/Menu.d.ts +0 -6
  82. package/dist/components/Menu/Menu.d.ts.map +0 -1
  83. package/dist/components/Menu/index.d.ts.map +0 -1
  84. package/dist/components/PageHeader/PageHeader.d.ts.map +0 -1
  85. package/dist/components/Result/Result.d.ts.map +0 -1
  86. package/dist/components/layout/SplitPanel/SplitPanel.d.ts.map +0 -1
  87. package/dist/components/switch/SwitchEnable/SwitchEnable.d.ts.map +0 -1
  88. package/dist/components/switch/SwitchPlus/SwitchPlus.d.ts.map +0 -1
  89. /package/dist/components/{Menu → menu}/ContextMenu/ContextMenuDivider.vue.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { BackTopProps, BackTopSlots } from './BackTop';
1
+ import { BackTopProps, BackTopSlots } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
@@ -1 +1 @@
1
- {"version":3,"file":"BackTop.vue.d.ts","sourceRoot":"","sources":["../../../src/components/BackTop/BackTop.vue"],"names":[],"mappings":";AA2JA,OAAO,KAAK,EAAE,YAAY,EAAgB,YAAY,EAAE,MAAM,WAAW,CAAA;AAkIzE,iBAAS,cAAc;WAqDT,OAAO,IAA6B;;;;EAKjD;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;6EASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"BackTop.vue.d.ts","sourceRoot":"","sources":["../../../src/components/BackTop/BackTop.vue"],"names":[],"mappings":";AA2JA,OAAO,KAAK,EAAE,YAAY,EAAgB,YAAY,EAAE,MAAM,aAAa,CAAA;AAkI3E,iBAAS,cAAc;WAqDT,OAAO,IAA6B;;;;EAKjD;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;6EASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from './BackTop';
1
+ export * from './interface';
2
2
  export { default as BackTop } from './BackTop.vue';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BackTop/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAA;AACjB,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BackTop/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAA;AACjB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC"}
@@ -48,4 +48,4 @@ export interface BackTopEmits {
48
48
  */
49
49
  (e: 'click'): void;
50
50
  }
51
- //# sourceMappingURL=BackTop.d.ts.map
51
+ //# sourceMappingURL=interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../src/components/BackTop/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IACvC;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE;QACT,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;KACjB,CAAA;IACD;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;CAC7B;AAED,MAAM,WAAW,YAAY;IAC3B;;;OAGG;IACH,CAAC,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CACpB"}
@@ -1,4 +1,4 @@
1
- import { PageHeaderProps, PageHeaderSlots, PageHeaderSize } from './PageHeader';
1
+ import { PageHeaderProps, PageHeaderSlots, PageHeaderSize } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
@@ -1 +1 @@
1
- {"version":3,"file":"PageHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader/PageHeader.vue"],"names":[],"mappings":";AAiEA,OAAO,KAAK,EAAmB,eAAe,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAoCrF,iBAAS,cAAc;WA+FT,OAAO,IAA6B;;;;EAKjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;wFASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"PageHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader/PageHeader.vue"],"names":[],"mappings":";AAiEA,OAAO,KAAK,EAAmB,eAAe,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAoCpF,iBAAS,cAAc;WA+FT,OAAO,IAA6B;;;;EAKjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;wFASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from './PageHeader';
1
+ export * from './interface';
2
2
  export { default as PageHeader } from './PageHeader.vue';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAO,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAO,kBAAkB,CAAC"}
@@ -26,4 +26,4 @@ export interface PageHeaderSlots {
26
26
  export interface PageHeaderEmits {
27
27
  (e: 'back'): void;
28
28
  }
29
- //# sourceMappingURL=PageHeader.d.ts.map
29
+ //# sourceMappingURL=interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../src/components/PageHeader/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,MAAM,cAAc,GAAI,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAE5D,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB;AAED,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IAC7B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IAC1B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;CAC5B;AAGD,MAAM,WAAW,eAAe;IAC9B,CAAC,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACnB"}
@@ -1,4 +1,4 @@
1
- import { ResultStatus, ResultSlots, ResultProps } from './Result.ts';
1
+ import { ResultStatus, ResultSlots, ResultProps } from './interface.ts';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
@@ -1 +1 @@
1
- {"version":3,"file":"Result.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Result/Result.vue"],"names":[],"mappings":";AAkFA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAoCzE,iBAAS,cAAc;WA8GT,OAAO,IAA6B;;;;EAKjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;wFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"Result.vue.d.ts","sourceRoot":"","sources":["../../../src/components/Result/Result.vue"],"names":[],"mappings":";AAkFA,OAAO,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAoC5E,iBAAS,cAAc;WA8GT,OAAO,IAA6B;;;;EAKjD;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;wFAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from './Result';
1
+ export * from './interface';
2
2
  export { default as Result } from './Result.vue';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Result/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAA;AACjB,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Result/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAA;AACjB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,MAAM,EAAE,MAAM,cAAc,CAAC"}
@@ -49,4 +49,4 @@ export interface ResultSlots {
49
49
  default?(): any;
50
50
  }
51
51
  export {};
52
- //# sourceMappingURL=Result.d.ts.map
52
+ //# sourceMappingURL=interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../src/components/Result/interface.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,aAAa,6EAST,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,OAAO,aAAa,CAAC,MAAM,CAAC,CAAC;AAExD,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAGD;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,IAAI,CAAC,IAAI,GAAG,CAAC;IACb;;;OAGG;IACH,KAAK,CAAC,IAAI,GAAG,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,IAAI,GAAG,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,IAAI,GAAG,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,IAAI,GAAG,CAAC;CACjB"}
@@ -14,9 +14,9 @@ declare function __VLS_template(): {
14
14
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15
15
  scroll: (offset: number) => any;
16
16
  }, PublicProps, {
17
+ both: boolean;
17
18
  direction: "horizontal" | "vertical";
18
19
  alwaysShow: boolean;
19
- both: boolean;
20
20
  }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
21
21
  trackRef: HTMLDivElement;
22
22
  thumbRef: HTMLDivElement;
@@ -32,9 +32,9 @@ declare function __VLS_template(): {
32
32
  }>, {
33
33
  setOffset: (_offset: number) => void;
34
34
  }, {}, {}, {}, {
35
+ both: boolean;
35
36
  direction: "horizontal" | "vertical";
36
37
  alwaysShow: boolean;
37
- both: boolean;
38
38
  }> | null;
39
39
  verticalThumbRef: CreateComponentPublicInstanceWithMixins<Readonly< ThumbProps> & Readonly<{
40
40
  onScroll?: ((offset: number) => any) | undefined;
@@ -43,9 +43,9 @@ declare function __VLS_template(): {
43
43
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
44
44
  scroll: (offset: number) => any;
45
45
  }, PublicProps, {
46
+ both: boolean;
46
47
  direction: "horizontal" | "vertical";
47
48
  alwaysShow: boolean;
48
- both: boolean;
49
49
  }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
50
50
  trackRef: HTMLDivElement;
51
51
  thumbRef: HTMLDivElement;
@@ -61,9 +61,9 @@ declare function __VLS_template(): {
61
61
  }>, {
62
62
  setOffset: (_offset: number) => void;
63
63
  }, {}, {}, {}, {
64
+ both: boolean;
64
65
  direction: "horizontal" | "vertical";
65
66
  alwaysShow: boolean;
66
- both: boolean;
67
67
  }> | null;
68
68
  };
69
69
  rootEl: HTMLDivElement;
@@ -94,9 +94,9 @@ declare const __VLS_component: DefineComponent<ScrollbarComponentProps, {
94
94
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
95
95
  scroll: (offset: number) => any;
96
96
  }, PublicProps, {
97
+ both: boolean;
97
98
  direction: "horizontal" | "vertical";
98
99
  alwaysShow: boolean;
99
- both: boolean;
100
100
  }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
101
101
  trackRef: HTMLDivElement;
102
102
  thumbRef: HTMLDivElement;
@@ -112,9 +112,9 @@ declare const __VLS_component: DefineComponent<ScrollbarComponentProps, {
112
112
  }>, {
113
113
  setOffset: (_offset: number) => void;
114
114
  }, {}, {}, {}, {
115
+ both: boolean;
115
116
  direction: "horizontal" | "vertical";
116
117
  alwaysShow: boolean;
117
- both: boolean;
118
118
  }> | null;
119
119
  verticalThumbRef: CreateComponentPublicInstanceWithMixins<Readonly< ThumbProps> & Readonly<{
120
120
  onScroll?: ((offset: number) => any) | undefined;
@@ -123,9 +123,9 @@ declare const __VLS_component: DefineComponent<ScrollbarComponentProps, {
123
123
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
124
124
  scroll: (offset: number) => any;
125
125
  }, PublicProps, {
126
+ both: boolean;
126
127
  direction: "horizontal" | "vertical";
127
128
  alwaysShow: boolean;
128
- both: boolean;
129
129
  }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
130
130
  trackRef: HTMLDivElement;
131
131
  thumbRef: HTMLDivElement;
@@ -141,9 +141,9 @@ declare const __VLS_component: DefineComponent<ScrollbarComponentProps, {
141
141
  }>, {
142
142
  setOffset: (_offset: number) => void;
143
143
  }, {}, {}, {}, {
144
+ both: boolean;
144
145
  direction: "horizontal" | "vertical";
145
146
  alwaysShow: boolean;
146
- both: boolean;
147
147
  }> | null;
148
148
  }, HTMLDivElement>;
149
149
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -7,9 +7,9 @@ declare const _default: DefineComponent<ThumbProps, {
7
7
  }, string, PublicProps, Readonly<ThumbProps> & Readonly<{
8
8
  onScroll?: ((offset: number) => any) | undefined;
9
9
  }>, {
10
+ both: boolean;
10
11
  direction: "horizontal" | "vertical";
11
12
  alwaysShow: boolean;
12
- both: boolean;
13
13
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
14
14
  trackRef: HTMLDivElement;
15
15
  thumbRef: HTMLDivElement;
@@ -1,6 +1,6 @@
1
1
  export * from './BackTop';
2
2
  export * from './layout';
3
- export * from './Menu';
3
+ export * from './menu';
4
4
  export * from './PageHeader';
5
5
  export * from './Result';
6
6
  export * from './Setting';
@@ -1,4 +1,4 @@
1
- import { SplitPanelProps, SplitPanelSlots } from './SplitPanel';
1
+ import { SplitPanelProps, SplitPanelSlots } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
@@ -1 +1 @@
1
- {"version":3,"file":"SplitPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/SplitPanel/SplitPanel.vue"],"names":[],"mappings":";AAiVA,OAAO,KAAK,EAAE,eAAe,EAAmB,eAAe,EAAE,MAAM,cAAc,CAAC;AAkStF,iBAAS,cAAc;WAsET,OAAO,IAA6B;;;;;;;EAKjD;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;OAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"SplitPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/SplitPanel/SplitPanel.vue"],"names":[],"mappings":";AAiVA,OAAO,KAAK,EAAE,eAAe,EAAmB,eAAe,EAAE,MAAM,aAAa,CAAC;AAkSrF,iBAAS,cAAc;WAsET,OAAO,IAA6B;;;;;;;EAKjD;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;OAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,3 +1,3 @@
1
1
  export { default as SplitPanel } from './SplitPanel.vue';
2
- export * from './SplitPanel';
2
+ export * from './interface';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/SplitPanel/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzD,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/SplitPanel/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzD,cAAc,aAAa,CAAC"}
@@ -80,4 +80,4 @@ export interface SplitPanelSlots {
80
80
  */
81
81
  'resize-trigger-icon'?(): JSX.Element;
82
82
  }
83
- //# sourceMappingURL=SplitPanel.d.ts.map
83
+ //# sourceMappingURL=interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/SplitPanel/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACtC;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,CAAC,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,UAAU,GAAG,IAAI,CAAC;IACvC;;;OAGG;IACH,CAAC,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,GAAG,IAAI,CAAC;IACpC;;;OAGG;IACH,CAAC,CAAC,EAAE,SAAS,EAAE,EAAE,EAAE,UAAU,GAAG,IAAI,CAAC;IACrC;;;OAGG;IACH,CAAC,CAAC,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;CACjD;AAED,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,KAAK,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;IACtB;;;OAGG;IACH,MAAM,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;IACvB;;;OAGG;IACH,gBAAgB,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;IACjC;;;OAGG;IACH,qBAAqB,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;CACvC"}
@@ -1,4 +1,4 @@
1
- import { LoadRouterType } from '../../Menu';
1
+ import { LoadRouterType } from '../../menu';
2
2
  import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
3
3
  import { LeftMenuProps } from '../..';
4
4
  import { OnCleanup } from '@vue/reactivity';
@@ -1,4 +1,4 @@
1
- import { WebLayoutSlot } from './WebLayout';
1
+ import { WebLayoutSlot } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  declare function __VLS_template(): {
4
4
  attrs: Partial<{}>;
@@ -1,4 +1,4 @@
1
1
  export { default as WebBaseLayout } from './WebBaseLayout.vue';
2
2
  export { default as WebLayout } from './WebLayout.vue';
3
- export * from './WebLayout';
3
+ export * from './interface';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -9,4 +9,4 @@ export interface WebLayoutSlot {
9
9
  /** 默认插槽 - 主要内容区域 */
10
10
  default?(): JSX.Element;
11
11
  }
12
- //# sourceMappingURL=WebLayout.d.ts.map
12
+ //# sourceMappingURL=interface.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WebLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/WebLayout/WebLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,WAAW,aAAa;IAC5B,4BAA4B;IAC5B,IAAI,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;IACrB,yBAAyB;IACzB,UAAU,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;IAC3B,2BAA2B;IAC3B,IAAI,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;IACrB,oBAAoB;IACpB,OAAO,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;CACzB"}
1
+ {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/WebLayout/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAE3C,MAAM,WAAW,aAAa;IAC5B,4BAA4B;IAC5B,IAAI,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;IACrB,yBAAyB;IACzB,UAAU,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;IAC3B,2BAA2B;IAC3B,IAAI,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;IACrB,oBAAoB;IACpB,OAAO,CAAC,IAAI,GAAG,CAAC,OAAO,CAAC;CACzB"}
@@ -1,7 +1,5 @@
1
+ import { ContextMenuProps, TriggerEvent } from './interface';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- interface Props {
3
- hideOnSelect?: boolean;
4
- }
5
3
  declare function __VLS_template(): {
6
4
  attrs: Partial<{}>;
7
5
  slots: {
@@ -15,12 +13,13 @@ declare function __VLS_template(): {
15
13
  rootEl: any;
16
14
  };
17
15
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
- declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
16
+ declare const __VLS_component: DefineComponent<ContextMenuProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
19
17
  select: (value: any, event: Event) => any;
20
- }, string, PublicProps, Readonly<Props> & Readonly<{
18
+ }, string, PublicProps, Readonly<ContextMenuProps> & Readonly<{
21
19
  onSelect?: ((value: any, event: Event) => any) | undefined;
22
20
  }>, {
23
21
  hideOnSelect: boolean;
22
+ trigger: TriggerEvent | TriggerEvent[];
24
23
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
25
24
  triggerRef: HTMLDivElement;
26
25
  menuRef: HTMLDivElement;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/ContextMenu/ContextMenu.vue"],"names":[],"mappings":";AA8LA,OAAO,KAAK,EAAE,gBAAgB,EAAoB,YAAY,EAAE,MAAM,aAAa,CAAA;AA4JnF,iBAAS,cAAc;WAkFT,OAAO,IAA6B;;yBAbrB,GAAG;yBACF,GAAG;;;;;;;EAiBhC;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;OASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextMenuDivider.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/ContextMenu/ContextMenuDivider.vue"],"names":[],"mappings":";;AAgDA,wBAMG"}
@@ -1,7 +1,5 @@
1
+ import { ContextMenuGroupProps } from './interface';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- interface Props {
3
- title?: string;
4
- }
5
3
  declare function __VLS_template(): {
6
4
  attrs: Partial<{}>;
7
5
  slots: {
@@ -11,7 +9,7 @@ declare function __VLS_template(): {
11
9
  rootEl: HTMLDivElement;
12
10
  };
13
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
12
+ declare const __VLS_component: DefineComponent<ContextMenuGroupProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ContextMenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
15
13
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
14
  export default _default;
17
15
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextMenuGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/ContextMenu/ContextMenuGroup.vue"],"names":[],"mappings":";AAmBA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAA;AASxD,iBAAS,cAAc;WA6BT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,iUAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,14 +1,8 @@
1
+ import { ContextMenuItemProps } from './interface';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- interface Props {
3
- label: string;
4
- value: string | number;
5
- disabled?: boolean;
6
- danger?: boolean;
7
- icon?: string;
8
- }
9
- declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
3
+ declare const _default: DefineComponent<ContextMenuItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
10
4
  click: (value: string | number, event: Event) => any;
11
- }, string, PublicProps, Readonly<Props> & Readonly<{
5
+ }, string, PublicProps, Readonly<ContextMenuItemProps> & Readonly<{
12
6
  onClick?: ((value: string | number, event: Event) => any) | undefined;
13
7
  }>, {
14
8
  disabled: boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/ContextMenu/ContextMenuItem.vue"],"names":[],"mappings":";AAqEA,OAAO,KAAK,EAAE,oBAAoB,EAAwB,MAAM,aAAa,CAAA;;;;;;;;;AA2G7E,wBASG"}
@@ -1,9 +1,5 @@
1
+ import { ContextMenuSubmenuProps } from './interface';
1
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- interface Props {
3
- label: string;
4
- disabled?: boolean;
5
- icon?: string;
6
- }
7
3
  declare function __VLS_template(): {
8
4
  attrs: Partial<{}>;
9
5
  slots: {
@@ -16,9 +12,9 @@ declare function __VLS_template(): {
16
12
  rootEl: HTMLDivElement;
17
13
  };
18
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
15
+ declare const __VLS_component: DefineComponent<ContextMenuSubmenuProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
20
16
  select: (value: any, event: Event) => any;
21
- }, string, PublicProps, Readonly<Props> & Readonly<{
17
+ }, string, PublicProps, Readonly<ContextMenuSubmenuProps> & Readonly<{
22
18
  onSelect?: ((value: any, event: Event) => any) | undefined;
23
19
  }>, {
24
20
  disabled: boolean;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextMenuSubmenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/ContextMenu/ContextMenuSubmenu.vue"],"names":[],"mappings":";AA2SA,OAAO,KAAK,EAAE,uBAAuB,EAA2B,MAAM,aAAa,CAAA;AAoQnF,iBAAS,cAAc;WAiET,OAAO,IAA6B;;yBAZrB,GAAG;;;;;;;EAiB/B;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;kBAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,7 @@
1
+ export * from './interface';
2
+ export { default as ContextMenuItem } from './ContextMenuItem.vue';
3
+ export { default as ContextMenuGroup } from './ContextMenuGroup.vue';
4
+ export { default as ContextMenuDivider } from './ContextMenuDivider.vue';
5
+ export { default as ContextMenuSubmenu } from './ContextMenuSubmenu.vue';
6
+ export { default as ContextMenu } from './ContextMenu.vue';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/ContextMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,93 @@
1
+ export type TriggerEvent = 'click' | 'context-menu';
2
+ /**
3
+ * `ContextMenu` 组件的 Props
4
+ */
5
+ export interface ContextMenuProps {
6
+ /**
7
+ * 选择(点击)任意菜单项后,是否自动关闭菜单。
8
+ * - 默认:`true`
9
+ * - 设为 `false` 可用于需要在一次打开中进行多次交互的场景。
10
+ */
11
+ hideOnSelect?: boolean;
12
+ /**
13
+ * 触发菜单方式
14
+ * - 默认:context-menu
15
+ * - 可选 click: 点击 | context-menu: 右键菜单
16
+ */
17
+ trigger?: TriggerEvent | TriggerEvent[];
18
+ }
19
+ /**
20
+ * `ContextMenu` 对外触发的事件
21
+ */
22
+ export interface ContextMenuEmits {
23
+ /**
24
+ * 当某个菜单项被选中时触发(包含子菜单项)。
25
+ * @param e 事件名,固定为 `'select'`
26
+ * @param value 该菜单项的值(来自 `ContextMenuItemProps.value`)
27
+ * @param event 触发该选择的原生事件对象
28
+ */
29
+ (e: 'select', value: any, event: Event): void;
30
+ }
31
+ /**
32
+ * `ContextMenuItem` 菜单项 Props
33
+ */
34
+ export interface ContextMenuItemProps {
35
+ /** 菜单项显示文案 */
36
+ label: string;
37
+ /** 菜单项值,将在 `select` 事件中原样透传 */
38
+ value: string | number;
39
+ /** 是否禁用该项,禁用后不响应点击,默认 `false` */
40
+ disabled?: boolean;
41
+ /** 是否展示危险态样式(如红色),默认 `false` */
42
+ danger?: boolean;
43
+ /**
44
+ * 图标类名或标识(与样式体系配合使用)。
45
+ * 将作为类名挂载在图标容器上。
46
+ */
47
+ icon?: string;
48
+ }
49
+ /**
50
+ * `ContextMenuItem` 对外触发的事件
51
+ */
52
+ export interface ContextMenuItemEmits {
53
+ /**
54
+ * 当该菜单项被点击时触发。
55
+ * 通常同时会通过父级的 `select` 事件对外通知。
56
+ * @param e 事件名,固定为 `'click'`
57
+ * @param value 该菜单项的值
58
+ * @param event 原生事件对象
59
+ */
60
+ (e: 'click', value: string | number, event: Event): void;
61
+ }
62
+ /**
63
+ * `ContextMenuGroup` 分组容器 Props
64
+ */
65
+ export interface ContextMenuGroupProps {
66
+ /** 分组标题,可选,存在时显示在组首 */
67
+ title?: string;
68
+ }
69
+ /**
70
+ * `ContextMenuSubmenu` 子菜单 Props
71
+ */
72
+ export interface ContextMenuSubmenuProps {
73
+ /** 子菜单触发器显示文案 */
74
+ label: string;
75
+ /** 是否禁用子菜单触发,默认 `false` */
76
+ disabled?: boolean;
77
+ /** 子菜单触发器图标类名或标识 */
78
+ icon?: string;
79
+ }
80
+ /**
81
+ * `ContextMenuSubmenu` 对外触发的事件
82
+ */
83
+ export interface ContextMenuSubmenuEmits {
84
+ /**
85
+ * 当子菜单内部的某个菜单项被选中时触发。
86
+ * 事件会向上冒泡到 `ContextMenu`。
87
+ * @param e 事件名,固定为 `'select'`
88
+ * @param value 子菜单项值
89
+ * @param event 原生事件对象
90
+ */
91
+ (e: 'select', value: any, event: Event): void;
92
+ }
93
+ //# sourceMappingURL=interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/ContextMenu/interface.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAI,OAAO,GAAG,cAAc,CAAC;AACrD;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,YAAY,GAAG,YAAY,EAAE,CAAC;CACzC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CAC/C;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,cAAc;IACd,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gCAAgC;IAChC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;;;OAMG;IACH,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CAC1D;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,uBAAuB;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC,iBAAiB;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;;;;;OAMG;IACH,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,KAAK,GAAG,IAAI,CAAC;CAC/C"}
@@ -1,4 +1,4 @@
1
- import { LeftMenuProps } from './LeftMenu';
1
+ import { LeftMenuProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Props = LeftMenuProps;
4
4
  type __VLS_PublicProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"LeftMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/LeftMenu/LeftMenu.vue"],"names":[],"mappings":";AAkIA,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,YAAY,CAAA;AAGnB,KAAK,WAAW,GAAG,aAAa,CAAC;AAoEjC,KAAK,iBAAiB,GAAG;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA0MT,OAAO,IAA6B;;sBAVvB,GAAG;;;;EAe7B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;6EAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"LeftMenu.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/LeftMenu/LeftMenu.vue"],"names":[],"mappings":";AAkIA,OAAO,EAGL,KAAK,aAAa,EAEnB,MAAM,aAAa,CAAA;AAGpB,KAAK,WAAW,GAAG,aAAa,CAAC;AAoEjC,KAAK,iBAAiB,GAAG;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACrB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA0MT,OAAO,IAA6B;;sBAVvB,GAAG;;;;EAe7B;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;6EAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as LeftMenu } from './LeftMenu.vue';
2
+ export * from './interface';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Menu/LeftMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,cAAc,YAAY,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/LeftMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,cAAc,aAAa,CAAA"}
@@ -1,5 +1,4 @@
1
1
  import { RouteRecord, RouteRecordRaw } from 'vue-router';
2
- import { MenuItem } from '../Menu';
3
2
  /**
4
3
  * LeftMenu 组件实例
5
4
  */
@@ -13,6 +12,14 @@ export interface LeftMenuInstance {
13
12
  */
14
13
  refreshRouter: () => void;
15
14
  }
15
+ /**
16
+ * 菜单项
17
+ */
18
+ export interface MenuItem {
19
+ title: string;
20
+ icon: string;
21
+ menu?: boolean;
22
+ }
16
23
  export type MenuRouterItem = ((RouteRecord | RouteRecordRaw) & {
17
24
  meta: MenuItem;
18
25
  });
@@ -50,4 +57,4 @@ export declare enum LeftMenuEvents {
50
57
  export declare const LeftMenuEventDispatch: {
51
58
  refresh: () => void;
52
59
  };
53
- //# sourceMappingURL=LeftMenu.d.ts.map
60
+ //# sourceMappingURL=interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../src/components/menu/LeftMenu/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAI7D;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B;;OAEG;IACH,aAAa,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AACD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,GAAG,cAAc,CAAC,GAAG;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAAC,CAAC;AACnF,MAAM,MAAM,cAAc,GAAG,MAAM,cAAc,EAAE,CAAC;AACpD;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC3B;AAGD,oBAAY,cAAc;IACxB;;OAEG;IACH,OAAO,uBAAuB;CAC/B;AAED;;GAEG;AACH,eAAO,MAAM,qBAAqB;;CAIjC,CAAA"}
@@ -1,4 +1,3 @@
1
1
  export * from './LeftMenu';
2
- export * from './Menu';
3
2
  export * from './ContextMenu';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/menu/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC"}
@@ -1,4 +1,4 @@
1
- import { SwitchEnableProps } from './SwitchEnable';
1
+ import { SwitchEnableProps } from './interface';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
3
  type __VLS_Props = SwitchEnableProps;
4
4
  type __VLS_PublicProps = {
@@ -1 +1 @@
1
- {"version":3,"file":"SwitchEnable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/SwitchEnable/SwitchEnable.vue"],"names":[],"mappings":";AAyDA,OAAO,KAAK,EAAE,iBAAiB,EAAqB,MAAM,gBAAgB,CAAA;AAS1E,KAAK,WAAW,GAAG,iBAAiB,CAAC;AA+BrC,KAAK,iBAAiB,GAAG;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;AAqEhB,wBAQG"}
1
+ {"version":3,"file":"SwitchEnable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/SwitchEnable/SwitchEnable.vue"],"names":[],"mappings":";AAyDA,OAAO,KAAK,EAAE,iBAAiB,EAAqB,MAAM,aAAa,CAAA;AASvE,KAAK,WAAW,GAAG,iBAAiB,CAAC;AA+BrC,KAAK,iBAAiB,GAAG;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;CACjB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;AAqEhB,wBAQG"}
@@ -1,3 +1,3 @@
1
1
  export { default as SwitchEnable } from './SwitchEnable.vue';
2
- export * from './SwitchEnable';
2
+ export * from './interface';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/SwitchEnable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/SwitchEnable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC5D,cAAc,aAAa,CAAA"}
@@ -26,4 +26,4 @@ export interface SwitchEnableEmits {
26
26
  e: Event;
27
27
  }];
28
28
  }
29
- //# sourceMappingURL=SwitchEnable.d.ts.map
29
+ //# sourceMappingURL=interface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interface.d.ts","sourceRoot":"","sources":["../../../../src/components/switch/SwitchEnable/interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD;;;GAGG;AACH,MAAM,WAAW,iBAAkB,SAAQ,WAAW;IACpD;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,MAAM,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE;QAAE,CAAC,EAAE,KAAK,CAAA;KAAE,CAAC,CAAC;CACjD"}