@oinone/kunlun-vue-admin-layout 6.4.9 → 7.2.0

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 (266) hide show
  1. package/dist/oinone-kunlun-vue-admin-layout.css +1 -1
  2. package/dist/oinone-kunlun-vue-admin-layout.esm.js +12 -12101
  3. package/dist/oinone-kunlun-vue-admin-layout.scss +1 -1
  4. package/dist/types/index.d.ts +1 -1
  5. package/dist/types/src/basic/MaskWidget.d.ts +17 -17
  6. package/dist/types/src/basic/index.d.ts +2 -2
  7. package/dist/types/src/basic/register/index.d.ts +1 -1
  8. package/dist/types/src/basic/register/manager.d.ts +7 -7
  9. package/dist/types/src/basic/token/BaseMaskWidget.d.ts +55 -55
  10. package/dist/types/src/basic/token/index.d.ts +1 -1
  11. package/dist/types/src/component/app-switcher/AppSwitcher.vue.d.ts +87 -84
  12. package/dist/types/src/component/app-switcher/AppSwitcherMask.vue.d.ts +63 -61
  13. package/dist/types/src/component/app-switcher/AppSwitcherWidget.d.ts +33 -33
  14. package/dist/types/src/component/app-switcher/index.d.ts +3 -3
  15. package/dist/types/src/component/breadcrumb/BreadcrumbWidget.d.ts +33 -33
  16. package/dist/types/src/component/breadcrumb/DefaultBreadcrumb.vue.d.ts +1199 -58
  17. package/dist/types/src/component/breadcrumb/index.d.ts +2 -2
  18. package/dist/types/src/component/debug/Debug.vue.d.ts +13 -11
  19. package/dist/types/src/component/debug/DebugWidget.d.ts +8 -8
  20. package/dist/types/src/component/debug/constants.d.ts +2 -2
  21. package/dist/types/src/component/debug/index.d.ts +7 -7
  22. package/dist/types/src/component/debug/spi/DebugRouterInitializeService.d.ts +4 -4
  23. package/dist/types/src/component/debug/spi/index.d.ts +1 -1
  24. package/dist/types/src/component/debug/typing.d.ts +159 -159
  25. package/dist/types/src/component/debug/util.d.ts +16 -16
  26. package/dist/types/src/component/debug/view/DebugMainView.vue.d.ts +32 -28
  27. package/dist/types/src/component/debug/view/DebugMainViewWidget.d.ts +10 -10
  28. package/dist/types/src/component/debug/view/debug-api/DebugApiWidget.d.ts +32 -32
  29. package/dist/types/src/component/debug/view/debug-utils.d.ts +44 -44
  30. package/dist/types/src/component/debug/view/debug-view/DebugViewWidget.d.ts +26 -26
  31. package/dist/types/src/component/debug/view/index.d.ts +5 -5
  32. package/dist/types/src/component/debug/view/service/DebugRuntimeContextService.d.ts +18 -18
  33. package/dist/types/src/component/debug/view/service/DebugStackInfoService.d.ts +27 -27
  34. package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugDefaultRuntimeContextService.d.ts +6 -6
  35. package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeActionService.d.ts +7 -7
  36. package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeDslService.d.ts +6 -6
  37. package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeFieldService.d.ts +7 -7
  38. package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeLayoutService.d.ts +6 -6
  39. package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeMaskService.d.ts +6 -6
  40. package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeTemplateService.d.ts +6 -6
  41. package/dist/types/src/component/debug/view/service/impl/runtime-context/DebugRuntimeViewService.d.ts +6 -6
  42. package/dist/types/src/component/debug/view/service/impl/stack-info/DebugBizStackService.d.ts +6 -6
  43. package/dist/types/src/component/debug/view/service/impl/stack-info/DebugConfigureService.d.ts +4 -4
  44. package/dist/types/src/component/debug/view/service/impl/stack-info/DebugDefaultStackInfoService.d.ts +8 -8
  45. package/dist/types/src/component/debug/view/service/impl/stack-info/DebugExceptionStackService.d.ts +6 -6
  46. package/dist/types/src/component/debug/view/service/impl/stack-info/DebugFunctionService.d.ts +4 -4
  47. package/dist/types/src/component/debug/view/service/impl/stack-info/DebugHalfBizStackService.d.ts +6 -6
  48. package/dist/types/src/component/debug/view/service/impl/stack-info/DebugModelService.d.ts +4 -4
  49. package/dist/types/src/component/debug/view/service/impl/stack-info/DebugPureBizStackService.d.ts +6 -6
  50. package/dist/types/src/component/debug/view/service/impl/stack-info/DebugStacktraceGqlRequestContextService.d.ts +6 -6
  51. package/dist/types/src/component/debug/view/service/impl/stack-info/DebugStacktraceSceneAnalysisService.d.ts +7 -7
  52. package/dist/types/src/component/debug/view/service/impl/stack-info/DebugStacktraceSessionService.d.ts +6 -6
  53. package/dist/types/src/component/debug/view/service/index.d.ts +20 -20
  54. package/dist/types/src/component/debug/view/storage.d.ts +19 -19
  55. package/dist/types/src/component/debug/view/useDebugRequestInfo.d.ts +7 -7
  56. package/dist/types/src/component/divider/Divider.vue.d.ts +88 -2
  57. package/dist/types/src/component/divider/DividerWidget.d.ts +4 -4
  58. package/dist/types/src/component/divider/index.d.ts +1 -1
  59. package/dist/types/src/component/index.d.ts +14 -14
  60. package/dist/types/src/component/language/DefaultLanguage.vue.d.ts +1850 -34
  61. package/dist/types/src/component/language/LanguageWidget.d.ts +16 -16
  62. package/dist/types/src/component/language/index.d.ts +1 -1
  63. package/dist/types/src/component/layout/BaseMaskLayoutWidget.d.ts +4 -4
  64. package/dist/types/src/component/layout/MaskBlock.vue.d.ts +24 -24
  65. package/dist/types/src/component/layout/block/MaskBlockWidget.d.ts +4 -4
  66. package/dist/types/src/component/layout/block/index.d.ts +1 -1
  67. package/dist/types/src/component/layout/container/MaskContainerWidget.d.ts +4 -4
  68. package/dist/types/src/component/layout/container/index.d.ts +1 -1
  69. package/dist/types/src/component/layout/content/MaskContentWidget.d.ts +7 -7
  70. package/dist/types/src/component/layout/content/index.d.ts +1 -1
  71. package/dist/types/src/component/layout/grid/Grid.vue.d.ts +2 -2
  72. package/dist/types/src/component/layout/grid/GridWidget.d.ts +9 -9
  73. package/dist/types/src/component/layout/grid/index.d.ts +1 -1
  74. package/dist/types/src/component/layout/header/MaskHeaderWidget.d.ts +4 -4
  75. package/dist/types/src/component/layout/header/index.d.ts +1 -1
  76. package/dist/types/src/component/layout/index.d.ts +9 -9
  77. package/dist/types/src/component/layout/mask/MaskRootWidget.d.ts +4 -4
  78. package/dist/types/src/component/layout/mask/index.d.ts +1 -1
  79. package/dist/types/src/component/layout/sidebar/MaskSidebarWidget.d.ts +10 -10
  80. package/dist/types/src/component/layout/sidebar/index.d.ts +1 -1
  81. package/dist/types/src/component/layout/widget/MaskCommonWidget.d.ts +14 -14
  82. package/dist/types/src/component/layout/widget/index.d.ts +1 -1
  83. package/dist/types/src/component/menu/DefaultMenu.vue.d.ts +1130 -115
  84. package/dist/types/src/component/menu/DefaultSubMenu.vue.d.ts +122 -17
  85. package/dist/types/src/component/menu/MenuWidget.d.ts +71 -71
  86. package/dist/types/src/component/menu/index.d.ts +3 -3
  87. package/dist/types/src/component/multi-tabs/MultiTabs.vue.d.ts +553 -151
  88. package/dist/types/src/component/multi-tabs/MultiTabsWidget.d.ts +60 -60
  89. package/dist/types/src/component/multi-tabs/index.d.ts +2 -2
  90. package/dist/types/src/component/multi-tabs/typing.d.ts +6 -6
  91. package/dist/types/src/component/notification/DefaultNotification.vue.d.ts +1533 -61
  92. package/dist/types/src/component/notification/NotificationWidget.d.ts +139 -139
  93. package/dist/types/src/component/notification/index.d.ts +2 -2
  94. package/dist/types/src/component/order-statistic/OrderStatistic.vue.d.ts +6 -8
  95. package/dist/types/src/component/order-statistic/index.d.ts +14 -14
  96. package/dist/types/src/component/partner-switcher/PartnerSwitcher.vue.d.ts +428 -28
  97. package/dist/types/src/component/partner-switcher/PartnerSwitcherWidget.d.ts +15 -15
  98. package/dist/types/src/component/partner-switcher/index.d.ts +6 -6
  99. package/dist/types/src/component/partner-switcher/service/PartnerSwitcherService.d.ts +17 -17
  100. package/dist/types/src/component/partner-switcher/service/impl/PartnerSwitcherServiceImpl.d.ts +17 -17
  101. package/dist/types/src/component/partner-switcher/service/index.d.ts +2 -2
  102. package/dist/types/src/component/partner-switcher/session/PartnerInfoSession.d.ts +26 -26
  103. package/dist/types/src/component/partner-switcher/session/impl/DefaultPartnerInfoSession.d.ts +15 -15
  104. package/dist/types/src/component/partner-switcher/session/index.d.ts +2 -2
  105. package/dist/types/src/component/partner-switcher/spi/PartnerSwitcherMaskEditor.d.ts +6 -6
  106. package/dist/types/src/component/partner-switcher/spi/index.d.ts +1 -1
  107. package/dist/types/src/component/partner-switcher/typing/index.d.ts +1 -1
  108. package/dist/types/src/component/partner-switcher/typing/partner.d.ts +20 -20
  109. package/dist/types/src/component/quick-search/QuickSearch.vue.d.ts +2545 -29
  110. package/dist/types/src/component/quick-search/index.d.ts +24 -24
  111. package/dist/types/src/component/user/DefaultUser.vue.d.ts +35 -39
  112. package/dist/types/src/component/user/UserWidget.d.ts +18 -16
  113. package/dist/types/src/component/user/index.d.ts +2 -1
  114. package/dist/types/src/config/DebugConfig.d.ts +16 -16
  115. package/dist/types/src/config/PartnerSwitcherConfig.d.ts +16 -16
  116. package/dist/types/src/config/index.d.ts +2 -2
  117. package/dist/types/src/index.d.ts +10 -10
  118. package/dist/types/src/service/index.d.ts +5 -5
  119. package/dist/types/src/service/menu-service.d.ts +12 -12
  120. package/dist/types/src/service/message-service.d.ts +16 -16
  121. package/dist/types/src/service/module-service.d.ts +12 -12
  122. package/dist/types/src/service/top-bar-service.d.ts +11 -10
  123. package/dist/types/src/service/user-service.d.ts +4 -4
  124. package/dist/types/src/spi/index.d.ts +1 -1
  125. package/dist/types/src/spi/mask-editor.d.ts +59 -54
  126. package/dist/types/src/tags/Block.vue.d.ts +5 -5
  127. package/dist/types/src/tags/Breadcrumb.vue.d.ts +5 -5
  128. package/dist/types/src/tags/Container.vue.d.ts +5 -5
  129. package/dist/types/src/tags/Content.vue.d.ts +5 -5
  130. package/dist/types/src/tags/Header.vue.d.ts +5 -5
  131. package/dist/types/src/tags/Mask.vue.d.ts +5 -5
  132. package/dist/types/src/tags/MultiTabs.vue.d.ts +5 -5
  133. package/dist/types/src/tags/Sidebar.vue.d.ts +5 -5
  134. package/dist/types/src/tags/Widget.vue.d.ts +5 -5
  135. package/dist/types/src/tags/context/context.d.ts +8 -8
  136. package/dist/types/src/tags/context/index.d.ts +1 -1
  137. package/dist/types/src/tags/index.d.ts +6 -6
  138. package/dist/types/src/tags/mixin/MaskWidgetTagMixin.d.ts +2 -2
  139. package/dist/types/src/tags/mixin/index.d.ts +3 -3
  140. package/dist/types/src/tags/mixin/typing.d.ts +6 -6
  141. package/dist/types/src/tags/mixin/use-mask-widget-tag.d.ts +38 -38
  142. package/dist/types/src/tags/register/index.d.ts +1 -1
  143. package/dist/types/src/tags/register/manager.d.ts +9 -9
  144. package/dist/types/src/tags/resolve/index.d.ts +2 -2
  145. package/dist/types/src/tags/resolve/internal/index.d.ts +2 -2
  146. package/dist/types/src/tags/resolve/internal/typing.d.ts +5 -5
  147. package/dist/types/src/tags/resolve/internal/widget-resolve.d.ts +3 -3
  148. package/dist/types/src/tags/resolve/typing.d.ts +26 -26
  149. package/dist/types/src/tags/resolve/widget-resolve.d.ts +5 -5
  150. package/dist/types/src/template/default-mask.d.ts +2 -2
  151. package/dist/types/src/template/index.d.ts +6 -6
  152. package/dist/types/src/theme/index.d.ts +1 -1
  153. package/dist/types/src/typing/constant.d.ts +1 -1
  154. package/dist/types/src/typing/index.d.ts +3 -3
  155. package/dist/types/src/typing/menu.d.ts +12 -12
  156. package/dist/types/src/typing/stream-symble.d.ts +12 -12
  157. package/dist/types/src/util/HomepageUtils.d.ts +3 -3
  158. package/dist/types/src/util/MenuUtil.d.ts +5 -5
  159. package/dist/types/src/util/index.d.ts +3 -3
  160. package/dist/types/src/util/unauthorized-action.d.ts +14 -14
  161. package/dist/types/src/utils.d.ts +86 -86
  162. package/package.json +38 -27
  163. package/src/basic/MaskWidget.ts +3 -3
  164. package/src/basic/token/BaseMaskWidget.ts +8 -8
  165. package/src/component/app-switcher/AppSwitcher.vue +4 -4
  166. package/src/component/app-switcher/AppSwitcherMask.vue +8 -7
  167. package/src/component/app-switcher/AppSwitcherWidget.ts +4 -4
  168. package/src/component/breadcrumb/BreadcrumbWidget.ts +4 -4
  169. package/src/component/breadcrumb/DefaultBreadcrumb.vue +2 -2
  170. package/src/component/debug/Debug.vue +1 -1
  171. package/src/component/debug/spi/DebugMaskEditor.ts +8 -2
  172. package/src/component/debug/spi/DebugRouterInitializeService.ts +1 -1
  173. package/src/component/debug/typing.ts +1 -1
  174. package/src/component/debug/view/DebugMainView.vue +3 -3
  175. package/src/component/debug/view/DebugMainViewWidget.ts +1 -1
  176. package/src/component/debug/view/components/DebugDefaultInfo.vue +1 -1
  177. package/src/component/debug/view/components/DebugJsonView.vue +1 -1
  178. package/src/component/debug/view/components/DebugRequestInfoPanel.vue +12 -3
  179. package/src/component/debug/view/components/DebugResponsePanel.vue +2 -2
  180. package/src/component/debug/view/components/runtime-context/DebugRuntimeFieldComponent.vue +2 -2
  181. package/src/component/debug/view/debug-api/DebugApi.vue +3 -3
  182. package/src/component/debug/view/debug-api/DebugApiWidget.ts +1 -1
  183. package/src/component/debug/view/debug-utils.ts +2 -2
  184. package/src/component/debug/view/debug-view/DebugView.vue +4 -4
  185. package/src/component/debug/view/debug-view/DebugViewWidget.ts +6 -6
  186. package/src/component/debug/view/service/DebugRuntimeContextService.ts +2 -2
  187. package/src/component/debug/view/service/DebugStackInfoService.ts +1 -1
  188. package/src/component/debug/view/service/impl/runtime-context/DebugDefaultRuntimeContextService.ts +3 -3
  189. package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeActionService.ts +3 -3
  190. package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeDslService.ts +3 -3
  191. package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeFieldService.ts +3 -3
  192. package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeLayoutService.ts +3 -3
  193. package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeMaskService.ts +3 -3
  194. package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeTemplateService.ts +3 -3
  195. package/src/component/debug/view/service/impl/runtime-context/DebugRuntimeViewService.ts +3 -3
  196. package/src/component/debug/view/service/impl/stack-info/DebugBizStackService.ts +2 -2
  197. package/src/component/debug/view/service/impl/stack-info/DebugConfigureService.ts +1 -1
  198. package/src/component/debug/view/service/impl/stack-info/DebugDefaultStackInfoService.ts +2 -2
  199. package/src/component/debug/view/service/impl/stack-info/DebugExceptionStackService.ts +2 -2
  200. package/src/component/debug/view/service/impl/stack-info/DebugFunctionService.ts +1 -1
  201. package/src/component/debug/view/service/impl/stack-info/DebugHalfBizStackService.ts +2 -2
  202. package/src/component/debug/view/service/impl/stack-info/DebugModelService.ts +1 -1
  203. package/src/component/debug/view/service/impl/stack-info/DebugPureBizStackService.ts +2 -2
  204. package/src/component/debug/view/service/impl/stack-info/DebugStacktraceGqlRequestContextService.ts +2 -2
  205. package/src/component/debug/view/service/impl/stack-info/DebugStacktraceSceneAnalysisService.ts +2 -2
  206. package/src/component/debug/view/service/impl/stack-info/DebugStacktraceSessionService.ts +2 -2
  207. package/src/component/debug/view/storage.ts +2 -2
  208. package/src/component/debug/view/useDebugRequestInfo.ts +1 -1
  209. package/src/component/language/DefaultLanguage.vue +2 -2
  210. package/src/component/language/LanguageWidget.ts +3 -3
  211. package/src/component/layout/BaseMaskLayoutWidget.ts +1 -1
  212. package/src/component/layout/MaskBlock.vue +2 -2
  213. package/src/component/layout/grid/GridWidget.ts +9 -7
  214. package/src/component/layout/widget/MaskCommonWidget.ts +4 -4
  215. package/src/component/menu/DefaultMenu.vue +3 -3
  216. package/src/component/menu/DefaultSubMenu.vue +2 -2
  217. package/src/component/menu/MenuWidget.ts +11 -5
  218. package/src/component/menu/style/common.scss +45 -0
  219. package/src/component/multi-tabs/MultiTabs.vue +9 -4
  220. package/src/component/multi-tabs/MultiTabsWidget.ts +7 -8
  221. package/src/component/multi-tabs/typing.ts +1 -1
  222. package/src/component/notification/DefaultNotification.vue +26 -28
  223. package/src/component/notification/NotificationWidget.ts +24 -23
  224. package/src/component/order-statistic/OrderStatistic.vue +1 -1
  225. package/src/component/partner-switcher/PartnerSwitcher.vue +2 -2
  226. package/src/component/partner-switcher/PartnerSwitcherWidget.ts +3 -3
  227. package/src/component/partner-switcher/service/PartnerSwitcherService.ts +1 -1
  228. package/src/component/partner-switcher/service/impl/PartnerSwitcherServiceImpl.ts +2 -2
  229. package/src/component/partner-switcher/session/PartnerInfoSession.ts +1 -1
  230. package/src/component/partner-switcher/session/impl/DefaultPartnerInfoSession.ts +2 -2
  231. package/src/component/partner-switcher/spi/PartnerSwitcherMaskEditor.ts +8 -2
  232. package/src/component/quick-search/index.ts +1 -1
  233. package/src/component/user/DefaultUser.vue +16 -12
  234. package/src/component/user/UserWidget.ts +24 -21
  235. package/src/component/user/index.ts +1 -0
  236. package/src/config/DebugConfig.ts +2 -2
  237. package/src/config/PartnerSwitcherConfig.ts +2 -2
  238. package/src/service/menu-service.ts +3 -3
  239. package/src/service/module-service.ts +3 -3
  240. package/src/service/top-bar-service.ts +6 -2
  241. package/src/service/user-service.ts +1 -1
  242. package/src/shim-translate.d.ts +5 -2
  243. package/src/spi/mask-editor.ts +7 -1
  244. package/src/tags/context/context.ts +1 -1
  245. package/src/tags/index.ts +1 -1
  246. package/src/tags/mixin/MaskWidgetTagMixin.ts +5 -5
  247. package/src/tags/mixin/typing.ts +1 -1
  248. package/src/tags/mixin/use-mask-widget-tag.ts +5 -5
  249. package/src/tags/register/manager.ts +2 -2
  250. package/src/tags/resolve/internal/typing.ts +1 -1
  251. package/src/tags/resolve/internal/widget-resolve.ts +4 -4
  252. package/src/tags/resolve/typing.ts +2 -2
  253. package/src/tags/resolve/widget-resolve.ts +2 -2
  254. package/src/template/index.ts +5 -5
  255. package/src/typing/menu.ts +1 -1
  256. package/src/util/HomepageUtils.ts +8 -7
  257. package/src/util/unauthorized-action.ts +8 -4
  258. package/src/utils.ts +8 -8
  259. package/dist/types/src/component/debug/spi/DebugMaskEditor.d.ts +0 -6
  260. package/dist/types/src/component/debug/view/components/DebugDefaultInfo.vue.d.ts +0 -22
  261. package/dist/types/src/component/debug/view/components/DebugJsonView.vue.d.ts +0 -29
  262. package/dist/types/src/component/debug/view/components/DebugRequestInfoPanel.vue.d.ts +0 -22
  263. package/dist/types/src/component/debug/view/components/DebugResponsePanel.vue.d.ts +0 -12
  264. package/dist/types/src/component/debug/view/debug-api/DebugApi.vue.d.ts +0 -62
  265. package/dist/types/src/component/debug/view/debug-view/DebugView.vue.d.ts +0 -78
  266. package/rollup.config.js +0 -33
