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,51 +1,68 @@
1
- import { defineComponent as a, createVNode as l, mergeProps as n, ref as d, computed as i } from "vue";
2
- import { NDataTable as c } from "naive-ui";
3
- import { bodenDataTableProps as f } from "./interface.mjs";
1
+ import { defineComponent as f, createVNode as o, mergeProps as l, ref as g, computed as a } from "vue";
2
+ import { NDataTable as c, NPagination as u } from "naive-ui";
3
+ import { bodenDataTableProps as v } from "./interface.mjs";
4
4
  /* empty css */
5
- const m = "BodenDataTable", O = /* @__PURE__ */ a({
6
- name: m,
7
- props: f,
5
+ const p = "BodenDataTable", C = /* @__PURE__ */ f({
6
+ name: p,
7
+ props: v,
8
8
  slots: Object,
9
- setup(t, {
10
- expose: o
9
+ setup(r, {
10
+ expose: s
11
11
  }) {
12
- const r = d(), s = i(() => {
12
+ const t = g(), i = a(() => {
13
13
  const e = {};
14
- return t.transparent && Object.assign(e, {
14
+ return r.transparent && Object.assign(e, {
15
15
  tdColor: "#0000",
16
16
  thColor: "#0000"
17
- }), t.themeOverrides && Object.assign(e, t.themeOverrides), Object.keys(e).length ? e : void 0;
18
- });
19
- return o({
20
- clearFilters: (...e) => r.value.clearFilters(...e),
21
- clearSorter: (...e) => r.value.clearSorter(...e),
22
- downloadCsv: (...e) => r.value.downloadCsv(...e),
23
- filter: (...e) => r.value.filter(...e),
24
- filters: (...e) => r.value.filters(...e),
25
- page: (...e) => r.value.page(...e),
17
+ }), r.themeOverrides && Object.assign(e, r.themeOverrides), Object.keys(e).length ? e : void 0;
18
+ }), n = {
19
+ clearFilters: (...e) => t.value.clearFilters(...e),
20
+ clearSorter: (...e) => t.value.clearSorter(...e),
21
+ downloadCsv: (...e) => t.value.downloadCsv(...e),
22
+ filter: (...e) => t.value.filter(...e),
23
+ filters: (...e) => t.value.filters(...e),
24
+ page: (...e) => t.value.page(...e),
26
25
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
27
26
  // @ts-ignore: Function overloading
28
- scrollTo: (...e) => r.value.scrollTo(...e),
29
- sort: (...e) => r.value.sort(...e),
27
+ scrollTo: (...e) => t.value.scrollTo(...e),
28
+ sort: (...e) => t.value.sort(...e),
30
29
  get $forwardComponent() {
31
- return r.value;
30
+ return t.value;
32
31
  }
33
- }), {
34
- ThemeOverrides: s
32
+ }, d = a(() => t.value?.mergedShowPagination), h = a(() => t.value?.mergedPagination), m = a(() => t.value?.mergedTheme);
33
+ return s(n), {
34
+ nRef: t,
35
+ ThemeOverrides: i,
36
+ mergedShowPagination: d,
37
+ mergedPagination: h,
38
+ mergedTheme: m
35
39
  };
36
40
  },
37
41
  render() {
38
42
  const {
39
- $attrs: t,
40
- $props: o,
41
- ThemeOverrides: r
43
+ $props: r,
44
+ ThemeOverrides: s
42
45
  } = this;
43
- return l(c, n(t, o, {
44
- class: "Boden-data-table h-full",
45
- themeOverrides: r
46
- }), this.$slots);
46
+ return o("div", {
47
+ class: ["boden-data-table", {
48
+ "h-full": this.flexHeight,
49
+ "is-header-icon-left": r.headerIconPlacement === "left"
50
+ }]
51
+ }, [o(c, l({
52
+ ref: "nRef"
53
+ }, r, {
54
+ class: this.flexHeight ? "h-full" : "",
55
+ themeOverrides: s
56
+ }), this.$slots), this.mergedShowPagination ? o("div", {
57
+ class: ["boden-data-table__footer", this.footerClass]
58
+ }, [this.$slots.footerLeft ? this.$slots.footerLeft() : null, o(u, l({
59
+ theme: this.mergedTheme?.peers?.Pagination,
60
+ themeOverrides: this.mergedTheme?.peerOverrides?.Pagination
61
+ }, this.mergedPagination, {
62
+ disabled: this.loading
63
+ }), null)]) : null]);
47
64
  }
48
65
  });
49
66
  export {
50
- O as default
67
+ C as default
51
68
  };
@@ -1,66 +1,75 @@
1
- import { ExtractPublicPropTypes, VNode } from 'vue';
2
- import { DataTableInst } from 'naive-ui';
1
+ import { ExtractPublicPropTypes, PropType, VNode } from 'vue';
2
+ import { PaginationProps, DataTableInst } from 'naive-ui';
3
+ import { MergedTheme, Theme } from 'naive-ui/es/_mixins';
4
+ import { DataTableTheme, DataTableThemeVars } from 'naive-ui/es/data-table/styles';
3
5
  export declare const bodenDataTableProps: {
6
+ headerIconPlacement: {
7
+ type: PropType<"left" | "right">;
8
+ default: string;
9
+ };
4
10
  flexHeight: {
5
11
  type: BooleanConstructor;
6
12
  default: boolean;
7
13
  };
14
+ footerClass: {
15
+ type: StringConstructor;
16
+ };
8
17
  transparent: BooleanConstructor;
9
- onUnstableColumnResize: import('vue').PropType<(resizedWidth: number, limitedWidth: number, column: import('naive-ui').DataTableBaseColumn, getColumnWidth: (key: import('naive-ui').DataTableColumnKey) => number | undefined) => void>;
18
+ onUnstableColumnResize: PropType<(resizedWidth: number, limitedWidth: number, column: import('naive-ui').DataTableBaseColumn, getColumnWidth: (key: import('naive-ui').DataTableColumnKey) => number | undefined) => void>;
10
19
  pagination: {
11
- readonly type: import('vue').PropType<false | import('naive-ui').PaginationProps>;
20
+ readonly type: PropType<false | PaginationProps>;
12
21
  readonly default: false;
13
22
  };
14
23
  paginateSinglePage: {
15
24
  readonly type: BooleanConstructor;
16
25
  readonly default: true;
17
26
  };
18
- minHeight: import('vue').PropType<string | number>;
19
- maxHeight: import('vue').PropType<string | number>;
27
+ minHeight: PropType<string | number>;
28
+ maxHeight: PropType<string | number>;
20
29
  columns: {
21
- readonly type: import('vue').PropType<import('naive-ui').DataTableColumns<any>>;
30
+ readonly type: PropType<import('naive-ui').DataTableColumns<any>>;
22
31
  readonly default: () => never[];
23
32
  };
24
- rowClassName: import('vue').PropType<string | import('naive-ui').DataTableCreateRowClassName<any>>;
25
- rowProps: import('vue').PropType<import('naive-ui').DataTableCreateRowProps<any>>;
26
- rowKey: import('vue').PropType<import('naive-ui').DataTableCreateRowKey<any>>;
27
- summary: import('vue').PropType<import('naive-ui').DataTableCreateSummary<any>>;
33
+ rowClassName: PropType<string | import('naive-ui').DataTableCreateRowClassName<any>>;
34
+ rowProps: PropType<import('naive-ui').DataTableCreateRowProps<any>>;
35
+ rowKey: PropType<import('naive-ui').DataTableCreateRowKey<any>>;
36
+ summary: PropType<import('naive-ui').DataTableCreateSummary<any>>;
28
37
  data: {
29
- readonly type: import('vue').PropType<import('naive-ui').DataTableRowData[]>;
38
+ readonly type: PropType<import('naive-ui').DataTableRowData[]>;
30
39
  readonly default: () => never[];
31
40
  };
32
41
  loading: BooleanConstructor;
33
42
  bordered: {
34
- readonly type: import('vue').PropType<boolean | undefined>;
43
+ readonly type: PropType<boolean | undefined>;
35
44
  readonly default: undefined;
36
45
  };
37
46
  bottomBordered: {
38
- readonly type: import('vue').PropType<boolean | undefined>;
47
+ readonly type: PropType<boolean | undefined>;
39
48
  readonly default: undefined;
40
49
  };
41
50
  striped: BooleanConstructor;
42
- scrollX: import('vue').PropType<string | number>;
51
+ scrollX: PropType<string | number>;
43
52
  defaultCheckedRowKeys: {
44
- readonly type: import('vue').PropType<import('naive-ui').DataTableRowKey[]>;
53
+ readonly type: PropType<import('naive-ui').DataTableRowKey[]>;
45
54
  readonly default: () => never[];
46
55
  };
47
- checkedRowKeys: import('vue').PropType<import('naive-ui').DataTableRowKey[]>;
56
+ checkedRowKeys: PropType<import('naive-ui').DataTableRowKey[]>;
48
57
  singleLine: {
49
58
  readonly type: BooleanConstructor;
50
59
  readonly default: true;
51
60
  };
52
61
  singleColumn: BooleanConstructor;
53
62
  size: {
54
- readonly type: import('vue').PropType<"small" | "medium" | "large">;
63
+ readonly type: PropType<"small" | "medium" | "large">;
55
64
  readonly default: "medium";
56
65
  };
57
66
  remote: BooleanConstructor;
58
67
  defaultExpandedRowKeys: {
59
- readonly type: import('vue').PropType<import('naive-ui').DataTableRowKey[]>;
68
+ readonly type: PropType<import('naive-ui').DataTableRowKey[]>;
60
69
  readonly default: readonly [];
61
70
  };
62
71
  defaultExpandAll: BooleanConstructor;
63
- expandedRowKeys: import('vue').PropType<import('naive-ui').DataTableRowKey[]>;
72
+ expandedRowKeys: PropType<import('naive-ui').DataTableRowKey[]>;
64
73
  stickyExpandedRows: BooleanConstructor;
65
74
  virtualScroll: BooleanConstructor;
66
75
  virtualScrollX: BooleanConstructor;
@@ -69,13 +78,13 @@ export declare const bodenDataTableProps: {
69
78
  readonly type: NumberConstructor;
70
79
  readonly default: 28;
71
80
  };
72
- heightForRow: import('vue').PropType<import('naive-ui/es/data-table/src/interface').DataTableHeightForRow>;
81
+ heightForRow: PropType<import('naive-ui/es/data-table/src/interface').DataTableHeightForRow>;
73
82
  minRowHeight: {
74
83
  readonly type: NumberConstructor;
75
84
  readonly default: 28;
76
85
  };
77
86
  tableLayout: {
78
- readonly type: import('vue').PropType<"auto" | "fixed">;
87
+ readonly type: PropType<"auto" | "fixed">;
79
88
  readonly default: "auto";
80
89
  };
81
90
  allowCheckingNotLoaded: BooleanConstructor;
@@ -92,43 +101,43 @@ export declare const bodenDataTableProps: {
92
101
  readonly default: 16;
93
102
  };
94
103
  summaryPlacement: {
95
- readonly type: import('vue').PropType<"top" | "bottom">;
104
+ readonly type: PropType<"top" | "bottom">;
96
105
  readonly default: "bottom";
97
106
  };
98
107
  paginationBehaviorOnFilter: {
99
- readonly type: import('vue').PropType<"first" | "current">;
108
+ readonly type: PropType<"first" | "current">;
100
109
  readonly default: "current";
101
110
  };
102
- filterIconPopoverProps: import('vue').PropType<import('naive-ui').PopoverProps>;
103
- scrollbarProps: import('vue').PropType<import('naive-ui').ScrollbarProps>;
104
- renderCell: import('vue').PropType<(value: any, rowData: object, column: import('naive-ui').DataTableBaseColumn) => import('vue').VNodeChild>;
105
- renderExpandIcon: import('vue').PropType<import('naive-ui/es/data-table/src/interface').RenderExpandIcon>;
111
+ filterIconPopoverProps: PropType<import('naive-ui').PopoverProps>;
112
+ scrollbarProps: PropType<import('naive-ui').ScrollbarProps>;
113
+ renderCell: PropType<(value: any, rowData: object, column: import('naive-ui').DataTableBaseColumn) => import('vue').VNodeChild>;
114
+ renderExpandIcon: PropType<import('naive-ui/es/data-table/src/interface').RenderExpandIcon>;
106
115
  spinProps: {
107
- readonly type: import('vue').PropType<import('naive-ui/es/_internal').BaseLoadingExposedProps>;
116
+ readonly type: PropType<import('naive-ui/es/_internal').BaseLoadingExposedProps>;
108
117
  readonly default: {};
109
118
  };
110
- getCsvCell: import('vue').PropType<import('naive-ui').DataTableGetCsvCell>;
111
- getCsvHeader: import('vue').PropType<import('naive-ui').DataTableGetCsvHeader>;
112
- onLoad: import('vue').PropType<import('naive-ui/es/data-table/src/interface').DataTableOnLoad>;
113
- 'onUpdate:page': import('vue').PropType<import('naive-ui').PaginationProps["onUpdate:page"]>;
114
- onUpdatePage: import('vue').PropType<import('naive-ui').PaginationProps["onUpdate:page"]>;
115
- 'onUpdate:pageSize': import('vue').PropType<import('naive-ui').PaginationProps["onUpdate:pageSize"]>;
116
- onUpdatePageSize: import('vue').PropType<import('naive-ui').PaginationProps["onUpdate:pageSize"]>;
117
- 'onUpdate:sorter': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter>>;
118
- onUpdateSorter: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter>>;
119
- 'onUpdate:filters': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateFilters>>;
120
- onUpdateFilters: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateFilters>>;
121
- 'onUpdate:checkedRowKeys': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateCheckedRowKeys>>;
122
- onUpdateCheckedRowKeys: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateCheckedRowKeys>>;
123
- 'onUpdate:expandedRowKeys': import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateExpandedRowKeys>>;
124
- onUpdateExpandedRowKeys: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateExpandedRowKeys>>;
125
- onScroll: import('vue').PropType<(e: Event) => void>;
126
- onPageChange: import('vue').PropType<import('naive-ui').PaginationProps["onUpdate:page"]>;
127
- onPageSizeChange: import('vue').PropType<import('naive-ui').PaginationProps["onUpdate:pageSize"]>;
128
- onSorterChange: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter> | undefined>;
129
- onFiltersChange: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateFilters> | undefined>;
130
- onCheckedRowKeysChange: import('vue').PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateCheckedRowKeys> | undefined>;
131
- theme: import('vue').PropType<import('naive-ui/es/_mixins').Theme<"DataTable", {
119
+ getCsvCell: PropType<import('naive-ui').DataTableGetCsvCell>;
120
+ getCsvHeader: PropType<import('naive-ui').DataTableGetCsvHeader>;
121
+ onLoad: PropType<import('naive-ui/es/data-table/src/interface').DataTableOnLoad>;
122
+ 'onUpdate:page': PropType<PaginationProps["onUpdate:page"]>;
123
+ onUpdatePage: PropType<PaginationProps["onUpdate:page"]>;
124
+ 'onUpdate:pageSize': PropType<PaginationProps["onUpdate:pageSize"]>;
125
+ onUpdatePageSize: PropType<PaginationProps["onUpdate:pageSize"]>;
126
+ 'onUpdate:sorter': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter>>;
127
+ onUpdateSorter: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter>>;
128
+ 'onUpdate:filters': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateFilters>>;
129
+ onUpdateFilters: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateFilters>>;
130
+ 'onUpdate:checkedRowKeys': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateCheckedRowKeys>>;
131
+ onUpdateCheckedRowKeys: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateCheckedRowKeys>>;
132
+ 'onUpdate:expandedRowKeys': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateExpandedRowKeys>>;
133
+ onUpdateExpandedRowKeys: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateExpandedRowKeys>>;
134
+ onScroll: PropType<(e: Event) => void>;
135
+ onPageChange: PropType<PaginationProps["onUpdate:page"]>;
136
+ onPageSizeChange: PropType<PaginationProps["onUpdate:pageSize"]>;
137
+ onSorterChange: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter> | undefined>;
138
+ onFiltersChange: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateFilters> | undefined>;
139
+ onCheckedRowKeysChange: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateCheckedRowKeys> | undefined>;
140
+ theme: PropType<import('naive-ui/es/_mixins').Theme<"DataTable", {
132
141
  actionDividerColor: string;
133
142
  lineHeight: string;
134
143
  borderRadius: string;
@@ -1033,7 +1042,7 @@ export declare const bodenDataTableProps: {
1033
1042
  }>;
1034
1043
  }>;
1035
1044
  }>>;
1036
- themeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"DataTable", {
1045
+ themeOverrides: PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"DataTable", {
1037
1046
  actionDividerColor: string;
1038
1047
  lineHeight: string;
1039
1048
  borderRadius: string;
@@ -1938,7 +1947,7 @@ export declare const bodenDataTableProps: {
1938
1947
  }>;
1939
1948
  }>;
1940
1949
  }>>>;
1941
- builtinThemeOverrides: import('vue').PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"DataTable", {
1950
+ builtinThemeOverrides: PropType<import('naive-ui/es/_mixins/use-theme').ExtractThemeOverrides<import('naive-ui/es/_mixins').Theme<"DataTable", {
1942
1951
  actionDividerColor: string;
1943
1952
  lineHeight: string;
1944
1953
  borderRadius: string;
@@ -2849,7 +2858,13 @@ export type BodenDataTableSlots = {
2849
2858
  default?: () => VNode[];
2850
2859
  empty?: () => VNode[];
2851
2860
  loading?: () => VNode[];
2861
+ footerLeft?: () => VNode[];
2852
2862
  };
2853
2863
  export type BodenDataTableInstance = DataTableInst & {
2854
2864
  $forwardComponent: DataTableInst;
2855
2865
  };
2866
+ export type DataTableInstComplete = DataTableInst & {
2867
+ mergedShowPagination?: boolean;
2868
+ mergedPagination?: PaginationProps;
2869
+ mergedTheme?: MergedTheme<Theme<'DataTable', DataTableThemeVars, DataTableTheme['peers']>>;
2870
+ };
@@ -1,12 +1,19 @@
1
1
  import { dataTableProps as e } from "naive-ui";
2
- const o = {
2
+ const a = {
3
3
  ...e,
4
+ headerIconPlacement: {
5
+ type: String,
6
+ default: "left"
7
+ },
4
8
  flexHeight: {
5
9
  type: Boolean,
6
10
  default: !0
7
11
  },
12
+ footerClass: {
13
+ type: String
14
+ },
8
15
  transparent: Boolean
9
16
  };
10
17
  export {
11
- o as bodenDataTableProps
18
+ a as bodenDataTableProps
12
19
  };
@@ -7,17 +7,20 @@ declare function __VLS_template(): {
7
7
  };
8
8
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
9
9
  declare const __VLS_component: import('vue').DefineComponent<BodenGlobalHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
10
+ togglePlatform: (key: string) => any;
11
+ toggleLogo: () => any;
10
12
  toggleSystemTheme: (event: MouseEvent) => any;
11
13
  toggleSystemLang: () => any;
12
14
  toggleUserItem: (key: string | number, option: import('naive-ui').MenuOption) => any;
13
- toggleLogo: () => any;
14
15
  }, string, import('vue').PublicProps, Readonly<BodenGlobalHeaderProps> & Readonly<{
16
+ onTogglePlatform?: ((key: string) => any) | undefined;
17
+ onToggleLogo?: (() => any) | undefined;
15
18
  onToggleSystemTheme?: ((event: MouseEvent) => any) | undefined;
16
19
  onToggleSystemLang?: (() => any) | undefined;
17
20
  onToggleUserItem?: ((key: string | number, option: import('naive-ui').MenuOption) => any) | undefined;
18
- onToggleLogo?: (() => any) | undefined;
19
21
  }>, {
20
22
  isShowProductIntroduction: boolean;
23
+ productIntroductionTriggerDisabled: boolean;
21
24
  isShowPlatformMenus: boolean;
22
25
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
23
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,10 +1,10 @@
1
- import { defineComponent as g, ref as f, computed as y, createBlock as p, openBlock as l, unref as m, withCtx as i, createVNode as s, renderSlot as u, createCommentVNode as h, createSlots as S } from "vue";
2
- import w from "./title.vue.mjs";
3
- import B from "../system-actions/index.vue.mjs";
1
+ import { defineComponent as S, ref as c, computed as I, createBlock as p, openBlock as s, unref as m, withCtx as i, createVNode as u, renderSlot as g, createCommentVNode as T, createSlots as w } from "vue";
2
+ import B from "./title.vue.mjs";
3
+ import L from "../system-actions/index.vue.mjs";
4
4
  /* empty css */
5
5
  import "../layout/options.mjs";
6
6
  /* empty css */
7
- import I from "../layout/header/index.vue.mjs";
7
+ import P from "../layout/header/index.vue.mjs";
8
8
  import "../../config/themes/components/alert/light.mjs";
9
9
  import "../../config/themes/components/button/light.mjs";
10
10
  import "../../config/themes/components/card/light.mjs";
@@ -57,23 +57,24 @@ import "../../config/themes/common/dark.mjs";
57
57
  import "../../config/themes/components/charts/dark.mjs";
58
58
  import "../../config/themes/components/charts/light.mjs";
59
59
  /* empty css */
60
- import v from "../layout/aside-menu/aside-menu.mjs";
60
+ import b from "../layout/aside-menu/aside-menu.mjs";
61
61
  import "../layout/aside-menu/props.mjs";
62
- const bo = /* @__PURE__ */ g({
62
+ const Ko = /* @__PURE__ */ S({
63
63
  name: "BodenGlobalHeader",
64
64
  __name: "index",
65
65
  props: {
66
66
  isShowPlatformMenus: { type: Boolean, default: !0 },
67
- platformMenusCode: {},
67
+ platformCode: {},
68
+ productIntroductionTriggerDisabled: { type: Boolean, default: !1 },
68
69
  userActionOption: {},
69
70
  userInfo: {},
70
71
  headerHeight: {},
71
72
  isShowProductIntroduction: { type: Boolean, default: !0 },
72
73
  isShowLogo: { type: Boolean }
73
74
  },
74
- emits: ["toggleSystemTheme", "toggleSystemLang", "toggleUserItem", "toggleLogo"],
75
- setup(t) {
76
- const n = f("ADS"), a = y(() => [
75
+ emits: ["toggleSystemTheme", "toggleSystemLang", "toggleUserItem", "toggleLogo", "togglePlatform"],
76
+ setup(o, { emit: a }) {
77
+ const l = a, n = c("ADS"), d = I(() => [
77
78
  {
78
79
  key: "ADS",
79
80
  label: "ADS",
@@ -92,49 +93,57 @@ const bo = /* @__PURE__ */ g({
92
93
  routeKey: "",
93
94
  routePath: ""
94
95
  }
95
- ]), d = () => {
96
+ ]), f = () => {
97
+ }, y = () => {
98
+ l("toggleLogo");
99
+ }, h = (t) => {
100
+ l("togglePlatform", t);
96
101
  };
97
- return (e, o) => (l(), p(m(I), null, {
102
+ return (t, e) => (s(), p(m(P), null, {
98
103
  title: i(() => [
99
- s(w, {
100
- "is-show-logo": t.isShowLogo,
101
- "is-show-product-introduction": t.isShowProductIntroduction,
102
- "header-height": t.headerHeight
103
- }, S({ _: 2 }, [
104
- e.$slots.logo ? {
104
+ u(B, {
105
+ "is-show-logo": o.isShowLogo,
106
+ "is-show-product-introduction": o.isShowProductIntroduction,
107
+ "header-height": o.headerHeight,
108
+ platformCode: o.platformCode,
109
+ productIntroductionTriggerDisabled: o.productIntroductionTriggerDisabled,
110
+ onToggleLogo: y,
111
+ onTogglePlatform: h
112
+ }, w({ _: 2 }, [
113
+ t.$slots.logo ? {
105
114
  name: "logo",
106
115
  fn: i(() => [
107
- u(e.$slots, "logo")
116
+ g(t.$slots, "logo")
108
117
  ]),
109
118
  key: "0"
110
119
  } : void 0
111
- ]), 1032, ["is-show-logo", "is-show-product-introduction", "header-height"])
120
+ ]), 1032, ["is-show-logo", "is-show-product-introduction", "header-height", "platformCode", "productIntroductionTriggerDisabled"])
112
121
  ]),
113
122
  default: i(() => [
114
- u(e.$slots, "default", {}, () => [
115
- t.isShowPlatformMenus ? (l(), p(m(v), {
123
+ g(t.$slots, "default", {}, () => [
124
+ o.isShowPlatformMenus ? (s(), p(m(b), {
116
125
  key: 0,
117
126
  mode: "horizontal",
118
127
  value: n.value,
119
128
  "onUpdate:value": [
120
- o[0] || (o[0] = (r) => n.value = r),
121
- d
129
+ e[0] || (e[0] = (r) => n.value = r),
130
+ f
122
131
  ],
123
- options: a.value,
132
+ options: d.value,
124
133
  indent: 18,
125
134
  responsive: ""
126
- }, null, 8, ["value", "options"])) : h("", !0)
135
+ }, null, 8, ["value", "options"])) : T("", !0)
127
136
  ])
128
137
  ]),
129
138
  actions: i(() => [
130
- s(m(B), {
139
+ u(m(L), {
131
140
  style: { "margin-left": "auto" },
132
141
  mode: "horizontal",
133
- userActionOption: t.userActionOption,
134
- userInfo: t.userInfo,
135
- onToggleSystemTheme: o[1] || (o[1] = (r) => e.$emit("toggleSystemTheme", r)),
136
- onToggleSystemLang: o[2] || (o[2] = (r) => e.$emit("toggleSystemLang")),
137
- onToggleUserItem: o[3] || (o[3] = (...r) => e.$emit("toggleUserItem", ...r))
142
+ userActionOption: o.userActionOption,
143
+ userInfo: o.userInfo,
144
+ onToggleSystemTheme: e[1] || (e[1] = (r) => t.$emit("toggleSystemTheme", r)),
145
+ onToggleSystemLang: e[2] || (e[2] = (r) => t.$emit("toggleSystemLang")),
146
+ onToggleUserItem: e[3] || (e[3] = (...r) => t.$emit("toggleUserItem", ...r))
138
147
  }, null, 8, ["userActionOption", "userInfo"])
139
148
  ]),
140
149
  _: 3
@@ -142,5 +151,5 @@ const bo = /* @__PURE__ */ g({
142
151
  }
143
152
  });
144
153
  export {
145
- bo as default
154
+ Ko as default
146
155
  };
@@ -1,19 +1,19 @@
1
1
  import { VNode } from 'vue';
2
+ import { PLATFORM_ENUM } from '../platform-navigation/interface';
2
3
  import { BodenSystemActionsProps, BodenSystemActionsEmits } from '../system-actions';
3
- export declare const enum PLATFORM_CODE {
4
- BASE = 1,
5
- BLINK = 2,
6
- ACCOUNT_MANAGEMENT = 3
7
- }
8
4
  export type BodenGlobalHeaderProps = {
9
5
  isShowPlatformMenus?: boolean;
10
- platformMenusCode?: Array<PLATFORM_CODE>;
6
+ platformCode?: Array<PLATFORM_ENUM>;
7
+ productIntroductionTriggerDisabled?: boolean;
11
8
  } & Omit<BodenSystemActionsProps, 'mode'> & BodenGlobalHeaderTitleProps;
12
9
  export type BodenGlobalHeaderSlots = {
13
10
  default?: () => VNode;
14
11
  logo?: () => VNode;
15
12
  };
16
- export type BodenGlobalHeaderEmits = BodenSystemActionsEmits & ((e: 'toggleLogo') => void);
13
+ export type BodenGlobalHeaderEmits = BodenSystemActionsEmits & {
14
+ (e: 'toggleLogo'): void;
15
+ (e: 'togglePlatform', key: string): void;
16
+ };
17
17
  export type BodenMenuOptionType = {
18
18
  key: string;
19
19
  /** The menu label */
@@ -29,6 +29,8 @@ export type BodenGlobalHeaderTitleProps = {
29
29
  headerHeight?: number;
30
30
  isShowProductIntroduction?: boolean;
31
31
  isShowLogo?: boolean;
32
+ productIntroductionTriggerDisabled?: boolean;
33
+ platformCode?: Array<PLATFORM_ENUM>;
32
34
  };
33
35
  export type BodenGlobalHeaderTitleSlots = {
34
36
  logo?: () => VNode;
@@ -8,9 +8,17 @@ declare function __VLS_template(): {
8
8
  rootEl: any;
9
9
  };
10
10
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<BodenGlobalHeaderTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<BodenGlobalHeaderTitleProps> & Readonly<{}>, {
11
+ declare const __VLS_component: import('vue').DefineComponent<BodenGlobalHeaderTitleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ togglePlatform: (...args: any[]) => void;
13
+ toggleLogo: (...args: any[]) => void;
14
+ }, string, import('vue').PublicProps, Readonly<BodenGlobalHeaderTitleProps> & Readonly<{
15
+ onTogglePlatform?: ((...args: any[]) => any) | undefined;
16
+ onToggleLogo?: ((...args: any[]) => any) | undefined;
17
+ }>, {
18
+ platformCode: Array<import('../platform-navigation/interface').PLATFORM_ENUM>;
12
19
  isShowProductIntroduction: boolean;
13
20
  isShowLogo: boolean;
21
+ productIntroductionTriggerDisabled: boolean;
14
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
24
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import o from "./title.vue2.mjs";
2
2
  /* empty css */
3
- import e from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const d = /* @__PURE__ */ e(o, [["__scopeId", "data-v-9e3abbdb"]]);
3
+ import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4ba88c64"]]);
5
5
  export {
6
- d as default
6
+ m as default
7
7
  };