@xplortech/apollo-core 3.2.1 → 3.3.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 (494) hide show
  1. package/README.md +1 -1
  2. package/build/components/accordion.css +1 -1
  3. package/build/components/badge.css +1 -1
  4. package/build/components/banner.css +1 -1
  5. package/build/components/breadcrumbs.css +1 -1
  6. package/build/components/button.css +1 -1
  7. package/build/components/choicelist.css +1 -1
  8. package/build/components/data-card.css +1 -1
  9. package/build/components/divider.css +1 -1
  10. package/build/components/dropdown.css +1 -1
  11. package/build/components/dynamic-table-cell.css +1 -1
  12. package/build/components/header-accordion.css +1 -1
  13. package/build/components/input-color.css +1 -1
  14. package/build/components/input-file.css +1 -1
  15. package/build/components/input-search.css +1 -1
  16. package/build/components/input.css +1 -1
  17. package/build/components/label.css +1 -1
  18. package/build/components/large-card.css +1 -1
  19. package/build/components/list-item.css +1 -1
  20. package/build/components/main-nav.css +1 -1
  21. package/build/components/modal.css +1 -1
  22. package/build/components/pagination.css +1 -1
  23. package/build/components/secondary-nav.css +1 -1
  24. package/build/components/select.css +1 -1
  25. package/build/components/side-nav.css +1 -1
  26. package/build/components/slideout.css +1 -1
  27. package/build/components/spotlight.css +1 -1
  28. package/build/components/table-cell-base.css +1 -1
  29. package/build/components/table-header-cell.css +1 -1
  30. package/build/components/table.css +1 -1
  31. package/build/components/tag.css +1 -1
  32. package/build/components/toast.css +1 -1
  33. package/build/components/toggle.css +1 -1
  34. package/build/components/toolbar.css +1 -1
  35. package/build/components/tooltip.css +1 -1
  36. package/build/components/top-nav.css +1 -1
  37. package/build/core.css +1 -1
  38. package/build/style.css +1 -1
  39. package/build/typography.css +1 -1
  40. package/build/variables/apollo.css +30 -19
  41. package/build/variables/field-edge.css +32 -19
  42. package/dist/apollo-core/apollo-core.css +1 -1
  43. package/dist/apollo-core/apollo-core.esm.js +1 -1
  44. package/dist/apollo-core/p-01c55c74.entry.js +1 -0
  45. package/dist/apollo-core/{p-050a8bf2.entry.js → p-01ed2bb5.entry.js} +1 -1
  46. package/dist/apollo-core/{p-b3b4678b.entry.js → p-08ea8939.entry.js} +1 -1
  47. package/dist/apollo-core/{p-256ece8b.entry.js → p-0a7d57ab.entry.js} +1 -1
  48. package/dist/apollo-core/p-13253d8f.entry.js +1 -0
  49. package/dist/apollo-core/{p-8845106f.entry.js → p-14f5d98a.entry.js} +1 -1
  50. package/dist/apollo-core/{p-5c3be343.entry.js → p-17e38eaf.entry.js} +1 -1
  51. package/dist/apollo-core/{p-a0d3b7f8.entry.js → p-18486aba.entry.js} +1 -1
  52. package/dist/apollo-core/{p-49531864.entry.js → p-19fb0e5f.entry.js} +1 -1
  53. package/dist/apollo-core/p-1c2135e3.entry.js +1 -0
  54. package/dist/apollo-core/{p-7d70e089.entry.js → p-2111cc38.entry.js} +1 -1
  55. package/dist/apollo-core/p-2b813212.entry.js +1 -0
  56. package/dist/apollo-core/p-325a3b43.entry.js +1 -0
  57. package/dist/apollo-core/p-38a6a53d.entry.js +1 -0
  58. package/dist/apollo-core/{p-808f3d9c.entry.js → p-38fa8398.entry.js} +1 -1
  59. package/dist/apollo-core/{p-b64ed46d.entry.js → p-3d4a6de1.entry.js} +1 -1
  60. package/dist/apollo-core/{p-3713cd77.entry.js → p-3e3ab332.entry.js} +1 -1
  61. package/dist/apollo-core/p-3f8dc5b9.entry.js +1 -0
  62. package/dist/apollo-core/{p-ff16f574.entry.js → p-4249ee9b.entry.js} +1 -1
  63. package/dist/apollo-core/{p-715baae0.entry.js → p-439d5cdd.entry.js} +1 -1
  64. package/dist/apollo-core/{p-f384a990.entry.js → p-4b949aeb.entry.js} +1 -1
  65. package/dist/apollo-core/{p-eba654a3.entry.js → p-54053547.entry.js} +1 -1
  66. package/dist/apollo-core/p-620fc472.entry.js +1 -0
  67. package/dist/apollo-core/{p-9feaa8be.entry.js → p-651b49c3.entry.js} +1 -1
  68. package/dist/apollo-core/{p-9d731673.entry.js → p-6aee7d6b.entry.js} +1 -1
  69. package/dist/apollo-core/{p-d469bf5d.entry.js → p-6de10879.entry.js} +1 -1
  70. package/dist/apollo-core/p-73a1c68d.entry.js +1 -0
  71. package/dist/apollo-core/{p-8f8f4759.entry.js → p-79d306a2.entry.js} +1 -1
  72. package/dist/apollo-core/{p-f579e4b0.entry.js → p-7f00b542.entry.js} +1 -1
  73. package/dist/apollo-core/{p-bc821e69.entry.js → p-7fd3da3a.entry.js} +1 -1
  74. package/dist/apollo-core/p-890c641b.entry.js +1 -0
  75. package/dist/apollo-core/p-9832bc63.entry.js +1 -0
  76. package/dist/apollo-core/{p-7eb02cf3.entry.js → p-9955c4f2.entry.js} +1 -1
  77. package/dist/apollo-core/p-9b757459.entry.js +1 -0
  78. package/dist/apollo-core/p-9c41d07f.entry.js +1 -0
  79. package/dist/apollo-core/{p-ee68bed6.entry.js → p-9c7a0229.entry.js} +1 -1
  80. package/dist/apollo-core/{p-24fa8a03.entry.js → p-9d091b05.entry.js} +1 -1
  81. package/dist/apollo-core/p-CJABLO_1.js +3 -0
  82. package/dist/apollo-core/{p-14e86de8.entry.js → p-a149351a.entry.js} +1 -1
  83. package/dist/apollo-core/p-a2c3a38a.entry.js +1 -0
  84. package/dist/apollo-core/p-a5ddb3c4.entry.js +1 -0
  85. package/dist/apollo-core/{p-3417c1ce.entry.js → p-a73b0ca4.entry.js} +1 -1
  86. package/dist/apollo-core/{p-fcb17ff9.entry.js → p-aece2c3d.entry.js} +1 -1
  87. package/dist/apollo-core/{p-aeb2bcb8.entry.js → p-af188297.entry.js} +1 -1
  88. package/dist/apollo-core/{p-ca83003e.entry.js → p-b2dcdb19.entry.js} +1 -1
  89. package/dist/apollo-core/p-b55951a2.entry.js +1 -0
  90. package/dist/apollo-core/p-b7b91f27.entry.js +1 -0
  91. package/dist/apollo-core/{p-11914cd4.entry.js → p-b9c85394.entry.js} +1 -1
  92. package/dist/apollo-core/{p-64f5c129.entry.js → p-ba85f686.entry.js} +1 -1
  93. package/dist/apollo-core/p-c4fd031e.entry.js +1 -0
  94. package/dist/apollo-core/p-cab7d816.entry.js +1 -0
  95. package/dist/apollo-core/{p-45c872d2.entry.js → p-cca0f1a2.entry.js} +1 -1
  96. package/dist/apollo-core/{p-2971e2ec.entry.js → p-cd2d73ee.entry.js} +1 -1
  97. package/dist/apollo-core/p-cfb00d23.entry.js +1 -0
  98. package/dist/apollo-core/p-d060572b.entry.js +1 -0
  99. package/dist/apollo-core/p-d13a07ea.entry.js +1 -0
  100. package/dist/apollo-core/p-d1571245.entry.js +1 -0
  101. package/dist/apollo-core/p-d204ed1a.entry.js +1 -0
  102. package/dist/apollo-core/{p-9905c77c.entry.js → p-d3720611.entry.js} +1 -1
  103. package/dist/apollo-core/p-d9f78325.entry.js +1 -0
  104. package/dist/apollo-core/{p-df257cbf.entry.js → p-dad5d377.entry.js} +1 -1
  105. package/dist/apollo-core/{p-d3ada7d0.entry.js → p-e21af3d1.entry.js} +1 -1
  106. package/dist/apollo-core/{p-c5bc3b2c.entry.js → p-e7145461.entry.js} +1 -1
  107. package/dist/apollo-core/p-e99503a2.entry.js +1 -0
  108. package/dist/apollo-core/{p-e4d50301.entry.js → p-ec99c433.entry.js} +1 -1
  109. package/dist/apollo-core/{p-e09d8beb.entry.js → p-fc73497e.entry.js} +1 -1
  110. package/dist/apollo-core/{p-907bc21e.entry.js → p-fdd1b7da.entry.js} +1 -1
  111. package/dist/cjs/apollo-core.cjs.js +2 -2
  112. package/dist/cjs/{index-3cBvw409.js → index-EdmnG7t8.js} +52 -11
  113. package/dist/cjs/loader.cjs.js +1 -1
  114. package/dist/cjs/xpl-accordion.cjs.entry.js +3 -3
  115. package/dist/cjs/xpl-application-shell.cjs.entry.js +2 -2
  116. package/dist/cjs/xpl-avatar_3.cjs.entry.js +5 -5
  117. package/dist/cjs/xpl-backdrop.cjs.entry.js +2 -2
  118. package/dist/cjs/xpl-badge.cjs.entry.js +2 -2
  119. package/dist/cjs/xpl-banner.cjs.entry.js +3 -3
  120. package/dist/cjs/xpl-breadcrumb-item.cjs.entry.js +2 -2
  121. package/dist/cjs/xpl-breadcrumbs.cjs.entry.js +2 -2
  122. package/dist/cjs/xpl-button-row.cjs.entry.js +2 -2
  123. package/dist/cjs/xpl-button.cjs.entry.js +3 -3
  124. package/dist/cjs/xpl-calendar.cjs.entry.js +2 -2
  125. package/dist/cjs/xpl-checkbox.cjs.entry.js +4 -4
  126. package/dist/cjs/xpl-choicelist.cjs.entry.js +2 -2
  127. package/dist/cjs/xpl-content-area.cjs.entry.js +2 -2
  128. package/dist/cjs/xpl-dashboard.cjs.entry.js +2 -2
  129. package/dist/cjs/xpl-data-card.cjs.entry.js +3 -3
  130. package/dist/cjs/xpl-dropdown_4.cjs.entry.js +9 -9
  131. package/dist/cjs/xpl-dynamic-table-cell.cjs.entry.js +3 -3
  132. package/dist/cjs/xpl-dynamic-table-row.cjs.entry.js +3 -3
  133. package/dist/cjs/xpl-dynamic-table.cjs.entry.js +3 -3
  134. package/dist/cjs/xpl-grid-item.cjs.entry.js +2 -2
  135. package/dist/cjs/xpl-grid.cjs.entry.js +1 -1
  136. package/dist/cjs/xpl-header-accordion.cjs.entry.js +2 -2
  137. package/dist/cjs/xpl-icon.cjs.entry.js +1 -1
  138. package/dist/cjs/xpl-input-color.cjs.entry.js +1 -1
  139. package/dist/cjs/xpl-input-phone.cjs.entry.js +1 -1
  140. package/dist/cjs/xpl-input-time.cjs.entry.js +1 -1
  141. package/dist/cjs/xpl-input_4.cjs.entry.js +3 -3
  142. package/dist/cjs/xpl-large-card.cjs.entry.js +1 -1
  143. package/dist/cjs/xpl-list-item.cjs.entry.js +1 -1
  144. package/dist/cjs/xpl-list.cjs.entry.js +3 -3
  145. package/dist/cjs/xpl-main-nav.cjs.entry.js +2 -2
  146. package/dist/cjs/xpl-modal.cjs.entry.js +1 -1
  147. package/dist/cjs/xpl-nav-header-menu.cjs.entry.js +3 -3
  148. package/dist/cjs/xpl-nav-item.cjs.entry.js +3 -3
  149. package/dist/cjs/xpl-pagination.cjs.entry.js +1 -1
  150. package/dist/cjs/xpl-panel.cjs.entry.js +1 -1
  151. package/dist/cjs/xpl-popover.cjs.entry.js +5 -5
  152. package/dist/cjs/xpl-progress-bar.cjs.entry.js +1 -1
  153. package/dist/cjs/xpl-progress-indicator.cjs.entry.js +1 -1
  154. package/dist/cjs/xpl-secondary-nav.cjs.entry.js +2 -2
  155. package/dist/cjs/xpl-select_2.cjs.entry.js +10 -10
  156. package/dist/cjs/xpl-side-nav-header-item.cjs.entry.js +1 -1
  157. package/dist/cjs/xpl-side-nav-item.cjs.entry.js +3 -3
  158. package/dist/cjs/xpl-side-nav-section.cjs.entry.js +6 -6
  159. package/dist/cjs/xpl-side-nav.cjs.entry.js +1 -1
  160. package/dist/cjs/xpl-skeleton.cjs.entry.js +1 -1
  161. package/dist/cjs/xpl-slideout.cjs.entry.js +2 -2
  162. package/dist/cjs/xpl-spotlight.cjs.entry.js +1 -1
  163. package/dist/cjs/xpl-tab-panel.cjs.entry.js +1 -1
  164. package/dist/cjs/xpl-tab.cjs.entry.js +1 -1
  165. package/dist/cjs/xpl-table-body.cjs.entry.js +2 -2
  166. package/dist/cjs/xpl-table-cell_3.cjs.entry.js +5 -5
  167. package/dist/cjs/xpl-table-footer.cjs.entry.js +2 -2
  168. package/dist/cjs/xpl-table-header.cjs.entry.js +2 -2
  169. package/dist/cjs/xpl-table-row.cjs.entry.js +3 -3
  170. package/dist/cjs/xpl-table.cjs.entry.js +1 -1
  171. package/dist/cjs/xpl-tabs.cjs.entry.js +1 -1
  172. package/dist/cjs/xpl-toast.cjs.entry.js +3 -3
  173. package/dist/cjs/xpl-toggle.cjs.entry.js +1 -1
  174. package/dist/cjs/xpl-toolbar.cjs.entry.js +3 -3
  175. package/dist/cjs/xpl-tooltip.cjs.entry.js +2 -2
  176. package/dist/cjs/xpl-top-nav-item.cjs.entry.js +3 -3
  177. package/dist/cjs/xpl-top-nav-menu.cjs.entry.js +1 -1
  178. package/dist/cjs/xpl-top-nav.cjs.entry.js +1 -1
  179. package/dist/cjs/xpl-utility-bar.cjs.entry.js +2 -2
  180. package/dist/collection/collection-manifest.json +1 -1
  181. package/dist/collection/components/xpl-accordion/xpl-accordion.js +2 -2
  182. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +1 -1
  183. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +1 -1
  184. package/dist/collection/components/xpl-badge/xpl-badge.js +1 -1
  185. package/dist/collection/components/xpl-banner/xpl-banner.js +2 -2
  186. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +1 -1
  187. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +1 -1
  188. package/dist/collection/components/xpl-button/xpl-button.js +2 -2
  189. package/dist/collection/components/xpl-button-row/xpl-button-row.js +1 -1
  190. package/dist/collection/components/xpl-calendar/xpl-calendar.js +1 -1
  191. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +3 -3
  192. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +1 -1
  193. package/dist/collection/components/xpl-content-area/xpl-content-area.js +1 -1
  194. package/dist/collection/components/xpl-dashboard/xpl-dashboard.js +1 -1
  195. package/dist/collection/components/xpl-data-card/xpl-data-card.js +2 -2
  196. package/dist/collection/components/xpl-divider/xpl-divider.js +1 -1
  197. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +1 -1
  198. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +1 -1
  199. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +2 -2
  200. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +7 -6
  201. package/dist/collection/components/xpl-dynamic-table/xpl-dynamic-table.js +2 -2
  202. package/dist/collection/components/xpl-dynamic-table-cell/xpl-dynamic-table-cell.js +2 -2
  203. package/dist/collection/components/xpl-dynamic-table-row/xpl-dynamic-table-row.js +2 -2
  204. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +1 -1
  205. package/dist/collection/components/xpl-header-accordion/xpl-header-accordion.js +1 -1
  206. package/dist/collection/components/xpl-input/xpl-input.js +2 -2
  207. package/dist/collection/components/xpl-list/xpl-list.js +2 -2
  208. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +1 -1
  209. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +2 -2
  210. package/dist/collection/components/xpl-popover/xpl-popover.js +4 -4
  211. package/dist/collection/components/xpl-radio/xpl-radio.js +3 -3
  212. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +1 -1
  213. package/dist/collection/components/xpl-select/xpl-select.js +7 -7
  214. package/dist/collection/components/xpl-side-nav/xpl-side-nav-item/xpl-side-nav-item.js +2 -2
  215. package/dist/collection/components/xpl-side-nav/xpl-side-nav-section/xpl-side-nav-section.js +5 -5
  216. package/dist/collection/components/xpl-slideout/xpl-slideout.js +1 -1
  217. package/dist/collection/components/xpl-table/xpl-table-body/xpl-table-body.js +1 -1
  218. package/dist/collection/components/xpl-table/xpl-table-cell/xpl-table-cell.js +2 -2
  219. package/dist/collection/components/xpl-table/xpl-table-footer/xpl-table-footer.js +1 -1
  220. package/dist/collection/components/xpl-table/xpl-table-footer-cell/xpl-table-footer-cell.js +2 -2
  221. package/dist/collection/components/xpl-table/xpl-table-row/xpl-table-row.js +2 -2
  222. package/dist/collection/components/xpl-table-header/xpl-table-header.js +1 -1
  223. package/dist/collection/components/xpl-tag/xpl-tag.js +2 -2
  224. package/dist/collection/components/xpl-toast/xpl-toast.js +2 -2
  225. package/dist/collection/components/xpl-toolbar/xpl-toolbar.js +2 -2
  226. package/dist/collection/components/xpl-tooltip/xpl-tooltip.js +1 -1
  227. package/dist/collection/components/xpl-top-nav/xpl-nav-header-menu/xpl-nav-header-menu.js +2 -2
  228. package/dist/collection/components/xpl-top-nav/xpl-top-nav-item/xpl-top-nav-item.js +2 -2
  229. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +1 -1
  230. package/dist/components/index.js +1 -1
  231. package/dist/components/p-2XxO7M15.js +1 -0
  232. package/dist/components/{p-D09sGbzs.js → p-3R1VKKds.js} +1 -1
  233. package/dist/components/p-BNOkHymY.js +1 -0
  234. package/dist/components/p-BWAytJnz.js +1 -0
  235. package/dist/components/{p-B7aaJikj.js → p-BZrSTAV1.js} +1 -1
  236. package/dist/components/{p-CQjJIHK6.js → p-Bh-U2qmp.js} +1 -1
  237. package/dist/components/{p-BOm_p_mz.js → p-BowQ58XR.js} +1 -1
  238. package/dist/components/p-BqhTjJWq.js +1 -0
  239. package/dist/components/{p-CFXvQqUO.js → p-CWXfIUHo.js} +1 -1
  240. package/dist/components/{p-CdRmVtIN.js → p-CZg3Gb0I.js} +1 -1
  241. package/dist/components/{p-ohy3NrgH.js → p-CcPrBo53.js} +1 -1
  242. package/dist/components/p-CetimlcM.js +1 -0
  243. package/dist/components/{p-CV5nn1zR.js → p-CfZI7bBe.js} +1 -1
  244. package/dist/components/{p-2cJsJK3-.js → p-CjzUVpyd.js} +1 -1
  245. package/dist/components/{p-DoVubWyd.js → p-ClLyaOG7.js} +1 -1
  246. package/dist/components/{p-rLxtqgsy.js → p-Cop4KmAG.js} +1 -1
  247. package/dist/components/{p-C0AbGd4t.js → p-DHxDWgLP.js} +1 -1
  248. package/dist/components/{p-CuVYRPvz.js → p-DORBnmT4.js} +1 -1
  249. package/dist/components/{p-CmbpWpb0.js → p-DbN9vTl7.js} +1 -1
  250. package/dist/components/{p-DTh_zemx.js → p-Dl__XgUD.js} +1 -1
  251. package/dist/components/{p-8zrW9vEC.js → p-JjlTuq8d.js} +1 -1
  252. package/dist/components/p-d4i2Qqvl.js +1 -0
  253. package/dist/components/{p-Btb2UkLz.js → p-n-yq7lf4.js} +1 -1
  254. package/dist/components/{p-1D7CWIJ-.js → p-rQFFXcXl.js} +1 -1
  255. package/dist/components/p-sjDW_E4p.js +1 -0
  256. package/dist/components/{p-B56GeUtW.js → p-yc1qXhah.js} +1 -1
  257. package/dist/components/xpl-accordion.js +1 -1
  258. package/dist/components/xpl-application-shell.js +1 -1
  259. package/dist/components/xpl-avatar.js +1 -1
  260. package/dist/components/xpl-backdrop.js +1 -1
  261. package/dist/components/xpl-badge.js +1 -1
  262. package/dist/components/xpl-banner.js +1 -1
  263. package/dist/components/xpl-breadcrumb-item.js +1 -1
  264. package/dist/components/xpl-breadcrumbs.js +1 -1
  265. package/dist/components/xpl-button-row.js +1 -1
  266. package/dist/components/xpl-button.js +1 -1
  267. package/dist/components/xpl-calendar.js +1 -1
  268. package/dist/components/xpl-checkbox.js +1 -1
  269. package/dist/components/xpl-choicelist.js +1 -1
  270. package/dist/components/xpl-content-area.js +1 -1
  271. package/dist/components/xpl-dashboard.js +1 -1
  272. package/dist/components/xpl-data-card.js +1 -1
  273. package/dist/components/xpl-divider.js +1 -1
  274. package/dist/components/xpl-dropdown-group.js +1 -1
  275. package/dist/components/xpl-dropdown-heading.js +1 -1
  276. package/dist/components/xpl-dropdown-option.js +1 -1
  277. package/dist/components/xpl-dropdown.js +1 -1
  278. package/dist/components/xpl-dynamic-table-cell.js +1 -1
  279. package/dist/components/xpl-dynamic-table-row.js +1 -1
  280. package/dist/components/xpl-dynamic-table.js +1 -1
  281. package/dist/components/xpl-grid-item.js +1 -1
  282. package/dist/components/xpl-grid.js +1 -1
  283. package/dist/components/xpl-header-accordion.js +1 -1
  284. package/dist/components/xpl-icon.js +1 -1
  285. package/dist/components/xpl-input-color.js +1 -1
  286. package/dist/components/xpl-input-date.js +1 -1
  287. package/dist/components/xpl-input-file.js +1 -1
  288. package/dist/components/xpl-input-phone.js +1 -1
  289. package/dist/components/xpl-input-search.js +1 -1
  290. package/dist/components/xpl-input-time.js +1 -1
  291. package/dist/components/xpl-input.js +1 -1
  292. package/dist/components/xpl-large-card.js +1 -1
  293. package/dist/components/xpl-list-item.js +1 -1
  294. package/dist/components/xpl-list.js +1 -1
  295. package/dist/components/xpl-main-nav.js +1 -1
  296. package/dist/components/xpl-modal.js +1 -1
  297. package/dist/components/xpl-nav-header-menu.js +1 -1
  298. package/dist/components/xpl-nav-item.js +1 -1
  299. package/dist/components/xpl-pagination.js +1 -1
  300. package/dist/components/xpl-panel.js +1 -1
  301. package/dist/components/xpl-popover.js +1 -1
  302. package/dist/components/xpl-progress-bar.js +1 -1
  303. package/dist/components/xpl-progress-indicator.js +1 -1
  304. package/dist/components/xpl-radio.js +1 -1
  305. package/dist/components/xpl-secondary-nav.js +1 -1
  306. package/dist/components/xpl-select.js +1 -1
  307. package/dist/components/xpl-side-nav-header-item.js +1 -1
  308. package/dist/components/xpl-side-nav-item.js +1 -1
  309. package/dist/components/xpl-side-nav-section.js +1 -1
  310. package/dist/components/xpl-side-nav.js +1 -1
  311. package/dist/components/xpl-skeleton.js +1 -1
  312. package/dist/components/xpl-slideout.js +1 -1
  313. package/dist/components/xpl-spotlight.js +1 -1
  314. package/dist/components/xpl-tab-panel.js +1 -1
  315. package/dist/components/xpl-tab.js +1 -1
  316. package/dist/components/xpl-table-body.js +1 -1
  317. package/dist/components/xpl-table-cell.js +1 -1
  318. package/dist/components/xpl-table-footer-cell.js +1 -1
  319. package/dist/components/xpl-table-footer.js +1 -1
  320. package/dist/components/xpl-table-header-cell.js +1 -1
  321. package/dist/components/xpl-table-header.js +1 -1
  322. package/dist/components/xpl-table-row.js +1 -1
  323. package/dist/components/xpl-table.js +1 -1
  324. package/dist/components/xpl-tabs.js +1 -1
  325. package/dist/components/xpl-tag.js +1 -1
  326. package/dist/components/xpl-toast.js +1 -1
  327. package/dist/components/xpl-toggle.js +1 -1
  328. package/dist/components/xpl-toolbar.js +1 -1
  329. package/dist/components/xpl-tooltip.js +1 -1
  330. package/dist/components/xpl-top-nav-item.js +1 -1
  331. package/dist/components/xpl-top-nav-menu.js +1 -1
  332. package/dist/components/xpl-top-nav.js +1 -1
  333. package/dist/components/xpl-utility-bar.js +1 -1
  334. package/dist/docs/xpl-accordion/readme.md +5 -4
  335. package/dist/docs/xpl-application-shell/readme.md +10 -0
  336. package/dist/docs/xpl-avatar/readme.md +7 -0
  337. package/dist/docs/xpl-badge/readme.md +7 -0
  338. package/dist/docs/xpl-breadcrumbs/xpl-breadcrumb-item/readme.md +1 -0
  339. package/dist/docs/xpl-breadcrumbs/xpl-breadcrumbs/readme.md +1 -0
  340. package/dist/docs/xpl-button/readme.md +7 -0
  341. package/dist/docs/xpl-checkbox/readme.md +7 -0
  342. package/dist/docs/xpl-content-area/readme.md +7 -0
  343. package/dist/docs/xpl-dashboard/readme.md +7 -0
  344. package/dist/docs/xpl-data-card/readme.md +1 -0
  345. package/dist/docs/xpl-divider/readme.md +7 -0
  346. package/dist/docs/xpl-dropdown/readme.md +8 -0
  347. package/dist/docs/xpl-dropdown/xpl-dropdown-group/readme.md +7 -0
  348. package/dist/docs/xpl-dropdown/xpl-dropdown-heading/readme.md +7 -0
  349. package/dist/docs/xpl-dropdown/xpl-dropdown-option/readme.md +7 -0
  350. package/dist/docs/xpl-dynamic-table/readme.md +8 -0
  351. package/dist/docs/xpl-dynamic-table-cell/readme.md +7 -0
  352. package/dist/docs/xpl-dynamic-table-row/readme.md +7 -0
  353. package/dist/docs/xpl-grid-item/readme.md +7 -0
  354. package/dist/docs/xpl-header-accordion/readme.md +8 -0
  355. package/dist/docs/xpl-icon/readme.md +1 -1
  356. package/dist/docs/xpl-input/readme.md +8 -0
  357. package/dist/docs/xpl-list/readme.md +7 -0
  358. package/dist/docs/xpl-list/xpl-list-item/readme.md +16 -0
  359. package/dist/docs/xpl-main-nav/readme.md +12 -0
  360. package/dist/docs/xpl-nav-item/readme.md +9 -0
  361. package/dist/docs/xpl-popover/readme.md +1 -0
  362. package/dist/docs/xpl-radio/readme.md +7 -0
  363. package/dist/docs/xpl-secondary-nav/readme.md +7 -0
  364. package/dist/docs/xpl-select/readme.md +7 -0
  365. package/dist/docs/xpl-side-nav/xpl-side-nav-item/readme.md +9 -0
  366. package/dist/docs/xpl-side-nav/xpl-side-nav-section/readme.md +8 -0
  367. package/dist/docs/xpl-slideout/readme.md +13 -0
  368. package/dist/docs/xpl-spotlight/readme.md +1 -0
  369. package/dist/docs/xpl-table/readme.md +12 -0
  370. package/dist/docs/xpl-table/xpl-table-body/readme.md +7 -0
  371. package/dist/docs/xpl-table/xpl-table-cell/readme.md +7 -0
  372. package/dist/docs/xpl-table/xpl-table-footer/readme.md +7 -0
  373. package/dist/docs/xpl-table/xpl-table-footer-cell/readme.md +7 -0
  374. package/dist/docs/xpl-table/xpl-table-header-cell/readme.md +59 -52
  375. package/dist/docs/xpl-table/xpl-table-row/readme.md +7 -0
  376. package/dist/docs/xpl-table-header/readme.md +7 -0
  377. package/dist/docs/xpl-tag/readme.md +9 -2
  378. package/dist/docs/xpl-toast/readme.md +8 -0
  379. package/dist/docs/xpl-toolbar/readme.md +8 -0
  380. package/dist/docs/xpl-tooltip/readme.md +7 -0
  381. package/dist/docs/xpl-top-nav/xpl-nav-header-menu/readme.md +1 -0
  382. package/dist/docs/xpl-top-nav/xpl-top-nav-item/readme.md +1 -0
  383. package/dist/docs/xpl-top-nav/xpl-top-nav-menu/readme.md +1 -0
  384. package/dist/docs/xpl-utility-bar/readme.md +8 -0
  385. package/dist/docs.json +770 -88
  386. package/dist/esm/apollo-core.js +3 -3
  387. package/dist/esm/{index-ukZKsqqq.js → index-CJABLO_1.js} +52 -11
  388. package/dist/esm/loader.js +2 -2
  389. package/dist/esm/xpl-accordion.entry.js +3 -3
  390. package/dist/esm/xpl-application-shell.entry.js +2 -2
  391. package/dist/esm/xpl-avatar_3.entry.js +5 -5
  392. package/dist/esm/xpl-backdrop.entry.js +2 -2
  393. package/dist/esm/xpl-badge.entry.js +2 -2
  394. package/dist/esm/xpl-banner.entry.js +3 -3
  395. package/dist/esm/xpl-breadcrumb-item.entry.js +2 -2
  396. package/dist/esm/xpl-breadcrumbs.entry.js +2 -2
  397. package/dist/esm/xpl-button-row.entry.js +2 -2
  398. package/dist/esm/xpl-button.entry.js +3 -3
  399. package/dist/esm/xpl-calendar.entry.js +2 -2
  400. package/dist/esm/xpl-checkbox.entry.js +4 -4
  401. package/dist/esm/xpl-choicelist.entry.js +2 -2
  402. package/dist/esm/xpl-content-area.entry.js +2 -2
  403. package/dist/esm/xpl-dashboard.entry.js +2 -2
  404. package/dist/esm/xpl-data-card.entry.js +3 -3
  405. package/dist/esm/xpl-dropdown_4.entry.js +9 -9
  406. package/dist/esm/xpl-dynamic-table-cell.entry.js +3 -3
  407. package/dist/esm/xpl-dynamic-table-row.entry.js +3 -3
  408. package/dist/esm/xpl-dynamic-table.entry.js +3 -3
  409. package/dist/esm/xpl-grid-item.entry.js +2 -2
  410. package/dist/esm/xpl-grid.entry.js +1 -1
  411. package/dist/esm/xpl-header-accordion.entry.js +2 -2
  412. package/dist/esm/xpl-icon.entry.js +1 -1
  413. package/dist/esm/xpl-input-color.entry.js +1 -1
  414. package/dist/esm/xpl-input-phone.entry.js +1 -1
  415. package/dist/esm/xpl-input-time.entry.js +1 -1
  416. package/dist/esm/xpl-input_4.entry.js +3 -3
  417. package/dist/esm/xpl-large-card.entry.js +1 -1
  418. package/dist/esm/xpl-list-item.entry.js +1 -1
  419. package/dist/esm/xpl-list.entry.js +3 -3
  420. package/dist/esm/xpl-main-nav.entry.js +2 -2
  421. package/dist/esm/xpl-modal.entry.js +1 -1
  422. package/dist/esm/xpl-nav-header-menu.entry.js +3 -3
  423. package/dist/esm/xpl-nav-item.entry.js +3 -3
  424. package/dist/esm/xpl-pagination.entry.js +1 -1
  425. package/dist/esm/xpl-panel.entry.js +1 -1
  426. package/dist/esm/xpl-popover.entry.js +5 -5
  427. package/dist/esm/xpl-progress-bar.entry.js +1 -1
  428. package/dist/esm/xpl-progress-indicator.entry.js +1 -1
  429. package/dist/esm/xpl-secondary-nav.entry.js +2 -2
  430. package/dist/esm/xpl-select_2.entry.js +10 -10
  431. package/dist/esm/xpl-side-nav-header-item.entry.js +1 -1
  432. package/dist/esm/xpl-side-nav-item.entry.js +3 -3
  433. package/dist/esm/xpl-side-nav-section.entry.js +6 -6
  434. package/dist/esm/xpl-side-nav.entry.js +1 -1
  435. package/dist/esm/xpl-skeleton.entry.js +1 -1
  436. package/dist/esm/xpl-slideout.entry.js +2 -2
  437. package/dist/esm/xpl-spotlight.entry.js +1 -1
  438. package/dist/esm/xpl-tab-panel.entry.js +1 -1
  439. package/dist/esm/xpl-tab.entry.js +1 -1
  440. package/dist/esm/xpl-table-body.entry.js +2 -2
  441. package/dist/esm/xpl-table-cell_3.entry.js +5 -5
  442. package/dist/esm/xpl-table-footer.entry.js +2 -2
  443. package/dist/esm/xpl-table-header.entry.js +2 -2
  444. package/dist/esm/xpl-table-row.entry.js +3 -3
  445. package/dist/esm/xpl-table.entry.js +1 -1
  446. package/dist/esm/xpl-tabs.entry.js +1 -1
  447. package/dist/esm/xpl-toast.entry.js +3 -3
  448. package/dist/esm/xpl-toggle.entry.js +1 -1
  449. package/dist/esm/xpl-toolbar.entry.js +3 -3
  450. package/dist/esm/xpl-tooltip.entry.js +2 -2
  451. package/dist/esm/xpl-top-nav-item.entry.js +3 -3
  452. package/dist/esm/xpl-top-nav-menu.entry.js +1 -1
  453. package/dist/esm/xpl-top-nav.entry.js +1 -1
  454. package/dist/esm/xpl-utility-bar.entry.js +2 -2
  455. package/dist/types/components.d.ts +3 -1
  456. package/dist/types/stencil-public-runtime.d.ts +12 -0
  457. package/hydrate/index.js +117 -98
  458. package/hydrate/index.mjs +117 -98
  459. package/loader/index.d.ts +1 -1
  460. package/package.json +13 -13
  461. package/dist/apollo-core/p-045a4538.entry.js +0 -1
  462. package/dist/apollo-core/p-08767607.entry.js +0 -1
  463. package/dist/apollo-core/p-194c0ccd.entry.js +0 -1
  464. package/dist/apollo-core/p-1c031055.entry.js +0 -1
  465. package/dist/apollo-core/p-24f7280a.entry.js +0 -1
  466. package/dist/apollo-core/p-386851a2.entry.js +0 -1
  467. package/dist/apollo-core/p-3cd1238b.entry.js +0 -1
  468. package/dist/apollo-core/p-4e3c6616.entry.js +0 -1
  469. package/dist/apollo-core/p-5b9fd96e.entry.js +0 -1
  470. package/dist/apollo-core/p-5cbf5d42.entry.js +0 -1
  471. package/dist/apollo-core/p-5ec2b180.entry.js +0 -1
  472. package/dist/apollo-core/p-65f6b66c.entry.js +0 -1
  473. package/dist/apollo-core/p-72e0455f.entry.js +0 -1
  474. package/dist/apollo-core/p-7ac7fbc0.entry.js +0 -1
  475. package/dist/apollo-core/p-7f4463ff.entry.js +0 -1
  476. package/dist/apollo-core/p-87582346.entry.js +0 -1
  477. package/dist/apollo-core/p-a6ecca68.entry.js +0 -1
  478. package/dist/apollo-core/p-a789c272.entry.js +0 -1
  479. package/dist/apollo-core/p-bd493c4a.entry.js +0 -1
  480. package/dist/apollo-core/p-bdcece21.entry.js +0 -1
  481. package/dist/apollo-core/p-bfb7a83a.entry.js +0 -1
  482. package/dist/apollo-core/p-c22f70f4.entry.js +0 -1
  483. package/dist/apollo-core/p-d3230277.entry.js +0 -1
  484. package/dist/apollo-core/p-d7f8ee34.entry.js +0 -1
  485. package/dist/apollo-core/p-d879c349.entry.js +0 -1
  486. package/dist/apollo-core/p-ea9cdd65.entry.js +0 -1
  487. package/dist/apollo-core/p-ukZKsqqq.js +0 -2
  488. package/dist/components/p-B6YLKDUX.js +0 -1
  489. package/dist/components/p-BSHdGbmH.js +0 -1
  490. package/dist/components/p-BZIZSovL.js +0 -1
  491. package/dist/components/p-CgemLtmL.js +0 -1
  492. package/dist/components/p-Dp62sBqX.js +0 -1
  493. package/dist/components/p-DqgnC_vS.js +0 -1
  494. package/dist/components/p-DtV4i45B.js +0 -1
