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,43 +1,52 @@
1
- import { NDivider as m } from "naive-ui";
2
- import { defineComponent as h, computed as n, createElementBlock as a, createCommentVNode as t, openBlock as r, createBlock as f, Fragment as g, createVNode as d, createSlots as p, withCtx as v, renderSlot as k } from "vue";
3
- import y from "../product-introduction/index.vue.mjs";
4
- import S from "../logo/index.vue.mjs";
5
- import w from "../../hooks/useNaiveConfigProvideContext.mjs";
6
- const B = {
1
+ import { NDivider as h } from "naive-ui";
2
+ import { defineComponent as v, computed as a, createElementBlock as d, createCommentVNode as t, openBlock as r, createBlock as k, Fragment as C, createVNode as g, unref as P, createSlots as y, withCtx as D, renderSlot as S } from "vue";
3
+ import b from "../platform-navigation/index.vue.mjs";
4
+ import w from "../logo/index.vue.mjs";
5
+ import B from "../../hooks/useNaiveConfigProvideContext.mjs";
6
+ const L = {
7
7
  key: 0,
8
8
  class: "boden-global-header-title-container"
9
- }, b = /* @__PURE__ */ h({
9
+ }, H = /* @__PURE__ */ v({
10
10
  __name: "title",
11
11
  props: {
12
12
  headerHeight: {},
13
13
  isShowProductIntroduction: { type: Boolean, default: !0 },
14
- isShowLogo: { type: Boolean, default: !0 }
14
+ isShowLogo: { type: Boolean, default: !0 },
15
+ productIntroductionTriggerDisabled: { type: Boolean, default: !1 },
16
+ platformCode: { default: () => [] }
15
17
  },
16
- setup(e) {
17
- const i = e, c = w(), s = n(() => {
18
- const { name: o = "light" } = c?.mergedThemeRef.value || {};
19
- return o !== "light";
20
- }), l = n(
18
+ emits: ["toggleLogo", "togglePlatform"],
19
+ setup(o, { emit: s }) {
20
+ const i = o, l = s, m = B(), c = a(() => {
21
+ const { name: e = "light" } = m?.mergedThemeRef.value || {};
22
+ return e !== "light";
23
+ }), u = a(
21
24
  () => i.isShowLogo || i.isShowProductIntroduction
22
- );
23
- return (o, C) => {
24
- const u = m;
25
- return l.value ? (r(), a("div", B, [
26
- e.isShowProductIntroduction ? (r(), a(g, { key: 0 }, [
27
- d(y, {
28
- y: e.headerHeight,
29
- class: "pl-[20px]"
30
- }, null, 8, ["y"]),
31
- d(u, { vertical: "" })
25
+ ), f = (e) => {
26
+ l("togglePlatform", e);
27
+ };
28
+ return (e, n) => {
29
+ const p = h;
30
+ return u.value ? (r(), d("div", L, [
31
+ o.isShowProductIntroduction ? (r(), d(C, { key: 0 }, [
32
+ g(P(b), {
33
+ class: "pl-[20px]",
34
+ y: o.headerHeight,
35
+ platformCode: o.platformCode,
36
+ triggerDisabled: o.productIntroductionTriggerDisabled,
37
+ onTogglePlatform: f
38
+ }, null, 8, ["y", "platformCode", "triggerDisabled"]),
39
+ g(p, { vertical: "" })
32
40
  ], 64)) : t("", !0),
33
- e.isShowLogo ? (r(), f(S, {
41
+ o.isShowLogo ? (r(), k(w, {
34
42
  key: 1,
35
- isDarkMode: s.value
36
- }, p({ _: 2 }, [
37
- o.$slots.logo ? {
43
+ isDarkMode: c.value,
44
+ onToggleLogo: n[0] || (n[0] = (N) => l("toggleLogo"))
45
+ }, y({ _: 2 }, [
46
+ e.$slots.logo ? {
38
47
  name: "default",
39
- fn: v(() => [
40
- k(o.$slots, "logo", {}, void 0, !0)
48
+ fn: D(() => [
49
+ S(e.$slots, "logo", {}, void 0, !0)
41
50
  ]),
42
51
  key: "0"
43
52
  } : void 0
@@ -47,5 +56,5 @@ const B = {
47
56
  }
48
57
  });
49
58
  export {
50
- b as default
59
+ H as default
51
60
  };
@@ -5,13 +5,12 @@ export * from './config-provider';
5
5
  export * from './data-table';
6
6
  export * from './dialog';
7
7
  export * from './input-number';
8
- export * from './BaseLayout';
9
8
  export * from './global-header';
10
9
  export * from './layout';
11
10
  export * from './logo';
12
11
  export * from './nav-icon';
13
12
  export * from './radio';
14
- export * from './product-introduction';
13
+ export * from './platform-navigation';
15
14
  export { default as BodenProgress } from './progress';
16
15
  export * from './select';
17
16
  export * from './slider';
@@ -1,7 +1,7 @@
1
1
  import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
- import a from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const m = /* @__PURE__ */ a(o, [["__scopeId", "data-v-13f95baf"]]);
3
+ import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-b2c44205"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,37 +1,39 @@
1
- import { defineComponent as p, ref as v, computed as r, createElementBlock as t, openBlock as n, normalizeStyle as g, normalizeClass as k, Fragment as C, renderList as y } from "vue";
2
- import _ from "../../hooks/useNaiveConfigProvideContext.mjs";
3
- import { getNavIconStyleCssVar as h } from "./cssVar.mjs";
4
- const z = /* @__PURE__ */ p({
1
+ import { defineComponent as v, ref as g, computed as s, createElementBlock as n, openBlock as o, normalizeStyle as k, normalizeClass as y, Fragment as C, renderList as b } from "vue";
2
+ import h from "../../hooks/useNaiveConfigProvideContext.mjs";
3
+ import { getNavIconStyleCssVar as x } from "./cssVar.mjs";
4
+ const z = /* @__PURE__ */ v({
5
5
  __name: "index",
6
6
  props: {
7
- active: { type: Boolean, default: !1 }
7
+ active: { type: Boolean, default: !1 },
8
+ disabled: { type: Boolean }
8
9
  },
9
10
  emits: ["click"],
10
- setup(s, { expose: i, emit: l }) {
11
- const a = l, o = v(null), c = _(), m = r(() => {
11
+ setup(t, { expose: l, emit: r }) {
12
+ const a = t, c = r, i = g(null), d = h(), m = s(() => {
12
13
  const {
13
14
  name: e = "light"
14
- } = c?.mergedThemeRef.value || {};
15
+ } = d?.mergedThemeRef.value || {};
15
16
  return e !== "light";
16
- }), f = r(() => h(m.value)), u = (e) => {
17
- a("click", e);
17
+ }), f = s(() => x(m.value)), u = (e) => {
18
+ a.disabled || c("click", e);
18
19
  };
19
- return i({
20
- instRef: o
21
- }), (e, x) => (n(), t("div", {
20
+ return l({
21
+ instRef: i
22
+ }), (e, B) => (o(), n("div", {
22
23
  ref_key: "instRef",
23
- ref: o,
24
- class: k([
24
+ ref: i,
25
+ class: y([
25
26
  "boden-nav-icon",
26
27
  {
27
- "is-toggle": s.active
28
+ "is-toggle": t.active,
29
+ "is-disabled": t.disabled
28
30
  }
29
31
  ]),
30
- style: g(f.value),
32
+ style: k(f.value),
31
33
  onClick: u
32
34
  }, [
33
- (n(!0), t(C, null, y(Array(3), (B, d) => (n(), t("span", {
34
- key: d,
35
+ (o(!0), n(C, null, b(Array(3), (_, p) => (o(), n("span", {
36
+ key: p,
35
37
  class: "line"
36
38
  }))), 128))
37
39
  ], 6));
@@ -1,3 +1,4 @@
1
1
  export type BodenNavIconProps = {
2
2
  active?: boolean;
3
+ disabled?: boolean;
3
4
  };
@@ -0,0 +1,2 @@
1
+ export { default as BodenPlatformNavigation } from './index.vue';
2
+ export type { BodenPlatformNavigationProps } from './interface';
@@ -1,7 +1,13 @@
1
- import { ProductIntroductionProps } from './types';
2
- declare const _default: import('vue').DefineComponent<ProductIntroductionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ProductIntroductionProps> & Readonly<{}>, {
1
+ import { BodenPlatformNavigationProps, PLATFORM_ENUM } from './interface';
2
+ declare const _default: import('vue').DefineComponent<BodenPlatformNavigationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ togglePlatform: (...args: any[]) => void;
4
+ }, string, import('vue').PublicProps, Readonly<BodenPlatformNavigationProps> & Readonly<{
5
+ onTogglePlatform?: ((...args: any[]) => any) | undefined;
6
+ }>, {
3
7
  x: number;
4
8
  y: number;
9
+ platformCode: PLATFORM_ENUM[];
10
+ triggerDisabled: boolean;
5
11
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
6
12
  triggerInstRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').BodenNavIconProps> & Readonly<{
7
13
  onClick?: ((...args: any[]) => any) | undefined;
@@ -2,7 +2,7 @@ import o from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import t from "../../_virtual/_plugin-vue_export-helper.mjs";
5
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4d740412"]]);
5
+ const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5775127f"]]);
6
6
  export {
7
- c as default
7
+ i as default
8
8
  };
@@ -0,0 +1,194 @@
1
+ import { NPopover as z, NCard as E, NButton as $ } from "naive-ui";
2
+ import { defineComponent as F, ref as h, computed as v, resolveComponent as U, createElementBlock as c, openBlock as r, createVNode as a, createBlock as y, withModifiers as _, normalizeStyle as K, withCtx as m, createElementVNode as t, toDisplayString as p, unref as j, Fragment as I, renderList as P, createCommentVNode as C, createTextVNode as S, Teleport as q, withDirectives as G, vShow as H } from "vue";
3
+ import J from "../nav-icon/index.vue.mjs";
4
+ import { useLocale as Q } from "../../hooks/useLocale.mjs";
5
+ import W from "../../hooks/useNaiveConfigProvideContext.mjs";
6
+ import X from "../../assets/cover/base-ads.png.mjs";
7
+ import Y from "../../assets/cover/base-studio.png.mjs";
8
+ import Z from "../../assets/cover/base-multimodal.png.mjs";
9
+ import ee from "../../assets/cover/source-robot.png.mjs";
10
+ import { createCardThemeOverrides as oe, createPopoverCssVar as te } from "./cssVar.mjs";
11
+ import { PLATFORM_ENUM as f } from "./interface.mjs";
12
+ const ne = { class: "header" }, ie = { class: "platform-wrap" }, re = { class: "platform-item-header" }, se = { class: "icon" }, de = ["onClick"], le = { class: "description" }, ce = {
13
+ key: 0,
14
+ class: "platform-child-wrap"
15
+ }, ae = ["src"], ue = {
16
+ key: 0,
17
+ class: "to-use"
18
+ }, me = { class: "boden-platform-navigation-panel-mask" }, Se = /* @__PURE__ */ F({
19
+ __name: "index",
20
+ props: {
21
+ platformCode: { default: () => [] },
22
+ triggerDisabled: { type: Boolean, default: !1 },
23
+ x: { default: 0 },
24
+ y: { default: 0 }
25
+ },
26
+ emits: ["togglePlatform"],
27
+ setup(l, { emit: B }) {
28
+ const w = l, D = B, N = W(), { t: e } = Q(), u = h(null), n = h(!1), g = v(() => {
29
+ const {
30
+ name: s = "light"
31
+ } = N?.mergedThemeRef.value || {};
32
+ return s !== "light";
33
+ }), x = [
34
+ {
35
+ id: f.BASE,
36
+ key: "base",
37
+ title: e("boden.productIntroduction.BasePlatform"),
38
+ description: e("boden.productIntroduction.BasePlatformDescription"),
39
+ svgIcon: "logo-base",
40
+ children: [
41
+ {
42
+ key: "ads",
43
+ title: e("boden.productIntroduction.AdsPlatform"),
44
+ description: e("boden.productIntroduction.AdsPlatformDescription"),
45
+ imageSrc: X
46
+ },
47
+ {
48
+ key: "studio",
49
+ title: e("boden.productIntroduction.StudioPlatform"),
50
+ description: e("boden.productIntroduction.StudioPlatformDescription"),
51
+ imageSrc: Y
52
+ },
53
+ {
54
+ key: "omni",
55
+ title: e("boden.productIntroduction.OmniPlatform"),
56
+ description: e("boden.productIntroduction.OmniPlatformDescription"),
57
+ imageSrc: Z
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ id: f.BLINK,
63
+ key: "blink",
64
+ title: e("boden.productIntroduction.BlinkPlatform"),
65
+ description: e("boden.productIntroduction.BlinkPlatformDescription"),
66
+ svgIcon: "logo-base"
67
+ },
68
+ {
69
+ id: f.VLA,
70
+ key: "source",
71
+ title: e("boden.productIntroduction.SourcePlatform"),
72
+ description: e("boden.productIntroduction.SourcePlatformDescription"),
73
+ svgIcon: "logo-base",
74
+ children: [
75
+ {
76
+ key: "robot",
77
+ title: e("boden.productIntroduction.RobotPlatform"),
78
+ description: e("boden.productIntroduction.RobotPlatformDescription"),
79
+ imageSrc: ee
80
+ }
81
+ ]
82
+ }
83
+ ], R = v(() => oe(g.value)), A = v(() => te(g.value)), L = () => {
84
+ w.triggerDisabled || (n.value = !n.value);
85
+ }, b = (s) => {
86
+ D("togglePlatform", s);
87
+ }, O = (s) => {
88
+ u.value && u.value.instRef && u.value.instRef.contains(s.target) || (n.value = !1);
89
+ };
90
+ return (s, i) => {
91
+ const k = U("svg-icon"), T = $, V = E, M = z;
92
+ return r(), c("div", null, [
93
+ a(J, {
94
+ ref_key: "triggerInstRef",
95
+ ref: u,
96
+ active: n.value,
97
+ disabled: l.triggerDisabled,
98
+ onClick: _(L, ["stop"])
99
+ }, null, 8, ["active", "disabled"]),
100
+ a(M, {
101
+ "content-class": "boden-platform-navigation-panel-popover",
102
+ trigger: "manual",
103
+ show: n.value,
104
+ "onUpdate:show": i[2] || (i[2] = (o) => n.value = o),
105
+ style: K(A.value),
106
+ "show-arrow": !1,
107
+ width: 1058,
108
+ scrollable: "",
109
+ x: l.x,
110
+ y: l.y,
111
+ "theme-overrides": { padding: "0", space: "0", borderRadius: "3px" },
112
+ onClickoutside: O
113
+ }, {
114
+ default: m(() => [
115
+ t("div", {
116
+ class: "boden-platform-navigation-panel",
117
+ onClick: i[1] || (i[1] = _(() => {
118
+ }, ["stop"]))
119
+ }, [
120
+ t("div", ne, [
121
+ t("div", null, p(j(e)("boden.productIntroduction.allProducts")), 1),
122
+ a(k, {
123
+ icon: "operate-close",
124
+ size: "16",
125
+ onClick: i[0] || (i[0] = (o) => n.value = !1)
126
+ })
127
+ ]),
128
+ t("div", ie, [
129
+ (r(), c(I, null, P(x, (o) => t("div", {
130
+ key: o.key,
131
+ class: "platform-item"
132
+ }, [
133
+ t("div", re, [
134
+ t("div", se, [
135
+ a(k, {
136
+ icon: o.svgIcon,
137
+ size: "32"
138
+ }, null, 8, ["icon"])
139
+ ]),
140
+ t("div", {
141
+ class: "title",
142
+ onClick: (d) => b(o.key)
143
+ }, p(o.title), 9, de),
144
+ t("div", le, p(o.description), 1)
145
+ ]),
146
+ o.children && o.children.length ? (r(), c("div", ce, [
147
+ (r(!0), c(I, null, P(o.children, (d) => (r(), y(V, {
148
+ key: d.key,
149
+ title: d.title,
150
+ "theme-overrides": R.value
151
+ }, {
152
+ cover: m(() => [
153
+ t("img", {
154
+ src: d.imageSrc,
155
+ alt: ""
156
+ }, null, 8, ae)
157
+ ]),
158
+ default: m(() => [
159
+ S(" " + p(d.description) + " ", 1),
160
+ l.platformCode?.includes(o.id) ? (r(), c("div", ue, [
161
+ a(T, {
162
+ round: "",
163
+ size: "tiny",
164
+ type: "primary",
165
+ onClick: (pe) => b(d.key)
166
+ }, {
167
+ default: m(() => [...i[3] || (i[3] = [
168
+ S("开始使用", -1)
169
+ ])]),
170
+ _: 1
171
+ }, 8, ["onClick"])
172
+ ])) : C("", !0)
173
+ ]),
174
+ _: 2
175
+ }, 1032, ["title", "theme-overrides"]))), 128))
176
+ ])) : C("", !0)
177
+ ])), 64))
178
+ ])
179
+ ])
180
+ ]),
181
+ _: 1
182
+ }, 8, ["show", "style", "x", "y"]),
183
+ (r(), y(q, { to: "body" }, [
184
+ G(t("div", me, null, 512), [
185
+ [H, n.value]
186
+ ])
187
+ ]))
188
+ ]);
189
+ };
190
+ }
191
+ });
192
+ export {
193
+ Se as default
194
+ };
@@ -0,0 +1,29 @@
1
+ import { PopoverProps } from 'naive-ui';
2
+ export declare const enum PLATFORM_ENUM {
3
+ BASE = 1,// 标注
4
+ BLINK = 2,// Blink
5
+ ACCOUNT = 3,// 账号管理平台
6
+ VLA = 4
7
+ }
8
+ export type BodenPlatformNavigationProps = {
9
+ platformCode?: PLATFORM_ENUM[];
10
+ triggerDisabled?: boolean;
11
+ x?: PopoverProps['x'];
12
+ y?: PopoverProps['y'];
13
+ };
14
+ export type SubPlatformItem = {
15
+ key: string;
16
+ title: string;
17
+ description: string;
18
+ imageSrc: string;
19
+ href?: string;
20
+ };
21
+ export type PlatformItem = {
22
+ id: PLATFORM_ENUM;
23
+ key: string;
24
+ title: string;
25
+ description: string;
26
+ svgIcon: string;
27
+ href?: string;
28
+ children?: Array<SubPlatformItem>;
29
+ };
@@ -0,0 +1,4 @@
1
+ var B = /* @__PURE__ */ ((r) => (r[r.BASE = 1] = "BASE", r[r.BLINK = 2] = "BLINK", r[r.ACCOUNT = 3] = "ACCOUNT", r[r.VLA = 4] = "VLA", r))(B || {});
2
+ export {
3
+ B as PLATFORM_ENUM
4
+ };
@@ -0,0 +1,2 @@
1
+ import { DataTableProps } from 'naive-ui';
2
+ export declare const DataTableThemeCommon: DataTableProps['themeOverrides'];
@@ -0,0 +1,11 @@
1
+ const t = {
2
+ peers: {
3
+ Scrollbar: {
4
+ railInsetHorizontalBottom: "auto 2px 0px 2px",
5
+ railInsetVerticalRight: "2px 0px 2px auto"
6
+ }
7
+ }
8
+ };
9
+ export {
10
+ t as DataTableThemeCommon
11
+ };
@@ -1,6 +1,8 @@
1
1
  import r from "../../color/dark.mjs";
2
2
  import o from "../../token/dark.mjs";
3
- const e = {
3
+ import { DataTableThemeCommon as t } from "./common.mjs";
4
+ const m = {
5
+ ...t,
4
6
  tdColor: o["bg-color-2"],
5
7
  tdColorStriped: o["fill-color-5"],
6
8
  tdTextColor: r["color-gray-10"],
@@ -13,5 +15,5 @@ const e = {
13
15
  // borderRadius: commonBase['borderRadiusMedium']
14
16
  };
15
17
  export {
16
- e as DataTableThemeDark
18
+ m as DataTableThemeDark
17
19
  };
@@ -1,6 +1,8 @@
1
1
  import o from "../../color/light.mjs";
2
2
  import r from "../../token/light.mjs";
3
- const e = {
3
+ import { DataTableThemeCommon as t } from "./common.mjs";
4
+ const g = {
5
+ ...t,
4
6
  tdColor: r["bg-color-2"],
5
7
  tdColorStriped: o["color-gray-1"],
6
8
  tdTextColor: o["color-gray-10"],
@@ -13,5 +15,5 @@ const e = {
13
15
  // borderRadius: commonBase['borderRadiusMedium']
14
16
  };
15
17
  export {
16
- e as DataTableThemeLight
18
+ g as DataTableThemeLight
17
19
  };