huibo-ui 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1214) hide show
  1. package/LICENSE +21 -0
  2. package/dist/cjs/a11y-802de67a.js +123 -0
  3. package/dist/cjs/a11y-802de67a.js.map +1 -0
  4. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  5. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  6. package/dist/cjs/click-outside-3fcc00dd.js +27 -0
  7. package/dist/cjs/click-outside-3fcc00dd.js.map +1 -0
  8. package/dist/cjs/date-helpers-904747ff.js +134 -0
  9. package/dist/cjs/date-helpers-904747ff.js.map +1 -0
  10. package/dist/cjs/hb-affix.cjs.entry.js +101 -0
  11. package/dist/cjs/hb-affix.cjs.entry.js.map +1 -0
  12. package/dist/cjs/hb-alert.cjs.entry.js +47 -0
  13. package/dist/cjs/hb-alert.cjs.entry.js.map +1 -0
  14. package/dist/cjs/hb-anchor.cjs.entry.js +46 -0
  15. package/dist/cjs/hb-anchor.cjs.entry.js.map +1 -0
  16. package/dist/cjs/hb-aside.cjs.entry.js +30 -0
  17. package/dist/cjs/hb-aside.cjs.entry.js.map +1 -0
  18. package/dist/cjs/hb-avatar.cjs.entry.js +31 -0
  19. package/dist/cjs/hb-avatar.cjs.entry.js.map +1 -0
  20. package/dist/cjs/hb-backtop.cjs.entry.js +100 -0
  21. package/dist/cjs/hb-backtop.cjs.entry.js.map +1 -0
  22. package/dist/cjs/hb-badge.cjs.entry.js +35 -0
  23. package/dist/cjs/hb-badge.cjs.entry.js.map +1 -0
  24. package/dist/cjs/hb-breadcrumb-item.cjs.entry.js +25 -0
  25. package/dist/cjs/hb-breadcrumb-item.cjs.entry.js.map +1 -0
  26. package/dist/cjs/hb-breadcrumb.cjs.entry.js +24 -0
  27. package/dist/cjs/hb-breadcrumb.cjs.entry.js.map +1 -0
  28. package/dist/cjs/hb-button.cjs.entry.js +39 -0
  29. package/dist/cjs/hb-button.cjs.entry.js.map +1 -0
  30. package/dist/cjs/hb-calendar.cjs.entry.js +90 -0
  31. package/dist/cjs/hb-calendar.cjs.entry.js.map +1 -0
  32. package/dist/cjs/hb-card.cjs.entry.js +27 -0
  33. package/dist/cjs/hb-card.cjs.entry.js.map +1 -0
  34. package/dist/cjs/hb-carousel.cjs.entry.js +150 -0
  35. package/dist/cjs/hb-carousel.cjs.entry.js.map +1 -0
  36. package/dist/cjs/hb-cascader.cjs.entry.js +413 -0
  37. package/dist/cjs/hb-cascader.cjs.entry.js.map +1 -0
  38. package/dist/cjs/hb-checkbox-group.cjs.entry.js +117 -0
  39. package/dist/cjs/hb-checkbox-group.cjs.entry.js.map +1 -0
  40. package/dist/cjs/hb-checkbox.cjs.entry.js +130 -0
  41. package/dist/cjs/hb-checkbox.cjs.entry.js.map +1 -0
  42. package/dist/cjs/hb-collapse-item.cjs.entry.js +58 -0
  43. package/dist/cjs/hb-collapse-item.cjs.entry.js.map +1 -0
  44. package/dist/cjs/hb-collapse.cjs.entry.js +41 -0
  45. package/dist/cjs/hb-collapse.cjs.entry.js.map +1 -0
  46. package/dist/cjs/hb-color-picker-panel.cjs.entry.js +86 -0
  47. package/dist/cjs/hb-color-picker-panel.cjs.entry.js.map +1 -0
  48. package/dist/cjs/hb-color-picker.cjs.entry.js +265 -0
  49. package/dist/cjs/hb-color-picker.cjs.entry.js.map +1 -0
  50. package/dist/cjs/hb-config-provider.cjs.entry.js +44 -0
  51. package/dist/cjs/hb-config-provider.cjs.entry.js.map +1 -0
  52. package/dist/cjs/hb-container.cjs.entry.js +30 -0
  53. package/dist/cjs/hb-container.cjs.entry.js.map +1 -0
  54. package/dist/cjs/hb-date-picker-pane.cjs.entry.js +150 -0
  55. package/dist/cjs/hb-date-picker-pane.cjs.entry.js.map +1 -0
  56. package/dist/cjs/hb-date-picker.cjs.entry.js +138 -0
  57. package/dist/cjs/hb-date-picker.cjs.entry.js.map +1 -0
  58. package/dist/cjs/hb-date-range-picker.cjs.entry.js +222 -0
  59. package/dist/cjs/hb-date-range-picker.cjs.entry.js.map +1 -0
  60. package/dist/cjs/hb-date-time-picker.cjs.entry.js +140 -0
  61. package/dist/cjs/hb-date-time-picker.cjs.entry.js.map +1 -0
  62. package/dist/cjs/hb-descriptions.cjs.entry.js +32 -0
  63. package/dist/cjs/hb-descriptions.cjs.entry.js.map +1 -0
  64. package/dist/cjs/hb-dialog.cjs.entry.js +114 -0
  65. package/dist/cjs/hb-dialog.cjs.entry.js.map +1 -0
  66. package/dist/cjs/hb-divider.cjs.entry.js +36 -0
  67. package/dist/cjs/hb-divider.cjs.entry.js.map +1 -0
  68. package/dist/cjs/hb-drawer.cjs.entry.js +89 -0
  69. package/dist/cjs/hb-drawer.cjs.entry.js.map +1 -0
  70. package/dist/cjs/hb-dropdown.cjs.entry.js +80 -0
  71. package/dist/cjs/hb-dropdown.cjs.entry.js.map +1 -0
  72. package/dist/cjs/hb-empty.cjs.entry.js +24 -0
  73. package/dist/cjs/hb-empty.cjs.entry.js.map +1 -0
  74. package/dist/cjs/hb-float-button.cjs.entry.js +57 -0
  75. package/dist/cjs/hb-float-button.cjs.entry.js.map +1 -0
  76. package/dist/cjs/hb-footer.cjs.entry.js +30 -0
  77. package/dist/cjs/hb-footer.cjs.entry.js.map +1 -0
  78. package/dist/cjs/hb-form-item.cjs.entry.js +112 -0
  79. package/dist/cjs/hb-form-item.cjs.entry.js.map +1 -0
  80. package/dist/cjs/hb-form.cjs.entry.js +70 -0
  81. package/dist/cjs/hb-form.cjs.entry.js.map +1 -0
  82. package/dist/cjs/hb-header.cjs.entry.js +30 -0
  83. package/dist/cjs/hb-header.cjs.entry.js.map +1 -0
  84. package/dist/cjs/hb-icon.cjs.entry.js +76 -0
  85. package/dist/cjs/hb-icon.cjs.entry.js.map +1 -0
  86. package/dist/cjs/hb-image-preview.cjs.entry.js +179 -0
  87. package/dist/cjs/hb-image-preview.cjs.entry.js.map +1 -0
  88. package/dist/cjs/hb-image.cjs.entry.js +35 -0
  89. package/dist/cjs/hb-image.cjs.entry.js.map +1 -0
  90. package/dist/cjs/hb-input-number.cjs.entry.js +169 -0
  91. package/dist/cjs/hb-input-number.cjs.entry.js.map +1 -0
  92. package/dist/cjs/hb-input-tag.cjs.entry.js +145 -0
  93. package/dist/cjs/hb-input-tag.cjs.entry.js.map +1 -0
  94. package/dist/cjs/hb-input.cjs.entry.js +252 -0
  95. package/dist/cjs/hb-input.cjs.entry.js.map +1 -0
  96. package/dist/cjs/hb-layout.cjs.entry.js +78 -0
  97. package/dist/cjs/hb-layout.cjs.entry.js.map +1 -0
  98. package/dist/cjs/hb-link.cjs.entry.js +67 -0
  99. package/dist/cjs/hb-link.cjs.entry.js.map +1 -0
  100. package/dist/cjs/hb-loading.cjs.entry.js +32 -0
  101. package/dist/cjs/hb-loading.cjs.entry.js.map +1 -0
  102. package/dist/cjs/hb-main.cjs.entry.js +22 -0
  103. package/dist/cjs/hb-main.cjs.entry.js.map +1 -0
  104. package/dist/cjs/hb-menu-item.cjs.entry.js +50 -0
  105. package/dist/cjs/hb-menu-item.cjs.entry.js.map +1 -0
  106. package/dist/cjs/hb-menu.cjs.entry.js +87 -0
  107. package/dist/cjs/hb-menu.cjs.entry.js.map +1 -0
  108. package/dist/cjs/hb-message.cjs.entry.js +48 -0
  109. package/dist/cjs/hb-message.cjs.entry.js.map +1 -0
  110. package/dist/cjs/hb-notification.cjs.entry.js +67 -0
  111. package/dist/cjs/hb-notification.cjs.entry.js.map +1 -0
  112. package/dist/cjs/hb-page-header.cjs.entry.js +37 -0
  113. package/dist/cjs/hb-page-header.cjs.entry.js.map +1 -0
  114. package/dist/cjs/hb-pagination.cjs.entry.js +107 -0
  115. package/dist/cjs/hb-pagination.cjs.entry.js.map +1 -0
  116. package/dist/cjs/hb-popconfirm.cjs.entry.js +51 -0
  117. package/dist/cjs/hb-popconfirm.cjs.entry.js.map +1 -0
  118. package/dist/cjs/hb-popover.cjs.entry.js +59 -0
  119. package/dist/cjs/hb-popover.cjs.entry.js.map +1 -0
  120. package/dist/cjs/hb-progress.cjs.entry.js +39 -0
  121. package/dist/cjs/hb-progress.cjs.entry.js.map +1 -0
  122. package/dist/cjs/hb-radio.cjs.entry.js +119 -0
  123. package/dist/cjs/hb-radio.cjs.entry.js.map +1 -0
  124. package/dist/cjs/hb-rate.cjs.entry.js +132 -0
  125. package/dist/cjs/hb-rate.cjs.entry.js.map +1 -0
  126. package/dist/cjs/hb-result.cjs.entry.js +57 -0
  127. package/dist/cjs/hb-result.cjs.entry.js.map +1 -0
  128. package/dist/cjs/hb-row.cjs.entry.js +57 -0
  129. package/dist/cjs/hb-row.cjs.entry.js.map +1 -0
  130. package/dist/cjs/hb-scrollbar.cjs.entry.js +204 -0
  131. package/dist/cjs/hb-scrollbar.cjs.entry.js.map +1 -0
  132. package/dist/cjs/hb-segmented.cjs.entry.js +43 -0
  133. package/dist/cjs/hb-segmented.cjs.entry.js.map +1 -0
  134. package/dist/cjs/hb-select.cjs.entry.js +262 -0
  135. package/dist/cjs/hb-select.cjs.entry.js.map +1 -0
  136. package/dist/cjs/hb-skeleton.cjs.entry.js +53 -0
  137. package/dist/cjs/hb-skeleton.cjs.entry.js.map +1 -0
  138. package/dist/cjs/hb-slider.cjs.entry.js +172 -0
  139. package/dist/cjs/hb-slider.cjs.entry.js.map +1 -0
  140. package/dist/cjs/hb-space.cjs.entry.js +72 -0
  141. package/dist/cjs/hb-space.cjs.entry.js.map +1 -0
  142. package/dist/cjs/hb-statistic.cjs.entry.js +66 -0
  143. package/dist/cjs/hb-statistic.cjs.entry.js.map +1 -0
  144. package/dist/cjs/hb-step.cjs.entry.js +24 -0
  145. package/dist/cjs/hb-step.cjs.entry.js.map +1 -0
  146. package/dist/cjs/hb-steps.cjs.entry.js +50 -0
  147. package/dist/cjs/hb-steps.cjs.entry.js.map +1 -0
  148. package/dist/cjs/hb-sub-menu.cjs.entry.js +70 -0
  149. package/dist/cjs/hb-sub-menu.cjs.entry.js.map +1 -0
  150. package/dist/cjs/hb-switch.cjs.entry.js +92 -0
  151. package/dist/cjs/hb-switch.cjs.entry.js.map +1 -0
  152. package/dist/cjs/hb-tab-pane.cjs.entry.js +26 -0
  153. package/dist/cjs/hb-tab-pane.cjs.entry.js.map +1 -0
  154. package/dist/cjs/hb-table.cjs.entry.js +370 -0
  155. package/dist/cjs/hb-table.cjs.entry.js.map +1 -0
  156. package/dist/cjs/hb-tabs.cjs.entry.js +115 -0
  157. package/dist/cjs/hb-tabs.cjs.entry.js.map +1 -0
  158. package/dist/cjs/hb-tag.cjs.entry.js +45 -0
  159. package/dist/cjs/hb-tag.cjs.entry.js.map +1 -0
  160. package/dist/cjs/hb-text.cjs.entry.js +60 -0
  161. package/dist/cjs/hb-text.cjs.entry.js.map +1 -0
  162. package/dist/cjs/hb-time-picker.cjs.entry.js +147 -0
  163. package/dist/cjs/hb-time-picker.cjs.entry.js.map +1 -0
  164. package/dist/cjs/hb-time-select.cjs.entry.js +145 -0
  165. package/dist/cjs/hb-time-select.cjs.entry.js.map +1 -0
  166. package/dist/cjs/hb-timeline.cjs.entry.js +30 -0
  167. package/dist/cjs/hb-timeline.cjs.entry.js.map +1 -0
  168. package/dist/cjs/hb-tooltip.cjs.entry.js +74 -0
  169. package/dist/cjs/hb-tooltip.cjs.entry.js.map +1 -0
  170. package/dist/cjs/hb-tour.cjs.entry.js +119 -0
  171. package/dist/cjs/hb-tour.cjs.entry.js.map +1 -0
  172. package/dist/cjs/hb-transfer.cjs.entry.js +173 -0
  173. package/dist/cjs/hb-transfer.cjs.entry.js.map +1 -0
  174. package/dist/cjs/hb-tree-select.cjs.entry.js +236 -0
  175. package/dist/cjs/hb-tree-select.cjs.entry.js.map +1 -0
  176. package/dist/cjs/hb-tree.cjs.entry.js +313 -0
  177. package/dist/cjs/hb-tree.cjs.entry.js.map +1 -0
  178. package/dist/cjs/hb-upload.cjs.entry.js +184 -0
  179. package/dist/cjs/hb-upload.cjs.entry.js.map +1 -0
  180. package/dist/cjs/hb-watermark.cjs.entry.js +59 -0
  181. package/dist/cjs/hb-watermark.cjs.entry.js.map +1 -0
  182. package/dist/cjs/huibo-ui.cjs.js +27 -0
  183. package/dist/cjs/huibo-ui.cjs.js.map +1 -0
  184. package/dist/cjs/index-5aa5c817.js +1915 -0
  185. package/dist/cjs/index-5aa5c817.js.map +1 -0
  186. package/dist/cjs/index.cjs.js +4 -0
  187. package/dist/cjs/index.cjs.js.map +1 -0
  188. package/dist/cjs/loader.cjs.js +17 -0
  189. package/dist/cjs/loader.cjs.js.map +1 -0
  190. package/dist/cjs/popup-manager-cde53b2f.js +83 -0
  191. package/dist/cjs/popup-manager-cde53b2f.js.map +1 -0
  192. package/dist/collection/collection-manifest.json +97 -0
  193. package/dist/collection/components/Affix/Affix.js +197 -0
  194. package/dist/collection/components/Affix/Affix.js.map +1 -0
  195. package/dist/collection/components/Affix/affix.css +15 -0
  196. package/dist/collection/components/Alert/Alert.js +193 -0
  197. package/dist/collection/components/Alert/Alert.js.map +1 -0
  198. package/dist/collection/components/Alert/alert.css +20 -0
  199. package/dist/collection/components/Anchor/Anchor.js +142 -0
  200. package/dist/collection/components/Anchor/Anchor.js.map +1 -0
  201. package/dist/collection/components/Anchor/anchor.css +53 -0
  202. package/dist/collection/components/Avatar/Avatar.js +129 -0
  203. package/dist/collection/components/Avatar/Avatar.js.map +1 -0
  204. package/dist/collection/components/Avatar/avatar.css +9 -0
  205. package/dist/collection/components/Backtop/Backtop.js +236 -0
  206. package/dist/collection/components/Backtop/Backtop.js.map +1 -0
  207. package/dist/collection/components/Backtop/backtop.css +33 -0
  208. package/dist/collection/components/Badge/Badge.js +136 -0
  209. package/dist/collection/components/Badge/Badge.js.map +1 -0
  210. package/dist/collection/components/Badge/badge.css +17 -0
  211. package/dist/collection/components/Breadcrumb/Breadcrumb.js +49 -0
  212. package/dist/collection/components/Breadcrumb/Breadcrumb.js.map +1 -0
  213. package/dist/collection/components/Breadcrumb/BreadcrumbItem.js +43 -0
  214. package/dist/collection/components/Breadcrumb/BreadcrumbItem.js.map +1 -0
  215. package/dist/collection/components/Breadcrumb/breadcrumb.css +10 -0
  216. package/dist/collection/components/Button/Button.js +144 -0
  217. package/dist/collection/components/Button/Button.js.map +1 -0
  218. package/dist/collection/components/Button/button.css +127 -0
  219. package/dist/collection/components/Calendar/Calendar.js +185 -0
  220. package/dist/collection/components/Calendar/Calendar.js.map +1 -0
  221. package/dist/collection/components/Calendar/calendar.css +101 -0
  222. package/dist/collection/components/Card/Card.js +67 -0
  223. package/dist/collection/components/Card/Card.js.map +1 -0
  224. package/dist/collection/components/Card/card.css +17 -0
  225. package/dist/collection/components/Carousel/Carousel.js +312 -0
  226. package/dist/collection/components/Carousel/Carousel.js.map +1 -0
  227. package/dist/collection/components/Carousel/carousel.css +96 -0
  228. package/dist/collection/components/Cascader/Cascader.js +773 -0
  229. package/dist/collection/components/Cascader/Cascader.js.map +1 -0
  230. package/dist/collection/components/Cascader/cascader.css +276 -0
  231. package/dist/collection/components/Checkbox/Checkbox.js +372 -0
  232. package/dist/collection/components/Checkbox/Checkbox.js.map +1 -0
  233. package/dist/collection/components/Checkbox/CheckboxGroup.js +276 -0
  234. package/dist/collection/components/Checkbox/CheckboxGroup.js.map +1 -0
  235. package/dist/collection/components/Checkbox/checkbox-group.css +17 -0
  236. package/dist/collection/components/Checkbox/checkbox.css +179 -0
  237. package/dist/collection/components/Collapse/Collapse.js +63 -0
  238. package/dist/collection/components/Collapse/Collapse.js.map +1 -0
  239. package/dist/collection/components/Collapse/CollapseItem.js +142 -0
  240. package/dist/collection/components/Collapse/CollapseItem.js.map +1 -0
  241. package/dist/collection/components/Collapse/collapse.css +2 -0
  242. package/dist/collection/components/ColorPicker/ColorPicker.js +416 -0
  243. package/dist/collection/components/ColorPicker/ColorPicker.js.map +1 -0
  244. package/dist/collection/components/ColorPicker/color-picker.css +203 -0
  245. package/dist/collection/components/ColorPickerPanel/ColorPickerPanel.js +195 -0
  246. package/dist/collection/components/ColorPickerPanel/ColorPickerPanel.js.map +1 -0
  247. package/dist/collection/components/ColorPickerPanel/color-picker-panel.css +127 -0
  248. package/dist/collection/components/ConfigProvider/ConfigProvider.js +103 -0
  249. package/dist/collection/components/ConfigProvider/ConfigProvider.js.map +1 -0
  250. package/dist/collection/components/Container/Aside.js +54 -0
  251. package/dist/collection/components/Container/Aside.js.map +1 -0
  252. package/dist/collection/components/Container/Container.js +58 -0
  253. package/dist/collection/components/Container/Container.js.map +1 -0
  254. package/dist/collection/components/Container/Footer.js +54 -0
  255. package/dist/collection/components/Container/Footer.js.map +1 -0
  256. package/dist/collection/components/Container/Header.js +54 -0
  257. package/dist/collection/components/Container/Header.js.map +1 -0
  258. package/dist/collection/components/Container/Main.js +23 -0
  259. package/dist/collection/components/Container/Main.js.map +1 -0
  260. package/dist/collection/components/Container/aside.css +15 -0
  261. package/dist/collection/components/Container/container.css +41 -0
  262. package/dist/collection/components/Container/footer.css +15 -0
  263. package/dist/collection/components/Container/header.css +15 -0
  264. package/dist/collection/components/Container/main.css +14 -0
  265. package/dist/collection/components/DatePicker/DatePicker.js +402 -0
  266. package/dist/collection/components/DatePicker/DatePicker.js.map +1 -0
  267. package/dist/collection/components/DatePicker/date-picker.css +209 -0
  268. package/dist/collection/components/DatePickerPane/DatePickerPane.js +276 -0
  269. package/dist/collection/components/DatePickerPane/DatePickerPane.js.map +1 -0
  270. package/dist/collection/components/DatePickerPane/date-picker-pane.css +140 -0
  271. package/dist/collection/components/DateRangePicker/DateRangePicker.js +438 -0
  272. package/dist/collection/components/DateRangePicker/DateRangePicker.js.map +1 -0
  273. package/dist/collection/components/DateRangePicker/date-range-picker.css +200 -0
  274. package/dist/collection/components/DateTimePicker/DateTimePicker.js +341 -0
  275. package/dist/collection/components/DateTimePicker/DateTimePicker.js.map +1 -0
  276. package/dist/collection/components/DateTimePicker/date-time-picker.css +168 -0
  277. package/dist/collection/components/Descriptions/Descriptions.js +141 -0
  278. package/dist/collection/components/Descriptions/Descriptions.js.map +1 -0
  279. package/dist/collection/components/Descriptions/descriptions.css +52 -0
  280. package/dist/collection/components/Dialog/Dialog.js +348 -0
  281. package/dist/collection/components/Dialog/Dialog.js.map +1 -0
  282. package/dist/collection/components/Dialog/dialog.css +113 -0
  283. package/dist/collection/components/Divider/Divider.js +102 -0
  284. package/dist/collection/components/Divider/Divider.js.map +1 -0
  285. package/dist/collection/components/Divider/divider.css +40 -0
  286. package/dist/collection/components/Drawer/Drawer.js +289 -0
  287. package/dist/collection/components/Drawer/Drawer.js.map +1 -0
  288. package/dist/collection/components/Drawer/drawer.css +18 -0
  289. package/dist/collection/components/Dropdown/Dropdown.js +172 -0
  290. package/dist/collection/components/Dropdown/Dropdown.js.map +1 -0
  291. package/dist/collection/components/Dropdown/dropdown.css +62 -0
  292. package/dist/collection/components/Empty/Empty.js +64 -0
  293. package/dist/collection/components/Empty/Empty.js.map +1 -0
  294. package/dist/collection/components/Empty/empty.css +6 -0
  295. package/dist/collection/components/FloatButton/FloatButton.js +223 -0
  296. package/dist/collection/components/FloatButton/FloatButton.js.map +1 -0
  297. package/dist/collection/components/FloatButton/float-button.css +101 -0
  298. package/dist/collection/components/Form/Form.js +271 -0
  299. package/dist/collection/components/Form/Form.js.map +1 -0
  300. package/dist/collection/components/Form/FormItem.js +300 -0
  301. package/dist/collection/components/Form/FormItem.js.map +1 -0
  302. package/dist/collection/components/Form/form-item.css +43 -0
  303. package/dist/collection/components/Form/form.css +15 -0
  304. package/dist/collection/components/Icon/Icon.js +162 -0
  305. package/dist/collection/components/Icon/Icon.js.map +1 -0
  306. package/dist/collection/components/Icon/icon.css +43 -0
  307. package/dist/collection/components/Image/Image.js +200 -0
  308. package/dist/collection/components/Image/Image.js.map +1 -0
  309. package/dist/collection/components/Image/image.css +7 -0
  310. package/dist/collection/components/ImagePreview/ImagePreview.js +371 -0
  311. package/dist/collection/components/ImagePreview/ImagePreview.js.map +1 -0
  312. package/dist/collection/components/ImagePreview/image-preview.css +125 -0
  313. package/dist/collection/components/Input/Input.js +717 -0
  314. package/dist/collection/components/Input/Input.js.map +1 -0
  315. package/dist/collection/components/Input/input.css +144 -0
  316. package/dist/collection/components/InputNumber/InputNumber.js +510 -0
  317. package/dist/collection/components/InputNumber/InputNumber.js.map +1 -0
  318. package/dist/collection/components/InputNumber/input-number.css +168 -0
  319. package/dist/collection/components/InputTag/InputTag.js +427 -0
  320. package/dist/collection/components/InputTag/InputTag.js.map +1 -0
  321. package/dist/collection/components/InputTag/input-tag.css +159 -0
  322. package/dist/collection/components/Layout/Layout.js +270 -0
  323. package/dist/collection/components/Layout/Layout.js.map +1 -0
  324. package/dist/collection/components/Layout/Row.js +147 -0
  325. package/dist/collection/components/Layout/Row.js.map +1 -0
  326. package/dist/collection/components/Layout/layout.css +89 -0
  327. package/dist/collection/components/Layout/row.css +56 -0
  328. package/dist/collection/components/Link/Link.js +220 -0
  329. package/dist/collection/components/Link/Link.js.map +1 -0
  330. package/dist/collection/components/Link/link.css +87 -0
  331. package/dist/collection/components/Loading/Loading.js +96 -0
  332. package/dist/collection/components/Loading/Loading.js.map +1 -0
  333. package/dist/collection/components/Loading/loading.css +58 -0
  334. package/dist/collection/components/Menu/Menu.js +246 -0
  335. package/dist/collection/components/Menu/Menu.js.map +1 -0
  336. package/dist/collection/components/Menu/MenuItem.js +128 -0
  337. package/dist/collection/components/Menu/MenuItem.js.map +1 -0
  338. package/dist/collection/components/Menu/SubMenu.js +140 -0
  339. package/dist/collection/components/Menu/SubMenu.js.map +1 -0
  340. package/dist/collection/components/Menu/menu.css +143 -0
  341. package/dist/collection/components/Message/Message.js +139 -0
  342. package/dist/collection/components/Message/Message.js.map +1 -0
  343. package/dist/collection/components/Message/show-message.js +24 -0
  344. package/dist/collection/components/Message/show-message.js.map +1 -0
  345. package/dist/collection/components/Notification/Notification.js +262 -0
  346. package/dist/collection/components/Notification/Notification.js.map +1 -0
  347. package/dist/collection/components/Notification/notification.css +160 -0
  348. package/dist/collection/components/Notification/notify.js +53 -0
  349. package/dist/collection/components/Notification/notify.js.map +1 -0
  350. package/dist/collection/components/PageHeader/PageHeader.js +139 -0
  351. package/dist/collection/components/PageHeader/PageHeader.js.map +1 -0
  352. package/dist/collection/components/PageHeader/page-header.css +39 -0
  353. package/dist/collection/components/Pagination/Pagination.js +309 -0
  354. package/dist/collection/components/Pagination/Pagination.js.map +1 -0
  355. package/dist/collection/components/Pagination/pagination.css +83 -0
  356. package/dist/collection/components/Popconfirm/Popconfirm.js +185 -0
  357. package/dist/collection/components/Popconfirm/Popconfirm.js.map +1 -0
  358. package/dist/collection/components/Popconfirm/popconfirm.css +20 -0
  359. package/dist/collection/components/Popover/Popover.js +173 -0
  360. package/dist/collection/components/Popover/Popover.js.map +1 -0
  361. package/dist/collection/components/Popover/popover.css +10 -0
  362. package/dist/collection/components/Progress/Progress.js +139 -0
  363. package/dist/collection/components/Progress/Progress.js.map +1 -0
  364. package/dist/collection/components/Progress/progress.css +5 -0
  365. package/dist/collection/components/Radio/Radio.js +338 -0
  366. package/dist/collection/components/Radio/Radio.js.map +1 -0
  367. package/dist/collection/components/Radio/radio.css +158 -0
  368. package/dist/collection/components/Rate/Rate.js +357 -0
  369. package/dist/collection/components/Rate/Rate.js.map +1 -0
  370. package/dist/collection/components/Rate/rate.css +56 -0
  371. package/dist/collection/components/Result/Result.js +146 -0
  372. package/dist/collection/components/Result/Result.js.map +1 -0
  373. package/dist/collection/components/Result/result.css +47 -0
  374. package/dist/collection/components/Scrollbar/Scrollbar.js +426 -0
  375. package/dist/collection/components/Scrollbar/Scrollbar.js.map +1 -0
  376. package/dist/collection/components/Scrollbar/scrollbar.css +85 -0
  377. package/dist/collection/components/Segmented/Segmented.js +149 -0
  378. package/dist/collection/components/Segmented/Segmented.js.map +1 -0
  379. package/dist/collection/components/Segmented/segmented.css +46 -0
  380. package/dist/collection/components/Select/Select.js +595 -0
  381. package/dist/collection/components/Select/Select.js.map +1 -0
  382. package/dist/collection/components/Select/select.css +223 -0
  383. package/dist/collection/components/Skeleton/Skeleton.js +178 -0
  384. package/dist/collection/components/Skeleton/Skeleton.js.map +1 -0
  385. package/dist/collection/components/Skeleton/skeleton.css +59 -0
  386. package/dist/collection/components/Slider/Slider.js +434 -0
  387. package/dist/collection/components/Slider/Slider.js.map +1 -0
  388. package/dist/collection/components/Slider/slider.css +141 -0
  389. package/dist/collection/components/Space/Space.js +212 -0
  390. package/dist/collection/components/Space/Space.js.map +1 -0
  391. package/dist/collection/components/Space/space.css +57 -0
  392. package/dist/collection/components/Statistic/Statistic.js +188 -0
  393. package/dist/collection/components/Statistic/Statistic.js.map +1 -0
  394. package/dist/collection/components/Statistic/statistic.css +32 -0
  395. package/dist/collection/components/Steps/Step.js +95 -0
  396. package/dist/collection/components/Steps/Step.js.map +1 -0
  397. package/dist/collection/components/Steps/Steps.js +137 -0
  398. package/dist/collection/components/Steps/Steps.js.map +1 -0
  399. package/dist/collection/components/Steps/steps.css +25 -0
  400. package/dist/collection/components/Switch/Switch.js +324 -0
  401. package/dist/collection/components/Switch/Switch.js.map +1 -0
  402. package/dist/collection/components/Switch/switch.css +85 -0
  403. package/dist/collection/components/Table/Table.js +860 -0
  404. package/dist/collection/components/Table/Table.js.map +1 -0
  405. package/dist/collection/components/Table/table.css +289 -0
  406. package/dist/collection/components/Tabs/TabPane.js +82 -0
  407. package/dist/collection/components/Tabs/TabPane.js.map +1 -0
  408. package/dist/collection/components/Tabs/Tabs.js +221 -0
  409. package/dist/collection/components/Tabs/Tabs.js.map +1 -0
  410. package/dist/collection/components/Tabs/tabs.css +66 -0
  411. package/dist/collection/components/Tag/Tag.js +167 -0
  412. package/dist/collection/components/Tag/Tag.js.map +1 -0
  413. package/dist/collection/components/Tag/tag.css +71 -0
  414. package/dist/collection/components/Text/Text.js +203 -0
  415. package/dist/collection/components/Text/Text.js.map +1 -0
  416. package/dist/collection/components/Text/text.css +61 -0
  417. package/dist/collection/components/TimePicker/TimePicker.js +348 -0
  418. package/dist/collection/components/TimePicker/TimePicker.js.map +1 -0
  419. package/dist/collection/components/TimePicker/time-picker.css +151 -0
  420. package/dist/collection/components/TimeSelect/TimeSelect.js +389 -0
  421. package/dist/collection/components/TimeSelect/TimeSelect.js.map +1 -0
  422. package/dist/collection/components/TimeSelect/time-select.css +139 -0
  423. package/dist/collection/components/Timeline/Timeline.js +79 -0
  424. package/dist/collection/components/Timeline/Timeline.js.map +1 -0
  425. package/dist/collection/components/Timeline/timeline.css +71 -0
  426. package/dist/collection/components/Tooltip/Tooltip.js +192 -0
  427. package/dist/collection/components/Tooltip/Tooltip.js.map +1 -0
  428. package/dist/collection/components/Tooltip/tooltip.css +40 -0
  429. package/dist/collection/components/Tour/Tour.js +225 -0
  430. package/dist/collection/components/Tour/Tour.js.map +1 -0
  431. package/dist/collection/components/Tour/tour.css +117 -0
  432. package/dist/collection/components/Transfer/Transfer.js +331 -0
  433. package/dist/collection/components/Transfer/Transfer.js.map +1 -0
  434. package/dist/collection/components/Transfer/transfer.css +183 -0
  435. package/dist/collection/components/Tree/Tree.js +527 -0
  436. package/dist/collection/components/Tree/Tree.js.map +1 -0
  437. package/dist/collection/components/Tree/tree.css +132 -0
  438. package/dist/collection/components/TreeSelect/TreeSelect.js +440 -0
  439. package/dist/collection/components/TreeSelect/TreeSelect.js.map +1 -0
  440. package/dist/collection/components/TreeSelect/tree-select.css +209 -0
  441. package/dist/collection/components/Upload/Upload.js +504 -0
  442. package/dist/collection/components/Upload/Upload.js.map +1 -0
  443. package/dist/collection/components/Upload/upload.css +16 -0
  444. package/dist/collection/components/Watermark/Watermark.js +205 -0
  445. package/dist/collection/components/Watermark/Watermark.js.map +1 -0
  446. package/dist/collection/components/Watermark/watermark.css +26 -0
  447. package/dist/collection/index.js +2 -0
  448. package/dist/collection/index.js.map +1 -0
  449. package/dist/collection/utils/a11y.js +130 -0
  450. package/dist/collection/utils/a11y.js.map +1 -0
  451. package/dist/collection/utils/click-outside.js +22 -0
  452. package/dist/collection/utils/click-outside.js.map +1 -0
  453. package/dist/collection/utils/date-helpers.js +120 -0
  454. package/dist/collection/utils/date-helpers.js.map +1 -0
  455. package/dist/collection/utils/form-input-base.js +48 -0
  456. package/dist/collection/utils/form-input-base.js.map +1 -0
  457. package/dist/collection/utils/popup-manager.js +75 -0
  458. package/dist/collection/utils/popup-manager.js.map +1 -0
  459. package/dist/components/hb-affix.d.ts +11 -0
  460. package/dist/components/hb-affix.js +121 -0
  461. package/dist/components/hb-affix.js.map +1 -0
  462. package/dist/components/hb-alert.d.ts +11 -0
  463. package/dist/components/hb-alert.js +70 -0
  464. package/dist/components/hb-alert.js.map +1 -0
  465. package/dist/components/hb-anchor.d.ts +11 -0
  466. package/dist/components/hb-anchor.js +66 -0
  467. package/dist/components/hb-anchor.js.map +1 -0
  468. package/dist/components/hb-aside.d.ts +11 -0
  469. package/dist/components/hb-aside.js +47 -0
  470. package/dist/components/hb-aside.js.map +1 -0
  471. package/dist/components/hb-avatar.d.ts +11 -0
  472. package/dist/components/hb-avatar.js +52 -0
  473. package/dist/components/hb-avatar.js.map +1 -0
  474. package/dist/components/hb-backtop.d.ts +11 -0
  475. package/dist/components/hb-backtop.js +122 -0
  476. package/dist/components/hb-backtop.js.map +1 -0
  477. package/dist/components/hb-badge.d.ts +11 -0
  478. package/dist/components/hb-badge.js +56 -0
  479. package/dist/components/hb-badge.js.map +1 -0
  480. package/dist/components/hb-breadcrumb-item.d.ts +11 -0
  481. package/dist/components/hb-breadcrumb-item.js +42 -0
  482. package/dist/components/hb-breadcrumb-item.js.map +1 -0
  483. package/dist/components/hb-breadcrumb.d.ts +11 -0
  484. package/dist/components/hb-breadcrumb.js +41 -0
  485. package/dist/components/hb-breadcrumb.js.map +1 -0
  486. package/dist/components/hb-button.d.ts +11 -0
  487. package/dist/components/hb-button.js +60 -0
  488. package/dist/components/hb-button.js.map +1 -0
  489. package/dist/components/hb-calendar.d.ts +11 -0
  490. package/dist/components/hb-calendar.js +113 -0
  491. package/dist/components/hb-calendar.js.map +1 -0
  492. package/dist/components/hb-card.d.ts +11 -0
  493. package/dist/components/hb-card.js +45 -0
  494. package/dist/components/hb-card.js.map +1 -0
  495. package/dist/components/hb-carousel.d.ts +11 -0
  496. package/dist/components/hb-carousel.js +178 -0
  497. package/dist/components/hb-carousel.js.map +1 -0
  498. package/dist/components/hb-cascader.d.ts +11 -0
  499. package/dist/components/hb-cascader.js +451 -0
  500. package/dist/components/hb-cascader.js.map +1 -0
  501. package/dist/components/hb-checkbox-group.d.ts +11 -0
  502. package/dist/components/hb-checkbox-group.js +145 -0
  503. package/dist/components/hb-checkbox-group.js.map +1 -0
  504. package/dist/components/hb-checkbox.d.ts +11 -0
  505. package/dist/components/hb-checkbox.js +161 -0
  506. package/dist/components/hb-checkbox.js.map +1 -0
  507. package/dist/components/hb-collapse-item.d.ts +11 -0
  508. package/dist/components/hb-collapse-item.js +81 -0
  509. package/dist/components/hb-collapse-item.js.map +1 -0
  510. package/dist/components/hb-collapse.d.ts +11 -0
  511. package/dist/components/hb-collapse.js +58 -0
  512. package/dist/components/hb-collapse.js.map +1 -0
  513. package/dist/components/hb-color-picker-panel.d.ts +11 -0
  514. package/dist/components/hb-color-picker-panel.js +109 -0
  515. package/dist/components/hb-color-picker-panel.js.map +1 -0
  516. package/dist/components/hb-color-picker.d.ts +11 -0
  517. package/dist/components/hb-color-picker.js +293 -0
  518. package/dist/components/hb-color-picker.js.map +1 -0
  519. package/dist/components/hb-config-provider.d.ts +11 -0
  520. package/dist/components/hb-config-provider.js +62 -0
  521. package/dist/components/hb-config-provider.js.map +1 -0
  522. package/dist/components/hb-container.d.ts +11 -0
  523. package/dist/components/hb-container.js +47 -0
  524. package/dist/components/hb-container.js.map +1 -0
  525. package/dist/components/hb-date-picker-pane.d.ts +11 -0
  526. package/dist/components/hb-date-picker-pane.js +172 -0
  527. package/dist/components/hb-date-picker-pane.js.map +1 -0
  528. package/dist/components/hb-date-picker.d.ts +11 -0
  529. package/dist/components/hb-date-picker.js +170 -0
  530. package/dist/components/hb-date-picker.js.map +1 -0
  531. package/dist/components/hb-date-range-picker.d.ts +11 -0
  532. package/dist/components/hb-date-range-picker.js +254 -0
  533. package/dist/components/hb-date-range-picker.js.map +1 -0
  534. package/dist/components/hb-date-time-picker.d.ts +11 -0
  535. package/dist/components/hb-date-time-picker.js +170 -0
  536. package/dist/components/hb-date-time-picker.js.map +1 -0
  537. package/dist/components/hb-descriptions.d.ts +11 -0
  538. package/dist/components/hb-descriptions.js +53 -0
  539. package/dist/components/hb-descriptions.js.map +1 -0
  540. package/dist/components/hb-dialog.d.ts +11 -0
  541. package/dist/components/hb-dialog.js +141 -0
  542. package/dist/components/hb-dialog.js.map +1 -0
  543. package/dist/components/hb-divider.d.ts +11 -0
  544. package/dist/components/hb-divider.js +55 -0
  545. package/dist/components/hb-divider.js.map +1 -0
  546. package/dist/components/hb-drawer.d.ts +11 -0
  547. package/dist/components/hb-drawer.js +116 -0
  548. package/dist/components/hb-drawer.js.map +1 -0
  549. package/dist/components/hb-dropdown.d.ts +11 -0
  550. package/dist/components/hb-dropdown.js +100 -0
  551. package/dist/components/hb-dropdown.js.map +1 -0
  552. package/dist/components/hb-empty.d.ts +11 -0
  553. package/dist/components/hb-empty.js +42 -0
  554. package/dist/components/hb-empty.js.map +1 -0
  555. package/dist/components/hb-float-button.d.ts +11 -0
  556. package/dist/components/hb-float-button.js +80 -0
  557. package/dist/components/hb-float-button.js.map +1 -0
  558. package/dist/components/hb-footer.d.ts +11 -0
  559. package/dist/components/hb-footer.js +47 -0
  560. package/dist/components/hb-footer.js.map +1 -0
  561. package/dist/components/hb-form-item.d.ts +11 -0
  562. package/dist/components/hb-form-item.js +139 -0
  563. package/dist/components/hb-form-item.js.map +1 -0
  564. package/dist/components/hb-form.d.ts +11 -0
  565. package/dist/components/hb-form.js +96 -0
  566. package/dist/components/hb-form.js.map +1 -0
  567. package/dist/components/hb-header.d.ts +11 -0
  568. package/dist/components/hb-header.js +47 -0
  569. package/dist/components/hb-header.js.map +1 -0
  570. package/dist/components/hb-icon.d.ts +11 -0
  571. package/dist/components/hb-icon.js +96 -0
  572. package/dist/components/hb-icon.js.map +1 -0
  573. package/dist/components/hb-image-preview.d.ts +11 -0
  574. package/dist/components/hb-image-preview.js +207 -0
  575. package/dist/components/hb-image-preview.js.map +1 -0
  576. package/dist/components/hb-image.d.ts +11 -0
  577. package/dist/components/hb-image.js +62 -0
  578. package/dist/components/hb-image.js.map +1 -0
  579. package/dist/components/hb-input-number.d.ts +11 -0
  580. package/dist/components/hb-input-number.js +202 -0
  581. package/dist/components/hb-input-number.js.map +1 -0
  582. package/dist/components/hb-input-tag.d.ts +11 -0
  583. package/dist/components/hb-input-tag.js +174 -0
  584. package/dist/components/hb-input-tag.js.map +1 -0
  585. package/dist/components/hb-input.d.ts +11 -0
  586. package/dist/components/hb-input.js +294 -0
  587. package/dist/components/hb-input.js.map +1 -0
  588. package/dist/components/hb-layout.d.ts +11 -0
  589. package/dist/components/hb-layout.js +103 -0
  590. package/dist/components/hb-layout.js.map +1 -0
  591. package/dist/components/hb-link.d.ts +11 -0
  592. package/dist/components/hb-link.js +89 -0
  593. package/dist/components/hb-link.js.map +1 -0
  594. package/dist/components/hb-loading.d.ts +11 -0
  595. package/dist/components/hb-loading.js +51 -0
  596. package/dist/components/hb-loading.js.map +1 -0
  597. package/dist/components/hb-main.d.ts +11 -0
  598. package/dist/components/hb-main.js +37 -0
  599. package/dist/components/hb-main.js.map +1 -0
  600. package/dist/components/hb-menu-item.d.ts +11 -0
  601. package/dist/components/hb-menu-item.js +70 -0
  602. package/dist/components/hb-menu-item.js.map +1 -0
  603. package/dist/components/hb-menu.d.ts +11 -0
  604. package/dist/components/hb-menu.js +113 -0
  605. package/dist/components/hb-menu.js.map +1 -0
  606. package/dist/components/hb-message.d.ts +11 -0
  607. package/dist/components/hb-message.js +69 -0
  608. package/dist/components/hb-message.js.map +1 -0
  609. package/dist/components/hb-notification.d.ts +11 -0
  610. package/dist/components/hb-notification.js +91 -0
  611. package/dist/components/hb-notification.js.map +1 -0
  612. package/dist/components/hb-page-header.d.ts +11 -0
  613. package/dist/components/hb-page-header.js +57 -0
  614. package/dist/components/hb-page-header.js.map +1 -0
  615. package/dist/components/hb-pagination.d.ts +11 -0
  616. package/dist/components/hb-pagination.js +134 -0
  617. package/dist/components/hb-pagination.js.map +1 -0
  618. package/dist/components/hb-popconfirm.d.ts +11 -0
  619. package/dist/components/hb-popconfirm.js +75 -0
  620. package/dist/components/hb-popconfirm.js.map +1 -0
  621. package/dist/components/hb-popover.d.ts +11 -0
  622. package/dist/components/hb-popover.js +82 -0
  623. package/dist/components/hb-popover.js.map +1 -0
  624. package/dist/components/hb-progress.d.ts +11 -0
  625. package/dist/components/hb-progress.js +60 -0
  626. package/dist/components/hb-progress.js.map +1 -0
  627. package/dist/components/hb-radio.d.ts +11 -0
  628. package/dist/components/hb-radio.js +149 -0
  629. package/dist/components/hb-radio.js.map +1 -0
  630. package/dist/components/hb-rate.d.ts +11 -0
  631. package/dist/components/hb-rate.js +161 -0
  632. package/dist/components/hb-rate.js.map +1 -0
  633. package/dist/components/hb-result.d.ts +11 -0
  634. package/dist/components/hb-result.js +77 -0
  635. package/dist/components/hb-result.js.map +1 -0
  636. package/dist/components/hb-row.d.ts +11 -0
  637. package/dist/components/hb-row.js +77 -0
  638. package/dist/components/hb-row.js.map +1 -0
  639. package/dist/components/hb-scrollbar.d.ts +11 -0
  640. package/dist/components/hb-scrollbar.js +235 -0
  641. package/dist/components/hb-scrollbar.js.map +1 -0
  642. package/dist/components/hb-segmented.d.ts +11 -0
  643. package/dist/components/hb-segmented.js +63 -0
  644. package/dist/components/hb-segmented.js.map +1 -0
  645. package/dist/components/hb-select.d.ts +11 -0
  646. package/dist/components/hb-select.js +299 -0
  647. package/dist/components/hb-select.js.map +1 -0
  648. package/dist/components/hb-skeleton.d.ts +11 -0
  649. package/dist/components/hb-skeleton.js +75 -0
  650. package/dist/components/hb-skeleton.js.map +1 -0
  651. package/dist/components/hb-slider.d.ts +11 -0
  652. package/dist/components/hb-slider.js +202 -0
  653. package/dist/components/hb-slider.js.map +1 -0
  654. package/dist/components/hb-space.d.ts +11 -0
  655. package/dist/components/hb-space.js +94 -0
  656. package/dist/components/hb-space.js.map +1 -0
  657. package/dist/components/hb-statistic.d.ts +11 -0
  658. package/dist/components/hb-statistic.js +88 -0
  659. package/dist/components/hb-statistic.js.map +1 -0
  660. package/dist/components/hb-step.d.ts +11 -0
  661. package/dist/components/hb-step.js +42 -0
  662. package/dist/components/hb-step.js.map +1 -0
  663. package/dist/components/hb-steps.d.ts +11 -0
  664. package/dist/components/hb-steps.js +71 -0
  665. package/dist/components/hb-steps.js.map +1 -0
  666. package/dist/components/hb-sub-menu.d.ts +11 -0
  667. package/dist/components/hb-sub-menu.js +91 -0
  668. package/dist/components/hb-sub-menu.js.map +1 -0
  669. package/dist/components/hb-switch.d.ts +11 -0
  670. package/dist/components/hb-switch.js +118 -0
  671. package/dist/components/hb-switch.js.map +1 -0
  672. package/dist/components/hb-tab-pane.d.ts +11 -0
  673. package/dist/components/hb-tab-pane.js +43 -0
  674. package/dist/components/hb-tab-pane.js.map +1 -0
  675. package/dist/components/hb-table.d.ts +11 -0
  676. package/dist/components/hb-table.js +412 -0
  677. package/dist/components/hb-table.js.map +1 -0
  678. package/dist/components/hb-tabs.d.ts +11 -0
  679. package/dist/components/hb-tabs.js +138 -0
  680. package/dist/components/hb-tabs.js.map +1 -0
  681. package/dist/components/hb-tag.d.ts +11 -0
  682. package/dist/components/hb-tag.js +66 -0
  683. package/dist/components/hb-tag.js.map +1 -0
  684. package/dist/components/hb-text.d.ts +11 -0
  685. package/dist/components/hb-text.js +82 -0
  686. package/dist/components/hb-text.js.map +1 -0
  687. package/dist/components/hb-time-picker.d.ts +11 -0
  688. package/dist/components/hb-time-picker.js +178 -0
  689. package/dist/components/hb-time-picker.js.map +1 -0
  690. package/dist/components/hb-time-select.d.ts +11 -0
  691. package/dist/components/hb-time-select.js +175 -0
  692. package/dist/components/hb-time-select.js.map +1 -0
  693. package/dist/components/hb-timeline.d.ts +11 -0
  694. package/dist/components/hb-timeline.js +48 -0
  695. package/dist/components/hb-timeline.js.map +1 -0
  696. package/dist/components/hb-tooltip.d.ts +11 -0
  697. package/dist/components/hb-tooltip.js +97 -0
  698. package/dist/components/hb-tooltip.js.map +1 -0
  699. package/dist/components/hb-tour.d.ts +11 -0
  700. package/dist/components/hb-tour.js +139 -0
  701. package/dist/components/hb-tour.js.map +1 -0
  702. package/dist/components/hb-transfer.d.ts +11 -0
  703. package/dist/components/hb-transfer.js +199 -0
  704. package/dist/components/hb-transfer.js.map +1 -0
  705. package/dist/components/hb-tree-select.d.ts +11 -0
  706. package/dist/components/hb-tree-select.js +263 -0
  707. package/dist/components/hb-tree-select.js.map +1 -0
  708. package/dist/components/hb-tree.d.ts +11 -0
  709. package/dist/components/hb-tree.js +344 -0
  710. package/dist/components/hb-tree.js.map +1 -0
  711. package/dist/components/hb-upload.d.ts +11 -0
  712. package/dist/components/hb-upload.js +213 -0
  713. package/dist/components/hb-upload.js.map +1 -0
  714. package/dist/components/hb-watermark.d.ts +11 -0
  715. package/dist/components/hb-watermark.js +82 -0
  716. package/dist/components/hb-watermark.js.map +1 -0
  717. package/dist/components/index.d.ts +33 -0
  718. package/dist/components/index.js +3 -0
  719. package/dist/components/index.js.map +1 -0
  720. package/dist/components/p-1407a5e8.js +1662 -0
  721. package/dist/components/p-1407a5e8.js.map +1 -0
  722. package/dist/components/p-4ef5a884.js +25 -0
  723. package/dist/components/p-4ef5a884.js.map +1 -0
  724. package/dist/components/p-cc0aeb50.js +119 -0
  725. package/dist/components/p-cc0aeb50.js.map +1 -0
  726. package/dist/components/p-cf94cbf6.js +123 -0
  727. package/dist/components/p-cf94cbf6.js.map +1 -0
  728. package/dist/components/p-ecce2b5e.js +78 -0
  729. package/dist/components/p-ecce2b5e.js.map +1 -0
  730. package/dist/esm/a11y-f9ab2964.js +119 -0
  731. package/dist/esm/a11y-f9ab2964.js.map +1 -0
  732. package/dist/esm/app-globals-0f993ce5.js +5 -0
  733. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  734. package/dist/esm/click-outside-291294f9.js +25 -0
  735. package/dist/esm/click-outside-291294f9.js.map +1 -0
  736. package/dist/esm/date-helpers-e4d85a67.js +123 -0
  737. package/dist/esm/date-helpers-e4d85a67.js.map +1 -0
  738. package/dist/esm/hb-affix.entry.js +97 -0
  739. package/dist/esm/hb-affix.entry.js.map +1 -0
  740. package/dist/esm/hb-alert.entry.js +43 -0
  741. package/dist/esm/hb-alert.entry.js.map +1 -0
  742. package/dist/esm/hb-anchor.entry.js +42 -0
  743. package/dist/esm/hb-anchor.entry.js.map +1 -0
  744. package/dist/esm/hb-aside.entry.js +26 -0
  745. package/dist/esm/hb-aside.entry.js.map +1 -0
  746. package/dist/esm/hb-avatar.entry.js +27 -0
  747. package/dist/esm/hb-avatar.entry.js.map +1 -0
  748. package/dist/esm/hb-backtop.entry.js +96 -0
  749. package/dist/esm/hb-backtop.entry.js.map +1 -0
  750. package/dist/esm/hb-badge.entry.js +31 -0
  751. package/dist/esm/hb-badge.entry.js.map +1 -0
  752. package/dist/esm/hb-breadcrumb-item.entry.js +21 -0
  753. package/dist/esm/hb-breadcrumb-item.entry.js.map +1 -0
  754. package/dist/esm/hb-breadcrumb.entry.js +20 -0
  755. package/dist/esm/hb-breadcrumb.entry.js.map +1 -0
  756. package/dist/esm/hb-button.entry.js +35 -0
  757. package/dist/esm/hb-button.entry.js.map +1 -0
  758. package/dist/esm/hb-calendar.entry.js +86 -0
  759. package/dist/esm/hb-calendar.entry.js.map +1 -0
  760. package/dist/esm/hb-card.entry.js +23 -0
  761. package/dist/esm/hb-card.entry.js.map +1 -0
  762. package/dist/esm/hb-carousel.entry.js +146 -0
  763. package/dist/esm/hb-carousel.entry.js.map +1 -0
  764. package/dist/esm/hb-cascader.entry.js +409 -0
  765. package/dist/esm/hb-cascader.entry.js.map +1 -0
  766. package/dist/esm/hb-checkbox-group.entry.js +113 -0
  767. package/dist/esm/hb-checkbox-group.entry.js.map +1 -0
  768. package/dist/esm/hb-checkbox.entry.js +126 -0
  769. package/dist/esm/hb-checkbox.entry.js.map +1 -0
  770. package/dist/esm/hb-collapse-item.entry.js +54 -0
  771. package/dist/esm/hb-collapse-item.entry.js.map +1 -0
  772. package/dist/esm/hb-collapse.entry.js +37 -0
  773. package/dist/esm/hb-collapse.entry.js.map +1 -0
  774. package/dist/esm/hb-color-picker-panel.entry.js +82 -0
  775. package/dist/esm/hb-color-picker-panel.entry.js.map +1 -0
  776. package/dist/esm/hb-color-picker.entry.js +261 -0
  777. package/dist/esm/hb-color-picker.entry.js.map +1 -0
  778. package/dist/esm/hb-config-provider.entry.js +40 -0
  779. package/dist/esm/hb-config-provider.entry.js.map +1 -0
  780. package/dist/esm/hb-container.entry.js +26 -0
  781. package/dist/esm/hb-container.entry.js.map +1 -0
  782. package/dist/esm/hb-date-picker-pane.entry.js +146 -0
  783. package/dist/esm/hb-date-picker-pane.entry.js.map +1 -0
  784. package/dist/esm/hb-date-picker.entry.js +134 -0
  785. package/dist/esm/hb-date-picker.entry.js.map +1 -0
  786. package/dist/esm/hb-date-range-picker.entry.js +218 -0
  787. package/dist/esm/hb-date-range-picker.entry.js.map +1 -0
  788. package/dist/esm/hb-date-time-picker.entry.js +136 -0
  789. package/dist/esm/hb-date-time-picker.entry.js.map +1 -0
  790. package/dist/esm/hb-descriptions.entry.js +28 -0
  791. package/dist/esm/hb-descriptions.entry.js.map +1 -0
  792. package/dist/esm/hb-dialog.entry.js +110 -0
  793. package/dist/esm/hb-dialog.entry.js.map +1 -0
  794. package/dist/esm/hb-divider.entry.js +32 -0
  795. package/dist/esm/hb-divider.entry.js.map +1 -0
  796. package/dist/esm/hb-drawer.entry.js +85 -0
  797. package/dist/esm/hb-drawer.entry.js.map +1 -0
  798. package/dist/esm/hb-dropdown.entry.js +76 -0
  799. package/dist/esm/hb-dropdown.entry.js.map +1 -0
  800. package/dist/esm/hb-empty.entry.js +20 -0
  801. package/dist/esm/hb-empty.entry.js.map +1 -0
  802. package/dist/esm/hb-float-button.entry.js +53 -0
  803. package/dist/esm/hb-float-button.entry.js.map +1 -0
  804. package/dist/esm/hb-footer.entry.js +26 -0
  805. package/dist/esm/hb-footer.entry.js.map +1 -0
  806. package/dist/esm/hb-form-item.entry.js +108 -0
  807. package/dist/esm/hb-form-item.entry.js.map +1 -0
  808. package/dist/esm/hb-form.entry.js +66 -0
  809. package/dist/esm/hb-form.entry.js.map +1 -0
  810. package/dist/esm/hb-header.entry.js +26 -0
  811. package/dist/esm/hb-header.entry.js.map +1 -0
  812. package/dist/esm/hb-icon.entry.js +72 -0
  813. package/dist/esm/hb-icon.entry.js.map +1 -0
  814. package/dist/esm/hb-image-preview.entry.js +175 -0
  815. package/dist/esm/hb-image-preview.entry.js.map +1 -0
  816. package/dist/esm/hb-image.entry.js +31 -0
  817. package/dist/esm/hb-image.entry.js.map +1 -0
  818. package/dist/esm/hb-input-number.entry.js +165 -0
  819. package/dist/esm/hb-input-number.entry.js.map +1 -0
  820. package/dist/esm/hb-input-tag.entry.js +141 -0
  821. package/dist/esm/hb-input-tag.entry.js.map +1 -0
  822. package/dist/esm/hb-input.entry.js +248 -0
  823. package/dist/esm/hb-input.entry.js.map +1 -0
  824. package/dist/esm/hb-layout.entry.js +74 -0
  825. package/dist/esm/hb-layout.entry.js.map +1 -0
  826. package/dist/esm/hb-link.entry.js +63 -0
  827. package/dist/esm/hb-link.entry.js.map +1 -0
  828. package/dist/esm/hb-loading.entry.js +28 -0
  829. package/dist/esm/hb-loading.entry.js.map +1 -0
  830. package/dist/esm/hb-main.entry.js +18 -0
  831. package/dist/esm/hb-main.entry.js.map +1 -0
  832. package/dist/esm/hb-menu-item.entry.js +46 -0
  833. package/dist/esm/hb-menu-item.entry.js.map +1 -0
  834. package/dist/esm/hb-menu.entry.js +83 -0
  835. package/dist/esm/hb-menu.entry.js.map +1 -0
  836. package/dist/esm/hb-message.entry.js +44 -0
  837. package/dist/esm/hb-message.entry.js.map +1 -0
  838. package/dist/esm/hb-notification.entry.js +63 -0
  839. package/dist/esm/hb-notification.entry.js.map +1 -0
  840. package/dist/esm/hb-page-header.entry.js +33 -0
  841. package/dist/esm/hb-page-header.entry.js.map +1 -0
  842. package/dist/esm/hb-pagination.entry.js +103 -0
  843. package/dist/esm/hb-pagination.entry.js.map +1 -0
  844. package/dist/esm/hb-popconfirm.entry.js +47 -0
  845. package/dist/esm/hb-popconfirm.entry.js.map +1 -0
  846. package/dist/esm/hb-popover.entry.js +55 -0
  847. package/dist/esm/hb-popover.entry.js.map +1 -0
  848. package/dist/esm/hb-progress.entry.js +35 -0
  849. package/dist/esm/hb-progress.entry.js.map +1 -0
  850. package/dist/esm/hb-radio.entry.js +115 -0
  851. package/dist/esm/hb-radio.entry.js.map +1 -0
  852. package/dist/esm/hb-rate.entry.js +128 -0
  853. package/dist/esm/hb-rate.entry.js.map +1 -0
  854. package/dist/esm/hb-result.entry.js +53 -0
  855. package/dist/esm/hb-result.entry.js.map +1 -0
  856. package/dist/esm/hb-row.entry.js +53 -0
  857. package/dist/esm/hb-row.entry.js.map +1 -0
  858. package/dist/esm/hb-scrollbar.entry.js +200 -0
  859. package/dist/esm/hb-scrollbar.entry.js.map +1 -0
  860. package/dist/esm/hb-segmented.entry.js +39 -0
  861. package/dist/esm/hb-segmented.entry.js.map +1 -0
  862. package/dist/esm/hb-select.entry.js +258 -0
  863. package/dist/esm/hb-select.entry.js.map +1 -0
  864. package/dist/esm/hb-skeleton.entry.js +49 -0
  865. package/dist/esm/hb-skeleton.entry.js.map +1 -0
  866. package/dist/esm/hb-slider.entry.js +168 -0
  867. package/dist/esm/hb-slider.entry.js.map +1 -0
  868. package/dist/esm/hb-space.entry.js +68 -0
  869. package/dist/esm/hb-space.entry.js.map +1 -0
  870. package/dist/esm/hb-statistic.entry.js +62 -0
  871. package/dist/esm/hb-statistic.entry.js.map +1 -0
  872. package/dist/esm/hb-step.entry.js +20 -0
  873. package/dist/esm/hb-step.entry.js.map +1 -0
  874. package/dist/esm/hb-steps.entry.js +46 -0
  875. package/dist/esm/hb-steps.entry.js.map +1 -0
  876. package/dist/esm/hb-sub-menu.entry.js +66 -0
  877. package/dist/esm/hb-sub-menu.entry.js.map +1 -0
  878. package/dist/esm/hb-switch.entry.js +88 -0
  879. package/dist/esm/hb-switch.entry.js.map +1 -0
  880. package/dist/esm/hb-tab-pane.entry.js +22 -0
  881. package/dist/esm/hb-tab-pane.entry.js.map +1 -0
  882. package/dist/esm/hb-table.entry.js +366 -0
  883. package/dist/esm/hb-table.entry.js.map +1 -0
  884. package/dist/esm/hb-tabs.entry.js +111 -0
  885. package/dist/esm/hb-tabs.entry.js.map +1 -0
  886. package/dist/esm/hb-tag.entry.js +41 -0
  887. package/dist/esm/hb-tag.entry.js.map +1 -0
  888. package/dist/esm/hb-text.entry.js +56 -0
  889. package/dist/esm/hb-text.entry.js.map +1 -0
  890. package/dist/esm/hb-time-picker.entry.js +143 -0
  891. package/dist/esm/hb-time-picker.entry.js.map +1 -0
  892. package/dist/esm/hb-time-select.entry.js +141 -0
  893. package/dist/esm/hb-time-select.entry.js.map +1 -0
  894. package/dist/esm/hb-timeline.entry.js +26 -0
  895. package/dist/esm/hb-timeline.entry.js.map +1 -0
  896. package/dist/esm/hb-tooltip.entry.js +70 -0
  897. package/dist/esm/hb-tooltip.entry.js.map +1 -0
  898. package/dist/esm/hb-tour.entry.js +115 -0
  899. package/dist/esm/hb-tour.entry.js.map +1 -0
  900. package/dist/esm/hb-transfer.entry.js +169 -0
  901. package/dist/esm/hb-transfer.entry.js.map +1 -0
  902. package/dist/esm/hb-tree-select.entry.js +232 -0
  903. package/dist/esm/hb-tree-select.entry.js.map +1 -0
  904. package/dist/esm/hb-tree.entry.js +309 -0
  905. package/dist/esm/hb-tree.entry.js.map +1 -0
  906. package/dist/esm/hb-upload.entry.js +180 -0
  907. package/dist/esm/hb-upload.entry.js.map +1 -0
  908. package/dist/esm/hb-watermark.entry.js +55 -0
  909. package/dist/esm/hb-watermark.entry.js.map +1 -0
  910. package/dist/esm/huibo-ui.js +22 -0
  911. package/dist/esm/huibo-ui.js.map +1 -0
  912. package/dist/esm/index-fdf7135e.js +1886 -0
  913. package/dist/esm/index-fdf7135e.js.map +1 -0
  914. package/dist/esm/index.js +3 -0
  915. package/dist/esm/index.js.map +1 -0
  916. package/dist/esm/loader.js +13 -0
  917. package/dist/esm/loader.js.map +1 -0
  918. package/dist/esm/popup-manager-128cc685.js +78 -0
  919. package/dist/esm/popup-manager-128cc685.js.map +1 -0
  920. package/dist/huibo-ui/huibo-ui.css +6 -0
  921. package/dist/huibo-ui/huibo-ui.esm.js +2 -0
  922. package/dist/huibo-ui/huibo-ui.esm.js.map +1 -0
  923. package/dist/huibo-ui/index.esm.js +2 -0
  924. package/dist/huibo-ui/index.esm.js.map +1 -0
  925. package/dist/huibo-ui/p-003cee87.entry.js +2 -0
  926. package/dist/huibo-ui/p-003cee87.entry.js.map +1 -0
  927. package/dist/huibo-ui/p-06ec8d02.entry.js +2 -0
  928. package/dist/huibo-ui/p-06ec8d02.entry.js.map +1 -0
  929. package/dist/huibo-ui/p-079a4130.entry.js +2 -0
  930. package/dist/huibo-ui/p-079a4130.entry.js.map +1 -0
  931. package/dist/huibo-ui/p-0a033738.entry.js +2 -0
  932. package/dist/huibo-ui/p-0a033738.entry.js.map +1 -0
  933. package/dist/huibo-ui/p-0bef78ac.entry.js +2 -0
  934. package/dist/huibo-ui/p-0bef78ac.entry.js.map +1 -0
  935. package/dist/huibo-ui/p-0e65e1bd.entry.js +2 -0
  936. package/dist/huibo-ui/p-0e65e1bd.entry.js.map +1 -0
  937. package/dist/huibo-ui/p-0f189251.entry.js +2 -0
  938. package/dist/huibo-ui/p-0f189251.entry.js.map +1 -0
  939. package/dist/huibo-ui/p-10c088f3.entry.js +2 -0
  940. package/dist/huibo-ui/p-10c088f3.entry.js.map +1 -0
  941. package/dist/huibo-ui/p-1b5acd6d.entry.js +2 -0
  942. package/dist/huibo-ui/p-1b5acd6d.entry.js.map +1 -0
  943. package/dist/huibo-ui/p-1e5abc8a.entry.js +2 -0
  944. package/dist/huibo-ui/p-1e5abc8a.entry.js.map +1 -0
  945. package/dist/huibo-ui/p-1f0b1662.entry.js +2 -0
  946. package/dist/huibo-ui/p-1f0b1662.entry.js.map +1 -0
  947. package/dist/huibo-ui/p-21682e92.entry.js +2 -0
  948. package/dist/huibo-ui/p-21682e92.entry.js.map +1 -0
  949. package/dist/huibo-ui/p-231a7335.entry.js +2 -0
  950. package/dist/huibo-ui/p-231a7335.entry.js.map +1 -0
  951. package/dist/huibo-ui/p-24ad7eec.entry.js +2 -0
  952. package/dist/huibo-ui/p-24ad7eec.entry.js.map +1 -0
  953. package/dist/huibo-ui/p-2b286698.entry.js +2 -0
  954. package/dist/huibo-ui/p-2b286698.entry.js.map +1 -0
  955. package/dist/huibo-ui/p-2e6584ea.entry.js +2 -0
  956. package/dist/huibo-ui/p-2e6584ea.entry.js.map +1 -0
  957. package/dist/huibo-ui/p-315feadf.entry.js +2 -0
  958. package/dist/huibo-ui/p-315feadf.entry.js.map +1 -0
  959. package/dist/huibo-ui/p-332c8877.entry.js +2 -0
  960. package/dist/huibo-ui/p-332c8877.entry.js.map +1 -0
  961. package/dist/huibo-ui/p-3c7f73c8.entry.js +2 -0
  962. package/dist/huibo-ui/p-3c7f73c8.entry.js.map +1 -0
  963. package/dist/huibo-ui/p-4001c08d.entry.js +2 -0
  964. package/dist/huibo-ui/p-4001c08d.entry.js.map +1 -0
  965. package/dist/huibo-ui/p-44c48246.entry.js +2 -0
  966. package/dist/huibo-ui/p-44c48246.entry.js.map +1 -0
  967. package/dist/huibo-ui/p-463de26d.entry.js +2 -0
  968. package/dist/huibo-ui/p-463de26d.entry.js.map +1 -0
  969. package/dist/huibo-ui/p-465dcb4c.entry.js +2 -0
  970. package/dist/huibo-ui/p-465dcb4c.entry.js.map +1 -0
  971. package/dist/huibo-ui/p-476527c1.entry.js +2 -0
  972. package/dist/huibo-ui/p-476527c1.entry.js.map +1 -0
  973. package/dist/huibo-ui/p-477d8568.entry.js +2 -0
  974. package/dist/huibo-ui/p-477d8568.entry.js.map +1 -0
  975. package/dist/huibo-ui/p-4d0dff15.entry.js +2 -0
  976. package/dist/huibo-ui/p-4d0dff15.entry.js.map +1 -0
  977. package/dist/huibo-ui/p-4d8b1404.entry.js +2 -0
  978. package/dist/huibo-ui/p-4d8b1404.entry.js.map +1 -0
  979. package/dist/huibo-ui/p-4ef5a884.js +2 -0
  980. package/dist/huibo-ui/p-4ef5a884.js.map +1 -0
  981. package/dist/huibo-ui/p-58d20809.entry.js +2 -0
  982. package/dist/huibo-ui/p-58d20809.entry.js.map +1 -0
  983. package/dist/huibo-ui/p-58ebb9b3.entry.js +2 -0
  984. package/dist/huibo-ui/p-58ebb9b3.entry.js.map +1 -0
  985. package/dist/huibo-ui/p-59b2e61c.entry.js +2 -0
  986. package/dist/huibo-ui/p-59b2e61c.entry.js.map +1 -0
  987. package/dist/huibo-ui/p-5df47135.entry.js +2 -0
  988. package/dist/huibo-ui/p-5df47135.entry.js.map +1 -0
  989. package/dist/huibo-ui/p-64ca0980.entry.js +2 -0
  990. package/dist/huibo-ui/p-64ca0980.entry.js.map +1 -0
  991. package/dist/huibo-ui/p-672076c3.entry.js +2 -0
  992. package/dist/huibo-ui/p-672076c3.entry.js.map +1 -0
  993. package/dist/huibo-ui/p-6a1ec3ff.entry.js +2 -0
  994. package/dist/huibo-ui/p-6a1ec3ff.entry.js.map +1 -0
  995. package/dist/huibo-ui/p-6ac242fe.entry.js +2 -0
  996. package/dist/huibo-ui/p-6ac242fe.entry.js.map +1 -0
  997. package/dist/huibo-ui/p-6b381d0e.entry.js +2 -0
  998. package/dist/huibo-ui/p-6b381d0e.entry.js.map +1 -0
  999. package/dist/huibo-ui/p-710f38de.entry.js +2 -0
  1000. package/dist/huibo-ui/p-710f38de.entry.js.map +1 -0
  1001. package/dist/huibo-ui/p-756acbdb.entry.js +2 -0
  1002. package/dist/huibo-ui/p-756acbdb.entry.js.map +1 -0
  1003. package/dist/huibo-ui/p-75a93de3.entry.js +2 -0
  1004. package/dist/huibo-ui/p-75a93de3.entry.js.map +1 -0
  1005. package/dist/huibo-ui/p-769960f4.entry.js +2 -0
  1006. package/dist/huibo-ui/p-769960f4.entry.js.map +1 -0
  1007. package/dist/huibo-ui/p-77017274.entry.js +2 -0
  1008. package/dist/huibo-ui/p-77017274.entry.js.map +1 -0
  1009. package/dist/huibo-ui/p-7f6975ad.entry.js +2 -0
  1010. package/dist/huibo-ui/p-7f6975ad.entry.js.map +1 -0
  1011. package/dist/huibo-ui/p-80aca641.entry.js +2 -0
  1012. package/dist/huibo-ui/p-80aca641.entry.js.map +1 -0
  1013. package/dist/huibo-ui/p-85f68526.entry.js +2 -0
  1014. package/dist/huibo-ui/p-85f68526.entry.js.map +1 -0
  1015. package/dist/huibo-ui/p-88127de1.entry.js +2 -0
  1016. package/dist/huibo-ui/p-88127de1.entry.js.map +1 -0
  1017. package/dist/huibo-ui/p-8b027491.entry.js +2 -0
  1018. package/dist/huibo-ui/p-8b027491.entry.js.map +1 -0
  1019. package/dist/huibo-ui/p-8b1ae77e.entry.js +2 -0
  1020. package/dist/huibo-ui/p-8b1ae77e.entry.js.map +1 -0
  1021. package/dist/huibo-ui/p-8c80a765.entry.js +2 -0
  1022. package/dist/huibo-ui/p-8c80a765.entry.js.map +1 -0
  1023. package/dist/huibo-ui/p-8c987d57.entry.js +2 -0
  1024. package/dist/huibo-ui/p-8c987d57.entry.js.map +1 -0
  1025. package/dist/huibo-ui/p-8d615521.entry.js +2 -0
  1026. package/dist/huibo-ui/p-8d615521.entry.js.map +1 -0
  1027. package/dist/huibo-ui/p-8d925e3d.entry.js +2 -0
  1028. package/dist/huibo-ui/p-8d925e3d.entry.js.map +1 -0
  1029. package/dist/huibo-ui/p-9319c650.entry.js +2 -0
  1030. package/dist/huibo-ui/p-9319c650.entry.js.map +1 -0
  1031. package/dist/huibo-ui/p-953b9514.entry.js +2 -0
  1032. package/dist/huibo-ui/p-953b9514.entry.js.map +1 -0
  1033. package/dist/huibo-ui/p-965d4d02.entry.js +2 -0
  1034. package/dist/huibo-ui/p-965d4d02.entry.js.map +1 -0
  1035. package/dist/huibo-ui/p-a0015341.entry.js +2 -0
  1036. package/dist/huibo-ui/p-a0015341.entry.js.map +1 -0
  1037. package/dist/huibo-ui/p-a042e3d0.entry.js +2 -0
  1038. package/dist/huibo-ui/p-a042e3d0.entry.js.map +1 -0
  1039. package/dist/huibo-ui/p-ad6b0c6e.entry.js +2 -0
  1040. package/dist/huibo-ui/p-ad6b0c6e.entry.js.map +1 -0
  1041. package/dist/huibo-ui/p-b489a526.entry.js +2 -0
  1042. package/dist/huibo-ui/p-b489a526.entry.js.map +1 -0
  1043. package/dist/huibo-ui/p-be48d2aa.entry.js +2 -0
  1044. package/dist/huibo-ui/p-be48d2aa.entry.js.map +1 -0
  1045. package/dist/huibo-ui/p-c1a059d9.entry.js +2 -0
  1046. package/dist/huibo-ui/p-c1a059d9.entry.js.map +1 -0
  1047. package/dist/huibo-ui/p-c1b4eacb.entry.js +2 -0
  1048. package/dist/huibo-ui/p-c1b4eacb.entry.js.map +1 -0
  1049. package/dist/huibo-ui/p-c321c4aa.entry.js +2 -0
  1050. package/dist/huibo-ui/p-c321c4aa.entry.js.map +1 -0
  1051. package/dist/huibo-ui/p-c3e665f6.entry.js +2 -0
  1052. package/dist/huibo-ui/p-c3e665f6.entry.js.map +1 -0
  1053. package/dist/huibo-ui/p-c3e8893d.entry.js +2 -0
  1054. package/dist/huibo-ui/p-c3e8893d.entry.js.map +1 -0
  1055. package/dist/huibo-ui/p-c922d672.entry.js +2 -0
  1056. package/dist/huibo-ui/p-c922d672.entry.js.map +1 -0
  1057. package/dist/huibo-ui/p-cc0aeb50.js +2 -0
  1058. package/dist/huibo-ui/p-cc0aeb50.js.map +1 -0
  1059. package/dist/huibo-ui/p-cf94cbf6.js +2 -0
  1060. package/dist/huibo-ui/p-cf94cbf6.js.map +1 -0
  1061. package/dist/huibo-ui/p-d3939d44.entry.js +2 -0
  1062. package/dist/huibo-ui/p-d3939d44.entry.js.map +1 -0
  1063. package/dist/huibo-ui/p-d64b91ef.entry.js +2 -0
  1064. package/dist/huibo-ui/p-d64b91ef.entry.js.map +1 -0
  1065. package/dist/huibo-ui/p-d7815b4f.entry.js +2 -0
  1066. package/dist/huibo-ui/p-d7815b4f.entry.js.map +1 -0
  1067. package/dist/huibo-ui/p-d87fc21a.entry.js +2 -0
  1068. package/dist/huibo-ui/p-d87fc21a.entry.js.map +1 -0
  1069. package/dist/huibo-ui/p-dd05cb2c.entry.js +2 -0
  1070. package/dist/huibo-ui/p-dd05cb2c.entry.js.map +1 -0
  1071. package/dist/huibo-ui/p-dfaf7e37.entry.js +2 -0
  1072. package/dist/huibo-ui/p-dfaf7e37.entry.js.map +1 -0
  1073. package/dist/huibo-ui/p-e004fc81.entry.js +2 -0
  1074. package/dist/huibo-ui/p-e004fc81.entry.js.map +1 -0
  1075. package/dist/huibo-ui/p-e0768565.entry.js +2 -0
  1076. package/dist/huibo-ui/p-e0768565.entry.js.map +1 -0
  1077. package/dist/huibo-ui/p-e0ab9010.entry.js +2 -0
  1078. package/dist/huibo-ui/p-e0ab9010.entry.js.map +1 -0
  1079. package/dist/huibo-ui/p-e1255160.js +2 -0
  1080. package/dist/huibo-ui/p-e1255160.js.map +1 -0
  1081. package/dist/huibo-ui/p-e2a8a396.entry.js +2 -0
  1082. package/dist/huibo-ui/p-e2a8a396.entry.js.map +1 -0
  1083. package/dist/huibo-ui/p-e36bbe6f.entry.js +2 -0
  1084. package/dist/huibo-ui/p-e36bbe6f.entry.js.map +1 -0
  1085. package/dist/huibo-ui/p-e42dfa95.js +3 -0
  1086. package/dist/huibo-ui/p-e42dfa95.js.map +1 -0
  1087. package/dist/huibo-ui/p-e6f2d71d.entry.js +2 -0
  1088. package/dist/huibo-ui/p-e6f2d71d.entry.js.map +1 -0
  1089. package/dist/huibo-ui/p-e9490259.entry.js +2 -0
  1090. package/dist/huibo-ui/p-e9490259.entry.js.map +1 -0
  1091. package/dist/huibo-ui/p-ea74fcae.entry.js +2 -0
  1092. package/dist/huibo-ui/p-ea74fcae.entry.js.map +1 -0
  1093. package/dist/huibo-ui/p-ebd04656.entry.js +2 -0
  1094. package/dist/huibo-ui/p-ebd04656.entry.js.map +1 -0
  1095. package/dist/huibo-ui/p-ecce2b5e.js +2 -0
  1096. package/dist/huibo-ui/p-ecce2b5e.js.map +1 -0
  1097. package/dist/huibo-ui/p-ed0ff857.entry.js +2 -0
  1098. package/dist/huibo-ui/p-ed0ff857.entry.js.map +1 -0
  1099. package/dist/huibo-ui/p-f0ac7db5.entry.js +2 -0
  1100. package/dist/huibo-ui/p-f0ac7db5.entry.js.map +1 -0
  1101. package/dist/huibo-ui/p-f1c084c5.entry.js +2 -0
  1102. package/dist/huibo-ui/p-f1c084c5.entry.js.map +1 -0
  1103. package/dist/huibo-ui/p-f374d5a3.entry.js +2 -0
  1104. package/dist/huibo-ui/p-f374d5a3.entry.js.map +1 -0
  1105. package/dist/huibo-ui/p-f81ec512.entry.js +2 -0
  1106. package/dist/huibo-ui/p-f81ec512.entry.js.map +1 -0
  1107. package/dist/huibo-ui/p-fd19813c.entry.js +2 -0
  1108. package/dist/huibo-ui/p-fd19813c.entry.js.map +1 -0
  1109. package/dist/index.cjs.js +1 -0
  1110. package/dist/index.js +1 -0
  1111. package/dist/types/components/Affix/Affix.d.ts +27 -0
  1112. package/dist/types/components/Alert/Alert.d.ts +23 -0
  1113. package/dist/types/components/Anchor/Anchor.d.ts +28 -0
  1114. package/dist/types/components/Avatar/Avatar.d.ts +9 -0
  1115. package/dist/types/components/Backtop/Backtop.d.ts +33 -0
  1116. package/dist/types/components/Badge/Badge.d.ts +9 -0
  1117. package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +9 -0
  1118. package/dist/types/components/Breadcrumb/BreadcrumbItem.d.ts +9 -0
  1119. package/dist/types/components/Button/Button.d.ts +17 -0
  1120. package/dist/types/components/Calendar/Calendar.d.ts +35 -0
  1121. package/dist/types/components/Card/Card.d.ts +6 -0
  1122. package/dist/types/components/Carousel/Carousel.d.ts +45 -0
  1123. package/dist/types/components/Cascader/Cascader.d.ts +150 -0
  1124. package/dist/types/components/Checkbox/Checkbox.d.ts +66 -0
  1125. package/dist/types/components/Checkbox/CheckboxGroup.d.ts +46 -0
  1126. package/dist/types/components/Collapse/Collapse.d.ts +7 -0
  1127. package/dist/types/components/Collapse/CollapseItem.d.ts +17 -0
  1128. package/dist/types/components/ColorPicker/ColorPicker.d.ts +59 -0
  1129. package/dist/types/components/ColorPickerPanel/ColorPickerPanel.d.ts +35 -0
  1130. package/dist/types/components/ConfigProvider/ConfigProvider.d.ts +17 -0
  1131. package/dist/types/components/Container/Aside.d.ts +11 -0
  1132. package/dist/types/components/Container/Container.d.ts +12 -0
  1133. package/dist/types/components/Container/Footer.d.ts +11 -0
  1134. package/dist/types/components/Container/Header.d.ts +11 -0
  1135. package/dist/types/components/Container/Main.d.ts +7 -0
  1136. package/dist/types/components/DatePicker/DatePicker.d.ts +53 -0
  1137. package/dist/types/components/DatePickerPane/DatePickerPane.d.ts +40 -0
  1138. package/dist/types/components/DateRangePicker/DateRangePicker.d.ts +68 -0
  1139. package/dist/types/components/DateTimePicker/DateTimePicker.d.ts +41 -0
  1140. package/dist/types/components/Descriptions/Descriptions.d.ts +22 -0
  1141. package/dist/types/components/Dialog/Dialog.d.ts +42 -0
  1142. package/dist/types/components/Divider/Divider.d.ts +14 -0
  1143. package/dist/types/components/Drawer/Drawer.d.ts +24 -0
  1144. package/dist/types/components/Dropdown/Dropdown.d.ts +32 -0
  1145. package/dist/types/components/Empty/Empty.d.ts +5 -0
  1146. package/dist/types/components/FloatButton/FloatButton.d.ts +29 -0
  1147. package/dist/types/components/Form/Form.d.ts +41 -0
  1148. package/dist/types/components/Form/FormItem.d.ts +30 -0
  1149. package/dist/types/components/Icon/Icon.d.ts +17 -0
  1150. package/dist/types/components/Image/Image.d.ts +16 -0
  1151. package/dist/types/components/ImagePreview/ImagePreview.d.ts +59 -0
  1152. package/dist/types/components/Input/Input.d.ts +133 -0
  1153. package/dist/types/components/InputNumber/InputNumber.d.ts +89 -0
  1154. package/dist/types/components/InputTag/InputTag.d.ts +79 -0
  1155. package/dist/types/components/Layout/Layout.d.ts +48 -0
  1156. package/dist/types/components/Layout/Row.d.ts +26 -0
  1157. package/dist/types/components/Link/Link.d.ts +40 -0
  1158. package/dist/types/components/Loading/Loading.d.ts +13 -0
  1159. package/dist/types/components/Menu/Menu.d.ts +34 -0
  1160. package/dist/types/components/Menu/MenuItem.d.ts +17 -0
  1161. package/dist/types/components/Menu/SubMenu.d.ts +30 -0
  1162. package/dist/types/components/Message/Message.d.ts +20 -0
  1163. package/dist/types/components/Message/show-message.d.ts +13 -0
  1164. package/dist/types/components/Notification/Notification.d.ts +33 -0
  1165. package/dist/types/components/Notification/notify.d.ts +19 -0
  1166. package/dist/types/components/PageHeader/PageHeader.d.ts +19 -0
  1167. package/dist/types/components/Pagination/Pagination.d.ts +35 -0
  1168. package/dist/types/components/Popconfirm/Popconfirm.d.ts +20 -0
  1169. package/dist/types/components/Popover/Popover.d.ts +18 -0
  1170. package/dist/types/components/Progress/Progress.d.ts +9 -0
  1171. package/dist/types/components/Radio/Radio.d.ts +57 -0
  1172. package/dist/types/components/Rate/Rate.d.ts +64 -0
  1173. package/dist/types/components/Result/Result.d.ts +22 -0
  1174. package/dist/types/components/Scrollbar/Scrollbar.d.ts +75 -0
  1175. package/dist/types/components/Segmented/Segmented.d.ts +24 -0
  1176. package/dist/types/components/Select/Select.d.ts +100 -0
  1177. package/dist/types/components/Skeleton/Skeleton.d.ts +22 -0
  1178. package/dist/types/components/Slider/Slider.d.ts +81 -0
  1179. package/dist/types/components/Space/Space.d.ts +37 -0
  1180. package/dist/types/components/Statistic/Statistic.d.ts +25 -0
  1181. package/dist/types/components/Steps/Step.d.ts +7 -0
  1182. package/dist/types/components/Steps/Steps.d.ts +15 -0
  1183. package/dist/types/components/Switch/Switch.d.ts +58 -0
  1184. package/dist/types/components/Table/Table.d.ts +184 -0
  1185. package/dist/types/components/Tabs/TabPane.d.ts +12 -0
  1186. package/dist/types/components/Tabs/Tabs.d.ts +32 -0
  1187. package/dist/types/components/Tag/Tag.d.ts +21 -0
  1188. package/dist/types/components/Text/Text.d.ts +37 -0
  1189. package/dist/types/components/TimePicker/TimePicker.d.ts +62 -0
  1190. package/dist/types/components/TimeSelect/TimeSelect.d.ts +69 -0
  1191. package/dist/types/components/Timeline/Timeline.d.ts +16 -0
  1192. package/dist/types/components/Tooltip/Tooltip.d.ts +28 -0
  1193. package/dist/types/components/Tour/Tour.d.ts +39 -0
  1194. package/dist/types/components/Transfer/Transfer.d.ts +73 -0
  1195. package/dist/types/components/Tree/Tree.d.ts +113 -0
  1196. package/dist/types/components/TreeSelect/TreeSelect.d.ts +71 -0
  1197. package/dist/types/components/Upload/Upload.d.ts +55 -0
  1198. package/dist/types/components/Watermark/Watermark.d.ts +25 -0
  1199. package/dist/types/components.d.ts +8261 -0
  1200. package/dist/types/index.d.ts +10 -0
  1201. package/dist/types/stencil-public-runtime.d.ts +1680 -0
  1202. package/dist/types/utils/a11y.d.ts +66 -0
  1203. package/dist/types/utils/click-outside.d.ts +20 -0
  1204. package/dist/types/utils/date-helpers.d.ts +41 -0
  1205. package/dist/types/utils/form-input-base.d.ts +62 -0
  1206. package/dist/types/utils/popup-manager.d.ts +17 -0
  1207. package/loader/cdn.js +1 -0
  1208. package/loader/index.cjs.js +1 -0
  1209. package/loader/index.d.ts +24 -0
  1210. package/loader/index.es2017.js +1 -0
  1211. package/loader/index.js +2 -0
  1212. package/loader/package.json +11 -0
  1213. package/package.json +93 -0
  1214. package/readme.md +111 -0
