@xplortech/apollo-core 2.9.0 → 2.10.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 (307) hide show
  1. package/.typings/apollo-components.html-data.json +20 -12
  2. package/build/style.css +2086 -1875
  3. package/dist/apollo-core/apollo-core.css +20 -18
  4. package/dist/apollo-core/apollo-core.esm.js +1 -1
  5. package/dist/apollo-core/p-0e45f332.entry.js +1 -0
  6. package/dist/apollo-core/p-0f251f98.entry.js +1 -0
  7. package/dist/apollo-core/p-1691c4f3.entry.js +1 -0
  8. package/dist/apollo-core/p-172ac720.entry.js +1 -0
  9. package/dist/apollo-core/p-23870463.entry.js +1 -0
  10. package/dist/apollo-core/{p-36ba29da.entry.js → p-3b8639b7.entry.js} +1 -1
  11. package/dist/apollo-core/p-44a16751.entry.js +1 -0
  12. package/dist/apollo-core/p-4efecab2.entry.js +1 -0
  13. package/dist/apollo-core/p-5094dd97.entry.js +1 -0
  14. package/dist/apollo-core/p-70e7facc.entry.js +1 -0
  15. package/dist/apollo-core/{p-6a15f1e0.entry.js → p-728341d2.entry.js} +1 -1
  16. package/dist/apollo-core/p-910be81f.entry.js +1 -0
  17. package/dist/apollo-core/{p-b61d7952.entry.js → p-9adf3694.entry.js} +1 -1
  18. package/dist/apollo-core/p-CK3_k8jD.js +1 -0
  19. package/dist/apollo-core/p-CXkZUm1c.js +2 -0
  20. package/dist/apollo-core/p-c17b6351.entry.js +1 -0
  21. package/dist/apollo-core/p-e08b434c.entry.js +1 -0
  22. package/dist/apollo-core/{p-ca127ee8.entry.js → p-e9e7577f.entry.js} +1 -1
  23. package/dist/cjs/apollo-core.cjs.js +3 -3
  24. package/dist/cjs/{index-BQ97-AWw.js → index-BaXVr8ux.js} +36 -9
  25. package/dist/cjs/loader.cjs.js +2 -2
  26. package/dist/cjs/package.json +3 -0
  27. package/dist/cjs/v4-_2BfiRUa.js +52 -0
  28. package/dist/cjs/xpl-accordion.cjs.entry.js +3 -3
  29. package/dist/cjs/xpl-application-shell.cjs.entry.js +2 -2
  30. package/dist/cjs/xpl-avatar_54.cjs.entry.js +700 -176
  31. package/dist/cjs/xpl-button-row.cjs.entry.js +2 -2
  32. package/dist/cjs/xpl-calendar.cjs.entry.js +3 -3
  33. package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +3 -3
  34. package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +3 -3
  35. package/dist/cjs/xpl-dynamic-table.cjs.entry.js +2 -2
  36. package/dist/cjs/xpl-grid-item.cjs.entry.js +2 -2
  37. package/dist/cjs/xpl-grid.cjs.entry.js +2 -2
  38. package/dist/cjs/xpl-large-card.cjs.entry.js +2 -2
  39. package/dist/cjs/xpl-main-nav.cjs.entry.js +2 -2
  40. package/dist/cjs/xpl-table-header-cell.cjs.entry.js +1 -1
  41. package/dist/cjs/xpl-table-header.cjs.entry.js +2 -2
  42. package/dist/cjs/xpl-toggle.cjs.entry.js +5 -5
  43. package/dist/cjs/xpl-toolbar.cjs.entry.js +3 -3
  44. package/dist/collection/collection-manifest.json +6 -6
  45. package/dist/collection/components/xpl-accordion/xpl-accordion.js +2 -2
  46. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +1 -1
  47. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
  48. package/dist/collection/components/xpl-badge/xpl-badge.js +1 -1
  49. package/dist/collection/components/xpl-banner/banner.stories.js +5 -0
  50. package/dist/collection/components/xpl-banner/xpl-banner.js +2 -2
  51. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +1 -1
  52. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +1 -1
  53. package/dist/collection/components/xpl-button/button.stories.js +5 -0
  54. package/dist/collection/components/xpl-button/xpl-button.js +1 -1
  55. package/dist/collection/components/xpl-button-row/button-row.stories.js +1 -11
  56. package/dist/collection/components/xpl-button-row/xpl-button-row.js +1 -1
  57. package/dist/collection/components/xpl-calendar/xpl-calendar.js +1 -1
  58. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +4 -4
  59. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +1 -1
  60. package/dist/collection/components/xpl-content-area/xpl-content-area.js +1 -1
  61. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +1 -1
  62. package/dist/collection/components/xpl-data-card/xpl-data-card.js +2 -2
  63. package/dist/collection/components/xpl-divider/xpl-divider.js +1 -1
  64. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +1 -1
  65. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +1 -1
  66. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +2 -2
  67. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +208 -31
  68. package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +1 -1
  69. package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +2 -2
  70. package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +2 -2
  71. package/dist/collection/components/xpl-grid/xpl-grid.js +1 -1
  72. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +1 -1
  73. package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +1 -1
  74. package/dist/collection/components/xpl-icon/xpl-icon.js +2 -2
  75. package/dist/collection/components/xpl-input/input.stories.js +1 -1
  76. package/dist/collection/components/xpl-input/xpl-input-color/xpl-input-color.js +8 -8
  77. package/dist/collection/components/xpl-input/xpl-input-date/xpl-input-date.js +3 -3
  78. package/dist/collection/components/xpl-input/xpl-input-file/xpl-input-file.js +4 -4
  79. package/dist/collection/components/xpl-input/xpl-input-phone/xpl-input-phone.js +25 -6
  80. package/dist/collection/components/xpl-input/xpl-input-search/xpl-input-search.js +1 -1
  81. package/dist/collection/components/xpl-input/xpl-input-time/xpl-input-time.js +2 -2
  82. package/dist/collection/components/xpl-input/xpl-input.js +3 -3
  83. package/dist/collection/components/xpl-large-card/xpl-large-card.js +1 -1
  84. package/dist/collection/components/xpl-list/xpl-list.js +2 -2
  85. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +1 -1
  86. package/dist/collection/components/xpl-modal/xpl-modal.js +4 -1
  87. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +2 -2
  88. package/dist/collection/components/xpl-pagination/xpl-pagination.js +26 -8
  89. package/dist/collection/components/xpl-panel/xpl-panel.js +2 -2
  90. package/dist/collection/components/xpl-popover/popover.stories.js +3 -7
  91. package/dist/collection/components/xpl-popover/xpl-popover.js +4 -4
  92. package/dist/collection/components/xpl-progress-bar/xpl-progress-bar.js +2 -2
  93. package/dist/collection/components/xpl-progress-indicator/xpl-progress-indicator.js +1 -1
  94. package/dist/collection/components/xpl-radio/radio.stories.js +19 -17
  95. package/dist/collection/components/xpl-radio/xpl-radio.js +3 -3
  96. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +1 -1
  97. package/dist/collection/components/xpl-select/xpl-select.js +16 -11
  98. package/dist/collection/components/xpl-side-nav/side-nav-constants.js +2 -0
  99. package/dist/collection/components/xpl-side-nav/side-nav.stories.js +301 -186
  100. package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +80 -14
  101. package/dist/collection/components/xpl-side-nav/xpl-side-nav.js +284 -3
  102. package/dist/collection/components/xpl-skeleton/xpl-skeleton.js +1 -1
  103. package/dist/collection/components/xpl-slideout/xpl-slideout.js +1 -1
  104. package/dist/collection/components/xpl-spotlight/xpl-spotlight.js +14 -4
  105. package/dist/collection/components/xpl-tab-panel/xpl-tab-panel.js +2 -2
  106. package/dist/collection/components/xpl-table/xpl-table.js +13 -22
  107. package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
  108. package/dist/collection/components/xpl-tabs/xpl-tabs.js +5 -5
  109. package/dist/collection/components/xpl-tag/xpl-tag.js +2 -2
  110. package/dist/collection/components/xpl-toast/xpl-toast.js +2 -2
  111. package/dist/collection/components/xpl-toggle/xpl-toggle.js +3 -3
  112. package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +2 -2
  113. package/dist/collection/components/xpl-tooltip/tooltip-arrow.js +1 -1
  114. package/dist/collection/components/xpl-tooltip/tooltip.stories.js +6 -37
  115. package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +1 -1
  116. package/dist/collection/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.js +2 -2
  117. package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +2 -2
  118. package/dist/collection/components/xpl-top-nav/xpl-top-nav.js +5 -5
  119. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
  120. package/dist/components/index.d.ts +141 -12
  121. package/dist/components/index.js +1 -1
  122. package/dist/components/p-3qMYyqTe.js +1 -0
  123. package/dist/components/p-B1PBAEzg.js +1 -0
  124. package/dist/components/p-BG0-6Xek.js +1 -0
  125. package/dist/components/p-BT_Lq3Vd.js +1 -0
  126. package/dist/components/p-BWyAzrwu.js +1 -0
  127. package/dist/components/p-B_Wi--Ov.js +1 -0
  128. package/dist/components/p-Bd6JweBt.js +1 -0
  129. package/dist/components/p-Bn-27-xj.js +1 -0
  130. package/dist/components/{xpl-top-nav-item2.js → p-Bs6vq0C6.js} +1 -1
  131. package/dist/components/{xpl-input-file2.js → p-C9BO2vL-.js} +1 -1
  132. package/dist/components/p-CFW_w5Wj.js +1 -0
  133. package/dist/components/{floating-ui.dom.js → p-CFpsSZyr.js} +1 -1
  134. package/dist/components/p-CGNq3DyC.js +1 -0
  135. package/dist/components/p-CK3_k8jD.js +1 -0
  136. package/dist/components/p-CVqbA9op.js +1 -0
  137. package/dist/components/p-CtIUusUL.js +1 -0
  138. package/dist/components/p-CzwViN3U.js +1 -0
  139. package/dist/components/p-D97c0GjM.js +1 -0
  140. package/dist/components/p-DBWV65V-.js +1 -0
  141. package/dist/components/{xpl-tag2.js → p-DEl4Rvzs.js} +1 -1
  142. package/dist/components/p-DPTHmitJ.js +1 -0
  143. package/dist/components/{xpl-input-search2.js → p-DllC7F-H.js} +1 -1
  144. package/dist/components/p-Ds28UyUR.js +1 -0
  145. package/dist/components/p-U5dPMCXE.js +1 -0
  146. package/dist/components/p-hPUzON4O.js +1 -0
  147. package/dist/components/p-kPHfCq1d.js +1 -0
  148. package/dist/components/xpl-accordion.js +1 -1
  149. package/dist/components/xpl-application-shell.js +1 -1
  150. package/dist/components/xpl-avatar.js +1 -1
  151. package/dist/components/xpl-backdrop.js +1 -1
  152. package/dist/components/xpl-badge.js +1 -1
  153. package/dist/components/xpl-banner.js +1 -1
  154. package/dist/components/xpl-breadcrumb-item.js +1 -1
  155. package/dist/components/xpl-breadcrumbs.js +1 -1
  156. package/dist/components/xpl-button-row.js +1 -1
  157. package/dist/components/xpl-button.js +1 -1
  158. package/dist/components/xpl-calendar.js +1 -1
  159. package/dist/components/xpl-checkbox.js +1 -1
  160. package/dist/components/xpl-choicelist.js +1 -1
  161. package/dist/components/xpl-content-area.js +1 -1
  162. package/dist/components/xpl-dashboard.js +1 -1
  163. package/dist/components/xpl-data-card.js +1 -1
  164. package/dist/components/xpl-divider.js +1 -1
  165. package/dist/components/xpl-dropdown-group.js +1 -1
  166. package/dist/components/xpl-dropdown-heading.js +1 -1
  167. package/dist/components/xpl-dropdown-option.js +1 -1
  168. package/dist/components/xpl-dropdown.js +1 -1
  169. package/dist/components/xpl-dynamic-table-cell.js +1 -1
  170. package/dist/components/xpl-dynamic-table-row.js +1 -1
  171. package/dist/components/xpl-dynamic-table.js +1 -1
  172. package/dist/components/xpl-grid-item.js +1 -1
  173. package/dist/components/xpl-grid.js +1 -1
  174. package/dist/components/xpl-header-accordion.js +1 -1
  175. package/dist/components/xpl-icon.js +1 -1
  176. package/dist/components/xpl-input-color.js +1 -1
  177. package/dist/components/xpl-input-date.js +1 -1
  178. package/dist/components/xpl-input-file.js +1 -1
  179. package/dist/components/xpl-input-phone.js +1 -1
  180. package/dist/components/xpl-input-search.js +1 -1
  181. package/dist/components/xpl-input-time.js +1 -1
  182. package/dist/components/xpl-input.js +1 -1
  183. package/dist/components/xpl-large-card.js +1 -1
  184. package/dist/components/xpl-list-item.js +1 -1
  185. package/dist/components/xpl-list.js +1 -1
  186. package/dist/components/xpl-main-nav.js +1 -1
  187. package/dist/components/xpl-modal.js +1 -1
  188. package/dist/components/xpl-nav-header-menu.js +1 -1
  189. package/dist/components/xpl-nav-item.js +1 -1
  190. package/dist/components/xpl-pagination.js +1 -1
  191. package/dist/components/xpl-panel.js +1 -1
  192. package/dist/components/xpl-popover.js +1 -1
  193. package/dist/components/xpl-progress-bar.js +1 -1
  194. package/dist/components/xpl-progress-indicator.js +1 -1
  195. package/dist/components/xpl-radio.js +1 -1
  196. package/dist/components/xpl-secondary-nav.js +1 -1
  197. package/dist/components/xpl-select.js +1 -1
  198. package/dist/components/xpl-side-nav-item.js +1 -1
  199. package/dist/components/xpl-side-nav.js +1 -1
  200. package/dist/components/xpl-skeleton.js +1 -1
  201. package/dist/components/xpl-slideout.js +1 -1
  202. package/dist/components/xpl-spotlight.js +1 -1
  203. package/dist/components/xpl-tab-panel.js +1 -1
  204. package/dist/components/xpl-tab.js +1 -1
  205. package/dist/components/xpl-table-header-cell.js +1 -1
  206. package/dist/components/xpl-table-header.js +1 -1
  207. package/dist/components/xpl-table.js +1 -1
  208. package/dist/components/xpl-tabs.js +1 -1
  209. package/dist/components/xpl-tag.js +1 -1
  210. package/dist/components/xpl-toast.js +1 -1
  211. package/dist/components/xpl-toggle.js +1 -1
  212. package/dist/components/xpl-toolbar.js +1 -1
  213. package/dist/components/xpl-tooltip.js +1 -1
  214. package/dist/components/xpl-top-nav-item.js +1 -1
  215. package/dist/components/xpl-top-nav.js +1 -1
  216. package/dist/components/xpl-utility-bar.js +1 -1
  217. package/dist/docs/xpl-backdrop/readme.md +2 -0
  218. package/dist/docs/xpl-badge/readme.md +34 -0
  219. package/dist/docs/xpl-button/readme.md +2 -0
  220. package/dist/docs/xpl-button-row/readme.md +13 -0
  221. package/dist/docs/xpl-checkbox/readme.md +23 -1
  222. package/dist/docs/xpl-divider/readme.md +22 -4
  223. package/dist/docs/xpl-input/readme.md +51 -0
  224. package/dist/docs/xpl-input/xpl-input-date/readme.md +7 -0
  225. package/dist/docs/xpl-input/xpl-input-phone/readme.md +21 -0
  226. package/dist/docs/xpl-popover/readme.md +24 -0
  227. package/dist/docs/xpl-radio/readme.md +21 -4
  228. package/dist/docs/xpl-side-nav/readme.md +153 -5
  229. package/dist/docs/xpl-side-nav/xpl-side-nav-item/readme.md +165 -32
  230. package/dist/docs/xpl-table/readme.md +2 -0
  231. package/dist/docs/xpl-tooltip/readme.md +29 -1
  232. package/dist/esm/apollo-core.js +4 -4
  233. package/dist/esm/{index-C7bgJs6C.js → index-CXkZUm1c.js} +36 -9
  234. package/dist/esm/loader.js +3 -3
  235. package/dist/esm/v4-CK3_k8jD.js +50 -0
  236. package/dist/esm/xpl-accordion.entry.js +3 -3
  237. package/dist/esm/xpl-application-shell.entry.js +2 -2
  238. package/dist/esm/xpl-avatar_54.entry.js +700 -176
  239. package/dist/esm/xpl-button-row.entry.js +2 -2
  240. package/dist/esm/xpl-calendar.entry.js +3 -3
  241. package/dist/esm/xpl-dynamic-table-cell.entry.js +3 -3
  242. package/dist/esm/xpl-dynamic-table-row.entry.js +3 -3
  243. package/dist/esm/xpl-dynamic-table.entry.js +2 -2
  244. package/dist/esm/xpl-grid-item.entry.js +2 -2
  245. package/dist/esm/xpl-grid.entry.js +2 -2
  246. package/dist/esm/xpl-large-card.entry.js +2 -2
  247. package/dist/esm/xpl-main-nav.entry.js +2 -2
  248. package/dist/esm/xpl-table-header-cell.entry.js +1 -1
  249. package/dist/esm/xpl-table-header.entry.js +2 -2
  250. package/dist/esm/xpl-toggle.entry.js +5 -5
  251. package/dist/esm/xpl-toolbar.entry.js +3 -3
  252. package/dist/types/components/xpl-banner/banner.stories.d.ts +2 -0
  253. package/dist/types/components/xpl-button/button.stories.d.ts +2 -0
  254. package/dist/types/components/xpl-dropdown/xpl-dropdown.d.ts +16 -0
  255. package/dist/types/components/xpl-input/xpl-input-phone/xpl-input-phone.d.ts +1 -0
  256. package/dist/types/components/xpl-pagination/xpl-pagination.d.ts +4 -0
  257. package/dist/types/components/xpl-radio/radio.stories.d.ts +11 -10
  258. package/dist/types/components/xpl-side-nav/side-nav-constants.d.ts +2 -0
  259. package/dist/types/components/xpl-side-nav/side-nav.stories.d.ts +53 -32
  260. package/dist/types/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.d.ts +10 -0
  261. package/dist/types/components/xpl-side-nav/xpl-side-nav.d.ts +31 -0
  262. package/dist/types/components/xpl-spotlight/xpl-spotlight.d.ts +1 -0
  263. package/dist/types/components.d.ts +223 -20
  264. package/dist/types/stencil-public-runtime.d.ts +1 -0
  265. package/package.json +33 -24
  266. package/dist/apollo-core/p-0bf50890.entry.js +0 -1
  267. package/dist/apollo-core/p-1947e7a8.entry.js +0 -1
  268. package/dist/apollo-core/p-27928cb0.entry.js +0 -1
  269. package/dist/apollo-core/p-34438721.entry.js +0 -1
  270. package/dist/apollo-core/p-35c2f72d.entry.js +0 -1
  271. package/dist/apollo-core/p-368c81f1.entry.js +0 -1
  272. package/dist/apollo-core/p-3bb14840.entry.js +0 -1
  273. package/dist/apollo-core/p-406b27a8.entry.js +0 -1
  274. package/dist/apollo-core/p-5d63b4ce.entry.js +0 -1
  275. package/dist/apollo-core/p-8d692d05.entry.js +0 -1
  276. package/dist/apollo-core/p-C7bgJs6C.js +0 -2
  277. package/dist/apollo-core/p-Cqlsd6nf.js +0 -1
  278. package/dist/apollo-core/p-cd56a3d5.entry.js +0 -1
  279. package/dist/apollo-core/p-dc205893.entry.js +0 -1
  280. package/dist/cjs/v4-D4KzFnn8.js +0 -67
  281. package/dist/components/index3.js +0 -1
  282. package/dist/components/v4.js +0 -1
  283. package/dist/components/xpl-avatar2.js +0 -1
  284. package/dist/components/xpl-backdrop2.js +0 -1
  285. package/dist/components/xpl-badge2.js +0 -1
  286. package/dist/components/xpl-button2.js +0 -1
  287. package/dist/components/xpl-checkbox2.js +0 -1
  288. package/dist/components/xpl-divider2.js +0 -1
  289. package/dist/components/xpl-dropdown-group2.js +0 -1
  290. package/dist/components/xpl-dropdown-heading2.js +0 -1
  291. package/dist/components/xpl-dropdown-option2.js +0 -1
  292. package/dist/components/xpl-dropdown2.js +0 -1
  293. package/dist/components/xpl-icon2.js +0 -1
  294. package/dist/components/xpl-input-date2.js +0 -1
  295. package/dist/components/xpl-input2.js +0 -1
  296. package/dist/components/xpl-list-item2.js +0 -1
  297. package/dist/components/xpl-popover2.js +0 -1
  298. package/dist/components/xpl-radio2.js +0 -1
  299. package/dist/components/xpl-select2.js +0 -1
  300. package/dist/components/xpl-tooltip2.js +0 -1
  301. package/dist/esm/v4-Cqlsd6nf.js +0 -65
  302. /package/dist/components/{_commonjsHelpers.js → p-BFTU3MAI.js} +0 -0
  303. /package/dist/components/{index2.js → p-CH4yJ6Qx.js} +0 -0
  304. /package/dist/components/{tab-a11y-ids.js → p-Yj_QFaRn.js} +0 -0
  305. /package/dist/{index.cjs.js → index.cjs} +0 -0
  306. /package/loader/{cdn.js → cdn.cjs} +0 -0
  307. /package/loader/{index.cjs.js → index.cjs} +0 -0
