@xplortech/apollo-core 3.0.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (491) hide show
  1. package/.typings/apollo-components.html-data.json +120 -14
  2. package/build/components/avatar.css +1 -1
  3. package/build/components/data-card.css +1 -1
  4. package/build/components/dropdown.css +1 -1
  5. package/build/components/input-time.css +1 -1
  6. package/build/components/large-card.css +1 -1
  7. package/build/components/list-item.css +1 -1
  8. package/build/components/modal.css +1 -1
  9. package/build/components/popover.css +1 -1
  10. package/build/components/side-nav.css +1 -1
  11. package/build/components/spotlight.css +1 -1
  12. package/build/components/table-cell-base.css +1 -0
  13. package/build/components/table-cell.css +1 -0
  14. package/build/components/table-footer-cell.css +1 -1
  15. package/build/components/table-header-cell.css +1 -1
  16. package/build/components/table.css +1 -1
  17. package/build/components/tag.css +1 -1
  18. package/build/components/toast.css +1 -1
  19. package/build/components/toggle.css +1 -1
  20. package/build/components/toolbar.css +1 -1
  21. package/build/components/tooltip.css +1 -1
  22. package/build/components/top-nav.css +1 -1
  23. package/build/components-manifest.json +19 -3
  24. package/build/core.css +1 -1
  25. package/build/style.css +1 -1
  26. package/build/variables/apollo.css +4 -0
  27. package/build/variables/field-edge.css +4 -0
  28. package/build/vendor/flatpickr.css +1 -1
  29. package/dist/apollo-core/apollo-core.css +1 -1
  30. package/dist/apollo-core/apollo-core.esm.js +1 -1
  31. package/dist/apollo-core/p-045a4538.entry.js +1 -0
  32. package/dist/apollo-core/{p-d443291f.entry.js → p-050a8bf2.entry.js} +1 -1
  33. package/dist/apollo-core/p-08767607.entry.js +1 -0
  34. package/dist/apollo-core/{p-149ddd12.entry.js → p-11914cd4.entry.js} +1 -1
  35. package/dist/apollo-core/{p-581b702c.entry.js → p-14e86de8.entry.js} +1 -1
  36. package/dist/apollo-core/p-194c0ccd.entry.js +1 -0
  37. package/dist/apollo-core/p-1c031055.entry.js +1 -0
  38. package/dist/apollo-core/p-24f7280a.entry.js +1 -0
  39. package/dist/apollo-core/{p-47bda204.entry.js → p-24fa8a03.entry.js} +1 -1
  40. package/dist/apollo-core/{p-91895c40.entry.js → p-2971e2ec.entry.js} +1 -1
  41. package/dist/apollo-core/{p-0958c719.entry.js → p-3417c1ce.entry.js} +1 -1
  42. package/dist/apollo-core/p-3713cd77.entry.js +1 -0
  43. package/dist/apollo-core/p-386851a2.entry.js +1 -0
  44. package/dist/apollo-core/p-3cd1238b.entry.js +1 -0
  45. package/dist/apollo-core/{p-b45179fb.entry.js → p-49531864.entry.js} +1 -1
  46. package/dist/apollo-core/p-4e3c6616.entry.js +1 -0
  47. package/dist/apollo-core/p-5b9fd96e.entry.js +1 -0
  48. package/dist/apollo-core/{p-cb5b15c2.entry.js → p-5bfac8fd.entry.js} +1 -1
  49. package/dist/apollo-core/p-5c3be343.entry.js +1 -0
  50. package/dist/apollo-core/p-5cbf5d42.entry.js +1 -0
  51. package/dist/apollo-core/p-5ec2b180.entry.js +1 -0
  52. package/dist/apollo-core/{p-790709c0.entry.js → p-64f5c129.entry.js} +1 -1
  53. package/dist/apollo-core/{p-28bce81a.entry.js → p-65f6b66c.entry.js} +1 -1
  54. package/dist/apollo-core/{p-d9070ae5.entry.js → p-715baae0.entry.js} +1 -1
  55. package/dist/apollo-core/p-72e0455f.entry.js +1 -0
  56. package/dist/apollo-core/p-7ac7fbc0.entry.js +1 -0
  57. package/dist/apollo-core/p-7d70e089.entry.js +1 -0
  58. package/dist/apollo-core/{p-d41b8f46.entry.js → p-7eb02cf3.entry.js} +1 -1
  59. package/dist/apollo-core/p-7f4463ff.entry.js +1 -0
  60. package/dist/apollo-core/p-808f3d9c.entry.js +1 -0
  61. package/dist/apollo-core/p-87582346.entry.js +1 -0
  62. package/dist/apollo-core/{p-2c995d80.entry.js → p-8f8f4759.entry.js} +1 -1
  63. package/dist/apollo-core/{p-5d9a593e.entry.js → p-907bc21e.entry.js} +1 -1
  64. package/dist/apollo-core/p-9905c77c.entry.js +1 -0
  65. package/dist/apollo-core/{p-54903322.entry.js → p-9d731673.entry.js} +1 -1
  66. package/dist/apollo-core/{p-2938ab4f.entry.js → p-9feaa8be.entry.js} +1 -1
  67. package/dist/apollo-core/p-O7gQjVdS.js +1 -0
  68. package/dist/apollo-core/p-a6ecca68.entry.js +1 -0
  69. package/dist/apollo-core/p-a789c272.entry.js +1 -0
  70. package/dist/apollo-core/{p-06a9a27b.entry.js → p-aeb2bcb8.entry.js} +1 -1
  71. package/dist/apollo-core/p-b3b4678b.entry.js +1 -0
  72. package/dist/apollo-core/{p-82812126.entry.js → p-b64ed46d.entry.js} +1 -1
  73. package/dist/apollo-core/{p-0368a1df.entry.js → p-bc821e69.entry.js} +1 -1
  74. package/dist/apollo-core/p-bd493c4a.entry.js +1 -0
  75. package/dist/apollo-core/p-bdcece21.entry.js +1 -0
  76. package/dist/apollo-core/{p-cdb5b5c4.entry.js → p-bfb7a83a.entry.js} +1 -1
  77. package/dist/apollo-core/{p-cdacfcd4.entry.js → p-c22f70f4.entry.js} +1 -1
  78. package/dist/apollo-core/{p-5730d96c.entry.js → p-c5bc3b2c.entry.js} +1 -1
  79. package/dist/apollo-core/{p-4ad79534.entry.js → p-ca83003e.entry.js} +1 -1
  80. package/dist/apollo-core/p-d3230277.entry.js +1 -0
  81. package/dist/apollo-core/p-d3ada7d0.entry.js +1 -0
  82. package/dist/apollo-core/{p-d0bc7c45.entry.js → p-d469bf5d.entry.js} +1 -1
  83. package/dist/apollo-core/p-d7f8ee34.entry.js +1 -0
  84. package/dist/apollo-core/p-d879c349.entry.js +1 -0
  85. package/dist/apollo-core/{p-2139f9f6.entry.js → p-df257cbf.entry.js} +1 -1
  86. package/dist/apollo-core/p-e09d8beb.entry.js +1 -0
  87. package/dist/apollo-core/p-e4d50301.entry.js +1 -0
  88. package/dist/apollo-core/{p-f3a2c79b.entry.js → p-ea9cdd65.entry.js} +1 -1
  89. package/dist/apollo-core/{p-ca4652b3.entry.js → p-eba654a3.entry.js} +1 -1
  90. package/dist/apollo-core/{p-4a2323b3.entry.js → p-ee68bed6.entry.js} +1 -1
  91. package/dist/apollo-core/{p-abdf199b.entry.js → p-f384a990.entry.js} +1 -1
  92. package/dist/apollo-core/{p-4d4acd1f.entry.js → p-f579e4b0.entry.js} +1 -1
  93. package/dist/apollo-core/{p-d724c419.entry.js → p-fcb17ff9.entry.js} +1 -1
  94. package/dist/apollo-core/{p-e2890eb1.entry.js → p-ff16f574.entry.js} +1 -1
  95. package/dist/cjs/apollo-core.cjs.js +1 -1
  96. package/dist/cjs/index-3cBvw409.js +8 -12
  97. package/dist/cjs/loader.cjs.js +1 -1
  98. package/dist/cjs/table-internal-DssCrBs_.js +67 -0
  99. package/dist/cjs/xpl-accordion.cjs.entry.js +2 -2
  100. package/dist/cjs/xpl-application-shell.cjs.entry.js +1 -1
  101. package/dist/cjs/xpl-avatar_3.cjs.entry.js +4 -4
  102. package/dist/cjs/xpl-backdrop.cjs.entry.js +1 -1
  103. package/dist/cjs/xpl-badge.cjs.entry.js +1 -1
  104. package/dist/cjs/xpl-banner.cjs.entry.js +2 -2
  105. package/dist/cjs/xpl-breadcrumb-item.cjs.entry.js +1 -1
  106. package/dist/cjs/xpl-breadcrumbs.cjs.entry.js +1 -1
  107. package/dist/cjs/xpl-button-row.cjs.entry.js +1 -1
  108. package/dist/cjs/xpl-button.cjs.entry.js +1 -1
  109. package/dist/cjs/xpl-calendar.cjs.entry.js +1 -1
  110. package/dist/cjs/xpl-checkbox.cjs.entry.js +3 -3
  111. package/dist/cjs/xpl-choicelist.cjs.entry.js +1 -1
  112. package/dist/cjs/xpl-content-area.cjs.entry.js +1 -1
  113. package/dist/cjs/xpl-dashboard.cjs.entry.js +1 -1
  114. package/dist/cjs/xpl-data-card.cjs.entry.js +2 -2
  115. package/dist/cjs/xpl-dropdown_4.cjs.entry.js +8 -8
  116. package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +2 -2
  117. package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +2 -2
  118. package/dist/cjs/xpl-dynamic-table.cjs.entry.js +2 -2
  119. package/dist/cjs/xpl-grid-item.cjs.entry.js +1 -1
  120. package/dist/cjs/xpl-grid.cjs.entry.js +1 -1
  121. package/dist/cjs/xpl-header-accordion.cjs.entry.js +1 -1
  122. package/dist/cjs/xpl-icon.cjs.entry.js +2 -2
  123. package/dist/cjs/xpl-input-color.cjs.entry.js +8 -8
  124. package/dist/cjs/xpl-input-phone.cjs.entry.js +5 -5
  125. package/dist/cjs/xpl-input-time.cjs.entry.js +2 -2
  126. package/dist/cjs/xpl-input_4.cjs.entry.js +10 -10
  127. package/dist/cjs/xpl-large-card.cjs.entry.js +1 -1
  128. package/dist/cjs/xpl-list.cjs.entry.js +2 -2
  129. package/dist/cjs/xpl-main-nav.cjs.entry.js +1 -1
  130. package/dist/cjs/xpl-modal.cjs.entry.js +1 -1
  131. package/dist/cjs/xpl-nav-header-menu.cjs.entry.js +2 -2
  132. package/dist/cjs/xpl-nav-item.cjs.entry.js +2 -2
  133. package/dist/cjs/xpl-pagination.cjs.entry.js +4 -4
  134. package/dist/cjs/xpl-panel.cjs.entry.js +2 -2
  135. package/dist/cjs/xpl-popover.cjs.entry.js +4 -4
  136. package/dist/cjs/xpl-progress-bar.cjs.entry.js +2 -2
  137. package/dist/cjs/xpl-progress-indicator.cjs.entry.js +1 -1
  138. package/dist/cjs/xpl-secondary-nav.cjs.entry.js +1 -1
  139. package/dist/cjs/xpl-select_2.cjs.entry.js +8 -8
  140. package/dist/cjs/xpl-side-nav-header-item.cjs.entry.js +2 -2
  141. package/dist/cjs/xpl-side-nav-item.cjs.entry.js +2 -2
  142. package/dist/cjs/xpl-side-nav-section.cjs.entry.js +5 -5
  143. package/dist/cjs/xpl-side-nav.cjs.entry.js +2 -2
  144. package/dist/cjs/xpl-skeleton.cjs.entry.js +1 -1
  145. package/dist/cjs/xpl-slideout.cjs.entry.js +1 -1
  146. package/dist/cjs/xpl-tab-panel.cjs.entry.js +2 -2
  147. package/dist/cjs/xpl-table-body.cjs.entry.js +1 -1
  148. package/dist/cjs/xpl-table-cell_3.cjs.entry.js +228 -0
  149. package/dist/cjs/xpl-table-footer.cjs.entry.js +1 -1
  150. package/dist/cjs/xpl-table-header.cjs.entry.js +1 -1
  151. package/dist/cjs/xpl-table-row.cjs.entry.js +43 -2
  152. package/dist/cjs/xpl-table.cjs.entry.js +1204 -80
  153. package/dist/cjs/xpl-tabs.cjs.entry.js +5 -5
  154. package/dist/cjs/xpl-toast.cjs.entry.js +2 -2
  155. package/dist/cjs/xpl-toggle.cjs.entry.js +3 -3
  156. package/dist/cjs/xpl-toolbar.cjs.entry.js +2 -2
  157. package/dist/cjs/xpl-tooltip.cjs.entry.js +1 -1
  158. package/dist/cjs/xpl-top-nav-item.cjs.entry.js +2 -2
  159. package/dist/cjs/xpl-top-nav-menu.cjs.entry.js +2 -2
  160. package/dist/cjs/xpl-top-nav.cjs.entry.js +5 -5
  161. package/dist/cjs/xpl-utility-bar.cjs.entry.js +1 -1
  162. package/dist/collection/collection-manifest.json +2 -1
  163. package/dist/collection/components/xpl-accordion/xpl-accordion.js +2 -2
  164. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +1 -1
  165. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
  166. package/dist/collection/components/xpl-badge/xpl-badge.js +1 -1
  167. package/dist/collection/components/xpl-banner/xpl-banner.js +2 -2
  168. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +1 -1
  169. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +1 -1
  170. package/dist/collection/components/xpl-button/xpl-button.js +1 -1
  171. package/dist/collection/components/xpl-button-row/xpl-button-row.js +1 -1
  172. package/dist/collection/components/xpl-calendar/xpl-calendar.js +1 -1
  173. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +3 -3
  174. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +1 -1
  175. package/dist/collection/components/xpl-content-area/xpl-content-area.js +1 -1
  176. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +1 -1
  177. package/dist/collection/components/xpl-data-card/xpl-data-card.js +2 -2
  178. package/dist/collection/components/xpl-divider/xpl-divider.js +1 -1
  179. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +1 -1
  180. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +1 -1
  181. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +2 -2
  182. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +4 -4
  183. package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +2 -2
  184. package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +2 -2
  185. package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +2 -2
  186. package/dist/collection/components/xpl-grid/xpl-grid.js +1 -1
  187. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +1 -1
  188. package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +1 -1
  189. package/dist/collection/components/xpl-icon/xpl-icon.js +2 -2
  190. package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +8 -8
  191. package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +3 -3
  192. package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +4 -4
  193. package/dist/collection/components/xpl-input/xpl-input-phone/xpl-input-phone.js +5 -5
  194. package/dist/collection/components/xpl-input/xpl-input-search/xpl-input-search.js +1 -1
  195. package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +2 -2
  196. package/dist/collection/components/xpl-input/xpl-input.js +2 -2
  197. package/dist/collection/components/xpl-large-card/xpl-large-card.js +1 -1
  198. package/dist/collection/components/xpl-list/xpl-list.js +2 -2
  199. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +1 -1
  200. package/dist/collection/components/xpl-modal/xpl-modal.js +1 -1
  201. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +2 -2
  202. package/dist/collection/components/xpl-pagination/xpl-pagination.js +4 -4
  203. package/dist/collection/components/xpl-panel/xpl-panel.js +2 -2
  204. package/dist/collection/components/xpl-popover/xpl-popover.js +4 -4
  205. package/dist/collection/components/xpl-progress-bar/xpl-progress-bar.js +2 -2
  206. package/dist/collection/components/xpl-progress-indicator/xpl-progress-indicator.js +1 -1
  207. package/dist/collection/components/xpl-radio/xpl-radio.js +3 -3
  208. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +1 -1
  209. package/dist/collection/components/xpl-select/xpl-select.js +6 -6
  210. package/dist/collection/components/xpl-side-nav/xpl-side-nav-header-item/xpl-side-nav-header-item.js +2 -2
  211. package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +2 -2
  212. package/dist/collection/components/xpl-side-nav/xpl-side-nav-section/xpl-side-nav-section.js +5 -5
  213. package/dist/collection/components/xpl-side-nav/xpl-side-nav.js +2 -2
  214. package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +1 -1
  215. package/dist/collection/components/xpl-slideout/xpl-slideout.js +1 -1
  216. package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +2 -2
  217. package/dist/collection/components/xpl-table/utils/move-row-dom.js +50 -0
  218. package/dist/collection/components/xpl-table/utils/table-internal.js +57 -0
  219. package/dist/collection/components/xpl-table/xpl-table-body/xpl-table-body.js +1 -1
  220. package/dist/collection/components/xpl-table/xpl-table-cell/xpl-table-cell.js +167 -0
  221. package/dist/collection/components/xpl-table/xpl-table-footer/xpl-table-footer.js +1 -1
  222. package/dist/collection/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.js +2 -2
  223. package/dist/collection/components/xpl-table/xpl-table-header-cell/xpl-table-header-cell.js +402 -0
  224. package/dist/collection/components/xpl-table/xpl-table-row/xpl-table-row.js +44 -2
  225. package/dist/collection/components/xpl-table/xpl-table.js +1427 -116
  226. package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
  227. package/dist/collection/components/xpl-tabs/xpl-tabs.js +5 -5
  228. package/dist/collection/components/xpl-tag/xpl-tag.js +2 -2
  229. package/dist/collection/components/xpl-toast/xpl-toast.js +2 -2
  230. package/dist/collection/components/xpl-toggle/xpl-toggle.js +3 -3
  231. package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +2 -2
  232. package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +1 -1
  233. package/dist/collection/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.js +2 -2
  234. package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +2 -2
  235. package/dist/collection/components/xpl-top-nav/xpl-top-nav-menu/xpl-top-nav-menu.js +2 -2
  236. package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +5 -5
  237. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
  238. package/dist/components/index.d.ts +3 -1
  239. package/dist/components/index.js +1 -1
  240. package/dist/components/{p-oIn1krdu.js → p-1D7CWIJ-.js} +1 -1
  241. package/dist/components/{p-xtOHikY0.js → p-2cJsJK3-.js} +1 -1
  242. package/dist/components/{p-DYmvElhR.js → p-8zrW9vEC.js} +1 -1
  243. package/dist/components/p-B56GeUtW.js +1 -0
  244. package/dist/components/p-B6YLKDUX.js +1 -0
  245. package/dist/components/{p-D--kzomA.js → p-B7aaJikj.js} +1 -1
  246. package/dist/components/{p-U0JYwf4c.js → p-BOm_p_mz.js} +1 -1
  247. package/dist/components/p-BZIZSovL.js +1 -0
  248. package/dist/components/{p-EfW0v54z.js → p-BtLC-jpk.js} +1 -1
  249. package/dist/components/{p-xFsB212F.js → p-Btb2UkLz.js} +1 -1
  250. package/dist/components/{p-DAb-txW3.js → p-C0AbGd4t.js} +1 -1
  251. package/dist/components/p-CFXvQqUO.js +1 -0
  252. package/dist/components/{p-l3EZ-agL.js → p-CQjJIHK6.js} +1 -1
  253. package/dist/components/{p-Chpgh5SL.js → p-CV5nn1zR.js} +1 -1
  254. package/dist/components/p-CdRmVtIN.js +1 -0
  255. package/dist/components/p-CgemLtmL.js +1 -0
  256. package/dist/components/p-CmbpWpb0.js +1 -0
  257. package/dist/components/p-CuVYRPvz.js +1 -0
  258. package/dist/components/{p-JyNpXfDe.js → p-D09sGbzs.js} +1 -1
  259. package/dist/components/{p-BdpZR4KO.js → p-DTh_zemx.js} +1 -1
  260. package/dist/components/{p-CiHTfk3E.js → p-DoVubWyd.js} +1 -1
  261. package/dist/components/p-Dp62sBqX.js +1 -0
  262. package/dist/components/p-DqgnC_vS.js +1 -0
  263. package/dist/components/p-DtV4i45B.js +1 -0
  264. package/dist/components/{p-wIU7KUhA.js → p-ohy3NrgH.js} +1 -1
  265. package/dist/components/xpl-accordion.js +1 -1
  266. package/dist/components/xpl-application-shell.js +1 -1
  267. package/dist/components/xpl-avatar.js +1 -1
  268. package/dist/components/xpl-backdrop.js +1 -1
  269. package/dist/components/xpl-badge.js +1 -1
  270. package/dist/components/xpl-banner.js +1 -1
  271. package/dist/components/xpl-breadcrumb-item.js +1 -1
  272. package/dist/components/xpl-breadcrumbs.js +1 -1
  273. package/dist/components/xpl-button-row.js +1 -1
  274. package/dist/components/xpl-button.js +1 -1
  275. package/dist/components/xpl-calendar.js +1 -1
  276. package/dist/components/xpl-checkbox.js +1 -1
  277. package/dist/components/xpl-choicelist.js +1 -1
  278. package/dist/components/xpl-content-area.js +1 -1
  279. package/dist/components/xpl-dashboard.js +1 -1
  280. package/dist/components/xpl-data-card.js +1 -1
  281. package/dist/components/xpl-divider.js +1 -1
  282. package/dist/components/xpl-dropdown-group.js +1 -1
  283. package/dist/components/xpl-dropdown-heading.js +1 -1
  284. package/dist/components/xpl-dropdown-option.js +1 -1
  285. package/dist/components/xpl-dropdown.js +1 -1
  286. package/dist/components/xpl-dynamic-table-cell.js +1 -1
  287. package/dist/components/xpl-dynamic-table-row.js +1 -1
  288. package/dist/components/xpl-dynamic-table.js +1 -1
  289. package/dist/components/xpl-grid-item.js +1 -1
  290. package/dist/components/xpl-grid.js +1 -1
  291. package/dist/components/xpl-header-accordion.js +1 -1
  292. package/dist/components/xpl-icon.js +1 -1
  293. package/dist/components/xpl-input-color.js +1 -1
  294. package/dist/components/xpl-input-date.js +1 -1
  295. package/dist/components/xpl-input-file.js +1 -1
  296. package/dist/components/xpl-input-phone.js +1 -1
  297. package/dist/components/xpl-input-search.js +1 -1
  298. package/dist/components/xpl-input-time.js +1 -1
  299. package/dist/components/xpl-input.js +1 -1
  300. package/dist/components/xpl-large-card.js +1 -1
  301. package/dist/components/xpl-list-item.js +1 -1
  302. package/dist/components/xpl-list.js +1 -1
  303. package/dist/components/xpl-main-nav.js +1 -1
  304. package/dist/components/xpl-modal.js +1 -1
  305. package/dist/components/xpl-nav-header-menu.js +1 -1
  306. package/dist/components/xpl-nav-item.js +1 -1
  307. package/dist/components/xpl-pagination.js +1 -1
  308. package/dist/components/xpl-panel.js +1 -1
  309. package/dist/components/xpl-popover.js +1 -1
  310. package/dist/components/xpl-progress-bar.js +1 -1
  311. package/dist/components/xpl-progress-indicator.js +1 -1
  312. package/dist/components/xpl-radio.js +1 -1
  313. package/dist/components/xpl-secondary-nav.js +1 -1
  314. package/dist/components/xpl-select.js +1 -1
  315. package/dist/components/xpl-side-nav-header-item.js +1 -1
  316. package/dist/components/xpl-side-nav-item.js +1 -1
  317. package/dist/components/xpl-side-nav-section.js +1 -1
  318. package/dist/components/xpl-side-nav.js +1 -1
  319. package/dist/components/xpl-skeleton.js +1 -1
  320. package/dist/components/xpl-slideout.js +1 -1
  321. package/dist/components/xpl-spotlight.js +1 -1
  322. package/dist/components/xpl-tab-panel.js +1 -1
  323. package/dist/components/xpl-tab.js +1 -1
  324. package/dist/components/xpl-table-body.js +1 -1
  325. package/dist/components/xpl-table-cell.d.ts +11 -0
  326. package/dist/components/xpl-table-cell.js +1 -0
  327. package/dist/components/xpl-table-footer-cell.js +1 -1
  328. package/dist/components/xpl-table-footer.js +1 -1
  329. package/dist/components/xpl-table-header-cell.js +1 -1
  330. package/dist/components/xpl-table-header.js +1 -1
  331. package/dist/components/xpl-table-row.js +1 -1
  332. package/dist/components/xpl-table.js +1 -1
  333. package/dist/components/xpl-tabs.js +1 -1
  334. package/dist/components/xpl-tag.js +1 -1
  335. package/dist/components/xpl-toast.js +1 -1
  336. package/dist/components/xpl-toggle.js +1 -1
  337. package/dist/components/xpl-toolbar.js +1 -1
  338. package/dist/components/xpl-tooltip.js +1 -1
  339. package/dist/components/xpl-top-nav-item.js +1 -1
  340. package/dist/components/xpl-top-nav-menu.js +1 -1
  341. package/dist/components/xpl-top-nav.js +1 -1
  342. package/dist/components/xpl-utility-bar.js +1 -1
  343. package/dist/docs/xpl-avatar/readme.md +1 -1
  344. package/dist/docs/xpl-checkbox/readme.md +1 -3
  345. package/dist/docs/xpl-data-card/readme.md +1 -1
  346. package/dist/docs/xpl-dynamic-table/readme.md +4 -1
  347. package/dist/docs/xpl-dynamic-table-cell/readme.md +2 -0
  348. package/dist/docs/xpl-dynamic-table-row/readme.md +2 -0
  349. package/dist/docs/xpl-icon/readme.md +1 -1
  350. package/dist/docs/xpl-input/xpl-input-time/readme.md +1 -1
  351. package/dist/docs/xpl-large-card/readme.md +1 -1
  352. package/dist/docs/xpl-modal/readme.md +2 -2
  353. package/dist/docs/xpl-popover/readme.md +1 -2
  354. package/dist/docs/xpl-slideout/readme.md +1 -1
  355. package/dist/docs/xpl-spotlight/readme.md +1 -0
  356. package/dist/docs/xpl-table/readme.md +178 -20
  357. package/dist/docs/xpl-table/xpl-table-body/readme.md +4 -4
  358. package/dist/docs/xpl-table/xpl-table-cell/readme.md +53 -0
  359. package/dist/docs/xpl-table/xpl-table-footer/readme.md +4 -4
  360. package/dist/docs/xpl-table/xpl-table-footer-cell/readme.md +24 -15
  361. package/dist/docs/xpl-table/xpl-table-header-cell/readme.md +84 -0
  362. package/dist/docs/xpl-table/xpl-table-row/readme.md +18 -14
  363. package/dist/docs/xpl-toast/readme.md +2 -2
  364. package/dist/docs/xpl-toggle/readme.md +1 -1
  365. package/dist/docs/xpl-toolbar/readme.md +5 -3
  366. package/dist/docs/xpl-tooltip/readme.md +1 -2
  367. package/dist/docs.json +776 -113
  368. package/dist/esm/apollo-core.js +1 -1
  369. package/dist/esm/index-ukZKsqqq.js +8 -12
  370. package/dist/esm/loader.js +1 -1
  371. package/dist/esm/table-internal-O7gQjVdS.js +59 -0
  372. package/dist/esm/xpl-accordion.entry.js +2 -2
  373. package/dist/esm/xpl-application-shell.entry.js +1 -1
  374. package/dist/esm/xpl-avatar_3.entry.js +4 -4
  375. package/dist/esm/xpl-backdrop.entry.js +1 -1
  376. package/dist/esm/xpl-badge.entry.js +1 -1
  377. package/dist/esm/xpl-banner.entry.js +2 -2
  378. package/dist/esm/xpl-breadcrumb-item.entry.js +1 -1
  379. package/dist/esm/xpl-breadcrumbs.entry.js +1 -1
  380. package/dist/esm/xpl-button-row.entry.js +1 -1
  381. package/dist/esm/xpl-button.entry.js +1 -1
  382. package/dist/esm/xpl-calendar.entry.js +1 -1
  383. package/dist/esm/xpl-checkbox.entry.js +3 -3
  384. package/dist/esm/xpl-choicelist.entry.js +1 -1
  385. package/dist/esm/xpl-content-area.entry.js +1 -1
  386. package/dist/esm/xpl-dashboard.entry.js +1 -1
  387. package/dist/esm/xpl-data-card.entry.js +2 -2
  388. package/dist/esm/xpl-dropdown_4.entry.js +8 -8
  389. package/dist/esm/xpl-dynamic-table-cell.entry.js +2 -2
  390. package/dist/esm/xpl-dynamic-table-row.entry.js +2 -2
  391. package/dist/esm/xpl-dynamic-table.entry.js +2 -2
  392. package/dist/esm/xpl-grid-item.entry.js +1 -1
  393. package/dist/esm/xpl-grid.entry.js +1 -1
  394. package/dist/esm/xpl-header-accordion.entry.js +1 -1
  395. package/dist/esm/xpl-icon.entry.js +2 -2
  396. package/dist/esm/xpl-input-color.entry.js +8 -8
  397. package/dist/esm/xpl-input-phone.entry.js +5 -5
  398. package/dist/esm/xpl-input-time.entry.js +2 -2
  399. package/dist/esm/xpl-input_4.entry.js +10 -10
  400. package/dist/esm/xpl-large-card.entry.js +1 -1
  401. package/dist/esm/xpl-list.entry.js +2 -2
  402. package/dist/esm/xpl-main-nav.entry.js +1 -1
  403. package/dist/esm/xpl-modal.entry.js +1 -1
  404. package/dist/esm/xpl-nav-header-menu.entry.js +2 -2
  405. package/dist/esm/xpl-nav-item.entry.js +2 -2
  406. package/dist/esm/xpl-pagination.entry.js +4 -4
  407. package/dist/esm/xpl-panel.entry.js +2 -2
  408. package/dist/esm/xpl-popover.entry.js +4 -4
  409. package/dist/esm/xpl-progress-bar.entry.js +2 -2
  410. package/dist/esm/xpl-progress-indicator.entry.js +1 -1
  411. package/dist/esm/xpl-secondary-nav.entry.js +1 -1
  412. package/dist/esm/xpl-select_2.entry.js +8 -8
  413. package/dist/esm/xpl-side-nav-header-item.entry.js +2 -2
  414. package/dist/esm/xpl-side-nav-item.entry.js +2 -2
  415. package/dist/esm/xpl-side-nav-section.entry.js +5 -5
  416. package/dist/esm/xpl-side-nav.entry.js +2 -2
  417. package/dist/esm/xpl-skeleton.entry.js +1 -1
  418. package/dist/esm/xpl-slideout.entry.js +1 -1
  419. package/dist/esm/xpl-tab-panel.entry.js +2 -2
  420. package/dist/esm/xpl-table-body.entry.js +1 -1
  421. package/dist/esm/xpl-table-cell_3.entry.js +224 -0
  422. package/dist/esm/xpl-table-footer.entry.js +1 -1
  423. package/dist/esm/xpl-table-header.entry.js +1 -1
  424. package/dist/esm/xpl-table-row.entry.js +44 -3
  425. package/dist/esm/xpl-table.entry.js +1204 -80
  426. package/dist/esm/xpl-tabs.entry.js +5 -5
  427. package/dist/esm/xpl-toast.entry.js +2 -2
  428. package/dist/esm/xpl-toggle.entry.js +3 -3
  429. package/dist/esm/xpl-toolbar.entry.js +2 -2
  430. package/dist/esm/xpl-tooltip.entry.js +1 -1
  431. package/dist/esm/xpl-top-nav-item.entry.js +2 -2
  432. package/dist/esm/xpl-top-nav-menu.entry.js +2 -2
  433. package/dist/esm/xpl-top-nav.entry.js +5 -5
  434. package/dist/esm/xpl-utility-bar.entry.js +1 -1
  435. package/dist/types/components/xpl-table/utils/move-row-dom.d.ts +3 -0
  436. package/dist/types/components/xpl-table/utils/table-internal.d.ts +8 -0
  437. package/dist/types/components/xpl-table/xpl-table-cell/xpl-table-cell.d.ts +11 -0
  438. package/dist/types/components/xpl-table/xpl-table-header-cell/xpl-table-header-cell.d.ts +33 -0
  439. package/dist/types/components/xpl-table/xpl-table-row/xpl-table-row.d.ts +7 -0
  440. package/dist/types/components/xpl-table/xpl-table.d.ts +126 -22
  441. package/dist/types/components.d.ts +238 -60
  442. package/hydrate/index.js +1669 -265
  443. package/hydrate/index.mjs +1669 -265
  444. package/package.json +7 -7
  445. package/dist/apollo-core/p-056a99e4.entry.js +0 -1
  446. package/dist/apollo-core/p-068e3532.entry.js +0 -1
  447. package/dist/apollo-core/p-0a0a6e43.entry.js +0 -1
  448. package/dist/apollo-core/p-1a94c2d9.entry.js +0 -1
  449. package/dist/apollo-core/p-2faa7b9c.entry.js +0 -1
  450. package/dist/apollo-core/p-30b1b700.entry.js +0 -1
  451. package/dist/apollo-core/p-32084caf.entry.js +0 -1
  452. package/dist/apollo-core/p-38586952.entry.js +0 -1
  453. package/dist/apollo-core/p-50fae269.entry.js +0 -1
  454. package/dist/apollo-core/p-60cb3cfb.entry.js +0 -1
  455. package/dist/apollo-core/p-722b145a.entry.js +0 -1
  456. package/dist/apollo-core/p-75e5bfe0.entry.js +0 -1
  457. package/dist/apollo-core/p-77fe3cc1.entry.js +0 -1
  458. package/dist/apollo-core/p-83bb7607.entry.js +0 -1
  459. package/dist/apollo-core/p-8664d88b.entry.js +0 -1
  460. package/dist/apollo-core/p-8a925e9d.entry.js +0 -1
  461. package/dist/apollo-core/p-9064badb.entry.js +0 -1
  462. package/dist/apollo-core/p-969d5cca.entry.js +0 -1
  463. package/dist/apollo-core/p-99a79cf4.entry.js +0 -1
  464. package/dist/apollo-core/p-ae8a5f66.entry.js +0 -1
  465. package/dist/apollo-core/p-af8ebf49.entry.js +0 -1
  466. package/dist/apollo-core/p-b29025b2.entry.js +0 -1
  467. package/dist/apollo-core/p-b5a61076.entry.js +0 -1
  468. package/dist/apollo-core/p-bf7d8e18.entry.js +0 -1
  469. package/dist/apollo-core/p-c48e4884.entry.js +0 -1
  470. package/dist/apollo-core/p-cc57f20d.entry.js +0 -1
  471. package/dist/apollo-core/p-dca48977.entry.js +0 -1
  472. package/dist/apollo-core/p-e1833287.entry.js +0 -1
  473. package/dist/apollo-core/p-e2b73b60.entry.js +0 -1
  474. package/dist/apollo-core/p-e7e445b0.entry.js +0 -1
  475. package/dist/apollo-core/p-f1c103ff.entry.js +0 -1
  476. package/dist/apollo-core/p-ffc2f0cf.entry.js +0 -1
  477. package/dist/cjs/xpl-table-footer-cell.cjs.entry.js +0 -18
  478. package/dist/cjs/xpl-table-header-cell.cjs.entry.js +0 -59
  479. package/dist/collection/components/xpl-table-header-cell/xpl-table-header-cell.js +0 -190
  480. package/dist/components/p-9VnxPQLs.js +0 -1
  481. package/dist/components/p-B2oLZUDD.js +0 -1
  482. package/dist/components/p-BYYFsuD3.js +0 -1
  483. package/dist/components/p-BZtxVB1R.js +0 -1
  484. package/dist/components/p-CnVGKN63.js +0 -1
  485. package/dist/components/p-Cz7zDaI4.js +0 -1
  486. package/dist/components/p-D4rv6CNJ.js +0 -1
  487. package/dist/components/p-YG9Jza0y.js +0 -1
  488. package/dist/docs/xpl-table-header-cell/readme.md +0 -47
  489. package/dist/esm/xpl-table-footer-cell.entry.js +0 -16
  490. package/dist/esm/xpl-table-header-cell.entry.js +0 -57
  491. package/dist/types/components/xpl-table-header-cell/xpl-table-header-cell.d.ts +0 -13
package/hydrate/index.mjs CHANGED
@@ -4972,14 +4972,14 @@ class Accordion {
4972
4972
  bordered: `xpl-accordion--border-bordered${this.expanded ? '--expanded' : ''}`,
4973
4973
  bottom: `xpl-accordion--border-bottom${this.expanded ? '--expanded' : ''}`,
4974
4974
  }[this.borderType];
