@xplortech/apollo-core 2.10.0 → 2.11.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 (258) hide show
  1. package/.typings/apollo-components.html-data.json +35 -2
  2. package/build/style.css +259 -34
  3. package/dist/apollo-core/apollo-core.css +12 -12
  4. package/dist/apollo-core/apollo-core.esm.js +1 -1
  5. package/dist/apollo-core/{p-728341d2.entry.js → p-048fdde0.entry.js} +1 -1
  6. package/dist/apollo-core/p-0abc496e.entry.js +1 -0
  7. package/dist/apollo-core/{p-23870463.entry.js → p-1442c052.entry.js} +1 -1
  8. package/dist/apollo-core/p-1e498763.entry.js +1 -0
  9. package/dist/apollo-core/p-26c3a508.entry.js +1 -0
  10. package/dist/apollo-core/p-4ce52107.entry.js +1 -0
  11. package/dist/apollo-core/p-6710fb29.entry.js +1 -0
  12. package/dist/apollo-core/p-7e622809.entry.js +1 -0
  13. package/dist/apollo-core/{p-c17b6351.entry.js → p-87068144.entry.js} +1 -1
  14. package/dist/apollo-core/p-BUgtURvw.js +1 -0
  15. package/dist/apollo-core/p-a3b4820a.entry.js +1 -0
  16. package/dist/apollo-core/p-b2d6dd0e.entry.js +1 -0
  17. package/dist/apollo-core/{p-e9e7577f.entry.js → p-bd2249ef.entry.js} +1 -1
  18. package/dist/apollo-core/p-c96b7957.entry.js +1 -0
  19. package/dist/apollo-core/p-d6be63cd.entry.js +1 -0
  20. package/dist/apollo-core/{p-9adf3694.entry.js → p-ddf76cee.entry.js} +1 -1
  21. package/dist/apollo-core/p-f0554edd.entry.js +1 -0
  22. package/dist/cjs/apollo-core.cjs.js +1 -1
  23. package/dist/cjs/index-BaXVr8ux.js +4 -0
  24. package/dist/cjs/lifecycle-Bf3QwiVa.js +70 -0
  25. package/dist/cjs/loader.cjs.js +1 -1
  26. package/dist/cjs/xpl-accordion.cjs.entry.js +2 -2
  27. package/dist/cjs/xpl-application-shell.cjs.entry.js +1 -1
  28. package/dist/cjs/xpl-avatar_54.cjs.entry.js +292 -243
  29. package/dist/cjs/xpl-button-row.cjs.entry.js +1 -1
  30. package/dist/cjs/xpl-calendar.cjs.entry.js +1 -1
  31. package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +2 -2
  32. package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +2 -2
  33. package/dist/cjs/xpl-dynamic-table.cjs.entry.js +1 -1
  34. package/dist/cjs/xpl-grid-item.cjs.entry.js +1 -1
  35. package/dist/cjs/xpl-grid.cjs.entry.js +1 -1
  36. package/dist/cjs/xpl-large-card.cjs.entry.js +1 -1
  37. package/dist/cjs/xpl-main-nav.cjs.entry.js +1 -1
  38. package/dist/cjs/xpl-table-header.cjs.entry.js +1 -1
  39. package/dist/cjs/xpl-toggle.cjs.entry.js +3 -3
  40. package/dist/cjs/xpl-toolbar.cjs.entry.js +2 -2
  41. package/dist/cjs/xpl-top-nav-menu.cjs.entry.js +97 -0
  42. package/dist/collection/collection-manifest.json +1 -0
  43. package/dist/collection/components/xpl-accordion/xpl-accordion.js +2 -2
  44. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +1 -1
  45. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
  46. package/dist/collection/components/xpl-badge/xpl-badge.js +1 -1
  47. package/dist/collection/components/xpl-banner/xpl-banner.js +2 -2
  48. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +1 -1
  49. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +1 -1
  50. package/dist/collection/components/xpl-button/xpl-button.js +1 -1
  51. package/dist/collection/components/xpl-button-row/xpl-button-row.js +1 -1
  52. package/dist/collection/components/xpl-calendar/xpl-calendar.js +1 -1
  53. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +3 -3
  54. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +1 -1
  55. package/dist/collection/components/xpl-content-area/xpl-content-area.js +1 -1
  56. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +1 -1
  57. package/dist/collection/components/xpl-data-card/xpl-data-card.js +2 -2
  58. package/dist/collection/components/xpl-divider/xpl-divider.js +1 -1
  59. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +1 -1
  60. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +1 -1
  61. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +2 -2
  62. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +4 -4
  63. package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +1 -1
  64. package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +2 -2
  65. package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +2 -2
  66. package/dist/collection/components/xpl-grid/xpl-grid.js +1 -1
  67. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +1 -1
  68. package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +1 -1
  69. package/dist/collection/components/xpl-icon/xpl-icon.js +2 -2
  70. package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +8 -8
  71. package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +3 -3
  72. package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +4 -4
  73. package/dist/collection/components/xpl-input/xpl-input-phone/xpl-input-phone.js +5 -5
  74. package/dist/collection/components/xpl-input/xpl-input-search/xpl-input-search.js +1 -1
  75. package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +2 -2
  76. package/dist/collection/components/xpl-input/xpl-input.js +2 -2
  77. package/dist/collection/components/xpl-large-card/xpl-large-card.js +1 -1
  78. package/dist/collection/components/xpl-list/xpl-list.js +2 -2
  79. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +1 -1
  80. package/dist/collection/components/xpl-modal/xpl-modal.js +1 -1
  81. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +2 -2
  82. package/dist/collection/components/xpl-pagination/xpl-pagination.js +4 -4
  83. package/dist/collection/components/xpl-panel/xpl-panel.js +2 -2
  84. package/dist/collection/components/xpl-popover/xpl-popover.js +4 -4
  85. package/dist/collection/components/xpl-progress-bar/xpl-progress-bar.js +2 -2
  86. package/dist/collection/components/xpl-progress-indicator/xpl-progress-indicator.js +1 -1
  87. package/dist/collection/components/xpl-radio/xpl-radio.js +3 -3
  88. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +1 -1
  89. package/dist/collection/components/xpl-select/xpl-select.js +6 -6
  90. package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +2 -2
  91. package/dist/collection/components/xpl-side-nav/xpl-side-nav.js +2 -2
  92. package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +1 -1
  93. package/dist/collection/components/xpl-slideout/xpl-slideout.js +1 -1
  94. package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +2 -2
  95. package/dist/collection/components/xpl-table/xpl-table.js +5 -5
  96. package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
  97. package/dist/collection/components/xpl-tabs/xpl-tabs.js +5 -5
  98. package/dist/collection/components/xpl-tag/xpl-tag.js +2 -2
  99. package/dist/collection/components/xpl-toast/xpl-toast.js +2 -2
  100. package/dist/collection/components/xpl-toggle/xpl-toggle.js +3 -3
  101. package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +2 -2
  102. package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +1 -1
  103. package/dist/collection/components/xpl-top-nav/top-nav-constants.js +1 -0
  104. package/dist/collection/components/xpl-top-nav/top-nav.stories.js +131 -11
  105. package/dist/collection/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.js +2 -2
  106. package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/top-nav-item-constants.js +2 -0
  107. package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +305 -85
  108. package/dist/collection/components/xpl-top-nav/xpl-top-nav-menu/xpl-top-nav-menu.js +119 -0
  109. package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +11 -5
  110. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
  111. package/dist/collection/utils/lifecycle.js +18 -0
  112. package/dist/components/index.d.ts +2 -0
  113. package/dist/components/index.js +1 -1
  114. package/dist/components/p-2xGSxBGa.js +1 -0
  115. package/dist/components/p-B8RYNiz-.js +1 -0
  116. package/dist/components/p-BDWXBWGE.js +1 -0
  117. package/dist/components/{p-Bn-27-xj.js → p-BJqNuBZr.js} +1 -1
  118. package/dist/components/p-BUgtURvw.js +1 -0
  119. package/dist/components/{p-DllC7F-H.js → p-B_sq_SAX.js} +1 -1
  120. package/dist/components/{p-hPUzON4O.js → p-Bsy-VVS5.js} +1 -1
  121. package/dist/components/p-BxHFEnPN.js +1 -0
  122. package/dist/components/{p-B1PBAEzg.js → p-ByJRw26d.js} +1 -1
  123. package/dist/components/{p-DPTHmitJ.js → p-C5_Yo0ZP.js} +1 -1
  124. package/dist/components/p-C8rmEAx6.js +1 -0
  125. package/dist/components/p-CF_YTx16.js +1 -0
  126. package/dist/components/{p-BG0-6Xek.js → p-CUYkG-PB.js} +1 -1
  127. package/dist/components/{p-kPHfCq1d.js → p-CaW0fL0P.js} +1 -1
  128. package/dist/components/{p-B_Wi--Ov.js → p-CuisR8WP.js} +1 -1
  129. package/dist/components/{p-D97c0GjM.js → p-D2SFagIb.js} +1 -1
  130. package/dist/components/{p-3qMYyqTe.js → p-DKUNbsb0.js} +1 -1
  131. package/dist/components/p-DcXL24UI.js +1 -0
  132. package/dist/components/{p-CVqbA9op.js → p-Dp3H99Yc.js} +1 -1
  133. package/dist/components/p-M900WO1C.js +1 -0
  134. package/dist/components/{p-DEl4Rvzs.js → p-ZTFt9sBy.js} +1 -1
  135. package/dist/components/{p-CFW_w5Wj.js → p-gfb3l9Pr.js} +1 -1
  136. package/dist/components/{p-C9BO2vL-.js → p-h1Gbk5lO.js} +1 -1
  137. package/dist/components/xpl-accordion.js +1 -1
  138. package/dist/components/xpl-application-shell.js +1 -1
  139. package/dist/components/xpl-avatar.js +1 -1
  140. package/dist/components/xpl-backdrop.js +1 -1
  141. package/dist/components/xpl-badge.js +1 -1
  142. package/dist/components/xpl-banner.js +1 -1
  143. package/dist/components/xpl-breadcrumb-item.js +1 -1
  144. package/dist/components/xpl-breadcrumbs.js +1 -1
  145. package/dist/components/xpl-button-row.js +1 -1
  146. package/dist/components/xpl-button.js +1 -1
  147. package/dist/components/xpl-calendar.js +1 -1
  148. package/dist/components/xpl-checkbox.js +1 -1
  149. package/dist/components/xpl-choicelist.js +1 -1
  150. package/dist/components/xpl-content-area.js +1 -1
  151. package/dist/components/xpl-dashboard.js +1 -1
  152. package/dist/components/xpl-data-card.js +1 -1
  153. package/dist/components/xpl-divider.js +1 -1
  154. package/dist/components/xpl-dropdown-group.js +1 -1
  155. package/dist/components/xpl-dropdown-heading.js +1 -1
  156. package/dist/components/xpl-dropdown-option.js +1 -1
  157. package/dist/components/xpl-dropdown.js +1 -1
  158. package/dist/components/xpl-dynamic-table-cell.js +1 -1
  159. package/dist/components/xpl-dynamic-table-row.js +1 -1
  160. package/dist/components/xpl-dynamic-table.js +1 -1
  161. package/dist/components/xpl-grid-item.js +1 -1
  162. package/dist/components/xpl-grid.js +1 -1
  163. package/dist/components/xpl-header-accordion.js +1 -1
  164. package/dist/components/xpl-icon.js +1 -1
  165. package/dist/components/xpl-input-color.js +1 -1
  166. package/dist/components/xpl-input-date.js +1 -1
  167. package/dist/components/xpl-input-file.js +1 -1
  168. package/dist/components/xpl-input-phone.js +1 -1
  169. package/dist/components/xpl-input-search.js +1 -1
  170. package/dist/components/xpl-input-time.js +1 -1
  171. package/dist/components/xpl-input.js +1 -1
  172. package/dist/components/xpl-large-card.js +1 -1
  173. package/dist/components/xpl-list-item.js +1 -1
  174. package/dist/components/xpl-list.js +1 -1
  175. package/dist/components/xpl-main-nav.js +1 -1
  176. package/dist/components/xpl-modal.js +1 -1
  177. package/dist/components/xpl-nav-header-menu.js +1 -1
  178. package/dist/components/xpl-nav-item.js +1 -1
  179. package/dist/components/xpl-pagination.js +1 -1
  180. package/dist/components/xpl-panel.js +1 -1
  181. package/dist/components/xpl-popover.js +1 -1
  182. package/dist/components/xpl-progress-bar.js +1 -1
  183. package/dist/components/xpl-progress-indicator.js +1 -1
  184. package/dist/components/xpl-radio.js +1 -1
  185. package/dist/components/xpl-secondary-nav.js +1 -1
  186. package/dist/components/xpl-select.js +1 -1
  187. package/dist/components/xpl-side-nav-item.js +1 -1
  188. package/dist/components/xpl-side-nav.js +1 -1
  189. package/dist/components/xpl-skeleton.js +1 -1
  190. package/dist/components/xpl-slideout.js +1 -1
  191. package/dist/components/xpl-spotlight.js +1 -1
  192. package/dist/components/xpl-tab-panel.js +1 -1
  193. package/dist/components/xpl-tab.js +1 -1
  194. package/dist/components/xpl-table-header-cell.js +1 -1
  195. package/dist/components/xpl-table-header.js +1 -1
  196. package/dist/components/xpl-table.js +1 -1
  197. package/dist/components/xpl-tabs.js +1 -1
  198. package/dist/components/xpl-tag.js +1 -1
  199. package/dist/components/xpl-toast.js +1 -1
  200. package/dist/components/xpl-toggle.js +1 -1
  201. package/dist/components/xpl-toolbar.js +1 -1
  202. package/dist/components/xpl-tooltip.js +1 -1
  203. package/dist/components/xpl-top-nav-item.js +1 -1
  204. package/dist/components/xpl-top-nav-menu.d.ts +11 -0
  205. package/dist/components/xpl-top-nav-menu.js +1 -0
  206. package/dist/components/xpl-top-nav.js +1 -1
  207. package/dist/components/xpl-utility-bar.js +1 -1
  208. package/dist/docs/xpl-icon/readme.md +2 -0
  209. package/dist/docs/xpl-top-nav/readme.md +3 -0
  210. package/dist/docs/xpl-top-nav/xpl-top-nav-item/readme.md +79 -20
  211. package/dist/docs/xpl-top-nav/xpl-top-nav-menu/readme.md +96 -0
  212. package/dist/esm/apollo-core.js +1 -1
  213. package/dist/esm/index-CXkZUm1c.js +4 -0
  214. package/dist/esm/lifecycle-BUgtURvw.js +68 -0
  215. package/dist/esm/loader.js +1 -1
  216. package/dist/esm/xpl-accordion.entry.js +2 -2
  217. package/dist/esm/xpl-application-shell.entry.js +1 -1
  218. package/dist/esm/xpl-avatar_54.entry.js +291 -242
  219. package/dist/esm/xpl-button-row.entry.js +1 -1
  220. package/dist/esm/xpl-calendar.entry.js +1 -1
  221. package/dist/esm/xpl-dynamic-table-cell.entry.js +2 -2
  222. package/dist/esm/xpl-dynamic-table-row.entry.js +2 -2
  223. package/dist/esm/xpl-dynamic-table.entry.js +1 -1
  224. package/dist/esm/xpl-grid-item.entry.js +1 -1
  225. package/dist/esm/xpl-grid.entry.js +1 -1
  226. package/dist/esm/xpl-large-card.entry.js +1 -1
  227. package/dist/esm/xpl-main-nav.entry.js +1 -1
  228. package/dist/esm/xpl-table-header.entry.js +1 -1
  229. package/dist/esm/xpl-toggle.entry.js +3 -3
  230. package/dist/esm/xpl-toolbar.entry.js +2 -2
  231. package/dist/esm/xpl-top-nav-menu.entry.js +95 -0
  232. package/dist/types/components/xpl-top-nav/top-nav-constants.d.ts +1 -0
  233. package/dist/types/components/xpl-top-nav/top-nav.stories.d.ts +70 -1
  234. package/dist/types/components/xpl-top-nav/xpl-top-nav-item/top-nav-item-constants.d.ts +2 -0
  235. package/dist/types/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.d.ts +23 -4
  236. package/dist/types/components/xpl-top-nav/xpl-top-nav-menu/xpl-top-nav-menu.d.ts +18 -0
  237. package/dist/types/components/xpl-top-nav/xpl-top-nav.d.ts +1 -0
  238. package/dist/types/components.d.ts +179 -19
  239. package/dist/types/utils/lifecycle.d.ts +3 -0
  240. package/package.json +21 -11
  241. package/dist/apollo-core/p-0e45f332.entry.js +0 -1
  242. package/dist/apollo-core/p-0f251f98.entry.js +0 -1
  243. package/dist/apollo-core/p-1691c4f3.entry.js +0 -1
  244. package/dist/apollo-core/p-172ac720.entry.js +0 -1
  245. package/dist/apollo-core/p-44a16751.entry.js +0 -1
  246. package/dist/apollo-core/p-4efecab2.entry.js +0 -1
  247. package/dist/apollo-core/p-5094dd97.entry.js +0 -1
  248. package/dist/apollo-core/p-70e7facc.entry.js +0 -1
  249. package/dist/apollo-core/p-910be81f.entry.js +0 -1
  250. package/dist/apollo-core/p-e08b434c.entry.js +0 -1
  251. package/dist/components/p-BWyAzrwu.js +0 -1
  252. package/dist/components/p-Bd6JweBt.js +0 -1
  253. package/dist/components/p-Bs6vq0C6.js +0 -1
  254. package/dist/components/p-CGNq3DyC.js +0 -1
  255. package/dist/components/p-CtIUusUL.js +0 -1
  256. package/dist/components/p-DBWV65V-.js +0 -1
  257. package/dist/components/p-Ds28UyUR.js +0 -1
  258. package/dist/components/p-U5dPMCXE.js +0 -1
