base6-ui 2.0.7 → 2.0.9

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 (304) hide show
  1. package/dist/components/data-table/data-table.d.ts +1363 -1
  2. package/dist/components/data-table/interface.d.ts +19 -8
  3. package/dist/components/global-header/index.vue.d.ts +3 -2
  4. package/dist/components/global-header/interface.d.ts +5 -6
  5. package/dist/components/global-header/title.vue.d.ts +2 -0
  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 +5 -3
  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/es/components/data-table/data-table.d.ts +1363 -1
  15. package/es/components/data-table/data-table.mjs +49 -34
  16. package/es/components/data-table/interface.d.ts +19 -8
  17. package/es/components/data-table/interface.mjs +3 -0
  18. package/es/components/global-header/index.vue.d.ts +3 -2
  19. package/es/components/global-header/index.vue.mjs +34 -31
  20. package/es/components/global-header/interface.d.ts +5 -6
  21. package/es/components/global-header/title.vue.d.ts +2 -0
  22. package/es/components/global-header/title.vue.mjs +2 -2
  23. package/es/components/global-header/title.vue2.mjs +34 -30
  24. package/es/components/index.d.ts +1 -2
  25. package/es/components/nav-icon/index.vue.mjs +2 -2
  26. package/es/components/nav-icon/index.vue2.mjs +21 -19
  27. package/es/components/nav-icon/type.d.ts +1 -0
  28. package/es/components/platform-navigation/index.d.ts +2 -0
  29. package/{lib/components/product-introduction → es/components/platform-navigation}/index.vue.d.ts +5 -3
  30. package/es/components/{product-introduction → platform-navigation}/index.vue.mjs +2 -2
  31. package/es/components/platform-navigation/index.vue2.mjs +194 -0
  32. package/es/components/platform-navigation/interface.d.ts +29 -0
  33. package/es/components/platform-navigation/interface.mjs +4 -0
  34. package/es/config/themes/components/dataTable/common.d.ts +2 -0
  35. package/es/config/themes/components/dataTable/common.mjs +11 -0
  36. package/es/config/themes/components/dataTable/dark.mjs +4 -2
  37. package/es/config/themes/components/dataTable/light.mjs +4 -2
  38. package/es/index.css +1 -1
  39. package/es/index.mjs +79 -89
  40. package/lib/components/data-table/data-table.d.ts +1363 -1
  41. package/lib/components/data-table/data-table.js +1 -1
  42. package/lib/components/data-table/interface.d.ts +19 -8
  43. package/lib/components/data-table/interface.js +1 -1
  44. package/lib/components/global-header/index.vue.d.ts +3 -2
  45. package/lib/components/global-header/index.vue.js +1 -1
  46. package/lib/components/global-header/interface.d.ts +5 -6
  47. package/lib/components/global-header/title.vue.d.ts +2 -0
  48. package/lib/components/global-header/title.vue.js +1 -1
  49. package/lib/components/global-header/title.vue2.js +1 -1
  50. package/lib/components/index.d.ts +1 -2
  51. package/lib/components/input-number/index.vue.js +1 -1
  52. package/lib/components/layout/aside/index.vue.js +1 -1
  53. package/lib/components/layout/components/WrapHeader.vue.js +1 -1
  54. package/lib/components/layout/header/index.vue.js +1 -1
  55. package/lib/components/layout/index.vue.js +1 -1
  56. package/lib/components/nav-icon/index.vue.js +1 -1
  57. package/lib/components/nav-icon/index.vue2.js +1 -1
  58. package/lib/components/nav-icon/type.d.ts +1 -0
  59. package/lib/components/platform-navigation/index.d.ts +2 -0
  60. package/{dist/components/product-introduction → lib/components/platform-navigation}/index.vue.d.ts +5 -3
  61. package/lib/components/platform-navigation/index.vue.js +1 -0
  62. package/lib/components/platform-navigation/index.vue2.js +1 -0
  63. package/lib/components/platform-navigation/interface.d.ts +29 -0
  64. package/lib/components/platform-navigation/interface.js +1 -0
  65. package/lib/components/radio/index.vue.js +1 -1
  66. package/lib/components/select/index.vue.js +1 -1
  67. package/lib/components/slider/index.vue.js +1 -1
  68. package/lib/components/switch/index.vue.js +1 -1
  69. package/lib/components/system-actions/index.vue.js +1 -1
  70. package/lib/config/themes/components/dataTable/common.d.ts +2 -0
  71. package/lib/config/themes/components/dataTable/common.js +1 -0
  72. package/lib/config/themes/components/dataTable/dark.js +1 -1
  73. package/lib/config/themes/components/dataTable/light.js +1 -1
  74. package/lib/index.css +1 -1
  75. package/lib/index.js +1 -1
  76. package/package.json +1 -1
  77. package/dist/components/BaseLayout/ASide/index.vue.d.ts +0 -23
  78. package/dist/components/BaseLayout/ASide/type.d.ts +0 -10
  79. package/dist/components/BaseLayout/AsideMenu/index.vue.d.ts +0 -4
  80. package/dist/components/BaseLayout/Default/constants.d.ts +0 -5
  81. package/dist/components/BaseLayout/Default/hooks/useBaseLayoutContext.d.ts +0 -3
  82. package/dist/components/BaseLayout/Default/hooks/useLogo.d.ts +0 -5
  83. package/dist/components/BaseLayout/Default/index.vue.d.ts +0 -72
  84. package/dist/components/BaseLayout/Default/layoutFooter/index.vue.d.ts +0 -2
  85. package/dist/components/BaseLayout/Default/layoutHeader/action.vue.d.ts +0 -2
  86. package/dist/components/BaseLayout/Default/layoutHeader/index.vue.d.ts +0 -2
  87. package/dist/components/BaseLayout/Default/layoutHeader/title.vue.d.ts +0 -2
  88. package/dist/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.d.ts +0 -32
  89. package/dist/components/BaseLayout/Default/layoutMenu/index.vue.d.ts +0 -2
  90. package/dist/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.d.ts +0 -2
  91. package/dist/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.d.ts +0 -2
  92. package/dist/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.d.ts +0 -2
  93. package/dist/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.d.ts +0 -2
  94. package/dist/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.d.ts +0 -2
  95. package/dist/components/BaseLayout/Default/layoutSlider/index.vue.d.ts +0 -2
  96. package/dist/components/BaseLayout/Default/layoutTab/index.vue.d.ts +0 -2
  97. package/dist/components/BaseLayout/Default/options.d.ts +0 -3
  98. package/dist/components/BaseLayout/Default/type.d.ts +0 -40
  99. package/dist/components/BaseLayout/Header/index.vue.d.ts +0 -19
  100. package/dist/components/BaseLayout/components/WrapContent.vue.d.ts +0 -22
  101. package/dist/components/BaseLayout/components/WrapFooter.vue.d.ts +0 -24
  102. package/dist/components/BaseLayout/components/WrapHeader.vue.d.ts +0 -24
  103. package/dist/components/BaseLayout/components/WrapSlider.vue.d.ts +0 -24
  104. package/dist/components/BaseLayout/components/WrapTab.vue.d.ts +0 -24
  105. package/dist/components/BaseLayout/constants.d.ts +0 -1
  106. package/dist/components/BaseLayout/index.d.ts +0 -7
  107. package/dist/components/BaseLayout/index.vue.d.ts +0 -49
  108. package/dist/components/BaseLayout/layoutCssVar.d.ts +0 -4
  109. package/dist/components/BaseLayout/options.d.ts +0 -2
  110. package/dist/components/BaseLayout/type.d.ts +0 -52
  111. package/dist/components/product-introduction/constants.d.ts +0 -2
  112. package/dist/components/product-introduction/index.d.ts +0 -2
  113. package/dist/components/product-introduction/interface.d.ts +0 -20
  114. package/dist/hooks/useMenu.d.ts +0 -34
  115. package/es/components/BaseLayout/ASide/index.vue.d.ts +0 -23
  116. package/es/components/BaseLayout/ASide/index.vue.mjs +0 -7
  117. package/es/components/BaseLayout/ASide/index.vue2.mjs +0 -62
  118. package/es/components/BaseLayout/ASide/type.d.ts +0 -10
  119. package/es/components/BaseLayout/AsideMenu/index.vue.d.ts +0 -4
  120. package/es/components/BaseLayout/AsideMenu/index.vue.mjs +0 -7
  121. package/es/components/BaseLayout/AsideMenu/index.vue2.mjs +0 -66
  122. package/es/components/BaseLayout/Default/constants.d.ts +0 -5
  123. package/es/components/BaseLayout/Default/constants.mjs +0 -5
  124. package/es/components/BaseLayout/Default/hooks/useBaseLayoutContext.d.ts +0 -3
  125. package/es/components/BaseLayout/Default/hooks/useBaseLayoutContext.mjs +0 -11
  126. package/es/components/BaseLayout/Default/hooks/useLogo.d.ts +0 -5
  127. package/es/components/BaseLayout/Default/hooks/useLogo.mjs +0 -19
  128. package/es/components/BaseLayout/Default/index.vue.d.ts +0 -72
  129. package/es/components/BaseLayout/Default/index.vue.mjs +0 -7
  130. package/es/components/BaseLayout/Default/index.vue2.mjs +0 -151
  131. package/es/components/BaseLayout/Default/layoutFooter/index.vue.d.ts +0 -2
  132. package/es/components/BaseLayout/Default/layoutHeader/action.vue.d.ts +0 -2
  133. package/es/components/BaseLayout/Default/layoutHeader/index.vue.d.ts +0 -2
  134. package/es/components/BaseLayout/Default/layoutHeader/index.vue.mjs +0 -38
  135. package/es/components/BaseLayout/Default/layoutHeader/index.vue2.mjs +0 -4
  136. package/es/components/BaseLayout/Default/layoutHeader/title.vue.d.ts +0 -2
  137. package/es/components/BaseLayout/Default/layoutHeader/title.vue.mjs +0 -7
  138. package/es/components/BaseLayout/Default/layoutHeader/title.vue2.mjs +0 -29
  139. package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.d.ts +0 -32
  140. package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.mjs +0 -7
  141. package/es/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.mjs +0 -65
  142. package/es/components/BaseLayout/Default/layoutMenu/index.vue.d.ts +0 -2
  143. package/es/components/BaseLayout/Default/layoutMenu/index.vue.mjs +0 -4
  144. package/es/components/BaseLayout/Default/layoutMenu/index.vue2.mjs +0 -23
  145. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.d.ts +0 -2
  146. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.mjs +0 -30
  147. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue2.mjs +0 -4
  148. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.d.ts +0 -2
  149. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.mjs +0 -53
  150. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue2.mjs +0 -4
  151. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.d.ts +0 -2
  152. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.mjs +0 -73
  153. package/es/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue2.mjs +0 -4
  154. package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.d.ts +0 -2
  155. package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.mjs +0 -39
  156. package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue2.mjs +0 -4
  157. package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.d.ts +0 -2
  158. package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.mjs +0 -97
  159. package/es/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue2.mjs +0 -4
  160. package/es/components/BaseLayout/Default/layoutSlider/index.vue.d.ts +0 -2
  161. package/es/components/BaseLayout/Default/layoutSlider/index.vue.mjs +0 -31
  162. package/es/components/BaseLayout/Default/layoutSlider/index.vue2.mjs +0 -4
  163. package/es/components/BaseLayout/Default/layoutTab/index.vue.d.ts +0 -2
  164. package/es/components/BaseLayout/Default/options.d.ts +0 -3
  165. package/es/components/BaseLayout/Default/options.mjs +0 -35
  166. package/es/components/BaseLayout/Default/type.d.ts +0 -40
  167. package/es/components/BaseLayout/Header/index.vue.d.ts +0 -19
  168. package/es/components/BaseLayout/Header/index.vue.mjs +0 -20
  169. package/es/components/BaseLayout/components/WrapContent.vue.d.ts +0 -22
  170. package/es/components/BaseLayout/components/WrapContent.vue.mjs +0 -23
  171. package/es/components/BaseLayout/components/WrapContent.vue2.mjs +0 -4
  172. package/es/components/BaseLayout/components/WrapFooter.vue.d.ts +0 -24
  173. package/es/components/BaseLayout/components/WrapFooter.vue.mjs +0 -33
  174. package/es/components/BaseLayout/components/WrapFooter.vue2.mjs +0 -4
  175. package/es/components/BaseLayout/components/WrapHeader.vue.d.ts +0 -24
  176. package/es/components/BaseLayout/components/WrapHeader.vue.mjs +0 -7
  177. package/es/components/BaseLayout/components/WrapHeader.vue2.mjs +0 -30
  178. package/es/components/BaseLayout/components/WrapSlider.vue.d.ts +0 -24
  179. package/es/components/BaseLayout/components/WrapSlider.vue.mjs +0 -24
  180. package/es/components/BaseLayout/components/WrapSlider.vue2.mjs +0 -4
  181. package/es/components/BaseLayout/components/WrapTab.vue.d.ts +0 -24
  182. package/es/components/BaseLayout/components/WrapTab.vue.mjs +0 -34
  183. package/es/components/BaseLayout/components/WrapTab.vue2.mjs +0 -4
  184. package/es/components/BaseLayout/constants.d.ts +0 -1
  185. package/es/components/BaseLayout/constants.mjs +0 -4
  186. package/es/components/BaseLayout/index.d.ts +0 -7
  187. package/es/components/BaseLayout/index.module.css.mjs +0 -24
  188. package/es/components/BaseLayout/index.vue.d.ts +0 -49
  189. package/es/components/BaseLayout/index.vue.mjs +0 -7
  190. package/es/components/BaseLayout/index.vue2.mjs +0 -124
  191. package/es/components/BaseLayout/layoutCssVar.d.ts +0 -4
  192. package/es/components/BaseLayout/layoutCssVar.mjs +0 -27
  193. package/es/components/BaseLayout/options.d.ts +0 -2
  194. package/es/components/BaseLayout/options.mjs +0 -25
  195. package/es/components/BaseLayout/type.d.ts +0 -52
  196. package/es/components/product-introduction/constants.d.ts +0 -2
  197. package/es/components/product-introduction/constants.mjs +0 -7
  198. package/es/components/product-introduction/index.d.ts +0 -2
  199. package/es/components/product-introduction/index.vue2.mjs +0 -185
  200. package/es/components/product-introduction/interface.d.ts +0 -20
  201. package/es/hooks/useBoolean.mjs +0 -26
  202. package/es/hooks/useContext.mjs +0 -30
  203. package/es/hooks/useMenu.d.ts +0 -34
  204. package/es/hooks/useMenu.mjs +0 -78
  205. 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
  206. 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
  207. package/lib/components/BaseLayout/ASide/index.vue.d.ts +0 -23
  208. package/lib/components/BaseLayout/ASide/index.vue.js +0 -1
  209. package/lib/components/BaseLayout/ASide/index.vue2.js +0 -1
  210. package/lib/components/BaseLayout/ASide/type.d.ts +0 -10
  211. package/lib/components/BaseLayout/AsideMenu/index.vue.d.ts +0 -4
  212. package/lib/components/BaseLayout/AsideMenu/index.vue.js +0 -1
  213. package/lib/components/BaseLayout/AsideMenu/index.vue2.js +0 -1
  214. package/lib/components/BaseLayout/Default/constants.d.ts +0 -5
  215. package/lib/components/BaseLayout/Default/constants.js +0 -1
  216. package/lib/components/BaseLayout/Default/hooks/useBaseLayoutContext.d.ts +0 -3
  217. package/lib/components/BaseLayout/Default/hooks/useBaseLayoutContext.js +0 -1
  218. package/lib/components/BaseLayout/Default/hooks/useLogo.d.ts +0 -5
  219. package/lib/components/BaseLayout/Default/hooks/useLogo.js +0 -1
  220. package/lib/components/BaseLayout/Default/index.vue.d.ts +0 -72
  221. package/lib/components/BaseLayout/Default/index.vue.js +0 -1
  222. package/lib/components/BaseLayout/Default/index.vue2.js +0 -1
  223. package/lib/components/BaseLayout/Default/layoutFooter/index.vue.d.ts +0 -2
  224. package/lib/components/BaseLayout/Default/layoutHeader/action.vue.d.ts +0 -2
  225. package/lib/components/BaseLayout/Default/layoutHeader/index.vue.d.ts +0 -2
  226. package/lib/components/BaseLayout/Default/layoutHeader/index.vue.js +0 -1
  227. package/lib/components/BaseLayout/Default/layoutHeader/index.vue2.js +0 -1
  228. package/lib/components/BaseLayout/Default/layoutHeader/title.vue.d.ts +0 -2
  229. package/lib/components/BaseLayout/Default/layoutHeader/title.vue.js +0 -1
  230. package/lib/components/BaseLayout/Default/layoutHeader/title.vue2.js +0 -1
  231. package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.d.ts +0 -32
  232. package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue.js +0 -1
  233. package/lib/components/BaseLayout/Default/layoutMenu/components/first-level-menu.vue2.js +0 -1
  234. package/lib/components/BaseLayout/Default/layoutMenu/index.vue.d.ts +0 -2
  235. package/lib/components/BaseLayout/Default/layoutMenu/index.vue.js +0 -1
  236. package/lib/components/BaseLayout/Default/layoutMenu/index.vue2.js +0 -1
  237. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.d.ts +0 -2
  238. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue.js +0 -1
  239. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMenu.vue2.js +0 -1
  240. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.d.ts +0 -2
  241. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue.js +0 -1
  242. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixMenu.vue2.js +0 -1
  243. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.d.ts +0 -2
  244. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue.js +0 -1
  245. package/lib/components/BaseLayout/Default/layoutMenu/modules/horizontalMixReversedMenu.vue2.js +0 -1
  246. package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.d.ts +0 -2
  247. package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue.js +0 -1
  248. package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMenu.vue2.js +0 -1
  249. package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.d.ts +0 -2
  250. package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue.js +0 -1
  251. package/lib/components/BaseLayout/Default/layoutMenu/modules/verticalMixMenu.vue2.js +0 -1
  252. package/lib/components/BaseLayout/Default/layoutSlider/index.vue.d.ts +0 -2
  253. package/lib/components/BaseLayout/Default/layoutSlider/index.vue.js +0 -1
  254. package/lib/components/BaseLayout/Default/layoutSlider/index.vue2.js +0 -1
  255. package/lib/components/BaseLayout/Default/layoutTab/index.vue.d.ts +0 -2
  256. package/lib/components/BaseLayout/Default/options.d.ts +0 -3
  257. package/lib/components/BaseLayout/Default/options.js +0 -1
  258. package/lib/components/BaseLayout/Default/type.d.ts +0 -40
  259. package/lib/components/BaseLayout/Header/index.vue.d.ts +0 -19
  260. package/lib/components/BaseLayout/Header/index.vue.js +0 -1
  261. package/lib/components/BaseLayout/components/WrapContent.vue.d.ts +0 -22
  262. package/lib/components/BaseLayout/components/WrapContent.vue.js +0 -1
  263. package/lib/components/BaseLayout/components/WrapContent.vue2.js +0 -1
  264. package/lib/components/BaseLayout/components/WrapFooter.vue.d.ts +0 -24
  265. package/lib/components/BaseLayout/components/WrapFooter.vue.js +0 -1
  266. package/lib/components/BaseLayout/components/WrapFooter.vue2.js +0 -1
  267. package/lib/components/BaseLayout/components/WrapHeader.vue.d.ts +0 -24
  268. package/lib/components/BaseLayout/components/WrapHeader.vue.js +0 -1
  269. package/lib/components/BaseLayout/components/WrapHeader.vue2.js +0 -1
  270. package/lib/components/BaseLayout/components/WrapSlider.vue.d.ts +0 -24
  271. package/lib/components/BaseLayout/components/WrapSlider.vue.js +0 -1
  272. package/lib/components/BaseLayout/components/WrapSlider.vue2.js +0 -1
  273. package/lib/components/BaseLayout/components/WrapTab.vue.d.ts +0 -24
  274. package/lib/components/BaseLayout/components/WrapTab.vue.js +0 -1
  275. package/lib/components/BaseLayout/components/WrapTab.vue2.js +0 -1
  276. package/lib/components/BaseLayout/constants.d.ts +0 -1
  277. package/lib/components/BaseLayout/constants.js +0 -1
  278. package/lib/components/BaseLayout/index.d.ts +0 -7
  279. package/lib/components/BaseLayout/index.module.css.js +0 -1
  280. package/lib/components/BaseLayout/index.vue.d.ts +0 -49
  281. package/lib/components/BaseLayout/index.vue.js +0 -1
  282. package/lib/components/BaseLayout/index.vue2.js +0 -1
  283. package/lib/components/BaseLayout/layoutCssVar.d.ts +0 -4
  284. package/lib/components/BaseLayout/layoutCssVar.js +0 -1
  285. package/lib/components/BaseLayout/options.d.ts +0 -2
  286. package/lib/components/BaseLayout/options.js +0 -1
  287. package/lib/components/BaseLayout/type.d.ts +0 -52
  288. package/lib/components/product-introduction/constants.d.ts +0 -2
  289. package/lib/components/product-introduction/constants.js +0 -1
  290. package/lib/components/product-introduction/index.d.ts +0 -2
  291. package/lib/components/product-introduction/index.vue.js +0 -1
  292. package/lib/components/product-introduction/index.vue2.js +0 -1
  293. package/lib/components/product-introduction/interface.d.ts +0 -20
  294. package/lib/hooks/useBoolean.js +0 -1
  295. package/lib/hooks/useContext.js +0 -1
  296. package/lib/hooks/useMenu.d.ts +0 -34
  297. package/lib/hooks/useMenu.js +0 -1
  298. 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
  299. 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
  300. /package/dist/components/{product-introduction → platform-navigation}/cssVar.d.ts +0 -0
  301. /package/es/components/{product-introduction → platform-navigation}/cssVar.d.ts +0 -0
  302. /package/es/components/{product-introduction → platform-navigation}/cssVar.mjs +0 -0
  303. /package/lib/components/{product-introduction → platform-navigation}/cssVar.d.ts +0 -0
  304. /package/lib/components/{product-introduction → platform-navigation}/cssVar.js +0 -0