@@ -1 +0,0 @@
1
- import{r as a,c as e,h as b,H as c}from"./p-C7bgJs6C.js";const d=class{constructor(b){a(this,b),this.navWidth=e(this,"navWidth",7),this.width="default"}navWidthHandler(){this.navWidth.emit(this.width)}connectedCallback(){this.navWidthHandler()}componentDidUpdate(){this.navWidthHandler()}render(){return b(c,{key:"122bf1f28c4fb1e460185989b2d517f1ddbfb22b",class:`xpl-main-nav xpl-main-nav--${this.width}`,"aria-label":"Sidebar"},b("nav",{key:"4ed8ce484b394adee98ac16056ebbabcadd31625"},b("header",{key:"829b7904323aeea21922a8d4a8fa33141cfa7913","aria-label":"Sidebar Header"},b("slot",{key:"8a6ea72fa4a1b26f9825a36b4ac7e64c9dbf476c",name:"logo"}),b("slot",{key:"bf049e9ee7b83af1c4ebfef21681edcb35de9364",name:"brand-name"})),b("div",{key:"a0ce70ccf5e4bac6346711127fba5278963910c1",class:"xpl-main-nav__main_section"},b("slot",{key:"bce360027342a1ef3e009bad6bc28e44c64dbd04",name:"navigation"})),b("footer",{key:"0b5f2e6cc890e4257f5e5503302492a236950f87",class:"xpl-main-nav__footer","aria-label":"Sidebar Footer"},b("slot",{key:"01dbe4d3834e1bc67b51108600688544e549ecde",name:"footer"}))))}};export{d as xpl_main_nav}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i,H as a}from"./p-C7bgJs6C.js";const b=class{constructor(i){t(this,i),this.clickPrimary=s(this,"clickPrimary",7),this.clickSecondary=s(this,"clickSecondary",7),this.clickTertiary=s(this,"clickTertiary",7),this.onPrimary=()=>this.clickPrimary.emit(),this.onSecondary=()=>this.clickSecondary.emit(),this.onTertiary=()=>this.clickTertiary.emit()}render(){return i(a,{key:"184ee5671a9d1bbb967dd8e6e4427df30d62a007",class:"xpl-button-row"},i("div",{key:"44b583d0899af8b158f7093b87918f0843366e44",class:"xpl-button-row-inner"},i("div",{key:"31754284b0b87a1e58ccbded4b46b453c3b717ca",class:"xpl-button-row__left"},this.secondary&&i("xpl-button",{key:"27a9c164af5e72a66380dfda4072cfb5d3b3a34d",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary)),i("div",{key:"7ba9299532405aa9dceca481dae675a5129d2b51",class:"xpl-button-row__right"},this.tertiary&&i("xpl-button",{key:"bcb3524b921e6de30a1f6d870e04eeb9592762bb",variant:"subtle",type:"button",onClick:this.onTertiary},this.tertiary),this.secondary&&i("xpl-button",{key:"5e10208c958143476df430b7f9877965b7fadc08",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary),this.primary&&i("xpl-button",{key:"ebb24794d37fd6dce72fa776b97ec59edeaab1dc",class:"xpl-button-row__primary",onClick:this.onPrimary},this.primary))))}};export{b as xpl_button_row}
@@ -1 +0,0 @@
1
- import{r as e,h as a,H as r}from"./p-C7bgJs6C.js";const s=class{constructor(a){e(this,a)}render(){return a(r,{key:"7b36c9e640bd43ac38ea2625e7600e8699a13c5f",role:"row",class:"xpl-table-header"},a("slot",{key:"d03fe894a829477b6bf25dbd6dfa724b224b8d42"}))}};export{s as xpl_table_header}
@@ -1,2 +0,0 @@
1
- function t(t,n,e){const o="undefined"!=typeof HTMLElement?HTMLElement.prototype:null;for(;t&&t!==o;){const o=Object.getOwnPropertyDescriptor(t,n);if(o&&(!e||o.get))return o;t=Object.getPrototypeOf(t)}}var n=(n,e)=>{var o;Object.entries(null!=(o=e.o.t)?o:{}).map((([o,[l]])=>{if(31&l||32&l){const l=n[o],s=t(Object.getPrototypeOf(n),o,!0)||Object.getOwnPropertyDescriptor(n,o);s&&Object.defineProperty(n,o,{get(){return s.get.call(this)},set(t){s.set.call(this,t)},configurable:!0,enumerable:!0}),e.l.has(o)?n[o]=e.l.get(o):void 0!==l&&(n[o]=l)}}))},e=t=>{if(t.__stencil__getHostRef)return t.__stencil__getHostRef()},o=(t,e)=>{e&&(t.__stencil__getHostRef=()=>e,e.i=t,512&e.o.u&&n(t,e))},l=(t,n)=>n in t,s=(t,n)=>(0,console.error)(t,n),i=new Map,r=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="http://www.w3.org/1999/xlink",f="undefined"!=typeof window?window:{},a={u:0,p:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,o)=>t.addEventListener(n,e,o),rel:(t,n,e,o)=>t.removeEventListener(n,e,o),ce:(t,n)=>new CustomEvent(t,n)},d=t=>Promise.resolve(t),p=(()=>{try{return!!f.document.adoptedStyleSheets&&(new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync)}catch(t){}return!1})(),v=!!p&&(()=>!!f.document&&Object.getOwnPropertyDescriptor(f.document.adoptedStyleSheets,"length").writable)(),h=!1,m=[],y=[],b=(t,n)=>e=>{t.push(e),h||(h=!0,n&&4&a.u?g(w):a.raf(w))},$=t=>{for(let n=0;n<t.length;n++)try{t[n](performance.now())}catch(t){s(t)}t.length=0},w=()=>{$(m),$(y),(h=m.length>0)&&a.raf(w)},g=t=>d().then(t),j=b(y,!0),O=t=>{const n=C(t,"childNodes");t.tagName&&t.tagName.includes("-")&&t["s-cr"]&&"SLOT-FB"!==t.tagName&&S(n,t.tagName).forEach((t=>{1===t.nodeType&&"SLOT-FB"===t.tagName&&(t.hidden=!!k(t,E(t),!1).length)}));let e=0;for(e=0;e<n.length;e++){const t=n[e];1===t.nodeType&&C(t,"childNodes").length&&O(t)}};function S(t,n,e){let o,l=0,s=[];for(;l<t.length;l++){if(o=t[l],o["s-sr"]&&(!n||o["s-hn"]===n)&&(void 0===e||E(o)===e)&&(s.push(o),void 0!==e))return s;s=[...s,...S(o.childNodes,n,e)]}return s}var k=(t,n,e=!0)=>{const o=[];(e&&t["s-sr"]||!t["s-sr"])&&o.push(t);let l=t;for(;l=l.nextSibling;)E(l)!==n||!e&&l["s-sr"]||o.push(l);return o},N=(t,n)=>1===t.nodeType?null===t.getAttribute("slot")&&""===n||t.getAttribute("slot")===n:t["s-sn"]===n||""===n,E=t=>"string"==typeof t["s-sn"]?t["s-sn"]:1===t.nodeType&&t.getAttribute("slot")||void 0;function C(t,n){if("__"+n in t){const e=t["__"+n];return"function"!=typeof e?e:e.bind(t)}return"function"!=typeof t[n]?t[n]:t[n].bind(t)}function M(t){var n,e,o;return null!=(o=null==(e=null==(n=t.head)?void 0:n.querySelector('meta[name="csp-nonce"]'))?void 0:e.getAttribute("content"))?o:void 0}var T,x,L=new WeakMap,R=t=>"sc-"+t.v,A=t=>"object"==(t=typeof t)||"function"===t,F=(t,n,...e)=>{let o=null,l=null,s=null,i=!1,r=!1;const c=[],u=n=>{for(let e=0;e<n.length;e++)o=n[e],Array.isArray(o)?u(o):null!=o&&"boolean"!=typeof o&&((i="function"!=typeof t&&!A(o))&&(o+=""),i&&r?c[c.length-1].h+=o:c.push(i?P(null,o):o),r=i)};if(u(e),n){n.key&&(l=n.key),n.name&&(s=n.name);{const t=n.className||n.class;t&&(n.class="object"!=typeof t?t:Object.keys(t).filter((n=>t[n])).join(" "))}}if("function"==typeof t)return t(null===n?{}:n,c,H);const f=P(t,null);return f.m=n,c.length>0&&(f.$=c),f.j=l,f.O=s,f},P=(t,n)=>({u:0,S:t,h:null!=n?n:null,k:null,$:null,m:null,j:null,O:null}),D={},H={forEach:(t,n)=>t.map(_).forEach(n),map:(t,n)=>t.map(_).map(n).map(U)},_=t=>({vattrs:t.m,vchildren:t.$,vkey:t.j,vname:t.O,vtag:t.S,vtext:t.h}),U=t=>{if("function"==typeof t.vtag){const n={...t.vattrs};return t.vkey&&(n.key=t.vkey),t.vname&&(n.name=t.vname),F(t.vtag,n,...t.vchildren||[])}const n=P(t.vtag,t.vtext);return n.m=t.vattrs,n.$=t.vchildren,n.j=t.vkey,n.O=t.vname,n},W=(t,n)=>null==t||A(t)?t:4&n?"false"!==t&&(""===t||!!t):2&n?"string"==typeof t?parseFloat(t):"number"==typeof t?t:NaN:1&n?t+"":t,z=t=>{var n;return null==(n=e(t))?void 0:n.$hostElement$},B=(t,n,e)=>{const o=z(t);return{emit:t=>V(o,n,{bubbles:!!(4&e),composed:!!(2&e),cancelable:!!(1&e),detail:t})}},V=(t,n,e)=>{const o=a.ce(n,e);return t.dispatchEvent(o),o},q=(t,n,o,s,i,r)=>{if(o===s)return;let c=l(t,n),d=n.toLowerCase();if("class"===n){const n=t.classList,e=G(o);let l=G(s);n.remove(...e.filter((t=>t&&!l.includes(t)))),n.add(...l.filter((t=>t&&!e.includes(t))))}else if("style"===n){for(const n in o)s&&null!=s[n]||(n.includes("-")?t.style.removeProperty(n):t.style[n]="");for(const n in s)o&&s[n]===o[n]||(n.includes("-")?t.style.setProperty(n,s[n]):t.style[n]=s[n])}else if("key"===n);else if("ref"===n)s&&ht(s,t);else if(c||"o"!==n[0]||"n"!==n[1]){if("a"===n[0]&&n.startsWith("attr:")){const o=n.slice(5);let l;{const n=e(t);if(n&&n.o&&n.o.t){const t=n.o.t[o];t&&t[1]&&(l=t[1])}}return l||(l=o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),void(null==s||!1===s?!1===s&&""!==t.getAttribute(l)||t.removeAttribute(l):t.setAttribute(l,!0===s?"":s))}if("p"===n[0]&&n.startsWith("prop:")){const e=n.slice(5);try{t[e]=s}catch(t){}return}{const e=A(s);if((c||e&&null!==s)&&!i)try{if(t.tagName.includes("-"))t[n]!==s&&(t[n]=s);else{const e=null==s?"":s;"list"===n?c=!1:null!=o&&t[n]===e||("function"==typeof t.__lookupSetter__(n)?t[n]=e:t.setAttribute(n,e))}}catch(t){}let l=!1;d!==(d=d.replace(/^xlink\:?/,""))&&(n=d,l=!0),null==s||!1===s?!1===s&&""!==t.getAttribute(n)||(l?t.removeAttributeNS(u,n):t.removeAttribute(n)):(!c||4&r||i)&&!e&&1===t.nodeType&&(s=!0===s?"":s,l?t.setAttributeNS(u,n,s):t.setAttribute(n,s))}}else if(n="-"===n[2]?n.slice(3):l(f,d)?d.slice(2):d[2]+n.slice(3),o||s){const e=n.endsWith(I);n=n.replace(Z,""),o&&a.rel(t,n,o,e),s&&a.ael(t,n,s,e)}},Y=/\s/,G=t=>("object"==typeof t&&t&&"baseVal"in t&&(t=t.baseVal),t&&"string"==typeof t?t.split(Y):[]),I="Capture",Z=RegExp(I+"$"),J=(t,n,e)=>{const o=11===n.k.nodeType&&n.k.host?n.k.host:n.k,l=t&&t.m||{},s=n.m||{};for(const t of K(Object.keys(l)))t in s||q(o,t,l[t],void 0,e,n.u);for(const t of K(Object.keys(s)))q(o,t,l[t],s[t],e,n.u)};function K(t){return t.includes("ref")?[...t.filter((t=>"ref"!==t)),"ref"]:t}var Q=!1,X=!1,tt=!1,nt=!1,et=[],ot=[],lt=(t,n,e)=>{var o;const l=n.$[e];let s,i,r,c=0;if(Q||(tt=!0,"slot"===l.S&&(l.u|=l.$?2:1)),null!=l.h)s=l.k=f.document.createTextNode(l.h);else if(1&l.u)s=l.k=f.document.createTextNode(""),J(null,l,nt);else{if(nt||(nt="svg"===l.S),!f.document)throw Error("You are trying to render a Stencil component in an environment that doesn't support the DOM.");if(s=l.k=f.document.createElementNS(nt?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",!Q&&2&l.u?"slot-fb":l.S),nt&&"foreignObject"===l.S&&(nt=!1),J(null,l,nt),l.$){const n="template"===l.S?s.content:s;for(c=0;c<l.$.length;++c)i=lt(t,l,c),i&&n.appendChild(i)}"svg"===l.S?nt=!1:"foreignObject"===s.tagName&&(nt=!0)}return s["s-hn"]=x,3&l.u&&(s["s-sr"]=!0,s["s-cr"]=T,s["s-sn"]=l.O||"",s["s-rf"]=null==(o=l.m)?void 0:o.ref,function(t){if(t.assignedElements||t.assignedNodes||!t["s-sr"])return;const n=n=>function(t){const e=[],o=this["s-sn"];(null==t?void 0:t.flatten)&&console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ");const l=this["s-cr"].parentElement;return(l.__childNodes?l.childNodes:(t=>{const n=[];for(let e=0;e<t.length;e++){const o=t[e]["s-nr"]||void 0;o&&o.isConnected&&n.push(o)}return n})(l.childNodes)).forEach((t=>{o===E(t)&&e.push(t)})),n?e.filter((t=>1===t.nodeType)):e}.bind(t);t.assignedElements=n(!0),t.assignedNodes=n(!1)}(s),r=t&&t.$&&t.$[e],r&&r.S===l.S&&t.k&&st(t.k)),s},st=t=>{a.u|=1;const n=t.closest(x.toLowerCase());if(null!=n){const e=Array.from(n.__childNodes||n.childNodes).find((t=>t["s-cr"])),o=Array.from(t.__childNodes||t.childNodes);for(const t of e?o.reverse():o)null!=t["s-sh"]&&(mt(n,t,null!=e?e:null),t["s-sh"]=void 0,tt=!0)}a.u&=-2},it=(t,n)=>{a.u|=1;const e=Array.from(t.__childNodes||t.childNodes);if(t["s-sr"]){let n=t;for(;n=n.nextSibling;)n&&n["s-sn"]===t["s-sn"]&&n["s-sh"]===x&&e.push(n)}for(let t=e.length-1;t>=0;t--){const o=e[t];o["s-hn"]!==x&&o["s-ol"]&&(mt(ft(o).parentNode,o,ft(o)),o["s-ol"].remove(),o["s-ol"]=void 0,o["s-sh"]=void 0,tt=!0),n&&it(o,n)}a.u&=-2},rt=(t,n,e,o,l,s)=>{let i,r=t["s-cr"]&&t["s-cr"].parentNode||t;for("template"===e.S&&(r=r.content);l<=s;++l)o[l]&&(i=lt(null,e,l),i&&(o[l].k=i,mt(r,i,ft(n))))},ct=(t,n,e)=>{for(let o=n;o<=e;++o){const n=t[o];if(n){const t=n.k;vt(n),t&&(X=!0,t["s-ol"]?t["s-ol"].remove():it(t,!0),t.remove())}}},ut=(t,n,e=!1)=>t.S===n.S&&("slot"===t.S?t.O===n.O:e?(e&&!t.j&&n.j&&(t.j=n.j),!0):t.j===n.j),ft=t=>t&&t["s-ol"]||t,at=(t,n,e=!1)=>{const o=n.k=t.k,l=t.$,s=n.$,i=n.S,r=n.h;let c;null==r?(nt="svg"===i||"foreignObject"!==i&&nt,"slot"!==i||Q||t.O!==n.O&&(n.k["s-sn"]=n.O||"",st(n.k.parentElement)),J(t,n,nt),null!==l&&null!==s?((t,n,e,o,l=!1)=>{let s,i,r=0,c=0,u=0,f=0,a=n.length-1,d=n[0],p=n[a],v=o.length-1,h=o[0],m=o[v];const y="template"===e.S?t.content:t;for(;r<=a&&c<=v;)if(null==d)d=n[++r];else if(null==p)p=n[--a];else if(null==h)h=o[++c];else if(null==m)m=o[--v];else if(ut(d,h,l))at(d,h,l),d=n[++r],h=o[++c];else if(ut(p,m,l))at(p,m,l),p=n[--a],m=o[--v];else if(ut(d,m,l))"slot"!==d.S&&"slot"!==m.S||it(d.k.parentNode,!1),at(d,m,l),mt(y,d.k,p.k.nextSibling),d=n[++r],m=o[--v];else if(ut(p,h,l))"slot"!==d.S&&"slot"!==m.S||it(p.k.parentNode,!1),at(p,h,l),mt(y,p.k,d.k),p=n[--a],h=o[++c];else{for(u=-1,f=r;f<=a;++f)if(n[f]&&null!==n[f].j&&n[f].j===h.j){u=f;break}u>=0?(i=n[u],i.S!==h.S?s=lt(n&&n[c],e,u):(at(i,h,l),n[u]=void 0,s=i.k),h=o[++c]):(s=lt(n&&n[c],e,c),h=o[++c]),s&&mt(ft(d.k).parentNode,s,ft(d.k))}r>a?rt(t,null==o[v+1]?null:o[v+1].k,e,o,c,v):c>v&&ct(n,r,a)})(o,l,n,s,e):null!==s?(null!==t.h&&(o.textContent=""),rt(o,null,n,s,0,s.length-1)):!e&&null!==l&&ct(l,0,l.length-1),nt&&"svg"===i&&(nt=!1)):(c=o["s-cr"])?c.parentNode.textContent=r:t.h!==r&&(o.data=r)},dt=[],pt=t=>{let n,e,o;const l=t.__childNodes||t.childNodes;for(const t of l){if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){e=n.parentNode.__childNodes||n.parentNode.childNodes;const l=t["s-sn"];for(o=e.length-1;o>=0;o--)if(n=e[o],!(n["s-cn"]||n["s-nr"]||n["s-hn"]===t["s-hn"]||n["s-sh"]&&n["s-sh"]===t["s-hn"]))if(N(n,l)){let e=dt.find((t=>t.N===n));X=!0,n["s-sn"]=n["s-sn"]||l,e?(e.N["s-sh"]=t["s-hn"],e.C=t):(n["s-sh"]=t["s-hn"],dt.push({C:t,N:n})),n["s-sr"]&&dt.map((t=>{N(t.N,n["s-sn"])&&(e=dt.find((t=>t.N===n)),e&&!t.C&&(t.C=e.C))}))}else dt.some((t=>t.N===n))||dt.push({N:n})}1===t.nodeType&&pt(t)}},vt=t=>{t.m&&t.m.ref&&et.push((()=>t.m.ref(null))),t.$&&t.$.map(vt)},ht=(t,n)=>{ot.push((()=>t(n)))},mt=(t,n,e,o)=>{if("string"==typeof n["s-sn"]){t.insertBefore(n,e);const{slotNode:l}=function(t,n){var e;if(!(n=n||(null==(e=t["s-ol"])?void 0:e.parentElement)))return{slotNode:null,slotName:""};const o=t["s-sn"]=E(t)||"";return{slotNode:S(C(n,"childNodes"),n.tagName,o)[0],slotName:o}}(n);return l&&!o&&function(t){t.dispatchEvent(new CustomEvent("slotchange",{bubbles:!1,cancelable:!1,composed:!1}))}(l),n}return t.__insertBefore?t.__insertBefore(n,e):null==t?void 0:t.insertBefore(n,e)},yt=(t,n)=>{if(n&&!t.M&&n["s-p"]){const e=n["s-p"].push(new Promise((o=>t.M=()=>{n["s-p"].splice(e-1,1),o()})))}},bt=(t,n)=>{if(t.u|=16,4&t.u)return void(t.u|=512);yt(t,t.T);const e=()=>$t(t,n);if(!n)return j(e);queueMicrotask((()=>{e()}))},$t=(t,n)=>{const e=t.$hostElement$,o=t.i;if(!o)throw Error(`Can't render component <${e.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return n?(t.L&&(t.L=!1,Et(o,"connectedCallback",void 0,e)),t.u|=256,t.R&&(t.R.map((([t,n])=>Et(o,t,n,e))),t.R=void 0),t.A.length&&t.A.forEach((t=>t(e))),l=Et(o,"componentWillLoad",void 0,e)):l=Et(o,"componentWillUpdate",void 0,e),l=wt(l,(()=>Et(o,"componentWillRender",void 0,e))),wt(l,(()=>jt(t,o,n)))},wt=(t,n)=>gt(t)?t.then(n).catch((t=>{console.error(t),n()})):n(),gt=t=>t instanceof Promise||t&&t.then&&"function"==typeof t.then,jt=async(t,n,e)=>{var o;const l=t.$hostElement$,s=l["s-rc"];e&&(t=>{const n=t.o;((t,n)=>{var e,o,l;const s=R(n),i=r.get(s);if(!f.document)return s;if(t=11===t.nodeType?t:f.document,i)if("string"==typeof i){let l,r=L.get(t=t.head||t);if(r||L.set(t,r=new Set),!r.has(s)){l=f.document.createElement("style"),l.textContent=i;const u=null!=(e=a.F)?e:M(f.document);if(null!=u&&l.setAttribute("nonce",u),!(1&n.u))if("HEAD"===t.nodeName){const n=t.querySelectorAll("link[rel=preconnect]"),e=n.length>0?n[n.length-1].nextSibling:t.querySelector("style");t.insertBefore(l,(null==e?void 0:e.parentNode)===t?e:null)}else if("host"in t)if(p){const n=new(null!=(o=t.defaultView)?o:t.ownerDocument.defaultView).CSSStyleSheet;n.replaceSync(i),v?t.adoptedStyleSheets.unshift(n):t.adoptedStyleSheets=[n,...t.adoptedStyleSheets]}else{const n=t.querySelector("style");n?n.textContent=i+n.textContent:t.prepend(l)}else t.append(l);1&n.u&&t.insertBefore(l,null),4&n.u&&(l.textContent+=c),r&&r.add(s)}}else{let n=L.get(t);if(n||L.set(t,n=new Set),!n.has(s)){const e=null!=(l=t.defaultView)?l:t.ownerDocument.defaultView;let o;if(i.constructor===e.CSSStyleSheet)o=i;else{o=new e.CSSStyleSheet;for(let t=0;t<i.cssRules.length;t++)o.insertRule(i.cssRules[t].cssText,t)}v?t.adoptedStyleSheets.push(o):t.adoptedStyleSheets=[...t.adoptedStyleSheets,o],n.add(s)}}})(t.$hostElement$.getRootNode(),n)})(t);Ot(t,n,l,e),s&&(s.map((t=>t())),l["s-rc"]=void 0);{const n=null!=(o=l["s-p"])?o:[],e=()=>St(t);0===n.length?e():(Promise.all(n).then(e).catch(e),t.u|=4,n.length=0)}},Ot=(t,n,e,o)=>{try{n=n.render(),t.u&=-17,t.u|=2,((t,n,e=!1)=>{var o,l,s,i,r;const c=t.$hostElement$,u=t.o,d=t.P||P(null,null),p=(t=>t&&t.S===D)(n)?n:F(null,null,n);if(x=c.tagName,u.D&&(p.m=p.m||{},u.D.forEach((([t,n])=>{p.m[n]=c[t]}))),e&&p.m)for(const t of Object.keys(p.m))c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)&&(p.m[t]=c[t]);if(p.S=null,p.u|=4,t.P=p,p.k=d.k=c,Q=!1,T=c["s-cr"],X=!1,at(d,p,e),a.u|=1,tt){pt(p.k);for(const t of dt){const n=t.N;if(!n["s-ol"]&&f.document){const t=f.document.createTextNode("");t["s-nr"]=n,mt(n.parentNode,n["s-ol"]=t,n,e)}}for(const t of dt){const n=t.N,r=t.C;if(1===n.nodeType&&e&&(n["s-ih"]=null!=(o=n.hidden)&&o),r){const t=r.parentNode;let o=r.nextSibling;if(o&&1===o.nodeType){let e=null==(l=n["s-ol"])?void 0:l.previousSibling;for(;e;){let l=null!=(s=e["s-nr"])?s:null;if(l&&l["s-sn"]===n["s-sn"]&&t===(l.__parentNode||l.parentNode)){for(l=l.nextSibling;l===n||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){o=l;break}}e=e.previousSibling}}if((!o&&t!==(n.__parentNode||n.parentNode)||(n.__nextSibling||n.nextSibling)!==o)&&n!==o){if(mt(t,n,o,e),8===n.nodeType&&n.nodeValue.startsWith("s-nt-")){const t=f.document.createTextNode(n.nodeValue.replace(/^s-nt-/,""));t["s-hn"]=n["s-hn"],t["s-sn"]=n["s-sn"],t["s-sh"]=n["s-sh"],t["s-sr"]=n["s-sr"],t["s-ol"]=n["s-ol"],t["s-ol"]["s-nr"]=t,mt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}1===n.nodeType&&"SLOT-FB"!==n.tagName&&(n.hidden=null!=(i=n["s-ih"])&&i)}n&&"function"==typeof r["s-rf"]&&r["s-rf"](r)}else 1===n.nodeType&&(n.hidden=!0)}}if(X&&O(p.k),a.u&=-2,dt.length=0,!Q&&!(1&u.u)&&c["s-cr"]){const t=p.k.__childNodes||p.k.childNodes;for(const n of t)if(n["s-hn"]!==x&&!n["s-sh"])if(e&&null==n["s-ih"]&&(n["s-ih"]=null!=(r=n.hidden)&&r),1===n.nodeType)n.hidden=!0;else if(3===n.nodeType&&n.nodeValue.trim()){const t=f.document.createComment("s-nt-"+n.nodeValue);t["s-sn"]=n["s-sn"],mt(n.parentNode,t,n,e),n.parentNode.removeChild(n)}}T=void 0,et.forEach((t=>t())),et.length=0,ot.forEach((t=>t())),ot.length=0})(t,n,o)}catch(n){s(n,t.$hostElement$)}return null},St=t=>{const n=t.$hostElement$,e=t.i,o=t.T;Et(e,"componentDidRender",void 0,n),64&t.u?Et(e,"componentDidUpdate",void 0,n):(t.u|=64,Ct(n),Et(e,"componentDidLoad",void 0,n),t.H(n),o||Nt()),t._(n),t.M&&(t.M(),t.M=void 0),512&t.u&&g((()=>bt(t,!1))),t.u&=-517},kt=t=>{var n;{const o=e(t),l=null==(n=null==o?void 0:o.$hostElement$)?void 0:n.isConnected;return l&&2==(18&o.u)&&bt(o,!1),l}},Nt=()=>{g((()=>V(f,"appload",{detail:{namespace:"apollo-core"}})))},Et=(t,n,e,o)=>{if(t&&t[n])try{return t[n](e)}catch(t){s(t,o)}},Ct=t=>t.classList.add("hydrated"),Mt=(t,n,o,l)=>{const i=e(t);if(!i)return;if(!i)throw Error(`Couldn't find host element for "${l.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`);const r=i.$hostElement$,c=i.l.get(n),u=i.u,f=i.i;if(o=W(o,l.t[n][0]),!(8&u&&void 0!==c||o===c||Number.isNaN(c)&&Number.isNaN(o))){if(i.l.set(n,o),l.U){const t=l.U[n];t&&t.map((t=>{try{const[[e,l]]=Object.entries(t);(128&u||1&l)&&(f?f[e](o,c,n):i.A.push((()=>{i.i[e](o,c,n)})))}catch(t){s(t,r)}}))}if(2&u){if(f.componentShouldUpdate&&!1===f.componentShouldUpdate(o,c,n)&&!(16&u))return;16&u||bt(i,!1)}}},Tt=(n,o,l)=>{var s,i;const r=n.prototype;{n.watchers&&!o.U&&(o.U=n.watchers),n.deserializers&&!o.W&&(o.W=n.deserializers),n.serializers&&!o.B&&(o.B=n.serializers);const c=Object.entries(null!=(s=o.t)?s:{});if(c.map((([n,[s]])=>{if(31&s||2&l&&32&s){const{get:i,set:c}=t(r,n)||{};i&&(o.t[n][0]|=2048),c&&(o.t[n][0]|=4096),(1&l||!i)&&Object.defineProperty(r,n,{get(){{if(!(2048&o.t[n][0]))return((t,n)=>e(this).l.get(n))(0,n);const t=e(this),l=t?t.i:r;if(!l)return;return l[n]}},configurable:!0,enumerable:!0}),Object.defineProperty(r,n,{set(t){const i=e(this);if(i){if(c)return void 0===(32&s?this[n]:i.$hostElement$[n])&&i.l.get(n)&&(t=i.l.get(n)),c.call(this,W(t,s)),void Mt(this,n,t=32&s?this[n]:i.$hostElement$[n],o);{if(!(1&l&&4096&o.t[n][0]))return Mt(this,n,t,o),void(1&l&&!i.i&&i.A.push((()=>{4096&o.t[n][0]&&i.i[n]!==i.l.get(n)&&(i.i[n]=t)})));const e=()=>{const e=i.i[n];!i.l.get(n)&&e&&i.l.set(n,e),i.i[n]=W(t,s),Mt(this,n,i.i[n],o)};i.i?e():i.A.push((()=>{e()}))}}}})}else 1&l&&64&s&&Object.defineProperty(r,n,{value(...t){var o;const l=e(this);return null==(o=null==l?void 0:l.V)?void 0:o.then((()=>{var e;return null==(e=l.i)?void 0:e[n](...t)}))}})})),1&l){const t=new Map;r.attributeChangedCallback=function(n,l,s){a.jmp((()=>{var i;const u=t.get(n),f=e(this);if(this.hasOwnProperty(u)&&(s=this[u],delete this[u]),r.hasOwnProperty(u)&&"number"==typeof this[u]&&this[u]==s)return;if(null==u){const t=null==f?void 0:f.u;if(f&&t&&!(8&t)&&s!==l){const e=f.i,r=null==(i=o.U)?void 0:i[n];null==r||r.forEach((o=>{const[[i,r]]=Object.entries(o);null!=e[i]&&(128&t||1&r)&&e[i].call(e,s,l,n)}))}return}const a=c.find((([t])=>t===u));a&&4&a[1][0]&&(s=null!==s&&"false"!==s);const d=Object.getOwnPropertyDescriptor(r,u);s==this[u]||d.get&&!d.set||(this[u]=s)}))},n.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=o.U)?i:{}),...c.filter((([t,n])=>31&n[0])).map((([n,e])=>{var l;const s=e[1]||n;return t.set(s,n),512&e[0]&&(null==(l=o.D)||l.push([n,s])),s}))]))}}return n},xt=(t,n)=>{Et(t,"connectedCallback",void 0,n)},Lt=(t,n)=>{Et(t,"disconnectedCallback",void 0,n||t)},Rt=(t,n={})=>{var o;if(!f.document)return void console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");const l=[],u=n.exclude||[],d=f.customElements,v=f.document.head,h=v.querySelector("meta[charset]"),m=f.document.createElement("style"),y=[];let b,$=!0;Object.assign(a,n),a.p=new URL(n.resourcesUrl||"./",f.document.baseURI).href;let w=!1;if(t.map((t=>{t[1].map((n=>{var o,c,v;const h={u:n[0],v:n[1],t:n[2],q:n[3]};4&h.u&&(w=!0),h.t=n[2],h.q=n[3],h.D=[],h.U=null!=(o=n[4])?o:{},h.B=null!=(c=n[5])?c:{},h.W=null!=(v=n[6])?v:{};const m=h.v,g=class extends HTMLElement{"s-p";"s-rc";hasRegisteredEventListeners=!1;constructor(t){super(t),((t,n)=>{const e={u:0,$hostElement$:t,o:n,l:new Map,Y:new Map};e.V=new Promise((t=>e._=t)),e.G=new Promise((t=>e.H=t)),t["s-p"]=[],t["s-rc"]=[],e.A=[];const o=e;t.__stencil__getHostRef=()=>o})(t=this,h)}connectedCallback(){const t=e(this);t&&(this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ft(this,t,h.q)),b&&(clearTimeout(b),b=null),$?y.push(this):a.jmp((()=>(t=>{if(!(1&a.u)){const n=e(t);if(!n)return;const o=n.o,l=()=>{};if(1&n.u)Ft(t,n,o.q),(null==n?void 0:n.i)?xt(n.i,t):(null==n?void 0:n.G)&&n.G.then((()=>xt(n.i,t)));else{n.u|=1,12&o.u&&(t=>{if(!f.document)return;const n=t["s-cr"]=f.document.createComment("");n["s-cn"]=!0,mt(t,n,t.firstChild)})(t);{let e=t;for(;e=e.parentNode||e.host;)if(e["s-p"]){yt(n,n.T=e);break}}o.t&&Object.entries(o.t).map((([n,[e]])=>{if(31&e&&Object.prototype.hasOwnProperty.call(t,n)){const e=t[n];delete t[n],t[n]=e}})),(async(t,n,e)=>{let o;try{if(!(32&n.u)){if(n.u|=32,e.I){const l=((t,n)=>{const e=t.v.replace(/-/g,"_"),o=t.I;if(!o)return;const l=i.get(o);return l?l[e]:import(`./${o}.entry.js`).then((t=>(i.set(o,t),t[e])),(t=>{s(t,n.$hostElement$)}))
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(e,n);if(l&&"then"in l){const t=()=>{};o=await l,t()}else o=l;if(!o)throw Error(`Constructor for "${e.v}#${n.Z}" was not found`);o.isProxied||(e.U=o.watchers,e.B=o.serializers,e.W=o.deserializers,Tt(o,e,2),o.isProxied=!0);const r=()=>{};n.u|=8;try{new o(n)}catch(n){s(n,t)}n.u&=-9,n.u|=128,r(),4&e.u?n.L=!0:xt(n.i,t)}else o=t.constructor,customElements.whenDefined(t.localName).then((()=>n.u|=128));if(o&&o.style){let t;"string"==typeof o.style&&(t=o.style);const n=R(e);if(!r.has(n)){const o=()=>{};((t,n,e)=>{let o=r.get(t);p&&e?(o=o||new CSSStyleSheet,"string"==typeof o?o=n:o.replaceSync(n)):o=n,r.set(t,o)})(n,t,!!(1&e.u)),o()}}}const l=n.T,c=()=>bt(n,!0);l&&l["s-rc"]?l["s-rc"].push(c):c()}catch(e){s(e,t),n.M&&(n.M(),n.M=void 0),n.H&&n.H(t)}})(t,n,o)}l()}})(this))))}disconnectedCallback(){a.jmp((()=>(async t=>{if(!(1&a.u)){const n=e(t);(null==n?void 0:n.J)&&(n.J.map((t=>t())),n.J=void 0),(null==n?void 0:n.i)?Lt(n.i,t):(null==n?void 0:n.G)&&n.G.then((()=>Lt(n.i,t)))}L.has(t)&&L.delete(t),t.shadowRoot&&L.has(t.shadowRoot)&&L.delete(t.shadowRoot)})(this))),a.raf((()=>{var t;const n=e(this);if(!n)return;const o=y.findIndex((t=>t===this));o>-1&&y.splice(o,1),(null==(t=null==n?void 0:n.P)?void 0:t.k)instanceof Node&&!n.P.k.isConnected&&delete n.P.k}))}componentOnReady(){var t;return null==(t=e(this))?void 0:t.G}};h.I=t[0],u.includes(m)||d.get(m)||(l.push(m),d.define(m,Tt(g,h,1)))}))})),l.length>0&&(w&&(m.textContent+=c),m.textContent+=l.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",m.innerHTML.length)){m.setAttribute("data-styles","");const t=null!=(o=a.F)?o:M(f.document);null!=t&&m.setAttribute("nonce",t),v.insertBefore(m,h?h.nextSibling:v.firstChild)}$=!1,y.length?y.map((t=>t.connectedCallback())):a.jmp((()=>b=setTimeout(Nt,30)))},At=(t,n)=>n,Ft=(t,n,e)=>{e&&f.document&&e.map((([e,o,l])=>{const s=Dt(f.document,t,e),i=Pt(n,l),r=Ht(e);a.ael(s,o,i,r),(n.J=n.J||[]).push((()=>a.rel(s,o,i,r)))}))},Pt=(t,n)=>e=>{var o;try{256&t.u?null==(o=t.i)||o[n](e):(t.R=t.R||[]).push([n,e])}catch(n){s(n,t.$hostElement$)}},Dt=(t,n,e)=>4&e?t:8&e?f:n,Ht=t=>({passive:!!(1&t),capture:!!(2&t)}),_t=t=>a.F=t;export{At as F,D as H,Rt as b,B as c,kt as f,z as g,F as h,d as p,o as r,_t as s}
@@ -1 +0,0 @@
1
- var r,t=new Uint8Array(16);function o(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(t)}for(var n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,e=[],i=0;i<256;++i)e.push((i+256).toString(16).substr(1));function f(r){var t=(r=r||{}).random||(r.rng||o)();return t[6]=15&t[6]|64,t[8]=63&t[8]|128,function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(e[r[t+0]]+e[r[t+1]]+e[r[t+2]]+e[r[t+3]]+"-"+e[r[t+4]]+e[r[t+5]]+"-"+e[r[t+6]]+e[r[t+7]]+"-"+e[r[t+8]]+e[r[t+9]]+"-"+e[r[t+10]]+e[r[t+11]]+e[r[t+12]]+e[r[t+13]]+e[r[t+14]]+e[r[t+15]]).toLowerCase();if(!function(r){return"string"==typeof r&&n.test(r)}(o))throw TypeError("Stringified UUID is invalid");return o}(t)}export{f as v}
@@ -1 +0,0 @@
1
- import{r as s,c as e,h as t,H as l}from"./p-C7bgJs6C.js";import{v as a}from"./p-Cqlsd6nf.js";const i=class{constructor(t){s(this,t),this.toggleChange=e(this,"toggleChange",7),this.variant="default",this.id=a(),this.onChange=s=>{this.toggleChange.emit(s.target.checked)}}render(){let s="xpl-toggle-container";this.disabled&&(s+=" xpl-toggle-container--disabled");let e="xpl-toggle";return"small"===this.variant&&(e+=" xpl-toggle--small"),t(l,{key:"2665ccecd2df94b7ed7443e2ecb6265fca7f235f",class:s},(this.heading||this.description)&&t("label",{key:"75292b431419e1d34c127a82d61baa1ee024a2bb",class:{"xpl-label":!0,"xpl-label--disabled":this.disabled},htmlFor:this.id},this.heading,this.description&&t("small",{key:"772e34c7d553faee5b1dfc448ecb95706dc3e8df",class:{"xpl-description":!0,"xpl-description--disabled":this.disabled}},this.description)),t("input",{key:"afec8fff16aadca330c804832dbd41c4b10f5caa",class:e,type:"checkbox",checked:this.checked,disabled:this.disabled,id:this.id,name:this.name,onChange:this.onChange}),this.label&&t("label",{key:"1b25d01805915cb2dacf03ad9340beec61565bcc",htmlFor:this.id},this.label))}};export{i as xpl_toggle}
@@ -1 +0,0 @@
1
- import{r as t,h as e,H as s,g as a}from"./p-C7bgJs6C.js";const c=class{constructor(e){t(this,e),this.disabled=!1}componentDidLoad(){this.updateSlottedComponentsWhenDisabled()}componentDidUpdate(){this.updateSlottedComponentsWhenDisabled()}updateSlottedComponentsWhenDisabled(){this.hostElement.querySelectorAll("*").forEach((t=>{"disabled"in t&&(t.disabled=this.disabled)}))}render(){const t=Array.from(this.el.parentElement.children).indexOf(this.el)+1;return e(s,{key:"7cfa2d58f634e41ccf1604a581fcc83a2b51676f",role:"gridcell","aria-colindex":t,class:"xpl-dynamic-table-cell",ref:t=>{this.hostElement=t}},e("slot",{key:"c6a04082cb8aa1089d9f6cb82f3db8d7f0addf6e"}))}get el(){return a(this)}};export{c as xpl_dynamic_table_cell}
@@ -1,67 +0,0 @@
1
- 'use strict';
2
-
3
- // Unique ID creation requires a high quality random # generator. In the browser we therefore
4
- // require the crypto API and do not support built-in fallback to lower quality random number
5
- // generators (like Math.random()).
6
- var getRandomValues;
7
- var rnds8 = new Uint8Array(16);
8
- function rng() {
9
- // lazy load so that environments that need to polyfill have a chance to do so
10
- if (!getRandomValues) {
11
- // getRandomValues needs to be invoked in a context where "this" is a Crypto implementation. Also,
12
- // find the complete implementation of crypto (msCrypto) on IE11.
13
- getRandomValues = typeof crypto !== 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto !== 'undefined' && typeof msCrypto.getRandomValues === 'function' && msCrypto.getRandomValues.bind(msCrypto);
14
-
15
- if (!getRandomValues) {
16
- throw new Error('crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported');
17
- }
18
- }
19
-
20
- return getRandomValues(rnds8);
21
- }
22
-
23
- var REGEX = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
24
-
25
- function validate(uuid) {
26
- return typeof uuid === 'string' && REGEX.test(uuid);
27
- }
28
-
29
- /**
30
- * Convert array of 16 byte values to UUID string format of the form:
31
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
32
- */
33
-
34
- var byteToHex = [];
35
-
36
- for (var i = 0; i < 256; ++i) {
37
- byteToHex.push((i + 0x100).toString(16).substr(1));
38
- }
39
-
40
- function stringify(arr) {
41
- var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
42
- // Note: Be careful editing this code! It's been tuned for performance
43
- // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
44
- var uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one
45
- // of the following:
46
- // - One or more input array values don't map to a hex octet (leading to
47
- // "undefined" in the uuid)
48
- // - Invalid input values for the RFC `version` or `variant` fields
49
-
50
- if (!validate(uuid)) {
51
- throw TypeError('Stringified UUID is invalid');
52
- }
53
-
54
- return uuid;
55
- }
56
-
57
- function v4(options, buf, offset) {
58
- options = options || {};
59
- var rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
60
-
61
- rnds[6] = rnds[6] & 0x0f | 0x40;
62
- rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
63
-
64
- return stringify(rnds);
65
- }
66
-
67
- exports.v4 = v4;
@@ -1 +0,0 @@
1
- import{c as t,g as n}from"./_commonjsHelpers.js";var r,i,e=n(function(){if(i)return r;i=1;var n="Expected a function",e=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,f=/^0o[0-7]+$/i,c=parseInt,a="object"==typeof self&&self&&self.Object===Object&&self,s="object"==typeof t&&t&&t.Object===Object&&t||a||Function("return this")(),v=Object.prototype.toString,p=Math.max,m=Math.min,y=function(){return s.Date.now()};function l(t){var n=typeof t;return!!t&&("object"==n||"function"==n)}function b(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==v.call(t)}(t))return NaN;if(l(t)){var n="function"==typeof t.valueOf?t.valueOf():t;t=l(n)?n+"":n}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(e,"");var r=u.test(t);return r||f.test(t)?c(t.slice(2),r?2:8):o.test(t)?NaN:+t}return r=function(t,r,i){var e=!0,o=!0;if("function"!=typeof t)throw new TypeError(n);return l(i)&&(e="leading"in i?!!i.leading:e,o="trailing"in i?!!i.trailing:o),function(t,r,i){var e,o,u,f,c,a,s=0,v=!1,d=!1,j=!0;if("function"!=typeof t)throw new TypeError(n);function g(n){var r=e,i=o;return e=o=void 0,s=n,f=t.apply(i,r)}function T(t){var n=t-a;return void 0===a||n>=r||n<0||d&&t-s>=u}function h(){var t=y();if(T(t))return x(t);c=setTimeout(h,function(t){var n=r-(t-a);return d?m(n,u-(t-s)):n}(t))}function x(t){return c=void 0,j&&e?g(t):(e=o=void 0,f)}function w(){var t=y(),n=T(t);if(e=arguments,o=this,a=t,n){if(void 0===c)return function(t){return s=t,c=setTimeout(h,r),v?g(t):f}(a);if(d)return c=setTimeout(h,r),g(a)}return void 0===c&&(c=setTimeout(h,r)),f}return r=b(r)||0,l(i)&&(v=!!i.leading,u=(d="maxWait"in i)?p(b(i.maxWait)||0,r):u,j="trailing"in i?!!i.trailing:j),w.cancel=function(){void 0!==c&&clearTimeout(c),s=0,e=a=o=c=void 0},w.flush=function(){return void 0===c?f:x(y())},w}(t,r,{leading:e,maxWait:r,trailing:o})}}());export{e as t}
@@ -1 +0,0 @@
1
- var r,t=new Uint8Array(16);function o(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(t)}for(var n=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,e=[],i=0;i<256;++i)e.push((i+256).toString(16).substr(1));function f(r){var t=(r=r||{}).random||(r.rng||o)();return t[6]=15&t[6]|64,t[8]=63&t[8]|128,function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,o=(e[r[t+0]]+e[r[t+1]]+e[r[t+2]]+e[r[t+3]]+"-"+e[r[t+4]]+e[r[t+5]]+"-"+e[r[t+6]]+e[r[t+7]]+"-"+e[r[t+8]]+e[r[t+9]]+"-"+e[r[t+10]]+e[r[t+11]]+e[r[t+12]]+e[r[t+13]]+e[r[t+14]]+e[r[t+15]]).toLowerCase();if(!function(r){return"string"==typeof r&&n.test(r)}(o))throw TypeError("Stringified UUID is invalid");return o}(t)}export{f as v}
@@ -1 +0,0 @@
1
- import{proxyCustomElement as t,HTMLElement as a,h as r,Host as e,transformTag as i}from"@stencil/core/internal/client";import{d as s}from"./xpl-badge2.js";const l={active:"green",inactive:"gray",warning:"red"};function n(t){var a,r,e;if(!t||!t.trim())return"";const i=t.trim().split(/\s+/).filter(Boolean);if(0===i.length)return"";if(1===i.length)return i[0].slice(0,3).toUpperCase();const s=null!==(a=i[0][0])&&void 0!==a?a:"",l=null!==(r=i[i.length-1][0])&&void 0!==r?r:"";return(s+(i.length>2&&null!==(e=i[1][0])&&void 0!==e?e:"")+l).slice(0,3).toUpperCase()}const o=t(class t extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.cachedGroupItems=[],this.cachedSlotContent="",this.disabled=!1}onGroupDataChange(a){this.cachedGroupItems=t.parseGroupData(a)}componentWillLoad(){var t,a,r;this.cachedSlotContent=null!==(r=null===(a=null===(t=this.el)||void 0===t?void 0:t.textContent)||void 0===a?void 0:a.trim().slice(0,3))&&void 0!==r?r:"",this.onGroupDataChange(this.groupData)}static parseGroupData(t){if(null==t)return[];if("string"==typeof t)try{const a=JSON.parse(t);return Array.isArray(a)?a:[]}catch(t){return[]}return Array.isArray(t)?t:[]}get groupItems(){return this.cachedGroupItems}get statusBadgeVariant(){var t;const a=this.status;if(void 0!==a)return null!==(t=l[a])&&void 0!==t?t:a}getPlaceholderText(){return this.cachedSlotContent.length>0?this.cachedSlotContent:n(this.name)}static getSingleAvatarClasses(t,a,r,e){return{"xpl-avatar":!0,[`xpl-avatar--${t}`]:!!t,[`xpl-avatar--${a}`]:!!a,"xpl-avatar--profile":!!r,"xpl-avatar--disabled":!!e}}getAnchorProps(t){var a;return{href:this.href,target:this.target,rel:"_blank"===this.target?"noopener noreferrer":void 0,"aria-label":null!==(a=this.name)&&void 0!==a?a:"Profile",class:t}}static renderAvatarMedia(t,a,e,i,s=!0){return t?r("img",{alt:null!=a?a:"",src:t}):r("div",{class:"xpl-avatar__placeholder",role:"img","aria-label":null!=a?a:i},e||(s?r("slot",null):null))}renderAvatarMediaWithStatusBadge(a){const e=this.getPlaceholderText();return r("div",Object.assign({},a?{class:a}:{}),t.renderAvatarMedia(this.src,this.name,e,"Profile",!0),this.statusBadgeVariant&&r("xpl-badge",{dotOnly:!0,bordered:!0,variant:this.statusBadgeVariant,"aria-hidden":"true"}))}renderGroupItem(a,e){const i=a.name?n(a.name):"";return r("div",{class:{"xpl-avatar-group__item":!0,"xpl-avatar":!0,[`xpl-avatar--${this.size}`]:!!this.size,[`xpl-avatar--${a.color}`]:!!a.color}},r("div",null,t.renderAvatarMedia(a.src,a.name,i,`Member ${e+1}`,!1)))}renderWithTextContent(){return r("div",{class:"xpl-avatar__with-text-content"},r("div",{class:"xpl-avatar__with-text-name"},this.name),this.subText&&r("div",{class:"xpl-avatar__with-text-sub"},this.subText))}render(){const a=this.variant;if("group"===a){const t=this.groupItems,a=t.slice(0,4),i=t.length-4,s=i>0,l=s?function(t){if(t<=0)return"";if(t<=999)return`+${t}`;const a=500*Math.round(t/500)/1e3;return"+"+(a%1==0?`${a}k`:`${a.toFixed(1)}k`)}(i):"";return r(e,null,r("div",{class:{"xpl-avatar-group":!0,[`xpl-avatar-group--${this.size}`]:!!this.size},role:"group","aria-label":`${t.length} members`},a.map(((t,a)=>r("div",{key:a,class:"xpl-avatar-group__wrap"},this.renderGroupItem(t,a)))),s&&r("div",{class:{"xpl-avatar-group__count":!0,[`xpl-avatar-group__count--${this.size}`]:!!this.size},"aria-label":`${i} more`},l)))}if("with-text"===a){const t=this.renderAvatarMediaWithStatusBadge("xpl-avatar__with-text-avatar"),a={"xpl-avatar":!0,"xpl-avatar--with-text":!0,[`xpl-avatar--${this.color}`]:!!this.color,"xpl-avatar--disabled":!!this.disabled};return r(e,null,this.href&&!this.disabled?r("a",Object.assign({},this.getAnchorProps("xpl-avatar__with-text-link")),r("div",{class:a},t,this.renderWithTextContent())):r("div",{class:a,"aria-disabled":this.disabled?"true":void 0},t,this.renderWithTextContent()))}const i="profile"===a,s=t.getSingleAvatarClasses(i&&"md"===this.size?void 0:this.size,this.color,i,this.disabled),l=this.renderAvatarMediaWithStatusBadge();return r(e,null,this.href&&!this.disabled?r("a",Object.assign({},this.getAnchorProps(s)),l):r("div",{class:s,"aria-disabled":this.disabled?"true":void 0},l))}get el(){return this}static get watchers(){return{groupData:[{onGroupDataChange:0}]}}},[260,"xpl-avatar",{color:[1],disabled:[4],groupData:[1,"group-data"],href:[1],name:[1],size:[1],src:[1],status:[1],subText:[1,"sub-text"],target:[1],variant:[1],cachedGroupItems:[32],cachedSlotContent:[32]},void 0,{groupData:[{onGroupDataChange:0}]}]);function u(){"undefined"!=typeof customElements&&["xpl-avatar","xpl-badge"].forEach((t=>{switch(t){case"xpl-avatar":customElements.get(i(t))||customElements.define(i(t),o);break;case"xpl-badge":customElements.get(i(t))||s()}}))}export{o as A,u as d}
@@ -1 +0,0 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as r,Host as c,transformTag as s}from"@stencil/core/internal/client";const d=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.relative=!1}render(){return r(c,{key:"072fedf411c5d8671ec2d8a6ff639e5adf93e15c",class:{"xpl-backdrop":!0,"xpl-backdrop--fixed":!this.relative,"xpl-backdrop--relative":this.relative},"aria-hidden":"true"})}},[0,"xpl-backdrop",{relative:[4]}]);function o(){"undefined"!=typeof customElements&&["xpl-backdrop"].forEach((e=>{"xpl-backdrop"===e&&(customElements.get(s(e))||customElements.define(s(e),d))}))}export{d as B,o as d}
@@ -1 +0,0 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as s,Host as a,transformTag as d}from"@stencil/core/internal/client";const i={success:"green",warning:"yellow",inactive:"gray",error:"red"},l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.bordered=!1,this.dotOnly=!1,this.shape="rounded",this.size="default",this.variant="purple"}get resolvedVariant(){var e;return null!==(e=i[this.variant])&&void 0!==e?e:this.variant}render(){return s(a,{key:"f1a45af398443a5330afe856ac2442aa34cadf24"},s("div",{key:"fecb691b2b11414de0a03e119dd63332ade79a3c",class:{"xpl-badge--dot-only":this.dotOnly,"xpl-badge--dot-only-bordered":this.dotOnly&&this.bordered,"xpl-badge":!this.dotOnly,"xpl-badge--dot":!this.dotOnly&&!!this.dot,[`xpl-badge--${this.resolvedVariant}`]:!0,[`xpl-badge--size-${this.size}`]:!!this.size,[`xpl-badge--shape-${this.shape}`]:!this.dotOnly&&!!this.shape}},s("span",{key:"6c4169ea3d4f0f7cdaa03841ec72ac15f9e209f3",class:"xpl-badge__label"},s("slot",{key:"c7d96b70e9bcd161c279bf943c2cbc7248e2a53e"}))))}},[260,"xpl-badge",{bordered:[4],dot:[4],dotOnly:[4,"dot-only"],shape:[1],size:[1],variant:[1]}]);function r(){"undefined"!=typeof customElements&&["xpl-badge"].forEach((e=>{"xpl-badge"===e&&(customElements.get(d(e))||customElements.define(d(e),l))}))}export{l as B,r as d}
@@ -1 +0,0 @@
1
- import{proxyCustomElement as t,HTMLElement as i,h as s,Host as n,transformTag as o}from"@stencil/core/internal/client";import{d as l}from"./xpl-icon2.js";const e=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.disabled=!1,this.fullWidth=!1,this.icon="",this.iconOnly=!1,this.iconPosition="start",this.isLoading=!1,this.sentiment="neutral",this.size="default",this.variant="primary"}componentDidRender(){const t=this.el.attributes,i=Object.keys(t).filter((i=>{const s=t[i].name;return!!s&&(s.includes("data-test")||s.includes("aria-"))})).reduce(((i,s)=>Object.assign(Object.assign({},i),{[t[s].name]:t[s].value})),{}),s=this.el.querySelector("button");s&&Object.keys(i).forEach((t=>{s.setAttribute(t,i[t]),this.el.removeAttribute(t)}))}handleDisabledClick(t){this.disabled&&(t.preventDefault(),t.stopImmediatePropagation())}renderIcon(){return this.icon?s("xpl-icon",{icon:this.icon}):null}handleLoadingState(t){this.isLoading&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}render(){var t;return s(n,{key:"244b7802a9c0321d4ce2fca51b4e0c9b3ce5943d",class:{"xpl-button":!0,[`xpl-button--${this.size}`]:!0,[`xpl-button--${this.variant}`]:!0,[`xpl-button--${this.state?this.state:this.sentiment}`]:!0,[this.icon?`xpl-button__icon-position--${this.iconPosition}`:""]:!!this.icon,"xpl-button--full-width":this.fullWidth,"xpl-button--icon-only":this.iconOnly,"xpl-button--disabled":this.disabled,"xpl-button--loading":this.isLoading&&!this.link}},this.link?s("slot",null):s("button",Object.assign({},null!==(t=this.controlAttrs)&&void 0!==t?t:{},{disabled:this.disabled,onClick:t=>this.handleLoadingState(t),type:!this.isLoading||"submit"!==this.type&&"reset"!==this.type&&void 0!==this.type?this.type:"button",name:this.name,value:this.value,form:this.form,"aria-busy":this.isLoading?"true":void 0}),this.icon&&s("span",{class:"xpl-button__icon"},this.renderIcon()),s("slot",null),this.isLoading&&s("span",{class:"xpl-button__loading-overlay","aria-hidden":"true"},s("span",{class:"xpl-button__loading-spinner"},s("xpl-icon",{icon:"loader-4"})))))}get el(){return this}},[260,"xpl-button",{controlAttrs:[16],disabled:[4],form:[1],fullWidth:[4,"full-width"],icon:[1],iconOnly:[4,"icon-only"],iconPosition:[1,"icon-position"],isLoading:[4,"is-loading"],link:[4],name:[1],sentiment:[1],size:[1],state:[1],type:[1],value:[1],variant:[1]},[[2,"click","handleDisabledClick"]]]);function h(){"undefined"!=typeof customElements&&["xpl-button","xpl-icon"].forEach((t=>{switch(t){case"xpl-button":customElements.get(o(t))||customElements.define(o(t),e);break;case"xpl-icon":customElements.get(o(t))||l()}}))}export{e as B,h as d}
@@ -1 +0,0 @@
1
- import{proxyCustomElement as e,HTMLElement as s,createEvent as i,h as t,Host as c,transformTag as a}from"@stencil/core/internal/client";import{v as d}from"./v4.js";const l=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.checkboxChange=i(this,"checkboxChange",7),this.id=d(),this.ariaLabel="",this.onChange=e=>{this.checkboxChange.emit(e.target.checked)}}render(){var e;return t(c,{key:"dd508c61fc68052f2bbdfccd606ea8f0109783f3",class:{"xpl-checkbox-radio-container":!0,styled:this.styled,disabled:this.disabled}},t("input",{key:"c5b482a12c02cb4384444e3d385cccc17a8cbd3c",class:"xpl-checkbox",type:"checkbox","aria-label":(null!==(e=this.ariaLabel)&&void 0!==e?e:"").trim()||void 0,checked:this.checked,"data-id":this.dataId,disabled:this.disabled,id:this.id,indeterminate:this.indeterminate,onChange:this.onChange,name:this.name,required:this.required,value:this.value}),t("label",{key:"e5ae6eef395457ff6021b008bbb4221e7c36a3c9",class:{"xpl-label":!0,"xpl-label--disabled":this.disabled},htmlFor:this.id},t("slot",{key:"71ae02b761df01bea00b483e21a9b442b8fbdd9f"}),this.description&&t("small",{key:"f34f7e323cd9c39ce1094177e7a4d3cf4b06f788",class:{"xpl-description":!0,"xpl-description--disabled":this.disabled}},this.description)))}},[260,"xpl-checkbox",{ariaLabel:[1,"aria-label"],checked:[4],description:[1],disabled:[4],indeterminate:[4],name:[1],value:[1],required:[4],styled:[4],dataId:[1,"data-id"],id:[32]}]);function h(){"undefined"!=typeof customElements&&["xpl-checkbox"].forEach((e=>{"xpl-checkbox"===e&&(customElements.get(a(e))||customElements.define(a(e),l))}))}export{l as C,h as d}
@@ -1 +0,0 @@
1
- import{proxyCustomElement as e,HTMLElement as d,h as t,Host as s,transformTag as i}from"@stencil/core/internal/client";const r=e(class extends d{constructor(e){super(),!1!==e&&this.__registerHost()}render(){let e="xpl-divider";return e+=` xpl-divider--${this.tier}`,t(s,{key:"213dc1893d64e06256ef2958b59b8377428d81d4",class:e},t("span",{key:"2e03654076b9b76f2ce9e8475bb44068170c8a80"},t("slot",{key:"5af40b6963beddbd0d1fe5fd05a9e62274ce3418"})))}},[260,"xpl-divider",{tier:[2]}]);function n(){"undefined"!=typeof customElements&&["xpl-divider"].forEach((e=>{"xpl-divider"===e&&(customElements.get(i(e))||customElements.define(i(e),r))}))}export{r as D,n as d}
@@ -1 +0,0 @@
1
- import{proxyCustomElement as o,HTMLElement as e,h as p,Host as r,transformTag as n}from"@stencil/core/internal/client";import{d as t}from"./xpl-dropdown-heading2.js";import{d as c}from"./xpl-dropdown-option2.js";import{d as a}from"./xpl-icon2.js";const l=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost()}render(){const{groupName:o,options:e}=this,n=e&&e.length&&e.map((o=>{var{groupName:e}=o,r=function(o,e){var p={};for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&e.indexOf(r)<0&&(p[r]=o[r]);if(null!=o&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(r=Object.getOwnPropertySymbols(o);n<r.length;n++)e.indexOf(r[n])<0&&Object.prototype.propertyIsEnumerable.call(o,r[n])&&(p[r[n]]=o[r[n]])}return p}(o,["groupName"]);return e?p("xpl-dropdown-group",Object.assign({label:e},r)):p("xpl-dropdown-option",Object.assign({},r))}));return p(r,{key:"b872cfc0a8eb2e3542f07f6ae17ebc15b6f965ab",role:"group","aria-label":o},p("li",{key:"8e475e45b5040bd78c7d37f8c58b0689a508f067",class:"xpl-dropdown-list-item"},p("xpl-dropdown-heading",{key:"3b7b984646bdcc502aca2260a0b59494e0884f6c",label:o}),p("ul",{key:"c75e710ebe06a23aacca57f34ce286516c98a8c5",class:"xpl-dropdown-list"},n||p("slot",{key:"6b72762b22f316561f7614e4841018c019a60681",name:"options"}))))}},[260,"xpl-dropdown-group",{groupName:[1,"label"],options:[16]}]);function s(){"undefined"!=typeof customElements&&["xpl-dropdown-group","xpl-dropdown-group","xpl-dropdown-heading","xpl-dropdown-option","xpl-icon"].forEach((o=>{switch(o){case"xpl-dropdown-group":customElements.get(n(o))||customElements.define(n(o),l);break;case"xpl-dropdown-group":customElements.get(n(o))||s();break;case"xpl-dropdown-heading":customElements.get(n(o))||t();break;case"xpl-dropdown-option":customElements.get(n(o))||c();break;case"xpl-icon":customElements.get(n(o))||a()}}))}export{l as D,s as d}
@@ -1 +0,0 @@
1
- import{proxyCustomElement as e,HTMLElement as n,h as d,Host as o,transformTag as t}from"@stencil/core/internal/client";const s=e(class extends n{constructor(e){super(),!1!==e&&this.__registerHost()}render(){return d(o,{key:"70e5556188bd87fe5842256e4e145c3585f73409",class:{"xpl-dropdown-heading":!0},role:"presentation"},d("span",{key:"2d45f0191d9b158641da794ee1b9f246f9659717"},this.label||d("slot",{key:"21cc81673e6a37f4b7ff896d12bd94916c3a92e7",name:"heading"})))}},[260,"xpl-dropdown-heading",{label:[1]}]);function r(){"undefined"!=typeof customElements&&["xpl-dropdown-heading"].forEach((e=>{"xpl-dropdown-heading"===e&&(customElements.get(t(e))||customElements.define(t(e),s))}))}export{s as D,r as d}
@@ -1 +0,0 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as o,Host as s,transformTag as i}from"@stencil/core/internal/client";import{d as n}from"./xpl-icon2.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost()}componentWillLoad(){this.dropdown=this.hostElement.closest("xpl-dropdown")}handleClick(e){if(!this.dropdown)return;const{closeOnSelect:t,mode:o}=this.dropdown;e.x&&e.y&&(this.dropdown.handleSelect(e,{component:this}),"single"===o&&t&&(this.dropdown.isOpen=!1))}handleKeyup(e){if(!this.dropdown)return;const{dropdown:t}=this,{closeOnSelect:o,mode:s,selectOnFocus:i}=this.dropdown;if(i&&["ArrowDown","ArrowLeft","ArrowRight","ArrowUp","Tab"].includes(e.key)){const i=document.activeElement.closest("xpl-dropdown-option");return t.handleSelect(e,{component:{hostElement:i}}),void("single"===s&&o&&(this.dropdown.isOpen=!1))}["Escape","Enter"].includes(e.key)&&(t.handleSelect(e,{component:this}),("Escape"===e.key||this.dropdown.closeOnSelect&&"Enter"===e.key)&&(this.dropdown.isOpen=!1))}connectedCallback(){this.hostElement.addEventListener("click",this.handleClick.bind(this)),this.hostElement.addEventListener("keyup",this.handleKeyup.bind(this))}disconnectedCallback(){this.hostElement.removeEventListener("click",this.handleClick),this.hostElement.removeEventListener("keyup",this.handleKeyup)}render(){const{label:e,isSelected:t,isDisabled:i,value:n,subtitle:c,icon:l}=this;return o(s,{key:"838f64dba15bc8d6c2f65a8685365c5618c24d5f",class:{"xpl-dropdown-option":!0,"xpl-dropdown-option--disabled":i,"xpl-dropdown-option--selected":t},role:"option","aria-checked":t,"aria-disabled":i,"aria-selected":t,value:n},o("li",{key:"bc4b23054cd73a95ff5cf167c4195563a9e318ec",class:"xpl-dropdown-list-item"},l&&o("xpl-icon",{key:"797d92d1d80cb8c33500d8dfe8b1bf9396c767ca",class:"xpl-dropdown-list-item__icon",icon:l,size:20}),e||o("slot",{key:"7a590a3abae38e7934f703929895be152b01816d",name:"option"}),c&&o("span",{key:"465fb73335df17864cd21e067f26cdba85d8135c",class:"xpl-dropdown-list-item__subtitle"},c)))}get hostElement(){return this}},[260,"xpl-dropdown-option",{isDisabled:[516,"disabled"],label:[1],value:[1],subtitle:[1],icon:[1],isSelected:[4,"selected"]}]);function l(){"undefined"!=typeof customElements&&["xpl-dropdown-option","xpl-icon"].forEach((e=>{switch(e){case"xpl-dropdown-option":customElements.get(i(e))||customElements.define(i(e),c);break;case"xpl-icon":customElements.get(i(e))||n()}}))}export{c as D,l as d}
@@ -1 +0,0 @@
1
- import{proxyCustomElement as t,HTMLElement as e,createEvent as o,h as s,Host as n,transformTag as i}from"@stencil/core/internal/client";import{c as a,a as l,o as d,f as r,b as h,h as p}from"./floating-ui.dom.js";import{d as c}from"./xpl-dropdown-group2.js";import{d as g}from"./xpl-dropdown-heading2.js";import{d as m}from"./xpl-dropdown-option2.js";import{d as u}from"./xpl-icon2.js";const f=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.isOpenChange=o(this,"isOpenChange",7),this.isOpen=!1,this.closeOnSelect=!0,this.mode="single",this.anchorToTrigger=!1,this.placement="bottom-start",this.selectOnFocus=!1,this.cleanupAutoUpdate=null,this.updateDropdownPosition=async t=>{var o,s;const{x:n,y:i,placement:l,middlewareData:c}=await a(t,this.hostElement,{strategy:"fixed",placement:this.placement,middleware:[d(4),r((null===(o=this.flipFallbackPlacements)||void 0===o?void 0:o.length)?{fallbackPlacements:this.flipFallbackPlacements}:{}),h({apply:({availableHeight:t,rects:o})=>{const s=this.hostElement.querySelector(".xpl-dropdown-list");let n=0;if(s){const t=Array.from(this.hostElement.children),o=t.indexOf(s);t.slice(0,o).forEach((t=>{t instanceof e&&(n+=t.offsetHeight)}))}const i=getComputedStyle(this.hostElement),a=parseFloat(i.paddingTop)+parseFloat(i.paddingBottom)+parseFloat(i.borderTopWidth)+parseFloat(i.borderBottomWidth),l=s?parseFloat(getComputedStyle(s).getPropertyValue("--xpl-dropdown-list-max-height")):1/0,d=Math.min(l,Math.max(0,t-n-a));Object.assign(this.hostElement.style,{width:`${o.reference.width}px`}),s&&(s.style.maxHeight=`${d}px`)}}),p()]});if(!this.cleanupAutoUpdate)return;if(null===(s=c.hide)||void 0===s?void 0:s.referenceHidden)return void(this.isOpen=!1);const g=l.startsWith("top");Object.assign(this.hostElement.style,{left:`${n}px`,top:`${i}px`}),this.hostElement.classList.toggle("xpl-dropdown--above",g),this.hostElement.classList.toggle("xpl-dropdown--below",!g)},this.handleClickOutside=({target:t})=>{const{triggerId:e}=this,o=e?document.getElementById(e):null,s=null==o?void 0:o.contains(t);this.hostElement.contains(t)||s||!this.isOpen||(this.isOpen=!1)},this.handleKeyDown=t=>{"Escape"===t.key&&this.isOpen&&(this.isOpen=!1)}}onAnchorToTriggerChanged(){this.isOpen&&this.startPositioning()}onFlipFallbackPlacementsChanged(){this.isOpen&&this.anchorToTrigger&&this.startPositioning()}onPlacementChanged(){this.isOpen&&this.anchorToTrigger&&this.startPositioning()}onTriggerIdChanged(){this.isOpen&&this.startPositioning()}onSelectedValuesChanged(t,e=!1){if(this.options&&this.options.length>0){this.options.reduce(((t,e)=>[...t,...e.groupName?e.options:[e]]),[]).forEach((e=>{const o=e.value||e.label;if("single"===this.mode)e.isSelected=o===t;else{const s=Array.isArray(t)?t:[];e.isSelected=s.includes(o)}}));const o=t=>(t.options=t.groupName?t.options.map(o):void 0,t);this.options=this.options.map(o),this.update&&!e&&this.update(null,{component:this})}}onIsOpenStateChange(t){this.isOpenChange.emit(t),t?this.startPositioning():this.stopPositioning()}connectedCallback(){document.addEventListener("mousedown",this.handleClickOutside),document.addEventListener("keydown",this.handleKeyDown)}disconnectedCallback(){document.removeEventListener("mousedown",this.handleClickOutside),document.removeEventListener("keydown",this.handleKeyDown),this.stopPositioning()}componentWillLoad(){this.handleSelect=this.handleSelect.bind(this),this.selectedValues&&this.onSelectedValuesChanged(this.selectedValues,!0)}componentDidLoad(){this.isOpen&&this.startPositioning()}async handleSelect(t,{component:e}){const{hostElement:o,mode:s,options:n,update:i}=this,a="single"===s,l="multi"===s;if(n){n.reduce(((t,e)=>[...t,...e.groupName?e.options:[e]]),[]).forEach((t=>{const o=(t.value||t.label)===(e.hostElement.value||e.hostElement.label);a?(t.isSelected=o,e.hostElement.isSelected=!0):l&&o&&(t.isSelected=!t.isSelected,e.hostElement.isSelected=t.isSelected)}));const t=e=>(e.options=e.groupName?e.options.map(t):void 0,e);this.options=n.map(t)}else a?Array.from(o.querySelectorAll("xpl-dropdown-option")).forEach((t=>{t.isSelected=t===e.hostElement})):l&&(e.isSelected=!e.isSelected);i&&i(t,{component:this})}startPositioning(){if(!this.anchorToTrigger||!this.triggerId)return;const t=document.getElementById(this.triggerId);t&&(this.stopPositioning(),this.cleanupAutoUpdate=l(t,this.hostElement,(()=>{this.updateDropdownPosition(t)})))}stopPositioning(){var t;this.cleanupAutoUpdate&&(this.cleanupAutoUpdate(),this.cleanupAutoUpdate=null),this.hostElement.style.left="",this.hostElement.style.top="",this.hostElement.style.width="",null===(t=this.hostElement.querySelector(".xpl-dropdown-list"))||void 0===t||t.style.removeProperty("max-height"),this.hostElement.classList.remove("xpl-dropdown--above","xpl-dropdown--below")}render(){const{isOpen:t}=this,{mode:e,options:o}=this,i=o&&o.length&&o.map((t=>{var{groupName:e,options:o,subtitle:n}=t,i=function(t,e){var o={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(o[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(s=Object.getOwnPropertySymbols(t);n<s.length;n++)e.indexOf(s[n])<0&&Object.prototype.propertyIsEnumerable.call(t,s[n])&&(o[s[n]]=t[s[n]])}return o}(t,["groupName","options","subtitle"]);return e?s("xpl-dropdown-group",Object.assign({groupName:e,options:o},i)):s("xpl-dropdown-option",Object.assign({subtitle:n},i))}));return s(n,{key:"1ef465611f9a8501af41c17523352714a7921f29","aria-expanded":t?"true":"false",class:{"xpl-dropdown":!0,"xpl-dropdown--multi":"multi"===e,"xpl-dropdown--open":t,"xpl-dropdown--anchor-to-trigger":this.anchorToTrigger},role:"listbox"},s("slot",{key:"118c8b34e72aa6ab018e6fa9ff29a18ae540b89e",name:"header"}),s("ul",{key:"01544e6aa8d785c48b4f677de102efe4ecc7b53a",class:"xpl-dropdown-list"},i||s("slot",{key:"f70619995bed02540cef11deaeb6c3e5704165ff",name:"options"})))}get hostElement(){return this}static get watchers(){return{anchorToTrigger:[{onAnchorToTriggerChanged:0}],flipFallbackPlacements:[{onFlipFallbackPlacementsChanged:0}],placement:[{onPlacementChanged:0}],triggerId:[{onTriggerIdChanged:0}],selectedValues:[{onSelectedValuesChanged:0}],isOpen:[{onIsOpenStateChange:0}]}}},[260,"xpl-dropdown",{isOpen:[1540,"open"],closeOnSelect:[4,"close-on-select"],mode:[1],options:[1040],anchorToTrigger:[4,"anchor-to-trigger"],flipFallbackPlacements:[16],placement:[1],selectedValues:[1,"selected-values"],selectOnFocus:[4,"select-on-focus"],triggerId:[1,"trigger-id"],update:[16],handleSelect:[64]},void 0,{anchorToTrigger:[{onAnchorToTriggerChanged:0}],flipFallbackPlacements:[{onFlipFallbackPlacementsChanged:0}],placement:[{onPlacementChanged:0}],triggerId:[{onTriggerIdChanged:0}],selectedValues:[{onSelectedValuesChanged:0}],isOpen:[{onIsOpenStateChange:0}]}]);function x(){"undefined"!=typeof customElements&&["xpl-dropdown","xpl-dropdown-group","xpl-dropdown-heading","xpl-dropdown-option","xpl-icon"].forEach((t=>{switch(t){case"xpl-dropdown":customElements.get(i(t))||customElements.define(i(t),f);break;case"xpl-dropdown-group":customElements.get(i(t))||c();break;case"xpl-dropdown-heading":customElements.get(i(t))||g();break;case"xpl-dropdown-option":customElements.get(i(t))||m();break;case"xpl-icon":customElements.get(i(t))||u()}}))}export{f as D,x as d}