@@ -1 +1 @@
1
- import{p as e,t as c,H as n,h as o,c as t}from"./p-BT_Lq3Vd.js";import{d as a}from"./p-B1PBAEzg.js";const i=e(class extends n{constructor(e){super(),!1!==e&&this.__registerHost(),this.initialExpanded=!1,this.size="3",this.borderType="none",this.expanded=this.initialExpanded,this.toggleAccordion=e=>{e.stopPropagation(),this.expanded=!this.expanded}}watchInitialExpanded(){this.expanded=this.initialExpanded}async parentCheckboxChange(e){return this.el.querySelectorAll(".xpl-accordion-content .xpl-checkbox:not([disabled])").forEach((c=>{c.checked=e})),null}handleChildCheckboxChange(){const e=this.el.querySelectorAll(".xpl-accordion-content .xpl-checkbox:not([disabled])"),c=Array.from(e).filter((e=>e.checked)).length,n=this.el.querySelector(".xpl-accordion-header xpl-checkbox")||this.el.querySelector(".xpl-accordion-header input");if(n)switch(c){case 0:n.checked=!1,n.indeterminate=!1;break;case e.length:n.checked=!0,n.indeterminate=!1;break;default:n.checked=!1,n.indeterminate=!0}}listenToChangeEvent(){this.handleChildCheckboxChange()}render(){return o(t,{key:"ff0111bb0d2b814b01369098582f4712f26806a2",class:"xpl-accordion "+{none:"",bordered:"xpl-accordion--border-bordered"+(this.expanded?"--expanded":""),bottom:"xpl-accordion--border-bottom"+(this.expanded?"--expanded":"")}[this.borderType]},o("button",{key:"ce80627acef0fcae1914b7dfd00634c29a4889bc","aria-expanded":this.expanded,"aria-controls":this.contentId,class:"xpl-accordion-toggle-area",onClick:this.toggleAccordion,type:"button"},o("header",{key:"1a4c0ca7b81c6d7a99947721e2391fe220fdf0e2",class:"xpl-accordion-header xpl-accordion-header--size-"+this.size},o("slot",{key:"a3026492eb4a5c0e3f1b723c7dcfb14bf16be32a",name:"heading"},this.header),o("xpl-icon",{key:"696b5c177ac0be72083d26f502235c9191f93fa9",size:16,icon:"chevron-down",class:"xpl-accordion-icon-chevron "+(this.expanded?"xpl-accordion-icon-chevron--rotate":"")})),o("div",{key:"60ba182197394b4709e14b94defe6357d2e6f3b2",class:"xpl-accordion-description"},o("slot",{key:"4e474fd39243694dd7ff70fd02ed5ab05c5eb217",name:"description"},this.description))),o("section",{key:"183e846fd9d98a7998381d0fa3461bc17ebed2b1",id:this.contentId,role:"region",class:`xpl-accordion-content xpl-accordion-content--${this.expanded?"shown":"hidden"} ${this.expanded?{none:"",bordered:"xpl-accordion-content--shown-bordered",bottom:"xpl-accordion-content--shown-border-bottom"}[this.borderType]:""}`},o("slot",{key:"8b0ecdcf8ca0a2d032d56fe7542e92df6155c714",name:"content"})))}get el(){return this}static get watchers(){return{initialExpanded:[{watchInitialExpanded:0}]}}},[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}]}]),d=i,s=function(){"undefined"!=typeof customElements&&["xpl-accordion","xpl-icon"].forEach((e=>{switch(e){case"xpl-accordion":customElements.get(c(e))||customElements.define(c(e),i);break;case"xpl-icon":customElements.get(c(e))||a()}}))};export{d as XplAccordion,s as defineCustomElement}
1
+ import{p as e,t as c,H as n,h as o,c as t}from"./p-BT_Lq3Vd.js";import{d as a}from"./p-ByJRw26d.js";const i=e(class extends n{constructor(e){super(),!1!==e&&this.__registerHost(),this.initialExpanded=!1,this.size="3",this.borderType="none",this.expanded=this.initialExpanded,this.toggleAccordion=e=>{e.stopPropagation(),this.expanded=!this.expanded}}watchInitialExpanded(){this.expanded=this.initialExpanded}async parentCheckboxChange(e){return this.el.querySelectorAll(".xpl-accordion-content .xpl-checkbox:not([disabled])").forEach((c=>{c.checked=e})),null}handleChildCheckboxChange(){const e=this.el.querySelectorAll(".xpl-accordion-content .xpl-checkbox:not([disabled])"),c=Array.from(e).filter((e=>e.checked)).length,n=this.el.querySelector(".xpl-accordion-header xpl-checkbox")||this.el.querySelector(".xpl-accordion-header input");if(n)switch(c){case 0:n.checked=!1,n.indeterminate=!1;break;case e.length:n.checked=!0,n.indeterminate=!1;break;default:n.checked=!1,n.indeterminate=!0}}listenToChangeEvent(){this.handleChildCheckboxChange()}render(){return o(t,{key:"bae6a1bb97a21f3f49792be58fc72941ce5d8bed",class:"xpl-accordion "+{none:"",bordered:"xpl-accordion--border-bordered"+(this.expanded?"--expanded":""),bottom:"xpl-accordion--border-bottom"+(this.expanded?"--expanded":"")}[this.borderType]},o("button",{key:"255fc29fec4cdcc45f8e02daef062f35c5b8b74b","aria-expanded":this.expanded,"aria-controls":this.contentId,class:"xpl-accordion-toggle-area",onClick:this.toggleAccordion,type:"button"},o("header",{key:"0e5454de19424b6412b01c50227bc001e6ab5b3a",class:"xpl-accordion-header xpl-accordion-header--size-"+this.size},o("slot",{key:"438e8876c6c1c1b04282ce4d978284e3d6f7fa9a",name:"heading"},this.header),o("xpl-icon",{key:"055818cbd1606ad560e4fa172c3d1130a6831f5f",size:16,icon:"chevron-down",class:"xpl-accordion-icon-chevron "+(this.expanded?"xpl-accordion-icon-chevron--rotate":"")})),o("div",{key:"45f9ec5e1b6b4f6d21f7b126972543849353747c",class:"xpl-accordion-description"},o("slot",{key:"af85f48df4ddf572f5bef6da49c852152f44cc06",name:"description"},this.description))),o("section",{key:"fc2c6d12354cb6e972cf82ae988e647ea0a0dc26",id:this.contentId,role:"region",class:`xpl-accordion-content xpl-accordion-content--${this.expanded?"shown":"hidden"} ${this.expanded?{none:"",bordered:"xpl-accordion-content--shown-bordered",bottom:"xpl-accordion-content--shown-border-bottom"}[this.borderType]:""}`},o("slot",{key:"9fe9c25e6180a84cd73fec1a69984455417dc225",name:"content"})))}get el(){return this}static get watchers(){return{initialExpanded:[{watchInitialExpanded:0}]}}},[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}]}]),d=i,s=function(){"undefined"!=typeof customElements&&["xpl-accordion","xpl-icon"].forEach((e=>{switch(e){case"xpl-accordion":customElements.get(c(e))||customElements.define(c(e),i);break;case"xpl-icon":customElements.get(c(e))||a()}}))};export{d as XplAccordion,s as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as a,h as t,c as l,t as i}from"./p-BT_Lq3Vd.js";import{d as s}from"./p-CtIUusUL.js";const n=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.withSubnav=!1,this.withUtility=!0,this.navWidth="default",this.navOpen=!0}closeNavOnMobile(){window.innerWidth<=640&&(this.navOpen=!1)}navToggleHandler(){this.navOpen=!this.navOpen}navWithHandler(e){this.navWidth=e.detail}onWindowResize(){this.closeNavOnMobile()}connectedCallback(){this.closeNavOnMobile()}componentWillLoad(){this.navOpen=void 0!==this.isNavOpenAtStartup?this.isNavOpenAtStartup:this.navOpen}render(){let e="xpl-application-shell";this.withUtility&&(e+=" xpl-application-shell--with_utility");let a="xpl-application-shell__nav";return a+=this.navOpen?` xpl-application-shell__nav--${this.navWidth}--open`:" xpl-application-shell__nav--"+this.navWidth,t(l,{key:"bc94a18433120a5f0bdf01e642890b3ccea46ec7",class:e},t("div",{key:"aa5a35a385630256536b5d57b9f3e6f9e0e47dbc",class:a},t("slot",{key:"baf26b14dd158cff8c06da148f5c0d7fc915465e",name:"nav"})),t("div",{key:"e16b69bbb05a724bb0dccf4cdb066da0f4f97a1d",class:"xpl-application-shell__subnav"},t("slot",{key:"0f754f17de56dd63e626f9735daf7e9370f2c0c3",name:"subnav"})),t("div",{key:"85e95a30352bf566dcec928ddbb46f0129010e5d",class:"xpl-application-shell__utility"},t("slot",{key:"de2d4c89a9b323db0b4854d091cdfec86ede8373",name:"utility"})),t("div",{key:"9e121b26e8315dd7d3202de4866e5a1b827f6bf8",class:"xpl-application-shell__content"},t("slot",{key:"db97073dad39912f98b196d42ce6b986d2426b6a",name:"content"})),t("xpl-backdrop",{key:"32f98a170a3ee0104e4494f63fe8695e780067c3",onClick:()=>this.navToggleHandler(),class:{"xpl-application-shell__backdrop--open":this.navOpen},relative:!0}))}},[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"]]]),c=n,d=function(){"undefined"!=typeof customElements&&["xpl-application-shell","xpl-backdrop"].forEach((e=>{switch(e){case"xpl-application-shell":customElements.get(i(e))||customElements.define(i(e),n);break;case"xpl-backdrop":customElements.get(i(e))||s()}}))};export{c as XplApplicationShell,d as defineCustomElement}
1
+ import{p as e,H as a,h as t,c as l,t as i}from"./p-BT_Lq3Vd.js";import{d as s}from"./p-C8rmEAx6.js";const n=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.withSubnav=!1,this.withUtility=!0,this.navWidth="default",this.navOpen=!0}closeNavOnMobile(){window.innerWidth<=640&&(this.navOpen=!1)}navToggleHandler(){this.navOpen=!this.navOpen}navWithHandler(e){this.navWidth=e.detail}onWindowResize(){this.closeNavOnMobile()}connectedCallback(){this.closeNavOnMobile()}componentWillLoad(){this.navOpen=void 0!==this.isNavOpenAtStartup?this.isNavOpenAtStartup:this.navOpen}render(){let e="xpl-application-shell";this.withUtility&&(e+=" xpl-application-shell--with_utility");let a="xpl-application-shell__nav";return a+=this.navOpen?` xpl-application-shell__nav--${this.navWidth}--open`:" xpl-application-shell__nav--"+this.navWidth,t(l,{key:"1e7abbb1e45ea9cadfa9528ae2053f8239e69242",class:e},t("div",{key:"5fa3455f3de406db9bf392ae14a515f7fe603d59",class:a},t("slot",{key:"b9ee294553892cc2235f9b2b4c3503d293d56ddc",name:"nav"})),t("div",{key:"dc6ad7c9288385a47e1d6992bef56ceafcd04603",class:"xpl-application-shell__subnav"},t("slot",{key:"b31965275416b556194f4f65e4b66bf72f531779",name:"subnav"})),t("div",{key:"664d58b3ce69d7106ead13fe1a6a7a72cec0cceb",class:"xpl-application-shell__utility"},t("slot",{key:"d44f3614b627099443c70f23f258016a66d42716",name:"utility"})),t("div",{key:"0f8c629b737114fe40ae3bf3d2fbe3d18e3af0b9",class:"xpl-application-shell__content"},t("slot",{key:"814afd80ea91d4b2859e3619e499791f728eb22b",name:"content"})),t("xpl-backdrop",{key:"490bf22787f1920f500f75eabf6a692e545d0ea3",onClick:()=>this.navToggleHandler(),class:{"xpl-application-shell__backdrop--open":this.navOpen},relative:!0}))}},[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=n,c=function(){"undefined"!=typeof customElements&&["xpl-application-shell","xpl-backdrop"].forEach((e=>{switch(e){case"xpl-application-shell":customElements.get(i(e))||customElements.define(i(e),n);break;case"xpl-backdrop":customElements.get(i(e))||s()}}))};export{p as XplApplicationShell,c as defineCustomElement}
@@ -1 +1 @@
1
- import{A as o,d as s}from"./p-hPUzON4O.js";const p=o,r=s;export{p as XplAvatar,r as defineCustomElement}
1
+ import{A as s,d as o}from"./p-Bsy-VVS5.js";const p=s,r=o;export{p as XplAvatar,r as defineCustomElement}
@@ -1 +1 @@
1
- import{B as s,d as o}from"./p-CtIUusUL.js";const t=s,p=o;export{t as XplBackdrop,p as defineCustomElement}
1
+ import{B as o,d as r}from"./p-C8rmEAx6.js";const s=o,m=r;export{s as XplBackdrop,m as defineCustomElement}
@@ -1 +1 @@
1
- import{B as o,d as s}from"./p-DPTHmitJ.js";const t=o,m=s;export{t as XplBadge,m as defineCustomElement}
1
+ import{B as o,d as s}from"./p-C5_Yo0ZP.js";const p=o,r=s;export{p as XplBadge,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as i,d as t,h as s,c as n,t as a}from"./p-BT_Lq3Vd.js";import{d as c}from"./p-D97c0GjM.js";import{d as r}from"./p-B1PBAEzg.js";const o=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.action=t(this,"action",7),this.dismiss=t(this,"dismiss",7),this.secondaryAction=t(this,"secondaryAction",7),this.appearance="information",this.hasIcon=!0,this.isDismissible=!0,this.isSection=!1,this.truncateDesc=!1}getIcon(){switch(this.appearance){case"positive":return"circle-check";case"warning":return"triangle-warning";case"error":return"octagon-warning";default:return"circle-info"}}getActionButtonState(){return this.isSection&&"positive"===this.appearance?"success":"error"===this.appearance?"warning":void 0}getActionButtonVariant(){return this.isSection?"subtle":"error"===this.appearance?"primary":"subtle"}getAriaLabel(){var e;return this.isSection?(null===(e=this.heading)||void 0===e?void 0:e.trim())||"Section banner":{information:"Information banner",positive:"Positive banner",warning:"Warning banner",error:"Error banner"}[this.appearance]}render(){var e,i,t,a;const c=!!(null===(e=this.actionText)||void 0===e?void 0:e.trim()),r=!!(null===(i=this.secondaryActionText)||void 0===i?void 0:i.trim()),o=this.getActionButtonVariant(),d=this.getActionButtonState(),b=!!(null===(t=this.heading)||void 0===t?void 0:t.trim()),l=!!(null===(a=this.description)||void 0===a?void 0:a.trim());return s(n,{key:"9d4ced7103ad43590be34ae643e90e998d826d2c",class:{"xpl-banner":!0,"xpl-banner--section":this.isSection,["xpl-banner--"+this.appearance]:!0,"xpl-banner--truncate-desc":this.truncateDesc,"xpl-banner--no-icon":this.isSection&&!this.hasIcon},role:"region","aria-label":this.getAriaLabel()},(!this.isSection||this.hasIcon)&&s("div",{key:"d7c698d6da5711ef23d624b6cae03e9a0764b8c7",class:"xpl-banner__icon","aria-hidden":"true"},s("xpl-icon",{key:"01e3c3cd3e28a09943754972112f5ecef61c2e42",icon:this.getIcon(),size:24})),s("div",{key:"b95abb8d1609a97d869fbd7b88124a5e5e1b45df",class:"xpl-banner__body"},b&&s("p",{key:"a792cda8b66f549522d6288330005ff60e5cca3f",class:"xpl-banner__heading"},this.heading),l&&s("p",{key:"6529492113bd3f893ec0cfb8387dbd58701d99c4",class:"xpl-banner__description",title:this.truncateDesc?this.description:void 0},this.description)),(c||r)&&s("div",{key:"14b20dc26f2cf98acd8baac75802dba11eaa84da",class:"xpl-banner__actions"},c&&s("xpl-button",{key:"44bf1a434eaa7d8a629beb64ffc9d097118d8c09",size:"xs",variant:o,state:d,onClick:()=>this.action.emit()},this.actionText),r&&s("xpl-button",{key:"958284fccbb12b89192d3211476bbaceb31ee16a",size:"xs",variant:o,state:d,onClick:()=>this.secondaryAction.emit()},this.secondaryActionText)),this.isDismissible&&s("button",{key:"a59aaf2f9b48db433f699877a2259c8587f7aa9a",class:"xpl-banner__dismiss",type:"button","aria-label":`Dismiss ${this.isSection?"section ":""}banner`,onClick:()=>this.dismiss.emit()},s("xpl-icon",{key:"3a374616b00743d3ee66e9f2fce50027e21ebb25",icon:"xmark",size:24,"aria-hidden":"true"})))}},[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"]}]),d=o,b=function(){"undefined"!=typeof customElements&&["xpl-banner","xpl-button","xpl-icon"].forEach((e=>{switch(e){case"xpl-banner":customElements.get(a(e))||customElements.define(a(e),o);break;case"xpl-button":customElements.get(a(e))||c();break;case"xpl-icon":customElements.get(a(e))||r()}}))};export{d as XplBanner,b as defineCustomElement}
1
+ import{p as e,H as i,d as t,h as s,c as n,t as a}from"./p-BT_Lq3Vd.js";import{d as r}from"./p-D2SFagIb.js";import{d as o}from"./p-ByJRw26d.js";const c=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.action=t(this,"action",7),this.dismiss=t(this,"dismiss",7),this.secondaryAction=t(this,"secondaryAction",7),this.appearance="information",this.hasIcon=!0,this.isDismissible=!0,this.isSection=!1,this.truncateDesc=!1}getIcon(){switch(this.appearance){case"positive":return"circle-check";case"warning":return"triangle-warning";case"error":return"octagon-warning";default:return"circle-info"}}getActionButtonState(){return this.isSection&&"positive"===this.appearance?"success":"error"===this.appearance?"warning":void 0}getActionButtonVariant(){return this.isSection?"subtle":"error"===this.appearance?"primary":"subtle"}getAriaLabel(){var e;return this.isSection?(null===(e=this.heading)||void 0===e?void 0:e.trim())||"Section banner":{information:"Information banner",positive:"Positive banner",warning:"Warning banner",error:"Error banner"}[this.appearance]}render(){var e,i,t,a;const r=!!(null===(e=this.actionText)||void 0===e?void 0:e.trim()),o=!!(null===(i=this.secondaryActionText)||void 0===i?void 0:i.trim()),c=this.getActionButtonVariant(),b=this.getActionButtonState(),d=!!(null===(t=this.heading)||void 0===t?void 0:t.trim()),l=!!(null===(a=this.description)||void 0===a?void 0:a.trim());return s(n,{key:"6d137a4577f93942bcb41b3b2f67f3d851bee454",class:{"xpl-banner":!0,"xpl-banner--section":this.isSection,["xpl-banner--"+this.appearance]:!0,"xpl-banner--truncate-desc":this.truncateDesc,"xpl-banner--no-icon":this.isSection&&!this.hasIcon},role:"region","aria-label":this.getAriaLabel()},(!this.isSection||this.hasIcon)&&s("div",{key:"e854bc2ca363a23e3e6cb9eb512886c325e09362",class:"xpl-banner__icon","aria-hidden":"true"},s("xpl-icon",{key:"14a0916310e6e0b68f9a36b4e1714cee015ad22f",icon:this.getIcon(),size:24})),s("div",{key:"bea8f5cafe66e649926aa0ee634b71ffa0f1b73e",class:"xpl-banner__body"},d&&s("p",{key:"f18ae9e7d4014211eea3a160fb05945149705832",class:"xpl-banner__heading"},this.heading),l&&s("p",{key:"e36c00dadf6bd0d35b88c9a091d140573e6b6677",class:"xpl-banner__description",title:this.truncateDesc?this.description:void 0},this.description)),(r||o)&&s("div",{key:"dda19df805050c93d5c5ea8214f97084a5b0c0eb",class:"xpl-banner__actions"},r&&s("xpl-button",{key:"5bd3047d1b8250ed28a7720fb09f316a3b45bae1",size:"xs",variant:c,state:b,onClick:()=>this.action.emit()},this.actionText),o&&s("xpl-button",{key:"c0f0a32b69384194e4033ae85eebc788e005a8af",size:"xs",variant:c,state:b,onClick:()=>this.secondaryAction.emit()},this.secondaryActionText)),this.isDismissible&&s("button",{key:"721faa946e9fc896a6bafafd8450d81f50e982ed",class:"xpl-banner__dismiss",type:"button","aria-label":`Dismiss ${this.isSection?"section ":""}banner`,onClick:()=>this.dismiss.emit()},s("xpl-icon",{key:"4c27dbd8b394839ed98f5b4e2d4720eba1b0184f",icon:"xmark",size:24,"aria-hidden":"true"})))}},[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"]}]),b=c,d=function(){"undefined"!=typeof customElements&&["xpl-banner","xpl-button","xpl-icon"].forEach((e=>{switch(e){case"xpl-banner":customElements.get(a(e))||customElements.define(a(e),c);break;case"xpl-button":customElements.get(a(e))||r();break;case"xpl-icon":customElements.get(a(e))||o()}}))};export{b as XplBanner,d as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as a,c as s,t as c}from"./p-BT_Lq3Vd.js";const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.chevron='<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="chevron-right" class="svg-inline--fa fa-chevron-right fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">\n <path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path>\n </svg>\n '}render(){return a(s,{key:"183fd6614da5188a84d5dc7ce9d9f2d5144e7f4b",class:"xpl-breadcrumb-item",role:"listitem"},a("li",{key:"416621372ac59874f8d136ba3194f097f487eae2",role:"none"},a("slot",{key:"a0fcee52d63596c6e96a94ebd9e069f4275cf996"})),a("span",{key:"b076324da264cfbf9efd97c92a73b12517dd6429",innerHTML:this.chevron}))}},[260,"xpl-breadcrumb-item"]),n=r,d=function(){"undefined"!=typeof customElements&&["xpl-breadcrumb-item"].forEach((e=>{"xpl-breadcrumb-item"===e&&(customElements.get(c(e))||customElements.define(c(e),r))}))};export{n as XplBreadcrumbItem,d as defineCustomElement}
1
+ import{p as e,H as a,h as t,c,t as s}from"./p-BT_Lq3Vd.js";const r=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.chevron='<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="chevron-right" class="svg-inline--fa fa-chevron-right fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">\n <path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path>\n </svg>\n '}render(){return t(c,{key:"dd246c29fcb1afca4007299380a59b47c0a10c9d",class:"xpl-breadcrumb-item",role:"listitem"},t("li",{key:"b6df20888b3891241e52f0f2be14f1eedee2cac6",role:"none"},t("slot",{key:"f2f64effe0f58bb33bc983abfaa8b2996714e3b4"})),t("span",{key:"31c15dd296e6dab1d207a84179a4803b7366c1a2",innerHTML:this.chevron}))}},[260,"xpl-breadcrumb-item"]),n=r,i=function(){"undefined"!=typeof customElements&&["xpl-breadcrumb-item"].forEach((e=>{"xpl-breadcrumb-item"===e&&(customElements.get(s(e))||customElements.define(s(e),r))}))};export{n as XplBreadcrumbItem,i as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as a,h as s,c,t as r}from"./p-BT_Lq3Vd.js";const d=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost()}render(){return s(c,{key:"dc04f3dbc02d0e52efd258ed653e236e3a3ef8c0"},s("nav",{key:"87a8ae67ad49e7eff110dac3b98f818aa7bc7bbd",class:"xpl-breadcrumbs","aria-label":"Breadcrumb"},s("ol",{key:"80122b0a41e6b9542e1560de325266a3f27ddc86",role:"list"},s("slot",{key:"7aa415c279281b0566aaf0e6f943afc5ff698e8a"}))))}},[260,"xpl-breadcrumbs"]),t=d,b=function(){"undefined"!=typeof customElements&&["xpl-breadcrumbs"].forEach((e=>{"xpl-breadcrumbs"===e&&(customElements.get(r(e))||customElements.define(r(e),d))}))};export{t as XplBreadcrumbs,b as defineCustomElement}
1
+ import{p as e,H as a,h as c,c as s,t as d}from"./p-BT_Lq3Vd.js";const r=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost()}render(){return c(s,{key:"d4a4ae7bbf7f8eafc8a44b56c66983303e039d7e"},c("nav",{key:"8e5decbdce778c1768e3412a59663cd37938f361",class:"xpl-breadcrumbs","aria-label":"Breadcrumb"},c("ol",{key:"612620c37a84ad022b9da5cdb884410a4df4dd29",role:"list"},c("slot",{key:"ae6cfc4f4e65ba7ca755fa7d9eb3751aae8905ff"}))))}},[260,"xpl-breadcrumbs"]),t=r,b=function(){"undefined"!=typeof customElements&&["xpl-breadcrumbs"].forEach((e=>{"xpl-breadcrumbs"===e&&(customElements.get(d(e))||customElements.define(d(e),r))}))};export{t as XplBreadcrumbs,b as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as s,d as e,h as i,c,t as o}from"./p-BT_Lq3Vd.js";import{d as a}from"./p-D97c0GjM.js";import{d as n}from"./p-B1PBAEzg.js";const r=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.clickPrimary=e(this,"clickPrimary",7),this.clickSecondary=e(this,"clickSecondary",7),this.clickTertiary=e(this,"clickTertiary",7),this.onPrimary=()=>this.clickPrimary.emit(),this.onSecondary=()=>this.clickSecondary.emit(),this.onTertiary=()=>this.clickTertiary.emit()}render(){return i(c,{key:"cd6436989f07af18d1e696a26e3e990d99859b2e",class:"xpl-button-row"},i("div",{key:"67a9ab3127bdd31d416d716bf06a2548d4b04341",class:"xpl-button-row-inner"},i("div",{key:"f4c9e84868a5476500ffd65381fafe6c427e63ad",class:"xpl-button-row__left"},this.secondary&&i("xpl-button",{key:"9c264293c00634759559c8109657f8a58451dc06",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary)),i("div",{key:"df3443bd9afa937c4936e7b902da146f4a999f56",class:"xpl-button-row__right"},this.tertiary&&i("xpl-button",{key:"85912cdbc02ac6587085564dbfb4f0647b656d7d",variant:"subtle",type:"button",onClick:this.onTertiary},this.tertiary),this.secondary&&i("xpl-button",{key:"cbb4302e9853d751b7b75e386c6d9441037c301e",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary),this.primary&&i("xpl-button",{key:"10991142b7062283d129ba3428e5d3f1c060a973",class:"xpl-button-row__primary",onClick:this.onPrimary},this.primary))))}},[0,"xpl-button-row",{primary:[1],secondary:[1],tertiary:[1]}]),b=r,d=function(){"undefined"!=typeof customElements&&["xpl-button-row","xpl-button","xpl-icon"].forEach((t=>{switch(t){case"xpl-button-row":customElements.get(o(t))||customElements.define(o(t),r);break;case"xpl-button":customElements.get(o(t))||a();break;case"xpl-icon":customElements.get(o(t))||n()}}))};export{b as XplButtonRow,d as defineCustomElement}
1
+ import{p as t,H as s,d as e,h as c,c as i,t as o}from"./p-BT_Lq3Vd.js";import{d as a}from"./p-D2SFagIb.js";import{d as n}from"./p-ByJRw26d.js";const r=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.clickPrimary=e(this,"clickPrimary",7),this.clickSecondary=e(this,"clickSecondary",7),this.clickTertiary=e(this,"clickTertiary",7),this.onPrimary=()=>this.clickPrimary.emit(),this.onSecondary=()=>this.clickSecondary.emit(),this.onTertiary=()=>this.clickTertiary.emit()}render(){return c(i,{key:"9cd6193bed50a82872803b95bd5fc56c9347dd1a",class:"xpl-button-row"},c("div",{key:"eefebfcad667ceec154117b9318e2ff88c420f8f",class:"xpl-button-row-inner"},c("div",{key:"94633d213b36306cf51a70e04d21a964ca13c430",class:"xpl-button-row__left"},this.secondary&&c("xpl-button",{key:"2e47003e6f35f5acd7a6129c903d4591cc10759f",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary)),c("div",{key:"05397d469cd97188f56934354850a8c3cd77e4d6",class:"xpl-button-row__right"},this.tertiary&&c("xpl-button",{key:"d3f6a953144e8e64aa34a37c9c80f7363dc0ee9c",variant:"subtle",type:"button",onClick:this.onTertiary},this.tertiary),this.secondary&&c("xpl-button",{key:"abd03f3c33a48517a7f268ecf302767e605a2400",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary),this.primary&&c("xpl-button",{key:"be417c38b0427e9cdbbacb700d4651677cff8ec9",class:"xpl-button-row__primary",onClick:this.onPrimary},this.primary))))}},[0,"xpl-button-row",{primary:[1],secondary:[1],tertiary:[1]}]),l=r,d=function(){"undefined"!=typeof customElements&&["xpl-button-row","xpl-button","xpl-icon"].forEach((t=>{switch(t){case"xpl-button-row":customElements.get(o(t))||customElements.define(o(t),r);break;case"xpl-button":customElements.get(o(t))||a();break;case"xpl-icon":customElements.get(o(t))||n()}}))};export{l as XplButtonRow,d as defineCustomElement}
@@ -1 +1 @@
1
- import{B as o,d as s}from"./p-D97c0GjM.js";const p=o,r=s;export{p as XplButton,r as defineCustomElement}
1
+ import{B as o,d as s}from"./p-D2SFagIb.js";const a=o,p=s;export{a as XplButton,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,d as s,h as i,c as a,t as n}from"./p-BT_Lq3Vd.js";import{f as o}from"./p-CH4yJ6Qx.js";import{v as d}from"./p-CK3_k8jD.js";const l=(t=!1)=>`<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="${t?"M0.557948 5.6813L6.06209 0.132167C6.23831 -0.0440556 6.52327 -0.0440556 6.69949 0.132167L7.44187 0.874551C7.61809 1.05077 7.61809 1.33573 7.44187 1.51195L2.99882 6L7.44187 10.488C7.61809 10.6643 7.61809 10.9492 7.44187 11.1254L6.69949 11.8678C6.52327 12.0441 6.23831 12.0441 6.06209 11.8678L0.557948 6.3187C0.381726 6.14248 0.381726 5.85752 0.557948 5.6813Z":"M7.44187 6.3187L1.93773 11.8678C1.76151 12.0441 1.47655 12.0441 1.30033 11.8678L0.557948 11.1254C0.381726 10.9492 0.381726 10.6643 0.557948 10.488L5.001 6L0.557948 1.51195C0.381726 1.33573 0.381726 1.05077 0.557948 0.874551L1.30033 0.132167C1.47655 -0.0440556 1.76151 -0.0440556 1.93773 0.132167L7.44187 5.6813C7.6181 5.85752 7.6181 6.14248 7.44187 6.3187Z"}" /></svg>`,r=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.dateSelected=s(this,"dateSelected",7),this.inputId=d(),this.dateFormat="Y-m-d",this.mode="single"}async setDate(t){void 0!==this.flatpickrInstance&&("single"===this.mode&&"string"==typeof t||"range"===this.mode&&Array.isArray(t))&&this.flatpickrInstance.setDate(t)}componentWillLoad(){this.calendarInputId=this.inputId}componentDidLoad(){this.flatpickrInstance=o(this.inputElement,{allowInput:!0,dateFormat:this.dateFormat,defaultDate:this.defaultDate,maxDate:this.max,minDate:this.min,mode:this.mode,nextArrow:l(),prevArrow:l(!0),inline:!0,monthSelectorType:"dropdown",onChange:t=>{var e;this.dateSelected.emit("single"===this.mode?null===(e=t[0])||void 0===e?void 0:e.toISOString():t.map((t=>t.toISOString())))}})}disconnectedCallback(){void 0!==this.flatpickrInstance&&this.flatpickrInstance.destroy()}render(){return i(a,{key:"180c1c356f07920c05487c50dd534284004cfce5",class:"xpl-calendar"},i("input",{key:"6f46ef2a9c81043eb65a66208e71ce7e8504abea",class:"xpl-calendar-input",type:"text",id:this.calendarInputId,ref:t=>{this.inputElement=t}}))}},[0,"xpl-calendar",{inputId:[1,"input-id"],dateFormat:[1,"date-format"],max:[8],min:[8],mode:[1],defaultDate:[1,"default-date"],setDate:[64]}]),c=r,h=function(){"undefined"!=typeof customElements&&["xpl-calendar"].forEach((t=>{"xpl-calendar"===t&&(customElements.get(n(t))||customElements.define(n(t),r))}))};export{c as XplCalendar,h as defineCustomElement}
1
+ import{p as t,H as e,d as s,h as i,c as a,t as n}from"./p-BT_Lq3Vd.js";import{f as o}from"./p-CH4yJ6Qx.js";import{v as d}from"./p-CK3_k8jD.js";const l=(t=!1)=>`<svg width="8" height="12" viewBox="0 0 8 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="${t?"M0.557948 5.6813L6.06209 0.132167C6.23831 -0.0440556 6.52327 -0.0440556 6.69949 0.132167L7.44187 0.874551C7.61809 1.05077 7.61809 1.33573 7.44187 1.51195L2.99882 6L7.44187 10.488C7.61809 10.6643 7.61809 10.9492 7.44187 11.1254L6.69949 11.8678C6.52327 12.0441 6.23831 12.0441 6.06209 11.8678L0.557948 6.3187C0.381726 6.14248 0.381726 5.85752 0.557948 5.6813Z":"M7.44187 6.3187L1.93773 11.8678C1.76151 12.0441 1.47655 12.0441 1.30033 11.8678L0.557948 11.1254C0.381726 10.9492 0.381726 10.6643 0.557948 10.488L5.001 6L0.557948 1.51195C0.381726 1.33573 0.381726 1.05077 0.557948 0.874551L1.30033 0.132167C1.47655 -0.0440556 1.76151 -0.0440556 1.93773 0.132167L7.44187 5.6813C7.6181 5.85752 7.6181 6.14248 7.44187 6.3187Z"}" /></svg>`,r=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.dateSelected=s(this,"dateSelected",7),this.inputId=d(),this.dateFormat="Y-m-d",this.mode="single"}async setDate(t){void 0!==this.flatpickrInstance&&("single"===this.mode&&"string"==typeof t||"range"===this.mode&&Array.isArray(t))&&this.flatpickrInstance.setDate(t)}componentWillLoad(){this.calendarInputId=this.inputId}componentDidLoad(){this.flatpickrInstance=o(this.inputElement,{allowInput:!0,dateFormat:this.dateFormat,defaultDate:this.defaultDate,maxDate:this.max,minDate:this.min,mode:this.mode,nextArrow:l(),prevArrow:l(!0),inline:!0,monthSelectorType:"dropdown",onChange:t=>{var e;this.dateSelected.emit("single"===this.mode?null===(e=t[0])||void 0===e?void 0:e.toISOString():t.map((t=>t.toISOString())))}})}disconnectedCallback(){void 0!==this.flatpickrInstance&&this.flatpickrInstance.destroy()}render(){return i(a,{key:"8693d0e9612e2995b03f6392387758c843db0be5",class:"xpl-calendar"},i("input",{key:"29077057568f288f42d4e0eb94e2fa83ce6ea9c6",class:"xpl-calendar-input",type:"text",id:this.calendarInputId,ref:t=>{this.inputElement=t}}))}},[0,"xpl-calendar",{inputId:[1,"input-id"],dateFormat:[1,"date-format"],max:[8],min:[8],mode:[1],defaultDate:[1,"default-date"],setDate:[64]}]),h=r,p=function(){"undefined"!=typeof customElements&&["xpl-calendar"].forEach((t=>{"xpl-calendar"===t&&(customElements.get(n(t))||customElements.define(n(t),r))}))};export{h as XplCalendar,p as defineCustomElement}
@@ -1 +1 @@
1
- import{C as o,d as r}from"./p-BWyAzrwu.js";const s=o,p=r;export{s as XplCheckbox,p as defineCustomElement}
1
+ import{C as o,d as s}from"./p-CF_YTx16.js";const p=o,r=s;export{p as XplCheckbox,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as s,d as i,h as t,c,t as h}from"./p-BT_Lq3Vd.js";import{d as l}from"./p-BWyAzrwu.js";import{d as o}from"./p-Bd6JweBt.js";import{v as n}from"./p-CK3_k8jD.js";const a=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.choicelistChange=i(this,"choicelistChange",7),this.choicelistValueChange=i(this,"choicelistValueChange",7),this.name=n(),this.onChoiceChange=(e,s)=>{const i=this.choices[s];if(this.multi){if(this.selected=this.selected.map(((e,i)=>i===s?!e:e)),void 0!==(null==i?void 0:i.value)){const e=this.choices.filter(((e,s)=>this.selected[s])).map(((e,s)=>{var i;return null!==(i=e.value)&&void 0!==i?i:this.selected[s]}));this.choicelistValueChange.emit(e)}}else this.selected=this.selected.map(((e,i)=>i===s)),void 0!==(null==i?void 0:i.value)&&this.choicelistValueChange.emit(i.value)},this.renderChoice=({description:e,label:s,value:i,checked:c},h)=>this.multi?t("xpl-checkbox",{value:i,description:e,name:this.name,checked:c,onCheckboxChange:e=>this.onChoiceChange(e.detail,h)},s):t("xpl-radio",{value:i,description:e,name:this.name,checked:c,onRadioChange:e=>this.onChoiceChange(e.detail,h)},s)}onChoicesPropChange(e){this.selected=null!=e&&e.length>0?e.map((e=>e.checked||!1)):[]}onSelectedChange(e){this.choicelistChange.emit(e)}componentWillLoad(){this.onChoicesPropChange(this.choices)}render(){return t(c,{key:"b2a2b4630df394470daa56346215ad1193727557",class:"xpl-choicelist-container"},void 0!==this.heading||void 0!==this.description?t("div",{class:"xpl-choicelist-heading"},this.heading&&t("h3",null,this.heading),this.description&&t("p",null,this.description)):null,this.choices&&t("ul",{key:"d2329582e74d40946d23ae522b40130b1d780522",class:{"xpl-choicelist":!0,"xpl-choicelist--styled":this.styled}},this.choices.map(((e,s)=>{const i=this.renderChoice(e,s);return t("li",{class:{selected:this.styled&&this.selected[s]}},i,e.children&&t("ul",null,e.children.map(((e,s)=>{const i=this.renderChoice(e,s);return t("li",null,i)}))))}))))}static get watchers(){return{choices:[{onChoicesPropChange:0}],selected:[{onSelectedChange:0}]}}},[0,"xpl-choicelist",{choices:[16],description:[1],heading:[1],multi:[4],name:[1],styled:[4],selected:[32]},void 0,{choices:[{onChoicesPropChange:0}],selected:[{onSelectedChange:0}]}]),d=a,r=function(){"undefined"!=typeof customElements&&["xpl-choicelist","xpl-checkbox","xpl-radio"].forEach((e=>{switch(e){case"xpl-choicelist":customElements.get(h(e))||customElements.define(h(e),a);break;case"xpl-checkbox":customElements.get(h(e))||l();break;case"xpl-radio":customElements.get(h(e))||o()}}))};export{d as XplChoicelist,r as defineCustomElement}
1
+ import{p as e,H as s,d as i,h as t,c,t as h}from"./p-BT_Lq3Vd.js";import{d as l}from"./p-CF_YTx16.js";import{d as o}from"./p-DcXL24UI.js";import{v as n}from"./p-CK3_k8jD.js";const a=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.choicelistChange=i(this,"choicelistChange",7),this.choicelistValueChange=i(this,"choicelistValueChange",7),this.name=n(),this.onChoiceChange=(e,s)=>{const i=this.choices[s];if(this.multi){if(this.selected=this.selected.map(((e,i)=>i===s?!e:e)),void 0!==(null==i?void 0:i.value)){const e=this.choices.filter(((e,s)=>this.selected[s])).map(((e,s)=>{var i;return null!==(i=e.value)&&void 0!==i?i:this.selected[s]}));this.choicelistValueChange.emit(e)}}else this.selected=this.selected.map(((e,i)=>i===s)),void 0!==(null==i?void 0:i.value)&&this.choicelistValueChange.emit(i.value)},this.renderChoice=({description:e,label:s,value:i,checked:c},h)=>this.multi?t("xpl-checkbox",{value:i,description:e,name:this.name,checked:c,onCheckboxChange:e=>this.onChoiceChange(e.detail,h)},s):t("xpl-radio",{value:i,description:e,name:this.name,checked:c,onRadioChange:e=>this.onChoiceChange(e.detail,h)},s)}onChoicesPropChange(e){this.selected=null!=e&&e.length>0?e.map((e=>e.checked||!1)):[]}onSelectedChange(e){this.choicelistChange.emit(e)}componentWillLoad(){this.onChoicesPropChange(this.choices)}render(){return t(c,{key:"a5ced1a4f1e3e5323dbc247c66ddf5ad489edc5f",class:"xpl-choicelist-container"},void 0!==this.heading||void 0!==this.description?t("div",{class:"xpl-choicelist-heading"},this.heading&&t("h3",null,this.heading),this.description&&t("p",null,this.description)):null,this.choices&&t("ul",{key:"70f4738e8f5d1e1a72858d139eb4a3b531973449",class:{"xpl-choicelist":!0,"xpl-choicelist--styled":this.styled}},this.choices.map(((e,s)=>{const i=this.renderChoice(e,s);return t("li",{class:{selected:this.styled&&this.selected[s]}},i,e.children&&t("ul",null,e.children.map(((e,s)=>{const i=this.renderChoice(e,s);return t("li",null,i)}))))}))))}static get watchers(){return{choices:[{onChoicesPropChange:0}],selected:[{onSelectedChange:0}]}}},[0,"xpl-choicelist",{choices:[16],description:[1],heading:[1],multi:[4],name:[1],styled:[4],selected:[32]},void 0,{choices:[{onChoicesPropChange:0}],selected:[{onSelectedChange:0}]}]),d=a,r=function(){"undefined"!=typeof customElements&&["xpl-choicelist","xpl-checkbox","xpl-radio"].forEach((e=>{switch(e){case"xpl-choicelist":customElements.get(h(e))||customElements.define(h(e),a);break;case"xpl-checkbox":customElements.get(h(e))||l();break;case"xpl-radio":customElements.get(h(e))||o()}}))};export{d as XplChoicelist,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as a,c as n,t as s}from"./p-BT_Lq3Vd.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.size="wide"}render(){return a(n,{key:"9ae6e297af2b7cf5b40ae9848a1479d6e87b6a3e"},a("main",{key:"2ca4359f4090262b7186689207b4725883e5378e",class:"xpl-content-area-wrapper xpl-content-area-wrapper__"+this.size},a("div",{key:"6e4e1e2947eb4e7e8d5d9201b48074cd9cb102ed",class:"xpl-content-area"},a("slot",{key:"bf8de84eb947b3ce40fd5df93169f382d3a896cf"}))))}},[260,"xpl-content-area",{size:[1]}]),r=c,o=function(){"undefined"!=typeof customElements&&["xpl-content-area"].forEach((e=>{"xpl-content-area"===e&&(customElements.get(s(e))||customElements.define(s(e),c))}))};export{r as XplContentArea,o as defineCustomElement}
1
+ import{p as e,H as a,h as t,c,t as n}from"./p-BT_Lq3Vd.js";const s=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.size="wide"}render(){return t(c,{key:"926cdfb1b6e52baabfb46bac6d837c5f1ba45183"},t("main",{key:"71dacea3a70c90ae0471a1ec3c39add237faa119",class:"xpl-content-area-wrapper xpl-content-area-wrapper__"+this.size},t("div",{key:"5e53fe46cf9dc459d4a9d1f0540464b8bd695d8a",class:"xpl-content-area"},t("slot",{key:"2f74936219cf75dccd583ee01a173807f0f80079"}))))}},[260,"xpl-content-area",{size:[1]}]),r=s,d=function(){"undefined"!=typeof customElements&&["xpl-content-area"].forEach((e=>{"xpl-content-area"===e&&(customElements.get(n(e))||customElements.define(n(e),s))}))};export{r as XplContentArea,d as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as d,h as s,c as a,t}from"./p-BT_Lq3Vd.js";const c=e(class extends d{constructor(e){super(),!1!==e&&this.__registerHost()}render(){return s(a,{key:"e3736f9e707de77addac539a4e7f0950133d0e08"},s("dl",{key:"de1add10d2f37c0a541d2f60f7156cf920eabd69",class:"xpl-dashboard"},s("slot",{key:"acd2becab0a555bf2599d0b2db4ebe0c9d744744"})))}},[260,"xpl-dashboard"]),o=c,r=function(){"undefined"!=typeof customElements&&["xpl-dashboard"].forEach((e=>{"xpl-dashboard"===e&&(customElements.get(t(e))||customElements.define(t(e),c))}))};export{o as XplDashboard,r as defineCustomElement}
1
+ import{p as e,H as a,h as s,c as d,t}from"./p-BT_Lq3Vd.js";const o=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost()}render(){return s(d,{key:"1eb93f83a05cfe198aed91b0d8771bdbe6e7aaee"},s("dl",{key:"bdb8f39b30d318ae25a203ac75966f12a9299b35",class:"xpl-dashboard"},s("slot",{key:"caf043e38777ac0a397782957f0936bb34436f63"})))}},[260,"xpl-dashboard"]),b=o,c=function(){"undefined"!=typeof customElements&&["xpl-dashboard"].forEach((e=>{"xpl-dashboard"===e&&(customElements.get(t(e))||customElements.define(t(e),o))}))};export{b as XplDashboard,c as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as a,h as s,c as e,t as c}from"./p-BT_Lq3Vd.js";import{d}from"./p-B1PBAEzg.js";import{d as i}from"./p-CGNq3DyC.js";const l=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.leadingIcon=!0,this.tooltipTextSmallStat="",this.tooltipTextStat=""}watchStat(t){this.stat=t}watchShortStat(t){this.shortStat=t}componentDidLoad(){if(this.link){const t=this.el.getElementsByTagName("a")[0]||this.el.getElementsByTagName("button")[0],a=document.createTextNode(this.name),s=document.createElement("span");s.appendChild(a),t.setAttribute("class","xpl-data-card__anchor"),t.appendChild(s)}}render(){const t="graph-content",a=this.el.querySelector(`[slot="${t}"]`),c="positive"===this.smallStatVariant?"arrow-up-right":"negative"===this.smallStatVariant?"arrow-down-right":"dash";return s(e,{key:"6220a2a6ba1ac0744ba62e701c015964c05bdea9",role:"group",class:"xpl-data-card "+(this.link?"xpl-data-card__link":""),tabindex:"0"},s("dt",{key:"44da16abf81bc72a9c777f19d7c22ab998f55e94",class:"xpl-data-card__header xpl-data-card__header--"+("secondary"===this.variant?"secondary":"primary")},s("header",{key:"4ac3524629d31f3e74a245eef3e4ed6fc3a6832a"},!!this.leadingIcon&&this.icon&&s("span",{key:"53f7476c16eee3432e43a6bdebf744caeb9f9829",class:"xpl-data-card__icon--"+this.variant},s("xpl-icon",{key:"af9ed04389ba00e4d0c79f978c1364a0530b1db7",icon:this.icon,"background-color":"secondary"===this.variant?"purple":"orange",size:20})),s("slot",{key:"164396b94252374a1978cadf336ca74685fe9ba4",name:"title"},this.name)),this.link&&s("span",{key:"31ce9874f295b1fef5705a28d81365d66a67a18b",class:"xpl-data-card__header-arrow"},s("xpl-icon",{key:"f5d169eeb150ed2eaa663ca1388e1075e61f6b7b",icon:"chevron-right",size:16}))),s("dd",{key:"59711740ae613b61ab5ae463cbfc2aaed500fdc9",class:"xpl-data-card__body"},s("div",{key:"35571a65469ba1c413114a50233340057f5df200",class:"xpl-data-card__left"},s("span",{key:"b1409661fc43dea4126e423d5dc74fe4b0a5ef5f",class:"xpl-data-card-stat xpl-data-card-stat--long"},this.stat),this.tooltipTextStat?s("xpl-tooltip",{text:this.tooltipTextStat},s("div",{class:"xpl-data-card-stat xpl-data-card-stat--short"},this.shortStat?this.shortStat:this.stat)):s("div",{class:"xpl-data-card-stat xpl-data-card-stat--short"},s("abbr",{title:this.stat},this.shortStat?this.shortStat:this.stat)),this.smallStatVariant?this.tooltipTextSmallStat?s("xpl-tooltip",{text:this.tooltipTextSmallStat},s("div",{class:"xpl-data-card-stat xpl-data-card-stat--small "+this.smallStatVariant},s("xpl-icon",{icon:c,size:16}),this.smallStat)):s("div",{class:"xpl-data-card-stat xpl-data-card-stat--small "+this.smallStatVariant},s("xpl-icon",{icon:c,size:16}),this.smallStat):this.smallStatIcon&&(this.tooltipTextSmallStat?s("xpl-tooltip",{text:this.tooltipTextSmallStat},s("div",{class:"xpl-data-card-stat xpl-data-card-stat--small"},s("xpl-icon",{icon:this.smallStatIcon,size:16}),this.smallStat)):s("div",{class:"xpl-data-card-stat xpl-data-card-stat--small"},s("xpl-icon",{icon:this.smallStatIcon,size:16}),this.smallStat)),!!this.detail&&s("span",{key:"634b386799ed06de06ca212005d20e6f79c54124",class:"xpl-data-card__detail"},this.detail)),a&&s("div",{key:"9e88749b9c2efd65d22ec92881eaf316103ddb97",class:"xpl-data-card__right"},s("slot",{key:"467388943d1c8a6bbfb334e6ab763dc7e92e59c8",name:t}))))}get el(){return this}static get watchers(){return{stat:[{watchStat:0}],shortStat:[{watchShortStat:0}]}}},[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"]},void 0,{stat:[{watchStat:0}],shortStat:[{watchShortStat:0}]}]),o=l,r=function(){"undefined"!=typeof customElements&&["xpl-data-card","xpl-icon","xpl-tooltip"].forEach((t=>{switch(t){case"xpl-data-card":customElements.get(c(t))||customElements.define(c(t),l);break;case"xpl-icon":customElements.get(c(t))||d();break;case"xpl-tooltip":customElements.get(c(t))||i()}}))};export{o as XplDataCard,r as defineCustomElement}
1
+ import{p as t,H as a,h as s,c,t as e}from"./p-BT_Lq3Vd.js";import{d}from"./p-ByJRw26d.js";import{d as i}from"./p-B8RYNiz-.js";const l=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.leadingIcon=!0,this.tooltipTextSmallStat="",this.tooltipTextStat=""}watchStat(t){this.stat=t}watchShortStat(t){this.shortStat=t}componentDidLoad(){if(this.link){const t=this.el.getElementsByTagName("a")[0]||this.el.getElementsByTagName("button")[0],a=document.createTextNode(this.name),s=document.createElement("span");s.appendChild(a),t.setAttribute("class","xpl-data-card__anchor"),t.appendChild(s)}}render(){const t="graph-content",a=this.el.querySelector(`[slot="${t}"]`),e="positive"===this.smallStatVariant?"arrow-up-right":"negative"===this.smallStatVariant?"arrow-down-right":"dash";return s(c,{key:"cbf0c9eb79fbd3e66c683e821e9b992d46d5ec1a",role:"group",class:"xpl-data-card "+(this.link?"xpl-data-card__link":""),tabindex:"0"},s("dt",{key:"92bc8a02b1acfa3c080a2a975d43118be54f10d5",class:"xpl-data-card__header xpl-data-card__header--"+("secondary"===this.variant?"secondary":"primary")},s("header",{key:"f6a0baa73ab0e9d3a6eb9252acba54677a1083dc"},!!this.leadingIcon&&this.icon&&s("span",{key:"dad99548c0ded82140b345e9887747c31ee9f6c7",class:"xpl-data-card__icon--"+this.variant},s("xpl-icon",{key:"d591758d2ce1647ea67f03a27e4ae2efd29e4652",icon:this.icon,"background-color":"secondary"===this.variant?"purple":"orange",size:20})),s("slot",{key:"07760d38b11971d96d7841c9897aa13481ea234c",name:"title"},this.name)),this.link&&s("span",{key:"6ac3587f2ab1375cee605b22fe515e2c9a489e72",class:"xpl-data-card__header-arrow"},s("xpl-icon",{key:"160ebeeedc59a31e0ea3480dd393ec4623afb831",icon:"chevron-right",size:16}))),s("dd",{key:"dcf0703823e9f58f71a112a83de3d65cd43e1ae1",class:"xpl-data-card__body"},s("div",{key:"d7551579d17cfebed3dac59d32b56eb166afb530",class:"xpl-data-card__left"},s("span",{key:"c5c412c76f9785de5ff8686db3dcb71540b79b1f",class:"xpl-data-card-stat xpl-data-card-stat--long"},this.stat),this.tooltipTextStat?s("xpl-tooltip",{text:this.tooltipTextStat},s("div",{class:"xpl-data-card-stat xpl-data-card-stat--short"},this.shortStat?this.shortStat:this.stat)):s("div",{class:"xpl-data-card-stat xpl-data-card-stat--short"},s("abbr",{title:this.stat},this.shortStat?this.shortStat:this.stat)),this.smallStatVariant?this.tooltipTextSmallStat?s("xpl-tooltip",{text:this.tooltipTextSmallStat},s("div",{class:"xpl-data-card-stat xpl-data-card-stat--small "+this.smallStatVariant},s("xpl-icon",{icon:e,size:16}),this.smallStat)):s("div",{class:"xpl-data-card-stat xpl-data-card-stat--small "+this.smallStatVariant},s("xpl-icon",{icon:e,size:16}),this.smallStat):this.smallStatIcon&&(this.tooltipTextSmallStat?s("xpl-tooltip",{text:this.tooltipTextSmallStat},s("div",{class:"xpl-data-card-stat xpl-data-card-stat--small"},s("xpl-icon",{icon:this.smallStatIcon,size:16}),this.smallStat)):s("div",{class:"xpl-data-card-stat xpl-data-card-stat--small"},s("xpl-icon",{icon:this.smallStatIcon,size:16}),this.smallStat)),!!this.detail&&s("span",{key:"b33a9a133cf0a18deaccf6e3772ab1a797f9fa1f",class:"xpl-data-card__detail"},this.detail)),a&&s("div",{key:"e9dc031341b49ebf121cbe8cc081df6978aa13ad",class:"xpl-data-card__right"},s("slot",{key:"37c8414e9dc60052f1d5a69d86ece17b7cdbc1da",name:t}))))}get el(){return this}static get watchers(){return{stat:[{watchStat:0}],shortStat:[{watchShortStat:0}]}}},[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"]},void 0,{stat:[{watchStat:0}],shortStat:[{watchShortStat:0}]}]),o=l,r=function(){"undefined"!=typeof customElements&&["xpl-data-card","xpl-icon","xpl-tooltip"].forEach((t=>{switch(t){case"xpl-data-card":customElements.get(e(t))||customElements.define(e(t),l);break;case"xpl-icon":customElements.get(e(t))||d();break;case"xpl-tooltip":customElements.get(e(t))||i()}}))};export{o as XplDataCard,r as defineCustomElement}
@@ -1 +1 @@
1
- import{D as o,d as s}from"./p-DBWV65V-.js";const p=o,r=s;export{p as XplDivider,r as defineCustomElement}
1
+ import{D as o,d as s}from"./p-BxHFEnPN.js";const p=o,r=s;export{p as XplDivider,r as defineCustomElement}
@@ -1 +1 @@
1
- import{D as o,d as s}from"./p-U5dPMCXE.js";const p=o,r=s;export{p as XplDropdownGroup,r as defineCustomElement}
1
+ import{D as o,d as s}from"./p-BDWXBWGE.js";const p=o,r=s;export{p as XplDropdownGroup,r as defineCustomElement}
@@ -1 +1 @@
1
- import{D as s,d as o}from"./p-Ds28UyUR.js";const p=s,r=o;export{p as XplDropdownHeading,r as defineCustomElement}
1
+ import{D as o,d as s}from"./p-2xGSxBGa.js";const a=o,p=s;export{a as XplDropdownHeading,p as defineCustomElement}
@@ -1 +1 @@
1
- import{D as o,d as s}from"./p-BG0-6Xek.js";const p=o,r=s;export{p as XplDropdownOption,r as defineCustomElement}
1
+ import{D as o,d as s}from"./p-CUYkG-PB.js";const p=o,r=s;export{p as XplDropdownOption,r as defineCustomElement}
@@ -1 +1 @@
1
- import{D as o,d as s}from"./p-3qMYyqTe.js";const p=o,r=s;export{p as XplDropdown,r as defineCustomElement}
1
+ import{D as s,d as o}from"./p-DKUNbsb0.js";const p=s,r=o;export{p as XplDropdown,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as s,c as a,t as c}from"./p-BT_Lq3Vd.js";const l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.disabled=!1}componentDidLoad(){this.updateSlottedComponentsWhenDisabled()}componentDidUpdate(){this.updateSlottedComponentsWhenDisabled()}updateSlottedComponentsWhenDisabled(){this.hostElement.querySelectorAll("*").forEach((e=>{"disabled"in e&&(e.disabled=this.disabled)}))}render(){const e=Array.from(this.el.parentElement.children).indexOf(this.el)+1;return s(a,{key:"e6e9a3695c9d8ca3743b188284bc8e69f50f3397",role:"gridcell","aria-colindex":e,class:"xpl-dynamic-table-cell",ref:e=>{this.hostElement=e}},s("slot",{key:"abfa632a3ac88d663acaaacbc431d07c9da4b375"}))}get el(){return this}},[260,"xpl-dynamic-table-cell",{disabled:[4]}]),n=l,d=function(){"undefined"!=typeof customElements&&["xpl-dynamic-table-cell"].forEach((e=>{"xpl-dynamic-table-cell"===e&&(customElements.get(c(e))||customElements.define(c(e),l))}))};export{n as XplDynamicTableCell,d as defineCustomElement}
1
+ import{p as e,H as t,h as s,c as l,t as c}from"./p-BT_Lq3Vd.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.disabled=!1}componentDidLoad(){this.updateSlottedComponentsWhenDisabled()}componentDidUpdate(){this.updateSlottedComponentsWhenDisabled()}updateSlottedComponentsWhenDisabled(){this.hostElement.querySelectorAll("*").forEach((e=>{"disabled"in e&&(e.disabled=this.disabled)}))}render(){const e=Array.from(this.el.parentElement.children).indexOf(this.el)+1;return s(l,{key:"18dbf3410d7ecd8ccf08b4b7e8927c50777967b8",role:"gridcell","aria-colindex":e,class:"xpl-dynamic-table-cell",ref:e=>{this.hostElement=e}},s("slot",{key:"7efb10712db0c91fb2f745f23946270c488885a5"}))}get el(){return this}},[260,"xpl-dynamic-table-cell",{disabled:[4]}]),d=n,i=function(){"undefined"!=typeof customElements&&["xpl-dynamic-table-cell"].forEach((e=>{"xpl-dynamic-table-cell"===e&&(customElements.get(c(e))||customElements.define(c(e),n))}))};export{d as XplDynamicTableCell,i as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as s,c as d,t as a}from"./p-BT_Lq3Vd.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.disabled=!1,this.selected=!1,this.isDisabled=!1}componentWillLoad(){this.isDisabled=this.disabled}componentDidLoad(){this.updateRowCellsDisabledState()}componentDidUpdate(){this.updateRowCellsDisabledState()}updateRowCellsDisabledState(){this.hostElement.querySelectorAll("xpl-dynamic-table-cell").forEach((e=>{e.disabled=this.isDisabled}))}render(){return s(d,{key:"e070f32db6cee0bcbf0dd84e41e13e6d3b88e8a1",role:"row",class:`xpl-dynamic-table-row\n ${this.isDisabled?"disabled":""}\n ${this.selected?"selected":""}`,ref:e=>{this.hostElement=e}},s("slot",{key:"78ea8e02e97e0017dc4aa35af4883446d4e4c4bf"}))}},[260,"xpl-dynamic-table-row",{disabled:[4],selected:[4],isDisabled:[32]}]),l=i,o=function(){"undefined"!=typeof customElements&&["xpl-dynamic-table-row"].forEach((e=>{"xpl-dynamic-table-row"===e&&(customElements.get(a(e))||customElements.define(a(e),i))}))};export{l as XplDynamicTableRow,o as defineCustomElement}
1
+ import{p as e,H as t,h as s,c as d,t as c}from"./p-BT_Lq3Vd.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.disabled=!1,this.selected=!1,this.isDisabled=!1}componentWillLoad(){this.isDisabled=this.disabled}componentDidLoad(){this.updateRowCellsDisabledState()}componentDidUpdate(){this.updateRowCellsDisabledState()}updateRowCellsDisabledState(){this.hostElement.querySelectorAll("xpl-dynamic-table-cell").forEach((e=>{e.disabled=this.isDisabled}))}render(){return s(d,{key:"17fac4d9214237c1896a136839c79377dc9b3169",role:"row",class:`xpl-dynamic-table-row\n ${this.isDisabled?"disabled":""}\n ${this.selected?"selected":""}`,ref:e=>{this.hostElement=e}},s("slot",{key:"7d41f904e2c1fa3dcde2b7652cd2840c6bde3470"}))}},[260,"xpl-dynamic-table-row",{disabled:[4],selected:[4],isDisabled:[32]}]),l=i,a=function(){"undefined"!=typeof customElements&&["xpl-dynamic-table-row"].forEach((e=>{"xpl-dynamic-table-row"===e&&(customElements.get(c(e))||customElements.define(c(e),i))}))};export{l as XplDynamicTableRow,a as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,d as n,h as s,t as c}from"./p-BT_Lq3Vd.js";const l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.selectedItemCountChange=n(this,"selectedItemCountChange",7),this.selectedItemCount=0,this.colCount=0}updateColumnCount(){const e=this.el.querySelectorAll("xpl-table-header-cell");if(e.length===this.colCount)return;const t=Array.from(e).map((e=>null!==e.getAttribute("width")?e.getAttribute("width")+"px":"1fr"));this.el.style.setProperty("--column-widths",t.join(" ")),this.colCount=e.length}listenToDeselectEvent(){this.selectedItemCount=0,this.selectedItemCountChange.emit([])}listenToChangeEvent(){const e=document.querySelectorAll('.xpl-dynamic-table xpl-checkbox:not([class^="xpl-header-accordion__parent-checkbox"]) input:not([disabled])'),t=Array.from(e).filter((e=>e.checked)).map((e=>e.getAttribute("data-id")));this.selectedItemCount=t.length,this.selectedItemCountChange.emit(t)}updateRowGap(){null!==this.el.querySelector("xpl-header-accordion")&&[".xpl-dynamic-table",'.xpl-dynamic-table > [slot="body"]'].forEach((e=>{const t=this.el.querySelector(e);null!==t&&(t.style.rowGap="0.5rem")}))}componentDidLoad(){this.updateColumnCount(),this.updateRowGap()}componentDidUpdate(){this.updateColumnCount()}render(){return s("div",{key:"3d5c3e5aea065c98323fbdbf17392af63975c9dd",role:"grid",class:"xpl-dynamic-table","aria-colcount":this.colCount},s("slot",{key:"f6076fef5e85fdf22b03e532e920396ce5f6ce63",name:"header"}),s("slot",{key:"3b94b04b8f6b7a1cca9277161c0c32b117ce315f",name:"body"}))}get el(){return this}},[260,"xpl-dynamic-table",{selectedItemCount:[32],colCount:[32]},[[8,"deselectAll","listenToDeselectEvent"],[8,"checkboxChange","listenToChangeEvent"]]]),a=l,o=function(){"undefined"!=typeof customElements&&["xpl-dynamic-table"].forEach((e=>{"xpl-dynamic-table"===e&&(customElements.get(c(e))||customElements.define(c(e),l))}))};export{a as XplDynamicTable,o as defineCustomElement}
1
+ import{p as e,H as t,d as n,h as s,t as a}from"./p-BT_Lq3Vd.js";const l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.selectedItemCountChange=n(this,"selectedItemCountChange",7),this.selectedItemCount=0,this.colCount=0}updateColumnCount(){const e=this.el.querySelectorAll("xpl-table-header-cell");if(e.length===this.colCount)return;const t=Array.from(e).map((e=>null!==e.getAttribute("width")?e.getAttribute("width")+"px":"1fr"));this.el.style.setProperty("--column-widths",t.join(" ")),this.colCount=e.length}listenToDeselectEvent(){this.selectedItemCount=0,this.selectedItemCountChange.emit([])}listenToChangeEvent(){const e=document.querySelectorAll('.xpl-dynamic-table xpl-checkbox:not([class^="xpl-header-accordion__parent-checkbox"]) input:not([disabled])'),t=Array.from(e).filter((e=>e.checked)).map((e=>e.getAttribute("data-id")));this.selectedItemCount=t.length,this.selectedItemCountChange.emit(t)}updateRowGap(){null!==this.el.querySelector("xpl-header-accordion")&&[".xpl-dynamic-table",'.xpl-dynamic-table > [slot="body"]'].forEach((e=>{const t=this.el.querySelector(e);null!==t&&(t.style.rowGap="0.5rem")}))}componentDidLoad(){this.updateColumnCount(),this.updateRowGap()}componentDidUpdate(){this.updateColumnCount()}render(){return s("div",{key:"7b1ac3b1461e69fb7001baf63c256abcc65cb3a3",role:"grid",class:"xpl-dynamic-table","aria-colcount":this.colCount},s("slot",{key:"5d7484d4517b132dbb2400f7c63da3be14064586",name:"header"}),s("slot",{key:"292c502f9cb58467bbb69a3eeacff51af557d826",name:"body"}))}get el(){return this}},[260,"xpl-dynamic-table",{selectedItemCount:[32],colCount:[32]},[[8,"deselectAll","listenToDeselectEvent"],[8,"checkboxChange","listenToChangeEvent"]]]),c=l,o=function(){"undefined"!=typeof customElements&&["xpl-dynamic-table"].forEach((e=>{"xpl-dynamic-table"===e&&(customElements.get(a(e))||customElements.define(a(e),l))}))};export{c as XplDynamicTable,o as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as s,h as e,c as i,t as d}from"./p-BT_Lq3Vd.js";const m=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),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,e(i,{key:"bb28d83b6fd6ee92390ffcb5a505f5084f5624b9",class:t},e("slot",{key:"db3cf487db67044879425c830a14a44e06d19414"}))}},[260,"xpl-grid-item",{xs:[2],sm:[2],md:[2],lg:[2]}]),r=m,l=function(){"undefined"!=typeof customElements&&["xpl-grid-item"].forEach((t=>{"xpl-grid-item"===t&&(customElements.get(d(t))||customElements.define(d(t),m))}))};export{r as XplGridItem,l as defineCustomElement}
1
+ import{p as t,H as e,h as s,c as i,t as m}from"./p-BT_Lq3Vd.js";const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),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,s(i,{key:"a541967d85e9a4fcd643aa95b62226e46c476dc6",class:t},s("slot",{key:"e20ba799288ffb654334698215518e8cfe6ba9a3"}))}},[260,"xpl-grid-item",{xs:[2],sm:[2],md:[2],lg:[2]}]),r=d,l=function(){"undefined"!=typeof customElements&&["xpl-grid-item"].forEach((t=>{"xpl-grid-item"===t&&(customElements.get(m(t))||customElements.define(m(t),d))}))};export{r as XplGridItem,l as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as s,h as e,t as r,c as i}from"./p-BT_Lq3Vd.js";const l=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost()}componentDidLoad(){const t=Array.from(this.container.querySelectorAll(".xpl-grid-item"));let s=0,e=0,r=0,i=0;t.forEach((t=>{s+=+t.getAttribute("lg")||6,e+=+t.getAttribute("md")||6,r+=+t.getAttribute("sm")||6,i+=+t.getAttribute("xs")||6,s%6==0&&t.classList.add("xpl-grid-item-lg-last"),e%6==0&&t.classList.add("xpl-grid-item-md-last"),r%6==0&&t.classList.add("xpl-grid-item-sm-last"),i%6==0&&t.classList.add("xpl-grid-item-xs-last")}))}render(){return e(i,{key:"0036b594c89e75a9b302e7a7d9c99d4703a8b729",class:"xpl-grid"})}get container(){return this}},[0,"xpl-grid"]),d=l,m=function(){"undefined"!=typeof customElements&&["xpl-grid"].forEach((t=>{"xpl-grid"===t&&(customElements.get(r(t))||customElements.define(r(t),l))}))};export{d as XplGrid,m as defineCustomElement}
1
+ import{p as t,H as e,h as s,t as r,c as i}from"./p-BT_Lq3Vd.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost()}componentDidLoad(){const t=Array.from(this.container.querySelectorAll(".xpl-grid-item"));let e=0,s=0,r=0,i=0;t.forEach((t=>{e+=+t.getAttribute("lg")||6,s+=+t.getAttribute("md")||6,r+=+t.getAttribute("sm")||6,i+=+t.getAttribute("xs")||6,e%6==0&&t.classList.add("xpl-grid-item-lg-last"),s%6==0&&t.classList.add("xpl-grid-item-md-last"),r%6==0&&t.classList.add("xpl-grid-item-sm-last"),i%6==0&&t.classList.add("xpl-grid-item-xs-last")}))}render(){return s(i,{key:"3700079a0f7bbea9755a217d7757dff5a82ee601",class:"xpl-grid"})}get container(){return this}},[0,"xpl-grid"]),d=l,m=function(){"undefined"!=typeof customElements&&["xpl-grid"].forEach((t=>{"xpl-grid"===t&&(customElements.get(r(t))||customElements.define(r(t),l))}))};export{d as XplGrid,m as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as i,c,t as s}from"./p-BT_Lq3Vd.js";import{d}from"./p-BWyAzrwu.js";import{d as o}from"./p-B1PBAEzg.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.initialExpanded=!1,this.disabled=!1,this.selectedCount=-1,this.hasCheckbox=!0,this.expanded=this.initialExpanded,this.parentChecked=!1,this.parentIndeterminate=!1,this.toggleAccordion=()=>{this.expanded=!this.expanded},this.handleParentCheckboxChange=e=>{var t;this.parentChecked=e,this.parentIndeterminate=!1,(null===(t=this.el)||void 0===t?void 0:t.querySelectorAll('[role="region"] xpl-checkbox input:not([disabled])')).forEach((t=>{t.checked=e}))}}applyBorderRadiusToLastRow(){var e;if(this.expanded){const t=null===(e=this.el)||void 0===e?void 0:e.querySelectorAll("xpl-dynamic-table-row"),i=t[t.length-1],c=null==i?void 0:i.querySelectorAll("xpl-dynamic-table-cell");c[0].style.borderBottomLeftRadius="0.5rem",c[c.length-1].style.borderBottomRightRadius="0.5rem"}}watchSelectedCount(e,t){e>-1&&this.updateParentCheckbox(e)}updateParentCheckbox(e){var t;const i=null===(t=this.el)||void 0===t?void 0:t.querySelectorAll('[role="region"] xpl-checkbox input:not([disabled])');0===e?(this.parentChecked=!1,this.parentIndeterminate=!1):e===i.length?(this.parentChecked=!0,this.parentIndeterminate=!1):(this.parentChecked=!1,this.parentIndeterminate=!0)}handleChildCheckboxChange(){var e;if(-1===this.selectedCount){const t=null===(e=this.el)||void 0===e?void 0:e.querySelectorAll('[role="region"] xpl-checkbox input:not([disabled])'),i=Array.from(t).filter((e=>e.checked)).length;this.updateParentCheckbox(i)}}componentDidLoad(){this.updateParentCheckbox(this.selectedCount>-1?this.selectedCount:0)}componentWillRender(){this.applyBorderRadiusToLastRow()}render(){return i(c,{key:"ec426d05bbf030c8e782e7e74fda505bc8b9011a",class:"xpl-header-accordion"},i("div",{key:"b9da9063757f65ab682f542dd138f3f8f8dc471f",class:"header-accordion header-accordion--"+(this.expanded?"expanded":"collapsed")},this.hasCheckbox&&i("xpl-checkbox",{key:"8b97b3e36f49549dcd18978628bfde93f75a084e",class:"xpl-header-accordion__parent-checkbox",checked:this.parentChecked,disabled:this.disabled,indeterminate:this.parentIndeterminate,onCheckboxChange:e=>this.handleParentCheckboxChange(e.detail)}),i("button",{key:"7bdf4043d478bb1c04f44de14717ac3753236e1a","aria-expanded":this.expanded,"aria-controls":this.contentId,class:"toggle-area",onClick:this.toggleAccordion,type:"button"},i("slot",{key:"0a6197fd9b5dabff14f1da4137d8a99c7a4cbc93",name:"title"}),i("xpl-icon",{key:"5a74ba13feb88a46df377f255eb134d5b609be53",size:16,icon:"chevron-down",class:this.expanded&&"rotate"}))),i("div",{key:"8d048d3480f0185ed34440c3e6d84befb3cf4dee",id:this.contentId,role:"region",class:this.expanded?"content--shown":"content--hidden"},i("slot",{key:"fa374cd9feba5ef3eb72d50f027651dc84f80ec8",name:"content"})))}get el(){return this}static get watchers(){return{selectedCount:[{watchSelectedCount:0}]}}},[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}]}]),n=a,h=function(){"undefined"!=typeof customElements&&["xpl-header-accordion","xpl-checkbox","xpl-icon"].forEach((e=>{switch(e){case"xpl-header-accordion":customElements.get(s(e))||customElements.define(s(e),a);break;case"xpl-checkbox":customElements.get(s(e))||d();break;case"xpl-icon":customElements.get(s(e))||o()}}))};export{n as XplHeaderAccordion,h as defineCustomElement}
1
+ import{p as e,H as t,h as i,c as a,t as s}from"./p-BT_Lq3Vd.js";import{d as c}from"./p-CF_YTx16.js";import{d as o}from"./p-ByJRw26d.js";const d=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.initialExpanded=!1,this.disabled=!1,this.selectedCount=-1,this.hasCheckbox=!0,this.expanded=this.initialExpanded,this.parentChecked=!1,this.parentIndeterminate=!1,this.toggleAccordion=()=>{this.expanded=!this.expanded},this.handleParentCheckboxChange=e=>{var t;this.parentChecked=e,this.parentIndeterminate=!1,(null===(t=this.el)||void 0===t?void 0:t.querySelectorAll('[role="region"] xpl-checkbox input:not([disabled])')).forEach((t=>{t.checked=e}))}}applyBorderRadiusToLastRow(){var e;if(this.expanded){const t=null===(e=this.el)||void 0===e?void 0:e.querySelectorAll("xpl-dynamic-table-row"),i=t[t.length-1],a=null==i?void 0:i.querySelectorAll("xpl-dynamic-table-cell");a[0].style.borderBottomLeftRadius="0.5rem",a[a.length-1].style.borderBottomRightRadius="0.5rem"}}watchSelectedCount(e,t){e>-1&&this.updateParentCheckbox(e)}updateParentCheckbox(e){var t;const i=null===(t=this.el)||void 0===t?void 0:t.querySelectorAll('[role="region"] xpl-checkbox input:not([disabled])');0===e?(this.parentChecked=!1,this.parentIndeterminate=!1):e===i.length?(this.parentChecked=!0,this.parentIndeterminate=!1):(this.parentChecked=!1,this.parentIndeterminate=!0)}handleChildCheckboxChange(){var e;if(-1===this.selectedCount){const t=null===(e=this.el)||void 0===e?void 0:e.querySelectorAll('[role="region"] xpl-checkbox input:not([disabled])'),i=Array.from(t).filter((e=>e.checked)).length;this.updateParentCheckbox(i)}}componentDidLoad(){this.updateParentCheckbox(this.selectedCount>-1?this.selectedCount:0)}componentWillRender(){this.applyBorderRadiusToLastRow()}render(){return i(a,{key:"5a1f1085ff8351162fc87a30e939035ec81795fc",class:"xpl-header-accordion"},i("div",{key:"dd3e3b0a441b380e28fb898283e93d53d7347866",class:"header-accordion header-accordion--"+(this.expanded?"expanded":"collapsed")},this.hasCheckbox&&i("xpl-checkbox",{key:"6550eb878d0f55262beb1ee114ea54801037ad16",class:"xpl-header-accordion__parent-checkbox",checked:this.parentChecked,disabled:this.disabled,indeterminate:this.parentIndeterminate,onCheckboxChange:e=>this.handleParentCheckboxChange(e.detail)}),i("button",{key:"80e0b49c5d52866293eac2aef91bbe97d4a8ad96","aria-expanded":this.expanded,"aria-controls":this.contentId,class:"toggle-area",onClick:this.toggleAccordion,type:"button"},i("slot",{key:"9a29e3496f29f6179aae2c122e17db09943e2067",name:"title"}),i("xpl-icon",{key:"c3fddf66a6c41353240adb706da7faf6231caa57",size:16,icon:"chevron-down",class:this.expanded&&"rotate"}))),i("div",{key:"e1ffea5a3a456b5556d67f42326ec17eb80fe305",id:this.contentId,role:"region",class:this.expanded?"content--shown":"content--hidden"},i("slot",{key:"7c4e2677463ad9bbd1adcafc95692bdd95a09c0b",name:"content"})))}get el(){return this}static get watchers(){return{selectedCount:[{watchSelectedCount:0}]}}},[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}]}]),n=d,h=function(){"undefined"!=typeof customElements&&["xpl-header-accordion","xpl-checkbox","xpl-icon"].forEach((e=>{switch(e){case"xpl-header-accordion":customElements.get(s(e))||customElements.define(s(e),d);break;case"xpl-checkbox":customElements.get(s(e))||c();break;case"xpl-icon":customElements.get(s(e))||o()}}))};export{n as XplHeaderAccordion,h as defineCustomElement}
@@ -1 +1 @@
1
- import{I as o,d as s}from"./p-B1PBAEzg.js";const p=o,r=s;export{p as XplIcon,r as defineCustomElement}
1
+ import{I as o,d as s}from"./p-ByJRw26d.js";const p=o,r=s;export{p as XplIcon,r as defineCustomElement}
@@ -1 +1 @@
1
- import{a as o,b as s}from"./p-B_Wi--Ov.js";const a=o,p=s;export{a as XplInputColor,p as defineCustomElement}
1
+ import{a as s,b as o}from"./p-CuisR8WP.js";const a=s,p=o;export{a as XplInputColor,p as defineCustomElement}
@@ -1 +1 @@
1
- import{I as o,d as s}from"./p-kPHfCq1d.js";const p=o,r=s;export{p as XplInputDate,r as defineCustomElement}
1
+ import{I as o,d as s}from"./p-CaW0fL0P.js";const a=o,p=s;export{a as XplInputDate,p as defineCustomElement}
@@ -1 +1 @@
1
- import{I as o,d as s}from"./p-C9BO2vL-.js";const p=o,r=s;export{p as XplInputFile,r as defineCustomElement}
1
+ import{I as o,d as s}from"./p-h1Gbk5lO.js";const p=o,r=s;export{p as XplInputFile,r as defineCustomElement}
@@ -1 +1 @@
1
- import{c as o,e as s}from"./p-B_Wi--Ov.js";const p=o,r=s;export{p as XplInputPhone,r as defineCustomElement}
1
+ import{c as s,e as o}from"./p-CuisR8WP.js";const p=s,r=o;export{p as XplInputPhone,r as defineCustomElement}
@@ -1 +1 @@
1
- import{I as o,d as s}from"./p-DllC7F-H.js";const p=o,r=s;export{p as XplInputSearch,r as defineCustomElement}
1
+ import{I as s,d as o}from"./p-B_sq_SAX.js";const p=s,r=o;export{p as XplInputSearch,r as defineCustomElement}
@@ -1 +1 @@
1
- import{f as o,g as s}from"./p-B_Wi--Ov.js";const p=o,r=s;export{p as XplInputTime,r as defineCustomElement}
1
+ import{f as s,g as o}from"./p-CuisR8WP.js";const p=s,r=o;export{p as XplInputTime,r as defineCustomElement}
@@ -1 +1 @@
1
- import{I as o,d as s}from"./p-B_Wi--Ov.js";const p=o,r=s;export{p as XplInput,r as defineCustomElement}
1
+ import{I as s,d as o}from"./p-CuisR8WP.js";const p=s,r=o;export{p as XplInput,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as c,H as e,h as a,c as d,t as s}from"./p-BT_Lq3Vd.js";import{d as t}from"./p-B1PBAEzg.js";const r=c(class extends e{constructor(c){super(),!1!==c&&this.__registerHost()}componentDidLoad(){if(this.link){const c=this.el.getElementsByTagName("a")[0]||this.el.getElementsByTagName("button")[0],e=document.createTextNode(this.name),a=document.createElement("span");a.appendChild(e),c.setAttribute("class","xpl-large-card__anchor"),c.appendChild(a)}}render(){const c="graph-content",e=this.el.querySelector(`[slot="${c}"]`);return a(d,{key:"886078965cb1ca87fd9c4f45a8b06f089a4b2e04",role:"group",class:"xpl-large-card "+(this.link?"xpl-large-card__link":""),tabindex:"0"},a("dt",{key:"1c2006c9167b2d46262b222ace3c5e9135863783",class:"xpl-large-card__header"},a("header",{key:"21ba4629c7e3d0d9dff98f9dde2ac4bc9f1f494e"},a("slot",{key:"d50991dc4fcca6c56c04c7cc9a401f0894035aa2",name:"title"},this.name),this.link&&a("span",{key:"35b1b15786c1674f6d1797ec3b04da81b27d5d3a",class:"xpl-data-card__header-arrow"},a("xpl-icon",{key:"f52a7a39b3d044341296d88adb9d2bc07cdec9ab",icon:"chevron-right",size:16}))),this.description&&a("div",{key:"bac9d6cec27272d277c991c81e651714603066a2",class:"xpl-large-card__description"},this.description)),a("dd",{key:"9da3ca8ec575a6755f1f47065299ec3ab3e5169b",class:"xpl-large-card__body"},e&&a("slot",{key:"022da3c1e07c264441c58f7d42d6edca109a504d",name:c})))}get el(){return this}},[260,"xpl-large-card",{link:[4],name:[1],description:[1]}]),l=r,n=function(){"undefined"!=typeof customElements&&["xpl-large-card","xpl-icon"].forEach((c=>{switch(c){case"xpl-large-card":customElements.get(s(c))||customElements.define(s(c),r);break;case"xpl-icon":customElements.get(s(c))||t()}}))};export{l as XplLargeCard,n as defineCustomElement}
1
+ import{p as e,H as a,h as c,c as s,t}from"./p-BT_Lq3Vd.js";import{d}from"./p-ByJRw26d.js";const r=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost()}componentDidLoad(){if(this.link){const e=this.el.getElementsByTagName("a")[0]||this.el.getElementsByTagName("button")[0],a=document.createTextNode(this.name),c=document.createElement("span");c.appendChild(a),e.setAttribute("class","xpl-large-card__anchor"),e.appendChild(c)}}render(){const e="graph-content",a=this.el.querySelector(`[slot="${e}"]`);return c(s,{key:"30865d2efaf693257afb21c768981e2785c81ad4",role:"group",class:"xpl-large-card "+(this.link?"xpl-large-card__link":""),tabindex:"0"},c("dt",{key:"bf95f5c52d36b3aa9174222ea2f3bb7e788f5992",class:"xpl-large-card__header"},c("header",{key:"5a18e7dfe1544b65fa13e9b918d06ca0fdabb9f2"},c("slot",{key:"94e9bd081a2c1fe5eb57cb8cedd0ab1224bb5bb3",name:"title"},this.name),this.link&&c("span",{key:"082622ba8e2446dc65fe4f37ee1e15bab1c8785d",class:"xpl-data-card__header-arrow"},c("xpl-icon",{key:"407180586601126e1ea5fb2c6af006d109067b39",icon:"chevron-right",size:16}))),this.description&&c("div",{key:"381711e6390dd685b0951d7dd08faeb6f9ef34f3",class:"xpl-large-card__description"},this.description)),c("dd",{key:"2cf8a71574bef72aee76720525e26288b92cecc2",class:"xpl-large-card__body"},a&&c("slot",{key:"03a58f57d713de2abad1b815a77c91f340ef1f0a",name:e})))}get el(){return this}},[260,"xpl-large-card",{link:[4],name:[1],description:[1]}]),l=r,n=function(){"undefined"!=typeof customElements&&["xpl-large-card","xpl-icon"].forEach((e=>{switch(e){case"xpl-large-card":customElements.get(t(e))||customElements.define(t(e),r);break;case"xpl-icon":customElements.get(t(e))||d()}}))};export{l as XplLargeCard,n as defineCustomElement}
@@ -1 +1 @@
1
- import{X as o,d as p}from"./p-CVqbA9op.js";const s=o,r=p;export{s as XplListItem,r as defineCustomElement}
1
+ import{X as o,d as p}from"./p-Dp3H99Yc.js";const s=o,r=p;export{s as XplListItem,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,d as i,h as s,c as l,t as n}from"./p-BT_Lq3Vd.js";import{d as r}from"./p-hPUzON4O.js";import{d as a}from"./p-DPTHmitJ.js";import{d as o}from"./p-D97c0GjM.js";import{d as h}from"./p-DBWV65V-.js";import{d}from"./p-B1PBAEzg.js";import{d as c}from"./p-CVqbA9op.js";import{d as m}from"./p-Bd6JweBt.js";class u{constructor(){this.timeouts=new Set,this.intervals=new Set,this.rafs=new Set}setTimeout(e,t){const i=setTimeout((()=>{this.timeouts.delete(i),e()}),t);return this.timeouts.add(i),i}clearTimeout(e){clearTimeout(e),this.timeouts.delete(e)}setInterval(e,t){const i=setInterval(e,t);return this.intervals.add(i),i}clearInterval(e){clearInterval(e),this.intervals.delete(e)}requestAnimationFrame(e){const t=requestAnimationFrame((i=>{this.rafs.delete(t),e(i)}));return this.rafs.add(t),t}cancelAnimationFrame(e){cancelAnimationFrame(e),this.rafs.delete(e)}dispose(){this.timeouts.forEach((e=>clearTimeout(e))),this.timeouts.clear(),this.intervals.forEach((e=>clearInterval(e))),this.intervals.clear(),this.rafs.forEach((e=>cancelAnimationFrame(e))),this.rafs.clear()}}let p=!1;const b=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.itemSelect=i(this,"itemSelect",7),this.orderChange=i(this,"orderChange",7),this.draggedItem=null,this.listItems=[],this.nextAutoItemIdSeq=0,this.radioName="xpl-list-radio-"+Math.random().toString(36).slice(2,11),this.timers=new u,this.keyboardReorderItemId=null,this.reorderLiveMessage="",this.items=[],this.reorderable=!1,this.selectable=!1}handleKeyboardReorderItemIdChange(){this.collectListItems()}handleItemsChange(){this.collectListItems()}handleReorderableChange(){this.collectListItems()}handleSelectableChange(){this.collectListItems()}componentWillLoad(){this.collectListItems(),this.items.length>0&&!p&&(p=!0,console.warn('[xpl-list] The "items" prop is deprecated. Use slot-based xpl-list-item children instead.'))}componentDidLoad(){this.collectListItems()}disconnectedCallback(){this.timers.dispose()}handleKeyDown(e){if(!this.selectable||"Escape"!==e.key||e.defaultPrevented)return;const i=function(e){var i,s;const l=(null!==(s=null===(i=e.composedPath)||void 0===i?void 0:i.call(e))&&void 0!==s?s:[]).find((e=>e instanceof t&&"xpl-list-item"===e.tagName.toLowerCase()));return null!=l?l:null}(e);if(!i||i.parentElement!==this.el)return;const s=i.querySelector('.xpl-list-item__selectable input[type="radio"]');(s instanceof HTMLInputElement&&s.checked||i.selected)&&(e.preventDefault(),this.clearSelection())}handleChildItemSelect(e){if(!this.selectable)return;const t=e.target;"XPL-LIST-ITEM"===t.tagName&&t.parentElement===this.el&&this.syncSelectionFromChildDetail(e.detail)}handleSlotChange(){this.collectListItems()}handleItemDragStart(e){var t;const i=null===(t=e.detail)||void 0===t?void 0:t.item;if(!i||i.parentElement!==this.el)return;null!==this.keyboardReorderItemId&&(this.keyboardReorderItemId=null),this.draggedItem=i;const s=this.draggedItem.querySelector(".xpl-list-item__wrapper");null==s||s.classList.add("dragging")}handleItemDragEnd(e){var t;const i=null===(t=e.detail)||void 0===t?void 0:t.item;if(i&&i.parentElement===this.el){if(this.draggedItem){const e=this.draggedItem.querySelector(".xpl-list-item__wrapper");null==e||e.classList.remove("dragging")}this.draggedItem=null}}handleItemDrop(e){var t;const i=null===(t=e.detail)||void 0===t?void 0:t.item;if(i&&i.parentElement===this.el)if(this.draggedItem&&this.draggedItem.parentElement!==this.el)this.draggedItem=null;else{if(this.draggedItem){const e=this.draggedItem.querySelector(".xpl-list-item__wrapper");null==e||e.classList.remove("dragging")}if(this.draggedItem&&i&&this.draggedItem!==i){const e=this.getVisibleListItemElements(),t=e.indexOf(this.draggedItem),s=e.indexOf(i);if(-1!==t&&-1!==s){const e=t>s?"up":"down",l=this.getItemRowId(this.draggedItem);if("up"===e)this.el.insertBefore(this.draggedItem,i);else{const e=this.getNextVisibleListItemAfter(i);e?this.el.insertBefore(this.draggedItem,e):this.el.appendChild(this.draggedItem)}const n=this.getOrderedItemIds();this.orderChange.emit({itemId:l,direction:e,orderedItemIds:n}),this.announceReorder(l,n),this.el.dispatchEvent(new CustomEvent("xplListReorder",{bubbles:!0,composed:!0,detail:{itemId:l,direction:e,fromIndex:t,toIndex:s,orderedItemIds:n}}))}}this.draggedItem=null,e.preventDefault()}}handleItemReorder(e){e.stopPropagation();const{direction:t,itemId:i,keyboardMode:s,exitKeyboardMode:l}=e.detail;void 0!==s&&(this.keyboardReorderItemId=s?i:null),l&&(this.keyboardReorderItemId=null),t&&i&&this.performReorder(i,t)&&this.el.dispatchEvent(new CustomEvent("xplListReorder",{bubbles:!0,composed:!0,detail:Object.assign(Object.assign({},e.detail),{orderedItemIds:this.getOrderedItemIds()})}))}async clearSelection(){if(!this.selectable)return;this.collectListItems();const e=[];this.listItems.forEach((t=>{const i=t.querySelector('.xpl-list-item__selectable input[type="radio"]');if(i instanceof HTMLInputElement&&i.checked||t.selected){const i=this.getItemRowId(t);i&&e.push(i)}}));const t=[...new Set(e)];this.listItems.forEach((e=>{const t=e.querySelector('.xpl-list-item__selectable input[type="radio"]');t instanceof HTMLInputElement&&(t.checked=!1)})),this.listItems.forEach((e=>{e.selected&&(e.selected=!1)})),t.forEach((e=>{this.itemSelect.emit({itemId:e})}))}syncSelectionFromChildDetail(e){this.collectListItems();const t=e.itemId,i=null!=t&&""!==t;this.listItems.forEach((e=>{const s=this.getItemRowId(e);e.selected=i&&s===t}))}performReorder(e,i){this.listItems=this.getVisibleListItemElements();const s=this.listItems.findIndex((t=>this.getItemRowId(t)===e));if(-1===s)return!1;const l="up"===i?s-1:s+1;if(l<0||l>=this.listItems.length)return!1;const n=this.listItems[s],r=this.listItems[l];if("up"===i)this.el.insertBefore(n,r);else{const e=this.getNextVisibleListItemAfter(r);e?this.el.insertBefore(n,e):this.el.appendChild(n)}const a=this.getOrderedItemIds();return this.orderChange.emit({itemId:e,direction:i,orderedItemIds:a}),this.announceReorder(e,a),this.timers.requestAnimationFrame((()=>{var i;if(!this.el.isConnected)return;const s=this.getDirectChildListItems().find((t=>this.getItemRowId(t)===e)),l=null==s?void 0:s.querySelector(".xpl-list-item__drag-handle"),n=(null===(i=null==l?void 0:l.querySelector)||void 0===i?void 0:i.call(l,"button"))instanceof t?l.querySelector("button"):l;n instanceof t&&n.focus()})),!0}getOrderedItemIds(){return this.getVisibleListItemElements().map((e=>this.getItemRowId(e)))}announceReorder(e,t){if(!this.reorderable||!e)return;const i=t.indexOf(e);if(i<0)return;const s=i+1,l=t.length;this.reorderLiveMessage="",this.timers.requestAnimationFrame((()=>{this.el.isConnected&&(this.reorderLiveMessage=`Item ${e}, now position ${s} of ${l}`)}))}getDirectChildListItems(){return Array.from(this.el.children).filter((e=>"xpl-list-item"===e.tagName.toLowerCase()))}getVisibleListItemElements(){return this.getDirectChildListItems().filter((e=>!e.hasAttribute("hidden")))}isLegacyPropBasedRow(e){return null!=e.item}getNextVisibleListItemAfter(e){let i=e.nextElementSibling;for(;i;){if(i instanceof t&&"xpl-list-item"===i.tagName.toLowerCase()&&!i.hasAttribute("hidden"))return i;i=i.nextElementSibling}return null}collectListItems(){this.listItems=this.getDirectChildListItems();const e=new Set;this.listItems.forEach((t=>{const i=t.getAttribute("item-id")||t.id||(t.itemId?t.itemId+"":"");i&&e.add(i)})),this.listItems.forEach((t=>{if(!t.hasAttribute("item-id")&&!t.id)if(t.itemId)t.setAttribute("item-id",t.itemId),e.add(t.itemId);else{let i;do{i="item-"+this.nextAutoItemIdSeq,this.nextAutoItemIdSeq+=1}while(e.has(i));t.setAttribute("item-id",i),e.add(i)}this.isLegacyPropBasedRow(t)?(t.removeAttribute("selectable"),t.removeAttribute("radio-name"),t.removeAttribute("reorderable")):(this.selectable?(t.setAttribute("selectable","true"),t.setAttribute("radio-name",this.radioName)):(t.removeAttribute("selectable"),t.removeAttribute("radio-name")),this.reorderable?t.setAttribute("reorderable","true"):t.removeAttribute("reorderable"));const i=this.getItemRowId(t);this.isLegacyPropBasedRow(t)?t.removeAttribute("keyboard-active"):this.keyboardReorderItemId&&i===this.keyboardReorderItemId?t.setAttribute("keyboard-active","true"):t.removeAttribute("keyboard-active")}))}getItemRowId(e){return e.getAttribute("item-id")||e.id||e.itemId||""}render(){var e,t,i;const n=(null===(e=this.labelledBy)||void 0===e?void 0:e.trim())?this.labelledBy.trim():void 0,r=!n&&(null===(t=this.label)||void 0===t?void 0:t.trim())?this.label.trim():void 0;return s(l,{key:"4290084c30b164abb653943a81783c35531d6316",role:"list",class:{"xpl-list":!0},"aria-label":r,"aria-labelledby":n},null===(i=this.items)||void 0===i?void 0:i.map(((e,t)=>{var i;const l=null!==(i=e.id)&&void 0!==i?i:"item-"+t;return s("xpl-list-item",{key:"legacy-item-"+l,item:e,href:e.href,itemId:l})})),s("slot",{key:"55ce7202269eab851c0d753fd87ef2d5bf9f59a8"}),this.reorderable?s("div",{class:"xpl-list__reorder-live","aria-live":"assertive","aria-atomic":"true"},this.reorderLiveMessage):null)}get el(){return this}static get watchers(){return{keyboardReorderItemId:[{handleKeyboardReorderItemIdChange:0}],items:[{handleItemsChange:0}],reorderable:[{handleReorderableChange:0}],selectable:[{handleSelectableChange:0}]}}},[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}]}]),I=b,f=function(){"undefined"!=typeof customElements&&["xpl-list","xpl-avatar","xpl-badge","xpl-button","xpl-divider","xpl-icon","xpl-list-item","xpl-radio"].forEach((e=>{switch(e){case"xpl-list":customElements.get(n(e))||customElements.define(n(e),b);break;case"xpl-avatar":customElements.get(n(e))||r();break;case"xpl-badge":customElements.get(n(e))||a();break;case"xpl-button":customElements.get(n(e))||o();break;case"xpl-divider":customElements.get(n(e))||h();break;case"xpl-icon":customElements.get(n(e))||d();break;case"xpl-list-item":customElements.get(n(e))||c();break;case"xpl-radio":customElements.get(n(e))||m()}}))};export{I as XplList,f as defineCustomElement}
1
+ import{p as e,H as t,d as i,h as s,c as l,t as n}from"./p-BT_Lq3Vd.js";import{T as r}from"./p-BUgtURvw.js";import{d as o}from"./p-Bsy-VVS5.js";import{d as a}from"./p-C5_Yo0ZP.js";import{d}from"./p-D2SFagIb.js";import{d as h}from"./p-BxHFEnPN.js";import{d as c}from"./p-ByJRw26d.js";import{d as m}from"./p-Dp3H99Yc.js";import{d as p}from"./p-DcXL24UI.js";let u=!1;const b=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.itemSelect=i(this,"itemSelect",7),this.orderChange=i(this,"orderChange",7),this.draggedItem=null,this.listItems=[],this.nextAutoItemIdSeq=0,this.radioName="xpl-list-radio-"+Math.random().toString(36).slice(2,11),this.timers=new r,this.keyboardReorderItemId=null,this.reorderLiveMessage="",this.items=[],this.reorderable=!1,this.selectable=!1}handleKeyboardReorderItemIdChange(){this.collectListItems()}handleItemsChange(){this.collectListItems()}handleReorderableChange(){this.collectListItems()}handleSelectableChange(){this.collectListItems()}componentWillLoad(){this.collectListItems(),this.items.length>0&&!u&&(u=!0,console.warn('[xpl-list] The "items" prop is deprecated. Use slot-based xpl-list-item children instead.'))}componentDidLoad(){this.collectListItems()}disconnectedCallback(){this.timers.dispose()}handleKeyDown(e){if(!this.selectable||"Escape"!==e.key||e.defaultPrevented)return;const i=function(e){var i,s;const l=(null!==(s=null===(i=e.composedPath)||void 0===i?void 0:i.call(e))&&void 0!==s?s:[]).find((e=>e instanceof t&&"xpl-list-item"===e.tagName.toLowerCase()));return null!=l?l:null}(e);if(!i||i.parentElement!==this.el)return;const s=i.querySelector('.xpl-list-item__selectable input[type="radio"]');(s instanceof HTMLInputElement&&s.checked||i.selected)&&(e.preventDefault(),this.clearSelection())}handleChildItemSelect(e){if(!this.selectable)return;const t=e.target;"XPL-LIST-ITEM"===t.tagName&&t.parentElement===this.el&&this.syncSelectionFromChildDetail(e.detail)}handleSlotChange(){this.collectListItems()}handleItemDragStart(e){var t;const i=null===(t=e.detail)||void 0===t?void 0:t.item;if(!i||i.parentElement!==this.el)return;null!==this.keyboardReorderItemId&&(this.keyboardReorderItemId=null),this.draggedItem=i;const s=this.draggedItem.querySelector(".xpl-list-item__wrapper");null==s||s.classList.add("dragging")}handleItemDragEnd(e){var t;const i=null===(t=e.detail)||void 0===t?void 0:t.item;if(i&&i.parentElement===this.el){if(this.draggedItem){const e=this.draggedItem.querySelector(".xpl-list-item__wrapper");null==e||e.classList.remove("dragging")}this.draggedItem=null}}handleItemDrop(e){var t;const i=null===(t=e.detail)||void 0===t?void 0:t.item;if(i&&i.parentElement===this.el)if(this.draggedItem&&this.draggedItem.parentElement!==this.el)this.draggedItem=null;else{if(this.draggedItem){const e=this.draggedItem.querySelector(".xpl-list-item__wrapper");null==e||e.classList.remove("dragging")}if(this.draggedItem&&i&&this.draggedItem!==i){const e=this.getVisibleListItemElements(),t=e.indexOf(this.draggedItem),s=e.indexOf(i);if(-1!==t&&-1!==s){const e=t>s?"up":"down",l=this.getItemRowId(this.draggedItem);if("up"===e)this.el.insertBefore(this.draggedItem,i);else{const e=this.getNextVisibleListItemAfter(i);e?this.el.insertBefore(this.draggedItem,e):this.el.appendChild(this.draggedItem)}const n=this.getOrderedItemIds();this.orderChange.emit({itemId:l,direction:e,orderedItemIds:n}),this.announceReorder(l,n),this.el.dispatchEvent(new CustomEvent("xplListReorder",{bubbles:!0,composed:!0,detail:{itemId:l,direction:e,fromIndex:t,toIndex:s,orderedItemIds:n}}))}}this.draggedItem=null,e.preventDefault()}}handleItemReorder(e){e.stopPropagation();const{direction:t,itemId:i,keyboardMode:s,exitKeyboardMode:l}=e.detail;void 0!==s&&(this.keyboardReorderItemId=s?i:null),l&&(this.keyboardReorderItemId=null),t&&i&&this.performReorder(i,t)&&this.el.dispatchEvent(new CustomEvent("xplListReorder",{bubbles:!0,composed:!0,detail:Object.assign(Object.assign({},e.detail),{orderedItemIds:this.getOrderedItemIds()})}))}async clearSelection(){if(!this.selectable)return;this.collectListItems();const e=[];this.listItems.forEach((t=>{const i=t.querySelector('.xpl-list-item__selectable input[type="radio"]');if(i instanceof HTMLInputElement&&i.checked||t.selected){const i=this.getItemRowId(t);i&&e.push(i)}}));const t=[...new Set(e)];this.listItems.forEach((e=>{const t=e.querySelector('.xpl-list-item__selectable input[type="radio"]');t instanceof HTMLInputElement&&(t.checked=!1)})),this.listItems.forEach((e=>{e.selected&&(e.selected=!1)})),t.forEach((e=>{this.itemSelect.emit({itemId:e})}))}syncSelectionFromChildDetail(e){this.collectListItems();const t=e.itemId,i=null!=t&&""!==t;this.listItems.forEach((e=>{const s=this.getItemRowId(e);e.selected=i&&s===t}))}performReorder(e,i){this.listItems=this.getVisibleListItemElements();const s=this.listItems.findIndex((t=>this.getItemRowId(t)===e));if(-1===s)return!1;const l="up"===i?s-1:s+1;if(l<0||l>=this.listItems.length)return!1;const n=this.listItems[s],r=this.listItems[l];if("up"===i)this.el.insertBefore(n,r);else{const e=this.getNextVisibleListItemAfter(r);e?this.el.insertBefore(n,e):this.el.appendChild(n)}const o=this.getOrderedItemIds();return this.orderChange.emit({itemId:e,direction:i,orderedItemIds:o}),this.announceReorder(e,o),this.timers.requestAnimationFrame((()=>{var i;if(!this.el.isConnected)return;const s=this.getDirectChildListItems().find((t=>this.getItemRowId(t)===e)),l=null==s?void 0:s.querySelector(".xpl-list-item__drag-handle"),n=(null===(i=null==l?void 0:l.querySelector)||void 0===i?void 0:i.call(l,"button"))instanceof t?l.querySelector("button"):l;n instanceof t&&n.focus()})),!0}getOrderedItemIds(){return this.getVisibleListItemElements().map((e=>this.getItemRowId(e)))}announceReorder(e,t){if(!this.reorderable||!e)return;const i=t.indexOf(e);if(i<0)return;const s=i+1,l=t.length;this.reorderLiveMessage="",this.timers.requestAnimationFrame((()=>{this.el.isConnected&&(this.reorderLiveMessage=`Item ${e}, now position ${s} of ${l}`)}))}getDirectChildListItems(){return Array.from(this.el.children).filter((e=>"xpl-list-item"===e.tagName.toLowerCase()))}getVisibleListItemElements(){return this.getDirectChildListItems().filter((e=>!e.hasAttribute("hidden")))}isLegacyPropBasedRow(e){return null!=e.item}getNextVisibleListItemAfter(e){let i=e.nextElementSibling;for(;i;){if(i instanceof t&&"xpl-list-item"===i.tagName.toLowerCase()&&!i.hasAttribute("hidden"))return i;i=i.nextElementSibling}return null}collectListItems(){this.listItems=this.getDirectChildListItems();const e=new Set;this.listItems.forEach((t=>{const i=t.getAttribute("item-id")||t.id||(t.itemId?t.itemId+"":"");i&&e.add(i)})),this.listItems.forEach((t=>{if(!t.hasAttribute("item-id")&&!t.id)if(t.itemId)t.setAttribute("item-id",t.itemId),e.add(t.itemId);else{let i;do{i="item-"+this.nextAutoItemIdSeq,this.nextAutoItemIdSeq+=1}while(e.has(i));t.setAttribute("item-id",i),e.add(i)}this.isLegacyPropBasedRow(t)?(t.removeAttribute("selectable"),t.removeAttribute("radio-name"),t.removeAttribute("reorderable")):(this.selectable?(t.setAttribute("selectable","true"),t.setAttribute("radio-name",this.radioName)):(t.removeAttribute("selectable"),t.removeAttribute("radio-name")),this.reorderable?t.setAttribute("reorderable","true"):t.removeAttribute("reorderable"));const i=this.getItemRowId(t);this.isLegacyPropBasedRow(t)?t.removeAttribute("keyboard-active"):this.keyboardReorderItemId&&i===this.keyboardReorderItemId?t.setAttribute("keyboard-active","true"):t.removeAttribute("keyboard-active")}))}getItemRowId(e){return e.getAttribute("item-id")||e.id||e.itemId||""}render(){var e,t,i;const n=(null===(e=this.labelledBy)||void 0===e?void 0:e.trim())?this.labelledBy.trim():void 0,r=!n&&(null===(t=this.label)||void 0===t?void 0:t.trim())?this.label.trim():void 0;return s(l,{key:"66c41bf0c252a6ae1e61aea6d8c1c40fc594d8c7",role:"list",class:{"xpl-list":!0},"aria-label":r,"aria-labelledby":n},null===(i=this.items)||void 0===i?void 0:i.map(((e,t)=>{var i;const l=null!==(i=e.id)&&void 0!==i?i:"item-"+t;return s("xpl-list-item",{key:"legacy-item-"+l,item:e,href:e.href,itemId:l})})),s("slot",{key:"922088a7fe36e8bb2ee905ac79ac845eff101707"}),this.reorderable?s("div",{class:"xpl-list__reorder-live","aria-live":"assertive","aria-atomic":"true"},this.reorderLiveMessage):null)}get el(){return this}static get watchers(){return{keyboardReorderItemId:[{handleKeyboardReorderItemIdChange:0}],items:[{handleItemsChange:0}],reorderable:[{handleReorderableChange:0}],selectable:[{handleSelectableChange:0}]}}},[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}]}]),I=b,f=function(){"undefined"!=typeof customElements&&["xpl-list","xpl-avatar","xpl-badge","xpl-button","xpl-divider","xpl-icon","xpl-list-item","xpl-radio"].forEach((e=>{switch(e){case"xpl-list":customElements.get(n(e))||customElements.define(n(e),b);break;case"xpl-avatar":customElements.get(n(e))||o();break;case"xpl-badge":customElements.get(n(e))||a();break;case"xpl-button":customElements.get(n(e))||d();break;case"xpl-divider":customElements.get(n(e))||h();break;case"xpl-icon":customElements.get(n(e))||c();break;case"xpl-list-item":customElements.get(n(e))||m();break;case"xpl-radio":customElements.get(n(e))||p()}}))};export{I as XplList,f as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as e,d,h as n,c as t,t as c}from"./p-BT_Lq3Vd.js";const s=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.navWidth=d(this,"navWidth",7),this.width="default"}navWidthHandler(){this.navWidth.emit(this.width)}connectedCallback(){this.navWidthHandler()}componentDidUpdate(){this.navWidthHandler()}render(){return n(t,{key:"2e8b8744026876205bd66e04f5d93a2cf23415dd",class:"xpl-main-nav xpl-main-nav--"+this.width,"aria-label":"Sidebar"},n("nav",{key:"ad2a7cadd3a9a4ac898b6e27604aff51a3cf5c40"},n("header",{key:"14e0e676e8d22147c6fe3093da3a8a4c0f102243","aria-label":"Sidebar Header"},n("slot",{key:"5da2fe9fa391e56ae7ea3a742f7a060c78dcec56",name:"logo"}),n("slot",{key:"d3631d0d23c5c0404e134ebc9d852bfd1651c982",name:"brand-name"})),n("div",{key:"f0ff1cda64b9474386ce4f56fb4027b4f193e0c3",class:"xpl-main-nav__main_section"},n("slot",{key:"0ef80166585b66d4af64a1b13383a551444c10f0",name:"navigation"})),n("footer",{key:"d23f595c3705823dd1e7a86b6db66f98bc70504a",class:"xpl-main-nav__footer","aria-label":"Sidebar Footer"},n("slot",{key:"b4ba325347935557ee9e2e37b824c5dc42aa32b3",name:"footer"}))))}},[260,"xpl-main-nav",{width:[1]}]),i=s,f=function(){"undefined"!=typeof customElements&&["xpl-main-nav"].forEach((a=>{"xpl-main-nav"===a&&(customElements.get(c(a))||customElements.define(c(a),s))}))};export{i as XplMainNav,f as defineCustomElement}
1
+ import{p as e,H as a,d as n,h as d,c as t,t as s}from"./p-BT_Lq3Vd.js";const c=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.navWidth=n(this,"navWidth",7),this.width="default"}navWidthHandler(){this.navWidth.emit(this.width)}connectedCallback(){this.navWidthHandler()}componentDidUpdate(){this.navWidthHandler()}render(){return d(t,{key:"15982141de742a1daeae5ffbb172ea18e0667e2d",class:"xpl-main-nav xpl-main-nav--"+this.width,"aria-label":"Sidebar"},d("nav",{key:"41efe9e9a68a3a27653efee7f6ed92d7fde9e902"},d("header",{key:"18c08d774991cd41dc3b395891d1621343a5d505","aria-label":"Sidebar Header"},d("slot",{key:"b82477e1ae127d30e80ac4e82c22a5e8cbed94e4",name:"logo"}),d("slot",{key:"3841701331da0ea203c356b20098e36b67255384",name:"brand-name"})),d("div",{key:"512df331c13b69154550fe510a8887323167081e",class:"xpl-main-nav__main_section"},d("slot",{key:"30da0851944d7ce43648efe3b22786b57079042a",name:"navigation"})),d("footer",{key:"3c58ec415052a4b7930ed8861593cb1c52bcd1f5",class:"xpl-main-nav__footer","aria-label":"Sidebar Footer"},d("slot",{key:"fac051cf4e6bc7635d58df0fbf9b504af244eb52",name:"footer"}))))}},[260,"xpl-main-nav",{width:[1]}]),i=c,o=function(){"undefined"!=typeof customElements&&["xpl-main-nav"].forEach((e=>{"xpl-main-nav"===e&&(customElements.get(s(e))||customElements.define(s(e),c))}))};export{i as XplMainNav,o as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,d as a,h as s,c,t as d}from"./p-BT_Lq3Vd.js";import{d as i}from"./p-CtIUusUL.js";import{d as l}from"./p-D97c0GjM.js";import{d as o}from"./p-B1PBAEzg.js";const b=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.modalClosed=a(this,"modalClosed",7),this.isOpen=!1,this.size="medium",this.variant="default",this.handleDialogClose=()=>{this.isOpen=!1,this.modalClosed.emit()},this.handleNativeBackdropClick=e=>{if(e.target!==this.dialogElement)return;const t=this.dialogElement.getBoundingClientRect();(e.clientX<t.left||e.clientX>t.right||e.clientY<t.top||e.clientY>t.bottom)&&this.handleDialogClose()}}componentDidLoad(){this.dialogElement=this.element.querySelector("dialog"),this.updateModalState(),this.dialogElement.addEventListener("cancel",this.handleDialogClose),this.dialogElement.addEventListener("click",this.handleNativeBackdropClick)}disconnectedCallback(){this.dialogElement&&(this.dialogElement.removeEventListener("cancel",this.handleDialogClose),this.dialogElement.removeEventListener("click",this.handleNativeBackdropClick))}updateModalState(){var e,t;this.isOpen?null===(t=null===(e=this.dialogElement)||void 0===e?void 0:e.showModal)||void 0===t||t.call(e):this.dialogElement&&"function"==typeof this.dialogElement.close&&setTimeout((()=>{var e;null===(e=this.dialogElement)||void 0===e||e.close()}),250)}render(){return s(c,{key:"b6d5d1c4b2fd755b74d2b138e937cb8f70256e17",class:"xpl-modal"},this.isOpen&&s("xpl-backdrop",{key:"972f5031f80eb1c394f7e5be5dc04a604bb91a34"}),s("dialog",{key:"544203fa98a61f4f1e41cbffca3c1048fab8e236",class:`xpl-modal__dialog xpl-modal-size--${this.size} xpl-modal--${this.isOpen?"is-open":"is-closed"}`},s("div",{key:"f37cc41033d765577ae3280d2b4969e71aabe369",class:"xpl-modal__header"},s("div",{key:"356a2ba82b16bd1c47813d6589b45a901a108d10",class:"xpl-modal__title"},"warning"===this.variant&&s("xpl-icon",{key:"4144c0f94f9760b7ed3379b2a2e7f69e31ef0829",size:20,icon:"alert-triangle",class:"xpl-modal__alert-icon"}),s("slot",{key:"fd2c48017a620ec83ce0f79d13d18aa2aae57b14",name:"title"}),s("xpl-button",{key:"d6c816ff2a44911333196531641d620a0cafafaf",type:"button",class:"xpl-modal__close-button","icon-only":!0,size:"sm",variant:"tertiary",onClick:this.handleDialogClose},s("xpl-icon",{key:"b7c7b6754d0a94f3aa927d390c35faf165b1b776",icon:"x"}))),s("div",{key:"fb96c212c96648434f821c2ec4169fb6499f1230",class:"xpl-modal__subtitle"},s("slot",{key:"b838fbe968ffdec5f5d71cffde42c02b6bf085f1",name:"subtitle"}))),s("div",{key:"7d9230791de065bdbf9703821021ce6230c8b568",class:"xpl-modal__body"},s("slot",{key:"60449861f56680023c79139eb5dc04a2cfe5fbd5",name:"body"})),s("div",{key:"adb79ff548bb3475c7b8bd4fe9bd3b9f2a454f89",class:"xpl-modal__footer"},s("slot",{key:"32148fd7cabc15deb2f40b6706a5e1761dab4cde",name:"tertiary"}),s("slot",{key:"bbacc31d2b03825ab14fb08e0307ac70767c3ebd",name:"secondary"}),s("slot",{key:"89f492273b1d71772551c2454bd4bbb56899fe3b",name:"primary"}))))}get element(){return this}static get watchers(){return{isOpen:[{updateModalState:0}]}}},[260,"xpl-modal",{isOpen:[1540,"is-open"],size:[1],variant:[1]},void 0,{isOpen:[{updateModalState:0}]}]),f=b,n=function(){"undefined"!=typeof customElements&&["xpl-modal","xpl-backdrop","xpl-button","xpl-icon"].forEach((e=>{switch(e){case"xpl-modal":customElements.get(d(e))||customElements.define(d(e),b);break;case"xpl-backdrop":customElements.get(d(e))||i();break;case"xpl-button":customElements.get(d(e))||l();break;case"xpl-icon":customElements.get(d(e))||o()}}))};export{f as XplModal,n as defineCustomElement}
1
+ import{p as e,H as a,d as t,h as s,c as d,t as c}from"./p-BT_Lq3Vd.js";import{d as i}from"./p-C8rmEAx6.js";import{d as l}from"./p-D2SFagIb.js";import{d as o}from"./p-ByJRw26d.js";const n=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.modalClosed=t(this,"modalClosed",7),this.isOpen=!1,this.size="medium",this.variant="default",this.handleDialogClose=()=>{this.isOpen=!1,this.modalClosed.emit()},this.handleNativeBackdropClick=e=>{if(e.target!==this.dialogElement)return;const a=this.dialogElement.getBoundingClientRect();(e.clientX<a.left||e.clientX>a.right||e.clientY<a.top||e.clientY>a.bottom)&&this.handleDialogClose()}}componentDidLoad(){this.dialogElement=this.element.querySelector("dialog"),this.updateModalState(),this.dialogElement.addEventListener("cancel",this.handleDialogClose),this.dialogElement.addEventListener("click",this.handleNativeBackdropClick)}disconnectedCallback(){this.dialogElement&&(this.dialogElement.removeEventListener("cancel",this.handleDialogClose),this.dialogElement.removeEventListener("click",this.handleNativeBackdropClick))}updateModalState(){var e,a;this.isOpen?null===(a=null===(e=this.dialogElement)||void 0===e?void 0:e.showModal)||void 0===a||a.call(e):this.dialogElement&&"function"==typeof this.dialogElement.close&&setTimeout((()=>{var e;null===(e=this.dialogElement)||void 0===e||e.close()}),250)}render(){return s(d,{key:"d1457065d1448b866f21a5a7a903fbc8504567a5",class:"xpl-modal"},this.isOpen&&s("xpl-backdrop",{key:"05807b08500c1ba557c9dabe04ca059f3638f36c"}),s("dialog",{key:"14f78e63f6e19f83fd159604175381b054848ad6",class:`xpl-modal__dialog xpl-modal-size--${this.size} xpl-modal--${this.isOpen?"is-open":"is-closed"}`},s("div",{key:"54cbd855c642bad93f74d8f6f875c32728d8539a",class:"xpl-modal__header"},s("div",{key:"d0ae962e9ddb8df05eeefd2cd083c0aaf6253814",class:"xpl-modal__title"},"warning"===this.variant&&s("xpl-icon",{key:"896dbc9e4c614b456f2b22626c294f86e655f811",size:20,icon:"alert-triangle",class:"xpl-modal__alert-icon"}),s("slot",{key:"859b27499e4ae644c06d376225f56d47b0081dc2",name:"title"}),s("xpl-button",{key:"288822a0310d17b13360acb7d358e7b5711fa79f",type:"button",class:"xpl-modal__close-button","icon-only":!0,size:"sm",variant:"tertiary",onClick:this.handleDialogClose},s("xpl-icon",{key:"14181eec31afd43bf07a21f6ae65664ea12f789a",icon:"x"}))),s("div",{key:"4d23417d83bdb3312f1c883a367687e1d4fdfa7c",class:"xpl-modal__subtitle"},s("slot",{key:"5db4d5c7997a4a27f7195cdd0ff56d81238835e1",name:"subtitle"}))),s("div",{key:"e17d7805f75d00422d6eaa8148a1f0f3297369df",class:"xpl-modal__body"},s("slot",{key:"f1f43ce5fce6c1567bf856071b5d283c28a64bbe",name:"body"})),s("div",{key:"c7757cabc4d718a19ee8c91020f20e4437b73d6d",class:"xpl-modal__footer"},s("slot",{key:"bdcf1d5ca962025e7cdd2368b1dd6117b5dc190a",name:"tertiary"}),s("slot",{key:"483ce3eb24f84d4c08a84e97e6e6a9af9829b007",name:"secondary"}),s("slot",{key:"7c7ec707d80fecb81a21c997c84a1622370285b0",name:"primary"}))))}get element(){return this}static get watchers(){return{isOpen:[{updateModalState:0}]}}},[260,"xpl-modal",{isOpen:[1540,"is-open"],size:[1],variant:[1]},void 0,{isOpen:[{updateModalState:0}]}]),f=n,b=function(){"undefined"!=typeof customElements&&["xpl-modal","xpl-backdrop","xpl-button","xpl-icon"].forEach((e=>{switch(e){case"xpl-modal":customElements.get(c(e))||customElements.define(c(e),n);break;case"xpl-backdrop":customElements.get(c(e))||i();break;case"xpl-button":customElements.get(c(e))||l();break;case"xpl-icon":customElements.get(c(e))||o()}}))};export{f as XplModal,b as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as s,c as i,t as d}from"./p-BT_Lq3Vd.js";const a=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.rightAsideMobilePresent=!1}connectedCallback(){this.syncRightAsideMobileSlotPresent(),this.connectRightAsideMobileSlotObserver()}disconnectedCallback(){void 0!==this.deferredRightAsideSlotWorkTimeoutId&&(clearTimeout(this.deferredRightAsideSlotWorkTimeoutId),this.deferredRightAsideSlotWorkTimeoutId=void 0),this.disconnectRightAsideMobileSlotObserver()}componentWillLoad(){this.syncRightAsideMobileSlotPresent()}componentWillRender(){this.disconnectRightAsideMobileSlotObserver()}componentDidRender(){this.scheduleDeferredRightAsideSlotWork()}scheduleDeferredRightAsideSlotWork(){void 0!==this.deferredRightAsideSlotWorkTimeoutId&&clearTimeout(this.deferredRightAsideSlotWorkTimeoutId),this.deferredRightAsideSlotWorkTimeoutId=setTimeout((()=>{this.deferredRightAsideSlotWorkTimeoutId=void 0,this.el.isConnected&&(this.syncRightAsideMobileSlotPresent(),this.connectRightAsideMobileSlotObserver())}),0)}connectRightAsideMobileSlotObserver(){this.disconnectRightAsideMobileSlotObserver(),"undefined"!=typeof MutationObserver&&(this.rightAsideMobileSlotObserver=new MutationObserver((()=>{this.scheduleDeferredRightAsideSlotWork()})),this.rightAsideMobileSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectRightAsideMobileSlotObserver(){var e;null===(e=this.rightAsideMobileSlotObserver)||void 0===e||e.disconnect(),this.rightAsideMobileSlotObserver=void 0}syncRightAsideMobileSlotPresent(){const e=null!=this.el.querySelector('[slot="right-aside-mobile"]');e!==this.rightAsideMobilePresent&&(this.rightAsideMobilePresent=e)}render(){return s(i,{key:"605d14e70deb43e79834d39cb3a078b3298e853a",class:{"xpl-nav-header-menu":!0,"xpl-nav-header-menu--has-right-aside-mobile":this.rightAsideMobilePresent,dark:!0}},(!!this.username||!!this.email)&&s("div",{key:"4d7f4ffc4d0391fb3b20db6be3a1c32126f02dfe",class:"xpl-nav-header-menu__profile"},s("div",{key:"f79f233a7dd322329b4f571b6858d5f6954eb972",class:"xpl-nav-header-menu__info"},this.username&&s("div",{key:"5672342ae08198b52525ca2fe75d0d489e678c6b",class:"xpl-nav-header-menu__username"},this.username),this.email&&s("div",{key:"90f13a468d30f939b3e99f932dc96746d99c4196",class:"xpl-nav-header-menu__email"},this.email))),s("div",{key:"70ae77baf3570e700639e7d8d387c5e4df7739c4",class:"xpl-nav-header-menu__right-aside-mobile"},s("slot",{key:"e9e1170bc8648f3676e083c7aa5c03d16e09b2ed",name:"right-aside-mobile"})),s("div",{key:"225c538dc72259da900406eb3fc6f222f93292e1",class:"xpl-nav-header-menu__slot",role:"list"},s("slot",{key:"7631ce2ee1e6acdf4fdc9d54671e186de597de63"})))}get el(){return this}},[260,"xpl-nav-header-menu",{email:[1],username:[1],rightAsideMobilePresent:[32]}]),n=a,l=function(){"undefined"!=typeof customElements&&["xpl-nav-header-menu"].forEach((e=>{"xpl-nav-header-menu"===e&&(customElements.get(d(e))||customElements.define(d(e),a))}))};export{n as XplNavHeaderMenu,l as defineCustomElement}
1
+ import{p as e,H as t,h as s,c as i,t as a}from"./p-BT_Lq3Vd.js";const d=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.rightAsideMobilePresent=!1}connectedCallback(){this.syncRightAsideMobileSlotPresent(),this.connectRightAsideMobileSlotObserver()}disconnectedCallback(){void 0!==this.deferredRightAsideSlotWorkTimeoutId&&(clearTimeout(this.deferredRightAsideSlotWorkTimeoutId),this.deferredRightAsideSlotWorkTimeoutId=void 0),this.disconnectRightAsideMobileSlotObserver()}componentWillLoad(){this.syncRightAsideMobileSlotPresent()}componentWillRender(){this.disconnectRightAsideMobileSlotObserver()}componentDidRender(){this.scheduleDeferredRightAsideSlotWork()}scheduleDeferredRightAsideSlotWork(){void 0!==this.deferredRightAsideSlotWorkTimeoutId&&clearTimeout(this.deferredRightAsideSlotWorkTimeoutId),this.deferredRightAsideSlotWorkTimeoutId=setTimeout((()=>{this.deferredRightAsideSlotWorkTimeoutId=void 0,this.el.isConnected&&(this.syncRightAsideMobileSlotPresent(),this.connectRightAsideMobileSlotObserver())}),0)}connectRightAsideMobileSlotObserver(){this.disconnectRightAsideMobileSlotObserver(),"undefined"!=typeof MutationObserver&&(this.rightAsideMobileSlotObserver=new MutationObserver((()=>{this.scheduleDeferredRightAsideSlotWork()})),this.rightAsideMobileSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectRightAsideMobileSlotObserver(){var e;null===(e=this.rightAsideMobileSlotObserver)||void 0===e||e.disconnect(),this.rightAsideMobileSlotObserver=void 0}syncRightAsideMobileSlotPresent(){const e=null!=this.el.querySelector('[slot="right-aside-mobile"]');e!==this.rightAsideMobilePresent&&(this.rightAsideMobilePresent=e)}render(){return s(i,{key:"c2a9e2904ae2cd06462f7e2d4407ac3e34ded34e",class:{"xpl-nav-header-menu":!0,"xpl-nav-header-menu--has-right-aside-mobile":this.rightAsideMobilePresent,dark:!0}},(!!this.username||!!this.email)&&s("div",{key:"0b7c1b081ac1e73b95bf36724e83511c27e522be",class:"xpl-nav-header-menu__profile"},s("div",{key:"77ac13de474f5508b5bae03aba09f782a0a05cbc",class:"xpl-nav-header-menu__info"},this.username&&s("div",{key:"58722b17d64c8cffe7a38b81f30f885a26b0b19e",class:"xpl-nav-header-menu__username"},this.username),this.email&&s("div",{key:"ad7aa885518ee8c205cc3f0e1c84a24b3e486335",class:"xpl-nav-header-menu__email"},this.email))),s("div",{key:"e8c6cdb4e57b02d8b9591eef07a9f0458b73acaa",class:"xpl-nav-header-menu__right-aside-mobile"},s("slot",{key:"bb884eeb89b4de9d45cb4a7466cc2d7aac90cf6f",name:"right-aside-mobile"})),s("div",{key:"4fa5347923a9f9db10e8875e9ec00407b843263c",class:"xpl-nav-header-menu__slot",role:"list"},s("slot",{key:"694d33b2fe8b1cfa302de845a15aa24fdb33fc62"})))}get el(){return this}},[260,"xpl-nav-header-menu",{email:[1],username:[1],rightAsideMobilePresent:[32]}]),n=d,c=function(){"undefined"!=typeof customElements&&["xpl-nav-header-menu"].forEach((e=>{"xpl-nav-header-menu"===e&&(customElements.get(a(e))||customElements.define(a(e),d))}))};export{n as XplNavHeaderMenu,c as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,d as s,h as n,c as o,t as a}from"./p-BT_Lq3Vd.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.navOpen=s(this,"navOpen",7),this.navControl=!1}onNavToggle(){window.innerWidth<=640&&this.navOpen.emit(!1)}render(){return n(o,{key:"1653225a63a82d72768a162430f11918d3b57810",class:"xpl-nav-item",role:"listitem",onClick:()=>{this.navControl&&this.onNavToggle()}},n("slot",{key:"c04f946780264be513575537ee1041b576e1834f",name:"link"},n("slot",{key:"cd415288c4caf0c7ffd4906531f858a0e21cbb93",name:"icon"}),n("slot",{key:"a1678415d40e459597738013500a715396b5b759"})))}},[260,"xpl-nav-item",{navControl:[4,"nav-control"]}]),c=i,l=function(){"undefined"!=typeof customElements&&["xpl-nav-item"].forEach((e=>{"xpl-nav-item"===e&&(customElements.get(a(e))||customElements.define(a(e),i))}))};export{c as XplNavItem,l as defineCustomElement}
1
+ import{p as e,H as t,d as a,h as s,c as n,t as c}from"./p-BT_Lq3Vd.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.navOpen=a(this,"navOpen",7),this.navControl=!1}onNavToggle(){window.innerWidth<=640&&this.navOpen.emit(!1)}render(){return s(n,{key:"f7494edb113b4eccf244c312447e69248af495ba",class:"xpl-nav-item",role:"listitem",onClick:()=>{this.navControl&&this.onNavToggle()}},s("slot",{key:"acde5d80edbead75a558b964954caa18e1cc0c5f",name:"link"},s("slot",{key:"66838cf7e6610e48d7102475cc6463aa65f4651b",name:"icon"}),s("slot",{key:"de185eaab42a425cf82eaaf6883b1472fecb9754"})))}},[260,"xpl-nav-item",{navControl:[4,"nav-control"]}]),i=o,l=function(){"undefined"!=typeof customElements&&["xpl-nav-item"].forEach((e=>{"xpl-nav-item"===e&&(customElements.get(c(e))||customElements.define(c(e),o))}))};export{i as XplNavItem,l as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,d as a,h as s,c as o,t as i}from"./p-BT_Lq3Vd.js";import{d as n}from"./p-3qMYyqTe.js";import{d as p}from"./p-U5dPMCXE.js";import{d as l}from"./p-Ds28UyUR.js";import{d as c}from"./p-BG0-6Xek.js";import{d as r}from"./p-B1PBAEzg.js";import{d}from"./p-CFW_w5Wj.js";import{d as h}from"./p-DEl4Rvzs.js";const g=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.pageChange=a(this,"pageChange",7),this.rowsPerPageChange=a(this,"rowsPerPageChange",7),this.totalPages=1,this.withPageControl=!1,this.currentPage=1,this.rowsPerPageOptions="10,25,50,100,150",this.selectedRowsPerPage=10,this.rowsPerPageSelectRef=null,this.pageSelectRef=null,this.pageChoices=[],this.handleNextPage=()=>{this.currentPage<this.totalPages&&(this.currentPage+=1)},this.handlePrevPage=()=>{this.currentPage>1&&(this.currentPage-=1)},this.handlePageChange=e=>{const t=parseInt(e.detail,10);Number.isNaN(t)||(this.currentPage=t)},this.handleRowsChange=e=>{const t=parseInt(e.detail,10);Number.isNaN(t)||(this.selectedRowsPerPage=t)}}get rowsPerPageOptionsArray(){return this.rowsPerPageOptions.split(",").map(Number)}onPageUpdate(e){e<1?this.currentPage=1:e>this.totalPages&&(this.currentPage=this.totalPages),this.buildPageChoices(),this.pageChange.emit(this.currentPage)}onTotalPagesUpdate(){this.currentPage>this.totalPages?this.currentPage=this.totalPages:this.buildPageChoices()}onRowsPerPageUpdate(e){this.rowsPerPageChange.emit(e)}buildPageChoices(){this.pageChoices=Array.from({length:this.totalPages},((e,t)=>({label:"Page "+(t+1),value:""+(t+1),isSelected:t+1===this.currentPage})))}componentWillLoad(){this.buildPageChoices()}componentDidLoad(){var e,t;null===(e=this.rowsPerPageSelectRef)||void 0===e||e.addEventListener("changeEvent",this.handleRowsChange),null===(t=this.pageSelectRef)||void 0===t||t.addEventListener("changeEvent",this.handlePageChange)}disconnectedCallback(){var e,t;null===(e=this.rowsPerPageSelectRef)||void 0===e||e.removeEventListener("changeEvent",this.handleRowsChange),null===(t=this.pageSelectRef)||void 0===t||t.removeEventListener("changeEvent",this.handlePageChange)}render(){const e=this.currentPage<=1,t=this.currentPage>=this.totalPages;return s(o,{key:"48dc3bfd2f81b621c0c4cacd5e8aa43e974a3c2b",class:{"xpl-pagination":!0,"xpl-pagination__with-page-control":this.withPageControl,"xpl-pagination__no-page-control":!this.withPageControl}},this.withPageControl&&s("div",{key:"a8eb321da956ac31d62ee6a8e776a9949733310b",class:"xpl-pagination__rows-per-page"},s("label",{key:"42688af51596e843faec89c04b99eef0569b9289",class:"xpl-pagination__rows-label"},"Rows per page:"),s("xpl-select",{key:"276646a15894d4434d72bbe3a9e74fe4ec151d09",class:"xpl-pagination__rows-per-page-select",dropdownFlipFallbackPlacements:["bottom-start"],dropdownPlacement:"top-start",choices:this.rowsPerPageOptionsArray.map((e=>({label:""+e,value:""+e,isSelected:e===this.selectedRowsPerPage}))),ref:e=>{this.rowsPerPageSelectRef=e}})),s("div",{key:"808b1a352b4500e593e9887b9957a292bbc64b18",class:"xpl-pagination__pager"},s("button",{key:"9a18f0e6843deeb1c4efcb3cbb29e8c22ebee923",class:"xpl-pagination__pager-button xpl-pagination__pager-button-prev",disabled:e,onClick:this.handlePrevPage,"aria-label":"Previous Page",tabindex:"0"},s("xpl-icon",{key:"d761379de5063bf5739c92f90d1a795ccda03b5f",icon:"arrow-left",size:20})),s("xpl-select",{key:"cd18e7c9a1d15a6b4a353b32f90bfe646ab321ee",class:"xpl-pagination__page-select",dropdownFlipFallbackPlacements:["bottom-start"],dropdownPlacement:"top-start",choices:this.pageChoices,"custom-display-value":!0,ref:e=>{this.pageSelectRef=e}},s("div",{key:"117fa90e904994b44fe86055aea62af0a404904e",slot:"custom-display-value"},`${this.currentPage} of ${this.totalPages}`)),s("button",{key:"dbd3c30917758594d41fec4a313e204ccbd56e16",class:"xpl-pagination__pager-button xpl-pagination__pager-button-next",disabled:t,onClick:this.handleNextPage,"aria-label":"Next Page",tabindex:"0"},s("xpl-icon",{key:"4ca90e03195972c79a9a6b09027d8cf594a1dacc",icon:"arrow-right",size:20}))))}static get watchers(){return{currentPage:[{onPageUpdate:0}],totalPages:[{onTotalPagesUpdate:0}],selectedRowsPerPage:[{onRowsPerPageUpdate:0}]}}},[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"]},void 0,{currentPage:[{onPageUpdate:0}],totalPages:[{onTotalPagesUpdate:0}],selectedRowsPerPage:[{onRowsPerPageUpdate:0}]}]),b=g,m=function(){"undefined"!=typeof customElements&&["xpl-pagination","xpl-dropdown","xpl-dropdown-group","xpl-dropdown-heading","xpl-dropdown-option","xpl-icon","xpl-select","xpl-tag"].forEach((e=>{switch(e){case"xpl-pagination":customElements.get(i(e))||customElements.define(i(e),g);break;case"xpl-dropdown":customElements.get(i(e))||n();break;case"xpl-dropdown-group":customElements.get(i(e))||p();break;case"xpl-dropdown-heading":customElements.get(i(e))||l();break;case"xpl-dropdown-option":customElements.get(i(e))||c();break;case"xpl-icon":customElements.get(i(e))||r();break;case"xpl-select":customElements.get(i(e))||d();break;case"xpl-tag":customElements.get(i(e))||h()}}))};export{b as XplPagination,m as defineCustomElement}
1
+ import{p as e,H as t,d as a,h as s,c as o,t as i}from"./p-BT_Lq3Vd.js";import{d as n}from"./p-DKUNbsb0.js";import{d as p}from"./p-BDWXBWGE.js";import{d as l}from"./p-2xGSxBGa.js";import{d as c}from"./p-CUYkG-PB.js";import{d as r}from"./p-ByJRw26d.js";import{d}from"./p-gfb3l9Pr.js";import{d as h}from"./p-ZTFt9sBy.js";const g=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.pageChange=a(this,"pageChange",7),this.rowsPerPageChange=a(this,"rowsPerPageChange",7),this.totalPages=1,this.withPageControl=!1,this.currentPage=1,this.rowsPerPageOptions="10,25,50,100,150",this.selectedRowsPerPage=10,this.rowsPerPageSelectRef=null,this.pageSelectRef=null,this.pageChoices=[],this.handleNextPage=()=>{this.currentPage<this.totalPages&&(this.currentPage+=1)},this.handlePrevPage=()=>{this.currentPage>1&&(this.currentPage-=1)},this.handlePageChange=e=>{const t=parseInt(e.detail,10);Number.isNaN(t)||(this.currentPage=t)},this.handleRowsChange=e=>{const t=parseInt(e.detail,10);Number.isNaN(t)||(this.selectedRowsPerPage=t)}}get rowsPerPageOptionsArray(){return this.rowsPerPageOptions.split(",").map(Number)}onPageUpdate(e){e<1?this.currentPage=1:e>this.totalPages&&(this.currentPage=this.totalPages),this.buildPageChoices(),this.pageChange.emit(this.currentPage)}onTotalPagesUpdate(){this.currentPage>this.totalPages?this.currentPage=this.totalPages:this.buildPageChoices()}onRowsPerPageUpdate(e){this.rowsPerPageChange.emit(e)}buildPageChoices(){this.pageChoices=Array.from({length:this.totalPages},((e,t)=>({label:"Page "+(t+1),value:""+(t+1),isSelected:t+1===this.currentPage})))}componentWillLoad(){this.buildPageChoices()}componentDidLoad(){var e,t;null===(e=this.rowsPerPageSelectRef)||void 0===e||e.addEventListener("changeEvent",this.handleRowsChange),null===(t=this.pageSelectRef)||void 0===t||t.addEventListener("changeEvent",this.handlePageChange)}disconnectedCallback(){var e,t;null===(e=this.rowsPerPageSelectRef)||void 0===e||e.removeEventListener("changeEvent",this.handleRowsChange),null===(t=this.pageSelectRef)||void 0===t||t.removeEventListener("changeEvent",this.handlePageChange)}render(){const e=this.currentPage<=1,t=this.currentPage>=this.totalPages;return s(o,{key:"7ee32b9506487555cf9c96b8204bc06acff20614",class:{"xpl-pagination":!0,"xpl-pagination__with-page-control":this.withPageControl,"xpl-pagination__no-page-control":!this.withPageControl}},this.withPageControl&&s("div",{key:"d0b77c50e30c046df37e806912d9d144066ce8ea",class:"xpl-pagination__rows-per-page"},s("label",{key:"5a596a7f2e440f007cc51ffb965f8c6da057bd11",class:"xpl-pagination__rows-label"},"Rows per page:"),s("xpl-select",{key:"3592c6c2b8efa704536e64bf6ae085f228921573",class:"xpl-pagination__rows-per-page-select",dropdownFlipFallbackPlacements:["bottom-start"],dropdownPlacement:"top-start",choices:this.rowsPerPageOptionsArray.map((e=>({label:""+e,value:""+e,isSelected:e===this.selectedRowsPerPage}))),ref:e=>{this.rowsPerPageSelectRef=e}})),s("div",{key:"0c4e020f133b9bff31e185fb3ea11d3e98f0ac00",class:"xpl-pagination__pager"},s("button",{key:"add5b2b91bb1c1d08637bc7e8cf907274126765c",class:"xpl-pagination__pager-button xpl-pagination__pager-button-prev",disabled:e,onClick:this.handlePrevPage,"aria-label":"Previous Page",tabindex:"0"},s("xpl-icon",{key:"ca29bdc9acb1f220afb7cbb5a2f1bfc8602c07c9",icon:"arrow-left",size:20})),s("xpl-select",{key:"89244ec17d7e8f10188a6b7b25dde30f9885aef2",class:"xpl-pagination__page-select",dropdownFlipFallbackPlacements:["bottom-start"],dropdownPlacement:"top-start",choices:this.pageChoices,"custom-display-value":!0,ref:e=>{this.pageSelectRef=e}},s("div",{key:"916de27d7e201ba0920c265109edf2a6e9bd0620",slot:"custom-display-value"},`${this.currentPage} of ${this.totalPages}`)),s("button",{key:"7ddaf9be0ab94e8e0e1fdbdca20e76294d7d2706",class:"xpl-pagination__pager-button xpl-pagination__pager-button-next",disabled:t,onClick:this.handleNextPage,"aria-label":"Next Page",tabindex:"0"},s("xpl-icon",{key:"37703d9e35a8288bf24c8675e4e973a400f7a0e9",icon:"arrow-right",size:20}))))}static get watchers(){return{currentPage:[{onPageUpdate:0}],totalPages:[{onTotalPagesUpdate:0}],selectedRowsPerPage:[{onRowsPerPageUpdate:0}]}}},[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"]},void 0,{currentPage:[{onPageUpdate:0}],totalPages:[{onTotalPagesUpdate:0}],selectedRowsPerPage:[{onRowsPerPageUpdate:0}]}]),b=g,m=function(){"undefined"!=typeof customElements&&["xpl-pagination","xpl-dropdown","xpl-dropdown-group","xpl-dropdown-heading","xpl-dropdown-option","xpl-icon","xpl-select","xpl-tag"].forEach((e=>{switch(e){case"xpl-pagination":customElements.get(i(e))||customElements.define(i(e),g);break;case"xpl-dropdown":customElements.get(i(e))||n();break;case"xpl-dropdown-group":customElements.get(i(e))||p();break;case"xpl-dropdown-heading":customElements.get(i(e))||l();break;case"xpl-dropdown-option":customElements.get(i(e))||c();break;case"xpl-icon":customElements.get(i(e))||r();break;case"xpl-select":customElements.get(i(e))||d();break;case"xpl-tag":customElements.get(i(e))||h()}}))};export{b as XplPagination,m as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as a,h as c,c as n,t}from"./p-BT_Lq3Vd.js";const s=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.accent="none",this.padding="default"}render(){const e="none"!==this.accent;return c(n,{key:"e028327c45513aed4bdaf60f230292c3ca427abb",class:{"xpl-panel":!0,["xpl-panel--accent-"+this.accent]:e,["xpl-panel--padding-"+this.padding]:!0}},e&&c("div",{key:"131b41a89c2d34ee7e1c9313a8659bc62c5a882a","aria-hidden":"true",class:"xpl-panel__accent"}),c("div",{key:"67e1dae738eb616fa024fda3f64fcf8008c4fbce",class:"xpl-panel__content"},c("slot",{key:"39ec3513aaab2138ae1c7b45dea4e3bc7ef9a9d1"})))}},[260,"xpl-panel",{accent:[1],padding:[1]}]),l=s,p=function(){"undefined"!=typeof customElements&&["xpl-panel"].forEach((e=>{"xpl-panel"===e&&(customElements.get(t(e))||customElements.define(t(e),s))}))};export{l as XplPanel,p as defineCustomElement}
1
+ import{p as e,H as a,h as n,c as t,t as s}from"./p-BT_Lq3Vd.js";const c=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.accent="none",this.padding="default"}render(){const e="none"!==this.accent;return n(t,{key:"f7216acfba4419e26d171a24aa64153991841701",class:{"xpl-panel":!0,["xpl-panel--accent-"+this.accent]:e,["xpl-panel--padding-"+this.padding]:!0}},e&&n("div",{key:"18f1ed385cb4d29dbe18e7272e779a40a2ead05e","aria-hidden":"true",class:"xpl-panel__accent"}),n("div",{key:"d0a13066c9c4b472b505ffd7592f882bb886b9a2",class:"xpl-panel__content"},n("slot",{key:"0c8c6495afcbd3a897a6f118e17df75dc7328363"})))}},[260,"xpl-panel",{accent:[1],padding:[1]}]),l=c,d=function(){"undefined"!=typeof customElements&&["xpl-panel"].forEach((e=>{"xpl-panel"===e&&(customElements.get(s(e))||customElements.define(s(e),c))}))};export{l as XplPanel,d as defineCustomElement}
@@ -1 +1 @@
1
- import{P as o,d as s}from"./p-Bn-27-xj.js";const p=o,r=s;export{p as XplPopover,r as defineCustomElement}
1
+ import{P as o,d as r}from"./p-BJqNuBZr.js";const s=o,p=r;export{s as XplPopover,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as s,H as e,h as r,c as a,t}from"./p-BT_Lq3Vd.js";import{d as i}from"./p-B1PBAEzg.js";const c=s(class extends e{constructor(s){super(),!1!==s&&this.__registerHost(),this.max=100,this.size="lg",this.value=0,this.variant="default"}get clampedValue(){return Math.max(0,Math.min(this.max,this.value))}get isComplete(){return this.value>=this.max&&"default"===this.variant}get isError(){return"error"===this.variant}get isSuccess(){return"success"===this.variant||this.isComplete}get showStatusIcon(){return this.isSuccess||this.isError}get isIndeterminate(){return"indeterminate"===this.variant}render(){return r(a,{key:"25abe25b042ab5fb4d81246275538abaad3c4086",class:{"xpl-progress-bar":!0,["xpl-progress-bar--"+this.size]:!0,["xpl-progress-bar--"+this.variant]:!0,"xpl-progress-bar--complete":this.isComplete}},r("div",{key:"926c1407043a98c265dffbaa616b640624671352",class:"xpl-progress-bar__wrapper"},(this.label||this.showStatusIcon)&&r("div",{key:"78ece9b7848541236ce2ad4309b664204bfb370e",class:"xpl-progress-bar__header"},this.label&&r("div",{key:"9b673b4ae9aeebb7bebd9a72dc4384383e15227d",class:"xpl-progress-bar__label"},this.label),this.showStatusIcon&&r("div",{key:"a144dba46c7ae48ad54e9655b4335a253b1bc1bb",class:"xpl-progress-bar__icon"},r("xpl-icon",this.isError?{icon:"circle-xmark-1"}:{icon:"circle-check-1"}))),r("div",{key:"cf0f7a209c2278e4d1ccf00577457d175abb78bc",class:"xpl-progress-bar__row"},this.isIndeterminate?r("div",{class:"xpl-progress-bar__track xpl-progress-bar__track--indeterminate",role:"progressbar","aria-label":this.label||"Progress"},r("div",{class:"xpl-progress-bar__indeterminate"})):r("progress",{class:"xpl-progress-bar__progress",value:this.clampedValue,max:this.max,"aria-label":this.label||"Progress"})),this.helperText&&r("div",{key:"ff5b336a3b3a14cb4e0531688705983350f9812f",class:"xpl-progress-bar__helper"},this.helperText)))}},[0,"xpl-progress-bar",{helperText:[1,"helper-text"],label:[1],max:[2],size:[1],value:[2],variant:[1]}]),l=c,p=function(){"undefined"!=typeof customElements&&["xpl-progress-bar","xpl-icon"].forEach((s=>{switch(s){case"xpl-progress-bar":customElements.get(t(s))||customElements.define(t(s),c);break;case"xpl-icon":customElements.get(t(s))||i()}}))};export{l as XplProgressBar,p as defineCustomElement}
1
+ import{p as s,H as e,h as r,c as a,t}from"./p-BT_Lq3Vd.js";import{d as i}from"./p-ByJRw26d.js";const c=s(class extends e{constructor(s){super(),!1!==s&&this.__registerHost(),this.max=100,this.size="lg",this.value=0,this.variant="default"}get clampedValue(){return Math.max(0,Math.min(this.max,this.value))}get isComplete(){return this.value>=this.max&&"default"===this.variant}get isError(){return"error"===this.variant}get isSuccess(){return"success"===this.variant||this.isComplete}get showStatusIcon(){return this.isSuccess||this.isError}get isIndeterminate(){return"indeterminate"===this.variant}render(){return r(a,{key:"bae4b080ca10ce596b7f889fc50b41199bcee67b",class:{"xpl-progress-bar":!0,["xpl-progress-bar--"+this.size]:!0,["xpl-progress-bar--"+this.variant]:!0,"xpl-progress-bar--complete":this.isComplete}},r("div",{key:"3e13c35002888a7ea5b4710ec96ea72ab6e8811c",class:"xpl-progress-bar__wrapper"},(this.label||this.showStatusIcon)&&r("div",{key:"c41d0c11ef55fc3be48b8007716439a0791245c5",class:"xpl-progress-bar__header"},this.label&&r("div",{key:"c680eb355e174bfa3a17b29e64d5d9e8d3699718",class:"xpl-progress-bar__label"},this.label),this.showStatusIcon&&r("div",{key:"a4d541ee3fa68549dbfa8f371b8d3e5a5d9dcfd0",class:"xpl-progress-bar__icon"},r("xpl-icon",this.isError?{icon:"circle-xmark-1"}:{icon:"circle-check-1"}))),r("div",{key:"24aa03523c672a1604b91da88dae9a58895a412b",class:"xpl-progress-bar__row"},this.isIndeterminate?r("div",{class:"xpl-progress-bar__track xpl-progress-bar__track--indeterminate",role:"progressbar","aria-label":this.label||"Progress"},r("div",{class:"xpl-progress-bar__indeterminate"})):r("progress",{class:"xpl-progress-bar__progress",value:this.clampedValue,max:this.max,"aria-label":this.label||"Progress"})),this.helperText&&r("div",{key:"67a687ba35eb5208286833834b1a4e75d64ca47d",class:"xpl-progress-bar__helper"},this.helperText)))}},[0,"xpl-progress-bar",{helperText:[1,"helper-text"],label:[1],max:[2],size:[1],value:[2],variant:[1]}]),l=c,p=function(){"undefined"!=typeof customElements&&["xpl-progress-bar","xpl-icon"].forEach((s=>{switch(s){case"xpl-progress-bar":customElements.get(t(s))||customElements.define(t(s),c);break;case"xpl-icon":customElements.get(t(s))||i()}}))};export{l as XplProgressBar,p as defineCustomElement}