@@ -1,53 +1,68 @@
1
- import { defineComponent as s, 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__ */ s({
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(), a = 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: a
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
- "is-header-icon-left": o.headerIconPlacement === "left"
46
- }],
47
- themeOverrides: r
48
- }), 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]);
49
64
  }
50
65
  });
51
66
  export {
52
- O as default
67
+ C as default
53
68
  };
@@ -1,5 +1,7 @@
1
1
  import { ExtractPublicPropTypes, PropType, VNode } from 'vue';
2
- import { DataTableInst } from 'naive-ui';
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: {
4
6
  headerIconPlacement: {
5
7
  type: PropType<"left" | "right">;
@@ -9,10 +11,13 @@ export declare const bodenDataTableProps: {
9
11
  type: BooleanConstructor;
10
12
  default: boolean;
11
13
  };
14
+ footerClass: {
15
+ type: StringConstructor;
16
+ };
12
17
  transparent: BooleanConstructor;
13
18
  onUnstableColumnResize: PropType<(resizedWidth: number, limitedWidth: number, column: import('naive-ui').DataTableBaseColumn, getColumnWidth: (key: import('naive-ui').DataTableColumnKey) => number | undefined) => void>;
14
19
  pagination: {
15
- readonly type: PropType<false | import('naive-ui').PaginationProps>;
20
+ readonly type: PropType<false | PaginationProps>;
16
21
  readonly default: false;
17
22
  };
18
23
  paginateSinglePage: {
@@ -114,10 +119,10 @@ export declare const bodenDataTableProps: {
114
119
  getCsvCell: PropType<import('naive-ui').DataTableGetCsvCell>;
115
120
  getCsvHeader: PropType<import('naive-ui').DataTableGetCsvHeader>;
116
121
  onLoad: PropType<import('naive-ui/es/data-table/src/interface').DataTableOnLoad>;
117
- 'onUpdate:page': PropType<import('naive-ui').PaginationProps["onUpdate:page"]>;
118
- onUpdatePage: PropType<import('naive-ui').PaginationProps["onUpdate:page"]>;
119
- 'onUpdate:pageSize': PropType<import('naive-ui').PaginationProps["onUpdate:pageSize"]>;
120
- onUpdatePageSize: PropType<import('naive-ui').PaginationProps["onUpdate:pageSize"]>;
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"]>;
121
126
  'onUpdate:sorter': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter>>;
122
127
  onUpdateSorter: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter>>;
123
128
  'onUpdate:filters': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateFilters>>;
@@ -127,8 +132,8 @@ export declare const bodenDataTableProps: {
127
132
  'onUpdate:expandedRowKeys': PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateExpandedRowKeys>>;
128
133
  onUpdateExpandedRowKeys: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateExpandedRowKeys>>;
129
134
  onScroll: PropType<(e: Event) => void>;
130
- onPageChange: PropType<import('naive-ui').PaginationProps["onUpdate:page"]>;
131
- onPageSizeChange: PropType<import('naive-ui').PaginationProps["onUpdate:pageSize"]>;
135
+ onPageChange: PropType<PaginationProps["onUpdate:page"]>;
136
+ onPageSizeChange: PropType<PaginationProps["onUpdate:pageSize"]>;
132
137
  onSorterChange: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateSorter> | undefined>;
133
138
  onFiltersChange: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateFilters> | undefined>;
134
139
  onCheckedRowKeysChange: PropType<import('naive-ui/es/_utils').MaybeArray<import('naive-ui/es/data-table/src/interface').OnUpdateCheckedRowKeys> | undefined>;
@@ -2853,7 +2858,13 @@ export type BodenDataTableSlots = {
2853
2858
  default?: () => VNode[];
2854
2859
  empty?: () => VNode[];
2855
2860
  loading?: () => VNode[];
2861
+ footerLeft?: () => VNode[];
2856
2862
  };
2857
2863
  export type BodenDataTableInstance = DataTableInst & {
2858
2864
  $forwardComponent: DataTableInst;
2859
2865
  };
2866
+ export type DataTableInstComplete = DataTableInst & {
2867
+ mergedShowPagination?: boolean;
2868
+ mergedPagination?: PaginationProps;
2869
+ mergedTheme?: MergedTheme<Theme<'DataTable', DataTableThemeVars, DataTableTheme['peers']>>;
2870
+ };
@@ -9,6 +9,9 @@ const a = {
9
9
  type: Boolean,
10
10
  default: !0
11
11
  },
12
+ footerClass: {
13
+ type: String
14
+ },
12
15
  transparent: Boolean
13
16
  };
14
17
  export {
@@ -8,18 +8,19 @@ declare function __VLS_template(): {
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
10
  togglePlatform: (key: string) => any;
11
+ toggleLogo: () => any;
11
12
  toggleSystemTheme: (event: MouseEvent) => any;
12
13
  toggleSystemLang: () => any;
13
14
  toggleUserItem: (key: string | number, option: import('naive-ui').MenuOption) => any;
14
- toggleLogo: () => any;
15
15
  }, string, import('vue').PublicProps, Readonly<BodenGlobalHeaderProps> & Readonly<{
16
16
  onTogglePlatform?: ((key: string) => any) | undefined;
17
+ onToggleLogo?: (() => any) | undefined;
17
18
  onToggleSystemTheme?: ((event: MouseEvent) => any) | undefined;
18
19
  onToggleSystemLang?: (() => any) | undefined;
19
20
  onToggleUserItem?: ((key: string | number, option: import('naive-ui').MenuOption) => any) | undefined;
20
- onToggleLogo?: (() => any) | undefined;
21
21
  }>, {
22
22
  isShowProductIntroduction: boolean;
23
+ productIntroductionTriggerDisabled: boolean;
23
24
  isShowPlatformMenus: boolean;
24
25
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
26
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,10 +1,10 @@
1
- import { defineComponent as S, ref as c, computed as w, createBlock as p, openBlock as s, unref as m, withCtx as i, createVNode as u, renderSlot as g, createCommentVNode as L, createSlots as P } from "vue";
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
2
  import B from "./title.vue.mjs";
3
- import I from "../system-actions/index.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 v 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,14 +57,15 @@ 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 A 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 Oo = /* @__PURE__ */ S({
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: {},
@@ -72,8 +73,8 @@ const Oo = /* @__PURE__ */ S({
72
73
  isShowLogo: { type: Boolean }
73
74
  },
74
75
  emits: ["toggleSystemTheme", "toggleSystemLang", "toggleUserItem", "toggleLogo", "togglePlatform"],
75
- setup(e, { emit: a }) {
76
- const n = a, l = c("ADS"), d = w(() => [
76
+ setup(o, { emit: a }) {
77
+ const l = a, n = c("ADS"), d = I(() => [
77
78
  {
78
79
  key: "ADS",
79
80
  label: "ADS",
@@ -94,53 +95,55 @@ const Oo = /* @__PURE__ */ S({
94
95
  }
95
96
  ]), f = () => {
96
97
  }, y = () => {
97
- n("toggleLogo");
98
- }, h = (o) => {
99
- n("togglePlatform", o);
98
+ l("toggleLogo");
99
+ }, h = (t) => {
100
+ l("togglePlatform", t);
100
101
  };
101
- return (o, t) => (s(), p(m(v), null, {
102
+ return (t, e) => (s(), p(m(P), null, {
102
103
  title: i(() => [
103
104
  u(B, {
104
- "is-show-logo": e.isShowLogo,
105
- "is-show-product-introduction": e.isShowProductIntroduction,
106
- "header-height": e.headerHeight,
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,
107
110
  onToggleLogo: y,
108
111
  onTogglePlatform: h
109
- }, P({ _: 2 }, [
110
- o.$slots.logo ? {
112
+ }, w({ _: 2 }, [
113
+ t.$slots.logo ? {
111
114
  name: "logo",
112
115
  fn: i(() => [
113
- g(o.$slots, "logo")
116
+ g(t.$slots, "logo")
114
117
  ]),
115
118
  key: "0"
116
119
  } : void 0
117
- ]), 1032, ["is-show-logo", "is-show-product-introduction", "header-height"])
120
+ ]), 1032, ["is-show-logo", "is-show-product-introduction", "header-height", "platformCode", "productIntroductionTriggerDisabled"])
118
121
  ]),
119
122
  default: i(() => [
120
- g(o.$slots, "default", {}, () => [
121
- e.isShowPlatformMenus ? (s(), p(m(A), {
123
+ g(t.$slots, "default", {}, () => [
124
+ o.isShowPlatformMenus ? (s(), p(m(b), {
122
125
  key: 0,
123
126
  mode: "horizontal",
124
- value: l.value,
127
+ value: n.value,
125
128
  "onUpdate:value": [
126
- t[0] || (t[0] = (r) => l.value = r),
129
+ e[0] || (e[0] = (r) => n.value = r),
127
130
  f
128
131
  ],
129
132
  options: d.value,
130
133
  indent: 18,
131
134
  responsive: ""
132
- }, null, 8, ["value", "options"])) : L("", !0)
135
+ }, null, 8, ["value", "options"])) : T("", !0)
133
136
  ])
134
137
  ]),
135
138
  actions: i(() => [
136
- u(m(I), {
139
+ u(m(L), {
137
140
  style: { "margin-left": "auto" },
138
141
  mode: "horizontal",
139
- userActionOption: e.userActionOption,
140
- userInfo: e.userInfo,
141
- onToggleSystemTheme: t[1] || (t[1] = (r) => o.$emit("toggleSystemTheme", r)),
142
- onToggleSystemLang: t[2] || (t[2] = (r) => o.$emit("toggleSystemLang")),
143
- onToggleUserItem: t[3] || (t[3] = (...r) => o.$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))
144
147
  }, null, 8, ["userActionOption", "userInfo"])
145
148
  ]),
146
149
  _: 3
@@ -148,5 +151,5 @@ const Oo = /* @__PURE__ */ S({
148
151
  }
149
152
  });
150
153
  export {
151
- Oo as default
154
+ Ko as default
152
155
  };
@@ -1,13 +1,10 @@
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;
@@ -32,6 +29,8 @@ export type BodenGlobalHeaderTitleProps = {
32
29
  headerHeight?: number;
33
30
  isShowProductIntroduction?: boolean;
34
31
  isShowLogo?: boolean;
32
+ productIntroductionTriggerDisabled?: boolean;
33
+ platformCode?: Array<PLATFORM_ENUM>;
35
34
  };
36
35
  export type BodenGlobalHeaderTitleSlots = {
37
36
  logo?: () => VNode;
@@ -15,8 +15,10 @@ declare const __VLS_component: import('vue').DefineComponent<BodenGlobalHeaderTi
15
15
  onTogglePlatform?: ((...args: any[]) => any) | undefined;
16
16
  onToggleLogo?: ((...args: any[]) => any) | undefined;
17
17
  }>, {
18
+ platformCode: Array<import('../platform-navigation/interface').PLATFORM_ENUM>;
18
19
  isShowProductIntroduction: boolean;
19
20
  isShowLogo: boolean;
21
+ productIntroductionTriggerDisabled: boolean;
20
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
23
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
22
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 m = /* @__PURE__ */ e(o, [["__scopeId", "data-v-4e85360b"]]);
3
+ import t from "../../_virtual/_plugin-vue_export-helper.mjs";
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4ba88c64"]]);
5
5
  export {
6
6
  m as default
7
7
  };
@@ -1,48 +1,52 @@
1
- import { NDivider as v } from "naive-ui";
2
- import { defineComponent as p, computed as a, createElementBlock as s, createCommentVNode as t, openBlock as r, createBlock as k, Fragment as P, createVNode as d, createSlots as y, withCtx as S, renderSlot as w } from "vue";
3
- import B from "../product-introduction/index.vue.mjs";
4
- import C from "../logo/index.vue.mjs";
5
- import L from "../../hooks/useNaiveConfigProvideContext.mjs";
6
- const N = {
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
- }, M = /* @__PURE__ */ p({
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
18
  emits: ["toggleLogo", "togglePlatform"],
17
- setup(e, { emit: c }) {
18
- const n = e, i = c, g = L(), m = a(() => {
19
- const { name: o = "light" } = g?.mergedThemeRef.value || {};
20
- return o !== "light";
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";
21
23
  }), u = a(
22
- () => n.isShowLogo || n.isShowProductIntroduction
23
- ), f = (o) => {
24
- i("togglePlatform", o);
24
+ () => i.isShowLogo || i.isShowProductIntroduction
25
+ ), f = (e) => {
26
+ l("togglePlatform", e);
25
27
  };
26
- return (o, l) => {
27
- const h = v;
28
- return u.value ? (r(), s("div", N, [
29
- e.isShowProductIntroduction ? (r(), s(P, { key: 0 }, [
30
- d(B, {
31
- y: e.headerHeight,
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), {
32
33
  class: "pl-[20px]",
34
+ y: o.headerHeight,
35
+ platformCode: o.platformCode,
36
+ triggerDisabled: o.productIntroductionTriggerDisabled,
33
37
  onTogglePlatform: f
34
- }, null, 8, ["y"]),
35
- d(h, { vertical: "" })
38
+ }, null, 8, ["y", "platformCode", "triggerDisabled"]),
39
+ g(p, { vertical: "" })
36
40
  ], 64)) : t("", !0),
37
- e.isShowLogo ? (r(), k(C, {
41
+ o.isShowLogo ? (r(), k(w, {
38
42
  key: 1,
39
- isDarkMode: m.value,
40
- onToggleLogo: l[0] || (l[0] = (D) => i("toggleLogo"))
43
+ isDarkMode: c.value,
44
+ onToggleLogo: n[0] || (n[0] = (N) => l("toggleLogo"))
41
45
  }, y({ _: 2 }, [
42
- o.$slots.logo ? {
46
+ e.$slots.logo ? {
43
47
  name: "default",
44
- fn: S(() => [
45
- w(o.$slots, "logo", {}, void 0, !0)
48
+ fn: D(() => [
49
+ S(e.$slots, "logo", {}, void 0, !0)
46
50
  ]),
47
51
  key: "0"
48
52
  } : void 0
@@ -52,5 +56,5 @@ const N = {
52
56
  }
53
57
  });
54
58
  export {
55
- M as default
59
+ H as default
56
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,11 +1,13 @@
1
- import { BodenProductIntroductionProps } from './interface';
2
- declare const _default: import('vue').DefineComponent<BodenProductIntroductionProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1
+ import { BodenPlatformNavigationProps, PLATFORM_ENUM } from './interface';
2
+ declare const _default: import('vue').DefineComponent<BodenPlatformNavigationProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
3
  togglePlatform: (...args: any[]) => void;
4
- }, string, import('vue').PublicProps, Readonly<BodenProductIntroductionProps> & Readonly<{
4
+ }, string, import('vue').PublicProps, Readonly<BodenPlatformNavigationProps> & Readonly<{
5
5
  onTogglePlatform?: ((...args: any[]) => any) | undefined;
6
6
  }>, {
7
7
  x: number;
8
8
  y: number;
9
+ platformCode: PLATFORM_ENUM[];
10
+ triggerDisabled: boolean;
9
11
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
10
12
  triggerInstRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').BodenNavIconProps> & Readonly<{
11
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 a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-11e4376e"]]);
5
+ const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-5775127f"]]);
6
6
  export {
7
- a as default
7
+ i as default
8
8
  };