base6-ui 2.0.6 → 2.0.8

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 (315) hide show
  1. package/dist/components/data-table/data-table.d.ts +1372 -1
  2. package/dist/components/data-table/interface.d.ts +68 -53
  3. package/dist/components/global-header/index.vue.d.ts +5 -2
  4. package/dist/components/global-header/interface.d.ts +9 -7
  5. package/dist/components/global-header/title.vue.d.ts +9 -1
  6. package/dist/components/index.d.ts +1 -2
  7. package/dist/components/nav-icon/type.d.ts +1 -0
  8. package/dist/components/platform-navigation/index.d.ts +2 -0
  9. package/{es/components/product-introduction → dist/components/platform-navigation}/index.vue.d.ts +8 -2
  10. package/dist/components/platform-navigation/interface.d.ts +29 -0
  11. package/dist/config/themes/components/dataTable/common.d.ts +2 -0
  12. package/dist/index.css +1 -1
  13. package/dist/index.umd.js +1 -1
  14. package/dist/locale/lang/en-us.d.ts +6 -4
  15. package/es/assets/cover/base-studio.png.mjs +2 -2
  16. package/es/assets/cover/source-robot.png.mjs +4 -0
  17. package/es/components/data-table/data-table.d.ts +1372 -1
  18. package/es/components/data-table/data-table.mjs +49 -32
  19. package/es/components/data-table/interface.d.ts +68 -53
  20. package/es/components/data-table/interface.mjs +9 -2
  21. package/es/components/global-header/index.vue.d.ts +5 -2
  22. package/es/components/global-header/index.vue.mjs +42 -33
  23. package/es/components/global-header/interface.d.ts +9 -7
  24. package/es/components/global-header/title.vue.d.ts +9 -1
  25. package/es/components/global-header/title.vue.mjs +3 -3
  26. package/es/components/global-header/title.vue2.mjs +39 -30
  27. package/es/components/index.d.ts +1 -2
  28. package/es/components/nav-icon/index.vue.mjs +2 -2
  29. package/es/components/nav-icon/index.vue2.mjs +21 -19
  30. package/es/components/nav-icon/type.d.ts +1 -0
  31. package/es/components/platform-navigation/index.d.ts +2 -0
  32. package/{lib/components/product-introduction → es/components/platform-navigation}/index.vue.d.ts +8 -2
  33. package/es/components/{product-introduction → platform-navigation}/index.vue.mjs +2 -2
  34. package/es/components/platform-navigation/index.vue2.mjs +194 -0
  35. package/es/components/platform-navigation/interface.d.ts +29 -0
  36. package/es/components/platform-navigation/interface.mjs +4 -0
  37. package/es/config/themes/components/dataTable/common.d.ts +2 -0
  38. package/es/config/themes/components/dataTable/common.mjs +11 -0
  39. package/es/config/themes/components/dataTable/dark.mjs +4 -2
  40. package/es/config/themes/components/dataTable/light.mjs +4 -2
  41. package/es/index.css +1 -1
  42. package/es/index.mjs +79 -89
  43. package/es/locale/lang/en-us.d.ts +6 -4
  44. package/es/locale/lang/en-us.mjs +6 -4
  45. package/es/locale/lang/zh-cn.mjs +6 -4
  46. package/lib/assets/cover/base-studio.png.js +1 -1
  47. package/lib/assets/cover/source-robot.png.js +1 -0
  48. package/lib/components/data-table/data-table.d.ts +1372 -1
  49. package/lib/components/data-table/data-table.js +1 -1
  50. package/lib/components/data-table/interface.d.ts +68 -53
  51. package/lib/components/data-table/interface.js +1 -1
  52. package/lib/components/global-header/index.vue.d.ts +5 -2
  53. package/lib/components/global-header/index.vue.js +1 -1
  54. package/lib/components/global-header/interface.d.ts +9 -7
  55. package/lib/components/global-header/title.vue.d.ts +9 -1
  56. package/lib/components/global-header/title.vue.js +1 -1
  57. package/lib/components/global-header/title.vue2.js +1 -1
  58. package/lib/components/index.d.ts +1 -2
  59. package/lib/components/input-number/index.vue.js +1 -1
  60. package/lib/components/layout/aside/index.vue.js +1 -1
  61. package/lib/components/layout/components/WrapHeader.vue2.js +1 -1
  62. package/lib/components/layout/header/index.vue.js +1 -1
  63. package/lib/components/layout/index.vue.js +1 -1
  64. package/lib/components/nav-icon/index.vue.js +1 -1
  65. package/lib/components/nav-icon/index.vue2.js +1 -1
  66. package/lib/components/nav-icon/type.d.ts +1 -0
  67. package/lib/components/platform-navigation/index.d.ts +2 -0
  68. package/{dist/components/product-introduction → lib/components/platform-navigation}/index.vue.d.ts +8 -2
  69. package/lib/components/platform-navigation/index.vue.js +1 -0
  70. package/lib/components/platform-navigation/index.vue2.js +1 -0
  71. package/lib/components/platform-navigation/interface.d.ts +29 -0
  72. package/lib/components/platform-navigation/interface.js +1 -0
  73. package/lib/components/radio/index.vue.js +1 -1
  74. package/lib/components/select/index.vue.js +1 -1
  75. package/lib/components/slider/index.vue.js +1 -1
  76. package/lib/components/switch/index.vue.js +1 -1
  77. package/lib/components/system-actions/index.vue.js +1 -1
  78. package/lib/config/themes/components/dataTable/common.d.ts +2 -0
  79. package/lib/config/themes/components/dataTable/common.js +1 -0
  80. package/lib/config/themes/components/dataTable/dark.js +1 -1
  81. package/lib/config/themes/components/dataTable/light.js +1 -1
  82. package/lib/index.css +1 -1
  83. package/lib/index.js +1 -1
  84. package/lib/locale/lang/en-us.d.ts +6 -4
  85. package/lib/locale/lang/en-us.js +1 -1
  86. package/lib/locale/lang/zh-cn.js +1 -1
  87. package/package.json +1 -1
  88. package/dist/components/BaseLayout/ASide/index.vue.d.ts +0 -23
  89. package/dist/components/BaseLayout/ASide/type.d.ts +0 -10
  90. package/dist/components/BaseLayout/AsideMenu/index.vue.d.ts +0 -4
  91. package/dist/components/BaseLayout/Default/constants.d.ts +0 -5
  92. package/dist/components/BaseLayout/Default/hooks/useBaseLayoutContext.d.ts +0 -3
  93. package/dist/components/BaseLayout/Default/hooks/useLogo.d.ts +0 -5
  94. package/dist/components/BaseLayout/Default/index.vue.d.ts +0 -72
  95. package/dist/components/BaseLayout/Default/layoutFooter/index.vue.d.ts +0 -2
  96. package/dist/components/BaseLayout/Default/layoutHeader/action.vue.d.ts +0 -2
  97. package/dist/components/BaseLayout/Default/layoutHeader/index.vue.d.ts +0 -2
  98. package/dist/components/BaseLayout/Default/layoutHeader/title.vue.d.ts +0 -2
  99. package/dist/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.d.ts +0 -32
  100. package/dist/components/BaseLayout/Default/layoutMenu/index.vue.d.ts +0 -2
  101. package/dist/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.d.ts +0 -2
  102. package/dist/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.d.ts +0 -2
  103. package/dist/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.d.ts +0 -2
  104. package/dist/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.d.ts +0 -2
  105. package/dist/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.d.ts +0 -2
  106. package/dist/components/BaseLayout/Default/layoutSlider/index.vue.d.ts +0 -2
  107. package/dist/components/BaseLayout/Default/layoutTab/index.vue.d.ts +0 -2
  108. package/dist/components/BaseLayout/Default/options.d.ts +0 -3
  109. package/dist/components/BaseLayout/Default/type.d.ts +0 -40
  110. package/dist/components/BaseLayout/Header/index.vue.d.ts +0 -19
  111. package/dist/components/BaseLayout/components/WrapContent.vue.d.ts +0 -22
  112. package/dist/components/BaseLayout/components/WrapFooter.vue.d.ts +0 -24
  113. package/dist/components/BaseLayout/components/WrapHeader.vue.d.ts +0 -24
  114. package/dist/components/BaseLayout/components/WrapSlider.vue.d.ts +0 -24
  115. package/dist/components/BaseLayout/components/WrapTab.vue.d.ts +0 -24
  116. package/dist/components/BaseLayout/constants.d.ts +0 -1
  117. package/dist/components/BaseLayout/index.d.ts +0 -7
  118. package/dist/components/BaseLayout/index.vue.d.ts +0 -49
  119. package/dist/components/BaseLayout/layoutCssVar.d.ts +0 -4
  120. package/dist/components/BaseLayout/options.d.ts +0 -2
  121. package/dist/components/BaseLayout/type.d.ts +0 -52
  122. package/dist/components/product-introduction/constants.d.ts +0 -2
  123. package/dist/components/product-introduction/index.d.ts +0 -1
  124. package/dist/components/product-introduction/types.d.ts +0 -5
  125. package/dist/hooks/useMenu.d.ts +0 -34
  126. package/es/components/BaseLayout/ASide/index.vue.d.ts +0 -23
  127. package/es/components/BaseLayout/ASide/index.vue.mjs +0 -7
  128. package/es/components/BaseLayout/ASide/index.vue2.mjs +0 -62
  129. package/es/components/BaseLayout/ASide/type.d.ts +0 -10
  130. package/es/components/BaseLayout/AsideMenu/index.vue.d.ts +0 -4
  131. package/es/components/BaseLayout/AsideMenu/index.vue.mjs +0 -7
  132. package/es/components/BaseLayout/AsideMenu/index.vue2.mjs +0 -66
  133. package/es/components/BaseLayout/Default/constants.d.ts +0 -5
  134. package/es/components/BaseLayout/Default/constants.mjs +0 -5
  135. package/es/components/BaseLayout/Default/hooks/useBaseLayoutContext.d.ts +0 -3
  136. package/es/components/BaseLayout/Default/hooks/useBaseLayoutContext.mjs +0 -11
  137. package/es/components/BaseLayout/Default/hooks/useLogo.d.ts +0 -5
  138. package/es/components/BaseLayout/Default/hooks/useLogo.mjs +0 -19
  139. package/es/components/BaseLayout/Default/index.vue.d.ts +0 -72
  140. package/es/components/BaseLayout/Default/index.vue.mjs +0 -7
  141. package/es/components/BaseLayout/Default/index.vue2.mjs +0 -151
  142. package/es/components/BaseLayout/Default/layoutFooter/index.vue.d.ts +0 -2
  143. package/es/components/BaseLayout/Default/layoutHeader/action.vue.d.ts +0 -2
  144. package/es/components/BaseLayout/Default/layoutHeader/index.vue.d.ts +0 -2
  145. package/es/components/BaseLayout/Default/layoutHeader/index.vue.mjs +0 -38
  146. package/es/components/BaseLayout/Default/layoutHeader/index.vue2.mjs +0 -4
  147. package/es/components/BaseLayout/Default/layoutHeader/title.vue.d.ts +0 -2
  148. package/es/components/BaseLayout/Default/layoutHeader/title.vue.mjs +0 -7
  149. package/es/components/BaseLayout/Default/layoutHeader/title.vue2.mjs +0 -29
  150. package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.d.ts +0 -32
  151. package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.mjs +0 -7
  152. package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.mjs +0 -65
  153. package/es/components/BaseLayout/Default/layoutMenu/index.vue.d.ts +0 -2
  154. package/es/components/BaseLayout/Default/layoutMenu/index.vue.mjs +0 -4
  155. package/es/components/BaseLayout/Default/layoutMenu/index.vue2.mjs +0 -23
  156. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.d.ts +0 -2
  157. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.mjs +0 -30
  158. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue2.mjs +0 -4
  159. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.d.ts +0 -2
  160. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.mjs +0 -53
  161. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue2.mjs +0 -4
  162. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.d.ts +0 -2
  163. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.mjs +0 -73
  164. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue2.mjs +0 -4
  165. package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.d.ts +0 -2
  166. package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.mjs +0 -39
  167. package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue2.mjs +0 -4
  168. package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.d.ts +0 -2
  169. package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.mjs +0 -97
  170. package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue2.mjs +0 -4
  171. package/es/components/BaseLayout/Default/layoutSlider/index.vue.d.ts +0 -2
  172. package/es/components/BaseLayout/Default/layoutSlider/index.vue.mjs +0 -31
  173. package/es/components/BaseLayout/Default/layoutSlider/index.vue2.mjs +0 -4
  174. package/es/components/BaseLayout/Default/layoutTab/index.vue.d.ts +0 -2
  175. package/es/components/BaseLayout/Default/options.d.ts +0 -3
  176. package/es/components/BaseLayout/Default/options.mjs +0 -35
  177. package/es/components/BaseLayout/Default/type.d.ts +0 -40
  178. package/es/components/BaseLayout/Header/index.vue.d.ts +0 -19
  179. package/es/components/BaseLayout/Header/index.vue.mjs +0 -20
  180. package/es/components/BaseLayout/components/WrapContent.vue.d.ts +0 -22
  181. package/es/components/BaseLayout/components/WrapContent.vue.mjs +0 -23
  182. package/es/components/BaseLayout/components/WrapContent.vue2.mjs +0 -4
  183. package/es/components/BaseLayout/components/WrapFooter.vue.d.ts +0 -24
  184. package/es/components/BaseLayout/components/WrapFooter.vue.mjs +0 -33
  185. package/es/components/BaseLayout/components/WrapFooter.vue2.mjs +0 -4
  186. package/es/components/BaseLayout/components/WrapHeader.vue.d.ts +0 -24
  187. package/es/components/BaseLayout/components/WrapHeader.vue.mjs +0 -7
  188. package/es/components/BaseLayout/components/WrapHeader.vue2.mjs +0 -30
  189. package/es/components/BaseLayout/components/WrapSlider.vue.d.ts +0 -24
  190. package/es/components/BaseLayout/components/WrapSlider.vue.mjs +0 -24
  191. package/es/components/BaseLayout/components/WrapSlider.vue2.mjs +0 -4
  192. package/es/components/BaseLayout/components/WrapTab.vue.d.ts +0 -24
  193. package/es/components/BaseLayout/components/WrapTab.vue.mjs +0 -34
  194. package/es/components/BaseLayout/components/WrapTab.vue2.mjs +0 -4
  195. package/es/components/BaseLayout/constants.d.ts +0 -1
  196. package/es/components/BaseLayout/constants.mjs +0 -4
  197. package/es/components/BaseLayout/index.d.ts +0 -7
  198. package/es/components/BaseLayout/index.module.css.mjs +0 -24
  199. package/es/components/BaseLayout/index.vue.d.ts +0 -49
  200. package/es/components/BaseLayout/index.vue.mjs +0 -7
  201. package/es/components/BaseLayout/index.vue2.mjs +0 -124
  202. package/es/components/BaseLayout/layoutCssVar.d.ts +0 -4
  203. package/es/components/BaseLayout/layoutCssVar.mjs +0 -27
  204. package/es/components/BaseLayout/options.d.ts +0 -2
  205. package/es/components/BaseLayout/options.mjs +0 -25
  206. package/es/components/BaseLayout/type.d.ts +0 -52
  207. package/es/components/product-introduction/constants.d.ts +0 -2
  208. package/es/components/product-introduction/constants.mjs +0 -7
  209. package/es/components/product-introduction/index.d.ts +0 -1
  210. package/es/components/product-introduction/index.vue2.mjs +0 -169
  211. package/es/components/product-introduction/types.d.ts +0 -5
  212. package/es/hooks/useBoolean.mjs +0 -26
  213. package/es/hooks/useContext.mjs +0 -30
  214. package/es/hooks/useMenu.d.ts +0 -34
  215. package/es/hooks/useMenu.mjs +0 -78
  216. package/es/node_modules/.pnpm/@vueuse_core@13.0.0_vue@3.5.22_typescript@5.7.2_/node_modules/@vueuse/core/index.mjs +0 -43
  217. package/es/node_modules/.pnpm/@vueuse_shared@13.0.0_vue@3.5.22_typescript@5.7.2_/node_modules/@vueuse/shared/index.mjs +0 -29
  218. package/lib/components/BaseLayout/ASide/index.vue.d.ts +0 -23
  219. package/lib/components/BaseLayout/ASide/index.vue.js +0 -1
  220. package/lib/components/BaseLayout/ASide/index.vue2.js +0 -1
  221. package/lib/components/BaseLayout/ASide/type.d.ts +0 -10
  222. package/lib/components/BaseLayout/AsideMenu/index.vue.d.ts +0 -4
  223. package/lib/components/BaseLayout/AsideMenu/index.vue.js +0 -1
  224. package/lib/components/BaseLayout/AsideMenu/index.vue2.js +0 -1
  225. package/lib/components/BaseLayout/Default/constants.d.ts +0 -5
  226. package/lib/components/BaseLayout/Default/constants.js +0 -1
  227. package/lib/components/BaseLayout/Default/hooks/useBaseLayoutContext.d.ts +0 -3
  228. package/lib/components/BaseLayout/Default/hooks/useBaseLayoutContext.js +0 -1
  229. package/lib/components/BaseLayout/Default/hooks/useLogo.d.ts +0 -5
  230. package/lib/components/BaseLayout/Default/hooks/useLogo.js +0 -1
  231. package/lib/components/BaseLayout/Default/index.vue.d.ts +0 -72
  232. package/lib/components/BaseLayout/Default/index.vue.js +0 -1
  233. package/lib/components/BaseLayout/Default/index.vue2.js +0 -1
  234. package/lib/components/BaseLayout/Default/layoutFooter/index.vue.d.ts +0 -2
  235. package/lib/components/BaseLayout/Default/layoutHeader/action.vue.d.ts +0 -2
  236. package/lib/components/BaseLayout/Default/layoutHeader/index.vue.d.ts +0 -2
  237. package/lib/components/BaseLayout/Default/layoutHeader/index.vue.js +0 -1
  238. package/lib/components/BaseLayout/Default/layoutHeader/index.vue2.js +0 -1
  239. package/lib/components/BaseLayout/Default/layoutHeader/title.vue.d.ts +0 -2
  240. package/lib/components/BaseLayout/Default/layoutHeader/title.vue.js +0 -1
  241. package/lib/components/BaseLayout/Default/layoutHeader/title.vue2.js +0 -1
  242. package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.d.ts +0 -32
  243. package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.js +0 -1
  244. package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.js +0 -1
  245. package/lib/components/BaseLayout/Default/layoutMenu/index.vue.d.ts +0 -2
  246. package/lib/components/BaseLayout/Default/layoutMenu/index.vue.js +0 -1
  247. package/lib/components/BaseLayout/Default/layoutMenu/index.vue2.js +0 -1
  248. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.d.ts +0 -2
  249. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.js +0 -1
  250. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue2.js +0 -1
  251. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.d.ts +0 -2
  252. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.js +0 -1
  253. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue2.js +0 -1
  254. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.d.ts +0 -2
  255. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.js +0 -1
  256. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue2.js +0 -1
  257. package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.d.ts +0 -2
  258. package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.js +0 -1
  259. package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue2.js +0 -1
  260. package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.d.ts +0 -2
  261. package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.js +0 -1
  262. package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue2.js +0 -1
  263. package/lib/components/BaseLayout/Default/layoutSlider/index.vue.d.ts +0 -2
  264. package/lib/components/BaseLayout/Default/layoutSlider/index.vue.js +0 -1
  265. package/lib/components/BaseLayout/Default/layoutSlider/index.vue2.js +0 -1
  266. package/lib/components/BaseLayout/Default/layoutTab/index.vue.d.ts +0 -2
  267. package/lib/components/BaseLayout/Default/options.d.ts +0 -3
  268. package/lib/components/BaseLayout/Default/options.js +0 -1
  269. package/lib/components/BaseLayout/Default/type.d.ts +0 -40
  270. package/lib/components/BaseLayout/Header/index.vue.d.ts +0 -19
  271. package/lib/components/BaseLayout/Header/index.vue.js +0 -1
  272. package/lib/components/BaseLayout/components/WrapContent.vue.d.ts +0 -22
  273. package/lib/components/BaseLayout/components/WrapContent.vue.js +0 -1
  274. package/lib/components/BaseLayout/components/WrapContent.vue2.js +0 -1
  275. package/lib/components/BaseLayout/components/WrapFooter.vue.d.ts +0 -24
  276. package/lib/components/BaseLayout/components/WrapFooter.vue.js +0 -1
  277. package/lib/components/BaseLayout/components/WrapFooter.vue2.js +0 -1
  278. package/lib/components/BaseLayout/components/WrapHeader.vue.d.ts +0 -24
  279. package/lib/components/BaseLayout/components/WrapHeader.vue.js +0 -1
  280. package/lib/components/BaseLayout/components/WrapHeader.vue2.js +0 -1
  281. package/lib/components/BaseLayout/components/WrapSlider.vue.d.ts +0 -24
  282. package/lib/components/BaseLayout/components/WrapSlider.vue.js +0 -1
  283. package/lib/components/BaseLayout/components/WrapSlider.vue2.js +0 -1
  284. package/lib/components/BaseLayout/components/WrapTab.vue.d.ts +0 -24
  285. package/lib/components/BaseLayout/components/WrapTab.vue.js +0 -1
  286. package/lib/components/BaseLayout/components/WrapTab.vue2.js +0 -1
  287. package/lib/components/BaseLayout/constants.d.ts +0 -1
  288. package/lib/components/BaseLayout/constants.js +0 -1
  289. package/lib/components/BaseLayout/index.d.ts +0 -7
  290. package/lib/components/BaseLayout/index.module.css.js +0 -1
  291. package/lib/components/BaseLayout/index.vue.d.ts +0 -49
  292. package/lib/components/BaseLayout/index.vue.js +0 -1
  293. package/lib/components/BaseLayout/index.vue2.js +0 -1
  294. package/lib/components/BaseLayout/layoutCssVar.d.ts +0 -4
  295. package/lib/components/BaseLayout/layoutCssVar.js +0 -1
  296. package/lib/components/BaseLayout/options.d.ts +0 -2
  297. package/lib/components/BaseLayout/options.js +0 -1
  298. package/lib/components/BaseLayout/type.d.ts +0 -52
  299. package/lib/components/product-introduction/constants.d.ts +0 -2
  300. package/lib/components/product-introduction/constants.js +0 -1
  301. package/lib/components/product-introduction/index.d.ts +0 -1
  302. package/lib/components/product-introduction/index.vue.js +0 -1
  303. package/lib/components/product-introduction/index.vue2.js +0 -1
  304. package/lib/components/product-introduction/types.d.ts +0 -5
  305. package/lib/hooks/useBoolean.js +0 -1
  306. package/lib/hooks/useContext.js +0 -1
  307. package/lib/hooks/useMenu.d.ts +0 -34
  308. package/lib/hooks/useMenu.js +0 -1
  309. package/lib/node_modules/.pnpm/@vueuse_core@13.0.0_vue@3.5.22_typescript@5.7.2_/node_modules/@vueuse/core/index.js +0 -1
  310. package/lib/node_modules/.pnpm/@vueuse_shared@13.0.0_vue@3.5.22_typescript@5.7.2_/node_modules/@vueuse/shared/index.js +0 -1
  311. /package/dist/components/{product-introduction → platform-navigation}/cssVar.d.ts +0 -0
  312. /package/es/components/{product-introduction → platform-navigation}/cssVar.d.ts +0 -0
  313. /package/es/components/{product-introduction → platform-navigation}/cssVar.mjs +0 -0
  314. /package/lib/components/{product-introduction → platform-navigation}/cssVar.d.ts +0 -0
  315. /package/lib/components/{product-introduction → platform-navigation}/cssVar.js +0 -0