4975
- return (hAsync(Host, { key: '1905815ea7a4463a90668d77c8f2626924eb00e9', class: `xpl-accordion ${accordionBorder}` }, hAsync("button", { key: '32de9a46653e2b98a7c0e8a176bca46b0173d3f4', "aria-expanded": this.expanded, "aria-controls": this.contentId, class: "xpl-accordion-toggle-area", onClick: this.toggleAccordion, type: "button" }, hAsync("header", { key: '3365c551130d9f0a397aa574cc1ea94b8b043c37', class: `xpl-accordion-header xpl-accordion-header--size-${this.size}` }, hAsync("slot", { key: '5f7c3797153426971c3c4256c78233ae14a86d94', name: "heading" }, this.header), hAsync("xpl-icon", { key: '63e1d208578b7c854527b9c3b83821682037eeac', size: 16, icon: "chevron-down", class: `xpl-accordion-icon-chevron ${this.expanded ? 'xpl-accordion-icon-chevron--rotate' : ''}` })), hAsync("div", { key: 'f1d82075d093bd3e3bd069a33a17ee1a2a0fd749', class: "xpl-accordion-description" }, hAsync("slot", { key: 'b66a3a850d43dcb9476b98f30301a1b7898525a5', name: "description" }, this.description))), hAsync("section", { key: 'a7b9cd09084597c3578b92f38925734d93320f41', id: this.contentId, role: "region", class: `xpl-accordion-content xpl-accordion-content--${!this.expanded ? 'hidden' : 'shown'} ${this.expanded
4975
+ return (hAsync(Host, { key: '5b950c90f1d0c1c4ec18a63543e8a3f967e4c345', class: `xpl-accordion ${accordionBorder}` }, hAsync("button", { key: 'd080af79bf979178beadd345259e3555c82d6d11', "aria-expanded": this.expanded, "aria-controls": this.contentId, class: "xpl-accordion-toggle-area", onClick: this.toggleAccordion, type: "button" }, hAsync("header", { key: '31cd09cebdcd16f8581340b720f4f3bf5eb11315', class: `xpl-accordion-header xpl-accordion-header--size-${this.size}` }, hAsync("slot", { key: '42f3de1cbccc2304d60db637879539a607338d9d', name: "heading" }, this.header), hAsync("xpl-icon", { key: 'f7a047102a0e10b60d3ac3d18aa47c2de4409b6e', size: 16, icon: "chevron-down", class: `xpl-accordion-icon-chevron ${this.expanded ? 'xpl-accordion-icon-chevron--rotate' : ''}` })), hAsync("div", { key: '284d9e73027bc38acafc4d07355a0c21c7d38ce1', class: "xpl-accordion-description" }, hAsync("slot", { key: 'a7928e0e46a3f5d2274477a576f65330c5600046', name: "description" }, this.description))), hAsync("section", { key: '5d89a5282aa9f63d349196f2b90c2404bc636e47', id: this.contentId, role: "region", class: `xpl-accordion-content xpl-accordion-content--${!this.expanded ? 'hidden' : 'shown'} ${this.expanded
4976
4976
  ? {
4977
4977
  '': '',
4978
4978
  none: '',
4979
4979
  bordered: 'xpl-accordion-content--shown-bordered',
4980
4980
  bottom: 'xpl-accordion-content--shown-border-bottom',
4981
4981
  }[this.borderType]
4982
- : ''}` }, hAsync("slot", { key: 'd71b20af3148875ccc03d12ecaad3a8c70dda333', name: "content" }))));
4982
+ : ''}` }, hAsync("slot", { key: '658018fba352e3d8a3d005890557fa4f5acb3985', name: "content" }))));
4983
4983
  }
4984
4984
  get el() { return getElement(this); }
