@xplortech/apollo-core 3.2.1 → 3.4.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 (520) hide show
  1. package/AGENTS.md +17 -0
  2. package/README.md +1 -1
  3. package/build/components/accordion.css +1 -1
  4. package/build/components/badge.css +1 -1
  5. package/build/components/banner.css +1 -1
  6. package/build/components/breadcrumbs.css +1 -1
  7. package/build/components/button.css +1 -1
  8. package/build/components/choicelist.css +1 -1
  9. package/build/components/data-card.css +1 -1
  10. package/build/components/divider.css +1 -1
  11. package/build/components/dropdown.css +1 -1
  12. package/build/components/dynamic-table-cell.css +1 -1
  13. package/build/components/header-accordion.css +1 -1
  14. package/build/components/icon.css +1 -1
  15. package/build/components/input-color.css +1 -1
  16. package/build/components/input-file.css +1 -1
  17. package/build/components/input-search.css +1 -1
  18. package/build/components/input.css +1 -1
  19. package/build/components/label.css +1 -1
  20. package/build/components/large-card.css +1 -1
  21. package/build/components/list-item.css +1 -1
  22. package/build/components/main-nav.css +1 -1
  23. package/build/components/modal.css +1 -1
  24. package/build/components/nav-item.css +1 -1
  25. package/build/components/pagination.css +1 -1
  26. package/build/components/secondary-nav.css +1 -1
  27. package/build/components/select.css +1 -1
  28. package/build/components/side-nav.css +1 -1
  29. package/build/components/slideout.css +1 -1
  30. package/build/components/spotlight.css +1 -1
  31. package/build/components/table-cell-base.css +1 -1
  32. package/build/components/table-header-cell.css +1 -1
  33. package/build/components/table.css +1 -1
  34. package/build/components/tag.css +1 -1
  35. package/build/components/toast.css +1 -1
  36. package/build/components/toggle.css +1 -1
  37. package/build/components/toolbar.css +1 -1
  38. package/build/components/tooltip.css +1 -1
  39. package/build/components/top-nav.css +1 -1
  40. package/build/core.css +1 -1
  41. package/build/style.css +1 -1
  42. package/build/typography.css +1 -1
  43. package/build/variables/apollo.css +31 -19
  44. package/build/variables/field-edge.css +33 -19
  45. package/build/vendor/flatpickr.css +1 -1
  46. package/dist/apollo-core/apollo-core.css +1 -1
  47. package/dist/apollo-core/apollo-core.esm.js +1 -1
  48. package/dist/apollo-core/{p-a0d3b7f8.entry.js → p-00e96d61.entry.js} +1 -1
  49. package/dist/apollo-core/{p-715baae0.entry.js → p-02a2d1a3.entry.js} +1 -1
  50. package/dist/apollo-core/p-035ed1ad.entry.js +1 -0
  51. package/dist/apollo-core/{p-aeb2bcb8.entry.js → p-066d3199.entry.js} +1 -1
  52. package/dist/apollo-core/{p-7eb02cf3.entry.js → p-066eccd6.entry.js} +1 -1
  53. package/dist/apollo-core/p-0e8514ff.entry.js +1 -0
  54. package/dist/apollo-core/{p-3417c1ce.entry.js → p-18115cd4.entry.js} +1 -1
  55. package/dist/apollo-core/{p-8f8f4759.entry.js → p-19d22455.entry.js} +1 -1
  56. package/dist/apollo-core/{p-24fa8a03.entry.js → p-1b00e924.entry.js} +1 -1
  57. package/dist/apollo-core/{p-49531864.entry.js → p-1ca46c11.entry.js} +1 -1
  58. package/dist/apollo-core/{p-bc821e69.entry.js → p-1e07745c.entry.js} +1 -1
  59. package/dist/apollo-core/{p-3713cd77.entry.js → p-31cbb36f.entry.js} +1 -1
  60. package/dist/apollo-core/p-321319c0.entry.js +1 -0
  61. package/dist/apollo-core/p-3222e5a7.entry.js +1 -0
  62. package/dist/apollo-core/{p-fcb17ff9.entry.js → p-325466bf.entry.js} +1 -1
  63. package/dist/apollo-core/p-32ac676a.entry.js +1 -0
  64. package/dist/apollo-core/{p-d469bf5d.entry.js → p-33063e8c.entry.js} +1 -1
  65. package/dist/apollo-core/{p-ff16f574.entry.js → p-34d84be8.entry.js} +1 -1
  66. package/dist/apollo-core/{p-b3b4678b.entry.js → p-36965939.entry.js} +1 -1
  67. package/dist/apollo-core/{p-7d70e089.entry.js → p-43fbf2aa.entry.js} +1 -1
  68. package/dist/apollo-core/p-44a1fd8b.entry.js +1 -0
  69. package/dist/apollo-core/p-462a804c.entry.js +1 -0
  70. package/dist/apollo-core/{p-808f3d9c.entry.js → p-47a4f0a8.entry.js} +1 -1
  71. package/dist/apollo-core/p-5cf30b9d.entry.js +1 -0
  72. package/dist/apollo-core/{p-f579e4b0.entry.js → p-606153e1.entry.js} +1 -1
  73. package/dist/apollo-core/{p-5c3be343.entry.js → p-60e3a798.entry.js} +1 -1
  74. package/dist/apollo-core/{p-14e86de8.entry.js → p-663e9521.entry.js} +1 -1
  75. package/dist/apollo-core/{p-11914cd4.entry.js → p-6e22ab86.entry.js} +1 -1
  76. package/dist/apollo-core/{p-907bc21e.entry.js → p-7781b569.entry.js} +1 -1
  77. package/dist/apollo-core/p-787a361c.entry.js +1 -0
  78. package/dist/apollo-core/{p-e09d8beb.entry.js → p-7b46b656.entry.js} +1 -1
  79. package/dist/apollo-core/p-7bfd9cfb.entry.js +1 -0
  80. package/dist/apollo-core/{p-f384a990.entry.js → p-8127dd6b.entry.js} +1 -1
  81. package/dist/apollo-core/{p-b64ed46d.entry.js → p-88367287.entry.js} +1 -1
  82. package/dist/apollo-core/p-8a59605f.entry.js +1 -0
  83. package/dist/apollo-core/p-8df2b9e8.entry.js +1 -0
  84. package/dist/apollo-core/p-9466f566.entry.js +1 -0
  85. package/dist/apollo-core/p-95b6e6e6.entry.js +1 -0
  86. package/dist/apollo-core/{p-8845106f.entry.js → p-966f3702.entry.js} +1 -1
  87. package/dist/apollo-core/{p-45c872d2.entry.js → p-9d7ead72.entry.js} +1 -1
  88. package/dist/apollo-core/p-CgJEmBQY.js +3 -0
  89. package/dist/apollo-core/{p-ca83003e.entry.js → p-a21c7976.entry.js} +1 -1
  90. package/dist/apollo-core/p-a30b51c8.entry.js +1 -0
  91. package/dist/apollo-core/p-a3537a74.entry.js +1 -0
  92. package/dist/apollo-core/{p-9d731673.entry.js → p-ac105b6c.entry.js} +1 -1
  93. package/dist/apollo-core/{p-2971e2ec.entry.js → p-adc14e6e.entry.js} +1 -1
  94. package/dist/apollo-core/p-b41b7950.entry.js +1 -0
  95. package/dist/apollo-core/{p-256ece8b.entry.js → p-b44a72e9.entry.js} +1 -1
  96. package/dist/apollo-core/{p-d3ada7d0.entry.js → p-b6f20359.entry.js} +1 -1
  97. package/dist/apollo-core/{p-df257cbf.entry.js → p-b7f75498.entry.js} +1 -1
  98. package/dist/apollo-core/p-b9136f21.entry.js +1 -0
  99. package/dist/apollo-core/{p-c5bc3b2c.entry.js → p-c526f16d.entry.js} +1 -1
  100. package/dist/apollo-core/p-c7b8a325.entry.js +1 -0
  101. package/dist/apollo-core/p-c9246567.entry.js +1 -0
  102. package/dist/apollo-core/p-cc04d4e7.entry.js +1 -0
  103. package/dist/apollo-core/p-cc27a41f.entry.js +1 -0
  104. package/dist/apollo-core/{p-050a8bf2.entry.js → p-d58523b6.entry.js} +1 -1
  105. package/dist/apollo-core/p-d7fba438.entry.js +1 -0
  106. package/dist/apollo-core/p-db998e2a.entry.js +1 -0
  107. package/dist/apollo-core/{p-ee68bed6.entry.js → p-e1f095dd.entry.js} +1 -1
  108. package/dist/apollo-core/{p-9feaa8be.entry.js → p-e30d204d.entry.js} +1 -1
  109. package/dist/apollo-core/{p-eba654a3.entry.js → p-e4649020.entry.js} +1 -1
  110. package/dist/apollo-core/p-ebe6a1d6.entry.js +1 -0
  111. package/dist/apollo-core/{p-9905c77c.entry.js → p-f0897ee2.entry.js} +1 -1
  112. package/dist/apollo-core/{p-64f5c129.entry.js → p-f13e14bd.entry.js} +1 -1
  113. package/dist/apollo-core/p-f88eefaf.entry.js +1 -0
  114. package/dist/apollo-core/p-fd2e7bb0.entry.js +1 -0
  115. package/dist/cjs/apollo-core.cjs.js +2 -2
  116. package/dist/cjs/{index-3cBvw409.js → index-CQbPtJas.js} +53 -165
  117. package/dist/cjs/loader.cjs.js +1 -1
  118. package/dist/cjs/xpl-accordion.cjs.entry.js +3 -3
  119. package/dist/cjs/xpl-application-shell.cjs.entry.js +2 -2
  120. package/dist/cjs/xpl-avatar_3.cjs.entry.js +5 -5
  121. package/dist/cjs/xpl-backdrop.cjs.entry.js +2 -2
  122. package/dist/cjs/xpl-badge.cjs.entry.js +2 -2
  123. package/dist/cjs/xpl-banner.cjs.entry.js +3 -3
  124. package/dist/cjs/xpl-breadcrumb-item.cjs.entry.js +2 -2
  125. package/dist/cjs/xpl-breadcrumbs.cjs.entry.js +2 -2
  126. package/dist/cjs/xpl-button-row.cjs.entry.js +2 -2
  127. package/dist/cjs/xpl-button.cjs.entry.js +3 -3
  128. package/dist/cjs/xpl-calendar.cjs.entry.js +2 -2
  129. package/dist/cjs/xpl-checkbox.cjs.entry.js +4 -4
  130. package/dist/cjs/xpl-choicelist.cjs.entry.js +2 -2
  131. package/dist/cjs/xpl-content-area.cjs.entry.js +2 -2
  132. package/dist/cjs/xpl-dashboard.cjs.entry.js +2 -2
  133. package/dist/cjs/xpl-data-card.cjs.entry.js +3 -3
  134. package/dist/cjs/xpl-dropdown_4.cjs.entry.js +9 -9
  135. package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +3 -3
  136. package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +3 -3
  137. package/dist/cjs/xpl-dynamic-table.cjs.entry.js +3 -3
  138. package/dist/cjs/xpl-grid-item.cjs.entry.js +2 -2
  139. package/dist/cjs/xpl-grid.cjs.entry.js +1 -1
  140. package/dist/cjs/xpl-header-accordion.cjs.entry.js +2 -2
  141. package/dist/cjs/xpl-icon.cjs.entry.js +3 -6
  142. package/dist/cjs/xpl-input-color.cjs.entry.js +9 -9
  143. package/dist/cjs/xpl-input-phone.cjs.entry.js +1 -1
  144. package/dist/cjs/xpl-input-time.cjs.entry.js +1 -1
  145. package/dist/cjs/xpl-input_4.cjs.entry.js +6 -6
  146. package/dist/cjs/xpl-large-card.cjs.entry.js +2 -2
  147. package/dist/cjs/xpl-list-item.cjs.entry.js +1 -1
  148. package/dist/cjs/xpl-list.cjs.entry.js +3 -3
  149. package/dist/cjs/xpl-main-nav.cjs.entry.js +2 -2
  150. package/dist/cjs/xpl-modal.cjs.entry.js +1 -1
  151. package/dist/cjs/xpl-nav-header-menu.cjs.entry.js +3 -3
  152. package/dist/cjs/xpl-nav-item.cjs.entry.js +3 -3
  153. package/dist/cjs/xpl-pagination.cjs.entry.js +1 -1
  154. package/dist/cjs/xpl-panel.cjs.entry.js +1 -1
  155. package/dist/cjs/xpl-popover.cjs.entry.js +5 -5
  156. package/dist/cjs/xpl-progress-bar.cjs.entry.js +1 -1
  157. package/dist/cjs/xpl-progress-indicator.cjs.entry.js +1 -1
  158. package/dist/cjs/xpl-secondary-nav.cjs.entry.js +2 -2
  159. package/dist/cjs/xpl-select_2.cjs.entry.js +10 -10
  160. package/dist/cjs/xpl-side-nav-header-item.cjs.entry.js +1 -1
  161. package/dist/cjs/xpl-side-nav-item.cjs.entry.js +3 -3
  162. package/dist/cjs/xpl-side-nav-section.cjs.entry.js +6 -6
  163. package/dist/cjs/xpl-side-nav.cjs.entry.js +3 -3
  164. package/dist/cjs/xpl-skeleton.cjs.entry.js +1 -1
  165. package/dist/cjs/xpl-slideout.cjs.entry.js +2 -2
  166. package/dist/cjs/xpl-spotlight.cjs.entry.js +1 -1
  167. package/dist/cjs/xpl-tab-panel.cjs.entry.js +3 -3
  168. package/dist/cjs/xpl-tab.cjs.entry.js +1 -1
  169. package/dist/cjs/xpl-table-body.cjs.entry.js +2 -2
  170. package/dist/cjs/xpl-table-cell_3.cjs.entry.js +5 -5
  171. package/dist/cjs/xpl-table-footer.cjs.entry.js +2 -2
  172. package/dist/cjs/xpl-table-header.cjs.entry.js +2 -2
  173. package/dist/cjs/xpl-table-row.cjs.entry.js +3 -3
  174. package/dist/cjs/xpl-table.cjs.entry.js +1 -1
  175. package/dist/cjs/xpl-tabs.cjs.entry.js +1 -1
  176. package/dist/cjs/xpl-toast.cjs.entry.js +3 -3
  177. package/dist/cjs/xpl-toggle.cjs.entry.js +1 -1
  178. package/dist/cjs/xpl-toolbar.cjs.entry.js +3 -3
  179. package/dist/cjs/xpl-tooltip.cjs.entry.js +2 -2
  180. package/dist/cjs/xpl-top-nav-item.cjs.entry.js +3 -3
  181. package/dist/cjs/xpl-top-nav-menu.cjs.entry.js +3 -3
  182. package/dist/cjs/xpl-top-nav.cjs.entry.js +6 -6
  183. package/dist/cjs/xpl-utility-bar.cjs.entry.js +2 -2
  184. package/dist/collection/collection-manifest.json +1 -1
  185. package/dist/collection/components/xpl-accordion/xpl-accordion.js +2 -2
  186. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +1 -1
  187. package/dist/collection/components/xpl-avatar/xpl-avatar.js +8 -8
  188. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
  189. package/dist/collection/components/xpl-badge/xpl-badge.js +3 -3
  190. package/dist/collection/components/xpl-banner/xpl-banner.js +2 -2
  191. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +1 -1
  192. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +1 -1
  193. package/dist/collection/components/xpl-button/xpl-button.js +2 -2
  194. package/dist/collection/components/xpl-button-row/xpl-button-row.js +1 -1
  195. package/dist/collection/components/xpl-calendar/xpl-calendar.js +1 -1
  196. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +3 -3
  197. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +2 -2
  198. package/dist/collection/components/xpl-content-area/xpl-content-area.js +1 -1
  199. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +1 -1
  200. package/dist/collection/components/xpl-data-card/xpl-data-card.js +2 -2
  201. package/dist/collection/components/xpl-divider/xpl-divider.js +1 -1
  202. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +2 -2
  203. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +1 -1
  204. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +2 -2
  205. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +11 -10
  206. package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +2 -2
  207. package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +2 -2
  208. package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +2 -2
  209. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +1 -1
  210. package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +1 -1
  211. package/dist/collection/components/xpl-icon/xpl-icon.js +2 -12
  212. package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +8 -8
  213. package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +3 -3
  214. package/dist/collection/components/xpl-input/xpl-input.js +2 -2
  215. package/dist/collection/components/xpl-large-card/xpl-large-card.js +1 -1
  216. package/dist/collection/components/xpl-list/xpl-list-item/xpl-list-item.js +2 -2
  217. package/dist/collection/components/xpl-list/xpl-list.js +4 -4
  218. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +1 -1
  219. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +2 -2
  220. package/dist/collection/components/xpl-popover/xpl-popover.js +6 -6
  221. package/dist/collection/components/xpl-radio/xpl-radio.js +3 -3
  222. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +1 -1
  223. package/dist/collection/components/xpl-select/xpl-select.js +8 -8
  224. package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +2 -2
  225. package/dist/collection/components/xpl-side-nav/xpl-side-nav-section/xpl-side-nav-section.js +5 -5
  226. package/dist/collection/components/xpl-side-nav/xpl-side-nav.js +2 -2
  227. package/dist/collection/components/xpl-slideout/xpl-slideout.js +1 -1
  228. package/dist/collection/components/xpl-spotlight/xpl-spotlight.js +4 -4
  229. package/dist/collection/components/xpl-tab/xpl-tab.js +2 -2
  230. package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +3 -3
  231. package/dist/collection/components/xpl-table/xpl-table-body/xpl-table-body.js +1 -1
  232. package/dist/collection/components/xpl-table/xpl-table-cell/xpl-table-cell.js +2 -2
  233. package/dist/collection/components/xpl-table/xpl-table-footer/xpl-table-footer.js +1 -1
  234. package/dist/collection/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.js +2 -2
  235. package/dist/collection/components/xpl-table/xpl-table-header-cell/xpl-table-header-cell.js +2 -2
  236. package/dist/collection/components/xpl-table/xpl-table-row/xpl-table-row.js +2 -2
  237. package/dist/collection/components/xpl-table/xpl-table.js +4 -4
  238. package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
  239. package/dist/collection/components/xpl-tag/xpl-tag.js +6 -6
  240. package/dist/collection/components/xpl-toast/xpl-toast.js +2 -2
  241. package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +2 -2
  242. package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +1 -1
  243. package/dist/collection/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.js +2 -2
  244. package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +2 -2
  245. package/dist/collection/components/xpl-top-nav/xpl-top-nav-menu/xpl-top-nav-menu.js +2 -2
  246. package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +5 -5
  247. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
  248. package/dist/components/index.js +1 -1
  249. package/dist/components/{p-CQjJIHK6.js → p-6-DvgBzG.js} +1 -1
  250. package/dist/components/{p-C0AbGd4t.js → p-B54F4o_Z.js} +1 -1
  251. package/dist/components/{p-rLxtqgsy.js → p-BFUtaXqX.js} +1 -1
  252. package/dist/components/{p-D09sGbzs.js → p-BHRO2whA.js} +1 -1
  253. package/dist/components/{p-CdRmVtIN.js → p-BKajYWw6.js} +1 -1
  254. package/dist/components/{p-1D7CWIJ-.js → p-BU4pW_6c.js} +1 -1
  255. package/dist/components/p-B_6p2HCL.js +1 -0
  256. package/dist/components/{p-BOm_p_mz.js → p-Biie85R2.js} +1 -1
  257. package/dist/components/p-CIcKTXQj.js +1 -0
  258. package/dist/components/{p-Btb2UkLz.js → p-COq-vU2g.js} +1 -1
  259. package/dist/components/{p-DoVubWyd.js → p-CTy7V3XS.js} +1 -1
  260. package/dist/components/{p-8zrW9vEC.js → p-Cq8V05oj.js} +1 -1
  261. package/dist/components/{p-B7aaJikj.js → p-CthHapLu.js} +1 -1
  262. package/dist/components/{p-CmbpWpb0.js → p-DGxQJj8d.js} +1 -1
  263. package/dist/components/{p-ohy3NrgH.js → p-Dn1Qsv0Y.js} +1 -1
  264. package/dist/components/p-Dn6HsGUr.js +1 -0
  265. package/dist/components/p-DxjcChRd.js +1 -0
  266. package/dist/components/p-FS6KZMQV.js +1 -0
  267. package/dist/components/p-Fj_zi29t.js +1 -0
  268. package/dist/components/{p-2cJsJK3-.js → p-L9wSxXlk.js} +1 -1
  269. package/dist/components/{p-CuVYRPvz.js → p-ULcrhk_V.js} +1 -1
  270. package/dist/components/{p-DTh_zemx.js → p-WTdJQHaL.js} +1 -1
  271. package/dist/components/{p-CFXvQqUO.js → p-fstojyQr.js} +1 -1
  272. package/dist/components/{p-CV5nn1zR.js → p-gs07oY0j.js} +1 -1
  273. package/dist/components/p-nRygucMK.js +1 -0
  274. package/dist/components/{p-B56GeUtW.js → p-q4zX9LQ0.js} +1 -1
  275. package/dist/components/xpl-accordion.js +1 -1
  276. package/dist/components/xpl-application-shell.js +1 -1
  277. package/dist/components/xpl-avatar.js +1 -1
  278. package/dist/components/xpl-backdrop.js +1 -1
  279. package/dist/components/xpl-badge.js +1 -1
  280. package/dist/components/xpl-banner.js +1 -1
  281. package/dist/components/xpl-breadcrumb-item.js +1 -1
  282. package/dist/components/xpl-breadcrumbs.js +1 -1
  283. package/dist/components/xpl-button-row.js +1 -1
  284. package/dist/components/xpl-button.js +1 -1
  285. package/dist/components/xpl-calendar.js +1 -1
  286. package/dist/components/xpl-checkbox.js +1 -1
  287. package/dist/components/xpl-choicelist.js +1 -1
  288. package/dist/components/xpl-content-area.js +1 -1
  289. package/dist/components/xpl-dashboard.js +1 -1
  290. package/dist/components/xpl-data-card.js +1 -1
  291. package/dist/components/xpl-divider.js +1 -1
  292. package/dist/components/xpl-dropdown-group.js +1 -1
  293. package/dist/components/xpl-dropdown-heading.js +1 -1
  294. package/dist/components/xpl-dropdown-option.js +1 -1
  295. package/dist/components/xpl-dropdown.js +1 -1
  296. package/dist/components/xpl-dynamic-table-cell.js +1 -1
  297. package/dist/components/xpl-dynamic-table-row.js +1 -1
  298. package/dist/components/xpl-dynamic-table.js +1 -1
  299. package/dist/components/xpl-grid-item.js +1 -1
  300. package/dist/components/xpl-grid.js +1 -1
  301. package/dist/components/xpl-header-accordion.js +1 -1
  302. package/dist/components/xpl-icon.js +1 -1
  303. package/dist/components/xpl-input-color.js +1 -1
  304. package/dist/components/xpl-input-date.js +1 -1
  305. package/dist/components/xpl-input-file.js +1 -1
  306. package/dist/components/xpl-input-phone.js +1 -1
  307. package/dist/components/xpl-input-search.js +1 -1
  308. package/dist/components/xpl-input-time.js +1 -1
  309. package/dist/components/xpl-input.js +1 -1
  310. package/dist/components/xpl-large-card.js +1 -1
  311. package/dist/components/xpl-list-item.js +1 -1
  312. package/dist/components/xpl-list.js +1 -1
  313. package/dist/components/xpl-main-nav.js +1 -1
  314. package/dist/components/xpl-modal.js +1 -1
  315. package/dist/components/xpl-nav-header-menu.js +1 -1
  316. package/dist/components/xpl-nav-item.js +1 -1
  317. package/dist/components/xpl-pagination.js +1 -1
  318. package/dist/components/xpl-panel.js +1 -1
  319. package/dist/components/xpl-popover.js +1 -1
  320. package/dist/components/xpl-progress-bar.js +1 -1
  321. package/dist/components/xpl-progress-indicator.js +1 -1
  322. package/dist/components/xpl-radio.js +1 -1
  323. package/dist/components/xpl-secondary-nav.js +1 -1
  324. package/dist/components/xpl-select.js +1 -1
  325. package/dist/components/xpl-side-nav-header-item.js +1 -1
  326. package/dist/components/xpl-side-nav-item.js +1 -1
  327. package/dist/components/xpl-side-nav-section.js +1 -1
  328. package/dist/components/xpl-side-nav.js +1 -1
  329. package/dist/components/xpl-skeleton.js +1 -1
  330. package/dist/components/xpl-slideout.js +1 -1
  331. package/dist/components/xpl-spotlight.js +1 -1
  332. package/dist/components/xpl-tab-panel.js +1 -1
  333. package/dist/components/xpl-tab.js +1 -1
  334. package/dist/components/xpl-table-body.js +1 -1
  335. package/dist/components/xpl-table-cell.js +1 -1
  336. package/dist/components/xpl-table-footer-cell.js +1 -1
  337. package/dist/components/xpl-table-footer.js +1 -1
  338. package/dist/components/xpl-table-header-cell.js +1 -1
  339. package/dist/components/xpl-table-header.js +1 -1
  340. package/dist/components/xpl-table-row.js +1 -1
  341. package/dist/components/xpl-table.js +1 -1
  342. package/dist/components/xpl-tabs.js +1 -1
  343. package/dist/components/xpl-tag.js +1 -1
  344. package/dist/components/xpl-toast.js +1 -1
  345. package/dist/components/xpl-toggle.js +1 -1
  346. package/dist/components/xpl-toolbar.js +1 -1
  347. package/dist/components/xpl-tooltip.js +1 -1
  348. package/dist/components/xpl-top-nav-item.js +1 -1
  349. package/dist/components/xpl-top-nav-menu.js +1 -1
  350. package/dist/components/xpl-top-nav.js +1 -1
  351. package/dist/components/xpl-utility-bar.js +1 -1
  352. package/dist/docs/xpl-accordion/readme.md +5 -4
  353. package/dist/docs/xpl-application-shell/readme.md +10 -0
  354. package/dist/docs/xpl-avatar/readme.md +8 -1
  355. package/dist/docs/xpl-badge/readme.md +7 -0
  356. package/dist/docs/xpl-breadcrumbs/xpl-breadcrumb-item/readme.md +1 -0
  357. package/dist/docs/xpl-breadcrumbs/xpl-breadcrumbs/readme.md +1 -0
  358. package/dist/docs/xpl-button/readme.md +7 -0
  359. package/dist/docs/xpl-checkbox/readme.md +7 -0
  360. package/dist/docs/xpl-content-area/readme.md +7 -0
  361. package/dist/docs/xpl-dashboard/readme.md +7 -0
  362. package/dist/docs/xpl-data-card/readme.md +1 -0
  363. package/dist/docs/xpl-divider/readme.md +7 -0
  364. package/dist/docs/xpl-dropdown/readme.md +18 -1
  365. package/dist/docs/xpl-dropdown/xpl-dropdown-group/readme.md +7 -0
  366. package/dist/docs/xpl-dropdown/xpl-dropdown-heading/readme.md +7 -0
  367. package/dist/docs/xpl-dropdown/xpl-dropdown-option/readme.md +7 -0
  368. package/dist/docs/xpl-dynamic-table/readme.md +8 -0
  369. package/dist/docs/xpl-dynamic-table-cell/readme.md +7 -0
  370. package/dist/docs/xpl-dynamic-table-row/readme.md +7 -0
  371. package/dist/docs/xpl-grid-item/readme.md +7 -0
  372. package/dist/docs/xpl-header-accordion/readme.md +8 -0
  373. package/dist/docs/xpl-icon/readme.md +1 -1
  374. package/dist/docs/xpl-input/readme.md +8 -0
  375. package/dist/docs/xpl-list/readme.md +8 -1
  376. package/dist/docs/xpl-list/xpl-list-item/readme.md +16 -0
  377. package/dist/docs/xpl-main-nav/readme.md +12 -0
  378. package/dist/docs/xpl-nav-item/readme.md +10 -1
  379. package/dist/docs/xpl-pagination/readme.md +1 -1
  380. package/dist/docs/xpl-popover/readme.md +1 -0
  381. package/dist/docs/xpl-radio/readme.md +7 -0
  382. package/dist/docs/xpl-secondary-nav/readme.md +11 -2
  383. package/dist/docs/xpl-select/readme.md +7 -0
  384. package/dist/docs/xpl-side-nav/xpl-side-nav-item/readme.md +9 -0
  385. package/dist/docs/xpl-side-nav/xpl-side-nav-section/readme.md +8 -0
  386. package/dist/docs/xpl-slideout/readme.md +13 -0
  387. package/dist/docs/xpl-spotlight/readme.md +1 -0
  388. package/dist/docs/xpl-table/readme.md +12 -0
  389. package/dist/docs/xpl-table/xpl-table-body/readme.md +7 -0
  390. package/dist/docs/xpl-table/xpl-table-cell/readme.md +7 -0
  391. package/dist/docs/xpl-table/xpl-table-footer/readme.md +7 -0
  392. package/dist/docs/xpl-table/xpl-table-footer-cell/readme.md +7 -0
  393. package/dist/docs/xpl-table/xpl-table-header-cell/readme.md +59 -52
  394. package/dist/docs/xpl-table/xpl-table-row/readme.md +7 -0
  395. package/dist/docs/xpl-table-header/readme.md +7 -0
  396. package/dist/docs/xpl-tag/readme.md +9 -2
  397. package/dist/docs/xpl-toast/readme.md +8 -0
  398. package/dist/docs/xpl-toolbar/readme.md +9 -1
  399. package/dist/docs/xpl-tooltip/readme.md +7 -0
  400. package/dist/docs/xpl-top-nav/xpl-nav-header-menu/readme.md +2 -1
  401. package/dist/docs/xpl-top-nav/xpl-top-nav-item/readme.md +1 -0
  402. package/dist/docs/xpl-top-nav/xpl-top-nav-menu/readme.md +1 -0
  403. package/dist/docs/xpl-utility-bar/readme.md +8 -0
  404. package/dist/docs.json +933 -251
  405. package/dist/esm/apollo-core.js +3 -3
  406. package/dist/esm/{index-ukZKsqqq.js → index-CgJEmBQY.js} +53 -165
  407. package/dist/esm/loader.js +2 -2
  408. package/dist/esm/xpl-accordion.entry.js +3 -3
  409. package/dist/esm/xpl-application-shell.entry.js +2 -2
  410. package/dist/esm/xpl-avatar_3.entry.js +5 -5
  411. package/dist/esm/xpl-backdrop.entry.js +2 -2
  412. package/dist/esm/xpl-badge.entry.js +2 -2
  413. package/dist/esm/xpl-banner.entry.js +3 -3
  414. package/dist/esm/xpl-breadcrumb-item.entry.js +2 -2
  415. package/dist/esm/xpl-breadcrumbs.entry.js +2 -2
  416. package/dist/esm/xpl-button-row.entry.js +2 -2
  417. package/dist/esm/xpl-button.entry.js +3 -3
  418. package/dist/esm/xpl-calendar.entry.js +2 -2
  419. package/dist/esm/xpl-checkbox.entry.js +4 -4
  420. package/dist/esm/xpl-choicelist.entry.js +2 -2
  421. package/dist/esm/xpl-content-area.entry.js +2 -2
  422. package/dist/esm/xpl-dashboard.entry.js +2 -2
  423. package/dist/esm/xpl-data-card.entry.js +3 -3
  424. package/dist/esm/xpl-dropdown_4.entry.js +9 -9
  425. package/dist/esm/xpl-dynamic-table-cell.entry.js +3 -3
  426. package/dist/esm/xpl-dynamic-table-row.entry.js +3 -3
  427. package/dist/esm/xpl-dynamic-table.entry.js +3 -3
  428. package/dist/esm/xpl-grid-item.entry.js +2 -2
  429. package/dist/esm/xpl-grid.entry.js +1 -1
  430. package/dist/esm/xpl-header-accordion.entry.js +2 -2
  431. package/dist/esm/xpl-icon.entry.js +3 -6
  432. package/dist/esm/xpl-input-color.entry.js +9 -9
  433. package/dist/esm/xpl-input-phone.entry.js +1 -1
  434. package/dist/esm/xpl-input-time.entry.js +1 -1
  435. package/dist/esm/xpl-input_4.entry.js +6 -6
  436. package/dist/esm/xpl-large-card.entry.js +2 -2
  437. package/dist/esm/xpl-list-item.entry.js +1 -1
  438. package/dist/esm/xpl-list.entry.js +3 -3
  439. package/dist/esm/xpl-main-nav.entry.js +2 -2
  440. package/dist/esm/xpl-modal.entry.js +1 -1
  441. package/dist/esm/xpl-nav-header-menu.entry.js +3 -3
  442. package/dist/esm/xpl-nav-item.entry.js +3 -3
  443. package/dist/esm/xpl-pagination.entry.js +1 -1
  444. package/dist/esm/xpl-panel.entry.js +1 -1
  445. package/dist/esm/xpl-popover.entry.js +5 -5
  446. package/dist/esm/xpl-progress-bar.entry.js +1 -1
  447. package/dist/esm/xpl-progress-indicator.entry.js +1 -1
  448. package/dist/esm/xpl-secondary-nav.entry.js +2 -2
  449. package/dist/esm/xpl-select_2.entry.js +10 -10
  450. package/dist/esm/xpl-side-nav-header-item.entry.js +1 -1
  451. package/dist/esm/xpl-side-nav-item.entry.js +3 -3
  452. package/dist/esm/xpl-side-nav-section.entry.js +6 -6
  453. package/dist/esm/xpl-side-nav.entry.js +3 -3
  454. package/dist/esm/xpl-skeleton.entry.js +1 -1
  455. package/dist/esm/xpl-slideout.entry.js +2 -2
  456. package/dist/esm/xpl-spotlight.entry.js +1 -1
  457. package/dist/esm/xpl-tab-panel.entry.js +3 -3
  458. package/dist/esm/xpl-tab.entry.js +1 -1
  459. package/dist/esm/xpl-table-body.entry.js +2 -2
  460. package/dist/esm/xpl-table-cell_3.entry.js +5 -5
  461. package/dist/esm/xpl-table-footer.entry.js +2 -2
  462. package/dist/esm/xpl-table-header.entry.js +2 -2
  463. package/dist/esm/xpl-table-row.entry.js +3 -3
  464. package/dist/esm/xpl-table.entry.js +1 -1
  465. package/dist/esm/xpl-tabs.entry.js +1 -1
  466. package/dist/esm/xpl-toast.entry.js +3 -3
  467. package/dist/esm/xpl-toggle.entry.js +1 -1
  468. package/dist/esm/xpl-toolbar.entry.js +3 -3
  469. package/dist/esm/xpl-tooltip.entry.js +2 -2
  470. package/dist/esm/xpl-top-nav-item.entry.js +3 -3
  471. package/dist/esm/xpl-top-nav-menu.entry.js +3 -3
  472. package/dist/esm/xpl-top-nav.entry.js +6 -6
  473. package/dist/esm/xpl-utility-bar.entry.js +2 -2
  474. package/dist/types/components.d.ts +3 -1
  475. package/dist/types/stencil-public-runtime.d.ts +12 -0
  476. package/hydrate/index.js +143 -234
  477. package/hydrate/index.mjs +143 -234
  478. package/loader/index.d.ts +1 -1
  479. package/package.json +17 -17
  480. package/dist/apollo-core/p-045a4538.entry.js +0 -1
  481. package/dist/apollo-core/p-08767607.entry.js +0 -1
  482. package/dist/apollo-core/p-194c0ccd.entry.js +0 -1
  483. package/dist/apollo-core/p-1c031055.entry.js +0 -1
  484. package/dist/apollo-core/p-24f7280a.entry.js +0 -1
  485. package/dist/apollo-core/p-386851a2.entry.js +0 -1
  486. package/dist/apollo-core/p-3cd1238b.entry.js +0 -1
  487. package/dist/apollo-core/p-4e3c6616.entry.js +0 -1
  488. package/dist/apollo-core/p-5b9fd96e.entry.js +0 -1
  489. package/dist/apollo-core/p-5cbf5d42.entry.js +0 -1
  490. package/dist/apollo-core/p-5ec2b180.entry.js +0 -1
  491. package/dist/apollo-core/p-65f6b66c.entry.js +0 -1
  492. package/dist/apollo-core/p-72e0455f.entry.js +0 -1
  493. package/dist/apollo-core/p-7ac7fbc0.entry.js +0 -1
  494. package/dist/apollo-core/p-7f4463ff.entry.js +0 -1
  495. package/dist/apollo-core/p-87582346.entry.js +0 -1
  496. package/dist/apollo-core/p-a6ecca68.entry.js +0 -1
  497. package/dist/apollo-core/p-a789c272.entry.js +0 -1
  498. package/dist/apollo-core/p-bd493c4a.entry.js +0 -1
  499. package/dist/apollo-core/p-bdcece21.entry.js +0 -1
  500. package/dist/apollo-core/p-bfb7a83a.entry.js +0 -1
  501. package/dist/apollo-core/p-c22f70f4.entry.js +0 -1
  502. package/dist/apollo-core/p-d3230277.entry.js +0 -1
  503. package/dist/apollo-core/p-d7f8ee34.entry.js +0 -1
  504. package/dist/apollo-core/p-d879c349.entry.js +0 -1
  505. package/dist/apollo-core/p-e4d50301.entry.js +0 -1
  506. package/dist/apollo-core/p-ea9cdd65.entry.js +0 -1
  507. package/dist/apollo-core/p-ukZKsqqq.js +0 -2
  508. package/dist/collection/components/xpl-icon/xpl-icon.css +0 -5
  509. package/dist/components/p-B6YLKDUX.js +0 -1
  510. package/dist/components/p-BSHdGbmH.js +0 -1
  511. package/dist/components/p-BZIZSovL.js +0 -1
  512. package/dist/components/p-CgemLtmL.js +0 -1
  513. package/dist/components/p-Dp62sBqX.js +0 -1
  514. package/dist/components/p-DqgnC_vS.js +0 -1
  515. package/dist/components/p-DtV4i45B.js +0 -1
  516. /package/dist/{utils → collection/utils}/form-bindings.js +0 -0
  517. /package/dist/{utils → collection/utils}/story-vrt.js +0 -0
  518. /package/dist/types/{third-party.d.ts → types/third-party.d.ts} +0 -0
  519. /package/dist/types/{home/runner/work/apollo/apollo/packages/apollo-core/.stencil/utils → utils}/form-bindings.d.ts +0 -0
  520. /package/dist/types/{home/runner/work/apollo/apollo/packages/apollo-core/.stencil/utils → utils}/story-vrt.d.ts +0 -0