@@ -1,2 +1,2 @@
1
- export { default as DefaultBreadcrumb } from './DefaultBreadcrumb.vue';
2
- export * from './BreadcrumbWidget';
1
+ export { default as DefaultBreadcrumb } from './DefaultBreadcrumb.vue';
2
+ export * from './BreadcrumbWidget';
@@ -1,11 +1,13 @@
1
- import { PropType } from 'vue';
2
- declare const _default: import("vue").DefineComponent<{
3
- onClick: {
4
- type: PropType<() => void>;
5
- };
6
- }, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
- onClick: {
8
- type: PropType<() => void>;
9
- };
10
- }>>, {}>;
11
- export default _default;
1
+ import { type PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ onClick: {
4
+ type: PropType<() => void>;
5
+ };
6
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
+ onClick: {
8
+ type: PropType<() => void>;
9
+ };
10
+ }>> & Readonly<{}>, {}, {}, {
11
+ OioButton: any;
12
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
+ export default _default;
@@ -1,8 +1,8 @@
1
- import { Router } from '@oinone/kunlun-router';
2
- import { MaskWidget } from '../../basic';
3
- export declare class DebugWidget extends MaskWidget {
4
- protected router: Router;
5
- initialize(props: any): this;
6
- onClick(): void;
7
- protected beforeCreated(): void;
8
- }
1
+ import { Router } from '@oinone/kunlun-router';
2
+ import { MaskWidget } from '../../basic';
3
+ export declare class DebugWidget extends MaskWidget {
4
+ protected router: Router;
5
+ initialize(props: any): this;
6
+ onClick(): void;
7
+ protected beforeCreated(): void;
8
+ }
@@ -1,2 +1,2 @@
1
- export declare const DEBUG_ROUTER = "debug";
2
- export declare const DEBUG_VIEW_WIDGET = "Debug";
1
+ export declare const DEBUG_ROUTER = "debug";
2
+ export declare const DEBUG_VIEW_WIDGET = "Debug";
@@ -1,7 +1,7 @@
1
- export * from './spi';
2
- export * from './view';
3
- export * from './constants';
4
- export * from './typing';
5
- export * from './util';
6
- export * from './DebugWidget';
7
- export { default as Debug } from './Debug.vue';
1
+ export * from './spi';
2
+ export * from './view';
3
+ export * from './constants';
4
+ export * from './typing';
5
+ export * from './util';
6
+ export * from './DebugWidget';
7
+ export { default as Debug } from './Debug.vue';
@@ -1,4 +1,4 @@
1
- import { FrameworkInitializeService, OioProviderProps } from '@oinone/kunlun-engine';
2
- export declare class DebugRouterInitializeService implements FrameworkInitializeService {
3
- before(props: OioProviderProps): void;
4
- }
1
+ import { type FrameworkInitializeService, type OioProviderProps } from '@oinone/kunlun-engine';
2
+ export declare class DebugRouterInitializeService implements FrameworkInitializeService {
3
+ before(props: OioProviderProps): void;
4
+ }
@@ -1 +1 @@
1
- export * from './DebugRouterInitializeService';
1
+ export * from './DebugRouterInitializeService';
@@ -1,159 +1,159 @@
1
- import { ILevel } from '@oinone/kunlun-request';
2
- import { OperationTypeNode } from 'graphql';
3
- import { Component } from 'vue';
4
- export interface DebugFetchRequest {
5
- url: string;
6
- body: RequestInit;
7
- level: number;
8
- }
9
- export declare type RequestResolveResult = Omit<DebugFetchRequest, 'level'>;
10
- export interface DebugErrorPanel {
11
- key: string;
12
- title: string;
13
- message?: string;
14
- stackInfo?: string;
15
- component?: Component;
16
- }
17
- export declare type DebugErrorAnalysisResult = Omit<DebugErrorPanel, 'key'> & Record<string, unknown>;
18
- export interface DebugRequestFunction {
19
- key: string;
20
- gqlIndex: number;
21
- method: OperationTypeNode;
22
- namespace: string;
23
- name: string;
24
- args?: string[];
25
- responseData?: string;
26
- }
27
- export interface DebugRequestGraphQLInfo {
28
- /**
29
- * key
30
- */
31
- key: string;
32
- /**
33
- * tab title
34
- */
35
- title: string;
36
- /**
37
- * gql
38
- */
39
- gql: string;
40
- /**
41
- * variables
42
- */
43
- variables?: string;
44
- /**
45
- * 已处理异常
46
- */
47
- handledExceptions?: DebugErrorPanel[];
48
- }
49
- export interface DebugRequestGQLBody {
50
- operationName?: string;
51
- query?: string;
52
- variables?: Record<string, unknown>;
53
- }
54
- export interface DebugRequestInfo {
55
- /**
56
- * 请求URL
57
- */
58
- url?: string;
59
- /**
60
- * debug请求URL
61
- */
62
- debugUrl?: string;
63
- /**
64
- * 请求方式
65
- */
66
- method?: string;
67
- /**
68
- * 请求函数
69
- */
70
- functions?: DebugRequestFunction[];
71
- /**
72
- * 完整请求时间
73
- */
74
- allDuration?: number;
75
- /**
76
- * 连接时间
77
- */
78
- connectDuration?: number;
79
- /**
80
- * 请求时间
81
- */
82
- requestDuration?: number;
83
- /**
84
- * 响应时间
85
- */
86
- responseDuration?: number;
87
- /**
88
- * 异常编码
89
- */
90
- errorCode?: string;
91
- /**
92
- * 异常信息
93
- */
94
- errorMessage?: string;
95
- /**
96
- * 请求头
97
- */
98
- header?: string;
99
- /**
100
- * GraphQL信息
101
- */
102
- gqlInfos?: DebugRequestGraphQLInfo[];
103
- /**
104
- * 已处理异常
105
- */
106
- handledExceptions?: DebugErrorPanel[];
107
- }
108
- export interface DebugFetchResponse {
109
- data?: string | null;
110
- hint?: string | null;
111
- }
112
- export interface DebugResponseData {
113
- data: {
114
- [namespace: string]: {
115
- [name: string]: unknown;
116
- };
117
- };
118
- errors?: DebugResponseError[];
119
- extensions?: {
120
- debug?: DebugResponseError[];
121
- };
122
- }
123
- export interface DebugResponseError {
124
- message?: string;
125
- extensions?: {
126
- errorCode?: string;
127
- errorType?: string;
128
- extra?: string;
129
- level?: ILevel;
130
- messages?: {
131
- level?: ILevel;
132
- errorType?: string;
133
- errorCode?: string;
134
- message?: string;
135
- }[];
136
- extend?: string;
137
- stackTraceKey?: string;
138
- stackTraceMsg?: string;
139
- classification?: string;
140
- };
141
- }
142
- export interface DebugFieldWidgetGroup {
143
- model: string;
144
- fields: DebugFieldWidget[];
145
- }
146
- export interface DebugFieldWidget {
147
- dsl: string;
148
- }
149
- export declare const DebugInfoProps: {
150
- title: {
151
- type: StringConstructor;
152
- };
153
- message: {
154
- type: StringConstructor;
155
- };
156
- stackInfo: {
157
- type: StringConstructor;
158
- };
159
- };
1
+ import { ILevel } from '@oinone/kunlun-request';
2
+ import { OperationTypeNode } from 'graphql';
3
+ import type { Component } from 'vue';
4
+ export interface DebugFetchRequest {
5
+ url: string;
6
+ body: RequestInit;
7
+ level: number;
8
+ }
9
+ export type RequestResolveResult = Omit<DebugFetchRequest, 'level'>;
10
+ export interface DebugErrorPanel {
11
+ key: string;
12
+ title: string;
13
+ message?: string;
14
+ stackInfo?: string;
15
+ component?: Component;
16
+ }
17
+ export type DebugErrorAnalysisResult = Omit<DebugErrorPanel, 'key'> & Record<string, unknown>;
18
+ export interface DebugRequestFunction {
19
+ key: string;
20
+ gqlIndex: number;
21
+ method: OperationTypeNode;
22
+ namespace: string;
23
+ name: string;
24
+ args?: string[];
25
+ responseData?: string;
26
+ }
27
+ export interface DebugRequestGraphQLInfo {
28
+ /**
29
+ * key
30
+ */
31
+ key: string;
32
+ /**
33
+ * tab title
34
+ */
35
+ title: string;
36
+ /**
37
+ * gql
38
+ */
39
+ gql: string;
40
+ /**
41
+ * variables
42
+ */
43
+ variables?: string;
44
+ /**
45
+ * 已处理异常
46
+ */
47
+ handledExceptions?: DebugErrorPanel[];
48
+ }
49
+ export interface DebugRequestGQLBody {
50
+ operationName?: string;
51
+ query?: string;
52
+ variables?: Record<string, unknown>;
53
+ }
54
+ export interface DebugRequestInfo {
55
+ /**
56
+ * 请求URL
57
+ */
58
+ url?: string;
59
+ /**
60
+ * debug请求URL
61
+ */
62
+ debugUrl?: string;
63
+ /**
64
+ * 请求方式
65
+ */
66
+ method?: string;
67
+ /**
68
+ * 请求函数
69
+ */
70
+ functions?: DebugRequestFunction[];
71
+ /**
72
+ * 完整请求时间
73
+ */
74
+ allDuration?: number;
75
+ /**
76
+ * 连接时间
77
+ */
78
+ connectDuration?: number;
79
+ /**
80
+ * 请求时间
81
+ */
82
+ requestDuration?: number;
83
+ /**
84
+ * 响应时间
85
+ */
86
+ responseDuration?: number;
87
+ /**
88
+ * 异常编码
89
+ */
90
+ errorCode?: string;
91
+ /**
92
+ * 异常信息
93
+ */
94
+ errorMessage?: string;
95
+ /**
96
+ * 请求头
97
+ */
98
+ header?: string;
99
+ /**
100
+ * GraphQL信息
101
+ */
102
+ gqlInfos?: DebugRequestGraphQLInfo[];
103
+ /**
104
+ * 已处理异常
105
+ */
106
+ handledExceptions?: DebugErrorPanel[];
107
+ }
108
+ export interface DebugFetchResponse {
109
+ data?: string | null;
110
+ hint?: string | null;
111
+ }
112
+ export interface DebugResponseData {
113
+ data: {
114
+ [namespace: string]: {
115
+ [name: string]: unknown;
116
+ };
117
+ };
118
+ errors?: DebugResponseError[];
119
+ extensions?: {
120
+ debug?: DebugResponseError[];
121
+ };
122
+ }
123
+ export interface DebugResponseError {
124
+ message?: string;
125
+ extensions?: {
126
+ errorCode?: string;
127
+ errorType?: string;
128
+ extra?: string;
129
+ level?: ILevel;
130
+ messages?: {
131
+ level?: ILevel;
132
+ errorType?: string;
133
+ errorCode?: string;
134
+ message?: string;
135
+ }[];
136
+ extend?: string;
137
+ stackTraceKey?: string;
138
+ stackTraceMsg?: string;
139
+ classification?: string;
140
+ };
141
+ }
142
+ export interface DebugFieldWidgetGroup {
143
+ model: string;
144
+ fields: DebugFieldWidget[];
145
+ }
146
+ export interface DebugFieldWidget {
147
+ dsl: string;
148
+ }
149
+ export declare const DebugInfoProps: {
150
+ title: {
151
+ type: StringConstructor;
152
+ };
153
+ message: {
154
+ type: StringConstructor;
155
+ };
156
+ stackInfo: {
157
+ type: StringConstructor;
158
+ };
159
+ };
@@ -1,16 +1,16 @@
1
- interface ILoadScriptOption {
2
- id?: string;
3
- async?: boolean;
4
- crossorigin?: string;
5
- }
6
- /**
7
- * 动态加载一个外部 JavaScript 脚本
8
- * @param {string} src - 脚本的 URL
9
- * @param {Object} [options] - 可选配置
10
- * @param {string} [options.id] - 给 script 标签设置 id(避免重复加载)
11
- * @param {boolean} [options.async=true] - 是否异步加载
12
- * @param {string} [options.crossorigin] - CORS 设置,如 'anonymous'
13
- * @returns {Promise<void>} 加载成功则 resolve,失败则 reject
14
- */
15
- export declare function loadScript(src: string, options?: string | ILoadScriptOption): Promise<void>;
16
- export {};
1
+ interface ILoadScriptOption {
2
+ id?: string;
3
+ async?: boolean;
4
+ crossorigin?: string;
5
+ }
6
+ /**
7
+ * 动态加载一个外部 JavaScript 脚本
8
+ * @param {string} src - 脚本的 URL
9
+ * @param {Object} [options] - 可选配置
10
+ * @param {string} [options.id] - 给 script 标签设置 id(避免重复加载)
11
+ * @param {boolean} [options.async=true] - 是否异步加载
12
+ * @param {string} [options.crossorigin] - CORS 设置,如 'anonymous'
13
+ * @returns {Promise<void>} 加载成功则 resolve,失败则 reject
14
+ */
15
+ export declare function loadScript(src: string, options?: string | ILoadScriptOption): Promise<void>;
16
+ export {};
@@ -1,28 +1,32 @@
1
- import { PropType } from 'vue';
2
- import 'vue-json-pretty/lib/styles.css';
3
- import { DebugResponseData } from '../typing';
4
- declare const _default: import("vue").DefineComponent<{
5
- activeDebugTab: {
6
- type: StringConstructor;
7
- };
8
- changeActiveDebugTab: {
9
- type: FunctionConstructor;
10
- };
11
- responseAnalysis: {
12
- type: PropType<(responseBody: DebugResponseData | DebugResponseData[]) => Promise<string>>;
13
- };
14
- }, {
15
- onDownload: () => void;
16
- onImport: () => void;
17
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
- activeDebugTab: {
19
- type: StringConstructor;
20
- };
21
- changeActiveDebugTab: {
22
- type: FunctionConstructor;
23
- };
24
- responseAnalysis: {
25
- type: PropType<(responseBody: DebugResponseData | DebugResponseData[]) => Promise<string>>;
26
- };
27
- }>>, {}>;
28
- export default _default;
1
+ import { type PropType } from 'vue';
2
+ import 'vue-json-pretty/lib/styles.css';
3
+ import { type DebugResponseData } from '../typing';
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ activeDebugTab: {
6
+ type: StringConstructor;
7
+ };
8
+ changeActiveDebugTab: {
9
+ type: FunctionConstructor;
10
+ };
11
+ responseAnalysis: {
12
+ type: PropType<(responseBody: DebugResponseData | DebugResponseData[]) => Promise<string>>;
13
+ };
14
+ }>, {
15
+ onDownload: () => void;
16
+ onImport: () => void;
17
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ activeDebugTab: {
19
+ type: StringConstructor;
20
+ };
21
+ changeActiveDebugTab: {
22
+ type: FunctionConstructor;
23
+ };
24
+ responseAnalysis: {
25
+ type: PropType<(responseBody: DebugResponseData | DebugResponseData[]) => Promise<string>>;
26
+ };
27
+ }>> & Readonly<{}>, {}, {}, {
28
+ OioButton: any;
29
+ OioTabs: any;
30
+ OioTab: any;
31
+ }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
32
+ export default _default;
@@ -1,10 +1,10 @@
1
- import { RouterWidget } from '@oinone/kunlun-vue-router';
2
- import { DebugResponseData } from '../typing';
3
- export declare class DebugMainViewWidget extends RouterWidget {
4
- initialize(props: any): this;
5
- protected activeDebugTab: string;
6
- protected changeActiveDebugTab(activeDebugTab: string): void;
7
- protected responseAnalysis(responseBody: DebugResponseData | DebugResponseData[]): Promise<void>;
8
- protected created(): void;
9
- protected mounted(): void;
10
- }
1
+ import { RouterWidget } from '@oinone/kunlun-vue-router';
2
+ import type { DebugResponseData } from '../typing';
3
+ export declare class DebugMainViewWidget extends RouterWidget {
4
+ initialize(props: any): this;
5
+ protected activeDebugTab: string;
6
+ protected changeActiveDebugTab(activeDebugTab: string): void;
7
+ protected responseAnalysis(responseBody: DebugResponseData | DebugResponseData[]): Promise<void>;
8
+ protected created(): void;
9
+ protected mounted(): void;
10
+ }
@@ -1,32 +1,32 @@
1
- import { VueWidget } from '@oinone/kunlun-vue-widget';
2
- import { DebugErrorPanel, DebugFetchRequest, DebugFetchResponse, DebugRequestFunction, DebugRequestGQLBody, DebugRequestGraphQLInfo, DebugRequestInfo, DebugResponseData, RequestResolveResult } from '../../typing';
3
- import { DebugInfoStorage } from '../storage';
4
- export declare class DebugApiWidget extends VueWidget {
5
- private performanceObserver?;
6
- initialize(props: any): this;
7
- protected activeDebugTab?: string;
8
- private requestInfo;
9
- private responseData;
10
- resetInfo(): void;
11
- resolveRequestData(data: string): RequestResolveResult | undefined;
12
- request(fetchObject: DebugFetchRequest): Promise<DebugFetchResponse | undefined>;
13
- protected requestAnalysis(fetchObject: DebugFetchRequest): Promise<Response>;
14
- protected gqlAnalysis(body: DebugRequestGQLBody | DebugRequestGQLBody[]): {
15
- gqlInfos: DebugRequestGraphQLInfo[];
16
- functions: DebugRequestFunction[];
17
- };
18
- responseAnalysis(responseBody: DebugResponseData | DebugResponseData[]): Promise<string>;
19
- protected resolveResponseError(requestInfo: DebugRequestInfo, responseBody: DebugResponseData): void;
20
- protected resolveResponseDebug(requestInfo: {
21
- handledExceptions?: DebugErrorPanel[];
22
- }, responseBody: DebugResponseData): void;
23
- protected generatorRequestInfoByResponse(responseBody: DebugResponseData | DebugResponseData[]): DebugRequestInfo | undefined;
24
- protected requestSuccess(data: string): {
25
- data: string;
26
- hint: null;
27
- };
28
- protected requestError(message: string): DebugFetchResponse;
29
- protected onStorageUpdate: (storage: DebugInfoStorage) => void;
30
- protected mounted(): void;
31
- protected unmounted(): void;
32
- }
1
+ import { VueWidget } from '@oinone/kunlun-vue-widget';
2
+ import type { DebugErrorPanel, DebugFetchRequest, DebugFetchResponse, DebugRequestFunction, DebugRequestGQLBody, DebugRequestGraphQLInfo, DebugRequestInfo, DebugResponseData, RequestResolveResult } from '../../typing';
3
+ import { DebugInfoStorage } from '../storage';
4
+ export declare class DebugApiWidget extends VueWidget {
5
+ private performanceObserver?;
6
+ initialize(props: any): this;
7
+ protected activeDebugTab?: string;
8
+ private requestInfo;
9
+ private responseData;
10
+ resetInfo(): void;
11
+ resolveRequestData(data: string): RequestResolveResult | undefined;
12
+ request(fetchObject: DebugFetchRequest): Promise<DebugFetchResponse | undefined>;
13
+ protected requestAnalysis(fetchObject: DebugFetchRequest): Promise<Response>;
14
+ protected gqlAnalysis(body: DebugRequestGQLBody | DebugRequestGQLBody[]): {
15
+ gqlInfos: DebugRequestGraphQLInfo[];
16
+ functions: DebugRequestFunction[];
17
+ };
18
+ responseAnalysis(responseBody: DebugResponseData | DebugResponseData[]): Promise<string>;
19
+ protected resolveResponseError(requestInfo: DebugRequestInfo, responseBody: DebugResponseData): void;
20
+ protected resolveResponseDebug(requestInfo: {
21
+ handledExceptions?: DebugErrorPanel[];
22
+ }, responseBody: DebugResponseData): void;
23
+ protected generatorRequestInfoByResponse(responseBody: DebugResponseData | DebugResponseData[]): DebugRequestInfo | undefined;
24
+ protected requestSuccess(data: string): {
25
+ data: string;
26
+ hint: null;
27
+ };
28
+ protected requestError(message: string): DebugFetchResponse;
29
+ protected onStorageUpdate: (storage: DebugInfoStorage) => void;
30
+ protected mounted(): void;
31
+ protected unmounted(): void;
32
+ }