@actabldesign/bellhop-core 0.0.3

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 (1006) hide show
  1. package/README.md +116 -0
  2. package/bellhop-core/bellhop-core.css +7 -0
  3. package/bellhop-core/bellhop-core.esm.js +2 -0
  4. package/bellhop-core/bellhop-core.esm.js.map +1 -0
  5. package/bellhop-core/bh-accordion-item.entry.esm.js.map +1 -0
  6. package/bellhop-core/bh-accordion.entry.esm.js.map +1 -0
  7. package/bellhop-core/bh-appbar.entry.esm.js.map +1 -0
  8. package/bellhop-core/bh-autocomplete-menu.bh-tag.entry.esm.js.map +1 -0
  9. package/bellhop-core/bh-avatar-add.entry.esm.js.map +1 -0
  10. package/bellhop-core/bh-avatar-stacked.entry.esm.js.map +1 -0
  11. package/bellhop-core/bh-avatar.entry.esm.js.map +1 -0
  12. package/bellhop-core/bh-badge-dot.bh-breadcrumbs.entry.esm.js.map +1 -0
  13. package/bellhop-core/bh-badge.entry.esm.js.map +1 -0
  14. package/bellhop-core/bh-bar-chart.entry.esm.js.map +1 -0
  15. package/bellhop-core/bh-button-icon.entry.esm.js.map +1 -0
  16. package/bellhop-core/bh-button.bh-loader-spinner.entry.esm.js.map +1 -0
  17. package/bellhop-core/bh-card-footer.entry.esm.js.map +1 -0
  18. package/bellhop-core/bh-card-header.entry.esm.js.map +1 -0
  19. package/bellhop-core/bh-card.entry.esm.js.map +1 -0
  20. package/bellhop-core/bh-chart-tooltip.entry.esm.js.map +1 -0
  21. package/bellhop-core/bh-checkbox-group-item.entry.esm.js.map +1 -0
  22. package/bellhop-core/bh-checkbox-group.entry.esm.js.map +1 -0
  23. package/bellhop-core/bh-checkbox.entry.esm.js.map +1 -0
  24. package/bellhop-core/bh-container-footer.entry.esm.js.map +1 -0
  25. package/bellhop-core/bh-container.entry.esm.js.map +1 -0
  26. package/bellhop-core/bh-data-grid.entry.esm.js.map +1 -0
  27. package/bellhop-core/bh-date-picker-content.bh-picker-menu.entry.esm.js.map +1 -0
  28. package/bellhop-core/bh-date-picker.bh-empty-state.entry.esm.js.map +1 -0
  29. package/bellhop-core/bh-date-range-picker-content.entry.esm.js.map +1 -0
  30. package/bellhop-core/bh-date-range-picker.entry.esm.js.map +1 -0
  31. package/bellhop-core/bh-dropdown-menu.entry.esm.js.map +1 -0
  32. package/bellhop-core/bh-dropdown.bh-logo-box.bh-nav-item.entry.esm.js.map +1 -0
  33. package/bellhop-core/bh-featured-icon.entry.esm.js.map +1 -0
  34. package/bellhop-core/bh-illustrations.entry.esm.js.map +1 -0
  35. package/bellhop-core/bh-input-autocomplete.entry.esm.js.map +1 -0
  36. package/bellhop-core/bh-input-number.entry.esm.js.map +1 -0
  37. package/bellhop-core/bh-input-password.entry.esm.js.map +1 -0
  38. package/bellhop-core/bh-input-text.entry.esm.js.map +1 -0
  39. package/bellhop-core/bh-input-verification.entry.esm.js.map +1 -0
  40. package/bellhop-core/bh-label.bh-tooltip.entry.esm.js.map +1 -0
  41. package/bellhop-core/bh-modal-actions.entry.esm.js.map +1 -0
  42. package/bellhop-core/bh-modal-header.entry.esm.js.map +1 -0
  43. package/bellhop-core/bh-modal.entry.esm.js.map +1 -0
  44. package/bellhop-core/bh-month-picker-content.entry.esm.js.map +1 -0
  45. package/bellhop-core/bh-month-picker.entry.esm.js.map +1 -0
  46. package/bellhop-core/bh-notification.entry.esm.js.map +1 -0
  47. package/bellhop-core/bh-page-navigation-child.entry.esm.js.map +1 -0
  48. package/bellhop-core/bh-page-navigation-multi-level.bh-page-navigation-single-level.entry.esm.js.map +1 -0
  49. package/bellhop-core/bh-page-navigation.entry.esm.js.map +1 -0
  50. package/bellhop-core/bh-pie-chart.entry.esm.js.map +1 -0
  51. package/bellhop-core/bh-popover.entry.esm.js.map +1 -0
  52. package/bellhop-core/bh-product-switcher.entry.esm.js.map +1 -0
  53. package/bellhop-core/bh-property-switcher.entry.esm.js.map +1 -0
  54. package/bellhop-core/bh-radio-button.entry.esm.js.map +1 -0
  55. package/bellhop-core/bh-sidebar.entry.esm.js.map +1 -0
  56. package/bellhop-core/bh-skeleton-loader.entry.esm.js.map +1 -0
  57. package/bellhop-core/bh-tab-item.entry.esm.js.map +1 -0
  58. package/bellhop-core/bh-tabs.entry.esm.js.map +1 -0
  59. package/bellhop-core/bh-textarea.entry.esm.js.map +1 -0
  60. package/bellhop-core/bh-toggle.entry.esm.js.map +1 -0
  61. package/bellhop-core/bh-trend-chart.entry.esm.js.map +1 -0
  62. package/bellhop-core/index.esm.js +2 -0
  63. package/bellhop-core/index.esm.js.map +1 -0
  64. package/bellhop-core/loader.esm.js.map +1 -0
  65. package/bellhop-core/p-051a25aa.entry.js +2 -0
  66. package/bellhop-core/p-051a25aa.entry.js.map +1 -0
  67. package/bellhop-core/p-0579ce8d.entry.js +2 -0
  68. package/bellhop-core/p-0579ce8d.entry.js.map +1 -0
  69. package/bellhop-core/p-05c13d72.entry.js +2 -0
  70. package/bellhop-core/p-05c13d72.entry.js.map +1 -0
  71. package/bellhop-core/p-0e013732.entry.js +2 -0
  72. package/bellhop-core/p-0e013732.entry.js.map +1 -0
  73. package/bellhop-core/p-1960c2d0.entry.js +2 -0
  74. package/bellhop-core/p-1960c2d0.entry.js.map +1 -0
  75. package/bellhop-core/p-2735c901.entry.js +2 -0
  76. package/bellhop-core/p-2735c901.entry.js.map +1 -0
  77. package/bellhop-core/p-2c80bc07.entry.js +2 -0
  78. package/bellhop-core/p-2c80bc07.entry.js.map +1 -0
  79. package/bellhop-core/p-2cc0c4cf.entry.js +2 -0
  80. package/bellhop-core/p-2cc0c4cf.entry.js.map +1 -0
  81. package/bellhop-core/p-3038cc1a.entry.js +2 -0
  82. package/bellhop-core/p-3038cc1a.entry.js.map +1 -0
  83. package/bellhop-core/p-324cad08.entry.js +2 -0
  84. package/bellhop-core/p-324cad08.entry.js.map +1 -0
  85. package/bellhop-core/p-3bf098fd.entry.js +2 -0
  86. package/bellhop-core/p-3bf098fd.entry.js.map +1 -0
  87. package/bellhop-core/p-3c739eea.entry.js +2 -0
  88. package/bellhop-core/p-3c739eea.entry.js.map +1 -0
  89. package/bellhop-core/p-4c71a0b6.entry.js +2 -0
  90. package/bellhop-core/p-4c71a0b6.entry.js.map +1 -0
  91. package/bellhop-core/p-5a220f12.entry.js +2 -0
  92. package/bellhop-core/p-5a220f12.entry.js.map +1 -0
  93. package/bellhop-core/p-5d844699.entry.js +2 -0
  94. package/bellhop-core/p-5d844699.entry.js.map +1 -0
  95. package/bellhop-core/p-5e8d2fc0.entry.js +2 -0
  96. package/bellhop-core/p-5e8d2fc0.entry.js.map +1 -0
  97. package/bellhop-core/p-71391701.entry.js +2 -0
  98. package/bellhop-core/p-71391701.entry.js.map +1 -0
  99. package/bellhop-core/p-7e67af77.entry.js +2 -0
  100. package/bellhop-core/p-7e67af77.entry.js.map +1 -0
  101. package/bellhop-core/p-7e908d03.entry.js +2 -0
  102. package/bellhop-core/p-7e908d03.entry.js.map +1 -0
  103. package/bellhop-core/p-8053e945.entry.js +2 -0
  104. package/bellhop-core/p-8053e945.entry.js.map +1 -0
  105. package/bellhop-core/p-852564d6.entry.js +2 -0
  106. package/bellhop-core/p-852564d6.entry.js.map +1 -0
  107. package/bellhop-core/p-86bbff38.entry.js +2 -0
  108. package/bellhop-core/p-86bbff38.entry.js.map +1 -0
  109. package/bellhop-core/p-87d1ed92.entry.js +2 -0
  110. package/bellhop-core/p-87d1ed92.entry.js.map +1 -0
  111. package/bellhop-core/p-94156013.entry.js +2 -0
  112. package/bellhop-core/p-94156013.entry.js.map +1 -0
  113. package/bellhop-core/p-954b9c38.entry.js +2 -0
  114. package/bellhop-core/p-954b9c38.entry.js.map +1 -0
  115. package/bellhop-core/p-9693180e.entry.js +2 -0
  116. package/bellhop-core/p-9693180e.entry.js.map +1 -0
  117. package/bellhop-core/p-98a336f7.entry.js +2 -0
  118. package/bellhop-core/p-98a336f7.entry.js.map +1 -0
  119. package/bellhop-core/p-98cc729f.entry.js +2 -0
  120. package/bellhop-core/p-98cc729f.entry.js.map +1 -0
  121. package/bellhop-core/p-9e7e64dc.entry.js +2 -0
  122. package/bellhop-core/p-9e7e64dc.entry.js.map +1 -0
  123. package/bellhop-core/p-9fe1fd2e.entry.js +2 -0
  124. package/bellhop-core/p-9fe1fd2e.entry.js.map +1 -0
  125. package/bellhop-core/p-CPgx0iFq.js +2 -0
  126. package/bellhop-core/p-CPgx0iFq.js.map +1 -0
  127. package/bellhop-core/p-DANVSPII.js +2 -0
  128. package/bellhop-core/p-DANVSPII.js.map +1 -0
  129. package/bellhop-core/p-DKeuA-TM.js +2 -0
  130. package/bellhop-core/p-DKeuA-TM.js.map +1 -0
  131. package/bellhop-core/p-DtVghh5W.js +3 -0
  132. package/bellhop-core/p-DtVghh5W.js.map +1 -0
  133. package/bellhop-core/p-a901ae33.entry.js +2 -0
  134. package/bellhop-core/p-a901ae33.entry.js.map +1 -0
  135. package/bellhop-core/p-abd6ade0.entry.js +2 -0
  136. package/bellhop-core/p-abd6ade0.entry.js.map +1 -0
  137. package/bellhop-core/p-abf68de4.entry.js +2 -0
  138. package/bellhop-core/p-abf68de4.entry.js.map +1 -0
  139. package/bellhop-core/p-ad15a4b9.entry.js +2 -0
  140. package/bellhop-core/p-ad15a4b9.entry.js.map +1 -0
  141. package/bellhop-core/p-b1affa8d.entry.js +2 -0
  142. package/bellhop-core/p-b1affa8d.entry.js.map +1 -0
  143. package/bellhop-core/p-b4104ae5.entry.js +2 -0
  144. package/bellhop-core/p-b4104ae5.entry.js.map +1 -0
  145. package/bellhop-core/p-c194883a.entry.js +2 -0
  146. package/bellhop-core/p-c194883a.entry.js.map +1 -0
  147. package/bellhop-core/p-c48ca590.entry.js +2 -0
  148. package/bellhop-core/p-c48ca590.entry.js.map +1 -0
  149. package/bellhop-core/p-c82e73aa.entry.js +2 -0
  150. package/bellhop-core/p-c82e73aa.entry.js.map +1 -0
  151. package/bellhop-core/p-d14192df.entry.js +2 -0
  152. package/bellhop-core/p-d14192df.entry.js.map +1 -0
  153. package/bellhop-core/p-d5fb8d0f.entry.js +2 -0
  154. package/bellhop-core/p-d5fb8d0f.entry.js.map +1 -0
  155. package/bellhop-core/p-d9106838.entry.js +2 -0
  156. package/bellhop-core/p-d9106838.entry.js.map +1 -0
  157. package/bellhop-core/p-d941cdba.entry.js +2 -0
  158. package/bellhop-core/p-d941cdba.entry.js.map +1 -0
  159. package/bellhop-core/p-d94b296e.entry.js +2 -0
  160. package/bellhop-core/p-d94b296e.entry.js.map +1 -0
  161. package/bellhop-core/p-df2728a1.entry.js +2 -0
  162. package/bellhop-core/p-df2728a1.entry.js.map +1 -0
  163. package/bellhop-core/p-df45027c.entry.js +2 -0
  164. package/bellhop-core/p-df45027c.entry.js.map +1 -0
  165. package/bellhop-core/p-dfe0574c.entry.js +2 -0
  166. package/bellhop-core/p-dfe0574c.entry.js.map +1 -0
  167. package/bellhop-core/p-e3c5d1e3.entry.js +2 -0
  168. package/bellhop-core/p-e3c5d1e3.entry.js.map +1 -0
  169. package/bellhop-core/p-e3d79592.entry.js +2 -0
  170. package/bellhop-core/p-e3d79592.entry.js.map +1 -0
  171. package/bellhop-core/p-e44539e9.entry.js +2 -0
  172. package/bellhop-core/p-e44539e9.entry.js.map +1 -0
  173. package/bellhop-core/p-e5b9a3de.entry.js +2 -0
  174. package/bellhop-core/p-e5b9a3de.entry.js.map +1 -0
  175. package/bellhop-core/p-e8e0739d.entry.js +2 -0
  176. package/bellhop-core/p-e8e0739d.entry.js.map +1 -0
  177. package/bellhop-core/p-ebb2492c.entry.js +2 -0
  178. package/bellhop-core/p-ebb2492c.entry.js.map +1 -0
  179. package/bellhop-core/p-ec894e11.entry.js +2 -0
  180. package/bellhop-core/p-ec894e11.entry.js.map +1 -0
  181. package/bellhop-core/p-f0cfc744.entry.js +2 -0
  182. package/bellhop-core/p-f0cfc744.entry.js.map +1 -0
  183. package/bellhop-core/p-f261bdae.entry.js +2 -0
  184. package/bellhop-core/p-f261bdae.entry.js.map +1 -0
  185. package/bellhop-core/p-f4c4c70d.entry.js +2 -0
  186. package/bellhop-core/p-f4c4c70d.entry.js.map +1 -0
  187. package/cjs/bellhop-core.cjs.js +25 -0
  188. package/cjs/bellhop-core.cjs.js.map +1 -0
  189. package/cjs/bh-accordion-item.cjs.entry.js +82 -0
  190. package/cjs/bh-accordion-item.entry.cjs.js.map +1 -0
  191. package/cjs/bh-accordion.cjs.entry.js +119 -0
  192. package/cjs/bh-accordion.entry.cjs.js.map +1 -0
  193. package/cjs/bh-appbar.cjs.entry.js +83 -0
  194. package/cjs/bh-appbar.entry.cjs.js.map +1 -0
  195. package/cjs/bh-autocomplete-menu.bh-tag.entry.cjs.js.map +1 -0
  196. package/cjs/bh-autocomplete-menu_2.cjs.entry.js +177 -0
  197. package/cjs/bh-avatar-add.cjs.entry.js +75 -0
  198. package/cjs/bh-avatar-add.entry.cjs.js.map +1 -0
  199. package/cjs/bh-avatar-stacked.cjs.entry.js +94 -0
  200. package/cjs/bh-avatar-stacked.entry.cjs.js.map +1 -0
  201. package/cjs/bh-avatar.cjs.entry.js +93 -0
  202. package/cjs/bh-avatar.entry.cjs.js.map +1 -0
  203. package/cjs/bh-badge-dot.bh-breadcrumbs.entry.cjs.js.map +1 -0
  204. package/cjs/bh-badge-dot_2.cjs.entry.js +134 -0
  205. package/cjs/bh-badge.cjs.entry.js +71 -0
  206. package/cjs/bh-badge.entry.cjs.js.map +1 -0
  207. package/cjs/bh-bar-chart.cjs.entry.js +164 -0
  208. package/cjs/bh-bar-chart.entry.cjs.js.map +1 -0
  209. package/cjs/bh-button-BKVcf-nK.js +117 -0
  210. package/cjs/bh-button-BKVcf-nK.js.map +1 -0
  211. package/cjs/bh-button-icon.cjs.entry.js +74 -0
  212. package/cjs/bh-button-icon.entry.cjs.js.map +1 -0
  213. package/cjs/bh-button.bh-loader-spinner.entry.cjs.js.map +1 -0
  214. package/cjs/bh-button_2.cjs.entry.js +47 -0
  215. package/cjs/bh-card-footer.cjs.entry.js +30 -0
  216. package/cjs/bh-card-footer.entry.cjs.js.map +1 -0
  217. package/cjs/bh-card-header.cjs.entry.js +74 -0
  218. package/cjs/bh-card-header.entry.cjs.js.map +1 -0
  219. package/cjs/bh-card.cjs.entry.js +48 -0
  220. package/cjs/bh-card.entry.cjs.js.map +1 -0
  221. package/cjs/bh-chart-tooltip.cjs.entry.js +57 -0
  222. package/cjs/bh-chart-tooltip.entry.cjs.js.map +1 -0
  223. package/cjs/bh-checkbox-group-item.cjs.entry.js +142 -0
  224. package/cjs/bh-checkbox-group-item.entry.cjs.js.map +1 -0
  225. package/cjs/bh-checkbox-group.cjs.entry.js +100 -0
  226. package/cjs/bh-checkbox-group.entry.cjs.js.map +1 -0
  227. package/cjs/bh-checkbox.cjs.entry.js +144 -0
  228. package/cjs/bh-checkbox.entry.cjs.js.map +1 -0
  229. package/cjs/bh-container-footer.cjs.entry.js +38 -0
  230. package/cjs/bh-container-footer.entry.cjs.js.map +1 -0
  231. package/cjs/bh-container.cjs.entry.js +26 -0
  232. package/cjs/bh-container.entry.cjs.js.map +1 -0
  233. package/cjs/bh-data-grid.cjs.entry.js +812 -0
  234. package/cjs/bh-data-grid.entry.cjs.js.map +1 -0
  235. package/cjs/bh-date-picker-content.bh-picker-menu.entry.cjs.js.map +1 -0
  236. package/cjs/bh-date-picker-content_2.cjs.entry.js +525 -0
  237. package/cjs/bh-date-picker.bh-empty-state.entry.cjs.js.map +1 -0
  238. package/cjs/bh-date-picker_2.cjs.entry.js +252 -0
  239. package/cjs/bh-date-range-picker-content.cjs.entry.js +151 -0
  240. package/cjs/bh-date-range-picker-content.entry.cjs.js.map +1 -0
  241. package/cjs/bh-date-range-picker.cjs.entry.js +167 -0
  242. package/cjs/bh-date-range-picker.entry.cjs.js.map +1 -0
  243. package/cjs/bh-dropdown-menu.cjs.entry.js +114 -0
  244. package/cjs/bh-dropdown-menu.entry.cjs.js.map +1 -0
  245. package/cjs/bh-dropdown.bh-logo-box.bh-nav-item.entry.cjs.js.map +1 -0
  246. package/cjs/bh-dropdown_3.cjs.entry.js +307 -0
  247. package/cjs/bh-featured-icon.cjs.entry.js +41 -0
  248. package/cjs/bh-featured-icon.entry.cjs.js.map +1 -0
  249. package/cjs/bh-illustrations.cjs.entry.js +65 -0
  250. package/cjs/bh-illustrations.entry.cjs.js.map +1 -0
  251. package/cjs/bh-input-autocomplete.cjs.entry.js +342 -0
  252. package/cjs/bh-input-autocomplete.entry.cjs.js.map +1 -0
  253. package/cjs/bh-input-number.cjs.entry.js +307 -0
  254. package/cjs/bh-input-number.entry.cjs.js.map +1 -0
  255. package/cjs/bh-input-password.cjs.entry.js +182 -0
  256. package/cjs/bh-input-password.entry.cjs.js.map +1 -0
  257. package/cjs/bh-input-text.cjs.entry.js +192 -0
  258. package/cjs/bh-input-text.entry.cjs.js.map +1 -0
  259. package/cjs/bh-input-verification.cjs.entry.js +203 -0
  260. package/cjs/bh-input-verification.entry.cjs.js.map +1 -0
  261. package/cjs/bh-label-DBqucnaO.js +110 -0
  262. package/cjs/bh-label-DBqucnaO.js.map +1 -0
  263. package/cjs/bh-label.bh-tooltip.entry.cjs.js.map +1 -0
  264. package/cjs/bh-label_2.cjs.entry.js +48 -0
  265. package/cjs/bh-modal-actions.cjs.entry.js +66 -0
  266. package/cjs/bh-modal-actions.entry.cjs.js.map +1 -0
  267. package/cjs/bh-modal-header.cjs.entry.js +76 -0
  268. package/cjs/bh-modal-header.entry.cjs.js.map +1 -0
  269. package/cjs/bh-modal.cjs.entry.js +56 -0
  270. package/cjs/bh-modal.entry.cjs.js.map +1 -0
  271. package/cjs/bh-month-picker-content.cjs.entry.js +189 -0
  272. package/cjs/bh-month-picker-content.entry.cjs.js.map +1 -0
  273. package/cjs/bh-month-picker.cjs.entry.js +152 -0
  274. package/cjs/bh-month-picker.entry.cjs.js.map +1 -0
  275. package/cjs/bh-notification.cjs.entry.js +128 -0
  276. package/cjs/bh-notification.entry.cjs.js.map +1 -0
  277. package/cjs/bh-page-navigation-child.cjs.entry.js +48 -0
  278. package/cjs/bh-page-navigation-child.entry.cjs.js.map +1 -0
  279. package/cjs/bh-page-navigation-multi-level.bh-page-navigation-single-level.entry.cjs.js.map +1 -0
  280. package/cjs/bh-page-navigation-multi-level_2.cjs.entry.js +146 -0
  281. package/cjs/bh-page-navigation.cjs.entry.js +72 -0
  282. package/cjs/bh-page-navigation.entry.cjs.js.map +1 -0
  283. package/cjs/bh-pie-chart.cjs.entry.js +157 -0
  284. package/cjs/bh-pie-chart.entry.cjs.js.map +1 -0
  285. package/cjs/bh-popover.cjs.entry.js +100 -0
  286. package/cjs/bh-popover.entry.cjs.js.map +1 -0
  287. package/cjs/bh-product-switcher.cjs.entry.js +102 -0
  288. package/cjs/bh-product-switcher.entry.cjs.js.map +1 -0
  289. package/cjs/bh-property-switcher.cjs.entry.js +231 -0
  290. package/cjs/bh-property-switcher.entry.cjs.js.map +1 -0
  291. package/cjs/bh-radio-button.cjs.entry.js +124 -0
  292. package/cjs/bh-radio-button.entry.cjs.js.map +1 -0
  293. package/cjs/bh-sidebar.cjs.entry.js +110 -0
  294. package/cjs/bh-sidebar.entry.cjs.js.map +1 -0
  295. package/cjs/bh-skeleton-loader.cjs.entry.js +34 -0
  296. package/cjs/bh-skeleton-loader.entry.cjs.js.map +1 -0
  297. package/cjs/bh-tab-item.cjs.entry.js +54 -0
  298. package/cjs/bh-tab-item.entry.cjs.js.map +1 -0
  299. package/cjs/bh-tabs.cjs.entry.js +52 -0
  300. package/cjs/bh-tabs.entry.cjs.js.map +1 -0
  301. package/cjs/bh-textarea.cjs.entry.js +161 -0
  302. package/cjs/bh-textarea.entry.cjs.js.map +1 -0
  303. package/cjs/bh-toggle.cjs.entry.js +141 -0
  304. package/cjs/bh-toggle.entry.cjs.js.map +1 -0
  305. package/cjs/bh-trend-chart.cjs.entry.js +121 -0
  306. package/cjs/bh-trend-chart.entry.cjs.js.map +1 -0
  307. package/cjs/form-9mbajZ3y.js +64 -0
  308. package/cjs/form-9mbajZ3y.js.map +1 -0
  309. package/cjs/index-tZqSQc8E.js +1951 -0
  310. package/cjs/index-tZqSQc8E.js.map +1 -0
  311. package/cjs/index.cjs.js +32 -0
  312. package/cjs/index.cjs.js.map +1 -0
  313. package/cjs/loader.cjs.js +13 -0
  314. package/cjs/loader.cjs.js.map +1 -0
  315. package/collection/collection-manifest.json +77 -0
  316. package/collection/components/bh-accordion/bh-accordion.css +30 -0
  317. package/collection/components/bh-accordion/bh-accordion.js +227 -0
  318. package/collection/components/bh-accordion/bh-accordion.js.map +1 -0
  319. package/collection/components/bh-accordion-item/bh-accordion-item.css +119 -0
  320. package/collection/components/bh-accordion-item/bh-accordion-item.js +207 -0
  321. package/collection/components/bh-accordion-item/bh-accordion-item.js.map +1 -0
  322. package/collection/components/bh-appbar/bh-appbar.css +80 -0
  323. package/collection/components/bh-appbar/bh-appbar.js +270 -0
  324. package/collection/components/bh-appbar/bh-appbar.js.map +1 -0
  325. package/collection/components/bh-autocomplete-menu/bh-autocomplete-menu.css +142 -0
  326. package/collection/components/bh-autocomplete-menu/bh-autocomplete-menu.js +301 -0
  327. package/collection/components/bh-autocomplete-menu/bh-autocomplete-menu.js.map +1 -0
  328. package/collection/components/bh-avatar/bh-avatar.css +257 -0
  329. package/collection/components/bh-avatar/bh-avatar.js +266 -0
  330. package/collection/components/bh-avatar/bh-avatar.js.map +1 -0
  331. package/collection/components/bh-avatar-add/bh-avatar-add.css +145 -0
  332. package/collection/components/bh-avatar-add/bh-avatar-add.js +194 -0
  333. package/collection/components/bh-avatar-add/bh-avatar-add.js.map +1 -0
  334. package/collection/components/bh-avatar-stacked/bh-avatar-stacked.css +29 -0
  335. package/collection/components/bh-avatar-stacked/bh-avatar-stacked.js +211 -0
  336. package/collection/components/bh-avatar-stacked/bh-avatar-stacked.js.map +1 -0
  337. package/collection/components/bh-badge/bh-badge.css +348 -0
  338. package/collection/components/bh-badge/bh-badge.js +250 -0
  339. package/collection/components/bh-badge/bh-badge.js.map +1 -0
  340. package/collection/components/bh-badge-dot/bh-badge-dot.css +77 -0
  341. package/collection/components/bh-badge-dot/bh-badge-dot.js +113 -0
  342. package/collection/components/bh-badge-dot/bh-badge-dot.js.map +1 -0
  343. package/collection/components/bh-bar-chart/bh-bar-chart.css +363 -0
  344. package/collection/components/bh-bar-chart/bh-bar-chart.js +316 -0
  345. package/collection/components/bh-bar-chart/bh-bar-chart.js.map +1 -0
  346. package/collection/components/bh-breadcrumbs/bh-breadcrumbs.css +158 -0
  347. package/collection/components/bh-breadcrumbs/bh-breadcrumbs.js +231 -0
  348. package/collection/components/bh-breadcrumbs/bh-breadcrumbs.js.map +1 -0
  349. package/collection/components/bh-button/bh-button.css +467 -0
  350. package/collection/components/bh-button/bh-button.js +350 -0
  351. package/collection/components/bh-button/bh-button.js.map +1 -0
  352. package/collection/components/bh-button-icon/bh-button-icon.css +187 -0
  353. package/collection/components/bh-button-icon/bh-button-icon.js +259 -0
  354. package/collection/components/bh-button-icon/bh-button-icon.js.map +1 -0
  355. package/collection/components/bh-card/bh-card.css +57 -0
  356. package/collection/components/bh-card/bh-card.js +139 -0
  357. package/collection/components/bh-card/bh-card.js.map +1 -0
  358. package/collection/components/bh-card-footer/bh-card-footer.css +54 -0
  359. package/collection/components/bh-card-footer/bh-card-footer.js +81 -0
  360. package/collection/components/bh-card-footer/bh-card-footer.js.map +1 -0
  361. package/collection/components/bh-card-header/bh-card-header.css +68 -0
  362. package/collection/components/bh-card-header/bh-card-header.js +348 -0
  363. package/collection/components/bh-card-header/bh-card-header.js.map +1 -0
  364. package/collection/components/bh-chart-tooltip/bh-chart-tooltip.css +301 -0
  365. package/collection/components/bh-chart-tooltip/bh-chart-tooltip.js +226 -0
  366. package/collection/components/bh-chart-tooltip/bh-chart-tooltip.js.map +1 -0
  367. package/collection/components/bh-checkbox/bh-checkbox.css +179 -0
  368. package/collection/components/bh-checkbox/bh-checkbox.js +378 -0
  369. package/collection/components/bh-checkbox/bh-checkbox.js.map +1 -0
  370. package/collection/components/bh-checkbox-group/bh-checkbox-group.css +10 -0
  371. package/collection/components/bh-checkbox-group/bh-checkbox-group.js +218 -0
  372. package/collection/components/bh-checkbox-group/bh-checkbox-group.js.map +1 -0
  373. package/collection/components/bh-checkbox-group-item/bh-checkbox-group-item.css +118 -0
  374. package/collection/components/bh-checkbox-group-item/bh-checkbox-group-item.js +402 -0
  375. package/collection/components/bh-checkbox-group-item/bh-checkbox-group-item.js.map +1 -0
  376. package/collection/components/bh-container/bh-container.css +21 -0
  377. package/collection/components/bh-container/bh-container.js +51 -0
  378. package/collection/components/bh-container/bh-container.js.map +1 -0
  379. package/collection/components/bh-container-footer/bh-container-footer.css +22 -0
  380. package/collection/components/bh-container-footer/bh-container-footer.js +106 -0
  381. package/collection/components/bh-container-footer/bh-container-footer.js.map +1 -0
  382. package/collection/components/bh-data-grid/bh-data-grid.css +602 -0
  383. package/collection/components/bh-data-grid/bh-data-grid.js +1488 -0
  384. package/collection/components/bh-data-grid/bh-data-grid.js.map +1 -0
  385. package/collection/components/bh-date-picker/bh-date-picker.css +251 -0
  386. package/collection/components/bh-date-picker/bh-date-picker.js +485 -0
  387. package/collection/components/bh-date-picker/bh-date-picker.js.map +1 -0
  388. package/collection/components/bh-date-picker-content/bh-date-picker-content.css +541 -0
  389. package/collection/components/bh-date-picker-content/bh-date-picker-content.js +711 -0
  390. package/collection/components/bh-date-picker-content/bh-date-picker-content.js.map +1 -0
  391. package/collection/components/bh-date-range-picker/bh-date-range-picker.css +247 -0
  392. package/collection/components/bh-date-range-picker/bh-date-range-picker.js +528 -0
  393. package/collection/components/bh-date-range-picker/bh-date-range-picker.js.map +1 -0
  394. package/collection/components/bh-date-range-picker-content/bh-date-range-picker-content.css +275 -0
  395. package/collection/components/bh-date-range-picker-content/bh-date-range-picker-content.js +338 -0
  396. package/collection/components/bh-date-range-picker-content/bh-date-range-picker-content.js.map +1 -0
  397. package/collection/components/bh-dropdown/bh-dropdown.css +64 -0
  398. package/collection/components/bh-dropdown/bh-dropdown.js +512 -0
  399. package/collection/components/bh-dropdown/bh-dropdown.js.map +1 -0
  400. package/collection/components/bh-dropdown-menu/bh-dropdown-menu.css +227 -0
  401. package/collection/components/bh-dropdown-menu/bh-dropdown-menu.js +262 -0
  402. package/collection/components/bh-dropdown-menu/bh-dropdown-menu.js.map +1 -0
  403. package/collection/components/bh-empty-state/bh-empty-state.css +89 -0
  404. package/collection/components/bh-empty-state/bh-empty-state.js +306 -0
  405. package/collection/components/bh-empty-state/bh-empty-state.js.map +1 -0
  406. package/collection/components/bh-featured-icon/bh-featured-icon.css +198 -0
  407. package/collection/components/bh-featured-icon/bh-featured-icon.js +144 -0
  408. package/collection/components/bh-featured-icon/bh-featured-icon.js.map +1 -0
  409. package/collection/components/bh-illustrations/bh-illustrations.css +328 -0
  410. package/collection/components/bh-illustrations/bh-illustrations.js +174 -0
  411. package/collection/components/bh-illustrations/bh-illustrations.js.map +1 -0
  412. package/collection/components/bh-input-autocomplete/bh-input-autocomplete.css +301 -0
  413. package/collection/components/bh-input-autocomplete/bh-input-autocomplete.js +872 -0
  414. package/collection/components/bh-input-autocomplete/bh-input-autocomplete.js.map +1 -0
  415. package/collection/components/bh-input-number/bh-input-number.css +192 -0
  416. package/collection/components/bh-input-number/bh-input-number.js +818 -0
  417. package/collection/components/bh-input-number/bh-input-number.js.map +1 -0
  418. package/collection/components/bh-input-password/bh-input-password.css +164 -0
  419. package/collection/components/bh-input-password/bh-input-password.js +581 -0
  420. package/collection/components/bh-input-password/bh-input-password.js.map +1 -0
  421. package/collection/components/bh-input-text/bh-input-text.css +153 -0
  422. package/collection/components/bh-input-text/bh-input-text.js +696 -0
  423. package/collection/components/bh-input-text/bh-input-text.js.map +1 -0
  424. package/collection/components/bh-input-verification/bh-input-verification.css +125 -0
  425. package/collection/components/bh-input-verification/bh-input-verification.js +523 -0
  426. package/collection/components/bh-input-verification/bh-input-verification.js.map +1 -0
  427. package/collection/components/bh-label/bh-label.css +143 -0
  428. package/collection/components/bh-label/bh-label.js +302 -0
  429. package/collection/components/bh-label/bh-label.js.map +1 -0
  430. package/collection/components/bh-loader-spinner/bh-loader-spinner.css +153 -0
  431. package/collection/components/bh-loader-spinner/bh-loader-spinner.js +182 -0
  432. package/collection/components/bh-loader-spinner/bh-loader-spinner.js.map +1 -0
  433. package/collection/components/bh-logo-box/bh-logo-box.css +85 -0
  434. package/collection/components/bh-logo-box/bh-logo-box.js +184 -0
  435. package/collection/components/bh-logo-box/bh-logo-box.js.map +1 -0
  436. package/collection/components/bh-modal/bh-modal.css +87 -0
  437. package/collection/components/bh-modal/bh-modal.js +144 -0
  438. package/collection/components/bh-modal/bh-modal.js.map +1 -0
  439. package/collection/components/bh-modal-actions/bh-modal-actions.css +124 -0
  440. package/collection/components/bh-modal-actions/bh-modal-actions.js +208 -0
  441. package/collection/components/bh-modal-actions/bh-modal-actions.js.map +1 -0
  442. package/collection/components/bh-modal-header/bh-modal-header.css +106 -0
  443. package/collection/components/bh-modal-header/bh-modal-header.js +275 -0
  444. package/collection/components/bh-modal-header/bh-modal-header.js.map +1 -0
  445. package/collection/components/bh-month-picker/bh-month-picker.css +251 -0
  446. package/collection/components/bh-month-picker/bh-month-picker.js +444 -0
  447. package/collection/components/bh-month-picker/bh-month-picker.js.map +1 -0
  448. package/collection/components/bh-month-picker-content/bh-month-picker-content.css +406 -0
  449. package/collection/components/bh-month-picker-content/bh-month-picker-content.js +437 -0
  450. package/collection/components/bh-month-picker-content/bh-month-picker-content.js.map +1 -0
  451. package/collection/components/bh-notification/bh-notification.css +117 -0
  452. package/collection/components/bh-notification/bh-notification.js +324 -0
  453. package/collection/components/bh-notification/bh-notification.js.map +1 -0
  454. package/collection/components/bh-page-navigation/bh-page-navigation.css +253 -0
  455. package/collection/components/bh-page-navigation/bh-page-navigation.js +146 -0
  456. package/collection/components/bh-page-navigation/bh-page-navigation.js.map +1 -0
  457. package/collection/components/bh-page-navigation-child/bh-page-navigation-child.css +281 -0
  458. package/collection/components/bh-page-navigation-child/bh-page-navigation-child.js +148 -0
  459. package/collection/components/bh-page-navigation-child/bh-page-navigation-child.js.map +1 -0
  460. package/collection/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.css +372 -0
  461. package/collection/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.js +268 -0
  462. package/collection/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.js.map +1 -0
  463. package/collection/components/bh-page-navigation-single-level/bh-page-navigation-single-level.css +294 -0
  464. package/collection/components/bh-page-navigation-single-level/bh-page-navigation-single-level.js +126 -0
  465. package/collection/components/bh-page-navigation-single-level/bh-page-navigation-single-level.js.map +1 -0
  466. package/collection/components/bh-picker-menu/bh-picker-menu.css +284 -0
  467. package/collection/components/bh-picker-menu/bh-picker-menu.js +470 -0
  468. package/collection/components/bh-picker-menu/bh-picker-menu.js.map +1 -0
  469. package/collection/components/bh-pie-chart/bh-pie-chart.css +292 -0
  470. package/collection/components/bh-pie-chart/bh-pie-chart.js +280 -0
  471. package/collection/components/bh-pie-chart/bh-pie-chart.js.map +1 -0
  472. package/collection/components/bh-popover/bh-popover.css +310 -0
  473. package/collection/components/bh-popover/bh-popover.js +326 -0
  474. package/collection/components/bh-popover/bh-popover.js.map +1 -0
  475. package/collection/components/bh-product-switcher/bh-product-switcher.css +128 -0
  476. package/collection/components/bh-product-switcher/bh-product-switcher.js +226 -0
  477. package/collection/components/bh-product-switcher/bh-product-switcher.js.map +1 -0
  478. package/collection/components/bh-property-switcher/bh-property-switcher.css +346 -0
  479. package/collection/components/bh-property-switcher/bh-property-switcher.js +360 -0
  480. package/collection/components/bh-property-switcher/bh-property-switcher.js.map +1 -0
  481. package/collection/components/bh-radio-button/bh-radio-button.css +159 -0
  482. package/collection/components/bh-radio-button/bh-radio-button.js +292 -0
  483. package/collection/components/bh-radio-button/bh-radio-button.js.map +1 -0
  484. package/collection/components/bh-sidebar/bh-nav-item.css +114 -0
  485. package/collection/components/bh-sidebar/bh-nav-item.js +157 -0
  486. package/collection/components/bh-sidebar/bh-nav-item.js.map +1 -0
  487. package/collection/components/bh-sidebar/bh-sidebar.css +178 -0
  488. package/collection/components/bh-sidebar/bh-sidebar.js +344 -0
  489. package/collection/components/bh-sidebar/bh-sidebar.js.map +1 -0
  490. package/collection/components/bh-skeleton-loader/bh-skeleton-loader.css +50 -0
  491. package/collection/components/bh-skeleton-loader/bh-skeleton-loader.js +99 -0
  492. package/collection/components/bh-skeleton-loader/bh-skeleton-loader.js.map +1 -0
  493. package/collection/components/bh-tab-item/bh-tab-item.css +132 -0
  494. package/collection/components/bh-tab-item/bh-tab-item.js +158 -0
  495. package/collection/components/bh-tab-item/bh-tab-item.js.map +1 -0
  496. package/collection/components/bh-tabs/bh-tabs.css +71 -0
  497. package/collection/components/bh-tabs/bh-tabs.js +178 -0
  498. package/collection/components/bh-tabs/bh-tabs.js.map +1 -0
  499. package/collection/components/bh-tag/bh-tag.css +180 -0
  500. package/collection/components/bh-tag/bh-tag.js +238 -0
  501. package/collection/components/bh-tag/bh-tag.js.map +1 -0
  502. package/collection/components/bh-textarea/bh-textarea.css +115 -0
  503. package/collection/components/bh-textarea/bh-textarea.js +569 -0
  504. package/collection/components/bh-textarea/bh-textarea.js.map +1 -0
  505. package/collection/components/bh-toggle/bh-toggle.css +290 -0
  506. package/collection/components/bh-toggle/bh-toggle.js +369 -0
  507. package/collection/components/bh-toggle/bh-toggle.js.map +1 -0
  508. package/collection/components/bh-tooltip/bh-tooltip.css +88 -0
  509. package/collection/components/bh-tooltip/bh-tooltip.js +162 -0
  510. package/collection/components/bh-tooltip/bh-tooltip.js.map +1 -0
  511. package/collection/components/bh-trend-chart/bh-trend-chart.css +299 -0
  512. package/collection/components/bh-trend-chart/bh-trend-chart.js +256 -0
  513. package/collection/components/bh-trend-chart/bh-trend-chart.js.map +1 -0
  514. package/collection/index.js +22 -0
  515. package/collection/index.js.map +1 -0
  516. package/collection/utils/form.js +68 -0
  517. package/collection/utils/form.js.map +1 -0
  518. package/components/bh-accordion-item.d.ts +11 -0
  519. package/components/bh-accordion-item.js +111 -0
  520. package/components/bh-accordion-item.js.map +1 -0
  521. package/components/bh-accordion.d.ts +11 -0
  522. package/components/bh-accordion.js +147 -0
  523. package/components/bh-accordion.js.map +1 -0
  524. package/components/bh-appbar.d.ts +11 -0
  525. package/components/bh-appbar.js +128 -0
  526. package/components/bh-appbar.js.map +1 -0
  527. package/components/bh-autocomplete-menu.d.ts +11 -0
  528. package/components/bh-autocomplete-menu.js +9 -0
  529. package/components/bh-autocomplete-menu.js.map +1 -0
  530. package/components/bh-avatar-add.d.ts +11 -0
  531. package/components/bh-avatar-add.js +9 -0
  532. package/components/bh-avatar-add.js.map +1 -0
  533. package/components/bh-avatar-stacked.d.ts +11 -0
  534. package/components/bh-avatar-stacked.js +141 -0
  535. package/components/bh-avatar-stacked.js.map +1 -0
  536. package/components/bh-avatar.d.ts +11 -0
  537. package/components/bh-avatar.js +9 -0
  538. package/components/bh-avatar.js.map +1 -0
  539. package/components/bh-badge-dot.d.ts +11 -0
  540. package/components/bh-badge-dot.js +9 -0
  541. package/components/bh-badge-dot.js.map +1 -0
  542. package/components/bh-badge.d.ts +11 -0
  543. package/components/bh-badge.js +9 -0
  544. package/components/bh-badge.js.map +1 -0
  545. package/components/bh-bar-chart.d.ts +11 -0
  546. package/components/bh-bar-chart.js +205 -0
  547. package/components/bh-bar-chart.js.map +1 -0
  548. package/components/bh-breadcrumbs.d.ts +11 -0
  549. package/components/bh-breadcrumbs.js +9 -0
  550. package/components/bh-breadcrumbs.js.map +1 -0
  551. package/components/bh-button-icon.d.ts +11 -0
  552. package/components/bh-button-icon.js +9 -0
  553. package/components/bh-button-icon.js.map +1 -0
  554. package/components/bh-button.d.ts +11 -0
  555. package/components/bh-button.js +9 -0
  556. package/components/bh-button.js.map +1 -0
  557. package/components/bh-card-footer.d.ts +11 -0
  558. package/components/bh-card-footer.js +9 -0
  559. package/components/bh-card-footer.js.map +1 -0
  560. package/components/bh-card-header.d.ts +11 -0
  561. package/components/bh-card-header.js +9 -0
  562. package/components/bh-card-header.js.map +1 -0
  563. package/components/bh-card.d.ts +11 -0
  564. package/components/bh-card.js +9 -0
  565. package/components/bh-card.js.map +1 -0
  566. package/components/bh-chart-tooltip.d.ts +11 -0
  567. package/components/bh-chart-tooltip.js +9 -0
  568. package/components/bh-chart-tooltip.js.map +1 -0
  569. package/components/bh-checkbox-group-item.d.ts +11 -0
  570. package/components/bh-checkbox-group-item.js +9 -0
  571. package/components/bh-checkbox-group-item.js.map +1 -0
  572. package/components/bh-checkbox-group.d.ts +11 -0
  573. package/components/bh-checkbox-group.js +9 -0
  574. package/components/bh-checkbox-group.js.map +1 -0
  575. package/components/bh-checkbox.d.ts +11 -0
  576. package/components/bh-checkbox.js +9 -0
  577. package/components/bh-checkbox.js.map +1 -0
  578. package/components/bh-container-footer.d.ts +11 -0
  579. package/components/bh-container-footer.js +74 -0
  580. package/components/bh-container-footer.js.map +1 -0
  581. package/components/bh-container.d.ts +11 -0
  582. package/components/bh-container.js +49 -0
  583. package/components/bh-container.js.map +1 -0
  584. package/components/bh-data-grid.d.ts +11 -0
  585. package/components/bh-data-grid.js +9 -0
  586. package/components/bh-data-grid.js.map +1 -0
  587. package/components/bh-date-picker-content.d.ts +11 -0
  588. package/components/bh-date-picker-content.js +9 -0
  589. package/components/bh-date-picker-content.js.map +1 -0
  590. package/components/bh-date-picker.d.ts +11 -0
  591. package/components/bh-date-picker.js +9 -0
  592. package/components/bh-date-picker.js.map +1 -0
  593. package/components/bh-date-range-picker-content.d.ts +11 -0
  594. package/components/bh-date-range-picker-content.js +9 -0
  595. package/components/bh-date-range-picker-content.js.map +1 -0
  596. package/components/bh-date-range-picker.d.ts +11 -0
  597. package/components/bh-date-range-picker.js +269 -0
  598. package/components/bh-date-range-picker.js.map +1 -0
  599. package/components/bh-dropdown-menu.d.ts +11 -0
  600. package/components/bh-dropdown-menu.js +9 -0
  601. package/components/bh-dropdown-menu.js.map +1 -0
  602. package/components/bh-dropdown.d.ts +11 -0
  603. package/components/bh-dropdown.js +9 -0
  604. package/components/bh-dropdown.js.map +1 -0
  605. package/components/bh-empty-state.d.ts +11 -0
  606. package/components/bh-empty-state.js +9 -0
  607. package/components/bh-empty-state.js.map +1 -0
  608. package/components/bh-featured-icon.d.ts +11 -0
  609. package/components/bh-featured-icon.js +9 -0
  610. package/components/bh-featured-icon.js.map +1 -0
  611. package/components/bh-illustrations.d.ts +11 -0
  612. package/components/bh-illustrations.js +92 -0
  613. package/components/bh-illustrations.js.map +1 -0
  614. package/components/bh-input-autocomplete.d.ts +11 -0
  615. package/components/bh-input-autocomplete.js +433 -0
  616. package/components/bh-input-autocomplete.js.map +1 -0
  617. package/components/bh-input-number.d.ts +11 -0
  618. package/components/bh-input-number.js +370 -0
  619. package/components/bh-input-number.js.map +1 -0
  620. package/components/bh-input-password.d.ts +11 -0
  621. package/components/bh-input-password.js +229 -0
  622. package/components/bh-input-password.js.map +1 -0
  623. package/components/bh-input-text.d.ts +11 -0
  624. package/components/bh-input-text.js +9 -0
  625. package/components/bh-input-text.js.map +1 -0
  626. package/components/bh-input-verification.d.ts +11 -0
  627. package/components/bh-input-verification.js +255 -0
  628. package/components/bh-input-verification.js.map +1 -0
  629. package/components/bh-label.d.ts +11 -0
  630. package/components/bh-label.js +9 -0
  631. package/components/bh-label.js.map +1 -0
  632. package/components/bh-loader-spinner.d.ts +11 -0
  633. package/components/bh-loader-spinner.js +9 -0
  634. package/components/bh-loader-spinner.js.map +1 -0
  635. package/components/bh-logo-box.d.ts +11 -0
  636. package/components/bh-logo-box.js +9 -0
  637. package/components/bh-logo-box.js.map +1 -0
  638. package/components/bh-modal-actions.d.ts +11 -0
  639. package/components/bh-modal-actions.js +105 -0
  640. package/components/bh-modal-actions.js.map +1 -0
  641. package/components/bh-modal-header.d.ts +11 -0
  642. package/components/bh-modal-header.js +119 -0
  643. package/components/bh-modal-header.js.map +1 -0
  644. package/components/bh-modal.d.ts +11 -0
  645. package/components/bh-modal.js +9 -0
  646. package/components/bh-modal.js.map +1 -0
  647. package/components/bh-month-picker-content.d.ts +11 -0
  648. package/components/bh-month-picker-content.js +9 -0
  649. package/components/bh-month-picker-content.js.map +1 -0
  650. package/components/bh-month-picker.d.ts +11 -0
  651. package/components/bh-month-picker.js +233 -0
  652. package/components/bh-month-picker.js.map +1 -0
  653. package/components/bh-nav-item.d.ts +11 -0
  654. package/components/bh-nav-item.js +9 -0
  655. package/components/bh-nav-item.js.map +1 -0
  656. package/components/bh-notification.d.ts +11 -0
  657. package/components/bh-notification.js +175 -0
  658. package/components/bh-notification.js.map +1 -0
  659. package/components/bh-page-navigation-child.d.ts +11 -0
  660. package/components/bh-page-navigation-child.js +9 -0
  661. package/components/bh-page-navigation-child.js.map +1 -0
  662. package/components/bh-page-navigation-multi-level.d.ts +11 -0
  663. package/components/bh-page-navigation-multi-level.js +9 -0
  664. package/components/bh-page-navigation-multi-level.js.map +1 -0
  665. package/components/bh-page-navigation-single-level.d.ts +11 -0
  666. package/components/bh-page-navigation-single-level.js +9 -0
  667. package/components/bh-page-navigation-single-level.js.map +1 -0
  668. package/components/bh-page-navigation.d.ts +11 -0
  669. package/components/bh-page-navigation.js +129 -0
  670. package/components/bh-page-navigation.js.map +1 -0
  671. package/components/bh-picker-menu.d.ts +11 -0
  672. package/components/bh-picker-menu.js +9 -0
  673. package/components/bh-picker-menu.js.map +1 -0
  674. package/components/bh-pie-chart.d.ts +11 -0
  675. package/components/bh-pie-chart.js +194 -0
  676. package/components/bh-pie-chart.js.map +1 -0
  677. package/components/bh-popover.d.ts +11 -0
  678. package/components/bh-popover.js +131 -0
  679. package/components/bh-popover.js.map +1 -0
  680. package/components/bh-product-switcher.d.ts +11 -0
  681. package/components/bh-product-switcher.js +9 -0
  682. package/components/bh-product-switcher.js.map +1 -0
  683. package/components/bh-property-switcher.d.ts +11 -0
  684. package/components/bh-property-switcher.js +261 -0
  685. package/components/bh-property-switcher.js.map +1 -0
  686. package/components/bh-radio-button.d.ts +11 -0
  687. package/components/bh-radio-button.js +9 -0
  688. package/components/bh-radio-button.js.map +1 -0
  689. package/components/bh-sidebar.d.ts +11 -0
  690. package/components/bh-sidebar.js +195 -0
  691. package/components/bh-sidebar.js.map +1 -0
  692. package/components/bh-skeleton-loader.d.ts +11 -0
  693. package/components/bh-skeleton-loader.js +59 -0
  694. package/components/bh-skeleton-loader.js.map +1 -0
  695. package/components/bh-tab-item.d.ts +11 -0
  696. package/components/bh-tab-item.js +80 -0
  697. package/components/bh-tab-item.js.map +1 -0
  698. package/components/bh-tabs.d.ts +11 -0
  699. package/components/bh-tabs.js +78 -0
  700. package/components/bh-tabs.js.map +1 -0
  701. package/components/bh-tag.d.ts +11 -0
  702. package/components/bh-tag.js +9 -0
  703. package/components/bh-tag.js.map +1 -0
  704. package/components/bh-textarea.d.ts +11 -0
  705. package/components/bh-textarea.js +207 -0
  706. package/components/bh-textarea.js.map +1 -0
  707. package/components/bh-toggle.d.ts +11 -0
  708. package/components/bh-toggle.js +9 -0
  709. package/components/bh-toggle.js.map +1 -0
  710. package/components/bh-tooltip.d.ts +11 -0
  711. package/components/bh-tooltip.js +9 -0
  712. package/components/bh-tooltip.js.map +1 -0
  713. package/components/bh-trend-chart.d.ts +11 -0
  714. package/components/bh-trend-chart.js +149 -0
  715. package/components/bh-trend-chart.js.map +1 -0
  716. package/components/index.d.ts +33 -0
  717. package/components/index.js +16 -0
  718. package/components/index.js.map +1 -0
  719. package/components/p-2KjdCYlS.js +59 -0
  720. package/components/p-2KjdCYlS.js.map +1 -0
  721. package/components/p-54wXxbeh.js +213 -0
  722. package/components/p-54wXxbeh.js.map +1 -0
  723. package/components/p-9a7sQzad.js +1463 -0
  724. package/components/p-9a7sQzad.js.map +1 -0
  725. package/components/p-B3doeS-4.js +158 -0
  726. package/components/p-B3doeS-4.js.map +1 -0
  727. package/components/p-B4TBDBoW.js +71 -0
  728. package/components/p-B4TBDBoW.js.map +1 -0
  729. package/components/p-BBenNW93.js +184 -0
  730. package/components/p-BBenNW93.js.map +1 -0
  731. package/components/p-BLRNfy0t.js +84 -0
  732. package/components/p-BLRNfy0t.js.map +1 -0
  733. package/components/p-BYhYSIIs.js +941 -0
  734. package/components/p-BYhYSIIs.js.map +1 -0
  735. package/components/p-Bbo_Dwmk.js +70 -0
  736. package/components/p-Bbo_Dwmk.js.map +1 -0
  737. package/components/p-BdcGkck5.js +72 -0
  738. package/components/p-BdcGkck5.js.map +1 -0
  739. package/components/p-Bk8GbEQp.js +132 -0
  740. package/components/p-Bk8GbEQp.js.map +1 -0
  741. package/components/p-CDPKBnfQ.js +92 -0
  742. package/components/p-CDPKBnfQ.js.map +1 -0
  743. package/components/p-CDgBIIbC.js +224 -0
  744. package/components/p-CDgBIIbC.js.map +1 -0
  745. package/components/p-CErNA5c8.js +204 -0
  746. package/components/p-CErNA5c8.js.map +1 -0
  747. package/components/p-CQBqn1IO.js +67 -0
  748. package/components/p-CQBqn1IO.js.map +1 -0
  749. package/components/p-CTjPiCcp.js +51 -0
  750. package/components/p-CTjPiCcp.js.map +1 -0
  751. package/components/p-CciWcvHP.js +123 -0
  752. package/components/p-CciWcvHP.js.map +1 -0
  753. package/components/p-CiQqgc-m.js +434 -0
  754. package/components/p-CiQqgc-m.js.map +1 -0
  755. package/components/p-CsRNKalM.js +166 -0
  756. package/components/p-CsRNKalM.js.map +1 -0
  757. package/components/p-CuVsQ9St.js +123 -0
  758. package/components/p-CuVsQ9St.js.map +1 -0
  759. package/components/p-D3OkBDd3.js +100 -0
  760. package/components/p-D3OkBDd3.js.map +1 -0
  761. package/components/p-D6cM-mvE.js +64 -0
  762. package/components/p-D6cM-mvE.js.map +1 -0
  763. package/components/p-D6kh9oF2.js +70 -0
  764. package/components/p-D6kh9oF2.js.map +1 -0
  765. package/components/p-DHSWIF-h.js +214 -0
  766. package/components/p-DHSWIF-h.js.map +1 -0
  767. package/components/p-DNhCX5eS.js +153 -0
  768. package/components/p-DNhCX5eS.js.map +1 -0
  769. package/components/p-DRGkYX1u.js +78 -0
  770. package/components/p-DRGkYX1u.js.map +1 -0
  771. package/components/p-DRJW4zBc.js +58 -0
  772. package/components/p-DRJW4zBc.js.map +1 -0
  773. package/components/p-DTgHvmlL.js +149 -0
  774. package/components/p-DTgHvmlL.js.map +1 -0
  775. package/components/p-DVhHZCku.js +220 -0
  776. package/components/p-DVhHZCku.js.map +1 -0
  777. package/components/p-DWpdUpK5.js +264 -0
  778. package/components/p-DWpdUpK5.js.map +1 -0
  779. package/components/p-D_DKZMpk.js +78 -0
  780. package/components/p-D_DKZMpk.js.map +1 -0
  781. package/components/p-Dbl0HXBJ.js +241 -0
  782. package/components/p-Dbl0HXBJ.js.map +1 -0
  783. package/components/p-DecYIvq4.js +124 -0
  784. package/components/p-DecYIvq4.js.map +1 -0
  785. package/components/p-DfXkVfrE.js +129 -0
  786. package/components/p-DfXkVfrE.js.map +1 -0
  787. package/components/p-HEcFS8Jc.js +125 -0
  788. package/components/p-HEcFS8Jc.js.map +1 -0
  789. package/components/p-MIbEYjCv.js +142 -0
  790. package/components/p-MIbEYjCv.js.map +1 -0
  791. package/components/p-NXL0pYS_.js +97 -0
  792. package/components/p-NXL0pYS_.js.map +1 -0
  793. package/components/p-X9MH3dtg.js +154 -0
  794. package/components/p-X9MH3dtg.js.map +1 -0
  795. package/components/p-YJm8-pxX.js +118 -0
  796. package/components/p-YJm8-pxX.js.map +1 -0
  797. package/components/p-ghuDbZwh.js +148 -0
  798. package/components/p-ghuDbZwh.js.map +1 -0
  799. package/components/p-p8W0xKpn.js +106 -0
  800. package/components/p-p8W0xKpn.js.map +1 -0
  801. package/esm/bellhop-core.js +21 -0
  802. package/esm/bellhop-core.js.map +1 -0
  803. package/esm/bh-accordion-item.entry.js +80 -0
  804. package/esm/bh-accordion-item.entry.js.map +1 -0
  805. package/esm/bh-accordion.entry.js +117 -0
  806. package/esm/bh-accordion.entry.js.map +1 -0
  807. package/esm/bh-appbar.entry.js +81 -0
  808. package/esm/bh-appbar.entry.js.map +1 -0
  809. package/esm/bh-autocomplete-menu.bh-tag.entry.js.map +1 -0
  810. package/esm/bh-autocomplete-menu_2.entry.js +174 -0
  811. package/esm/bh-avatar-add.entry.js +73 -0
  812. package/esm/bh-avatar-add.entry.js.map +1 -0
  813. package/esm/bh-avatar-stacked.entry.js +92 -0
  814. package/esm/bh-avatar-stacked.entry.js.map +1 -0
  815. package/esm/bh-avatar.entry.js +91 -0
  816. package/esm/bh-avatar.entry.js.map +1 -0
  817. package/esm/bh-badge-dot.bh-breadcrumbs.entry.js.map +1 -0
  818. package/esm/bh-badge-dot_2.entry.js +131 -0
  819. package/esm/bh-badge.entry.js +69 -0
  820. package/esm/bh-badge.entry.js.map +1 -0
  821. package/esm/bh-bar-chart.entry.js +162 -0
  822. package/esm/bh-bar-chart.entry.js.map +1 -0
  823. package/esm/bh-button-CBZGiLVh.js +115 -0
  824. package/esm/bh-button-CBZGiLVh.js.map +1 -0
  825. package/esm/bh-button-icon.entry.js +72 -0
  826. package/esm/bh-button-icon.entry.js.map +1 -0
  827. package/esm/bh-button.bh-loader-spinner.entry.js.map +1 -0
  828. package/esm/bh-button_2.entry.js +44 -0
  829. package/esm/bh-card-footer.entry.js +28 -0
  830. package/esm/bh-card-footer.entry.js.map +1 -0
  831. package/esm/bh-card-header.entry.js +72 -0
  832. package/esm/bh-card-header.entry.js.map +1 -0
  833. package/esm/bh-card.entry.js +46 -0
  834. package/esm/bh-card.entry.js.map +1 -0
  835. package/esm/bh-chart-tooltip.entry.js +55 -0
  836. package/esm/bh-chart-tooltip.entry.js.map +1 -0
  837. package/esm/bh-checkbox-group-item.entry.js +140 -0
  838. package/esm/bh-checkbox-group-item.entry.js.map +1 -0
  839. package/esm/bh-checkbox-group.entry.js +98 -0
  840. package/esm/bh-checkbox-group.entry.js.map +1 -0
  841. package/esm/bh-checkbox.entry.js +142 -0
  842. package/esm/bh-checkbox.entry.js.map +1 -0
  843. package/esm/bh-container-footer.entry.js +36 -0
  844. package/esm/bh-container-footer.entry.js.map +1 -0
  845. package/esm/bh-container.entry.js +24 -0
  846. package/esm/bh-container.entry.js.map +1 -0
  847. package/esm/bh-data-grid.entry.js +810 -0
  848. package/esm/bh-data-grid.entry.js.map +1 -0
  849. package/esm/bh-date-picker-content.bh-picker-menu.entry.js.map +1 -0
  850. package/esm/bh-date-picker-content_2.entry.js +522 -0
  851. package/esm/bh-date-picker.bh-empty-state.entry.js.map +1 -0
  852. package/esm/bh-date-picker_2.entry.js +249 -0
  853. package/esm/bh-date-range-picker-content.entry.js +149 -0
  854. package/esm/bh-date-range-picker-content.entry.js.map +1 -0
  855. package/esm/bh-date-range-picker.entry.js +165 -0
  856. package/esm/bh-date-range-picker.entry.js.map +1 -0
  857. package/esm/bh-dropdown-menu.entry.js +112 -0
  858. package/esm/bh-dropdown-menu.entry.js.map +1 -0
  859. package/esm/bh-dropdown.bh-logo-box.bh-nav-item.entry.js.map +1 -0
  860. package/esm/bh-dropdown_3.entry.js +303 -0
  861. package/esm/bh-featured-icon.entry.js +39 -0
  862. package/esm/bh-featured-icon.entry.js.map +1 -0
  863. package/esm/bh-illustrations.entry.js +63 -0
  864. package/esm/bh-illustrations.entry.js.map +1 -0
  865. package/esm/bh-input-autocomplete.entry.js +340 -0
  866. package/esm/bh-input-autocomplete.entry.js.map +1 -0
  867. package/esm/bh-input-number.entry.js +305 -0
  868. package/esm/bh-input-number.entry.js.map +1 -0
  869. package/esm/bh-input-password.entry.js +180 -0
  870. package/esm/bh-input-password.entry.js.map +1 -0
  871. package/esm/bh-input-text.entry.js +190 -0
  872. package/esm/bh-input-text.entry.js.map +1 -0
  873. package/esm/bh-input-verification.entry.js +201 -0
  874. package/esm/bh-input-verification.entry.js.map +1 -0
  875. package/esm/bh-label-DqsVrCg_.js +108 -0
  876. package/esm/bh-label-DqsVrCg_.js.map +1 -0
  877. package/esm/bh-label.bh-tooltip.entry.js.map +1 -0
  878. package/esm/bh-label_2.entry.js +45 -0
  879. package/esm/bh-modal-actions.entry.js +64 -0
  880. package/esm/bh-modal-actions.entry.js.map +1 -0
  881. package/esm/bh-modal-header.entry.js +74 -0
  882. package/esm/bh-modal-header.entry.js.map +1 -0
  883. package/esm/bh-modal.entry.js +54 -0
  884. package/esm/bh-modal.entry.js.map +1 -0
  885. package/esm/bh-month-picker-content.entry.js +187 -0
  886. package/esm/bh-month-picker-content.entry.js.map +1 -0
  887. package/esm/bh-month-picker.entry.js +150 -0
  888. package/esm/bh-month-picker.entry.js.map +1 -0
  889. package/esm/bh-notification.entry.js +126 -0
  890. package/esm/bh-notification.entry.js.map +1 -0
  891. package/esm/bh-page-navigation-child.entry.js +46 -0
  892. package/esm/bh-page-navigation-child.entry.js.map +1 -0
  893. package/esm/bh-page-navigation-multi-level.bh-page-navigation-single-level.entry.js.map +1 -0
  894. package/esm/bh-page-navigation-multi-level_2.entry.js +143 -0
  895. package/esm/bh-page-navigation.entry.js +70 -0
  896. package/esm/bh-page-navigation.entry.js.map +1 -0
  897. package/esm/bh-pie-chart.entry.js +155 -0
  898. package/esm/bh-pie-chart.entry.js.map +1 -0
  899. package/esm/bh-popover.entry.js +98 -0
  900. package/esm/bh-popover.entry.js.map +1 -0
  901. package/esm/bh-product-switcher.entry.js +100 -0
  902. package/esm/bh-product-switcher.entry.js.map +1 -0
  903. package/esm/bh-property-switcher.entry.js +229 -0
  904. package/esm/bh-property-switcher.entry.js.map +1 -0
  905. package/esm/bh-radio-button.entry.js +122 -0
  906. package/esm/bh-radio-button.entry.js.map +1 -0
  907. package/esm/bh-sidebar.entry.js +108 -0
  908. package/esm/bh-sidebar.entry.js.map +1 -0
  909. package/esm/bh-skeleton-loader.entry.js +32 -0
  910. package/esm/bh-skeleton-loader.entry.js.map +1 -0
  911. package/esm/bh-tab-item.entry.js +52 -0
  912. package/esm/bh-tab-item.entry.js.map +1 -0
  913. package/esm/bh-tabs.entry.js +50 -0
  914. package/esm/bh-tabs.entry.js.map +1 -0
  915. package/esm/bh-textarea.entry.js +159 -0
  916. package/esm/bh-textarea.entry.js.map +1 -0
  917. package/esm/bh-toggle.entry.js +139 -0
  918. package/esm/bh-toggle.entry.js.map +1 -0
  919. package/esm/bh-trend-chart.entry.js +119 -0
  920. package/esm/bh-trend-chart.entry.js.map +1 -0
  921. package/esm/form-CPgx0iFq.js +59 -0
  922. package/esm/form-CPgx0iFq.js.map +1 -0
  923. package/esm/index-DtVghh5W.js +1922 -0
  924. package/esm/index-DtVghh5W.js.map +1 -0
  925. package/esm/index.js +15 -0
  926. package/esm/index.js.map +1 -0
  927. package/esm/loader.js +11 -0
  928. package/esm/loader.js.map +1 -0
  929. package/index.cjs.js +1 -0
  930. package/index.js +1 -0
  931. package/loader/cdn.js +1 -0
  932. package/loader/index.cjs.js +1 -0
  933. package/loader/index.d.ts +24 -0
  934. package/loader/index.es2017.js +1 -0
  935. package/loader/index.js +2 -0
  936. package/package.json +32 -0
  937. package/types/components/bh-accordion/bh-accordion.d.ts +42 -0
  938. package/types/components/bh-accordion-item/bh-accordion-item.d.ts +41 -0
  939. package/types/components/bh-appbar/bh-appbar.d.ts +54 -0
  940. package/types/components/bh-autocomplete-menu/bh-autocomplete-menu.d.ts +54 -0
  941. package/types/components/bh-avatar/bh-avatar.d.ts +43 -0
  942. package/types/components/bh-avatar-add/bh-avatar-add.d.ts +35 -0
  943. package/types/components/bh-avatar-stacked/bh-avatar-stacked.d.ts +42 -0
  944. package/types/components/bh-badge/bh-badge.d.ts +40 -0
  945. package/types/components/bh-badge-dot/bh-badge-dot.d.ts +17 -0
  946. package/types/components/bh-bar-chart/bh-bar-chart.d.ts +50 -0
  947. package/types/components/bh-breadcrumbs/bh-breadcrumbs.d.ts +40 -0
  948. package/types/components/bh-button/bh-button.d.ts +57 -0
  949. package/types/components/bh-button-icon/bh-button-icon.d.ts +44 -0
  950. package/types/components/bh-card/bh-card.d.ts +23 -0
  951. package/types/components/bh-card-footer/bh-card-footer.d.ts +12 -0
  952. package/types/components/bh-card-header/bh-card-header.d.ts +59 -0
  953. package/types/components/bh-chart-tooltip/bh-chart-tooltip.d.ts +40 -0
  954. package/types/components/bh-checkbox/bh-checkbox.d.ts +45 -0
  955. package/types/components/bh-checkbox-group/bh-checkbox-group.d.ts +34 -0
  956. package/types/components/bh-checkbox-group-item/bh-checkbox-group-item.d.ts +67 -0
  957. package/types/components/bh-container/bh-container.d.ts +7 -0
  958. package/types/components/bh-container-footer/bh-container-footer.d.ts +18 -0
  959. package/types/components/bh-data-grid/bh-data-grid.d.ts +235 -0
  960. package/types/components/bh-date-picker/bh-date-picker.d.ts +78 -0
  961. package/types/components/bh-date-picker-content/bh-date-picker-content.d.ts +112 -0
  962. package/types/components/bh-date-range-picker/bh-date-range-picker.d.ts +85 -0
  963. package/types/components/bh-date-range-picker-content/bh-date-range-picker-content.d.ts +55 -0
  964. package/types/components/bh-dropdown/bh-dropdown.d.ts +78 -0
  965. package/types/components/bh-dropdown-menu/bh-dropdown-menu.d.ts +51 -0
  966. package/types/components/bh-empty-state/bh-empty-state.d.ts +52 -0
  967. package/types/components/bh-featured-icon/bh-featured-icon.d.ts +22 -0
  968. package/types/components/bh-illustrations/bh-illustrations.d.ts +25 -0
  969. package/types/components/bh-input-autocomplete/bh-input-autocomplete.d.ts +130 -0
  970. package/types/components/bh-input-number/bh-input-number.d.ts +137 -0
  971. package/types/components/bh-input-password/bh-input-password.d.ts +111 -0
  972. package/types/components/bh-input-text/bh-input-text.d.ts +126 -0
  973. package/types/components/bh-input-verification/bh-input-verification.d.ts +79 -0
  974. package/types/components/bh-label/bh-label.d.ts +54 -0
  975. package/types/components/bh-loader-spinner/bh-loader-spinner.d.ts +19 -0
  976. package/types/components/bh-logo-box/bh-logo-box.d.ts +28 -0
  977. package/types/components/bh-modal/bh-modal.d.ts +23 -0
  978. package/types/components/bh-modal-actions/bh-modal-actions.d.ts +38 -0
  979. package/types/components/bh-modal-header/bh-modal-header.d.ts +45 -0
  980. package/types/components/bh-month-picker/bh-month-picker.d.ts +73 -0
  981. package/types/components/bh-month-picker-content/bh-month-picker-content.d.ts +77 -0
  982. package/types/components/bh-notification/bh-notification.d.ts +51 -0
  983. package/types/components/bh-page-navigation/bh-page-navigation.d.ts +45 -0
  984. package/types/components/bh-page-navigation-child/bh-page-navigation-child.d.ts +26 -0
  985. package/types/components/bh-page-navigation-multi-level/bh-page-navigation-multi-level.d.ts +60 -0
  986. package/types/components/bh-page-navigation-single-level/bh-page-navigation-single-level.d.ts +22 -0
  987. package/types/components/bh-picker-menu/bh-picker-menu.d.ts +76 -0
  988. package/types/components/bh-pie-chart/bh-pie-chart.d.ts +50 -0
  989. package/types/components/bh-popover/bh-popover.d.ts +60 -0
  990. package/types/components/bh-product-switcher/bh-product-switcher.d.ts +40 -0
  991. package/types/components/bh-property-switcher/bh-property-switcher.d.ts +63 -0
  992. package/types/components/bh-radio-button/bh-radio-button.d.ts +56 -0
  993. package/types/components/bh-sidebar/bh-nav-item.d.ts +26 -0
  994. package/types/components/bh-sidebar/bh-sidebar.d.ts +70 -0
  995. package/types/components/bh-skeleton-loader/bh-skeleton-loader.d.ts +15 -0
  996. package/types/components/bh-tab-item/bh-tab-item.d.ts +29 -0
  997. package/types/components/bh-tabs/bh-tabs.d.ts +30 -0
  998. package/types/components/bh-tag/bh-tag.d.ts +25 -0
  999. package/types/components/bh-textarea/bh-textarea.d.ts +101 -0
  1000. package/types/components/bh-toggle/bh-toggle.d.ts +66 -0
  1001. package/types/components/bh-tooltip/bh-tooltip.d.ts +25 -0
  1002. package/types/components/bh-trend-chart/bh-trend-chart.d.ts +34 -0
  1003. package/types/components.d.ts +7199 -0
  1004. package/types/index.d.ts +12 -0
  1005. package/types/stencil-public-runtime.d.ts +1756 -0
  1006. package/types/utils/form.d.ts +39 -0