@@ -1,169 +0,0 @@
1
- import { NPopover as T, NCard as M, NButton as O } from "naive-ui";
2
- import { defineComponent as V, mergeDefaults as z, ref as h, computed as v, resolveComponent as A, createElementBlock as u, openBlock as r, createVNode as l, createBlock as b, withModifiers as k, normalizeStyle as L, withCtx as p, createElementVNode as e, toDisplayString as m, unref as U, Fragment as y, renderList as g, createCommentVNode as $, createTextVNode as P, Teleport as E, withDirectives as F, vShow as j } from "vue";
3
- import q from "../nav-icon/index.vue.mjs";
4
- import { useLocale as G } from "../../hooks/useLocale.mjs";
5
- import H from "../../hooks/useNaiveConfigProvideContext.mjs";
6
- import J from "../../assets/cover/base-ads.png.mjs";
7
- import K from "../../assets/cover/base-studio.png.mjs";
8
- import Q from "../../assets/cover/base-multimodal.png.mjs";
9
- import { createCardThemeOverrides as W, createPopoverCssVar as X } from "./cssVar.mjs";
10
- import { DEFAULT_PRODUCT_INTRODUCTION_PROPS as Y } from "./constants.mjs";
11
- const Z = { class: "header" }, oo = { class: "content-wrap" }, eo = { class: "content-item-header" }, to = { class: "icon" }, no = { class: "title" }, io = { class: "description" }, ro = {
12
- key: 0,
13
- class: "content-child-wrap"
14
- }, so = ["src"], lo = { class: "to-use" }, co = { class: "boden-product-introduction-panel-mask" }, yo = /* @__PURE__ */ V({
15
- __name: "index",
16
- props: /* @__PURE__ */ z({
17
- x: {},
18
- y: {}
19
- }, Y),
20
- setup(f) {
21
- const I = H(), { t: o } = G(), c = h(null), n = h(!1), s = v(() => {
22
- const {
23
- name: d = "light"
24
- } = I?.mergedThemeRef.value || {};
25
- return d !== "light";
26
- }), C = [
27
- {
28
- key: "base1",
29
- title: o("boden.productIntroduction.BasePlatform"),
30
- description: o("boden.productIntroduction.BasePlatformDescription"),
31
- icon: `logo-base${s.value ? "-dark" : ""}`,
32
- children: [
33
- {
34
- key: "base1-1",
35
- title: o("boden.productIntroduction.AdsPlatform"),
36
- description: o("boden.productIntroduction.AdsPlatformDescription"),
37
- icon: J
38
- },
39
- {
40
- key: "base1-2",
41
- title: o("boden.productIntroduction.StudioPlatform"),
42
- description: o("boden.productIntroduction.StudioPlatformDescription"),
43
- icon: K
44
- },
45
- {
46
- key: "base1-2",
47
- title: o("boden.productIntroduction.MultiModalPlatform"),
48
- description: o("boden.productIntroduction.MultiModalPlatformDescription"),
49
- icon: Q
50
- }
51
- ]
52
- },
53
- {
54
- key: "base2",
55
- title: o("boden.productIntroduction.BlinkPlatform"),
56
- description: o("boden.productIntroduction.BasePlatformDescription"),
57
- icon: `logo-blink${s.value ? "-dark" : ""}`
58
- },
59
- {
60
- key: "base3",
61
- title: o("boden.productIntroduction.BcollectionPlatform"),
62
- description: o("boden.productIntroduction.BcollectionPlatformDescription"),
63
- icon: `logo-bcollection${s.value ? "-dark" : ""}`
64
- }
65
- ], B = v(() => W(s.value)), w = v(() => X(s.value)), D = () => {
66
- n.value = !n.value;
67
- }, N = (d) => {
68
- c.value && c.value.instRef && c.value.instRef.contains(d.target) || (n.value = !1);
69
- };
70
- return (d, i) => {
71
- const _ = A("svg-icon"), x = O, R = M, S = T;
72
- return r(), u("div", null, [
73
- l(q, {
74
- ref_key: "triggerInstRef",
75
- ref: c,
76
- active: n.value,
77
- onClick: k(D, ["stop"])
78
- }, null, 8, ["active"]),
79
- l(S, {
80
- "content-class": "boden-product-introduction-panel-popover",
81
- trigger: "manual",
82
- show: n.value,
83
- "onUpdate:show": i[2] || (i[2] = (t) => n.value = t),
84
- style: L(w.value),
85
- "show-arrow": !1,
86
- width: 1058,
87
- scrollable: "",
88
- x: f.x,
89
- y: f.y,
90
- "theme-overrides": { padding: "0", space: "0", borderRadius: "3px" },
91
- onClickoutside: N
92
- }, {
93
- default: p(() => [
94
- e("div", {
95
- class: "boden-product-introduction-panel",
96
- onClick: i[1] || (i[1] = k(() => {
97
- }, ["stop"]))
98
- }, [
99
- e("div", Z, [
100
- e("div", null, m(U(o)("boden.productIntroduction.allProducts")), 1),
101
- l(_, {
102
- icon: "operate-close",
103
- size: "16",
104
- onClick: i[0] || (i[0] = (t) => n.value = !1)
105
- })
106
- ]),
107
- e("div", oo, [
108
- (r(), u(y, null, g(C, (t) => e("div", {
109
- key: t.key,
110
- class: "content-item"
111
- }, [
112
- e("div", eo, [
113
- e("div", to, [
114
- l(_, {
115
- icon: t.icon,
116
- size: "32"
117
- }, null, 8, ["icon"])
118
- ]),
119
- e("div", no, m(t.title), 1),
120
- e("div", io, m(t.description), 1)
121
- ]),
122
- t.children && t.children.length ? (r(), u("div", ro, [
123
- (r(!0), u(y, null, g(t.children, (a) => (r(), b(R, {
124
- key: a.key,
125
- title: a.title,
126
- "theme-overrides": B.value
127
- }, {
128
- cover: p(() => [
129
- e("img", {
130
- src: a.icon,
131
- alt: ""
132
- }, null, 8, so)
133
- ]),
134
- default: p(() => [
135
- P(" " + m(a.description) + " ", 1),
136
- e("div", lo, [
137
- l(x, {
138
- round: "",
139
- size: "tiny",
140
- type: "primary"
141
- }, {
142
- default: p(() => [...i[3] || (i[3] = [
143
- P("开始使用", -1)
144
- ])]),
145
- _: 1
146
- })
147
- ])
148
- ]),
149
- _: 2
150
- }, 1032, ["title", "theme-overrides"]))), 128))
151
- ])) : $("", !0)
152
- ])), 64))
153
- ])
154
- ])
155
- ]),
156
- _: 1
157
- }, 8, ["show", "style", "x", "y"]),
158
- (r(), b(E, { to: "body" }, [
159
- F(e("div", co, null, 512), [
160
- [j, n.value]
161
- ])
162
- ]))
163
- ]);
164
- };
165
- }
166
- });
167
- export {
168
- yo as default
169
- };
@@ -1,5 +0,0 @@
1
- import { PopoverProps } from 'naive-ui';
2
- export type ProductIntroductionProps = {
3
- x?: PopoverProps['x'];
4
- y?: PopoverProps['y'];
5
- };
@@ -1,26 +0,0 @@
1
- import { ref as s } from "vue";
2
- function r(t = !1) {
3
- const o = s(t);
4
- function e(l) {
5
- o.value = l;
6
- }
7
- function n() {
8
- e(!0);
9
- }
10
- function u() {
11
- e(!1);
12
- }
13
- function f() {
14
- e(!o.value);
15
- }
16
- return {
17
- bool: o,
18
- setBool: e,
19
- setTrue: n,
20
- setFalse: u,
21
- toggle: f
22
- };
23
- }
24
- export {
25
- r as default
26
- };
@@ -1,30 +0,0 @@
1
- import { inject as i, provide as s } from "vue";
2
- function j(n, e) {
3
- const { useProvide: o, useInject: r } = f(n);
4
- function t(...u) {
5
- const c = e(...u);
6
- return o(c);
7
- }
8
- return {
9
- // 在父组件注册provide
10
- setupStore: t,
11
- // 在子组件使用
12
- useStore: r
13
- };
14
- }
15
- function f(n) {
16
- const e = Symbol(n);
17
- function o(t) {
18
- return s(e, t), t;
19
- }
20
- function r() {
21
- return i(e);
22
- }
23
- return {
24
- useProvide: o,
25
- useInject: r
26
- };
27
- }
28
- export {
29
- j as default
30
- };
@@ -1,34 +0,0 @@
1
- import { MenuOption } from 'naive-ui';
2
- import { BaseDefaultLayoutProps, BaseMenuOptionType } from '../components/BaseLayout/Default/type';
3
- export declare function useMenu(layoutConfig: BaseDefaultLayoutProps): {
4
- selectedKey: import('vue').ComputedRef<string>;
5
- renderIcon: (optionsOption: MenuOption) => string | number | boolean | void | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
6
- [key: string]: any;
7
- }> | import('vue').VNodeArrayChildren | null;
8
- };
9
- export declare function useMixMenu(layoutConfig: BaseDefaultLayoutProps): {
10
- allMenus: import('vue').ShallowRef<BaseMenuOptionType[], BaseMenuOptionType[]>;
11
- firstLevelMenus: import('vue').ComputedRef<BaseMenuOptionType[]>;
12
- childLevelMenus: import('vue').ComputedRef<BaseMenuOptionType[]>;
13
- isActiveFirstLevelMenuHasChildren: import('vue').ComputedRef<boolean>;
14
- activeFirstLevelMenuKey: import('vue').Ref<string, string>;
15
- setActiveFirstLevelMenuKey: (key: string) => void;
16
- getActiveFirstLevelMenuKey: () => void;
17
- };
18
- export declare const setupMixMenuContext: (layoutConfig: BaseDefaultLayoutProps) => {
19
- allMenus: import('vue').ShallowRef<BaseMenuOptionType[], BaseMenuOptionType[]>;
20
- firstLevelMenus: import('vue').ComputedRef<BaseMenuOptionType[]>;
21
- childLevelMenus: import('vue').ComputedRef<BaseMenuOptionType[]>;
22
- isActiveFirstLevelMenuHasChildren: import('vue').ComputedRef<boolean>;
23
- activeFirstLevelMenuKey: import('vue').Ref<string, string>;
24
- setActiveFirstLevelMenuKey: (key: string) => void;
25
- getActiveFirstLevelMenuKey: () => void;
26
- }, useMixMenuContext: () => {
27
- allMenus: import('vue').ShallowRef<BaseMenuOptionType[], BaseMenuOptionType[]>;
28
- firstLevelMenus: import('vue').ComputedRef<BaseMenuOptionType[]>;
29
- childLevelMenus: import('vue').ComputedRef<BaseMenuOptionType[]>;
30
- isActiveFirstLevelMenuHasChildren: import('vue').ComputedRef<boolean>;
31
- activeFirstLevelMenuKey: import('vue').Ref<string, string>;
32
- setActiveFirstLevelMenuKey: (key: string) => void;
33
- getActiveFirstLevelMenuKey: () => void;
34
- };
@@ -1,78 +0,0 @@
1
- import { computed as a, ref as d, shallowRef as f, watch as M } from "vue";
2
- import h from "./useContext.mjs";
3
- function L(s) {
4
- const o = a(() => {
5
- const { hideInMenu: t, activeMenu: u } = s.curRoute?.meta, n = s.curRoute?.name;
6
- return (t ? u : n) || n;
7
- }), c = a(() => {
8
- const t = new Set(o.value.split("_"));
9
- t.add(o.value);
10
- const u = Array.from(t), n = [];
11
- for (let r = 0; r < u.length; r++) {
12
- const e = u[r], i = l(s.menuList, e);
13
- i && n.push(i);
14
- }
15
- return n;
16
- }), l = (t, u) => {
17
- for (let n = 0; n < t.length; n++) {
18
- const r = t[n];
19
- if (r.key === u) return r;
20
- const { children: e } = r;
21
- if (!Array.isArray(e)) continue;
22
- const i = l(e, u);
23
- if (i) return i;
24
- }
25
- };
26
- return {
27
- selectedKey: o,
28
- renderIcon: (t) => {
29
- const u = c.value.map((e) => e.key).indexOf(t.key);
30
- if (u < 0) {
31
- const { icon: e } = t;
32
- return e ? e() : void 0;
33
- }
34
- const { activeIcon: n, icon: r } = c.value[u];
35
- return n ? n() : r ? r() : void 0;
36
- }
37
- };
38
- }
39
- function p(s) {
40
- const { selectedKey: o } = L(s), c = d("");
41
- function l(e) {
42
- c.value = e;
43
- }
44
- function m() {
45
- const [e] = o.value.split("_");
46
- l(e);
47
- }
48
- const t = f(s.menuList), u = a(
49
- () => s.menuList.map((e) => {
50
- const { children: i, ...v } = e;
51
- return v;
52
- })
53
- ), n = a(
54
- () => s.menuList.find((e) => e.key === c.value)?.children || []
55
- ), r = a(() => c.value ? !!t.value.find((i) => i.key === c.value)?.children?.length : !1);
56
- return M(
57
- () => s.curRoute?.name,
58
- () => {
59
- m();
60
- },
61
- { immediate: !0 }
62
- ), {
63
- allMenus: t,
64
- firstLevelMenus: u,
65
- childLevelMenus: n,
66
- isActiveFirstLevelMenuHasChildren: r,
67
- activeFirstLevelMenuKey: c,
68
- setActiveFirstLevelMenuKey: l,
69
- getActiveFirstLevelMenuKey: m
70
- };
71
- }
72
- const { setupStore: y, useStore: A } = h("mix-menu", p);
73
- export {
74
- y as setupMixMenuContext,
75
- L as useMenu,
76
- p as useMixMenu,
77
- A as useMixMenuContext
78
- };
@@ -1,43 +0,0 @@
1
- import { makeDestructurable as p, camelize as f } from "../../../../@vueuse_shared@13.0.0_vue@3.5.22_typescript@5.7.2_/node_modules/@vueuse/shared/index.mjs";
2
- import { shallowRef as d, defineComponent as i } from "vue";
3
- function h(r = {}) {
4
- const {
5
- inheritAttrs: t = !0
6
- } = r, e = d(), l = /* @__PURE__ */ i({
7
- setup(s, { slots: o }) {
8
- return () => {
9
- e.value = o.default;
10
- };
11
- }
12
- }), u = /* @__PURE__ */ i({
13
- inheritAttrs: t,
14
- props: r.props,
15
- setup(s, { attrs: o, slots: c }) {
16
- return () => {
17
- var a;
18
- if (!e.value && process.env.NODE_ENV !== "production")
19
- throw new Error("[VueUse] Failed to find the definition of reusable template");
20
- const n = (a = e.value) == null ? void 0 : a.call(e, {
21
- ...r.props == null ? m(o) : s,
22
- $slots: c
23
- });
24
- return t && n?.length === 1 ? n[0] : n;
25
- };
26
- }
27
- });
28
- return p(
29
- { define: l, reuse: u },
30
- [l, u]
31
- );
32
- }
33
- function m(r) {
34
- const t = {};
35
- for (const e in r)
36
- t[f(e)] = r[e];
37
- return t;
38
- }
39
- export {
40
- f as camelize,
41
- h as createReusableTemplate,
42
- p as makeDestructurable
43
- };
@@ -1,29 +0,0 @@
1
- import "vue";
2
- function i(t, n) {
3
- if (typeof Symbol < "u") {
4
- const e = { ...t };
5
- return Object.defineProperty(e, Symbol.iterator, {
6
- enumerable: !1,
7
- value() {
8
- let o = 0;
9
- return {
10
- next: () => ({
11
- value: n[o++],
12
- done: o > n.length
13
- })
14
- };
15
- }
16
- }), e;
17
- } else
18
- return Object.assign([...n], t);
19
- }
20
- typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
21
- function c(t) {
22
- const n = /* @__PURE__ */ Object.create(null);
23
- return (e) => n[e] || (n[e] = t(e));
24
- }
25
- const r = /-(\w)/g, a = c((t) => t.replace(r, (n, e) => e ? e.toUpperCase() : ""));
26
- export {
27
- a as camelize,
28
- i as makeDestructurable
29
- };
@@ -1,23 +0,0 @@
1
- import { BaseLayoutASidePropsType } from './type';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- header?(_: {}): any;
6
- default?(_: {}): any;
7
- default?(_: {}): any;
8
- footer?(_: {}): any;
9
- };
10
- refs: {};
11
- rootEl: HTMLElement;
12
- };
13
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<BaseLayoutASidePropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BaseLayoutASidePropsType> & Readonly<{}>, {
15
- contentScrollable: boolean;
16
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
17
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
18
- export default _default;
19
- type __VLS_WithTemplateSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
22
- };
23
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-c445f597"]]);exports.default=u;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("naive-ui"),e=require("vue"),d=require("../../../hooks/useNaiveConfigProvideContext.js"),u=e.defineComponent({__name:"index",props:{logoClass:{},logoStyle:{},contentClass:{},contentStyle:{},contentScrollable:{type:Boolean,default:!0},footerClass:{},footerStyle:{}},setup(t){const{mergedThemeOverridesRef:a}=d.default(),o=e.shallowRef({}),s=e.shallowRef({}),r=e.shallowRef({});return e.watch(()=>a?.value?.Layout,l=>{l&&(o.value={"--n-color":l.siderColor||void 0})},{immediate:!0}),(l,c)=>{const n=i.NScrollbar;return e.openBlock(),e.createElementBlock("aside",e.mergeProps({class:"h-full w-full flex-col-stretch base-layout-aside",style:o.value},l.$attrs),[e.createElementVNode("div",{class:e.normalizeClass(["base-layout-aside-logo-wrap",t.logoClass]),style:e.normalizeStyle([s.value,t.logoStyle])},[e.renderSlot(l.$slots,"header",{},void 0,!0)],6),e.createElementVNode("div",{class:e.normalizeClass(["h-full flex-1",t.contentClass]),style:e.normalizeStyle(t.contentStyle)},[t.contentScrollable?(e.openBlock(),e.createBlock(n,{key:0},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},void 0,!0)]),_:3})):e.renderSlot(l.$slots,"default",{key:1},void 0,!0)],6),e.createElementVNode("div",{class:e.normalizeClass(["base-layout-aside-footer",t.footerClass]),style:e.normalizeStyle([r.value,t.footerStyle])},[e.renderSlot(l.$slots,"footer",{},void 0,!0)],6)],16)}}});exports.default=u;
@@ -1,10 +0,0 @@
1
- import { CSSProperties } from 'vue';
2
- export type BaseLayoutASidePropsType = {
3
- logoClass?: string;
4
- logoStyle?: CSSProperties | string;
5
- contentClass?: string;
6
- contentStyle?: CSSProperties | string;
7
- contentScrollable?: boolean;
8
- footerClass?: string;
9
- footerStyle?: CSSProperties | string;
10
- };
@@ -1,4 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<Partial<import('naive-ui/es/menu/src/Menu').MenuSetupProps>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Partial<import('naive-ui/es/menu/src/Menu').MenuSetupProps>> & Readonly<{}>, {
2
- readonly indent: number;
3
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
4
- export default _default;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-006b6011"]]);exports.default=u;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("naive-ui"),e=require("vue"),l=e.defineComponent({__name:"index",props:{options:{},collapsed:{type:Boolean},collapsedWidth:{},iconSize:{},collapsedIconSize:{},rootIndent:{},indent:{default:32},labelField:{},keyField:{},childrenField:{},disabledField:{},defaultExpandAll:{type:Boolean},defaultExpandedKeys:{},expandedKeys:{},value:{},defaultValue:{},mode:{},watchProps:{},disabled:{type:Boolean},show:{type:Boolean},inverted:{type:Boolean},"onUpdate:expandedKeys":{},onUpdateExpandedKeys:{},onUpdateValue:{},"onUpdate:value":{},expandIcon:{},renderIcon:{},renderLabel:{},renderExtra:{},dropdownProps:{},accordion:{type:Boolean},nodeProps:{},dropdownPlacement:{},responsive:{type:Boolean},items:{},onOpenNamesChange:{},onSelect:{},onExpandedNamesChange:{},expandedNames:{},defaultExpandedNames:{},theme:{},themeOverrides:{},builtinThemeOverrides:{}},setup(o){const n=o,d=e.computed(()=>({"--n-side-menu-bar":`-${n.indent/2}px`,"--n-side-menu-indent":`${n.indent}px`}));return(s,p)=>{const a=t.NMenu;return e.openBlock(),e.createBlock(a,e.mergeProps(n,{class:"base-aside-menu",style:d.value}),null,16,["style"])}}});exports.default=l;
@@ -1,5 +0,0 @@
1
- export { LAYOUT_SCROLL_EL_ID } from '../constants';
2
- export declare const DARK_CLASS = "dark";
3
- export declare const LAYOUT_HEADER_MENU_ID = "__BASE__DEFAULT__LAYOUT__HEADER_MENU__";
4
- export declare const LAYOUT_SLIDER_HEADER_ID = "__BASE__DEFAULT__LAYOUT__SLIDER_HEADER__";
5
- export declare const LAYOUT_SLIDER_MENU_ID = "__BASE__DEFAULT__LAYOUT__SLIDER_MENU__";
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _="__BASE__DEFAULT__LAYOUT__HEADER_MENU__",E="__BASE__DEFAULT__LAYOUT__SLIDER_MENU__";exports.LAYOUT_HEADER_MENU_ID=_;exports.LAYOUT_SLIDER_MENU_ID=E;
@@ -1,3 +0,0 @@
1
- import { BaseLayoutProviderType } from '../type';
2
- declare function useBaseLayoutContext(): BaseLayoutProviderType;
3
- export default useBaseLayoutContext;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("vue"),e=require("../options.js");function o(){return t.inject(e.defaultLayoutProviderInjectKey,{layoutConfig:e.DefaultLayoutPropsInDefault,userInfo:e.DefaultLayoutPropsInDefault.userInfo})}exports.default=o;
@@ -1,5 +0,0 @@
1
- export declare function useLogoHook(): {
2
- setIsUseIcon: (value: boolean) => void;
3
- LogoLightFull: any;
4
- currentLogoComponent: import('vue').ComputedRef<any>;
5
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("vue"),l=require("../../../../hooks/useBoolean.js"),n=require("./useBaseLayoutContext.js"),e=require("../../../../assets/logo/logo-light-full.svg.js"),a=require("../../../../assets/logo/logo-dark-full.svg.js");function c(){const{isDarkMode:o}=n.default(),{bool:t,setBool:u}=l.default(!1),r=s.computed(()=>{if(!t.value)return o.value?a.default:e.default});return{setIsUseIcon:u,LogoLightFull:e.default,currentLogoComponent:r}}exports.useLogoHook=c;
@@ -1,72 +0,0 @@
1
- import { MenuOption } from 'naive-ui';
2
- import { BaseDefaultLayoutProps, BaseDefaultLayoutMode } from './type';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- header?(_: {}): any;
7
- default?(_: {}): any;
8
- slider?(_: {}): any;
9
- footer?(_: {}): any;
10
- };
11
- refs: {};
12
- rootEl: HTMLDivElement;
13
- };
14
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
- declare const __VLS_component: import('vue').DefineComponent<BaseDefaultLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- toggleSystemTheme: (...args: any[]) => void;
17
- toggleSystemLang: (...args: any[]) => void;
18
- toggleUserItem: (...args: any[]) => void;
19
- toggleLogo: (...args: any[]) => void;
20
- toggleMenuItem: (...args: any[]) => void;
21
- toggleMixMenuItem: (...args: any[]) => void;
22
- }, string, import('vue').PublicProps, Readonly<BaseDefaultLayoutProps> & Readonly<{
23
- onToggleSystemTheme?: ((...args: any[]) => any) | undefined;
24
- onToggleSystemLang?: ((...args: any[]) => any) | undefined;
25
- onToggleUserItem?: ((...args: any[]) => any) | undefined;
26
- onToggleLogo?: ((...args: any[]) => any) | undefined;
27
- onToggleMenuItem?: ((...args: any[]) => any) | undefined;
28
- onToggleMixMenuItem?: ((...args: any[]) => any) | undefined;
29
- }>, {
30
- contentClass: string;
31
- headerClass: string;
32
- footerClass: string;
33
- tabClass: string;
34
- headerHeight: number;
35
- mode: BaseDefaultLayoutMode;
36
- sliderCollapse: boolean;
37
- sliderClass: string;
38
- tabHeight: number;
39
- sliderWidth: number;
40
- sliderCollapseWidth: number;
41
- footerHeight: number;
42
- scrollMode: import('..').LayoutScrollMode;
43
- scrollElId: string;
44
- scrollWrapperClass: string;
45
- baseClass: string;
46
- fixedTop: boolean;
47
- commonClass: string;
48
- layoutZIndex: number;
49
- headerVisible: boolean;
50
- tabVisible: boolean;
51
- sliderVisible: boolean;
52
- fullContent: boolean;
53
- footerVisible: boolean;
54
- fixedFooter: boolean;
55
- footerIsFullWidth: boolean;
56
- userActionOption: (MenuOption | import('naive-ui').MenuGroupOption | import('naive-ui').MenuDividerOption | import('naive-ui/es/menu/src/interface').MenuRenderOption)[];
57
- userInfo: import('../../system-actions/interface').UserInfoType;
58
- sliderMixWidth: number;
59
- sliderMixCollapseWidth: number;
60
- sliderMixChildMenuWidth: number;
61
- mixSliderFixed: boolean;
62
- reverseHorizontalMix: boolean;
63
- menuList: import('./type').BaseMenuOptionType[];
64
- curRoute: any;
65
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
66
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
67
- export default _default;
68
- type __VLS_WithTemplateSlots<T, S> = T & {
69
- new (): {
70
- $slots: S;
71
- };
72
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=;/* empty css */;/* empty css */const t=require("../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-8da8ff01"]]);exports.default=u;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),L=require("../index.vue.js"),H=require("./layoutHeader/index.vue.js"),z=require("./layoutSlider/index.vue.js"),f=require("./options.js"),q=require("../../../hooks/useNaiveConfigProvideContext.js"),F=require("../../../hooks/useMenu.js"),T=e.defineComponent({__name:"index",props:e.mergeDefaults({scrollMode:{},scrollElId:{},scrollWrapperClass:{},baseClass:{},fixedTop:{type:Boolean},commonClass:{},layoutZIndex:{},headerVisible:{type:Boolean},headerClass:{},headerHeight:{},tabVisible:{type:Boolean},tabClass:{},tabHeight:{},sliderVisible:{type:Boolean},sliderClass:{},sliderCollapse:{type:Boolean},sliderWidth:{},sliderCollapseWidth:{},contentClass:{},fullContent:{type:Boolean},footerVisible:{type:Boolean},footerClass:{},fixedFooter:{type:Boolean},footerIsFullWidth:{type:Boolean},footerHeight:{},mode:{},curRoute:{},sliderMixWidth:{},sliderMixCollapseWidth:{},sliderMixChildMenuWidth:{},mixSliderFixed:{type:Boolean},menuList:{},reverseHorizontalMix:{type:Boolean},userActionOption:{},userInfo:{}},{...f.DefaultLayoutPropsInDefault,menuList:()=>[],userActionOption:()=>[],userInfo:()=>({name:""})}),emits:["toggleLogo","toggleMenuItem","toggleMixMenuItem","toggleSystemLang","toggleSystemTheme","toggleUserItem"],setup(o,{emit:m}){const v=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./layoutMenu/index.vue.js"))),l=o,s=m,x=q.default(),{childLevelMenus:c}=F.setupMixMenuContext(l),M=e.computed(()=>{const{name:t="light"}=x?.mergedThemeRef.value||{};return t!=="light"}),p=e.computed(()=>{const t="vertical";return l.mode.includes(t)?t:"horizontal"}),C=e.computed(()=>l.mode!=="horizontal"),d=e.computed(()=>l.mode==="horizontal-mix"),n=e.computed(()=>l.mode==="vertical-mix"),b=()=>{const{reverseHorizontalMix:t}=l,{sliderCollapseWidth:i,sliderMixCollapseWidth:a,sliderMixChildMenuWidth:u}=l;if(d.value&&t)return i;let r=n.value||d.value?a:i;return n.value&&l.mixSliderFixed&&c.value.length&&(r+=u),r},h=e.computed(()=>b());function y(){const{reverseHorizontalMix:t}=l,{sliderWidth:i,sliderMixChildMenuWidth:a,sliderMixWidth:u}=l;if(d.value&&t)return i;let r=n.value||d.value?u:i;return n.value&&l.mixSliderFixed&&c.value.length&&(r+=a),r}const g=e.computed(()=>y()),I=()=>{s("toggleLogo")},W=(t,i)=>{s("toggleMenuItem",t,i)},S=(t,i)=>{s("toggleMixMenuItem",t,i)},B=t=>{s("toggleSystemTheme",t)},w=()=>{s("toggleSystemLang")},V=(t,i)=>{s("toggleUserItem",t,i)};return e.provide(f.defaultLayoutProviderInjectKey,{layoutConfig:l,isDarkMode:M,userActionOption:l.userActionOption,userInfo:l.userInfo,_sliderCollapseWidth:h,_sliderWidth:g,toggleLogo:I,toggleMenuItem:W,toggleMixMenuItem:S,toggleSystemLang:w,toggleSystemTheme:B,toggleUserItem:V}),(t,i)=>(e.openBlock(),e.createBlock(L.default,{mode:p.value,"scroll-mode":o.scrollMode,"scroll-el-id":o.scrollElId,"fixed-top":o.fixedTop,"header-visible":o.headerVisible,"header-height":o.headerHeight,"tab-visible":o.tabVisible,"tab-height":o.tabHeight,"slider-visible":C.value,"slider-class":o.sliderClass,"slider-collapse":o.sliderCollapse,"slider-width":g.value,"slider-collapse-width":h.value,"footer-visible":o.footerVisible,"fixed-footer":o.fixedFooter,"footer-is-full-width":o.footerIsFullWidth,"footer-height":o.footerHeight},{header:e.withCtx(()=>[e.renderSlot(t.$slots,"header",{},()=>[e.createVNode(H.default)],!0)]),slider:e.withCtx(()=>[e.renderSlot(t.$slots,"slider",{},()=>[e.createVNode(z.default)],!0)]),footer:e.withCtx(()=>[e.renderSlot(t.$slots,"footer",{},void 0,!0)]),default:e.withCtx(()=>[e.renderSlot(t.$slots,"default",{},void 0,!0),e.createVNode(e.unref(v))]),_:3},8,["mode","scroll-mode","scroll-el-id","fixed-top","header-visible","header-height","tab-visible","tab-height","slider-visible","slider-class","slider-collapse","slider-width","slider-collapse-width","footer-visible","fixed-footer","footer-is-full-width","footer-height"]))}});exports.default=T;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue"),i=require("../../Header/index.vue.js"),a=require("./title.vue.js"),c=require("../constants.js"),d=require("../../../system-actions/index.vue.js"),f=require("../hooks/useBaseLayoutContext.js"),g=["id"],m=e.defineComponent({name:"GlobalHeader",__name:"index",setup(_){const{layoutConfig:t,userActionOption:o,userInfo:n,toggleSystemTheme:r,toggleSystemLang:u,toggleUserItem:l}=f.default(),s=e.computed(()=>!(t.mode.indexOf("vertical")>-1));return(h,p)=>(e.openBlock(),e.createBlock(i.default,null,{headerTitle:e.withCtx(()=>[s.value?(e.openBlock(),e.createBlock(a.default,{key:0})):e.createCommentVNode("",!0)]),headerActions:e.withCtx(()=>[e.createVNode(d.default,{mode:"horizontal",userActionOption:e.unref(o),userInfo:e.unref(n),onToggleSystemTheme:e.unref(r),onToggleSystemLang:e.unref(u),onToggleUserItem:e.unref(l)},null,8,["userActionOption","userInfo","onToggleSystemTheme","onToggleSystemLang","onToggleUserItem"])]),default:e.withCtx(()=>[e.createElementVNode("div",{id:e.unref(c.LAYOUT_HEADER_MENU_ID),class:"h-full flex-y-center flex-1-hidden pl-[16px]"},null,8,g)]),_:1}))}});exports.default=m;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./index.vue.js");exports.default=e.default;
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
- export default _default;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./title.vue2.js");;/* empty css */const t=require("../../../../_virtual/_plugin-vue_export-helper.js"),u=t.default(e.default,[["__scopeId","data-v-40734b02"]]);exports.default=u;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("naive-ui"),e=require("vue"),l=require("../../../product-introduction/index.vue.js"),u=require("../hooks/useBaseLayoutContext.js"),a=require("../hooks/useLogo.js"),i={class:"base-layout-header-title-container"},s=e.defineComponent({name:"GlobalHeaderTitle",__name:"title",setup(d){const{layoutConfig:t,toggleLogo:n}=u.default(),{currentLogoComponent:o}=a.useLogoHook();return(_,m)=>{const r=c.NDivider;return e.openBlock(),e.createElementBlock("div",i,[e.createVNode(l.default,{y:e.unref(t).headerHeight},null,8,["y"]),e.createVNode(r,{vertical:""}),e.unref(o)?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o)),{key:0,class:"component-logo",onClick:e.unref(n)},null,8,["onClick"])):e.createCommentVNode("",!0)])}}});exports.default=s;