@@ -0,0 +1,13 @@
1
+ import { b as bootstrapLazy } from './index-fdf7135e.js';
2
+ export { s as setNonce } from './index-fdf7135e.js';
3
+ import { g as globalScripts } from './app-globals-0f993ce5.js';
4
+
5
+ const defineCustomElements = async (win, options) => {
6
+ if (typeof window === 'undefined') return undefined;
7
+ await globalScripts();
8
+ return bootstrapLazy(JSON.parse("[[\"hb-affix\",[[1,\"hb-affix\",{\"top\":[2],\"bottom\":[2],\"target\":[1],\"affixed\":[32]},[[0,\"hbTestScroll\",\"onTestScroll\"]]]]],[\"hb-alert\",[[1,\"hb-alert\",{\"title\":[1],\"description\":[1],\"type\":[1],\"closable\":[4],\"showIcon\":[4,\"show-icon\"],\"center\":[4],\"closed\":[32]}]]],[\"hb-anchor\",[[1,\"hb-anchor\",{\"items\":[16],\"top\":[2],\"affix\":[4],\"activeKey\":[32]}]]],[\"hb-aside\",[[1,\"hb-aside\",{\"width\":[1]}]]],[\"hb-avatar\",[[1,\"hb-avatar\",{\"size\":[8],\"shape\":[1],\"src\":[1],\"icon\":[1],\"alt\":[1]}]]],[\"hb-backtop\",[[1,\"hb-backtop\",{\"visibilityHeight\":[2,\"visibility-height\"],\"target\":[1],\"right\":[2],\"bottom\":[2],\"visible\":[32],\"backToTop\":[64]},[[9,\"scroll\",\"onWindowScroll\"]]]]],[\"hb-badge\",[[1,\"hb-badge\",{\"value\":[8],\"max\":[2],\"isDot\":[4,\"is-dot\"],\"hidden\":[4],\"type\":[1]}]]],[\"hb-breadcrumb\",[[1,\"hb-breadcrumb\",{\"separator\":[1]}]]],[\"hb-breadcrumb-item\",[[1,\"hb-breadcrumb-item\",{\"href\":[1]}]]],[\"hb-button\",[[1,\"hb-button\",{\"type\":[1],\"size\":[1],\"classNames\":[1,\"class-names\"],\"disabled\":[4],\"loading\":[4]}]]],[\"hb-calendar\",[[1,\"hb-calendar\",{\"modelValue\":[1025,\"model-value\"],\"firstDayOfWeek\":[2,\"first-day-of-week\"],\"disabledDate\":[16],\"viewDate\":[32],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-card\",[[1,\"hb-card\",{\"header\":[1],\"shadow\":[1]}]]],[\"hb-carousel\",[[1,\"hb-carousel\",{\"current\":[1026],\"autoplay\":[4],\"interval\":[2],\"arrow\":[1],\"dots\":[4],\"loop\":[4],\"slideCount\":[32],\"isHover\":[32]},null,{\"autoplay\":[\"handleAutoplayOptionsChange\"],\"interval\":[\"handleAutoplayOptionsChange\"],\"current\":[\"handleCurrentChange\"]}]]],[\"hb-cascader\",[[1,\"hb-cascader\",{\"modelValue\":[1040],\"options\":[16],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"showAllLevels\":[4,\"show-all-levels\"],\"name\":[1],\"inputId\":[1,\"input-id\"],\"separator\":[1],\"emitPath\":[4,\"emit-path\"],\"filterable\":[4],\"lazy\":[4],\"load\":[16],\"isOpen\":[32],\"inputValue\":[32],\"searchValue\":[32],\"loadingKeys\":[32],\"filteredPaths\":[32],\"activePath\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-checkbox\",[[1,\"hb-checkbox\",{\"modelValue\":[1028,\"model-value\"],\"value\":[8],\"disabled\":[4],\"checked\":[4],\"indeterminate\":[4],\"name\":[1],\"checkboxId\":[1,\"checkbox-id\"],\"label\":[1],\"border\":[4],\"size\":[1],\"isChecked\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"checked\":[\"handleValueChange\"],\"value\":[\"handleValueChange\"]}]]],[\"hb-checkbox-group\",[[1,\"hb-checkbox-group\",{\"modelValue\":[1040],\"disabled\":[4],\"size\":[1],\"border\":[4],\"min\":[2],\"max\":[2],\"checkboxes\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"disabled\":[\"handlePropsChange\"],\"size\":[\"handlePropsChange\"],\"border\":[\"handlePropsChange\"]}]]],[\"hb-collapse\",[[1,\"hb-collapse\",{\"accordion\":[1028]}]]],[\"hb-collapse-item\",[[1,\"hb-collapse-item\",{\"key\":[1],\"title\":[1],\"disabled\":[4],\"active\":[1028],\"isOpen\":[32]},null,{\"active\":[\"handleActiveChange\"]}]]],[\"hb-color-picker\",[[1,\"hb-color-picker\",{\"modelValue\":[1025,\"model-value\"],\"disabled\":[4],\"colorFormat\":[1,\"color-format\"],\"showAlpha\":[4,\"show-alpha\"],\"predefine\":[16],\"isOpen\":[32],\"currentColor\":[32],\"hue\":[32],\"saturation\":[32],\"value\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-color-picker-panel\",[[1,\"hb-color-picker-panel\",{\"modelValue\":[1025,\"model-value\"],\"colorFormat\":[1,\"color-format\"],\"showAlpha\":[4,\"show-alpha\"],\"predefine\":[16],\"currentColor\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-config-provider\",[[4,\"hb-config-provider\",{\"theme\":[1],\"size\":[1],\"locale\":[1]}]]],[\"hb-container\",[[1,\"hb-container\",{\"direction\":[1]}]]],[\"hb-date-picker\",[[1,\"hb-date-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"valueFormat\":[1,\"value-format\"],\"type\":[1],\"disabledDate\":[16],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-date-picker-pane\",[[1,\"hb-date-picker-pane\",{\"modelValue\":[1025,\"model-value\"],\"format\":[1],\"view\":[1025],\"selectedDate\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-date-range-picker\",[[1,\"hb-date-range-picker\",{\"modelValue\":[1040],\"placeholder\":[16],\"disabled\":[4],\"clearable\":[4],\"size\":[1],\"format\":[1],\"disabledDate\":[16],\"name\":[1],\"isOpen\":[32],\"leftViewDate\":[32],\"startDate\":[32],\"endDate\":[32],\"pickingEnd\":[32],\"hoverDate\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-date-time-picker\",[[1,\"hb-date-time-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedDate\":[32],\"currentView\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-descriptions\",[[1,\"hb-descriptions\",{\"title\":[1],\"border\":[4],\"column\":[2],\"colon\":[4],\"items\":[16]}]]],[\"hb-dialog\",[[1,\"hb-dialog\",{\"modelValue\":[1028,\"model-value\"],\"title\":[1],\"width\":[1],\"fullscreen\":[4],\"modal\":[4],\"closeOnClickModal\":[4,\"close-on-click-modal\"],\"closeOnPressEscape\":[4,\"close-on-press-escape\"],\"showClose\":[4,\"show-close\"],\"destroyOnClose\":[4,\"destroy-on-close\"]},null,{\"modelValue\":[\"handleVisibleChange\"]}]]],[\"hb-divider\",[[1,\"hb-divider\",{\"direction\":[1],\"contentPosition\":[1,\"content-position\"],\"dashed\":[4]}]]],[\"hb-drawer\",[[1,\"hb-drawer\",{\"modelValue\":[1028,\"model-value\"],\"title\":[1],\"size\":[1],\"direction\":[1],\"closeOnClickModal\":[4,\"close-on-click-modal\"],\"showClose\":[4,\"show-close\"],\"modal\":[4],\"closeOnPressEscape\":[4,\"close-on-press-escape\"],\"zIndexState\":[32]},null,{\"modelValue\":[\"handleVisible\"]}]]],[\"hb-dropdown\",[[1,\"hb-dropdown\",{\"items\":[16],\"trigger\":[1],\"disabled\":[4],\"isOpen\":[32]}]]],[\"hb-empty\",[[1,\"hb-empty\",{\"description\":[1],\"image\":[1]}]]],[\"hb-float-button\",[[1,\"hb-float-button\",{\"type\":[1],\"shape\":[1],\"icon\":[1],\"description\":[1],\"right\":[2],\"bottom\":[2],\"badge\":[8]}]]],[\"hb-footer\",[[1,\"hb-footer\",{\"height\":[1]}]]],[\"hb-form\",[[1,\"hb-form\",{\"model\":[16],\"rules\":[16],\"labelPosition\":[1,\"label-position\"],\"labelWidth\":[1,\"label-width\"],\"inline\":[4],\"size\":[1],\"disabled\":[4],\"validate\":[16],\"resetFields\":[16],\"fields\":[32]}]]],[\"hb-form-item\",[[1,\"hb-form-item\",{\"prop\":[1],\"label\":[1],\"labelWidth\":[1,\"label-width\"],\"required\":[4],\"rules\":[16],\"size\":[1],\"validate\":[16],\"resetValue\":[16],\"getValue\":[16],\"errors\":[32],\"isvalidating\":[32]}]]],[\"hb-header\",[[1,\"hb-header\",{\"height\":[1]}]]],[\"hb-icon\",[[1,\"hb-icon\",{\"name\":[1],\"size\":[8],\"color\":[1],\"spin\":[4]}]]],[\"hb-image\",[[1,\"hb-image\",{\"src\":[1],\"alt\":[1],\"width\":[1],\"height\":[1],\"fit\":[1],\"lazy\":[4],\"preview\":[4],\"radius\":[1],\"loaded\":[32],\"error\":[32],\"previewVisible\":[32]}]]],[\"hb-image-preview\",[[1,\"hb-image-preview\",{\"modelValue\":[1028,\"model-value\"],\"src\":[1],\"srcList\":[16],\"current\":[1026],\"zoomStep\":[2,\"zoom-step\"],\"minZoom\":[2,\"min-zoom\"],\"maxZoom\":[2,\"max-zoom\"],\"zoom\":[32],\"rotate\":[32]},null,{\"modelValue\":[\"handleVisibleChange\"],\"current\":[\"handleCurrentChange\"]}]]],[\"hb-input\",[[1,\"hb-input\",{\"modelValue\":[1025,\"model-value\"],\"type\":[1],\"size\":[1],\"disabled\":[4],\"readonly\":[4],\"placeholder\":[1],\"clearable\":[4],\"showPassword\":[4,\"show-password\"],\"showWordLimit\":[4,\"show-word-limit\"],\"maxlength\":[2],\"minlength\":[2],\"name\":[1],\"inputId\":[1,\"input-id\"],\"autocomplete\":[1],\"autofocus\":[4],\"prefixIcon\":[1,\"prefix-icon\"],\"suffixIcon\":[1,\"suffix-icon\"],\"rows\":[2],\"autosize\":[4],\"resize\":[1],\"isFocused\":[32],\"showClear\":[32],\"passwordVisible\":[32],\"inputValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-input-number\",[[1,\"hb-input-number\",{\"modelValue\":[1026,\"model-value\"],\"size\":[1],\"disabled\":[4],\"readonly\":[4],\"min\":[2],\"max\":[2],\"step\":[2],\"precision\":[2],\"stepStrictly\":[4,\"step-strictly\"],\"controls\":[4],\"controlsPosition\":[1,\"controls-position\"],\"name\":[1],\"inputId\":[1,\"input-id\"],\"placeholder\":[1],\"currentValue\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-input-tag\",[[1,\"hb-input-tag\",{\"modelValue\":[1040],\"size\":[1],\"disabled\":[4],\"placeholder\":[1],\"maxlength\":[2],\"max\":[2],\"clearable\":[4],\"width\":[1],\"type\":[1],\"closable\":[4],\"inputVisible\":[4,\"input-visible\"],\"inputValue\":[32],\"isFocused\":[32]}]]],[\"hb-layout\",[[1,\"hb-layout\",{\"span\":[2],\"offset\":[2],\"push\":[2],\"pull\":[2],\"xs\":[2],\"sm\":[2],\"md\":[2],\"lg\":[2],\"xl\":[2]}]]],[\"hb-link\",[[1,\"hb-link\",{\"type\":[1],\"underline\":[4],\"disabled\":[4],\"href\":[1],\"target\":[1],\"icon\":[1]}]]],[\"hb-loading\",[[1,\"hb-loading\",{\"size\":[1],\"text\":[1],\"fullscreen\":[4]}]]],[\"hb-main\",[[1,\"hb-main\"]]],[\"hb-menu\",[[1,\"hb-menu\",{\"mode\":[1],\"defaultActive\":[1025,\"default-active\"],\"collapsed\":[4],\"backgroundColor\":[1,\"background-color\"],\"textColor\":[1,\"text-color\"],\"activeTextColor\":[1,\"active-text-color\"],\"activeItem\":[32]},[[0,\"hbMenuItemSelect\",\"handleSelect\"]],{\"defaultActive\":[\"handleDefaultActiveChange\"],\"collapsed\":[\"handleCollapsedChange\"]}]]],[\"hb-menu-item\",[[1,\"hb-menu-item\",{\"key\":[1],\"disabled\":[4],\"icon\":[1],\"active\":[4]}]]],[\"hb-message\",[[1,\"hb-message\",{\"message\":[1],\"type\":[1],\"closable\":[4],\"duration\":[2],\"visible\":[32]}]]],[\"hb-notification\",[[1,\"hb-notification\",{\"id\":[1],\"type\":[1],\"title\":[1],\"message\":[1],\"duration\":[2],\"position\":[1],\"showClose\":[4,\"show-close\"],\"visible\":[1028]}]]],[\"hb-page-header\",[[1,\"hb-page-header\",{\"title\":[1],\"subtitle\":[1],\"back\":[4],\"ghost\":[4]}]]],[\"hb-pagination\",[[1,\"hb-pagination\",{\"total\":[2],\"pageSize\":[2,\"page-size\"],\"currentPage\":[1026,\"current-page\"],\"pageSizes\":[16],\"pagerCount\":[2,\"pager-count\"],\"disabled\":[4],\"showTotal\":[4,\"show-total\"],\"showPageSize\":[4,\"show-page-size\"],\"internalCurrent\":[32]},null,{\"currentPage\":[\"handleCurrentPageChange\"]}]]],[\"hb-popconfirm\",[[1,\"hb-popconfirm\",{\"title\":[1],\"confirmButtonText\":[1,\"confirm-button-text\"],\"cancelButtonText\":[1,\"cancel-button-text\"],\"placement\":[1],\"disabled\":[4],\"icon\":[1],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-popover\",[[1,\"hb-popover\",{\"title\":[1],\"width\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-progress\",[[1,\"hb-progress\",{\"percentage\":[2],\"status\":[1],\"strokeWidth\":[2,\"stroke-width\"],\"showText\":[4,\"show-text\"],\"color\":[1]}]]],[\"hb-radio\",[[1,\"hb-radio\",{\"modelValue\":[1032,\"model-value\"],\"value\":[8],\"disabled\":[4],\"checked\":[4],\"name\":[1],\"radioId\":[1,\"radio-id\"],\"label\":[1],\"border\":[4],\"size\":[1],\"isChecked\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"checked\":[\"handleValueChange\"],\"value\":[\"handleValueChange\"]}]]],[\"hb-rate\",[[1,\"hb-rate\",{\"modelValue\":[1026,\"model-value\"],\"max\":[2],\"disabled\":[4],\"allowHalf\":[4,\"allow-half\"],\"readonly\":[4],\"showScore\":[4,\"show-score\"],\"showText\":[4,\"show-text\"],\"texts\":[16],\"scoreTemplate\":[1,\"score-template\"],\"hoverValue\":[32],\"currentValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-result\",[[1,\"hb-result\",{\"status\":[1],\"title\":[1],\"subTitle\":[1,\"sub-title\"],\"icon\":[1]}]]],[\"hb-row\",[[1,\"hb-row\",{\"gutter\":[2],\"justify\":[1],\"align\":[1],\"tag\":[1]}]]],[\"hb-scrollbar\",[[1,\"hb-scrollbar\",{\"height\":[1],\"maxHeight\":[1,\"max-height\"],\"always\":[4],\"native\":[4],\"minSize\":[2,\"min-size\"],\"scrollbarVisible\":[32],\"thumbHeight\":[32],\"thumbTop\":[32],\"setScrollTop\":[64],\"setScrollLeft\":[64],\"getScrollTop\":[64],\"getScrollLeft\":[64]},null,{\"height\":[\"handleSizeChange\"],\"maxHeight\":[\"handleSizeChange\"]}]]],[\"hb-segmented\",[[1,\"hb-segmented\",{\"modelValue\":[1025,\"model-value\"],\"block\":[4],\"size\":[1],\"options\":[16]}]]],[\"hb-select\",[[1,\"hb-select\",{\"modelValue\":[1032,\"model-value\"],\"options\":[16],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"multiple\":[4],\"filterable\":[4],\"filterMethod\":[16],\"defaultFirstOption\":[4,\"default-first-option\"],\"allowCreate\":[4,\"allow-create\"],\"collapseTags\":[4,\"collapse-tags\"],\"maxCollapseTags\":[2,\"max-collapse-tags\"],\"isOpen\":[32],\"inputValue\":[32],\"searchValue\":[32],\"filteredOptions\":[32],\"activeOptionIndex\":[32]},null,{\"modelValue\":[\"handleValueChange\"],\"options\":[\"handleOptionsChange\"]}]]],[\"hb-skeleton\",[[1,\"hb-skeleton\",{\"active\":[4],\"rows\":[2],\"loading\":[4],\"avatar\":[4],\"showTitle\":[4,\"show-title\"],\"paragraph\":[4]}]]],[\"hb-slider\",[[1,\"hb-slider\",{\"modelValue\":[1026,\"model-value\"],\"min\":[2],\"max\":[2],\"step\":[2],\"showTooltip\":[4,\"show-tooltip\"],\"formatTooltip\":[16],\"disabled\":[4],\"range\":[4],\"vertical\":[4],\"height\":[1],\"dragging\":[32],\"currentValue\":[32],\"tooltipVisible\":[32],\"tooltipValue\":[32]}]]],[\"hb-space\",[[1,\"hb-space\",{\"size\":[8],\"direction\":[1],\"wrap\":[4],\"alignment\":[1],\"fill\":[4],\"fillRatio\":[2,\"fill-ratio\"]}]]],[\"hb-statistic\",[[1,\"hb-statistic\",{\"title\":[1],\"value\":[8],\"precision\":[2],\"valuePrefix\":[1,\"value-prefix\"],\"suffix\":[1],\"valueStyle\":[1,\"value-style\"]}]]],[\"hb-step\",[[1,\"hb-step\",{\"title\":[1],\"description\":[1],\"icon\":[1],\"status\":[1]}]]],[\"hb-steps\",[[1,\"hb-steps\",{\"active\":[2],\"processStatus\":[1,\"process-status\"],\"alignCenter\":[4,\"align-center\"],\"direction\":[1],\"steps\":[32]}]]],[\"hb-sub-menu\",[[1,\"hb-sub-menu\",{\"label\":[1],\"icon\":[1],\"collapsed\":[4],\"isOpen\":[32],\"isHover\":[32]}]]],[\"hb-switch\",[[1,\"hb-switch\",{\"modelValue\":[1028,\"model-value\"],\"disabled\":[4],\"activeText\":[1,\"active-text\"],\"inactiveText\":[1,\"inactive-text\"],\"activeColor\":[1,\"active-color\"],\"inactiveColor\":[1,\"inactive-color\"],\"activeValue\":[8,\"active-value\"],\"inactiveValue\":[8,\"inactive-value\"],\"width\":[2],\"inlinePrompt\":[4,\"inline-prompt\"]}]]],[\"hb-tab-pane\",[[1,\"hb-tab-pane\",{\"key\":[1],\"label\":[1],\"active\":[4]}]]],[\"hb-table\",[[1,\"hb-table\",{\"data\":[16],\"columns\":[16],\"stripe\":[4],\"border\":[4],\"size\":[1],\"loading\":[4],\"rowKey\":[1,\"row-key\"],\"emptyText\":[1,\"empty-text\"],\"maxHeight\":[1,\"max-height\"],\"highlightCurrentRow\":[4,\"highlight-current-row\"],\"selectable\":[4],\"actions\":[16],\"virtualScroll\":[4,\"virtual-scroll\"],\"itemHeight\":[2,\"item-height\"],\"virtualScrollHeight\":[2,\"virtual-scroll-height\"],\"treeProps\":[16],\"editable\":[4],\"sortProp\":[32],\"sortDirection\":[32],\"currentRow\":[32],\"selectedRows\":[32],\"scrollTop\":[32],\"expandedRowKeys\":[32],\"editingCell\":[32]},null,{\"data\":[\"handleDataChange\"]}]]],[\"hb-tabs\",[[1,\"hb-tabs\",{\"modelValue\":[1025,\"model-value\"],\"type\":[1],\"closable\":[4],\"activeTab\":[32],\"tabs\":[32]},null,{\"modelValue\":[\"handleModelValueChange\"]}]]],[\"hb-tag\",[[1,\"hb-tag\",{\"type\":[1],\"closable\":[4],\"effect\":[1],\"round\":[4],\"size\":[1]}]]],[\"hb-text\",[[1,\"hb-text\",{\"type\":[1],\"size\":[1],\"truncated\":[4],\"bold\":[4],\"italic\":[4],\"deleted\":[4]}]]],[\"hb-time-picker\",[[1,\"hb-time-picker\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"format\":[1],\"name\":[1],\"inputId\":[1,\"input-id\"],\"isOpen\":[32],\"inputValue\":[32],\"selectedHour\":[32],\"selectedMinute\":[32],\"selectedSecond\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-time-select\",[[1,\"hb-time-select\",{\"modelValue\":[1025,\"model-value\"],\"placeholder\":[1],\"disabled\":[4],\"size\":[1],\"clearable\":[4],\"start\":[1],\"end\":[1],\"step\":[2],\"minTime\":[1,\"min-time\"],\"maxTime\":[1,\"max-time\"],\"isOpen\":[32],\"inputValue\":[32]},null,{\"modelValue\":[\"handleValueChange\"]}]]],[\"hb-timeline\",[[1,\"hb-timeline\",{\"mode\":[1],\"items\":[16]}]]],[\"hb-tooltip\",[[1,\"hb-tooltip\",{\"content\":[1],\"placement\":[1],\"trigger\":[1],\"disabled\":[4],\"showArrow\":[4,\"show-arrow\"],\"visible\":[32],\"popupStyle\":[32]}]]],[\"hb-tour\",[[1,\"hb-tour\",{\"visible\":[1028],\"steps\":[16],\"current\":[1026],\"targetRect\":[32]}]]],[\"hb-transfer\",[[1,\"hb-transfer\",{\"data\":[16],\"targetKeys\":[1040],\"selectedKeys\":[1040],\"titles\":[16],\"disabled\":[4],\"filterable\":[4],\"leftFilter\":[32],\"rightFilter\":[32]},null,{\"selectedKeys\":[\"handleSelectedKeysChange\"]}]]],[\"hb-tree\",[[1,\"hb-tree\",{\"data\":[16],\"expandedKeys\":[1040],\"selectedKeys\":[1040],\"checkable\":[4],\"checkedKeys\":[1040],\"defaultExpandAll\":[4,\"default-expand-all\"],\"showLine\":[4,\"show-line\"],\"internalExpanded\":[32],\"internalSelected\":[32],\"internalChecked\":[32]},null,{\"data\":[\"handleDataChange\"],\"expandedKeys\":[\"handleExpandedKeysChange\"],\"selectedKeys\":[\"handleSelectedKeysChange\"],\"checkedKeys\":[\"handleCheckedKeysChange\"]}]]],[\"hb-tree-select\",[[1,\"hb-tree-select\",{\"data\":[16],\"modelValue\":[1025,\"model-value\"],\"multiple\":[4],\"placeholder\":[1],\"disabled\":[4],\"checkable\":[4],\"defaultExpandAll\":[4,\"default-expand-all\"],\"isOpen\":[32],\"internalExpanded\":[32],\"internalSelected\":[32],\"internalChecked\":[32]}]]],[\"hb-upload\",[[1,\"hb-upload\",{\"action\":[1],\"multiple\":[4],\"accept\":[1],\"disabled\":[4],\"limit\":[2],\"drag\":[4],\"name\":[1],\"headers\":[16],\"data\":[16],\"withCredentials\":[4,\"with-credentials\"],\"beforeUpload\":[16],\"fileList\":[1040],\"isDragover\":[32]}]]],[\"hb-watermark\",[[1,\"hb-watermark\",{\"content\":[1],\"width\":[2],\"height\":[2],\"gap\":[2],\"rotate\":[2],\"fontColor\":[1,\"font-color\"],\"fontSize\":[2,\"font-size\"]}]]]]"), options);
9
+ };
10
+
11
+ export { defineCustomElements };
12
+
13
+ //# sourceMappingURL=loader.js.map
@@ -0,0 +1 @@
1
+ {"file":"loader.js","mappings":";;;;AAGY,MAAC,oBAAoB,GAAG,OAAO,GAAG,EAAE,OAAO,KAAK;AAC5D,EAAE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,OAAO,SAAS,CAAC;AACtD,EAAE,MAAM,aAAa,EAAE,CAAC;AACxB,EAAE,OAAO,aAAa,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;AAC9D;;;;","names":[],"sources":["@lazy-external-entrypoint?app-data=conditional"],"sourcesContent":["export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\nexport const defineCustomElements = async (win, options) => {\n if (typeof window === 'undefined') return undefined;\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n};\n"],"version":3}
@@ -0,0 +1,78 @@
1
+ /**
2
+ * 弹出层管理工具
3
+ * 统一管理弹出层的 z-index、滚动锁定、Escape 关闭
4
+ */
5
+ let zIndexCounter = 1000;
6
+ const scrollLockCount = { value: 0 };
7
+ /** 获取下一个 z-index */
8
+ function getNextZIndex() {
9
+ return ++zIndexCounter;
10
+ }
11
+ /** 锁定 body 滚动 */
12
+ function lockScroll() {
13
+ scrollLockCount.value++;
14
+ if (scrollLockCount.value === 1) {
15
+ document.body.style.overflow = 'hidden';
16
+ }
17
+ }
18
+ /** 解锁 body 滚动 */
19
+ function unlockScroll() {
20
+ scrollLockCount.value = Math.max(0, scrollLockCount.value - 1);
21
+ if (scrollLockCount.value === 0) {
22
+ document.body.style.overflow = '';
23
+ }
24
+ }
25
+ function computePosition(triggerRect, popupWidth, popupHeight, placement = 'bottom', gap = 8) {
26
+ const { top, left, width, height } = triggerRect;
27
+ const vw = window.innerWidth;
28
+ const vh = window.innerHeight;
29
+ let pos;
30
+ switch (placement) {
31
+ case 'top':
32
+ pos = { top: top - popupHeight - gap, left: left + width / 2 - popupWidth / 2 };
33
+ break;
34
+ case 'top-start':
35
+ pos = { top: top - popupHeight - gap, left };
36
+ break;
37
+ case 'top-end':
38
+ pos = { top: top - popupHeight - gap, left: left + width - popupWidth };
39
+ break;
40
+ case 'bottom':
41
+ pos = { top: top + height + gap, left: left + width / 2 - popupWidth / 2 };
42
+ break;
43
+ case 'bottom-start':
44
+ pos = { top: top + height + gap, left };
45
+ break;
46
+ case 'bottom-end':
47
+ pos = { top: top + height + gap, left: left + width - popupWidth };
48
+ break;
49
+ case 'left':
50
+ pos = { top: top + height / 2 - popupHeight / 2, left: left - popupWidth - gap };
51
+ break;
52
+ case 'left-start':
53
+ pos = { top, left: left - popupWidth - gap };
54
+ break;
55
+ case 'left-end':
56
+ pos = { top: top + height - popupHeight, left: left - popupWidth - gap };
57
+ break;
58
+ case 'right':
59
+ pos = { top: top + height / 2 - popupHeight / 2, left: left + width + gap };
60
+ break;
61
+ case 'right-start':
62
+ pos = { top, left: left + width + gap };
63
+ break;
64
+ case 'right-end':
65
+ pos = { top: top + height - popupHeight, left: left + width + gap };
66
+ break;
67
+ default:
68
+ pos = { top: top + height + gap, left };
69
+ }
70
+ // 视口边界修正
71
+ pos.top = Math.max(4, Math.min(pos.top, vh - popupHeight - 4));
72
+ pos.left = Math.max(4, Math.min(pos.left, vw - popupWidth - 4));
73
+ return pos;
74
+ }
75
+
76
+ export { computePosition as c, getNextZIndex as g, lockScroll as l, unlockScroll as u };
77
+
78
+ //# sourceMappingURL=popup-manager-128cc685.js.map
@@ -0,0 +1 @@
1
+ {"file":"popup-manager-128cc685.js","mappings":"AAAA;;;;AAKA,IAAI,aAAa,GAAG,IAAI,CAAC;AACzB,MAAM,eAAe,GAAG,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC;AAErC;SACgB,aAAa;IAC3B,OAAO,EAAE,aAAa,CAAC;AACzB,CAAC;AAED;SACgB,UAAU;IACxB,eAAe,CAAC,KAAK,EAAE,CAAC;IACxB,IAAI,eAAe,CAAC,KAAK,KAAK,CAAC,EAAE;QAC/B,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,QAAQ,CAAC;KACzC;AACH,CAAC;AAED;SACgB,YAAY;IAC1B,eAAe,CAAC,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,eAAe,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;IAC/D,IAAI,eAAe,CAAC,KAAK,KAAK,CAAC,EAAE;QAC/B,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,EAAE,CAAC;KACnC;AACH,CAAC;SAWe,eAAe,CAC7B,WAAoB,EACpB,UAAkB,EAClB,WAAmB,EACnB,YAAuB,QAAQ,EAC/B,MAAc,CAAC;IAEf,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,WAAW,CAAC;IACjD,MAAM,EAAE,GAAG,MAAM,CAAC,UAAU,CAAC;IAC7B,MAAM,EAAE,GAAG,MAAM,CAAC,WAAW,CAAC;IAE9B,IAAI,GAAkB,CAAC;IAEvB,QAAQ,SAAS;QACf,KAAK,KAAK;YACR,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,WAAW,GAAG,GAAG,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,GAAG,CAAC,GAAG,UAAU,GAAG,CAAC,EAAE,CAAC;YAChF,MAAM;QACR,KAAK,WAAW;YACd,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,WAAW,GAAG,GAAG,EAAE,IAAI,EAAE,CAAC;YAC7C,MAAM;QACR,KAAK,SAAS;YACZ,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,WAAW,GAAG,GAAG,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,GAAG,UAAU,EAAE,CAAC;YACxE,MAAM;QACR,KAAK,QAAQ;YACX,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,GAAG,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,GAAG,CAAC,GAAG,UAAU,GAAG,CAAC,EAAE,CAAC;YAC3E,MAAM;QACR,KAAK,cAAc;YACjB,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,GAAG,EAAE,IAAI,EAAE,CAAC;YACxC,MAAM;QACR,KAAK,YAAY;YACf,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,GAAG,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,GAAG,UAAU,EAAE,CAAC;YACnE,MAAM;QACR,KAAK,MAAM;YACT,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,CAAC,GAAG,WAAW,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,GAAG,UAAU,GAAG,GAAG,EAAE,CAAC;YACjF,MAAM;QACR,KAAK,YAAY;YACf,GAAG,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,GAAG,UAAU,GAAG,GAAG,EAAE,CAAC;YAC7C,MAAM;QACR,KAAK,UAAU;YACb,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,WAAW,EAAE,IAAI,EAAE,IAAI,GAAG,UAAU,GAAG,GAAG,EAAE,CAAC;YACzE,MAAM;QACR,KAAK,OAAO;YACV,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,CAAC,GAAG,WAAW,GAAG,CAAC,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,GAAG,GAAG,EAAE,CAAC;YAC5E,MAAM;QACR,KAAK,aAAa;YAChB,GAAG,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,GAAG,GAAG,EAAE,CAAC;YACxC,MAAM;QACR,KAAK,WAAW;YACd,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,WAAW,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,GAAG,GAAG,EAAE,CAAC;YACpE,MAAM;QACR;YACE,GAAG,GAAG,EAAE,GAAG,EAAE,GAAG,GAAG,MAAM,GAAG,GAAG,EAAE,IAAI,EAAE,CAAC;KAC3C;;IAGD,GAAG,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,EAAE,GAAG,WAAW,GAAG,CAAC,CAAC,CAAC,CAAC;IAC/D,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,EAAE,GAAG,UAAU,GAAG,CAAC,CAAC,CAAC,CAAC;IAEhE,OAAO,GAAG,CAAC;AACb;;;;","names":[],"sources":["src/utils/popup-manager.ts"],"sourcesContent":["/**\n * 弹出层管理工具\n * 统一管理弹出层的 z-index、滚动锁定、Escape 关闭\n */\n\nlet zIndexCounter = 1000;\nconst scrollLockCount = { value: 0 };\n\n/** 获取下一个 z-index */\nexport function getNextZIndex(): number {\n return ++zIndexCounter;\n}\n\n/** 锁定 body 滚动 */\nexport function lockScroll() {\n scrollLockCount.value++;\n if (scrollLockCount.value === 1) {\n document.body.style.overflow = 'hidden';\n }\n}\n\n/** 解锁 body 滚动 */\nexport function unlockScroll() {\n scrollLockCount.value = Math.max(0, scrollLockCount.value - 1);\n if (scrollLockCount.value === 0) {\n document.body.style.overflow = '';\n }\n}\n\n/** 计算弹出层位置 */\nexport interface PopupPosition {\n top: number;\n left: number;\n}\n\nexport type Placement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' |\n 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';\n\nexport function computePosition(\n triggerRect: DOMRect,\n popupWidth: number,\n popupHeight: number,\n placement: Placement = 'bottom',\n gap: number = 8\n): PopupPosition {\n const { top, left, width, height } = triggerRect;\n const vw = window.innerWidth;\n const vh = window.innerHeight;\n\n let pos: PopupPosition;\n\n switch (placement) {\n case 'top':\n pos = { top: top - popupHeight - gap, left: left + width / 2 - popupWidth / 2 };\n break;\n case 'top-start':\n pos = { top: top - popupHeight - gap, left };\n break;\n case 'top-end':\n pos = { top: top - popupHeight - gap, left: left + width - popupWidth };\n break;\n case 'bottom':\n pos = { top: top + height + gap, left: left + width / 2 - popupWidth / 2 };\n break;\n case 'bottom-start':\n pos = { top: top + height + gap, left };\n break;\n case 'bottom-end':\n pos = { top: top + height + gap, left: left + width - popupWidth };\n break;\n case 'left':\n pos = { top: top + height / 2 - popupHeight / 2, left: left - popupWidth - gap };\n break;\n case 'left-start':\n pos = { top, left: left - popupWidth - gap };\n break;\n case 'left-end':\n pos = { top: top + height - popupHeight, left: left - popupWidth - gap };\n break;\n case 'right':\n pos = { top: top + height / 2 - popupHeight / 2, left: left + width + gap };\n break;\n case 'right-start':\n pos = { top, left: left + width + gap };\n break;\n case 'right-end':\n pos = { top: top + height - popupHeight, left: left + width + gap };\n break;\n default:\n pos = { top: top + height + gap, left };\n }\n\n // 视口边界修正\n pos.top = Math.max(4, Math.min(pos.top, vh - popupHeight - 4));\n pos.left = Math.max(4, Math.min(pos.left, vw - popupWidth - 4));\n\n return pos;\n}\n"],"version":3}
@@ -0,0 +1,6 @@
1
+ :root{--hb-p-blue-50:#e6f4ff;--hb-p-blue-100:#bae0ff;--hb-p-blue-200:#91caff;--hb-p-blue-300:#69b1ff;--hb-p-blue-400:#4096ff;--hb-p-blue-500:#1677ff;--hb-p-blue-600:#0958d9;--hb-p-blue-700:#003eb3;--hb-p-blue-800:#002c8c;--hb-p-blue-900:#001d66;--hb-p-green-500:#52c41a;--hb-p-green-600:#389e0d;--hb-p-gold-500:#faad14;--hb-p-gold-600:#d48806;--hb-p-red-500:#f5222d;--hb-p-red-600:#cf1322;--hb-p-cyan-500:#13c2c2;--hb-p-cyan-600:#08979c;--hb-p-gray-50:#fafafa;--hb-p-gray-100:#f5f5f5;--hb-p-gray-200:#f0f0f0;--hb-p-gray-300:#d9d9d9;--hb-p-gray-400:#bfbfbf;--hb-p-gray-500:#8c8c8c;--hb-p-gray-600:#595959;--hb-p-gray-700:#434343;--hb-p-gray-800:#262626;--hb-p-gray-900:#1f1f1f;--hb-p-gray-950:#141414;--hb-p-font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
2
+ 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
3
+ 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';--hb-p-font-size-xs:12px;--hb-p-font-size-sm:14px;--hb-p-font-size-base:16px;--hb-p-font-size-lg:18px;--hb-p-font-size-xl:20px;--hb-p-font-size-2xl:24px;--hb-p-font-line-height:1.5714;--hb-p-spacing-xxs:4px;--hb-p-spacing-xs:8px;--hb-p-spacing-sm:12px;--hb-p-spacing-md:16px;--hb-p-spacing-lg:24px;--hb-p-spacing-xl:32px;--hb-p-spacing-xxl:48px;--hb-p-radius-xs:2px;--hb-p-radius-sm:4px;--hb-p-radius-base:6px;--hb-p-radius-lg:8px;--hb-p-radius-xl:12px;--hb-p-radius-round:50%;--hb-p-shadow-sm:0 1px 2px 0 rgba(0, 0, 0, 0.03),
4
+ 0 1px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px 0 rgba(0, 0, 0, 0.02);--hb-p-shadow-base:0 6px 16px 0 rgba(0, 0, 0, 0.08),
5
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);--hb-p-shadow-lg:0 6px 16px 0 rgba(0, 0, 0, 0.08),
6
+ 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);--hb-p-transition-duration:0.2s;--hb-p-transition-function:cubic-bezier(0.645, 0.045, 0.355, 1)}:root{--hb-color-primary:var(--hb-p-blue-500);--hb-color-primary-hover:var(--hb-p-blue-400);--hb-color-primary-active:var(--hb-p-blue-600);--hb-color-primary-bg:var(--hb-p-blue-50);--hb-color-primary-border:var(--hb-p-blue-300);--hb-color-success:var(--hb-p-green-500);--hb-color-success-hover:var(--hb-p-green-600);--hb-color-success-bg:#f6ffed;--hb-color-success-border:#b7eb8f;--hb-color-warning:var(--hb-p-gold-500);--hb-color-warning-hover:var(--hb-p-gold-600);--hb-color-warning-bg:#fffbe6;--hb-color-warning-border:#ffe58f;--hb-color-danger:var(--hb-p-red-500);--hb-color-danger-hover:var(--hb-p-red-600);--hb-color-danger-bg:#fff2f0;--hb-color-danger-border:#ffccc7;--hb-color-info:var(--hb-p-cyan-500);--hb-color-info-hover:var(--hb-p-cyan-600);--hb-color-info-bg:#e6fffb;--hb-color-info-border:#87e8de;--hb-color-text-primary:var(--hb-p-gray-900);--hb-color-text:var(--hb-p-gray-800);--hb-color-text-secondary:var(--hb-p-gray-600);--hb-color-text-tertiary:var(--hb-p-gray-500);--hb-color-text-quaternary:var(--hb-p-gray-400);--hb-color-text-placeholder:var(--hb-p-gray-400);--hb-color-text-disabled:var(--hb-p-gray-300);--hb-color-text-inverse:#ffffff;--hb-color-bg:#ffffff;--hb-color-bg-container:#ffffff;--hb-color-bg-elevated:#ffffff;--hb-color-bg-spotlight:var(--hb-p-gray-100);--hb-color-bg-mask:rgba(0, 0, 0, 0.45);--hb-color-fill:var(--hb-p-gray-200);--hb-color-fill-secondary:var(--hb-p-gray-100);--hb-color-fill-tertiary:var(--hb-p-gray-50);--hb-color-fill-quaternary:#fafafa;--hb-color-border:var(--hb-p-gray-300);--hb-color-border-secondary:var(--hb-p-gray-200);--hb-font-family:var(--hb-p-font-family);--hb-font-size-xs:var(--hb-p-font-size-xs);--hb-font-size-sm:var(--hb-p-font-size-sm);--hb-font-size-base:var(--hb-p-font-size-base);--hb-font-size-lg:var(--hb-p-font-size-lg);--hb-font-size-xl:var(--hb-p-font-size-xl);--hb-font-size-2xl:var(--hb-p-font-size-2xl);--hb-line-height:var(--hb-p-font-line-height);--hb-spacing-xxs:var(--hb-p-spacing-xxs);--hb-spacing-xs:var(--hb-p-spacing-xs);--hb-spacing-sm:var(--hb-p-spacing-sm);--hb-spacing-md:var(--hb-p-spacing-md);--hb-spacing-lg:var(--hb-p-spacing-lg);--hb-spacing-xl:var(--hb-p-spacing-xl);--hb-border-radius-xs:var(--hb-p-radius-xs);--hb-border-radius-sm:var(--hb-p-radius-sm);--hb-border-radius-base:var(--hb-p-radius-base);--hb-border-radius-lg:var(--hb-p-radius-lg);--hb-border-radius-xl:var(--hb-p-radius-xl);--hb-border-radius-round:var(--hb-p-radius-round);--hb-box-shadow-sm:var(--hb-p-shadow-sm);--hb-box-shadow:var(--hb-p-shadow-base);--hb-box-shadow-lg:var(--hb-p-shadow-lg);--hb-transition-duration:var(--hb-p-transition-duration);--hb-transition-function:var(--hb-p-transition-function);--hb-size-sm:24px;--hb-size-default:32px;--hb-size-lg:40px;--hb-size-xl:48px;--hb-z-index-dropdown:1050;--hb-z-index-sticky:900;--hb-z-index-fixed:950;--hb-z-index-modal-mask:1000;--hb-z-index-modal:1050;--hb-z-index-popover:1060;--hb-z-index-tooltip:1070;--hb-z-index-message:1100;--hb-z-index-notification:1100}:root{--hb-button-font-size-sm:var(--hb-font-size-sm);--hb-button-font-size:var(--hb-font-size-base);--hb-button-font-size-lg:var(--hb-font-size-lg);--hb-button-height-sm:var(--hb-size-sm);--hb-button-height:var(--hb-size-default);--hb-button-height-lg:var(--hb-size-lg);--hb-button-padding-sm:var(--hb-spacing-xs);--hb-button-padding:var(--hb-spacing-md);--hb-button-padding-lg:var(--hb-spacing-md);--hb-button-radius:var(--hb-border-radius-sm);--hb-button-primary-bg:var(--hb-color-primary);--hb-button-primary-hover-bg:var(--hb-color-primary-hover);--hb-button-primary-active-bg:var(--hb-color-primary-active);--hb-button-default-border:var(--hb-color-border);--hb-button-default-hover-color:var(--hb-color-primary);--hb-button-default-hover-border:var(--hb-color-primary);--hb-input-font-size-sm:var(--hb-font-size-sm);--hb-input-font-size:var(--hb-font-size-base);--hb-input-font-size-lg:var(--hb-font-size-lg);--hb-input-height-sm:var(--hb-size-sm);--hb-input-height:var(--hb-size-default);--hb-input-height-lg:var(--hb-size-lg);--hb-input-padding-horizontal:var(--hb-spacing-sm);--hb-input-padding-vertical:var(--hb-spacing-xxs);--hb-input-radius:var(--hb-border-radius-sm);--hb-input-color:var(--hb-color-text);--hb-input-placeholder-color:var(--hb-color-text-placeholder);--hb-input-border-color:var(--hb-color-border);--hb-input-hover-border-color:var(--hb-color-primary);--hb-input-focus-border-color:var(--hb-color-primary);--hb-input-focus-shadow:0 0 0 2px rgba(22, 119, 255, 0.1);--hb-input-bg:var(--hb-color-bg);--hb-input-disabled-bg:var(--hb-color-bg-spotlight);--hb-input-disabled-color:var(--hb-color-text-disabled);--hb-select-border-color:var(--hb-color-border);--hb-select-hover-border-color:var(--hb-color-primary);--hb-select-focus-border-color:var(--hb-color-primary);--hb-select-dropdown-bg:var(--hb-color-bg-elevated);--hb-select-dropdown-shadow:var(--hb-box-shadow);--hb-select-option-hover-bg:var(--hb-color-fill-tertiary);--hb-select-option-selected-bg:var(--hb-color-primary-bg);--hb-select-option-selected-color:var(--hb-color-primary);--hb-dialog-bg:var(--hb-color-bg-elevated);--hb-dialog-shadow:var(--hb-box-shadow-lg);--hb-dialog-radius:var(--hb-border-radius-lg);--hb-menu-bg:var(--hb-color-bg-container);--hb-menu-item-hover-bg:var(--hb-color-fill-tertiary);--hb-menu-item-active-color:var(--hb-color-primary);--hb-menu-item-active-bg:var(--hb-color-primary-bg);--hb-table-header-bg:var(--hb-color-fill-quaternary);--hb-table-header-color:var(--hb-color-text);--hb-table-row-hover-bg:var(--hb-color-fill-quaternary);--hb-table-border-color:var(--hb-color-border-secondary);--hb-table-stripe-bg:var(--hb-color-fill-quaternary);--hb-tag-radius:var(--hb-border-radius-sm);--hb-tag-default-bg:var(--hb-color-fill-quaternary);--hb-tag-default-color:var(--hb-color-text);--hb-tag-primary-bg:var(--hb-color-primary-bg);--hb-tag-primary-color:var(--hb-color-primary);--hb-tag-success-bg:var(--hb-color-success-bg);--hb-tag-success-color:var(--hb-color-success);--hb-tag-warning-bg:var(--hb-color-warning-bg);--hb-tag-warning-color:var(--hb-color-warning);--hb-tag-danger-bg:var(--hb-color-danger-bg);--hb-tag-danger-color:var(--hb-color-danger)}[data-theme='dark']{--hb-color-primary:var(--hb-p-blue-400);--hb-color-primary-hover:var(--hb-p-blue-300);--hb-color-primary-active:var(--hb-p-blue-500);--hb-color-primary-bg:#111a2c;--hb-color-primary-border:#15325b;--hb-color-success:#49aa19;--hb-color-success-hover:#5ec02e;--hb-color-success-bg:#162312;--hb-color-success-border:#274916;--hb-color-warning:#d89614;--hb-color-warning-hover:#e8b339;--hb-color-warning-bg:#2b2111;--hb-color-warning-border:#594214;--hb-color-danger:#e84749;--hb-color-danger-hover:#f06b6c;--hb-color-danger-bg:#2a1215;--hb-color-danger-border:#58181c;--hb-color-info:#3e9ed0;--hb-color-info-hover:#5fb8e3;--hb-color-info-bg:#112123;--hb-color-info-border:#1c3f48;--hb-color-text-primary:rgba(255, 255, 255, 0.95);--hb-color-text:rgba(255, 255, 255, 0.88);--hb-color-text-secondary:rgba(255, 255, 255, 0.65);--hb-color-text-tertiary:rgba(255, 255, 255, 0.45);--hb-color-text-quaternary:rgba(255, 255, 255, 0.25);--hb-color-text-placeholder:rgba(255, 255, 255, 0.35);--hb-color-text-disabled:rgba(255, 255, 255, 0.25);--hb-color-bg:#141414;--hb-color-bg-container:#1f1f1f;--hb-color-bg-elevated:#262626;--hb-color-bg-spotlight:rgba(255, 255, 255, 0.06);--hb-color-bg-mask:rgba(0, 0, 0, 0.65);--hb-color-fill:rgba(255, 255, 255, 0.12);--hb-color-fill-secondary:rgba(255, 255, 255, 0.08);--hb-color-fill-tertiary:rgba(255, 255, 255, 0.04);--hb-color-fill-quaternary:rgba(255, 255, 255, 0.02);--hb-color-border:#424242;--hb-color-border-secondary:#303030}:root{color-scheme:light}[data-theme='dark']{color-scheme:dark}body{font-family:var(--hb-font-family);font-size:var(--hb-font-size-base);line-height:var(--hb-line-height);color:var(--hb-color-text);background-color:var(--hb-color-bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
@@ -0,0 +1,2 @@
1
+ import{p as e,b as l}from"./p-e42dfa95.js";export{s as setNonce}from"./p-e42dfa95.js";import{g as a}from"./p-e1255160.js";var t=()=>{const l=import.meta.url;const a={};if(l!==""){a.resourcesUrl=new URL(".",l).href}return e(a)};t().then((async e=>{await a();return l(JSON.parse('[["p-8c987d57",[[1,"hb-affix",{"top":[2],"bottom":[2],"target":[1],"affixed":[32]},[[0,"hbTestScroll","onTestScroll"]]]]],["p-7f6975ad",[[1,"hb-alert",{"title":[1],"description":[1],"type":[1],"closable":[4],"showIcon":[4,"show-icon"],"center":[4],"closed":[32]}]]],["p-1f0b1662",[[1,"hb-anchor",{"items":[16],"top":[2],"affix":[4],"activeKey":[32]}]]],["p-21682e92",[[1,"hb-aside",{"width":[1]}]]],["p-079a4130",[[1,"hb-avatar",{"size":[8],"shape":[1],"src":[1],"icon":[1],"alt":[1]}]]],["p-5df47135",[[1,"hb-backtop",{"visibilityHeight":[2,"visibility-height"],"target":[1],"right":[2],"bottom":[2],"visible":[32],"backToTop":[64]},[[9,"scroll","onWindowScroll"]]]]],["p-b489a526",[[1,"hb-badge",{"value":[8],"max":[2],"isDot":[4,"is-dot"],"hidden":[4],"type":[1]}]]],["p-477d8568",[[1,"hb-breadcrumb",{"separator":[1]}]]],["p-4d0dff15",[[1,"hb-breadcrumb-item",{"href":[1]}]]],["p-465dcb4c",[[1,"hb-button",{"type":[1],"size":[1],"classNames":[1,"class-names"],"disabled":[4],"loading":[4]}]]],["p-756acbdb",[[1,"hb-calendar",{"modelValue":[1025,"model-value"],"firstDayOfWeek":[2,"first-day-of-week"],"disabledDate":[16],"viewDate":[32],"selectedDate":[32]},null,{"modelValue":["handleModelValueChange"]}]]],["p-8d925e3d",[[1,"hb-card",{"header":[1],"shadow":[1]}]]],["p-06ec8d02",[[1,"hb-carousel",{"current":[1026],"autoplay":[4],"interval":[2],"arrow":[1],"dots":[4],"loop":[4],"slideCount":[32],"isHover":[32]},null,{"autoplay":["handleAutoplayOptionsChange"],"interval":["handleAutoplayOptionsChange"],"current":["handleCurrentChange"]}]]],["p-0bef78ac",[[1,"hb-cascader",{"modelValue":[1040],"options":[16],"placeholder":[1],"disabled":[4],"size":[1],"clearable":[4],"showAllLevels":[4,"show-all-levels"],"name":[1],"inputId":[1,"input-id"],"separator":[1],"emitPath":[4,"emit-path"],"filterable":[4],"lazy":[4],"load":[16],"isOpen":[32],"inputValue":[32],"searchValue":[32],"loadingKeys":[32],"filteredPaths":[32],"activePath":[32]},null,{"modelValue":["handleValueChange"]}]]],["p-dfaf7e37",[[1,"hb-checkbox",{"modelValue":[1028,"model-value"],"value":[8],"disabled":[4],"checked":[4],"indeterminate":[4],"name":[1],"checkboxId":[1,"checkbox-id"],"label":[1],"border":[4],"size":[1],"isChecked":[32]},null,{"modelValue":["handleValueChange"],"checked":["handleValueChange"],"value":["handleValueChange"]}]]],["p-e0ab9010",[[1,"hb-checkbox-group",{"modelValue":[1040],"disabled":[4],"size":[1],"border":[4],"min":[2],"max":[2],"checkboxes":[32]},null,{"modelValue":["handleValueChange"],"disabled":["handlePropsChange"],"size":["handlePropsChange"],"border":["handlePropsChange"]}]]],["p-231a7335",[[1,"hb-collapse",{"accordion":[1028]}]]],["p-769960f4",[[1,"hb-collapse-item",{"key":[1],"title":[1],"disabled":[4],"active":[1028],"isOpen":[32]},null,{"active":["handleActiveChange"]}]]],["p-c1a059d9",[[1,"hb-color-picker",{"modelValue":[1025,"model-value"],"disabled":[4],"colorFormat":[1,"color-format"],"showAlpha":[4,"show-alpha"],"predefine":[16],"isOpen":[32],"currentColor":[32],"hue":[32],"saturation":[32],"value":[32]},null,{"modelValue":["handleValueChange"]}]]],["p-8c80a765",[[1,"hb-color-picker-panel",{"modelValue":[1025,"model-value"],"colorFormat":[1,"color-format"],"showAlpha":[4,"show-alpha"],"predefine":[16],"currentColor":[32]},null,{"modelValue":["handleValueChange"]}]]],["p-d87fc21a",[[4,"hb-config-provider",{"theme":[1],"size":[1],"locale":[1]}]]],["p-58ebb9b3",[[1,"hb-container",{"direction":[1]}]]],["p-75a93de3",[[1,"hb-date-picker",{"modelValue":[1025,"model-value"],"placeholder":[1],"disabled":[4],"size":[1],"clearable":[4],"format":[1],"valueFormat":[1,"value-format"],"type":[1],"disabledDate":[16],"name":[1],"inputId":[1,"input-id"],"isOpen":[32],"inputValue":[32],"selectedDate":[32]},null,{"modelValue":["handleValueChange"]}]]],["p-6ac242fe",[[1,"hb-date-picker-pane",{"modelValue":[1025,"model-value"],"format":[1],"view":[1025],"selectedDate":[32]},null,{"modelValue":["handleValueChange"]}]]],["p-463de26d",[[1,"hb-date-range-picker",{"modelValue":[1040],"placeholder":[16],"disabled":[4],"clearable":[4],"size":[1],"format":[1],"disabledDate":[16],"name":[1],"isOpen":[32],"leftViewDate":[32],"startDate":[32],"endDate":[32],"pickingEnd":[32],"hoverDate":[32]},null,{"modelValue":["handleModelValueChange"]}]]],["p-be48d2aa",[[1,"hb-date-time-picker",{"modelValue":[1025,"model-value"],"placeholder":[1],"disabled":[4],"size":[1],"clearable":[4],"format":[1],"name":[1],"inputId":[1,"input-id"],"isOpen":[32],"inputValue":[32],"selectedDate":[32],"currentView":[32]},null,{"modelValue":["handleValueChange"]}]]],["p-476527c1",[[1,"hb-descriptions",{"title":[1],"border":[4],"column":[2],"colon":[4],"items":[16]}]]],["p-965d4d02",[[1,"hb-dialog",{"modelValue":[1028,"model-value"],"title":[1],"width":[1],"fullscreen":[4],"modal":[4],"closeOnClickModal":[4,"close-on-click-modal"],"closeOnPressEscape":[4,"close-on-press-escape"],"showClose":[4,"show-close"],"destroyOnClose":[4,"destroy-on-close"]},null,{"modelValue":["handleVisibleChange"]}]]],["p-2b286698",[[1,"hb-divider",{"direction":[1],"contentPosition":[1,"content-position"],"dashed":[4]}]]],["p-0a033738",[[1,"hb-drawer",{"modelValue":[1028,"model-value"],"title":[1],"size":[1],"direction":[1],"closeOnClickModal":[4,"close-on-click-modal"],"showClose":[4,"show-close"],"modal":[4],"closeOnPressEscape":[4,"close-on-press-escape"],"zIndexState":[32]},null,{"modelValue":["handleVisible"]}]]],["p-8d615521",[[1,"hb-dropdown",{"items":[16],"trigger":[1],"disabled":[4],"isOpen":[32]}]]],["p-8b027491",[[1,"hb-empty",{"description":[1],"image":[1]}]]],["p-e0768565",[[1,"hb-float-button",{"type":[1],"shape":[1],"icon":[1],"description":[1],"right":[2],"bottom":[2],"badge":[8]}]]],["p-f374d5a3",[[1,"hb-footer",{"height":[1]}]]],["p-0e65e1bd",[[1,"hb-form",{"model":[16],"rules":[16],"labelPosition":[1,"label-position"],"labelWidth":[1,"label-width"],"inline":[4],"size":[1],"disabled":[4],"validate":[16],"resetFields":[16],"fields":[32]}]]],["p-003cee87",[[1,"hb-form-item",{"prop":[1],"label":[1],"labelWidth":[1,"label-width"],"required":[4],"rules":[16],"size":[1],"validate":[16],"resetValue":[16],"getValue":[16],"errors":[32],"isvalidating":[32]}]]],["p-8b1ae77e",[[1,"hb-header",{"height":[1]}]]],["p-e004fc81",[[1,"hb-icon",{"name":[1],"size":[8],"color":[1],"spin":[4]}]]],["p-f81ec512",[[1,"hb-image",{"src":[1],"alt":[1],"width":[1],"height":[1],"fit":[1],"lazy":[4],"preview":[4],"radius":[1],"loaded":[32],"error":[32],"previewVisible":[32]}]]],["p-672076c3",[[1,"hb-image-preview",{"modelValue":[1028,"model-value"],"src":[1],"srcList":[16],"current":[1026],"zoomStep":[2,"zoom-step"],"minZoom":[2,"min-zoom"],"maxZoom":[2,"max-zoom"],"zoom":[32],"rotate":[32]},null,{"modelValue":["handleVisibleChange"],"current":["handleCurrentChange"]}]]],["p-0f189251",[[1,"hb-input",{"modelValue":[1025,"model-value"],"type":[1],"size":[1],"disabled":[4],"readonly":[4],"placeholder":[1],"clearable":[4],"showPassword":[4,"show-password"],"showWordLimit":[4,"show-word-limit"],"maxlength":[2],"minlength":[2],"name":[1],"inputId":[1,"input-id"],"autocomplete":[1],"autofocus":[4],"prefixIcon":[1,"prefix-icon"],"suffixIcon":[1,"suffix-icon"],"rows":[2],"autosize":[4],"resize":[1],"isFocused":[32],"showClear":[32],"passwordVisible":[32],"inputValue":[32]},null,{"modelValue":["handleValueChange"]}]]],["p-24ad7eec",[[1,"hb-input-number",{"modelValue":[1026,"model-value"],"size":[1],"disabled":[4],"readonly":[4],"min":[2],"max":[2],"step":[2],"precision":[2],"stepStrictly":[4,"step-strictly"],"controls":[4],"controlsPosition":[1,"controls-position"],"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"currentValue":[32]},null,{"modelValue":["handleModelValueChange"]}]]],["p-a042e3d0",[[1,"hb-input-tag",{"modelValue":[1040],"size":[1],"disabled":[4],"placeholder":[1],"maxlength":[2],"max":[2],"clearable":[4],"width":[1],"type":[1],"closable":[4],"inputVisible":[4,"input-visible"],"inputValue":[32],"isFocused":[32]}]]],["p-e9490259",[[1,"hb-layout",{"span":[2],"offset":[2],"push":[2],"pull":[2],"xs":[2],"sm":[2],"md":[2],"lg":[2],"xl":[2]}]]],["p-2e6584ea",[[1,"hb-link",{"type":[1],"underline":[4],"disabled":[4],"href":[1],"target":[1],"icon":[1]}]]],["p-9319c650",[[1,"hb-loading",{"size":[1],"text":[1],"fullscreen":[4]}]]],["p-88127de1",[[1,"hb-main"]]],["p-d64b91ef",[[1,"hb-menu",{"mode":[1],"defaultActive":[1025,"default-active"],"collapsed":[4],"backgroundColor":[1,"background-color"],"textColor":[1,"text-color"],"activeTextColor":[1,"active-text-color"],"activeItem":[32]},[[0,"hbMenuItemSelect","handleSelect"]],{"defaultActive":["handleDefaultActiveChange"],"collapsed":["handleCollapsedChange"]}]]],["p-ebd04656",[[1,"hb-menu-item",{"key":[1],"disabled":[4],"icon":[1],"active":[4]}]]],["p-953b9514",[[1,"hb-message",{"message":[1],"type":[1],"closable":[4],"duration":[2],"visible":[32]}]]],["p-10c088f3",[[1,"hb-notification",{"id":[1],"type":[1],"title":[1],"message":[1],"duration":[2],"position":[1],"showClose":[4,"show-close"],"visible":[1028]}]]],["p-332c8877",[[1,"hb-page-header",{"title":[1],"subtitle":[1],"back":[4],"ghost":[4]}]]],["p-4001c08d",[[1,"hb-pagination",{"total":[2],"pageSize":[2,"page-size"],"currentPage":[1026,"current-page"],"pageSizes":[16],"pagerCount":[2,"pager-count"],"disabled":[4],"showTotal":[4,"show-total"],"showPageSize":[4,"show-page-size"],"internalCurrent":[32]},null,{"currentPage":["handleCurrentPageChange"]}]]],["p-ed0ff857",[[1,"hb-popconfirm",{"title":[1],"confirmButtonText":[1,"confirm-button-text"],"cancelButtonText":[1,"cancel-button-text"],"placement":[1],"disabled":[4],"icon":[1],"visible":[32],"popupStyle":[32]}]]],["p-1b5acd6d",[[1,"hb-popover",{"title":[1],"width":[1],"placement":[1],"trigger":[1],"disabled":[4],"visible":[32],"popupStyle":[32]}]]],["p-c321c4aa",[[1,"hb-progress",{"percentage":[2],"status":[1],"strokeWidth":[2,"stroke-width"],"showText":[4,"show-text"],"color":[1]}]]],["p-6b381d0e",[[1,"hb-radio",{"modelValue":[1032,"model-value"],"value":[8],"disabled":[4],"checked":[4],"name":[1],"radioId":[1,"radio-id"],"label":[1],"border":[4],"size":[1],"isChecked":[32]},null,{"modelValue":["handleValueChange"],"checked":["handleValueChange"],"value":["handleValueChange"]}]]],["p-c3e665f6",[[1,"hb-rate",{"modelValue":[1026,"model-value"],"max":[2],"disabled":[4],"allowHalf":[4,"allow-half"],"readonly":[4],"showScore":[4,"show-score"],"showText":[4,"show-text"],"texts":[16],"scoreTemplate":[1,"score-template"],"hoverValue":[32],"currentValue":[32]},null,{"modelValue":["handleValueChange"]}]]],["p-6a1ec3ff",[[1,"hb-result",{"status":[1],"title":[1],"subTitle":[1,"sub-title"],"icon":[1]}]]],["p-f1c084c5",[[1,"hb-row",{"gutter":[2],"justify":[1],"align":[1],"tag":[1]}]]],["p-ea74fcae",[[1,"hb-scrollbar",{"height":[1],"maxHeight":[1,"max-height"],"always":[4],"native":[4],"minSize":[2,"min-size"],"scrollbarVisible":[32],"thumbHeight":[32],"thumbTop":[32],"setScrollTop":[64],"setScrollLeft":[64],"getScrollTop":[64],"getScrollLeft":[64]},null,{"height":["handleSizeChange"],"maxHeight":["handleSizeChange"]}]]],["p-f0ac7db5",[[1,"hb-segmented",{"modelValue":[1025,"model-value"],"block":[4],"size":[1],"options":[16]}]]],["p-58d20809",[[1,"hb-select",{"modelValue":[1032,"model-value"],"options":[16],"placeholder":[1],"disabled":[4],"size":[1],"clearable":[4],"multiple":[4],"filterable":[4],"filterMethod":[16],"defaultFirstOption":[4,"default-first-option"],"allowCreate":[4,"allow-create"],"collapseTags":[4,"collapse-tags"],"maxCollapseTags":[2,"max-collapse-tags"],"isOpen":[32],"inputValue":[32],"searchValue":[32],"filteredOptions":[32],"activeOptionIndex":[32]},null,{"modelValue":["handleValueChange"],"options":["handleOptionsChange"]}]]],["p-e36bbe6f",[[1,"hb-skeleton",{"active":[4],"rows":[2],"loading":[4],"avatar":[4],"showTitle":[4,"show-title"],"paragraph":[4]}]]],["p-44c48246",[[1,"hb-slider",{"modelValue":[1026,"model-value"],"min":[2],"max":[2],"step":[2],"showTooltip":[4,"show-tooltip"],"formatTooltip":[16],"disabled":[4],"range":[4],"vertical":[4],"height":[1],"dragging":[32],"currentValue":[32],"tooltipVisible":[32],"tooltipValue":[32]}]]],["p-77017274",[[1,"hb-space",{"size":[8],"direction":[1],"wrap":[4],"alignment":[1],"fill":[4],"fillRatio":[2,"fill-ratio"]}]]],["p-d7815b4f",[[1,"hb-statistic",{"title":[1],"value":[8],"precision":[2],"valuePrefix":[1,"value-prefix"],"suffix":[1],"valueStyle":[1,"value-style"]}]]],["p-e2a8a396",[[1,"hb-step",{"title":[1],"description":[1],"icon":[1],"status":[1]}]]],["p-c3e8893d",[[1,"hb-steps",{"active":[2],"processStatus":[1,"process-status"],"alignCenter":[4,"align-center"],"direction":[1],"steps":[32]}]]],["p-c922d672",[[1,"hb-sub-menu",{"label":[1],"icon":[1],"collapsed":[4],"isOpen":[32],"isHover":[32]}]]],["p-59b2e61c",[[1,"hb-switch",{"modelValue":[1028,"model-value"],"disabled":[4],"activeText":[1,"active-text"],"inactiveText":[1,"inactive-text"],"activeColor":[1,"active-color"],"inactiveColor":[1,"inactive-color"],"activeValue":[8,"active-value"],"inactiveValue":[8,"inactive-value"],"width":[2],"inlinePrompt":[4,"inline-prompt"]}]]],["p-4d8b1404",[[1,"hb-tab-pane",{"key":[1],"label":[1],"active":[4]}]]],["p-64ca0980",[[1,"hb-table",{"data":[16],"columns":[16],"stripe":[4],"border":[4],"size":[1],"loading":[4],"rowKey":[1,"row-key"],"emptyText":[1,"empty-text"],"maxHeight":[1,"max-height"],"highlightCurrentRow":[4,"highlight-current-row"],"selectable":[4],"actions":[16],"virtualScroll":[4,"virtual-scroll"],"itemHeight":[2,"item-height"],"virtualScrollHeight":[2,"virtual-scroll-height"],"treeProps":[16],"editable":[4],"sortProp":[32],"sortDirection":[32],"currentRow":[32],"selectedRows":[32],"scrollTop":[32],"expandedRowKeys":[32],"editingCell":[32]},null,{"data":["handleDataChange"]}]]],["p-d3939d44",[[1,"hb-tabs",{"modelValue":[1025,"model-value"],"type":[1],"closable":[4],"activeTab":[32],"tabs":[32]},null,{"modelValue":["handleModelValueChange"]}]]],["p-dd05cb2c",[[1,"hb-tag",{"type":[1],"closable":[4],"effect":[1],"round":[4],"size":[1]}]]],["p-fd19813c",[[1,"hb-text",{"type":[1],"size":[1],"truncated":[4],"bold":[4],"italic":[4],"deleted":[4]}]]],["p-85f68526",[[1,"hb-time-picker",{"modelValue":[1025,"model-value"],"placeholder":[1],"disabled":[4],"size":[1],"clearable":[4],"format":[1],"name":[1],"inputId":[1,"input-id"],"isOpen":[32],"inputValue":[32],"selectedHour":[32],"selectedMinute":[32],"selectedSecond":[32]},null,{"modelValue":["handleValueChange"]}]]],["p-c1b4eacb",[[1,"hb-time-select",{"modelValue":[1025,"model-value"],"placeholder":[1],"disabled":[4],"size":[1],"clearable":[4],"start":[1],"end":[1],"step":[2],"minTime":[1,"min-time"],"maxTime":[1,"max-time"],"isOpen":[32],"inputValue":[32]},null,{"modelValue":["handleValueChange"]}]]],["p-a0015341",[[1,"hb-timeline",{"mode":[1],"items":[16]}]]],["p-ad6b0c6e",[[1,"hb-tooltip",{"content":[1],"placement":[1],"trigger":[1],"disabled":[4],"showArrow":[4,"show-arrow"],"visible":[32],"popupStyle":[32]}]]],["p-1e5abc8a",[[1,"hb-tour",{"visible":[1028],"steps":[16],"current":[1026],"targetRect":[32]}]]],["p-e6f2d71d",[[1,"hb-transfer",{"data":[16],"targetKeys":[1040],"selectedKeys":[1040],"titles":[16],"disabled":[4],"filterable":[4],"leftFilter":[32],"rightFilter":[32]},null,{"selectedKeys":["handleSelectedKeysChange"]}]]],["p-710f38de",[[1,"hb-tree",{"data":[16],"expandedKeys":[1040],"selectedKeys":[1040],"checkable":[4],"checkedKeys":[1040],"defaultExpandAll":[4,"default-expand-all"],"showLine":[4,"show-line"],"internalExpanded":[32],"internalSelected":[32],"internalChecked":[32]},null,{"data":["handleDataChange"],"expandedKeys":["handleExpandedKeysChange"],"selectedKeys":["handleSelectedKeysChange"],"checkedKeys":["handleCheckedKeysChange"]}]]],["p-3c7f73c8",[[1,"hb-tree-select",{"data":[16],"modelValue":[1025,"model-value"],"multiple":[4],"placeholder":[1],"disabled":[4],"checkable":[4],"defaultExpandAll":[4,"default-expand-all"],"isOpen":[32],"internalExpanded":[32],"internalSelected":[32],"internalChecked":[32]}]]],["p-80aca641",[[1,"hb-upload",{"action":[1],"multiple":[4],"accept":[1],"disabled":[4],"limit":[2],"drag":[4],"name":[1],"headers":[16],"data":[16],"withCredentials":[4,"with-credentials"],"beforeUpload":[16],"fileList":[1040],"isDragover":[32]}]]],["p-315feadf",[[1,"hb-watermark",{"content":[1],"width":[2],"height":[2],"gap":[2],"rotate":[2],"fontColor":[1,"font-color"],"fontSize":[2,"font-size"]}]]]]'),e)}));
2
+ //# sourceMappingURL=huibo-ui.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["patchBrowser","importMeta","url","opts","resourcesUrl","URL","href","promiseResolve","then","async","options","globalScripts","bootstrapLazy","JSON","parse"],"sources":["node_modules/.pnpm/@stencil+core@4.27.1/node_modules/@stencil/core/internal/client/patch-browser.js","@lazy-browser-entrypoint?app-data=conditional"],"sourcesContent":["/*\n Stencil Client Patch Browser v4.27.1 | MIT Licensed | https://stenciljs.com\n */\n\n// src/client/client-patch-browser.ts\nimport { BUILD, NAMESPACE } from \"@stencil/core/internal/app-data\";\nimport { consoleDevInfo, H, promiseResolve, win } from \"@stencil/core\";\nvar patchBrowser = () => {\n if (BUILD.isDev && !BUILD.isTesting) {\n consoleDevInfo(\"Running in development mode.\");\n }\n if (BUILD.cloneNodeFix) {\n patchCloneNodeFix(H.prototype);\n }\n const scriptElm = BUILD.scriptDataOpts ? win.document && Array.from(win.document.querySelectorAll(\"script\")).find(\n (s) => new RegExp(`/${NAMESPACE}(\\\\.esm)?\\\\.js($|\\\\?|#)`).test(s.src) || s.getAttribute(\"data-stencil-namespace\") === NAMESPACE\n ) : null;\n const importMeta = import.meta.url;\n const opts = BUILD.scriptDataOpts ? (scriptElm || {})[\"data-opts\"] || {} : {};\n if (importMeta !== \"\") {\n opts.resourcesUrl = new URL(\".\", importMeta).href;\n }\n return promiseResolve(opts);\n};\nvar patchCloneNodeFix = (HTMLElementPrototype) => {\n const nativeCloneNodeFn = HTMLElementPrototype.cloneNode;\n HTMLElementPrototype.cloneNode = function(deep) {\n if (this.nodeName === \"TEMPLATE\") {\n return nativeCloneNodeFn.call(this, deep);\n }\n const clonedNode = nativeCloneNodeFn.call(this, false);\n const srcChildNodes = this.childNodes;\n if (deep) {\n for (let i = 0; i < srcChildNodes.length; i++) {\n if (srcChildNodes[i].nodeType !== 2) {\n clonedNode.appendChild(srcChildNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nexport {\n patchBrowser\n};\n","export { setNonce } from '@stencil/core';\nimport { bootstrapLazy } from '@stencil/core';\nimport { patchBrowser } from '@stencil/core/internal/client/patch-browser';\nimport { globalScripts } from '@stencil/core/internal/app-globals';\npatchBrowser().then(async (options) => {\n await globalScripts();\n return bootstrapLazy([/*!__STENCIL_LAZY_DATA__*/], options);\n});\n"],"mappings":"0HAOA,IAAIA,EAAe,KAUjB,MAAMC,cAAyBC,IAC/B,MAAMC,EAAqE,GAC3E,GAAIF,IAAe,GAAI,CACrBE,EAAKC,aAAe,IAAIC,IAAI,IAAKJ,GAAYK,IACjD,CACE,OAAOC,EAAeJ,EAAK,EClB7BH,IAAeQ,MAAKC,MAAOC,UACnBC,IACN,OAAOC,EAAcC,KAAAC,MAAA,8/fAAuCJ,EAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=index.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":[],"mappings":"","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,g as t,h as i}from"./p-e42dfa95.js";const o='/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex;padding-block:0}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.inline{display:inline}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}} /*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer components;:host{display:block}.hb-form-item{align-items:flex-start;display:flex;gap:var(--hb-spacing-sm)}.hb-form-item__label{align-items:center;color:var(--hb-color-text);display:inline-flex;flex-shrink:0;font-size:var(--hb-font-size-sm);height:var(--hb-size-default);justify-content:flex-end;white-space:nowrap}.hb-form-item__required{color:var(--hb-color-danger);margin-right:4px}.hb-form-item__content{flex:1;position:relative}.hb-form-item__error{animation:hb-form-error-fade-in .2s ease-out;color:var(--hb-color-danger);font-size:var(--hb-font-size-xs);line-height:1;margin-top:4px}@keyframes hb-form-error-fade-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}';const r=o;const n=class{constructor(t){e(this,t)}get el(){return t(this)}prop="";label="";labelWidth;required=false;rules=[];size="default";errors=[];isvalidating=false;componentDidLoad(){this.el.dispatchEvent(new CustomEvent("hbFormFieldRegister",{detail:{prop:this.prop,validate:this.validate,resetValue:this.resetValue,getValue:this.getValue},bubbles:true}))}get formRules(){const e=this.el.closest("hb-form");const t=e?e.rules?.[this.prop]||[]:[];return[...t,...this.rules]}validate=async()=>{const e=this.getValue();const t=this.formRules;if(t.length===0){this.errors=[];return[]}this.isvalidating=true;const i=[];for(const o of t){if(o.required&&(!e&&e!==0)){i.push(o.message||`${this.label||this.prop}不能为空`);continue}if(o.pattern&&!o.pattern.test(e)){i.push(o.message||`${this.label||this.prop}格式不正确`);continue}if(o.min!==undefined&&typeof e==="string"&&e.length<o.min){i.push(o.message||`${this.label||this.prop}最少${o.min}个字符`);continue}if(o.max!==undefined&&typeof e==="string"&&e.length>o.max){i.push(o.message||`${this.label||this.prop}最多${o.max}个字符`);continue}if(o.validator){try{await o.validator(e,this.formRules)}catch(e){i.push(e.message||o.message||`${this.label||this.prop}验证失败`)}}}this.errors=i;this.isvalidating=false;return i};resetValue=()=>{this.errors=[]};getValue=()=>{const e=this.el.querySelector("hb-input, hb-select, hb-cascader, hb-date-picker, hb-input-number, hb-textarea, hb-checkbox, hb-radio, hb-switch");if(e){return e.modelValue}return undefined};render(){return i("div",{key:"9ea6c55b9159936a572eef459adea96234fbe2fa",class:{"hb-form-item":true,"hb-form-item--error":this.errors.length>0,"hb-form-item--validating":this.isvalidating}},this.label&&i("label",{key:"3f21b8777f7cddba09e797a706edfb9539fd2aa6",class:"hb-form-item__label",style:this.labelWidth?{width:this.labelWidth}:undefined},this.required&&i("span",{key:"fd89829e1469ff625d30e3b38624e9fc2a9566b4",class:"hb-form-item__required"},"*"),this.label),i("div",{key:"83ac6765623cf8c0c897ab945abdb0f1f0c3cde2",class:"hb-form-item__content"},i("slot",{key:"83f01e59dc6f984141ff26dc58ebf72ff77a4fe1"}),this.errors.length>0&&i("div",{key:"17d938b71257dedb8154b4f019127f03b43f1910",class:"hb-form-item__error"},this.errors[0])))}};n.style=r;export{n as hb_form_item};
2
+ //# sourceMappingURL=p-003cee87.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["formItemCss","HbFormItemStyle0","FormItem","prop","label","labelWidth","required","rules","size","errors","isvalidating","componentDidLoad","this","el","dispatchEvent","CustomEvent","detail","validate","resetValue","getValue","bubbles","formRules","form","closest","formLevelRules","async","value","length","rule","push","message","pattern","test","min","undefined","max","validator","err","input","querySelector","modelValue","render","h","key","class","style","width"],"sources":["src/components/Form/form-item.css?tag=hb-form-item&encapsulation=shadow","src/components/Form/FormItem.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hb-form-item {\n display: flex;\n align-items: flex-start;\n gap: var(--hb-spacing-sm);\n}\n\n.hb-form-item__label {\n display: inline-flex;\n align-items: center;\n justify-content: flex-end;\n height: var(--hb-size-default);\n font-size: var(--hb-font-size-sm);\n color: var(--hb-color-text);\n white-space: nowrap;\n flex-shrink: 0;\n}\n\n.hb-form-item__required {\n color: var(--hb-color-danger);\n margin-right: 4px;\n}\n\n.hb-form-item__content {\n flex: 1;\n position: relative;\n}\n\n.hb-form-item__error {\n font-size: var(--hb-font-size-xs);\n color: var(--hb-color-danger);\n margin-top: 4px;\n line-height: 1;\n animation: hb-form-error-fade-in 0.2s ease-out;\n}\n\n@keyframes hb-form-error-fade-in {\n from { opacity: 0; transform: translateY(-4px); }\n to { opacity: 1; transform: translateY(0); }\n}\n","import { Component, h, Prop, State, Element } from '@stencil/core';\n\n/**\n * FormItem 表单项组件\n * 表单中的每一项\n */\n@Component({\n tag: 'hb-form-item',\n styleUrl: 'form-item.css',\n shadow: true,\n})\nexport class FormItem {\n @Element() el: HTMLElement;\n\n /** 字段名 */\n @Prop() prop: string = '';\n\n /** 标签文本 */\n @Prop() label: string = '';\n\n /** 标签宽度 */\n @Prop() labelWidth?: string;\n\n /** 是否必填 */\n @Prop() required: boolean = false;\n\n /** 该表单项的验证规则 */\n @Prop() rules: any[] = [];\n\n /** 表单尺寸 */\n @Prop() size: 'large' | 'default' | 'small' = 'default';\n\n @State() errors: string[] = [];\n @State() isvalidating: boolean = false;\n\n componentDidLoad() {\n // 向父级 hb-form 注册\n this.el.dispatchEvent(new CustomEvent('hbFormFieldRegister', {\n detail: {\n prop: this.prop,\n validate: this.validate,\n resetValue: this.resetValue,\n getValue: this.getValue,\n },\n bubbles: true,\n }));\n }\n\n private get formRules(): any[] {\n // 合并 prop 对应的 form rules 和自身 rules\n const form = this.el.closest('hb-form');\n const formLevelRules = form ? (form as any).rules?.[this.prop] || [] : [];\n return [...formLevelRules, ...this.rules];\n }\n\n /**\n * 验证此字段\n */\n @Prop() validate = async (): Promise<string[]> => {\n const value = this.getValue();\n const rules = this.formRules;\n\n if (rules.length === 0) {\n this.errors = [];\n return [];\n }\n\n this.isvalidating = true;\n const errors: string[] = [];\n\n for (const rule of rules) {\n if (rule.required && (!value && value !== 0)) {\n errors.push(rule.message || `${this.label || this.prop}不能为空`);\n continue;\n }\n if (rule.pattern && !rule.pattern.test(value)) {\n errors.push(rule.message || `${this.label || this.prop}格式不正确`);\n continue;\n }\n if (rule.min !== undefined && typeof value === 'string' && value.length < rule.min) {\n errors.push(rule.message || `${this.label || this.prop}最少${rule.min}个字符`);\n continue;\n }\n if (rule.max !== undefined && typeof value === 'string' && value.length > rule.max) {\n errors.push(rule.message || `${this.label || this.prop}最多${rule.max}个字符`);\n continue;\n }\n if (rule.validator) {\n try {\n await rule.validator(value, this.formRules);\n } catch (err: any) {\n errors.push(err.message || rule.message || `${this.label || this.prop}验证失败`);\n }\n }\n }\n\n this.errors = errors;\n this.isvalidating = false;\n return errors;\n };\n\n @Prop() resetValue = () => {\n this.errors = [];\n };\n\n @Prop() getValue = (): any => {\n // 尝试从子元素中获取值\n const input = this.el.querySelector('hb-input, hb-select, hb-cascader, hb-date-picker, hb-input-number, hb-textarea, hb-checkbox, hb-radio, hb-switch');\n if (input) {\n return (input as any).modelValue;\n }\n return undefined;\n };\n\n render() {\n return (\n <div\n class={{\n 'hb-form-item': true,\n 'hb-form-item--error': this.errors.length > 0,\n 'hb-form-item--validating': this.isvalidating,\n }}\n >\n {this.label && (\n <label\n class=\"hb-form-item__label\"\n style={this.labelWidth ? { width: this.labelWidth } : undefined}\n >\n {this.required && <span class=\"hb-form-item__required\">*</span>}\n {this.label}\n </label>\n )}\n <div class=\"hb-form-item__content\">\n <slot />\n {this.errors.length > 0 && (\n <div class=\"hb-form-item__error\">{this.errors[0]}</div>\n )}\n </div>\n </div>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAc,kwMACpB,MAAAC,EAAeD,E,MCUFE,EAAQ,M,iDAIXC,KAAe,GAGfC,MAAgB,GAGhBC,WAGAC,SAAoB,MAGpBC,MAAe,GAGfC,KAAsC,UAErCC,OAAmB,GACnBC,aAAwB,MAEjC,gBAAAC,GAEEC,KAAKC,GAAGC,cAAc,IAAIC,YAAY,sBAAuB,CAC3DC,OAAQ,CACNb,KAAMS,KAAKT,KACXc,SAAUL,KAAKK,SACfC,WAAYN,KAAKM,WACjBC,SAAUP,KAAKO,UAEjBC,QAAS,O,CAIb,aAAYC,GAEV,MAAMC,EAAOV,KAAKC,GAAGU,QAAQ,WAC7B,MAAMC,EAAiBF,EAAQA,EAAaf,QAAQK,KAAKT,OAAS,GAAK,GACvE,MAAO,IAAIqB,KAAmBZ,KAAKL,M,CAM7BU,SAAWQ,UACjB,MAAMC,EAAQd,KAAKO,WACnB,MAAMZ,EAAQK,KAAKS,UAEnB,GAAId,EAAMoB,SAAW,EAAG,CACtBf,KAAKH,OAAS,GACd,MAAO,E,CAGTG,KAAKF,aAAe,KACpB,MAAMD,EAAmB,GAEzB,IAAK,MAAMmB,KAAQrB,EAAO,CACxB,GAAIqB,EAAKtB,YAAcoB,GAASA,IAAU,GAAI,CAC5CjB,EAAOoB,KAAKD,EAAKE,SAAW,GAAGlB,KAAKR,OAASQ,KAAKT,YAClD,Q,CAEF,GAAIyB,EAAKG,UAAYH,EAAKG,QAAQC,KAAKN,GAAQ,CAC7CjB,EAAOoB,KAAKD,EAAKE,SAAW,GAAGlB,KAAKR,OAASQ,KAAKT,aAClD,Q,CAEF,GAAIyB,EAAKK,MAAQC,kBAAoBR,IAAU,UAAYA,EAAMC,OAASC,EAAKK,IAAK,CAClFxB,EAAOoB,KAAKD,EAAKE,SAAW,GAAGlB,KAAKR,OAASQ,KAAKT,SAASyB,EAAKK,UAChE,Q,CAEF,GAAIL,EAAKO,MAAQD,kBAAoBR,IAAU,UAAYA,EAAMC,OAASC,EAAKO,IAAK,CAClF1B,EAAOoB,KAAKD,EAAKE,SAAW,GAAGlB,KAAKR,OAASQ,KAAKT,SAASyB,EAAKO,UAChE,Q,CAEF,GAAIP,EAAKQ,UAAW,CAClB,UACQR,EAAKQ,UAAUV,EAAOd,KAAKS,U,CACjC,MAAOgB,GACP5B,EAAOoB,KAAKQ,EAAIP,SAAWF,EAAKE,SAAW,GAAGlB,KAAKR,OAASQ,KAAKT,W,GAKvES,KAAKH,OAASA,EACdG,KAAKF,aAAe,MACpB,OAAOD,CAAM,EAGPS,WAAa,KACnBN,KAAKH,OAAS,EAAE,EAGVU,SAAW,KAEjB,MAAMmB,EAAQ1B,KAAKC,GAAG0B,cAAc,oHACpC,GAAID,EAAO,CACT,OAAQA,EAAcE,U,CAExB,OAAON,SAAS,EAGlB,MAAAO,GACE,OACEC,EAAA,OAAAC,IAAA,2CACEC,MAAO,CACL,eAAgB,KAChB,sBAAuBhC,KAAKH,OAAOkB,OAAS,EAC5C,2BAA4Bf,KAAKF,eAGlCE,KAAKR,OACJsC,EAAA,SAAAC,IAAA,2CACEC,MAAM,sBACNC,MAAOjC,KAAKP,WAAa,CAAEyC,MAAOlC,KAAKP,YAAe6B,WAErDtB,KAAKN,UAAYoC,EAAA,QAAAC,IAAA,2CAAMC,MAAM,0BAAwB,KACrDhC,KAAKR,OAGVsC,EAAA,OAAAC,IAAA,2CAAKC,MAAM,yBACTF,EAAA,QAAAC,IAAA,6CACC/B,KAAKH,OAAOkB,OAAS,GACpBe,EAAA,OAAAC,IAAA,2CAAKC,MAAM,uBAAuBhC,KAAKH,OAAO,K","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,c as e,g as i,h as o}from"./p-e42dfa95.js";const r='/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex;padding-block:0}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}} /*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer components;:host{display:block}.hb-carousel{background-color:var(--hb-color-fill-tertiary,#fafafa);border-radius:var(--hb-border-radius-base,4px)}.hb-carousel,.hb-carousel__container{overflow:hidden;position:relative;width:100%}.hb-carousel__track{display:flex;transition:transform var(--hb-transition-duration,.3s)var(--hb-transition-function,ease);width:100%;will-change:transform}::slotted(*){box-sizing:border-box;flex:0 0 100%;min-width:100%;width:100%}.hb-carousel__arrow{align-items:center;background-color:#1f2d3d80;border:none;border-radius:50%;color:var(--hb-color-text-inverse,#fff);cursor:pointer;display:flex;font-size:20px;height:36px;justify-content:center;line-height:1;position:absolute;top:50%;transform:translateY(-50%);transition:background-color var(--hb-transition-duration,.2s)ease;width:36px;z-index:2}.hb-carousel__arrow:hover{background-color:#1f2d3db3}.hb-carousel__arrow--prev{left:16px}.hb-carousel__arrow--next{right:16px}.hb-carousel__indicators{align-items:center;bottom:12px;display:flex;gap:8px;left:50%;position:absolute;transform:translate(-50%);z-index:2}.hb-carousel__indicator{background-color:#fff9;border:none;border-radius:50%;cursor:pointer;height:10px;padding:0;transition:all var(--hb-transition-duration,.2s)ease;width:10px}.hb-carousel__indicator:hover{background-color:#ffffffe6}.hb-carousel__indicator--active{background-color:var(--hb-color-primary,#1677ff);border-radius:5px;width:24px}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}';const a=r;const n=class{constructor(i){t(this,i);this.hbChange=e(this,"hbChange",7)}get el(){return i(this)}current=0;autoplay=false;interval=3e3;arrow="hover";dots=true;loop=true;hbChange;slideCount=0;isHover=false;autoplayTimer=null;componentWillLoad(){this.updateSlideCount()}componentDidLoad(){this.startAutoplay()}disconnectedCallback(){this.stopAutoplay()}handleAutoplayOptionsChange(){this.stopAutoplay();this.startAutoplay()}handleCurrentChange(t){this.hbChange.emit(t)}updateSlideCount(){const t=Array.from(this.el.children).filter((t=>t.nodeType===Node.ELEMENT_NODE));const e=t.length;if(e!==this.slideCount){this.slideCount=e}}startAutoplay(){if(!this.autoplay||this.slideCount<=1)return;this.stopAutoplay();this.autoplayTimer=setInterval((()=>{this.next()}),this.interval)}stopAutoplay(){if(this.autoplayTimer!==null){clearInterval(this.autoplayTimer);this.autoplayTimer=null}}next=()=>{const t=this.slideCount;if(t===0)return;let e=this.current+1;if(e>=t){if(this.loop){e=0}else{return}}this.setCurrent(e)};prev=()=>{const t=this.slideCount;if(t===0)return;let e=this.current-1;if(e<0){if(this.loop){e=t-1}else{return}}this.setCurrent(e)};setCurrent(t){if(t===this.current)return;this.current=t}handleMouseEnter=()=>{this.isHover=true;if(this.autoplay)this.stopAutoplay()};handleMouseLeave=()=>{this.isHover=false;if(this.autoplay)this.startAutoplay()};handleDotClick=t=>{this.setCurrent(t)};get showArrows(){if(this.arrow==="never")return false;if(this.arrow==="always")return true;return this.isHover}render(){const t=this.slideCount;const e=t>0?-(this.current%t)*100:0;return o("div",{key:"d4a2c7809134bc70f1cbc75ced38472fe58d9ae4",class:"hb-carousel",onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},o("div",{key:"61abdd066bcbf6942b7c09ef5035b377c69bd960",class:"hb-carousel__container"},o("div",{key:"2ec0410bc8bce45f311c31264ac45f18973d22bc",class:"hb-carousel__track",style:{transform:`translateX(${e}%)`}},o("slot",{key:"045b8a566946f5f420a2313cf5fa71ca15263536"})),this.showArrows&&o("button",{key:"d3b35fc7472655686f1710f15dc9a9d7475890f0",type:"button",class:"hb-carousel__arrow hb-carousel__arrow--prev",onClick:this.prev,"aria-label":"上一张"},"‹"),this.showArrows&&o("button",{key:"9a9513ccf13ab2451c57b0fa157bf7a07e1fa75e",type:"button",class:"hb-carousel__arrow hb-carousel__arrow--next",onClick:this.next,"aria-label":"下一张"},"›")),this.dots&&t>0&&o("div",{key:"736bbd506e4ca71e20d637d66c6c3ab81b8ff834",class:"hb-carousel__indicators"},Array.from({length:t}).map(((t,e)=>o("button",{type:"button",class:{"hb-carousel__indicator":true,"hb-carousel__indicator--active":e===this.current},onClick:()=>this.handleDotClick(e),"aria-label":`第 ${e+1} 张`})))))}static get watchers(){return{autoplay:["handleAutoplayOptionsChange"],interval:["handleAutoplayOptionsChange"],current:["handleCurrentChange"]}}};n.style=a;export{n as hb_carousel};
2
+ //# sourceMappingURL=p-06ec8d02.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["carouselCss","HbCarouselStyle0","Carousel","current","autoplay","interval","arrow","dots","loop","hbChange","slideCount","isHover","autoplayTimer","componentWillLoad","this","updateSlideCount","componentDidLoad","startAutoplay","disconnectedCallback","stopAutoplay","handleAutoplayOptionsChange","handleCurrentChange","newVal","emit","children","Array","from","el","filter","node","nodeType","Node","ELEMENT_NODE","next","length","setInterval","clearInterval","total","nextIndex","setCurrent","prev","index","handleMouseEnter","handleMouseLeave","handleDotClick","showArrows","render","offset","h","key","class","onMouseEnter","onMouseLeave","style","transform","type","onClick","map","_"],"sources":["src/components/Carousel/carousel.css?tag=hb-carousel&encapsulation=shadow","src/components/Carousel/Carousel.tsx"],"sourcesContent":[":host {\n display: block;\n}\n\n.hb-carousel {\n position: relative;\n width: 100%;\n overflow: hidden;\n border-radius: var(--hb-border-radius-base, 4px);\n background-color: var(--hb-color-fill-tertiary, #fafafa);\n}\n\n.hb-carousel__container {\n position: relative;\n width: 100%;\n overflow: hidden;\n}\n\n.hb-carousel__track {\n display: flex;\n width: 100%;\n transition: transform var(--hb-transition-duration, 0.3s) var(--hb-transition-function, ease);\n will-change: transform;\n}\n\n/* slot 投影进来的每一张幻灯片占满一屏 */\n::slotted(*) {\n flex: 0 0 100%;\n min-width: 100%;\n width: 100%;\n box-sizing: border-box;\n}\n\n.hb-carousel__arrow {\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n width: 36px;\n height: 36px;\n display: flex;\n align-items: center;\n justify-content: center;\n border: none;\n border-radius: 50%;\n background-color: rgba(31, 45, 61, 0.5);\n color: var(--hb-color-text-inverse, #ffffff);\n font-size: 20px;\n line-height: 1;\n cursor: pointer;\n z-index: 2;\n transition: background-color var(--hb-transition-duration, 0.2s) ease;\n}\n\n.hb-carousel__arrow:hover {\n background-color: rgba(31, 45, 61, 0.7);\n}\n\n.hb-carousel__arrow--prev {\n left: 16px;\n}\n\n.hb-carousel__arrow--next {\n right: 16px;\n}\n\n.hb-carousel__indicators {\n position: absolute;\n bottom: 12px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n align-items: center;\n gap: 8px;\n z-index: 2;\n}\n\n.hb-carousel__indicator {\n width: 10px;\n height: 10px;\n padding: 0;\n border: none;\n border-radius: 50%;\n background-color: rgba(255, 255, 255, 0.6);\n cursor: pointer;\n transition: all var(--hb-transition-duration, 0.2s) ease;\n}\n\n.hb-carousel__indicator:hover {\n background-color: rgba(255, 255, 255, 0.9);\n}\n\n.hb-carousel__indicator--active {\n width: 24px;\n border-radius: 5px;\n background-color: var(--hb-color-primary, #1677ff);\n}\n","import { Component, h, Prop, Event, EventEmitter, State, Element, Watch } from '@stencil/core';\n\nexport type CarouselArrow = 'always' | 'hover' | 'never';\n\n/**\n * Carousel 走马灯组件\n * 在有限空间内循环播放同一类型的图片、文字等内容\n */\n@Component({\n tag: 'hb-carousel',\n styleUrl: 'carousel.css',\n shadow: true,\n})\nexport class Carousel {\n @Element() el: HTMLElement;\n\n /** 当前幻灯片索引(受控,可双向) */\n @Prop({ mutable: true }) current: number = 0;\n\n /** 是否自动切换 */\n @Prop() autoplay: boolean = false;\n\n /** 自动切换间隔(毫秒) */\n @Prop() interval: number = 3000;\n\n /** 切换箭头展示时机 */\n @Prop() arrow: CarouselArrow = 'hover';\n\n /** 是否显示指示点 */\n @Prop() dots: boolean = true;\n\n /** 是否循环播放 */\n @Prop() loop: boolean = true;\n\n /** 当前索引变化事件,detail 为新索引 */\n @Event() hbChange: EventEmitter<number>;\n\n /** slot 投影的幻灯片数量 */\n @State() slideCount: number = 0;\n\n /** 是否悬停(控制 hover 箭头显隐) */\n @State() isHover: boolean = false;\n\n private autoplayTimer: ReturnType<typeof setInterval> | null = null;\n\n componentWillLoad() {\n // 在首次渲染前确定幻灯片数量,避免 render 期 state 变更\n this.updateSlideCount();\n }\n\n componentDidLoad() {\n this.startAutoplay();\n }\n\n disconnectedCallback() {\n this.stopAutoplay();\n }\n\n @Watch('autoplay')\n @Watch('interval')\n handleAutoplayOptionsChange() {\n this.stopAutoplay();\n this.startAutoplay();\n }\n\n @Watch('current')\n handleCurrentChange(newVal: number) {\n this.hbChange.emit(newVal);\n }\n\n /** 读取 slot 投影的子元素数量 */\n private updateSlideCount() {\n const children = Array.from(this.el.children).filter((node) => {\n // 仅统计真实幻灯片(排除 slot 占位),Element 节点即视为幻灯片\n return node.nodeType === Node.ELEMENT_NODE;\n });\n const next = children.length;\n if (next !== this.slideCount) {\n this.slideCount = next;\n }\n }\n\n private startAutoplay() {\n if (!this.autoplay || this.slideCount <= 1) return;\n this.stopAutoplay();\n this.autoplayTimer = setInterval(() => {\n this.next();\n }, this.interval);\n }\n\n private stopAutoplay() {\n if (this.autoplayTimer !== null) {\n clearInterval(this.autoplayTimer);\n this.autoplayTimer = null;\n }\n }\n\n private next = () => {\n const total = this.slideCount;\n if (total === 0) return;\n let nextIndex = this.current + 1;\n if (nextIndex >= total) {\n if (this.loop) {\n nextIndex = 0;\n } else {\n return;\n }\n }\n this.setCurrent(nextIndex);\n };\n\n private prev = () => {\n const total = this.slideCount;\n if (total === 0) return;\n let nextIndex = this.current - 1;\n if (nextIndex < 0) {\n if (this.loop) {\n nextIndex = total - 1;\n } else {\n return;\n }\n }\n this.setCurrent(nextIndex);\n };\n\n private setCurrent(index: number) {\n if (index === this.current) return;\n this.current = index;\n }\n\n private handleMouseEnter = () => {\n this.isHover = true;\n if (this.autoplay) this.stopAutoplay();\n };\n\n private handleMouseLeave = () => {\n this.isHover = false;\n if (this.autoplay) this.startAutoplay();\n };\n\n private handleDotClick = (index: number) => {\n this.setCurrent(index);\n };\n\n private get showArrows(): boolean {\n if (this.arrow === 'never') return false;\n if (this.arrow === 'always') return true;\n return this.isHover; // hover\n }\n\n render() {\n const total = this.slideCount;\n const offset = total > 0 ? -(this.current % total) * 100 : 0;\n\n return (\n <div\n class=\"hb-carousel\"\n onMouseEnter={this.handleMouseEnter}\n onMouseLeave={this.handleMouseLeave}\n >\n <div class=\"hb-carousel__container\">\n <div\n class=\"hb-carousel__track\"\n style={{ transform: `translateX(${offset}%)` }}\n >\n <slot />\n </div>\n\n {this.showArrows && (\n <button\n type=\"button\"\n class=\"hb-carousel__arrow hb-carousel__arrow--prev\"\n onClick={this.prev}\n aria-label=\"上一张\"\n >\n ‹\n </button>\n )}\n {this.showArrows && (\n <button\n type=\"button\"\n class=\"hb-carousel__arrow hb-carousel__arrow--next\"\n onClick={this.next}\n aria-label=\"下一张\"\n >\n ›\n </button>\n )}\n </div>\n\n {this.dots && total > 0 && (\n <div class=\"hb-carousel__indicators\">\n {Array.from({ length: total }).map((_, index) => (\n <button\n type=\"button\"\n class={{\n 'hb-carousel__indicator': true,\n 'hb-carousel__indicator--active': index === this.current,\n }}\n onClick={() => this.handleDotClick(index)}\n aria-label={`第 ${index + 1} 张`}\n />\n ))}\n </div>\n )}\n </div>\n );\n }\n}\n"],"mappings":"yDAAA,MAAMA,EAAc,65OACpB,MAAAC,EAAeD,E,MCYFE,EAAQ,M,oFAIMC,QAAkB,EAGnCC,SAAoB,MAGpBC,SAAmB,IAGnBC,MAAuB,QAGvBC,KAAgB,KAGhBC,KAAgB,KAGfC,SAGAC,WAAqB,EAGrBC,QAAmB,MAEpBC,cAAuD,KAE/D,iBAAAC,GAEEC,KAAKC,kB,CAGP,gBAAAC,GACEF,KAAKG,e,CAGP,oBAAAC,GACEJ,KAAKK,c,CAKP,2BAAAC,GACEN,KAAKK,eACLL,KAAKG,e,CAIP,mBAAAI,CAAoBC,GAClBR,KAAKL,SAASc,KAAKD,E,CAIb,gBAAAP,GACN,MAAMS,EAAWC,MAAMC,KAAKZ,KAAKa,GAAGH,UAAUI,QAAQC,GAE7CA,EAAKC,WAAaC,KAAKC,eAEhC,MAAMC,EAAOT,EAASU,OACtB,GAAID,IAASnB,KAAKJ,WAAY,CAC5BI,KAAKJ,WAAauB,C,EAId,aAAAhB,GACN,IAAKH,KAAKV,UAAYU,KAAKJ,YAAc,EAAG,OAC5CI,KAAKK,eACLL,KAAKF,cAAgBuB,aAAY,KAC/BrB,KAAKmB,MAAM,GACVnB,KAAKT,S,CAGF,YAAAc,GACN,GAAIL,KAAKF,gBAAkB,KAAM,CAC/BwB,cAActB,KAAKF,eACnBE,KAAKF,cAAgB,I,EAIjBqB,KAAO,KACb,MAAMI,EAAQvB,KAAKJ,WACnB,GAAI2B,IAAU,EAAG,OACjB,IAAIC,EAAYxB,KAAKX,QAAU,EAC/B,GAAImC,GAAaD,EAAO,CACtB,GAAIvB,KAAKN,KAAM,CACb8B,EAAY,C,KACP,CACL,M,EAGJxB,KAAKyB,WAAWD,EAAU,EAGpBE,KAAO,KACb,MAAMH,EAAQvB,KAAKJ,WACnB,GAAI2B,IAAU,EAAG,OACjB,IAAIC,EAAYxB,KAAKX,QAAU,EAC/B,GAAImC,EAAY,EAAG,CACjB,GAAIxB,KAAKN,KAAM,CACb8B,EAAYD,EAAQ,C,KACf,CACL,M,EAGJvB,KAAKyB,WAAWD,EAAU,EAGpB,UAAAC,CAAWE,GACjB,GAAIA,IAAU3B,KAAKX,QAAS,OAC5BW,KAAKX,QAAUsC,C,CAGTC,iBAAmB,KACzB5B,KAAKH,QAAU,KACf,GAAIG,KAAKV,SAAUU,KAAKK,cAAc,EAGhCwB,iBAAmB,KACzB7B,KAAKH,QAAU,MACf,GAAIG,KAAKV,SAAUU,KAAKG,eAAe,EAGjC2B,eAAkBH,IACxB3B,KAAKyB,WAAWE,EAAM,EAGxB,cAAYI,GACV,GAAI/B,KAAKR,QAAU,QAAS,OAAO,MACnC,GAAIQ,KAAKR,QAAU,SAAU,OAAO,KACpC,OAAOQ,KAAKH,O,CAGd,MAAAmC,GACE,MAAMT,EAAQvB,KAAKJ,WACnB,MAAMqC,EAASV,EAAQ,IAAMvB,KAAKX,QAAUkC,GAAS,IAAM,EAE3D,OACEW,EAAA,OAAAC,IAAA,2CACEC,MAAM,cACNC,aAAcrC,KAAK4B,iBACnBU,aAActC,KAAK6B,kBAEnBK,EAAA,OAAAC,IAAA,2CAAKC,MAAM,0BACTF,EAAA,OAAAC,IAAA,2CACEC,MAAM,qBACNG,MAAO,CAAEC,UAAW,cAAcP,QAElCC,EAAA,QAAAC,IAAA,8CAGDnC,KAAK+B,YACJG,EAAA,UAAAC,IAAA,2CACEM,KAAK,SACLL,MAAM,8CACNM,QAAS1C,KAAK0B,KAAI,aACP,OAAK,KAKnB1B,KAAK+B,YACJG,EAAA,UAAAC,IAAA,2CACEM,KAAK,SACLL,MAAM,8CACNM,QAAS1C,KAAKmB,KAAI,aACP,OAAK,MAOrBnB,KAAKP,MAAQ8B,EAAQ,GACpBW,EAAA,OAAAC,IAAA,2CAAKC,MAAM,2BACRzB,MAAMC,KAAK,CAAEQ,OAAQG,IAASoB,KAAI,CAACC,EAAGjB,IACrCO,EAAA,UACEO,KAAK,SACLL,MAAO,CACL,yBAA0B,KAC1B,iCAAkCT,IAAU3B,KAAKX,SAEnDqD,QAAS,IAAM1C,KAAK8B,eAAeH,GAAM,aAC7B,KAAKA,EAAQ,W","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as t,h as e}from"./p-e42dfa95.js";const i='/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex;padding-block:0}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}} /*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer components;:host{display:inline-flex}.hb-avatar{align-items:center;background-color:var(--hb-color-fill);color:var(--hb-color-text-secondary);display:inline-flex;font-weight:600;justify-content:center;overflow:hidden;-webkit-user-select:none;user-select:none}.hb-avatar--circle{border-radius:50%}.hb-avatar--square{border-radius:var(--hb-border-radius-sm)}.hb-avatar img{height:100%;object-fit:cover;width:100%}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}';const o=i;const a=class{constructor(e){t(this,e)}size="default";shape="circle";src;icon;alt;get sizePx(){const t={small:"28px",default:"36px",large:"44px"};return typeof this.size==="number"?`${this.size}px`:t[this.size]}render(){return e("span",{key:"e8df0341e82865acbcdd25572df385d805172eac",class:{"hb-avatar":true,[`hb-avatar--${this.shape}`]:true},style:{width:this.sizePx,height:this.sizePx,fontSize:`calc(${this.sizePx} * 0.45)`}},this.src?e("img",{src:this.src,alt:this.alt}):this.icon?e("span",null,this.icon):e("slot",null))}};a.style=o;export{a as hb_avatar};
2
+ //# sourceMappingURL=p-079a4130.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["avatarCss","HbAvatarStyle0","Avatar","size","shape","src","icon","alt","sizePx","map","small","default","large","this","render","h","key","class","style","width","height","fontSize"],"sources":["src/components/Avatar/avatar.css?tag=hb-avatar&encapsulation=shadow","src/components/Avatar/Avatar.tsx"],"sourcesContent":[":host { display: inline-flex; }\n.hb-avatar {\n display: inline-flex; align-items: center; justify-content: center;\n background-color: var(--hb-color-fill); color: var(--hb-color-text-secondary);\n overflow: hidden; font-weight: 600; user-select: none;\n}\n.hb-avatar--circle { border-radius: 50%; }\n.hb-avatar--square { border-radius: var(--hb-border-radius-sm); }\n.hb-avatar img { width: 100%; height: 100%; object-fit: cover; }\n","import { Component, h, Prop } from '@stencil/core';\n\n@Component({ tag: 'hb-avatar', styleUrl: 'avatar.css', shadow: true })\nexport class Avatar {\n @Prop() size: 'small' | 'default' | 'large' | number = 'default';\n @Prop() shape: 'circle' | 'square' = 'circle';\n @Prop() src?: string;\n @Prop() icon?: string;\n @Prop() alt?: string;\n\n private get sizePx(): string {\n const map = { small: '28px', default: '36px', large: '44px' };\n return typeof this.size === 'number' ? `${this.size}px` : map[this.size];\n }\n\n render() {\n return (\n <span\n class={{ 'hb-avatar': true, [`hb-avatar--${this.shape}`]: true }}\n style={{ width: this.sizePx, height: this.sizePx, fontSize: `calc(${this.sizePx} * 0.45)` }}\n >\n {this.src ? <img src={this.src} alt={this.alt} /> : this.icon ? <span>{this.icon}</span> : <slot />}\n </span>\n );\n }\n}\n"],"mappings":"2CAAA,MAAMA,EAAY,08LAClB,MAAAC,EAAeD,E,MCEFE,EAAM,M,yBACTC,KAA+C,UAC/CC,MAA6B,SAC7BC,IACAC,KACAC,IAER,UAAYC,GACV,MAAMC,EAAM,CAAEC,MAAO,OAAQC,QAAS,OAAQC,MAAO,QACrD,cAAcC,KAAKV,OAAS,SAAW,GAAGU,KAAKV,SAAWM,EAAII,KAAKV,K,CAGrE,MAAAW,GACE,OACEC,EAAA,QAAAC,IAAA,2CACEC,MAAO,CAAE,YAAa,KAAM,CAAC,cAAcJ,KAAKT,SAAU,MAC1Dc,MAAO,CAAEC,MAAON,KAAKL,OAAQY,OAAQP,KAAKL,OAAQa,SAAU,QAAQR,KAAKL,mBAExEK,KAAKR,IAAMU,EAAA,OAAKV,IAAKQ,KAAKR,IAAKE,IAAKM,KAAKN,MAAUM,KAAKP,KAAOS,EAAA,YAAOF,KAAKP,MAAeS,EAAA,a","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as t,h as i}from"./p-e42dfa95.js";import{g as r,l as a,u as o}from"./p-ecce2b5e.js";import{c as n}from"./p-cc0aeb50.js";const s='/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex;padding-block:0}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.container{width:100%}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}} /*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer components;:host{display:contents}.hb-drawer-wrapper{inset:0;pointer-events:none;position:fixed;z-index:1000}.hb-drawer__overlay{background:var(--hb-color-bg-mask);inset:0;transition:opacity .3s}.hb-drawer,.hb-drawer__overlay{pointer-events:auto;position:fixed}.hb-drawer{background:var(--hb-color-bg-elevated);box-shadow:var(--hb-box-shadow-lg);display:flex;flex-direction:column;transition:transform .3s}.hb-drawer--rtl{bottom:0;right:0;top:0;transform:translate(100%)}.hb-drawer--ltr{bottom:0;left:0;top:0;transform:translate(-100%)}.hb-drawer--ttb{left:0;right:0;top:0;transform:translateY(-100%)}.hb-drawer--btt{bottom:0;left:0;right:0;transform:translateY(100%)}.hb-drawer--visible.hb-drawer--ltr,.hb-drawer--visible.hb-drawer--rtl{transform:translate(0)}.hb-drawer--visible.hb-drawer--btt,.hb-drawer--visible.hb-drawer--ttb{transform:translateY(0)}.hb-drawer__header{align-items:center;border-bottom:1px solid var(--hb-color-border-secondary);display:flex;justify-content:space-between;padding:var(--hb-spacing-md)var(--hb-spacing-lg)}.hb-drawer__title{font-size:var(--hb-font-size-lg);font-weight:600}.hb-drawer__close{align-items:center;background:0 0;border:none;border-radius:var(--hb-border-radius-sm);color:var(--hb-color-text-secondary);cursor:pointer;display:flex;font-size:18px;height:28px;justify-content:center;width:28px}.hb-drawer__close:hover{background:var(--hb-color-fill-tertiary)}.hb-drawer__body{flex:1;overflow-y:auto;padding:var(--hb-spacing-lg)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}';const l=s;const d=class{constructor(i){e(this,i);this.hbOpen=t(this,"hbOpen",7);this.hbClose=t(this,"hbClose",7)}modelValue=false;title="";size="30%";direction="rtl";closeOnClickModal=true;showClose=true;modal=true;closeOnPressEscape=true;zIndexState=0;zIndex=0;panelRef;trap;hbOpen;hbClose;handleVisible(e){if(e){this.zIndex=r();this.zIndexState=this.zIndex;if(this.modal)a();this.hbOpen.emit();document.addEventListener("keydown",this.handleKeyDown)}else{if(this.modal)o();this.hbClose.emit();document.removeEventListener("keydown",this.handleKeyDown)}}componentDidRender(){if(!this.panelRef)return;if(this.modelValue){if(!this.trap){this.trap=n({container:this.panelRef})}this.trap.connect()}else{this.trap?.disconnect()}}disconnectedCallback(){if(this.modelValue&&this.modal)o();document.removeEventListener("keydown",this.handleKeyDown);this.trap?.disconnect()}handleKeyDown=e=>{if(this.closeOnPressEscape&&e.key==="Escape"){this.close()}};close=()=>{this.modelValue=false};render(){const e=this.direction;const t=e==="ttb"||e==="btt";const r=t?{height:this.size}:{width:this.size};const a=`hb-drawer--${e}`;return i("div",{key:"fdcae509a34a2de7ba9405106b217fda8ce765fa",class:{"hb-drawer-wrapper":true,"hb-drawer-wrapper--visible":this.modelValue}},this.modal&&i("div",{key:"439a2a35c0936bc0e347e7826f801dbf87d1047b",class:"hb-drawer__overlay",style:{zIndex:String(this.zIndexState)},onClick:()=>this.closeOnClickModal&&this.close()}),i("div",{key:"924fc27dc43f9d7b466b81a7b70cbfb1a6ba199e",ref:e=>this.panelRef=e,class:{"hb-drawer":true,[a]:true,"hb-drawer--visible":this.modelValue},style:{...r,zIndex:String(this.zIndexState+1)},role:"dialog","aria-modal":"true","aria-label":this.title||undefined},i("div",{key:"6c0c1e6e4938ad96c51add0e4be93de8ef72a056",class:"hb-drawer__header"},i("span",{key:"bc061a418b7358364b19190cc6b042fb5a049c95",class:"hb-drawer__title"},this.title),this.showClose&&i("button",{key:"52ceeac26c55f0e89c8c4410959c25b13ab2e28b",type:"button",class:"hb-drawer__close","aria-label":"关闭",onClick:this.close},"×")),i("div",{key:"ca916f681e9c7e4fb33d1d0b7cee03a20f42f7eb",class:"hb-drawer__body"},i("slot",{key:"f8a3fb1d251d5c16c98257bb8896c081623f321e"}))))}static get watchers(){return{modelValue:["handleVisible"]}}};d.style=l;export{d as hb_drawer};
2
+ //# sourceMappingURL=p-0a033738.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["drawerCss","HbDrawerStyle0","Drawer","modelValue","title","size","direction","closeOnClickModal","showClose","modal","closeOnPressEscape","zIndexState","zIndex","panelRef","trap","hbOpen","hbClose","handleVisible","val","this","getNextZIndex","lockScroll","emit","document","addEventListener","handleKeyDown","unlockScroll","removeEventListener","componentDidRender","createFocusTrap","container","connect","disconnect","disconnectedCallback","e","key","close","render","dir","isVertical","sizeStyle","height","width","translateClass","h","class","style","String","onClick","ref","el","role","undefined","type"],"sources":["src/components/Drawer/drawer.css?tag=hb-drawer&encapsulation=shadow","src/components/Drawer/Drawer.tsx"],"sourcesContent":[":host { display: contents; }\n.hb-drawer-wrapper { position: fixed; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: 1000; }\n.hb-drawer__overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--hb-color-bg-mask); pointer-events: auto; transition: opacity 0.3s; }\n.hb-drawer {\n position: fixed; background: var(--hb-color-bg-elevated); box-shadow: var(--hb-box-shadow-lg);\n display: flex; flex-direction: column; pointer-events: auto; transition: transform 0.3s ease;\n}\n.hb-drawer--rtl { top: 0; right: 0; bottom: 0; transform: translateX(100%); }\n.hb-drawer--ltr { top: 0; left: 0; bottom: 0; transform: translateX(-100%); }\n.hb-drawer--ttb { left: 0; right: 0; top: 0; transform: translateY(-100%); }\n.hb-drawer--btt { left: 0; right: 0; bottom: 0; transform: translateY(100%); }\n.hb-drawer--visible.hb-drawer--rtl, .hb-drawer--visible.hb-drawer--ltr { transform: translateX(0); }\n.hb-drawer--visible.hb-drawer--ttb, .hb-drawer--visible.hb-drawer--btt { transform: translateY(0); }\n.hb-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: var(--hb-spacing-md) var(--hb-spacing-lg); border-bottom: 1px solid var(--hb-color-border-secondary); }\n.hb-drawer__title { font-size: var(--hb-font-size-lg); font-weight: 600; }\n.hb-drawer__close { border: none; background: none; font-size: 18px; cursor: pointer; color: var(--hb-color-text-secondary); width: 28px; height: 28px; border-radius: var(--hb-border-radius-sm); display: flex; align-items: center; justify-content: center; }\n.hb-drawer__close:hover { background: var(--hb-color-fill-tertiary); }\n.hb-drawer__body { flex: 1; padding: var(--hb-spacing-lg); overflow-y: auto; }\n","import { Component, h, Prop, Event, EventEmitter, Watch, State } from '@stencil/core';\nimport { lockScroll, unlockScroll, getNextZIndex } from '../../utils/popup-manager';\nimport { createFocusTrap, FocusTrap } from '../../utils/a11y';\n\n@Component({ tag: 'hb-drawer', styleUrl: 'drawer.css', shadow: true })\nexport class Drawer {\n @Prop({ mutable: true }) modelValue: boolean = false;\n @Prop() title: string = '';\n @Prop() size: string = '30%';\n @Prop() direction: 'ltr' | 'rtl' | 'ttb' | 'btt' = 'rtl';\n @Prop() closeOnClickModal: boolean = true;\n @Prop() showClose: boolean = true;\n @Prop() modal: boolean = true;\n /** 是否按 ESC 关闭 */\n @Prop() closeOnPressEscape: boolean = true;\n @State() private zIndexState: number = 0;\n private zIndex: number = 0;\n private panelRef?: HTMLElement;\n private trap?: FocusTrap;\n\n @Event() hbOpen: EventEmitter<void>;\n @Event() hbClose: EventEmitter<void>;\n\n @Watch('modelValue')\n handleVisible(val: boolean) {\n if (val) {\n this.zIndex = getNextZIndex();\n this.zIndexState = this.zIndex;\n if (this.modal) lockScroll();\n this.hbOpen.emit();\n document.addEventListener('keydown', this.handleKeyDown);\n } else {\n if (this.modal) unlockScroll();\n this.hbClose.emit();\n document.removeEventListener('keydown', this.handleKeyDown);\n }\n }\n\n componentDidRender() {\n if (!this.panelRef) return;\n if (this.modelValue) {\n if (!this.trap) {\n this.trap = createFocusTrap({ container: this.panelRef });\n }\n this.trap.connect();\n } else {\n this.trap?.disconnect();\n }\n }\n\n disconnectedCallback() {\n if (this.modelValue && this.modal) unlockScroll();\n document.removeEventListener('keydown', this.handleKeyDown);\n this.trap?.disconnect();\n }\n\n private handleKeyDown = (e: KeyboardEvent) => {\n if (this.closeOnPressEscape && e.key === 'Escape') {\n this.close();\n }\n };\n\n private close = () => { this.modelValue = false; };\n\n render() {\n const dir = this.direction;\n const isVertical = dir === 'ttb' || dir === 'btt';\n const sizeStyle = isVertical ? { height: this.size } : { width: this.size };\n const translateClass = `hb-drawer--${dir}`;\n\n return (\n <div class={{ 'hb-drawer-wrapper': true, 'hb-drawer-wrapper--visible': this.modelValue }}>\n {this.modal && <div class=\"hb-drawer__overlay\" style={{ zIndex: String(this.zIndexState) }} onClick={() => this.closeOnClickModal && this.close()} />}\n <div\n ref={(el) => (this.panelRef = el as HTMLElement)}\n class={{ 'hb-drawer': true, [translateClass]: true, 'hb-drawer--visible': this.modelValue }}\n style={{ ...sizeStyle, zIndex: String(this.zIndexState + 1) }}\n role=\"dialog\"\n aria-modal=\"true\"\n aria-label={this.title || undefined}\n >\n <div class=\"hb-drawer__header\">\n <span class=\"hb-drawer__title\">{this.title}</span>\n {this.showClose && <button type=\"button\" class=\"hb-drawer__close\" aria-label=\"关闭\" onClick={this.close}>×</button>}\n </div>\n <div class=\"hb-drawer__body\"><slot /></div>\n </div>\n </div>\n );\n }\n}\n"],"mappings":"wIAAA,MAAMA,EAAY,4yOAClB,MAAAC,EAAeD,E,MCIFE,EAAM,M,yFACQC,WAAsB,MACvCC,MAAgB,GAChBC,KAAe,MACfC,UAA2C,MAC3CC,kBAA6B,KAC7BC,UAAqB,KACrBC,MAAiB,KAEjBC,mBAA8B,KACrBC,YAAsB,EAC/BC,OAAiB,EACjBC,SACAC,KAECC,OACAC,QAGT,aAAAC,CAAcC,GACZ,GAAIA,EAAK,CACPC,KAAKP,OAASQ,IACdD,KAAKR,YAAcQ,KAAKP,OACxB,GAAIO,KAAKV,MAAOY,IAChBF,KAAKJ,OAAOO,OACZC,SAASC,iBAAiB,UAAWL,KAAKM,c,KACrC,CACL,GAAIN,KAAKV,MAAOiB,IAChBP,KAAKH,QAAQM,OACbC,SAASI,oBAAoB,UAAWR,KAAKM,c,EAIjD,kBAAAG,GACE,IAAKT,KAAKN,SAAU,OACpB,GAAIM,KAAKhB,WAAY,CACnB,IAAKgB,KAAKL,KAAM,CACdK,KAAKL,KAAOe,EAAgB,CAAEC,UAAWX,KAAKN,U,CAEhDM,KAAKL,KAAKiB,S,KACL,CACLZ,KAAKL,MAAMkB,Y,EAIf,oBAAAC,GACE,GAAId,KAAKhB,YAAcgB,KAAKV,MAAOiB,IACnCH,SAASI,oBAAoB,UAAWR,KAAKM,eAC7CN,KAAKL,MAAMkB,Y,CAGLP,cAAiBS,IACvB,GAAIf,KAAKT,oBAAsBwB,EAAEC,MAAQ,SAAU,CACjDhB,KAAKiB,O,GAIDA,MAAQ,KAAQjB,KAAKhB,WAAa,KAAK,EAE/C,MAAAkC,GACE,MAAMC,EAAMnB,KAAKb,UACjB,MAAMiC,EAAaD,IAAQ,OAASA,IAAQ,MAC5C,MAAME,EAAYD,EAAa,CAAEE,OAAQtB,KAAKd,MAAS,CAAEqC,MAAOvB,KAAKd,MACrE,MAAMsC,EAAiB,cAAcL,IAErC,OACEM,EAAA,OAAAT,IAAA,2CAAKU,MAAO,CAAE,oBAAqB,KAAM,6BAA8B1B,KAAKhB,aACzEgB,KAAKV,OAASmC,EAAA,OAAAT,IAAA,2CAAKU,MAAM,qBAAqBC,MAAO,CAAElC,OAAQmC,OAAO5B,KAAKR,cAAgBqC,QAAS,IAAM7B,KAAKZ,mBAAqBY,KAAKiB,UAC1IQ,EAAA,OAAAT,IAAA,2CACEc,IAAMC,GAAQ/B,KAAKN,SAAWqC,EAC9BL,MAAO,CAAE,YAAa,KAAMF,CAACA,GAAiB,KAAM,qBAAsBxB,KAAKhB,YAC/E2C,MAAO,IAAKN,EAAW5B,OAAQmC,OAAO5B,KAAKR,YAAc,IACzDwC,KAAK,SAAQ,aACF,OAAM,aACLhC,KAAKf,OAASgD,WAE1BR,EAAA,OAAAT,IAAA,2CAAKU,MAAM,qBACTD,EAAA,QAAAT,IAAA,2CAAMU,MAAM,oBAAoB1B,KAAKf,OACpCe,KAAKX,WAAaoC,EAAA,UAAAT,IAAA,2CAAQkB,KAAK,SAASR,MAAM,mBAAkB,aAAY,KAAKG,QAAS7B,KAAKiB,OAAK,MAEvGQ,EAAA,OAAAT,IAAA,2CAAKU,MAAM,mBAAkBD,EAAA,QAAAT,IAAA,+C","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ import{r as e,c as a,g as t,h as r}from"./p-e42dfa95.js";import{c as i}from"./p-4ef5a884.js";const o='/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);line-height:1.5;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex;padding-block:0}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}} /*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{}@layer base{}@layer components;:host{--hb-cascader-font-size:14px;--hb-cascader-font-size-large:16px;--hb-cascader-font-size-small:12px;--hb-cascader-border-color:var(--hb-border-color,#dcdfe6);--hb-cascader-border-color-hover:var(--hb-color-primary);--hb-cascader-bg-color:var(--hb-color-white,#fff);--hb-cascader-text-color:var(--hb-color-text-regular,#606266);--hb-cascader-placeholder-color:var(--hb-color-text-placeholder,#c0c4cc);--hb-cascader-disabled-color:var(--hb-color-text-disabled,#c0c4cc);--hb-cascader-disabled-bg-color:var(--hb-fill-color-light,#f5f7fa);display:inline-block;position:relative}.hb-cascader{display:inline-block;font-size:var(--hb-cascader-font-size);line-height:32px;position:relative}.hb-cascader__input-wrapper{cursor:pointer;display:inline-block;position:relative;width:100%}.hb-cascader__input{background-color:var(--hb-cascader-bg-color);border:1px solid var(--hb-cascader-border-color);border-radius:4px;box-sizing:border-box;color:var(--hb-cascader-text-color);cursor:pointer;display:inline-block;font-size:var(--hb-cascader-font-size);height:32px;line-height:32px;outline:none;padding:0 30px 0 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}.hb-cascader__input::placeholder{color:var(--hb-cascader-placeholder-color)}.hb-cascader__input:focus,.hb-cascader__input:hover:not(:disabled){border-color:var(--hb-cascader-border-color-hover)}.hb-cascader__input:disabled{background-color:var(--hb-cascader-disabled-bg-color);border-color:var(--hb-cascader-border-color);color:var(--hb-cascader-disabled-color);cursor:not-allowed}.hb-cascader__suffix{align-items:center;color:var(--hb-cascader-text-color);display:flex;position:absolute;right:8px;top:50%;transform:translateY(-50%)}.hb-cascader__clear{color:var(--hb-cascader-placeholder-color);cursor:pointer;font-size:16px;margin-right:8px;transition:color .2s}.hb-cascader__clear:hover{color:var(--hb-cascader-text-color)}.hb-cascader__arrow{font-size:12px;transition:transform .3s}.hb-cascader--open .hb-cascader__arrow{transform:rotate(180deg)}.hb-cascader__dropdown{background-color:var(--hb-cascader-bg-color);border:1px solid var(--hb-cascader-border-color);border-radius:4px;box-shadow:0 2px 12px #0000001a;left:0;margin-top:4px;max-height:300px;min-width:180px;overflow-y:auto;position:absolute;top:100%;width:max-content;z-index:1000}.hb-cascader__menus{display:flex;padding:6px 0}.hb-cascader__menu{border-right:1px solid var(--hb-cascader-border-color);max-height:300px;min-width:180px;overflow-y:auto}.hb-cascader__menu:last-child{border-right:none}.hb-cascader__menu-list{list-style:none;margin:0;padding:0}.hb-cascader__menu-item{align-items:center;color:var(--hb-cascader-text-color);cursor:pointer;display:flex;font-size:var(--hb-cascader-font-size);justify-content:space-between;padding:8px 20px;transition:background-color .2s}.hb-cascader__menu-item:hover:not(.hb-cascader__menu-item--disabled){background-color:var(--hb-fill-color-light,#f5f7fa)}.hb-cascader__menu-item--selected{color:var(--hb-color-primary);font-weight:600}.hb-cascader__menu-item--disabled{color:var(--hb-cascader-disabled-color);cursor:not-allowed}.hb-cascader__menu-item-label{flex:1}.hb-cascader__menu-item-arrow{color:var(--hb-cascader-placeholder-color);font-size:12px;margin-left:8px}.hb-cascader__menu-item-loading{animation:hb-cascader-spin .8s linear infinite;color:var(--hb-color-primary,#1677ff);font-size:12px;margin-left:8px}.hb-cascader__menu-list--loading .hb-cascader__menu-item--loading{color:var(--hb-color-text-placeholder,#c0c4cc);justify-content:center}@keyframes hb-cascader-spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.hb-cascader--large,.hb-cascader--large .hb-cascader__input{font-size:var(--hb-cascader-font-size-large);line-height:40px}.hb-cascader--large .hb-cascader__input{height:40px}.hb-cascader--small,.hb-cascader--small .hb-cascader__input{font-size:var(--hb-cascader-font-size-small);line-height:24px}.hb-cascader--small .hb-cascader__input{height:24px;padding:0 25px 0 12px}.hb-cascader--disabled{cursor:not-allowed}.hb-cascader__search{border-bottom:1px solid var(--hb-cascader-border-color);padding:8px}.hb-cascader__search-input{background-color:var(--hb-cascader-bg-color);border:1px solid var(--hb-cascader-border-color);border-radius:4px;box-sizing:border-box;color:var(--hb-cascader-text-color);cursor:text;font-size:var(--hb-cascader-font-size);height:28px;line-height:28px;outline:none;padding:0 8px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}.hb-cascader__search-input:focus{border-color:var(--hb-cascader-border-color-hover)}.hb-cascader__search-results{max-height:264px;min-width:180px;overflow-y:auto;padding:6px 0}.hb-cascader__search-item{color:var(--hb-cascader-text-color);cursor:pointer;font-size:var(--hb-cascader-font-size);padding:8px 20px;transition:background-color .2s;white-space:nowrap}.hb-cascader__search-item:hover:not(.hb-cascader__search-item--disabled){background-color:var(--hb-fill-color-light,#f5f7fa)}.hb-cascader__search-item--selected{color:var(--hb-color-primary);font-weight:600}.hb-cascader__search-item--disabled{color:var(--hb-cascader-disabled-color);cursor:not-allowed}.hb-cascader__search-empty{color:var(--hb-cascader-placeholder-color);font-size:var(--hb-cascader-font-size);padding:16px 0;text-align:center}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}';const s=o;const n=class{constructor(t){e(this,t);this.hbChange=a(this,"hbChange",7);this.hbExpandChange=a(this,"hbExpandChange",7)}get el(){return t(this)}modelValue;options=[];placeholder="请选择";disabled=false;size="default";clearable=false;showAllLevels=true;name;inputId;separator=" / ";emitPath=true;filterable=false;lazy=false;load;isOpen=false;inputValue="";searchValue="";loadingKeys=new Set;filteredPaths=[];activePath=[];hbChange;hbExpandChange;clickOutside=i({host:null,isOpen:()=>this.isOpen,onClose:()=>{this.closeAndClearSearch()}});componentDidLoad(){this.clickOutside=i({host:this.el,isOpen:()=>this.isOpen,onClose:()=>{this.closeAndClearSearch()}});this.clickOutside.connect();this.updateInputValue()}closeAndClearSearch(){this.isOpen=false;this.searchValue="";this.filteredPaths=[]}disconnectedCallback(){this.clickOutside.disconnect()}handleValueChange(){this.updateInputValue()}updateInputValue(){if(!this.modelValue||this.modelValue.length===0){this.inputValue="";return}if(!this.showAllLevels){const e=this.modelValue[this.modelValue.length-1];const a=this.findOptionByValue(this.options,e);this.inputValue=a?a.label:"";return}const e=[];let a=this.options;for(const t of this.modelValue){const r=a.find((e=>e.value===t));if(r){e.push(r.label);a=r.children||[]}else{break}}this.inputValue=e.join(this.separator)}findOptionByValue(e,a){for(const t of e){if(t.value===a){return t}if(t.children){const e=this.findOptionByValue(t.children,a);if(e)return e}}return null}handleInputClick=()=>{if(this.disabled)return;if(this.isOpen){this.closeAndClearSearch()}else{this.isOpen=true}};handleSearchInput=e=>{const a=e.target;this.searchValue=a.value;this.filteredPaths=this.collectFilteredPaths(this.searchValue)};collectFilteredPaths(e){const a=e.trim().toLowerCase();if(!a)return[];const t=[];const r=(e,i)=>{for(const o of e){const e=[...i,o];if(o.label.toLowerCase().includes(a)){t.push(e)}if(o.children&&o.children.length>0){r(o.children,e)}}};r(this.options,[]);return t}handleSearchSelect=e=>{const a=e.map((e=>e.value));const t=e[e.length-1];const r=!t.children||t.children.length===0||t.leaf;this.searchValue="";this.filteredPaths=[];if(r){this.modelValue=a;this.updateInputValue();this.hbChange.emit(a);this.isOpen=false;this.activePath=[]}else{this.activePath=a;this.hbExpandChange.emit(a)}};handleClear=e=>{e.stopPropagation();this.modelValue=undefined;this.inputValue="";this.isOpen=false;this.hbChange.emit(undefined)};handleSelect=(e,a)=>{const t=[...a,e];let r=this.options;let i=null;for(const e of t){i=r.find((a=>a.value===e))||null;if(!i)break;r=i.children||[]}if(this.lazy&&this.load&&i&&i.children===undefined&&!i.leaf){this.activePath=t;this.hbExpandChange.emit(t);void this.loadChildren(i,t);return}if(!i||!i.children||i.children.length===0||i.leaf){this.modelValue=t;this.updateInputValue();this.hbChange.emit(t);this.isOpen=false;this.activePath=[]}else{this.activePath=t;this.hbExpandChange.emit(t)}};async loadChildren(e,a){if(!this.load)return;this.loadingKeys=new Set([...this.loadingKeys,e.value]);try{const a=await this.load(e);this.options=this.replaceOptionChildren(this.options,e.value,a)}catch(a){console.error("[hb-cascader] lazy load failed:",a);this.activePath=this.activePath.slice(0,this.activePath.indexOf(e.value)+1)}finally{const a=new Set(this.loadingKeys);a.delete(e.value);this.loadingKeys=a}}replaceOptionChildren(e,a,t){return e.map((e=>{if(e.value===a){return{...e,children:t}}if(e.children&&e.children.length>0){return{...e,children:this.replaceOptionChildren(e.children,a,t)}}return e}))}render(){return r("div",{key:"c842622737b0464fca8807b2e6e673de26e66f6c",class:{"hb-cascader":true,"hb-cascader--open":this.isOpen,"hb-cascader--disabled":this.disabled,[`hb-cascader--${this.size}`]:true}},r("div",{key:"23279bca07ba9263b6b7daa87fcc6ecf89cfa707",class:"hb-cascader__input-wrapper",onClick:this.handleInputClick},r("input",{key:"56253203d0684b374ee755d669ce1ef61eebb2e2",type:"text",id:this.inputId,name:this.name,class:"hb-cascader__input",placeholder:this.placeholder,value:this.inputValue,disabled:this.disabled,readonly:true,role:"combobox","aria-haspopup":"listbox","aria-expanded":this.isOpen?"true":"false"}),r("span",{key:"27eb1713ab7eabc760652d60d48960685dfdb0ce",class:"hb-cascader__suffix"},this.clearable&&this.modelValue&&this.modelValue.length>0&&r("span",{key:"26c75b651d82806019f514e9dc030df394419e46",class:"hb-cascader__clear",role:"button","aria-label":"清空",onClick:this.handleClear},"×"),r("span",{key:"01cc98144fa2cf70fcc7588efadd7bbeea17738b",class:"hb-cascader__arrow"},"▼"))),this.isOpen&&r("div",{key:"23a6230933ffaf0ee98c2c70a8dc9a8444be0555",class:"hb-cascader__dropdown"},this.filterable&&r("div",{key:"628a293edf4d2f22975801e2e9155f46a5cf90fa",class:"hb-cascader__search"},r("input",{key:"bedac6a61a99b8a64d27eaf95880ff4891c33f04",type:"text",class:"hb-cascader__search-input",placeholder:"搜索",value:this.searchValue,onInput:this.handleSearchInput,"aria-label":"搜索选项"})),this.filterable&&this.searchValue.trim()!==""?this.renderSearchResults():r("div",{class:"hb-cascader__menus",role:"listbox","aria-multiselectable":"false"},this.renderCascaderMenus())))}renderCascaderMenus(){const e=[];let a=this.options;let t=[];e.push(this.renderMenu(a,t));for(let r=0;r<this.activePath.length;r++){const i=this.activePath[r];const o=a.find((e=>e.value===i));if(!o)break;if(o.children===undefined&&this.loadingKeys.has(o.value)){e.push(this.renderLoadingMenu());break}if(o.children&&o.children.length>0){t=[...t,i];a=o.children;e.push(this.renderMenu(a,t))}else{break}}return e}renderLoadingMenu(){return r("ul",{class:"hb-cascader__menu-list hb-cascader__menu-list--loading",role:"status","aria-live":"polite"},r("li",{class:"hb-cascader__menu-item hb-cascader__menu-item--loading"},r("span",{class:"hb-cascader__menu-item-label"},"加载中…")))}renderSearchResults(){if(this.filteredPaths.length===0){return r("div",{class:"hb-cascader__search-empty",role:"status"},"无匹配数据")}return r("div",{class:"hb-cascader__search-results",role:"listbox","aria-label":"搜索结果"},this.filteredPaths.map((e=>{const a=e.map((e=>e.label)).join(this.separator);const t=e.map((e=>e.value));const i=e[e.length-1];const o=!!i.disabled;const s=!!this.modelValue&&this.modelValue.length===t.length&&t.every(((e,a)=>this.modelValue&&this.modelValue[a]===e));return r("div",{class:{"hb-cascader__search-item":true,"hb-cascader__search-item--selected":s,"hb-cascader__search-item--disabled":o},role:"option","aria-selected":s?"true":"false","aria-disabled":o?"true":undefined,onClick:()=>!o&&this.handleSearchSelect(e)},a)})))}renderMenu(e,a){if(!e||e.length===0){return null}return r("ul",{class:"hb-cascader__menu-list",role:"group"},e.map((e=>{const t=a.length>0&&a[a.length-1]===e.value;const i=this.modelValue&&a.length>0&&a.every(((e,a)=>this.modelValue&&this.modelValue[a]===e))&&this.modelValue.length===a.length+1&&this.modelValue[a.length]===e.value;return r("li",{class:{"hb-cascader__menu-item":true,"hb-cascader__menu-item--selected":t||i,"hb-cascader__menu-item--disabled":e.disabled},role:"option","aria-selected":t||i?"true":"false","aria-disabled":e.disabled?"true":undefined,onClick:()=>!e.disabled&&this.handleSelect(e.value,a)},r("span",{class:"hb-cascader__menu-item-label"},e.label),this.loadingKeys.has(e.value)?r("span",{class:"hb-cascader__menu-item-loading","aria-hidden":"true"},"⟳"):e.children&&e.children.length>0||this.lazy&&e.children===undefined&&!e.leaf?r("span",{class:"hb-cascader__menu-item-arrow"},"▶"):null)})))}static get watchers(){return{modelValue:["handleValueChange"]}}};n.style=s;export{n as hb_cascader};
2
+ //# sourceMappingURL=p-0bef78ac.entry.js.map