4985
4985
  static get watchers() { return {
@@ -5043,7 +5043,7 @@ class ApplicationShell {
5043
5043
  navClasses += this.navOpen
5044
5044
  ? ` xpl-application-shell__nav--${this.navWidth}--open`
5045
5045
  : ` xpl-application-shell__nav--${this.navWidth}`;
5046
- return (hAsync(Host, { key: 'be149a4700553c66898f5d7fa27f68896631c717', class: applicationShellClasses }, hAsync("div", { key: '5fe0df88f9b5a19104b189ba68a8bfeea3b6afe7', class: navClasses }, hAsync("slot", { key: '040596fdc502c23694d6f7bd036c85840d264d2d', name: "nav" })), hAsync("div", { key: '6208807949de1949c8d2c1ff6fc6c9a775212d92', class: "xpl-application-shell__subnav" }, hAsync("slot", { key: 'e194c31283abc0bcbac3db876d0acb1503d9cc12', name: "subnav" })), hAsync("div", { key: '1cb4caa932297cd858f82d78077c10868a5af323', class: "xpl-application-shell__utility" }, hAsync("slot", { key: 'cea302c27a7e067c8244ed6f33d17392c06451e5', name: "utility" })), hAsync("div", { key: '4546be74ec501036b7113519c4a65973fb896866', class: "xpl-application-shell__content" }, hAsync("slot", { key: '8078f31fe1add42efcd65cabd5137d50dec207d6', name: "content" })), hAsync("xpl-backdrop", { key: 'cd07a3093eb1c48fce03f49241905bb2881e472a', onClick: () => this.navToggleHandler(), class: {
5046
+ return (hAsync(Host, { key: '2a5c0529540dc44d79f4744cd77465d097a3cfe9', class: applicationShellClasses }, hAsync("div", { key: '9e7b1e9c302d3188c20792ce5d45c4fd3d981eae', class: navClasses }, hAsync("slot", { key: 'ac3a2e232a4bb296dc97edb46da3a45a9a0143ee', name: "nav" })), hAsync("div", { key: '8a43762388448850e6b70f526ca288e12cfb3a86', class: "xpl-application-shell__subnav" }, hAsync("slot", { key: 'c3753c23cebdc77664c885770f2a7a3afafd2f70', name: "subnav" })), hAsync("div", { key: '17e41ed6c571dc8a11c20034cff373442ed72a47', class: "xpl-application-shell__utility" }, hAsync("slot", { key: '20b62c7529383caf5d52e9f0a7afdfd362136404', name: "utility" })), hAsync("div", { key: '1632f1a97ae50432228040c3788248ff598160f1', class: "xpl-application-shell__content" }, hAsync("slot", { key: '0e3fa6b14b216db3848ec302f755db2f4d9babea', name: "content" })), hAsync("xpl-backdrop", { key: 'd465d3084d1728fd072537ccd1947a154389fb59', onClick: () => this.navToggleHandler(), class: {
5047
5047
  'xpl-application-shell__backdrop--open': this.navOpen,
5048
5048
  }, relative: true })));
5049
5049
  }
@@ -5247,7 +5247,7 @@ class Backdrop {
5247
5247
  this.relative = false;
5248
5248
  }
5249
5249
  render() {
5250
- return (hAsync(Host, { key: 'cf17e9f02e1ee67631159e1d159f539827344c30', class: {
5250
+ return (hAsync(Host, { key: '953f17db70815d5bc0b0debb29c4eda2f6f67b0a', class: {
5251
5251
  'xpl-backdrop': true,
5252
5252
  'xpl-backdrop--fixed': !this.relative,
5253
5253
  'xpl-backdrop--relative': this.relative,
@@ -5293,7 +5293,7 @@ class Badge {
5293
5293
  [`xpl-badge--size-${this.size}`]: !!this.size,
5294
5294
  [`xpl-badge--shape-${this.shape}`]: !this.dotOnly && !!this.shape,
5295
5295
  };
5296
- return (hAsync(Host, { key: '1cb8de25626460ca2c30f82696440af4d140d5e9' }, hAsync("div", { key: 'fc51fea564ee09d6c5234046c6ec3b1c92333b1d', class: className }, hAsync("span", { key: 'd993cc55487aaccd349ac8c3c783b63a3597a9b4', class: "xpl-badge__label" }, hAsync("slot", { key: '8a3e27a6725cba451b43398dad1d8a6604af4e5e' })))));
5296
+ return (hAsync(Host, { key: '88ec460410a79a749357fb0fcfce4393f1fbd119' }, hAsync("div", { key: '93dd43a12a7d18a95d6c6d242ac527017736cd38', class: className }, hAsync("span", { key: 'f399c751da8fc51c5a47672c39e1b618d29f1314', class: "xpl-badge__label" }, hAsync("slot", { key: 'f3920fd097e95f0e550eafa40010b0ca3d4202d4' })))));
5297
5297
  }
5298
5298
  static get cmpMeta() { return {
5299
5299
  "$flags$": 260,
@@ -5371,13 +5371,13 @@ class Banner {
5371
5371
  const actionState = this.getActionButtonState();
5372
5372
  const isHeadingPresent = !!this.heading?.trim();
5373
5373
  const isDescPresent = !!this.description?.trim();
5374
- return (hAsync(Host, { key: '00046ec64a9cf7b913298ad452aa26f3bd1078bd', class: {
5374
+ return (hAsync(Host, { key: 'a78a06e2863b01b36e265fdd55bb9d1d77751c88', class: {
5375
5375
  'xpl-banner': true,
5376
5376
  'xpl-banner--section': this.isSection,
5377
5377
  [`xpl-banner--${this.appearance}`]: true,
5378
5378
  'xpl-banner--truncate-desc': this.truncateDesc,
5379
5379
  'xpl-banner--no-icon': this.isSection && !this.hasIcon,
5380
- }, role: "region", "aria-label": this.getAriaLabel() }, (!this.isSection || this.hasIcon) && (hAsync("div", { key: 'bc95f036e4848863fb07cbdb35e2335f863f21f6', class: "xpl-banner__icon", "aria-hidden": "true" }, hAsync("xpl-icon", { key: 'a019d22111644263e770384c2a8d60487dd2f705', icon: this.getIcon(), size: 24 }))), hAsync("div", { key: '5c6039a2c4be58b3f503938c9b3f33feec61cda9', class: "xpl-banner__body" }, isHeadingPresent && hAsync("p", { key: 'fff21d65b10b628c405959763aa21b676b5a40f6', class: "xpl-banner__heading" }, this.heading), isDescPresent && (hAsync("p", { key: '114a6720cbbcf584bc00a3974f7e95ca3cebc54d', class: "xpl-banner__description", title: this.truncateDesc ? this.description : undefined }, this.description))), (hasAction || hasSecondaryAction) && (hAsync("div", { key: '69a72574bfc37baf6c18ea5b4512f0f11fc45db5', class: "xpl-banner__actions" }, hasAction && (hAsync("xpl-button", { key: '3ff5eb207a819901f3d0017223ae83e9a6c5bf30', size: "xs", variant: actionVariant, state: actionState, onClick: () => this.action.emit() }, this.actionText)), hasSecondaryAction && (hAsync("xpl-button", { key: 'fc54ced977a1f4fc5ca39e7fd981b789b42727fa', size: "xs", variant: actionVariant, state: actionState, onClick: () => this.secondaryAction.emit() }, this.secondaryActionText)))), this.isDismissible && (hAsync("button", { key: 'd236e3448164706d787f8f1fcde36430803c5dc2', class: "xpl-banner__dismiss", type: "button", "aria-label": `Dismiss ${this.isSection ? 'section ' : ''}banner`, onClick: () => this.dismiss.emit() }, hAsync("xpl-icon", { key: 'a3eb350b62b53cb59a40576d0da748adad554c79', icon: "xmark", size: 24, "aria-hidden": "true" })))));
5380
+ }, role: "region", "aria-label": this.getAriaLabel() }, (!this.isSection || this.hasIcon) && (hAsync("div", { key: '70b99cf6bf217673c1dc80d022a461285636a4bd', class: "xpl-banner__icon", "aria-hidden": "true" }, hAsync("xpl-icon", { key: 'f91c24c80d30d8c784c4fa96e8a3829243705436', icon: this.getIcon(), size: 24 }))), hAsync("div", { key: 'edbcd267f1ad434adc4b2a05ce598fab3c2e6df6', class: "xpl-banner__body" }, isHeadingPresent && hAsync("p", { key: 'd3416ba50362753dd22e2c7e4097159bedf9f8c4', class: "xpl-banner__heading" }, this.heading), isDescPresent && (hAsync("p", { key: 'b899e18bce636d21cec109cd3a7933907877d32a', class: "xpl-banner__description", title: this.truncateDesc ? this.description : undefined }, this.description))), (hasAction || hasSecondaryAction) && (hAsync("div", { key: '702098d0a58e9327adba65a1b5d9ab9381eabfee', class: "xpl-banner__actions" }, hasAction && (hAsync("xpl-button", { key: '73e9a4609e1d8f9a21d096369def97a864dc7ed7', size: "xs", variant: actionVariant, state: actionState, onClick: () => this.action.emit() }, this.actionText)), hasSecondaryAction && (hAsync("xpl-button", { key: 'e8449c8728aa9336c51fe0fd4f012452730eb816', size: "xs", variant: actionVariant, state: actionState, onClick: () => this.secondaryAction.emit() }, this.secondaryActionText)))), this.isDismissible && (hAsync("button", { key: '9b46dcb8aac285b0fc4a8d60132dd99d756d61c3', class: "xpl-banner__dismiss", type: "button", "aria-label": `Dismiss ${this.isSection ? 'section ' : ''}banner`, onClick: () => this.dismiss.emit() }, hAsync("xpl-icon", { key: 'd0299f4467685505ab2712a985c09ed2d12e90a4', icon: "xmark", size: 24, "aria-hidden": "true" })))));
5381
5381
  }
5382
5382
  static get cmpMeta() { return {
5383
5383
  "$flags$": 0,
@@ -5408,7 +5408,7 @@ class BreadcrumbItem {
5408
5408
  `;
5409
5409
  }
5410
5410
  render() {
5411
- return (hAsync(Host, { key: 'eab64a8e1acfe7fb6596193a250f8937ac6f5481', class: "xpl-breadcrumb-item", role: "listitem" }, hAsync("li", { key: 'ff781ce68e230191700449039b89d9a0fefd1e50', role: "none" }, hAsync("slot", { key: '854ef8e0dc29ebe5f782b5ee0dbe0e710015b40c' })), hAsync("span", { key: 'ba0ea70bf123b7c6405b8c3add0c87714ed80e15', innerHTML: this.chevron })));
5411
+ return (hAsync(Host, { key: '7183a61283e558218b0ab031b4751c8a0adceccf', class: "xpl-breadcrumb-item", role: "listitem" }, hAsync("li", { key: 'dbd92cb1dbda6fae79786dc0445bed7d7c77334f', role: "none" }, hAsync("slot", { key: 'aed0551ce683fce1886d2e4263ad817201471e61' })), hAsync("span", { key: 'eb62adcc50b5da568c953263ebe6e3dc185c60c1', innerHTML: this.chevron })));
5412
5412
  }
5413
5413
  static get cmpMeta() { return {
5414
5414
  "$flags$": 260,
@@ -5425,7 +5425,7 @@ class Breadcrumbs {
5425
5425
  registerInstance(this, hostRef);
5426
5426
  }
5427
5427
  render() {
5428
- return (hAsync(Host, { key: '63e77e937ec359fdac15cf8a48673176696395bc' }, hAsync("nav", { key: '6bf6c1b401d010676b7317d9356aac5e4893fd1b', class: "xpl-breadcrumbs", "aria-label": "Breadcrumb" }, hAsync("ol", { key: '177206147c779f29a20369e49852d11ba0d990d5', role: "list" }, hAsync("slot", { key: '9cdadc4378fa2da5a3c0213c46c58f8701472b80' })))));
5428
+ return (hAsync(Host, { key: 'da8bca6508913f46c473f8d97bfd7dc6dd45bce5' }, hAsync("nav", { key: 'c9967a3ea464361b820e1c8354ee646cc13677e8', class: "xpl-breadcrumbs", "aria-label": "Breadcrumb" }, hAsync("ol", { key: '57791a5a8d72a9f25d0e9d43eac87044d8115f4a', role: "list" }, hAsync("slot", { key: 'b6c7658b88b190130352d096a9b8b1b7e83f7839' })))));
5429
5429
  }
5430
5430
  static get cmpMeta() { return {
5431
5431
  "$flags$": 260,
@@ -5493,7 +5493,7 @@ class Button {
5493
5493
  }
5494
5494
  }
5495
5495
  render() {
5496
- return (hAsync(Host, { key: 'd46884793521c327622838ceca0af98ec897912b', class: {
5496
+ return (hAsync(Host, { key: '0e9841bd097a28e6745efddaf0d528d1f23f799d', class: {
5497
5497
  'xpl-button': true,
5498
5498
  [`xpl-button--${this.size}`]: true,
5499
5499
  [`xpl-button--${this.variant}`]: true,
@@ -5549,7 +5549,7 @@ class ButtonRow {
5549
5549
  this.onTertiary = () => this.clickTertiary.emit();
5550
5550
  }
5551
5551
  render() {
5552
- return (hAsync(Host, { key: 'de570ef3de32367d44cfaa7004e749a51bc6fde9', class: "xpl-button-row" }, hAsync("div", { key: '6bafe5cbb76355b987023cab4d1530e71065ea55', class: "xpl-button-row-inner" }, hAsync("div", { key: '09ab6b0f3b7ed5790b675520d445ed3279224c3c', class: "xpl-button-row__left" }, this.secondary && (hAsync("xpl-button", { key: '8f08a18126a27e6f1a72d8609e5533f466c3a88b', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary))), hAsync("div", { key: '0df1b38697afee3eb45af00989baac17ae2a2d00', class: "xpl-button-row__right" }, this.tertiary && (hAsync("xpl-button", { key: '289a41a34091201ecba3af76ed2ab86c84341ba4', variant: "subtle", type: "button", onClick: this.onTertiary }, this.tertiary)), this.secondary && (hAsync("xpl-button", { key: '742dd05eea13de9ccc2747b0146c3779bd7b4e66', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary)), this.primary && (hAsync("xpl-button", { key: '0eafc10b3d2b8f70d0f18a3ef0798ca6250ee0d5', class: "xpl-button-row__primary", onClick: this.onPrimary }, this.primary))))));
5552
+ return (hAsync(Host, { key: '775133c0e49878db9861212167b4af14241f39b7', class: "xpl-button-row" }, hAsync("div", { key: 'cb0bf58d6624380730d56fbcb67746bef02f1623', class: "xpl-button-row-inner" }, hAsync("div", { key: 'c857f0383c85129273ee2bdd3572a05ead4682ae', class: "xpl-button-row__left" }, this.secondary && (hAsync("xpl-button", { key: '863e665b97686490b5a8df1b94303ab369eb9bf0', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary))), hAsync("div", { key: 'c5f244acf020f0cb3be4994fafe92161428a7289', class: "xpl-button-row__right" }, this.tertiary && (hAsync("xpl-button", { key: '9766e4e5ff3cd7e3f2202764edf9b3c3221b7ea8', variant: "subtle", type: "button", onClick: this.onTertiary }, this.tertiary)), this.secondary && (hAsync("xpl-button", { key: '981384abd21328e229f28a345eef129cb96cbdc8', variant: "secondary", type: "button", onClick: this.onSecondary }, this.secondary)), this.primary && (hAsync("xpl-button", { key: 'f141d9bff96edd8c74bd19745e7a259005ebc12e', class: "xpl-button-row__primary", onClick: this.onPrimary }, this.primary))))));
5553
5553
  }
5554
5554
  static get cmpMeta() { return {
5555
5555
  "$flags$": 0,
@@ -8288,7 +8288,7 @@ class Calendar {
8288
8288
  }
8289
8289
  }
8290
8290
  render() {
8291
- return (hAsync(Host, { key: '871a989fee5abc19ac9e00fca79534dd79b0a773', class: "xpl-calendar" }, hAsync("input", { key: '3dc76b7045ac76ff76d2f1ca80625034aff7d013', class: "xpl-calendar-input", type: "text", id: this.calendarInputId, ref: (el) => {
8291
+ return (hAsync(Host, { key: 'b82a13403c12cdcfa676caeddcd397cd264eb9ec', class: "xpl-calendar" }, hAsync("input", { key: '0fba8e4e4b052bfed0e883c3455f63e8549c4263', class: "xpl-calendar-input", type: "text", id: this.calendarInputId, ref: (el) => {
8292
8292
  if (el)
8293
8293
  this.inputElement = el;
8294
8294
  } })));
@@ -8323,14 +8323,14 @@ class Checkbox {
8323
8323
  };
8324
8324
  }
8325
8325
  render() {
8326
- return (hAsync(Host, { key: 'd16058b571f7af6d2a83cbdce15b12bccadf0036', class: {
8326
+ return (hAsync(Host, { key: '300304af622ef0f26d53df76c20e27990a7b71d4', class: {
8327
8327
  'xpl-checkbox-radio-container': true,
8328
8328
  styled: !!this.styled,
8329
8329
  disabled: !!this.disabled,
8330
- } }, hAsync("input", { key: '1001a243623e338fc4fefc9f58f251439c2fb74f', class: "xpl-checkbox", type: "checkbox", "aria-label": (this.ariaLabel ?? '').trim() || undefined, checked: this.checked, "data-id": this.dataId, disabled: this.disabled, id: this.id, indeterminate: this.indeterminate, onChange: this.onChange, name: this.name, required: this.required, value: this.value }), hAsync("label", { key: '37e85b721cef98c8ccc448e08dbf9d9c968bd0a6', class: {
8330
+ } }, hAsync("input", { key: '43b393bae1a48af0cd14f577cf3164d034e3aa3f', class: "xpl-checkbox", type: "checkbox", "aria-label": (this.ariaLabel ?? '').trim() || undefined, checked: this.checked, "data-id": this.dataId, disabled: this.disabled, id: this.id, indeterminate: this.indeterminate, onChange: this.onChange, name: this.name, required: this.required, value: this.value }), hAsync("label", { key: 'fcd3c7867ff3a8073bcd48aed8fb22c587f38ab0', class: {
8331
8331
  'xpl-label': true,
8332
8332
  'xpl-label--disabled': !!this.disabled,
8333
- }, htmlFor: this.id }, hAsync("slot", { key: 'ef36d317d97e26098396b1131a1acce6bce5ae8f' }), this.description && (hAsync("small", { key: '9d710e4fa3f366965307908ca2e216ac46310f30', class: {
8333
+ }, htmlFor: this.id }, hAsync("slot", { key: 'd2ddc28e2b6c310f800efd13aaf8b6b718146e51' }), this.description && (hAsync("small", { key: '573a2af2584d91da251b974c56999529c06ad9d0', class: {
8334
8334
  'xpl-description': true,
8335
8335
  'xpl-description--disabled': !!this.disabled,
8336
8336
  } }, this.description)))));
@@ -8396,7 +8396,7 @@ class Choicelist {
8396
8396
  this.onChoicesPropChange(this.choices);
8397
8397
  }
8398
8398
  render() {
8399
- return (hAsync(Host, { key: '0db2f4a4109a65ae2ab01259b960f83dd3b8bbeb', class: "xpl-choicelist-container" }, this.heading !== undefined || this.description !== undefined ? (hAsync("div", { class: "xpl-choicelist-heading" }, this.heading && hAsync("h3", null, this.heading), this.description && hAsync("p", null, this.description))) : null, this.choices && (hAsync("ul", { key: '53915c9efd628e455b5604f4eacbc67504a52ca5', class: {
8399
+ return (hAsync(Host, { key: '618280baaf3f3e5d6b2787e74a257858a2a94a26', class: "xpl-choicelist-container" }, this.heading !== undefined || this.description !== undefined ? (hAsync("div", { class: "xpl-choicelist-heading" }, this.heading && hAsync("h3", null, this.heading), this.description && hAsync("p", null, this.description))) : null, this.choices && (hAsync("ul", { key: '3d728d5612ea9efe80325cb09b98f5cf3146a813', class: {
8400
8400
  'xpl-choicelist': true,
8401
8401
  'xpl-choicelist--styled': !!this.styled,
8402
8402
  } }, this.choices.map((choice, i) => {
@@ -8441,7 +8441,7 @@ class ContentArea {
8441
8441
  this.size = 'wide';
8442
8442
  }
8443
8443
  render() {
8444
- return (hAsync(Host, { key: '97fd281e5aa7ba1805f1424e80d6018ca5fdafe0' }, hAsync("main", { key: '6a6f315e74225f66105874998c679183f2c743f5', class: `xpl-content-area-wrapper xpl-content-area-wrapper__${this.size}` }, hAsync("div", { key: 'c46017f1a0fd8b278f7b817de82629eb777515fd', class: "xpl-content-area" }, hAsync("slot", { key: 'cc6d45297d23770880778810952f7e95445bb800' })))));
8444
+ return (hAsync(Host, { key: '30c120a2eb2998222057ec07e5904cc1d8522f88' }, hAsync("main", { key: 'c4d94b67ece358f50577b5b26793a31fa58b5ad2', class: `xpl-content-area-wrapper xpl-content-area-wrapper__${this.size}` }, hAsync("div", { key: '162e32db10f359d86cbe80fa881f9866b8a9e14e', class: "xpl-content-area" }, hAsync("slot", { key: '065c2851622f7817ab6ceb5fe5b23cd19a1408ed' })))));
8445
8445
  }
8446
8446
  static get cmpMeta() { return {
8447
8447
  "$flags$": 260,
@@ -8460,7 +8460,7 @@ class Dashboard {
8460
8460
  registerInstance(this, hostRef);
8461
8461
  }
8462
8462
  render() {
8463
- return (hAsync(Host, { key: '65628c79753f54949bfe0a6dfede9bf4e09cf585' }, hAsync("dl", { key: 'aa6444eea3322331350fbc1b0db6b23e316d393e', class: "xpl-dashboard" }, hAsync("slot", { key: '3b54ed1755a0cc72ef5527afafdf156660afcfdf' }))));
8463
+ return (hAsync(Host, { key: '6551b0e202b00dc8c584c4368bfabdb388433016' }, hAsync("dl", { key: '126b026852d0de7040ce26736eb850fa31bfc1f3', class: "xpl-dashboard" }, hAsync("slot", { key: '262977ead7f8f9d15e61a20368bb1a3584b4fd8b' }))));
8464
8464
  }
8465
8465
  static get cmpMeta() { return {
8466
8466
  "$flags$": 260,
@@ -8570,8 +8570,8 @@ class DataCard {
8570
8570
  : this.smallStatVariant === 'negative'
8571
8571
  ? 'arrow-down-right'
8572
8572
  : 'dash';
8573
- return (hAsync(Host, { key: '05aef87fdbc999cc563d9da2ae6207ffce5351cf', role: "group", class: `xpl-data-card ${this.link ? 'xpl-data-card__link' : ''}`, tabindex: "0" }, hAsync("dt", { key: '833d00cd995e5d9f96c70e6f1af04f260076aea7', class: headerClasses }, hAsync("header", { key: '283890fe21047be8ee81b64588a686f4f6339d28' }, !!this.leadingIcon && this.icon && (hAsync("span", { key: '2c3e365280efb2c6c18a7d08261fc30e8d808da3', class: `xpl-data-card__icon--${this.variant}` }, hAsync("xpl-icon", { key: '3564e1275b28e1693a45c51b4fc7936317b62e2f', icon: this.icon, "background-color": bgColorHue, size: 20 }))), hAsync("slot", { key: 'd5469c77ca2a1ec16e702ee8ab94c230dbbe742a', name: "title" }, this.name)), this.link && (hAsync("span", { key: '7a560cecc871b0e223372ecca08129d9f95d2c6e', class: "xpl-data-card__header-arrow" }, hAsync("xpl-icon", { key: 'f85ebee53967bc2ddd78291aaa63c85145d74930', icon: "chevron-right", size: 16 })))), hAsync("dd", { key: 'c19eb772979606076a22f72b8ecb4261f7371374', class: "xpl-data-card__body" }, hAsync("div", { key: '1ab9f94a29394608a18990ad4a06a663abd2f0a6', class: "xpl-data-card__left" }, hAsync("span", { key: '41d8633f93cf7e2c220df4b51768e9b7c2295474', class: "xpl-data-card-stat xpl-data-card-stat--long" }, this.stat), this.tooltipTextStat ? (hAsync("xpl-tooltip", { text: this.tooltipTextStat }, hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--short" }, this.shortStat ? this.shortStat : this.stat))) : (hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--short" }, hAsync("abbr", { title: this.stat }, this.shortStat ? this.shortStat : this.stat))), this.smallStatVariant ? (this.tooltipTextSmallStat ? (hAsync("xpl-tooltip", { text: this.tooltipTextSmallStat }, hAsync("div", { class: `xpl-data-card-stat xpl-data-card-stat--small ${this.smallStatVariant}` }, hAsync("xpl-icon", { icon: smallStatIcon, size: 16 }), this.smallStat))) : (hAsync("div", { class: `xpl-data-card-stat xpl-data-card-stat--small ${this.smallStatVariant}` }, hAsync("xpl-icon", { icon: smallStatIcon, size: 16 }), this.smallStat))) : (this.smallStatIcon &&
8574
- (this.tooltipTextSmallStat ? (hAsync("xpl-tooltip", { text: this.tooltipTextSmallStat }, hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--small" }, hAsync("xpl-icon", { icon: this.smallStatIcon, size: 16 }), this.smallStat))) : (hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--small" }, hAsync("xpl-icon", { icon: this.smallStatIcon, size: 16 }), this.smallStat)))), !!this.detail && hAsync("span", { key: '5dfcb6891ce3529bee2f240d85238a895ea6c61d', class: "xpl-data-card__detail" }, this.detail)), this.graphContentPresent && (hAsync("div", { key: '5b58f77c7a49e1aa157b73feb63e4ef1b5d36c0a', class: "xpl-data-card__right" }, hAsync("slot", { key: '962482c44556b3722119cace638ea176af2f9533', name: GRAPH_CONTENT_SLOT$1 }))))));
8573
+ return (hAsync(Host, { key: '7c4e576cefe0b23b431aa2a73ca246fec0bb8db6', role: "group", class: `xpl-data-card ${this.link ? 'xpl-data-card__link' : ''}`, tabindex: "0" }, hAsync("dt", { key: 'e5907b183be449b87b2b5c46f17b2c7c97a07f66', class: headerClasses }, hAsync("header", { key: '234988a87297a90565614c16e7a30a18a7b5aeb2' }, !!this.leadingIcon && this.icon && (hAsync("span", { key: '462d1f7a090eefb04be255c37a19d05c8365bf35', class: `xpl-data-card__icon--${this.variant}` }, hAsync("xpl-icon", { key: '334a676cbbf353de77fd173fbeb786820694d6d0', icon: this.icon, "background-color": bgColorHue, size: 20 }))), hAsync("slot", { key: '9f933f8307c0ee4289ab03971261d947ac3a71c3', name: "title" }, this.name)), this.link && (hAsync("span", { key: 'eb5e62387de08b5d588b702cdb06522a18f6d0ff', class: "xpl-data-card__header-arrow" }, hAsync("xpl-icon", { key: 'f0c210320683fa98dc15e89cef7ba0351ae8b54f', icon: "chevron-right", size: 16 })))), hAsync("dd", { key: 'a18c3f4800e6719a659e8ad1ebb9b61d4c59235a', class: "xpl-data-card__body" }, hAsync("div", { key: '0ea86cf8297a15c2ac3694df4ecedbce2a967239', class: "xpl-data-card__left" }, hAsync("span", { key: 'd3daf019480ee66cfd9c1fff5e57cad87dab9b6e', class: "xpl-data-card-stat xpl-data-card-stat--long" }, this.stat), this.tooltipTextStat ? (hAsync("xpl-tooltip", { text: this.tooltipTextStat }, hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--short" }, this.shortStat ? this.shortStat : this.stat))) : (hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--short" }, hAsync("abbr", { title: this.stat }, this.shortStat ? this.shortStat : this.stat))), this.smallStatVariant ? (this.tooltipTextSmallStat ? (hAsync("xpl-tooltip", { text: this.tooltipTextSmallStat }, hAsync("div", { class: `xpl-data-card-stat xpl-data-card-stat--small ${this.smallStatVariant}` }, hAsync("xpl-icon", { icon: smallStatIcon, size: 16 }), this.smallStat))) : (hAsync("div", { class: `xpl-data-card-stat xpl-data-card-stat--small ${this.smallStatVariant}` }, hAsync("xpl-icon", { icon: smallStatIcon, size: 16 }), this.smallStat))) : (this.smallStatIcon &&
8574
+ (this.tooltipTextSmallStat ? (hAsync("xpl-tooltip", { text: this.tooltipTextSmallStat }, hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--small" }, hAsync("xpl-icon", { icon: this.smallStatIcon, size: 16 }), this.smallStat))) : (hAsync("div", { class: "xpl-data-card-stat xpl-data-card-stat--small" }, hAsync("xpl-icon", { icon: this.smallStatIcon, size: 16 }), this.smallStat)))), !!this.detail && hAsync("span", { key: '61bb7ebb508ead51c8c7dbbe1513822c65675fc5', class: "xpl-data-card__detail" }, this.detail)), this.graphContentPresent && (hAsync("div", { key: '6325676d2bbc0210e5d46ec72a5f8cb7d916d255', class: "xpl-data-card__right" }, hAsync("slot", { key: '96775ee066bcea7b8e418132b8125857cf197cbc', name: GRAPH_CONTENT_SLOT$1 }))))));
8575
8575
  }
8576
8576
  get el() { return getElement(this); }
8577
8577
  static get watchers() { return {
@@ -8614,7 +8614,7 @@ class Divider {
8614
8614
  render() {
8615
8615
  let className = 'xpl-divider';
8616
8616
  className += ` xpl-divider--${this.tier}`;
8617
- return (hAsync(Host, { key: '942681efa6bd2c3806109240a5ac5c179b112551', class: className }, hAsync("span", { key: 'ce0b0ada57e7a51319260c88c10e411e3aaf2992' }, hAsync("slot", { key: 'da50f574acdf87def6ff77ef743bf38cc8717a79' }))));
8617
+ return (hAsync(Host, { key: '4c1cdecc3ed6e9440668e413df897e23d9f7d679', class: className }, hAsync("span", { key: 'bb85cd26e6565c1f1ec150fca99fe965957878cb' }, hAsync("slot", { key: '37d5a8f75d26f6ba545aa1c12c4e7634b8dd1b6c' }))));
8618
8618
  }
8619
8619
  static get cmpMeta() { return {
8620
8620
  "$flags$": 260,
@@ -10764,7 +10764,7 @@ class Dropdown {
10764
10764
  const shouldVirtualize = this.isVirtualized;
10765
10765
  let listContent;
10766
10766
  if (!hasOptions) {
10767
- listContent = hAsync("slot", { key: '1673c7d33d7dc1d16bf56081df85976ed389a38f', name: "options" });
10767
+ listContent = hAsync("slot", { key: 'da24352c25525fb0f20a86804889ceef4eed67f0', name: "options" });
10768
10768
  }
10769
10769
  else if (shouldVirtualize) {
10770
10770
  const { rowHeight, overscan } = VIRTUAL_LIST;
@@ -10772,18 +10772,18 @@ class Dropdown {
10772
10772
  const start = Math.min(this.virtualStart, total);
10773
10773
  const fallbackEnd = Math.min(total, Math.ceil(300 / rowHeight) + overscan * 2);
10774
10774
  const end = this.virtualEnd > start ? this.virtualEnd : fallbackEnd;
10775
- listContent = (hAsync("li", { key: '94094d9464c2f4ded9714f7ed16ca2b426c19794', class: "xpl-dropdown__virtual-sizer", style: { height: `${total * rowHeight}px` } }, options.slice(start, end).map((option, i) => renderOption(option, start + i))));
10775
+ listContent = (hAsync("li", { key: '356b1871de0539aee6ac085e59d4861cdb7db135', class: "xpl-dropdown__virtual-sizer", style: { height: `${total * rowHeight}px` } }, options.slice(start, end).map((option, i) => renderOption(option, start + i))));
10776
10776
  }
10777
10777
  else {
10778
10778
  listContent = options.map((option) => renderOption(option));
10779
10779
  }
10780
- return (hAsync(Host, { key: '6e2fe2b904530c7966a23b3715485ea9ed415880', "aria-expanded": isOpen ? 'true' : 'false', class: {
10780
+ return (hAsync(Host, { key: 'f34a4f503feb2050100db75a40f21959aca8e74e', "aria-expanded": isOpen ? 'true' : 'false', class: {
10781
10781
  'xpl-dropdown': true,
10782
10782
  'xpl-dropdown--multi': mode === 'multi',
10783
10783
  'xpl-dropdown--open': isOpen,
10784
10784
  'xpl-dropdown--anchor-to-trigger': this.anchorToTrigger,
10785
10785
  'xpl-dropdown--virtualized': shouldVirtualize,
10786
- }, role: "listbox" }, hAsync("slot", { key: 'b9c87382e07b23b326fab22b8423021f8c4a83f8', name: "header" }), hAsync("ul", { key: '3824b650e2bbcb09fdea7f25ab19afa9a7dd8abe', class: "xpl-dropdown-list", ref: (el) => {
10786
+ }, role: "listbox" }, hAsync("slot", { key: 'dee58bc149835d2c4e1328fd92c780f75bea0499', name: "header" }), hAsync("ul", { key: '32bec73cc8b67bd38df5231b3049c897a9d36c4e', class: "xpl-dropdown-list", ref: (el) => {
10787
10787
  this.setListEl(el);
10788
10788
  }, onScroll: shouldVirtualize ? this.handleVirtualScroll : undefined }, listContent)));
10789
10789
  }
@@ -10845,7 +10845,7 @@ class DropdownGroup {
10845
10845
  const hasOptions = options && options.length;
10846
10846
  const mappedOptions = hasOptions &&
10847
10847
  options.map(({ groupName: optsGroupName, ...properties }) => optsGroupName ? (hAsync("xpl-dropdown-group", { label: optsGroupName, ...properties })) : (hAsync("xpl-dropdown-option", { ...properties })));
10848
- return (hAsync(Host, { key: '232eccef872d6563c056b3b709d3a741473de2b0', role: "group", "aria-label": groupName }, hAsync("li", { key: '2185c7b55139ab7b144290c94ab53675a6224b46', class: "xpl-dropdown-list-item" }, hAsync("xpl-dropdown-heading", { key: '26c0d13d0742fd34eb629c668bd929e5541fffb8', label: groupName }), hAsync("ul", { key: '0f13b81deda008bf0588393ff1a4102a5c7a171d', class: "xpl-dropdown-list" }, mappedOptions || hAsync("slot", { key: '70cf6f662d1471c815f5e7c747080d7558efe407', name: "options" })))));
10848
+ return (hAsync(Host, { key: '765c69b589275544bc312a60036a22345509b105', role: "group", "aria-label": groupName }, hAsync("li", { key: '6dfa766bd675e0579e8608aa0b202f63e2be2635', class: "xpl-dropdown-list-item" }, hAsync("xpl-dropdown-heading", { key: '42cb1a573126edee7f1a01397988d6e9d952ead3', label: groupName }), hAsync("ul", { key: 'f443eba9c19554eea7997a47252816a39660d9a7', class: "xpl-dropdown-list" }, mappedOptions || hAsync("slot", { key: '60d3bff8026d96197a3482cd7e58807cfc02df2b', name: "options" })))));
10849
10849
  }
10850
10850
  static get cmpMeta() { return {
10851
10851
  "$flags$": 260,
@@ -10865,7 +10865,7 @@ class DropdownHeading {
10865
10865
  registerInstance(this, hostRef);
10866
10866
  }
10867
10867
  render() {
10868
- return (hAsync(Host, { key: '04265224adcc5b65f53d2e35d0cfef470931ce41', class: { 'xpl-dropdown-heading': true }, role: "presentation" }, hAsync("span", { key: '27293255cdfe35d207f3f0155beae3dc4b737e0d' }, this.label || hAsync("slot", { key: 'b5bbee144360b2e5da681864e3dae6c2cafd2552', name: "heading" }))));
10868
+ return (hAsync(Host, { key: 'fbd0029d191d8d81c3d316ac1cb2c51173da29b8', class: { 'xpl-dropdown-heading': true }, role: "presentation" }, hAsync("span", { key: 'd585dc509d918142589c1874e173b369c1c2a822' }, this.label || hAsync("slot", { key: '67b72339653dce321acedfd14befcfe5335edf43', name: "heading" }))));
10869
10869
  }
10870
10870
  static get cmpMeta() { return {
10871
10871
  "$flags$": 260,
@@ -10934,11 +10934,11 @@ class DropdownOptionCpnt {
10934
10934
  }
10935
10935
  render() {
10936
10936
  const { label, isSelected, isDisabled, value, subtitle, icon } = this;
10937
- return (hAsync(Host, { key: 'f4fa4b0a3150fafd4b1c259aa140925219487898', class: {
10937
+ return (hAsync(Host, { key: '3e8fe525f44d24414926664c8475344b3e57eb53', class: {
10938
10938
  'xpl-dropdown-option': true,
10939
10939
  'xpl-dropdown-option--disabled': !!isDisabled,
10940
10940
  'xpl-dropdown-option--selected': !!isSelected,
10941
- }, role: "option", "aria-checked": isSelected, "aria-disabled": isDisabled, "aria-selected": isSelected, value: value }, hAsync("li", { key: '417af38233cd4765cc54a0cc4541bb5caeaf10ab', class: "xpl-dropdown-list-item" }, icon && (hAsync("xpl-icon", { key: '48cbe69b056142ce5ef5cd6c608a99f1defd2e9f', class: "xpl-dropdown-list-item__icon", icon: icon, size: 20 })), label || hAsync("slot", { key: '14b86d61bab431487cdef906a0a9b138d6ab4bbb', name: "option" }), subtitle && hAsync("span", { key: 'c7ff5ee61b08f7a94d107183127c0b9cff0b49b5', class: "xpl-dropdown-list-item__subtitle" }, subtitle))));
10941
+ }, role: "option", "aria-checked": isSelected, "aria-disabled": isDisabled, "aria-selected": isSelected, value: value }, hAsync("li", { key: '4262100b3ea2e62575f8eaad8908d9379a8ea05c', class: "xpl-dropdown-list-item" }, icon && (hAsync("xpl-icon", { key: '7505fcdc35b15b6e97a4753525cee7232244fa6e', class: "xpl-dropdown-list-item__icon", icon: icon, size: 20 })), label || hAsync("slot", { key: '35b00d7aa187a38b1f9d78425189764d9b8575d8', name: "option" }), subtitle && hAsync("span", { key: 'e1dac23f7e07df9e89c90625f48eeddbd8daf77a', class: "xpl-dropdown-list-item__subtitle" }, subtitle))));
10942
10942
  }
10943
10943
  get hostElement() { return getElement(this); }
10944
10944
  static get cmpMeta() { return {
@@ -11002,10 +11002,10 @@ class DynamicTable {
11002
11002
  this.updateColumnCount();
11003
11003
  }
11004
11004
  render() {
11005
- return (hAsync("div", { key: '9fdd0a6b9adfad92d89ff30873009e08ca981124', role: "grid", class: {
11005
+ return (hAsync("div", { key: '223e082cd5124d2f495e65058c4742ab6a28f5cf', role: "grid", class: {
11006
11006
  'xpl-dynamic-table': true,
11007
11007
  'xpl-dynamic-table--accordion': this.hasAccordion,
11008
- }, "aria-colcount": this.colCount }, hAsync("slot", { key: 'a105d82f752d34618a0603c59f85ea9e2ee6c3dd', name: "header" }), hAsync("slot", { key: '24817b404a5a6f50ab1f17674a85391a8645f728', name: "body" })));
11008
+ }, "aria-colcount": this.colCount }, hAsync("slot", { key: 'a808231d98db51ddb01ada49d69ae468cd721603', name: "header" }), hAsync("slot", { key: '4eb9d10764e8d81e5c6d9f80fc9d470c2d34e969', name: "body" })));
11009
11009
  }
11010
11010
  get el() { return getElement(this); }
11011
11011
  static get cmpMeta() { return {
@@ -11045,9 +11045,9 @@ class DynamicTableCell {
11045
11045
  const colIndex = this.el.parentElement
11046
11046
  ? Array.from(this.el.parentElement.children).indexOf(this.el) + 1
11047
11047
  : 0;
11048
- return (hAsync(Host, { key: '6a4eea3dcf826a18c24068acea56dc63261220f4', role: "gridcell", "aria-colindex": colIndex, class: "xpl-dynamic-table-cell", ref: (el) => {
11048
+ return (hAsync(Host, { key: 'bdc80cc13051a57294f5a8eef938ffc92f7108b4', role: "gridcell", "aria-colindex": colIndex, class: "xpl-dynamic-table-cell", ref: (el) => {
11049
11049
  this.hostElement = el ?? undefined;
11050
- } }, hAsync("slot", { key: '138598bb74c49c32b649f0955a53cb8ea479e04f' })));
11050
+ } }, hAsync("slot", { key: '743946a9ee87d85eb9e0e414f9688e249b7694a3' })));
11051
11051
  }
11052
11052
  get el() { return getElement(this); }
11053
11053
  static get cmpMeta() { return {
@@ -11088,9 +11088,9 @@ class DynamicTableRow {
11088
11088
  const classList = `xpl-dynamic-table-row
11089
11089
  ${this.isDisabled ? 'disabled' : ''}
11090
11090
  ${this.selected ? 'selected' : ''}`;
11091
- return (hAsync(Host, { key: '4b0e558771154ca42ab57235d9b38861831d7eeb', role: "row", class: classList, ref: (el) => {
11091
+ return (hAsync(Host, { key: '5d91af6b6055646118e882b9e4ac1c0fe9003e06', role: "row", class: classList, ref: (el) => {
11092
11092
  this.hostElement = el ?? undefined;
11093
- } }, hAsync("slot", { key: '8b2b1a78d797c9a5fcaa8b31db2a41f57335b683' })));
11093
+ } }, hAsync("slot", { key: 'e3ed1a18b1d7187bf03f9c6633c276e1fb90d029' })));
11094
11094
  }
11095
11095
  static get cmpMeta() { return {
11096
11096
  "$flags$": 260,
@@ -11132,7 +11132,7 @@ class Grid {
11132
11132
  });
11133
11133
  }
11134
11134
  render() {
11135
- return hAsync(Host, { key: '94440d9d2f50c8712e7e4599409101da361f66d8', class: "xpl-grid" });
11135
+ return hAsync(Host, { key: '4074778ac031d36c8f530379f7cc55b7db8a6887', class: "xpl-grid" });
11136
11136
  }
11137
11137
  get container() { return getElement(this); }
11138
11138
  static get cmpMeta() { return {
@@ -11159,7 +11159,7 @@ class GridItem {
11159
11159
  className += ` xpl-grid-item-sm-${this.sm}`;
11160
11160
  className += ` xpl-grid-item-md-${this.md}`;
11161
11161
  className += ` xpl-grid-item-lg-${this.lg}`;
11162
- return (hAsync(Host, { key: '0fc1d60f8f0d0df7208302a3668930afdb1dc5ba', class: className }, hAsync("slot", { key: '0385c17beb3982d060b4e2a4bdd0fd16f924a0d3' })));
11162
+ return (hAsync(Host, { key: '7c2e5c06f0751cf0a6bc6d80c12939e0f4c194ee', class: className }, hAsync("slot", { key: '2fc5ed1542e50c826bec55e1f106c49ef19c1a38' })));
11163
11163
  }
11164
11164
  static get cmpMeta() { return {
11165
11165
  "$flags$": 260,
@@ -11230,7 +11230,7 @@ class HeaderAccordion {
11230
11230
  this.updateParentCheckbox(initialCheckoxesValue);
11231
11231
  }
11232
11232
  render() {
11233
- return (hAsync(Host, { key: '7a9c486fd491732cafa29086b3e3edab9090fcef', class: "xpl-header-accordion" }, hAsync("div", { key: 'c63b756d6336e89b7976fb9a072782ed9d67a7c9', class: `header-accordion header-accordion--${this.expanded ? 'expanded' : 'collapsed'}` }, this.hasCheckbox && (hAsync("xpl-checkbox", { key: '65d41ff6f70d0cc9022f0337335305737a23617d', class: "xpl-header-accordion__parent-checkbox", checked: this.parentChecked, disabled: this.disabled, indeterminate: this.parentIndeterminate, onCheckboxChange: (event) => this.handleParentCheckboxChange(event.detail) })), hAsync("button", { key: '514f9bfe4a024416b8a4e152472c2bd7bbe3ab1d', "aria-expanded": this.expanded, "aria-controls": this.contentId, class: "toggle-area", onClick: this.toggleAccordion, type: "button" }, hAsync("slot", { key: '29a2434b4a4be46751f4425b7837f11324547e1a', name: "title" }), hAsync("xpl-icon", { key: 'cf2e043da31d9845e6b4db91022f67c3abb4918d', size: 16, icon: "chevron-down", class: this.expanded ? 'rotate' : undefined }))), hAsync("div", { key: '6bcc05f2ebf545ef67fa7cf1e3bb1e6f39f0f170', id: this.contentId, role: "region", class: !this.expanded ? 'content--hidden' : 'content--shown' }, hAsync("slot", { key: '6bbcd7e23979d93d88168f173766f86701ecc382', name: "content" }))));
11233
+ return (hAsync(Host, { key: '6181aa606ed8062474d9e369558a0d4367ec06be', class: "xpl-header-accordion" }, hAsync("div", { key: '17516c087ec1818ef9be08b79abd0e69ee6e499b', class: `header-accordion header-accordion--${this.expanded ? 'expanded' : 'collapsed'}` }, this.hasCheckbox && (hAsync("xpl-checkbox", { key: '709c1055c22c7328de3a36fd265d57e616e13f39', class: "xpl-header-accordion__parent-checkbox", checked: this.parentChecked, disabled: this.disabled, indeterminate: this.parentIndeterminate, onCheckboxChange: (event) => this.handleParentCheckboxChange(event.detail) })), hAsync("button", { key: '9392aaf81db32af32c2fa3bff445a53fd0e8a324', "aria-expanded": this.expanded, "aria-controls": this.contentId, class: "toggle-area", onClick: this.toggleAccordion, type: "button" }, hAsync("slot", { key: '6019b35676f13debe6cff89bcc9f90542a640628', name: "title" }), hAsync("xpl-icon", { key: '4c381cf9324e1348d1f26c7150b31945e264f4ca', size: 16, icon: "chevron-down", class: this.expanded ? 'rotate' : undefined }))), hAsync("div", { key: '0c96d5d10f7d82844c473e595fce1624234585b3', id: this.contentId, role: "region", class: !this.expanded ? 'content--hidden' : 'content--shown' }, hAsync("slot", { key: 'fc6ae8bc852d115475acbe269e3e82d89b7ae755', name: "content" }))));
11234
11234
  }
11235
11235
  get el() { return getElement(this); }
11236
11236
  static get watchers() { return {
@@ -25251,10 +25251,10 @@ class Icon {
25251
25251
  let wrapperClasses = 'xpl-icon__wrapper ';
25252
25252
  if (this.backgroundColor)
25253
25253
  wrapperClasses += `xpl-icon__wrapper--with-background xpl-icon__wrapper--with-background--${this.backgroundColor}`;
25254
- return (hAsync(Host, { key: '2969450a00c78280dca3b7ed44f98f8699c41808' }, hAsync("figure", { key: '56dc93a59a43dc28eb7479696b8d97656a7c7c68', class: wrapperClasses }, hAsync("span", { key: 'f6133fba12fc84a6547575e70997c131c1771ef2', "aria-label": this.icon, role: "img", class: "xpl-icon", style: {
25254
+ return (hAsync(Host, { key: '4227f699fde8eac6949eb604b1c7b4fa20f57d2b' }, hAsync("figure", { key: '33e1c0597e8883530ea685450afa47f2e0ac4555', class: wrapperClasses }, hAsync("span", { key: '9920c6ae88f80c03fc885f7b41524eeaa147d77f', "aria-label": this.icon, role: "img", class: "xpl-icon", style: {
25255
25255
  width: `${options.width}px`,
25256
25256
  height: `${options.height}px`,
25257
- }, innerHTML: apolloIcons.getIcon(this.icon)?.toSVG(options) }), hAsync("figcaption", { key: 'c5c9fa42d7c00ea35666b81c7f8ba39f4482572c' }, this.icon, " icon"))));
25257
+ }, innerHTML: apolloIcons.getIcon(this.icon)?.toSVG(options) }), hAsync("figcaption", { key: '654cc247dbe9383198d6ac90b91412d0957259dc' }, this.icon, " icon"))));
25258
25258
  }
25259
25259
  static get style() { return xplIconCss(); }
25260
25260
  static get cmpMeta() { return {
@@ -25457,13 +25457,13 @@ class Input {
25457
25457
  this.characterCount > this.maxCharacterCount) {
25458
25458
  hasError = true;
25459
25459
  }
25460
- return (hAsync(Host, { key: '94a5e19a36756ac43ebbe6d3996a2ffbf475da24', class: {
25460
+ return (hAsync(Host, { key: 'a276769b767bc7df63e2701697600c0ecbfa593e', class: {
25461
25461
  'xpl-input': true,
25462
25462
  'xpl-input--disabled': !!this.disabled,
25463
25463
  'xpl-input--error': hasError,
25464
25464
  'xpl-input--readonly': !!this.readonly,
25465
25465
  [`xpl-input--${this.type}`]: true,
25466
- } }, this.label && (hAsync("label", { key: 'd41b5e5245483e2ea235c910f85cd6a21b100dec', class: "xpl-input-label", htmlFor: this._id }, this.label, this.description && hAsync("small", { key: 'c9d55823b8b97678b2f5f4374446c3693e6dceaa' }, this.description))), this.renderInput(), (this.error?.length ?? 0) > 0 && (hAsync("label", { key: '20e5a1d2af06e571f0757aa60633438f79a6a17d', class: "xpl-input-error", htmlFor: this._id, id: `${this._id}-error` }, hAsync("xpl-icon", { key: 'a193ee5f1d3e0d8479fa8dfd66ab27edeb400d30', icon: "circle-warning", size: 16 }), hAsync("span", { key: 'acf686fe036d1a1e9cb944ff773dda86e90ff39a' }, this.error)))));
25466
+ } }, this.label && (hAsync("label", { key: '1686d1f5c9fc573929190bc1a04bf9efd2ad6957', class: "xpl-input-label", htmlFor: this._id }, this.label, this.description && hAsync("small", { key: '1f74f68e8eeae5186e50ace2e96a9896b022fa30' }, this.description))), this.renderInput(), (this.error?.length ?? 0) > 0 && (hAsync("label", { key: '2ee7de8b1dcb4cc27d7dcf8b34be66727ace1bfe', class: "xpl-input-error", htmlFor: this._id, id: `${this._id}-error` }, hAsync("xpl-icon", { key: 'd3965b339f2d24dec0fdde367e76aacfefd25061', icon: "circle-warning", size: 16 }), hAsync("span", { key: 'b6269e3f122a53980438c21cfbda2e18b3c77a7e' }, this.error)))));
25467
25467
  }
25468
25468
  get el() { return getElement(this); }
25469
25469
  static get cmpMeta() { return {
@@ -25890,16 +25890,16 @@ class InputColor {
25890
25890
  top: `${y}px`,
25891
25891
  background: `rgb(${r}, ${g}, ${b})`,
25892
25892
  };
25893
- return (hAsync(Host, { key: '2c4bff1c1b56afdc1b4192a2d7c1e0a1f5ebc073', class: "xpl-input-color" }, hAsync("xpl-popover", { key: 'ba545a5022a532ef2fde8c795bee19f2680514c1', disabled: this.disabled, display: "menu" }, hAsync("div", { key: '180e066079da1a97ba31bcaf66d443df8a0c48ca', slot: "trigger" }, hAsync("div", { key: 'c3cc0cb1484c4111b60b736b750571552437d0cf', class: {
25893
+ return (hAsync(Host, { key: 'baf8bd36a33134bff8b2e1ce1a5d81a567f232b2', class: "xpl-input-color" }, hAsync("xpl-popover", { key: 'e5bfd446e4b900371ee8ca7c7c321692079c66fb', disabled: this.disabled, display: "menu" }, hAsync("div", { key: '9d40ccbf649ba0be2884bbc7dec84d7c1e9ddbb7', slot: "trigger" }, hAsync("div", { key: '6b4474af2dab4be116728135214403af7189d99f', class: {
25894
25894
  'xpl-input-color__display': true,
25895
25895
  'xpl-input-color__display--disabled': !!this.disabled,
25896
25896
  'xpl-input-color__display--error': !!this.hasErrorState,
25897
- } }, hAsync("span", { key: '72aaff4e9a54da1f766d1de85bd58216c866a4b7', class: "xpl-input-color__color", style: {
25897
+ } }, hAsync("span", { key: '9372da25358b453c5b89f324886c986153b9386b', class: "xpl-input-color__color", style: {
25898
25898
  background: objectToStringColor(this.colorValues),
25899
- } }), this.colorValues.hex ? (hAsync("span", { class: "xpl-input-color__value" }, objectToStringColor(this.colorValues))) : (hAsync("span", { class: "xpl-input-color__placeholder" }, this.placeholder)), this.eyeDropperSupported && !this.hideEyeDropper && (hAsync("xpl-icon", { key: 'f55cfde9a119e9f0de379bc1bfb5b5d4b53aa992', size: 20, icon: "eye-dropper", class: "xpl-input-color__icon", onClick: (e) => {
25899
+ } }), this.colorValues.hex ? (hAsync("span", { class: "xpl-input-color__value" }, objectToStringColor(this.colorValues))) : (hAsync("span", { class: "xpl-input-color__placeholder" }, this.placeholder)), this.eyeDropperSupported && !this.hideEyeDropper && (hAsync("xpl-icon", { key: 'a37bf00e4a70cda5e59cecfc7f108601bbb15e8e', size: 20, icon: "eye-dropper", class: "xpl-input-color__icon", onClick: (e) => {
25900
25900
  e.stopPropagation();
25901
25901
  this.openEyeDropper();
25902
- } })))), hAsync("div", { key: 'f80f215000d3a906d65f7f6673c6d8eaabe3fc6d', class: "xpl-input-color__menu" }, hAsync("div", { key: '4701c99f8a528900c34005b7c26d9fa544b664d8', class: "xpl-input-color__sl-grid", ref: (el) => {
25902
+ } })))), hAsync("div", { key: 'e95b3755b47802b446de5d7e9c25d2238dea23ef', class: "xpl-input-color__menu" }, hAsync("div", { key: '9ecc94c286d9cd0a5e25c92eaea3a2dd9ee4394b', class: "xpl-input-color__sl-grid", ref: (el) => {
25903
25903
  this.colorInputElements.slGrid = el ?? undefined;
25904
25904
  }, style: {
25905
25905
  background: [
@@ -25907,9 +25907,9 @@ class InputColor {
25907
25907
  `linear-gradient(to right, #fff, #fff0)`,
25908
25908
  `rgb(${hueBaseColor.r} ${hueBaseColor.g} ${hueBaseColor.b})`,
25909
25909
  ].join(', '),
25910
- }, onMouseDown: this.startDrag, onTouchStart: this.startDrag }, hAsync("div", { key: '3e0ec5c0821dfed35190053f5e4f147cb7b55eb0', class: "xpl-input-color__sl-thumb", style: slThumbStyle })), hAsync("div", { key: '1b278a13c88aa663a2b8217fbc3524ee213e0f3b', class: "xpl-input-color__grid" }, hAsync("input", { key: '5e35bdd6e7776848a2d2eb32a00deb3ec349c21d', type: "range", min: "0", max: "360", value: this.hue, class: "xpl-input-color__slider xpl-input-color__hue", name: "color-hue-slider", ref: (el) => {
25910
+ }, onMouseDown: this.startDrag, onTouchStart: this.startDrag }, hAsync("div", { key: '85b2e591be85db2a2d3d1bbe65ee276a857b92fa', class: "xpl-input-color__sl-thumb", style: slThumbStyle })), hAsync("div", { key: 'b9d7f2fdc49d73db488d62f21433558b5b0a09a7', class: "xpl-input-color__grid" }, hAsync("input", { key: '3c260f54bde2c26a7b5980082cabf54e2d42340e', type: "range", min: "0", max: "360", value: this.hue, class: "xpl-input-color__slider xpl-input-color__hue", name: "color-hue-slider", ref: (el) => {
25911
25911
  this.colorInputElements.hue = el ?? undefined;
25912
- } }), hAsync("input", { key: '1119341201878e5c8511fa3e241afba15eab6d9b', type: "range", min: "0", max: "1", step: "0.01", value: a, class: "xpl-input-color__slider xpl-input-color__alpha", name: "color-alpha-slider", ref: (el) => {
25912
+ } }), hAsync("input", { key: 'ef8ef568a1487b618aeeb986904a5eeefabba300', type: "range", min: "0", max: "1", step: "0.01", value: a, class: "xpl-input-color__slider xpl-input-color__alpha", name: "color-alpha-slider", ref: (el) => {
25913
25913
  this.colorInputElements.alpha = el ?? undefined;
25914
25914
  }, style: {
25915
25915
  backgroundImage: [
@@ -25919,9 +25919,9 @@ class InputColor {
25919
25919
  `linear-gradient(45deg, transparent 75%, #ccc 75%)`,
25920
25920
  `linear-gradient(-45deg, transparent 75%, #ccc 75%)`,
25921
25921
  ].join(', '),
25922
- } }), hAsync("div", { key: '3804928b107e92bddbc3afa3fa883caafddbd06b', class: "xpl-input-color__preview", style: {
25922
+ } }), hAsync("div", { key: 'b4953565664df14ad483f30c45b6ae5e717e6a63', class: "xpl-input-color__preview", style: {
25923
25923
  background: `rgba(${r}, ${g}, ${b}, ${a})`,
25924
- } })), hAsync("div", { key: '86961ee31d82724a76f6598bd547c8e650e27f24', class: "xpl-input-color__inputs" }, [
25924
+ } })), hAsync("div", { key: '731a00aa7075efc1a19849a58e5a81c8837ab199', class: "xpl-input-color__inputs" }, [
25925
25925
  'hex',
25926
25926
  'r',
25927
25927
  'g',
@@ -26088,16 +26088,16 @@ class InputDate {
26088
26088
  parent.removeChild(wrapper);
26089
26089
  }
26090
26090
  render() {
26091
- return (hAsync(Host, { key: '768d9bffdb7431a48824590f9ae61f8e77735e98', class: {
26091
+ return (hAsync(Host, { key: 'f1b3189eb8ba737e5e96826042d8c3aadce9b0d1', class: {
26092
26092
  'xpl-input-date': true,
26093
26093
  [`xpl-input-date--mode-${this.mode}`]: true,
26094
26094
  'xpl-input-date--error': !!this.hasErrorState,
26095
26095
  'xpl-input-date--flatpickr-static': this.flatpickrStaticLayout,
26096
- } }, hAsync("div", { key: '5b3421bad3bc8474b3724fc7a4287ccf98bd1ba5', class: "xpl-input-wrapper" }, this.pre && (hAsync("label", { key: 'f0e88d0052247c15decc6de2635db1fb847fdd94', class: "xpl-input-pre", htmlFor: this.inputId }, this.pre)), hAsync("input", { key: '251ddfab7140c7a13fd2ef36d7baefe81ed3e716', type: "date", id: this.inputId, disabled: this.disabled, name: this.name, required: this.required, readonly: this.readonly, placeholder: this.placeholder, max: this.max, min: this.min, ref: (el) => {
26096
+ } }, hAsync("div", { key: '1c292279aad8ae7f48358d5e42189d60ecd1d97d', class: "xpl-input-wrapper" }, this.pre && (hAsync("label", { key: 'f8ed452f69f664fd4e3b83e428070f3f4b14d5c6', class: "xpl-input-pre", htmlFor: this.inputId }, this.pre)), hAsync("input", { key: 'e1659c6ad3cb2cb0a5d88a7635672917d2f58ebb', type: "date", id: this.inputId, disabled: this.disabled, name: this.name, required: this.required, readonly: this.readonly, placeholder: this.placeholder, max: this.max, min: this.min, ref: (el) => {
26097
26097
  this.input = el ?? undefined;
26098
26098
  }, onChange: (event) => {
26099
26099
  this.valueChanged(event);
26100
- } }), hAsync("xpl-icon", { key: '6828c8024496963a2a480091a40326154e21d1f5', class: "xpl-input-calendar", icon: "calendar", size: 24 }), this.post && (hAsync("label", { key: 'e08267b6ffc0d605b557e69784b54757621182c7', class: "xpl-input-post", htmlFor: this.inputId }, this.post)))));
26100
+ } }), hAsync("xpl-icon", { key: '577c881edf4ef8dfd3c910c8bbdd268af7448e6c', class: "xpl-input-calendar", icon: "calendar", size: 24 }), this.post && (hAsync("label", { key: '5acfeb3ea72d9c5a193116e305fd54d323276910', class: "xpl-input-post", htmlFor: this.inputId }, this.post)))));
26101
26101
  }
26102
26102
  get el() { return getElement(this); }
26103
26103
  static get watchers() { return {
@@ -26168,18 +26168,18 @@ class InputFile {
26168
26168
  this.onRemoveFileByIndex(fileIndex);
26169
26169
  }
26170
26170
  render() {
26171
- return (hAsync(Host, { key: 'baa52af5a8ee6222ff745cece6e59d9480165af6', class: {
26171
+ return (hAsync(Host, { key: '87eead553435ce984945ccb72ca262bfd6123562', class: {
26172
26172
  'xpl-input-file': true,
26173
26173
  'xpl-input-file--hide-trigger-on-select': !!this.hideTriggerOnSelect,
26174
26174
  'xpl-input-file--disabled': !!this.disabled,
26175
- } }, hAsync("span", { key: '802ed05f26bd1e2a618f5e09bea7370fe69a4718', class: {
26175
+ } }, hAsync("span", { key: 'f345204405d1bb784fc662fa3c29e9edaeca9c67', class: {
26176
26176
  'xpl-input-file__trigger-wrapper': true,
26177
26177
  'xpl-input-file__trigger-wrapper--hidden': !!this.hideTriggerOnSelect && (this.files?.length ?? 0) > 0,
26178
- }, role: "button", tabIndex: 0, onClick: this.openFileDialog }, hAsync("slot", { key: '487381f2b34d2ad528f1b32f976e5513c1e29c11', name: "trigger" })), (this.files?.length ?? 0) > 0 && !this.hideFileNames && (hAsync("ul", { key: 'fe7b503a89a65af02cbb39b93b518b2dde790a34', class: "xpl-input-file__file-list" }, (this.files ?? []).map((file, fileIndex) => (hAsync("li", { class: "xpl-input-file__file-item" }, hAsync("span", { class: "xpl-input-file__file-name" }, file.name), hAsync("xpl-icon", { icon: "x-circle", size: 24, onClick: (e) => {
26178
+ }, role: "button", tabIndex: 0, onClick: this.openFileDialog }, hAsync("slot", { key: '46c4e817cb8f8b050b4de5c571757c7ed84698a7', name: "trigger" })), (this.files?.length ?? 0) > 0 && !this.hideFileNames && (hAsync("ul", { key: '455af4a3cad84232464927efb880ce0a26cebf71', class: "xpl-input-file__file-list" }, (this.files ?? []).map((file, fileIndex) => (hAsync("li", { class: "xpl-input-file__file-item" }, hAsync("span", { class: "xpl-input-file__file-name" }, file.name), hAsync("xpl-icon", { icon: "x-circle", size: 24, onClick: (e) => {
26179
26179
  e.preventDefault();
26180
26180
  e.stopPropagation();
26181
26181
  this.onRemoveFileByIndex(fileIndex);
26182
- }, class: "xpl-input-file__remove-icon" })))))), this.accept && !this.hideAcceptText && (hAsync("span", { key: '6e5e54426f2b33858b374d09014ec0096fa43bb4', class: "xpl-input-file__accept" }, "Accepted file types: ", this.accept)), hAsync("input", { key: '81d08e97d8d2c8a59640348e295261f9acd439cc', onChange: this.handleFileChange, type: "file", ref: (el) => {
26182
+ }, class: "xpl-input-file__remove-icon" })))))), this.accept && !this.hideAcceptText && (hAsync("span", { key: '77abc822d8d44b33f251d4ba9ef21cfc7dd6c287', class: "xpl-input-file__accept" }, "Accepted file types: ", this.accept)), hAsync("input", { key: 'd75ec23921943259d789b0f32828dca57864520e', onChange: this.handleFileChange, type: "file", ref: (el) => {
26183
26183
  this.fileInput = el ?? undefined;
26184
26184
  }, hidden: true, accept: this.accept, multiple: this.multiple, name: this.name })));
26185
26185
  }
@@ -26684,20 +26684,20 @@ class InputPhone {
26684
26684
  this.hasErrorState = null;
26685
26685
  }
26686
26686
  render() {
26687
- return (hAsync(Host, { key: '124c8feabed1cf383f2eb65e77dd2517c96ea01c', class: {
26687
+ return (hAsync(Host, { key: 'c78f7ab5d5c6f6982356d7610fe32855d7f214c5', class: {
26688
26688
  'xpl-input-phone': true,
26689
26689
  'xpl-input-phone--error': !!this.hasErrorState || !!this.error,
26690
26690
  'xpl-input-phone--open': this.dropdownOpen,
26691
26691
  'xpl-input-phone--domestic': !this.isInternational,
26692
- } }, hAsync("div", { key: '6b2a17efd488aa18ac8dea1e86d12884ceb51e90', class: "xpl-input-wrapper" }, this.isInternational && (hAsync("button", { key: 'd3f8e42841532f8c37a131545007af3213c1b9e0', type: "button", id: this.triggerId, class: "xpl-input-phone__trigger", disabled: this.disabled, "aria-haspopup": "listbox", "aria-expanded": this.dropdownOpen ? 'true' : 'false', "aria-label": "Select country", onClick: this.handleTriggerClick }, this.selectedCountry?.name && (hAsync("xpl-icon", { key: 'cb52527ba28d95a93cba734bb6d1b3ab8e14a388', class: "xpl-input-phone__flag", icon: getCountryIconName(this.selectedCountry.name), size: 24, "aria-hidden": "true" })), hAsync("xpl-icon", { key: '7942dae0973871635b7b64e0697d8c25352ac3bf', class: "xpl-input-phone__trigger-icon", icon: "chevron-down", size: 20, "aria-hidden": "true" }))), hAsync("div", { key: '24b810a9e03c7774ad6576cc9f03888d5da9d3aa', class: "xpl-input-phone__input-wrap" }, this.isInternational && (hAsync("span", { key: 'eb7684aad427a10615c23326a2a2628a4a12fbb0', class: "xpl-input-phone__dial-code" }, this.effectiveDialCode)), hAsync("input", { key: '8e429f156e36f101413e1d5168bb38a2ca9bdebf', ref: (el) => {
26692
+ } }, hAsync("div", { key: '3b30f8755836376728336f769afeb714b9a3dfa9', class: "xpl-input-wrapper" }, this.isInternational && (hAsync("button", { key: 'c83ff2255a465d7d5d233ce02a816845858594be', type: "button", id: this.triggerId, class: "xpl-input-phone__trigger", disabled: this.disabled, "aria-haspopup": "listbox", "aria-expanded": this.dropdownOpen ? 'true' : 'false', "aria-label": "Select country", onClick: this.handleTriggerClick }, this.selectedCountry?.name && (hAsync("xpl-icon", { key: 'f0a62a5052b940f4a2212ed77929696e62b4825f', class: "xpl-input-phone__flag", icon: getCountryIconName(this.selectedCountry.name), size: 24, "aria-hidden": "true" })), hAsync("xpl-icon", { key: '68782b949fd1cf41a8b0883ad6caba18d9aa1ac5', class: "xpl-input-phone__trigger-icon", icon: "chevron-down", size: 20, "aria-hidden": "true" }))), hAsync("div", { key: '6aa5f75f34b413bd8939d46c55b7cc42128db247', class: "xpl-input-phone__input-wrap" }, this.isInternational && (hAsync("span", { key: '81dc5727f8dca528f34994736c1a8a2223e8fe63', class: "xpl-input-phone__dial-code" }, this.effectiveDialCode)), hAsync("input", { key: 'd0faecadd4216bf6a7b79fc9623052e194900c15', ref: (el) => {
26693
26693
  this.inputEl = el ?? undefined;
26694
- }, type: "tel", id: this.inputId, class: "xpl-input-phone__input", name: this.name, disabled: this.disabled, readonly: this.readonly, required: this.required, "aria-invalid": this.hasErrorState || this.error ? 'true' : 'false', placeholder: this.effectivePlaceholder, autocomplete: this.isInternational ? 'tel-national' : 'tel', inputmode: "numeric", maxlength: this.maxInputLength, value: this.displayValue, onInput: this.handleNumberInput }), this.nationalNumber && this.isEditable && (hAsync("button", { key: '403e1b9e35a7bfd2ba356c16c4d5e9178541f876', type: "button", class: "xpl-input-phone__clear", "aria-label": "Clear phone number", onClick: this.handleClear }, hAsync("xpl-icon", { key: 'aee1381d3a7dcec64c708ecfa67266eef442850e', icon: "x-circle", size: 16 }))))), this.isInternational && this.isEditable && (hAsync("xpl-dropdown", { key: '9d14a65f3ac538b4e420151927a0c349adf3688d', ref: (el) => {
26694
+ }, type: "tel", id: this.inputId, class: "xpl-input-phone__input", name: this.name, disabled: this.disabled, readonly: this.readonly, required: this.required, "aria-invalid": this.hasErrorState || this.error ? 'true' : 'false', placeholder: this.effectivePlaceholder, autocomplete: this.isInternational ? 'tel-national' : 'tel', inputmode: "numeric", maxlength: this.maxInputLength, value: this.displayValue, onInput: this.handleNumberInput }), this.nationalNumber && this.isEditable && (hAsync("button", { key: '12a2e4ce8adb80ca4d6fca1c706c54db01d22101', type: "button", class: "xpl-input-phone__clear", "aria-label": "Clear phone number", onClick: this.handleClear }, hAsync("xpl-icon", { key: 'f1ae5e69258654e8ba5bf511755020e0d7d91088', icon: "x-circle", size: 16 }))))), this.isInternational && this.isEditable && (hAsync("xpl-dropdown", { key: 'd8a75cf0b95d9affae6e03292c011a73dcff98b4', ref: (el) => {
26695
26695
  this.dropdownRef = el ?? undefined;
26696
26696
  }, isOpen: this.dropdownOpen, triggerId: this.triggerId, anchorToTrigger: true, closeOnSelect: true, mode: "single", options: this.dropdownOptions, update: this.handleDropdownUpdate, onIsOpenChange: (e) => {
26697
26697
  this.dropdownOpen = e.detail;
26698
- }, "aria-label": "Country" }, hAsync("div", { key: '87006a8a90ef37032775247a387896f065ce5673', slot: "header", class: "xpl-input-phone__search-wrap" }, hAsync("xpl-input", { key: '26a99c318081e3215fa779191ee8a0f9c127489f', class: "xpl-input-phone__search", type: "text", label: "", placeholder: "Search", value: this.searchQuery, autocomplete: "off", onInputEvent: (e) => {
26698
+ }, "aria-label": "Country" }, hAsync("div", { key: 'b46a4a9985604720099c3212714804aee5a1f58b', slot: "header", class: "xpl-input-phone__search-wrap" }, hAsync("xpl-input", { key: '55bdc0f6ff4b1a1a2d17b5ba10849bcab472d7d8', class: "xpl-input-phone__search", type: "text", label: "", placeholder: "Search", value: this.searchQuery, autocomplete: "off", onInputEvent: (e) => {
26699
26699
  this.searchQuery = e.detail ?? '';
26700
- } }, hAsync("xpl-icon", { key: '4aee182e975ed805524ac93e3a34f055266b693b', slot: "pre", class: "xpl-input-phone__search-icon", icon: "magnifier", size: 20 })))))));
26700
+ } }, hAsync("xpl-icon", { key: 'af0fd388d39e6d9bcac5a032c7c0cf5f192cc4d3', slot: "pre", class: "xpl-input-phone__search-icon", icon: "magnifier", size: 20 })))))));
26701
26701
  }
26702
26702
  get el() { return getElement(this); }
26703
26703
  static get watchers() { return {
@@ -26839,7 +26839,7 @@ class InputSearch {
26839
26839
  return shell;
26840
26840
  }
26841
26841
  render() {
26842
- return (hAsync(Host, { key: '4a152d3a8db620391334488e1c6c3cdbe9250ba3', class: {
26842
+ return (hAsync(Host, { key: '90b29d51b36655d1dc5f7fa9b67edf6382cb90af', class: {
26843
26843
  'xpl-input-search': true,
26844
26844
  'xpl-input-search--disabled': this.disabled,
26845
26845
  'xpl-input-search--error': this.hasError,
@@ -27048,11 +27048,11 @@ class InputTime {
27048
27048
  }));
27049
27049
  }
27050
27050
  render() {
27051
- return (hAsync(Host, { key: '5494cc0a537152b9d8dfa03e5281b21e6bb6eee2', class: {
27051
+ return (hAsync(Host, { key: '098ef69d355f6bdf03b4bfbab59956f84d5967b4', class: {
27052
27052
  'xpl-input-time': true,
27053
27053
  [`xpl-input-time--mode-${this.mode}`]: true,
27054
27054
  'xpl-input-time--error': !!this.hasErrorState,
27055
- } }, hAsync("xpl-input", { key: '0d32784cd9fc8acacae1854a966bb426fa135fb5', pre: hAsync("xpl-icon", { class: "xpl-input-time__clock-icon", icon: "clock", size: 24 }), post: this.timeFormat === '12h' ? this.amPm || 'AM' : undefined, type: "text", _id: this.inputId, disabled: this.disabled, name: this.name, required: this.required, readonly: this.readonly, placeholder: this.placeholder, max: this.max, min: this.min, onInput: this.handleInput, value: this.formattedValue, onFocusEvent: this.handleFocus, onBlurEvent: this.handleBlur, onClick: this.handleClick }), !this.readonly && !this.disabled && (hAsync("xpl-dropdown", { key: '206c668ca8ee29ceffaf14f14acd90fb076fc0ae', options: this.options, isOpen: this.showOptions, ref: (el) => {
27055
+ } }, hAsync("xpl-input", { key: 'e73a120a00a6f110e99e1a7d54bc75c024a2e1dc', pre: hAsync("xpl-icon", { class: "xpl-input-time__clock-icon", icon: "clock", size: 24 }), post: this.timeFormat === '12h' ? this.amPm || 'AM' : undefined, type: "text", _id: this.inputId, disabled: this.disabled, name: this.name, required: this.required, readonly: this.readonly, placeholder: this.placeholder, max: this.max, min: this.min, onInput: this.handleInput, value: this.formattedValue, onFocusEvent: this.handleFocus, onBlurEvent: this.handleBlur, onClick: this.handleClick }), !this.readonly && !this.disabled && (hAsync("xpl-dropdown", { key: '454de00fca4a891eaffc71738538425fa9f4e34f', options: this.options, isOpen: this.showOptions, ref: (el) => {
27056
27056
  this.dropdown = el ?? undefined;
27057
27057
  }, class: "xpl-input-time__dropdown" }))));
27058
27058
  }
@@ -27168,7 +27168,7 @@ class LargeCard {
27168
27168
  }
27169
27169
  }
27170
27170
  render() {
27171
- return (hAsync(Host, { key: '9fdddb5c8d02400545f57499c92af0ee0aa4be67', role: "group", class: `xpl-large-card ${this.link ? 'xpl-large-card__link' : ''}`, tabindex: "0" }, hAsync("dt", { key: '3854e5f89efa2c968f7abeb8284c0ab8e3e31fda', class: "xpl-large-card__header" }, hAsync("header", { key: '0057d377780108f886dae2d9a6a1f3d81748b5fc' }, hAsync("slot", { key: '243d38d7635a2e288a1ec7f7894b772d5005acee', name: "title" }, this.name), this.link && (hAsync("span", { key: 'f2ce2ff09a50471ee255bac8bda406908c272388', class: "xpl-large-card__header-arrow" }, hAsync("xpl-icon", { key: '86233617aaf74a137d84639e1477c311671fad7b', icon: "chevron-right", size: 16 })))), this.description && (hAsync("div", { key: 'ab0c0134a2468d22d122dfe810306d570beee8e8', class: "xpl-large-card__description" }, this.description))), hAsync("dd", { key: '6fb1262327dc91fd0a982bd31ee7deaa94625e12', class: "xpl-large-card__body" }, this.graphContentPresent && hAsync("slot", { key: 'b1e170a19004aad87015786307b926e58d031751', name: GRAPH_CONTENT_SLOT }))));
27171
+ return (hAsync(Host, { key: '879f57b756e3c25bb9bebbc06f144a137bf0b78b', role: "group", class: `xpl-large-card ${this.link ? 'xpl-large-card__link' : ''}`, tabindex: "0" }, hAsync("dt", { key: '1336da473527a06e485c559925156954c0162696', class: "xpl-large-card__header" }, hAsync("header", { key: '69073fa20879ae4b9709ec54cc01cad85fba6366' }, hAsync("slot", { key: 'c9381d78ba477f7ba9f1ce6a2e82c149bbe50ad0', name: "title" }, this.name), this.link && (hAsync("span", { key: '8075678983d86cc192b9a2fc7a43fb4c022dbace', class: "xpl-large-card__header-arrow" }, hAsync("xpl-icon", { key: '960d96210c4d5f37b51782947b9acdb3cb4d125d', icon: "chevron-right", size: 16 })))), this.description && (hAsync("div", { key: '0162c71c16faa14385da912cbcf6a24f182b1012', class: "xpl-large-card__description" }, this.description))), hAsync("dd", { key: 'd48d1348b8d0b5b3db776d64be10b23d884cd35c', class: "xpl-large-card__body" }, this.graphContentPresent && hAsync("slot", { key: '7aa25f469d81ebc5046cc382920fcac9a3d59a9c', name: GRAPH_CONTENT_SLOT }))));
27172
27172
  }
27173
27173
  get el() { return getElement(this); }
27174
27174
  static get cmpMeta() { return {
@@ -27554,10 +27554,10 @@ class List {
27554
27554
  render() {
27555
27555
  const ariaLabelledBy = this.labelledBy?.trim() ? this.labelledBy.trim() : undefined;
27556
27556
  const ariaLabel = !ariaLabelledBy && this.label?.trim() ? this.label.trim() : undefined;
27557
- return (hAsync(Host, { key: '8b055baaf9acc04df19be097d0fb5bcb86c7165a', role: "list", class: { 'xpl-list': true }, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy }, this.items?.map((item, index) => {
27557
+ return (hAsync(Host, { key: '5516f433d051a8cac2d01255e7e4b43956f088c5', role: "list", class: { 'xpl-list': true }, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy }, this.items?.map((item, index) => {
27558
27558
  const legacyRowId = item.id ?? `item-${index}`;
27559
27559
  return (hAsync("xpl-list-item", { key: `legacy-item-${legacyRowId}`, item: item, href: item.href, itemId: legacyRowId }));
27560
- }), hAsync("slot", { key: '103e3fb6cb29f9527b090dd9e53412528ed7b9c2' }), this.reorderable ? (hAsync("div", { class: "xpl-list__reorder-live", "aria-live": "assertive", "aria-atomic": "true" }, this.reorderLiveMessage)) : null));
27560
+ }), hAsync("slot", { key: '68216fa87a1034e09363b8b20fc436d0d3725cc3' }), this.reorderable ? (hAsync("div", { class: "xpl-list__reorder-live", "aria-live": "assertive", "aria-atomic": "true" }, this.reorderLiveMessage)) : null));
27561
27561
  }
27562
27562
  get el() { return getElement(this); }
27563
27563
  static get watchers() { return {
@@ -27609,7 +27609,7 @@ class MainNav {
27609
27609
  this.navWidthHandler();
27610
27610
  }
27611
27611
  render() {
27612
- return (hAsync(Host, { key: '936e7393a8037c6c78c7a6d5d284d9c37be2f866', class: `xpl-main-nav xpl-main-nav--${this.width}`, "aria-label": "Sidebar" }, hAsync("nav", { key: '45fd74c979b53bbd8080ca92ea15e3135d0d49ae' }, hAsync("header", { key: 'cb692d0e90aa70bce5e09af43e54d864849f4800', "aria-label": "Sidebar Header" }, hAsync("slot", { key: '778c33ef024895ca44616ef9655843330e3c563b', name: "logo" }), hAsync("slot", { key: '7728db09b46999e708c46d10d5de56c65ab9a9fa', name: "brand-name" })), hAsync("div", { key: '0376fefe7921b061f3f2fdc972aa381ed7d124a2', class: "xpl-main-nav__main_section" }, hAsync("slot", { key: '12a61a53d6c93695d38c70d9a953fe4e37438178', name: "navigation" })), hAsync("footer", { key: '8cd0e32231e155324c78878dcaad955ab7b3e4fb', class: "xpl-main-nav__footer", "aria-label": "Sidebar Footer" }, hAsync("slot", { key: 'cdaf0bec22d3d8229441e7e036c3fcbcb244c32f', name: "footer" })))));
27612
+ return (hAsync(Host, { key: '965f7a4faa40d7ec386c947e16fb5bc4621496a0', class: `xpl-main-nav xpl-main-nav--${this.width}`, "aria-label": "Sidebar" }, hAsync("nav", { key: '1237191a5c5e6d3eacfba46d7b9cb6c5e1fcc191' }, hAsync("header", { key: '903b017b0610dfd4fee28aa0d00d9c2f030506bc', "aria-label": "Sidebar Header" }, hAsync("slot", { key: 'ec0c4c0a92ae8578372895c3a0ee225da2bc2bb8', name: "logo" }), hAsync("slot", { key: 'd2b9d45cfde83df6f7f76889fc5c05520f5346d6', name: "brand-name" })), hAsync("div", { key: '93d7a1d1ca940db7fedf4c634c092d2554c9e9e6', class: "xpl-main-nav__main_section" }, hAsync("slot", { key: '0a0c0ee4ae85a4db09cf87c7fe9693bd1f64721a', name: "navigation" })), hAsync("footer", { key: '21d2eaa5f1446145656954966e550150c867357c', class: "xpl-main-nav__footer", "aria-label": "Sidebar Footer" }, hAsync("slot", { key: 'd2b84a7ea550a1da9460df7e9ace73354929707f', name: "footer" })))));
27613
27613
  }
27614
27614
  static get cmpMeta() { return {
27615
27615
  "$flags$": 260,
@@ -27715,7 +27715,7 @@ class Modal {
27715
27715
  }, 250);
27716
27716
  }
27717
27717
  render() {
27718
- return (hAsync(Host, { key: '3194d5377b7438543a3f6e6ab41fd7c307674a28', class: "xpl-modal" }, this.isOpen && hAsync("xpl-backdrop", { key: 'dfc30ff7879364920669a1d1ebfdaea39951b966' }), hAsync("dialog", { key: 'bfb33a8d97d17981f582768b0e34b0d167cf60cb', class: `xpl-modal__dialog xpl-modal-size--${this.size} xpl-modal--${this.isOpen ? 'is-open' : 'is-closed'}`, "aria-labelledby": this.titleId }, hAsync("div", { key: '0b71adc30bde109aa831a28200c918a458a7da52', class: "xpl-modal__header" }, hAsync("div", { key: '657c5aad60fa85e4285e299dcbe24209742277e6', class: "xpl-modal__title" }, hAsync("xpl-button", { key: '2301014d0f4bd129dbbfc7b1eb242db98622f866', type: "button", class: "xpl-modal__close-button", "icon-only": true, variant: "tertiary", "aria-label": "Close modal", onClick: this.handleDialogClose }, hAsync("xpl-icon", { key: 'a978ff514926ca4b319c4920b2057baa50a1fb24', icon: "xmark" })), this.variant === 'warning' && (hAsync("xpl-icon", { key: '2a1cf704d1aa75170d53ef3887a4d1e7874762fa', size: 20, icon: "triangle-warning", class: "xpl-modal__alert-icon" })), hAsync("span", { key: 'd2bcd4c5b4596e80875eb9000ee75d592e41ce74', class: "xpl-modal__title-text", id: this.titleId }, hAsync("slot", { key: 'cf009856b6e86bab36bc16a249ad9b3ebc09fd1c', name: "title" }))), hAsync("div", { key: '29258401d4ec72c81a5a7e28e2365efd2227445e', class: "xpl-modal__subtitle" }, hAsync("slot", { key: '9f749c62f55edabcec4dc5d8677ad9b45e64be50', name: "subtitle" }))), hAsync("div", { key: 'f12dd8ee02ef7f9aeeedd0d7c7b5ffe52c24a336', class: "xpl-modal__body" }, hAsync("slot", { key: '0a9e2d67a7842075560e1cf846e4b3d18bfe1bee', name: "body" })), hAsync("div", { key: '720e9bf0cb5746b31b7dee9cb1ad4226eb13bf11', class: "xpl-modal__footer" }, hAsync("slot", { key: '819ba75ee04742fb872c0345b4cc1732891856ee', name: "primary" }), hAsync("slot", { key: 'b74d4339586fd2d863791d6cb6cd3d593a9c9785', name: "secondary" }), hAsync("slot", { key: 'a4d437d7e9142bf91307edae5ed5dbd89e8921f0', name: "tertiary" })))));
27718
+ return (hAsync(Host, { key: '03f5eb41f33dd1ef6520c5e606f86af3676b1e72', class: "xpl-modal" }, this.isOpen && hAsync("xpl-backdrop", { key: '50419511db07db7e51664f2c64167e8fa1130478' }), hAsync("dialog", { key: 'debe223a70a3e14a5a3937cdba9b18d8e1529497', class: `xpl-modal__dialog xpl-modal-size--${this.size} xpl-modal--${this.isOpen ? 'is-open' : 'is-closed'}`, "aria-labelledby": this.titleId }, hAsync("div", { key: '7b4a1fda4219622c1e482bfeda808fb25a818df7', class: "xpl-modal__header" }, hAsync("div", { key: '4f2f095fd473c97954e7c3b06691133f796df77e', class: "xpl-modal__title" }, hAsync("xpl-button", { key: '9a017bf7cbc52bd6828fe647e06b03a4601f988e', type: "button", class: "xpl-modal__close-button", "icon-only": true, variant: "tertiary", "aria-label": "Close modal", onClick: this.handleDialogClose }, hAsync("xpl-icon", { key: '070c9cb695ee0a85f7bd25e19ceb7cb85ba2d178', icon: "xmark" })), this.variant === 'warning' && (hAsync("xpl-icon", { key: '7478625b27763ff01034195312af4e59411174d6', size: 20, icon: "triangle-warning", class: "xpl-modal__alert-icon" })), hAsync("span", { key: '092491fb296dd9d4658e3bf4fd2425d0cad791ee', class: "xpl-modal__title-text", id: this.titleId }, hAsync("slot", { key: 'd91c682a6f51a08e73281f27944bf83b73a026ee', name: "title" }))), hAsync("div", { key: '9a0b0ff9427d66ac44fd65649460ce62cf7b1cc4', class: "xpl-modal__subtitle" }, hAsync("slot", { key: '41c6093d7cb31838e49b20d237a0c273df79dabf', name: "subtitle" }))), hAsync("div", { key: 'afab32dbee43906310935cb02437e00d2743f555', class: "xpl-modal__body" }, hAsync("slot", { key: 'dbb0a6eb15e6c519f2eb40a0cfc8de2a68a37811', name: "body" })), hAsync("div", { key: '2e3501f03e002a40737dd02a4a6cfd47c0f08205', class: "xpl-modal__footer" }, hAsync("slot", { key: '4b21250f2cc15be589c2622f8cdeda679f881733', name: "primary" }), hAsync("slot", { key: '490d23bfd88b209545e326e1e236beea9f4289da', name: "secondary" }), hAsync("slot", { key: 'b8d1457361776e33ebcc3404db8ab6c901be1500', name: "tertiary" })))));
27719
27719
  }
27720
27720
  get element() { return getElement(this); }
27721
27721
  static get watchers() { return {
@@ -27824,11 +27824,11 @@ class NavHeaderMenu {
27824
27824
  }
27825
27825
  render() {
27826
27826
  const hasProfile = !!this.username || !!this.email;
27827
- return (hAsync(Host, { key: '36df50ceb427be007b8da6c4e6154ab0267e7e6b', class: {
27827
+ return (hAsync(Host, { key: 'b79342bf524458e0119a92ba754a700c70c8652f', class: {
27828
27828
  'xpl-nav-header-menu': true,
27829
27829
  'xpl-nav-header-menu--has-right-aside-mobile': this.rightAsideMobilePresent,
27830
27830
  dark: true,
27831
- } }, hasProfile && (hAsync("div", { key: '5906352d9c6580f96cb3e1ba3ae841b04c136a27', class: "xpl-nav-header-menu__profile" }, hAsync("div", { key: '38ad80fe95f2ea56e12f3dfeea32af734f31aafd', class: "xpl-nav-header-menu__info" }, this.username && (hAsync("div", { key: 'a58f2ab162da92c5afbfaf01234748a6478a61db', class: "xpl-nav-header-menu__username", title: this.username }, this.username)), this.email && (hAsync("div", { key: 'd91f764a3b4278937d1bac6ed670f1e2abf899b0', class: "xpl-nav-header-menu__email", title: this.email }, this.email))))), hAsync("div", { key: '78fade2c6cc2ec049b40ca3093f77855b46ee7db', class: "xpl-nav-header-menu__right-aside-mobile" }, hAsync("slot", { key: '9715e86a06f642f1b0455e43f12fc83c1fdc20f8', name: "right-aside-mobile" })), hAsync("div", { key: 'c1893f276e93629ff8dd96f807579b2b991ea884', class: "xpl-nav-header-menu__slot", role: "list" }, hAsync("slot", { key: '23218885442af87a956216af71b598c2eb478eff' }))));
27831
+ } }, hasProfile && (hAsync("div", { key: 'db3789fefeb61c27d081e2f18be1f4f42d4d1696', class: "xpl-nav-header-menu__profile" }, hAsync("div", { key: '00415b3ea671d119ae7b196eb10b0f3fd423d302', class: "xpl-nav-header-menu__info" }, this.username && (hAsync("div", { key: 'e3eb1b9425f3902bffc493fd1f26065cea2e9eb0', class: "xpl-nav-header-menu__username", title: this.username }, this.username)), this.email && (hAsync("div", { key: 'efeaeddcf8598169c014ff84a0dc2bd8c445ec44', class: "xpl-nav-header-menu__email", title: this.email }, this.email))))), hAsync("div", { key: '2fc3f202f45c4fb9e330f16f71ad68d6c03d6dc8', class: "xpl-nav-header-menu__right-aside-mobile" }, hAsync("slot", { key: 'd375a64cc228d4514ab5c6a59d6781799eba174f', name: "right-aside-mobile" })), hAsync("div", { key: '113008a606e34af2e8e23eb7d261858d2d631d28', class: "xpl-nav-header-menu__slot", role: "list" }, hAsync("slot", { key: '214afe30add1001da07ff4870f29bcd932d8c199' }))));
27832
27832
  }
27833
27833
  get el() { return getElement(this); }
27834
27834
  static get cmpMeta() { return {
@@ -27857,11 +27857,11 @@ class NavItem {
27857
27857
  }
27858
27858
  }
27859
27859
  render() {
27860
- return (hAsync(Host, { key: '6632b50719b413f69b1943035e60c086951709d7', class: "xpl-nav-item", role: "listitem", onClick: () => {
27860
+ return (hAsync(Host, { key: '12b0be7801fdf60e06dca270ec5d211e2c81af21', class: "xpl-nav-item", role: "listitem", onClick: () => {
27861
27861
  if (this.navControl) {
27862
27862
  this.onNavToggle();
27863
27863
  }
27864
- } }, hAsync("slot", { key: '1c7f754d3fa4b67883562f4877414cefc7947920', name: "link" }, hAsync("slot", { key: 'c4268f625e8a4ef9323293d064abee42afee5d1f', name: "icon" }), hAsync("slot", { key: '5f843056b4c5852e3fa89c9a5ef36442b76238a0' }))));
27864
+ } }, hAsync("slot", { key: '1716229d1110bed1911c0921d87dd6238e7f59aa', name: "link" }, hAsync("slot", { key: '653fd2830c8e67d3c9fe65a0994bd167173e110b', name: "icon" }), hAsync("slot", { key: 'a33f79ab45a2a65debca49fbedabf2daef2428c8' }))));
27865
27865
  }
27866
27866
  static get cmpMeta() { return {
27867
27867
  "$flags$": 260,
@@ -27955,19 +27955,19 @@ class Pagination {
27955
27955
  render() {
27956
27956
  const disablePrev = this.currentPage <= 1;
27957
27957
  const disableNext = this.currentPage >= this.totalPages;
27958
- return (hAsync(Host, { key: '23b4aec5d70fcfa1ec02089716f7649d15fcb0ca', class: {
27958
+ return (hAsync(Host, { key: 'c1236f3a51a835bc7609f1871718535ad26c608c', class: {
27959
27959
  'xpl-pagination': true,
27960
27960
  'xpl-pagination__with-page-control': this.withPageControl,
27961
27961
  'xpl-pagination__no-page-control': !this.withPageControl,
27962
- } }, this.withPageControl && (hAsync("div", { key: '2383d3488dc1435f1384f98cf07459cfb6ccb1bc', class: "xpl-pagination__rows-per-page" }, hAsync("label", { key: 'be3f5e3815a11f5cb02710d253e02e10fdf6236d', class: "xpl-pagination__rows-label" }, "Rows per page:"), hAsync("xpl-select", { key: 'dd06add7fde18b8616b18fc945e78457ddedb8b7', class: "xpl-pagination__rows-per-page-select", dropdownFlipFallbackPlacements: ['bottom-start'], dropdownPlacement: "top-start", choices: this.rowsPerPageOptionsArray.map((option) => ({
27962
+ } }, this.withPageControl && (hAsync("div", { key: 'b9a960512110e71ec4403a7440d9a56d2d25eb5a', class: "xpl-pagination__rows-per-page" }, hAsync("label", { key: '77d5c99067a80412b99fd7319a647fea67be9ae2', class: "xpl-pagination__rows-label" }, "Rows per page:"), hAsync("xpl-select", { key: '530bac1621b9901c52f895649f838ddd7919522f', class: "xpl-pagination__rows-per-page-select", dropdownFlipFallbackPlacements: ['bottom-start'], dropdownPlacement: "top-start", choices: this.rowsPerPageOptionsArray.map((option) => ({
27963
27963
  label: option.toString(),
27964
27964
  value: option.toString(),
27965
27965
  isSelected: option === this.selectedRowsPerPage,
27966
27966
  })), ref: (el) => {
27967
27967
  this.rowsPerPageSelectRef = el ?? null;
27968
- } }))), hAsync("div", { key: '9a41a8e940f04ba2da9a7e9331d5ff496043771f', class: "xpl-pagination__pager" }, hAsync("button", { key: 'cfe0a954aaa79e5b8af00a86d384bf9d1d2831b8', class: "xpl-pagination__pager-button xpl-pagination__pager-button-prev", disabled: disablePrev, onClick: this.handlePrevPage, "aria-label": "Previous Page", tabindex: "0" }, hAsync("xpl-icon", { key: 'd3cf107b6f1a2cc02c50e0bd23b19b857ebd812d', icon: "arrow-left", size: 20 })), hAsync("xpl-select", { key: '90d4c563a755c83a759b8e4028aac09b8a0be715', class: "xpl-pagination__page-select", dropdownFlipFallbackPlacements: ['bottom-start'], dropdownPlacement: "top-start", choices: this.pageChoices, "custom-display-value": true, ref: (el) => {
27968
+ } }))), hAsync("div", { key: 'f610c71b562c73d1ef6ce81550ee9c5f5318b46a', class: "xpl-pagination__pager" }, hAsync("button", { key: 'f507f26b1b3239c170c60568da2a068ffdc65def', class: "xpl-pagination__pager-button xpl-pagination__pager-button-prev", disabled: disablePrev, onClick: this.handlePrevPage, "aria-label": "Previous Page", tabindex: "0" }, hAsync("xpl-icon", { key: 'c1079f632bb84a97bcb43ab7f39af19d2532e73c', icon: "arrow-left", size: 20 })), hAsync("xpl-select", { key: 'b50192f67d3e5b5c6723131d554d1dad41f8e2a3', class: "xpl-pagination__page-select", dropdownFlipFallbackPlacements: ['bottom-start'], dropdownPlacement: "top-start", choices: this.pageChoices, "custom-display-value": true, ref: (el) => {
27969
27969
  this.pageSelectRef = el ?? null;
27970
- } }, hAsync("div", { key: '3f9071ff9ba2094c5014628366519db328efc466', slot: "custom-display-value" }, `${this.currentPage} of ${this.totalPages}`)), hAsync("button", { key: '474df34b27cd0cd6ffcb58c4408691f5bf765c99', class: "xpl-pagination__pager-button xpl-pagination__pager-button-next", disabled: disableNext, onClick: this.handleNextPage, "aria-label": "Next Page", tabindex: "0" }, hAsync("xpl-icon", { key: '0466f500b1cc7f2fa8e22da485e889775a53b2e8', icon: "arrow-right", size: 20 })))));
27970
+ } }, hAsync("div", { key: '35cb95f79705633857df8ef3a48b479c85d6acdd', slot: "custom-display-value" }, `${this.currentPage} of ${this.totalPages}`)), hAsync("button", { key: '79a8b1f267fe675eb626d655a68ad5c72cd6c89f', class: "xpl-pagination__pager-button xpl-pagination__pager-button-next", disabled: disableNext, onClick: this.handleNextPage, "aria-label": "Next Page", tabindex: "0" }, hAsync("xpl-icon", { key: '01ae55d805794de8fb9f332a37314e152fb1f5bb', icon: "arrow-right", size: 20 })))));
27971
27971
  }
27972
27972
  static get watchers() { return {
27973
27973
  "currentPage": [{
@@ -28683,16 +28683,16 @@ class Popover {
28683
28683
  });
28684
28684
  }
28685
28685
  render() {
28686
- return (hAsync(Host, { key: 'b747fcdda5987a1d0506486d325cdf9a57cab6a8' }, hAsync("div", { key: '547d595121db1b713c204eb5ac173828fff4b35b', class: {
28686
+ return (hAsync(Host, { key: 'a14924382ef3c963fa0d8c6dc4575c1fcb3a8c3a' }, hAsync("div", { key: 'a9bb868211d6866a8f3d097841c41236c37b0ae5', class: {
28687
28687
  'xpl-popover': true,
28688
28688
  [`xpl-popover--${this.actualPosition}`]: true,
28689
28689
  'xpl-popover--is-open': this.isOpenState,
28690
- } }, hAsync("span", { key: 'd12773148d327475c8ff51fbb5a717c95231cabf', role: "button", tabindex: "0", "aria-haspopup": "dialog", "aria-expanded": this.isOpenState ? 'true' : 'false', onClick: this.togglePopover, ref: (el) => {
28690
+ } }, hAsync("span", { key: '1502c64a98fbf22af9516e5e9aa905e79ea13ab3', role: "button", tabindex: "0", "aria-haspopup": "dialog", "aria-expanded": this.isOpenState ? 'true' : 'false', onClick: this.togglePopover, ref: (el) => {
28691
28691
  this.triggerRef = el;
28692
- } }, hAsync("slot", { key: '6322dc3b9e7292eeb41aaf5c662aa99273868c7d', name: "trigger" })), this.display === 'arrow' && (hAsync("div", { key: '2a3fe87cc9a82c8e914f6917a999bdd4433b9042', class: "xpl-popover__arrow" }, hAsync("svg", { key: 'a191461ac07cf6693d5461aa4d343214e62ed6ef', width: "17", height: "14", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '61003e404b4e031057e0d2ef39a31bc9b7fba6df', d: "M0 5h15l-7.5 7.5L0 5Z", fill: "white", stroke: "none", class: "arrow-fill" }), hAsync("path", { key: '15de3ff2ec9657fd3e47410de79d2362076c797b', d: "M0 5 L7.5 12.5 L15 5", fill: "none", stroke: "black", "stroke-width": "1", class: "arrow-stroke" })))), hAsync("div", { key: 'ec4ae8672673fa63b918ab6222a6fbf7099758ff', class: {
28692
+ } }, hAsync("slot", { key: '56a3bdc8d33b010095645b5bfd4b82890351777b', name: "trigger" })), this.display === 'arrow' && (hAsync("div", { key: 'f69e9e12ab93f55267b8c23707eb48321f79a9c6', class: "xpl-popover__arrow" }, hAsync("svg", { key: '1064f5962035b2cbf6dc2d721b537cddb815323e', width: "17", height: "14", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '7490e8887c93cd357bc21e93c96ab8de3873892b', d: "M0 5h15l-7.5 7.5L0 5Z", fill: "white", stroke: "none", class: "arrow-fill" }), hAsync("path", { key: '6ab893d176866029ac33622a11e097541d5fdb74', d: "M0 5 L7.5 12.5 L15 5", fill: "none", stroke: "black", "stroke-width": "1", class: "arrow-stroke" })))), hAsync("div", { key: '798414192900fab40f67986489753c8a63ec1d92', class: {
28693
28693
  'xpl-popover__content': true,
28694
28694
  [`xpl-popover__content--display-${this.display}`]: true,
28695
- }, ref: (el) => (this.contentRef = el) }, hAsync("slot", { key: '50c82f8c1833c91f6e2aabdfe3773725c9d9296d' })))));
28695
+ }, ref: (el) => (this.contentRef = el) }, hAsync("slot", { key: '5c1f963e4009f5a8d30aaad7f0169164abf5bd43' })))));
28696
28696
  }
28697
28697
  get el() { return getElement(this); }
28698
28698
  static get watchers() { return {
@@ -28748,12 +28748,12 @@ class ProgressBar {
28748
28748
  return this.variant === 'indeterminate';
28749
28749
  }
28750
28750
  render() {
28751
- return (hAsync(Host, { key: '7c374a5f2f89aed6b0c3a0daa4cc843efea8d262', class: {
28751
+ return (hAsync(Host, { key: 'a33381f58e76e71c5a52d4e80fa1f37181f28c8d', class: {
28752
28752
  'xpl-progress-bar': true,
28753
28753
  [`xpl-progress-bar--${this.size}`]: true,
28754
28754
  [`xpl-progress-bar--${this.variant}`]: true,
28755
28755
  'xpl-progress-bar--complete': this.isComplete,
28756
- } }, hAsync("div", { key: 'f1be4a82fbb87ffac27bb2b8d0f479ad36aae340', class: "xpl-progress-bar__wrapper" }, (this.label || this.showStatusIcon) && (hAsync("div", { key: 'd415f09b3d0d237bc348b33470162d2b44048856', class: "xpl-progress-bar__header" }, this.label && hAsync("div", { key: '48bc06b81c4445d811e6cd5f3ac086192cbcb392', class: "xpl-progress-bar__label" }, this.label), this.showStatusIcon && (hAsync("div", { key: 'd31ccfc3ed1f956fdc89e01ca262b606219bb78e', class: "xpl-progress-bar__icon" }, this.isError ? (hAsync("xpl-icon", { icon: "circle-xmark-1" })) : (hAsync("xpl-icon", { icon: "circle-check-1" })))))), hAsync("div", { key: '5c97c6193a2ebb0626052953f1a11c9afc258da8', class: "xpl-progress-bar__row" }, this.isIndeterminate ? (hAsync("div", { class: "xpl-progress-bar__track xpl-progress-bar__track--indeterminate", role: "progressbar", "aria-label": this.label || 'Progress' }, hAsync("div", { class: "xpl-progress-bar__indeterminate" }))) : (hAsync("progress", { class: "xpl-progress-bar__progress", value: this.clampedValue, max: this.max, "aria-label": this.label || 'Progress' }))), this.helperText && (hAsync("div", { key: '8e78ed094ab41425272b1818cc004a9094c3632d', class: "xpl-progress-bar__helper" }, this.helperText)))));
28756
+ } }, hAsync("div", { key: '6a86fcdc4933aa2ce4df38c2f1797516c3665c3a', class: "xpl-progress-bar__wrapper" }, (this.label || this.showStatusIcon) && (hAsync("div", { key: '12f708882cd9eb13f6011c6e40a3b0fc6b4314aa', class: "xpl-progress-bar__header" }, this.label && hAsync("div", { key: '7a76032a1b457068607018e646b40fe294457fa8', class: "xpl-progress-bar__label" }, this.label), this.showStatusIcon && (hAsync("div", { key: 'dac51b18dda11bf46049a9d0d175821121eb230d', class: "xpl-progress-bar__icon" }, this.isError ? (hAsync("xpl-icon", { icon: "circle-xmark-1" })) : (hAsync("xpl-icon", { icon: "circle-check-1" })))))), hAsync("div", { key: '1923268a3dc1f8aa748f48eca2e991c1424582e3', class: "xpl-progress-bar__row" }, this.isIndeterminate ? (hAsync("div", { class: "xpl-progress-bar__track xpl-progress-bar__track--indeterminate", role: "progressbar", "aria-label": this.label || 'Progress' }, hAsync("div", { class: "xpl-progress-bar__indeterminate" }))) : (hAsync("progress", { class: "xpl-progress-bar__progress", value: this.clampedValue, max: this.max, "aria-label": this.label || 'Progress' }))), this.helperText && (hAsync("div", { key: 'b01a3ae4f73107a4e4938a53e7fa038867da0c53', class: "xpl-progress-bar__helper" }, this.helperText)))));
28757
28757
  }
28758
28758
  static get cmpMeta() { return {
28759
28759
  "$flags$": 0,
@@ -28829,7 +28829,7 @@ class ProgressIndicator {
28829
28829
  ? `Progress: all ${totalSteps} ${totalSteps === 1 ? 'step' : 'steps'} complete`
28830
28830
  : `Progress: step ${currentStepNumber} of ${totalSteps}`
28831
28831
  : 'Progress';
28832
- return (hAsync(Host, { key: '2fa8128b81b665f0733e3c905cb99eaa1917e719', class: hostClasses, role: "group", "aria-label": ariaLabel }, hAsync("div", { key: '279079d456f72748c77ac9f06281c838307ba092', class: "xpl-progress-indicator-container", role: "list" }, steps.map((step, index) => this.renderStep(step, index)))));
28832
+ return (hAsync(Host, { key: 'fd361d06ed53a837d2f585f4c7d1d212cf6cad9b', class: hostClasses, role: "group", "aria-label": ariaLabel }, hAsync("div", { key: '88f819d70853796e7330bce7aab6a457c2ef959f', class: "xpl-progress-indicator-container", role: "list" }, steps.map((step, index) => this.renderStep(step, index)))));
28833
28833
  }
28834
28834
  static get watchers() { return {
28835
28835
  "steps": [{
@@ -28877,14 +28877,14 @@ class Radio {
28877
28877
  return Boolean(this.checked);
28878
28878
  }
28879
28879
  render() {
28880
- return (hAsync(Host, { key: 'e3626967beb86dee46de974dd2a3c8993314d2d0', class: {
28880
+ return (hAsync(Host, { key: '45436282d29873a5c640519eb4ad9aa3afb25b73', class: {
28881
28881
  'xpl-checkbox-radio-container': true,
28882
28882
  styled: !!this.styled,
28883
28883
  disabled: !!this.disabled,
28884
- } }, hAsync("input", { key: 'cdc8d7968dd78031f33b4f72024698f7afec27cf', class: "xpl-radio", type: "radio", checked: this.isChecked, disabled: this.disabled, id: this.id, name: this.name, required: this.required, onChange: this.onChange, value: this.value }), hAsync("label", { key: '5bb2243b7fe42b219d3fa3696c92321b116f8c72', class: {
28884
+ } }, hAsync("input", { key: 'b0f7604cb5751f7fb2dc62960d5e7130d4fc0871', class: "xpl-radio", type: "radio", checked: this.isChecked, disabled: this.disabled, id: this.id, name: this.name, required: this.required, onChange: this.onChange, value: this.value }), hAsync("label", { key: '05d3589852ebcf9ce5c3301cbc685547a45b61d4', class: {
28885
28885
  'xpl-label': true,
28886
28886
  'xpl-label--disabled': !!this.disabled,
28887
- }, htmlFor: this.id }, hAsync("slot", { key: '85f1bf2c73111b8f5c0b0ae26343f590c8a50faf' }), this.description && (hAsync("small", { key: '6452b050fe0df584373a45d105434fe31a8a82ba', class: {
28887
+ }, htmlFor: this.id }, hAsync("slot", { key: '8790f97ad02c180680de269f2f4a0986736c5d4e' }), this.description && (hAsync("small", { key: '94a8e1eea919b8cfe7b4074702dce50e7399c6ab', class: {
28888
28888
  'xpl-description': true,
28889
28889
  'xpl-description--disabled': !!this.disabled,
28890
28890
  } }, this.description)))));
@@ -28914,7 +28914,7 @@ class SecondaryNav {
28914
28914
  registerInstance(this, hostRef);
28915
28915
  }
28916
28916
  render() {
28917
- return (hAsync(Host, { key: '6fd3db4309ecb98fb1739fd69d964297a77a46eb', class: "xpl-secondary-nav" }, hAsync("nav", { key: 'c08a1df306cee05760b6761409ebfb4ba87c2e4f', "aria-label": "Secondary Nav" }, hAsync("slot", { key: '9d5d0657bdd581bce000f1ace49be8c1d018fe47' }))));
28917
+ return (hAsync(Host, { key: 'dc00b09e91c4baa484084256b7b583363a518905', class: "xpl-secondary-nav" }, hAsync("nav", { key: 'daf32568baecfa600a6d51747446e82c0df44d1a', "aria-label": "Secondary Nav" }, hAsync("slot", { key: '6d6a2fa94e8779b7a4b9414fe29829eb1ee20125' }))));
28918
28918
  }
28919
28919
  static get cmpMeta() { return {
28920
28920
  "$flags$": 260,
@@ -29199,21 +29199,21 @@ class Select {
29199
29199
  this.truncate &&
29200
29200
  !this.customDisplayValue;
29201
29201
  const truncatedText = `+ ${Math.abs(this.choicesState.filter((a) => a.isSelected).length - this.visibleChoices)} more`;
29202
- return (hAsync(Host, { key: 'b080c68630c2c0c6bfeffb6ce27c9b9363898ecc', class: {
29202
+ return (hAsync(Host, { key: '62414ef316ff722af90623136e62c5f875e0bfc4', class: {
29203
29203
  'xpl-select': true,
29204
29204
  'xpl-select--disabled': !!this.disabled,
29205
29205
  'xpl-select--no-truncate': !this.truncate,
29206
29206
  [this.classNames ?? '']: !!this.classNames,
29207
29207
  }, onKeyDown: this.handleTabKeyDown, ref: (el) => {
29208
29208
  this.container = el;
29209
- } }, this.renderLabel(), hAsync("div", { key: 'c2913a9da7988d4e24fd788718637bcebd93fcb6', class: {
29209
+ } }, this.renderLabel(), hAsync("div", { key: '482e2b4e6df0db28031f12f8eeca802f31c36b9b', class: {
29210
29210
  'xpl-input': true,
29211
29211
  'xpl-input--disabled': !!this.disabled,
29212
29212
  'xpl-input--error': this.error !== undefined,
29213
- } }, hAsync("div", { key: '58ea7fdb31c591b2726258d786ca5550219bcd89', class: "xpl-input-wrapper" }, hAsync("button", { key: 'c4c2b2f0a90cd4ef407b8797fd65b86062387678', class: "xpl-select__trigger", disabled: this.disabled, id: this.id, onKeyDown: this.handleTabKeyDown, onClick: (e) => {
29213
+ } }, hAsync("div", { key: 'dba46fe22c91e80c4ef7cc279deffb5d054f6d82', class: "xpl-input-wrapper" }, hAsync("button", { key: '9c0ff42202efcfe30a21b599b30271412dd7bba5', class: "xpl-select__trigger", disabled: this.disabled, id: this.id, onKeyDown: this.handleTabKeyDown, onClick: (e) => {
29214
29214
  e.preventDefault();
29215
29215
  this.handleDropdownTrigger();
29216
- }, type: "button" }, hAsync("div", { key: '7ddc58167d4363991c92d90ee6e0881f04bc725f', class: {
29216
+ }, type: "button" }, hAsync("div", { key: '81a43dce597ffd11cb06595361cfd30cc33d24b1', class: {
29217
29217
  'xpl-select-value': true,
29218
29218
  'xpl-select-value--active': this.mode === 'multi' && this.value.length > 0,
29219
29219
  'has-value': this.value.length > 0,
@@ -29233,7 +29233,7 @@ class Select {
29233
29233
  return this.renderSelectedTags();
29234
29234
  }
29235
29235
  return this.placeholder;
29236
- })(), isTextTruncated && truncatedText), hAsync("xpl-icon", { key: '8640f1e46263c802edf0e9b18f53d2eb6b2a78a3', class: "xpl-select__chevron-down", icon: this.selectIcon ?? 'chevron-down' }))), !this.disabled && (hAsync("xpl-dropdown", { key: '6fb8d97e175894715a6dbc6ed17bc5b15829ed13', ref: (el) => {
29236
+ })(), isTextTruncated && truncatedText), hAsync("xpl-icon", { key: '6edc9dcc1ff869d5c715ca143d05e4caac8664f9', class: "xpl-select__chevron-down", icon: this.selectIcon ?? 'chevron-down' }))), !this.disabled && (hAsync("xpl-dropdown", { key: '999afef231d38e5ab4271359ccbd71d85ffb65b9', ref: (el) => {
29237
29237
  this.dropdown = el ?? null;
29238
29238
  }, isOpen: this.dropdownOpenState, options: this.choicesState, selectedValues: this.selectedValues, mode: this.mode, triggerId: this.id, update: (_e, { component }) => {
29239
29239
  const { options } = component;
@@ -29242,7 +29242,7 @@ class Select {
29242
29242
  }
29243
29243
  }, onIsOpenChange: (e) => {
29244
29244
  this.dropdownOpenState = e.detail;
29245
- }, onWheel: this.handleDropdownScroll, anchorToTrigger: true, flipFallbackPlacements: this.dropdownFlipFallbackPlacements, placement: this.dropdownPlacement })), this.renderError()), hAsync("input", { key: '734ef739b61de3320ce777994853cb90ab8271d2', type: "hidden", name: this.name, value: this.value })));
29245
+ }, onWheel: this.handleDropdownScroll, anchorToTrigger: true, flipFallbackPlacements: this.dropdownFlipFallbackPlacements, placement: this.dropdownPlacement })), this.renderError()), hAsync("input", { key: 'f3c1f01d5077af5ac0d2612ce4538ac861a33ac5', type: "hidden", name: this.name, value: this.value })));
29246
29246
  }
29247
29247
  static get watchers() { return {
29248
29248
  "choices": [{
@@ -29552,10 +29552,10 @@ class SideNav {
29552
29552
  ;
29553
29553
  }
29554
29554
  render() {
29555
- return (hAsync(Host, { key: '9d8ca908a77dd47e5789708ebb87e0e76ac5a22e', class: {
29555
+ return (hAsync(Host, { key: '8cffb32c21217edd67117acb264f3df5587fa32d', class: {
29556
29556
  'xpl-side-nav': true,
29557
29557
  'xpl-side-nav--open': this.open,
29558
- } }, hAsync("xpl-button", { key: 'eab3df496e7ec249b78f76e9250361b1dccc3cd6', class: "xpl-side-nav__toggle", variant: "tertiary", iconOnly: true, icon: this.open ? 'sidebar-left-hide' : 'sidebar-left-show', "aria-expanded": this.open ? 'true' : 'false', "aria-label": this.open ? 'Close navigation menu' : 'Open navigation menu', onClick: this.onToggleClick }), hAsync("div", { key: '4f46792c09ff5c98ae87f27bfb3050c74b847c3f', class: "xpl-side-nav__wrapper" }, hAsync("nav", { key: '55a34c0ba7498f7ad531b519d5d9e6f6a225cfc9', class: "xpl-side-nav__content", "aria-label": this.label }, hAsync("div", { key: '8ff330aef09d3ae1624f8752efbff3a2720e55c5', class: "xpl-side-nav__scroll-area" }, this.hasHeaderSlot && (hAsync("div", { key: '19c0235f1b45454cbe8fd9403351cfabebc5f539', class: "xpl-side-nav__header" }, hAsync("slot", { key: '77a3a18b401714a746c8d8f0d2457e9a949068ca', name: "nav-header" }))), hAsync("div", { key: '8a7c00b508d238f0043dc5dfc6c141d7255967bd', class: "xpl-side-nav__section" }, hAsync("slot", { key: 'b4b11bf6937840704cb9d40483e6b19014bd5236', name: "section" }))), hAsync("div", { key: '766bcd4652c5c680975a3c61c4b2fe4759351a4e', class: "xpl-side-nav__footer" }, hAsync("slot", { key: '04acabfdb7f27e8ed6b6569001493f985f344a1e', name: "nav-footer" })))), hAsync("xpl-backdrop", { key: '9e0c074fbb705e7b665672c79ed85e62e28d2e95', class: "xpl-side-nav__backdrop", onClick: this.onBackdropClick })));
29558
+ } }, hAsync("xpl-button", { key: '5a82bbc6a65690f550fe192aa6cd593efbf86bc8', class: "xpl-side-nav__toggle", variant: "tertiary", iconOnly: true, icon: this.open ? 'sidebar-left-hide' : 'sidebar-left-show', "aria-expanded": this.open ? 'true' : 'false', "aria-label": this.open ? 'Close navigation menu' : 'Open navigation menu', onClick: this.onToggleClick }), hAsync("div", { key: '1315f34c7a6e1c793cc347292117f2e5992f074d', class: "xpl-side-nav__wrapper" }, hAsync("nav", { key: '4b7446999c74b1554dae84d04c439a75b712b429', class: "xpl-side-nav__content", "aria-label": this.label }, hAsync("div", { key: 'bce43018bf61c73dde0adb053fa87d0789edd329', class: "xpl-side-nav__scroll-area" }, this.hasHeaderSlot && (hAsync("div", { key: 'd70ecd07a6c71dd76ce162b9167d3b5a11ba4ea8', class: "xpl-side-nav__header" }, hAsync("slot", { key: 'c9d10e57d77a69cf00e86c2a17a94eba5e54d23e', name: "nav-header" }))), hAsync("div", { key: '6873372f5eb854ee7ef88e6d3085d81be62fc508', class: "xpl-side-nav__section" }, hAsync("slot", { key: 'b07fdb332e8ccaaa69db61ade9bb88e43d6f8753', name: "section" }))), hAsync("div", { key: 'f34e444c538cbf246aee52ebfe35657a8fa1d706', class: "xpl-side-nav__footer" }, hAsync("slot", { key: 'da70c80d9378ad1e0dbf23d33d521021c346ee23', name: "nav-footer" })))), hAsync("xpl-backdrop", { key: '769576cb0961b8a00308c748d0efbaa0ef2b3ca5', class: "xpl-side-nav__backdrop", onClick: this.onBackdropClick })));
29559
29559
  }
29560
29560
  get el() { return getElement(this); }
29561
29561
  static get watchers() { return {
@@ -29664,8 +29664,8 @@ class SideNavHeaderItem {
29664
29664
  const showTrailing = this.hasTrailingSlot || showAutoChevron;
29665
29665
  const leading = showLeading ? (hAsync("span", { class: "xpl-side-nav-header-item__leading" }, hAsync("slot", { name: "leading" }, this.icon ? hAsync("xpl-icon", { icon: this.icon, size: 16 }) : null))) : null;
29666
29666
  const trailing = showTrailing ? (hAsync("span", { class: "xpl-side-nav-header-item__trailing", "aria-hidden": showAutoChevron ? 'true' : undefined }, hAsync("slot", { name: "trailing" }, showAutoChevron ? (hAsync("xpl-icon", { icon: "chevron-expand-y", size: 16 })) : null))) : null;
29667
- const content = (hAsync("span", { key: 'ff3b2d318760011f01eb6fc3f2a7aefb8e4ff216', class: "xpl-side-nav-header-item__content" }, leading, hAsync("span", { key: '8675686f88cba081281fa76ffcbd9b1b9f121cac', class: "xpl-side-nav-header-item__label" }, this.label ?? ''), trailing));
29668
- return (hAsync(Host, { key: '1a35eb9ef7530a17b3adc06ebe8b06dc1adc6fa9', class: {
29667
+ const content = (hAsync("span", { key: '3ea94d1fda38199a65303a9bf911de4a7d48aacc', class: "xpl-side-nav-header-item__content" }, leading, hAsync("span", { key: 'a3f369eb6e7bb4e9a283e8f525a356b152d9c017', class: "xpl-side-nav-header-item__label" }, this.label ?? ''), trailing));
29668
+ return (hAsync(Host, { key: 'd979308c18fd071483cbbe8301ed90ffb842a9ac', class: {
29669
29669
  'xpl-side-nav-header-item': true,
29670
29670
  'xpl-side-nav-header-item--product-label': !isSubAccount,
29671
29671
  'xpl-side-nav-header-item--sub-account': isSubAccount,
@@ -29830,14 +29830,14 @@ class SideNavItem {
29830
29830
  expanded: this.expanded,
29831
29831
  selected: this.selected,
29832
29832
  };
29833
- return (hAsync(Host, { key: '33de33212fc2c0fe5ed3ae6cd8aba38178052a03', class: {
29833
+ return (hAsync(Host, { key: '059210d35fdf3561fa2bc4f541f80fbb1e570506', class: {
29834
29834
  'xpl-side-nav-item': true,
29835
29835
  'xpl-side-nav-item--link-disabled': this.link && this.disabled,
29836
29836
  } }, this.link ? (hAsync("slot", null)) : (hAsync("button", { type: "button", class: buttonClass, "aria-current": this.selected ? 'page' : undefined, "aria-expanded": this.hasChildren ? (this.expanded ? 'true' : 'false') : undefined, onClick: this.handleClick, disabled: this.disabled }, hAsync("span", { class: "xpl-side-nav-item__leading" }, hAsync("slot", { name: "leading" }, this.icon ? (hAsync("xpl-icon", { icon: this.icon, size: 16 })) : null)), hAsync("span", { class: "xpl-side-nav-item__label" }, this.label ?? ''), (this.hasTrailingSlot || this.hasChildren) && (hAsync("span", { class: {
29837
29837
  'xpl-side-nav-item__trailing': true,
29838
29838
  'xpl-side-nav-item__trailing--chevron': showAutoChevron,
29839
29839
  expanded: showAutoChevron && this.expanded,
29840
- }, "aria-hidden": showAutoChevron ? 'true' : undefined }, hAsync("slot", { name: "trailing" }, showAutoChevron ? (hAsync("xpl-icon", { icon: this.expanded ? 'chevron-up' : 'chevron-down', size: 16 })) : null))))), this.hasChildren && !this.link && (hAsync("div", { key: 'd9e6ea08b992177a943eb43e64702deee74a95d8', class: `xpl-side-nav-item__children ${this.expanded ? 'expanded' : ''}`, inert: !this.expanded ? true : undefined }, hAsync("div", { key: '7a5709e3c20d569fbc7ab1425280096dc21cb40f', class: "xpl-side-nav-item__children-inner" }, hAsync("slot", { key: '883d0336ad81eb78b52dab740440191e57f92618' }))))));
29840
+ }, "aria-hidden": showAutoChevron ? 'true' : undefined }, hAsync("slot", { name: "trailing" }, showAutoChevron ? (hAsync("xpl-icon", { icon: this.expanded ? 'chevron-up' : 'chevron-down', size: 16 })) : null))))), this.hasChildren && !this.link && (hAsync("div", { key: '47b1eba18028549e03394678bca58beee9b2f157', class: `xpl-side-nav-item__children ${this.expanded ? 'expanded' : ''}`, inert: !this.expanded ? true : undefined }, hAsync("div", { key: '7b6137a009106e3adfb99928bff429bea92b63e2', class: "xpl-side-nav-item__children-inner" }, hAsync("slot", { key: '3cf83a5e3e8367ef4d5bfbedb8c22bc6bf1efaa7' }))))));
29841
29841
  }
29842
29842
  get el() { return getElement(this); }
29843
29843
  static get watchers() { return {
@@ -29952,17 +29952,17 @@ class SideNavSection {
29952
29952
  const hasHeading = !!this.heading?.trim();
29953
29953
  const childrenId = this.childrenId ?? ensureSideNavSectionChildrenId(this.el, this.childrenId);
29954
29954
  const titleRow = [
29955
- hAsync("span", { key: 'c3a19938fa87b21552b5fdff800baf2ee97c186c', class: "xpl-side-nav-section__title" }, this.heading ?? ''),
29956
- hAsync("span", { key: '9303238b226f336cbf0527ef91c2c5d8bce7771c', class: "xpl-side-nav-section__badge", hidden: !this.hasBadgeSlot }, hAsync("slot", { key: '40921f618390e462b0ac69adc0206acd82b884ca', name: "badge" })),
29955
+ hAsync("span", { key: '41b4dd48eaf9fabca8f4c1e4e506200055d46f77', class: "xpl-side-nav-section__title" }, this.heading ?? ''),
29956
+ hAsync("span", { key: 'af345692b55b47dada80dfad85312e45d7cf5f43', class: "xpl-side-nav-section__badge", hidden: !this.hasBadgeSlot }, hAsync("slot", { key: '381c23d89de7de9b1663cd746ce9561688a27463', name: "badge" })),
29957
29957
  this.collapsible ? (hAsync("span", { class: "xpl-side-nav-section__chevron", "aria-hidden": "true" }, hAsync("xpl-icon", { icon: this.expanded ? 'chevron-down' : 'chevron-right', size: 16 }))) : null,
29958
29958
  ];
29959
- return (hAsync(Host, { key: 'fae9c5e2d179a174aae5114a21a442fa787269ad', class: {
29959
+ return (hAsync(Host, { key: 'b3d7e988d1b64afce020137c0d8f8ef89481ef43', class: {
29960
29960
  'xpl-side-nav-section': true,
29961
29961
  'xpl-side-nav-section--static': !this.collapsible,
29962
- } }, this.collapsible ? (hAsync("button", { type: "button", class: "xpl-side-nav-section__header", "aria-expanded": this.expanded ? 'true' : 'false', "aria-controls": childrenId, "aria-label": hasHeading || this.hasNamedBadgeSlot ? undefined : 'Toggle section', onClick: this.handleHeaderClick }, titleRow)) : (hAsync("div", { class: "xpl-side-nav-section__header" }, titleRow)), hAsync("div", { key: 'c33a5478f2c226b915fddf006802312eb7de29e9', id: childrenId, class: {
29962
+ } }, this.collapsible ? (hAsync("button", { type: "button", class: "xpl-side-nav-section__header", "aria-expanded": this.expanded ? 'true' : 'false', "aria-controls": childrenId, "aria-label": hasHeading || this.hasNamedBadgeSlot ? undefined : 'Toggle section', onClick: this.handleHeaderClick }, titleRow)) : (hAsync("div", { class: "xpl-side-nav-section__header" }, titleRow)), hAsync("div", { key: '0e442a9a70a8eacb4b9454f941a3ee0c466c3496', id: childrenId, class: {
29963
29963
  'xpl-side-nav-section__children': true,
29964
29964
  expanded: showChildren,
29965
- }, inert: !showChildren ? true : undefined }, hAsync("div", { key: 'ed7de4040c1e5677ad3b74eb65fc4f6357bab3b6', class: "xpl-side-nav-section__children-inner" }, hAsync("slot", { key: '3f8434e92bb7fcdd7c8a825481a12ef24ba1da28' })))));
29965
+ }, inert: !showChildren ? true : undefined }, hAsync("div", { key: 'f1bc884e69c5a8902f7e12829901e289f73a530e', class: "xpl-side-nav-section__children-inner" }, hAsync("slot", { key: 'bd9f9db68b6f6e1d3a28527d87f4bf797ae49022' })))));
29966
29966
  }
29967
29967
  get el() { return getElement(this); }
29968
29968
  static get cmpMeta() { return {
@@ -29988,7 +29988,7 @@ class Skeleton {
29988
29988
  this.size = 'custom';
29989
29989
  }
29990
29990
  render() {
29991
- return (hAsync(Host, { key: '4c8f4f0e0742c67f965d04aed382259cd120d922', class: {
29991
+ return (hAsync(Host, { key: 'faa4173a2910d1dc3943fca5e7efbf5d1805aa9b', class: {
29992
29992
  'xpl-skeleton': true,
29993
29993
  [`xpl-skeleton--shape-${this.shape}`]: true,
29994
29994
  [`xpl-skeleton--size-${this.size}`]: true,
@@ -30050,7 +30050,7 @@ class Slideout {
30050
30050
  this.handleScroll();
30051
30051
  }
30052
30052
  render() {
30053
- return (hAsync(Host, { key: '0031856dad46059b22c544b17d9c3c486fad49ef', class: "xpl-slideout" }, this.backdrop && this.isOpen && (hAsync("xpl-backdrop", { key: '476ebe60d3761a12edce8a70b79c5458a3a49b88', onClick: this.handleClose })), hAsync("aside", { key: 'e093e4f88719d109e1b76e5843fa799adf77023a', class: `slideout slideout--${!this.isOpen && 'closed'}` }, hAsync("header", { key: '861ce3bafb6f104cd088788e86d5dec891d34559', class: "header" }, hAsync("div", { key: 'f4a9a82d62a118acf4847ae32f6699755103cdeb', class: "title" }, hAsync("slot", { key: '142fabb21a5894d0e505b3555b1de49a3457f01a', name: "title" }), hAsync("xpl-button", { key: 'b5424c903db35139aca7070a223c3e8ccad0286d', class: "close-button", "icon-only": true, size: "sm", variant: "tertiary", onClick: this.handleClose }, hAsync("xpl-icon", { key: 'a7597b061ba78ec8877f4ca119ddfe4fb6f07057', icon: "xmark" }))), hAsync("div", { key: 'fbd6496bcd1854cbbe584a62a27621cc6c730472', class: "subtitle" }, hAsync("slot", { key: 'a9a059571945b74f064d1b4c6a672a7964ff20d7', name: "subtitle" })), hAsync("div", { key: '575d405c99e6a0ded114d274832d7c9a119f8acd', class: "search" }, hAsync("slot", { key: '6db25fde2a6decdfe2f280aae9f784b1e992d070', name: "search" }))), hAsync("xpl-divider", { key: 'dd382afb3181fbad00b1efacd438842c23249978', tier: 0, class: "divider top" }), hAsync("article", { key: 'a8832b326372ede5872d2004308f8dff30955e1a', class: "content", tabIndex: 0 }, hAsync("slot", { key: 'e46c7df8ebc6caecbc82117dd7b5097377dcf163', name: "content" })), this.showFooter && (hAsync("footer", { key: '41e237ffa63f9dfc50ca1792848f4087375edecc' }, hAsync("xpl-divider", { key: '888ece8b783152856696cf792c1db7abedd393fa', tier: 0, class: "divider bottom" }), hAsync("div", { key: '4ee6dcf7cb794ca32c3e0095b9d3ffdda2578870', class: "footer" }, hAsync("slot", { key: '286ecc097c88e7b6655fb27f707cb6163e49374b', name: "tertiary" }), hAsync("slot", { key: '9154a9de3de154cb8f228a00875d81b4c8d1899a', name: "secondary" }), hAsync("slot", { key: 'c510b271b930b8419b8ed26e4a9ce444453f9330', name: "primary" })))))));
30053
+ return (hAsync(Host, { key: '6a677f3ef03392e8c17e96eb1a35244cc65249cc', class: "xpl-slideout" }, this.backdrop && this.isOpen && (hAsync("xpl-backdrop", { key: '8e93a0fe45fdbf00f9b9d72a3b703f4ed91724b7', onClick: this.handleClose })), hAsync("aside", { key: '451a572b79f74f614756c77b7aae9ece7e53a615', class: `slideout slideout--${!this.isOpen && 'closed'}` }, hAsync("header", { key: '4e6f0d5c525ffe16f20a2d85d21e6c85d6213f1e', class: "header" }, hAsync("div", { key: 'bf69e4a7e0be7b1ea763b5d17da90b31f122e7fe', class: "title" }, hAsync("slot", { key: 'b5b3298d2f05a5e99dc2ba934c306c7167eeb861', name: "title" }), hAsync("xpl-button", { key: 'da76c0538824d6d7cdce7385daf77c74fd3e6432', class: "close-button", "icon-only": true, variant: "tertiary", onClick: this.handleClose }, hAsync("xpl-icon", { key: '02d4e1b6d191683f95c5fe9d93db6a8eb6260e32', icon: "xmark" }))), hAsync("div", { key: 'daf09af3d4ec41943ca063fb0b0afddc6075e549', class: "subtitle" }, hAsync("slot", { key: '755b4e4f6bfdcc7f94f0b2ed67526d7f97c77842', name: "subtitle" })), hAsync("div", { key: '294b6650cdc4b15a8f5b9005a24304cccda91ddb', class: "search" }, hAsync("slot", { key: '4b85802d14eb9ab528749727846637a0702ff2d1', name: "search" }))), hAsync("xpl-divider", { key: '335792083b7072b6973e4b684062d6498d1cfc57', tier: 0, class: "divider top" }), hAsync("article", { key: '3a0920577f4599b0ea9a3762ea066b0e8b9d932a', class: "content", tabIndex: 0 }, hAsync("slot", { key: 'b085ef369c4d685ae0e6e518c28e95cd883d1e03', name: "content" })), this.showFooter && (hAsync("footer", { key: '663e2392d8484bb4875dcb4b9411b8ae6b805087' }, hAsync("xpl-divider", { key: '6d0d50a6cc038a19ed5465a9fe79854b2519e70b', tier: 0, class: "divider bottom" }), hAsync("div", { key: '29e9eaea051247ff8e9be18af54f0d3959590759', class: "footer" }, hAsync("slot", { key: '4e9d8e3a054a72fba8392afdefcdca63e8ce8068', name: "tertiary" }), hAsync("slot", { key: '44b764a99064de792309995cdc53b4ca8a82f8da', name: "secondary" }), hAsync("slot", { key: 'c96cedf9662bab571a8cab244c8fce6172691628', name: "primary" })))))));
30054
30054
  }
30055
30055
  get el() { return getElement(this); }
30056
30056
  static get watchers() { return {
@@ -30953,10 +30953,10 @@ class TabPanel {
30953
30953
  const t = this.target ?? '';
30954
30954
  const panelId = tabPanelDomId(groupId, t);
30955
30955
  const labelledBy = tabTriggerId(groupId, t);
30956
- return (hAsync(Host, { key: 'b92d723fe68be63d6438fab8ae8f93a06122c29a', "aria-labelledby": labelledBy, class: {
30956
+ return (hAsync(Host, { key: 'ab151f12048635eb5e47f4cbafcd6f04637f7dfd', "aria-labelledby": labelledBy, class: {
30957
30957
  'xpl-tab-panel': true,
30958
30958
  'xpl-tab-panel--selected': this.selected,
30959
- }, id: panelId, role: "tabpanel" }, hAsync("slot", { key: 'e18aeb92b7082c0c2e809396570b43ac41c34f87' })));
30959
+ }, id: panelId, role: "tabpanel" }, hAsync("slot", { key: '81d82c0f3d8b019ec0abf6cbec34529b216b6533' })));
30960
30960
  }
30961
30961
  get el() { return getElement(this); }
30962
30962
  static get cmpMeta() { return {
@@ -30972,6 +30972,53 @@ class TabPanel {
30972
30972
  }; }
30973
30973
  }
30974
30974
 
30975
+ const XPL_TABLE_COLUMN_WIDTHS_CHANGE_EVENT = 'xplTableColumnWidthsChange';
30976
+ const TABLE_HEADER_CELL_MIN_WIDTH_PX = 48;
30977
+ const getGridColumnWidthFromHeaderCell = (cell) => {
30978
+ if (cell.tagName.toLowerCase() !== 'xpl-table-header-cell') {
30979
+ return 'auto';
30980
+ }
30981
+ const host = cell;
30982
+ const fromProp = typeof host.columnWidth === 'string' ? host.columnWidth.trim() : '';
30983
+ const fromAttr = cell.getAttribute('column-width')?.trim() ?? '';
30984
+ const columnTrack = fromProp || fromAttr;
30985
+ if (columnTrack.length > 0) {
30986
+ return columnTrack;
30987
+ }
30988
+ const w = host.width;
30989
+ if (typeof w === 'number' && Number.isFinite(w) && w > 0) {
30990
+ return `${Math.max(TABLE_HEADER_CELL_MIN_WIDTH_PX, w)}px`;
30991
+ }
30992
+ const raw = cell.getAttribute('width');
30993
+ if (raw === null || raw === '') {
30994
+ return 'auto';
30995
+ }
30996
+ if (/^\s*\d+(\.\d+)?\s*$/.test(raw)) {
30997
+ const n = Number.parseFloat(raw);
30998
+ if (Number.isFinite(n) && n > 0) {
30999
+ return `${Math.max(TABLE_HEADER_CELL_MIN_WIDTH_PX, n)}px`;
31000
+ }
31001
+ return 'auto';
31002
+ }
31003
+ return raw.trim();
31004
+ };
31005
+ const SELECTION_MARK = 'data-xpl-selection-managed';
31006
+ const ROW_REORDER_MARK = 'data-xpl-row-reorder-managed';
31007
+ const getSortAffordanceIconName = (sortDirection) => {
31008
+ if (sortDirection === 'asc')
31009
+ return 'arrow-up';
31010
+ return 'arrow-down';
31011
+ };
31012
+ const cycleSortDirection = (current) => {
31013
+ switch (current) {
31014
+ case 'asc':
31015
+ return 'desc';
31016
+ case 'desc':
31017
+ return null;
31018
+ default:
31019
+ return 'asc';
31020
+ }
31021
+ };
30975
31022
  const getIconType = (sortType) => {
30976
31023
  switch (sortType) {
30977
31024
  case 'asc':
@@ -30982,58 +31029,148 @@ const getIconType = (sortType) => {
30982
31029
  return 'dash';
30983
31030
  }
30984
31031
  };
31032
+
31033
+ function getNearestTableBodyRowFromNode(node) {
31034
+ const el = node instanceof HTMLElement ? node : null;
31035
+ if (!el) {
31036
+ return null;
31037
+ }
31038
+ const row = el.closest('xpl-table-row');
31039
+ return row != null ? row : null;
31040
+ }
31041
+ function getNextVisibleTableBodyRowAfter(element) {
31042
+ const parent = element.parentElement;
31043
+ if (!parent)
31044
+ return null;
31045
+ const siblings = Array.from(parent.children);
31046
+ const idx = siblings.indexOf(element);
31047
+ if (idx === -1)
31048
+ return null;
31049
+ for (let i = idx + 1; i < siblings.length; i += 1) {
31050
+ const n = siblings[i];
31051
+ if (n.tagName.toLowerCase() === 'xpl-table-row' && !n.hasAttribute('hidden')) {
31052
+ return n;
31053
+ }
31054
+ }
31055
+ return null;
31056
+ }
31057
+ function moveRowInTableBody(body, draggedRow, dropTargetRow) {
31058
+ if (draggedRow === dropTargetRow || draggedRow.parentElement !== body) {
31059
+ return;
31060
+ }
31061
+ if (dropTargetRow.parentElement !== body) {
31062
+ return;
31063
+ }
31064
+ const visible = Array.from(body.children).filter((c) => c.tagName.toLowerCase() === 'xpl-table-row' && !c.hasAttribute('hidden'));
31065
+ const fromIndex = visible.indexOf(draggedRow);
31066
+ const toIndex = visible.indexOf(dropTargetRow);
31067
+ if (fromIndex === -1 || toIndex === -1 || fromIndex === toIndex) {
31068
+ return;
31069
+ }
31070
+ if (fromIndex < toIndex) {
31071
+ const nextVisible = getNextVisibleTableBodyRowAfter(dropTargetRow);
31072
+ if (nextVisible) {
31073
+ body.insertBefore(draggedRow, nextVisible);
31074
+ }
31075
+ else {
31076
+ body.insertBefore(draggedRow, null);
31077
+ }
31078
+ }
31079
+ else {
31080
+ body.insertBefore(draggedRow, dropTargetRow);
31081
+ }
31082
+ }
31083
+
31084
+ function bodyRowFromDragTarget(target) {
31085
+ return getNearestTableBodyRowFromNode(target);
31086
+ }
31087
+ function tableBodyRowFromEvent(ev) {
31088
+ const path = typeof ev.composedPath === 'function' ? ev.composedPath() : [];
31089
+ const row = path.find((n) => n instanceof HTMLElement && n.tagName.toLowerCase() === 'xpl-table-row');
31090
+ return row ?? bodyRowFromDragTarget(ev.target);
31091
+ }
31092
+ function reorderDragHandleFromEvent(ev) {
31093
+ const path = typeof ev.composedPath === 'function' ? ev.composedPath() : [];
31094
+ const handle = path.find((n) => n instanceof HTMLElement && n.classList.contains('xpl-table__row-drag-handle'));
31095
+ return handle ?? null;
31096
+ }
30985
31097
  class Table {
30986
31098
  constructor(hostRef) {
30987
31099
  registerInstance(this, hostRef);
30988
- this.tableSelect = createEvent(this, "tableSelect", 7);
31100
+ this.rowOrderChange = createEvent(this, "rowOrderChange", 3);
31101
+ this.rowSelectionChange = createEvent(this, "rowSelectionChange", 3);
30989
31102
  this.sortChanged = createEvent(this, "sortChanged", 3);
30990
- this.selectedValues = [];
30991
- this.isSortable = false;
30992
- this.sortableColumns = [];
31103
+ this.tableSelect = createEvent(this, "tableSelect", 7);
31104
+ this.columnWidthsToken = '';
31105
+ this.lastEmittedRowSelectionKey = '';
31106
+ this.draggedRow = null;
31107
+ this.pendingDragRow = null;
31108
+ this.pointerUpClearPending = null;
31109
+ this.reorderKeyboardTimers = new TimerManager();
31110
+ this.onReorderHandleKeydown = (ev) => {
31111
+ this.handleReorderHandleKeyDown(ev);
31112
+ };
30993
31113
  this.areAllSelected = false;
31114
+ this.colCount = 0;
30994
31115
  this.hasScrolled = false;
31116
+ this.keyboardReorderRowId = null;
31117
+ this.reorderLiveMessage = '';
31118
+ this.rowData = [];
31119
+ this.rowFooterData = [];
31120
+ this.selected = [];
31121
+ this.selectedRowIds = [];
30995
31122
  this.sortTypeArray = [];
31123
+ this.isSortable = false;
31124
+ this.rowReorderable = false;
31125
+ this.selectedValues = [];
31126
+ this.sortableColumns = [];
31127
+ this.onGridScroll = (e) => {
31128
+ this.hasScrolled = e.target.scrollLeft > 0;
31129
+ };
30996
31130
  this.selectAll = (e) => {
30997
- const checked = e.detail;
31131
+ const { target } = e;
31132
+ if (!(target instanceof HTMLInputElement))
31133
+ return;
31134
+ const { checked } = target;
30998
31135
  this.areAllSelected = checked;
30999
31136
  this.selected =
31000
- this.selectedValues.length > 0
31001
- ? Array.from(this.el.querySelectorAll('tbody td:first-child xpl-checkbox')).map((checkbox) => (checked ? (checkbox.value ?? checked) : checked))
31137
+ this.selectedValues && this.selectedValues.length > 0
31138
+ ? Array.from(this.el.querySelectorAll('tbody td:first-child input')).map((input) => (checked ? input?.value : checked))
31002
31139
  : this.selected.map(() => checked);
31003
- this.onChange();
31140
+ this.onSelectionChange();
31004
31141
  };
31005
31142
  this.selectOne = (e, checkboxIdx) => {
31006
- const checked = e.detail;
31007
- const { value } = e.target;
31143
+ const { target } = e;
31144
+ if (!(target instanceof HTMLInputElement))
31145
+ return;
31146
+ const { checked, value } = target;
31147
+ this.areAllSelected = false;
31008
31148
  this.selected = this.selected.map((v, selectedIdx) => {
31009
31149
  if (selectedIdx !== checkboxIdx)
31010
31150
  return v;
31011
- return this.selectedValues.length > 0
31151
+ return this.selectedValues && this.selectedValues.length > 0
31012
31152
  ? checked
31013
- ? (value ?? checked)
31153
+ ? value
31014
31154
  : checked
31015
31155
  : checked;
31016
31156
  });
31017
- this.areAllSelected = this.selected.every((v) => !!v);
31018
- this.onChange();
31157
+ this.onSelectionChange();
31019
31158
  };
31020
- this.onChange = () => {
31159
+ this.onSelectionChange = () => {
31021
31160
  this.tableSelect.emit({
31022
31161
  selected: this.selected,
31023
31162
  areAllSelected: this.areAllSelected,
31024
31163
  });
31025
31164
  };
31026
- this.onScroll = () => {
31165
+ this.onLegacyScroll = () => {
31027
31166
  this.hasScrolled = this.container.scrollLeft > 0;
31028
31167
  };
31029
31168
  this.sortBy = (col, sortTypeArray) => {
31030
31169
  const handleSort = (a, b) => {
31031
- if (a[col].toLocaleLowerCase() < b[col].toLocaleLowerCase()) {
31170
+ if (a[col].toLocaleLowerCase() < b[col].toLocaleLowerCase())
31032
31171
  return -1;
31033
- }
31034
- if (a[col].toLocaleLowerCase() > b[col].toLocaleLowerCase()) {
31172
+ if (a[col].toLocaleLowerCase() > b[col].toLocaleLowerCase())
31035
31173
  return 1;
31036
- }
31037
31174
  return 0;
31038
31175
  };
31039
31176
  switch (sortTypeArray[col]) {
@@ -31044,17 +31181,1062 @@ class Table {
31044
31181
  this.rowData.sort((a, b) => handleSort(b, a));
31045
31182
  break;
31046
31183
  default:
31047
- this.rowData = this.data ? Array.from(this.data) : [];
31184
+ this.rowData = this.data !== undefined ? Array.from(this.data) : [];
31048
31185
  this.sortTypeArray[col] = null;
31049
31186
  break;
31050
31187
  }
31051
- this.rowData = Array.from(this.rowData);
31188
+ this.rowData = Array.from(this.rowData);
31189
+ };
31190
+ this.setData = () => {
31191
+ this.rowData = this.data !== undefined ? Array.from(this.data) : [];
31192
+ };
31193
+ this.setFooterData = () => {
31194
+ this.rowFooterData = this.footer !== undefined ? Array.from(this.footer) : [];
31195
+ };
31196
+ }
31197
+ watchColumns() {
31198
+ this.sortTypeArray = this.columns ? this.columns.map(() => null) : [];
31199
+ }
31200
+ watchData() {
31201
+ this.setData();
31202
+ }
31203
+ watchFooterData() {
31204
+ this.setFooterData();
31205
+ }
31206
+ watchReorderHandleIcon() {
31207
+ if (this.isLegacyMode || !this.rowReorderable)
31208
+ return;
31209
+ this.syncInjectedReorderHandleIcons();
31210
+ }
31211
+ watchReorderHandleIconKeyboard() {
31212
+ if (this.isLegacyMode || !this.rowReorderable)
31213
+ return;
31214
+ this.syncInjectedReorderHandleIcons();
31215
+ }
31216
+ watchRowReorderable(next) {
31217
+ if (this.isLegacyMode)
31218
+ return;
31219
+ if (!next) {
31220
+ this.keyboardReorderRowId = null;
31221
+ this.syncReorderHandleKeyboardA11y(null);
31222
+ this.removeManagedReorderCells();
31223
+ this.draggedRow = null;
31224
+ this.pendingDragRow = null;
31225
+ this.clearPendingDragListeners();
31226
+ this.reorderLiveMessage = '';
31227
+ this.queryBodyRows().forEach((r) => {
31228
+ r.removeAttribute('draggable');
31229
+ r.querySelector('.xpl-table__row-drag-handle')?.removeAttribute('draggable');
31230
+ r.classList.remove('xpl-table-row--dragging', 'xpl-table-row--drag-over');
31231
+ });
31232
+ this.colCount = 0;
31233
+ this.columnWidthsToken = '';
31234
+ }
31235
+ }
31236
+ watchSelectable(next) {
31237
+ if (this.isLegacyMode)
31238
+ return;
31239
+ if (!next) {
31240
+ this.selectedRowIds = [];
31241
+ this.lastEmittedRowSelectionKey = '';
31242
+ this.colCount = 0;
31243
+ this.columnWidthsToken = '';
31244
+ this.syncRowSelectedProps();
31245
+ }
31246
+ }
31247
+ componentWillLoad() {
31248
+ if (this.isLegacyMode) {
31249
+ this.ensureSelectAllValue();
31250
+ this.areAllSelected = false;
31251
+ this.setData();
31252
+ this.setFooterData();
31253
+ this.selected = new Array(this.rowData.length).fill(false);
31254
+ this.sortTypeArray = this.columns ? this.columns.map(() => null) : [];
31255
+ }
31256
+ }
31257
+ ensureSelectAllValue() {
31258
+ if (this.selectAllValue !== undefined) {
31259
+ return;
31260
+ }
31261
+ const hostId = this.el.id?.trim();
31262
+ if (hostId) {
31263
+ this.selectAllValue = `${hostId}-select-all`;
31264
+ return;
31265
+ }
31266
+ const persisted = this.el.getAttribute('data-select-all-value');
31267
+ if (persisted) {
31268
+ this.selectAllValue = persisted;
31269
+ return;
31270
+ }
31271
+ Table.selectAllSeq += 1;
31272
+ this.selectAllValue = `select-all-${Table.selectAllSeq}`;
31273
+ this.el.setAttribute('data-select-all-value', this.selectAllValue);
31274
+ }
31275
+ componentDidLoad() {
31276
+ if (!this.isLegacyMode) {
31277
+ this.syncCompositionalLayout();
31278
+ }
31279
+ }
31280
+ componentDidUpdate() {
31281
+ if (!this.isLegacyMode) {
31282
+ this.syncCompositionalLayout();
31283
+ }
31284
+ }
31285
+ disconnectedCallback() {
31286
+ this.clearPendingDragListeners();
31287
+ this.detachReorderHandleKeydownListeners();
31288
+ this.reorderKeyboardTimers.dispose();
31289
+ if (this.reorderAnnounceRaf !== undefined) {
31290
+ cancelAnimationFrame(this.reorderAnnounceRaf);
31291
+ this.reorderAnnounceRaf = undefined;
31292
+ }
31293
+ }
31294
+ handleHeaderCellColumnWidthsChange(ev) {
31295
+ if (this.isLegacyMode)
31296
+ return;
31297
+ const t = ev.target;
31298
+ if (!(t instanceof Node) || !this.el.contains(t))
31299
+ return;
31300
+ this.updateColumnWidths();
31301
+ }
31302
+ handleCompositionalCheckboxChange(ev) {
31303
+ if (this.isLegacyMode || !this.selectable)
31304
+ return;
31305
+ if (!this.isEventFromThisTable(ev.target))
31306
+ return;
31307
+ const path = ev.composedPath?.() ?? [];
31308
+ let checkboxHost = (path.length > 0 ? path : [ev.target].filter((n) => n != null)).find((n) => n instanceof HTMLElement && n.tagName.toLowerCase() === 'xpl-checkbox');
31309
+ if (!checkboxHost &&
31310
+ ev.target &&
31311
+ typeof ev.target.closest === 'function') {
31312
+ checkboxHost = ev.target.closest('xpl-checkbox') ?? undefined;
31313
+ }
31314
+ if (!checkboxHost || !this.el.contains(checkboxHost))
31315
+ return;
31316
+ const row = checkboxHost.closest('xpl-table-row');
31317
+ if (!row || !this.isDirectChildBodyRow(row))
31318
+ return;
31319
+ const cell = checkboxHost.closest('xpl-table-cell');
31320
+ if (!cell)
31321
+ return;
31322
+ const selectionIdx = this.getSelectionColumnIndex();
31323
+ if (selectionIdx === null)
31324
+ return;
31325
+ const bodyCells = Table.getBodyRowCells(row);
31326
+ const colIdx = bodyCells.indexOf(cell);
31327
+ if (colIdx !== selectionIdx)
31328
+ return;
31329
+ ev.stopPropagation();
31330
+ const rowId = Table.getRowIdForRow(row);
31331
+ if (!rowId || row.disabled)
31332
+ return;
31333
+ const input = checkboxHost.querySelector('input[type="checkbox"]');
31334
+ if (!input)
31335
+ return;
31336
+ const { checked } = input;
31337
+ if (checked) {
31338
+ if (!this.selectedRowIds.includes(rowId)) {
31339
+ this.selectedRowIds = [...this.selectedRowIds, rowId];
31340
+ }
31341
+ }
31342
+ else {
31343
+ this.selectedRowIds = this.selectedRowIds.filter((id) => id !== rowId);
31344
+ }
31345
+ this.applyHeaderCheckboxState();
31346
+ this.syncRowSelectedProps();
31347
+ this.emitCompositionalSelection();
31348
+ }
31349
+ handleCompositionalHeaderCheckboxChange(ev) {
31350
+ if (this.isLegacyMode || !this.selectable)
31351
+ return;
31352
+ if (!this.isEventFromThisTable(ev.target))
31353
+ return;
31354
+ const path = ev.composedPath?.() ?? [];
31355
+ let headerCell = (path.length > 0 ? path : [ev.target].filter((n) => n != null)).find((n) => n instanceof HTMLElement &&
31356
+ n.tagName.toLowerCase() === 'xpl-table-header-cell' &&
31357
+ n.getAttribute('type') === 'checkbox');
31358
+ if (!headerCell && ev.target && typeof ev.target.closest === 'function') {
31359
+ const maybeCell = ev.target.closest('xpl-table-header-cell[type="checkbox"]');
31360
+ if (maybeCell instanceof HTMLElement) {
31361
+ headerCell = maybeCell;
31362
+ }
31363
+ }
31364
+ if (!headerCell || !this.el.contains(headerCell))
31365
+ return;
31366
+ if (!this.isCellInOurCompositionalHeader(headerCell))
31367
+ return;
31368
+ const headerCells = this.getCompositionalHeaderCells();
31369
+ if (!headerCells.includes(headerCell))
31370
+ return;
31371
+ const checked = !!ev.detail;
31372
+ const selectableRows = this.querySelectableBodyRows();
31373
+ const ids = selectableRows
31374
+ .map((r) => Table.getRowIdForRow(r))
31375
+ .filter((id) => !!id);
31376
+ if (checked) {
31377
+ this.selectedRowIds = [...ids];
31378
+ }
31379
+ else {
31380
+ this.selectedRowIds = [];
31381
+ }
31382
+ this.applyBodyCheckboxStates();
31383
+ this.syncRowSelectedProps();
31384
+ this.emitCompositionalSelection();
31385
+ }
31386
+ handlePointerDownExitKeyboardReorder(ev) {
31387
+ if (this.isLegacyMode || !this.rowReorderable || this.keyboardReorderRowId === null) {
31388
+ return;
31389
+ }
31390
+ const t = ev.target;
31391
+ if (!(t instanceof Node) || !this.el.contains(t)) {
31392
+ return;
31393
+ }
31394
+ const row = t instanceof Element ? t.closest('xpl-table-row') : null;
31395
+ if (!row || !this.isDirectChildBodyRow(row)) {
31396
+ return;
31397
+ }
31398
+ this.keyboardReorderRowId = null;
31399
+ this.syncReorderHandleKeyboardA11y(null);
31400
+ }
31401
+ handleReorderHandleKeyDown(ev) {
31402
+ if (this.isLegacyMode || !this.rowReorderable) {
31403
+ return;
31404
+ }
31405
+ const rawPath = typeof ev.composedPath === 'function' ? ev.composedPath() : [];
31406
+ const path = rawPath.length > 0 ? rawPath : ev.target ? [ev.target] : [];
31407
+ let handle = path.find((n) => n instanceof HTMLElement && n.classList.contains('xpl-table__row-drag-handle'));
31408
+ if (!handle &&
31409
+ ev.target instanceof HTMLElement &&
31410
+ ev.target.classList.contains('xpl-table__row-drag-handle')) {
31411
+ handle = ev.target;
31412
+ }
31413
+ if (!handle || !this.el.contains(handle)) {
31414
+ return;
31415
+ }
31416
+ const row = handle.closest('xpl-table-row');
31417
+ if (!row || !this.isDirectChildBodyRow(row)) {
31418
+ return;
31419
+ }
31420
+ const rowId = Table.getRowIdForRow(row) ?? '';
31421
+ if (!rowId) {
31422
+ return;
31423
+ }
31424
+ const isKbd = this.keyboardReorderRowId === rowId;
31425
+ const isEscapeKey = ev.key === 'Escape' ||
31426
+ ev.key === 'Esc' ||
31427
+ ev.code === 'Escape' ||
31428
+ ev.keyCode === 27;
31429
+ if (row.disabled) {
31430
+ if (isEscapeKey && isKbd) {
31431
+ ev.preventDefault();
31432
+ this.keyboardReorderRowId = null;
31433
+ this.syncReorderHandleKeyboardA11y(null);
31434
+ }
31435
+ return;
31436
+ }
31437
+ if (isEscapeKey) {
31438
+ if (isKbd) {
31439
+ ev.preventDefault();
31440
+ this.keyboardReorderRowId = null;
31441
+ this.syncReorderHandleKeyboardA11y(null);
31442
+ }
31443
+ return;
31444
+ }
31445
+ if (!isKbd) {
31446
+ if (ev.key === 'Enter' || ev.key === ' ') {
31447
+ ev.preventDefault();
31448
+ this.keyboardReorderRowId = rowId;
31449
+ this.syncReorderHandleKeyboardA11y(rowId);
31450
+ }
31451
+ return;
31452
+ }
31453
+ if (ev.key === 'ArrowUp' || ev.key === 'ArrowDown') {
31454
+ ev.preventDefault();
31455
+ const dir = ev.key === 'ArrowUp' ? 'up' : 'down';
31456
+ this.performKeyboardRowReorder(rowId, dir);
31457
+ }
31458
+ }
31459
+ handleRowReorderPointerDown(ev) {
31460
+ if (this.isLegacyMode || !this.rowReorderable) {
31461
+ return;
31462
+ }
31463
+ const handle = reorderDragHandleFromEvent(ev);
31464
+ if (!handle) {
31465
+ return;
31466
+ }
31467
+ const table = handle.closest('xpl-table');
31468
+ if (table !== this.el) {
31469
+ return;
31470
+ }
31471
+ const row = bodyRowFromDragTarget(handle);
31472
+ if (!row || row.disabled) {
31473
+ return;
31474
+ }
31475
+ const body = this.getDirectChildTableSection('xpl-table-body');
31476
+ if (!body || row.parentElement !== body) {
31477
+ return;
31478
+ }
31479
+ this.clearPendingDragListeners();
31480
+ this.pendingDragRow = row;
31481
+ const onPointerEnd = () => {
31482
+ this.clearPendingDragListeners();
31483
+ this.pendingDragRow = null;
31484
+ };
31485
+ document.addEventListener('pointerup', onPointerEnd, true);
31486
+ document.addEventListener('pointercancel', onPointerEnd, true);
31487
+ this.pointerUpClearPending = () => {
31488
+ document.removeEventListener('pointerup', onPointerEnd, true);
31489
+ document.removeEventListener('pointercancel', onPointerEnd, true);
31490
+ };
31491
+ }
31492
+ handleRowReorderDragStart(ev) {
31493
+ if (this.isLegacyMode || !this.rowReorderable) {
31494
+ return;
31495
+ }
31496
+ const row = tableBodyRowFromEvent(ev);
31497
+ if (!row) {
31498
+ return;
31499
+ }
31500
+ if (row.closest('xpl-table') !== this.el) {
31501
+ return;
31502
+ }
31503
+ const body = this.getDirectChildTableSection('xpl-table-body');
31504
+ if (!body || row.parentElement !== body) {
31505
+ return;
31506
+ }
31507
+ if (row.disabled || this.pendingDragRow !== row) {
31508
+ ev.preventDefault();
31509
+ return;
31510
+ }
31511
+ this.keyboardReorderRowId = null;
31512
+ this.syncReorderHandleKeyboardA11y(null);
31513
+ this.clearPendingDragListeners();
31514
+ this.pendingDragRow = null;
31515
+ this.draggedRow = row;
31516
+ if (ev.dataTransfer) {
31517
+ ev.dataTransfer.effectAllowed = 'move';
31518
+ ev.dataTransfer.setData('text/plain', Table.getRowIdForRow(row) ?? '');
31519
+ }
31520
+ row.classList.add('xpl-table-row--dragging');
31521
+ }
31522
+ handleRowReorderDragEnd(ev) {
31523
+ if (this.isLegacyMode || !this.rowReorderable) {
31524
+ return;
31525
+ }
31526
+ const row = tableBodyRowFromEvent(ev);
31527
+ if (!row || row.closest('xpl-table') !== this.el) {
31528
+ return;
31529
+ }
31530
+ row.classList.remove('xpl-table-row--dragging');
31531
+ this.clearReorderDragOverClasses();
31532
+ this.draggedRow = null;
31533
+ }
31534
+ handleRowReorderDragOver(ev) {
31535
+ if (this.isLegacyMode || !this.rowReorderable) {
31536
+ return;
31537
+ }
31538
+ const row = tableBodyRowFromEvent(ev);
31539
+ if (!row || row.closest('xpl-table') !== this.el) {
31540
+ return;
31541
+ }
31542
+ const body = this.getDirectChildTableSection('xpl-table-body');
31543
+ if (!body || row.parentElement !== body || row.disabled) {
31544
+ return;
31545
+ }
31546
+ ev.preventDefault();
31547
+ if (ev.dataTransfer) {
31548
+ ev.dataTransfer.dropEffect = 'move';
31549
+ }
31550
+ }
31551
+ handleRowReorderDragEnter(ev) {
31552
+ if (this.isLegacyMode || !this.rowReorderable) {
31553
+ return;
31554
+ }
31555
+ const row = tableBodyRowFromEvent(ev);
31556
+ if (!row || row.closest('xpl-table') !== this.el) {
31557
+ return;
31558
+ }
31559
+ const body = this.getDirectChildTableSection('xpl-table-body');
31560
+ if (!body || row.parentElement !== body || row.disabled) {
31561
+ return;
31562
+ }
31563
+ ev.preventDefault();
31564
+ row.classList.add('xpl-table-row--drag-over');
31565
+ }
31566
+ handleRowReorderDragLeave(ev) {
31567
+ if (this.isLegacyMode || !this.rowReorderable) {
31568
+ return;
31569
+ }
31570
+ const row = tableBodyRowFromEvent(ev);
31571
+ if (!row || row.closest('xpl-table') !== this.el) {
31572
+ return;
31573
+ }
31574
+ const related = ev.relatedTarget;
31575
+ if (related && row.contains(related)) {
31576
+ return;
31577
+ }
31578
+ row.classList.remove('xpl-table-row--drag-over');
31579
+ }
31580
+ handleRowReorderDrop(ev) {
31581
+ if (this.isLegacyMode || !this.rowReorderable) {
31582
+ return;
31583
+ }
31584
+ ev.preventDefault();
31585
+ const dropRow = tableBodyRowFromEvent(ev);
31586
+ if (!dropRow || dropRow.closest('xpl-table') !== this.el) {
31587
+ return;
31588
+ }
31589
+ const body = this.getDirectChildTableSection('xpl-table-body');
31590
+ if (!body || dropRow.parentElement !== body || dropRow.disabled) {
31591
+ return;
31592
+ }
31593
+ const source = this.draggedRow;
31594
+ if (!source || source.disabled) {
31595
+ this.draggedRow = null;
31596
+ this.clearReorderDragOverClasses();
31597
+ return;
31598
+ }
31599
+ if (source === dropRow) {
31600
+ this.clearReorderDragOverClasses();
31601
+ return;
31602
+ }
31603
+ const visible = this.getVisibleBodyRowsForReorder();
31604
+ const fromIndex = visible.indexOf(source);
31605
+ const toIndex = visible.indexOf(dropRow);
31606
+ if (fromIndex === -1 || toIndex === -1) {
31607
+ this.clearReorderDragOverClasses();
31608
+ return;
31609
+ }
31610
+ const direction = fromIndex > toIndex ? 'up' : 'down';
31611
+ const rowId = Table.getRowIdForRow(source) ?? '';
31612
+ const runMove = () => {
31613
+ moveRowInTableBody(body, source, dropRow);
31614
+ };
31615
+ runMove();
31616
+ const orderedRowIds = this.getVisibleBodyRowsForReorder().map((r) => Table.getRowIdForRow(r) ?? '');
31617
+ this.rowOrderChange.emit({
31618
+ rowId,
31619
+ direction,
31620
+ orderedRowIds,
31621
+ fromIndex,
31622
+ toIndex,
31623
+ });
31624
+ this.announceRowReorder(rowId, orderedRowIds);
31625
+ this.clearReorderDragOverClasses();
31626
+ if (this.selectable) {
31627
+ this.applyBodyCheckboxStates();
31628
+ this.applyHeaderCheckboxState();
31629
+ this.syncRowSelectedProps();
31630
+ }
31631
+ this.updateColumnWidths();
31632
+ }
31633
+ get isLegacyMode() {
31634
+ return this.columns !== undefined || this.data !== undefined || this.footer !== undefined;
31635
+ }
31636
+ ensureTableInstanceId() {
31637
+ if (this.tableInstanceId)
31638
+ return;
31639
+ if (typeof crypto !== 'undefined' && crypto.randomUUID) {
31640
+ this.tableInstanceId = crypto.randomUUID();
31641
+ }
31642
+ else {
31643
+ this.tableInstanceId = Math.random().toString(36).slice(2);
31644
+ }
31645
+ }
31646
+ generateRowId() {
31647
+ this.ensureTableInstanceId();
31648
+ if (typeof crypto !== 'undefined' && crypto.randomUUID) {
31649
+ return `${this.tableInstanceId}-${crypto.randomUUID()}`;
31650
+ }
31651
+ return `${this.tableInstanceId}-${Math.random().toString(36).slice(2)}`;
31652
+ }
31653
+ syncCompositionalLayout() {
31654
+ if (this.isLegacyMode)
31655
+ return;
31656
+ if (this.rowReorderable) {
31657
+ this.syncReorderColumn();
31658
+ }
31659
+ else {
31660
+ this.removeManagedReorderCells();
31661
+ }
31662
+ if (this.selectable) {
31663
+ this.ensureTableInstanceId();
31664
+ this.pruneStaleSelectedRowIds();
31665
+ this.ensureBodyRowIds();
31666
+ this.applyBodyCheckboxStates();
31667
+ this.applyHeaderCheckboxState();
31668
+ this.syncRowSelectedProps();
31669
+ }
31670
+ if (this.rowReorderable && this.selectable) {
31671
+ this.normalizeManagedColumnsOrder();
31672
+ }
31673
+ this.updateColumnWidths();
31674
+ }
31675
+ getDirectChildTableSection(tag) {
31676
+ const el = Array.from(this.el.children).find((c) => c.tagName.toLowerCase() === tag);
31677
+ return el ?? null;
31678
+ }
31679
+ isDirectChildBodyRow(row) {
31680
+ const body = this.getDirectChildTableSection('xpl-table-body');
31681
+ return body !== null && row.parentElement === body;
31682
+ }
31683
+ isCellInOurCompositionalHeader(cell) {
31684
+ const header = cell.closest('xpl-table-header');
31685
+ return header !== null && header.parentElement === this.el;
31686
+ }
31687
+ getSelectionColumnIndex() {
31688
+ const headerCells = this.getCompositionalHeaderCells();
31689
+ const idx = headerCells.findIndex((c) => c.getAttribute('type') === 'checkbox');
31690
+ return idx >= 0 ? idx : null;
31691
+ }
31692
+ static getBodyRowCells(row) {
31693
+ return Array.from(row.children).filter((c) => c.tagName.toLowerCase() === 'xpl-table-cell');
31694
+ }
31695
+ queryBodyRows() {
31696
+ const body = this.getDirectChildTableSection('xpl-table-body');
31697
+ if (!body)
31698
+ return [];
31699
+ return Array.from(body.children).filter((c) => c.tagName.toLowerCase() === 'xpl-table-row');
31700
+ }
31701
+ querySelectableBodyRows() {
31702
+ return this.queryBodyRows().filter((row) => !row.disabled);
31703
+ }
31704
+ static getRowIdForRow(row) {
31705
+ const id = row.getAttribute('row-id')?.trim();
31706
+ return id || null;
31707
+ }
31708
+ ensureBodyRowIds() {
31709
+ this.queryBodyRows().forEach((row) => {
31710
+ if (Table.getRowIdForRow(row))
31711
+ return;
31712
+ row.setAttribute('row-id', this.generateRowId());
31713
+ });
31714
+ }
31715
+ removeManagedReorderCells() {
31716
+ this.el.querySelectorAll(`[${ROW_REORDER_MARK}]`).forEach((node) => {
31717
+ if (!(node instanceof Element))
31718
+ return;
31719
+ if (node.closest('xpl-table') !== this.el)
31720
+ return;
31721
+ node.parentElement?.removeChild(node);
31722
+ });
31723
+ }
31724
+ getSelectionSlotCellForReorderOrder(row) {
31725
+ const idx = this.getSelectionColumnIndex();
31726
+ if (idx === null) {
31727
+ return null;
31728
+ }
31729
+ const cells = Array.from(row.children);
31730
+ const cell = cells[idx];
31731
+ if (!cell) {
31732
+ return null;
31733
+ }
31734
+ const tag = cell.tagName.toLowerCase();
31735
+ if (tag === 'xpl-table-header-cell') {
31736
+ return cell.getAttribute('type') === 'checkbox' ? cell : null;
31737
+ }
31738
+ if (tag === 'xpl-table-cell') {
31739
+ if (cell.hasAttribute(SELECTION_MARK)) {
31740
+ return cell;
31741
+ }
31742
+ return cell.querySelector('xpl-checkbox') ? cell : null;
31743
+ }
31744
+ if (tag === 'xpl-table-footer-cell') {
31745
+ return cell;
31746
+ }
31747
+ return null;
31748
+ }
31749
+ normalizeManagedColumnsOrder() {
31750
+ const fix = (row) => {
31751
+ const re = row.querySelector(`:scope > [${ROW_REORDER_MARK}]`);
31752
+ const se = this.getSelectionSlotCellForReorderOrder(row);
31753
+ if (!re || !se) {
31754
+ return;
31755
+ }
31756
+ const siblings = Array.from(row.children);
31757
+ const iRe = siblings.indexOf(re);
31758
+ const iSe = siblings.indexOf(se);
31759
+ if (iRe > iSe) {
31760
+ row.insertBefore(re, se);
31761
+ }
31762
+ };
31763
+ const header = Array.from(this.el.children).find((c) => c.tagName.toLowerCase() === 'xpl-table-header') ?? null;
31764
+ if (header) {
31765
+ const firstRow = Array.from(header.children).find((c) => c.tagName.toLowerCase() === 'xpl-table-row');
31766
+ const container = firstRow ?? header;
31767
+ fix(container);
31768
+ }
31769
+ this.queryBodyRows().forEach((row) => fix(row));
31770
+ const footer = this.getDirectChildTableSection('xpl-table-footer');
31771
+ if (footer) {
31772
+ Array.from(footer.children)
31773
+ .filter((c) => c.tagName.toLowerCase() === 'xpl-table-row')
31774
+ .forEach((row) => fix(row));
31775
+ }
31776
+ }
31777
+ syncReorderColumn() {
31778
+ if (!this.rowReorderable || this.isLegacyMode)
31779
+ return;
31780
+ this.ensureBodyRowIds();
31781
+ this.ensureHeaderReorderCell();
31782
+ this.ensureBodyReorderCells();
31783
+ this.ensureFooterReorderCells();
31784
+ this.applyReorderRowDraggableState();
31785
+ }
31786
+ ensureHeaderReorderCell() {
31787
+ const header = Array.from(this.el.children).find((c) => c.tagName.toLowerCase() === 'xpl-table-header') ?? null;
31788
+ if (!header)
31789
+ return;
31790
+ const firstRow = Array.from(header.children).find((c) => c.tagName.toLowerCase() === 'xpl-table-row');
31791
+ const container = firstRow ?? header;
31792
+ if (Array.from(container.children).some((c) => c.tagName.toLowerCase() === 'xpl-table-header-cell' &&
31793
+ c.hasAttribute(ROW_REORDER_MARK))) {
31794
+ return;
31795
+ }
31796
+ const cell = document.createElement('xpl-table-header-cell');
31797
+ cell.setAttribute(ROW_REORDER_MARK, '');
31798
+ cell.setAttribute('type', 'empty');
31799
+ cell.setAttribute('width', '48');
31800
+ cell.setAttribute('align', 'center');
31801
+ container.insertBefore(cell, container.firstChild);
31802
+ }
31803
+ ensureBodyReorderCells() {
31804
+ this.queryBodyRows().forEach((row) => {
31805
+ const managed = Array.from(row.children).filter((c) => c.tagName.toLowerCase() === 'xpl-table-cell' &&
31806
+ c.hasAttribute(ROW_REORDER_MARK));
31807
+ if (managed.length > 1) {
31808
+ for (let i = 1; i < managed.length; i += 1) {
31809
+ managed[i].remove();
31810
+ }
31811
+ }
31812
+ let cell = managed[0];
31813
+ if (!cell) {
31814
+ const newCell = document.createElement('xpl-table-cell');
31815
+ newCell.setAttribute(ROW_REORDER_MARK, '');
31816
+ newCell.setAttribute('width', '48');
31817
+ newCell.setAttribute('align', 'center');
31818
+ const btn = document.createElement('button');
31819
+ btn.type = 'button';
31820
+ btn.className = 'xpl-table__row-drag-handle';
31821
+ btn.setAttribute('aria-label', 'Reorder row');
31822
+ btn.setAttribute('aria-pressed', 'false');
31823
+ const iconName = this.getResolvedIconForRow(Table.getRowIdForRow(row) ?? '');
31824
+ if (iconName) {
31825
+ const icon = document.createElement('xpl-icon');
31826
+ icon.setAttribute('icon', iconName);
31827
+ icon.setAttribute('size', '16');
31828
+ btn.appendChild(icon);
31829
+ }
31830
+ newCell.appendChild(btn);
31831
+ row.insertBefore(newCell, row.firstChild);
31832
+ cell = newCell;
31833
+ }
31834
+ else {
31835
+ cell.setAttribute('align', 'center');
31836
+ }
31837
+ const btn = cell.querySelector('.xpl-table__row-drag-handle');
31838
+ if (btn) {
31839
+ btn.disabled = row.disabled;
31840
+ }
31841
+ });
31842
+ this.syncInjectedReorderHandleIcons();
31843
+ this.attachReorderHandleKeydownListeners();
31844
+ }
31845
+ getResolvedIconForRow(rowId) {
31846
+ const inKeyboardMode = this.keyboardReorderRowId !== null &&
31847
+ rowId !== '' &&
31848
+ rowId === this.keyboardReorderRowId;
31849
+ if (inKeyboardMode) {
31850
+ if (this.reorderHandleIconKeyboard === '') {
31851
+ return null;
31852
+ }
31853
+ return this.reorderHandleIconKeyboard ?? 'caret-expand-y';
31854
+ }
31855
+ if (this.reorderHandleIcon === '') {
31856
+ return null;
31857
+ }
31858
+ return this.reorderHandleIcon ?? 'grip-dots-vertical';
31859
+ }
31860
+ syncInjectedReorderHandleIcons() {
31861
+ this.queryBodyRows().forEach((row) => {
31862
+ const btn = row.querySelector('.xpl-table__row-drag-handle');
31863
+ if (!btn) {
31864
+ return;
31865
+ }
31866
+ const rowId = Table.getRowIdForRow(row) ?? '';
31867
+ const iconName = this.getResolvedIconForRow(rowId);
31868
+ btn.querySelectorAll('xpl-icon').forEach((n) => n.remove());
31869
+ if (iconName) {
31870
+ const icon = document.createElement('xpl-icon');
31871
+ icon.setAttribute('icon', iconName);
31872
+ icon.setAttribute('size', '16');
31873
+ btn.appendChild(icon);
31874
+ }
31875
+ });
31876
+ }
31877
+ syncReorderHandleKeyboardA11y(activeId) {
31878
+ if (this.isLegacyMode || !this.rowReorderable) {
31879
+ return;
31880
+ }
31881
+ this.queryBodyRows().forEach((row) => {
31882
+ const btn = row.querySelector('.xpl-table__row-drag-handle');
31883
+ if (!btn) {
31884
+ return;
31885
+ }
31886
+ const rid = Table.getRowIdForRow(row) ?? '';
31887
+ const isActive = activeId !== null && rid === activeId;
31888
+ btn.classList.toggle('xpl-table__row-drag-handle--keyboard-mode', isActive);
31889
+ btn.setAttribute('aria-pressed', isActive ? 'true' : 'false');
31890
+ btn.setAttribute('aria-label', isActive
31891
+ ? 'Press arrow up or down to reorder, Escape to exit'
31892
+ : 'Press Enter or Space to activate keyboard reorder mode, or drag to reorder');
31893
+ });
31894
+ this.syncInjectedReorderHandleIcons();
31895
+ }
31896
+ attachReorderHandleKeydownListeners() {
31897
+ if (this.isLegacyMode || !this.rowReorderable) {
31898
+ return;
31899
+ }
31900
+ this.queryBodyRows().forEach((row) => {
31901
+ const btn = row.querySelector('.xpl-table__row-drag-handle');
31902
+ if (!btn || btn.dataset.xplReorderKbdBound === 'true') {
31903
+ return;
31904
+ }
31905
+ btn.dataset.xplReorderKbdBound = 'true';
31906
+ btn.addEventListener('keydown', this.onReorderHandleKeydown);
31907
+ });
31908
+ }
31909
+ detachReorderHandleKeydownListeners() {
31910
+ if (!this.el) {
31911
+ return;
31912
+ }
31913
+ this.el
31914
+ .querySelectorAll('.xpl-table__row-drag-handle[data-xpl-reorder-kbd-bound="true"]')
31915
+ .forEach((btn) => {
31916
+ btn.removeEventListener('keydown', this.onReorderHandleKeydown);
31917
+ delete btn.dataset.xplReorderKbdBound;
31918
+ });
31919
+ }
31920
+ performKeyboardRowReorder(rowId, direction) {
31921
+ const body = this.getDirectChildTableSection('xpl-table-body');
31922
+ if (!body) {
31923
+ return false;
31924
+ }
31925
+ const visible = this.getVisibleBodyRowsForReorder();
31926
+ const itemIndex = visible.findIndex((r) => Table.getRowIdForRow(r) === rowId);
31927
+ if (itemIndex === -1) {
31928
+ return false;
31929
+ }
31930
+ const targetIndex = direction === 'up' ? itemIndex - 1 : itemIndex + 1;
31931
+ if (targetIndex < 0 || targetIndex >= visible.length) {
31932
+ return false;
31933
+ }
31934
+ const fromIndex = itemIndex;
31935
+ const item = visible[itemIndex];
31936
+ const targetItem = visible[targetIndex];
31937
+ if (direction === 'up') {
31938
+ body.insertBefore(item, targetItem);
31939
+ }
31940
+ else {
31941
+ const nextVisible = getNextVisibleTableBodyRowAfter(targetItem);
31942
+ if (nextVisible) {
31943
+ body.insertBefore(item, nextVisible);
31944
+ }
31945
+ else {
31946
+ body.appendChild(item);
31947
+ }
31948
+ }
31949
+ const orderedRowIds = this.getVisibleBodyRowsForReorder().map((r) => Table.getRowIdForRow(r) ?? '');
31950
+ const toIndex = orderedRowIds.indexOf(rowId);
31951
+ this.rowOrderChange.emit({
31952
+ rowId,
31953
+ direction,
31954
+ orderedRowIds,
31955
+ fromIndex,
31956
+ toIndex,
31957
+ });
31958
+ this.announceRowReorder(rowId, orderedRowIds);
31959
+ this.clearReorderDragOverClasses();
31960
+ if (this.selectable) {
31961
+ this.applyBodyCheckboxStates();
31962
+ this.applyHeaderCheckboxState();
31963
+ this.syncRowSelectedProps();
31964
+ }
31965
+ this.updateColumnWidths();
31966
+ this.reorderKeyboardTimers.requestAnimationFrame(() => {
31967
+ if (!this.el.isConnected) {
31968
+ return;
31969
+ }
31970
+ const moved = this.getVisibleBodyRowsForReorder().find((r) => Table.getRowIdForRow(r) === rowId);
31971
+ const btn = moved?.querySelector('.xpl-table__row-drag-handle');
31972
+ btn?.focus();
31973
+ });
31974
+ return true;
31975
+ }
31976
+ ensureFooterReorderCells() {
31977
+ const footer = this.getDirectChildTableSection('xpl-table-footer');
31978
+ if (!footer)
31979
+ return;
31980
+ Array.from(footer.children)
31981
+ .filter((c) => c.tagName.toLowerCase() === 'xpl-table-row')
31982
+ .forEach((row) => {
31983
+ if (Array.from(row.children).some((c) => c.tagName.toLowerCase() === 'xpl-table-footer-cell' &&
31984
+ c.hasAttribute(ROW_REORDER_MARK))) {
31985
+ return;
31986
+ }
31987
+ const cell = document.createElement('xpl-table-footer-cell');
31988
+ cell.setAttribute(ROW_REORDER_MARK, '');
31989
+ cell.setAttribute('width', '48');
31990
+ cell.setAttribute('align', 'center');
31991
+ row.insertBefore(cell, row.firstChild);
31992
+ });
31993
+ }
31994
+ static supportsSubgridBodyRow() {
31995
+ return (typeof CSS !== 'undefined' &&
31996
+ typeof CSS.supports === 'function' &&
31997
+ CSS.supports('grid-template-columns', 'subgrid'));
31998
+ }
31999
+ applyReorderRowDraggableState() {
32000
+ const useRowDrag = Table.supportsSubgridBodyRow();
32001
+ this.queryBodyRows().forEach((row) => {
32002
+ const btn = row.querySelector('.xpl-table__row-drag-handle');
32003
+ btn?.removeAttribute('draggable');
32004
+ row.removeAttribute('draggable');
32005
+ if (!this.rowReorderable || row.disabled) {
32006
+ return;
32007
+ }
32008
+ if (!btn) {
32009
+ return;
32010
+ }
32011
+ if (useRowDrag) {
32012
+ row.setAttribute('draggable', 'true');
32013
+ }
32014
+ else {
32015
+ btn.setAttribute('draggable', 'true');
32016
+ }
32017
+ });
32018
+ }
32019
+ getVisibleBodyRowsForReorder() {
32020
+ return this.queryBodyRows().filter((r) => !r.hasAttribute('hidden'));
32021
+ }
32022
+ clearReorderDragOverClasses() {
32023
+ this.queryBodyRows().forEach((r) => r.classList.remove('xpl-table-row--drag-over'));
32024
+ }
32025
+ clearPendingDragListeners() {
32026
+ if (this.pointerUpClearPending) {
32027
+ this.pointerUpClearPending();
32028
+ this.pointerUpClearPending = null;
32029
+ }
32030
+ }
32031
+ announceRowReorder(movedRowId, orderedRowIds) {
32032
+ if (!this.rowReorderable || !movedRowId) {
32033
+ return;
32034
+ }
32035
+ const index = orderedRowIds.indexOf(movedRowId);
32036
+ if (index < 0) {
32037
+ return;
32038
+ }
32039
+ this.reorderLiveMessage = '';
32040
+ if (this.reorderAnnounceRaf !== undefined) {
32041
+ cancelAnimationFrame(this.reorderAnnounceRaf);
32042
+ }
32043
+ this.reorderAnnounceRaf = requestAnimationFrame(() => {
32044
+ this.reorderAnnounceRaf = undefined;
32045
+ if (!this.el.isConnected) {
32046
+ return;
32047
+ }
32048
+ this.reorderLiveMessage = `Row ${movedRowId}, now position ${index + 1} of ${orderedRowIds.length}`;
32049
+ });
32050
+ }
32051
+ pruneStaleSelectedRowIds() {
32052
+ const validIds = new Set(this.queryBodyRows()
32053
+ .map((r) => Table.getRowIdForRow(r))
32054
+ .filter((id) => !!id));
32055
+ const next = this.selectedRowIds.filter((id) => validIds.has(id));
32056
+ if (next.length === this.selectedRowIds.length)
32057
+ return;
32058
+ this.selectedRowIds = next;
32059
+ this.applyBodyCheckboxStates();
32060
+ this.applyHeaderCheckboxState();
32061
+ this.syncRowSelectedProps();
32062
+ this.emitCompositionalSelection();
32063
+ }
32064
+ static getBodyRowCheckboxAriaLabel(row, selectionColIndex) {
32065
+ const cells = Table.getBodyRowCells(row);
32066
+ const labelCell = cells.find((c, i) => (selectionColIndex === null || i !== selectionColIndex) &&
32067
+ !c.hasAttribute(ROW_REORDER_MARK));
32068
+ const first = labelCell ?? cells[0];
32069
+ if (!first)
32070
+ return 'Select row';
32071
+ const raw = first.textContent?.replace(/\s+/g, ' ').trim() ?? '';
32072
+ if (!raw)
32073
+ return 'Select row';
32074
+ const truncated = raw.length > 100 ? `${raw.slice(0, 100)}…` : raw;
32075
+ return `Select row, ${truncated}`;
32076
+ }
32077
+ applyBodyCheckboxStates() {
32078
+ const selectionIdx = this.getSelectionColumnIndex();
32079
+ if (selectionIdx === null)
32080
+ return;
32081
+ this.queryBodyRows().forEach((row) => {
32082
+ const rowId = Table.getRowIdForRow(row);
32083
+ const cells = Table.getBodyRowCells(row);
32084
+ const cell = cells[selectionIdx];
32085
+ const cb = cell?.querySelector('xpl-checkbox');
32086
+ if (!cb || !rowId)
32087
+ return;
32088
+ cb.checked = this.selectedRowIds.includes(rowId);
32089
+ cb.disabled = row.disabled;
32090
+ cb.value = rowId;
32091
+ cb.setAttribute('aria-label', Table.getBodyRowCheckboxAriaLabel(row, selectionIdx));
32092
+ });
32093
+ }
32094
+ getHeaderCheckboxCell() {
32095
+ const idx = this.getSelectionColumnIndex();
32096
+ if (idx === null)
32097
+ return null;
32098
+ const cells = this.getCompositionalHeaderCells();
32099
+ const cell = cells[idx];
32100
+ if (!cell || cell.getAttribute('type') !== 'checkbox')
32101
+ return null;
32102
+ return cell;
32103
+ }
32104
+ applyHeaderCheckboxState() {
32105
+ const cell = this.getHeaderCheckboxCell();
32106
+ if (!cell)
32107
+ return;
32108
+ const selectableRows = this.querySelectableBodyRows();
32109
+ const ids = selectableRows
32110
+ .map((r) => Table.getRowIdForRow(r))
32111
+ .filter((id) => !!id);
32112
+ const selectedCount = ids.filter((id) => this.selectedRowIds.includes(id)).length;
32113
+ const allSelected = ids.length > 0 && selectedCount === ids.length;
32114
+ const indeterminate = selectedCount > 0 && !allSelected;
32115
+ cell.checked = allSelected;
32116
+ cell.indeterminate = indeterminate;
32117
+ }
32118
+ syncRowSelectedProps() {
32119
+ this.queryBodyRows().forEach((row) => {
32120
+ const id = Table.getRowIdForRow(row);
32121
+ const selected = id ? this.selectedRowIds.includes(id) : false;
32122
+ row.selected = selected;
32123
+ });
32124
+ }
32125
+ emitCompositionalSelection() {
32126
+ const ids = this.selectedRowIds;
32127
+ const key = ids.join('\u0001');
32128
+ if (key === this.lastEmittedRowSelectionKey) {
32129
+ return;
32130
+ }
32131
+ this.lastEmittedRowSelectionKey = key;
32132
+ this.rowSelectionChange.emit({ selectedRowIds: [...ids] });
32133
+ }
32134
+ isEventFromThisTable(target) {
32135
+ if (target == null || typeof target !== 'object')
32136
+ return false;
32137
+ const t = target;
32138
+ const start = 'closest' in t && typeof t.closest === 'function'
32139
+ ? t
32140
+ : 'parentElement' in t
32141
+ ? t.parentElement
32142
+ : null;
32143
+ if (!start)
32144
+ return false;
32145
+ const nearest = start.closest('xpl-table');
32146
+ return nearest === this.el;
32147
+ }
32148
+ static sortKeyFromHeaderCell(cell, columnIndex) {
32149
+ const c = cell;
32150
+ const raw = (c.sortKey ?? c.label ?? '').trim();
32151
+ if (raw.length > 0) {
32152
+ return raw.replace(/ /g, '-').toLowerCase();
32153
+ }
32154
+ return `column-${columnIndex}`;
32155
+ }
32156
+ handleCompositionalHeaderSort(ev) {
32157
+ if (this.isLegacyMode)
32158
+ return;
32159
+ if (!this.isEventFromThisTable(ev.target))
32160
+ return;
32161
+ ev.stopPropagation();
32162
+ const source = ev.target;
32163
+ const headerRow = source.closest('xpl-table-header xpl-table-row') ?? source.closest('xpl-table-row');
32164
+ if (!headerRow || !this.el.contains(headerRow))
32165
+ return;
32166
+ const cells = Array.from(headerRow.querySelectorAll('xpl-table-header-cell'));
32167
+ const { columnIndex } = ev.detail;
32168
+ const target = cells[columnIndex];
32169
+ if (!target?.sortable)
32170
+ return;
32171
+ const next = cycleSortDirection(target.sortDirection);
32172
+ cells.forEach((cell, i) => {
32173
+ const hc = cell;
32174
+ if (!hc.sortable)
32175
+ return;
32176
+ hc.sortDirection = i === columnIndex ? next : null;
32177
+ });
32178
+ const sortState = {};
32179
+ cells.forEach((cell, i) => {
32180
+ const hc = cell;
32181
+ if (!hc.sortable)
32182
+ return;
32183
+ sortState[Table.sortKeyFromHeaderCell(hc, i)] = hc.sortDirection ?? null;
32184
+ });
32185
+ const sortTypeArr = cells.map((cell) => {
32186
+ const hc = cell;
32187
+ return hc.sortable ? (hc.sortDirection ?? null) : null;
32188
+ });
32189
+ const colName = Table.sortKeyFromHeaderCell(cells[columnIndex], columnIndex);
32190
+ const detail = {
32191
+ ...sortState,
32192
+ colNum: columnIndex,
32193
+ colName,
32194
+ sortTypeArr,
31052
32195
  };
31053
- this.setData = () => {
31054
- this.rowData = this.data !== undefined ? Array.from(this.data) : [];
32196
+ this.sortChanged.emit(detail);
32197
+ }
32198
+ legacySortStatePayload() {
32199
+ const out = {};
32200
+ if (!this.columns?.length)
32201
+ return out;
32202
+ this.columns.forEach((col, i) => {
32203
+ const key = col.replace(/ /g, '-').toLowerCase();
32204
+ out[key] = this.sortTypeArray[i] ?? null;
32205
+ });
32206
+ return out;
32207
+ }
32208
+ legacySortChangedDetail(colNum) {
32209
+ const base = this.legacySortStatePayload();
32210
+ const title = this.columns?.[colNum] ?? '';
32211
+ const colName = title.replace(/ /g, '-').toLowerCase();
32212
+ return {
32213
+ ...base,
32214
+ colNum,
32215
+ colName,
32216
+ sortTypeArr: [...this.sortTypeArray],
31055
32217
  };
31056
32218
  }
31057
- handleSort(clickEvt, isColumnSortable, colNum, colName) {
32219
+ getCompositionalHeaderCells() {
32220
+ const header = Array.from(this.el.children).find((c) => c.tagName.toLowerCase() === 'xpl-table-header') ?? null;
32221
+ if (!header)
32222
+ return [];
32223
+ const firstRow = Array.from(header.children).find((c) => c.tagName.toLowerCase() === 'xpl-table-row');
32224
+ const container = firstRow ?? header;
32225
+ return Array.from(container.children).filter((c) => c.tagName.toLowerCase() === 'xpl-table-header-cell');
32226
+ }
32227
+ updateColumnWidths() {
32228
+ const headerCells = this.getCompositionalHeaderCells();
32229
+ const columnWidths = headerCells.map((cell) => getGridColumnWidthFromHeaderCell(cell));
32230
+ const next = columnWidths.join(' ');
32231
+ const n = headerCells.length;
32232
+ if (n === this.colCount && this.colCount > 0 && this.columnWidthsToken === next) {
32233
+ return;
32234
+ }
32235
+ this.el.style.setProperty('--column-widths', next);
32236
+ this.colCount = n;
32237
+ this.columnWidthsToken = next;
32238
+ }
32239
+ handleSort(clickEvt, isColumnSortable, colNum) {
31058
32240
  clickEvt.preventDefault();
31059
32241
  clickEvt.stopPropagation();
31060
32242
  if (!isColumnSortable)
@@ -31071,104 +32253,112 @@ class Table {
31071
32253
  return 'asc';
31072
32254
  }
31073
32255
  });
31074
- const evt = this.sortChanged.emit({
31075
- colNum,
31076
- colName,
31077
- sortTypeArr: this.sortTypeArray,
31078
- });
32256
+ const evt = this.sortChanged.emit(this.legacySortChangedDetail(colNum));
31079
32257
  if (!evt.defaultPrevented)
31080
32258
  this.sortBy(colNum, this.sortTypeArray);
31081
32259
  }
31082
- watchData() {
31083
- this.setData();
31084
- }
31085
- watchColumns() {
31086
- this.sortTypeArray = this.columns ? this.columns.map(() => null) : [];
31087
- }
31088
- componentWillLoad() {
31089
- this.ensureSelectAllValue();
31090
- this.areAllSelected = false;
31091
- this.setData();
31092
- this.selected = new Array(this.rowData.length).fill(false);
31093
- this.ensureSortTypeArray();
31094
- }
31095
- ensureSelectAllValue() {
31096
- if (this.selectAllValue !== undefined) {
31097
- return;
31098
- }
31099
- const hostId = this.el.id?.trim();
31100
- if (hostId) {
31101
- this.selectAllValue = `${hostId}-select-all`;
31102
- return;
31103
- }
31104
- const persisted = this.el.getAttribute('data-select-all-value');
31105
- if (persisted) {
31106
- this.selectAllValue = persisted;
31107
- return;
31108
- }
31109
- Table.selectAllSeq += 1;
31110
- this.selectAllValue = `select-all-${Table.selectAllSeq}`;
31111
- this.el.setAttribute('data-select-all-value', this.selectAllValue);
31112
- }
31113
- ensureSortTypeArray() {
32260
+ renderLegacy() {
31114
32261
  if (this.columns &&
31115
32262
  (!this.sortTypeArray || this.sortTypeArray.length !== this.columns.length)) {
31116
32263
  this.sortTypeArray = this.columns.map(() => null);
31117
32264
  }
31118
- else if (!this.columns) {
31119
- this.sortTypeArray = [];
31120
- }
31121
- }
31122
- render() {
31123
- const rowFooterData = this.footer !== undefined ? Array.from(this.footer) : [];
31124
- return (hAsync(Host, { key: '1e6bf436320a44e1e22e8590a881bc90c4a091d5' }, hAsync("div", { key: '3d2e5361fbe615a6ae8ebe916ce07e00f82c444c', class: "xpl-table-container", onScroll: this.onScroll, ref: (el) => {
32265
+ return (hAsync(Host, null, hAsync("div", { class: "xpl-table-container", onScroll: this.onLegacyScroll, ref: (el) => {
31125
32266
  if (el)
31126
32267
  this.container = el;
31127
- } }, hAsync("table", { key: '036672b3ba45a90a42f906c155ce3d59e33c8a7a', class: {
32268
+ } }, hAsync("table", { class: {
31128
32269
  'xpl-table': true,
32270
+ 'xpl-table--legacy': true,
31129
32271
  'xpl-table--striped': !!this.striped,
31130
32272
  'xpl-table--freeze': !!this.freeze,
31131
32273
  'xpl-table--has-scrolled': this.hasScrolled,
31132
- } }, this.columns && (hAsync("thead", { key: 'bf0d5a808624234ba985c1c32064f1dab11bfefa' }, this.columns.map((column, i) => {
31133
- const iconType = getIconType(this.sortTypeArray?.[i]);
31134
- const isColumnSortable = !!(this.isSortable && this.sortableColumns[i]);
31135
- return (hAsync("th", null, hAsync("label", { onClick: (e) => this.handleSort(e, isColumnSortable, i, column.replace(/ /g, '-').toLowerCase()), class: isColumnSortable ? 'cursor-pointer' : '' }, this.multiselect && i === 0 && (hAsync("xpl-checkbox", { checked: this.areAllSelected, indeterminate: !this.areAllSelected &&
31136
- this.selected.some((a) => a), onClick: (e) => e.stopPropagation(), onCheckboxChange: (e) => this.selectAll(e), value: this.selectAllValue, "aria-label": "Select all rows" })), column, isColumnSortable && !!this.sortTypeArray[i] && (hAsync("xpl-icon", { icon: iconType, size: 16 })))));
31137
- }))), hAsync("tbody", { key: '7915dbfbf1a9b68719c4168e09c5f0e3ab7fa35a' }, this.rowData.map((row, rowNum) => (hAsync("tr", { class: this.selected && this.selected[rowNum]
32274
+ } }, this.columns && (hAsync("thead", null, this.columns.map((column, i) => {
32275
+ const iconType = getIconType(this.sortTypeArray?.[i] ?? null);
32276
+ const isColumnSortable = !!(this.isSortable && this.sortableColumns?.[i]);
32277
+ return (hAsync("th", null, hAsync("label", { onClick: (e) => this.handleSort(e, isColumnSortable, i), class: isColumnSortable ? 'cursor-pointer' : '' }, this.multiselect && i === 0 && (hAsync("input", { checked: this.areAllSelected, id: "__xpl-table-th", indeterminate: !this.areAllSelected &&
32278
+ this.selected.some((a) => a), onClick: (e) => {
32279
+ e.stopPropagation();
32280
+ this.selectAll(e);
32281
+ }, type: "checkbox", value: this.selectAllValue })), column, isColumnSortable && !!this.sortTypeArray[i] && (hAsync("xpl-icon", { icon: iconType, size: 16 })))));
32282
+ }))), hAsync("tbody", null, this.rowData.map((row, rowNum) => (hAsync("tr", { class: this.selected && this.selected[rowNum]
31138
32283
  ? 'xpl-table-row-selected'
31139
- : '' }, row.map((cell, i) => (hAsync("td", null, this.multiselect && i === 0 ? (hAsync("label", null, hAsync("xpl-checkbox", { checked: !!this.selected[rowNum], onCheckboxChange: (e) => this.selectOne(e, rowNum), value: this.selectedValues.length > 0
32284
+ : '' }, row.map((cell, i) => (hAsync("td", null, this.multiselect && i === 0 ? (hAsync("label", { htmlFor: `__xpl-table-row-${rowNum}` }, hAsync("input", { id: `__xpl-table-row-${rowNum}`, checked: !!this.selected[rowNum], type: "checkbox", onChange: (e) => this.selectOne(e, rowNum), value: this.selectedValues &&
32285
+ this.selectedValues.length > 0
31140
32286
  ? this.selectedValues[rowNum]
31141
- : `xpl-table-checkbox-${rowNum}`, "aria-label": `Select row ${rowNum + 1}` }), hAsync("div", { innerHTML: cell }))) : (hAsync("div", { innerHTML: cell }))))))))), rowFooterData.length > 0 && (hAsync("tfoot", { key: '78ee72f80c77e61c6234be9500770780952ca669' }, rowFooterData.map((row) => (hAsync("tr", null, row.map((cell) => (hAsync("td", null, hAsync("div", { innerHTML: cell })))))))))))));
32287
+ : `xpl-table-checkbox-${rowNum}` }), hAsync("div", { innerHTML: cell }))) : (hAsync("div", { innerHTML: cell }))))))))), this.rowFooterData?.length > 0 && (hAsync("tfoot", null, this.rowFooterData.map((row) => (hAsync("tr", null, row.map((cell) => (hAsync("td", null, hAsync("div", { innerHTML: cell })))))))))))));
32288
+ }
32289
+ renderCompositional() {
32290
+ const selectionToolbarCount = this.selectedRowIds.length;
32291
+ return (hAsync(Host, { role: "grid", "aria-label": this.label, "aria-colcount": this.colCount > 0 ? this.colCount : undefined, class: {
32292
+ 'xpl-table': true,
32293
+ 'xpl-table--striped': !!this.striped,
32294
+ 'xpl-table--freeze': !!this.freeze,
32295
+ 'xpl-table--has-scrolled': this.hasScrolled,
32296
+ 'xpl-table--selectable': !!this.selectable,
32297
+ 'xpl-table--selection-active': !!this.selectable && this.selectedRowIds.length > 0,
32298
+ 'xpl-table--row-reorderable': !!this.rowReorderable,
32299
+ }, onScroll: this.onGridScroll }, this.rowReorderable && (hAsync("div", { class: "xpl-table__reorder-live", "aria-live": "assertive", "aria-atomic": "true" }, this.reorderLiveMessage)), this.selectable && (hAsync("div", { class: {
32300
+ 'xpl-toolbar': true,
32301
+ hidden: selectionToolbarCount === 0,
32302
+ 'xpl-table__toolbar': true,
32303
+ } }, hAsync("div", { class: "toolbar" }, hAsync("p", { class: "selected-item-count" }, selectionToolbarCount, " Selected"), hAsync("div", { class: "actions" }, hAsync("slot", { name: "toolbar-actions-left" }), hAsync("slot", { name: "toolbar-actions-right" }))))), hAsync("slot", null)));
32304
+ }
32305
+ render() {
32306
+ return this.isLegacyMode ? this.renderLegacy() : this.renderCompositional();
31142
32307
  }
31143
32308
  get el() { return getElement(this); }
31144
32309
  static get watchers() { return {
32310
+ "columns": [{
32311
+ "watchColumns": 0
32312
+ }],
31145
32313
  "data": [{
31146
32314
  "watchData": 0
31147
32315
  }],
31148
- "columns": [{
31149
- "watchColumns": 0
32316
+ "footer": [{
32317
+ "watchFooterData": 0
32318
+ }],
32319
+ "reorderHandleIcon": [{
32320
+ "watchReorderHandleIcon": 0
32321
+ }],
32322
+ "reorderHandleIconKeyboard": [{
32323
+ "watchReorderHandleIconKeyboard": 0
32324
+ }],
32325
+ "rowReorderable": [{
32326
+ "watchRowReorderable": 0
32327
+ }],
32328
+ "selectable": [{
32329
+ "watchSelectable": 0
31150
32330
  }]
31151
32331
  }; }
31152
32332
  static get cmpMeta() { return {
31153
- "$flags$": 0,
32333
+ "$flags$": 260,
31154
32334
  "$tagName$": "xpl-table",
31155
32335
  "$members$": {
31156
32336
  "columns": [16],
31157
32337
  "data": [16],
31158
32338
  "footer": [16],
31159
32339
  "freeze": [4],
32340
+ "isSortable": [4, "is-sortable"],
32341
+ "label": [1],
31160
32342
  "multiselect": [4],
31161
- "striped": [4],
32343
+ "reorderHandleIcon": [1, "reorder-handle-icon"],
32344
+ "reorderHandleIconKeyboard": [1, "reorder-handle-icon-keyboard"],
32345
+ "rowReorderable": [4, "row-reorderable"],
32346
+ "selectable": [4],
31162
32347
  "selectedValues": [16],
31163
- "isSortable": [4, "is-sortable"],
31164
32348
  "sortableColumns": [16],
32349
+ "striped": [4],
31165
32350
  "areAllSelected": [32],
31166
- "rowData": [32],
32351
+ "colCount": [32],
31167
32352
  "hasScrolled": [32],
32353
+ "keyboardReorderRowId": [32],
32354
+ "reorderLiveMessage": [32],
32355
+ "rowData": [32],
32356
+ "rowFooterData": [32],
31168
32357
  "selected": [32],
32358
+ "selectedRowIds": [32],
31169
32359
  "sortTypeArray": [32]
31170
32360
  },
31171
- "$listeners$": undefined,
32361
+ "$listeners$": [[0, "xplTableColumnWidthsChange", "handleHeaderCellColumnWidthsChange"], [0, "checkboxChange", "handleCompositionalCheckboxChange"], [0, "headerCheckboxChange", "handleCompositionalHeaderCheckboxChange"], [3, "pointerdown", "handlePointerDownExitKeyboardReorder"], [3, "pointerdown", "handleRowReorderPointerDown"], [3, "dragstart", "handleRowReorderDragStart"], [3, "dragend", "handleRowReorderDragEnd"], [2, "dragover", "handleRowReorderDragOver"], [2, "dragenter", "handleRowReorderDragEnter"], [3, "dragleave", "handleRowReorderDragLeave"], [2, "drop", "handleRowReorderDrop"], [0, "headerSortChange", "handleCompositionalHeaderSort"]],
31172
32362
  "$lazyBundleId$": "-",
31173
32363
  "$attrsToReflect$": []
31174
32364
  }; }
@@ -31180,7 +32370,7 @@ class TableHeader {
31180
32370
  registerInstance(this, hostRef);
31181
32371
  }
31182
32372
  render() {
31183
- return (hAsync(Host, { key: '94e6c6f38fa4672ef3c728bf196946801da855d4', role: "row", class: "xpl-table-header" }, hAsync("slot", { key: 'fa41686f082c65d27555273945f734a36c670869' })));
32373
+ return (hAsync(Host, { key: 'fb6c6d0ab301f41a22428583ffa0fea60a30719b', role: "row", class: "xpl-table-header" }, hAsync("slot", { key: '54b058d43266fa281e30d26a644ad93d6559408b' })));
31184
32374
  }
31185
32375
  static get cmpMeta() { return {
31186
32376
  "$flags$": 260,
@@ -31195,69 +32385,146 @@ class TableHeader {
31195
32385
  class TableHeaderCell {
31196
32386
  constructor(hostRef) {
31197
32387
  registerInstance(this, hostRef);
31198
- this.sortChanged = createEvent(this, "sortChanged", 7);
31199
- this.sortable = false;
32388
+ this.headerCheckboxChange = createEvent(this, "headerCheckboxChange", 7);
32389
+ this.headerSortChange = createEvent(this, "headerSortChange", 7);
32390
+ this.align = 'left';
32391
+ this.checked = false;
32392
+ this.indeterminate = false;
31200
32393
  this.label = '';
32394
+ this.sortable = false;
31201
32395
  this.type = 'label';
31202
- this.sortDirection = 'none';
32396
+ this.onHeaderInnerCheckboxChange = (ev) => {
32397
+ const { detail } = ev;
32398
+ const checked = typeof detail === 'boolean' ? detail : Boolean(detail);
32399
+ this.headerCheckboxChange.emit(checked);
32400
+ };
32401
+ this.onSortActivate = (event) => {
32402
+ event.preventDefault();
32403
+ event.stopPropagation();
32404
+ if (!this.sortable || this.type !== 'label')
32405
+ return;
32406
+ const columnIndex = this.getColumnIndex0();
32407
+ const sortKey = this.getSortKeySlug();
32408
+ if (!this.el.closest('xpl-table')) {
32409
+ this.sortDirection = cycleSortDirection(this.sortDirection);
32410
+ }
32411
+ this.headerSortChange.emit({
32412
+ columnIndex,
32413
+ sortKey,
32414
+ });
32415
+ };
31203
32416
  }
31204
- toggleSort() {
31205
- if (this.sortDirection === 'asc') {
31206
- this.sortDirection = 'desc';
31207
- }
31208
- else if (this.sortDirection === 'desc') {
31209
- this.sortDirection = 'none';
32417
+ watchColumnWidth() {
32418
+ this.notifyColumnWidthsChange();
32419
+ }
32420
+ watchWidth() {
32421
+ this.notifyColumnWidthsChange();
32422
+ }
32423
+ componentDidLoad() {
32424
+ this.notifyColumnWidthsChange();
32425
+ }
32426
+ notifyColumnWidthsChange() {
32427
+ this.el.dispatchEvent(new CustomEvent(XPL_TABLE_COLUMN_WIDTHS_CHANGE_EVENT, {
32428
+ bubbles: true,
32429
+ composed: true,
32430
+ }));
32431
+ }
32432
+ getColumnIndex0() {
32433
+ return Array.from(this.el.parentElement?.children ?? []).indexOf(this.el);
32434
+ }
32435
+ getSortKeySlug() {
32436
+ const raw = (this.sortKey ?? this.label ?? '').trim();
32437
+ if (raw.length > 0) {
32438
+ return raw.replace(/ /g, '-').toLowerCase();
31210
32439
  }
31211
- else {
31212
- this.sortDirection = 'asc';
32440
+ return `column-${this.getColumnIndex0()}`;
32441
+ }
32442
+ renderLabelText() {
32443
+ return (hAsync("span", { class: "xpl-table-header-cell__text" }, this.label, hAsync("slot", null)));
32444
+ }
32445
+ renderLabelContent() {
32446
+ if (this.sortable) {
32447
+ const iconName = getSortAffordanceIconName(this.sortDirection);
32448
+ const sortActive = this.sortDirection === 'asc' || this.sortDirection === 'desc';
32449
+ return (hAsync("button", { type: "button", class: "xpl-table-header-cell__sort", onClick: this.onSortActivate }, this.renderLabelText(), hAsync("xpl-icon", { class: {
32450
+ 'xpl-table-header-cell__sort-icon': true,
32451
+ 'xpl-table-header-cell__sort-icon--active': sortActive,
32452
+ 'xpl-table-header-cell__sort-icon--default': !sortActive,
32453
+ }, icon: iconName, size: 16 })));
31213
32454
  }
31214
- this.sortChanged.emit(this.sortDirection);
32455
+ return this.renderLabelText();
31215
32456
  }
31216
32457
  render() {
31217
- const colIndex = this.el.parentElement
31218
- ? Array.from(this.el.parentElement.children).indexOf(this.el) + 1
31219
- : 0;
32458
+ const colIndex = this.getColumnIndex0() + 1;
31220
32459
  const renderContent = () => {
31221
32460
  switch (this.type) {
31222
32461
  case 'label':
31223
- return hAsync("span", null, this.label);
32462
+ return this.renderLabelContent();
31224
32463
  case 'checkbox':
31225
- return hAsync("xpl-checkbox", null);
32464
+ return (hAsync("xpl-checkbox", { ariaLabel: this.checkboxAriaLabel ?? 'Select all rows', checked: this.checked, indeterminate: this.indeterminate, onCheckboxChange: this.onHeaderInnerCheckboxChange }));
31226
32465
  case 'icon':
31227
32466
  return this.icon ? hAsync("xpl-icon", { icon: this.icon, size: 20 }) : null;
32467
+ case 'empty':
32468
+ return null;
31228
32469
  default:
31229
32470
  return '';
31230
32471
  }
31231
32472
  };
31232
- const renderSortIcon = () => {
31233
- switch (this.sortDirection) {
31234
- case 'none':
31235
- return hAsync("xpl-icon", { class: "sort-icon", icon: "arrow-down", size: 16 });
31236
- case 'asc':
31237
- return (hAsync("xpl-icon", { class: "sort-icon sort-icon--sorted", icon: "arrow-up", size: 16 }));
31238
- case 'desc':
31239
- return (hAsync("xpl-icon", { class: "sort-icon sort-icon--sorted", icon: "arrow-down", size: 16 }));
31240
- default:
31241
- return '';
31242
- }
31243
- };
31244
- return (hAsync(Host, { role: "columnheader", "aria-colindex": colIndex, class: `xpl-table-header-cell ${this.sortable ? 'sortable' : 'non-sortable'}`, style: { width: `${this.width}px` } }, this.sortable ? (hAsync("button", { onClick: () => this.toggleSort() }, renderContent(), renderSortIcon())) : (renderContent())));
32473
+ const effectiveAlign = (this.type === 'checkbox' || this.type === 'icon') && this.align === 'left'
32474
+ ? 'center'
32475
+ : this.align;
32476
+ const alignClass = `xpl-table-header-cell--align-${effectiveAlign}`;
32477
+ const ariaSort = this.type === 'label' && this.sortable
32478
+ ? this.sortDirection === 'asc'
32479
+ ? 'ascending'
32480
+ : this.sortDirection === 'desc'
32481
+ ? 'descending'
32482
+ : 'none'
32483
+ : undefined;
32484
+ return (hAsync(Host, { role: "columnheader", "aria-colindex": colIndex, class: {
32485
+ 'xpl-table-header-cell': true,
32486
+ [alignClass]: true,
32487
+ 'xpl-table-header-cell--checkbox': this.type === 'checkbox',
32488
+ 'xpl-table-header-cell--icon': this.type === 'icon',
32489
+ 'xpl-table-header-cell--empty': this.type === 'empty',
32490
+ 'xpl-table-header-cell--sortable': this.sortable && this.type === 'label',
32491
+ }, "aria-checked": this.type === 'checkbox'
32492
+ ? this.indeterminate
32493
+ ? 'mixed'
32494
+ : this.checked
32495
+ ? 'true'
32496
+ : 'false'
32497
+ : undefined, "aria-sort": ariaSort }, this.type === 'empty' ? null : renderContent()));
31245
32498
  }
31246
32499
  get el() { return getElement(this); }
32500
+ static get watchers() { return {
32501
+ "columnWidth": [{
32502
+ "watchColumnWidth": 0
32503
+ }],
32504
+ "width": [{
32505
+ "watchWidth": 0
32506
+ }]
32507
+ }; }
31247
32508
  static get cmpMeta() { return {
31248
- "$flags$": 0,
32509
+ "$flags$": 260,
31249
32510
  "$tagName$": "xpl-table-header-cell",
31250
32511
  "$members$": {
32512
+ "align": [1],
32513
+ "checkboxAriaLabel": [1, "checkbox-aria-label"],
32514
+ "checked": [4],
32515
+ "columnWidth": [513, "column-width"],
31251
32516
  "icon": [1],
31252
- "sortable": [4],
32517
+ "indeterminate": [4],
31253
32518
  "label": [1],
31254
- "type": [1],
31255
- "width": [2],
31256
- "sortDirection": [32]
32519
+ "sortDirection": [1537, "sort-direction"],
32520
+ "sortKey": [1, "sort-key"],
32521
+ "sortable": [4],
32522
+ "type": [513],
32523
+ "width": [514]
31257
32524
  },
31258
32525
  "$listeners$": undefined,
31259
32526
  "$lazyBundleId$": "-",
31260
- "$attrsToReflect$": []
32527
+ "$attrsToReflect$": [["columnWidth", "column-width"], ["sortDirection", "sort-direction"], ["type", "type"], ["width", "width"]]
31261
32528
  }; }
31262
32529
  }
31263
32530
 
@@ -31585,11 +32852,11 @@ class Tabs {
31585
32852
  }
31586
32853
  render() {
31587
32854
  const isSegment = this.type === 'segment';
31588
- return (hAsync(Host, { key: '74e82ed3665bf7d8337d16f6253c2ae79d421473', class: {
32855
+ return (hAsync(Host, { key: '0bb77237fce464cc536ce4efabb29249fa14ef4a', class: {
31589
32856
  'xpl-tabs': true,
31590
32857
  'xpl-tabs--full-width': this.fullWidth,
31591
32858
  'xpl-tabs--segment': isSegment,
31592
- }, "data-choices-tick": this.choicesTick }, hAsync("xpl-select", { key: '8b706667897c20145cdd528b692affb0db7f7ebc', classNames: this.mobileSelectClassNames(), choices: this.renderChoices(), disabled: this.disabled, selectedValues: this.selectedValue, onDropdownStateChange: (event) => {
32859
+ }, "data-choices-tick": this.choicesTick }, hAsync("xpl-select", { key: 'fbcc113cc9a308df73bf99f6c941612725e49ddb', classNames: this.mobileSelectClassNames(), choices: this.renderChoices(), disabled: this.disabled, selectedValues: this.selectedValue, onDropdownStateChange: (event) => {
31593
32860
  if (event.detail) {
31594
32861
  this.isMobileSelectChange = true;
31595
32862
  }
@@ -31600,17 +32867,17 @@ class Tabs {
31600
32867
  this.tabChange.emit(selectedValue);
31601
32868
  this.isMobileSelectChange = false;
31602
32869
  }
31603
- } }), hAsync("nav", { key: 'd23f6edc5da0525e4c8fc10aa30af64986fdda36', "aria-orientation": "horizontal", class: "xpl-tabs__headings", role: "tablist", ref: (el) => {
32870
+ } }), hAsync("nav", { key: '1b93068116c5ff0ac94d5139e147daffc1157c73', "aria-orientation": "horizontal", class: "xpl-tabs__headings", role: "tablist", ref: (el) => {
31604
32871
  this.headingsContainerRef = el;
31605
32872
  }, onTabChange: (event) => {
31606
32873
  event.stopPropagation();
31607
32874
  this.isMobileSelectChange = false;
31608
32875
  this.handleTabChange(event.detail);
31609
32876
  this.tabChange.emit(event.detail);
31610
- } }, !isSegment && (hAsync("div", { key: 'd2d080ffc049a408f2d93f3ce3bc694c0954ece3', class: "xpl-tabs__active-bar", style: {
32877
+ } }, !isSegment && (hAsync("div", { key: '38a88df2520d308e3a22b4cd70ff274af7403616', class: "xpl-tabs__active-bar", style: {
31611
32878
  transform: `translateX(${this.activeBarPosition.left}px)`,
31612
32879
  width: `${this.activeBarPosition.width}px`,
31613
- } })), hAsync("slot", { key: '8c4b1403048b0eba5125abfc22494641aaf955cf', name: "heading" })), hAsync("div", { key: '54a04bd883f364457cdf5922cad8ac2b42eceb61', class: "xpl-tabs__panels" }, hAsync("slot", { key: '2b51ebd00605dfbd76c6018d74f63f954016a025', name: "panel" }))));
32880
+ } })), hAsync("slot", { key: 'dc30ab2123d7c1c8b6591ac0129af44da3795977', name: "heading" })), hAsync("div", { key: '36c1fc45216499d4af87b8fc536df3ea6af666ab', class: "xpl-tabs__panels" }, hAsync("slot", { key: 'a660913c7d2fce500da666490b600b4c7fc93746', name: "panel" }))));
31614
32881
  }
31615
32882
  get el() { return getElement(this); }
31616
32883
  static get watchers() { return {
@@ -31771,7 +33038,7 @@ class Tag {
31771
33038
  }
31772
33039
  render() {
31773
33040
  const dragEnabled = this.isDraggable && !this.disabled;
31774
- return (hAsync(Host, { key: '4129a867a9581efc82985d11549810860a2c6f87', class: {
33041
+ return (hAsync(Host, { key: '9a05e10e7fbc047112f740884e6ba40c773b472c', class: {
31775
33042
  'xpl-tag': true,
31776
33043
  'xpl-tag-container': true,
31777
33044
  'xpl-tag--disabled': this.disabled,
@@ -31779,7 +33046,7 @@ class Tag {
31779
33046
  'xpl-tag--dragging': this.isDragging,
31780
33047
  'xpl-tag--draggable': dragEnabled,
31781
33048
  'xpl-tag--sm': this.size === 'sm',
31782
- }, onDragOver: dragEnabled ? this.handleDragOver : undefined, onDragEnter: dragEnabled ? this.handleDragEnter : undefined, onDragStart: this.isDraggable ? this.handleHostDragStart : undefined }, dragEnabled ? (hAsync("div", { class: "xpl-tag__content xpl-tag", role: "button", tabIndex: 0, draggable: true, "aria-grabbed": String(this.isDragging), onClick: this.handleTagClick, onKeyDown: this.handleContentKeyDown, onDragStart: this.handleDragStart, onDragEnd: this.handleDragEnd }, hAsync("slot", null))) : (hAsync("button", { class: "xpl-tag__content xpl-tag", type: "button", disabled: this.disabled, onClick: this.handleTagClick }, hAsync("slot", null))), this.dismissible && (hAsync("button", { key: 'fb10e5fe87053ff4c00f584d887e1f5c29b2dc74', class: "xpl-tag__dismiss xpl-tag__close", type: "button", draggable: false, disabled: this.disabled, "aria-label": `Dismiss ${this.dismissAriaLabelSuffix}`, onClick: this.handleDismissClick }, hAsync("xpl-icon", { key: 'e8afb0b6fbf1a942cce78cf6a26b420445094f30', icon: "xmark", size: 10 })))));
33049
+ }, onDragOver: dragEnabled ? this.handleDragOver : undefined, onDragEnter: dragEnabled ? this.handleDragEnter : undefined, onDragStart: this.isDraggable ? this.handleHostDragStart : undefined }, dragEnabled ? (hAsync("div", { class: "xpl-tag__content xpl-tag", role: "button", tabIndex: 0, draggable: true, "aria-grabbed": String(this.isDragging), onClick: this.handleTagClick, onKeyDown: this.handleContentKeyDown, onDragStart: this.handleDragStart, onDragEnd: this.handleDragEnd }, hAsync("slot", null))) : (hAsync("button", { class: "xpl-tag__content xpl-tag", type: "button", disabled: this.disabled, onClick: this.handleTagClick }, hAsync("slot", null))), this.dismissible && (hAsync("button", { key: '37f7687aa9675c52cbd4390d66d63ced630904d0', class: "xpl-tag__dismiss xpl-tag__close", type: "button", draggable: false, disabled: this.disabled, "aria-label": `Dismiss ${this.dismissAriaLabelSuffix}`, onClick: this.handleDismissClick }, hAsync("xpl-icon", { key: '104eac0362541d99c59e0fd6b18a5e1b2171030b', icon: "xmark", size: 10 })))));
31783
33050
  }
31784
33051
  get el() { return getElement(this); }
31785
33052
  static get watchers() { return {
@@ -31877,11 +33144,11 @@ class Toast {
31877
33144
  }
31878
33145
  }
31879
33146
  render() {
31880
- return (hAsync(Host, { key: '8628e33a84d0ca36d5b99c791cf7860cadae6fb8', class: `xpl-toast xpl-toast--${this.variant}`, onAnimationEnd: this.handleAnimationEnd }, hAsync("div", { key: 'd1ea50362731f7cef97152eac2962f4d4084c514', class: "xpl-toast__left" }, this.showIcon && (hAsync("div", { key: '7eab4f78d0f8a2f5af12eeb1d74b14c300914841', class: `xpl-toast__icon xpl-toast__icon--${this.variant}` }, this.getIcon())), hAsync("div", { key: '335be6f702b7300498d2960cb7184fe1fec059b4', class: "xpl-toast__notification" }, hAsync("p", { key: '1178d039190352d0482ae7486711ab2adfd2cc8f', class: "xpl-toast__title" }, hAsync("slot", { key: '75a98536db36c7a140b3d908cbd8f3d2e201ca81', name: "title" })), this.caption !== '' && (hAsync("p", { key: '009bba836fe9abbf34edf4618dd172961e9440fa', class: "xpl-toast__caption" }, this.caption?.substring(0, 85))))), hAsync("div", { key: '4f47e498ea0c7627d9041a7a2e898fcecff9f59c', class: "xpl-toast__action", ref: (el) => {
33147
+ return (hAsync(Host, { key: 'd51d901c62de43e0ad248a626e0447a7849e50f3', class: `xpl-toast xpl-toast--${this.variant}`, onAnimationEnd: this.handleAnimationEnd }, hAsync("div", { key: 'e2e3585a43272f51f6ace1ce62544ae41464a3e5', class: "xpl-toast__left" }, this.showIcon && (hAsync("div", { key: 'e3fd60595f205d8e15ed3ca1826e5e6d356e1a63', class: `xpl-toast__icon xpl-toast__icon--${this.variant}` }, this.getIcon())), hAsync("div", { key: '49642e6ee5502c09deb32188b62a160f748bb564', class: "xpl-toast__notification" }, hAsync("p", { key: 'f7176eea6e6e125bec0c4397b0399bb76e8554b7', class: "xpl-toast__title" }, hAsync("slot", { key: 'd5dd0d0413ec4f8198d16f8689791614fea877bc', name: "title" })), this.caption !== '' && (hAsync("p", { key: '966112d3fe6dc1348341034685c606ca98e95d84', class: "xpl-toast__caption" }, this.caption?.substring(0, 85))))), hAsync("div", { key: 'c9ba66aaf64f191d5bab1c3290e0981a86a3ef91', class: "xpl-toast__action", ref: (el) => {
31881
33148
  if (el) {
31882
33149
  this.actionSlot = el;
31883
33150
  }
31884
- } }, hAsync("slot", { key: '6ad3199d265b1298ea8200ba53690dcc92bdbf92', name: "action" })), this.isDismissible && (hAsync("div", { key: 'b1a1a790a592f5e4c7573c819b0c997a210bd68a', class: "xpl-toast__close" }, hAsync("xpl-button", { key: '2d9ad71fc8f8233f2fc12453ca8268fd5f1d8f74', variant: "tertiary", size: "sm", iconOnly: true, icon: "xmark", type: "button", "aria-label": "Dismiss notification", onClick: this.dismiss })))));
33151
+ } }, hAsync("slot", { key: 'faad90759fd343be3caa4540422c09d04642a217', name: "action" })), this.isDismissible && (hAsync("div", { key: '25f1140170ec9a242e62c6665ebf0eb8aa1bae64', class: "xpl-toast__close" }, hAsync("xpl-button", { key: '635900d579bda4fb905c7280de700de1143d474b', variant: "tertiary", size: "sm", iconOnly: true, icon: "xmark", type: "button", "aria-label": "Dismiss notification", onClick: this.dismiss })))));
31885
33152
  }
31886
33153
  get el() { return getElement(this); }
31887
33154
  static get watchers() { return {
@@ -31927,13 +33194,13 @@ class Toggle {
31927
33194
  let className = 'xpl-toggle';
31928
33195
  if (this.variant === 'small')
31929
33196
  className += ' xpl-toggle--small';
31930
- return (hAsync(Host, { key: '20b5e00613ac0f2567224d3ff2bcd7b7f761a8fc', class: containerClassName }, (this.heading || this.description) && (hAsync("label", { key: 'a41dfe6403c629ef05792ba8dc7f0632fca9ca37', class: {
33197
+ return (hAsync(Host, { key: '79915f2091093b5440ca3a8e63584e448137f479', class: containerClassName }, (this.heading || this.description) && (hAsync("label", { key: '6660a95ec66eec9ed33016efcf58aaf0940f6f47', class: {
31931
33198
  'xpl-label': true,
31932
33199
  'xpl-label--disabled': !!this.disabled,
31933
- }, htmlFor: this.id }, this.heading, this.description && (hAsync("small", { key: 'b0e1d30a0f5b358a7f588d3f8f0bc32f440b69df', class: {
33200
+ }, htmlFor: this.id }, this.heading, this.description && (hAsync("small", { key: '160f0a90739142bc37779af28725183979de5a4c', class: {
31934
33201
  'xpl-description': true,
31935
33202
  'xpl-description--disabled': !!this.disabled,
31936
- } }, this.description)))), hAsync("input", { key: 'a59406c7cccf8a43349841bb060496ce0832823f', class: className, type: "checkbox", checked: this.checked, disabled: this.disabled, id: this.id, name: this.name, onChange: this.onChange }), this.label && hAsync("label", { key: '276ce3ec937627fd9d21f2b3771d9c779c5f91f1', htmlFor: this.id }, this.label)));
33203
+ } }, this.description)))), hAsync("input", { key: 'b136188b1de98d1ede875bf9f80b97c9ee66321d', class: className, type: "checkbox", checked: this.checked, disabled: this.disabled, id: this.id, name: this.name, onChange: this.onChange }), this.label && hAsync("label", { key: '0329f2badfa3b3e8c1153c2e5baa4ee76e40ac5d', htmlFor: this.id }, this.label)));
31937
33204
  }
31938
33205
  static get cmpMeta() { return {
31939
33206
  "$flags$": 0,
@@ -31968,11 +33235,11 @@ class Toolbar {
31968
33235
  this.selectedItemCount = event.detail.length;
31969
33236
  }
31970
33237
  render() {
31971
- return (hAsync(Host, { key: 'd834b3f68a399f33c02e2a7d85623d9fbe2a21e2', class: {
33238
+ return (hAsync(Host, { key: '688ada0542f0634df6b447331833205149e88a94', class: {
31972
33239
  'xpl-toolbar': true,
31973
33240
  dark: true,
31974
33241
  hidden: this.selectedItemCount === 0,
31975
- } }, hAsync("div", { key: '54c4638e003685ade49f243f688e3ff5997f8759', class: "toolbar" }, hAsync("p", { key: '92815a7d1b10582742906aefa0ee9ef81311c459', class: "selected-item-count" }, this.selectedItemCount, " Selected"), hAsync("div", { key: 'dc1b9ee686a57bd7bca45785f90586751770f556', class: "actions" }, hAsync("slot", { key: '2cc26af5467e9ad44962bd1ac65f0b1087f86f7f', name: "actions-left" }), hAsync("slot", { key: 'f5f46662191f52c79f81ffd1ce47a492041c10ad', name: "actions-right" })))));
33242
+ } }, hAsync("div", { key: '6b8c2990c354d2b9ee93225ad98fb8fbaf3dbaf7', class: "toolbar" }, hAsync("p", { key: '60923603e318d109fd794259863a684d749ed52b', class: "selected-item-count" }, this.selectedItemCount, " Selected"), hAsync("div", { key: '77df55c910d8ce89a4ff2a0356bc7cf78120e49a', class: "actions" }, hAsync("slot", { key: '5de2e6bd168c31be133c55758acd2f95c56b715c', name: "actions-left" }), hAsync("slot", { key: '3f8b3540adbd441c28771410f4d33e29d87d3be9', name: "actions-right" })))));
31976
33243
  }
31977
33244
  get el() { return getElement(this); }
31978
33245
  static get cmpMeta() { return {
@@ -31996,7 +33263,7 @@ class Tooltip {
31996
33263
  this.hideArrow = false;
31997
33264
  }
31998
33265
  render() {
31999
- return (hAsync(Host, { key: '834ba80f410bd7ed079b674b6f1d110235aaf826' }, hAsync("div", { key: 'e45a7048339ce835ecabf5ef832a5ef2df6ded70', class: "xpl-tooltip-container" }, hAsync("slot", { key: 'f56272df982aa6dc72ba2bf9776017235223de95' }), hAsync("div", { key: 'c5b1054301d08e1b83da61b565f0116f83f395c7', class: `xpl-tooltip xpl-tooltip--${this.position}` }, this.text, !this.hideArrow && (hAsync("div", { key: 'e6a833629cf409644969d9c4da461a2016f2986b', class: "xpl-tooltip-arrow" }, hAsync(TooltipArrow, { key: '7a5893a25978635864ada200aea48660ca90d33c' })))))));
33266
+ return (hAsync(Host, { key: '916a12e608a6e40c40ddfdbe40f12e115215758e' }, hAsync("div", { key: '2f6c39a146fb2ba830306933309ffad9e8919eab', class: "xpl-tooltip-container" }, hAsync("slot", { key: '39b1b2cf370620b96fd00b6343dc0896791ad510' }), hAsync("div", { key: '34198d0f1184a3e05236a508e94531f503309691', class: `xpl-tooltip xpl-tooltip--${this.position}` }, this.text, !this.hideArrow && (hAsync("div", { key: '42f42b07b4f0ae6bd7cbd31837e4846a28ed4e72', class: "xpl-tooltip-arrow" }, hAsync(TooltipArrow, { key: 'af8672da89cda34507e53906937e600400b26953' })))))));
32000
33267
  }
32001
33268
  static get cmpMeta() { return {
32002
33269
  "$flags$": 260,
@@ -32317,7 +33584,7 @@ class TopNav {
32317
33584
  }
32318
33585
  }
32319
33586
  render() {
32320
- return (hAsync(Host, { key: '00d598070bc4cee97d311206f48bf5cd873dcc8e', class: {
33587
+ return (hAsync(Host, { key: 'f51ed285523198b4ef39de7ea1e5dc025d5a308a', class: {
32321
33588
  'xpl-top-nav': true,
32322
33589
  'xpl-top-nav--nav-control': Boolean(this.navControl),
32323
33590
  'xpl-top-nav--open': this.open,
@@ -32325,15 +33592,15 @@ class TopNav {
32325
33592
  'xpl-top-nav--has-brand': this.hasBrand,
32326
33593
  'xpl-top-nav--has-user-menu': this.hasUserMenu,
32327
33594
  dark: true,
32328
- } }, hAsync("nav", { key: '0b42d835c3aa211fa1686d3611ace212d69f1921', "aria-label": this.label ?? 'top-navigation-bar', class: "xpl-top-nav__bar" }, hAsync("div", { key: 'b55f526eca470d1d50b19bf1694f66991d369ad7', class: "xpl-top-nav__inner-left" }, this.navControl && (hAsync("button", { key: '37589314adb7f9cc4a33dd4bc421b2473ece5b54', type: "button", class: "xpl-top-nav__nav-control", "aria-expanded": this.open ? 'true' : 'false', "aria-label": this.open ? 'Close navigation menu' : 'Open navigation menu', onClick: this.onNavToggle }, hAsync("xpl-icon", { key: 'acbdd20739df23cf49ff6542605513159cffe1da', class: "xpl-top-nav__control-icon", icon: "menu", size: 32 }))), this.hasBrand && (hAsync("div", { key: '148ba3e7114ce3f1edbf0618a231d94c4cc3c04f', class: "xpl-top-nav__brand-bar" }, hAsync("xpl-top-nav-item", { key: 'cda2c5f5dca554b7b61d95b941bd0b969f871dd0', class: "xpl-top-nav__brand", href: this.brandHref, onNavItemClick: this.onBrandNavItemClick }, this.brandLogo?.trim() ? (hAsync("img", { class: "xpl-top-nav__brand-logo", src: this.brandLogo, alt: this.brandName?.trim()
33595
+ } }, hAsync("nav", { key: 'c2c14ed2ba975299efd76a391dfd6371b9214449', "aria-label": this.label ?? 'top-navigation-bar', class: "xpl-top-nav__bar" }, hAsync("div", { key: 'c223b947ffbcb55c6c6a06fa3adaeaee7661b61e', class: "xpl-top-nav__inner-left" }, this.navControl && (hAsync("button", { key: 'd364b6dd709d59730d40e7a0d41f9dd8fd55d40b', type: "button", class: "xpl-top-nav__nav-control", "aria-expanded": this.open ? 'true' : 'false', "aria-label": this.open ? 'Close navigation menu' : 'Open navigation menu', onClick: this.onNavToggle }, hAsync("xpl-icon", { key: 'b84614dc20189f641b2f5a08eef1c76610135598', class: "xpl-top-nav__control-icon", icon: "menu", size: 32 }))), this.hasBrand && (hAsync("div", { key: '90b104133cbdea89643923fd06f54179978862a5', class: "xpl-top-nav__brand-bar" }, hAsync("xpl-top-nav-item", { key: '2b40b31ba1312a76231f7a89b1e95508a5a146a1', class: "xpl-top-nav__brand", href: this.brandHref, onNavItemClick: this.onBrandNavItemClick }, this.brandLogo?.trim() ? (hAsync("img", { class: "xpl-top-nav__brand-logo", src: this.brandLogo, alt: this.brandName?.trim()
32329
33596
  ? this.brandName.trim()
32330
- : 'Brand' })) : this.brandLogoSlotPresent ? (hAsync("span", { class: "xpl-top-nav__brand-logo-slot" }, hAsync("slot", { name: "brand-logo" }))) : null, this.brandName?.trim() ? (hAsync("span", { class: "xpl-top-nav__brand-name" }, this.brandName.trim())) : null))), hAsync("div", { key: 'abca8522fe239fe207a291d7bd8bdfd1cab0ffc3', class: {
33597
+ : 'Brand' })) : this.brandLogoSlotPresent ? (hAsync("span", { class: "xpl-top-nav__brand-logo-slot" }, hAsync("slot", { name: "brand-logo" }))) : null, this.brandName?.trim() ? (hAsync("span", { class: "xpl-top-nav__brand-name" }, this.brandName.trim())) : null))), hAsync("div", { key: 'ca3e9b4501ab3756301b2079bcb9632734e56922', class: {
32331
33598
  'xpl-top-nav__aside': true,
32332
33599
  'xpl-nav-left': true,
32333
- } }, hAsync("div", { key: 'f2fde6503e8bc319fbd60a4d5000d93644999d9a', class: "xpl-top-nav__left-primary", role: "list" }, hAsync("slot", { key: 'ebbb61cf32cf5b0246cecc3d967f93f1834b9e11', name: "left-aside" })))), hAsync("div", { key: '18c8d5990551ee655190aabb8ee85ad8d772b54e', class: {
33600
+ } }, hAsync("div", { key: 'f2674faf140853536150058d13a5d40c7399979e', class: "xpl-top-nav__left-primary", role: "list" }, hAsync("slot", { key: '29363ac15d3f3bf7a43b237a7f7e0622c5bd54c4', name: "left-aside" })))), hAsync("div", { key: '7c83bd0a80649b9cbe9ed757ead1136b6fabd09c', class: {
32334
33601
  'xpl-top-nav__aside': true,
32335
33602
  'xpl-nav-right': true,
32336
- } }, hAsync("div", { key: '3120cb36425177943c3a52345396b5b2de9cc028', class: "xpl-nav-right__list" }, hAsync("div", { key: '6fde79b8b6d87bfdb617c591530307382bdff243', class: "xpl-top-nav__right-rail" }, hAsync("div", { key: '7e69e3e660887b7b39db058fb7e8cf42679a730e', class: "xpl-top-nav__right-lead" }, hAsync("slot", { key: 'c198ab94307d3d126b5902890de73b434cb583b1', name: "right-aside" })), this.hasUserMenu ? (hAsync("div", { class: "xpl-top-nav__right-user" }, hAsync("xpl-popover", { class: "xpl-top-nav__user-popover dark", position: "bottom-end", display: "menu" }, this.userMenuTriggerSlotPresent ? (hAsync("slot", { name: "user-menu-trigger", slot: "trigger" })) : this.usesBuiltInChildAccountTrigger ? (hAsync("xpl-button", { slot: "trigger", class: "xpl-top-nav__child-account-trigger", type: "button", variant: "tertiary", icon: "chevron-down", iconPosition: "end", iconOnly: this.childAccountLabelText.length === 0, "aria-haspopup": "dialog", "aria-label": this.childAccountLabelText.length > 0
33603
+ } }, hAsync("div", { key: 'c67e6d3365d90cd7f7c55b08dcc4fa56dcb3e291', class: "xpl-nav-right__list" }, hAsync("div", { key: '46b9c3b0b010bf52a5632bc81b279310c0a54438', class: "xpl-top-nav__right-rail" }, hAsync("div", { key: '72279d15a5464dfabd9f92c04bc231e270ea04b9', class: "xpl-top-nav__right-lead" }, hAsync("slot", { key: 'd8b44d01141f9cfbeb7d6b019345ffc8c94fd0c3', name: "right-aside" })), this.hasUserMenu ? (hAsync("div", { class: "xpl-top-nav__right-user" }, hAsync("xpl-popover", { class: "xpl-top-nav__user-popover dark", position: "bottom-end", display: "menu" }, this.userMenuTriggerSlotPresent ? (hAsync("slot", { name: "user-menu-trigger", slot: "trigger" })) : this.usesBuiltInChildAccountTrigger ? (hAsync("xpl-button", { slot: "trigger", class: "xpl-top-nav__child-account-trigger", type: "button", variant: "tertiary", icon: "chevron-down", iconPosition: "end", iconOnly: this.childAccountLabelText.length === 0, "aria-haspopup": "dialog", "aria-label": this.childAccountLabelText.length > 0
32337
33604
  ? undefined
32338
33605
  : 'Open account menu' }, this.childAccountLabelText.length > 0
32339
33606
  ? this.childAccountLabelText
@@ -32776,7 +34043,7 @@ class TopNavItem {
32776
34043
  return (hAsync("button", { ...shared, type: "button" }, this.renderLeading(), this.renderLabelContent(), this.renderTrailing()));
32777
34044
  }
32778
34045
  render() {
32779
- return (hAsync(Host, { key: 'f895d73fc0f4c07150e9cd1c34d7b78a338a2032', class: {
34046
+ return (hAsync(Host, { key: 'fe53cfd84cba8502089c4a3fae62dfed10c0cdf0', class: {
32780
34047
  'xpl-top-nav-item': true,
32781
34048
  'xpl-top-nav-item--active': this.active,
32782
34049
  'xpl-top-nav-item--dropdown-open': this.hasDropdown && this.open,
@@ -32784,7 +34051,7 @@ class TopNavItem {
32784
34051
  'xpl-top-nav-item--has-dropdown': this.hasDropdown,
32785
34052
  'xpl-top-nav-item--selected': this.selected,
32786
34053
  dark: true,
32787
- }, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, ...(this.hostListitemRole ? { role: 'listitem' } : {}) }, this.renderInner(), this.hasDropdown && (hAsync("div", { key: '3ec121421a45b3e5ef00f3fe76be80c910759f02', id: this.dropdownPanelId, class: "xpl-top-nav-item__dropdown" }, hAsync("slot", { key: '715393a7ba3474c1afc9e0aa29276335537021e5', name: "dropdown" })))));
34054
+ }, onMouseEnter: this.handleMouseEnter, onMouseLeave: this.handleMouseLeave, ...(this.hostListitemRole ? { role: 'listitem' } : {}) }, this.renderInner(), this.hasDropdown && (hAsync("div", { key: '954f83c94bd56d9bd328212f2ecc070861b1fd54', id: this.dropdownPanelId, class: "xpl-top-nav-item__dropdown" }, hAsync("slot", { key: '4d830a9386f12026cd1a2ecb454bcb9df2202431', name: "dropdown" })))));
32788
34055
  }
32789
34056
  get el() { return getElement(this); }
32790
34057
  static get watchers() { return {
@@ -32900,10 +34167,10 @@ class TopNavMenu {
32900
34167
  return (hAsync("xpl-top-nav-item", { class: "xpl-top-nav-menu__back", label: this.label, onNavItemClick: this.handleBackClick }, hAsync("xpl-icon", { slot: "leading-icon", icon: "chevron-left", size: 24 })));
32901
34168
  }
32902
34169
  render() {
32903
- return (hAsync(Host, { key: '4b28448ecb93e59d9bdc731a8b56dd42ebda2c66', class: {
34170
+ return (hAsync(Host, { key: '10a844d721713b72f636a8a3a3e266139b9c0193', class: {
32904
34171
  'xpl-top-nav-menu': true,
32905
34172
  dark: true,
32906
- }, role: "list", "aria-label": this.label || undefined }, this.renderBackRow(), hAsync("slot", { key: 'aa51dc10509298e469ca41a99ae7108283ee8f89' })));
34173
+ }, role: "list", "aria-label": this.label || undefined }, this.renderBackRow(), hAsync("slot", { key: 'e7db1c580f34bf388658f6baacfc325322e2670e' })));
32907
34174
  }
32908
34175
  get el() { return getElement(this); }
32909
34176
  static get cmpMeta() { return {
@@ -32933,7 +34200,7 @@ class UtilityBar {
32933
34200
  this.open = this.isNavOpenAtStartup !== undefined ? this.isNavOpenAtStartup : this.open;
32934
34201
  }
32935
34202
  render() {
32936
- return (hAsync(Host, { key: '3ed4e8e9214075b9062b221a05f1b27aa0b0bfbf' }, hAsync("nav", { key: 'c809f6f649965d0b60d35c2bda31f721d67ccca1', "aria-label": "utility navigation bar", class: "xpl-utility-bar" }, this.navControl ? (hAsync("div", null, hAsync("button", { class: "xpl-utility-bar__nav-control", onClick: () => this.onNavToggle() }, hAsync("xpl-icon", { class: "xpl-utility-nav__bars", icon: "three-bars" })), hAsync("slot", { name: "aside" }))) : (hAsync("slot", { name: "aside" })), hAsync("slot", { key: '99e22823c94e66c5dce24815485c7513b11e9267', name: "main" }))));
34203
+ return (hAsync(Host, { key: '9bb4778368fca3035fc19b74ec3881b9c21ce856' }, hAsync("nav", { key: '909606f5baaef1a9c7402ac18107a607aa1df742', "aria-label": "utility navigation bar", class: "xpl-utility-bar" }, this.navControl ? (hAsync("div", null, hAsync("button", { class: "xpl-utility-bar__nav-control", onClick: () => this.onNavToggle() }, hAsync("xpl-icon", { class: "xpl-utility-nav__bars", icon: "three-bars" })), hAsync("slot", { name: "aside" }))) : (hAsync("slot", { name: "aside" })), hAsync("slot", { key: 'd6bce27702906a01823de67d63173406ceb06290', name: "main" }))));
32937
34204
  }
32938
34205
  static get cmpMeta() { return {
32939
34206
  "$flags$": 260,
@@ -33436,11 +34703,11 @@ class XplPanel {
33436
34703
  }
33437
34704
  render() {
33438
34705
  const hasAccent = this.accent !== 'none';
33439
- return (hAsync(Host, { key: '7e2a96b285cc06379f8f7f98ae44affcfac0c8dc', class: {
34706
+ return (hAsync(Host, { key: '61852953ba87a556efaeff011546aecdd27bb6b1', class: {
33440
34707
  'xpl-panel': true,
33441
34708
  [`xpl-panel--accent-${this.accent}`]: hasAccent,
33442
34709
  [`xpl-panel--padding-${this.padding}`]: true,
33443
- } }, hasAccent && hAsync("div", { key: '3a6740a44c18c9973c86a314d26bd565971c19f2', "aria-hidden": "true", class: "xpl-panel__accent" }), hAsync("div", { key: 'd4951bd49e7600a58fa0ecb31fddf4df1dfe7956', class: "xpl-panel__content" }, hAsync("slot", { key: '2374d130b274a64e875b0c4b1ce03b34d96554b4' }))));
34710
+ } }, hasAccent && hAsync("div", { key: 'b4317b146c7759041d90b1a07ddd18f8dd3f2fd9', "aria-hidden": "true", class: "xpl-panel__accent" }), hAsync("div", { key: 'b6d5634c93f921a002a3928884f54d3f8cce76cf', class: "xpl-panel__content" }, hAsync("slot", { key: '903c5e6f307ab7045b992f6b3bf3ec2c5b563455' }))));
33444
34711
  }
33445
34712
  static get cmpMeta() { return {
33446
34713
  "$flags$": 260,
@@ -33460,7 +34727,7 @@ class XplTableBody {
33460
34727
  registerInstance(this, hostRef);
33461
34728
  }
33462
34729
  render() {
33463
- return (hAsync(Host, { key: '5a82de617cad4d37dace81ad6a636db1e3a944df', class: "xpl-table-body", role: "rowgroup" }, hAsync("slot", { key: 'd141e2e041789142eb69c6b3453b25523e4ecf59' })));
34730
+ return (hAsync(Host, { key: 'e5934161758f0934269a09e4a1058f3fda919e9d', class: "xpl-table-body", role: "rowgroup" }, hAsync("slot", { key: 'e042714dc35cbe4ecc83cff740f7a24de48feec1' })));
33464
34731
  }
33465
34732
  static get cmpMeta() { return {
33466
34733
  "$flags$": 260,
@@ -33472,12 +34739,107 @@ class XplTableBody {
33472
34739
  }; }
33473
34740
  }
33474
34741
 
34742
+ const CELL_MANAGED_DISABLED_ATTR = 'data-xpl-table-cell-managed-disabled';
34743
+ function isDisablableControl(el) {
34744
+ if ('disabled' in el) {
34745
+ return true;
34746
+ }
34747
+ switch (el.tagName) {
34748
+ case 'BUTTON':
34749
+ case 'INPUT':
34750
+ case 'SELECT':
34751
+ case 'TEXTAREA':
34752
+ case 'FIELDSET':
34753
+ case 'OPTGROUP':
34754
+ case 'OPTION':
34755
+ return true;
34756
+ default:
34757
+ return false;
34758
+ }
34759
+ }
34760
+ class XplTableCell {
34761
+ constructor(hostRef) {
34762
+ registerInstance(this, hostRef);
34763
+ this.align = 'left';
34764
+ this.bold = false;
34765
+ this.disabled = false;
34766
+ this.underline = false;
34767
+ }
34768
+ onDisabledChange() {
34769
+ this.propagateDisabledToSlotted();
34770
+ }
34771
+ componentDidLoad() {
34772
+ this.propagateDisabledToSlotted();
34773
+ }
34774
+ propagateDisabledToSlotted() {
34775
+ const setControlDisabled = (element) => {
34776
+ if (!isDisablableControl(element)) {
34777
+ return;
34778
+ }
34779
+ const control = element;
34780
+ if (this.disabled) {
34781
+ if (control.disabled) {
34782
+ return;
34783
+ }
34784
+ control.disabled = true;
34785
+ control.setAttribute('disabled', '');
34786
+ control.setAttribute(CELL_MANAGED_DISABLED_ATTR, '');
34787
+ return;
34788
+ }
34789
+ if (!control.hasAttribute(CELL_MANAGED_DISABLED_ATTR)) {
34790
+ return;
34791
+ }
34792
+ control.disabled = false;
34793
+ control.removeAttribute('disabled');
34794
+ control.removeAttribute(CELL_MANAGED_DISABLED_ATTR);
34795
+ };
34796
+ const walk = (parent) => {
34797
+ Array.from(parent.children).forEach((child) => {
34798
+ if (child.tagName === 'XPL-TABLE') {
34799
+ return;
34800
+ }
34801
+ setControlDisabled(child);
34802
+ walk(child);
34803
+ });
34804
+ };
34805
+ walk(this.el);
34806
+ }
34807
+ render() {
34808
+ return (hAsync(Host, { key: 'f4e7639b0cb35eda08fdbb13cf1e0ddcb380cb7a', role: "gridcell", class: {
34809
+ 'xpl-table-cell': true,
34810
+ [`xpl-table-cell--align-${this.align}`]: true,
34811
+ 'xpl-table-cell--bold': this.bold,
34812
+ 'xpl-table-cell--underline': this.underline,
34813
+ 'xpl-table-cell--disabled': this.disabled,
34814
+ } }, hAsync("slot", { key: '16d9a63cb992b9bbeb56500b5d6537b824336b40' })));
34815
+ }
34816
+ get el() { return getElement(this); }
34817
+ static get watchers() { return {
34818
+ "disabled": [{
34819
+ "onDisabledChange": 0
34820
+ }]
34821
+ }; }
34822
+ static get cmpMeta() { return {
34823
+ "$flags$": 260,
34824
+ "$tagName$": "xpl-table-cell",
34825
+ "$members$": {
34826
+ "align": [1],
34827
+ "bold": [4],
34828
+ "disabled": [4],
34829
+ "underline": [4]
34830
+ },
34831
+ "$listeners$": undefined,
34832
+ "$lazyBundleId$": "-",
34833
+ "$attrsToReflect$": []
34834
+ }; }
34835
+ }
34836
+
33475
34837
  class XplTableFooter {
33476
34838
  constructor(hostRef) {
33477
34839
  registerInstance(this, hostRef);
33478
34840
  }
33479
34841
  render() {
33480
- return (hAsync(Host, { key: '7c0c20a91c48433b21a8a83094d614de532b317b', class: "xpl-table-footer", role: "rowgroup" }, hAsync("slot", { key: 'aebc40fc1edc9ced7b2420303d3a38897c24939f' })));
34842
+ return (hAsync(Host, { key: '57872baa33166a8146bd0c9b3d7af1597e1fb41e', class: "xpl-table-footer", role: "rowgroup" }, hAsync("slot", { key: '65def2bdfee1be95fa966f7f746dedc7176b91e6' })));
33481
34843
  }
33482
34844
  static get cmpMeta() { return {
33483
34845
  "$flags$": 260,
@@ -33495,10 +34857,10 @@ class XplTableFooterCell {
33495
34857
  this.align = 'left';
33496
34858
  }
33497
34859
  render() {
33498
- return (hAsync(Host, { key: '331e85728bbd31aa7cde4fe169874879518b92bd', class: {
34860
+ return (hAsync(Host, { key: '1434aa38de9894875e70b2a7b3c55479726727d5', class: {
33499
34861
  'xpl-table-footer-cell': true,
33500
34862
  [`xpl-table-footer-cell--align-${this.align}`]: true,
33501
- }, role: "gridcell" }, hAsync("slot", { key: '29f074c9c81b9cf38bca0ef3eb92a54a408b2436' })));
34863
+ }, role: "gridcell" }, hAsync("slot", { key: 'e3bac594dbd5265f44c7bd620e1fccfc9248abf0' })));
33502
34864
  }
33503
34865
  static get cmpMeta() { return {
33504
34866
  "$flags$": 260,
@@ -33512,19 +34874,60 @@ class XplTableFooterCell {
33512
34874
  }; }
33513
34875
  }
33514
34876
 
34877
+ function isTableCell(node) {
34878
+ return node.nodeName === 'XPL-TABLE-CELL';
34879
+ }
33515
34880
  class XplTableRow {
33516
34881
  constructor(hostRef) {
33517
34882
  registerInstance(this, hostRef);
33518
34883
  this.disabled = false;
33519
34884
  this.selected = false;
33520
34885
  }
34886
+ onDisabledChange() {
34887
+ this.propagateDisabledToCells();
34888
+ }
34889
+ connectedCallback() {
34890
+ if (typeof MutationObserver === 'undefined')
34891
+ return;
34892
+ this.cellObserver = new MutationObserver((mutations) => {
34893
+ mutations.forEach((mutation) => {
34894
+ if (mutation.type !== 'childList')
34895
+ return;
34896
+ mutation.addedNodes.forEach((node) => {
34897
+ if (isTableCell(node)) {
34898
+ node.disabled = this.disabled;
34899
+ }
34900
+ });
34901
+ });
34902
+ });
34903
+ this.cellObserver.observe(this.el, { childList: true });
34904
+ }
34905
+ disconnectedCallback() {
34906
+ this.cellObserver?.disconnect();
34907
+ this.cellObserver = undefined;
34908
+ }
34909
+ componentDidLoad() {
34910
+ this.propagateDisabledToCells();
34911
+ }
34912
+ propagateDisabledToCells() {
34913
+ const cells = Array.from(this.el.children).filter(isTableCell);
34914
+ cells.forEach((cell) => {
34915
+ cell.disabled = this.disabled;
34916
+ });
34917
+ }
33521
34918
  render() {
33522
- return (hAsync(Host, { key: '506e56b764d82707482e58a0715fd342219ef7d9', class: {
34919
+ return (hAsync(Host, { key: '8c49ba27b39d934cb774140b43e811e5ee2bb904', class: {
33523
34920
  'xpl-table-row': true,
33524
34921
  'xpl-table-row--disabled': this.disabled,
33525
34922
  'xpl-table-row--selected': this.selected,
33526
- }, role: "row" }, hAsync("slot", { key: 'db534bcb1e92bb92441476542c0eaa920f6914e8' })));
34923
+ }, role: "row" }, hAsync("slot", { key: '30788ce629c65d7eab04d268da978d46f0145e99' })));
33527
34924
  }
34925
+ get el() { return getElement(this); }
34926
+ static get watchers() { return {
34927
+ "disabled": [{
34928
+ "onDisabledChange": 0
34929
+ }]
34930
+ }; }
33528
34931
  static get cmpMeta() { return {
33529
34932
  "$flags$": 260,
33530
34933
  "$tagName$": "xpl-table-row",
@@ -33613,6 +35016,7 @@ registerComponents([
33613
35016
  XplListItem,
33614
35017
  XplPanel,
33615
35018
  XplTableBody,
35019
+ XplTableCell,
33616
35020
  XplTableFooter,
33617
35021
  XplTableFooterCell,
33618
35022
  XplTableRow,