@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
@@ -0,0 +1 @@
1
+ import{p as t,H as e,d as i,h as s,c as a,t as r}from"./p-BT_Lq3Vd.js";import{f as n}from"./p-CH4yJ6Qx.js";import{d as o}from"./p-B1PBAEzg.js";function h(t){let e=t.parentElement;for(;e&&e!==document.body&&e!==document.documentElement;){const t=getComputedStyle(e);if(/auto|scroll/.test(t.overflow+t.overflowX+t.overflowY))return e;e=e.parentElement}}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>`,d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.valueChange=i(this,"valueChange",7),this.hasErrorStateChanged=i(this,"hasErrorStateChanged",7),this.rangeSelected=i(this,"rangeSelected",7),this.dateFormat="Y-m-d",this.mode="single",this.flatpickrStaticLayout=!1,this.valueChanged=t=>{this.valueChange.emit(t.target.value)}}onHasErrorStateChanged(t){this.hasErrorStateChanged.emit(t)}onValueChanged(t){var e;null===(e=this.flatpickrInstance)||void 0===e||e.setDate(t)}connectedCallback(){queueMicrotask((()=>this.ensureFlatpickr()))}disconnectedCallback(){var t;null===(t=this.flatpickrInstance)||void 0===t||t.destroy(),this.flatpickrInstance=void 0,this.flatpickrStaticLayout=!1,this.unwrapStaleFlatpickrWrapper()}componentDidRender(){this.ensureFlatpickr()}ensureFlatpickr(){!this.flatpickrInstance&&this.input&&this.el.isConnected&&(this.unwrapStaleFlatpickrWrapper(),this.initFlatpickr())}initFlatpickr(){const t=function(t){let e=t.parentElement;for(;e&&e!==document.body&&e!==document.documentElement;){if("fixed"===getComputedStyle(e).position)return!0;e=e.parentElement}return!1}(this.el);this.flatpickrInstance=n(this.input,Object.assign(Object.assign({allowInput:!0},t?{static:!0}:{appendTo:h(this.el)}),{dateFormat:this.dateFormat,defaultDate:this.value,maxDate:this.max,minDate:this.min,mode:this.mode,nextArrow:l(),prevArrow:l(!0),onClose:t=>{if(this.hasErrorState=t.length<(this.required?"single"===this.mode?1:2:0)?"required":null,2===t.length){const[e,i]=t;this.rangeSelected.emit({start:e,end:i})}}})),queueMicrotask((()=>{this.flatpickrStaticLayout!==t&&(this.flatpickrStaticLayout=t)}))}unwrapStaleFlatpickrWrapper(){const{input:t}=this,e=null==t?void 0:t.parentElement;if(!(null==e?void 0:e.classList.contains("flatpickr-wrapper")))return;const i=e.parentElement;if(i){for(;e.firstChild;)i.insertBefore(e.firstChild,e);i.removeChild(e)}}render(){return s(a,{key:"c2707549e3285693ce4c7e0449e047be90640504",class:{"xpl-input-date":!0,[`xpl-input-date--mode-${this.mode}`]:!0,"xpl-input-date--error":!!this.hasErrorState,"xpl-input-date--flatpickr-static":this.flatpickrStaticLayout}},s("div",{key:"e6ac05a6d58d92570331489b8a317d17c0726873",class:"xpl-input-wrapper"},this.pre&&s("label",{key:"ef746e91506c2bd2c2bc9986bfbb7f0b82a0f079",class:"xpl-input-pre",htmlFor:this.inputId},this.pre),s("input",{key:"125e566456a2de4d75fe38fee50a78de886b8009",type:"date",id:this.inputId,disabled:this.disabled,name:this.name,required:this.required,readonly:this.readonly,placeholder:this.placeholder,max:this.max,min:this.min,ref:t=>{this.input=t},onChange:t=>{this.valueChanged(t)}}),s("xpl-icon",{key:"34c346be1a3c66d4e5eab1882426ef0691c8b6cd",class:"xpl-input-calendar",icon:"calendar",size:24}),this.post&&s("label",{key:"1d2ab5b80daad9964e364a069f548d5250067f84",class:"xpl-input-post",htmlFor:this.inputId},this.post)))}get el(){return this}static get watchers(){return{hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValueChanged:0}]}}},[0,"xpl-input-date",{inputId:[1,"input-id"],disabled:[4],name:[1],required:[4],readonly:[4],value:[1],placeholder:[1],post:[1],pre:[1],max:[8],min:[8],dateFormat:[1,"date-format"],mode:[1],flatpickrStaticLayout:[32],hasErrorState:[32]},void 0,{hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValueChanged:0}]}]);function c(){"undefined"!=typeof customElements&&["xpl-input-date","xpl-icon"].forEach((t=>{switch(t){case"xpl-input-date":customElements.get(r(t))||customElements.define(r(t),d);break;case"xpl-icon":customElements.get(r(t))||o()}}))}export{d as I,c as d}
@@ -1 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as c,h as n,Host as o,transformTag as t}from"@stencil/core/internal/client";import{d as a}from"./xpl-icon2.js";const i=e(class extends c{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 n(o,{key:"bd94adc64eebb9b2b37b899700457a88fa00bdf0",class:"xpl-accordion "+{none:"",bordered:"xpl-accordion--border-bordered"+(this.expanded?"--expanded":""),bottom:"xpl-accordion--border-bottom"+(this.expanded?"--expanded":"")}[this.borderType]},n("button",{key:"3801db3bfa5c3a8c6ac0c21c20f60a1519ca4168","aria-expanded":this.expanded,"aria-controls":this.contentId,class:"xpl-accordion-toggle-area",onClick:this.toggleAccordion,type:"button"},n("header",{key:"80cdadc37c28fea139f8ec21c770760bf3e25050",class:"xpl-accordion-header xpl-accordion-header--size-"+this.size},n("slot",{key:"28341a76482e2ddb2b8c1f277e48816a6f8d83d4",name:"heading"},this.header),n("xpl-icon",{key:"9b0cde7d7927677dcd545783accace4a9cdcce03",size:16,icon:"chevron-down",class:"xpl-accordion-icon-chevron "+(this.expanded?"xpl-accordion-icon-chevron--rotate":"")})),n("div",{key:"1d2be2ffce23d2cfc017da95634d046dc66e5121",class:"xpl-accordion-description"},n("slot",{key:"e993274ea2f6963290a2015b3849bda8ee7f1f3d",name:"description"},this.description))),n("section",{key:"6054b44f3b027feca7567f1bf13b06e78a78fe1a",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]:""}`},n("slot",{key:"53e22f8fcd1c3ebb2354bbc3d01e30ec5cfa804c",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(t(e))||customElements.define(t(e),i);break;case"xpl-icon":customElements.get(t(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-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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as a,h as t,Host as l,transformTag as i}from"@stencil/core/internal/client";import{d as s}from"./xpl-backdrop2.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:"f61e8399f5a5e935354c817ee0d1386afcddce28",class:e},t("div",{key:"4886a782d1511d3aac9df0a90afc38351b94d4fd",class:a},t("slot",{key:"d80279f234d498eb51491bd1d6850d7babfd6ece",name:"nav"})),t("div",{key:"dd26f273261026555a3f73885fd04ffdbbf871cb",class:"xpl-application-shell__subnav"},t("slot",{key:"3b120224a8d1cb30503514befeb96e3a08fc22ba",name:"subnav"})),t("div",{key:"7ac6b8f10b2dca85e774e1117f9117952a3052cf",class:"xpl-application-shell__utility"},t("slot",{key:"d9d4b15e7c3e7bec0edc237df3634c8fd2648df4",name:"utility"})),t("div",{key:"00ee0b5da796ea84731e740a58b162dad8250696",class:"xpl-application-shell__content"},t("slot",{key:"bf997f59491a08597089a0531cfecf90c703f565",name:"content"})),t("xpl-backdrop",{key:"84264e5a5da96be74547610e5b8d45195014d34c",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-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 +1 @@
1
- import{A as a,d as o}from"./xpl-avatar2.js";const r=a,s=o;export{r as XplAvatar,s as defineCustomElement}
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 +1 @@
1
- import{B as o,d as p}from"./xpl-backdrop2.js";const r=o,s=p;export{r as XplBackdrop,s as defineCustomElement}
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 +1 @@
1
- import{B as o,d as s}from"./xpl-badge2.js";const a=o,p=s;export{a as XplBadge,p as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as i,createEvent as t,h as n,Host as s,transformTag as a}from"@stencil/core/internal/client";import{d as c}from"./xpl-button2.js";import{d as r}from"./xpl-icon2.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(),b=this.getActionButtonState(),l=!!(null===(t=this.heading)||void 0===t?void 0:t.trim()),d=!!(null===(a=this.description)||void 0===a?void 0:a.trim());return n(s,{key:"373b38c40719c248968ed93381309584f24697a9",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)&&n("div",{key:"b12f8facbdad390e2069374163048099a33aa309",class:"xpl-banner__icon","aria-hidden":"true"},n("xpl-icon",{key:"35ee47db756bc0f6b6cd0a2b0cd890a4ec10ff7c",icon:this.getIcon(),size:24})),n("div",{key:"8aaca62cbd7b3cf353bfb35fc2f679932f2b0ade",class:"xpl-banner__body"},l&&n("p",{key:"fded85ef43b5186704195312621a33b7b823d19d",class:"xpl-banner__heading"},this.heading),d&&n("p",{key:"1b7386b32891789f8cc425da922f7c3ee60fe5a6",class:"xpl-banner__description",title:this.truncateDesc?this.description:void 0},this.description)),(c||r)&&n("div",{key:"0b4b8e89db7cc6c4a55e207cf0be1b36956fe243",class:"xpl-banner__actions"},c&&n("xpl-button",{key:"c15e5cb0ff332f2ca809dcf912fc7a4c68d47538",size:"xs",variant:o,state:b,onClick:()=>this.action.emit()},this.actionText),r&&n("xpl-button",{key:"6f20f721df8eb994ef9935d2c6f634b3460d9d77",size:"xs",variant:o,state:b,onClick:()=>this.secondaryAction.emit()},this.secondaryActionText)),this.isDismissible&&n("button",{key:"2fab1fec767aaed2bb36ee2b40bcf84a48ad6ead",class:"xpl-banner__dismiss",type:"button","aria-label":`Dismiss ${this.isSection?"section ":""}banner`,onClick:()=>this.dismiss.emit()},n("xpl-icon",{key:"7747d3e4aae5426d0e3344fb7aab92a4f003cf4e",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=o,l=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{b as XplBanner,l 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 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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as c,Host as r,transformTag as a}from"@stencil/core/internal/client";const n=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 c(r,{key:"98314b8841ba9d900dbba227363865efb26faf4c",class:"xpl-breadcrumb-item",role:"listitem"},c("li",{key:"26bf86067dc2348b6ca96243bd1f9513ca187a00",role:"none"},c("slot",{key:"802b606cce1052ea7fb859260627d6c6801ed78f"})),c("span",{key:"22de35338bf4439a23f8c08a7ea46d1d4f2b68e8",innerHTML:this.chevron}))}},[260,"xpl-breadcrumb-item"]),s=n,i=function(){"undefined"!=typeof customElements&&["xpl-breadcrumb-item"].forEach((e=>{"xpl-breadcrumb-item"===e&&(customElements.get(a(e))||customElements.define(a(e),n))}))};export{s as XplBreadcrumbItem,i as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as a,h as r,Host as s,transformTag as t}from"@stencil/core/internal/client";const c=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost()}render(){return r(s,{key:"36533f6524e01aed62e293ebe93d8eea34b6b59a"},r("nav",{key:"6a5562e639044f9d9d12a6365df69c5181f5bbba",class:"xpl-breadcrumbs","aria-label":"Breadcrumb"},r("ol",{key:"99463e4808425aa8478a5e8fa2a113831eae1ecf",role:"list"},r("slot",{key:"f4d20df3a834f100663786d47881f742c9691969"}))))}},[260,"xpl-breadcrumbs"]),l=c,d=function(){"undefined"!=typeof customElements&&["xpl-breadcrumbs"].forEach((e=>{"xpl-breadcrumbs"===e&&(customElements.get(t(e))||customElements.define(t(e),c))}))};export{l as XplBreadcrumbs,d as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as e,createEvent as s,h as i,Host as o,transformTag as c}from"@stencil/core/internal/client";import{d as n}from"./xpl-button2.js";import{d as a}from"./xpl-icon2.js";const b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),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(o,{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))))}},[0,"xpl-button-row",{primary:[1],secondary:[1],tertiary:[1]}]),r=b,l=function(){"undefined"!=typeof customElements&&["xpl-button-row","xpl-button","xpl-icon"].forEach((t=>{switch(t){case"xpl-button-row":customElements.get(c(t))||customElements.define(c(t),b);break;case"xpl-button":customElements.get(c(t))||n();break;case"xpl-icon":customElements.get(c(t))||a()}}))};export{r as XplButtonRow,l as defineCustomElement}
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 +1 @@
1
- import{B as o,d as t}from"./xpl-button2.js";const s=o,p=t;export{s as XplButton,p as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as e,createEvent as i,h as s,Host as n,transformTag as a}from"@stencil/core/internal/client";import{f as d}from"./index2.js";import{v as o}from"./v4.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=i(this,"dateSelected",7),this.inputId=o(),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=d(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 s(n,{key:"56cd65b62892b0c3e939f6cd77e9ba507baf4a68",class:"xpl-calendar"},s("input",{key:"296222d3b6c0bf3e7c400d4d8c40d7d48774ea57",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(a(t))||customElements.define(a(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:"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 +1 @@
1
- import{C as o,d as s}from"./xpl-checkbox2.js";const c=o,p=s;export{c as XplCheckbox,p as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as s,createEvent as i,h as t,Host as c,transformTag as h}from"@stencil/core/internal/client";import{d as l}from"./xpl-checkbox2.js";import{d as o}from"./xpl-radio2.js";import{v as n}from"./v4.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:"d2da0f5aeb424a36fb117711f34c0631c464ef6a",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:"a40e08f0fd60a5268ed9f4d15a97b3fa677e2e46",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-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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as c,Host as a,transformTag as n}from"@stencil/core/internal/client";const r=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.size="wide"}render(){return c(a,{key:"2fe4c1c077c12e47600c737cc9266ae2eff8aaec"},c("main",{key:"2e6c6f4b83cea96d629bb5af65c4ce6a4d20570e",class:"xpl-content-area-wrapper xpl-content-area-wrapper__"+this.size},c("div",{key:"033e707fbc48ae523fafb25dd2952d3de9214908",class:"xpl-content-area"},c("slot",{key:"04afc15969c2b1fb7e2feb3d8ae46248ee0f6e31"}))))}},[260,"xpl-content-area",{size:[1]}]),s=r,o=function(){"undefined"!=typeof customElements&&["xpl-content-area"].forEach((e=>{"xpl-content-area"===e&&(customElements.get(n(e))||customElements.define(n(e),r))}))};export{s as XplContentArea,o as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as c,h as d,Host as s,transformTag as a}from"@stencil/core/internal/client";const t=e(class extends c{constructor(e){super(),!1!==e&&this.__registerHost()}render(){return d(s,{key:"ceeb8b27d9537c70e88360de21238c9ce2a3f90b"},d("dl",{key:"3c4fcb92f472f14885053a1cb1db893618a6d8a8",class:"xpl-dashboard"},d("slot",{key:"fe4fa8fdec2ce84bdedc7aa404ab647abd189d11"})))}},[260,"xpl-dashboard"]),o=t,n=function(){"undefined"!=typeof customElements&&["xpl-dashboard"].forEach((e=>{"xpl-dashboard"===e&&(customElements.get(a(e))||customElements.define(a(e),t))}))};export{o as XplDashboard,n as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as a,h as s,Host as e,transformTag as d}from"@stencil/core/internal/client";import{d as c}from"./xpl-icon2.js";import{d as i}from"./xpl-tooltip2.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}"]`),d="positive"===this.smallStatVariant?"arrow-up-right":"negative"===this.smallStatVariant?"arrow-down-right":"dash";return s(e,{key:"917b6ae82a30b849b100e878dc6be08eb4171214",role:"group",class:"xpl-data-card "+(this.link?"xpl-data-card__link":""),tabindex:"0"},s("dt",{key:"21573d19d14f861eea6562529f78e93affc1e5d2",class:"xpl-data-card__header xpl-data-card__header--"+("secondary"===this.variant?"secondary":"primary")},s("header",{key:"1af52bd082f4d12239db85e78eaf74ed2eb7e027"},!!this.leadingIcon&&this.icon&&s("span",{key:"dfdcc25ae67fdc766ee3075a479fbfeeac2561ab",class:"xpl-data-card__icon--"+this.variant},s("xpl-icon",{key:"4072018714c05bd5bae20bfb9e5b6a04561474da",icon:this.icon,"background-color":"secondary"===this.variant?"purple":"orange",size:20})),s("slot",{key:"f81204887ad6c229cb50e8d3ff654c1aa4703368",name:"title"},this.name)),this.link&&s("span",{key:"6d8d61f8611fdbc5cd09fc20ba15194e0e1e7b56",class:"xpl-data-card__header-arrow"},s("xpl-icon",{key:"863e66734bbbd6aa178f140b22f8afb3dd401127",icon:"chevron-right",size:16}))),s("dd",{key:"08a5e4af6873c267336f7daff6d3455e75a2883e",class:"xpl-data-card__body"},s("div",{key:"ec8ff889fb93d99e7ef51361e041edbaaaf5cd62",class:"xpl-data-card__left"},s("span",{key:"4787e6aadc3832830fe707ffc08e5614a7abde7b",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:d,size:16}),this.smallStat)):s("div",{class:"xpl-data-card-stat xpl-data-card-stat--small "+this.smallStatVariant},s("xpl-icon",{icon:d,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:"2060dba53f12917e37747a6bc52c7f03fe4dadc7",class:"xpl-data-card__detail"},this.detail)),a&&s("div",{key:"7a091cce8bc0abae2af7b15d6d1a63acd16854c5",class:"xpl-data-card__right"},s("slot",{key:"d83790136435a0d5427fd746d2cba5a08cf914eb",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(d(t))||customElements.define(d(t),l);break;case"xpl-icon":customElements.get(d(t))||c();break;case"xpl-tooltip":customElements.get(d(t))||i()}}))};export{o as XplDataCard,r as defineCustomElement}
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 +1 @@
1
- import{D as o,d as r}from"./xpl-divider2.js";const s=o,d=r;export{s as XplDivider,d as defineCustomElement}
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 +1 @@
1
- import{D as o,d as p}from"./xpl-dropdown-group2.js";const r=o,s=p;export{r as XplDropdownGroup,s as defineCustomElement}
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 +1 @@
1
- import{D as o,d}from"./xpl-dropdown-heading2.js";const p=o,r=d;export{p as XplDropdownHeading,r as defineCustomElement}
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 +1 @@
1
- import{D as o,d as p}from"./xpl-dropdown-option2.js";const r=o,s=p;export{r as XplDropdownOption,s as defineCustomElement}
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 +1 @@
1
- import{D as o,d as p}from"./xpl-dropdown2.js";const r=o,s=p;export{r as XplDropdown,s as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as l,Host as c,transformTag as n}from"@stencil/core/internal/client";const s=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 l(c,{key:"7cfa2d58f634e41ccf1604a581fcc83a2b51676f",role:"gridcell","aria-colindex":e,class:"xpl-dynamic-table-cell",ref:e=>{this.hostElement=e}},l("slot",{key:"c6a04082cb8aa1089d9f6cb82f3db8d7f0addf6e"}))}get el(){return this}},[260,"xpl-dynamic-table-cell",{disabled:[4]}]),i=s,a=function(){"undefined"!=typeof customElements&&["xpl-dynamic-table-cell"].forEach((e=>{"xpl-dynamic-table-cell"===e&&(customElements.get(n(e))||customElements.define(n(e),s))}))};export{i as XplDynamicTableCell,a as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as s,Host as i,transformTag as l}from"@stencil/core/internal/client";const d=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(i,{key:"0d099456d2016263a2bdcd42b46794e08adb64cf",role:"row",class:`xpl-dynamic-table-row\n ${this.isDisabled?"disabled":""}\n ${this.selected?"selected":""}`,ref:e=>{this.hostElement=e}},s("slot",{key:"c923f7f8dc4bb8a4527693259d1a8b5932bb6c10"}))}},[260,"xpl-dynamic-table-row",{disabled:[4],selected:[4],isDisabled:[32]}]),n=d,c=function(){"undefined"!=typeof customElements&&["xpl-dynamic-table-row"].forEach((e=>{"xpl-dynamic-table-row"===e&&(customElements.get(l(e))||customElements.define(l(e),d))}))};export{n as XplDynamicTableRow,c as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,createEvent as n,h as l,transformTag as c}from"@stencil/core/internal/client";const s=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 l("div",{key:"8f33da5fa8815400447b1690172bdaddd1079c1a",role:"grid",class:"xpl-dynamic-table","aria-colcount":this.colCount},l("slot",{key:"221aced83acf1fc4c904533eaedb1cd79914c5d3",name:"header"}),l("slot",{key:"6087119ce1499e94a30d09a1917d9371331f6add",name:"body"}))}get el(){return this}},[260,"xpl-dynamic-table",{selectedItemCount:[32],colCount:[32]},[[8,"deselectAll","listenToDeselectEvent"],[8,"checkboxChange","listenToChangeEvent"]]]),a=s,d=function(){"undefined"!=typeof customElements&&["xpl-dynamic-table"].forEach((e=>{"xpl-dynamic-table"===e&&(customElements.get(c(e))||customElements.define(c(e),s))}))};export{a as XplDynamicTable,d as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as i,Host as s,transformTag as d}from"@stencil/core/internal/client";const l=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.xs=6,this.sm=6,this.md=6,this.lg=6}render(){let e="xpl-grid-item";return e+=" xpl-grid-item-xs-"+this.xs,e+=" xpl-grid-item-sm-"+this.sm,e+=" xpl-grid-item-md-"+this.md,e+=" xpl-grid-item-lg-"+this.lg,i(s,{key:"43cf6dd21d3d06e2d8012b716e5db5aeee676aac",class:e},i("slot",{key:"e08e03e4152007df7158d7122f883da1050dfde7"}))}},[260,"xpl-grid-item",{xs:[2],sm:[2],md:[2],lg:[2]}]),m=l,r=function(){"undefined"!=typeof customElements&&["xpl-grid-item"].forEach((e=>{"xpl-grid-item"===e&&(customElements.get(d(e))||customElements.define(d(e),l))}))};export{m as XplGridItem,r as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as e,h as s,Host as r,transformTag as i}from"@stencil/core/internal/client";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(r,{key:"aeee950fb242a14f50ceda1d199cf427597b70f6",class:"xpl-grid"})}get container(){return this}},[0,"xpl-grid"]),n=l,d=function(){"undefined"!=typeof customElements&&["xpl-grid"].forEach((t=>{"xpl-grid"===t&&(customElements.get(i(t))||customElements.define(i(t),l))}))};export{n as XplGrid,d as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as c,Host as i,transformTag as o}from"@stencil/core/internal/client";import{d as a}from"./xpl-checkbox2.js";import{d as s}from"./xpl-icon2.js";const n=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"),c=t[t.length-1],i=null==c?void 0:c.querySelectorAll("xpl-dynamic-table-cell");i[0].style.borderBottomLeftRadius="0.5rem",i[i.length-1].style.borderBottomRightRadius="0.5rem"}}watchSelectedCount(e,t){e>-1&&this.updateParentCheckbox(e)}updateParentCheckbox(e){var t;const c=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===c.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])'),c=Array.from(t).filter((e=>e.checked)).length;this.updateParentCheckbox(c)}}componentDidLoad(){this.updateParentCheckbox(this.selectedCount>-1?this.selectedCount:0)}componentWillRender(){this.applyBorderRadiusToLastRow()}render(){return c(i,{key:"33b59f238ef5eabce7a83dec5e189459038ac2e0",class:"xpl-header-accordion"},c("div",{key:"1269fe93be898a0300a1c840ad8919608c86bbff",class:"header-accordion header-accordion--"+(this.expanded?"expanded":"collapsed")},this.hasCheckbox&&c("xpl-checkbox",{key:"16a93cbaab64072990502ed7d1bc2a496ad31425",class:"xpl-header-accordion__parent-checkbox",checked:this.parentChecked,disabled:this.disabled,indeterminate:this.parentIndeterminate,onCheckboxChange:e=>this.handleParentCheckboxChange(e.detail)}),c("button",{key:"00e7024adcd3c8cef52cc5d11be8e4dc6319c1a8","aria-expanded":this.expanded,"aria-controls":this.contentId,class:"toggle-area",onClick:this.toggleAccordion,type:"button"},c("slot",{key:"16fc847fff7d27f73c589bff9670fdbdec9f58cc",name:"title"}),c("xpl-icon",{key:"44e27d19feb130c0903949d24a9c71f19f8475b6",size:16,icon:"chevron-down",class:this.expanded&&"rotate"}))),c("div",{key:"aa8bd514da7666ed09c72c5b271ea0eeda729ef8",id:this.contentId,role:"region",class:this.expanded?"content--shown":"content--hidden"},c("slot",{key:"b8adf0af8ea58edad1036fc45277ef6621bc8fbb",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}]}]),d=n,h=function(){"undefined"!=typeof customElements&&["xpl-header-accordion","xpl-checkbox","xpl-icon"].forEach((e=>{switch(e){case"xpl-header-accordion":customElements.get(o(e))||customElements.define(o(e),n);break;case"xpl-checkbox":customElements.get(o(e))||a();break;case"xpl-icon":customElements.get(o(e))||s()}}))};export{d as XplHeaderAccordion,h as defineCustomElement}
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 +1 @@
1
- import{I as o,d as s}from"./xpl-icon2.js";const p=o,r=s;export{p as XplIcon,r as defineCustomElement}
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 +1 @@
1
- import{a as o,b as p}from"./xpl-input2.js";const s=o,t=p;export{s as XplInputColor,t as defineCustomElement}
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 +1 @@
1
- import{I as t,d as o}from"./xpl-input-date2.js";const p=t,s=o;export{p as XplInputDate,s as defineCustomElement}
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 +1 @@
1
- import{I as o,d as p}from"./xpl-input-file2.js";const s=o,t=p;export{s as XplInputFile,t as defineCustomElement}
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 +1 @@
1
- import{c as o,e as p}from"./xpl-input2.js";const s=o,t=p;export{s as XplInputPhone,t as defineCustomElement}
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 +1 @@
1
- import{I as s,d as o}from"./xpl-input-search2.js";const p=s,r=o;export{p as XplInputSearch,r as defineCustomElement}
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 +1 @@
1
- import{f as o,g as p}from"./xpl-input2.js";const s=o,t=p;export{s as XplInputTime,t as defineCustomElement}
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 +1 @@
1
- import{I as o,d as p}from"./xpl-input2.js";const s=o,t=p;export{s as XplInput,t as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as a,h as c,Host as t,transformTag as s}from"@stencil/core/internal/client";import{d}from"./xpl-icon2.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(t,{key:"9b45179112de8d1ac309520425a1a5c340493487",role:"group",class:"xpl-large-card "+(this.link?"xpl-large-card__link":""),tabindex:"0"},c("dt",{key:"4838c93a72df9ea794b3bbbd7f78f3e84a606109",class:"xpl-large-card__header"},c("header",{key:"eb4b2e8515be1e0763595e1cf646dc2b25bfb739"},c("slot",{key:"62fdafe4b8ce03af5ff353c3ffa377fa547b572b",name:"title"},this.name),this.link&&c("span",{key:"ac0086a3402af5f12668a560ad418aaf40a56357",class:"xpl-data-card__header-arrow"},c("xpl-icon",{key:"74eaffc571098a88d69d7248166889671ba441a2",icon:"chevron-right",size:16}))),this.description&&c("div",{key:"d7d2499b7d8da9c09062ea5a456b588e52df2d82",class:"xpl-large-card__description"},this.description)),c("dd",{key:"652e32e8b200e783f03608f97cbbcc70f59421e3",class:"xpl-large-card__body"},a&&c("slot",{key:"9d9f285d34bd8e2b6666577bd2023ae474636c4c",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(s(e))||customElements.define(s(e),r);break;case"xpl-icon":customElements.get(s(e))||d()}}))};export{l as XplLargeCard,n as defineCustomElement}
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 +1 @@
1
- import{X as s,d as t}from"./xpl-list-item2.js";const o=s,i=t;export{o as XplListItem,i as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,createEvent as i,h as s,Host as l,transformTag as n}from"@stencil/core/internal/client";import{d as r}from"./xpl-avatar2.js";import{d as a}from"./xpl-badge2.js";import{d as o}from"./xpl-button2.js";import{d}from"./xpl-divider2.js";import{d as h}from"./xpl-icon2.js";import{d as c}from"./xpl-list-item2.js";import{d as m}from"./xpl-radio2.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:"aaa6e1cfa2d87e61b239d9aa59c9e4647f05aade",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:"89eb57b654baf9efbfd021e8c8db1fe074daa6d1"}),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))||d();break;case"xpl-icon":customElements.get(n(e))||h();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{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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as a,createEvent as n,h as t,Host as c,transformTag as i}from"@stencil/core/internal/client";const b=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 t(c,{key:"122bf1f28c4fb1e460185989b2d517f1ddbfb22b",class:"xpl-main-nav xpl-main-nav--"+this.width,"aria-label":"Sidebar"},t("nav",{key:"4ed8ce484b394adee98ac16056ebbabcadd31625"},t("header",{key:"829b7904323aeea21922a8d4a8fa33141cfa7913","aria-label":"Sidebar Header"},t("slot",{key:"8a6ea72fa4a1b26f9825a36b4ac7e64c9dbf476c",name:"logo"}),t("slot",{key:"bf049e9ee7b83af1c4ebfef21681edcb35de9364",name:"brand-name"})),t("div",{key:"a0ce70ccf5e4bac6346711127fba5278963910c1",class:"xpl-main-nav__main_section"},t("slot",{key:"bce360027342a1ef3e009bad6bc28e44c64dbd04",name:"navigation"})),t("footer",{key:"0b5f2e6cc890e4257f5e5503302492a236950f87",class:"xpl-main-nav__footer","aria-label":"Sidebar Footer"},t("slot",{key:"01dbe4d3834e1bc67b51108600688544e549ecde",name:"footer"}))))}},[260,"xpl-main-nav",{width:[1]}]),d=b,s=function(){"undefined"!=typeof customElements&&["xpl-main-nav"].forEach((e=>{"xpl-main-nav"===e&&(customElements.get(i(e))||customElements.define(i(e),b))}))};export{d as XplMainNav,s as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,createEvent as a,h as c,Host as s,transformTag as d}from"@stencil/core/internal/client";import{d as l}from"./xpl-backdrop2.js";import{d as i}from"./xpl-button2.js";import{d as o}from"./xpl-icon2.js";const n=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=>{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 c(s,{key:"310913d620acf72531ecb06aa6cd2180bb58d13b",class:"xpl-modal"},this.isOpen&&c("xpl-backdrop",{key:"d95693fd09c2f0a8024f3cb69a021f0bd79f7916"}),c("dialog",{key:"5cffd3cfdcc6033baa1d9e3e5fdf56b8411a8975",class:`xpl-modal__dialog xpl-modal-size--${this.size} xpl-modal--${this.isOpen?"is-open":"is-closed"}`},c("div",{key:"2d0be8e91065d464797d85cd1b98272292eacb09",class:"xpl-modal__header"},c("div",{key:"cb7d8594ed217599bcf0e2efa88d72afe0fff758",class:"xpl-modal__title"},"warning"===this.variant&&c("xpl-icon",{key:"fb7dd69369accc0c98ef8762ca457b6368ca0036",size:20,icon:"alert-triangle",class:"xpl-modal__alert-icon"}),c("slot",{key:"36a6d3d38d35064f81740504090fbbcdf2125097",name:"title"}),c("xpl-button",{key:"db84ecf685afec8d0d783b433f8aa030acc436bb",type:"button",class:"xpl-modal__close-button","icon-only":!0,size:"sm",variant:"tertiary",onClick:this.handleDialogClose},c("xpl-icon",{key:"bf241c6636ace6e182bf259bd24754646dc7f151",icon:"x"}))),c("div",{key:"105fa1a5b9d927bda5ca5521bbb8211cb07ab8e8",class:"xpl-modal__subtitle"},c("slot",{key:"d25d6d8bb95cd51f075dd7f9b5e1e199dac3efb0",name:"subtitle"}))),c("div",{key:"3b194a36ad0f4446149027544c16a25ba27f2cec",class:"xpl-modal__body"},c("slot",{key:"077e5b70115e3e906cd9ea7181c51615799c77e8",name:"body"})),c("div",{key:"687bd9ca45af20945ab5461ceb68ec099a30c50b",class:"xpl-modal__footer"},c("slot",{key:"73d5884708efd296a701c37e02663668fcfd37d8",name:"tertiary"}),c("slot",{key:"bad90d2355b8c015e19b1e450b5a2ce96e5ad55d",name:"secondary"}),c("slot",{key:"c601b66edc9fb2c082ccc713d6df95f15bd604ef",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}]}]),b=n,f=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),n);break;case"xpl-backdrop":customElements.get(d(e))||l();break;case"xpl-button":customElements.get(d(e))||i();break;case"xpl-icon":customElements.get(d(e))||o()}}))};export{b as XplModal,f as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as i,Host as s,transformTag as a}from"@stencil/core/internal/client";const n=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 i(s,{key:"451149dc9d73f705492fc65bf4f014b8efa4ee8a",class:{"xpl-nav-header-menu":!0,"xpl-nav-header-menu--has-right-aside-mobile":this.rightAsideMobilePresent,dark:!0}},(!!this.username||!!this.email)&&i("div",{key:"f42b560492c110644d52b10f708a3ed650833861",class:"xpl-nav-header-menu__profile"},i("div",{key:"6d98f720af85cbf8164bea7500175d6bfbb9465b",class:"xpl-nav-header-menu__info"},this.username&&i("div",{key:"9d52880dc41c11e71ac3cc107d8009eccb787bac",class:"xpl-nav-header-menu__username"},this.username),this.email&&i("div",{key:"d1b71ac2c4f6aaf5efd7b1910b8848f97ab08bf0",class:"xpl-nav-header-menu__email"},this.email))),i("div",{key:"e1b298c39ccbe0f68b8d60fa82714572f656ab1e",class:"xpl-nav-header-menu__right-aside-mobile"},i("slot",{key:"fbb8d26c38a4a50568e8836ac3af4409fe6c93c0",name:"right-aside-mobile"})),i("div",{key:"cbe858338ec04cdd3b74285f95b0466432924be2",class:"xpl-nav-header-menu__slot",role:"list"},i("slot",{key:"b47ccc7f955a30d8b9d9b884fa3d920d45958f7c"})))}get el(){return this}},[260,"xpl-nav-header-menu",{email:[1],username:[1],rightAsideMobilePresent:[32]}]),d=n,c=function(){"undefined"!=typeof customElements&&["xpl-nav-header-menu"].forEach((e=>{"xpl-nav-header-menu"===e&&(customElements.get(a(e))||customElements.define(a(e),n))}))};export{d as XplNavHeaderMenu,c as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,createEvent as n,h as a,Host as c,transformTag as s}from"@stencil/core/internal/client";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.navOpen=n(this,"navOpen",7),this.navControl=!1}onNavToggle(){window.innerWidth<=640&&this.navOpen.emit(!1)}render(){return a(c,{key:"b3a214a57ad57e9db1bbfd6a1809999ce0575a82",class:"xpl-nav-item",role:"listitem",onClick:()=>{this.navControl&&this.onNavToggle()}},a("slot",{key:"0f2a74dc4fd6f419a01106d872a5f6b5066a21a8",name:"link"},a("slot",{key:"234b41ca18d65ec3423ff580d983d24b483641cf",name:"icon"}),a("slot",{key:"cdb0ac59997cd1c557b05c6c8d8f60ae78d28a4d"})))}},[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(s(e))||customElements.define(s(e),o))}))};export{i as XplNavItem,l as defineCustomElement}
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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,createEvent as a,h as s,Host as o,transformTag as i}from"@stencil/core/internal/client";import{d as n}from"./xpl-dropdown2.js";import{d as l}from"./xpl-dropdown-group2.js";import{d as p}from"./xpl-dropdown-heading2.js";import{d as c}from"./xpl-dropdown-option2.js";import{d as r}from"./xpl-icon2.js";import{d}from"./xpl-select2.js";import{d as h}from"./xpl-tag2.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.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.pageChange.emit(this.currentPage)}onRowsPerPageUpdate(e){this.rowsPerPageChange.emit(e)}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:"fad9cdff4010b4b5ac842633bf7daf09b4dbd5d4",class:{"xpl-pagination":!0,"xpl-pagination__with-page-control":this.withPageControl,"xpl-pagination__no-page-control":!this.withPageControl}},this.withPageControl&&s("div",{key:"eb125851b89aa1422ec3e5d5e336fcbecd07489e",class:"xpl-pagination__rows-per-page"},s("label",{key:"5f2aa4c45d183827317a74cf4700981b6b0e7f2b",class:"xpl-pagination__rows-label"},"Rows per page:"),s("xpl-select",{key:"7ba2987a24b3228d9b59320f29b22b5819f85546",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:"8bab9db1cecfdaeeb760b0e4e1afb393ff3a3fe7",class:"xpl-pagination__pager"},s("button",{key:"19efd8a9aee2b05f875d2db34c7cdd174c845f60",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:"a77a15c649a6f2c86b100d1687b4a099acc18602",icon:"arrow-left",size:20})),s("xpl-select",{key:"5778cad67d3a4b930b1f89b0e49c30e941e23259",class:"xpl-pagination__page-select",dropdownFlipFallbackPlacements:["bottom-start"],dropdownPlacement:"top-start",choices:Array.from({length:this.totalPages},((e,t)=>({label:"Page "+(t+1),value:""+(t+1),isSelected:t+1===this.currentPage}))),"custom-display-value":!0,ref:e=>{this.pageSelectRef=e}},s("div",{key:"d0ae655a0100c2e81c8f7bdc2c8d3072f00cc7c9",slot:"custom-display-value"},`${this.currentPage} of ${this.totalPages}`)),s("button",{key:"ca6c7eb4fd277344f340b83673f1e43cb0c9fe99",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:"d18efdcb7e67ab908fbf79fc475993cf656b150c",icon:"arrow-right",size:20}))))}static get watchers(){return{currentPage:[{onPageUpdate: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}],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))||l();break;case"xpl-dropdown-heading":customElements.get(i(e))||p();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-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 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as n,h as t,Host as a,transformTag as c}from"@stencil/core/internal/client";const l=e(class extends n{constructor(e){super(),!1!==e&&this.__registerHost(),this.accent="none",this.padding="default"}render(){const e="none"!==this.accent;return t(a,{key:"e9a747ba679f6f9f907d13217f329947bff93e31",class:{"xpl-panel":!0,["xpl-panel--accent-"+this.accent]:e,["xpl-panel--padding-"+this.padding]:!0}},e&&t("div",{key:"b777fd4a81574ff9276582b256b673cccfc63a34","aria-hidden":"true",class:"xpl-panel__accent"}),t("div",{key:"5fa5ba4c2bfa13d7dcaee603e96ec9b77d103b13",class:"xpl-panel__content"},t("slot",{key:"c99b797e076c2641ae205181479dabb38f9ea009"})))}},[260,"xpl-panel",{accent:[1],padding:[1]}]),s=l,p=function(){"undefined"!=typeof customElements&&["xpl-panel"].forEach((e=>{"xpl-panel"===e&&(customElements.get(c(e))||customElements.define(c(e),l))}))};export{s as XplPanel,p as defineCustomElement}
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}