@@ -0,0 +1,1488 @@
1
+ import { h } from "@stencil/core";
2
+ // ============================================================================
3
+ // Component
4
+ // ============================================================================
5
+ export class BhDataGrid {
6
+ el;
7
+ // -------------------------------------------------------------------------
8
+ // Props - Data
9
+ // -------------------------------------------------------------------------
10
+ /** Array of data objects to display */
11
+ data = [];
12
+ /** Column definitions */
13
+ columns = [];
14
+ /** Unique identifier property for each row (for selection tracking) */
15
+ rowKey = 'id';
16
+ // -------------------------------------------------------------------------
17
+ // Props - Selection
18
+ // -------------------------------------------------------------------------
19
+ /** Enable row selection */
20
+ enableSelection = false;
21
+ /** Selection mode */
22
+ selectionMode = 'multiple';
23
+ /** Currently selected row keys (controlled) */
24
+ selectedKeys = [];
25
+ // -------------------------------------------------------------------------
26
+ // Props - Sorting
27
+ // -------------------------------------------------------------------------
28
+ /** Enable sorting */
29
+ enableSorting = true;
30
+ /** Allow multi-column sorting */
31
+ multiSort = false;
32
+ /** Current sort state (controlled) */
33
+ sortState = [];
34
+ // -------------------------------------------------------------------------
35
+ // Props - Filtering
36
+ // -------------------------------------------------------------------------
37
+ /** Enable filtering */
38
+ enableFiltering = false;
39
+ /** Show filter row below header */
40
+ showFilterRow = false;
41
+ /** Current filter state (controlled) */
42
+ filterState = [];
43
+ // -------------------------------------------------------------------------
44
+ // Props - Grouping
45
+ // -------------------------------------------------------------------------
46
+ /** Enable row grouping */
47
+ enableGrouping = false;
48
+ /** Columns to group by */
49
+ groupBy = [];
50
+ // -------------------------------------------------------------------------
51
+ // Props - Editing
52
+ // -------------------------------------------------------------------------
53
+ /** Enable editing */
54
+ enableEditing = false;
55
+ /** Edit mode: cell (individual cells), row (entire row), popup (modal form) */
56
+ editMode = 'cell';
57
+ /** Whether to show edit/save/cancel buttons in row actions */
58
+ showEditActions = true;
59
+ // -------------------------------------------------------------------------
60
+ // Props - Display
61
+ // -------------------------------------------------------------------------
62
+ /** Show header row */
63
+ showHeader = true;
64
+ /** Show row borders */
65
+ showRowBorders = true;
66
+ /** Striped rows */
67
+ striped = false;
68
+ /** Compact row height */
69
+ compact = false;
70
+ /** Empty state message */
71
+ emptyMessage = 'No data available';
72
+ /** Loading state */
73
+ loading = false;
74
+ // -------------------------------------------------------------------------
75
+ // State
76
+ // -------------------------------------------------------------------------
77
+ internalSelectedKeys = new Set();
78
+ internalSortState = [];
79
+ internalFilterState = [];
80
+ expandedGroups = [];
81
+ hoveredRowIndex = null;
82
+ filterInputValues = {};
83
+ // Editing state
84
+ editingRowKey = null;
85
+ editingColumnId = null;
86
+ editingValues = {};
87
+ showEditPopup = false;
88
+ // Filter popover state
89
+ activeFilterColumn = null;
90
+ // -------------------------------------------------------------------------
91
+ // Events
92
+ // -------------------------------------------------------------------------
93
+ /** Emitted when row selection changes */
94
+ bhSelectionChange;
95
+ /** Emitted when sort state changes */
96
+ bhSortChange;
97
+ /** Emitted when filter state changes */
98
+ bhFilterChange;
99
+ /** Emitted when a row is clicked */
100
+ bhRowClick;
101
+ /** Emitted when a cell is clicked */
102
+ bhCellClick;
103
+ /** Emitted when group expand/collapse changes */
104
+ bhGroupToggle;
105
+ /** Emitted when editing starts */
106
+ bhEditStart;
107
+ /** Emitted when editing is cancelled */
108
+ bhEditCancel;
109
+ /** Emitted when changes are saved */
110
+ bhEditSave;
111
+ /** Emitted when a cell value changes during editing (before save) */
112
+ bhCellChange;
113
+ // -------------------------------------------------------------------------
114
+ // Watchers
115
+ // -------------------------------------------------------------------------
116
+ handleSelectedKeysChange(newValue) {
117
+ this.internalSelectedKeys = new Set(newValue);
118
+ }
119
+ handleSortStateChange(newValue) {
120
+ this.internalSortState = [...newValue];
121
+ }
122
+ handleFilterStateChange(newValue) {
123
+ this.internalFilterState = [...newValue];
124
+ }
125
+ // -------------------------------------------------------------------------
126
+ // Lifecycle
127
+ // -------------------------------------------------------------------------
128
+ componentWillLoad() {
129
+ this.internalSelectedKeys = new Set(this.selectedKeys);
130
+ this.internalSortState = [...this.sortState];
131
+ this.internalFilterState = [...this.filterState];
132
+ }
133
+ // -------------------------------------------------------------------------
134
+ // Helpers
135
+ // -------------------------------------------------------------------------
136
+ getRowKey(row, index) {
137
+ if (typeof row === 'object' && row !== null && this.rowKey in row) {
138
+ return row[this.rowKey];
139
+ }
140
+ return index;
141
+ }
142
+ getCellValue(row, accessor) {
143
+ if (typeof row !== 'object' || row === null)
144
+ return undefined;
145
+ // Support dot notation for nested properties
146
+ const keys = accessor.split('.');
147
+ let value = row;
148
+ for (const key of keys) {
149
+ if (typeof value === 'object' && value !== null && key in value) {
150
+ value = value[key];
151
+ }
152
+ else {
153
+ return undefined;
154
+ }
155
+ }
156
+ return value;
157
+ }
158
+ getVisibleColumns() {
159
+ return this.columns.filter(col => col.visible !== false);
160
+ }
161
+ // -------------------------------------------------------------------------
162
+ // Data Processing
163
+ // -------------------------------------------------------------------------
164
+ getProcessedData() {
165
+ let processedData = [...this.data];
166
+ // Apply filtering
167
+ if (this.enableFiltering && this.internalFilterState.length > 0) {
168
+ processedData = this.applyFilters(processedData);
169
+ }
170
+ // Apply sorting
171
+ if (this.enableSorting && this.internalSortState.length > 0) {
172
+ processedData = this.applySorting(processedData);
173
+ }
174
+ return processedData;
175
+ }
176
+ applyFilters(data) {
177
+ return data.filter(row => {
178
+ return this.internalFilterState.every(filter => {
179
+ const column = this.columns.find(c => c.id === filter.columnId);
180
+ if (!column)
181
+ return true;
182
+ const value = this.getCellValue(row, column.accessor);
183
+ return this.matchesFilter(value, filter, column.type);
184
+ });
185
+ });
186
+ }
187
+ matchesFilter(value, filter, type) {
188
+ if (filter.operator === 'isEmpty') {
189
+ return value === null || value === undefined || value === '';
190
+ }
191
+ if (filter.operator === 'isNotEmpty') {
192
+ return value !== null && value !== undefined && value !== '';
193
+ }
194
+ const filterValue = filter.value;
195
+ if (type === 'number') {
196
+ const numValue = Number(value);
197
+ const numFilter = Number(filterValue);
198
+ switch (filter.operator) {
199
+ case 'equals': return numValue === numFilter;
200
+ case 'greaterThan': return numValue > numFilter;
201
+ case 'lessThan': return numValue < numFilter;
202
+ case 'greaterThanOrEqual': return numValue >= numFilter;
203
+ case 'lessThanOrEqual': return numValue <= numFilter;
204
+ case 'between': return numValue >= numFilter && numValue <= Number(filter.valueTo);
205
+ default: return true;
206
+ }
207
+ }
208
+ if (type === 'date') {
209
+ const dateValue = new Date(value).getTime();
210
+ const dateFilter = new Date(filterValue).getTime();
211
+ switch (filter.operator) {
212
+ case 'equals': return dateValue === dateFilter;
213
+ case 'greaterThan': return dateValue > dateFilter;
214
+ case 'lessThan': return dateValue < dateFilter;
215
+ case 'between': {
216
+ const dateTo = new Date(filter.valueTo).getTime();
217
+ return dateValue >= dateFilter && dateValue <= dateTo;
218
+ }
219
+ default: return true;
220
+ }
221
+ }
222
+ // Text filtering
223
+ const strValue = String(value ?? '').toLowerCase();
224
+ const strFilter = String(filterValue ?? '').toLowerCase();
225
+ switch (filter.operator) {
226
+ case 'contains': return strValue.includes(strFilter);
227
+ case 'equals': return strValue === strFilter;
228
+ case 'startsWith': return strValue.startsWith(strFilter);
229
+ case 'endsWith': return strValue.endsWith(strFilter);
230
+ default: return true;
231
+ }
232
+ }
233
+ applySorting(data) {
234
+ if (this.internalSortState.length === 0)
235
+ return data;
236
+ return [...data].sort((a, b) => {
237
+ for (const sort of this.internalSortState) {
238
+ const column = this.columns.find(c => c.id === sort.columnId);
239
+ if (!column || !sort.direction)
240
+ continue;
241
+ const aValue = this.getCellValue(a, column.accessor);
242
+ const bValue = this.getCellValue(b, column.accessor);
243
+ let comparison = 0;
244
+ if (column.type === 'number') {
245
+ comparison = (Number(aValue) || 0) - (Number(bValue) || 0);
246
+ }
247
+ else if (column.type === 'date') {
248
+ comparison = new Date(aValue).getTime() - new Date(bValue).getTime();
249
+ }
250
+ else {
251
+ comparison = String(aValue ?? '').localeCompare(String(bValue ?? ''));
252
+ }
253
+ if (comparison !== 0) {
254
+ return sort.direction === 'desc' ? -comparison : comparison;
255
+ }
256
+ }
257
+ return 0;
258
+ });
259
+ }
260
+ // -------------------------------------------------------------------------
261
+ // Grouping Logic
262
+ // -------------------------------------------------------------------------
263
+ getGroupedData(data) {
264
+ if (!this.enableGrouping || this.groupBy.length === 0) {
265
+ return [];
266
+ }
267
+ return this.groupByColumn(data, this.groupBy[0], 0);
268
+ }
269
+ groupByColumn(data, columnId, depth) {
270
+ const column = this.columns.find(c => c.id === columnId);
271
+ if (!column)
272
+ return [];
273
+ const groups = new Map();
274
+ for (const row of data) {
275
+ const value = this.getCellValue(row, column.accessor);
276
+ const key = String(value ?? '(Empty)');
277
+ if (!groups.has(key)) {
278
+ groups.set(key, []);
279
+ }
280
+ groups.get(key).push(row);
281
+ }
282
+ const result = [];
283
+ for (const [key, rows] of groups) {
284
+ const groupKey = `${columnId}:${key}`;
285
+ result.push({
286
+ key: groupKey,
287
+ value: key,
288
+ displayValue: key,
289
+ rows,
290
+ depth,
291
+ columnId,
292
+ });
293
+ }
294
+ // Sort groups alphabetically
295
+ result.sort((a, b) => String(a.displayValue).localeCompare(String(b.displayValue)));
296
+ return result;
297
+ }
298
+ handleGroupToggle = (groupKey) => {
299
+ const isCurrentlyExpanded = this.expandedGroups.includes(groupKey);
300
+ if (isCurrentlyExpanded) {
301
+ this.expandedGroups = this.expandedGroups.filter(key => key !== groupKey);
302
+ }
303
+ else {
304
+ this.expandedGroups = [...this.expandedGroups, groupKey];
305
+ }
306
+ this.bhGroupToggle.emit({ groupKey, expanded: !isCurrentlyExpanded });
307
+ };
308
+ // -------------------------------------------------------------------------
309
+ // Selection Handlers
310
+ // -------------------------------------------------------------------------
311
+ handleSelectAll = () => {
312
+ const processedData = this.getProcessedData();
313
+ const allKeys = processedData.map((row, i) => this.getRowKey(row, i));
314
+ const isAllSelected = allKeys.every(key => this.internalSelectedKeys.has(key));
315
+ if (isAllSelected) {
316
+ this.internalSelectedKeys = new Set();
317
+ }
318
+ else {
319
+ this.internalSelectedKeys = new Set(allKeys);
320
+ }
321
+ this.emitSelectionChange();
322
+ };
323
+ handleRowSelect = (row, rowIndex) => {
324
+ const key = this.getRowKey(row, rowIndex);
325
+ if (this.selectionMode === 'single') {
326
+ if (this.internalSelectedKeys.has(key)) {
327
+ this.internalSelectedKeys = new Set();
328
+ }
329
+ else {
330
+ this.internalSelectedKeys = new Set([key]);
331
+ }
332
+ }
333
+ else {
334
+ const newSet = new Set(this.internalSelectedKeys);
335
+ if (newSet.has(key)) {
336
+ newSet.delete(key);
337
+ }
338
+ else {
339
+ newSet.add(key);
340
+ }
341
+ this.internalSelectedKeys = newSet;
342
+ }
343
+ this.emitSelectionChange();
344
+ };
345
+ emitSelectionChange() {
346
+ const selectedKeys = Array.from(this.internalSelectedKeys);
347
+ const selectedRows = this.data.filter((row, i) => this.internalSelectedKeys.has(this.getRowKey(row, i)));
348
+ this.selectedKeys = selectedKeys;
349
+ this.bhSelectionChange.emit({ selectedKeys, selectedRows });
350
+ }
351
+ getSelectionState() {
352
+ const processedData = this.getProcessedData();
353
+ const allKeys = processedData.map((row, i) => this.getRowKey(row, i));
354
+ const selectedCount = allKeys.filter(key => this.internalSelectedKeys.has(key)).length;
355
+ return {
356
+ selectedRows: this.internalSelectedKeys,
357
+ isAllSelected: selectedCount === allKeys.length && allKeys.length > 0,
358
+ isIndeterminate: selectedCount > 0 && selectedCount < allKeys.length,
359
+ };
360
+ }
361
+ // -------------------------------------------------------------------------
362
+ // Sort Handlers
363
+ // -------------------------------------------------------------------------
364
+ handleSort = (column) => {
365
+ if (!this.enableSorting || column.sortable === false)
366
+ return;
367
+ const existingSort = this.internalSortState.find(s => s.columnId === column.id);
368
+ let newDirection = 'asc';
369
+ if (existingSort) {
370
+ if (existingSort.direction === 'asc') {
371
+ newDirection = 'desc';
372
+ }
373
+ else if (existingSort.direction === 'desc') {
374
+ newDirection = null;
375
+ }
376
+ }
377
+ let newSortState;
378
+ if (this.multiSort) {
379
+ newSortState = this.internalSortState.filter(s => s.columnId !== column.id);
380
+ if (newDirection) {
381
+ newSortState.push({ columnId: column.id, direction: newDirection });
382
+ }
383
+ }
384
+ else {
385
+ newSortState = newDirection ? [{ columnId: column.id, direction: newDirection }] : [];
386
+ }
387
+ this.internalSortState = newSortState;
388
+ this.sortState = newSortState;
389
+ this.bhSortChange.emit(newSortState);
390
+ };
391
+ getSortDirection(columnId) {
392
+ const sort = this.internalSortState.find(s => s.columnId === columnId);
393
+ return sort?.direction ?? null;
394
+ }
395
+ // -------------------------------------------------------------------------
396
+ // Filter Handlers
397
+ // -------------------------------------------------------------------------
398
+ handleFilterInput = (column, value) => {
399
+ this.filterInputValues = { ...this.filterInputValues, [column.id]: value };
400
+ // Debounced filter application
401
+ const newFilterState = this.internalFilterState.filter(f => f.columnId !== column.id);
402
+ if (value.trim()) {
403
+ newFilterState.push({
404
+ columnId: column.id,
405
+ operator: column.type === 'number' ? 'equals' : column.type === 'date' ? 'equals' : 'contains',
406
+ value: value.trim(),
407
+ });
408
+ }
409
+ this.internalFilterState = newFilterState;
410
+ this.filterState = newFilterState;
411
+ this.bhFilterChange.emit(newFilterState);
412
+ };
413
+ toggleFilterPopover = (columnId) => {
414
+ if (this.activeFilterColumn === columnId) {
415
+ this.activeFilterColumn = null;
416
+ }
417
+ else {
418
+ this.activeFilterColumn = columnId;
419
+ }
420
+ };
421
+ // -------------------------------------------------------------------------
422
+ // Row/Cell Handlers
423
+ // -------------------------------------------------------------------------
424
+ handleRowClick = (row, rowIndex) => {
425
+ const rowKey = this.getRowKey(row, rowIndex);
426
+ this.bhRowClick.emit({ row, rowIndex, rowKey });
427
+ };
428
+ handleCellClick = (row, column, rowIndex, columnIndex) => {
429
+ const value = this.getCellValue(row, column.accessor);
430
+ this.bhCellClick.emit({ row, column, value, rowIndex, columnIndex });
431
+ };
432
+ // -------------------------------------------------------------------------
433
+ // Render Methods
434
+ // -------------------------------------------------------------------------
435
+ renderHeader() {
436
+ if (!this.showHeader)
437
+ return null;
438
+ const visibleColumns = this.getVisibleColumns();
439
+ const selectionState = this.getSelectionState();
440
+ return (h("div", { class: "data-grid-header-row", role: "row" }, this.enableSelection && (h("div", { class: "data-grid-header-cell data-grid-cell-checkbox", role: "columnheader" }, h("bh-checkbox", { size: "sm", checked: selectionState.isAllSelected, indeterminate: selectionState.isIndeterminate, onBhChange: () => this.handleSelectAll() }))), visibleColumns.map((column) => this.renderHeaderCell(column))));
441
+ }
442
+ renderHeaderCell(column) {
443
+ const sortDirection = this.getSortDirection(column.id);
444
+ const isSortable = this.enableSorting && column.sortable !== false;
445
+ const cellClasses = {
446
+ 'data-grid-header-cell': true,
447
+ 'data-grid-header-cell-sortable': isSortable,
448
+ 'data-grid-header-cell-sorted': sortDirection !== null,
449
+ [`data-grid-cell-align-${column.align || 'left'}`]: true,
450
+ };
451
+ const cellStyle = column.width
452
+ ? { width: typeof column.width === 'number' ? `${column.width}px` : column.width }
453
+ : {};
454
+ return (h("div", { class: cellClasses, style: cellStyle, role: "columnheader", "aria-sort": sortDirection === 'asc' ? 'ascending' : sortDirection === 'desc' ? 'descending' : 'none', onClick: () => isSortable && this.handleSort(column) }, h("span", { class: "data-grid-header-text" }, column.headerRenderer ? column.headerRenderer(column) : column.header), isSortable && sortDirection && (h("span", { class: "data-grid-sort-icon material-symbols-outlined" }, sortDirection === 'asc' ? 'arrow_upward' : 'arrow_downward'))));
455
+ }
456
+ renderFilterRow() {
457
+ if (!this.enableFiltering || !this.showFilterRow)
458
+ return null;
459
+ const visibleColumns = this.getVisibleColumns();
460
+ return (h("div", { class: "data-grid-filter-row", role: "row" }, this.enableSelection && (h("div", { class: "data-grid-filter-cell data-grid-cell-checkbox", role: "cell" })), visibleColumns.map((column) => this.renderFilterCell(column))));
461
+ }
462
+ renderFilterCell(column) {
463
+ if (column.filterable === false) {
464
+ return h("div", { class: "data-grid-filter-cell", role: "cell" });
465
+ }
466
+ const cellStyle = column.width
467
+ ? { width: typeof column.width === 'number' ? `${column.width}px` : column.width }
468
+ : {};
469
+ const inputValue = this.filterInputValues[column.id] || '';
470
+ const hasFilter = inputValue.trim() !== '';
471
+ // For date columns, use date picker
472
+ if (column.type === 'date') {
473
+ return (h("div", { class: "data-grid-filter-cell", style: cellStyle, role: "cell" }, h("div", { class: { 'data-grid-filter-icon-wrapper': true, 'data-grid-filter-active': hasFilter } }, h("bh-date-picker", { variant: "dropdown-ghost", placeholder: "", showLabel: false, showFooter: false, onBhChange: (e) => {
474
+ const date = e.detail;
475
+ if (date) {
476
+ const dateStr = `${date.year}-${String(date.month + 1).padStart(2, '0')}-${String(date.day).padStart(2, '0')}`;
477
+ this.handleFilterInput(column, dateStr);
478
+ }
479
+ else {
480
+ this.handleFilterInput(column, '');
481
+ }
482
+ } }))));
483
+ }
484
+ // For text/number columns, use search icon with popover input
485
+ return (h("div", { class: "data-grid-filter-cell", style: cellStyle, role: "cell" }, h("div", { class: { 'data-grid-filter-icon-wrapper': true, 'data-grid-filter-active': hasFilter } }, h("span", { class: "data-grid-filter-icon material-symbols-outlined", onClick: () => this.toggleFilterPopover(column.id) }, "search"), this.activeFilterColumn === column.id && (h("div", { class: "data-grid-filter-popover" }, h("input", { type: column.type === 'number' ? 'number' : 'text', class: "data-grid-filter-popover-input", placeholder: `Filter ${column.header}...`, value: inputValue, onInput: (e) => this.handleFilterInput(column, e.target.value), onKeyDown: (e) => {
486
+ if (e.key === 'Enter' || e.key === 'Escape') {
487
+ this.activeFilterColumn = null;
488
+ }
489
+ }, ref: (el) => el && requestAnimationFrame(() => el.focus()) }))))));
490
+ }
491
+ renderBody() {
492
+ const processedData = this.getProcessedData();
493
+ const visibleColumns = this.getVisibleColumns();
494
+ if (processedData.length === 0) {
495
+ return this.renderEmptyState();
496
+ }
497
+ // Check if grouping is enabled
498
+ if (this.enableGrouping && this.groupBy.length > 0) {
499
+ const groups = this.getGroupedData(processedData);
500
+ // Use expandedGroups directly in map for proper Stencil reactivity
501
+ const expandedKeys = this.expandedGroups;
502
+ return (h("div", { class: "data-grid-body", role: "rowgroup" }, groups.map((group) => {
503
+ const isExpanded = expandedKeys.includes(group.key);
504
+ return this.renderGroupSectionWithState(group, visibleColumns, isExpanded);
505
+ })));
506
+ }
507
+ return (h("div", { class: "data-grid-body", role: "rowgroup" }, processedData.map((row, rowIndex) => this.renderRow(row, rowIndex, visibleColumns))));
508
+ }
509
+ renderGroupSectionWithState(group, visibleColumns, isExpanded) {
510
+ const column = this.columns.find(c => c.id === group.columnId);
511
+ const columnHeader = column?.header || group.columnId;
512
+ const sectionClasses = {
513
+ 'data-grid-group-section': true,
514
+ 'data-grid-group-section-expanded': isExpanded,
515
+ };
516
+ return (h("div", { class: sectionClasses, key: group.key }, this.renderGroupRow(group, columnHeader, isExpanded), h("div", { class: "data-grid-group-rows", style: { display: isExpanded ? 'contents' : 'none' } }, group.rows.map((row, rowIndex) => {
517
+ const rowKey = this.getRowKey(row, rowIndex);
518
+ return (h("div", { key: `${group.key}-row-${rowKey}` }, this.renderRow(row, rowIndex, visibleColumns, group.depth + 1)));
519
+ }))));
520
+ }
521
+ renderGroupRow(group, columnHeader, isExpanded) {
522
+ const groupClasses = {
523
+ 'data-grid-group-row': true,
524
+ 'data-grid-group-row-expanded': isExpanded,
525
+ };
526
+ const indentStyle = group.depth > 0 ? { paddingLeft: `${(group.depth * 24) + 8}px` } : {};
527
+ return (h("div", { class: groupClasses, style: indentStyle, role: "row", "aria-expanded": isExpanded ? 'true' : 'false', onClick: () => this.handleGroupToggle(group.key) }, this.enableSelection && (h("div", { class: "data-grid-cell data-grid-cell-checkbox", role: "cell" }, h("bh-checkbox", { size: "sm", checked: this.isGroupAllSelected(group), indeterminate: this.isGroupIndeterminate(group), onBhChange: (e) => {
528
+ e.stopPropagation();
529
+ this.handleGroupSelect(group);
530
+ }, onClick: (e) => e.stopPropagation() }))), h("div", { class: "data-grid-group-toggle" }, h("span", { class: "material-symbols-outlined" }, "chevron_right")), h("span", { class: "data-grid-group-label" }, h("span", { class: "data-grid-group-column-name" }, columnHeader, ": "), h("span", { class: "data-grid-group-value" }, group.displayValue)), h("span", { class: "data-grid-group-count" }, "(", group.rows.length, " ", group.rows.length === 1 ? 'item' : 'items', ")")));
531
+ }
532
+ isGroupAllSelected(group) {
533
+ if (group.rows.length === 0)
534
+ return false;
535
+ return group.rows.every((row, i) => this.internalSelectedKeys.has(this.getRowKey(row, i)));
536
+ }
537
+ isGroupIndeterminate(group) {
538
+ const selectedCount = group.rows.filter((row, i) => this.internalSelectedKeys.has(this.getRowKey(row, i))).length;
539
+ return selectedCount > 0 && selectedCount < group.rows.length;
540
+ }
541
+ handleGroupSelect = (group) => {
542
+ const groupKeys = group.rows.map((row, i) => this.getRowKey(row, i));
543
+ const isAllSelected = this.isGroupAllSelected(group);
544
+ const newSet = new Set(this.internalSelectedKeys);
545
+ if (isAllSelected) {
546
+ // Deselect all in group
547
+ for (const key of groupKeys) {
548
+ newSet.delete(key);
549
+ }
550
+ }
551
+ else {
552
+ // Select all in group
553
+ for (const key of groupKeys) {
554
+ newSet.add(key);
555
+ }
556
+ }
557
+ this.internalSelectedKeys = newSet;
558
+ this.emitSelectionChange();
559
+ };
560
+ // -------------------------------------------------------------------------
561
+ // Editing Handlers
562
+ // -------------------------------------------------------------------------
563
+ startEditing = (row, rowIndex, columnId) => {
564
+ if (!this.enableEditing)
565
+ return;
566
+ const rowKey = this.getRowKey(row, rowIndex);
567
+ // Initialize editing values from current row
568
+ const initialValues = {};
569
+ for (const col of this.columns) {
570
+ if (col.editable !== false) {
571
+ initialValues[col.id] = this.getCellValue(row, col.accessor);
572
+ }
573
+ }
574
+ this.editingRowKey = rowKey;
575
+ this.editingColumnId = this.editMode === 'cell' ? (columnId || null) : null;
576
+ this.editingValues = initialValues;
577
+ if (this.editMode === 'popup') {
578
+ this.showEditPopup = true;
579
+ }
580
+ this.bhEditStart.emit({ rowKey, row, columnId });
581
+ };
582
+ cancelEditing = () => {
583
+ if (this.editingRowKey === null)
584
+ return;
585
+ const row = this.data.find((r, i) => this.getRowKey(r, i) === this.editingRowKey);
586
+ this.bhEditCancel.emit({ rowKey: this.editingRowKey, row });
587
+ this.editingRowKey = null;
588
+ this.editingColumnId = null;
589
+ this.editingValues = {};
590
+ this.showEditPopup = false;
591
+ };
592
+ saveEditing = () => {
593
+ if (this.editingRowKey === null)
594
+ return;
595
+ const rowIndex = this.data.findIndex((r, i) => this.getRowKey(r, i) === this.editingRowKey);
596
+ if (rowIndex === -1)
597
+ return;
598
+ const originalRow = this.data[rowIndex];
599
+ const changes = {};
600
+ // Determine what changed
601
+ for (const [columnId, newValue] of Object.entries(this.editingValues)) {
602
+ const column = this.columns.find(c => c.id === columnId);
603
+ if (column) {
604
+ const originalValue = this.getCellValue(originalRow, column.accessor);
605
+ if (originalValue !== newValue) {
606
+ changes[columnId] = newValue;
607
+ }
608
+ }
609
+ }
610
+ this.bhEditSave.emit({
611
+ rowKey: this.editingRowKey,
612
+ rowIndex,
613
+ originalRow,
614
+ changes,
615
+ });
616
+ this.editingRowKey = null;
617
+ this.editingColumnId = null;
618
+ this.editingValues = {};
619
+ this.showEditPopup = false;
620
+ };
621
+ handleEditValueChange = (columnId, newValue) => {
622
+ const oldValue = this.editingValues[columnId];
623
+ this.editingValues = {
624
+ ...this.editingValues,
625
+ [columnId]: newValue,
626
+ };
627
+ if (this.editingRowKey !== null) {
628
+ this.bhCellChange.emit({
629
+ rowKey: this.editingRowKey,
630
+ columnId,
631
+ oldValue,
632
+ newValue,
633
+ });
634
+ }
635
+ };
636
+ isEditing(rowKey, columnId) {
637
+ if (this.editingRowKey !== rowKey)
638
+ return false;
639
+ if (this.editMode === 'cell') {
640
+ return columnId ? this.editingColumnId === columnId : false;
641
+ }
642
+ // Row or popup mode - entire row is in edit mode
643
+ return true;
644
+ }
645
+ handleCellDoubleClick = (row, column, rowIndex) => {
646
+ if (!this.enableEditing || column.editable === false)
647
+ return;
648
+ if (this.editMode === 'cell') {
649
+ this.startEditing(row, rowIndex, column.id);
650
+ }
651
+ };
652
+ handleEditKeyDown = (event, column) => {
653
+ if (event.key === 'Enter') {
654
+ event.preventDefault();
655
+ if (this.editMode === 'cell') {
656
+ this.saveEditing();
657
+ }
658
+ }
659
+ else if (event.key === 'Escape') {
660
+ event.preventDefault();
661
+ this.cancelEditing();
662
+ }
663
+ else if (event.key === 'Tab' && this.editMode === 'cell') {
664
+ // Move to next editable cell
665
+ event.preventDefault();
666
+ this.moveToNextEditableCell(column, event.shiftKey);
667
+ }
668
+ };
669
+ moveToNextEditableCell = (currentColumn, reverse) => {
670
+ const editableColumns = this.columns.filter(c => c.editable !== false && c.visible !== false);
671
+ const currentIndex = editableColumns.findIndex(c => c.id === currentColumn.id);
672
+ if (currentIndex === -1)
673
+ return;
674
+ const nextIndex = reverse ? currentIndex - 1 : currentIndex + 1;
675
+ if (nextIndex >= 0 && nextIndex < editableColumns.length) {
676
+ // Same row, different column
677
+ this.editingColumnId = editableColumns[nextIndex].id;
678
+ }
679
+ else {
680
+ // Save and potentially move to next/prev row
681
+ this.saveEditing();
682
+ }
683
+ };
684
+ // -------------------------------------------------------------------------
685
+ // Render Methods
686
+ // -------------------------------------------------------------------------
687
+ renderRow(row, rowIndex, visibleColumns, depth = 0) {
688
+ const rowKey = this.getRowKey(row, rowIndex);
689
+ const isSelected = this.internalSelectedKeys.has(rowKey);
690
+ const isHovered = this.hoveredRowIndex === rowIndex;
691
+ const isRowEditing = this.editingRowKey === rowKey;
692
+ const rowClasses = {
693
+ 'data-grid-row': true,
694
+ 'data-grid-row-selected': isSelected,
695
+ 'data-grid-row-hover': isHovered,
696
+ 'data-grid-row-striped': this.striped && rowIndex % 2 === 1,
697
+ 'data-grid-row-grouped': depth > 0,
698
+ 'data-grid-row-editing': isRowEditing,
699
+ };
700
+ return (h("div", { class: rowClasses, role: "row", "aria-selected": isSelected ? 'true' : 'false', onMouseEnter: () => { this.hoveredRowIndex = rowIndex; }, onMouseLeave: () => { this.hoveredRowIndex = null; }, onClick: () => this.handleRowClick(row, rowIndex) }, this.enableSelection && (h("div", { class: "data-grid-cell data-grid-cell-checkbox", role: "cell", onClick: (e) => { e.stopPropagation(); } }, h("bh-checkbox", { size: "sm", checked: isSelected, onBhChange: () => this.handleRowSelect(row, rowIndex), onClick: (e) => e.stopPropagation() }))), depth > 0 && (h("div", { class: "data-grid-row-indent", style: { width: `${depth * 24}px` } })), visibleColumns.map((column, columnIndex) => this.renderCell(row, column, rowIndex, columnIndex)), this.enableEditing && this.showEditActions && this.renderRowActions(row, rowIndex, isRowEditing)));
701
+ }
702
+ renderRowActions(row, rowIndex, isEditing) {
703
+ return (h("div", { class: "data-grid-cell data-grid-cell-actions", role: "cell", onClick: (e) => e.stopPropagation() }, isEditing ? (h("div", { class: "data-grid-edit-actions" }, h("button", { class: "data-grid-action-btn data-grid-action-save", onClick: () => this.saveEditing(), title: "Save" }, h("span", { class: "material-symbols-outlined" }, "check")), h("button", { class: "data-grid-action-btn data-grid-action-cancel", onClick: () => this.cancelEditing(), title: "Cancel" }, h("span", { class: "material-symbols-outlined" }, "close")))) : (h("button", { class: "data-grid-action-btn data-grid-action-edit", onClick: () => this.startEditing(row, rowIndex), title: "Edit" }, h("span", { class: "material-symbols-outlined" }, "edit")))));
704
+ }
705
+ renderCell(row, column, rowIndex, columnIndex) {
706
+ const rowKey = this.getRowKey(row, rowIndex);
707
+ const value = this.getCellValue(row, column.accessor);
708
+ const isEditingCell = this.isEditing(rowKey, column.id);
709
+ const canEdit = this.enableEditing && column.editable !== false;
710
+ const cellClasses = {
711
+ 'data-grid-cell': true,
712
+ [`data-grid-cell-align-${column.align || 'left'}`]: true,
713
+ [`data-grid-cell-type-${column.type || 'text'}`]: true,
714
+ 'data-grid-cell-editing': isEditingCell,
715
+ 'data-grid-cell-editable': canEdit && !isEditingCell,
716
+ };
717
+ const cellStyle = column.width
718
+ ? { width: typeof column.width === 'number' ? `${column.width}px` : column.width }
719
+ : {};
720
+ return (h("div", { class: cellClasses, style: cellStyle, role: "cell", onClick: (e) => {
721
+ e.stopPropagation();
722
+ this.handleCellClick(row, column, rowIndex, columnIndex);
723
+ }, onDblClick: (e) => {
724
+ e.stopPropagation();
725
+ this.handleCellDoubleClick(row, column, rowIndex);
726
+ } }, isEditingCell
727
+ ? this.renderEditInput(column, value)
728
+ : column.cellRenderer
729
+ ? column.cellRenderer(value, row, rowIndex)
730
+ : this.formatCellValue(value, column.type)));
731
+ }
732
+ renderEditInput(column, originalValue) {
733
+ const currentValue = this.editingValues[column.id] ?? originalValue;
734
+ // Custom edit renderer takes precedence
735
+ if (column.editCellRenderer) {
736
+ return column.editCellRenderer(currentValue, {}, // row not needed for most custom renderers
737
+ 0, (newValue) => this.handleEditValueChange(column.id, newValue));
738
+ }
739
+ const inputType = column.type === 'number' ? 'number' :
740
+ column.type === 'date' ? 'date' :
741
+ column.type === 'boolean' ? 'checkbox' : 'text';
742
+ if (column.type === 'boolean') {
743
+ return (h("bh-checkbox", { size: "sm", checked: Boolean(currentValue), onBhChange: (e) => this.handleEditValueChange(column.id, e.detail.checked) }));
744
+ }
745
+ return (h("input", { type: inputType, class: "data-grid-edit-input", value: currentValue != null ? String(currentValue) : '', onInput: (e) => {
746
+ const input = e.target;
747
+ const newValue = column.type === 'number' ? Number(input.value) : input.value;
748
+ this.handleEditValueChange(column.id, newValue);
749
+ }, onKeyDown: (e) => this.handleEditKeyDown(e, column), ref: (el) => {
750
+ if (el) {
751
+ // Auto-focus on the first editable input
752
+ requestAnimationFrame(() => el.focus());
753
+ }
754
+ } }));
755
+ }
756
+ formatCellValue(value, type) {
757
+ if (value === null || value === undefined)
758
+ return '';
759
+ switch (type) {
760
+ case 'date':
761
+ return new Date(value).toLocaleDateString();
762
+ case 'number':
763
+ return typeof value === 'number' ? value.toLocaleString() : String(value);
764
+ case 'boolean':
765
+ return value ? 'Yes' : 'No';
766
+ default:
767
+ return String(value);
768
+ }
769
+ }
770
+ renderEmptyState() {
771
+ return (h("div", { class: "data-grid-empty-state" }, h("bh-empty-state", { emptyTitle: "No data", description: this.emptyMessage })));
772
+ }
773
+ renderLoading() {
774
+ return (h("div", { class: "data-grid-loading-overlay" }, h("bh-loader-spinner", { size: "lg" })));
775
+ }
776
+ // -------------------------------------------------------------------------
777
+ // Main Render
778
+ // -------------------------------------------------------------------------
779
+ render() {
780
+ const gridClasses = {
781
+ 'data-grid': true,
782
+ 'data-grid-compact': this.compact,
783
+ 'data-grid-bordered': this.showRowBorders,
784
+ 'data-grid-loading': this.loading,
785
+ };
786
+ return (h("div", { key: '84558de55b37276d9a68eaa64072dbf738782c36', class: gridClasses, role: "grid", "aria-busy": this.loading ? 'true' : 'false' }, h("div", { key: 'a94fd614b010dec14fb2ecf40c26c7056fd0421c', class: "data-grid-table" }, this.renderHeader(), this.renderFilterRow(), this.renderBody()), this.loading && this.renderLoading()));
787
+ }
788
+ static get is() { return "bh-data-grid"; }
789
+ static get encapsulation() { return "shadow"; }
790
+ static get originalStyleUrls() {
791
+ return {
792
+ "$": ["bh-data-grid.css"]
793
+ };
794
+ }
795
+ static get styleUrls() {
796
+ return {
797
+ "$": ["bh-data-grid.css"]
798
+ };
799
+ }
800
+ static get properties() {
801
+ return {
802
+ "data": {
803
+ "type": "unknown",
804
+ "mutable": false,
805
+ "complexType": {
806
+ "original": "unknown[]",
807
+ "resolved": "unknown[]",
808
+ "references": {}
809
+ },
810
+ "required": false,
811
+ "optional": false,
812
+ "docs": {
813
+ "tags": [],
814
+ "text": "Array of data objects to display"
815
+ },
816
+ "getter": false,
817
+ "setter": false,
818
+ "defaultValue": "[]"
819
+ },
820
+ "columns": {
821
+ "type": "unknown",
822
+ "mutable": false,
823
+ "complexType": {
824
+ "original": "DataGridColumn[]",
825
+ "resolved": "DataGridColumn<unknown>[]",
826
+ "references": {
827
+ "DataGridColumn": {
828
+ "location": "local",
829
+ "path": "/home/runner/work/bellhopos/bellhopos/packages/bellhop-core/src/components/bh-data-grid/bh-data-grid.tsx",
830
+ "id": "src/components/bh-data-grid/bh-data-grid.tsx::DataGridColumn"
831
+ }
832
+ }
833
+ },
834
+ "required": false,
835
+ "optional": false,
836
+ "docs": {
837
+ "tags": [],
838
+ "text": "Column definitions"
839
+ },
840
+ "getter": false,
841
+ "setter": false,
842
+ "defaultValue": "[]"
843
+ },
844
+ "rowKey": {
845
+ "type": "string",
846
+ "mutable": false,
847
+ "complexType": {
848
+ "original": "string",
849
+ "resolved": "string",
850
+ "references": {}
851
+ },
852
+ "required": false,
853
+ "optional": false,
854
+ "docs": {
855
+ "tags": [],
856
+ "text": "Unique identifier property for each row (for selection tracking)"
857
+ },
858
+ "getter": false,
859
+ "setter": false,
860
+ "reflect": false,
861
+ "attribute": "row-key",
862
+ "defaultValue": "'id'"
863
+ },
864
+ "enableSelection": {
865
+ "type": "boolean",
866
+ "mutable": false,
867
+ "complexType": {
868
+ "original": "boolean",
869
+ "resolved": "boolean",
870
+ "references": {}
871
+ },
872
+ "required": false,
873
+ "optional": false,
874
+ "docs": {
875
+ "tags": [],
876
+ "text": "Enable row selection"
877
+ },
878
+ "getter": false,
879
+ "setter": false,
880
+ "reflect": false,
881
+ "attribute": "enable-selection",
882
+ "defaultValue": "false"
883
+ },
884
+ "selectionMode": {
885
+ "type": "string",
886
+ "mutable": false,
887
+ "complexType": {
888
+ "original": "DataGridSelectionMode",
889
+ "resolved": "\"multiple\" | \"none\" | \"single\"",
890
+ "references": {
891
+ "DataGridSelectionMode": {
892
+ "location": "local",
893
+ "path": "/home/runner/work/bellhopos/bellhopos/packages/bellhop-core/src/components/bh-data-grid/bh-data-grid.tsx",
894
+ "id": "src/components/bh-data-grid/bh-data-grid.tsx::DataGridSelectionMode"
895
+ }
896
+ }
897
+ },
898
+ "required": false,
899
+ "optional": false,
900
+ "docs": {
901
+ "tags": [],
902
+ "text": "Selection mode"
903
+ },
904
+ "getter": false,
905
+ "setter": false,
906
+ "reflect": false,
907
+ "attribute": "selection-mode",
908
+ "defaultValue": "'multiple'"
909
+ },
910
+ "selectedKeys": {
911
+ "type": "unknown",
912
+ "mutable": true,
913
+ "complexType": {
914
+ "original": "(string | number)[]",
915
+ "resolved": "(string | number)[]",
916
+ "references": {}
917
+ },
918
+ "required": false,
919
+ "optional": false,
920
+ "docs": {
921
+ "tags": [],
922
+ "text": "Currently selected row keys (controlled)"
923
+ },
924
+ "getter": false,
925
+ "setter": false,
926
+ "defaultValue": "[]"
927
+ },
928
+ "enableSorting": {
929
+ "type": "boolean",
930
+ "mutable": false,
931
+ "complexType": {
932
+ "original": "boolean",
933
+ "resolved": "boolean",
934
+ "references": {}
935
+ },
936
+ "required": false,
937
+ "optional": false,
938
+ "docs": {
939
+ "tags": [],
940
+ "text": "Enable sorting"
941
+ },
942
+ "getter": false,
943
+ "setter": false,
944
+ "reflect": false,
945
+ "attribute": "enable-sorting",
946
+ "defaultValue": "true"
947
+ },
948
+ "multiSort": {
949
+ "type": "boolean",
950
+ "mutable": false,
951
+ "complexType": {
952
+ "original": "boolean",
953
+ "resolved": "boolean",
954
+ "references": {}
955
+ },
956
+ "required": false,
957
+ "optional": false,
958
+ "docs": {
959
+ "tags": [],
960
+ "text": "Allow multi-column sorting"
961
+ },
962
+ "getter": false,
963
+ "setter": false,
964
+ "reflect": false,
965
+ "attribute": "multi-sort",
966
+ "defaultValue": "false"
967
+ },
968
+ "sortState": {
969
+ "type": "unknown",
970
+ "mutable": true,
971
+ "complexType": {
972
+ "original": "DataGridSortState[]",
973
+ "resolved": "DataGridSortState[]",
974
+ "references": {
975
+ "DataGridSortState": {
976
+ "location": "local",
977
+ "path": "/home/runner/work/bellhopos/bellhopos/packages/bellhop-core/src/components/bh-data-grid/bh-data-grid.tsx",
978
+ "id": "src/components/bh-data-grid/bh-data-grid.tsx::DataGridSortState"
979
+ }
980
+ }
981
+ },
982
+ "required": false,
983
+ "optional": false,
984
+ "docs": {
985
+ "tags": [],
986
+ "text": "Current sort state (controlled)"
987
+ },
988
+ "getter": false,
989
+ "setter": false,
990
+ "defaultValue": "[]"
991
+ },
992
+ "enableFiltering": {
993
+ "type": "boolean",
994
+ "mutable": false,
995
+ "complexType": {
996
+ "original": "boolean",
997
+ "resolved": "boolean",
998
+ "references": {}
999
+ },
1000
+ "required": false,
1001
+ "optional": false,
1002
+ "docs": {
1003
+ "tags": [],
1004
+ "text": "Enable filtering"
1005
+ },
1006
+ "getter": false,
1007
+ "setter": false,
1008
+ "reflect": false,
1009
+ "attribute": "enable-filtering",
1010
+ "defaultValue": "false"
1011
+ },
1012
+ "showFilterRow": {
1013
+ "type": "boolean",
1014
+ "mutable": false,
1015
+ "complexType": {
1016
+ "original": "boolean",
1017
+ "resolved": "boolean",
1018
+ "references": {}
1019
+ },
1020
+ "required": false,
1021
+ "optional": false,
1022
+ "docs": {
1023
+ "tags": [],
1024
+ "text": "Show filter row below header"
1025
+ },
1026
+ "getter": false,
1027
+ "setter": false,
1028
+ "reflect": false,
1029
+ "attribute": "show-filter-row",
1030
+ "defaultValue": "false"
1031
+ },
1032
+ "filterState": {
1033
+ "type": "unknown",
1034
+ "mutable": true,
1035
+ "complexType": {
1036
+ "original": "DataGridFilterState[]",
1037
+ "resolved": "DataGridFilterState[]",
1038
+ "references": {
1039
+ "DataGridFilterState": {
1040
+ "location": "local",
1041
+ "path": "/home/runner/work/bellhopos/bellhopos/packages/bellhop-core/src/components/bh-data-grid/bh-data-grid.tsx",
1042
+ "id": "src/components/bh-data-grid/bh-data-grid.tsx::DataGridFilterState"
1043
+ }
1044
+ }
1045
+ },
1046
+ "required": false,
1047
+ "optional": false,
1048
+ "docs": {
1049
+ "tags": [],
1050
+ "text": "Current filter state (controlled)"
1051
+ },
1052
+ "getter": false,
1053
+ "setter": false,
1054
+ "defaultValue": "[]"
1055
+ },
1056
+ "enableGrouping": {
1057
+ "type": "boolean",
1058
+ "mutable": false,
1059
+ "complexType": {
1060
+ "original": "boolean",
1061
+ "resolved": "boolean",
1062
+ "references": {}
1063
+ },
1064
+ "required": false,
1065
+ "optional": false,
1066
+ "docs": {
1067
+ "tags": [],
1068
+ "text": "Enable row grouping"
1069
+ },
1070
+ "getter": false,
1071
+ "setter": false,
1072
+ "reflect": false,
1073
+ "attribute": "enable-grouping",
1074
+ "defaultValue": "false"
1075
+ },
1076
+ "groupBy": {
1077
+ "type": "unknown",
1078
+ "mutable": false,
1079
+ "complexType": {
1080
+ "original": "string[]",
1081
+ "resolved": "string[]",
1082
+ "references": {}
1083
+ },
1084
+ "required": false,
1085
+ "optional": false,
1086
+ "docs": {
1087
+ "tags": [],
1088
+ "text": "Columns to group by"
1089
+ },
1090
+ "getter": false,
1091
+ "setter": false,
1092
+ "defaultValue": "[]"
1093
+ },
1094
+ "enableEditing": {
1095
+ "type": "boolean",
1096
+ "mutable": false,
1097
+ "complexType": {
1098
+ "original": "boolean",
1099
+ "resolved": "boolean",
1100
+ "references": {}
1101
+ },
1102
+ "required": false,
1103
+ "optional": false,
1104
+ "docs": {
1105
+ "tags": [],
1106
+ "text": "Enable editing"
1107
+ },
1108
+ "getter": false,
1109
+ "setter": false,
1110
+ "reflect": false,
1111
+ "attribute": "enable-editing",
1112
+ "defaultValue": "false"
1113
+ },
1114
+ "editMode": {
1115
+ "type": "string",
1116
+ "mutable": false,
1117
+ "complexType": {
1118
+ "original": "DataGridEditMode",
1119
+ "resolved": "\"cell\" | \"none\" | \"popup\" | \"row\"",
1120
+ "references": {
1121
+ "DataGridEditMode": {
1122
+ "location": "local",
1123
+ "path": "/home/runner/work/bellhopos/bellhopos/packages/bellhop-core/src/components/bh-data-grid/bh-data-grid.tsx",
1124
+ "id": "src/components/bh-data-grid/bh-data-grid.tsx::DataGridEditMode"
1125
+ }
1126
+ }
1127
+ },
1128
+ "required": false,
1129
+ "optional": false,
1130
+ "docs": {
1131
+ "tags": [],
1132
+ "text": "Edit mode: cell (individual cells), row (entire row), popup (modal form)"
1133
+ },
1134
+ "getter": false,
1135
+ "setter": false,
1136
+ "reflect": false,
1137
+ "attribute": "edit-mode",
1138
+ "defaultValue": "'cell'"
1139
+ },
1140
+ "showEditActions": {
1141
+ "type": "boolean",
1142
+ "mutable": false,
1143
+ "complexType": {
1144
+ "original": "boolean",
1145
+ "resolved": "boolean",
1146
+ "references": {}
1147
+ },
1148
+ "required": false,
1149
+ "optional": false,
1150
+ "docs": {
1151
+ "tags": [],
1152
+ "text": "Whether to show edit/save/cancel buttons in row actions"
1153
+ },
1154
+ "getter": false,
1155
+ "setter": false,
1156
+ "reflect": false,
1157
+ "attribute": "show-edit-actions",
1158
+ "defaultValue": "true"
1159
+ },
1160
+ "showHeader": {
1161
+ "type": "boolean",
1162
+ "mutable": false,
1163
+ "complexType": {
1164
+ "original": "boolean",
1165
+ "resolved": "boolean",
1166
+ "references": {}
1167
+ },
1168
+ "required": false,
1169
+ "optional": false,
1170
+ "docs": {
1171
+ "tags": [],
1172
+ "text": "Show header row"
1173
+ },
1174
+ "getter": false,
1175
+ "setter": false,
1176
+ "reflect": false,
1177
+ "attribute": "show-header",
1178
+ "defaultValue": "true"
1179
+ },
1180
+ "showRowBorders": {
1181
+ "type": "boolean",
1182
+ "mutable": false,
1183
+ "complexType": {
1184
+ "original": "boolean",
1185
+ "resolved": "boolean",
1186
+ "references": {}
1187
+ },
1188
+ "required": false,
1189
+ "optional": false,
1190
+ "docs": {
1191
+ "tags": [],
1192
+ "text": "Show row borders"
1193
+ },
1194
+ "getter": false,
1195
+ "setter": false,
1196
+ "reflect": false,
1197
+ "attribute": "show-row-borders",
1198
+ "defaultValue": "true"
1199
+ },
1200
+ "striped": {
1201
+ "type": "boolean",
1202
+ "mutable": false,
1203
+ "complexType": {
1204
+ "original": "boolean",
1205
+ "resolved": "boolean",
1206
+ "references": {}
1207
+ },
1208
+ "required": false,
1209
+ "optional": false,
1210
+ "docs": {
1211
+ "tags": [],
1212
+ "text": "Striped rows"
1213
+ },
1214
+ "getter": false,
1215
+ "setter": false,
1216
+ "reflect": false,
1217
+ "attribute": "striped",
1218
+ "defaultValue": "false"
1219
+ },
1220
+ "compact": {
1221
+ "type": "boolean",
1222
+ "mutable": false,
1223
+ "complexType": {
1224
+ "original": "boolean",
1225
+ "resolved": "boolean",
1226
+ "references": {}
1227
+ },
1228
+ "required": false,
1229
+ "optional": false,
1230
+ "docs": {
1231
+ "tags": [],
1232
+ "text": "Compact row height"
1233
+ },
1234
+ "getter": false,
1235
+ "setter": false,
1236
+ "reflect": false,
1237
+ "attribute": "compact",
1238
+ "defaultValue": "false"
1239
+ },
1240
+ "emptyMessage": {
1241
+ "type": "string",
1242
+ "mutable": false,
1243
+ "complexType": {
1244
+ "original": "string",
1245
+ "resolved": "string",
1246
+ "references": {}
1247
+ },
1248
+ "required": false,
1249
+ "optional": false,
1250
+ "docs": {
1251
+ "tags": [],
1252
+ "text": "Empty state message"
1253
+ },
1254
+ "getter": false,
1255
+ "setter": false,
1256
+ "reflect": false,
1257
+ "attribute": "empty-message",
1258
+ "defaultValue": "'No data available'"
1259
+ },
1260
+ "loading": {
1261
+ "type": "boolean",
1262
+ "mutable": false,
1263
+ "complexType": {
1264
+ "original": "boolean",
1265
+ "resolved": "boolean",
1266
+ "references": {}
1267
+ },
1268
+ "required": false,
1269
+ "optional": false,
1270
+ "docs": {
1271
+ "tags": [],
1272
+ "text": "Loading state"
1273
+ },
1274
+ "getter": false,
1275
+ "setter": false,
1276
+ "reflect": false,
1277
+ "attribute": "loading",
1278
+ "defaultValue": "false"
1279
+ }
1280
+ };
1281
+ }
1282
+ static get states() {
1283
+ return {
1284
+ "internalSelectedKeys": {},
1285
+ "internalSortState": {},
1286
+ "internalFilterState": {},
1287
+ "expandedGroups": {},
1288
+ "hoveredRowIndex": {},
1289
+ "filterInputValues": {},
1290
+ "editingRowKey": {},
1291
+ "editingColumnId": {},
1292
+ "editingValues": {},
1293
+ "showEditPopup": {},
1294
+ "activeFilterColumn": {}
1295
+ };
1296
+ }
1297
+ static get events() {
1298
+ return [{
1299
+ "method": "bhSelectionChange",
1300
+ "name": "bhSelectionChange",
1301
+ "bubbles": true,
1302
+ "cancelable": true,
1303
+ "composed": true,
1304
+ "docs": {
1305
+ "tags": [],
1306
+ "text": "Emitted when row selection changes"
1307
+ },
1308
+ "complexType": {
1309
+ "original": "{ selectedKeys: (string | number)[]; selectedRows: unknown[] }",
1310
+ "resolved": "{ selectedKeys: (string | number)[]; selectedRows: unknown[]; }",
1311
+ "references": {}
1312
+ }
1313
+ }, {
1314
+ "method": "bhSortChange",
1315
+ "name": "bhSortChange",
1316
+ "bubbles": true,
1317
+ "cancelable": true,
1318
+ "composed": true,
1319
+ "docs": {
1320
+ "tags": [],
1321
+ "text": "Emitted when sort state changes"
1322
+ },
1323
+ "complexType": {
1324
+ "original": "DataGridSortState[]",
1325
+ "resolved": "DataGridSortState[]",
1326
+ "references": {
1327
+ "DataGridSortState": {
1328
+ "location": "local",
1329
+ "path": "/home/runner/work/bellhopos/bellhopos/packages/bellhop-core/src/components/bh-data-grid/bh-data-grid.tsx",
1330
+ "id": "src/components/bh-data-grid/bh-data-grid.tsx::DataGridSortState"
1331
+ }
1332
+ }
1333
+ }
1334
+ }, {
1335
+ "method": "bhFilterChange",
1336
+ "name": "bhFilterChange",
1337
+ "bubbles": true,
1338
+ "cancelable": true,
1339
+ "composed": true,
1340
+ "docs": {
1341
+ "tags": [],
1342
+ "text": "Emitted when filter state changes"
1343
+ },
1344
+ "complexType": {
1345
+ "original": "DataGridFilterState[]",
1346
+ "resolved": "DataGridFilterState[]",
1347
+ "references": {
1348
+ "DataGridFilterState": {
1349
+ "location": "local",
1350
+ "path": "/home/runner/work/bellhopos/bellhopos/packages/bellhop-core/src/components/bh-data-grid/bh-data-grid.tsx",
1351
+ "id": "src/components/bh-data-grid/bh-data-grid.tsx::DataGridFilterState"
1352
+ }
1353
+ }
1354
+ }
1355
+ }, {
1356
+ "method": "bhRowClick",
1357
+ "name": "bhRowClick",
1358
+ "bubbles": true,
1359
+ "cancelable": true,
1360
+ "composed": true,
1361
+ "docs": {
1362
+ "tags": [],
1363
+ "text": "Emitted when a row is clicked"
1364
+ },
1365
+ "complexType": {
1366
+ "original": "{ row: unknown; rowIndex: number; rowKey: string | number }",
1367
+ "resolved": "{ row: unknown; rowIndex: number; rowKey: string | number; }",
1368
+ "references": {}
1369
+ }
1370
+ }, {
1371
+ "method": "bhCellClick",
1372
+ "name": "bhCellClick",
1373
+ "bubbles": true,
1374
+ "cancelable": true,
1375
+ "composed": true,
1376
+ "docs": {
1377
+ "tags": [],
1378
+ "text": "Emitted when a cell is clicked"
1379
+ },
1380
+ "complexType": {
1381
+ "original": "{ row: unknown; column: DataGridColumn; value: unknown; rowIndex: number; columnIndex: number }",
1382
+ "resolved": "{ row: unknown; column: DataGridColumn<unknown>; value: unknown; rowIndex: number; columnIndex: number; }",
1383
+ "references": {
1384
+ "DataGridColumn": {
1385
+ "location": "local",
1386
+ "path": "/home/runner/work/bellhopos/bellhopos/packages/bellhop-core/src/components/bh-data-grid/bh-data-grid.tsx",
1387
+ "id": "src/components/bh-data-grid/bh-data-grid.tsx::DataGridColumn"
1388
+ }
1389
+ }
1390
+ }
1391
+ }, {
1392
+ "method": "bhGroupToggle",
1393
+ "name": "bhGroupToggle",
1394
+ "bubbles": true,
1395
+ "cancelable": true,
1396
+ "composed": true,
1397
+ "docs": {
1398
+ "tags": [],
1399
+ "text": "Emitted when group expand/collapse changes"
1400
+ },
1401
+ "complexType": {
1402
+ "original": "{ groupKey: string; expanded: boolean }",
1403
+ "resolved": "{ groupKey: string; expanded: boolean; }",
1404
+ "references": {}
1405
+ }
1406
+ }, {
1407
+ "method": "bhEditStart",
1408
+ "name": "bhEditStart",
1409
+ "bubbles": true,
1410
+ "cancelable": true,
1411
+ "composed": true,
1412
+ "docs": {
1413
+ "tags": [],
1414
+ "text": "Emitted when editing starts"
1415
+ },
1416
+ "complexType": {
1417
+ "original": "{ rowKey: string | number; row: unknown; columnId?: string }",
1418
+ "resolved": "{ rowKey: string | number; row: unknown; columnId?: string | undefined; }",
1419
+ "references": {}
1420
+ }
1421
+ }, {
1422
+ "method": "bhEditCancel",
1423
+ "name": "bhEditCancel",
1424
+ "bubbles": true,
1425
+ "cancelable": true,
1426
+ "composed": true,
1427
+ "docs": {
1428
+ "tags": [],
1429
+ "text": "Emitted when editing is cancelled"
1430
+ },
1431
+ "complexType": {
1432
+ "original": "{ rowKey: string | number; row: unknown }",
1433
+ "resolved": "{ rowKey: string | number; row: unknown; }",
1434
+ "references": {}
1435
+ }
1436
+ }, {
1437
+ "method": "bhEditSave",
1438
+ "name": "bhEditSave",
1439
+ "bubbles": true,
1440
+ "cancelable": true,
1441
+ "composed": true,
1442
+ "docs": {
1443
+ "tags": [],
1444
+ "text": "Emitted when changes are saved"
1445
+ },
1446
+ "complexType": {
1447
+ "original": "DataGridRowChanges",
1448
+ "resolved": "DataGridRowChanges",
1449
+ "references": {
1450
+ "DataGridRowChanges": {
1451
+ "location": "local",
1452
+ "path": "/home/runner/work/bellhopos/bellhopos/packages/bellhop-core/src/components/bh-data-grid/bh-data-grid.tsx",
1453
+ "id": "src/components/bh-data-grid/bh-data-grid.tsx::DataGridRowChanges"
1454
+ }
1455
+ }
1456
+ }
1457
+ }, {
1458
+ "method": "bhCellChange",
1459
+ "name": "bhCellChange",
1460
+ "bubbles": true,
1461
+ "cancelable": true,
1462
+ "composed": true,
1463
+ "docs": {
1464
+ "tags": [],
1465
+ "text": "Emitted when a cell value changes during editing (before save)"
1466
+ },
1467
+ "complexType": {
1468
+ "original": "{ rowKey: string | number; columnId: string; oldValue: unknown; newValue: unknown }",
1469
+ "resolved": "{ rowKey: string | number; columnId: string; oldValue: unknown; newValue: unknown; }",
1470
+ "references": {}
1471
+ }
1472
+ }];
1473
+ }
1474
+ static get elementRef() { return "el"; }
1475
+ static get watchers() {
1476
+ return [{
1477
+ "propName": "selectedKeys",
1478
+ "methodName": "handleSelectedKeysChange"
1479
+ }, {
1480
+ "propName": "sortState",
1481
+ "methodName": "handleSortStateChange"
1482
+ }, {
1483
+ "propName": "filterState",
1484
+ "methodName": "handleFilterStateChange"
1485
+ }];
1486
+ }
1487
+ }
1488
+ //# sourceMappingURL=bh-data-grid.js.map