@@ -1 +1 @@
1
- import{p as t,H as e,d as i,h as s,c as n,t as a}from"./p-BSHdGbmH.js";import{d as o}from"./p-2cJsJK3-.js";import{d as r}from"./p-BZIZSovL.js";import{d as h}from"./p-Dp62sBqX.js";import{d as l}from"./p-C0AbGd4t.js";import{d as c}from"./p-CQjJIHK6.js";import{i as p}from"./p-Dqb1pIRo.js";import{d}from"./p-CmbpWpb0.js";import{d as u}from"./p-D09sGbzs.js";import{d as m}from"./p-BOm_p_mz.js";import{v as b}from"./p-CK3_k8jD.js";import{d as f}from"./p-DTh_zemx.js";const x=(t,e,i)=>{const s=(i/=100)*(e/=100),n=s*(1-Math.abs(t/60%2-1)),a=i-s;let o=0,r=0,h=0;return t<60?(o=s,r=n,h=0):t<120?(o=n,r=s,h=0):t<180?(o=0,r=s,h=n):t<240?(o=0,r=n,h=s):t<300?(o=n,r=0,h=s):(o=s,r=0,h=n),{r:Math.round(255*(o+a)),g:Math.round(255*(r+a)),b:Math.round(255*(h+a))}},g=(t,e,i)=>[t,e,i].map((t=>t.toString(16).padStart(2,"0"))).join(""),C=t=>{if(t.startsWith("#")){if(!/^#([a-fA-F\d]{6})$/.test(t))throw new Error("xpl-input-color: Only 6-digit hex format supported (e.g. #aabbcc)");const e=t.toLowerCase().slice(1),i=parseInt(e.slice(0,2),16),s=parseInt(e.slice(2,4),16),n=parseInt(e.slice(4,6),16);return{hex:e,r:i,g:s,b:n,a:1}}if(t.startsWith("rgba")||t.startsWith("rgb")){const e=t.match(/[\d.]+/g)?.map(Number);if(!e||e.length<3)throw new Error("xpl-input-color: Invalid rgba/rgb format");const[i,s,n,a=1]=e,o=t=>t.toString(16).padStart(2,"0");return{hex:`${o(i)}${o(s)}${o(n)}`.toLowerCase(),r:i,g:s,b:n,a}}if(t.startsWith("hsla")||t.startsWith("hsl")){const e=t.match(/[\d.]+/g)?.map(Number);if(!e||e.length<3)throw new Error("xpl-input-color: Invalid hsla/hsl format");const[i,s,n,a=1]=e,o=((t,e,i,s)=>{i/=100;const n=e=>(e+t/30)%12,a=(e/=100)*Math.min(i,1-i),o=t=>i-a*Math.max(-1,Math.min(n(t)-3,Math.min(9-n(t),1)));return`rgba(${Math.round(255*o(0))}, ${Math.round(255*o(8))}, ${Math.round(255*o(4))}, ${s})`})(i,s,n,a),r=o.match(/[\d.]+/g)?.map(Number);if(!r||r.length<3)throw new Error("xpl-input-color: Invalid hsla/hsl format");const[h,l,c]=r;return{hex:g(h,l,c).toLowerCase(),r:h,g:l,b:c,a}}throw new Error("xpl-input-color: Unsupported color format")},y=t=>t.a&&1!==t.a?`rgba(${t.r}, ${t.g}, ${t.b}, ${t.a})`:`#${t.hex}`,v=[{countryCode:"US",dialCode:"+1",name:"United States"},{countryCode:"CA",dialCode:"+1",name:"Canada"},{countryCode:"GB",dialCode:"+44",name:"United Kingdom"},{countryCode:"AU",dialCode:"+61",name:"Australia"},{countryCode:"DE",dialCode:"+49",name:"Germany"},{countryCode:"FR",dialCode:"+33",name:"France"},{countryCode:"ES",dialCode:"+34",name:"Spain"},{countryCode:"IT",dialCode:"+39",name:"Italy"},{countryCode:"NL",dialCode:"+31",name:"Netherlands"},{countryCode:"BE",dialCode:"+32",name:"Belgium"},{countryCode:"AT",dialCode:"+43",name:"Austria"},{countryCode:"CH",dialCode:"+41",name:"Switzerland"},{countryCode:"PL",dialCode:"+48",name:"Poland"},{countryCode:"IE",dialCode:"+353",name:"Ireland"},{countryCode:"PT",dialCode:"+351",name:"Portugal"},{countryCode:"SE",dialCode:"+46",name:"Sweden"},{countryCode:"NO",dialCode:"+47",name:"Norway"},{countryCode:"DK",dialCode:"+45",name:"Denmark"},{countryCode:"FI",dialCode:"+358",name:"Finland"},{countryCode:"NZ",dialCode:"+64",name:"New Zealand"},{countryCode:"JP",dialCode:"+81",name:"Japan"},{countryCode:"CN",dialCode:"+86",name:"China"},{countryCode:"IN",dialCode:"+91",name:"India"},{countryCode:"BR",dialCode:"+55",name:"Brazil"},{countryCode:"MX",dialCode:"+52",name:"Mexico"},{countryCode:"ZA",dialCode:"+27",name:"South Africa"},{countryCode:"SG",dialCode:"+65",name:"Singapore"},{countryCode:"HK",dialCode:"+852",name:"Hong Kong"},{countryCode:"KR",dialCode:"+82",name:"South Korea"}];function $(t){return v.find((e=>e.countryCode===t))}function k(t){return(t||"").replace(/\D/g,"")}function E(t){switch(t){case"US":case"CA":case"MX":case"JP":case"IN":case"KR":return 10;case"GB":case"DE":case"AT":case"CH":case"BR":case"CN":return 11;case"AU":case"FR":return 9;default:return 15}}function w(t,e){if(!t)return"";const i=t.replace(/\D/g,"");switch(e){case"US":case"CA":return function(t){const e=Math.min(t.length,10);return e<=3?t.slice(0,e):e<=6?`${t.slice(0,3)} ${t.slice(3,e)}`:`${t.slice(0,3)} ${t.slice(3,6)} ${t.slice(6,e)}`}(i);case"GB":return function(t){const e=Math.min(t.length,11);return e<=4?t.slice(0,e):e<=7?`${t.slice(0,4)} ${t.slice(4,e)}`:`${t.slice(0,4)} ${t.slice(4,7)} ${t.slice(7,e)}`}(i);case"AU":return function(t){const e=Math.min(t.length,9);return e<=1?t.slice(0,e):e<=4?`${t.slice(0,1)} ${t.slice(1,e)}`:e<=7?`${t.slice(0,1)} ${t.slice(1,4)} ${t.slice(4,e)}`:`${t.slice(0,1)} ${t.slice(1,4)} ${t.slice(4,7)} ${t.slice(7,e)}`}(i);case"DE":case"AT":case"CH":return function(t){const e=Math.min(t.length,11);return e<=3?t.slice(0,e):`${t.slice(0,3)} ${t.slice(3,e)}`}(i);case"FR":return function(t){const e=Math.min(t.length,9),i=[];let s=0;for(e>0&&(i.push(t.slice(0,1)),s=1);s<e&&s+2<=e;)i.push(t.slice(s,s+2)),s+=2;return s<e&&i.push(t.slice(s)),i.join(" ")}(i);case"BR":return function(t){const e=Math.min(t.length,11);return e<=2?e?`(${t}`:"":e<=6||7===e?`(${t.slice(0,2)}) ${t.slice(2,e)}`:`(${t.slice(0,2)}) ${t.slice(2,7)}-${t.slice(7,e)}`}(i);case"MX":return function(t){const e=Math.min(t.length,10);return e<=3?t.slice(0,e):e<=6?`${t.slice(0,3)} ${t.slice(3,e)}`:`${t.slice(0,3)} ${t.slice(3,6)} ${t.slice(6,e)}`}(i);case"JP":return function(t){const e=Math.min(t.length,10);return e<=3?t.slice(0,e):e<=7?`${t.slice(0,3)}-${t.slice(3,e)}`:`${t.slice(0,3)}-${t.slice(3,7)}-${t.slice(7,e)}`}(i);case"CN":return function(t){const e=Math.min(t.length,11);return e<=3?t.slice(0,e):e<=7?`${t.slice(0,3)} ${t.slice(3,e)}`:`${t.slice(0,3)} ${t.slice(3,7)} ${t.slice(7,e)}`}(i);case"IN":return function(t){const e=Math.min(t.length,10);return e<=5?t.slice(0,e):`${t.slice(0,5)} ${t.slice(5,e)}`}(i);case"KR":return function(t){const e=Math.min(t.length,10);return e<=3?t.slice(0,e):e<=7?`${t.slice(0,3)} ${t.slice(3,e)}`:`${t.slice(0,3)} ${t.slice(3,7)} ${t.slice(7,e)}`}(i);default:return function(t){const e=t.length;if(e<=3)return t;const i=[];let s=0;for(;s<e;){const n=e-s>=4?4:3;i.push(t.slice(s,s+n)),s+=n}return i.join(" ")}(i)}}function S(t){const[e,i]=t.split(":"),s=Number(e)>=12?"PM":"AM";return[(Number(e)%12||12).toString(),i,s]}const _=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.valueChange=i(this,"valueChange",7),this.hasErrorStateChanged=i(this,"hasErrorStateChanged",7),this.max="23:59",this.min="00:00",this.step=30,this.mode="single",this.timeFormat="24h",this.allowCustomOption=!1,this.showOptions=!1,this.options=[],this.handleInput=t=>{const e=t.target,i=e.value?.replace(/[^0-9:apmAPM]/g,"");this.value=i},this.handleFocus=()=>{this.showOptions=!0},this.handleBlur=()=>{const t=function(t){if(!t||""===t.trim()||0===t.replace(/[^0-9]/g,"").length)return null;let e=t.trim().toLowerCase();e=e.replace(/(\d)\s+(am|pm)/g,"$1$2"),/^\d{1,2}(am|pm)?$/.test(e)&&(e=e.replace(/(am|pm)?$/,":00$1")),/^\d{1,2}$/.test(e)&&(e=`${e}:00`),/^\d{1,2}:\d{1}$/.test(e)&&(e=`${e}0`);const[i,s]=e.split(":"),n=s.replace(/[^0-9]/g,""),a=e.includes("am");return e.includes("pm")||a?a?`${(Number(i)%12).toString().padStart(2,"0")}:${n}`:`${Number(i)%12+12}:${n}`:`${i.padStart(2,"0")}:${n}`}(this.value??"");this.value=t??void 0},this.handleClick=()=>{this.showOptions=!0}}onValueChange(t){this.valueChange.emit(t),this.updateState(t)}updateState(t){this.formattedValue=this.formatDisplayedTime(t),this.amPm=this.formatDisplayedAmPm(t),this.validateValue()}formatDisplayedTime(t){if(!t)return"";if("12h"===this.timeFormat&&t.includes(":")){const[e,i]=S(t);return`${e}:${i}`}return t}formatDisplayedAmPm(t){if(!t||"12h"!==this.timeFormat)return"";const[,,e]=S(t);return e}validateValue(){if(!this.value)return void(this.hasErrorState=this.required?"required":null);if(!this.value.includes(":")||this.value.trim().length<4||this.value.trim().length>5)return void(this.hasErrorState="Invalid time format, must be HH:MM");const t=String(this.min??"00:00"),e=String(this.max??"23:59");this.hasErrorState=this.value<t||this.value>e?"Out of range":this.allowCustomOption||this.options.some((t=>t.value===this.value))?null:"Invalid option"}onHasErrorStateChanged(t){this.hasErrorStateChanged.emit(t)}componentDidLoad(){"range"===this.mode&&console.warn("Range mode is not supported for time inputs at this time."),this.dropdown?.addEventListener("isOpenChange",(t=>{this.showOptions=t.detail}))}componentWillLoad(){this.options=this.getOptions(),this.value&&this.updateState(this.value)}getOptions(){return function(t,e,i,s){const n=t=>{const[e,i]=t.split(":").map(Number);return 60*e+i},a=n(e.toString()),o=n(i.toString()),r=[];for(let e=a;e<=o;e+=t)r.push((h=e,`${Math.floor(h/60).toString().padStart(2,"0")}:${(h%60).toString().padStart(2,"0")}`));var h;return r.map((t=>({label:"12h"===s?function(t){const[e,i,s]=S(t);return`${e}:${i} ${s}`}(t):t,value:t})))}(this.step,String(this.min??"00:00"),String(this.max??"23:59"),this.timeFormat??"24h").map((({label:t,value:e})=>({label:t,value:e,onClick:()=>{this.value=e,this.showOptions=!1}})))}render(){return s(n,{key:"098ef69d355f6bdf03b4bfbab59956f84d5967b4",class:{"xpl-input-time":!0,[`xpl-input-time--mode-${this.mode}`]:!0,"xpl-input-time--error":!!this.hasErrorState}},s("xpl-input",{key:"e73a120a00a6f110e99e1a7d54bc75c024a2e1dc",pre:s("xpl-icon",{class:"xpl-input-time__clock-icon",icon:"clock",size:24}),post:"12h"===this.timeFormat?this.amPm||"AM":void 0,type:"text",_id:this.inputId,disabled:this.disabled,name:this.name,required:this.required,readonly:this.readonly,placeholder:this.placeholder,max:this.max,min:this.min,onInput:this.handleInput,value:this.formattedValue,onFocusEvent:this.handleFocus,onBlurEvent:this.handleBlur,onClick:this.handleClick}),!this.readonly&&!this.disabled&&s("xpl-dropdown",{key:"454de00fca4a891eaffc71738538425fa9f4e34f",options:this.options,isOpen:this.showOptions,ref:t=>{this.dropdown=t??void 0},class:"xpl-input-time__dropdown"}))}static get watchers(){return{value:[{onValueChange:0}],hasErrorState:[{onHasErrorStateChanged:0}]}}},[0,"xpl-input-time",{inputId:[1,"input-id"],disabled:[4],name:[1],required:[4],readonly:[4],value:[1537],placeholder:[1],max:[8],min:[8],step:[2],mode:[1],timeFormat:[1,"time-format"],allowCustomOption:[4,"allow-custom-option"],formattedValue:[32],hasErrorState:[32],showOptions:[32],options:[32],amPm:[32]},void 0,{value:[{onValueChange:0}],hasErrorState:[{onHasErrorStateChanged:0}]}]);function M(){"undefined"!=typeof customElements&&["xpl-input-time","xpl-dropdown","xpl-dropdown-group","xpl-dropdown-heading","xpl-dropdown-option","xpl-icon","xpl-input","xpl-input-color","xpl-input-date","xpl-input-file","xpl-input-phone","xpl-input-search","xpl-input-time"].forEach((t=>{switch(t){case"xpl-input-time":customElements.get(a(t))||customElements.define(a(t),_);break;case"xpl-dropdown":customElements.get(a(t))||o();break;case"xpl-dropdown-group":customElements.get(a(t))||r();break;case"xpl-dropdown-heading":customElements.get(a(t))||h();break;case"xpl-dropdown-option":customElements.get(a(t))||l();break;case"xpl-icon":customElements.get(a(t))||c();break;case"xpl-input":customElements.get(a(t))||P();break;case"xpl-input-color":customElements.get(a(t))||A();break;case"xpl-input-date":customElements.get(a(t))||d();break;case"xpl-input-file":customElements.get(a(t))||u();break;case"xpl-input-phone":customElements.get(a(t))||F();break;case"xpl-input-search":customElements.get(a(t))||m();break;case"xpl-input-time":customElements.get(a(t))||M()}}))}function I(t){return t.toLowerCase().replace(/ /g,"-")}const D=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.hasErrorStateChanged=i(this,"hasErrorStateChanged",7),this.valueChange=i(this,"valueChange",7),this.lastCursorRef=0,this.lastFormattedRef="",this.dropdownOpen=!1,this.hasErrorState=null,this.nationalNumber="",this.searchQuery="",this.triggerId=`xpl-input-phone-trigger-${b()}`,this.defaultCountry="US",this.isInternational=!0,this.handleTriggerClick=()=>{this.isEditable&&(this.dropdownOpen=!this.dropdownOpen)},this.handleNumberInput=t=>{const e=t.target,i=e.value||"";let s;if(this.lastCursorRef=e.selectionStart??0,this.lastFormattedRef=i,this.isInternational&&i.startsWith("+")){const t=k(i),e=this.effectiveDialCode.slice(1).replace(/\D/g,"");s=e&&t.startsWith(e)?t.slice(e.length):t}else s=k(i);const n=E(this.effectiveCountryCode);s.length>n&&(s=s.slice(0,n)),this.nationalNumber=s,this.emitValue(),e.value=this.displayValue},this.handleClear=()=>{this.nationalNumber="",this.emitValue(),this.inputEl?.focus()},this.handleDropdownUpdate=(t,{component:e})=>{const i=e??this.dropdownRef;if(!i)return;const{options:s}=i;if(s?.length){const t=s.reduce(((t,e)=>[...t,...e.groupName?e.options??[]:[e]]),[]).find((t=>t.isSelected));if(t?.value){const e=$(t.value);e&&(this.selectedCountry=e,this.emitValue(),this.inputEl?.focus())}}}}onDropdownOpenChange(t){t&&(this.searchQuery="")}onHasErrorStateChanged(t){this.hasErrorStateChanged.emit(t)}onValueChange(t){if(null==t||""===t){const t=$(this.defaultCountry??"US")||v[0];return this.selectedCountry=t,void(this.nationalNumber="")}const e=function(t){if(!t||!t.startsWith("+"))return null;const e=t.slice(1).replace(/\D/g,"");if(!e.length)return null;const i=[...v].sort(((t,e)=>e.dialCode.replace(/\D/g,"").length-t.dialCode.replace(/\D/g,"").length)).find((t=>{const i=t.dialCode.slice(1).replace(/\D/g,"");return e.startsWith(i)}));if(!i)return null;const s=i.dialCode.slice(1).replace(/\D/g,""),n=e.slice(s.length);return{dialCode:i.dialCode,nationalNumber:n}}(t);if(e)if(this.selectedCountry?.dialCode===e.dialCode)this.nationalNumber=e.nationalNumber;else{const t=$(this.defaultCountry??"US"),s=(t?.dialCode===e.dialCode?t:void 0)??(i=e.dialCode,v.find((t=>t.dialCode===i)));s&&(this.selectedCountry=s,this.nationalNumber=e.nationalNumber)}else this.selectedCountry||(this.selectedCountry=$(this.defaultCountry??"US")||v[0]);var i}componentWillLoad(){this.value?this.onValueChange(this.value):this.selectedCountry=$(this.defaultCountry??"US")||v[0]}componentDidUpdate(){if(this.inputEl&&this.lastFormattedRef&&"function"==typeof this.inputEl.setSelectionRange){const t=function(t,e,i){if(i>=t.length)return e.length;const s=k(t.slice(0,i)).length;let n=0,a=0;for(let t=0;t<e.length;t+=1){if(/\d/.test(e[t])&&(a+=1,a>=s)){n=t+(a===s?1:0);break}n=t+1}return Math.min(n,e.length)}(this.lastFormattedRef,this.displayValue,this.lastCursorRef);this.inputEl.setSelectionRange(t,t),this.lastFormattedRef=""}else this.inputEl&&this.lastFormattedRef&&(this.lastFormattedRef="")}get effectiveCountryCode(){return this.selectedCountry?.countryCode??this.defaultCountry??"US"}get effectiveDialCode(){return this.selectedCountry?.dialCode??"+1"}get isEditable(){return!this.disabled&&!this.readonly}get orderedCountries(){const t=this.preferredCountries||[],e=v.filter((e=>!t.includes(e.countryCode)));return[...t.map((t=>$(t))).filter((t=>void 0!==t)),...e]}get filteredCountries(){const t=this.searchQuery.trim().toLowerCase();return t?this.orderedCountries.filter((e=>e.name.toLowerCase().includes(t)||e.dialCode.includes(t)||e.countryCode.toLowerCase().includes(t))):this.orderedCountries}get displayValue(){return this.nationalNumber?w(this.nationalNumber,this.effectiveCountryCode):""}get effectivePlaceholder(){if(this.placeholder)return this.placeholder;const t=this.selectedCountry;return t?function(t){switch(t){case"US":case"CA":case"MX":default:return"000 000 0000";case"GB":return"0000 000 0000";case"AU":return"0 000 000 000";case"DE":case"AT":case"CH":return"000 0000000";case"FR":return"0 00 00 00 00";case"BR":return"00 00000 0000";case"JP":case"CN":case"KR":return"000 0000 0000";case"IN":return"00000 00000"}}(t.countryCode):""}get dropdownOptions(){return this.filteredCountries.map((t=>({icon:I(t.name),label:`${t.name} (${t.dialCode})`,value:t.countryCode,isSelected:this.selectedCountry?.countryCode===t.countryCode})))}get maxInputLength(){const t=E(this.effectiveCountryCode);return w("9".repeat(t),this.effectiveCountryCode).length}emitValue(){const t=this.nationalNumber?function(t,e){const i=(t.slice(1)+e).replace(/\D/g,"");return i.length?`+${i}`:""}(this.effectiveDialCode,this.nationalNumber):"";this.value=t||void 0,this.valueChange.emit(t||""),this.validate()}validate(){this.hasErrorState=!this.required||this.nationalNumber.trim()?null:"required"}render(){return s(n,{key:"c78f7ab5d5c6f6982356d7610fe32855d7f214c5",class:{"xpl-input-phone":!0,"xpl-input-phone--error":!!this.hasErrorState||!!this.error,"xpl-input-phone--open":this.dropdownOpen,"xpl-input-phone--domestic":!this.isInternational}},s("div",{key:"3b30f8755836376728336f769afeb714b9a3dfa9",class:"xpl-input-wrapper"},this.isInternational&&s("button",{key:"c83ff2255a465d7d5d233ce02a816845858594be",type:"button",id:this.triggerId,class:"xpl-input-phone__trigger",disabled:this.disabled,"aria-haspopup":"listbox","aria-expanded":this.dropdownOpen?"true":"false","aria-label":"Select country",onClick:this.handleTriggerClick},this.selectedCountry?.name&&s("xpl-icon",{key:"f0a62a5052b940f4a2212ed77929696e62b4825f",class:"xpl-input-phone__flag",icon:I(this.selectedCountry.name),size:24,"aria-hidden":"true"}),s("xpl-icon",{key:"68782b949fd1cf41a8b0883ad6caba18d9aa1ac5",class:"xpl-input-phone__trigger-icon",icon:"chevron-down",size:20,"aria-hidden":"true"})),s("div",{key:"6aa5f75f34b413bd8939d46c55b7cc42128db247",class:"xpl-input-phone__input-wrap"},this.isInternational&&s("span",{key:"81dc5727f8dca528f34994736c1a8a2223e8fe63",class:"xpl-input-phone__dial-code"},this.effectiveDialCode),s("input",{key:"d0faecadd4216bf6a7b79fc9623052e194900c15",ref:t=>{this.inputEl=t??void 0},type:"tel",id:this.inputId,class:"xpl-input-phone__input",name:this.name,disabled:this.disabled,readonly:this.readonly,required:this.required,"aria-invalid":this.hasErrorState||this.error?"true":"false",placeholder:this.effectivePlaceholder,autocomplete:this.isInternational?"tel-national":"tel",inputmode:"numeric",maxlength:this.maxInputLength,value:this.displayValue,onInput:this.handleNumberInput}),this.nationalNumber&&this.isEditable&&s("button",{key:"12a2e4ce8adb80ca4d6fca1c706c54db01d22101",type:"button",class:"xpl-input-phone__clear","aria-label":"Clear phone number",onClick:this.handleClear},s("xpl-icon",{key:"f1ae5e69258654e8ba5bf511755020e0d7d91088",icon:"x-circle",size:16})))),this.isInternational&&this.isEditable&&s("xpl-dropdown",{key:"d8a75cf0b95d9affae6e03292c011a73dcff98b4",ref:t=>{this.dropdownRef=t??void 0},isOpen:this.dropdownOpen,triggerId:this.triggerId,anchorToTrigger:!0,closeOnSelect:!0,mode:"single",options:this.dropdownOptions,update:this.handleDropdownUpdate,onIsOpenChange:t=>{this.dropdownOpen=t.detail},"aria-label":"Country"},s("div",{key:"b46a4a9985604720099c3212714804aee5a1f58b",slot:"header",class:"xpl-input-phone__search-wrap"},s("xpl-input",{key:"55bdc0f6ff4b1a1a2d17b5ba10849bcab472d7d8",class:"xpl-input-phone__search",type:"text",label:"",placeholder:"Search",value:this.searchQuery,autocomplete:"off",onInputEvent:t=>{this.searchQuery=t.detail??""}},s("xpl-icon",{key:"af0fd388d39e6d9bcac5a032c7c0cf5f192cc4d3",slot:"pre",class:"xpl-input-phone__search-icon",icon:"magnifier",size:20})))))}get el(){return this}static get watchers(){return{dropdownOpen:[{onDropdownOpenChange:0}],hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValueChange:0}]}}},[0,"xpl-input-phone",{defaultCountry:[1,"default-country"],disabled:[4],error:[4],inputId:[1,"input-id"],isInternational:[4,"is-international"],name:[1],placeholder:[1],preferredCountries:[16],readonly:[4],required:[4],value:[1537],dropdownOpen:[32],hasErrorState:[32],nationalNumber:[32],searchQuery:[32],selectedCountry:[32],triggerId:[32]},void 0,{dropdownOpen:[{onDropdownOpenChange:0}],hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValueChange:0}]}]);function F(){"undefined"!=typeof customElements&&["xpl-input-phone","xpl-dropdown","xpl-dropdown-group","xpl-dropdown-heading","xpl-dropdown-option","xpl-icon","xpl-input","xpl-input-color","xpl-input-date","xpl-input-file","xpl-input-phone","xpl-input-search","xpl-input-time"].forEach((t=>{switch(t){case"xpl-input-phone":customElements.get(a(t))||customElements.define(a(t),D);break;case"xpl-dropdown":customElements.get(a(t))||o();break;case"xpl-dropdown-group":customElements.get(a(t))||r();break;case"xpl-dropdown-heading":customElements.get(a(t))||h();break;case"xpl-dropdown-option":customElements.get(a(t))||l();break;case"xpl-icon":customElements.get(a(t))||c();break;case"xpl-input":customElements.get(a(t))||P();break;case"xpl-input-color":customElements.get(a(t))||A();break;case"xpl-input-date":customElements.get(a(t))||d();break;case"xpl-input-file":customElements.get(a(t))||u();break;case"xpl-input-phone":customElements.get(a(t))||F();break;case"xpl-input-search":customElements.get(a(t))||m();break;case"xpl-input-time":customElements.get(a(t))||M()}}))}const N={hex:"",r:0,g:0,b:0,a:1},O=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.inputChange=i(this,"inputChange",7),this.hasErrorStateChanged=i(this,"hasErrorStateChanged",7),this.placeholder="Select color",this.eyeDropperSupported=!1,this.colorInputElements={},this.handleMove=t=>{const{slGrid:e}=this.colorInputElements;if(!e)return;const i=e.getBoundingClientRect(),s="touches"in t?t.touches[0].clientY:t.clientY,n=Math.max(0,Math.min(("touches"in t?t.touches[0].clientX:t.clientX)-i.left,i.width)),a=Math.max(0,Math.min(s-i.top,i.height)),o=n/i.width,r=a/i.height,h=x(this.hue,100,100),l=(255*(1-o)+o*h.r)*(1-r),c=(255*(1-o)+o*h.g)*(1-r),p=(255*(1-o)+o*h.b)*(1-r),d={r:Math.round(l),g:Math.round(c),b:Math.round(p),hex:g(Math.round(l),Math.round(c),Math.round(p)),a:this.colorValues.a};this.colorValues=d},this.startDrag=t=>{t.preventDefault(),this.handleMove(t),window.addEventListener("mousemove",this.handleMove),window.addEventListener("mouseup",this.stopDrag),window.addEventListener("touchmove",this.handleMove),window.addEventListener("touchend",this.stopDrag)},this.stopDrag=()=>{window.removeEventListener("mousemove",this.handleMove),window.removeEventListener("mouseup",this.stopDrag),window.removeEventListener("touchmove",this.handleMove),window.removeEventListener("touchend",this.stopDrag)},this.onHexInputChange=t=>{const e=t.detail?t.detail.trim().replace(/#/g,""):"";if(e){const[t,i,s]=(t=>{const e=t?.match(/\w\w/g);return e?e.map((t=>parseInt(t,16))):[0,0,0]})(e);this.colorValues={hex:e,r:t,g:i,b:s,a:this.colorValues.a??1}}else this.colorValues={...N}},this.onRgbaInputChange=(t,e)=>{const i=parseFloat(e.detail);if(Number.isNaN(i))return void(this.hasErrorState=`invalid value from ${t.name}: ${i}`);const s={...this.colorValues};switch(t.name){case"color-r-input":s.r=i;break;case"color-g-input":s.g=i;break;case"color-b-input":s.b=i;break;case"color-a-input":s.a=i;break;default:this.hasErrorState=`unhandled input: ${t.name}`}s.hex=g(s.r,s.g,s.b),this.colorValues=s},this.onSliderInputChange=t=>{const e=parseFloat(t.value);if(Number.isNaN(e))this.hasErrorState=`invalid value from ${t.name}: ${e}`;else switch(t.name){case"color-hue-slider":this.colorValues=C(`hsla(${e}, 100%, 50%, 1)`),this.hue=e;break;case"color-alpha-slider":this.colorValues={...this.colorValues,a:e};break;default:this.hasErrorState=`unhandled input: ${t.name}`}}}valueChanged(t){this.hasErrorState=this.required&&!t.hex?"required":null,this.inputChange.emit(t.hex?y(t):"")}onHasErrorStateChanged(t){this.hasErrorStateChanged.emit(t)}onValuePropChange(t){this.syncColorFromValue(t)}syncColorFromValue(t){if(t)try{this.colorValues=C(t),this.hue=(()=>{const t=this.colorValues.r/255,e=this.colorValues.g/255,i=this.colorValues.b/255,s=Math.max(t,e,i),n=Math.min(t,e,i),a=s-n;let o=0,r=0;const h=(s+n)/2;if(0!==a){switch(r=a/(1-Math.abs(2*h-1)),s){case t:o=(e-i)/a%6;break;case e:o=(i-t)/a+2;break;case i:o=(t-e)/a+4}o*=60,o<0&&(o+=360)}return{hue:Math.round(o),saturation:Math.round(100*r),lightness:Math.round(100*h)}})().hue}catch{this.hasErrorState="invalid color format",this.hue=0}else this.colorValues={...N},this.hasErrorState=null,this.hue=0}componentWillLoad(){this.syncColorFromValue(this.value)}componentDidLoad(){p()&&(this.eyeDropperSupported="EyeDropper"in window);const{r:t,g:e,b:i,a:s,hue:n,alpha:a,hex:o}=this.colorInputElements;o?.addEventListener("valueChange",(t=>{this.onHexInputChange(t),t.stopPropagation()})),[t,e,i,s].forEach((t=>{t?.addEventListener("valueChange",(e=>{this.onRgbaInputChange(t,e),e.stopPropagation()}))})),[n,a].forEach((t=>{t?.addEventListener("input",(()=>{this.onSliderInputChange(t)}))}))}async openEyeDropper(){try{const t=window.EyeDropper;if(!t)throw new Error("EyeDropper API is not available");const e=new t,i=await e.open();this.colorValues=C(i.sRGBHex)}catch(t){this.hasErrorState=`eyedropper cancelled or failed: ${t}`}}render(){const{r:t,g:e,b:i,a}=this.colorValues,o=x(this.hue,100,100),{x:r,y:h}=((t,e,i,s)=>{const{s:n,v:a}=((t,e,i,s)=>{t/=255,e/=255,i/=255;const n=Math.max(t,e,i),a=n-Math.min(t,e,i);let o=0;return o=0===a?0:n===t?(e-i)/a%6:n===e?(i-t)/a+2:(t-e)/a+4,o=Math.round(60*o),o<0&&(o+=360),{h:s??o,s:0===n?0:a/n,v:n}})(e.r,e.g,e.b,t);return{x:Math.round(n*i),y:Math.round((1-a)*s)}})(this.hue,{r:t,g:e,b:i},288,160),l={left:`${r}px`,top:`${h}px`,background:`rgb(${t}, ${e}, ${i})`};return s(n,{key:"baf8bd36a33134bff8b2e1ce1a5d81a567f232b2",class:"xpl-input-color"},s("xpl-popover",{key:"e5bfd446e4b900371ee8ca7c7c321692079c66fb",disabled:this.disabled,display:"menu"},s("div",{key:"9d40ccbf649ba0be2884bbc7dec84d7c1e9ddbb7",slot:"trigger"},s("div",{key:"6b4474af2dab4be116728135214403af7189d99f",class:{"xpl-input-color__display":!0,"xpl-input-color__display--disabled":!!this.disabled,"xpl-input-color__display--error":!!this.hasErrorState}},s("span",{key:"9372da25358b453c5b89f324886c986153b9386b",class:"xpl-input-color__color",style:{background:y(this.colorValues)}}),this.colorValues.hex?s("span",{class:"xpl-input-color__value"},y(this.colorValues)):s("span",{class:"xpl-input-color__placeholder"},this.placeholder),this.eyeDropperSupported&&!this.hideEyeDropper&&s("xpl-icon",{key:"a37bf00e4a70cda5e59cecfc7f108601bbb15e8e",size:20,icon:"eye-dropper",class:"xpl-input-color__icon",onClick:t=>{t.stopPropagation(),this.openEyeDropper()}}))),s("div",{key:"e95b3755b47802b446de5d7e9c25d2238dea23ef",class:"xpl-input-color__menu"},s("div",{key:"9ecc94c286d9cd0a5e25c92eaea3a2dd9ee4394b",class:"xpl-input-color__sl-grid",ref:t=>{this.colorInputElements.slGrid=t??void 0},style:{background:["linear-gradient(to top, #000, #0000)","linear-gradient(to right, #fff, #fff0)",`rgb(${o.r} ${o.g} ${o.b})`].join(", ")},onMouseDown:this.startDrag,onTouchStart:this.startDrag},s("div",{key:"85b2e591be85db2a2d3d1bbe65ee276a857b92fa",class:"xpl-input-color__sl-thumb",style:l})),s("div",{key:"b9d7f2fdc49d73db488d62f21433558b5b0a09a7",class:"xpl-input-color__grid"},s("input",{key:"3c260f54bde2c26a7b5980082cabf54e2d42340e",type:"range",min:"0",max:"360",value:this.hue,class:"xpl-input-color__slider xpl-input-color__hue",name:"color-hue-slider",ref:t=>{this.colorInputElements.hue=t??void 0}}),s("input",{key:"ef8ef568a1487b618aeeb986904a5eeefabba300",type:"range",min:"0",max:"1",step:"0.01",value:a,class:"xpl-input-color__slider xpl-input-color__alpha",name:"color-alpha-slider",ref:t=>{this.colorInputElements.alpha=t??void 0},style:{backgroundImage:[`linear-gradient(to right, rgb(${t} ${e} ${i} / 0) 0%, rgb(${t} ${e} ${i} / 1) 100%)`,"linear-gradient(45deg, #ccc 25%, transparent 25%)","linear-gradient(-45deg, #ccc 25%, transparent 25%)","linear-gradient(45deg, transparent 75%, #ccc 75%)","linear-gradient(-45deg, transparent 75%, #ccc 75%)"].join(", ")}}),s("div",{key:"b4953565664df14ad483f30c45b6ae5e717e6a63",class:"xpl-input-color__preview",style:{background:`rgba(${t}, ${e}, ${i}, ${a})`}})),s("div",{key:"731a00aa7075efc1a19849a58e5a81c8837ab199",class:"xpl-input-color__inputs"},["hex","r","g","b","a"].map((t=>s("xpl-input",{key:t,label:t.toLocaleUpperCase(),name:`color-${t}-input`,placeholder:"hex"===t?"793EF7":"0",value:String(this.colorValues[t]),ref:e=>{this.colorInputElements[t]=e??void 0}})))))))}static get watchers(){return{colorValues:[{valueChanged:0}],hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValuePropChange:0}]}}},[0,"xpl-input-color",{value:[1],placeholder:[1],disabled:[4],required:[4],hideEyeDropper:[4,"hide-eye-dropper"],hasErrorState:[32],colorValues:[32],eyeDropperSupported:[32],hue:[32]},void 0,{colorValues:[{valueChanged:0}],hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValuePropChange:0}]}]);function A(){"undefined"!=typeof customElements&&["xpl-input-color","xpl-icon","xpl-input","xpl-input-color","xpl-input-date","xpl-input-file","xpl-input-phone","xpl-input-search","xpl-input-time","xpl-popover"].forEach((t=>{switch(t){case"xpl-input-color":customElements.get(a(t))||customElements.define(a(t),O);break;case"xpl-icon":customElements.get(a(t))||c();break;case"xpl-input":customElements.get(a(t))||P();break;case"xpl-input-color":customElements.get(a(t))||A();break;case"xpl-input-date":customElements.get(a(t))||d();break;case"xpl-input-file":customElements.get(a(t))||u();break;case"xpl-input-phone":customElements.get(a(t))||F();break;case"xpl-input-search":customElements.get(a(t))||m();break;case"xpl-input-time":customElements.get(a(t))||M();break;case"xpl-popover":customElements.get(a(t))||f()}}))}const V=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.blurEvent=i(this,"blurEvent",7),this.focusEvent=i(this,"focusEvent",7),this.inputEvent=i(this,"inputEvent",7),this.search=i(this,"search",7),this.valueChange=i(this,"valueChange",7),this.multiline=!1,this.dateFormat="Y-m-d",this.timeFormat="24h",this.allowCustomOption=!1,this.mode="single",this.accept="",this.multiple=!1,this.hideTriggerOnSelect=!1,this.hideFileNames=!1,this.hideAcceptText=!1,this.defaultCountry="US",this.isInternational=!0,this.ariaLabel="",this.type="text",this.handleChildValueChange=t=>{t.stopPropagation(),this.valueChange.emit(t.detail)},this.valueChanged=t=>{this.valueChange.emit(t.target.value)},this.characterCount=0,this.passwordVisible=!1,this.hasPreSlotContent=!1,this.handleBlur=t=>{this.blurEvent.emit(t)},this.handleFocus=t=>{this.focusEvent.emit(t)},this.handleInput=t=>{this.multiline&&this.updateCharacterCount();const{value:e}=t.target;this.inputEvent.emit(e)},this.handleSearchBlurForward=t=>{const{detail:e}=t;e&&(t.stopPropagation(),this.blurEvent.emit(e))},this.handleSearchCommit=t=>{t.stopPropagation(),this.search.emit(t.detail)},this.handleSearchFocusForward=t=>{const{detail:e}=t;e&&(t.stopPropagation(),this.focusEvent.emit(e))}}connectedCallback(){this.syncPreSlotContent(),this.connectPreSlotObserver()}disconnectedCallback(){void 0!==this.preSlotSyncTimeoutId&&(clearTimeout(this.preSlotSyncTimeoutId),this.preSlotSyncTimeoutId=void 0),this.disconnectPreSlotObserver()}componentWillLoad(){null!=this._id&&""!==this._id||(this._id=b()),this.multiline&&void 0!==this.maxCharacterCount&&(this.characterCount=void 0!==this.value?this.value.length:0),this.syncPreSlotContent()}componentWillRender(){this.disconnectPreSlotObserver()}componentDidRender(){this.schedulePreSlotSync()}async setFocus(){"search"!==this.type?this.input?.focus():await(this.searchInputRef?.setFocus())}connectPreSlotObserver(){this.disconnectPreSlotObserver(),this.multiline||"search"===this.type||"undefined"==typeof MutationObserver||(this.preSlotObserver=new MutationObserver((()=>{this.schedulePreSlotSync()})),this.preSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectPreSlotObserver(){this.preSlotObserver?.disconnect(),this.preSlotObserver=void 0}schedulePreSlotSync(){void 0!==this.preSlotSyncTimeoutId&&clearTimeout(this.preSlotSyncTimeoutId),this.preSlotSyncTimeoutId=setTimeout((()=>{this.preSlotSyncTimeoutId=void 0,this.el.isConnected&&(this.syncPreSlotContent(),this.connectPreSlotObserver())}),0)}syncPreSlotContent(){if(this.multiline||"search"===this.type)return;const t=Array.from(this.el.querySelectorAll('[slot="pre"]')).some((t=>t.closest("xpl-input")===this.el));t!==this.hasPreSlotContent&&(this.hasPreSlotContent=t)}updateCharacterCount(){this.characterCount=this.input?.value.length??0}renderInput(){switch(this.type){case"file":return s("xpl-input-file",{accept:this.accept,disabled:this.disabled,hideAcceptText:this.hideAcceptText,hideFileNames:this.hideFileNames,hideTriggerOnSelect:this.hideTriggerOnSelect,multiple:this.multiple,name:this.name,onInputChange:this.handleChildValueChange,_id:this._id},s("slot",{name:"trigger"}));case"color":return s("xpl-input-color",{disabled:this.disabled,value:this.value,placeholder:this.placeholder,required:this.required,hideEyeDropper:this.hideEyeDropper,onInputChange:this.handleChildValueChange});case"date":return s("xpl-input-date",{inputId:this._id,disabled:this.disabled,name:this.name,required:this.required,readonly:this.readonly,value:this.value,placeholder:this.placeholder,post:this.post,pre:this.pre,max:this.max,min:this.min,dateFormat:this.dateFormat,mode:this.mode,onValueChange:this.handleChildValueChange});case"time":return s("xpl-input-time",{inputId:this._id,disabled:this.disabled,name:this.name,required:this.required,readonly:this.readonly,value:this.value,placeholder:this.placeholder,max:this.max,min:this.min,step:this.step,mode:this.mode,timeFormat:this.timeFormat,allowCustomOption:this.allowCustomOption,onValueChange:this.handleChildValueChange});case"phone":return s("xpl-input-phone",{inputId:this._id,disabled:this.disabled,error:void 0!==this.error,name:this.name,required:this.required,readonly:this.readonly,value:this.value,placeholder:this.placeholder,defaultCountry:this.defaultCountry,preferredCountries:this.preferredCountries,isInternational:this.isInternational,onValueChange:this.handleChildValueChange});case"search":{const t=Boolean((this.label??"").trim()),e=void 0!==this.error,i=e&&(this.error?.length??0)>0;return s("xpl-input-search",{ariaLabel:(this.ariaLabel??"").trim()||"Search",autocomplete:this.autocomplete??"off",disabled:this.disabled,errorMessageId:i?`${this._id}-error`:void 0,hasError:e,hasVisibleLabel:t,inputId:this._id??"",name:this.name,onBlurEvent:this.handleSearchBlurForward,onFocusEvent:this.handleSearchFocusForward,onSearch:this.handleSearchCommit,onValueChange:this.handleChildValueChange,placeholder:this.placeholder??"Search",readonly:this.readonly,ref:t=>{this.searchInputRef=t??void 0},required:this.required,shape:this.shape??"rounded",value:this.value??""})}default:return s("div",{class:"xpl-input-wrapper"},!this.multiline&&s("label",{class:{"xpl-input-pre":!0,"xpl-input-pre--hidden":!this.pre&&!this.hasPreSlotContent},htmlFor:this._id},s("slot",{name:"pre"},this.pre)),this.multiline?s("textarea",{disabled:this.disabled,id:this._id,name:this.name,placeholder:this.placeholder,readonly:this.readonly,ref:t=>{this.input=t??void 0},required:this.required,onChange:this.valueChanged,onFocus:this.handleFocus,onBlur:this.handleBlur,onInput:this.handleInput},this.value):s("input",{autocomplete:this.autocomplete,disabled:this.disabled,id:this._id,max:this.max,min:this.min,name:this.name,placeholder:this.placeholder,readonly:this.readonly,ref:t=>{this.input=t??void 0},required:this.required,step:this.step,type:this.type,value:this.value,onChange:this.valueChanged,onFocus:this.handleFocus,onBlur:this.handleBlur,onInput:this.handleInput}),"password"===this.type&&s("button",{"aria-label":"Toggle password visibility",class:"xpl-input-password",onClick:()=>{this.passwordVisible=!this.passwordVisible},role:"presentation"},s("xpl-icon",{icon:this.passwordVisible?"eye-closed":"eye",size:24})),this.post&&!this.multiline&&s("label",{class:"xpl-input-post",htmlFor:this._id},this.post),this.multiline&&void 0!==this.maxCharacterCount&&s("span",{class:"xpl-input-characters"},this.characterCount,"/",this.maxCharacterCount))}}render(){let t=!1;return(void 0!==this.error||this.multiline&&void 0!==this.maxCharacterCount&&this.characterCount>this.maxCharacterCount)&&(t=!0),s(n,{key:"a276769b767bc7df63e2701697600c0ecbfa593e",class:{"xpl-input":!0,"xpl-input--disabled":!!this.disabled,"xpl-input--error":t,"xpl-input--readonly":!!this.readonly,[`xpl-input--${this.type}`]:!0}},this.label&&s("label",{key:"1686d1f5c9fc573929190bc1a04bf9efd2ad6957",class:"xpl-input-label",htmlFor:this._id},this.label,this.description&&s("small",{key:"1f74f68e8eeae5186e50ace2e96a9896b022fa30"},this.description)),this.renderInput(),(this.error?.length??0)>0&&s("label",{key:"2ee7de8b1dcb4cc27d7dcf8b34be66727ace1bfe",class:"xpl-input-error",htmlFor:this._id,id:`${this._id}-error`},s("xpl-icon",{key:"d3965b339f2d24dec0fdde367e76aacfefd25061",icon:"circle-warning",size:16}),s("span",{key:"b6269e3f122a53980438c21cfbda2e18b3c77a7e"},this.error)))}get el(){return this}},[260,"xpl-input",{_id:[1],description:[1],disabled:[4],error:[1],label:[1],name:[1],required:[4],readonly:[4],value:[1],autocomplete:[1],placeholder:[1],post:[1],pre:[1],max:[8],min:[8],step:[2],multiline:[4],maxCharacterCount:[2,"max-character-count"],dateFormat:[1,"date-format"],timeFormat:[1,"time-format"],allowCustomOption:[4,"allow-custom-option"],mode:[1],accept:[1],multiple:[4],hideTriggerOnSelect:[4,"hide-trigger-on-select"],hideFileNames:[4,"hide-file-names"],hideAcceptText:[4,"hide-accept-text"],hideEyeDropper:[4,"hide-eye-dropper"],defaultCountry:[1,"default-country"],preferredCountries:[16],isInternational:[4,"is-international"],ariaLabel:[1,"aria-label"],shape:[1],type:[1],characterCount:[32],passwordVisible:[32],hasPreSlotContent:[32],setFocus:[64]}]);function P(){"undefined"!=typeof customElements&&["xpl-input","xpl-dropdown","xpl-dropdown-group","xpl-dropdown-heading","xpl-dropdown-option","xpl-icon","xpl-input","xpl-input-color","xpl-input-date","xpl-input-file","xpl-input-phone","xpl-input-search","xpl-input-time","xpl-popover"].forEach((t=>{switch(t){case"xpl-input":customElements.get(a(t))||customElements.define(a(t),V);break;case"xpl-dropdown":customElements.get(a(t))||o();break;case"xpl-dropdown-group":customElements.get(a(t))||r();break;case"xpl-dropdown-heading":customElements.get(a(t))||h();break;case"xpl-dropdown-option":customElements.get(a(t))||l();break;case"xpl-icon":customElements.get(a(t))||c();break;case"xpl-input":customElements.get(a(t))||P();break;case"xpl-input-color":customElements.get(a(t))||A();break;case"xpl-input-date":customElements.get(a(t))||d();break;case"xpl-input-file":customElements.get(a(t))||u();break;case"xpl-input-phone":customElements.get(a(t))||F();break;case"xpl-input-search":customElements.get(a(t))||m();break;case"xpl-input-time":customElements.get(a(t))||M();break;case"xpl-popover":customElements.get(a(t))||f()}}))}export{V as I,O as a,A as b,D as c,P as d,F as e,_ as f,M as g}
1
+ import{p as t,H as e,d as i,h as s,c as n,t as a}from"./p-BqhTjJWq.js";import{d as o}from"./p-CjzUVpyd.js";import{d as r}from"./p-2XxO7M15.js";import{d as h}from"./p-BWAytJnz.js";import{d as l}from"./p-DHxDWgLP.js";import{d as c}from"./p-Bh-U2qmp.js";import{i as p}from"./p-Dqb1pIRo.js";import{d}from"./p-DbN9vTl7.js";import{d as u}from"./p-3R1VKKds.js";import{d as m}from"./p-BowQ58XR.js";import{v as b}from"./p-CK3_k8jD.js";import{d as f}from"./p-Dl__XgUD.js";const x=(t,e,i)=>{const s=(i/=100)*(e/=100),n=s*(1-Math.abs(t/60%2-1)),a=i-s;let o=0,r=0,h=0;return t<60?(o=s,r=n,h=0):t<120?(o=n,r=s,h=0):t<180?(o=0,r=s,h=n):t<240?(o=0,r=n,h=s):t<300?(o=n,r=0,h=s):(o=s,r=0,h=n),{r:Math.round(255*(o+a)),g:Math.round(255*(r+a)),b:Math.round(255*(h+a))}},g=(t,e,i)=>[t,e,i].map((t=>t.toString(16).padStart(2,"0"))).join(""),C=t=>{if(t.startsWith("#")){if(!/^#([a-fA-F\d]{6})$/.test(t))throw new Error("xpl-input-color: Only 6-digit hex format supported (e.g. #aabbcc)");const e=t.toLowerCase().slice(1),i=parseInt(e.slice(0,2),16),s=parseInt(e.slice(2,4),16),n=parseInt(e.slice(4,6),16);return{hex:e,r:i,g:s,b:n,a:1}}if(t.startsWith("rgba")||t.startsWith("rgb")){const e=t.match(/[\d.]+/g)?.map(Number);if(!e||e.length<3)throw new Error("xpl-input-color: Invalid rgba/rgb format");const[i,s,n,a=1]=e,o=t=>t.toString(16).padStart(2,"0");return{hex:`${o(i)}${o(s)}${o(n)}`.toLowerCase(),r:i,g:s,b:n,a}}if(t.startsWith("hsla")||t.startsWith("hsl")){const e=t.match(/[\d.]+/g)?.map(Number);if(!e||e.length<3)throw new Error("xpl-input-color: Invalid hsla/hsl format");const[i,s,n,a=1]=e,o=((t,e,i,s)=>{i/=100;const n=e=>(e+t/30)%12,a=(e/=100)*Math.min(i,1-i),o=t=>i-a*Math.max(-1,Math.min(n(t)-3,Math.min(9-n(t),1)));return`rgba(${Math.round(255*o(0))}, ${Math.round(255*o(8))}, ${Math.round(255*o(4))}, ${s})`})(i,s,n,a),r=o.match(/[\d.]+/g)?.map(Number);if(!r||r.length<3)throw new Error("xpl-input-color: Invalid hsla/hsl format");const[h,l,c]=r;return{hex:g(h,l,c).toLowerCase(),r:h,g:l,b:c,a}}throw new Error("xpl-input-color: Unsupported color format")},y=t=>t.a&&1!==t.a?`rgba(${t.r}, ${t.g}, ${t.b}, ${t.a})`:`#${t.hex}`,v=[{countryCode:"US",dialCode:"+1",name:"United States"},{countryCode:"CA",dialCode:"+1",name:"Canada"},{countryCode:"GB",dialCode:"+44",name:"United Kingdom"},{countryCode:"AU",dialCode:"+61",name:"Australia"},{countryCode:"DE",dialCode:"+49",name:"Germany"},{countryCode:"FR",dialCode:"+33",name:"France"},{countryCode:"ES",dialCode:"+34",name:"Spain"},{countryCode:"IT",dialCode:"+39",name:"Italy"},{countryCode:"NL",dialCode:"+31",name:"Netherlands"},{countryCode:"BE",dialCode:"+32",name:"Belgium"},{countryCode:"AT",dialCode:"+43",name:"Austria"},{countryCode:"CH",dialCode:"+41",name:"Switzerland"},{countryCode:"PL",dialCode:"+48",name:"Poland"},{countryCode:"IE",dialCode:"+353",name:"Ireland"},{countryCode:"PT",dialCode:"+351",name:"Portugal"},{countryCode:"SE",dialCode:"+46",name:"Sweden"},{countryCode:"NO",dialCode:"+47",name:"Norway"},{countryCode:"DK",dialCode:"+45",name:"Denmark"},{countryCode:"FI",dialCode:"+358",name:"Finland"},{countryCode:"NZ",dialCode:"+64",name:"New Zealand"},{countryCode:"JP",dialCode:"+81",name:"Japan"},{countryCode:"CN",dialCode:"+86",name:"China"},{countryCode:"IN",dialCode:"+91",name:"India"},{countryCode:"BR",dialCode:"+55",name:"Brazil"},{countryCode:"MX",dialCode:"+52",name:"Mexico"},{countryCode:"ZA",dialCode:"+27",name:"South Africa"},{countryCode:"SG",dialCode:"+65",name:"Singapore"},{countryCode:"HK",dialCode:"+852",name:"Hong Kong"},{countryCode:"KR",dialCode:"+82",name:"South Korea"}];function $(t){return v.find((e=>e.countryCode===t))}function k(t){return(t||"").replace(/\D/g,"")}function E(t){switch(t){case"US":case"CA":case"MX":case"JP":case"IN":case"KR":return 10;case"GB":case"DE":case"AT":case"CH":case"BR":case"CN":return 11;case"AU":case"FR":return 9;default:return 15}}function w(t,e){if(!t)return"";const i=t.replace(/\D/g,"");switch(e){case"US":case"CA":return function(t){const e=Math.min(t.length,10);return e<=3?t.slice(0,e):e<=6?`${t.slice(0,3)} ${t.slice(3,e)}`:`${t.slice(0,3)} ${t.slice(3,6)} ${t.slice(6,e)}`}(i);case"GB":return function(t){const e=Math.min(t.length,11);return e<=4?t.slice(0,e):e<=7?`${t.slice(0,4)} ${t.slice(4,e)}`:`${t.slice(0,4)} ${t.slice(4,7)} ${t.slice(7,e)}`}(i);case"AU":return function(t){const e=Math.min(t.length,9);return e<=1?t.slice(0,e):e<=4?`${t.slice(0,1)} ${t.slice(1,e)}`:e<=7?`${t.slice(0,1)} ${t.slice(1,4)} ${t.slice(4,e)}`:`${t.slice(0,1)} ${t.slice(1,4)} ${t.slice(4,7)} ${t.slice(7,e)}`}(i);case"DE":case"AT":case"CH":return function(t){const e=Math.min(t.length,11);return e<=3?t.slice(0,e):`${t.slice(0,3)} ${t.slice(3,e)}`}(i);case"FR":return function(t){const e=Math.min(t.length,9),i=[];let s=0;for(e>0&&(i.push(t.slice(0,1)),s=1);s<e&&s+2<=e;)i.push(t.slice(s,s+2)),s+=2;return s<e&&i.push(t.slice(s)),i.join(" ")}(i);case"BR":return function(t){const e=Math.min(t.length,11);return e<=2?e?`(${t}`:"":e<=6||7===e?`(${t.slice(0,2)}) ${t.slice(2,e)}`:`(${t.slice(0,2)}) ${t.slice(2,7)}-${t.slice(7,e)}`}(i);case"MX":return function(t){const e=Math.min(t.length,10);return e<=3?t.slice(0,e):e<=6?`${t.slice(0,3)} ${t.slice(3,e)}`:`${t.slice(0,3)} ${t.slice(3,6)} ${t.slice(6,e)}`}(i);case"JP":return function(t){const e=Math.min(t.length,10);return e<=3?t.slice(0,e):e<=7?`${t.slice(0,3)}-${t.slice(3,e)}`:`${t.slice(0,3)}-${t.slice(3,7)}-${t.slice(7,e)}`}(i);case"CN":return function(t){const e=Math.min(t.length,11);return e<=3?t.slice(0,e):e<=7?`${t.slice(0,3)} ${t.slice(3,e)}`:`${t.slice(0,3)} ${t.slice(3,7)} ${t.slice(7,e)}`}(i);case"IN":return function(t){const e=Math.min(t.length,10);return e<=5?t.slice(0,e):`${t.slice(0,5)} ${t.slice(5,e)}`}(i);case"KR":return function(t){const e=Math.min(t.length,10);return e<=3?t.slice(0,e):e<=7?`${t.slice(0,3)} ${t.slice(3,e)}`:`${t.slice(0,3)} ${t.slice(3,7)} ${t.slice(7,e)}`}(i);default:return function(t){const e=t.length;if(e<=3)return t;const i=[];let s=0;for(;s<e;){const n=e-s>=4?4:3;i.push(t.slice(s,s+n)),s+=n}return i.join(" ")}(i)}}function S(t){const[e,i]=t.split(":"),s=Number(e)>=12?"PM":"AM";return[(Number(e)%12||12).toString(),i,s]}const _=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.valueChange=i(this,"valueChange",7),this.hasErrorStateChanged=i(this,"hasErrorStateChanged",7),this.max="23:59",this.min="00:00",this.step=30,this.mode="single",this.timeFormat="24h",this.allowCustomOption=!1,this.showOptions=!1,this.options=[],this.handleInput=t=>{const e=t.target,i=e.value?.replace(/[^0-9:apmAPM]/g,"");this.value=i},this.handleFocus=()=>{this.showOptions=!0},this.handleBlur=()=>{const t=function(t){if(!t||""===t.trim()||0===t.replace(/[^0-9]/g,"").length)return null;let e=t.trim().toLowerCase();e=e.replace(/(\d)\s+(am|pm)/g,"$1$2"),/^\d{1,2}(am|pm)?$/.test(e)&&(e=e.replace(/(am|pm)?$/,":00$1")),/^\d{1,2}$/.test(e)&&(e=`${e}:00`),/^\d{1,2}:\d{1}$/.test(e)&&(e=`${e}0`);const[i,s]=e.split(":"),n=s.replace(/[^0-9]/g,""),a=e.includes("am");return e.includes("pm")||a?a?`${(Number(i)%12).toString().padStart(2,"0")}:${n}`:`${Number(i)%12+12}:${n}`:`${i.padStart(2,"0")}:${n}`}(this.value??"");this.value=t??void 0},this.handleClick=()=>{this.showOptions=!0}}onValueChange(t){this.valueChange.emit(t),this.updateState(t)}updateState(t){this.formattedValue=this.formatDisplayedTime(t),this.amPm=this.formatDisplayedAmPm(t),this.validateValue()}formatDisplayedTime(t){if(!t)return"";if("12h"===this.timeFormat&&t.includes(":")){const[e,i]=S(t);return`${e}:${i}`}return t}formatDisplayedAmPm(t){if(!t||"12h"!==this.timeFormat)return"";const[,,e]=S(t);return e}validateValue(){if(!this.value)return void(this.hasErrorState=this.required?"required":null);if(!this.value.includes(":")||this.value.trim().length<4||this.value.trim().length>5)return void(this.hasErrorState="Invalid time format, must be HH:MM");const t=String(this.min??"00:00"),e=String(this.max??"23:59");this.hasErrorState=this.value<t||this.value>e?"Out of range":this.allowCustomOption||this.options.some((t=>t.value===this.value))?null:"Invalid option"}onHasErrorStateChanged(t){this.hasErrorStateChanged.emit(t)}componentDidLoad(){"range"===this.mode&&console.warn("Range mode is not supported for time inputs at this time."),this.dropdown?.addEventListener("isOpenChange",(t=>{this.showOptions=t.detail}))}componentWillLoad(){this.options=this.getOptions(),this.value&&this.updateState(this.value)}getOptions(){return function(t,e,i,s){const n=t=>{const[e,i]=t.split(":").map(Number);return 60*e+i},a=n(e.toString()),o=n(i.toString()),r=[];for(let e=a;e<=o;e+=t)r.push((h=e,`${Math.floor(h/60).toString().padStart(2,"0")}:${(h%60).toString().padStart(2,"0")}`));var h;return r.map((t=>({label:"12h"===s?function(t){const[e,i,s]=S(t);return`${e}:${i} ${s}`}(t):t,value:t})))}(this.step,String(this.min??"00:00"),String(this.max??"23:59"),this.timeFormat??"24h").map((({label:t,value:e})=>({label:t,value:e,onClick:()=>{this.value=e,this.showOptions=!1}})))}render(){return s(n,{key:"098ef69d355f6bdf03b4bfbab59956f84d5967b4",class:{"xpl-input-time":!0,[`xpl-input-time--mode-${this.mode}`]:!0,"xpl-input-time--error":!!this.hasErrorState}},s("xpl-input",{key:"e73a120a00a6f110e99e1a7d54bc75c024a2e1dc",pre:s("xpl-icon",{class:"xpl-input-time__clock-icon",icon:"clock",size:24}),post:"12h"===this.timeFormat?this.amPm||"AM":void 0,type:"text",_id:this.inputId,disabled:this.disabled,name:this.name,required:this.required,readonly:this.readonly,placeholder:this.placeholder,max:this.max,min:this.min,onInput:this.handleInput,value:this.formattedValue,onFocusEvent:this.handleFocus,onBlurEvent:this.handleBlur,onClick:this.handleClick}),!this.readonly&&!this.disabled&&s("xpl-dropdown",{key:"454de00fca4a891eaffc71738538425fa9f4e34f",options:this.options,isOpen:this.showOptions,ref:t=>{this.dropdown=t??void 0},class:"xpl-input-time__dropdown"}))}static get watchers(){return{value:[{onValueChange:0}],hasErrorState:[{onHasErrorStateChanged:0}]}}},[0,"xpl-input-time",{inputId:[1,"input-id"],disabled:[4],name:[1],required:[4],readonly:[4],value:[1537],placeholder:[1],max:[8],min:[8],step:[2],mode:[1],timeFormat:[1,"time-format"],allowCustomOption:[4,"allow-custom-option"],formattedValue:[32],hasErrorState:[32],showOptions:[32],options:[32],amPm:[32]},void 0,{value:[{onValueChange:0}],hasErrorState:[{onHasErrorStateChanged:0}]}]);function M(){"undefined"!=typeof customElements&&["xpl-input-time","xpl-dropdown","xpl-dropdown-group","xpl-dropdown-heading","xpl-dropdown-option","xpl-icon","xpl-input","xpl-input-color","xpl-input-date","xpl-input-file","xpl-input-phone","xpl-input-search","xpl-input-time"].forEach((t=>{switch(t){case"xpl-input-time":customElements.get(a(t))||customElements.define(a(t),_);break;case"xpl-dropdown":customElements.get(a(t))||o();break;case"xpl-dropdown-group":customElements.get(a(t))||r();break;case"xpl-dropdown-heading":customElements.get(a(t))||h();break;case"xpl-dropdown-option":customElements.get(a(t))||l();break;case"xpl-icon":customElements.get(a(t))||c();break;case"xpl-input":customElements.get(a(t))||P();break;case"xpl-input-color":customElements.get(a(t))||A();break;case"xpl-input-date":customElements.get(a(t))||d();break;case"xpl-input-file":customElements.get(a(t))||u();break;case"xpl-input-phone":customElements.get(a(t))||F();break;case"xpl-input-search":customElements.get(a(t))||m();break;case"xpl-input-time":customElements.get(a(t))||M()}}))}function I(t){return t.toLowerCase().replace(/ /g,"-")}const D=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.hasErrorStateChanged=i(this,"hasErrorStateChanged",7),this.valueChange=i(this,"valueChange",7),this.lastCursorRef=0,this.lastFormattedRef="",this.dropdownOpen=!1,this.hasErrorState=null,this.nationalNumber="",this.searchQuery="",this.triggerId=`xpl-input-phone-trigger-${b()}`,this.defaultCountry="US",this.isInternational=!0,this.handleTriggerClick=()=>{this.isEditable&&(this.dropdownOpen=!this.dropdownOpen)},this.handleNumberInput=t=>{const e=t.target,i=e.value||"";let s;if(this.lastCursorRef=e.selectionStart??0,this.lastFormattedRef=i,this.isInternational&&i.startsWith("+")){const t=k(i),e=this.effectiveDialCode.slice(1).replace(/\D/g,"");s=e&&t.startsWith(e)?t.slice(e.length):t}else s=k(i);const n=E(this.effectiveCountryCode);s.length>n&&(s=s.slice(0,n)),this.nationalNumber=s,this.emitValue(),e.value=this.displayValue},this.handleClear=()=>{this.nationalNumber="",this.emitValue(),this.inputEl?.focus()},this.handleDropdownUpdate=(t,{component:e})=>{const i=e??this.dropdownRef;if(!i)return;const{options:s}=i;if(s?.length){const t=s.reduce(((t,e)=>[...t,...e.groupName?e.options??[]:[e]]),[]).find((t=>t.isSelected));if(t?.value){const e=$(t.value);e&&(this.selectedCountry=e,this.emitValue(),this.inputEl?.focus())}}}}onDropdownOpenChange(t){t&&(this.searchQuery="")}onHasErrorStateChanged(t){this.hasErrorStateChanged.emit(t)}onValueChange(t){if(null==t||""===t){const t=$(this.defaultCountry??"US")||v[0];return this.selectedCountry=t,void(this.nationalNumber="")}const e=function(t){if(!t||!t.startsWith("+"))return null;const e=t.slice(1).replace(/\D/g,"");if(!e.length)return null;const i=[...v].sort(((t,e)=>e.dialCode.replace(/\D/g,"").length-t.dialCode.replace(/\D/g,"").length)).find((t=>{const i=t.dialCode.slice(1).replace(/\D/g,"");return e.startsWith(i)}));if(!i)return null;const s=i.dialCode.slice(1).replace(/\D/g,""),n=e.slice(s.length);return{dialCode:i.dialCode,nationalNumber:n}}(t);if(e)if(this.selectedCountry?.dialCode===e.dialCode)this.nationalNumber=e.nationalNumber;else{const t=$(this.defaultCountry??"US"),s=(t?.dialCode===e.dialCode?t:void 0)??(i=e.dialCode,v.find((t=>t.dialCode===i)));s&&(this.selectedCountry=s,this.nationalNumber=e.nationalNumber)}else this.selectedCountry||(this.selectedCountry=$(this.defaultCountry??"US")||v[0]);var i}componentWillLoad(){this.value?this.onValueChange(this.value):this.selectedCountry=$(this.defaultCountry??"US")||v[0]}componentDidUpdate(){if(this.inputEl&&this.lastFormattedRef&&"function"==typeof this.inputEl.setSelectionRange){const t=function(t,e,i){if(i>=t.length)return e.length;const s=k(t.slice(0,i)).length;let n=0,a=0;for(let t=0;t<e.length;t+=1){if(/\d/.test(e[t])&&(a+=1,a>=s)){n=t+(a===s?1:0);break}n=t+1}return Math.min(n,e.length)}(this.lastFormattedRef,this.displayValue,this.lastCursorRef);this.inputEl.setSelectionRange(t,t),this.lastFormattedRef=""}else this.inputEl&&this.lastFormattedRef&&(this.lastFormattedRef="")}get effectiveCountryCode(){return this.selectedCountry?.countryCode??this.defaultCountry??"US"}get effectiveDialCode(){return this.selectedCountry?.dialCode??"+1"}get isEditable(){return!this.disabled&&!this.readonly}get orderedCountries(){const t=this.preferredCountries||[],e=v.filter((e=>!t.includes(e.countryCode)));return[...t.map((t=>$(t))).filter((t=>void 0!==t)),...e]}get filteredCountries(){const t=this.searchQuery.trim().toLowerCase();return t?this.orderedCountries.filter((e=>e.name.toLowerCase().includes(t)||e.dialCode.includes(t)||e.countryCode.toLowerCase().includes(t))):this.orderedCountries}get displayValue(){return this.nationalNumber?w(this.nationalNumber,this.effectiveCountryCode):""}get effectivePlaceholder(){if(this.placeholder)return this.placeholder;const t=this.selectedCountry;return t?function(t){switch(t){case"US":case"CA":case"MX":default:return"000 000 0000";case"GB":return"0000 000 0000";case"AU":return"0 000 000 000";case"DE":case"AT":case"CH":return"000 0000000";case"FR":return"0 00 00 00 00";case"BR":return"00 00000 0000";case"JP":case"CN":case"KR":return"000 0000 0000";case"IN":return"00000 00000"}}(t.countryCode):""}get dropdownOptions(){return this.filteredCountries.map((t=>({icon:I(t.name),label:`${t.name} (${t.dialCode})`,value:t.countryCode,isSelected:this.selectedCountry?.countryCode===t.countryCode})))}get maxInputLength(){const t=E(this.effectiveCountryCode);return w("9".repeat(t),this.effectiveCountryCode).length}emitValue(){const t=this.nationalNumber?function(t,e){const i=(t.slice(1)+e).replace(/\D/g,"");return i.length?`+${i}`:""}(this.effectiveDialCode,this.nationalNumber):"";this.value=t||void 0,this.valueChange.emit(t||""),this.validate()}validate(){this.hasErrorState=!this.required||this.nationalNumber.trim()?null:"required"}render(){return s(n,{key:"c78f7ab5d5c6f6982356d7610fe32855d7f214c5",class:{"xpl-input-phone":!0,"xpl-input-phone--error":!!this.hasErrorState||!!this.error,"xpl-input-phone--open":this.dropdownOpen,"xpl-input-phone--domestic":!this.isInternational}},s("div",{key:"3b30f8755836376728336f769afeb714b9a3dfa9",class:"xpl-input-wrapper"},this.isInternational&&s("button",{key:"c83ff2255a465d7d5d233ce02a816845858594be",type:"button",id:this.triggerId,class:"xpl-input-phone__trigger",disabled:this.disabled,"aria-haspopup":"listbox","aria-expanded":this.dropdownOpen?"true":"false","aria-label":"Select country",onClick:this.handleTriggerClick},this.selectedCountry?.name&&s("xpl-icon",{key:"f0a62a5052b940f4a2212ed77929696e62b4825f",class:"xpl-input-phone__flag",icon:I(this.selectedCountry.name),size:24,"aria-hidden":"true"}),s("xpl-icon",{key:"68782b949fd1cf41a8b0883ad6caba18d9aa1ac5",class:"xpl-input-phone__trigger-icon",icon:"chevron-down",size:20,"aria-hidden":"true"})),s("div",{key:"6aa5f75f34b413bd8939d46c55b7cc42128db247",class:"xpl-input-phone__input-wrap"},this.isInternational&&s("span",{key:"81dc5727f8dca528f34994736c1a8a2223e8fe63",class:"xpl-input-phone__dial-code"},this.effectiveDialCode),s("input",{key:"d0faecadd4216bf6a7b79fc9623052e194900c15",ref:t=>{this.inputEl=t??void 0},type:"tel",id:this.inputId,class:"xpl-input-phone__input",name:this.name,disabled:this.disabled,readonly:this.readonly,required:this.required,"aria-invalid":this.hasErrorState||this.error?"true":"false",placeholder:this.effectivePlaceholder,autocomplete:this.isInternational?"tel-national":"tel",inputmode:"numeric",maxlength:this.maxInputLength,value:this.displayValue,onInput:this.handleNumberInput}),this.nationalNumber&&this.isEditable&&s("button",{key:"12a2e4ce8adb80ca4d6fca1c706c54db01d22101",type:"button",class:"xpl-input-phone__clear","aria-label":"Clear phone number",onClick:this.handleClear},s("xpl-icon",{key:"f1ae5e69258654e8ba5bf511755020e0d7d91088",icon:"x-circle",size:16})))),this.isInternational&&this.isEditable&&s("xpl-dropdown",{key:"d8a75cf0b95d9affae6e03292c011a73dcff98b4",ref:t=>{this.dropdownRef=t??void 0},isOpen:this.dropdownOpen,triggerId:this.triggerId,anchorToTrigger:!0,closeOnSelect:!0,mode:"single",options:this.dropdownOptions,update:this.handleDropdownUpdate,onIsOpenChange:t=>{this.dropdownOpen=t.detail},"aria-label":"Country"},s("div",{key:"b46a4a9985604720099c3212714804aee5a1f58b",slot:"header",class:"xpl-input-phone__search-wrap"},s("xpl-input",{key:"55bdc0f6ff4b1a1a2d17b5ba10849bcab472d7d8",class:"xpl-input-phone__search",type:"text",label:"",placeholder:"Search",value:this.searchQuery,autocomplete:"off",onInputEvent:t=>{this.searchQuery=t.detail??""}},s("xpl-icon",{key:"af0fd388d39e6d9bcac5a032c7c0cf5f192cc4d3",slot:"pre",class:"xpl-input-phone__search-icon",icon:"magnifier",size:20})))))}get el(){return this}static get watchers(){return{dropdownOpen:[{onDropdownOpenChange:0}],hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValueChange:0}]}}},[0,"xpl-input-phone",{defaultCountry:[1,"default-country"],disabled:[4],error:[4],inputId:[1,"input-id"],isInternational:[4,"is-international"],name:[1],placeholder:[1],preferredCountries:[16],readonly:[4],required:[4],value:[1537],dropdownOpen:[32],hasErrorState:[32],nationalNumber:[32],searchQuery:[32],selectedCountry:[32],triggerId:[32]},void 0,{dropdownOpen:[{onDropdownOpenChange:0}],hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValueChange:0}]}]);function F(){"undefined"!=typeof customElements&&["xpl-input-phone","xpl-dropdown","xpl-dropdown-group","xpl-dropdown-heading","xpl-dropdown-option","xpl-icon","xpl-input","xpl-input-color","xpl-input-date","xpl-input-file","xpl-input-phone","xpl-input-search","xpl-input-time"].forEach((t=>{switch(t){case"xpl-input-phone":customElements.get(a(t))||customElements.define(a(t),D);break;case"xpl-dropdown":customElements.get(a(t))||o();break;case"xpl-dropdown-group":customElements.get(a(t))||r();break;case"xpl-dropdown-heading":customElements.get(a(t))||h();break;case"xpl-dropdown-option":customElements.get(a(t))||l();break;case"xpl-icon":customElements.get(a(t))||c();break;case"xpl-input":customElements.get(a(t))||P();break;case"xpl-input-color":customElements.get(a(t))||A();break;case"xpl-input-date":customElements.get(a(t))||d();break;case"xpl-input-file":customElements.get(a(t))||u();break;case"xpl-input-phone":customElements.get(a(t))||F();break;case"xpl-input-search":customElements.get(a(t))||m();break;case"xpl-input-time":customElements.get(a(t))||M()}}))}const N={hex:"",r:0,g:0,b:0,a:1},O=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.inputChange=i(this,"inputChange",7),this.hasErrorStateChanged=i(this,"hasErrorStateChanged",7),this.placeholder="Select color",this.eyeDropperSupported=!1,this.colorInputElements={},this.handleMove=t=>{const{slGrid:e}=this.colorInputElements;if(!e)return;const i=e.getBoundingClientRect(),s="touches"in t?t.touches[0].clientY:t.clientY,n=Math.max(0,Math.min(("touches"in t?t.touches[0].clientX:t.clientX)-i.left,i.width)),a=Math.max(0,Math.min(s-i.top,i.height)),o=n/i.width,r=a/i.height,h=x(this.hue,100,100),l=(255*(1-o)+o*h.r)*(1-r),c=(255*(1-o)+o*h.g)*(1-r),p=(255*(1-o)+o*h.b)*(1-r),d={r:Math.round(l),g:Math.round(c),b:Math.round(p),hex:g(Math.round(l),Math.round(c),Math.round(p)),a:this.colorValues.a};this.colorValues=d},this.startDrag=t=>{t.preventDefault(),this.handleMove(t),window.addEventListener("mousemove",this.handleMove),window.addEventListener("mouseup",this.stopDrag),window.addEventListener("touchmove",this.handleMove),window.addEventListener("touchend",this.stopDrag)},this.stopDrag=()=>{window.removeEventListener("mousemove",this.handleMove),window.removeEventListener("mouseup",this.stopDrag),window.removeEventListener("touchmove",this.handleMove),window.removeEventListener("touchend",this.stopDrag)},this.onHexInputChange=t=>{const e=t.detail?t.detail.trim().replace(/#/g,""):"";if(e){const[t,i,s]=(t=>{const e=t?.match(/\w\w/g);return e?e.map((t=>parseInt(t,16))):[0,0,0]})(e);this.colorValues={hex:e,r:t,g:i,b:s,a:this.colorValues.a??1}}else this.colorValues={...N}},this.onRgbaInputChange=(t,e)=>{const i=parseFloat(e.detail);if(Number.isNaN(i))return void(this.hasErrorState=`invalid value from ${t.name}: ${i}`);const s={...this.colorValues};switch(t.name){case"color-r-input":s.r=i;break;case"color-g-input":s.g=i;break;case"color-b-input":s.b=i;break;case"color-a-input":s.a=i;break;default:this.hasErrorState=`unhandled input: ${t.name}`}s.hex=g(s.r,s.g,s.b),this.colorValues=s},this.onSliderInputChange=t=>{const e=parseFloat(t.value);if(Number.isNaN(e))this.hasErrorState=`invalid value from ${t.name}: ${e}`;else switch(t.name){case"color-hue-slider":this.colorValues=C(`hsla(${e}, 100%, 50%, 1)`),this.hue=e;break;case"color-alpha-slider":this.colorValues={...this.colorValues,a:e};break;default:this.hasErrorState=`unhandled input: ${t.name}`}}}valueChanged(t){this.hasErrorState=this.required&&!t.hex?"required":null,this.inputChange.emit(t.hex?y(t):"")}onHasErrorStateChanged(t){this.hasErrorStateChanged.emit(t)}onValuePropChange(t){this.syncColorFromValue(t)}syncColorFromValue(t){if(t)try{this.colorValues=C(t),this.hue=(()=>{const t=this.colorValues.r/255,e=this.colorValues.g/255,i=this.colorValues.b/255,s=Math.max(t,e,i),n=Math.min(t,e,i),a=s-n;let o=0,r=0;const h=(s+n)/2;if(0!==a){switch(r=a/(1-Math.abs(2*h-1)),s){case t:o=(e-i)/a%6;break;case e:o=(i-t)/a+2;break;case i:o=(t-e)/a+4}o*=60,o<0&&(o+=360)}return{hue:Math.round(o),saturation:Math.round(100*r),lightness:Math.round(100*h)}})().hue}catch{this.hasErrorState="invalid color format",this.hue=0}else this.colorValues={...N},this.hasErrorState=null,this.hue=0}componentWillLoad(){this.syncColorFromValue(this.value)}componentDidLoad(){p()&&(this.eyeDropperSupported="EyeDropper"in window);const{r:t,g:e,b:i,a:s,hue:n,alpha:a,hex:o}=this.colorInputElements;o?.addEventListener("valueChange",(t=>{this.onHexInputChange(t),t.stopPropagation()})),[t,e,i,s].forEach((t=>{t?.addEventListener("valueChange",(e=>{this.onRgbaInputChange(t,e),e.stopPropagation()}))})),[n,a].forEach((t=>{t?.addEventListener("input",(()=>{this.onSliderInputChange(t)}))}))}async openEyeDropper(){try{const t=window.EyeDropper;if(!t)throw new Error("EyeDropper API is not available");const e=new t,i=await e.open();this.colorValues=C(i.sRGBHex)}catch(t){this.hasErrorState=`eyedropper cancelled or failed: ${t}`}}render(){const{r:t,g:e,b:i,a}=this.colorValues,o=x(this.hue,100,100),{x:r,y:h}=((t,e,i,s)=>{const{s:n,v:a}=((t,e,i,s)=>{t/=255,e/=255,i/=255;const n=Math.max(t,e,i),a=n-Math.min(t,e,i);let o=0;return o=0===a?0:n===t?(e-i)/a%6:n===e?(i-t)/a+2:(t-e)/a+4,o=Math.round(60*o),o<0&&(o+=360),{h:s??o,s:0===n?0:a/n,v:n}})(e.r,e.g,e.b,t);return{x:Math.round(n*i),y:Math.round((1-a)*s)}})(this.hue,{r:t,g:e,b:i},288,160),l={left:`${r}px`,top:`${h}px`,background:`rgb(${t}, ${e}, ${i})`};return s(n,{key:"baf8bd36a33134bff8b2e1ce1a5d81a567f232b2",class:"xpl-input-color"},s("xpl-popover",{key:"e5bfd446e4b900371ee8ca7c7c321692079c66fb",disabled:this.disabled,display:"menu"},s("div",{key:"9d40ccbf649ba0be2884bbc7dec84d7c1e9ddbb7",slot:"trigger"},s("div",{key:"6b4474af2dab4be116728135214403af7189d99f",class:{"xpl-input-color__display":!0,"xpl-input-color__display--disabled":!!this.disabled,"xpl-input-color__display--error":!!this.hasErrorState}},s("span",{key:"9372da25358b453c5b89f324886c986153b9386b",class:"xpl-input-color__color",style:{background:y(this.colorValues)}}),this.colorValues.hex?s("span",{class:"xpl-input-color__value"},y(this.colorValues)):s("span",{class:"xpl-input-color__placeholder"},this.placeholder),this.eyeDropperSupported&&!this.hideEyeDropper&&s("xpl-icon",{key:"a37bf00e4a70cda5e59cecfc7f108601bbb15e8e",size:20,icon:"eye-dropper",class:"xpl-input-color__icon",onClick:t=>{t.stopPropagation(),this.openEyeDropper()}}))),s("div",{key:"e95b3755b47802b446de5d7e9c25d2238dea23ef",class:"xpl-input-color__menu"},s("div",{key:"9ecc94c286d9cd0a5e25c92eaea3a2dd9ee4394b",class:"xpl-input-color__sl-grid",ref:t=>{this.colorInputElements.slGrid=t??void 0},style:{background:["linear-gradient(to top, #000, #0000)","linear-gradient(to right, #fff, #fff0)",`rgb(${o.r} ${o.g} ${o.b})`].join(", ")},onMouseDown:this.startDrag,onTouchStart:this.startDrag},s("div",{key:"85b2e591be85db2a2d3d1bbe65ee276a857b92fa",class:"xpl-input-color__sl-thumb",style:l})),s("div",{key:"b9d7f2fdc49d73db488d62f21433558b5b0a09a7",class:"xpl-input-color__grid"},s("input",{key:"3c260f54bde2c26a7b5980082cabf54e2d42340e",type:"range",min:"0",max:"360",value:this.hue,class:"xpl-input-color__slider xpl-input-color__hue",name:"color-hue-slider",ref:t=>{this.colorInputElements.hue=t??void 0}}),s("input",{key:"ef8ef568a1487b618aeeb986904a5eeefabba300",type:"range",min:"0",max:"1",step:"0.01",value:a,class:"xpl-input-color__slider xpl-input-color__alpha",name:"color-alpha-slider",ref:t=>{this.colorInputElements.alpha=t??void 0},style:{backgroundImage:[`linear-gradient(to right, rgb(${t} ${e} ${i} / 0) 0%, rgb(${t} ${e} ${i} / 1) 100%)`,"linear-gradient(45deg, #ccc 25%, transparent 25%)","linear-gradient(-45deg, #ccc 25%, transparent 25%)","linear-gradient(45deg, transparent 75%, #ccc 75%)","linear-gradient(-45deg, transparent 75%, #ccc 75%)"].join(", ")}}),s("div",{key:"b4953565664df14ad483f30c45b6ae5e717e6a63",class:"xpl-input-color__preview",style:{background:`rgba(${t}, ${e}, ${i}, ${a})`}})),s("div",{key:"731a00aa7075efc1a19849a58e5a81c8837ab199",class:"xpl-input-color__inputs"},["hex","r","g","b","a"].map((t=>s("xpl-input",{key:t,label:t.toLocaleUpperCase(),name:`color-${t}-input`,placeholder:"hex"===t?"793EF7":"0",value:String(this.colorValues[t]),ref:e=>{this.colorInputElements[t]=e??void 0}})))))))}static get watchers(){return{colorValues:[{valueChanged:0}],hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValuePropChange:0}]}}},[0,"xpl-input-color",{value:[1],placeholder:[1],disabled:[4],required:[4],hideEyeDropper:[4,"hide-eye-dropper"],hasErrorState:[32],colorValues:[32],eyeDropperSupported:[32],hue:[32]},void 0,{colorValues:[{valueChanged:0}],hasErrorState:[{onHasErrorStateChanged:0}],value:[{onValuePropChange:0}]}]);function A(){"undefined"!=typeof customElements&&["xpl-input-color","xpl-icon","xpl-input","xpl-input-color","xpl-input-date","xpl-input-file","xpl-input-phone","xpl-input-search","xpl-input-time","xpl-popover"].forEach((t=>{switch(t){case"xpl-input-color":customElements.get(a(t))||customElements.define(a(t),O);break;case"xpl-icon":customElements.get(a(t))||c();break;case"xpl-input":customElements.get(a(t))||P();break;case"xpl-input-color":customElements.get(a(t))||A();break;case"xpl-input-date":customElements.get(a(t))||d();break;case"xpl-input-file":customElements.get(a(t))||u();break;case"xpl-input-phone":customElements.get(a(t))||F();break;case"xpl-input-search":customElements.get(a(t))||m();break;case"xpl-input-time":customElements.get(a(t))||M();break;case"xpl-popover":customElements.get(a(t))||f()}}))}const V=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.blurEvent=i(this,"blurEvent",7),this.focusEvent=i(this,"focusEvent",7),this.inputEvent=i(this,"inputEvent",7),this.search=i(this,"search",7),this.valueChange=i(this,"valueChange",7),this.multiline=!1,this.dateFormat="Y-m-d",this.timeFormat="24h",this.allowCustomOption=!1,this.mode="single",this.accept="",this.multiple=!1,this.hideTriggerOnSelect=!1,this.hideFileNames=!1,this.hideAcceptText=!1,this.defaultCountry="US",this.isInternational=!0,this.ariaLabel="",this.type="text",this.handleChildValueChange=t=>{t.stopPropagation(),this.valueChange.emit(t.detail)},this.valueChanged=t=>{this.valueChange.emit(t.target.value)},this.characterCount=0,this.passwordVisible=!1,this.hasPreSlotContent=!1,this.handleBlur=t=>{this.blurEvent.emit(t)},this.handleFocus=t=>{this.focusEvent.emit(t)},this.handleInput=t=>{this.multiline&&this.updateCharacterCount();const{value:e}=t.target;this.inputEvent.emit(e)},this.handleSearchBlurForward=t=>{const{detail:e}=t;e&&(t.stopPropagation(),this.blurEvent.emit(e))},this.handleSearchCommit=t=>{t.stopPropagation(),this.search.emit(t.detail)},this.handleSearchFocusForward=t=>{const{detail:e}=t;e&&(t.stopPropagation(),this.focusEvent.emit(e))}}connectedCallback(){this.syncPreSlotContent(),this.connectPreSlotObserver()}disconnectedCallback(){void 0!==this.preSlotSyncTimeoutId&&(clearTimeout(this.preSlotSyncTimeoutId),this.preSlotSyncTimeoutId=void 0),this.disconnectPreSlotObserver()}componentWillLoad(){null!=this._id&&""!==this._id||(this._id=b()),this.multiline&&void 0!==this.maxCharacterCount&&(this.characterCount=void 0!==this.value?this.value.length:0),this.syncPreSlotContent()}componentWillRender(){this.disconnectPreSlotObserver()}componentDidRender(){this.schedulePreSlotSync()}async setFocus(){"search"!==this.type?this.input?.focus():await(this.searchInputRef?.setFocus())}connectPreSlotObserver(){this.disconnectPreSlotObserver(),this.multiline||"search"===this.type||"undefined"==typeof MutationObserver||(this.preSlotObserver=new MutationObserver((()=>{this.schedulePreSlotSync()})),this.preSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectPreSlotObserver(){this.preSlotObserver?.disconnect(),this.preSlotObserver=void 0}schedulePreSlotSync(){void 0!==this.preSlotSyncTimeoutId&&clearTimeout(this.preSlotSyncTimeoutId),this.preSlotSyncTimeoutId=setTimeout((()=>{this.preSlotSyncTimeoutId=void 0,this.el.isConnected&&(this.syncPreSlotContent(),this.connectPreSlotObserver())}),0)}syncPreSlotContent(){if(this.multiline||"search"===this.type)return;const t=Array.from(this.el.querySelectorAll('[slot="pre"]')).some((t=>t.closest("xpl-input")===this.el));t!==this.hasPreSlotContent&&(this.hasPreSlotContent=t)}updateCharacterCount(){this.characterCount=this.input?.value.length??0}renderInput(){switch(this.type){case"file":return s("xpl-input-file",{accept:this.accept,disabled:this.disabled,hideAcceptText:this.hideAcceptText,hideFileNames:this.hideFileNames,hideTriggerOnSelect:this.hideTriggerOnSelect,multiple:this.multiple,name:this.name,onInputChange:this.handleChildValueChange,_id:this._id},s("slot",{name:"trigger"}));case"color":return s("xpl-input-color",{disabled:this.disabled,value:this.value,placeholder:this.placeholder,required:this.required,hideEyeDropper:this.hideEyeDropper,onInputChange:this.handleChildValueChange});case"date":return s("xpl-input-date",{inputId:this._id,disabled:this.disabled,name:this.name,required:this.required,readonly:this.readonly,value:this.value,placeholder:this.placeholder,post:this.post,pre:this.pre,max:this.max,min:this.min,dateFormat:this.dateFormat,mode:this.mode,onValueChange:this.handleChildValueChange});case"time":return s("xpl-input-time",{inputId:this._id,disabled:this.disabled,name:this.name,required:this.required,readonly:this.readonly,value:this.value,placeholder:this.placeholder,max:this.max,min:this.min,step:this.step,mode:this.mode,timeFormat:this.timeFormat,allowCustomOption:this.allowCustomOption,onValueChange:this.handleChildValueChange});case"phone":return s("xpl-input-phone",{inputId:this._id,disabled:this.disabled,error:void 0!==this.error,name:this.name,required:this.required,readonly:this.readonly,value:this.value,placeholder:this.placeholder,defaultCountry:this.defaultCountry,preferredCountries:this.preferredCountries,isInternational:this.isInternational,onValueChange:this.handleChildValueChange});case"search":{const t=Boolean((this.label??"").trim()),e=void 0!==this.error,i=e&&(this.error?.length??0)>0;return s("xpl-input-search",{ariaLabel:(this.ariaLabel??"").trim()||"Search",autocomplete:this.autocomplete??"off",disabled:this.disabled,errorMessageId:i?`${this._id}-error`:void 0,hasError:e,hasVisibleLabel:t,inputId:this._id??"",name:this.name,onBlurEvent:this.handleSearchBlurForward,onFocusEvent:this.handleSearchFocusForward,onSearch:this.handleSearchCommit,onValueChange:this.handleChildValueChange,placeholder:this.placeholder??"Search",readonly:this.readonly,ref:t=>{this.searchInputRef=t??void 0},required:this.required,shape:this.shape??"rounded",value:this.value??""})}default:return s("div",{class:"xpl-input-wrapper"},!this.multiline&&s("label",{class:{"xpl-input-pre":!0,"xpl-input-pre--hidden":!this.pre&&!this.hasPreSlotContent},htmlFor:this._id},s("slot",{name:"pre"},this.pre)),this.multiline?s("textarea",{disabled:this.disabled,id:this._id,name:this.name,placeholder:this.placeholder,readonly:this.readonly,ref:t=>{this.input=t??void 0},required:this.required,onChange:this.valueChanged,onFocus:this.handleFocus,onBlur:this.handleBlur,onInput:this.handleInput},this.value):s("input",{autocomplete:this.autocomplete,disabled:this.disabled,id:this._id,max:this.max,min:this.min,name:this.name,placeholder:this.placeholder,readonly:this.readonly,ref:t=>{this.input=t??void 0},required:this.required,step:this.step,type:this.type,value:this.value,onChange:this.valueChanged,onFocus:this.handleFocus,onBlur:this.handleBlur,onInput:this.handleInput}),"password"===this.type&&s("button",{"aria-label":"Toggle password visibility",class:"xpl-input-password",onClick:()=>{this.passwordVisible=!this.passwordVisible},role:"presentation"},s("xpl-icon",{icon:this.passwordVisible?"eye-closed":"eye",size:24})),this.post&&!this.multiline&&s("label",{class:"xpl-input-post",htmlFor:this._id},this.post),this.multiline&&void 0!==this.maxCharacterCount&&s("span",{class:"xpl-input-characters"},this.characterCount,"/",this.maxCharacterCount))}}render(){let t=!1;return(void 0!==this.error||this.multiline&&void 0!==this.maxCharacterCount&&this.characterCount>this.maxCharacterCount)&&(t=!0),s(n,{key:"d57ab7978ef701d4783f6780bbd807e8ee07ac7d",class:{"xpl-input":!0,"xpl-input--disabled":!!this.disabled,"xpl-input--error":t,"xpl-input--readonly":!!this.readonly,[`xpl-input--${this.type}`]:!0}},this.label&&s("label",{key:"cdc55154c334fcc2ed8049113d012e046e77fde7",class:"xpl-input-label",htmlFor:this._id},this.label,this.description&&s("small",{key:"37a1685a6e0b9b7da8abc6209df998154affbb79"},this.description)),this.renderInput(),(this.error?.length??0)>0&&s("label",{key:"c7a636a36d902543c9228a72c81db408912b3d58",class:"xpl-input-error",htmlFor:this._id,id:`${this._id}-error`},s("xpl-icon",{key:"e73b36e29ebe7812564e5d27710ebda1b9bf2185",icon:"circle-warning",size:16}),s("span",{key:"10149a258c81cbc439778e84f49bc6dfdc97d26d"},this.error)))}get el(){return this}},[260,"xpl-input",{_id:[1],description:[1],disabled:[4],error:[1],label:[1],name:[1],required:[4],readonly:[4],value:[1],autocomplete:[1],placeholder:[1],post:[1],pre:[1],max:[8],min:[8],step:[2],multiline:[4],maxCharacterCount:[2,"max-character-count"],dateFormat:[1,"date-format"],timeFormat:[1,"time-format"],allowCustomOption:[4,"allow-custom-option"],mode:[1],accept:[1],multiple:[4],hideTriggerOnSelect:[4,"hide-trigger-on-select"],hideFileNames:[4,"hide-file-names"],hideAcceptText:[4,"hide-accept-text"],hideEyeDropper:[4,"hide-eye-dropper"],defaultCountry:[1,"default-country"],preferredCountries:[16],isInternational:[4,"is-international"],ariaLabel:[1,"aria-label"],shape:[1],type:[1],characterCount:[32],passwordVisible:[32],hasPreSlotContent:[32],setFocus:[64]}]);function P(){"undefined"!=typeof customElements&&["xpl-input","xpl-dropdown","xpl-dropdown-group","xpl-dropdown-heading","xpl-dropdown-option","xpl-icon","xpl-input","xpl-input-color","xpl-input-date","xpl-input-file","xpl-input-phone","xpl-input-search","xpl-input-time","xpl-popover"].forEach((t=>{switch(t){case"xpl-input":customElements.get(a(t))||customElements.define(a(t),V);break;case"xpl-dropdown":customElements.get(a(t))||o();break;case"xpl-dropdown-group":customElements.get(a(t))||r();break;case"xpl-dropdown-heading":customElements.get(a(t))||h();break;case"xpl-dropdown-option":customElements.get(a(t))||l();break;case"xpl-icon":customElements.get(a(t))||c();break;case"xpl-input":customElements.get(a(t))||P();break;case"xpl-input-color":customElements.get(a(t))||A();break;case"xpl-input-date":customElements.get(a(t))||d();break;case"xpl-input-file":customElements.get(a(t))||u();break;case"xpl-input-phone":customElements.get(a(t))||F();break;case"xpl-input-search":customElements.get(a(t))||m();break;case"xpl-input-time":customElements.get(a(t))||M();break;case"xpl-popover":customElements.get(a(t))||f()}}))}export{V as I,O as a,A as b,D as c,P as d,F as e,_ as f,M as g}
@@ -0,0 +1 @@
1
+ import{p as e,H as l,h as t,c as s,t as o}from"./p-BqhTjJWq.js";const c=e(class extends l{constructor(e){super(),!1!==e&&this.__registerHost(),this.align="left"}render(){return t(s,{key:"468d80c698b82031537d12584494bb8e42cc4a83",class:{"xpl-table-footer-cell":!0,[`xpl-table-footer-cell--align-${this.align}`]:!0},role:"gridcell"},t("slot",{key:"91674140e7e618b7ff40c58ebbdae79145318de9"}))}},[260,"xpl-table-footer-cell",{align:[1]}]);function r(){"undefined"!=typeof customElements&&["xpl-table-footer-cell"].forEach((e=>{"xpl-table-footer-cell"===e&&(customElements.get(o(e))||customElements.define(o(e),c))}))}export{c as X,r as d}
@@ -1 +1 @@
1
- import{p as t,H as s,d as i,h as e,c as n,t as o}from"./p-BSHdGbmH.js";import{T as h,i as r}from"./p-Dqb1pIRo.js";import{d as a}from"./p-CQjJIHK6.js";const l="(max-width: 767px)",p="hoverClose",d=t(class t extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.navItemClick=i(this,"navItemClick",7),this.openChange=i(this,"openChange",7),this.dropdownPanelId=`xpl-top-nav-item-dropdown-${Math.random().toString(36).slice(2,11)}`,this.hoverOpened=!1,this.timers=new h,this.hasActiveDescendant=!1,this.hasDropdown=!1,this.isLeadingIconSlotPresent=!1,this.isMobileViewport=!1,this.hostListitemRole=!1,this.isTrailingIconSlotPresent=!1,this.active=!1,this.icon="",this.open=!1,this.openMode="click",this.selected=!1,this.onDocClickCapture=t=>{if(!this.hasDropdown||!this.open)return;const s=t.target;s&&!this.el.contains(s)&&(this.open=!1)},this.onDocKeyDownCapture=t=>{this.hasDropdown&&this.open&&"Escape"===t.key&&(t.preventDefault(),t.stopPropagation(),this.open=!1,this.focusTriggerAfterEscape())},this.handleClick=t=>{if(this.hasDropdown){if(t.preventDefault(),t.stopPropagation(),this.timers.clearCoalesced(p),this.open&&this.hoverOpened&&this.hoverModeActive()&&t.detail>0)return;return this.hoverOpened=!1,void(this.open=!this.open)}this.navItemClick.emit(t)},this.handleKeyDown=t=>{if(null!=this.href&&!this.hasDropdown&&" "===t.key){t.preventDefault();const s=this.el.querySelector(".xpl-top-nav-item__inner");s?.click()}},this.onMobileViewportChange=()=>{this.isMobileViewport=this.mobileMq?.matches??!1},this.handleMouseEnter=()=>{this.hasDropdown&&this.hoverModeActive()&&(this.timers.clearCoalesced(p),this.open||(this.hoverOpened=!0,this.open=!0))},this.handleMouseLeave=()=>{this.hasDropdown&&this.open&&this.hoverOpened&&this.timers.scheduleCoalesced(p,(()=>{this.hoverOpened&&!this.el.contains(this.el.ownerDocument.activeElement)&&(this.open=!1)}),150)}}onHasDropdownChanged(){this.hasDropdown||(this.open=!1),this.syncDropdownDocListeners()}onOpenChanged(t){this.openChange.emit(t),t||(this.hoverOpened=!1),t&&this.hasDropdown&&this.broadcastCloseOtherDropdownHosts()}connectedCallback(){r()&&"function"==typeof window.matchMedia&&(this.hoverOpenMq=window.matchMedia("(hover: hover) and (pointer: fine) and (min-width: 768px)"),this.mobileMq=window.matchMedia(l),this.mobileMq.addEventListener("change",this.onMobileViewportChange),this.isMobileViewport=this.mobileMq.matches),this.syncHostListitemRole(),this.syncHasDropdownFromDom(),this.syncDropdownDocListeners(),this.connectDropdownSlotObserver()}disconnectedCallback(){this.timers.dispose(),this.hoverOpenMq=void 0,this.mobileMq?.removeEventListener("change",this.onMobileViewportChange),this.mobileMq=void 0,this.disconnectDropdownSlotObserver(),this.disconnectListitemContextObservers();const t=this.el.ownerDocument;t.removeEventListener("click",this.onDocClickCapture,!0),t.removeEventListener("keydown",this.onDocKeyDownCapture,!0)}componentWillLoad(){this.syncHostListitemRole(),this.syncHasDropdownFromDom()}componentWillRender(){this.disconnectDropdownSlotObserver(),this.disconnectListitemContextObservers()}componentDidRender(){this.schedulePostRenderTopNavItemWork()}handleCloseNavDropdownRequest(){this.hasDropdown&&this.open&&(this.open=!1)}async closeMenu(){this.hasDropdown&&(this.open=!1)}async openMenu(){this.hasDropdown&&(this.timers.clearCoalesced(p),this.hoverOpened=!1,this.open=!0)}async toggleMenu(){this.hasDropdown&&(this.open=!this.open)}scheduleHasDropdownSyncFromObserver(){this.timers.scheduleCoalesced("hasDropdownSync",(()=>{this.el.isConnected&&this.syncHasDropdownFromDom()}))}connectDropdownSlotObserver(){this.disconnectDropdownSlotObserver(),"undefined"!=typeof MutationObserver&&(this.dropdownSlotObserver=new MutationObserver((()=>{this.scheduleHasDropdownSyncFromObserver()})),this.dropdownSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectDropdownSlotObserver(){this.dropdownSlotObserver?.disconnect(),this.dropdownSlotObserver=void 0}disconnectListitemContextObservers(){this.parentListitemContextObserver?.disconnect(),this.parentListitemContextObserver=void 0,this.selfListitemContextObserver?.disconnect(),this.selfListitemContextObserver=void 0}connectListitemContextObservers(){if(this.disconnectListitemContextObservers(),"undefined"==typeof MutationObserver||!this.el.isConnected)return;this.selfListitemContextObserver=new MutationObserver((()=>{this.schedulePostRenderTopNavItemWork()})),this.selfListitemContextObserver.observe(this.el,{attributes:!0,attributeFilter:["class","slot"]});const t=this.el.parentElement;if(t){this.parentListitemContextObserver=new MutationObserver((()=>{this.schedulePostRenderTopNavItemWork()}));const s="xpl-top-nav"===t.tagName.toLowerCase()&&"left-aside"===this.el.getAttribute("slot")?t.querySelector(".xpl-top-nav__left-primary"):null;this.parentListitemContextObserver.observe(s??t,{attributes:!0,attributeFilter:["role"],subtree:!1})}}schedulePostRenderTopNavItemWork(){this.timers.scheduleCoalesced("postRender",(()=>{this.el.isConnected&&(this.syncHostListitemRole(),this.syncHasDropdownFromDom(),this.connectListitemContextObservers(),this.connectDropdownSlotObserver())}))}syncDropdownDocListeners(){if(!r())return;const t=this.el.ownerDocument;t.removeEventListener("click",this.onDocClickCapture,!0),t.removeEventListener("keydown",this.onDocKeyDownCapture,!0),this.hasDropdown&&(t.addEventListener("click",this.onDocClickCapture,!0),t.addEventListener("keydown",this.onDocKeyDownCapture,!0))}hasSlottedChildOwnedByThisHost(t){return Array.from(this.el.querySelectorAll(`[slot="${t}"]`)).some((t=>t.closest("xpl-top-nav-item")===this.el))}syncHasDropdownFromDom(){const t=null!=this.el.querySelector('[slot="dropdown"]');t!==this.hasDropdown&&(this.hasDropdown=t);const s=this.hasSlottedChildOwnedByThisHost("leading-icon");s!==this.isLeadingIconSlotPresent&&(this.isLeadingIconSlotPresent=s);const i=this.hasSlottedChildOwnedByThisHost("trailing-icon");i!==this.isTrailingIconSlotPresent&&(this.isTrailingIconSlotPresent=i);const e=!!t&&(null!==this.el.querySelector('[slot="dropdown"] .xpl-top-nav-item--active')||null!==this.el.querySelector('[slot="dropdown"] .xpl-top-nav-item--selected'));e!==this.hasActiveDescendant&&(this.hasActiveDescendant=e)}getNavDropdownBroadcastRoot(){return this.el.closest("xpl-top-nav-menu")??this.el.closest("xpl-nav-header-menu")??this.el.closest("xpl-top-nav")??this.el.ownerDocument}broadcastCloseOtherDropdownHosts(){this.getNavDropdownBroadcastRoot().querySelectorAll("xpl-top-nav-item").forEach((t=>{t!==this.el&&t.parentElement===this.el.parentElement&&t.dispatchEvent(new CustomEvent("_xplCloseNavDropdown",{bubbles:!1}))}))}hoverModeActive(){return"hover"===this.openMode&&(this.hoverOpenMq?.matches??!1)}focusTriggerAfterEscape(){this.timers.scheduleCoalesced("focusTriggerAfterEscape",(()=>{this.el.isConnected&&this.el.querySelector(".xpl-top-nav-item__inner")?.focus()}))}static isInternalRenderedHostChild(t){return t.classList.contains("xpl-top-nav-item__inner")||t.classList.contains("xpl-top-nav-item__dropdown")}hasNonDropdownLightDomChild(){return Array.from(this.el.childNodes).some((s=>{if(s.nodeType===Node.TEXT_NODE)return Boolean(s.textContent?.trim());if(s.nodeType===Node.ELEMENT_NODE){const i=s;if(t.isInternalRenderedHostChild(i))return!1;const e=i.getAttribute("slot");return null==e||""===e}return!1}))}getInnerAriaLabel(){if(this.label?.trim())return;if(this.hasNonDropdownLightDomChild())return;const t=this.itemAriaLabel?.trim();return t||(this.icon?.trim()||this.isLeadingIconSlotPresent?"Navigation item":void 0)}computeHostListitemRole(){const{el:t}=this;if(t.classList.contains("xpl-top-nav__brand"))return!1;if("right-aside-mobile"===t.getAttribute("slot"))return!1;const s=t.parentElement;return"list"===s?.getAttribute("role")||null!=s&&"xpl-nav-header-menu"===s.tagName.toLowerCase()||null!=s&&"xpl-top-nav-menu"===s.tagName.toLowerCase()||"left-aside"===t.getAttribute("slot")&&"xpl-top-nav"===s?.tagName.toLowerCase()&&null!=s.querySelector('.xpl-top-nav__left-primary[role="list"]')}syncHostListitemRole(){const t=this.computeHostListitemRole();this.hostListitemRole!==t&&(this.hostListitemRole=t)}renderLabelContent(){if(!this.label)return e("slot",null);const t=this.description?.trim();return t?e("span",{class:"xpl-top-nav-item__label-group"},e("span",{class:"xpl-top-nav-item__label",title:this.label},this.label),e("span",{class:"xpl-top-nav-item__description"},t)):e("span",{class:"xpl-top-nav-item__label",title:this.label},this.label)}renderLeading(){return this.isLeadingIconSlotPresent?e("span",{class:"xpl-top-nav-item__leading"},e("slot",{name:"leading-icon"})):this.icon?e("span",{class:"xpl-top-nav-item__leading"},e("xpl-icon",{size:16,icon:this.icon})):null}renderTrailing(){return this.isTrailingIconSlotPresent?e("span",{class:"xpl-top-nav-item__trailing"},e("slot",{name:"trailing-icon"})):this.hasDropdown?e("span",{class:"xpl-top-nav-item__trailing"},e("xpl-icon",{icon:this.isMobileViewport?"chevron-right":"chevron-down"})):null}renderInner(){const t=this.selected?"page":void 0,s=this.hasDropdown?this.open?"true":"false":void 0,i=this.getInnerAriaLabel(),n={class:"xpl-top-nav-item__inner",tabIndex:0,"aria-current":t,"aria-expanded":s,"aria-haspopup":this.hasDropdown?"true":void 0,"aria-controls":this.hasDropdown?this.dropdownPanelId:void 0,...i?{"aria-label":i}:{},onClick:this.handleClick,onKeyDown:this.handleKeyDown};return null==this.href||this.hasDropdown?e("button",{...n,type:"button"},this.renderLeading(),this.renderLabelContent(),this.renderTrailing()):e("a",{...n,href:this.href},this.renderLeading(),this.renderLabelContent(),this.renderTrailing())}render(){return e(n,{key:"fe53cfd84cba8502089c4a3fae62dfed10c0cdf0",class:{"xpl-top-nav-item":!0,"xpl-top-nav-item--active":this.active,"xpl-top-nav-item--dropdown-open":this.hasDropdown&&this.open,"xpl-top-nav-item--has-active-descendant":this.hasActiveDescendant,"xpl-top-nav-item--has-dropdown":this.hasDropdown,"xpl-top-nav-item--selected":this.selected,dark:!0},onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,...this.hostListitemRole?{role:"listitem"}:{}},this.renderInner(),this.hasDropdown&&e("div",{key:"954f83c94bd56d9bd328212f2ecc070861b1fd54",id:this.dropdownPanelId,class:"xpl-top-nav-item__dropdown"},e("slot",{key:"4d830a9386f12026cd1a2ecb454bcb9df2202431",name:"dropdown"})))}get el(){return this}static get watchers(){return{hasDropdown:[{onHasDropdownChanged:0}],open:[{onOpenChanged:0}]}}},[260,"xpl-top-nav-item",{active:[516],description:[1],href:[1],icon:[1],itemAriaLabel:[1,"item-aria-label"],label:[1],open:[1540],openMode:[513,"open-mode"],selected:[516],hasActiveDescendant:[32],hasDropdown:[32],isLeadingIconSlotPresent:[32],isMobileViewport:[32],hostListitemRole:[32],isTrailingIconSlotPresent:[32],closeMenu:[64],openMenu:[64],toggleMenu:[64]},[[0,"_xplCloseNavDropdown","handleCloseNavDropdownRequest"]],{hasDropdown:[{onHasDropdownChanged:0}],open:[{onOpenChanged:0}]}]);function c(){"undefined"!=typeof customElements&&["xpl-top-nav-item","xpl-icon"].forEach((t=>{switch(t){case"xpl-top-nav-item":customElements.get(o(t))||customElements.define(o(t),d);break;case"xpl-icon":customElements.get(o(t))||a()}}))}export{d as T,l as a,c as d}
1
+ import{p as t,H as s,d as i,h as e,c as n,t as o}from"./p-BqhTjJWq.js";import{T as h,i as a}from"./p-Dqb1pIRo.js";import{d as r}from"./p-Bh-U2qmp.js";const l="(max-width: 767px)",p="hoverClose",d=t(class t extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.navItemClick=i(this,"navItemClick",7),this.openChange=i(this,"openChange",7),this.dropdownPanelId=`xpl-top-nav-item-dropdown-${Math.random().toString(36).slice(2,11)}`,this.hoverOpened=!1,this.timers=new h,this.hasActiveDescendant=!1,this.hasDropdown=!1,this.isLeadingIconSlotPresent=!1,this.isMobileViewport=!1,this.hostListitemRole=!1,this.isTrailingIconSlotPresent=!1,this.active=!1,this.icon="",this.open=!1,this.openMode="click",this.selected=!1,this.onDocClickCapture=t=>{if(!this.hasDropdown||!this.open)return;const s=t.target;s&&!this.el.contains(s)&&(this.open=!1)},this.onDocKeyDownCapture=t=>{this.hasDropdown&&this.open&&"Escape"===t.key&&(t.preventDefault(),t.stopPropagation(),this.open=!1,this.focusTriggerAfterEscape())},this.handleClick=t=>{if(this.hasDropdown){if(t.preventDefault(),t.stopPropagation(),this.timers.clearCoalesced(p),this.open&&this.hoverOpened&&this.hoverModeActive()&&t.detail>0)return;return this.hoverOpened=!1,void(this.open=!this.open)}this.navItemClick.emit(t)},this.handleKeyDown=t=>{if(null!=this.href&&!this.hasDropdown&&" "===t.key){t.preventDefault();const s=this.el.querySelector(".xpl-top-nav-item__inner");s?.click()}},this.onMobileViewportChange=()=>{this.isMobileViewport=this.mobileMq?.matches??!1},this.handleMouseEnter=()=>{this.hasDropdown&&this.hoverModeActive()&&(this.timers.clearCoalesced(p),this.open||(this.hoverOpened=!0,this.open=!0))},this.handleMouseLeave=()=>{this.hasDropdown&&this.open&&this.hoverOpened&&this.timers.scheduleCoalesced(p,(()=>{this.hoverOpened&&!this.el.contains(this.el.ownerDocument.activeElement)&&(this.open=!1)}),150)}}onHasDropdownChanged(){this.hasDropdown||(this.open=!1),this.syncDropdownDocListeners()}onOpenChanged(t){this.openChange.emit(t),t||(this.hoverOpened=!1),t&&this.hasDropdown&&this.broadcastCloseOtherDropdownHosts()}connectedCallback(){a()&&"function"==typeof window.matchMedia&&(this.hoverOpenMq=window.matchMedia("(hover: hover) and (pointer: fine) and (min-width: 768px)"),this.mobileMq=window.matchMedia(l),this.mobileMq.addEventListener("change",this.onMobileViewportChange),this.isMobileViewport=this.mobileMq.matches),this.syncHostListitemRole(),this.syncHasDropdownFromDom(),this.syncDropdownDocListeners(),this.connectDropdownSlotObserver()}disconnectedCallback(){this.timers.dispose(),this.hoverOpenMq=void 0,this.mobileMq?.removeEventListener("change",this.onMobileViewportChange),this.mobileMq=void 0,this.disconnectDropdownSlotObserver(),this.disconnectListitemContextObservers();const t=this.el.ownerDocument;t.removeEventListener("click",this.onDocClickCapture,!0),t.removeEventListener("keydown",this.onDocKeyDownCapture,!0)}componentWillLoad(){this.syncHostListitemRole(),this.syncHasDropdownFromDom()}componentWillRender(){this.disconnectDropdownSlotObserver(),this.disconnectListitemContextObservers()}componentDidRender(){this.schedulePostRenderTopNavItemWork()}handleCloseNavDropdownRequest(){this.hasDropdown&&this.open&&(this.open=!1)}async closeMenu(){this.hasDropdown&&(this.open=!1)}async openMenu(){this.hasDropdown&&(this.timers.clearCoalesced(p),this.hoverOpened=!1,this.open=!0)}async toggleMenu(){this.hasDropdown&&(this.open=!this.open)}scheduleHasDropdownSyncFromObserver(){this.timers.scheduleCoalesced("hasDropdownSync",(()=>{this.el.isConnected&&this.syncHasDropdownFromDom()}))}connectDropdownSlotObserver(){this.disconnectDropdownSlotObserver(),"undefined"!=typeof MutationObserver&&(this.dropdownSlotObserver=new MutationObserver((()=>{this.scheduleHasDropdownSyncFromObserver()})),this.dropdownSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectDropdownSlotObserver(){this.dropdownSlotObserver?.disconnect(),this.dropdownSlotObserver=void 0}disconnectListitemContextObservers(){this.parentListitemContextObserver?.disconnect(),this.parentListitemContextObserver=void 0,this.selfListitemContextObserver?.disconnect(),this.selfListitemContextObserver=void 0}connectListitemContextObservers(){if(this.disconnectListitemContextObservers(),"undefined"==typeof MutationObserver||!this.el.isConnected)return;this.selfListitemContextObserver=new MutationObserver((()=>{this.schedulePostRenderTopNavItemWork()})),this.selfListitemContextObserver.observe(this.el,{attributes:!0,attributeFilter:["class","slot"]});const t=this.el.parentElement;if(t){this.parentListitemContextObserver=new MutationObserver((()=>{this.schedulePostRenderTopNavItemWork()}));const s="xpl-top-nav"===t.tagName.toLowerCase()&&"left-aside"===this.el.getAttribute("slot")?t.querySelector(".xpl-top-nav__left-primary"):null;this.parentListitemContextObserver.observe(s??t,{attributes:!0,attributeFilter:["role"],subtree:!1})}}schedulePostRenderTopNavItemWork(){this.timers.scheduleCoalesced("postRender",(()=>{this.el.isConnected&&(this.syncHostListitemRole(),this.syncHasDropdownFromDom(),this.connectListitemContextObservers(),this.connectDropdownSlotObserver())}))}syncDropdownDocListeners(){if(!a())return;const t=this.el.ownerDocument;t.removeEventListener("click",this.onDocClickCapture,!0),t.removeEventListener("keydown",this.onDocKeyDownCapture,!0),this.hasDropdown&&(t.addEventListener("click",this.onDocClickCapture,!0),t.addEventListener("keydown",this.onDocKeyDownCapture,!0))}hasSlottedChildOwnedByThisHost(t){return Array.from(this.el.querySelectorAll(`[slot="${t}"]`)).some((t=>t.closest("xpl-top-nav-item")===this.el))}syncHasDropdownFromDom(){const t=null!=this.el.querySelector('[slot="dropdown"]');t!==this.hasDropdown&&(this.hasDropdown=t);const s=this.hasSlottedChildOwnedByThisHost("leading-icon");s!==this.isLeadingIconSlotPresent&&(this.isLeadingIconSlotPresent=s);const i=this.hasSlottedChildOwnedByThisHost("trailing-icon");i!==this.isTrailingIconSlotPresent&&(this.isTrailingIconSlotPresent=i);const e=!!t&&(null!==this.el.querySelector('[slot="dropdown"] .xpl-top-nav-item--active')||null!==this.el.querySelector('[slot="dropdown"] .xpl-top-nav-item--selected'));e!==this.hasActiveDescendant&&(this.hasActiveDescendant=e)}getNavDropdownBroadcastRoot(){return this.el.closest("xpl-top-nav-menu")??this.el.closest("xpl-nav-header-menu")??this.el.closest("xpl-top-nav")??this.el.ownerDocument}broadcastCloseOtherDropdownHosts(){this.getNavDropdownBroadcastRoot().querySelectorAll("xpl-top-nav-item").forEach((t=>{t!==this.el&&t.parentElement===this.el.parentElement&&t.dispatchEvent(new CustomEvent("_xplCloseNavDropdown",{bubbles:!1}))}))}hoverModeActive(){return"hover"===this.openMode&&(this.hoverOpenMq?.matches??!1)}focusTriggerAfterEscape(){this.timers.scheduleCoalesced("focusTriggerAfterEscape",(()=>{this.el.isConnected&&this.el.querySelector(".xpl-top-nav-item__inner")?.focus()}))}static isInternalRenderedHostChild(t){return t.classList.contains("xpl-top-nav-item__inner")||t.classList.contains("xpl-top-nav-item__dropdown")}hasNonDropdownLightDomChild(){return Array.from(this.el.childNodes).some((s=>{if(s.nodeType===Node.TEXT_NODE)return Boolean(s.textContent?.trim());if(s.nodeType===Node.ELEMENT_NODE){const i=s;if(t.isInternalRenderedHostChild(i))return!1;const e=i.getAttribute("slot");return null==e||""===e}return!1}))}getInnerAriaLabel(){if(this.label?.trim())return;if(this.hasNonDropdownLightDomChild())return;const t=this.itemAriaLabel?.trim();return t||(this.icon?.trim()||this.isLeadingIconSlotPresent?"Navigation item":void 0)}computeHostListitemRole(){const{el:t}=this;if(t.classList.contains("xpl-top-nav__brand"))return!1;if("right-aside-mobile"===t.getAttribute("slot"))return!1;const s=t.parentElement;return"list"===s?.getAttribute("role")||null!=s&&"xpl-nav-header-menu"===s.tagName.toLowerCase()||null!=s&&"xpl-top-nav-menu"===s.tagName.toLowerCase()||"left-aside"===t.getAttribute("slot")&&"xpl-top-nav"===s?.tagName.toLowerCase()&&null!=s.querySelector('.xpl-top-nav__left-primary[role="list"]')}syncHostListitemRole(){const t=this.computeHostListitemRole();this.hostListitemRole!==t&&(this.hostListitemRole=t)}renderLabelContent(){if(!this.label)return e("slot",null);const t=this.description?.trim();return t?e("span",{class:"xpl-top-nav-item__label-group"},e("span",{class:"xpl-top-nav-item__label",title:this.label},this.label),e("span",{class:"xpl-top-nav-item__description"},t)):e("span",{class:"xpl-top-nav-item__label",title:this.label},this.label)}renderLeading(){return this.isLeadingIconSlotPresent?e("span",{class:"xpl-top-nav-item__leading"},e("slot",{name:"leading-icon"})):this.icon?e("span",{class:"xpl-top-nav-item__leading"},e("xpl-icon",{size:16,icon:this.icon})):null}renderTrailing(){return this.isTrailingIconSlotPresent?e("span",{class:"xpl-top-nav-item__trailing"},e("slot",{name:"trailing-icon"})):this.hasDropdown?e("span",{class:"xpl-top-nav-item__trailing"},e("xpl-icon",{icon:this.isMobileViewport?"chevron-right":"chevron-down"})):null}renderInner(){const t=this.selected?"page":void 0,s=this.hasDropdown?this.open?"true":"false":void 0,i=this.getInnerAriaLabel(),n={class:"xpl-top-nav-item__inner",tabIndex:0,"aria-current":t,"aria-expanded":s,"aria-haspopup":this.hasDropdown?"true":void 0,"aria-controls":this.hasDropdown?this.dropdownPanelId:void 0,...i?{"aria-label":i}:{},onClick:this.handleClick,onKeyDown:this.handleKeyDown};return null==this.href||this.hasDropdown?e("button",{...n,type:"button"},this.renderLeading(),this.renderLabelContent(),this.renderTrailing()):e("a",{...n,href:this.href},this.renderLeading(),this.renderLabelContent(),this.renderTrailing())}render(){return e(n,{key:"59b96ce313362796a55a0e109a3cd3918b88a6b3",class:{"xpl-top-nav-item":!0,"xpl-top-nav-item--active":this.active,"xpl-top-nav-item--dropdown-open":this.hasDropdown&&this.open,"xpl-top-nav-item--has-active-descendant":this.hasActiveDescendant,"xpl-top-nav-item--has-dropdown":this.hasDropdown,"xpl-top-nav-item--selected":this.selected,dark:!0},onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,...this.hostListitemRole?{role:"listitem"}:{}},this.renderInner(),this.hasDropdown&&e("div",{key:"8daced29efc97c4a36934dfd70764768440acbef",id:this.dropdownPanelId,class:"xpl-top-nav-item__dropdown"},e("slot",{key:"aa1f47af8c810d24e21b18ded427c8a80f20ead2",name:"dropdown"})))}get el(){return this}static get watchers(){return{hasDropdown:[{onHasDropdownChanged:0}],open:[{onOpenChanged:0}]}}},[260,"xpl-top-nav-item",{active:[516],description:[1],href:[1],icon:[1],itemAriaLabel:[1,"item-aria-label"],label:[1],open:[1540],openMode:[513,"open-mode"],selected:[516],hasActiveDescendant:[32],hasDropdown:[32],isLeadingIconSlotPresent:[32],isMobileViewport:[32],hostListitemRole:[32],isTrailingIconSlotPresent:[32],closeMenu:[64],openMenu:[64],toggleMenu:[64]},[[0,"_xplCloseNavDropdown","handleCloseNavDropdownRequest"]],{hasDropdown:[{onHasDropdownChanged:0}],open:[{onOpenChanged:0}]}]);function c(){"undefined"!=typeof customElements&&["xpl-top-nav-item","xpl-icon"].forEach((t=>{switch(t){case"xpl-top-nav-item":customElements.get(o(t))||customElements.define(o(t),d);break;case"xpl-icon":customElements.get(o(t))||r()}}))}export{d as T,l as a,c as d}
@@ -1 +1 @@
1
- import{p as e,H as s,d as i,h as t,c as d,t as a}from"./p-BSHdGbmH.js";import{v as l}from"./p-CK3_k8jD.js";const c=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.radioChange=i(this,"radioChange",7),this.id=l(),this.onChange=e=>{this.radioChange.emit(this.value?this.value:e.target.checked)}}get isChecked(){return void 0!==this.selectedValue&&void 0!==this.value?this.selectedValue===this.value:Boolean(this.checked)}render(){return t(d,{key:"45436282d29873a5c640519eb4ad9aa3afb25b73",class:{"xpl-checkbox-radio-container":!0,styled:!!this.styled,disabled:!!this.disabled}},t("input",{key:"b0f7604cb5751f7fb2dc62960d5e7130d4fc0871",class:"xpl-radio",type:"radio",checked:this.isChecked,disabled:this.disabled,id:this.id,name:this.name,required:this.required,onChange:this.onChange,value:this.value}),t("label",{key:"05d3589852ebcf9ce5c3301cbc685547a45b61d4",class:{"xpl-label":!0,"xpl-label--disabled":!!this.disabled},htmlFor:this.id},t("slot",{key:"8790f97ad02c180680de269f2f4a0986736c5d4e"}),this.description&&t("small",{key:"94a8e1eea919b8cfe7b4074702dce50e7399c6ab",class:{"xpl-description":!0,"xpl-description--disabled":!!this.disabled}},this.description)))}},[260,"xpl-radio",{checked:[4],description:[1],disabled:[4],name:[1],value:[1],required:[4],selectedValue:[1,"selected-value"],styled:[4],id:[32]}]);function h(){"undefined"!=typeof customElements&&["xpl-radio"].forEach((e=>{"xpl-radio"===e&&(customElements.get(a(e))||customElements.define(a(e),c))}))}export{c as R,h as d}
1
+ import{p as e,H as s,d as i,h as t,c as a,t as d}from"./p-BqhTjJWq.js";import{v as l}from"./p-CK3_k8jD.js";const c=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.radioChange=i(this,"radioChange",7),this.id=l(),this.onChange=e=>{this.radioChange.emit(this.value?this.value:e.target.checked)}}get isChecked(){return void 0!==this.selectedValue&&void 0!==this.value?this.selectedValue===this.value:Boolean(this.checked)}render(){return t(a,{key:"dec063c59a7fe6bd9680d0bfcec55eabfa782ee0",class:{"xpl-checkbox-radio-container":!0,styled:!!this.styled,disabled:!!this.disabled}},t("input",{key:"ff51ff9e164c663b1583409f37a075a3bb0c03e3",class:"xpl-radio",type:"radio",checked:this.isChecked,disabled:this.disabled,id:this.id,name:this.name,required:this.required,onChange:this.onChange,value:this.value}),t("label",{key:"3d82a7ee345008e237ea52064774b6d751031450",class:{"xpl-label":!0,"xpl-label--disabled":!!this.disabled},htmlFor:this.id},t("slot",{key:"a04ec7ab9149a61f88391bb37556f81e9e172b6e"}),this.description&&t("small",{key:"b03619c554d2438cc152ff37fcaa02be3ba7e0bd",class:{"xpl-description":!0,"xpl-description--disabled":!!this.disabled}},this.description)))}},[260,"xpl-radio",{checked:[4],description:[1],disabled:[4],name:[1],value:[1],required:[4],selectedValue:[1,"selected-value"],styled:[4],id:[32]}]);function h(){"undefined"!=typeof customElements&&["xpl-radio"].forEach((e=>{"xpl-radio"===e&&(customElements.get(d(e))||customElements.define(d(e),c))}))}export{c as R,h as d}
@@ -0,0 +1 @@
1
+ import{h as t,p as e,H as o,c as s,t as l}from"./p-BqhTjJWq.js";const a=()=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"13"},t("path",{d:"M0.5 5h15l-7.5 7.5L0.5 5Z",fill:"white",stroke:"none",class:"xpl-tooltip-arrow__fill"}),t("path",{d:"M0.5 5 L8 12.5 L15.5 5",fill:"none",stroke:"black","stroke-width":"1",class:"xpl-tooltip-arrow__stroke"})),i=e(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.position="top-middle",this.hideArrow=!1}render(){return t(s,{key:"e2092a0ca048c0c06346b28c5f7a38fb343b0989"},t("div",{key:"9f9b41b01e4b4a3721a9744bf4a9dc798bd5e313",class:"xpl-tooltip-container"},t("slot",{key:"a4e23c5c38d792a08755aacd1a1b3250f3cfd29e"}),t("div",{key:"c6227fd82a95bd19de20c68d97c4c9b72a749d28",class:`xpl-tooltip xpl-tooltip--${this.position}`},this.text,!this.hideArrow&&t("div",{key:"551d991247f6f3016559fa10180ba96101a47169",class:"xpl-tooltip-arrow"},t(a,{key:"fc323dececf4a90528ed47e06290188722a17eb0"})))))}},[260,"xpl-tooltip",{text:[1],position:[1],hideArrow:[4,"hide-arrow"]}]);function c(){"undefined"!=typeof customElements&&["xpl-tooltip"].forEach((t=>{"xpl-tooltip"===t&&(customElements.get(l(t))||customElements.define(l(t),i))}))}export{i as T,c as d}
@@ -1 +1 @@
1
- import{p as e,H as l,h as t,c as s,t as a}from"./p-BSHdGbmH.js";const d="data-xpl-table-cell-managed-disabled",i=e(class extends l{constructor(e){super(),!1!==e&&this.__registerHost(),this.align="left",this.bold=!1,this.disabled=!1,this.underline=!1}onDisabledChange(){this.propagateDisabledToSlotted()}componentDidLoad(){this.propagateDisabledToSlotted()}propagateDisabledToSlotted(){const e=e=>{if(!function(e){if("disabled"in e)return!0;switch(e.tagName){case"BUTTON":case"INPUT":case"SELECT":case"TEXTAREA":case"FIELDSET":case"OPTGROUP":case"OPTION":return!0;default:return!1}}(e))return;const l=e;if(this.disabled){if(l.disabled)return;return l.disabled=!0,l.setAttribute("disabled",""),void l.setAttribute(d,"")}l.hasAttribute(d)&&(l.disabled=!1,l.removeAttribute("disabled"),l.removeAttribute(d))},l=t=>{Array.from(t.children).forEach((t=>{"XPL-TABLE"!==t.tagName&&(e(t),l(t))}))};l(this.el)}render(){return t(s,{key:"f4e7639b0cb35eda08fdbb13cf1e0ddcb380cb7a",role:"gridcell",class:{"xpl-table-cell":!0,[`xpl-table-cell--align-${this.align}`]:!0,"xpl-table-cell--bold":this.bold,"xpl-table-cell--underline":this.underline,"xpl-table-cell--disabled":this.disabled}},t("slot",{key:"16d9a63cb992b9bbeb56500b5d6537b824336b40"}))}get el(){return this}static get watchers(){return{disabled:[{onDisabledChange:0}]}}},[260,"xpl-table-cell",{align:[1],bold:[4],disabled:[4],underline:[4]},void 0,{disabled:[{onDisabledChange:0}]}]);function n(){"undefined"!=typeof customElements&&["xpl-table-cell"].forEach((e=>{"xpl-table-cell"===e&&(customElements.get(a(e))||customElements.define(a(e),i))}))}export{i as X,n as d}
1
+ import{p as e,H as l,h as t,c as s,t as a}from"./p-BqhTjJWq.js";const i="data-xpl-table-cell-managed-disabled",d=e(class extends l{constructor(e){super(),!1!==e&&this.__registerHost(),this.align="left",this.bold=!1,this.disabled=!1,this.underline=!1}onDisabledChange(){this.propagateDisabledToSlotted()}componentDidLoad(){this.propagateDisabledToSlotted()}propagateDisabledToSlotted(){const e=e=>{if(!function(e){if("disabled"in e)return!0;switch(e.tagName){case"BUTTON":case"INPUT":case"SELECT":case"TEXTAREA":case"FIELDSET":case"OPTGROUP":case"OPTION":return!0;default:return!1}}(e))return;const l=e;if(this.disabled){if(l.disabled)return;return l.disabled=!0,l.setAttribute("disabled",""),void l.setAttribute(i,"")}l.hasAttribute(i)&&(l.disabled=!1,l.removeAttribute("disabled"),l.removeAttribute(i))},l=t=>{Array.from(t.children).forEach((t=>{"XPL-TABLE"!==t.tagName&&(e(t),l(t))}))};l(this.el)}render(){return t(s,{key:"f2b486b9dbab0c982fc3362e1775a99eebc1ac05",role:"gridcell",class:{"xpl-table-cell":!0,[`xpl-table-cell--align-${this.align}`]:!0,"xpl-table-cell--bold":this.bold,"xpl-table-cell--underline":this.underline,"xpl-table-cell--disabled":this.disabled}},t("slot",{key:"19c3a0f67b3eccdb3e6441ba74b8e9d5bb8d0ae6"}))}get el(){return this}static get watchers(){return{disabled:[{onDisabledChange:0}]}}},[260,"xpl-table-cell",{align:[1],bold:[4],disabled:[4],underline:[4]},void 0,{disabled:[{onDisabledChange:0}]}]);function c(){"undefined"!=typeof customElements&&["xpl-table-cell"].forEach((e=>{"xpl-table-cell"===e&&(customElements.get(a(e))||customElements.define(a(e),d))}))}export{d as X,c as d}
@@ -1 +1 @@
1
- import{p as e,t as c,H as n,h as o,c as t}from"./p-BSHdGbmH.js";import{d as a}from"./p-CQjJIHK6.js";const d=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:"5b950c90f1d0c1c4ec18a63543e8a3f967e4c345",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:"d080af79bf979178beadd345259e3555c82d6d11","aria-expanded":this.expanded,"aria-controls":this.contentId,class:"xpl-accordion-toggle-area",onClick:this.toggleAccordion,type:"button"},o("header",{key:"31cd09cebdcd16f8581340b720f4f3bf5eb11315",class:"xpl-accordion-header xpl-accordion-header--size-"+this.size},o("slot",{key:"42f3de1cbccc2304d60db637879539a607338d9d",name:"heading"},this.header),o("xpl-icon",{key:"f7a047102a0e10b60d3ac3d18aa47c2de4409b6e",size:16,icon:"chevron-down",class:"xpl-accordion-icon-chevron "+(this.expanded?"xpl-accordion-icon-chevron--rotate":"")})),o("div",{key:"284d9e73027bc38acafc4d07355a0c21c7d38ce1",class:"xpl-accordion-description"},o("slot",{key:"a7928e0e46a3f5d2274477a576f65330c5600046",name:"description"},this.description))),o("section",{key:"5d89a5282aa9f63d349196f2b90c2404bc636e47",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:"658018fba352e3d8a3d005890557fa4f5acb3985",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}]}]),i=d,s=function(){"undefined"!=typeof customElements&&["xpl-accordion","xpl-icon"].forEach((e=>{switch(e){case"xpl-accordion":customElements.get(c(e))||customElements.define(c(e),d);break;case"xpl-icon":customElements.get(c(e))||a()}}))};export{i as XplAccordion,s as defineCustomElement}
1
+ import{p as e,t as n,H as o,h as t,c}from"./p-BqhTjJWq.js";import{d}from"./p-Bh-U2qmp.js";const a=e(class extends o{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((n=>{n.checked=e})),null}handleChildCheckboxChange(){const e=this.el.querySelectorAll(".xpl-accordion-content .xpl-checkbox:not([disabled])"),n=Array.from(e).filter((e=>e.checked)).length,o=this.el.querySelector(".xpl-accordion-header xpl-checkbox")||this.el.querySelector(".xpl-accordion-header input");if(o)switch(n){case 0:o.checked=!1,o.indeterminate=!1;break;case e.length:o.checked=!0,o.indeterminate=!1;break;default:o.checked=!1,o.indeterminate=!0}}listenToChangeEvent(){this.handleChildCheckboxChange()}render(){return t(c,{key:"bef7707d1c7aaab18735fdb7b767b54a6cfd9805",class:"xpl-accordion "+{"":"",none:"",bordered:"xpl-accordion--border-bordered"+(this.expanded?"--expanded":""),bottom:"xpl-accordion--border-bottom"+(this.expanded?"--expanded":"")}[this.borderType]},t("button",{key:"053fb3d0a2bf253e02d491d26e3a82986352e00e","aria-expanded":this.expanded,"aria-controls":this.contentId,class:"xpl-accordion-toggle-area",onClick:this.toggleAccordion,type:"button"},t("header",{key:"884b58fd83f39537b00bdb932286254447996151",class:"xpl-accordion-header xpl-accordion-header--size-"+this.size},t("slot",{key:"86ee5ae7cc2c28d5a3d5a273b5597d424e5f677c",name:"heading"},this.header),t("xpl-icon",{key:"e15037ad75519740e11bb4b2bf0ee83950cef3c4",size:16,icon:"chevron-down",class:"xpl-accordion-icon-chevron "+(this.expanded?"xpl-accordion-icon-chevron--rotate":"")})),t("div",{key:"553d3c1e14a5cd870a6f968133d1b3456d2a39dd",class:"xpl-accordion-description"},t("slot",{key:"b114db833bfb9407997b9e2e79e93b83ae9f081a",name:"description"},this.description))),t("section",{key:"92e987377515608b9c9d6ee9de77f32a05644de8",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]:""}`},t("slot",{key:"0363c341f5554dc9b199c2ddfdc516fc758c46fc",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}]}]),i=a,s=function(){"undefined"!=typeof customElements&&["xpl-accordion","xpl-icon"].forEach((e=>{switch(e){case"xpl-accordion":customElements.get(n(e))||customElements.define(n(e),a);break;case"xpl-icon":customElements.get(n(e))||d()}}))};export{i as XplAccordion,s as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as e,h as t,c as l,t as i}from"./p-BSHdGbmH.js";import{d as s}from"./p-CgemLtmL.js";const n=a(class extends e{constructor(a){super(),!1!==a&&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(a){this.navWidth=a.detail}onWindowResize(){this.closeNavOnMobile()}connectedCallback(){this.closeNavOnMobile()}componentWillLoad(){this.navOpen=void 0!==this.isNavOpenAtStartup?this.isNavOpenAtStartup:this.navOpen}render(){let a="xpl-application-shell";this.withUtility&&(a+=" xpl-application-shell--with_utility");let e="xpl-application-shell__nav";return e+=this.navOpen?` xpl-application-shell__nav--${this.navWidth}--open`:" xpl-application-shell__nav--"+this.navWidth,t(l,{key:"2a5c0529540dc44d79f4744cd77465d097a3cfe9",class:a},t("div",{key:"9e7b1e9c302d3188c20792ce5d45c4fd3d981eae",class:e},t("slot",{key:"ac3a2e232a4bb296dc97edb46da3a45a9a0143ee",name:"nav"})),t("div",{key:"8a43762388448850e6b70f526ca288e12cfb3a86",class:"xpl-application-shell__subnav"},t("slot",{key:"c3753c23cebdc77664c885770f2a7a3afafd2f70",name:"subnav"})),t("div",{key:"17e41ed6c571dc8a11c20034cff373442ed72a47",class:"xpl-application-shell__utility"},t("slot",{key:"20b62c7529383caf5d52e9f0a7afdfd362136404",name:"utility"})),t("div",{key:"1632f1a97ae50432228040c3788248ff598160f1",class:"xpl-application-shell__content"},t("slot",{key:"0e3fa6b14b216db3848ec302f755db2f4d9babea",name:"content"})),t("xpl-backdrop",{key:"d465d3084d1728fd072537ccd1947a154389fb59",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,p=function(){"undefined"!=typeof customElements&&["xpl-application-shell","xpl-backdrop"].forEach((a=>{switch(a){case"xpl-application-shell":customElements.get(i(a))||customElements.define(i(a),n);break;case"xpl-backdrop":customElements.get(i(a))||s()}}))};export{c as XplApplicationShell,p as defineCustomElement}
1
+ import{p as e,H as a,h as t,c as l,t as i}from"./p-BqhTjJWq.js";import{d as s}from"./p-BNOkHymY.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:"62f8a731b47f2ffadb192ed1c4d804362dd66a42",class:e},t("div",{key:"0f8b2f9825bd85a187a44ec8b29bb61933216d47",class:a},t("slot",{key:"f35e09fef29ec3ec8a14c32891e1f1a6aeec058a",name:"nav"})),t("div",{key:"29ea416c978cdb10ecc2df516cc25ff7fbde2342",class:"xpl-application-shell__subnav"},t("slot",{key:"56d536702db72a201d5573d30e7e4f04a5fd3428",name:"subnav"})),t("div",{key:"eb6edaeab5e79ba6d6f60c1edf2369205a724f59",class:"xpl-application-shell__utility"},t("slot",{key:"86fde26627dbf24bf23d2b467940bf3ff58dbdc8",name:"utility"})),t("div",{key:"ae8b382f38f03018b4098b96fcf1a9a583671356",class:"xpl-application-shell__content"},t("slot",{key:"3e8cbe1c7540e3522147582e7bb724bef88f8910",name:"content"})),t("xpl-backdrop",{key:"559ef92a0ed4764257f25482a7d192183785c2cf",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,p=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,p as defineCustomElement}
@@ -1 +1 @@
1
- import{A as o,d as r}from"./p-ohy3NrgH.js";const s=o,p=r;export{s as XplAvatar,p as defineCustomElement}
1
+ import{A as o,d as r}from"./p-CcPrBo53.js";const s=o,p=r;export{s as XplAvatar,p as defineCustomElement}
@@ -1 +1 @@
1
- import{B as m,d as o}from"./p-CgemLtmL.js";const s=m,t=o;export{s as XplBackdrop,t as defineCustomElement}
1
+ import{B as o,d as s}from"./p-BNOkHymY.js";const m=o,p=s;export{m as XplBackdrop,p as defineCustomElement}
@@ -1 +1 @@
1
- import{B as o,d as s}from"./p-CFXvQqUO.js";const p=o,r=s;export{p as XplBadge,r as defineCustomElement}
1
+ import{B as o,d as s}from"./p-CWXfIUHo.js";const p=o,r=s;export{p as XplBadge,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,d as i,h as s,c as n,t as a}from"./p-BSHdGbmH.js";import{d as c}from"./p-CV5nn1zR.js";import{d as r}from"./p-CQjJIHK6.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.action=i(this,"action",7),this.dismiss=i(this,"dismiss",7),this.secondaryAction=i(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(){return this.isSection?this.heading?.trim()||"Section banner":{information:"Information banner",positive:"Positive banner",warning:"Warning banner",error:"Error banner"}[this.appearance]}render(){const e=!!this.actionText?.trim(),t=!!this.secondaryActionText?.trim(),i=this.getActionButtonVariant(),a=this.getActionButtonState(),c=!!this.heading?.trim(),r=!!this.description?.trim();return s(n,{key:"a78a06e2863b01b36e265fdd55bb9d1d77751c88",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:"70b99cf6bf217673c1dc80d022a461285636a4bd",class:"xpl-banner__icon","aria-hidden":"true"},s("xpl-icon",{key:"f91c24c80d30d8c784c4fa96e8a3829243705436",icon:this.getIcon(),size:24})),s("div",{key:"edbcd267f1ad434adc4b2a05ce598fab3c2e6df6",class:"xpl-banner__body"},c&&s("p",{key:"d3416ba50362753dd22e2c7e4097159bedf9f8c4",class:"xpl-banner__heading"},this.heading),r&&s("p",{key:"b899e18bce636d21cec109cd3a7933907877d32a",class:"xpl-banner__description",title:this.truncateDesc?this.description:void 0},this.description)),(e||t)&&s("div",{key:"702098d0a58e9327adba65a1b5d9ab9381eabfee",class:"xpl-banner__actions"},e&&s("xpl-button",{key:"73e9a4609e1d8f9a21d096369def97a864dc7ed7",size:"xs",variant:i,state:a,onClick:()=>this.action.emit()},this.actionText),t&&s("xpl-button",{key:"e8449c8728aa9336c51fe0fd4f012452730eb816",size:"xs",variant:i,state:a,onClick:()=>this.secondaryAction.emit()},this.secondaryActionText)),this.isDismissible&&s("button",{key:"9b46dcb8aac285b0fc4a8d60132dd99d756d61c3",class:"xpl-banner__dismiss",type:"button","aria-label":`Dismiss ${this.isSection?"section ":""}banner`,onClick:()=>this.dismiss.emit()},s("xpl-icon",{key:"d0299f4467685505ab2712a985c09ed2d12e90a4",icon:"xmark",size:24,"aria-hidden":"true"})))}},[0,"xpl-banner",{actionText:[1,"action-text"],appearance:[1],description:[1],hasIcon:[4,"has-icon"],heading:[1],isDismissible:[4,"is-dismissible"],isSection:[4,"is-section"],secondaryActionText:[1,"secondary-action-text"],truncateDesc:[4,"truncate-desc"]}]),d=o,b=function(){"undefined"!=typeof customElements&&["xpl-banner","xpl-button","xpl-icon"].forEach((e=>{switch(e){case"xpl-banner":customElements.get(a(e))||customElements.define(a(e),o);break;case"xpl-button":customElements.get(a(e))||c();break;case"xpl-icon":customElements.get(a(e))||r()}}))};export{d as XplBanner,b as defineCustomElement}
1
+ import{p as e,H as t,d as i,h as s,c as n,t as a}from"./p-BqhTjJWq.js";import{d as r}from"./p-CfZI7bBe.js";import{d as c}from"./p-Bh-U2qmp.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.action=i(this,"action",7),this.dismiss=i(this,"dismiss",7),this.secondaryAction=i(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(){return this.isSection?this.heading?.trim()||"Section banner":{information:"Information banner",positive:"Positive banner",warning:"Warning banner",error:"Error banner"}[this.appearance]}render(){const e=!!this.actionText?.trim(),t=!!this.secondaryActionText?.trim(),i=this.getActionButtonVariant(),a=this.getActionButtonState(),r=!!this.heading?.trim(),c=!!this.description?.trim();return s(n,{key:"3ec080a23996280ec5223f06f75db2f308c4af9e",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:"b6a41b971e0a7f07aefa8bd457e39cd16dbaeb3b",class:"xpl-banner__icon","aria-hidden":"true"},s("xpl-icon",{key:"cefc593e0ab2134c4853e7e5e49be548d6b32a24",icon:this.getIcon(),size:24})),s("div",{key:"c26947f4579889550ce9d9edf272274c96981ff7",class:"xpl-banner__body"},r&&s("p",{key:"ccc03db846014aaa25b9938373108feae99150d3",class:"xpl-banner__heading"},this.heading),c&&s("p",{key:"14493ae4ebd31a9d2677b45f148d98c0b6a443e8",class:"xpl-banner__description",title:this.truncateDesc?this.description:void 0},this.description)),(e||t)&&s("div",{key:"37347b1eb78e4664498410a3e5918f26cb670725",class:"xpl-banner__actions"},e&&s("xpl-button",{key:"e84704a48a07fd2ca75252c8821f59084275975c",size:"xs",variant:i,state:a,onClick:()=>this.action.emit()},this.actionText),t&&s("xpl-button",{key:"e02ac8ed8b9c4146d6275262359a9d5d3e401e9c",size:"xs",variant:i,state:a,onClick:()=>this.secondaryAction.emit()},this.secondaryActionText)),this.isDismissible&&s("button",{key:"8f7c5451c1fcadd30915f59064738e42a1e72948",class:"xpl-banner__dismiss",type:"button","aria-label":`Dismiss ${this.isSection?"section ":""}banner`,onClick:()=>this.dismiss.emit()},s("xpl-icon",{key:"6775534525f9363551699f9efa879225d51363f4",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"]}]),h=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))||r();break;case"xpl-icon":customElements.get(a(e))||c()}}))};export{h as XplBanner,b as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as c,h as t,c as a,t as s}from"./p-BSHdGbmH.js";const r=e(class extends c{constructor(e){super(),!1!==e&&this.__registerHost(),this.chevron='<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="chevron-right" class="svg-inline--fa fa-chevron-right fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">\n <path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path>\n </svg>\n '}render(){return t(a,{key:"7183a61283e558218b0ab031b4751c8a0adceccf",class:"xpl-breadcrumb-item",role:"listitem"},t("li",{key:"dbd92cb1dbda6fae79786dc0445bed7d7c77334f",role:"none"},t("slot",{key:"aed0551ce683fce1886d2e4263ad817201471e61"})),t("span",{key:"eb62adcc50b5da568c953263ebe6e3dc185c60c1",innerHTML:this.chevron}))}},[260,"xpl-breadcrumb-item"]),d=r,n=function(){"undefined"!=typeof customElements&&["xpl-breadcrumb-item"].forEach((e=>{"xpl-breadcrumb-item"===e&&(customElements.get(s(e))||customElements.define(s(e),r))}))};export{d as XplBreadcrumbItem,n as defineCustomElement}
1
+ import{p as e,H as c,h as t,c as s,t as a}from"./p-BqhTjJWq.js";const r=e(class extends c{constructor(e){super(),!1!==e&&this.__registerHost(),this.chevron='<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="chevron-right" class="svg-inline--fa fa-chevron-right fa-w-10" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512">\n <path fill="currentColor" d="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"></path>\n </svg>\n '}render(){return t(s,{key:"f27e929df7f6b3c346c78dbaa1fbd5504ed02bb8",class:"xpl-breadcrumb-item",role:"listitem"},t("li",{key:"58c1f95719d3d0ad4304cc4f29e74fc66efa5693",role:"none"},t("slot",{key:"d8ecd978e3f99fd2638094d33735c66e3a56d29c"})),t("span",{key:"a0b21f289feb8246a9e75874f259fe5597cbcaf3",innerHTML:this.chevron}))}},[260,"xpl-breadcrumb-item"]),n=r,f=function(){"undefined"!=typeof customElements&&["xpl-breadcrumb-item"].forEach((e=>{"xpl-breadcrumb-item"===e&&(customElements.get(a(e))||customElements.define(a(e),r))}))};export{n as XplBreadcrumbItem,f as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as c,h as s,c as a,t as r}from"./p-BSHdGbmH.js";const b=e(class extends c{constructor(e){super(),!1!==e&&this.__registerHost()}render(){return s(a,{key:"da8bca6508913f46c473f8d97bfd7dc6dd45bce5"},s("nav",{key:"c9967a3ea464361b820e1c8354ee646cc13677e8",class:"xpl-breadcrumbs","aria-label":"Breadcrumb"},s("ol",{key:"57791a5a8d72a9f25d0e9d43eac87044d8115f4a",role:"list"},s("slot",{key:"b6c7658b88b190130352d096a9b8b1b7e83f7839"}))))}},[260,"xpl-breadcrumbs"]),d=b,t=function(){"undefined"!=typeof customElements&&["xpl-breadcrumbs"].forEach((e=>{"xpl-breadcrumbs"===e&&(customElements.get(r(e))||customElements.define(r(e),b))}))};export{d as XplBreadcrumbs,t as defineCustomElement}
1
+ import{p as e,H as b,h as a,c as s,t as d}from"./p-BqhTjJWq.js";const r=e(class extends b{constructor(e){super(),!1!==e&&this.__registerHost()}render(){return a(s,{key:"f859d93fa0a8ad5b4f8258aa9bbdc1911d6ae16d"},a("nav",{key:"6d676d761994ec12287b1ebdd9de581b312bea8e",class:"xpl-breadcrumbs","aria-label":"Breadcrumb"},a("ol",{key:"ebcb8ef044cb89b8269e2b57b920d915f722a7de",role:"list"},a("slot",{key:"61baec9902cafb7fbdfd69293005708abda67170"}))))}},[260,"xpl-breadcrumbs"]),c=r,t=function(){"undefined"!=typeof customElements&&["xpl-breadcrumbs"].forEach((e=>{"xpl-breadcrumbs"===e&&(customElements.get(d(e))||customElements.define(d(e),r))}))};export{c as XplBreadcrumbs,t as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as s,d as e,h as i,c as o,t as c}from"./p-BSHdGbmH.js";import{d as n}from"./p-CV5nn1zR.js";import{d as b}from"./p-CQjJIHK6.js";const a=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(o,{key:"775133c0e49878db9861212167b4af14241f39b7",class:"xpl-button-row"},i("div",{key:"cb0bf58d6624380730d56fbcb67746bef02f1623",class:"xpl-button-row-inner"},i("div",{key:"c857f0383c85129273ee2bdd3572a05ead4682ae",class:"xpl-button-row__left"},this.secondary&&i("xpl-button",{key:"863e665b97686490b5a8df1b94303ab369eb9bf0",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary)),i("div",{key:"c5f244acf020f0cb3be4994fafe92161428a7289",class:"xpl-button-row__right"},this.tertiary&&i("xpl-button",{key:"9766e4e5ff3cd7e3f2202764edf9b3c3221b7ea8",variant:"subtle",type:"button",onClick:this.onTertiary},this.tertiary),this.secondary&&i("xpl-button",{key:"981384abd21328e229f28a345eef129cb96cbdc8",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary),this.primary&&i("xpl-button",{key:"f141d9bff96edd8c74bd19745e7a259005ebc12e",class:"xpl-button-row__primary",onClick:this.onPrimary},this.primary))))}},[0,"xpl-button-row",{primary:[1],secondary:[1],tertiary:[1]}]),r=a,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),a);break;case"xpl-button":customElements.get(c(t))||n();break;case"xpl-icon":customElements.get(c(t))||b()}}))};export{r as XplButtonRow,l as defineCustomElement}
1
+ import{p as t,H as e,d as s,h as c,c as i,t as o}from"./p-BqhTjJWq.js";import{d as a}from"./p-CfZI7bBe.js";import{d as n}from"./p-Bh-U2qmp.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 c(i,{key:"1a62b9b571e501af51ec981ffa18482516d889dd",class:"xpl-button-row"},c("div",{key:"60eefd7f143289ff3991373d29d8fb925c326bcd",class:"xpl-button-row-inner"},c("div",{key:"a395589aa225b953abf8a60539ea32dcca023f17",class:"xpl-button-row__left"},this.secondary&&c("xpl-button",{key:"b4682506704ed7b9169e5b621fa58d6c5238103f",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary)),c("div",{key:"24c432eb94332d55842cb3e3b747b933bc29b168",class:"xpl-button-row__right"},this.tertiary&&c("xpl-button",{key:"07ddee3c645def7a435d1ee7e33ac82a11b311cd",variant:"subtle",type:"button",onClick:this.onTertiary},this.tertiary),this.secondary&&c("xpl-button",{key:"eed2fe1cf5235744f91b3990953dd3bea7ed6bea",variant:"secondary",type:"button",onClick:this.onSecondary},this.secondary),this.primary&&c("xpl-button",{key:"28d2224d6c2b519068b5c47ccb8e7a2a8ec31180",class:"xpl-button-row__primary",onClick:this.onPrimary},this.primary))))}},[0,"xpl-button-row",{primary:[1],secondary:[1],tertiary:[1]}]),r=b,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),b);break;case"xpl-button":customElements.get(o(t))||a();break;case"xpl-icon":customElements.get(o(t))||n()}}))};export{r as XplButtonRow,d as defineCustomElement}
@@ -1 +1 @@
1
- import{B as o,d as s}from"./p-CV5nn1zR.js";const n=o,p=s;export{n as XplButton,p as defineCustomElement}
1
+ import{B as o,d as s}from"./p-CfZI7bBe.js";const p=o,r=s;export{p as XplButton,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,d as s,h as i,c as a,t as n}from"./p-BSHdGbmH.js";import{f as o}from"./p-CH4yJ6Qx.js";import{i as d}from"./p-Dqb1pIRo.js";import{v as r}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>`,c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.dateSelected=s(this,"dateSelected",7),this.inputId=r(),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(){d()&&(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=>{this.dateSelected.emit("single"===this.mode?t[0]?.toISOString():t.map((t=>t.toISOString())))}}))}disconnectedCallback(){void 0!==this.flatpickrInstance&&this.flatpickrInstance.destroy()}render(){return i(a,{key:"b82a13403c12cdcfa676caeddcd397cd264eb9ec",class:"xpl-calendar"},i("input",{key:"0fba8e4e4b052bfed0e883c3455f63e8549c4263",class:"xpl-calendar-input",type:"text",id:this.calendarInputId,ref:t=>{t&&(this.inputElement=t)}}))}},[0,"xpl-calendar",{inputId:[1,"input-id"],dateFormat:[1,"date-format"],max:[8],min:[8],mode:[1],defaultDate:[1,"default-date"],setDate:[64]}]),h=c,p=function(){"undefined"!=typeof customElements&&["xpl-calendar"].forEach((t=>{"xpl-calendar"===t&&(customElements.get(n(t))||customElements.define(n(t),c))}))};export{h as XplCalendar,p as defineCustomElement}
1
+ import{p as t,H as e,d as s,h as a,c as i,t as n}from"./p-BqhTjJWq.js";import{f as o}from"./p-CH4yJ6Qx.js";import{i as d}from"./p-Dqb1pIRo.js";import{v as r}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>`,h=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.dateSelected=s(this,"dateSelected",7),this.inputId=r(),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(){d()&&(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=>{this.dateSelected.emit("single"===this.mode?t[0]?.toISOString():t.map((t=>t.toISOString())))}}))}disconnectedCallback(){void 0!==this.flatpickrInstance&&this.flatpickrInstance.destroy()}render(){return a(i,{key:"9482590a1f610ab97fa222cc4b7dd1c5d39646ce",class:"xpl-calendar"},a("input",{key:"1222dcda2f73a3bb174410a2a05c39d1f0614c7e",class:"xpl-calendar-input",type:"text",id:this.calendarInputId,ref:t=>{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]}]),p=h,c=function(){"undefined"!=typeof customElements&&["xpl-calendar"].forEach((t=>{"xpl-calendar"===t&&(customElements.get(n(t))||customElements.define(n(t),h))}))};export{p as XplCalendar,c as defineCustomElement}
@@ -1 +1 @@
1
- import{C as o,d as s}from"./p-CuVYRPvz.js";const p=o,r=s;export{p as XplCheckbox,r as defineCustomElement}
1
+ import{C as o,d as s}from"./p-DORBnmT4.js";const m=o,p=s;export{m as XplCheckbox,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as s,d as t,h as i,c,t as h}from"./p-BSHdGbmH.js";import{d as o}from"./p-CuVYRPvz.js";import{d as l}from"./p-1D7CWIJ-.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=t(this,"choicelistChange",7),this.choicelistValueChange=t(this,"choicelistValueChange",7),this.name=n(),this.onChoiceChange=(e,s)=>{const t=this.choices[s];if(this.multi){if(this.selected=this.selected.map(((e,t)=>t===s?!e:e)),void 0!==t?.value){const e=this.choices.filter(((e,s)=>this.selected[s])).map(((e,s)=>e.value??this.selected[s]));this.choicelistValueChange.emit(e)}}else this.selected=this.selected.map(((e,t)=>t===s)),void 0!==t?.value&&this.choicelistValueChange.emit(t.value)},this.renderChoice=({description:e,label:s,value:t,checked:c},h)=>this.multi?i("xpl-checkbox",{value:t,description:e,name:this.name,checked:c,onCheckboxChange:e=>this.onChoiceChange(e.detail,h)},s):i("xpl-radio",{value:t,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 i(c,{key:"618280baaf3f3e5d6b2787e74a257858a2a94a26",class:"xpl-choicelist-container"},void 0!==this.heading||void 0!==this.description?i("div",{class:"xpl-choicelist-heading"},this.heading&&i("h3",null,this.heading),this.description&&i("p",null,this.description)):null,this.choices&&i("ul",{key:"3d728d5612ea9efe80325cb09b98f5cf3146a813",class:{"xpl-choicelist":!0,"xpl-choicelist--styled":!!this.styled}},this.choices.map(((e,s)=>{const t=this.renderChoice(e,s);return i("li",{class:{selected:!!this.styled&&!!this.selected[s]}},t,e.children&&i("ul",null,e.children.map(((e,s)=>{const t=this.renderChoice(e,s);return i("li",null,t)}))))}))))}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))||o();break;case"xpl-radio":customElements.get(h(e))||l()}}))};export{d as XplChoicelist,r as defineCustomElement}
1
+ import{p as e,H as s,d as t,h as i,c,t as h}from"./p-BqhTjJWq.js";import{d as o}from"./p-DORBnmT4.js";import{d as l}from"./p-rQFFXcXl.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=t(this,"choicelistChange",7),this.choicelistValueChange=t(this,"choicelistValueChange",7),this.name=n(),this.onChoiceChange=(e,s)=>{const t=this.choices[s];if(this.multi){if(this.selected=this.selected.map(((e,t)=>t===s?!e:e)),void 0!==t?.value){const e=this.choices.filter(((e,s)=>this.selected[s])).map(((e,s)=>e.value??this.selected[s]));this.choicelistValueChange.emit(e)}}else this.selected=this.selected.map(((e,t)=>t===s)),void 0!==t?.value&&this.choicelistValueChange.emit(t.value)},this.renderChoice=({description:e,label:s,value:t,checked:c},h)=>this.multi?i("xpl-checkbox",{value:t,description:e,name:this.name,checked:c,onCheckboxChange:e=>this.onChoiceChange(e.detail,h)},s):i("xpl-radio",{value:t,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 i(c,{key:"c1588b70760e078e599ee7a0ffa9b63b65bfb7e4",class:"xpl-choicelist-container"},void 0!==this.heading||void 0!==this.description?i("div",{class:"xpl-choicelist-heading"},this.heading&&i("h3",null,this.heading),this.description&&i("p",null,this.description)):null,this.choices&&i("ul",{key:"0ea89dcd0aa52724e2659b0a075299c0624eb682",class:{"xpl-choicelist":!0,"xpl-choicelist--styled":!!this.styled}},this.choices.map(((e,s)=>{const t=this.renderChoice(e,s);return i("li",{class:{selected:!!this.styled&&!!this.selected[s]}},t,e.children&&i("ul",null,e.children.map(((e,s)=>{const t=this.renderChoice(e,s);return i("li",null,t)}))))}))))}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))||o();break;case"xpl-radio":customElements.get(h(e))||l()}}))};export{d as XplChoicelist,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as a,c,t as n}from"./p-BSHdGbmH.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.size="wide"}render(){return a(c,{key:"30c120a2eb2998222057ec07e5904cc1d8522f88"},a("main",{key:"c4d94b67ece358f50577b5b26793a31fa58b5ad2",class:"xpl-content-area-wrapper xpl-content-area-wrapper__"+this.size},a("div",{key:"162e32db10f359d86cbe80fa881f9866b8a9e14e",class:"xpl-content-area"},a("slot",{key:"065c2851622f7817ab6ceb5fe5b23cd19a1408ed"}))))}},[260,"xpl-content-area",{size:[1]}]),r=s,o=function(){"undefined"!=typeof customElements&&["xpl-content-area"].forEach((e=>{"xpl-content-area"===e&&(customElements.get(n(e))||customElements.define(n(e),s))}))};export{r as XplContentArea,o as defineCustomElement}
1
+ import{p as e,H as t,h as a,c,t as n}from"./p-BqhTjJWq.js";const s=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.size="wide"}render(){return a(c,{key:"039b66267939780a105ead45dee7fdbab2826555"},a("main",{key:"457e5701bed865b094c8031fef9a4f2d4f167e2a",class:"xpl-content-area-wrapper xpl-content-area-wrapper__"+this.size},a("div",{key:"174ca226c7c4cf56bd03f0636b985f5c13b72ddc",class:"xpl-content-area"},a("slot",{key:"74e699c02c468d99032e37f8bdc025a5ad443e53"}))))}},[260,"xpl-content-area",{size:[1]}]),r=s,o=function(){"undefined"!=typeof customElements&&["xpl-content-area"].forEach((e=>{"xpl-content-area"===e&&(customElements.get(n(e))||customElements.define(n(e),s))}))};export{r as XplContentArea,o as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as s,h as d,c as a,t}from"./p-BSHdGbmH.js";const b=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost()}render(){return d(a,{key:"6551b0e202b00dc8c584c4368bfabdb388433016"},d("dl",{key:"126b026852d0de7040ce26736eb850fa31bfc1f3",class:"xpl-dashboard"},d("slot",{key:"262977ead7f8f9d15e61a20368bb1a3584b4fd8b"})))}},[260,"xpl-dashboard"]),o=b,c=function(){"undefined"!=typeof customElements&&["xpl-dashboard"].forEach((e=>{"xpl-dashboard"===e&&(customElements.get(t(e))||customElements.define(t(e),b))}))};export{o as XplDashboard,c as defineCustomElement}
1
+ import{p as e,H as s,h as a,c,t as d}from"./p-BqhTjJWq.js";const t=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost()}render(){return a(c,{key:"dac516d62e2171dcd43f7c7d28fc4af39a880d63"},a("dl",{key:"9ebe4177da5919058c8cdcc7aba2b07fcc9617a0",class:"xpl-dashboard"},a("slot",{key:"eb261b674f1ae29b4b9837c98865b64a78fe4949"})))}},[260,"xpl-dashboard"]),o=t,r=function(){"undefined"!=typeof customElements&&["xpl-dashboard"].forEach((e=>{"xpl-dashboard"===e&&(customElements.get(d(e))||customElements.define(d(e),t))}))};export{o as XplDashboard,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as a,h as s,c as e,t as i}from"./p-BSHdGbmH.js";import{h as c}from"./p-_r9-FML8.js";import{d}from"./p-CQjJIHK6.js";import{d as l}from"./p-B6YLKDUX.js";const o="graph-content",r=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.graphContentPresent=!1,this.leadingIcon=!0,this.tooltipTextSmallStat="",this.tooltipTextStat=""}watchStat(t){this.stat=t}watchShortStat(t){this.shortStat=t}connectedCallback(){this.syncGraphContentSlot(),this.connectGraphContentSlotObserver()}disconnectedCallback(){void 0!==this.graphContentSlotSyncTimeoutId&&(clearTimeout(this.graphContentSlotSyncTimeoutId),this.graphContentSlotSyncTimeoutId=void 0),this.disconnectGraphContentSlotObserver()}componentWillLoad(){this.syncGraphContentSlot()}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)}}componentWillRender(){this.disconnectGraphContentSlotObserver()}componentDidRender(){this.scheduleGraphContentSlotSync()}connectGraphContentSlotObserver(){this.disconnectGraphContentSlotObserver(),"undefined"!=typeof MutationObserver&&(this.graphContentSlotObserver=new MutationObserver((()=>{this.scheduleGraphContentSlotSync()})),this.graphContentSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectGraphContentSlotObserver(){this.graphContentSlotObserver?.disconnect(),this.graphContentSlotObserver=void 0}scheduleGraphContentSlotSync(){void 0!==this.graphContentSlotSyncTimeoutId&&clearTimeout(this.graphContentSlotSyncTimeoutId),this.graphContentSlotSyncTimeoutId=setTimeout((()=>{this.graphContentSlotSyncTimeoutId=void 0,this.el.isConnected&&(this.syncGraphContentSlot(),this.connectGraphContentSlotObserver())}),0)}syncGraphContentSlot(){const t=c(this.el,o);t!==this.graphContentPresent&&(this.graphContentPresent=t)}render(){const t="positive"===this.smallStatVariant?"arrow-up-right":"negative"===this.smallStatVariant?"arrow-down-right":"dash";return s(e,{key:"7c4e576cefe0b23b431aa2a73ca246fec0bb8db6",role:"group",class:"xpl-data-card "+(this.link?"xpl-data-card__link":""),tabindex:"0"},s("dt",{key:"e5907b183be449b87b2b5c46f17b2c7c97a07f66",class:"xpl-data-card__header xpl-data-card__header--"+("secondary"===this.variant?"secondary":"primary")},s("header",{key:"234988a87297a90565614c16e7a30a18a7b5aeb2"},!!this.leadingIcon&&this.icon&&s("span",{key:"462d1f7a090eefb04be255c37a19d05c8365bf35",class:"xpl-data-card__icon--"+this.variant},s("xpl-icon",{key:"334a676cbbf353de77fd173fbeb786820694d6d0",icon:this.icon,"background-color":"secondary"===this.variant?"purple":"orange",size:20})),s("slot",{key:"9f933f8307c0ee4289ab03971261d947ac3a71c3",name:"title"},this.name)),this.link&&s("span",{key:"eb5e62387de08b5d588b702cdb06522a18f6d0ff",class:"xpl-data-card__header-arrow"},s("xpl-icon",{key:"f0c210320683fa98dc15e89cef7ba0351ae8b54f",icon:"chevron-right",size:16}))),s("dd",{key:"a18c3f4800e6719a659e8ad1ebb9b61d4c59235a",class:"xpl-data-card__body"},s("div",{key:"0ea86cf8297a15c2ac3694df4ecedbce2a967239",class:"xpl-data-card__left"},s("span",{key:"d3daf019480ee66cfd9c1fff5e57cad87dab9b6e",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:t,size:16}),this.smallStat)):s("div",{class:"xpl-data-card-stat xpl-data-card-stat--small "+this.smallStatVariant},s("xpl-icon",{icon:t,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:"61bb7ebb508ead51c8c7dbbe1513822c65675fc5",class:"xpl-data-card__detail"},this.detail)),this.graphContentPresent&&s("div",{key:"6325676d2bbc0210e5d46ec72a5f8cb7d916d255",class:"xpl-data-card__right"},s("slot",{key:"96775ee066bcea7b8e418132b8125857cf197cbc",name:o}))))}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"],graphContentPresent:[32]},void 0,{stat:[{watchStat:0}],shortStat:[{watchShortStat:0}]}]),h=r,n=function(){"undefined"!=typeof customElements&&["xpl-data-card","xpl-icon","xpl-tooltip"].forEach((t=>{switch(t){case"xpl-data-card":customElements.get(i(t))||customElements.define(i(t),r);break;case"xpl-icon":customElements.get(i(t))||d();break;case"xpl-tooltip":customElements.get(i(t))||l()}}))};export{h as XplDataCard,n as defineCustomElement}
1
+ import{p as t,H as a,h as s,c as e,t as i}from"./p-BqhTjJWq.js";import{h as c}from"./p-_r9-FML8.js";import{d}from"./p-Bh-U2qmp.js";import{d as l}from"./p-sjDW_E4p.js";const o="graph-content",h=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.graphContentPresent=!1,this.leadingIcon=!0,this.tooltipTextSmallStat="",this.tooltipTextStat=""}watchStat(t){this.stat=t}watchShortStat(t){this.shortStat=t}connectedCallback(){this.syncGraphContentSlot(),this.connectGraphContentSlotObserver()}disconnectedCallback(){void 0!==this.graphContentSlotSyncTimeoutId&&(clearTimeout(this.graphContentSlotSyncTimeoutId),this.graphContentSlotSyncTimeoutId=void 0),this.disconnectGraphContentSlotObserver()}componentWillLoad(){this.syncGraphContentSlot()}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)}}componentWillRender(){this.disconnectGraphContentSlotObserver()}componentDidRender(){this.scheduleGraphContentSlotSync()}connectGraphContentSlotObserver(){this.disconnectGraphContentSlotObserver(),"undefined"!=typeof MutationObserver&&(this.graphContentSlotObserver=new MutationObserver((()=>{this.scheduleGraphContentSlotSync()})),this.graphContentSlotObserver.observe(this.el,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["slot"]}))}disconnectGraphContentSlotObserver(){this.graphContentSlotObserver?.disconnect(),this.graphContentSlotObserver=void 0}scheduleGraphContentSlotSync(){void 0!==this.graphContentSlotSyncTimeoutId&&clearTimeout(this.graphContentSlotSyncTimeoutId),this.graphContentSlotSyncTimeoutId=setTimeout((()=>{this.graphContentSlotSyncTimeoutId=void 0,this.el.isConnected&&(this.syncGraphContentSlot(),this.connectGraphContentSlotObserver())}),0)}syncGraphContentSlot(){const t=c(this.el,o);t!==this.graphContentPresent&&(this.graphContentPresent=t)}render(){const t="positive"===this.smallStatVariant?"arrow-up-right":"negative"===this.smallStatVariant?"arrow-down-right":"dash";return s(e,{key:"67600ec3bea7c67b0adaab720343a44f29a56dd4",role:"group",class:"xpl-data-card "+(this.link?"xpl-data-card__link":""),tabindex:"0"},s("dt",{key:"f49af2614c4dd8eb478bba583c30a9417f45e7f6",class:"xpl-data-card__header xpl-data-card__header--"+("secondary"===this.variant?"secondary":"primary")},s("header",{key:"65fbdb3e3d1676b2b3424fca802f62069e67371e"},!!this.leadingIcon&&this.icon&&s("span",{key:"969a2f56c7a6574fb4259efdb7dfcba236e99ccf",class:"xpl-data-card__icon--"+this.variant},s("xpl-icon",{key:"b1ccdddd1934feded858fea2170f8226738a30ad",icon:this.icon,"background-color":"secondary"===this.variant?"purple":"orange",size:20})),s("slot",{key:"16872a96b96f7f34bf4ac1f36aef388366899b0d",name:"title"},this.name)),this.link&&s("span",{key:"22fc5c8d7b82689c1e3fd10fb5240df957ea0bb6",class:"xpl-data-card__header-arrow"},s("xpl-icon",{key:"b32326c05e48e6aae857da7ea809e553715cb17e",icon:"chevron-right",size:16}))),s("dd",{key:"462b54b42a2bfdb66e2e7cb816578b46abac2281",class:"xpl-data-card__body"},s("div",{key:"617fe8c2c07d22523a3e233eea84e8509a3665e5",class:"xpl-data-card__left"},s("span",{key:"6fc8a0c0b525574ab0e7b1f8787b445805a2c477",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:t,size:16}),this.smallStat)):s("div",{class:"xpl-data-card-stat xpl-data-card-stat--small "+this.smallStatVariant},s("xpl-icon",{icon:t,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:"800c59505dfa7a9c6c8146d8722b5d941df198a3",class:"xpl-data-card__detail"},this.detail)),this.graphContentPresent&&s("div",{key:"4edecaf0e2a361e0dc676f33ed46efcaeb357148",class:"xpl-data-card__right"},s("slot",{key:"3bbb230c30e850f16376079e2bdac5fe7b13686c",name:o}))))}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"],graphContentPresent:[32]},void 0,{stat:[{watchStat:0}],shortStat:[{watchShortStat:0}]}]),r=h,n=function(){"undefined"!=typeof customElements&&["xpl-data-card","xpl-icon","xpl-tooltip"].forEach((t=>{switch(t){case"xpl-data-card":customElements.get(i(t))||customElements.define(i(t),h);break;case"xpl-icon":customElements.get(i(t))||d();break;case"xpl-tooltip":customElements.get(i(t))||l()}}))};export{r as XplDataCard,n as defineCustomElement}
@@ -1 +1 @@
1
- import{D as o,d as s}from"./p-DtV4i45B.js";const t=o,p=s;export{t as XplDivider,p as defineCustomElement}
1
+ import{D as o,d as s}from"./p-CetimlcM.js";const t=o,m=s;export{t as XplDivider,m as defineCustomElement}
@@ -1 +1 @@
1
- import{D as o,d as s}from"./p-BZIZSovL.js";const p=o,r=s;export{p as XplDropdownGroup,r as defineCustomElement}
1
+ import{D as o,d as s}from"./p-2XxO7M15.js";const p=o,r=s;export{p as XplDropdownGroup,r as defineCustomElement}
@@ -1 +1 @@
1
- import{D as s,d as o}from"./p-Dp62sBqX.js";const p=s,r=o;export{p as XplDropdownHeading,r as defineCustomElement}
1
+ import{D as o,d as s}from"./p-BWAytJnz.js";const t=o,p=s;export{t as XplDropdownHeading,p as defineCustomElement}
@@ -1 +1 @@
1
- import{D as o,d as s}from"./p-C0AbGd4t.js";const t=o,p=s;export{t as XplDropdownOption,p as defineCustomElement}
1
+ import{D as o,d as s}from"./p-DHxDWgLP.js";const p=o,r=s;export{p as XplDropdownOption,r as defineCustomElement}
@@ -1 +1 @@
1
- import{D as s,d as o}from"./p-2cJsJK3-.js";const p=s,r=o;export{p as XplDropdown,r as defineCustomElement}
1
+ import{D as o,d as p}from"./p-CjzUVpyd.js";const s=o,r=p;export{s as XplDropdown,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as s,c as l,t as i}from"./p-BSHdGbmH.js";const c=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=this.el.parentElement?Array.from(this.el.parentElement.children).indexOf(this.el)+1:0;return s(l,{key:"bdc80cc13051a57294f5a8eef938ffc92f7108b4",role:"gridcell","aria-colindex":e,class:"xpl-dynamic-table-cell",ref:e=>{this.hostElement=e??void 0}},s("slot",{key:"743946a9ee87d85eb9e0e414f9688e249b7694a3"}))}get el(){return this}},[260,"xpl-dynamic-table-cell",{disabled:[4]}]),n=c,a=function(){"undefined"!=typeof customElements&&["xpl-dynamic-table-cell"].forEach((e=>{"xpl-dynamic-table-cell"===e&&(customElements.get(i(e))||customElements.define(i(e),c))}))};export{n as XplDynamicTableCell,a as defineCustomElement}
1
+ import{p as e,H as t,h as s,c as l,t as i}from"./p-BqhTjJWq.js";const a=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=this.el.parentElement?Array.from(this.el.parentElement.children).indexOf(this.el)+1:0;return s(l,{key:"fb0813824c87078ee6a2cda5e3d4f40f86160c30",role:"gridcell","aria-colindex":e,class:"xpl-dynamic-table-cell",ref:e=>{this.hostElement=e??void 0}},s("slot",{key:"3a09f63ca7320971d3080458d48eb7f87423008a"}))}get el(){return this}},[260,"xpl-dynamic-table-cell",{disabled:[4]}]),c=a,n=function(){"undefined"!=typeof customElements&&["xpl-dynamic-table-cell"].forEach((e=>{"xpl-dynamic-table-cell"===e&&(customElements.get(i(e))||customElements.define(i(e),a))}))};export{c as XplDynamicTableCell,n as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as s,c as i,t as d}from"./p-BSHdGbmH.js";const l=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:"5d91af6b6055646118e882b9e4ac1c0fe9003e06",role:"row",class:`xpl-dynamic-table-row\n ${this.isDisabled?"disabled":""}\n ${this.selected?"selected":""}`,ref:e=>{this.hostElement=e??void 0}},s("slot",{key:"e3ed1a18b1d7187bf03f9c6633c276e1fb90d029"}))}},[260,"xpl-dynamic-table-row",{disabled:[4],selected:[4],isDisabled:[32]}]),o=l,a=function(){"undefined"!=typeof customElements&&["xpl-dynamic-table-row"].forEach((e=>{"xpl-dynamic-table-row"===e&&(customElements.get(d(e))||customElements.define(d(e),l))}))};export{o as XplDynamicTableRow,a as defineCustomElement}
1
+ import{p as e,H as t,h as s,c as d,t as i}from"./p-BqhTjJWq.js";const l=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:"94044631c91c393c734c437ff74f182fdeb950dd",role:"row",class:`xpl-dynamic-table-row\n ${this.isDisabled?"disabled":""}\n ${this.selected?"selected":""}`,ref:e=>{this.hostElement=e??void 0}},s("slot",{key:"182eabc2d78e66cd92cff945b814b32d734ef326"}))}},[260,"xpl-dynamic-table-row",{disabled:[4],selected:[4],isDisabled:[32]}]),c=l,o=function(){"undefined"!=typeof customElements&&["xpl-dynamic-table-row"].forEach((e=>{"xpl-dynamic-table-row"===e&&(customElements.get(i(e))||customElements.define(i(e),l))}))};export{c as XplDynamicTableRow,o as defineCustomElement}