@@ -1 +1 @@
1
- import{p as e,b as a}from"./p-ukZKsqqq.js";export{s as setNonce}from"./p-ukZKsqqq.js";import{g as t}from"./p-DQuL1Twl.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a(JSON.parse('[["p-7eb02cf3",[[0,"xpl-icon",{"icon":[1],"size":[2],"backgroundColor":[1,"background-color"]}]]],["p-c5bc3b2c",[[260,"xpl-list",{"items":[16],"label":[1],"labelledBy":[1,"labelled-by"],"reorderable":[4],"selectable":[4],"keyboardReorderItemId":[32],"reorderLiveMessage":[32],"clearSelection":[64]},[[0,"keydown","handleKeyDown"],[0,"itemSelect","handleChildItemSelect"],[0,"slotchange","handleSlotChange"],[0,"itemDragStart","handleItemDragStart"],[0,"itemDragEnd","handleItemDragEnd"],[0,"itemDrop","handleItemDrop"],[0,"xplListItemReorder","handleItemReorder"]],{"keyboardReorderItemId":[{"handleKeyboardReorderItemIdChange":0}],"items":[{"handleItemsChange":0}],"reorderable":[{"handleReorderableChange":0}],"selectable":[{"handleSelectableChange":0}]}]]],["p-ff16f574",[[0,"xpl-pagination",{"totalPages":[2,"total-pages"],"withPageControl":[4,"with-page-control"],"currentPage":[1026,"current-page"],"rowsPerPageOptions":[1,"rows-per-page-options"],"selectedRowsPerPage":[1026,"selected-rows-per-page"]},null,{"currentPage":[{"onPageUpdate":0}],"totalPages":[{"onTotalPagesUpdate":0}],"selectedRowsPerPage":[{"onRowsPerPageUpdate":0}]}]]],["p-f579e4b0",[[260,"xpl-tabs",{"disabled":[4],"fullWidth":[4,"full-width"],"type":[513],"value":[1],"activeBarPosition":[32],"choicesTick":[32],"isMobileSelectChange":[32],"selectedValue":[32]},[[9,"resize","onWindowResize"]],{"disabled":[{"onDisabledChanged":0}],"fullWidth":[{"onFullWidthChanged":0}],"type":[{"onTypeChanged":0}],"value":[{"onValueChanged":0}]}]]],["p-9905c77c",[[260,"xpl-table",{"columns":[16],"data":[16],"footer":[16],"freeze":[4],"isSortable":[4,"is-sortable"],"label":[1],"multiselect":[4],"reorderHandleIcon":[1,"reorder-handle-icon"],"reorderHandleIconKeyboard":[1,"reorder-handle-icon-keyboard"],"rowReorderable":[4,"row-reorderable"],"selectable":[4],"selectedValues":[16],"sortableColumns":[16],"striped":[4],"areAllSelected":[32],"colCount":[32],"hasScrolled":[32],"keyboardReorderRowId":[32],"reorderLiveMessage":[32],"rowData":[32],"rowFooterData":[32],"selected":[32],"selectedRowIds":[32],"sortTypeArray":[32]},[[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"]],{"columns":[{"watchColumns":0}],"data":[{"watchData":0}],"footer":[{"watchFooterData":0}],"reorderHandleIcon":[{"watchReorderHandleIcon":0}],"reorderHandleIconKeyboard":[{"watchReorderHandleIconKeyboard":0}],"rowReorderable":[{"watchRowReorderable":0}],"selectable":[{"watchSelectable":0}]}]]],["p-4e3c6616",[[260,"xpl-slideout",{"isOpen":[1540,"is-open"],"backdrop":[4],"variant":[1],"showFooter":[4,"show-footer"]},[[9,"scroll","handleScroll"]],{"isOpen":[{"watchPropHandler":0}]}]]],["p-aeb2bcb8",[[260,"xpl-top-nav",{"brandHref":[1,"brand-href"],"brandLogo":[1,"brand-logo"],"brandName":[1,"brand-name"],"childAccountLabel":[1,"child-account-label"],"label":[1],"navControl":[516,"nav-control"],"brandLogoSlotPresent":[32],"open":[32],"slotProjectionNonce":[32],"userMenuSlotPresent":[32],"userMenuTriggerSlotPresent":[32]},null,{"navControl":[{"onNavControlChanged":0}]}]]],["p-3713cd77",[[260,"xpl-modal",{"isOpen":[1540,"is-open"],"size":[1],"variant":[1]},null,{"isOpen":[{"updateModalState":0}]}]]],["p-715baae0",[[260,"xpl-side-nav",{"label":[1],"open":[1540],"hasHeaderSlot":[32],"toggle":[64],"setOpen":[64]},null,{"open":[{"onOpenChanged":0}]}]]],["p-8845106f",[[260,"xpl-tab",{"badge":[513],"badgeVariant":[1,"badge-variant"],"disabled":[516],"fullWidth":[4,"full-width"],"groupDisabled":[1540,"data-group-disabled"],"icon":[513],"iconPosition":[1,"icon-position"],"selected":[4],"target":[1],"variant":[1],"getFocusableElement":[64],"setTabIndex":[64],"focusTrigger":[64]}]]],["p-386851a2",[[0,"xpl-banner",{"actionText":[1,"action-text"],"appearance":[1],"description":[1],"hasIcon":[4,"has-icon"],"heading":[1],"isDismissible":[4,"is-dismissible"],"isSection":[4,"is-section"],"secondaryActionText":[1,"secondary-action-text"],"truncateDesc":[4,"truncate-desc"]}]]],["p-bdcece21",[[0,"xpl-button-row",{"primary":[1],"secondary":[1],"tertiary":[1]}]]],["p-b64ed46d",[[0,"xpl-choicelist",{"choices":[16],"description":[1],"heading":[1],"multi":[4],"name":[1],"styled":[4],"selected":[32]},null,{"choices":[{"onChoicesPropChange":0}],"selected":[{"onSelectedChange":0}]}]]],["p-8f8f4759",[[260,"xpl-data-card",{"link":[4],"name":[1],"stat":[1],"shortStat":[1,"short-stat"],"variant":[1],"leadingIcon":[4,"leading-icon"],"icon":[1],"smallStat":[1,"small-stat"],"smallStatIcon":[1,"small-stat-icon"],"detail":[1],"smallStatVariant":[1,"small-stat-variant"],"tooltipTextSmallStat":[1,"tooltip-text-small-stat"],"tooltipTextStat":[1,"tooltip-text-stat"],"graphContentPresent":[32]},null,{"stat":[{"watchStat":0}],"shortStat":[{"watchShortStat":0}]}]]],["p-9feaa8be",[[260,"xpl-header-accordion",{"contentId":[1,"content-id"],"initialExpanded":[4,"initial-expanded"],"disabled":[4],"selectedCount":[2,"selected-count"],"hasCheckbox":[4,"has-checkbox"],"expanded":[32],"parentChecked":[32],"parentIndeterminate":[32]},[[0,"checkboxChange","handleChildCheckboxChange"]],{"selectedCount":[{"watchSelectedCount":0}]}]]],["p-256ece8b",[[260,"xpl-spotlight",{"actionLayout":[1,"action-layout"],"anchorPosition":[1,"anchor-position"],"body":[1],"currentStep":[2,"current-step"],"heading":[1],"isDismissible":[4,"is-dismissible"],"isOpen":[4,"is-open"],"primaryActionLabel":[1,"primary-action-label"],"secondaryActionLabel":[1,"secondary-action-label"],"showActions":[4,"show-actions"],"showImage":[4,"show-image"],"showSteps":[4,"show-steps"],"target":[1],"totalSteps":[2,"total-steps"],"hasBodySlotContent":[32],"hasFloatingPosition":[32],"hasImageSlotContent":[32],"hasTitleSlotContent":[32],"dialogLabelId":[32],"isVisible":[32],"resolvedAnchorPosition":[32]},[[4,"keydown","handleKeyDown"]],{"anchorPosition":[{"onAnchorPositionChange":0}],"isOpen":[{"onIsOpenChange":0}],"target":[{"onTargetChange":0}]}]]],["p-1c031055",[[260,"xpl-toast",{"caption":[1],"dismissable":[4],"dismissible":[4],"showIcon":[4,"show-icon"],"timeout":[2],"variant":[1]},null,{"dismissable":[{"handleDismissableChange":0}],"timeout":[{"handleTimeoutChange":0}]}]]],["p-050a8bf2",[[260,"xpl-top-nav-menu",{"label":[1],"isMobileCascade":[32]}]]],["p-ea9cdd65",[[260,"xpl-accordion",{"contentId":[1,"content-id"],"header":[1],"description":[1],"initialExpanded":[4,"initial-expanded"],"size":[1],"borderType":[1,"border-type"],"expanded":[32],"parentCheckboxChange":[64]},[[0,"checkboxChange","listenToChangeEvent"]],{"initialExpanded":[{"watchInitialExpanded":0}]}]]],["p-045a4538",[[260,"xpl-application-shell",{"withSubnav":[4,"with-subnav"],"withUtility":[4,"with-utility"],"navWidth":[1,"nav-width"],"isNavOpenAtStartup":[4,"is-nav-open-at-startup"],"navOpen":[32]},[[0,"navOpen","navToggleHandler"],[0,"navWidth","navWithHandler"],[9,"resize","onWindowResize"]]]]],["p-e4d50301",[[260,"xpl-large-card",{"link":[4],"name":[1],"description":[1],"graphContentPresent":[32]}]]],["p-eba654a3",[[0,"xpl-progress-bar",{"helperText":[1,"helper-text"],"label":[1],"max":[2],"size":[1],"value":[2],"variant":[1]}]]],["p-49531864",[[0,"xpl-progress-indicator",{"currentStep":[1026,"current-step"],"layout":[1],"showLabels":[4,"show-labels"],"showNumbers":[4,"show-numbers"],"steps":[16]},null,{"steps":[{"validateCurrentStep":0}],"currentStep":[{"validateCurrentStep":0}]}]]],["p-24fa8a03",[[260,"xpl-side-nav-header-item",{"icon":[1],"label":[1],"selected":[516],"type":[513],"hasLeadingSlot":[32],"hasTrailingSlot":[32]}]]],["p-907bc21e",[[260,"xpl-side-nav-item",{"disabled":[516],"expanded":[1540],"hasChildren":[1540,"has-children"],"hidden":[516],"icon":[1],"label":[1],"link":[516],"selected":[516],"hasTrailingSlot":[32]},null,{"hasChildren":[{"syncLinkHasChildrenExclusivity":0}],"link":[{"syncLinkHasChildrenExclusivity":0}]}]]],["p-bfb7a83a",[[260,"xpl-side-nav-section",{"collapsible":[516],"expanded":[1540],"heading":[1],"hasBadgeSlot":[32],"hasNamedBadgeSlot":[32]}]]],["p-7d70e089",[[260,"xpl-utility-bar",{"navControl":[4,"nav-control"],"isNavOpenAtStartup":[4,"is-nav-open-at-startup"],"open":[32]}]]],["p-df257cbf",[[260,"xpl-breadcrumb-item"]]],["p-7f4463ff",[[260,"xpl-breadcrumbs"]]],["p-bc821e69",[[0,"xpl-calendar",{"inputId":[1,"input-id"],"dateFormat":[1,"date-format"],"max":[8],"min":[8],"mode":[1],"defaultDate":[1,"default-date"],"setDate":[64]}]]],["p-194c0ccd",[[260,"xpl-content-area",{"size":[1]}]]],["p-3cd1238b",[[260,"xpl-dashboard"]]],["p-9d731673",[[260,"xpl-dynamic-table",{"colCount":[32],"hasAccordion":[32],"selectedItemCount":[32]},[[8,"deselectAll","listenToDeselectEvent"],[8,"checkboxChange","listenToChangeEvent"]]]]],["p-f384a990",[[260,"xpl-dynamic-table-cell",{"disabled":[4]}]]],["p-08767607",[[260,"xpl-dynamic-table-row",{"disabled":[4],"selected":[4],"isDisabled":[32]}]]],["p-c22f70f4",[[0,"xpl-grid"]]],["p-24f7280a",[[260,"xpl-grid-item",{"xs":[2],"sm":[2],"md":[2],"lg":[2]}]]],["p-a789c272",[[260,"xpl-main-nav",{"width":[1]}]]],["p-64f5c129",[[260,"xpl-nav-header-menu",{"email":[1],"username":[1],"rightAsideMobilePresent":[32]}]]],["p-5ec2b180",[[260,"xpl-nav-item",{"navControl":[4,"nav-control"]}]]],["p-5c3be343",[[260,"xpl-panel",{"accent":[1],"padding":[1]}]]],["p-d3230277",[[260,"xpl-secondary-nav"]]],["p-14e86de8",[[0,"xpl-skeleton",{"classNames":[1,"class-names"],"fullWidth":[4,"full-width"],"height":[1],"width":[1],"margin":[1],"shape":[1],"size":[1]}]]],["p-5cbf5d42",[[260,"xpl-tab-panel",{"selected":[4],"target":[1]}]]],["p-7ac7fbc0",[[260,"xpl-table-body"]]],["p-a6ecca68",[[260,"xpl-table-footer"]]],["p-5b9fd96e",[[260,"xpl-table-header"]]],["p-d3ada7d0",[[260,"xpl-table-row",{"disabled":[516],"rowId":[513,"row-id"],"selected":[516]},null,{"disabled":[{"onDisabledChange":0}]}]]],["p-e09d8beb",[[0,"xpl-toggle",{"checked":[4],"description":[1],"disabled":[4],"heading":[1],"label":[1],"name":[1],"variant":[1],"id":[32]}]]],["p-bd493c4a",[[260,"xpl-toolbar",{"selectedItemCount":[2,"selected-item-count"]},[[8,"selectedItemCountChange","listenToSelectedItemCountChange"]]]]],["p-3417c1ce",[[260,"xpl-button",{"controlAttrs":[16],"disabled":[4],"form":[1],"fullWidth":[4,"full-width"],"icon":[1],"iconOnly":[4,"icon-only"],"iconPosition":[1,"icon-position"],"isLoading":[4,"is-loading"],"link":[4],"name":[1],"sentiment":[1],"size":[1],"state":[1],"type":[1],"value":[1],"variant":[1]},[[2,"click","handleDisabledClick"]]]]],["p-a0d3b7f8",[[260,"xpl-list-item",{"disabled":[4],"error":[4],"hidden":[4],"href":[1],"item":[16],"itemId":[1025,"item-id"],"keyboardActive":[4,"keyboard-active"],"radioName":[1,"radio-name"],"reorderable":[4],"selectable":[4],"selected":[4],"showDivider":[4,"show-divider"],"titleBadgeVariant":[1,"title-badge-variant"],"slotPresence":[32],"isKeyboardMode":[32]},[[0,"slotchange","handleSlotChange"]],{"item":[{"handleItemChange":0}],"keyboardActive":[{"handleKeyboardActiveChange":0}],"selected":[{"handleSelectedChange":0}],"titleBadgeVariant":[{"handleTitleBadgeVariantChange":0}]}]]],["p-d879c349",[[260,"xpl-tooltip",{"text":[1],"position":[1],"hideArrow":[4,"hide-arrow"]}]]],["p-ca83003e",[[260,"xpl-top-nav-item",{"active":[516],"description":[1],"href":[1],"icon":[1],"itemAriaLabel":[1,"item-aria-label"],"label":[1],"open":[1540],"openMode":[513,"open-mode"],"selected":[516],"hasActiveDescendant":[32],"hasDropdown":[32],"isLeadingIconSlotPresent":[32],"isMobileViewport":[32],"hostListitemRole":[32],"isTrailingIconSlotPresent":[32],"closeMenu":[64],"openMenu":[64],"toggleMenu":[64]},[[0,"_xplCloseNavDropdown","handleCloseNavDropdownRequest"]],{"hasDropdown":[{"onHasDropdownChanged":0}],"open":[{"onOpenChanged":0}]}]]],["p-808f3d9c",[[260,"xpl-table-header-cell",{"align":[1],"checkboxAriaLabel":[1,"checkbox-aria-label"],"checked":[4],"columnWidth":[513,"column-width"],"icon":[1],"indeterminate":[4],"label":[1],"sortDirection":[1537,"sort-direction"],"sortKey":[1,"sort-key"],"sortable":[4],"type":[513],"width":[514]},null,{"columnWidth":[{"watchColumnWidth":0}],"width":[{"watchWidth":0}]}],[260,"xpl-table-cell",{"align":[1],"bold":[4],"disabled":[4],"underline":[4]},null,{"disabled":[{"onDisabledChange":0}]}],[260,"xpl-table-footer-cell",{"align":[1]}]]],["p-ee68bed6",[[260,"xpl-popover",{"isOpen":[4,"is-open"],"disabled":[4],"position":[1],"display":[1],"isOpenState":[32],"actualPosition":[32],"updateListener":[32]},null,{"isOpen":[{"onIsOpenPropChange":0}],"isOpenState":[{"onIsOpenStateChange":0}]}]]],["p-b3b4678b",[[0,"xpl-input-color",{"value":[1],"placeholder":[1],"disabled":[4],"required":[4],"hideEyeDropper":[4,"hide-eye-dropper"],"hasErrorState":[32],"colorValues":[32],"eyeDropperSupported":[32],"hue":[32]},null,{"colorValues":[{"valueChanged":0}],"hasErrorState":[{"onHasErrorStateChanged":0}],"value":[{"onValuePropChange":0}]}]]],["p-87582346",[[260,"xpl-dropdown",{"isOpen":[1540,"open"],"closeOnSelect":[4,"close-on-select"],"mode":[1],"options":[1040],"anchorToTrigger":[4,"anchor-to-trigger"],"flipFallbackPlacements":[16],"placement":[1],"selectedValues":[1,"selected-values"],"selectOnFocus":[4,"select-on-focus"],"triggerId":[1,"trigger-id"],"update":[16],"virtualEnd":[32],"virtualStart":[32],"handleSelect":[64]},null,{"options":[{"onOptionsChanged":0}],"anchorToTrigger":[{"onAnchorToTriggerChanged":0}],"flipFallbackPlacements":[{"onFlipFallbackPlacementsChanged":0}],"placement":[{"onPlacementChanged":0}],"triggerId":[{"onTriggerIdChanged":0}],"selectedValues":[{"onSelectedValuesChanged":0}],"isOpen":[{"onIsOpenStateChange":0}]}],[260,"xpl-dropdown-group",{"groupName":[1,"label"],"options":[16]}],[260,"xpl-dropdown-option",{"isDisabled":[516,"disabled"],"label":[1],"value":[1],"subtitle":[1],"icon":[1],"isSelected":[4,"selected"]}],[260,"xpl-dropdown-heading",{"label":[1]}]]],["p-2971e2ec",[[0,"xpl-input-time",{"inputId":[1,"input-id"],"disabled":[4],"name":[1],"required":[4],"readonly":[4],"value":[1537],"placeholder":[1],"max":[8],"min":[8],"step":[2],"mode":[1],"timeFormat":[1,"time-format"],"allowCustomOption":[4,"allow-custom-option"],"formattedValue":[32],"hasErrorState":[32],"showOptions":[32],"options":[32],"amPm":[32]},null,{"value":[{"onValueChange":0}],"hasErrorState":[{"onHasErrorStateChanged":0}]}]]],["p-11914cd4",[[0,"xpl-input-phone",{"defaultCountry":[1,"default-country"],"disabled":[4],"error":[4],"inputId":[1,"input-id"],"isInternational":[4,"is-international"],"name":[1],"placeholder":[1],"preferredCountries":[16],"readonly":[4],"required":[4],"value":[1537],"dropdownOpen":[32],"hasErrorState":[32],"nationalNumber":[32],"searchQuery":[32],"selectedCountry":[32],"triggerId":[32]},null,{"dropdownOpen":[{"onDropdownOpenChange":0}],"hasErrorState":[{"onHasErrorStateChanged":0}],"value":[{"onValueChange":0}]}]]],["p-72e0455f",[[0,"xpl-backdrop",{"relative":[4]}]]],["p-65f6b66c",[[260,"xpl-badge",{"bordered":[4],"dot":[4],"dotOnly":[4,"dot-only"],"shape":[1],"size":[1],"variant":[1]}]]],["p-d7f8ee34",[[260,"xpl-checkbox",{"ariaLabel":[1,"aria-label"],"checked":[4],"description":[1],"disabled":[4],"indeterminate":[4],"name":[1],"value":[1],"required":[4],"styled":[4],"dataId":[1,"data-id"],"id":[32]}]]],["p-45c872d2",[[260,"xpl-select",{"choices":[16],"selectIcon":[1,"select-icon"],"description":[1],"disabled":[4],"dropdownFlipFallbackPlacements":[16],"dropdownPlacement":[1,"dropdown-placement"],"error":[1],"label":[1],"mode":[1],"name":[1],"placeholder":[1],"truncate":[4],"customDisplayValue":[4,"custom-display-value"],"selectedValues":[1,"selected-values"],"classNames":[1,"class-names"],"active":[32],"id":[32],"keepFocus":[32],"visibleChoices":[32],"choicesState":[32],"value":[32],"dropdownOpenState":[32],"reset":[64]},[[8,"click","handleClickEvent"],[8,"keydown","handleKeyDown"],[9,"resize","handleResize"]],{"choices":[{"onChoicesPropChanged":0}],"selectedValues":[{"onSelectedValuesPropChanged":0}],"choicesState":[{"onChoicesStateChanged":0}],"value":[{"handleValueStateChange":0}],"dropdownOpenState":[{"onDropdownOpenStateChanged":0}]}],[260,"xpl-tag",{"disabled":[4],"dismissible":[4],"isDraggable":[4,"is-draggable"],"size":[1],"tagId":[1,"tag-id"],"dismissAriaLabelSuffix":[32],"isDragging":[32]},null,{"disabled":[{"onDisabledChange":0}],"isDraggable":[{"onIsDraggableChange":0}]}]]],["p-d469bf5d",[[260,"xpl-avatar",{"color":[1],"disabled":[4],"groupData":[1,"group-data"],"href":[1],"name":[1],"size":[1],"src":[1],"status":[1],"subText":[1,"sub-text"],"target":[1],"variant":[1],"cachedGroupItems":[32],"cachedSlotContent":[32]},null,{"groupData":[{"onGroupDataChange":0}]}],[260,"xpl-divider",{"tier":[2]}],[260,"xpl-radio",{"checked":[4],"description":[1],"disabled":[4],"name":[1],"value":[1],"required":[4],"selectedValue":[1,"selected-value"],"styled":[4],"id":[32]}]]],["p-fcb17ff9",[[260,"xpl-input",{"_id":[1],"description":[1],"disabled":[4],"error":[1],"label":[1],"name":[1],"required":[4],"readonly":[4],"value":[1],"autocomplete":[1],"placeholder":[1],"post":[1],"pre":[1],"max":[8],"min":[8],"step":[2],"multiline":[4],"maxCharacterCount":[2,"max-character-count"],"dateFormat":[1,"date-format"],"timeFormat":[1,"time-format"],"allowCustomOption":[4,"allow-custom-option"],"mode":[1],"accept":[1],"multiple":[4],"hideTriggerOnSelect":[4,"hide-trigger-on-select"],"hideFileNames":[4,"hide-file-names"],"hideAcceptText":[4,"hide-accept-text"],"hideEyeDropper":[4,"hide-eye-dropper"],"defaultCountry":[1,"default-country"],"preferredCountries":[16],"isInternational":[4,"is-international"],"ariaLabel":[1,"aria-label"],"shape":[1],"type":[1],"characterCount":[32],"passwordVisible":[32],"hasPreSlotContent":[32],"setFocus":[64]}],[0,"xpl-input-date",{"inputId":[1,"input-id"],"disabled":[4],"name":[1],"required":[4],"readonly":[4],"value":[1],"placeholder":[1],"post":[1],"pre":[1],"max":[8],"min":[8],"dateFormat":[1,"date-format"],"mode":[1],"flatpickrStaticLayout":[32],"hasErrorState":[32]},null,{"hasErrorState":[{"onHasErrorStateChanged":0}],"value":[{"onValueChanged":0}]}],[260,"xpl-input-file",{"disabled":[4],"name":[1],"_id":[1],"accept":[1],"multiple":[4],"hideTriggerOnSelect":[4,"hide-trigger-on-select"],"hideFileNames":[4,"hide-file-names"],"hideAcceptText":[4,"hide-accept-text"],"files":[32],"removeFileByIndex":[64]},null,{"files":[{"onFilesChange":0}]}],[0,"xpl-input-search",{"ariaLabel":[1,"aria-label"],"autocomplete":[1],"disabled":[4],"errorMessageId":[1,"error-message-id"],"hasError":[4,"has-error"],"hasVisibleLabel":[4,"has-visible-label"],"inputId":[1,"input-id"],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"value":[1025],"hasAncestorForm":[32],"setFocus":[64]}]]]]'),e))));
1
+ import{p as e,b as a}from"./p-CgJEmBQY.js";export{s as setNonce}from"./p-CgJEmBQY.js";import{g as t}from"./p-DQuL1Twl.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a(JSON.parse('[["p-066eccd6",[[0,"xpl-icon",{"icon":[1],"size":[2],"backgroundColor":[1,"background-color"]}]]],["p-c526f16d",[[260,"xpl-list",{"items":[16],"label":[1],"labelledBy":[1,"labelled-by"],"reorderable":[4],"selectable":[4],"keyboardReorderItemId":[32],"reorderLiveMessage":[32],"clearSelection":[64]},[[0,"keydown","handleKeyDown"],[0,"itemSelect","handleChildItemSelect"],[0,"slotchange","handleSlotChange"],[0,"itemDragStart","handleItemDragStart"],[0,"itemDragEnd","handleItemDragEnd"],[0,"itemDrop","handleItemDrop"],[0,"xplListItemReorder","handleItemReorder"]],{"keyboardReorderItemId":[{"handleKeyboardReorderItemIdChange":0}],"items":[{"handleItemsChange":0}],"reorderable":[{"handleReorderableChange":0}],"selectable":[{"handleSelectableChange":0}]}]]],["p-34d84be8",[[0,"xpl-pagination",{"totalPages":[2,"total-pages"],"withPageControl":[4,"with-page-control"],"currentPage":[1026,"current-page"],"rowsPerPageOptions":[1,"rows-per-page-options"],"selectedRowsPerPage":[1026,"selected-rows-per-page"]},null,{"currentPage":[{"onPageUpdate":0}],"totalPages":[{"onTotalPagesUpdate":0}],"selectedRowsPerPage":[{"onRowsPerPageUpdate":0}]}]]],["p-606153e1",[[260,"xpl-tabs",{"disabled":[4],"fullWidth":[4,"full-width"],"type":[513],"value":[1],"activeBarPosition":[32],"choicesTick":[32],"isMobileSelectChange":[32],"selectedValue":[32]},[[9,"resize","onWindowResize"]],{"disabled":[{"onDisabledChanged":0}],"fullWidth":[{"onFullWidthChanged":0}],"type":[{"onTypeChanged":0}],"value":[{"onValueChanged":0}]}]]],["p-f0897ee2",[[260,"xpl-table",{"columns":[16],"data":[16],"footer":[16],"freeze":[4],"isSortable":[4,"is-sortable"],"label":[1],"multiselect":[4],"reorderHandleIcon":[1,"reorder-handle-icon"],"reorderHandleIconKeyboard":[1,"reorder-handle-icon-keyboard"],"rowReorderable":[4,"row-reorderable"],"selectable":[4],"selectedValues":[16],"sortableColumns":[16],"striped":[4],"areAllSelected":[32],"colCount":[32],"hasScrolled":[32],"keyboardReorderRowId":[32],"reorderLiveMessage":[32],"rowData":[32],"rowFooterData":[32],"selected":[32],"selectedRowIds":[32],"sortTypeArray":[32]},[[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"]],{"columns":[{"watchColumns":0}],"data":[{"watchData":0}],"footer":[{"watchFooterData":0}],"reorderHandleIcon":[{"watchReorderHandleIcon":0}],"reorderHandleIconKeyboard":[{"watchReorderHandleIconKeyboard":0}],"rowReorderable":[{"watchRowReorderable":0}],"selectable":[{"watchSelectable":0}]}]]],["p-3222e5a7",[[260,"xpl-slideout",{"isOpen":[1540,"is-open"],"backdrop":[4],"variant":[1],"showFooter":[4,"show-footer"]},[[9,"scroll","handleScroll"]],{"isOpen":[{"watchPropHandler":0}]}]]],["p-066d3199",[[260,"xpl-top-nav",{"brandHref":[1,"brand-href"],"brandLogo":[1,"brand-logo"],"brandName":[1,"brand-name"],"childAccountLabel":[1,"child-account-label"],"label":[1],"navControl":[516,"nav-control"],"brandLogoSlotPresent":[32],"open":[32],"slotProjectionNonce":[32],"userMenuSlotPresent":[32],"userMenuTriggerSlotPresent":[32]},null,{"navControl":[{"onNavControlChanged":0}]}]]],["p-31cbb36f",[[260,"xpl-modal",{"isOpen":[1540,"is-open"],"size":[1],"variant":[1]},null,{"isOpen":[{"updateModalState":0}]}]]],["p-02a2d1a3",[[260,"xpl-side-nav",{"label":[1],"open":[1540],"hasHeaderSlot":[32],"toggle":[64],"setOpen":[64]},null,{"open":[{"onOpenChanged":0}]}]]],["p-966f3702",[[260,"xpl-tab",{"badge":[513],"badgeVariant":[1,"badge-variant"],"disabled":[516],"fullWidth":[4,"full-width"],"groupDisabled":[1540,"data-group-disabled"],"icon":[513],"iconPosition":[1,"icon-position"],"selected":[4],"target":[1],"variant":[1],"getFocusableElement":[64],"setTabIndex":[64],"focusTrigger":[64]}]]],["p-95b6e6e6",[[0,"xpl-banner",{"actionText":[1,"action-text"],"appearance":[1],"description":[1],"hasIcon":[4,"has-icon"],"heading":[1],"isDismissible":[4,"is-dismissible"],"isSection":[4,"is-section"],"secondaryActionText":[1,"secondary-action-text"],"truncateDesc":[4,"truncate-desc"]}]]],["p-f88eefaf",[[0,"xpl-button-row",{"primary":[1],"secondary":[1],"tertiary":[1]}]]],["p-88367287",[[0,"xpl-choicelist",{"choices":[16],"description":[1],"heading":[1],"multi":[4],"name":[1],"styled":[4],"selected":[32]},null,{"choices":[{"onChoicesPropChange":0}],"selected":[{"onSelectedChange":0}]}]]],["p-19d22455",[[260,"xpl-data-card",{"link":[4],"name":[1],"stat":[1],"shortStat":[1,"short-stat"],"variant":[1],"leadingIcon":[4,"leading-icon"],"icon":[1],"smallStat":[1,"small-stat"],"smallStatIcon":[1,"small-stat-icon"],"detail":[1],"smallStatVariant":[1,"small-stat-variant"],"tooltipTextSmallStat":[1,"tooltip-text-small-stat"],"tooltipTextStat":[1,"tooltip-text-stat"],"graphContentPresent":[32]},null,{"stat":[{"watchStat":0}],"shortStat":[{"watchShortStat":0}]}]]],["p-e30d204d",[[260,"xpl-header-accordion",{"contentId":[1,"content-id"],"initialExpanded":[4,"initial-expanded"],"disabled":[4],"selectedCount":[2,"selected-count"],"hasCheckbox":[4,"has-checkbox"],"expanded":[32],"parentChecked":[32],"parentIndeterminate":[32]},[[0,"checkboxChange","handleChildCheckboxChange"]],{"selectedCount":[{"watchSelectedCount":0}]}]]],["p-b44a72e9",[[260,"xpl-spotlight",{"actionLayout":[1,"action-layout"],"anchorPosition":[1,"anchor-position"],"body":[1],"currentStep":[2,"current-step"],"heading":[1],"isDismissible":[4,"is-dismissible"],"isOpen":[4,"is-open"],"primaryActionLabel":[1,"primary-action-label"],"secondaryActionLabel":[1,"secondary-action-label"],"showActions":[4,"show-actions"],"showImage":[4,"show-image"],"showSteps":[4,"show-steps"],"target":[1],"totalSteps":[2,"total-steps"],"hasBodySlotContent":[32],"hasFloatingPosition":[32],"hasImageSlotContent":[32],"hasTitleSlotContent":[32],"dialogLabelId":[32],"isVisible":[32],"resolvedAnchorPosition":[32]},[[4,"keydown","handleKeyDown"]],{"anchorPosition":[{"onAnchorPositionChange":0}],"isOpen":[{"onIsOpenChange":0}],"target":[{"onTargetChange":0}]}]]],["p-a30b51c8",[[260,"xpl-toast",{"caption":[1],"dismissable":[4],"dismissible":[4],"showIcon":[4,"show-icon"],"timeout":[2],"variant":[1]},null,{"dismissable":[{"handleDismissableChange":0}],"timeout":[{"handleTimeoutChange":0}]}]]],["p-d58523b6",[[260,"xpl-top-nav-menu",{"label":[1],"isMobileCascade":[32]}]]],["p-44a1fd8b",[[260,"xpl-accordion",{"contentId":[1,"content-id"],"header":[1],"description":[1],"initialExpanded":[4,"initial-expanded"],"size":[1],"borderType":[1,"border-type"],"expanded":[32],"parentCheckboxChange":[64]},[[0,"checkboxChange","listenToChangeEvent"]],{"initialExpanded":[{"watchInitialExpanded":0}]}]]],["p-b9136f21",[[260,"xpl-application-shell",{"withSubnav":[4,"with-subnav"],"withUtility":[4,"with-utility"],"navWidth":[1,"nav-width"],"isNavOpenAtStartup":[4,"is-nav-open-at-startup"],"navOpen":[32]},[[0,"navOpen","navToggleHandler"],[0,"navWidth","navWithHandler"],[9,"resize","onWindowResize"]]]]],["p-8df2b9e8",[[260,"xpl-large-card",{"link":[4],"name":[1],"description":[1],"graphContentPresent":[32]}]]],["p-e4649020",[[0,"xpl-progress-bar",{"helperText":[1,"helper-text"],"label":[1],"max":[2],"size":[1],"value":[2],"variant":[1]}]]],["p-1ca46c11",[[0,"xpl-progress-indicator",{"currentStep":[1026,"current-step"],"layout":[1],"showLabels":[4,"show-labels"],"showNumbers":[4,"show-numbers"],"steps":[16]},null,{"steps":[{"validateCurrentStep":0}],"currentStep":[{"validateCurrentStep":0}]}]]],["p-1b00e924",[[260,"xpl-side-nav-header-item",{"icon":[1],"label":[1],"selected":[516],"type":[513],"hasLeadingSlot":[32],"hasTrailingSlot":[32]}]]],["p-7781b569",[[260,"xpl-side-nav-item",{"disabled":[516],"expanded":[1540],"hasChildren":[1540,"has-children"],"hidden":[516],"icon":[1],"label":[1],"link":[516],"selected":[516],"hasTrailingSlot":[32]},null,{"hasChildren":[{"syncLinkHasChildrenExclusivity":0}],"link":[{"syncLinkHasChildrenExclusivity":0}]}]]],["p-c7b8a325",[[260,"xpl-side-nav-section",{"collapsible":[516],"expanded":[1540],"heading":[1],"hasBadgeSlot":[32],"hasNamedBadgeSlot":[32]}]]],["p-43fbf2aa",[[260,"xpl-utility-bar",{"navControl":[4,"nav-control"],"isNavOpenAtStartup":[4,"is-nav-open-at-startup"],"open":[32]}]]],["p-b7f75498",[[260,"xpl-breadcrumb-item"]]],["p-ebe6a1d6",[[260,"xpl-breadcrumbs"]]],["p-1e07745c",[[0,"xpl-calendar",{"inputId":[1,"input-id"],"dateFormat":[1,"date-format"],"max":[8],"min":[8],"mode":[1],"defaultDate":[1,"default-date"],"setDate":[64]}]]],["p-cc04d4e7",[[260,"xpl-content-area",{"size":[1]}]]],["p-7bfd9cfb",[[260,"xpl-dashboard"]]],["p-ac105b6c",[[260,"xpl-dynamic-table",{"colCount":[32],"hasAccordion":[32],"selectedItemCount":[32]},[[8,"deselectAll","listenToDeselectEvent"],[8,"checkboxChange","listenToChangeEvent"]]]]],["p-8127dd6b",[[260,"xpl-dynamic-table-cell",{"disabled":[4]}]]],["p-32ac676a",[[260,"xpl-dynamic-table-row",{"disabled":[4],"selected":[4],"isDisabled":[32]}]]],["p-cc27a41f",[[0,"xpl-grid"]]],["p-035ed1ad",[[260,"xpl-grid-item",{"xs":[2],"sm":[2],"md":[2],"lg":[2]}]]],["p-5cf30b9d",[[260,"xpl-main-nav",{"width":[1]}]]],["p-f13e14bd",[[260,"xpl-nav-header-menu",{"email":[1],"username":[1],"rightAsideMobilePresent":[32]}]]],["p-321319c0",[[260,"xpl-nav-item",{"navControl":[4,"nav-control"]}]]],["p-60e3a798",[[260,"xpl-panel",{"accent":[1],"padding":[1]}]]],["p-462a804c",[[260,"xpl-secondary-nav"]]],["p-663e9521",[[0,"xpl-skeleton",{"classNames":[1,"class-names"],"fullWidth":[4,"full-width"],"height":[1],"width":[1],"margin":[1],"shape":[1],"size":[1]}]]],["p-db998e2a",[[260,"xpl-tab-panel",{"selected":[4],"target":[1]}]]],["p-8a59605f",[[260,"xpl-table-body"]]],["p-0e8514ff",[[260,"xpl-table-footer"]]],["p-fd2e7bb0",[[260,"xpl-table-header"]]],["p-b6f20359",[[260,"xpl-table-row",{"disabled":[516],"rowId":[513,"row-id"],"selected":[516]},null,{"disabled":[{"onDisabledChange":0}]}]]],["p-7b46b656",[[0,"xpl-toggle",{"checked":[4],"description":[1],"disabled":[4],"heading":[1],"label":[1],"name":[1],"variant":[1],"id":[32]}]]],["p-a3537a74",[[260,"xpl-toolbar",{"selectedItemCount":[2,"selected-item-count"]},[[8,"selectedItemCountChange","listenToSelectedItemCountChange"]]]]],["p-18115cd4",[[260,"xpl-button",{"controlAttrs":[16],"disabled":[4],"form":[1],"fullWidth":[4,"full-width"],"icon":[1],"iconOnly":[4,"icon-only"],"iconPosition":[1,"icon-position"],"isLoading":[4,"is-loading"],"link":[4],"name":[1],"sentiment":[1],"size":[1],"state":[1],"type":[1],"value":[1],"variant":[1]},[[2,"click","handleDisabledClick"]]]]],["p-00e96d61",[[260,"xpl-list-item",{"disabled":[4],"error":[4],"hidden":[4],"href":[1],"item":[16],"itemId":[1025,"item-id"],"keyboardActive":[4,"keyboard-active"],"radioName":[1,"radio-name"],"reorderable":[4],"selectable":[4],"selected":[4],"showDivider":[4,"show-divider"],"titleBadgeVariant":[1,"title-badge-variant"],"slotPresence":[32],"isKeyboardMode":[32]},[[0,"slotchange","handleSlotChange"]],{"item":[{"handleItemChange":0}],"keyboardActive":[{"handleKeyboardActiveChange":0}],"selected":[{"handleSelectedChange":0}],"titleBadgeVariant":[{"handleTitleBadgeVariantChange":0}]}]]],["p-c9246567",[[260,"xpl-tooltip",{"text":[1],"position":[1],"hideArrow":[4,"hide-arrow"]}]]],["p-a21c7976",[[260,"xpl-top-nav-item",{"active":[516],"description":[1],"href":[1],"icon":[1],"itemAriaLabel":[1,"item-aria-label"],"label":[1],"open":[1540],"openMode":[513,"open-mode"],"selected":[516],"hasActiveDescendant":[32],"hasDropdown":[32],"isLeadingIconSlotPresent":[32],"isMobileViewport":[32],"hostListitemRole":[32],"isTrailingIconSlotPresent":[32],"closeMenu":[64],"openMenu":[64],"toggleMenu":[64]},[[0,"_xplCloseNavDropdown","handleCloseNavDropdownRequest"]],{"hasDropdown":[{"onHasDropdownChanged":0}],"open":[{"onOpenChanged":0}]}]]],["p-47a4f0a8",[[260,"xpl-table-header-cell",{"align":[1],"checkboxAriaLabel":[1,"checkbox-aria-label"],"checked":[4],"columnWidth":[513,"column-width"],"icon":[1],"indeterminate":[4],"label":[1],"sortDirection":[1537,"sort-direction"],"sortKey":[1,"sort-key"],"sortable":[4],"type":[513],"width":[514]},null,{"columnWidth":[{"watchColumnWidth":0}],"width":[{"watchWidth":0}]}],[260,"xpl-table-cell",{"align":[1],"bold":[4],"disabled":[4],"underline":[4]},null,{"disabled":[{"onDisabledChange":0}]}],[260,"xpl-table-footer-cell",{"align":[1]}]]],["p-e1f095dd",[[260,"xpl-popover",{"isOpen":[4,"is-open"],"disabled":[4],"position":[1],"display":[1],"isOpenState":[32],"actualPosition":[32],"updateListener":[32]},null,{"isOpen":[{"onIsOpenPropChange":0}],"isOpenState":[{"onIsOpenStateChange":0}]}]]],["p-36965939",[[0,"xpl-input-color",{"value":[1],"placeholder":[1],"disabled":[4],"required":[4],"hideEyeDropper":[4,"hide-eye-dropper"],"hasErrorState":[32],"colorValues":[32],"eyeDropperSupported":[32],"hue":[32]},null,{"colorValues":[{"valueChanged":0}],"hasErrorState":[{"onHasErrorStateChanged":0}],"value":[{"onValuePropChange":0}]}]]],["p-b41b7950",[[260,"xpl-dropdown",{"isOpen":[1540,"open"],"closeOnSelect":[4,"close-on-select"],"mode":[1],"options":[1040],"anchorToTrigger":[4,"anchor-to-trigger"],"flipFallbackPlacements":[16],"placement":[1],"selectedValues":[1,"selected-values"],"selectOnFocus":[4,"select-on-focus"],"triggerId":[1,"trigger-id"],"update":[16],"virtualEnd":[32],"virtualStart":[32],"handleSelect":[64]},null,{"options":[{"onOptionsChanged":0}],"anchorToTrigger":[{"onAnchorToTriggerChanged":0}],"flipFallbackPlacements":[{"onFlipFallbackPlacementsChanged":0}],"placement":[{"onPlacementChanged":0}],"triggerId":[{"onTriggerIdChanged":0}],"selectedValues":[{"onSelectedValuesChanged":0}],"isOpen":[{"onIsOpenStateChange":0}]}],[260,"xpl-dropdown-group",{"groupName":[1,"label"],"options":[16]}],[260,"xpl-dropdown-option",{"isDisabled":[516,"disabled"],"label":[1],"value":[1],"subtitle":[1],"icon":[1],"isSelected":[4,"selected"]}],[260,"xpl-dropdown-heading",{"label":[1]}]]],["p-adc14e6e",[[0,"xpl-input-time",{"inputId":[1,"input-id"],"disabled":[4],"name":[1],"required":[4],"readonly":[4],"value":[1537],"placeholder":[1],"max":[8],"min":[8],"step":[2],"mode":[1],"timeFormat":[1,"time-format"],"allowCustomOption":[4,"allow-custom-option"],"formattedValue":[32],"hasErrorState":[32],"showOptions":[32],"options":[32],"amPm":[32]},null,{"value":[{"onValueChange":0}],"hasErrorState":[{"onHasErrorStateChanged":0}]}]]],["p-6e22ab86",[[0,"xpl-input-phone",{"defaultCountry":[1,"default-country"],"disabled":[4],"error":[4],"inputId":[1,"input-id"],"isInternational":[4,"is-international"],"name":[1],"placeholder":[1],"preferredCountries":[16],"readonly":[4],"required":[4],"value":[1537],"dropdownOpen":[32],"hasErrorState":[32],"nationalNumber":[32],"searchQuery":[32],"selectedCountry":[32],"triggerId":[32]},null,{"dropdownOpen":[{"onDropdownOpenChange":0}],"hasErrorState":[{"onHasErrorStateChanged":0}],"value":[{"onValueChange":0}]}]]],["p-9466f566",[[0,"xpl-backdrop",{"relative":[4]}]]],["p-d7fba438",[[260,"xpl-badge",{"bordered":[4],"dot":[4],"dotOnly":[4,"dot-only"],"shape":[1],"size":[1],"variant":[1]}]]],["p-787a361c",[[260,"xpl-checkbox",{"ariaLabel":[1,"aria-label"],"checked":[4],"description":[1],"disabled":[4],"indeterminate":[4],"name":[1],"value":[1],"required":[4],"styled":[4],"dataId":[1,"data-id"],"id":[32]}]]],["p-9d7ead72",[[260,"xpl-select",{"choices":[16],"selectIcon":[1,"select-icon"],"description":[1],"disabled":[4],"dropdownFlipFallbackPlacements":[16],"dropdownPlacement":[1,"dropdown-placement"],"error":[1],"label":[1],"mode":[1],"name":[1],"placeholder":[1],"truncate":[4],"customDisplayValue":[4,"custom-display-value"],"selectedValues":[1,"selected-values"],"classNames":[1,"class-names"],"active":[32],"id":[32],"keepFocus":[32],"visibleChoices":[32],"choicesState":[32],"value":[32],"dropdownOpenState":[32],"reset":[64]},[[8,"click","handleClickEvent"],[8,"keydown","handleKeyDown"],[9,"resize","handleResize"]],{"choices":[{"onChoicesPropChanged":0}],"selectedValues":[{"onSelectedValuesPropChanged":0}],"choicesState":[{"onChoicesStateChanged":0}],"value":[{"handleValueStateChange":0}],"dropdownOpenState":[{"onDropdownOpenStateChanged":0}]}],[260,"xpl-tag",{"disabled":[4],"dismissible":[4],"isDraggable":[4,"is-draggable"],"size":[1],"tagId":[1,"tag-id"],"dismissAriaLabelSuffix":[32],"isDragging":[32]},null,{"disabled":[{"onDisabledChange":0}],"isDraggable":[{"onIsDraggableChange":0}]}]]],["p-33063e8c",[[260,"xpl-avatar",{"color":[1],"disabled":[4],"groupData":[1,"group-data"],"href":[1],"name":[1],"size":[1],"src":[1],"status":[1],"subText":[1,"sub-text"],"target":[1],"variant":[1],"cachedGroupItems":[32],"cachedSlotContent":[32]},null,{"groupData":[{"onGroupDataChange":0}]}],[260,"xpl-divider",{"tier":[2]}],[260,"xpl-radio",{"checked":[4],"description":[1],"disabled":[4],"name":[1],"value":[1],"required":[4],"selectedValue":[1,"selected-value"],"styled":[4],"id":[32]}]]],["p-325466bf",[[260,"xpl-input",{"_id":[1],"description":[1],"disabled":[4],"error":[1],"label":[1],"name":[1],"required":[4],"readonly":[4],"value":[1],"autocomplete":[1],"placeholder":[1],"post":[1],"pre":[1],"max":[8],"min":[8],"step":[2],"multiline":[4],"maxCharacterCount":[2,"max-character-count"],"dateFormat":[1,"date-format"],"timeFormat":[1,"time-format"],"allowCustomOption":[4,"allow-custom-option"],"mode":[1],"accept":[1],"multiple":[4],"hideTriggerOnSelect":[4,"hide-trigger-on-select"],"hideFileNames":[4,"hide-file-names"],"hideAcceptText":[4,"hide-accept-text"],"hideEyeDropper":[4,"hide-eye-dropper"],"defaultCountry":[1,"default-country"],"preferredCountries":[16],"isInternational":[4,"is-international"],"ariaLabel":[1,"aria-label"],"shape":[1],"type":[1],"characterCount":[32],"passwordVisible":[32],"hasPreSlotContent":[32],"setFocus":[64]}],[0,"xpl-input-date",{"inputId":[1,"input-id"],"disabled":[4],"name":[1],"required":[4],"readonly":[4],"value":[1],"placeholder":[1],"post":[1],"pre":[1],"max":[8],"min":[8],"dateFormat":[1,"date-format"],"mode":[1],"flatpickrStaticLayout":[32],"hasErrorState":[32]},null,{"hasErrorState":[{"onHasErrorStateChanged":0}],"value":[{"onValueChanged":0}]}],[260,"xpl-input-file",{"disabled":[4],"name":[1],"_id":[1],"accept":[1],"multiple":[4],"hideTriggerOnSelect":[4,"hide-trigger-on-select"],"hideFileNames":[4,"hide-file-names"],"hideAcceptText":[4,"hide-accept-text"],"files":[32],"removeFileByIndex":[64]},null,{"files":[{"onFilesChange":0}]}],[0,"xpl-input-search",{"ariaLabel":[1,"aria-label"],"autocomplete":[1],"disabled":[4],"errorMessageId":[1,"error-message-id"],"hasError":[4,"has-error"],"hasVisibleLabel":[4,"has-visible-label"],"inputId":[1,"input-id"],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"shape":[1],"value":[1025],"hasAncestorForm":[32],"setFocus":[64]}]]]]'),e))));
@@ -1 +1 @@
1
- import{r as t,c as i,h as e,H as s,F as a,g as l}from"./p-ukZKsqqq.js";const r=class{constructor(e){t(this,e),this.itemDragEnd=i(this,"itemDragEnd",7),this.itemDragStart=i(this,"itemDragStart",7),this.itemDrop=i(this,"itemDrop",7),this.itemSelect=i(this,"itemSelect",7),this.dragFromHandle=!1,this.slotPresence={actions:!1,avatar:!1,badges:!1,details:!1,errorText:!1,metadata:!1,stackedExtra1:!1,stackedExtra2:!1,stackedExtra3:!1,titleBadge:!1,title:!1},this.isKeyboardMode=!1,this.disabled=!1,this.error=!1,this.hidden=!1,this.keyboardActive=!1,this.reorderable=!1,this.selectable=!1,this.selected=!1,this.showDivider=!1,this.handleDragStart=t=>{if(this.disabled)return void t.preventDefault();if(!this.dragFromHandle)return void t.preventDefault();this.detachDragHandlePointerReleaseListeners(),t.dataTransfer&&(t.dataTransfer.effectAllowed="move",t.dataTransfer.setData("text/plain",this.itemId||this.el.id||""));const i=this.el.querySelector(".xpl-list-item__wrapper");i?.classList.add("dragging"),this.itemDragStart.emit({itemId:this.itemId,item:this.el})},this.handleDrop=t=>{this.disabled||(t.preventDefault(),this.detachDragHandlePointerReleaseListeners(),this.dragFromHandle=!1,this.itemDrop.emit({itemId:this.itemId,item:this.el}))},this.handleDragOver=t=>{this.disabled||(t.preventDefault(),t.dataTransfer&&this.reorderable&&(t.dataTransfer.dropEffect="move"))},this.handleDragEnter=t=>{if(this.disabled)return;t.preventDefault();const i=this.el.querySelector(".xpl-list-item__wrapper");i?.classList.add("drag-over")},this.handleDragLeave=t=>{if(this.disabled)return;const i=this.el.querySelector(".xpl-list-item__wrapper");i&&!i.contains(t.relatedTarget)&&i.classList.remove("drag-over")},this.handleDragEnd=()=>{this.detachDragHandlePointerReleaseListeners(),this.dragFromHandle=!1;const t=this.el.querySelector(".xpl-list-item__wrapper");t?.classList.remove("dragging","drag-over");const i=this.el.parentElement;i&&Array.from(i.children).forEach((t=>{if("xpl-list-item"!==t.tagName.toLowerCase())return;const i=t.querySelector(".xpl-list-item__wrapper");i?.classList.remove("drag-over")})),this.itemDragEnd.emit({itemId:this.itemId,item:this.el})},this.handleDragHandleMouseDown=()=>{if(this.disabled)return;this.detachDragHandlePointerReleaseListeners(),this.dragFromHandle=!0;const t=()=>{this.detachDragHandlePointerReleaseListeners(),this.dragFromHandle=!1};document.addEventListener("pointerup",t,!0),document.addEventListener("pointercancel",t,!0),this.dragHandlePointerReleaseCleanup=()=>{document.removeEventListener("pointerup",t,!0),document.removeEventListener("pointercancel",t,!0)},this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{exitKeyboardMode:!0}}))},this.preventRowLinkNavigation=t=>{this.href&&(t.preventDefault(),t.stopPropagation())},this.handleMouseDown=()=>{this.isKeyboardMode&&this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{itemId:this.itemId,exitKeyboardMode:!0}}))},this.handleDragHandleKeyDown=t=>{this.disabled?"Escape"===t.key&&this.isKeyboardMode&&(t.preventDefault(),this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{itemId:this.itemId,exitKeyboardMode:!0}}))):"Escape"!==t.key?this.isKeyboardMode?"ArrowUp"!==t.key&&"ArrowDown"!==t.key||(t.preventDefault(),this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{direction:"ArrowUp"===t.key?"up":"down",item:this.el,itemId:this.itemId,keyboardMode:!0}}))):"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{item:this.el,itemId:this.itemId,keyboardMode:!0}}))):this.isKeyboardMode&&(t.preventDefault(),this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{itemId:this.itemId,exitKeyboardMode:!0}})))},this.handleRadioChange=()=>{this.disabled||this.itemSelect.emit({itemId:this.itemId})},this.handleRadioClick=t=>{this.href&&t.stopPropagation()}}handleItemChange(){this.updateSlotPresence()}handleKeyboardActiveChange(t){this.isKeyboardMode=t}handleSelectedChange(t){const i=this.el.querySelector('.xpl-list-item__selectable input[type="radio"]');i instanceof HTMLInputElement&&i.checked!==t&&(i.checked=t)}handleTitleBadgeVariantChange(){this.updateSlotPresence()}connectedCallback(){this.el.addEventListener("mousedown",this.handleMouseDown,!0)}disconnectedCallback(){this.el.removeEventListener("mousedown",this.handleMouseDown,!0),this.detachDragHandlePointerReleaseListeners()}componentWillLoad(){this.updateSlotPresence(),this.isKeyboardMode=!!this.keyboardActive;const t=this.el.getAttribute("item-id");t&&!this.itemId&&(this.itemId=t),this.el.id&&!this.itemId&&(this.itemId=this.el.id)}componentDidRender(){this.syncReorderDragHandleA11y()}handleSlotChange(){this.updateSlotPresence()}updateSlotPresence(){const t=this.el.getAttribute("title-badge-variant")||this.el.getAttribute("titlebadgevariant");this.slotPresence={actions:this.hasSlot("actions"),avatar:this.hasSlot("avatar"),badges:this.hasSlot("badges"),details:this.hasSlot("details"),errorText:this.hasSlot("error-text"),metadata:this.hasSlot("metadata"),stackedExtra1:this.hasSlot("stacked-extra-1"),stackedExtra2:this.hasSlot("stacked-extra-2"),stackedExtra3:this.hasSlot("stacked-extra-3"),title:this.hasSlot("title"),titleBadge:!!(this.titleBadgeVariant&&String(this.titleBadgeVariant).length>0||t&&t.length>0)}}detachDragHandlePointerReleaseListeners(){this.dragHandlePointerReleaseCleanup&&(this.dragHandlePointerReleaseCleanup(),this.dragHandlePointerReleaseCleanup=void 0)}hasSlot(t){if(Array.from(this.el.children).some((i=>i.getAttribute("slot")===t)))return!0;const i=Array.from(this.el.querySelectorAll(`slot[name="${t}"]`)).find((t=>t.closest("xpl-list-item")===this.el));return!(!i||"function"!=typeof i.assignedNodes)&&i.assignedNodes({flatten:!0}).length>0}getTitleSlotAccessibleText(){const t=Array.from(this.el.children).find((t=>"title"===t.getAttribute("slot")));if(t)return t.textContent??void 0;const i=Array.from(this.el.querySelectorAll('slot[name="title"]')).find((t=>t.closest("xpl-list-item")===this.el));return i&&"function"==typeof i.assignedNodes&&i.assignedNodes({flatten:!0}).map((t=>t.nodeType===Node.TEXT_NODE||t.nodeType===Node.ELEMENT_NODE?t.textContent??"":"")).join("").trim()||void 0}getRowIdForAccessibleLabel(){const t=this.itemId?.trim();if(t)return t;const i=this.el.getAttribute("item-id")?.trim();if(i)return i;const e=this.el.id?.trim();return e||""}getSelectableRadioLabel(){const t=this.getRowIdForAccessibleLabel();if(this.slotPresence.title){const i=this.getTitleSlotAccessibleText()?.trim();return i||(t?`Select ${t}`:"Select list item")}return t?`Select ${t}`:"Select list item"}renderPropBasedItem(){const{item:t}=this;if(!t)return null;const i=t.avatars||t.badges||t.subtext,a=t.href?"a":"div",l=t.href?{href:t.href}:{};return e(s,{role:"listitem",class:{"xpl-list-item":!0,"xpl-list-item--error":!!this.error,"xpl-list-item--disabled":!!this.disabled},hidden:this.hidden},function(t){return t.avatar&&"string"==typeof t.avatar?"/"===t.avatar.slice(0,1)||"http"===t.avatar.slice(0,4)?e("xpl-avatar",{src:t.avatar,name:t.title}):e("xpl-avatar",{name:t.title},t.avatar):null}(t),e(a,{class:"xpl-list-item-content",...l},e("div",{class:"xpl-list-left"},e("div",null,e("h4",null,t.title),t.metadata&&e("ul",{class:"xpl-list-item-metadata"},t.metadata.map((t=>"string"==typeof t?e("li",null,t):e("li",null,e("xpl-icon",{icon:t.icon})," ",t.text)))))),i&&e("div",{class:"xpl-list-right"},t.subtext&&e("div",{class:"xpl-list-item-subtext"},t.subtext),t.avatars&&e("div",{class:"xpl-avatar-group xpl-avatar-group--s"},t.avatars.map((t=>e("img",{src:t,alt:""})))),t.badges&&t.badges.map((t=>"string"==typeof t?e("xpl-badge",null,t):e("xpl-badge",{dot:t.dot,variant:t.variant},t.text)))),t.href?e("span",{class:"xpl-list-item__link-chevron","aria-hidden":"true"},e("xpl-icon",{icon:"chevron-right",size:12})):null))}renderTitleBadge(){if(!this.slotPresence.titleBadge)return null;const t=this.titleBadgeVariant||this.el.getAttribute("title-badge-variant")||this.el.getAttribute("titlebadgevariant")||"purple";return e("div",{class:"xpl-list-item__title-badge"},e("xpl-badge",{dotOnly:!0,size:"small",variant:t}))}renderSlotBasedItem(){const t=this.slotPresence.details||this.slotPresence.badges||this.slotPresence.actions,i=this.slotPresence.title||this.slotPresence.metadata||this.slotPresence.stackedExtra1||this.slotPresence.stackedExtra2||this.slotPresence.stackedExtra3,l=this.radioName||this.el.getAttribute("radio-name")||"",r=this.reorderable&&!this.disabled,h="xpl-list-item__wrapper",n={draggable:r,onDragStart:this.handleDragStart,onDragOver:this.handleDragOver,onDragEnter:this.handleDragEnter,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop,onDragEnd:this.handleDragEnd},o=e(a,null,r&&e("div",{class:"xpl-list-item__reorderable"},e("xpl-button",{class:{"xpl-list-item__drag-handle":!0,"xpl-list-item__drag-handle--keyboard-mode":this.isKeyboardMode},type:"button",variant:"tertiary",sentiment:"neutral",iconOnly:!0,icon:this.isKeyboardMode?"caret-expand-y":"grip-dots-vertical",disabled:this.disabled,onClick:this.preventRowLinkNavigation,onMouseDown:this.handleDragHandleMouseDown,onKeyDown:this.handleDragHandleKeyDown})),this.selectable&&l?e("div",{class:"xpl-list-item__selectable",onClick:this.handleRadioClick},e("xpl-radio",{checked:this.selected,disabled:this.disabled,name:l,value:this.itemId??"",onRadioChange:this.handleRadioChange},this.getSelectableRadioLabel())):null,this.slotPresence.avatar&&e("div",{class:"xpl-list-item__avatar",onClick:this.preventRowLinkNavigation},e("slot",{name:"avatar"})),i&&e("div",{class:"xpl-list-item__stacked"},(this.slotPresence.title||this.slotPresence.titleBadge)&&e("div",{class:"xpl-list-item__title-row"},e("div",{class:"xpl-list-item__title-wrapper"},this.renderTitleBadge(),e("slot",{name:"title"}))),this.showDivider&&e("xpl-divider",null),this.slotPresence.metadata&&e("div",{class:"xpl-list-item__metadata-row"},e("slot",{name:"metadata"})),this.slotPresence.stackedExtra1&&e("div",{class:"xpl-list-item__stacked-extra-1"},e("slot",{name:"stacked-extra-1"})),this.slotPresence.stackedExtra2&&e("div",{class:"xpl-list-item__stacked-extra-2"},e("slot",{name:"stacked-extra-2"})),this.slotPresence.stackedExtra3&&e("div",{class:"xpl-list-item__stacked-extra-3"},e("slot",{name:"stacked-extra-3"}))),t&&e("div",{class:"xpl-list-item__right"},this.slotPresence.details&&e("div",{class:"xpl-list-item__details"},e("slot",{name:"details"})),this.slotPresence.badges&&e("div",{class:"xpl-list-item__badges"},e("slot",{name:"badges"})),this.slotPresence.actions&&e("div",{class:"xpl-list-item__actions",onClick:this.preventRowLinkNavigation},e("slot",{name:"actions"}))),this.href?e("span",{class:"xpl-list-item__link-chevron","aria-hidden":"true"},e("xpl-icon",{icon:"chevron-right",size:12})):null);return e(s,{class:{"xpl-list-item":!0,"xpl-list-item--error":!(!this.error&&!this.slotPresence.errorText),"xpl-list-item--disabled":!!this.disabled,"xpl-list-item--slot-based":!0,"xpl-list-item--selected":!!this.selected},hidden:this.hidden},this.href?e("div",{role:"listitem",class:"xpl-list-item__listitem-shell"},e("a",{class:h,href:this.href,...n},o)):e("div",{role:"listitem",class:h,...n},o),this.slotPresence.errorText&&e("div",{class:"xpl-list-item__error-text"},e("xpl-icon",{icon:"circle-warning",size:16}),e("slot",{name:"error-text"})))}syncReorderDragHandleA11y(){if(!this.reorderable||this.disabled)return;const t=this.el.querySelector("xpl-button.xpl-list-item__drag-handle"),i=t?.querySelector("button");i&&(i.setAttribute("aria-label",this.isKeyboardMode?"Press arrow up or down to reorder, Escape to exit":"Press Enter or Space to activate keyboard reorder mode, or drag to reorder"),i.setAttribute("aria-pressed",this.isKeyboardMode?"true":"false"))}render(){return this.hidden?e(s,{hidden:!0}):this.item?this.renderPropBasedItem():this.renderSlotBasedItem()}get el(){return l(this)}static get watchers(){return{item:[{handleItemChange:0}],keyboardActive:[{handleKeyboardActiveChange:0}],selected:[{handleSelectedChange:0}],titleBadgeVariant:[{handleTitleBadgeVariantChange:0}]}}};export{r as xpl_list_item}
1
+ import{r as t,c as i,h as e,H as s,F as a,g as l}from"./p-CgJEmBQY.js";const r=class{constructor(e){t(this,e),this.itemDragEnd=i(this,"itemDragEnd",7),this.itemDragStart=i(this,"itemDragStart",7),this.itemDrop=i(this,"itemDrop",7),this.itemSelect=i(this,"itemSelect",7),this.dragFromHandle=!1,this.slotPresence={actions:!1,avatar:!1,badges:!1,details:!1,errorText:!1,metadata:!1,stackedExtra1:!1,stackedExtra2:!1,stackedExtra3:!1,titleBadge:!1,title:!1},this.isKeyboardMode=!1,this.disabled=!1,this.error=!1,this.hidden=!1,this.keyboardActive=!1,this.reorderable=!1,this.selectable=!1,this.selected=!1,this.showDivider=!1,this.handleDragStart=t=>{if(this.disabled)return void t.preventDefault();if(!this.dragFromHandle)return void t.preventDefault();this.detachDragHandlePointerReleaseListeners(),t.dataTransfer&&(t.dataTransfer.effectAllowed="move",t.dataTransfer.setData("text/plain",this.itemId||this.el.id||""));const i=this.el.querySelector(".xpl-list-item__wrapper");i?.classList.add("dragging"),this.itemDragStart.emit({itemId:this.itemId,item:this.el})},this.handleDrop=t=>{this.disabled||(t.preventDefault(),this.detachDragHandlePointerReleaseListeners(),this.dragFromHandle=!1,this.itemDrop.emit({itemId:this.itemId,item:this.el}))},this.handleDragOver=t=>{this.disabled||(t.preventDefault(),t.dataTransfer&&this.reorderable&&(t.dataTransfer.dropEffect="move"))},this.handleDragEnter=t=>{if(this.disabled)return;t.preventDefault();const i=this.el.querySelector(".xpl-list-item__wrapper");i?.classList.add("drag-over")},this.handleDragLeave=t=>{if(this.disabled)return;const i=this.el.querySelector(".xpl-list-item__wrapper");i&&!i.contains(t.relatedTarget)&&i.classList.remove("drag-over")},this.handleDragEnd=()=>{this.detachDragHandlePointerReleaseListeners(),this.dragFromHandle=!1;const t=this.el.querySelector(".xpl-list-item__wrapper");t?.classList.remove("dragging","drag-over");const i=this.el.parentElement;i&&Array.from(i.children).forEach((t=>{if("xpl-list-item"!==t.tagName.toLowerCase())return;const i=t.querySelector(".xpl-list-item__wrapper");i?.classList.remove("drag-over")})),this.itemDragEnd.emit({itemId:this.itemId,item:this.el})},this.handleDragHandleMouseDown=()=>{if(this.disabled)return;this.detachDragHandlePointerReleaseListeners(),this.dragFromHandle=!0;const t=()=>{this.detachDragHandlePointerReleaseListeners(),this.dragFromHandle=!1};document.addEventListener("pointerup",t,!0),document.addEventListener("pointercancel",t,!0),this.dragHandlePointerReleaseCleanup=()=>{document.removeEventListener("pointerup",t,!0),document.removeEventListener("pointercancel",t,!0)},this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{exitKeyboardMode:!0}}))},this.preventRowLinkNavigation=t=>{this.href&&(t.preventDefault(),t.stopPropagation())},this.handleMouseDown=()=>{this.isKeyboardMode&&this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{itemId:this.itemId,exitKeyboardMode:!0}}))},this.handleDragHandleKeyDown=t=>{this.disabled?"Escape"===t.key&&this.isKeyboardMode&&(t.preventDefault(),this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{itemId:this.itemId,exitKeyboardMode:!0}}))):"Escape"!==t.key?this.isKeyboardMode?"ArrowUp"!==t.key&&"ArrowDown"!==t.key||(t.preventDefault(),this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{direction:"ArrowUp"===t.key?"up":"down",item:this.el,itemId:this.itemId,keyboardMode:!0}}))):"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{item:this.el,itemId:this.itemId,keyboardMode:!0}}))):this.isKeyboardMode&&(t.preventDefault(),this.el.dispatchEvent(new CustomEvent("xplListItemReorder",{bubbles:!0,composed:!0,detail:{itemId:this.itemId,exitKeyboardMode:!0}})))},this.handleRadioChange=()=>{this.disabled||this.itemSelect.emit({itemId:this.itemId})},this.handleRadioClick=t=>{this.href&&t.stopPropagation()}}handleItemChange(){this.updateSlotPresence()}handleKeyboardActiveChange(t){this.isKeyboardMode=t}handleSelectedChange(t){const i=this.el.querySelector('.xpl-list-item__selectable input[type="radio"]');i instanceof HTMLInputElement&&i.checked!==t&&(i.checked=t)}handleTitleBadgeVariantChange(){this.updateSlotPresence()}connectedCallback(){this.el.addEventListener("mousedown",this.handleMouseDown,!0)}disconnectedCallback(){this.el.removeEventListener("mousedown",this.handleMouseDown,!0),this.detachDragHandlePointerReleaseListeners()}componentWillLoad(){this.updateSlotPresence(),this.isKeyboardMode=!!this.keyboardActive;const t=this.el.getAttribute("item-id");t&&!this.itemId&&(this.itemId=t),this.el.id&&!this.itemId&&(this.itemId=this.el.id)}componentDidRender(){this.syncReorderDragHandleA11y()}handleSlotChange(){this.updateSlotPresence()}updateSlotPresence(){const t=this.el.getAttribute("title-badge-variant")||this.el.getAttribute("titlebadgevariant");this.slotPresence={actions:this.hasSlot("actions"),avatar:this.hasSlot("avatar"),badges:this.hasSlot("badges"),details:this.hasSlot("details"),errorText:this.hasSlot("error-text"),metadata:this.hasSlot("metadata"),stackedExtra1:this.hasSlot("stacked-extra-1"),stackedExtra2:this.hasSlot("stacked-extra-2"),stackedExtra3:this.hasSlot("stacked-extra-3"),title:this.hasSlot("title"),titleBadge:!!(this.titleBadgeVariant&&String(this.titleBadgeVariant).length>0||t&&t.length>0)}}detachDragHandlePointerReleaseListeners(){this.dragHandlePointerReleaseCleanup&&(this.dragHandlePointerReleaseCleanup(),this.dragHandlePointerReleaseCleanup=void 0)}hasSlot(t){if(Array.from(this.el.children).some((i=>i.getAttribute("slot")===t)))return!0;const i=Array.from(this.el.querySelectorAll(`slot[name="${t}"]`)).find((t=>t.closest("xpl-list-item")===this.el));return!(!i||"function"!=typeof i.assignedNodes)&&i.assignedNodes({flatten:!0}).length>0}getTitleSlotAccessibleText(){const t=Array.from(this.el.children).find((t=>"title"===t.getAttribute("slot")));if(t)return t.textContent??void 0;const i=Array.from(this.el.querySelectorAll('slot[name="title"]')).find((t=>t.closest("xpl-list-item")===this.el));return i&&"function"==typeof i.assignedNodes&&i.assignedNodes({flatten:!0}).map((t=>t.nodeType===Node.TEXT_NODE||t.nodeType===Node.ELEMENT_NODE?t.textContent??"":"")).join("").trim()||void 0}getRowIdForAccessibleLabel(){const t=this.itemId?.trim();if(t)return t;const i=this.el.getAttribute("item-id")?.trim();if(i)return i;const e=this.el.id?.trim();return e||""}getSelectableRadioLabel(){const t=this.getRowIdForAccessibleLabel();if(this.slotPresence.title){const i=this.getTitleSlotAccessibleText()?.trim();return i||(t?`Select ${t}`:"Select list item")}return t?`Select ${t}`:"Select list item"}renderPropBasedItem(){const{item:t}=this;if(!t)return null;const i=t.avatars||t.badges||t.subtext,a=t.href?"a":"div",l=t.href?{href:t.href}:{};return e(s,{role:"listitem",class:{"xpl-list-item":!0,"xpl-list-item--error":!!this.error,"xpl-list-item--disabled":!!this.disabled},hidden:this.hidden},function(t){return t.avatar&&"string"==typeof t.avatar?"/"===t.avatar.slice(0,1)||"http"===t.avatar.slice(0,4)?e("xpl-avatar",{src:t.avatar,name:t.title}):e("xpl-avatar",{name:t.title},t.avatar):null}(t),e(a,{class:"xpl-list-item-content",...l},e("div",{class:"xpl-list-left"},e("div",null,e("h4",null,t.title),t.metadata&&e("ul",{class:"xpl-list-item-metadata"},t.metadata.map((t=>"string"==typeof t?e("li",null,t):e("li",null,e("xpl-icon",{icon:t.icon})," ",t.text)))))),i&&e("div",{class:"xpl-list-right"},t.subtext&&e("div",{class:"xpl-list-item-subtext"},t.subtext),t.avatars&&e("div",{class:"xpl-avatar-group xpl-avatar-group--s"},t.avatars.map((t=>e("img",{src:t,alt:""})))),t.badges&&t.badges.map((t=>"string"==typeof t?e("xpl-badge",null,t):e("xpl-badge",{dot:t.dot,variant:t.variant},t.text)))),t.href?e("span",{class:"xpl-list-item__link-chevron","aria-hidden":"true"},e("xpl-icon",{icon:"chevron-right",size:12})):null))}renderTitleBadge(){if(!this.slotPresence.titleBadge)return null;const t=this.titleBadgeVariant||this.el.getAttribute("title-badge-variant")||this.el.getAttribute("titlebadgevariant")||"purple";return e("div",{class:"xpl-list-item__title-badge"},e("xpl-badge",{dotOnly:!0,size:"small",variant:t}))}renderSlotBasedItem(){const t=this.slotPresence.details||this.slotPresence.badges||this.slotPresence.actions,i=this.slotPresence.title||this.slotPresence.metadata||this.slotPresence.stackedExtra1||this.slotPresence.stackedExtra2||this.slotPresence.stackedExtra3,l=this.radioName||this.el.getAttribute("radio-name")||"",r=this.reorderable&&!this.disabled,h="xpl-list-item__wrapper",n={draggable:r,onDragStart:this.handleDragStart,onDragOver:this.handleDragOver,onDragEnter:this.handleDragEnter,onDragLeave:this.handleDragLeave,onDrop:this.handleDrop,onDragEnd:this.handleDragEnd},o=e(a,null,r&&e("div",{class:"xpl-list-item__reorderable"},e("xpl-button",{class:{"xpl-list-item__drag-handle":!0,"xpl-list-item__drag-handle--keyboard-mode":this.isKeyboardMode},type:"button",variant:"tertiary",sentiment:"neutral",iconOnly:!0,icon:this.isKeyboardMode?"caret-expand-y":"grip-dots-vertical",disabled:this.disabled,onClick:this.preventRowLinkNavigation,onMouseDown:this.handleDragHandleMouseDown,onKeyDown:this.handleDragHandleKeyDown})),this.selectable&&l?e("div",{class:"xpl-list-item__selectable",onClick:this.handleRadioClick},e("xpl-radio",{checked:this.selected,disabled:this.disabled,name:l,value:this.itemId??"",onRadioChange:this.handleRadioChange},this.getSelectableRadioLabel())):null,this.slotPresence.avatar&&e("div",{class:"xpl-list-item__avatar",onClick:this.preventRowLinkNavigation},e("slot",{name:"avatar"})),i&&e("div",{class:"xpl-list-item__stacked"},(this.slotPresence.title||this.slotPresence.titleBadge)&&e("div",{class:"xpl-list-item__title-row"},e("div",{class:"xpl-list-item__title-wrapper"},this.renderTitleBadge(),e("slot",{name:"title"}))),this.showDivider&&e("xpl-divider",null),this.slotPresence.metadata&&e("div",{class:"xpl-list-item__metadata-row"},e("slot",{name:"metadata"})),this.slotPresence.stackedExtra1&&e("div",{class:"xpl-list-item__stacked-extra-1"},e("slot",{name:"stacked-extra-1"})),this.slotPresence.stackedExtra2&&e("div",{class:"xpl-list-item__stacked-extra-2"},e("slot",{name:"stacked-extra-2"})),this.slotPresence.stackedExtra3&&e("div",{class:"xpl-list-item__stacked-extra-3"},e("slot",{name:"stacked-extra-3"}))),t&&e("div",{class:"xpl-list-item__right"},this.slotPresence.details&&e("div",{class:"xpl-list-item__details"},e("slot",{name:"details"})),this.slotPresence.badges&&e("div",{class:"xpl-list-item__badges"},e("slot",{name:"badges"})),this.slotPresence.actions&&e("div",{class:"xpl-list-item__actions",onClick:this.preventRowLinkNavigation},e("slot",{name:"actions"}))),this.href?e("span",{class:"xpl-list-item__link-chevron","aria-hidden":"true"},e("xpl-icon",{icon:"chevron-right",size:12})):null);return e(s,{class:{"xpl-list-item":!0,"xpl-list-item--error":!(!this.error&&!this.slotPresence.errorText),"xpl-list-item--disabled":!!this.disabled,"xpl-list-item--slot-based":!0,"xpl-list-item--selected":!!this.selected},hidden:this.hidden},this.href?e("div",{role:"listitem",class:"xpl-list-item__listitem-shell"},e("a",{class:h,href:this.href,...n},o)):e("div",{role:"listitem",class:h,...n},o),this.slotPresence.errorText&&e("div",{class:"xpl-list-item__error-text"},e("xpl-icon",{icon:"circle-warning",size:16}),e("slot",{name:"error-text"})))}syncReorderDragHandleA11y(){if(!this.reorderable||this.disabled)return;const t=this.el.querySelector("xpl-button.xpl-list-item__drag-handle"),i=t?.querySelector("button");i&&(i.setAttribute("aria-label",this.isKeyboardMode?"Press arrow up or down to reorder, Escape to exit":"Press Enter or Space to activate keyboard reorder mode, or drag to reorder"),i.setAttribute("aria-pressed",this.isKeyboardMode?"true":"false"))}render(){return this.hidden?e(s,{hidden:!0}):this.item?this.renderPropBasedItem():this.renderSlotBasedItem()}get el(){return l(this)}static get watchers(){return{item:[{handleItemChange:0}],keyboardActive:[{handleKeyboardActiveChange:0}],selected:[{handleSelectedChange:0}],titleBadgeVariant:[{handleTitleBadgeVariantChange:0}]}}};export{r as xpl_list_item}
@@ -1 +1 @@
1
- import{r as t,c as i,f as e,h as s,H as a,g as h}from"./p-ukZKsqqq.js";import{i as n}from"./p-Dqb1pIRo.js";const o=class{constructor(e){t(this,e),this.openChange=i(this,"openChange",7),this.drawerClosing=!1,this.hasHeaderSlot=!1,this.open=!1,this.onViewportChange=()=>{this.clearCloseTransition(),this.syncDocKeyDownListener()},this.focusToggleAfterClose=()=>{this.isBelowMdBreakpoint()&&(void 0!==this.toggleFocusTimeoutId&&clearTimeout(this.toggleFocusTimeoutId),this.toggleFocusTimeoutId=setTimeout((()=>{this.toggleFocusTimeoutId=void 0,this.el.querySelector(".xpl-side-nav__toggle button")?.focus()}),0))},this.focusDrawerOnOpen=()=>{this.isBelowMdBreakpoint()&&(void 0!==this.drawerFocusTimeoutId&&clearTimeout(this.drawerFocusTimeoutId),this.drawerFocusTimeoutId=setTimeout((()=>{this.drawerFocusTimeoutId=void 0;const t=this.el.querySelector(".xpl-side-nav__wrapper"),i=t?this.getFocusableElements().find((i=>t.contains(i))):void 0,e=this.el.querySelector(".xpl-side-nav__toggle button");(i??e)?.focus()}),0))},this.onBackdropClick=()=>this.setOpenState(!1),this.onDocKeyDown=t=>{if(this.isMobileDrawerActive()&&!this.shouldYieldFocusToExternalModal())switch(t.key.toLowerCase()){case"escape":if(!this.open)return;if(this.anyDescendantPopoverIsOpen())return;return t.preventDefault(),t.stopPropagation(),void this.setOpenState(!1);case"tab":this.trapTabKey(t)}},this.onToggleClick=()=>this.setOpenState(!this.open)}onOpenChanged(t,i){i&&!t&&this.isBelowMdBreakpoint()?(this.drawerClosing=!0,void 0!==this.closeTransitionTimeoutId&&clearTimeout(this.closeTransitionTimeoutId),this.closeTransitionTimeoutId=setTimeout((()=>{this.closeTransitionTimeoutId=void 0,this.drawerClosing=!1,this.syncDocKeyDownListener()}),600)):this.clearCloseTransition(),this.syncDocKeyDownListener(),i&&!t&&this.focusToggleAfterClose(),!i&&t&&this.focusDrawerOnOpen()}connectedCallback(){n()&&"function"==typeof window.matchMedia&&(this.mobileMq=window.matchMedia("(max-width: 767px)"),this.mobileMq.addEventListener("change",this.onViewportChange)),this.syncDocKeyDownListener(),this.syncHeaderSlot(),this.connectHeaderSlotObserver()}componentWillLoad(){this.syncHeaderSlot()}componentWillRender(){this.disconnectHeaderSlotObserver()}componentDidRender(){this.scheduleHeaderSlotSync()}componentDidLoad(){this.open&&(this.syncDocKeyDownListener(),this.focusDrawerOnOpen())}disconnectedCallback(){void 0!==this.toggleFocusTimeoutId&&(clearTimeout(this.toggleFocusTimeoutId),this.toggleFocusTimeoutId=void 0),void 0!==this.drawerFocusTimeoutId&&(clearTimeout(this.drawerFocusTimeoutId),this.drawerFocusTimeoutId=void 0),this.clearCloseTransition(),this.mobileMq?.removeEventListener("change",this.onViewportChange),this.mobileMq=void 0,this.removeDocKeyDownListener(),void 0!==this.headerSlotSyncTimeoutId&&(clearTimeout(this.headerSlotSyncTimeoutId),this.headerSlotSyncTimeoutId=void 0),this.disconnectHeaderSlotObserver()}async toggle(){this.setOpenState(!this.open)}async setOpen(t){this.setOpenState(t)}removeDocKeyDownListener(){this.el.ownerDocument.removeEventListener("keydown",this.onDocKeyDown,!1)}syncDocKeyDownListener(){this.removeDocKeyDownListener(),this.isMobileDrawerActive()&&this.el.ownerDocument.addEventListener("keydown",this.onDocKeyDown,!1)}isBelowMdBreakpoint(){return this.mobileMq?.matches??!1}isMobileDrawerActive(){return(this.open||this.drawerClosing)&&this.isBelowMdBreakpoint()}clearCloseTransition(){void 0!==this.closeTransitionTimeoutId&&(clearTimeout(this.closeTransitionTimeoutId),this.closeTransitionTimeoutId=void 0),this.drawerClosing=!1}shouldYieldFocusToExternalModal(){const t=this.el.ownerDocument.activeElement;return!(!t||this.el.contains(t))&&null!==t.closest('[aria-modal="true"]')}anyDescendantPopoverIsOpen(){const t=this.el.querySelectorAll("xpl-popover");for(let i=0;i<t.length;i+=1){const e=t[i].querySelector(".xpl-popover");if(e?.classList.contains("xpl-popover--is-open"))return!0}return!1}setOpenState(t){const i=this.open;t!==i&&(this.open=t,this.openChange.emit(t),i&&!t&&this.focusToggleAfterClose())}getFocusableElements(){const t=this.el.ownerDocument.activeElement;return Array.from(this.el.querySelectorAll('button:not([disabled]), a[href]:not([tabindex="-1"]), input:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter((i=>!i.closest("[inert]")&&(null!==i.offsetParent||i===t)))}trapTabKey(t){if(this.shouldYieldFocusToExternalModal())return;const i=this.getFocusableElements();if(0===i.length)return;const e=i[0],s=i[i.length-1],a=this.el.ownerDocument.activeElement;t.shiftKey?a!==e&&this.el.contains(a)||(t.preventDefault(),s.focus()):a!==s&&this.el.contains(a)||(t.preventDefault(),e.focus())}connectHeaderSlotObserver(){this.disconnectHeaderSlotObserver(),"undefined"!=typeof MutationObserver&&(this.headerSlotObserver=new MutationObserver((()=>{this.scheduleHeaderSlotSync()})),this.headerSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectHeaderSlotObserver(){this.headerSlotObserver?.disconnect(),this.headerSlotObserver=void 0}scheduleHeaderSlotSync(){void 0!==this.headerSlotSyncTimeoutId&&clearTimeout(this.headerSlotSyncTimeoutId),this.headerSlotSyncTimeoutId=setTimeout((()=>{this.headerSlotSyncTimeoutId=void 0,this.el.isConnected&&(this.syncHeaderSlot(),this.connectHeaderSlotObserver())}),0)}syncHeaderSlot(){const t=Array.from(this.el.querySelectorAll('[slot="nav-header"]')).filter((t=>t.closest("xpl-side-nav")===this.el&&(t.parentElement===this.el||null!==t.closest(".xpl-side-nav__header")))),i=t.length>0;i===this.hasHeaderSlot?i&&t.some((t=>t.parentElement===this.el))&&e(this):this.hasHeaderSlot=i}render(){return s(a,{key:"8cffb32c21217edd67117acb264f3df5587fa32d",class:{"xpl-side-nav":!0,"xpl-side-nav--open":this.open}},s("xpl-button",{key:"5a82bbc6a65690f550fe192aa6cd593efbf86bc8",class:"xpl-side-nav__toggle",variant:"tertiary",iconOnly:!0,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}),s("div",{key:"1315f34c7a6e1c793cc347292117f2e5992f074d",class:"xpl-side-nav__wrapper"},s("nav",{key:"4b7446999c74b1554dae84d04c439a75b712b429",class:"xpl-side-nav__content","aria-label":this.label},s("div",{key:"bce43018bf61c73dde0adb053fa87d0789edd329",class:"xpl-side-nav__scroll-area"},this.hasHeaderSlot&&s("div",{key:"d70ecd07a6c71dd76ce162b9167d3b5a11ba4ea8",class:"xpl-side-nav__header"},s("slot",{key:"c9d10e57d77a69cf00e86c2a17a94eba5e54d23e",name:"nav-header"})),s("div",{key:"6873372f5eb854ee7ef88e6d3085d81be62fc508",class:"xpl-side-nav__section"},s("slot",{key:"b07fdb332e8ccaaa69db61ade9bb88e43d6f8753",name:"section"}))),s("div",{key:"f34e444c538cbf246aee52ebfe35657a8fa1d706",class:"xpl-side-nav__footer"},s("slot",{key:"da70c80d9378ad1e0dbf23d33d521021c346ee23",name:"nav-footer"})))),s("xpl-backdrop",{key:"769576cb0961b8a00308c748d0efbaa0ef2b3ca5",class:"xpl-side-nav__backdrop",onClick:this.onBackdropClick}))}get el(){return h(this)}static get watchers(){return{open:[{onOpenChanged:0}]}}};export{o as xpl_side_nav}
1
+ import{r as t,c as i,f as s,h as e,H as h,g as a}from"./p-CgJEmBQY.js";import{i as n}from"./p-Dqb1pIRo.js";const o=class{constructor(s){t(this,s),this.openChange=i(this,"openChange",7),this.drawerClosing=!1,this.hasHeaderSlot=!1,this.open=!1,this.onViewportChange=()=>{this.clearCloseTransition(),this.syncDocKeyDownListener()},this.focusToggleAfterClose=()=>{this.isBelowMdBreakpoint()&&(void 0!==this.toggleFocusTimeoutId&&clearTimeout(this.toggleFocusTimeoutId),this.toggleFocusTimeoutId=setTimeout((()=>{this.toggleFocusTimeoutId=void 0,this.el.querySelector(".xpl-side-nav__toggle button")?.focus()}),0))},this.focusDrawerOnOpen=()=>{this.isBelowMdBreakpoint()&&(void 0!==this.drawerFocusTimeoutId&&clearTimeout(this.drawerFocusTimeoutId),this.drawerFocusTimeoutId=setTimeout((()=>{this.drawerFocusTimeoutId=void 0;const t=this.el.querySelector(".xpl-side-nav__wrapper"),i=t?this.getFocusableElements().find((i=>t.contains(i))):void 0,s=this.el.querySelector(".xpl-side-nav__toggle button");(i??s)?.focus()}),0))},this.onBackdropClick=()=>this.setOpenState(!1),this.onDocKeyDown=t=>{if(this.isMobileDrawerActive()&&!this.shouldYieldFocusToExternalModal())switch(t.key.toLowerCase()){case"escape":if(!this.open)return;if(this.anyDescendantPopoverIsOpen())return;return t.preventDefault(),t.stopPropagation(),void this.setOpenState(!1);case"tab":this.trapTabKey(t)}},this.onToggleClick=()=>this.setOpenState(!this.open)}onOpenChanged(t,i){i&&!t&&this.isBelowMdBreakpoint()?(this.drawerClosing=!0,void 0!==this.closeTransitionTimeoutId&&clearTimeout(this.closeTransitionTimeoutId),this.closeTransitionTimeoutId=setTimeout((()=>{this.closeTransitionTimeoutId=void 0,this.drawerClosing=!1,this.syncDocKeyDownListener()}),600)):this.clearCloseTransition(),this.syncDocKeyDownListener(),i&&!t&&this.focusToggleAfterClose(),!i&&t&&this.focusDrawerOnOpen()}connectedCallback(){n()&&"function"==typeof window.matchMedia&&(this.mobileMq=window.matchMedia("(max-width: 767px)"),this.mobileMq.addEventListener("change",this.onViewportChange)),this.syncDocKeyDownListener(),this.syncHeaderSlot(),this.connectHeaderSlotObserver()}componentWillLoad(){this.syncHeaderSlot()}componentWillRender(){this.disconnectHeaderSlotObserver()}componentDidRender(){this.scheduleHeaderSlotSync()}componentDidLoad(){this.open&&(this.syncDocKeyDownListener(),this.focusDrawerOnOpen())}disconnectedCallback(){void 0!==this.toggleFocusTimeoutId&&(clearTimeout(this.toggleFocusTimeoutId),this.toggleFocusTimeoutId=void 0),void 0!==this.drawerFocusTimeoutId&&(clearTimeout(this.drawerFocusTimeoutId),this.drawerFocusTimeoutId=void 0),this.clearCloseTransition(),this.mobileMq?.removeEventListener("change",this.onViewportChange),this.mobileMq=void 0,this.removeDocKeyDownListener(),void 0!==this.headerSlotSyncTimeoutId&&(clearTimeout(this.headerSlotSyncTimeoutId),this.headerSlotSyncTimeoutId=void 0),this.disconnectHeaderSlotObserver()}async toggle(){this.setOpenState(!this.open)}async setOpen(t){this.setOpenState(t)}removeDocKeyDownListener(){this.el.ownerDocument.removeEventListener("keydown",this.onDocKeyDown,!1)}syncDocKeyDownListener(){this.removeDocKeyDownListener(),this.isMobileDrawerActive()&&this.el.ownerDocument.addEventListener("keydown",this.onDocKeyDown,!1)}isBelowMdBreakpoint(){return this.mobileMq?.matches??!1}isMobileDrawerActive(){return(this.open||this.drawerClosing)&&this.isBelowMdBreakpoint()}clearCloseTransition(){void 0!==this.closeTransitionTimeoutId&&(clearTimeout(this.closeTransitionTimeoutId),this.closeTransitionTimeoutId=void 0),this.drawerClosing=!1}shouldYieldFocusToExternalModal(){const t=this.el.ownerDocument.activeElement;return!(!t||this.el.contains(t))&&null!==t.closest('[aria-modal="true"]')}anyDescendantPopoverIsOpen(){const t=this.el.querySelectorAll("xpl-popover");for(let i=0;i<t.length;i+=1){const s=t[i].querySelector(".xpl-popover");if(s?.classList.contains("xpl-popover--is-open"))return!0}return!1}setOpenState(t){const i=this.open;t!==i&&(this.open=t,this.openChange.emit(t),i&&!t&&this.focusToggleAfterClose())}getFocusableElements(){const t=this.el.ownerDocument.activeElement;return Array.from(this.el.querySelectorAll('button:not([disabled]), a[href]:not([tabindex="-1"]), input:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter((i=>!i.closest("[inert]")&&(null!==i.offsetParent||i===t)))}trapTabKey(t){if(this.shouldYieldFocusToExternalModal())return;const i=this.getFocusableElements();if(0===i.length)return;const s=i[0],e=i[i.length-1],h=this.el.ownerDocument.activeElement;t.shiftKey?h!==s&&this.el.contains(h)||(t.preventDefault(),e.focus()):h!==e&&this.el.contains(h)||(t.preventDefault(),s.focus())}connectHeaderSlotObserver(){this.disconnectHeaderSlotObserver(),"undefined"!=typeof MutationObserver&&(this.headerSlotObserver=new MutationObserver((()=>{this.scheduleHeaderSlotSync()})),this.headerSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectHeaderSlotObserver(){this.headerSlotObserver?.disconnect(),this.headerSlotObserver=void 0}scheduleHeaderSlotSync(){void 0!==this.headerSlotSyncTimeoutId&&clearTimeout(this.headerSlotSyncTimeoutId),this.headerSlotSyncTimeoutId=setTimeout((()=>{this.headerSlotSyncTimeoutId=void 0,this.el.isConnected&&(this.syncHeaderSlot(),this.connectHeaderSlotObserver())}),0)}syncHeaderSlot(){const t=Array.from(this.el.querySelectorAll('[slot="nav-header"]')).filter((t=>t.closest("xpl-side-nav")===this.el&&(t.parentElement===this.el||null!==t.closest(".xpl-side-nav__header")))),i=t.length>0;i===this.hasHeaderSlot?i&&t.some((t=>t.parentElement===this.el))&&s(this):this.hasHeaderSlot=i}render(){return e(h,{key:"796d10dd1b98d02af5a72757db33adcbccc6ba8f",class:{"xpl-side-nav":!0,"xpl-side-nav--open":this.open}},e("xpl-button",{key:"94217602d9df6b196ff624d73c90cbd8d177c207",class:"xpl-side-nav__toggle",variant:"tertiary",iconOnly:!0,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}),e("div",{key:"79cbb696b79ee474f95f50de939dc1b8abee1185",class:"xpl-side-nav__wrapper"},e("nav",{key:"3222db09f9172b69a7ff7a23bc62887f97dedc57",class:"xpl-side-nav__content","aria-label":this.label},e("div",{key:"b229c6451e0eac9c620215355209e8168b1a90b7",class:"xpl-side-nav__scroll-area"},this.hasHeaderSlot&&e("div",{key:"9c008d9a405726b0ea417158b9fc3f3037176d91",class:"xpl-side-nav__header"},e("slot",{key:"e63409cc07440d56fba5c07bce7ec1720a48c103",name:"nav-header"})),e("div",{key:"eed607668a9ee58af8a855d602d2bf71fea2ad2c",class:"xpl-side-nav__section"},e("slot",{key:"df7a877af24b54d9e8fdc885121c680b3e9b76e4",name:"section"}))),e("div",{key:"73302b7bc43f612ed0257f42ed5138238a8a1ebc",class:"xpl-side-nav__footer"},e("slot",{key:"fb71041ebb895e8030b1ac3984cbea67244b622b",name:"nav-footer"})))),e("xpl-backdrop",{key:"69487adfe2fc2e30d6640209693cb4b8e29ce1e6",class:"xpl-side-nav__backdrop",onClick:this.onBackdropClick}))}get el(){return a(this)}static get watchers(){return{open:[{onOpenChanged:0}]}}};export{o as xpl_side_nav}
@@ -0,0 +1 @@
1
+ import{r as t,h as i,H as s}from"./p-CgJEmBQY.js";const e=class{constructor(i){t(this,i),this.xs=6,this.sm=6,this.md=6,this.lg=6}render(){let t="xpl-grid-item";return t+=` xpl-grid-item-xs-${this.xs}`,t+=` xpl-grid-item-sm-${this.sm}`,t+=` xpl-grid-item-md-${this.md}`,t+=` xpl-grid-item-lg-${this.lg}`,i(s,{key:"6b8fd5050d72b282b742902a04e9fc6c7c86c23e",class:t},i("slot",{key:"90918cb363ee43c81ae79b417e140def5e2dff43"}))}};export{e as xpl_grid_item}
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as e,g as n}from"./p-ukZKsqqq.js";import{h as o}from"./p-DkqlawVY.js";import{i as a}from"./p-Dqb1pIRo.js";const h=[".xpl-top-nav__brand-logo-slot",".xpl-top-nav__brand-bar"],l=".xpl-top-nav__user-menu-panel",r=[l,".xpl-top-nav__user-menu-stash"],p=[".xpl-top-nav__user-popover",".xpl-top-nav__user-menu-stash",".xpl-top-nav__right-user"],c=[l],d=class{constructor(i){t(this,i),this.brandClick=s(this,"brandClick",7),this.navOpen=s(this,"navOpen",7),this.slotProjectionDirty=!1,this.userPopoverDrawerSyncHost=null,this.brandLogoSlotPresent=!1,this.open=!1,this.slotProjectionNonce=0,this.userMenuSlotPresent=!1,this.userMenuTriggerSlotPresent=!1,this.focusNavControlAfterClose=()=>{void 0!==this.navControlFocusTimeoutId&&clearTimeout(this.navControlFocusTimeoutId),this.navControlFocusTimeoutId=setTimeout((()=>{this.navControlFocusTimeoutId=void 0,this.el.querySelector(".xpl-top-nav__nav-control")?.focus()}),0)},this.handleUserPopoverIsOpenChange=t=>{const{detail:s}=t;!0===s&&this.closeMobileDrawerWhenAccountMenuOpens()},this.onBrandNavItemClick=t=>{null==this.brandHref&&this.brandClick.emit(t.detail)},this.onDocKeyDownEscape=t=>{this.navControl&&this.open&&"Escape"===t.key&&(this.anyDescendantPopoverIsOpen()||this.el.querySelector("xpl-top-nav-item.xpl-top-nav-item--dropdown-open")||(t.preventDefault(),t.stopPropagation(),this.open=!1,this.navOpen.emit(!1),this.focusNavControlAfterClose()))},this.onDocClickOutsideDismiss=t=>{if(!this.navControl||!this.open)return;const s=t.target;null==s||this.anyDescendantPopoverIsOpen()||this.el.querySelector(".xpl-top-nav__left-primary")?.contains(s)||this.el.querySelector(".xpl-top-nav__nav-control")?.contains(s)||(this.open=!1,this.resetMobileCascade(),this.navOpen.emit(!1))},this.onNavToggle=()=>{const t=this.open;this.open=!this.open,this.navOpen.emit(this.open),t&&!this.open&&(this.resetMobileCascade(),this.focusNavControlAfterClose())},this.onUserPopoverInnerOpenClassChange=()=>{const t=this.userPopoverDrawerSyncHost;if(!t)return;const s=t.querySelector(".xpl-popover");s?.classList.contains("xpl-popover--is-open")&&this.closeMobileDrawerWhenAccountMenuOpens()},this.syncBrandLogoSlot=()=>{const t=o(this.el,"brand-logo",{hostTag:"xpl-top-nav",projectionRegionSelectors:h});t!==this.brandLogoSlotPresent&&(this.brandLogoSlotPresent=t)},this.syncUserMenuSlots=()=>{const t=o(this.el,"user-menu",{hostTag:"xpl-top-nav",projectionRegionSelectors:r}),s=o(this.el,"user-menu-trigger",{hostTag:"xpl-top-nav",projectionRegionSelectors:p,excludedRegionSelectors:c});t!==this.userMenuSlotPresent&&(this.userMenuSlotPresent=t),s!==this.userMenuTriggerSlotPresent&&(this.userMenuTriggerSlotPresent=s)}}onNavControlChanged(){this.syncOpenFromNavControl(),this.syncDocDismissListeners()}connectedCallback(){this.syncOpenFromNavControl(),this.syncDocDismissListeners(),this.syncBrandLogoSlot(),this.syncUserMenuSlots(),this.connectSlotContentObserver(),this.flushPendingSlotProjection()}disconnectedCallback(){void 0!==this.navControlFocusTimeoutId&&(clearTimeout(this.navControlFocusTimeoutId),this.navControlFocusTimeoutId=void 0),void 0!==this.deferredSlotContentObserverSyncTimeoutId&&(clearTimeout(this.deferredSlotContentObserverSyncTimeoutId),this.deferredSlotContentObserverSyncTimeoutId=void 0),this.removeDocDismissListeners(),this.disconnectSlotContentObserver(),this.disconnectUserPopoverDrawerSync()}componentWillLoad(){this.syncOpenFromNavControl(),this.syncBrandLogoSlot(),this.syncUserMenuSlots()}componentWillRender(){this.disconnectSlotContentObserver()}componentDidRender(){this.connectSlotContentObserver(),this.connectUserPopoverDrawerSync()}get childAccountLabelText(){return this.childAccountLabel?.trim()??""}get hasBrand(){const t=this.brandName?.trim()??"",s=this.brandLogo?.trim()??"";return t.length>0||s.length>0||this.brandLogoSlotPresent}get hasUserMenu(){return this.userMenuSlotPresent}get needsUserMenuSlotStash(){return!this.userMenuSlotPresent&&this.userMenuTriggerSlotPresent}get usesBuiltInChildAccountTrigger(){return this.hasUserMenu&&!this.userMenuTriggerSlotPresent}anyDescendantPopoverIsOpen(){const t=this.el.querySelectorAll("xpl-popover");for(let s=0;s<t.length;s+=1){const i=t[s].querySelector(".xpl-popover");if(i?.classList.contains("xpl-popover--is-open"))return!0}return!1}closeMobileDrawerWhenAccountMenuOpens(){this.navControl&&this.open&&(this.open=!1,this.navOpen.emit(!1))}connectSlotContentObserver(){this.disconnectSlotContentObserver(),"undefined"!=typeof MutationObserver&&(this.slotContentObserver=new MutationObserver((t=>{this.scheduleSlotContentSyncFromObserver(t)})),this.slotContentObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}connectUserPopoverDrawerSync(){const t=this.hasUserMenu?this.el.querySelector("xpl-popover.xpl-top-nav__user-popover"):null;if(t===this.userPopoverDrawerSyncHost)return;if(this.disconnectUserPopoverDrawerSync(),!t)return;this.userPopoverDrawerSyncHost=t,t.addEventListener("isOpenChange",this.handleUserPopoverIsOpenChange);const s=t.querySelector(".xpl-popover");s&&"undefined"!=typeof MutationObserver&&(this.userPopoverDrawerOpenObserver=new MutationObserver((()=>{this.onUserPopoverInnerOpenClassChange()})),this.userPopoverDrawerOpenObserver.observe(s,{attributes:!0,attributeFilter:["class"]}),this.onUserPopoverInnerOpenClassChange())}disconnectSlotContentObserver(){this.slotContentObserver?.disconnect(),this.slotContentObserver=void 0}disconnectUserPopoverDrawerSync(){this.userPopoverDrawerSyncHost&&(this.userPopoverDrawerSyncHost.removeEventListener("isOpenChange",this.handleUserPopoverIsOpenChange),this.userPopoverDrawerSyncHost=null),this.userPopoverDrawerOpenObserver?.disconnect(),this.userPopoverDrawerOpenObserver=void 0}removeDocDismissListeners(){const t=this.el.ownerDocument;t.removeEventListener("keydown",this.onDocKeyDownEscape,!1),t.removeEventListener("click",this.onDocClickOutsideDismiss,!0)}resetMobileCascade(){const t=this.el.querySelector(".xpl-top-nav__left-primary > xpl-top-nav-item.xpl-top-nav-item--dropdown-open");t?.closeMenu().catch((()=>{}))}scheduleSlotContentSyncFromObserver(t){this.mutationsAffectHostSlotting(t)&&(this.slotProjectionDirty=!0),void 0!==this.deferredSlotContentObserverSyncTimeoutId&&clearTimeout(this.deferredSlotContentObserverSyncTimeoutId),this.deferredSlotContentObserverSyncTimeoutId=setTimeout((()=>{this.deferredSlotContentObserverSyncTimeoutId=void 0,this.el.isConnected&&(this.syncBrandLogoSlot(),this.syncUserMenuSlots(),this.flushPendingSlotProjection())}),0)}flushPendingSlotProjection(){this.slotProjectionDirty&&(this.slotProjectionDirty=!1,this.slotProjectionNonce+=1)}mutationsAffectHostSlotting(t){return t.some((t=>"attributes"===t.type||"childList"===t.type&&t.target===this.el))}syncDocDismissListeners(){if(this.removeDocDismissListeners(),a()&&this.navControl){const t=this.el.ownerDocument;t.addEventListener("keydown",this.onDocKeyDownEscape,!1),t.addEventListener("click",this.onDocClickOutsideDismiss,!0)}}syncOpenFromNavControl(){const t=this.open;this.open=!1,t&&!this.navControl&&(this.resetMobileCascade(),this.navOpen.emit(!1))}render(){return i(e,{key:"f51ed285523198b4ef39de7ea1e5dc025d5a308a",class:{"xpl-top-nav":!0,"xpl-top-nav--nav-control":Boolean(this.navControl),"xpl-top-nav--open":this.open,"xpl-top-nav--has-child-account-label":this.childAccountLabelText.length>0,"xpl-top-nav--has-brand":this.hasBrand,"xpl-top-nav--has-user-menu":this.hasUserMenu,dark:!0}},i("nav",{key:"c2c14ed2ba975299efd76a391dfd6371b9214449","aria-label":this.label??"top-navigation-bar",class:"xpl-top-nav__bar"},i("div",{key:"c223b947ffbcb55c6c6a06fa3adaeaee7661b61e",class:"xpl-top-nav__inner-left"},this.navControl&&i("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},i("xpl-icon",{key:"b84614dc20189f641b2f5a08eef1c76610135598",class:"xpl-top-nav__control-icon",icon:"menu",size:32})),this.hasBrand&&i("div",{key:"90b104133cbdea89643923fd06f54179978862a5",class:"xpl-top-nav__brand-bar"},i("xpl-top-nav-item",{key:"2b40b31ba1312a76231f7a89b1e95508a5a146a1",class:"xpl-top-nav__brand",href:this.brandHref,onNavItemClick:this.onBrandNavItemClick},this.brandLogo?.trim()?i("img",{class:"xpl-top-nav__brand-logo",src:this.brandLogo,alt:this.brandName?.trim()?this.brandName.trim():"Brand"}):this.brandLogoSlotPresent?i("span",{class:"xpl-top-nav__brand-logo-slot"},i("slot",{name:"brand-logo"})):null,this.brandName?.trim()?i("span",{class:"xpl-top-nav__brand-name"},this.brandName.trim()):null)),i("div",{key:"ca3e9b4501ab3756301b2079bcb9632734e56922",class:{"xpl-top-nav__aside":!0,"xpl-nav-left":!0}},i("div",{key:"f2674faf140853536150058d13a5d40c7399979e",class:"xpl-top-nav__left-primary",role:"list"},i("slot",{key:"29363ac15d3f3bf7a43b237a7f7e0622c5bd54c4",name:"left-aside"})))),i("div",{key:"7c83bd0a80649b9cbe9ed757ead1136b6fabd09c",class:{"xpl-top-nav__aside":!0,"xpl-nav-right":!0}},i("div",{key:"c67e6d3365d90cd7f7c55b08dcc4fa56dcb3e291",class:"xpl-nav-right__list"},i("div",{key:"46b9c3b0b010bf52a5632bc81b279310c0a54438",class:"xpl-top-nav__right-rail"},i("div",{key:"72279d15a5464dfabd9f92c04bc231e270ea04b9",class:"xpl-top-nav__right-lead"},i("slot",{key:"d8b44d01141f9cfbeb7d6b019345ffc8c94fd0c3",name:"right-aside"})),this.hasUserMenu?i("div",{class:"xpl-top-nav__right-user"},i("xpl-popover",{class:"xpl-top-nav__user-popover dark",position:"bottom-end",display:"menu"},this.userMenuTriggerSlotPresent?i("slot",{name:"user-menu-trigger",slot:"trigger"}):this.usesBuiltInChildAccountTrigger?i("xpl-button",{slot:"trigger",class:"xpl-top-nav__child-account-trigger",type:"button",variant:"tertiary",icon:"chevron-down",iconPosition:"end",iconOnly:0===this.childAccountLabelText.length,"aria-haspopup":"dialog","aria-label":this.childAccountLabelText.length>0?void 0:"Open account menu"},this.childAccountLabelText.length>0?this.childAccountLabelText:null):null,i("div",{class:"xpl-top-nav__user-menu-panel"},i("slot",{name:"user-menu"})))):null,this.needsUserMenuSlotStash?i("div",{class:"xpl-top-nav__user-menu-stash",hidden:!0,"aria-hidden":"true"},i("slot",{name:"user-menu-trigger"}),i("slot",{name:"user-menu"})):null)))))}get el(){return n(this)}static get watchers(){return{navControl:[{onNavControlChanged:0}]}}};export{d as xpl_top_nav}
1
+ import{r as t,c as s,h as i,H as e,g as n}from"./p-CgJEmBQY.js";import{h as o}from"./p-DkqlawVY.js";import{i as a}from"./p-Dqb1pIRo.js";const h=[".xpl-top-nav__brand-logo-slot",".xpl-top-nav__brand-bar"],l=".xpl-top-nav__user-menu-panel",r=[l,".xpl-top-nav__user-menu-stash"],p=[".xpl-top-nav__user-popover",".xpl-top-nav__user-menu-stash",".xpl-top-nav__right-user"],c=[l],d=class{constructor(i){t(this,i),this.brandClick=s(this,"brandClick",7),this.navOpen=s(this,"navOpen",7),this.slotProjectionDirty=!1,this.userPopoverDrawerSyncHost=null,this.brandLogoSlotPresent=!1,this.open=!1,this.slotProjectionNonce=0,this.userMenuSlotPresent=!1,this.userMenuTriggerSlotPresent=!1,this.focusNavControlAfterClose=()=>{void 0!==this.navControlFocusTimeoutId&&clearTimeout(this.navControlFocusTimeoutId),this.navControlFocusTimeoutId=setTimeout((()=>{this.navControlFocusTimeoutId=void 0,this.el.querySelector(".xpl-top-nav__nav-control")?.focus()}),0)},this.handleUserPopoverIsOpenChange=t=>{const{detail:s}=t;!0===s&&this.closeMobileDrawerWhenAccountMenuOpens()},this.onBrandNavItemClick=t=>{null==this.brandHref&&this.brandClick.emit(t.detail)},this.onDocKeyDownEscape=t=>{this.navControl&&this.open&&"Escape"===t.key&&(this.anyDescendantPopoverIsOpen()||this.el.querySelector("xpl-top-nav-item.xpl-top-nav-item--dropdown-open")||(t.preventDefault(),t.stopPropagation(),this.open=!1,this.navOpen.emit(!1),this.focusNavControlAfterClose()))},this.onDocClickOutsideDismiss=t=>{if(!this.navControl||!this.open)return;const s=t.target;null==s||this.anyDescendantPopoverIsOpen()||this.el.querySelector(".xpl-top-nav__left-primary")?.contains(s)||this.el.querySelector(".xpl-top-nav__nav-control")?.contains(s)||(this.open=!1,this.resetMobileCascade(),this.navOpen.emit(!1))},this.onNavToggle=()=>{const t=this.open;this.open=!this.open,this.navOpen.emit(this.open),t&&!this.open&&(this.resetMobileCascade(),this.focusNavControlAfterClose())},this.onUserPopoverInnerOpenClassChange=()=>{const t=this.userPopoverDrawerSyncHost;if(!t)return;const s=t.querySelector(".xpl-popover");s?.classList.contains("xpl-popover--is-open")&&this.closeMobileDrawerWhenAccountMenuOpens()},this.syncBrandLogoSlot=()=>{const t=o(this.el,"brand-logo",{hostTag:"xpl-top-nav",projectionRegionSelectors:h});t!==this.brandLogoSlotPresent&&(this.brandLogoSlotPresent=t)},this.syncUserMenuSlots=()=>{const t=o(this.el,"user-menu",{hostTag:"xpl-top-nav",projectionRegionSelectors:r}),s=o(this.el,"user-menu-trigger",{hostTag:"xpl-top-nav",projectionRegionSelectors:p,excludedRegionSelectors:c});t!==this.userMenuSlotPresent&&(this.userMenuSlotPresent=t),s!==this.userMenuTriggerSlotPresent&&(this.userMenuTriggerSlotPresent=s)}}onNavControlChanged(){this.syncOpenFromNavControl(),this.syncDocDismissListeners()}connectedCallback(){this.syncOpenFromNavControl(),this.syncDocDismissListeners(),this.syncBrandLogoSlot(),this.syncUserMenuSlots(),this.connectSlotContentObserver(),this.flushPendingSlotProjection()}disconnectedCallback(){void 0!==this.navControlFocusTimeoutId&&(clearTimeout(this.navControlFocusTimeoutId),this.navControlFocusTimeoutId=void 0),void 0!==this.deferredSlotContentObserverSyncTimeoutId&&(clearTimeout(this.deferredSlotContentObserverSyncTimeoutId),this.deferredSlotContentObserverSyncTimeoutId=void 0),this.removeDocDismissListeners(),this.disconnectSlotContentObserver(),this.disconnectUserPopoverDrawerSync()}componentWillLoad(){this.syncOpenFromNavControl(),this.syncBrandLogoSlot(),this.syncUserMenuSlots()}componentWillRender(){this.disconnectSlotContentObserver()}componentDidRender(){this.connectSlotContentObserver(),this.connectUserPopoverDrawerSync()}get childAccountLabelText(){return this.childAccountLabel?.trim()??""}get hasBrand(){const t=this.brandName?.trim()??"",s=this.brandLogo?.trim()??"";return t.length>0||s.length>0||this.brandLogoSlotPresent}get hasUserMenu(){return this.userMenuSlotPresent}get needsUserMenuSlotStash(){return!this.userMenuSlotPresent&&this.userMenuTriggerSlotPresent}get usesBuiltInChildAccountTrigger(){return this.hasUserMenu&&!this.userMenuTriggerSlotPresent}anyDescendantPopoverIsOpen(){const t=this.el.querySelectorAll("xpl-popover");for(let s=0;s<t.length;s+=1){const i=t[s].querySelector(".xpl-popover");if(i?.classList.contains("xpl-popover--is-open"))return!0}return!1}closeMobileDrawerWhenAccountMenuOpens(){this.navControl&&this.open&&(this.open=!1,this.navOpen.emit(!1))}connectSlotContentObserver(){this.disconnectSlotContentObserver(),"undefined"!=typeof MutationObserver&&(this.slotContentObserver=new MutationObserver((t=>{this.scheduleSlotContentSyncFromObserver(t)})),this.slotContentObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}connectUserPopoverDrawerSync(){const t=this.hasUserMenu?this.el.querySelector("xpl-popover.xpl-top-nav__user-popover"):null;if(t===this.userPopoverDrawerSyncHost)return;if(this.disconnectUserPopoverDrawerSync(),!t)return;this.userPopoverDrawerSyncHost=t,t.addEventListener("isOpenChange",this.handleUserPopoverIsOpenChange);const s=t.querySelector(".xpl-popover");s&&"undefined"!=typeof MutationObserver&&(this.userPopoverDrawerOpenObserver=new MutationObserver((()=>{this.onUserPopoverInnerOpenClassChange()})),this.userPopoverDrawerOpenObserver.observe(s,{attributes:!0,attributeFilter:["class"]}),this.onUserPopoverInnerOpenClassChange())}disconnectSlotContentObserver(){this.slotContentObserver?.disconnect(),this.slotContentObserver=void 0}disconnectUserPopoverDrawerSync(){this.userPopoverDrawerSyncHost&&(this.userPopoverDrawerSyncHost.removeEventListener("isOpenChange",this.handleUserPopoverIsOpenChange),this.userPopoverDrawerSyncHost=null),this.userPopoverDrawerOpenObserver?.disconnect(),this.userPopoverDrawerOpenObserver=void 0}removeDocDismissListeners(){const t=this.el.ownerDocument;t.removeEventListener("keydown",this.onDocKeyDownEscape,!1),t.removeEventListener("click",this.onDocClickOutsideDismiss,!0)}resetMobileCascade(){const t=this.el.querySelector(".xpl-top-nav__left-primary > xpl-top-nav-item.xpl-top-nav-item--dropdown-open");t?.closeMenu().catch((()=>{}))}scheduleSlotContentSyncFromObserver(t){this.mutationsAffectHostSlotting(t)&&(this.slotProjectionDirty=!0),void 0!==this.deferredSlotContentObserverSyncTimeoutId&&clearTimeout(this.deferredSlotContentObserverSyncTimeoutId),this.deferredSlotContentObserverSyncTimeoutId=setTimeout((()=>{this.deferredSlotContentObserverSyncTimeoutId=void 0,this.el.isConnected&&(this.syncBrandLogoSlot(),this.syncUserMenuSlots(),this.flushPendingSlotProjection())}),0)}flushPendingSlotProjection(){this.slotProjectionDirty&&(this.slotProjectionDirty=!1,this.slotProjectionNonce+=1)}mutationsAffectHostSlotting(t){return t.some((t=>"attributes"===t.type||"childList"===t.type&&t.target===this.el))}syncDocDismissListeners(){if(this.removeDocDismissListeners(),a()&&this.navControl){const t=this.el.ownerDocument;t.addEventListener("keydown",this.onDocKeyDownEscape,!1),t.addEventListener("click",this.onDocClickOutsideDismiss,!0)}}syncOpenFromNavControl(){const t=this.open;this.open=!1,t&&!this.navControl&&(this.resetMobileCascade(),this.navOpen.emit(!1))}render(){return i(e,{key:"93c1434cfab90ea8a21d3fc824e877edb2292d7f",class:{"xpl-top-nav":!0,"xpl-top-nav--nav-control":Boolean(this.navControl),"xpl-top-nav--open":this.open,"xpl-top-nav--has-child-account-label":this.childAccountLabelText.length>0,"xpl-top-nav--has-brand":this.hasBrand,"xpl-top-nav--has-user-menu":this.hasUserMenu,dark:!0}},i("nav",{key:"7a68202ba4a467f1f4c0e4acde8eed38fd81eabe","aria-label":this.label??"top-navigation-bar",class:"xpl-top-nav__bar"},i("div",{key:"5d90e4597ead418cff05105e164c7a51ac77ea6b",class:"xpl-top-nav__inner-left"},this.navControl&&i("button",{key:"f01f960a6612985fb6054bb26e8f15e652f9e9e5",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},i("xpl-icon",{key:"b330f04963bf2f7407d091d5546acb4923acfdd6",class:"xpl-top-nav__control-icon",icon:"menu",size:32})),this.hasBrand&&i("div",{key:"d43a05bf08ddec1a62c3000fce3e0e3332b1eb27",class:"xpl-top-nav__brand-bar"},i("xpl-top-nav-item",{key:"ee5ca421e2a48c7048f418d4d105ee33bb591951",class:"xpl-top-nav__brand",href:this.brandHref,onNavItemClick:this.onBrandNavItemClick},this.brandLogo?.trim()?i("img",{class:"xpl-top-nav__brand-logo",src:this.brandLogo,alt:this.brandName?.trim()?this.brandName.trim():"Brand"}):this.brandLogoSlotPresent?i("span",{class:"xpl-top-nav__brand-logo-slot"},i("slot",{name:"brand-logo"})):null,this.brandName?.trim()?i("span",{class:"xpl-top-nav__brand-name"},this.brandName.trim()):null)),i("div",{key:"eebb82d6e3b74cfefd5dc37f2d943982af57143f",class:{"xpl-top-nav__aside":!0,"xpl-nav-left":!0}},i("div",{key:"80831a29fc9a549e322659c9019b91e8859ae621",class:"xpl-top-nav__left-primary",role:"list"},i("slot",{key:"1afe64acf17e364209086a5d921f7ff1e249426e",name:"left-aside"})))),i("div",{key:"40742d04b8bca081837201c260580367a9a7b44e",class:{"xpl-top-nav__aside":!0,"xpl-nav-right":!0}},i("div",{key:"5fd88026428adc7984960967f1f5f95b4e4775de",class:"xpl-nav-right__list"},i("div",{key:"bebf175590e3dfc04ce1e1824fa6391e4c4618f7",class:"xpl-top-nav__right-rail"},i("div",{key:"64e93df91296ab370401d8df9a5a41a83b8b38d4",class:"xpl-top-nav__right-lead"},i("slot",{key:"103d72d4b657adea4fb4a2bbd5a4ff70b0d7a034",name:"right-aside"})),this.hasUserMenu?i("div",{class:"xpl-top-nav__right-user"},i("xpl-popover",{class:"xpl-top-nav__user-popover dark",position:"bottom-end",display:"menu"},this.userMenuTriggerSlotPresent?i("slot",{name:"user-menu-trigger",slot:"trigger"}):this.usesBuiltInChildAccountTrigger?i("xpl-button",{slot:"trigger",class:"xpl-top-nav__child-account-trigger",type:"button",variant:"tertiary",icon:"chevron-down",iconPosition:"end",iconOnly:0===this.childAccountLabelText.length,"aria-haspopup":"dialog","aria-label":this.childAccountLabelText.length>0?void 0:"Open account menu"},this.childAccountLabelText.length>0?this.childAccountLabelText:null):null,i("div",{class:"xpl-top-nav__user-menu-panel"},i("slot",{name:"user-menu"})))):null,this.needsUserMenuSlotStash?i("div",{class:"xpl-top-nav__user-menu-stash",hidden:!0,"aria-hidden":"true"},i("slot",{name:"user-menu-trigger"}),i("slot",{name:"user-menu"})):null)))))}get el(){return n(this)}static get watchers(){return{navControl:[{onNavControlChanged:0}]}}};export{d as xpl_top_nav}