@spw-ds/spw-stencil-library 1.21.0 → 1.21.2

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 (530) hide show
  1. package/dist/cem.json +339 -5
  2. package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
  3. package/dist/cjs/index-BDwcdQtT.js +3256 -0
  4. package/dist/cjs/loader.cjs.js +4 -3
  5. package/dist/cjs/spw-accordion_4.cjs.entry.js +1 -1
  6. package/dist/cjs/spw-alert.cjs.entry.js +1 -1
  7. package/dist/cjs/spw-avatar.cjs.entry.js +6 -3
  8. package/dist/cjs/spw-block-content.cjs.entry.js +1 -1
  9. package/dist/cjs/spw-box.cjs.entry.js +1 -1
  10. package/dist/cjs/spw-breadcrumb-item.cjs.entry.js +1 -1
  11. package/dist/cjs/spw-breadcrumb.cjs.entry.js +1 -1
  12. package/dist/cjs/spw-button_2.cjs.entry.js +2 -2
  13. package/dist/cjs/spw-card-content.cjs.entry.js +1 -1
  14. package/dist/cjs/spw-card-excerpt.cjs.entry.js +1 -1
  15. package/dist/cjs/spw-card-image.cjs.entry.js +1 -1
  16. package/dist/cjs/spw-card-subtag-item.cjs.entry.js +1 -1
  17. package/dist/cjs/spw-card-subtags.cjs.entry.js +1 -1
  18. package/dist/cjs/spw-card-title.cjs.entry.js +1 -1
  19. package/dist/cjs/spw-card.cjs.entry.js +1 -1
  20. package/dist/cjs/spw-checkbox.cjs.entry.js +9 -5
  21. package/dist/cjs/spw-cookies.cjs.entry.js +1 -1
  22. package/dist/cjs/spw-custom-select.cjs.entry.js +1 -1
  23. package/dist/cjs/spw-date-picker.cjs.entry.js +1 -1
  24. package/dist/cjs/spw-drawer.cjs.entry.js +1 -1
  25. package/dist/cjs/spw-dropdown-container.cjs.entry.js +2 -2
  26. package/dist/cjs/spw-dropdown-item.cjs.entry.js +19 -5
  27. package/dist/cjs/spw-dropdown.cjs.entry.js +30 -8
  28. package/dist/cjs/spw-field-label_8.cjs.entry.js +9 -7
  29. package/dist/cjs/spw-file-upload.cjs.entry.js +1 -1
  30. package/dist/cjs/spw-footer-bottom.cjs.entry.js +1 -1
  31. package/dist/cjs/spw-footer-content-col.cjs.entry.js +1 -1
  32. package/dist/cjs/spw-footer-content.cjs.entry.js +1 -1
  33. package/dist/cjs/spw-footer-link.cjs.entry.js +1 -1
  34. package/dist/cjs/spw-footer.cjs.entry.js +1 -1
  35. package/dist/cjs/spw-grid-item.cjs.entry.js +1 -1
  36. package/dist/cjs/spw-grid.cjs.entry.js +1 -1
  37. package/dist/cjs/spw-header-lang.cjs.entry.js +25 -5
  38. package/dist/cjs/spw-header-navigation-dropdown.cjs.entry.js +4 -3
  39. package/dist/cjs/spw-header-navigation-item.cjs.entry.js +5 -4
  40. package/dist/cjs/spw-header-navigation.cjs.entry.js +1 -1
  41. package/dist/cjs/spw-header-persona-item.cjs.entry.js +2 -2
  42. package/dist/cjs/spw-header-persona.cjs.entry.js +83 -7
  43. package/dist/cjs/spw-header.cjs.entry.js +4 -4
  44. package/dist/cjs/spw-hero.cjs.entry.js +4 -4
  45. package/dist/cjs/spw-illustration.cjs.entry.js +1 -1
  46. package/dist/cjs/spw-input-slider.cjs.entry.js +2 -2
  47. package/dist/cjs/spw-lightbox-item.cjs.entry.js +2 -2
  48. package/dist/cjs/spw-lightbox.cjs.entry.js +4 -4
  49. package/dist/cjs/spw-list-description.cjs.entry.js +2 -2
  50. package/dist/cjs/spw-list-item.cjs.entry.js +2 -2
  51. package/dist/cjs/spw-list-title.cjs.entry.js +2 -2
  52. package/dist/cjs/spw-list.cjs.entry.js +2 -2
  53. package/dist/cjs/spw-message.cjs.entry.js +1 -1
  54. package/dist/cjs/spw-modal.cjs.entry.js +4 -4
  55. package/dist/cjs/spw-mosaic-item.cjs.entry.js +2 -2
  56. package/dist/cjs/spw-mosaic.cjs.entry.js +2 -2
  57. package/dist/cjs/spw-pagination.cjs.entry.js +7 -7
  58. package/dist/cjs/spw-radio.cjs.entry.js +14 -10
  59. package/dist/cjs/spw-scrolltop.cjs.entry.js +2 -2
  60. package/dist/cjs/spw-search-field.cjs.entry.js +1 -1
  61. package/dist/cjs/spw-select.cjs.entry.js +5 -2
  62. package/dist/cjs/spw-sidebar-navigation-dropdown.cjs.entry.js +2 -2
  63. package/dist/cjs/spw-sidebar-navigation-item.cjs.entry.js +4 -4
  64. package/dist/cjs/spw-sidebar-navigation-separator.cjs.entry.js +2 -2
  65. package/dist/cjs/spw-sidebar.cjs.entry.js +2 -2
  66. package/dist/cjs/spw-sidenav-group.cjs.entry.js +3 -3
  67. package/dist/cjs/spw-sidenav-item.cjs.entry.js +4 -4
  68. package/dist/cjs/spw-sidenav.cjs.entry.js +3 -3
  69. package/dist/cjs/spw-skeleton.cjs.entry.js +2 -2
  70. package/dist/cjs/spw-slider-item.cjs.entry.js +2 -2
  71. package/dist/cjs/spw-slider.cjs.entry.js +2 -2
  72. package/dist/cjs/spw-socials.cjs.entry.js +2 -2
  73. package/dist/cjs/spw-stencil-library.cjs.js +4 -3
  74. package/dist/cjs/spw-table-body.cjs.entry.js +2 -2
  75. package/dist/cjs/spw-table-cell.cjs.entry.js +2 -2
  76. package/dist/cjs/spw-table-container.cjs.entry.js +2 -2
  77. package/dist/cjs/spw-table-footer.cjs.entry.js +2 -2
  78. package/dist/cjs/spw-table-head.cjs.entry.js +2 -2
  79. package/dist/cjs/spw-table-header.cjs.entry.js +3 -3
  80. package/dist/cjs/spw-table-row.cjs.entry.js +2 -2
  81. package/dist/cjs/spw-table-sidebar.cjs.entry.js +2 -2
  82. package/dist/cjs/spw-table.cjs.entry.js +1 -1
  83. package/dist/cjs/spw-tabs-content.cjs.entry.js +1 -1
  84. package/dist/cjs/spw-tabs-navigation-item.cjs.entry.js +2 -2
  85. package/dist/cjs/spw-tabs-navigation.cjs.entry.js +2 -2
  86. package/dist/cjs/spw-tabs.cjs.entry.js +2 -2
  87. package/dist/cjs/spw-tag.cjs.entry.js +2 -2
  88. package/dist/cjs/spw-text-field.cjs.entry.js +2 -2
  89. package/dist/cjs/spw-textarea.cjs.entry.js +2 -2
  90. package/dist/cjs/spw-tile-description.cjs.entry.js +2 -2
  91. package/dist/cjs/spw-tile-title.cjs.entry.js +3 -3
  92. package/dist/cjs/spw-tile.cjs.entry.js +1 -1
  93. package/dist/cjs/spw-timeline-item.cjs.entry.js +3 -3
  94. package/dist/cjs/spw-timeline.cjs.entry.js +3 -3
  95. package/dist/cjs/spw-toast-controller.cjs.entry.js +1 -1
  96. package/dist/cjs/spw-toast.cjs.entry.js +1 -1
  97. package/dist/cjs/spw-toc-container.cjs.entry.js +1 -1
  98. package/dist/cjs/spw-toc-navigation.cjs.entry.js +1 -1
  99. package/dist/cjs/spw-toc.cjs.entry.js +2 -2
  100. package/dist/cjs/spw-topbar.cjs.entry.js +2 -2
  101. package/dist/cjs/spw-wizard-item.cjs.entry.js +2 -2
  102. package/dist/cjs/spw-wizard.cjs.entry.js +17 -8
  103. package/dist/collection/components/spw-avatar/spw-avatar.css +19 -2
  104. package/dist/collection/components/spw-avatar/spw-avatar.js +24 -1
  105. package/dist/collection/components/spw-checkbox/spw-checkbox.css +53 -0
  106. package/dist/collection/components/spw-checkbox/spw-checkbox.js +14 -5
  107. package/dist/collection/components/spw-dropdown/spw-dropdown-container/spw-dropdown-container.css +1 -1
  108. package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.css +6 -3
  109. package/dist/collection/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.js +55 -4
  110. package/dist/collection/components/spw-dropdown/spw-dropdown.js +29 -7
  111. package/dist/collection/components/spw-header/spw-header-lang/spw-header-lang.js +44 -4
  112. package/dist/collection/components/spw-header/spw-header-navigation-dropdown/spw-header-navigation-dropdown.js +3 -2
  113. package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.css +1 -1
  114. package/dist/collection/components/spw-header/spw-header-navigation-item/spw-header-navigation-item.js +3 -2
  115. package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.css +14 -0
  116. package/dist/collection/components/spw-header/spw-header-persona/spw-header-persona.js +303 -6
  117. package/dist/collection/components/spw-header/spw-header-persona-item/spw-header-persona-item.js +1 -1
  118. package/dist/collection/components/spw-header/spw-header.css +4 -0
  119. package/dist/collection/components/spw-header/spw-header.js +2 -2
  120. package/dist/collection/components/spw-hero/spw-hero.js +3 -3
  121. package/dist/collection/components/spw-icon/spw-icon.js +3 -3
  122. package/dist/collection/components/spw-input-slider/spw-input-slider.js +1 -1
  123. package/dist/collection/components/spw-lightbox/spw-lightbox-item/spw-lightbox-item.js +1 -1
  124. package/dist/collection/components/spw-lightbox/spw-lightbox.js +3 -3
  125. package/dist/collection/components/spw-link/spw-link.js +1 -1
  126. package/dist/collection/components/spw-list/spw-list-description/spw-list-description.js +1 -1
  127. package/dist/collection/components/spw-list/spw-list-item/spw-list-item.js +1 -1
  128. package/dist/collection/components/spw-list/spw-list-title/spw-list-title.js +1 -1
  129. package/dist/collection/components/spw-list/spw-list.js +1 -1
  130. package/dist/collection/components/spw-loading/spw-loading.js +1 -1
  131. package/dist/collection/components/spw-modal/spw-modal.js +3 -3
  132. package/dist/collection/components/spw-mosaic/spw-mosaic-item/spw-mosaic-item.js +1 -1
  133. package/dist/collection/components/spw-mosaic/spw-mosaic.js +1 -1
  134. package/dist/collection/components/spw-pagination/spw-pagination.js +6 -6
  135. package/dist/collection/components/spw-radio/spw-radio.css +54 -0
  136. package/dist/collection/components/spw-radio/spw-radio.js +19 -10
  137. package/dist/collection/components/spw-scrolltop/spw-scrolltop.js +1 -1
  138. package/dist/collection/components/spw-select/spw-select.js +4 -1
  139. package/dist/collection/components/spw-separator/spw-separator.js +1 -1
  140. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-dropdown/spw-sidebar-navigation-dropdown.js +1 -1
  141. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-item/spw-sidebar-navigation-item.js +3 -3
  142. package/dist/collection/components/spw-sidebar/spw-sidebar-navigation-separator/spw-sidebar-navigation-separator.js +1 -1
  143. package/dist/collection/components/spw-sidebar/spw-sidebar.js +1 -1
  144. package/dist/collection/components/spw-sidenav/spw-sidenav-group/spw-sidenav-group.js +2 -2
  145. package/dist/collection/components/spw-sidenav/spw-sidenav-item/spw-sidenav-item.js +3 -3
  146. package/dist/collection/components/spw-sidenav/spw-sidenav.js +2 -2
  147. package/dist/collection/components/spw-skeleton/spw-skeleton.js +1 -1
  148. package/dist/collection/components/spw-slider/spw-slider-item/spw-slider-item.js +1 -1
  149. package/dist/collection/components/spw-slider/spw-slider.js +1 -1
  150. package/dist/collection/components/spw-socials/spw-socials.js +1 -1
  151. package/dist/collection/components/spw-table/spw-table-body/spw-table-body.js +1 -1
  152. package/dist/collection/components/spw-table/spw-table-cell/spw-table-cell.js +1 -1
  153. package/dist/collection/components/spw-table/spw-table-container/spw-table-container.js +1 -1
  154. package/dist/collection/components/spw-table/spw-table-footer/spw-table-footer.js +1 -1
  155. package/dist/collection/components/spw-table/spw-table-head/spw-table-head.js +1 -1
  156. package/dist/collection/components/spw-table/spw-table-header/spw-table-header.js +2 -2
  157. package/dist/collection/components/spw-table/spw-table-row/spw-table-row.js +1 -1
  158. package/dist/collection/components/spw-table/spw-table-sidebar/spw-table-sidebar.js +1 -1
  159. package/dist/collection/components/spw-tabs/spw-tabs-navigation/spw-tabs-navigation.js +1 -1
  160. package/dist/collection/components/spw-tabs/spw-tabs-navigation-item/spw-tabs-navigation-item.js +1 -1
  161. package/dist/collection/components/spw-tabs/spw-tabs.js +1 -1
  162. package/dist/collection/components/spw-tag/spw-tag.js +1 -1
  163. package/dist/collection/components/spw-text-field/spw-text-field.js +1 -1
  164. package/dist/collection/components/spw-textarea/spw-textarea.js +1 -1
  165. package/dist/collection/components/spw-theme-provider/spw-theme-provider.js +1 -1
  166. package/dist/collection/components/spw-tile/spw-tile-description/spw-tile-description.js +1 -1
  167. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.css +1 -1
  168. package/dist/collection/components/spw-tile/spw-tile-title/spw-tile-title.js +1 -1
  169. package/dist/collection/components/spw-tile/spw-tile.js +1 -1
  170. package/dist/collection/components/spw-timeline/spw-timeline-item/spw-timeline-item.js +2 -2
  171. package/dist/collection/components/spw-timeline/spw-timeline.js +2 -2
  172. package/dist/collection/components/spw-toc/spw-toc.js +1 -1
  173. package/dist/collection/components/spw-tooltip/spw-tooltip.js +1 -1
  174. package/dist/collection/components/spw-topbar/spw-topbar.js +1 -1
  175. package/dist/collection/components/spw-wizard/spw-wizard-item/spw-wizard-item.js +1 -1
  176. package/dist/collection/components/spw-wizard/spw-wizard.js +16 -7
  177. package/dist/collection/scss/_font-awesome.css +9 -0
  178. package/dist/collection/stories/components/spw-avatar/spw-avatar.stories.js +37 -19
  179. package/dist/collection/stories/components/spw-dropdown/spw-dropdown.stories.js +204 -2
  180. package/dist/collection/stories/components/spw-field-message/spw-field-message.stories.js +79 -0
  181. package/dist/collection/stories/components/spw-radio/spw-radio.stories.js +54 -0
  182. package/dist/collection/stories/organisms/spw-header/spw-header.stories.js +203 -7
  183. package/dist/collection/stories/organisms/spw-topbar/spw-topbar.stories.js +3 -3
  184. package/dist/components/index.js +1 -1
  185. package/dist/components/{p-C0Kjwc3C.js → p-8ORCgRs0.js} +1 -1
  186. package/dist/components/{p-DPbnqynk.js → p-BamUR6Ir.js} +1 -1
  187. package/dist/components/{p-CP7K0gLt.js → p-Bj0f5RYL.js} +1 -1
  188. package/dist/components/{p-D7kEk_Bq.js → p-BlDHsTAs.js} +1 -1
  189. package/dist/components/{p-ngXzYfRV.js → p-CTwPJpJk.js} +1 -1
  190. package/dist/components/{p-BqbBUZit.js → p-CprwnPcB.js} +1 -1
  191. package/dist/components/p-DDp6luzB.js +1 -0
  192. package/dist/components/p-DP2zzHK_.js +1 -0
  193. package/dist/components/p-DetVZmjO.js +1 -0
  194. package/dist/components/{p-BK5d5dXN.js → p-DswuxcGK.js} +1 -1
  195. package/dist/components/{p-CzRB_COv.js → p-H_k5I58H.js} +1 -1
  196. package/dist/components/{p-BSQRkvuQ.js → p-bb7Wex4w.js} +1 -1
  197. package/dist/components/p-kCxgPsVs.js +1 -0
  198. package/dist/components/{p-B9J7xbpQ.js → p-xv_G2g8V.js} +1 -1
  199. package/dist/components/spw-accordion-title.js +1 -1
  200. package/dist/components/spw-alert.js +1 -1
  201. package/dist/components/spw-avatar.js +1 -1
  202. package/dist/components/spw-box.js +1 -1
  203. package/dist/components/spw-breadcrumb-item.js +1 -1
  204. package/dist/components/spw-button.js +1 -1
  205. package/dist/components/spw-card-image.js +1 -1
  206. package/dist/components/spw-checkbox.js +1 -1
  207. package/dist/components/spw-cookies.js +1 -1
  208. package/dist/components/spw-custom-select.js +1 -1
  209. package/dist/components/spw-date-picker.js +1 -1
  210. package/dist/components/spw-drawer.js +1 -1
  211. package/dist/components/spw-dropdown-container.js +1 -1
  212. package/dist/components/spw-dropdown-item.js +1 -1
  213. package/dist/components/spw-dropdown.js +1 -1
  214. package/dist/components/spw-field-label.js +1 -1
  215. package/dist/components/spw-field-message.js +1 -1
  216. package/dist/components/spw-file-upload.js +1 -1
  217. package/dist/components/spw-footer-content-col.js +1 -1
  218. package/dist/components/spw-group.js +1 -1
  219. package/dist/components/spw-header-lang.js +1 -1
  220. package/dist/components/spw-header-navigation-dropdown.js +1 -1
  221. package/dist/components/spw-header-navigation-item.js +1 -1
  222. package/dist/components/spw-header-navigation.js +1 -1
  223. package/dist/components/spw-header-persona-item.js +1 -1
  224. package/dist/components/spw-header-persona.js +1 -1
  225. package/dist/components/spw-header.js +1 -1
  226. package/dist/components/spw-hero.js +1 -1
  227. package/dist/components/spw-icon.js +1 -1
  228. package/dist/components/spw-input-slider.js +1 -1
  229. package/dist/components/spw-lightbox-item.js +1 -1
  230. package/dist/components/spw-lightbox.js +1 -1
  231. package/dist/components/spw-link.js +1 -1
  232. package/dist/components/spw-list-description.js +1 -1
  233. package/dist/components/spw-list-item.js +1 -1
  234. package/dist/components/spw-list-title.js +1 -1
  235. package/dist/components/spw-list.js +1 -1
  236. package/dist/components/spw-loading.js +1 -1
  237. package/dist/components/spw-message.js +1 -1
  238. package/dist/components/spw-modal.js +1 -1
  239. package/dist/components/spw-mosaic-item.js +1 -1
  240. package/dist/components/spw-mosaic.js +4 -4
  241. package/dist/components/spw-pagination.js +1 -1
  242. package/dist/components/spw-radio.js +1 -1
  243. package/dist/components/spw-scrolltop.js +1 -1
  244. package/dist/components/spw-search-field.js +1 -1
  245. package/dist/components/spw-select.js +1 -1
  246. package/dist/components/spw-separator.js +1 -1
  247. package/dist/components/spw-sidebar-navigation-dropdown.js +1 -1
  248. package/dist/components/spw-sidebar-navigation-item.js +1 -1
  249. package/dist/components/spw-sidebar-navigation-separator.js +1 -1
  250. package/dist/components/spw-sidebar.js +1 -1
  251. package/dist/components/spw-sidenav-group.js +1 -1
  252. package/dist/components/spw-sidenav-item.js +1 -1
  253. package/dist/components/spw-sidenav.js +1 -1
  254. package/dist/components/spw-skeleton.js +1 -1
  255. package/dist/components/spw-slider-item.js +1 -1
  256. package/dist/components/spw-slider.js +1 -1
  257. package/dist/components/spw-socials.js +1 -1
  258. package/dist/components/spw-table-body.js +1 -1
  259. package/dist/components/spw-table-cell.js +1 -1
  260. package/dist/components/spw-table-container.js +1 -1
  261. package/dist/components/spw-table-footer.js +1 -1
  262. package/dist/components/spw-table-head.js +1 -1
  263. package/dist/components/spw-table-header.js +1 -1
  264. package/dist/components/spw-table-row.js +1 -1
  265. package/dist/components/spw-table-sidebar.js +1 -1
  266. package/dist/components/spw-tabs-navigation-item.js +1 -1
  267. package/dist/components/spw-tabs-navigation.js +1 -1
  268. package/dist/components/spw-tabs.js +1 -1
  269. package/dist/components/spw-tag.js +1 -1
  270. package/dist/components/spw-text-field.js +1 -1
  271. package/dist/components/spw-textarea.js +1 -1
  272. package/dist/components/spw-theme-provider.js +1 -1
  273. package/dist/components/spw-tile-description.js +1 -1
  274. package/dist/components/spw-tile-title.js +1 -1
  275. package/dist/components/spw-tile.js +1 -1
  276. package/dist/components/spw-timeline-item.js +1 -1
  277. package/dist/components/spw-timeline.js +1 -1
  278. package/dist/components/spw-toast-controller.js +1 -1
  279. package/dist/components/spw-toast.js +1 -1
  280. package/dist/components/spw-toc.js +1 -1
  281. package/dist/components/spw-tooltip.js +1 -1
  282. package/dist/components/spw-topbar.js +1 -1
  283. package/dist/components/spw-wizard-item.js +1 -1
  284. package/dist/components/spw-wizard.js +1 -1
  285. package/dist/components_json.json +504 -12
  286. package/dist/components_vscode.json +119 -1
  287. package/dist/esm/app-globals-DQuL1Twl.js +3 -0
  288. package/dist/esm/index-BVePqxpd.js +3228 -0
  289. package/dist/esm/loader.js +4 -3
  290. package/dist/esm/spw-accordion_4.entry.js +1 -1
  291. package/dist/esm/spw-alert.entry.js +1 -1
  292. package/dist/esm/spw-avatar.entry.js +6 -3
  293. package/dist/esm/spw-block-content.entry.js +1 -1
  294. package/dist/esm/spw-box.entry.js +1 -1
  295. package/dist/esm/spw-breadcrumb-item.entry.js +1 -1
  296. package/dist/esm/spw-breadcrumb.entry.js +1 -1
  297. package/dist/esm/spw-button_2.entry.js +2 -2
  298. package/dist/esm/spw-card-content.entry.js +1 -1
  299. package/dist/esm/spw-card-excerpt.entry.js +1 -1
  300. package/dist/esm/spw-card-image.entry.js +1 -1
  301. package/dist/esm/spw-card-subtag-item.entry.js +1 -1
  302. package/dist/esm/spw-card-subtags.entry.js +1 -1
  303. package/dist/esm/spw-card-title.entry.js +1 -1
  304. package/dist/esm/spw-card.entry.js +1 -1
  305. package/dist/esm/spw-checkbox.entry.js +9 -5
  306. package/dist/esm/spw-cookies.entry.js +1 -1
  307. package/dist/esm/spw-custom-select.entry.js +1 -1
  308. package/dist/esm/spw-date-picker.entry.js +1 -1
  309. package/dist/esm/spw-drawer.entry.js +1 -1
  310. package/dist/esm/spw-dropdown-container.entry.js +2 -2
  311. package/dist/esm/spw-dropdown-item.entry.js +19 -5
  312. package/dist/esm/spw-dropdown.entry.js +30 -8
  313. package/dist/esm/spw-field-label_8.entry.js +9 -7
  314. package/dist/esm/spw-file-upload.entry.js +1 -1
  315. package/dist/esm/spw-footer-bottom.entry.js +1 -1
  316. package/dist/esm/spw-footer-content-col.entry.js +1 -1
  317. package/dist/esm/spw-footer-content.entry.js +1 -1
  318. package/dist/esm/spw-footer-link.entry.js +1 -1
  319. package/dist/esm/spw-footer.entry.js +1 -1
  320. package/dist/esm/spw-grid-item.entry.js +1 -1
  321. package/dist/esm/spw-grid.entry.js +1 -1
  322. package/dist/esm/spw-header-lang.entry.js +25 -5
  323. package/dist/esm/spw-header-navigation-dropdown.entry.js +4 -3
  324. package/dist/esm/spw-header-navigation-item.entry.js +5 -4
  325. package/dist/esm/spw-header-navigation.entry.js +1 -1
  326. package/dist/esm/spw-header-persona-item.entry.js +2 -2
  327. package/dist/esm/spw-header-persona.entry.js +83 -7
  328. package/dist/esm/spw-header.entry.js +4 -4
  329. package/dist/esm/spw-hero.entry.js +4 -4
  330. package/dist/esm/spw-illustration.entry.js +1 -1
  331. package/dist/esm/spw-input-slider.entry.js +2 -2
  332. package/dist/esm/spw-lightbox-item.entry.js +2 -2
  333. package/dist/esm/spw-lightbox.entry.js +4 -4
  334. package/dist/esm/spw-list-description.entry.js +2 -2
  335. package/dist/esm/spw-list-item.entry.js +2 -2
  336. package/dist/esm/spw-list-title.entry.js +2 -2
  337. package/dist/esm/spw-list.entry.js +2 -2
  338. package/dist/esm/spw-message.entry.js +1 -1
  339. package/dist/esm/spw-modal.entry.js +4 -4
  340. package/dist/esm/spw-mosaic-item.entry.js +2 -2
  341. package/dist/esm/spw-mosaic.entry.js +2 -2
  342. package/dist/esm/spw-pagination.entry.js +7 -7
  343. package/dist/esm/spw-radio.entry.js +14 -10
  344. package/dist/esm/spw-scrolltop.entry.js +2 -2
  345. package/dist/esm/spw-search-field.entry.js +1 -1
  346. package/dist/esm/spw-select.entry.js +5 -2
  347. package/dist/esm/spw-sidebar-navigation-dropdown.entry.js +2 -2
  348. package/dist/esm/spw-sidebar-navigation-item.entry.js +4 -4
  349. package/dist/esm/spw-sidebar-navigation-separator.entry.js +2 -2
  350. package/dist/esm/spw-sidebar.entry.js +2 -2
  351. package/dist/esm/spw-sidenav-group.entry.js +3 -3
  352. package/dist/esm/spw-sidenav-item.entry.js +4 -4
  353. package/dist/esm/spw-sidenav.entry.js +3 -3
  354. package/dist/esm/spw-skeleton.entry.js +2 -2
  355. package/dist/esm/spw-slider-item.entry.js +2 -2
  356. package/dist/esm/spw-slider.entry.js +2 -2
  357. package/dist/esm/spw-socials.entry.js +2 -2
  358. package/dist/esm/spw-stencil-library.js +4 -3
  359. package/dist/esm/spw-table-body.entry.js +2 -2
  360. package/dist/esm/spw-table-cell.entry.js +2 -2
  361. package/dist/esm/spw-table-container.entry.js +2 -2
  362. package/dist/esm/spw-table-footer.entry.js +2 -2
  363. package/dist/esm/spw-table-head.entry.js +2 -2
  364. package/dist/esm/spw-table-header.entry.js +3 -3
  365. package/dist/esm/spw-table-row.entry.js +2 -2
  366. package/dist/esm/spw-table-sidebar.entry.js +2 -2
  367. package/dist/esm/spw-table.entry.js +1 -1
  368. package/dist/esm/spw-tabs-content.entry.js +1 -1
  369. package/dist/esm/spw-tabs-navigation-item.entry.js +2 -2
  370. package/dist/esm/spw-tabs-navigation.entry.js +2 -2
  371. package/dist/esm/spw-tabs.entry.js +2 -2
  372. package/dist/esm/spw-tag.entry.js +2 -2
  373. package/dist/esm/spw-text-field.entry.js +2 -2
  374. package/dist/esm/spw-textarea.entry.js +2 -2
  375. package/dist/esm/spw-tile-description.entry.js +2 -2
  376. package/dist/esm/spw-tile-title.entry.js +3 -3
  377. package/dist/esm/spw-tile.entry.js +1 -1
  378. package/dist/esm/spw-timeline-item.entry.js +3 -3
  379. package/dist/esm/spw-timeline.entry.js +3 -3
  380. package/dist/esm/spw-toast-controller.entry.js +1 -1
  381. package/dist/esm/spw-toast.entry.js +1 -1
  382. package/dist/esm/spw-toc-container.entry.js +1 -1
  383. package/dist/esm/spw-toc-navigation.entry.js +1 -1
  384. package/dist/esm/spw-toc.entry.js +2 -2
  385. package/dist/esm/spw-topbar.entry.js +2 -2
  386. package/dist/esm/spw-wizard-item.entry.js +2 -2
  387. package/dist/esm/spw-wizard.entry.js +17 -8
  388. package/dist/spw-stencil-library/{p-d139d77f.entry.js → p-014dcde0.entry.js} +1 -1
  389. package/dist/spw-stencil-library/{p-999c3fbf.entry.js → p-05b86707.entry.js} +1 -1
  390. package/dist/spw-stencil-library/{p-5e448c5e.entry.js → p-07eeb1e1.entry.js} +1 -1
  391. package/dist/spw-stencil-library/{p-3b9a184f.entry.js → p-081ef5be.entry.js} +1 -1
  392. package/dist/spw-stencil-library/{p-8300baab.entry.js → p-0974b5ad.entry.js} +1 -1
  393. package/dist/spw-stencil-library/p-0a4c7350.entry.js +1 -0
  394. package/dist/spw-stencil-library/{p-07421627.entry.js → p-0b05f68a.entry.js} +1 -1
  395. package/dist/spw-stencil-library/p-0c8b8bda.entry.js +1 -0
  396. package/dist/spw-stencil-library/{p-ae43ace2.entry.js → p-1551cafd.entry.js} +1 -1
  397. package/dist/spw-stencil-library/{p-8ca8cc0a.entry.js → p-17c560a7.entry.js} +1 -1
  398. package/dist/spw-stencil-library/{p-f4e9c5f8.entry.js → p-1cafabcb.entry.js} +1 -1
  399. package/dist/spw-stencil-library/{p-7bdca1ab.entry.js → p-1d89f70b.entry.js} +1 -1
  400. package/dist/spw-stencil-library/{p-698fdd22.entry.js → p-23eea80a.entry.js} +1 -1
  401. package/dist/spw-stencil-library/p-281cdb3e.entry.js +1 -0
  402. package/dist/spw-stencil-library/{p-b1f68930.entry.js → p-2a044996.entry.js} +1 -1
  403. package/dist/spw-stencil-library/{p-6f84b402.entry.js → p-2f8ddf71.entry.js} +1 -1
  404. package/dist/spw-stencil-library/p-34dcb37c.entry.js +1 -0
  405. package/dist/spw-stencil-library/p-35f8a54f.entry.js +1 -0
  406. package/dist/spw-stencil-library/{p-50dc5fb5.entry.js → p-3b734796.entry.js} +1 -1
  407. package/dist/spw-stencil-library/{p-f75c25d4.entry.js → p-3dabbc2b.entry.js} +1 -1
  408. package/dist/spw-stencil-library/{p-ddf93cc8.entry.js → p-3eabee42.entry.js} +1 -1
  409. package/dist/spw-stencil-library/{p-9ce65071.entry.js → p-4016c0b3.entry.js} +1 -1
  410. package/dist/spw-stencil-library/{p-dcc02bab.entry.js → p-4319494b.entry.js} +1 -1
  411. package/dist/spw-stencil-library/{p-22b01bfa.entry.js → p-435faf37.entry.js} +1 -1
  412. package/dist/spw-stencil-library/{p-250704ca.entry.js → p-46b1ac2f.entry.js} +1 -1
  413. package/dist/spw-stencil-library/p-497fceb3.entry.js +1 -0
  414. package/dist/spw-stencil-library/{p-7a71d533.entry.js → p-4b17b100.entry.js} +1 -1
  415. package/dist/spw-stencil-library/{p-0a8d9ea5.entry.js → p-4ededdbe.entry.js} +1 -1
  416. package/dist/spw-stencil-library/{p-2bf9275b.entry.js → p-50fa07aa.entry.js} +1 -1
  417. package/dist/spw-stencil-library/p-5420e253.entry.js +1 -0
  418. package/dist/spw-stencil-library/{p-d88b1a1f.entry.js → p-55ba4165.entry.js} +1 -1
  419. package/dist/spw-stencil-library/{p-19d6f92f.entry.js → p-56a7d3c3.entry.js} +1 -1
  420. package/dist/spw-stencil-library/{p-79dd218a.entry.js → p-5a40cfb3.entry.js} +1 -1
  421. package/dist/spw-stencil-library/{p-f27d6669.entry.js → p-662bf57f.entry.js} +1 -1
  422. package/dist/spw-stencil-library/{p-fe51cf75.entry.js → p-66e01eb2.entry.js} +4 -4
  423. package/dist/spw-stencil-library/{p-aef5a5ca.entry.js → p-69b136c2.entry.js} +1 -1
  424. package/dist/spw-stencil-library/{p-b83ba191.entry.js → p-6c7f1b3c.entry.js} +1 -1
  425. package/dist/spw-stencil-library/{p-da915195.entry.js → p-6e2443a7.entry.js} +1 -1
  426. package/dist/spw-stencil-library/{p-21022935.entry.js → p-6e4163fc.entry.js} +1 -1
  427. package/dist/spw-stencil-library/{p-cc1d8a4f.entry.js → p-6fbde272.entry.js} +1 -1
  428. package/dist/spw-stencil-library/{p-de76b09f.entry.js → p-73ae85cc.entry.js} +1 -1
  429. package/dist/spw-stencil-library/p-74a1dfe7.entry.js +1 -0
  430. package/dist/spw-stencil-library/{p-da502510.entry.js → p-75ca8560.entry.js} +1 -1
  431. package/dist/spw-stencil-library/{p-9ad91e29.entry.js → p-763e5fb6.entry.js} +1 -1
  432. package/dist/spw-stencil-library/{p-9472747a.entry.js → p-76d48ad8.entry.js} +1 -1
  433. package/dist/spw-stencil-library/{p-3d616279.entry.js → p-785c51b6.entry.js} +1 -1
  434. package/dist/spw-stencil-library/{p-8ecbede1.entry.js → p-7a8950af.entry.js} +1 -1
  435. package/dist/spw-stencil-library/{p-0dbd1777.entry.js → p-7ae66351.entry.js} +1 -1
  436. package/dist/spw-stencil-library/{p-30f77b9c.entry.js → p-80b5b9c0.entry.js} +1 -1
  437. package/dist/spw-stencil-library/{p-6c5156e2.entry.js → p-80e64a77.entry.js} +1 -1
  438. package/dist/spw-stencil-library/p-83fc4518.entry.js +1 -0
  439. package/dist/spw-stencil-library/{p-524b1240.entry.js → p-847a147f.entry.js} +1 -1
  440. package/dist/spw-stencil-library/p-853a90d8.entry.js +1 -0
  441. package/dist/spw-stencil-library/{p-5ca0e318.entry.js → p-861d8fa6.entry.js} +1 -1
  442. package/dist/spw-stencil-library/{p-e937613e.entry.js → p-86d568ef.entry.js} +1 -1
  443. package/dist/spw-stencil-library/{p-4444edf0.entry.js → p-87777c3a.entry.js} +1 -1
  444. package/dist/spw-stencil-library/p-879bdc6c.entry.js +1 -0
  445. package/dist/spw-stencil-library/{p-e35e6628.entry.js → p-87c1e331.entry.js} +1 -1
  446. package/dist/spw-stencil-library/{p-b2fd6355.entry.js → p-8a12fbbc.entry.js} +1 -1
  447. package/dist/spw-stencil-library/p-9852ad6c.entry.js +1 -0
  448. package/dist/spw-stencil-library/{p-945ae18e.entry.js → p-9a52727e.entry.js} +1 -1
  449. package/dist/spw-stencil-library/{p-2aeb538a.entry.js → p-9b399583.entry.js} +1 -1
  450. package/dist/spw-stencil-library/{p-df0a919c.entry.js → p-9e7445bd.entry.js} +1 -1
  451. package/dist/spw-stencil-library/p-BVePqxpd.js +2 -0
  452. package/dist/spw-stencil-library/p-DQuL1Twl.js +1 -0
  453. package/dist/spw-stencil-library/{p-89e3b606.entry.js → p-a1ab16e7.entry.js} +1 -1
  454. package/dist/spw-stencil-library/p-a2f3f972.entry.js +1 -0
  455. package/dist/spw-stencil-library/{p-f9d970fb.entry.js → p-a689da13.entry.js} +1 -1
  456. package/dist/spw-stencil-library/{p-f5ef6c0a.entry.js → p-a69e57df.entry.js} +1 -1
  457. package/dist/spw-stencil-library/{p-bc6a2c42.entry.js → p-a730805c.entry.js} +1 -1
  458. package/dist/spw-stencil-library/{p-932c106b.entry.js → p-ab07e0b0.entry.js} +1 -1
  459. package/dist/spw-stencil-library/p-ab24e63c.entry.js +1 -0
  460. package/dist/spw-stencil-library/{p-36225351.entry.js → p-ba7efcae.entry.js} +1 -1
  461. package/dist/spw-stencil-library/p-bd56da25.entry.js +1 -0
  462. package/dist/spw-stencil-library/{p-7875efb1.entry.js → p-c077bc8d.entry.js} +1 -1
  463. package/dist/spw-stencil-library/{p-c4945a0a.entry.js → p-c12c4536.entry.js} +1 -1
  464. package/dist/spw-stencil-library/p-c407865a.entry.js +1 -0
  465. package/dist/spw-stencil-library/{p-91e66c74.entry.js → p-ccdd5504.entry.js} +1 -1
  466. package/dist/spw-stencil-library/{p-34d01701.entry.js → p-d2728fbf.entry.js} +1 -1
  467. package/dist/spw-stencil-library/{p-f548104b.entry.js → p-d4c22b9f.entry.js} +1 -1
  468. package/dist/spw-stencil-library/{p-6a837847.entry.js → p-d597f8dc.entry.js} +1 -1
  469. package/dist/spw-stencil-library/{p-ee06a1d2.entry.js → p-d869a185.entry.js} +1 -1
  470. package/dist/spw-stencil-library/{p-ea88e604.entry.js → p-daa6257d.entry.js} +1 -1
  471. package/dist/spw-stencil-library/{p-cd1294b1.entry.js → p-dc287751.entry.js} +1 -1
  472. package/dist/spw-stencil-library/{p-d7d88d71.entry.js → p-de134d10.entry.js} +1 -1
  473. package/dist/spw-stencil-library/{p-b2990f3e.entry.js → p-e34f57e6.entry.js} +1 -1
  474. package/dist/spw-stencil-library/{p-7c1eff67.entry.js → p-e8f10b82.entry.js} +1 -1
  475. package/dist/spw-stencil-library/{p-f9a0ac9b.entry.js → p-ea73dc92.entry.js} +1 -1
  476. package/dist/spw-stencil-library/{p-05ed7f8c.entry.js → p-eb8f3216.entry.js} +1 -1
  477. package/dist/spw-stencil-library/{p-542dc71f.entry.js → p-edbba249.entry.js} +1 -1
  478. package/dist/spw-stencil-library/{p-9d0eaa1c.entry.js → p-ee2d2e3c.entry.js} +1 -1
  479. package/dist/spw-stencil-library/{p-563225aa.entry.js → p-f22c8347.entry.js} +1 -1
  480. package/dist/spw-stencil-library/p-f2d1b557.entry.js +1 -0
  481. package/dist/spw-stencil-library/{p-90aa1e04.entry.js → p-f37c9c51.entry.js} +1 -1
  482. package/dist/spw-stencil-library/p-f7ed1474.entry.js +1 -0
  483. package/dist/spw-stencil-library/{p-9e350e36.entry.js → p-fbff4e05.entry.js} +1 -1
  484. package/dist/spw-stencil-library/{p-cdf8b303.entry.js → p-fc477204.entry.js} +1 -1
  485. package/dist/spw-stencil-library/{p-0225eae6.entry.js → p-fd814c2d.entry.js} +1 -1
  486. package/dist/spw-stencil-library/{p-3d48b3ef.entry.js → p-ffbd0ef5.entry.js} +1 -1
  487. package/dist/spw-stencil-library/spw-stencil-library.css +2 -2
  488. package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
  489. package/dist/stats.json +2107 -1258
  490. package/dist/types/components/spw-avatar/spw-avatar.d.ts +2 -0
  491. package/dist/types/components/spw-checkbox/spw-checkbox.d.ts +5 -0
  492. package/dist/types/components/spw-dropdown/spw-dropdown-item/spw-dropdown-item.d.ts +7 -1
  493. package/dist/types/components/spw-dropdown/spw-dropdown.d.ts +2 -0
  494. package/dist/types/components/spw-header/spw-header-lang/spw-header-lang.d.ts +4 -0
  495. package/dist/types/components/spw-header/spw-header-persona/spw-header-persona.d.ts +33 -0
  496. package/dist/types/components/spw-radio/spw-radio.d.ts +5 -0
  497. package/dist/types/components/spw-wizard/spw-wizard.d.ts +1 -0
  498. package/dist/types/components.d.ts +158 -2
  499. package/dist/types/stories/components/spw-avatar/spw-avatar.stories.d.ts +2 -1
  500. package/dist/types/stories/components/spw-dropdown/spw-dropdown.stories.d.ts +6 -0
  501. package/dist/types/stories/components/spw-field-message/spw-field-message.stories.d.ts +3 -1
  502. package/dist/types/stories/components/spw-radio/spw-radio.stories.d.ts +1 -0
  503. package/dist/types/stories/organisms/spw-header/spw-header.stories.d.ts +4 -1
  504. package/hydrate/index.js +318 -140
  505. package/hydrate/index.mjs +318 -140
  506. package/package.json +1 -1
  507. package/dist/cjs/index-C_UxJk3Q.js +0 -3267
  508. package/dist/components/p-B7VfgMNy.js +0 -1
  509. package/dist/components/p-BhpddpYy.js +0 -1
  510. package/dist/components/p-D9yobKiX.js +0 -1
  511. package/dist/esm/index-DkYGNpnN.js +0 -3238
  512. package/dist/spw-stencil-library/p-0552fb3c.entry.js +0 -1
  513. package/dist/spw-stencil-library/p-1e9e9847.entry.js +0 -1
  514. package/dist/spw-stencil-library/p-2779253d.entry.js +0 -1
  515. package/dist/spw-stencil-library/p-30028ea4.entry.js +0 -1
  516. package/dist/spw-stencil-library/p-335b2f57.entry.js +0 -1
  517. package/dist/spw-stencil-library/p-53723414.entry.js +0 -1
  518. package/dist/spw-stencil-library/p-53e6a62e.entry.js +0 -1
  519. package/dist/spw-stencil-library/p-66695277.entry.js +0 -1
  520. package/dist/spw-stencil-library/p-7b495c09.entry.js +0 -1
  521. package/dist/spw-stencil-library/p-7d205679.entry.js +0 -1
  522. package/dist/spw-stencil-library/p-DkYGNpnN.js +0 -2
  523. package/dist/spw-stencil-library/p-a9a5c1d2.entry.js +0 -1
  524. package/dist/spw-stencil-library/p-b5aab148.entry.js +0 -1
  525. package/dist/spw-stencil-library/p-bbf86fbe.entry.js +0 -1
  526. package/dist/spw-stencil-library/p-bc40d93c.entry.js +0 -1
  527. package/dist/spw-stencil-library/p-d9e96fbe.entry.js +0 -1
  528. package/dist/spw-stencil-library/p-e0cb4c68.entry.js +0 -1
  529. package/dist/spw-stencil-library/p-e39126c0.entry.js +0 -1
  530. package/dist/spw-stencil-library/p-facbc77c.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as e,h as t,H as i,g as a}from"./p-BVePqxpd.js";const s=class{constructor(t){e(this,t),this.maxItems=5,this.variant="default",this.surface="light",this.fontSize="small"}componentDidLoad(){this.updateBreadcrumbVisibility()}componentDidUpdate(){this.updateBreadcrumbVisibility()}updateBreadcrumbVisibility(){const e=this.host.querySelectorAll("spw-breadcrumb-item"),t=e.length;if(e.forEach((e=>{e.classList.remove("hidden-item","collapsed-item")})),t>this.maxItems){const i=this.maxItems-1;e.forEach(((e,a)=>{a>=i&&a<t-1&&e.classList.add(a===t-2?"collapsed-item":"hidden-item")}))}}render(){return t(i,{key:"80ad57a59a8f7c5a1dffcd6470407ef129d9e02c"},t("nav",{key:"ad8f444c513d1619dc3a474e807fbc0818f5d378","aria-label":this.accAriaLabel,class:{"spw-breadcrumb":!0,[`spw-breadcrumb--surface-${this.surface}`]:!0,[`spw-breadcrumb--font-size-${this.fontSize}`]:!0,[`spw-breadcrumb--${this.variant}`]:!0}},t("div",{key:"f351a42ed6ab24d88a7deb912516f5253ef2baf1",role:"list",class:"spw-breadcrumb__list"},t("slot",{key:"6b1d07061defe337184d9be1d3a8d0fbe009526c"}))))}get host(){return a(this)}};s.style=':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-breadcrumb{font-size:16px;max-width:100%;width:100%}.spw-breadcrumb--font-size-small{font-size:14px}.spw-breadcrumb__list{display:flex;list-style:none;padding:0;margin:0;width:100%;max-width:100%}@media (min-width: 1024px){.spw-breadcrumb--multiline .spw-breadcrumb__list{display:block}}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:last-child){display:block;margin-top:12px !important}}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)):after{display:none !important}}::slotted(spw-breadcrumb-item){margin-right:10px !important;padding-left:24px !important;position:relative;display:none;white-space:nowrap}::slotted(spw-breadcrumb-item):after{position:absolute;top:50%;transform:translateY(-50%);left:0;font-family:var(--spw-ds-font-icons-regular);content:"\\f060";font-size:14px}@media (min-width: 1024px){::slotted(spw-breadcrumb-item):after{right:0;left:auto;transform:translateY(-50%);content:"\\f054";font-size:12px}}@media (min-width: 1024px){::slotted(spw-breadcrumb-item){display:inline-block;padding-left:0 !important;padding-right:16px !important}}::slotted(spw-breadcrumb-item:last-child){flex:1;overflow:hidden;display:none;margin-right:0 !important;-webkit-box-orient:vertical;text-overflow:ellipsis;-webkit-line-clamp:1;line-clamp:1;padding-right:0 !important}::slotted(spw-breadcrumb-item:last-child):after{display:none}@media (min-width: 1024px){::slotted(spw-breadcrumb-item:last-child){display:-webkit-box}}.spw-breadcrumb:not(.spw-breadcrumb--multiline):not(.spw-breadcrumb--one-line) ::slotted(spw-breadcrumb-item:nth-last-child(2)){display:-webkit-box !important}.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item){display:none}@media (min-width: 1024px){.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item){display:inline-block}}.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child){overflow:initial;display:-webkit-box !important}.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child):after{display:block}@media (min-width: 1024px){.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child):after{display:none}}@media (min-width: 1024px){.spw-breadcrumb--one-line ::slotted(spw-breadcrumb-item:last-child){display:inline-block}}.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item){display:none}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item){display:inline-block}}.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)){overflow:initial;display:-webkit-box !important}.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)):after{display:block}@media (min-width: 1024px){.spw-breadcrumb--multiline ::slotted(spw-breadcrumb-item:nth-last-child(2)){display:inline-block !important}}::slotted(.hidden-item){display:none}::slotted(.collapsed-item){display:none}@media (min-width: 1024px){::slotted(.collapsed-item){display:inline-block;font-size:0;position:relative}}@media (min-width: 1024px){::slotted(.collapsed-item)::before{font-family:var(--spw-ds-font-icons-solid);font-weight:700;content:"\\f141";font-size:14px;color:var(--spw-color-themes-grey-grey-900)}}.spw-breadcrumb--surface-light ::slotted(spw-breadcrumb-item):after{opacity:1;color:var(--spw-color-themes-grey-grey-900)}.spw-breadcrumb--surface-dark{color:var(--spw-ds-white) !important}.spw-breadcrumb--surface-dark ::slotted(spw-breadcrumb-item):after{opacity:0.7;color:var(--spw-ds-white)}.spw-breadcrumb--surface-dark ::slotted(.collapsed-item):before{opacity:0.7;color:var(--spw-ds-white)}';export{s as spw_breadcrumb}
@@ -1 +1 @@
1
- import{r as e,c as t,h as s,H as i,a as o}from"./p-DkYGNpnN.js";const a=class{constructor(s){e(this,s),this.spwSort=t(this,"spwSort",7),this.spwResize=t(this,"spwResize",7),this.isSticky=!1,this.minWidth="600",this.tableLayout="auto",this.isZebra=!1,this.zebraRange=2,this.disableSort=!1,this.resizable=!1,this.minHeight=200,this.isResizing=!1,this.startY=0,this.startHeight=0,this.handleResizeStart=e=>{var t;e.preventDefault(),this.isResizing=!0,this.startY=e.clientY;const s=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector(".spw-table-wrapper");s&&(this.containerElement=s,this.startHeight=s.offsetHeight),document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp),document.body.style.cursor="ns-resize",document.body.style.userSelect="none"},this.handleMouseMove=e=>{if(!this.isResizing||!this.containerElement)return;const t=Math.max(this.minHeight,this.startHeight+(e.clientY-this.startY));this.currentHeight=t,this.spwResize.emit({height:t})},this.handleMouseUp=()=>{this.isResizing&&(this.isResizing=!1,this.cleanupResizeListeners(),document.body.style.cursor="",document.body.style.userSelect="")},this.checkboxChangeHandler=()=>this.updateMasterCheckboxState()}onCurrentSortChange(e){e&&this.updateHeadersSortState(e)}onIsStickyChange(){this.applyStickyToChildren()}onZebraChange(){this.updateZebra()}componentDidLoad(){var e;this.updateZebra(),this.applyStickyToChildren();const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector("slot:not([name])");t&&t.addEventListener("slotchange",(()=>{this.setupHeaderCheckboxListener(),this.updateMasterCheckboxState(),this.applyStickyToChildren()})),this.setupHeaderCheckboxListener(),this.setupBodyCheckboxListener(),this.setupTableBodyObserver(),this.setupHeaderObserver(),setTimeout((()=>{this.updateMasterCheckboxState()}),0),this.resizable&&this.maxHeight&&(this.currentHeight=parseInt(this.maxHeight,10))}disconnectedCallback(){this.mutationObserver&&this.mutationObserver.disconnect(),this.headerMutationObserver&&this.headerMutationObserver.disconnect(),this.cleanupResizeListeners()}cleanupResizeListeners(){document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp)}setupTableBodyObserver(){const e=Array.from(this.el.children).find((e=>"spw-table-body"===e.tagName.toLowerCase()));e&&(this.mutationObserver=new MutationObserver((()=>{this.setupBodyCheckboxListener(),setTimeout((()=>{this.updateMasterCheckboxState()}),0)})),this.mutationObserver.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["checked","disabled"]}))}setupHeaderObserver(){const e=Array.from(this.el.children).find((e=>"spw-table-head"===e.tagName.toLowerCase()));e&&(this.headerMutationObserver=new MutationObserver((()=>{this.applyStickyToChildren()})),this.headerMutationObserver.observe(e,{childList:!0,subtree:!0}))}getMasterCheckboxColumnIndex(){var e;const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector("slot:not([name])");if(!t)return null;const s=t.assignedElements({flatten:!0}).find((e=>"spw-table-head"===e.tagName.toLowerCase()));if(!s)return null;const i=s.querySelector("spw-table-row");if(!i)return null;const o=Array.from(i.querySelectorAll("spw-table-header"));for(let e=0;e<o.length;e++)if(o[e].querySelector("spw-checkbox"))return e;return null}isCheckboxDisabled(e){return!0===(null==e?void 0:e.disabled)||"true"===(null==e?void 0:e.getAttribute("disabled"))||""===(null==e?void 0:e.getAttribute("disabled"))}updateMasterCheckboxState(){var e;const t=this.getMasterCheckboxColumnIndex();if(null===t)return;const s=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector("slot:not([name])"),i=null==s?void 0:s.assignedElements({flatten:!0});if(!i)return;const o=i.find((e=>"spw-table-head"===e.tagName.toLowerCase())),a=i.find((e=>"spw-table-body"===e.tagName.toLowerCase()));if(!o||!a)return;const r=o.querySelector("spw-table-row"),n=null==r?void 0:r.querySelectorAll("spw-table-header")[t],l=null==n?void 0:n.querySelector("spw-checkbox"),h=a.querySelectorAll("spw-table-row"),d=Array.from(h).map((e=>{const s=e.querySelectorAll("spw-table-cell")[t],i=null==s?void 0:s.querySelector("spw-checkbox");return{checked:!0===(null==i?void 0:i.checked)||"true"===(null==i?void 0:i.getAttribute("checked")),disabled:this.isCheckboxDisabled(i)}})).filter((e=>!e.disabled));if(0===d.length)return;const b=d.every((e=>e.checked)),c=d.every((e=>!e.checked));l&&(b?(l.checked=!0,l.setAttribute("checked","true"),l.setAttribute("icon","fa-check")):c?(l.checked=!1,l.setAttribute("checked","false"),l.setAttribute("icon","fa-check")):(l.checked=!0,l.setAttribute("checked","true"),l.setAttribute("icon","fa-minus")))}setupHeaderCheckboxListener(){var e;const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector("slot:not([name])"),s=null==t?void 0:t.assignedElements({flatten:!0});if(!s)return;const i=s.find((e=>"spw-table-head"===e.tagName.toLowerCase()));i&&i.querySelectorAll("spw-table-row").forEach((e=>{e.querySelectorAll("spw-checkbox").forEach((e=>{e.addEventListener("spwChange",(e=>{this.toggleAllRowCheckboxes(e.detail)}))}))}))}setupBodyCheckboxListener(){const e=Array.from(this.el.children).find((e=>"spw-table-body"===e.tagName.toLowerCase()));e&&e.querySelectorAll("spw-table-row").forEach((e=>{e.querySelectorAll("spw-checkbox").forEach((e=>{e.removeEventListener("spwChange",this.checkboxChangeHandler),e.addEventListener("spwChange",this.checkboxChangeHandler)}))}))}toggleAllRowCheckboxes(e){var t;const s=this.getMasterCheckboxColumnIndex();if(null===s)return;const i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("slot:not([name])"),o=null==i?void 0:i.assignedElements({flatten:!0});if(!o)return;const a=o.find((e=>"spw-table-body"===e.tagName.toLowerCase()));a&&(a.querySelectorAll("spw-table-row").forEach((t=>{const i=Array.from(t.querySelectorAll("spw-table-cell"))[s],o=null==i?void 0:i.querySelector("spw-checkbox");o&&!this.isCheckboxDisabled(o)&&(o.checked=e,o.setAttribute("checked",e.toString()))})),setTimeout((()=>{this.updateMasterCheckboxState()}),0))}handleHeaderClick(e){const t=e.detail,s=this.currentSort,i={column:t,direction:(null==s?void 0:s.column)===t&&"asc"===s.direction?"desc":"asc"};this.currentSort=i,this.spwSort.emit(i),this.disableSort||this.sortRows(i.column,i.direction),this.updateHeadersSortState(i),this.updateZebra()}updateZebra(){var e;const t=this.el.shadowRoot.querySelector("slot:not([name])");if(!t)return;const s=t.assignedElements({flatten:!0}).find((e=>"spw-table-body"===e.tagName.toLowerCase()));s&&(this.isZebra?(s.setAttribute("is-zebra","true"),s.setAttribute("zebra-range",String(null!==(e=this.zebraRange)&&void 0!==e?e:2))):(s.removeAttribute("is-zebra"),s.removeAttribute("zebra-range")),"function"==typeof s.updateZebraStyles&&s.updateZebraStyles())}applyStickyToChildren(){requestAnimationFrame((()=>{const e="--is-sticky",t=this.el.querySelectorAll("spw-table-header"),s=this.el.querySelectorAll("spw-table-cell"),i=this.el.querySelector("spw-table-footer");this.isSticky?(t.forEach((t=>t.classList.add(e))),null==i||i.classList.add(e)):(t.forEach((t=>t.classList.remove(e))),s.forEach((t=>t.classList.remove(e))),null==i||i.classList.remove(e))}))}sortRows(e,t){var s;const i=null===(s=this.el.shadowRoot)||void 0===s?void 0:s.querySelector("slot:not([name])"),o=null==i?void 0:i.assignedElements().find((e=>"spw-table-body"===e.tagName.toLowerCase()));if(!o)return;const a=Array.from(o.querySelectorAll("spw-table-row")),r=Array.from(this.el.querySelectorAll("spw-table-header")).findIndex((t=>t.columnId===e));if(-1===r)return;a.sort(((e,s)=>{const i=e.querySelectorAll("spw-table-cell")[r],o=s.querySelectorAll("spw-table-cell")[r];if(!i||!o)return 0;const a=i.textContent.trim(),n=o.textContent.trim();return isNaN(Number(a))||isNaN(Number(n))?"asc"===t?a.localeCompare(n):n.localeCompare(a):"asc"===t?+a-+n:+n-+a})),a.forEach((e=>o.appendChild(e)));(null==o?void 0:o.updateZebraStyles)&&o.updateZebraStyles()}updateHeadersSortState(e){this.el.querySelectorAll("spw-table-header").forEach((t=>{const s=t.columnId===e.column;t.isSorted=s,t.sortDirection=s?e.direction:void 0}))}formatSize(e){return null==e?"auto":`${e}px`}get elementClass(){return{"spw-table":!0,"spw-table--is-sticky":this.isSticky,"spw-table--resizable":this.resizable,[`spw-table--layout-${this.tableLayout}`]:!0}}get containerClass(){return{"spw-table-container":!0,"spw-table-container--resizable":this.resizable}}getMaxHeight(){return this.resizable&&this.currentHeight?`${this.currentHeight}px`:this.formatSize(this.maxHeight)}render(){return s(i,{key:"dabbc707f80267376120ba9d863fd1cd2b8bd7cc",style:{"--spw-table-max-height":this.getMaxHeight(),"--spw-table-min-width":this.formatSize(this.minWidth)}},s("div",{key:"1f906cfd810477870696afccba757493f74f5869",class:this.containerClass},s("slot",{key:"685aa7323c83cfd5a6ea6b2b6889873b8c26fd80",name:"table-sidebar"}," "),s("div",{key:"98797e8924da9322c84eeff86922686efeba97fe",class:"spw-table-wrapper"},s("table",{key:"336ccc54b04e9b320c4ece0783eae9bb6e1a93f5",part:"table",class:this.elementClass,role:"table","aria-label":this.accAriaLabel},s("slot",{key:"cee7064cd1ff45b80c70cf5f5a4259fd277bb3d2"})))),this.resizable&&s("div",{key:"ed79ba8e555d2dbe1abbdf4ef1863102dfccb221",class:"spw-table-resize-handle",onMouseDown:this.handleResizeStart,role:"separator","aria-orientation":"horizontal","aria-label":"Redimensionner le tableau"},s("div",{key:"47c677fa9d9e337d9c7d442975d9f537d7fd3c8e",class:"spw-table-resize-handle__bar"})),s("slot",{key:"3a8e64500c5844d9a3c438248f8afb5c6d0636d7",name:"table-footer"}))}get el(){return o(this)}static get watchers(){return{currentSort:[{onCurrentSortChange:0}],isSticky:[{onIsStickyChange:0}],isZebra:[{onZebraChange:0}],zebraRange:[{onZebraChange:0}]}}};a.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;position:relative;flex:1;min-width:0}.spw-table-container{display:flex;width:100%;max-height:var(--spw-table-max-height);outline:1px solid var(--spw-color-themes-grey-grey-300);outline-offset:-1px;position:relative;overflow:hidden}.spw-table-container--resizable{border-bottom-left-radius:0;border-bottom-right-radius:0}.spw-table-wrapper{flex:1;min-width:0;overflow-x:auto;overflow-y:auto}.spw-table-wrapper::-webkit-scrollbar{width:14px;height:14px}.spw-table-wrapper::-webkit-scrollbar-thumb{background:var(--spw-color-themes-grey-grey-400);border-radius:20px;border:4px solid var(--spw-ds-white)}.spw-table-wrapper::-webkit-scrollbar-track{background:var(--spw-ds-white)}.spw-table-wrapper{scrollbar-face-color:var(--spw-color-themes-grey-grey-400);scrollbar-track-color:var(--spw-ds-white)}.spw-table{width:100%;border-collapse:collapse;min-width:var(--spw-table-min-width);border-radius:4px;position:relative}.spw-table--layout-fixed{table-layout:fixed}.spw-table--layout-auto{table-layout:auto}@media (max-width: 767px){.spw-table{display:block;min-width:0;border-collapse:separate;border:none;outline:none;padding:6px 12px}}.spw-table-resize-handle{position:relative;height:12px;width:100%;cursor:ns-resize;display:flex;align-items:center;justify-content:center;background:var(--spw-color-themes-grey-grey-100);border:1px solid var(--spw-color-themes-grey-grey-300);border-top:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px;transition:background-color 0.2s ease;user-select:none}.spw-table-resize-handle:hover{background:var(--spw-color-themes-grey-grey-200)}.spw-table-resize-handle:active{background:var(--spw-color-themes-grey-grey-300)}.spw-table-resize-handle__bar{width:40px;height:3px;background:var(--spw-color-themes-grey-grey-400);border-radius:2px;pointer-events:none}.spw-table-resize-handle:hover .spw-table-resize-handle__bar{background:var(--spw-color-themes-grey-grey-500)}";export{a as spw_table}
1
+ import{r as e,c as t,h as s,H as i,g as o}from"./p-BVePqxpd.js";const a=class{constructor(s){e(this,s),this.spwSort=t(this,"spwSort",7),this.spwResize=t(this,"spwResize",7),this.isSticky=!1,this.minWidth="600",this.tableLayout="auto",this.isZebra=!1,this.zebraRange=2,this.disableSort=!1,this.resizable=!1,this.minHeight=200,this.isResizing=!1,this.startY=0,this.startHeight=0,this.handleResizeStart=e=>{var t;e.preventDefault(),this.isResizing=!0,this.startY=e.clientY;const s=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector(".spw-table-wrapper");s&&(this.containerElement=s,this.startHeight=s.offsetHeight),document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp),document.body.style.cursor="ns-resize",document.body.style.userSelect="none"},this.handleMouseMove=e=>{if(!this.isResizing||!this.containerElement)return;const t=Math.max(this.minHeight,this.startHeight+(e.clientY-this.startY));this.currentHeight=t,this.spwResize.emit({height:t})},this.handleMouseUp=()=>{this.isResizing&&(this.isResizing=!1,this.cleanupResizeListeners(),document.body.style.cursor="",document.body.style.userSelect="")},this.checkboxChangeHandler=()=>this.updateMasterCheckboxState()}onCurrentSortChange(e){e&&this.updateHeadersSortState(e)}onIsStickyChange(){this.applyStickyToChildren()}onZebraChange(){this.updateZebra()}componentDidLoad(){var e;this.updateZebra(),this.applyStickyToChildren();const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector("slot:not([name])");t&&t.addEventListener("slotchange",(()=>{this.setupHeaderCheckboxListener(),this.updateMasterCheckboxState(),this.applyStickyToChildren()})),this.setupHeaderCheckboxListener(),this.setupBodyCheckboxListener(),this.setupTableBodyObserver(),this.setupHeaderObserver(),setTimeout((()=>{this.updateMasterCheckboxState()}),0),this.resizable&&this.maxHeight&&(this.currentHeight=parseInt(this.maxHeight,10))}disconnectedCallback(){this.mutationObserver&&this.mutationObserver.disconnect(),this.headerMutationObserver&&this.headerMutationObserver.disconnect(),this.cleanupResizeListeners()}cleanupResizeListeners(){document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp)}setupTableBodyObserver(){const e=Array.from(this.el.children).find((e=>"spw-table-body"===e.tagName.toLowerCase()));e&&(this.mutationObserver=new MutationObserver((()=>{this.setupBodyCheckboxListener(),setTimeout((()=>{this.updateMasterCheckboxState()}),0)})),this.mutationObserver.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["checked","disabled"]}))}setupHeaderObserver(){const e=Array.from(this.el.children).find((e=>"spw-table-head"===e.tagName.toLowerCase()));e&&(this.headerMutationObserver=new MutationObserver((()=>{this.applyStickyToChildren()})),this.headerMutationObserver.observe(e,{childList:!0,subtree:!0}))}getMasterCheckboxColumnIndex(){var e;const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector("slot:not([name])");if(!t)return null;const s=t.assignedElements({flatten:!0}).find((e=>"spw-table-head"===e.tagName.toLowerCase()));if(!s)return null;const i=s.querySelector("spw-table-row");if(!i)return null;const o=Array.from(i.querySelectorAll("spw-table-header"));for(let e=0;e<o.length;e++)if(o[e].querySelector("spw-checkbox"))return e;return null}isCheckboxDisabled(e){return!0===(null==e?void 0:e.disabled)||"true"===(null==e?void 0:e.getAttribute("disabled"))||""===(null==e?void 0:e.getAttribute("disabled"))}updateMasterCheckboxState(){var e;const t=this.getMasterCheckboxColumnIndex();if(null===t)return;const s=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector("slot:not([name])"),i=null==s?void 0:s.assignedElements({flatten:!0});if(!i)return;const o=i.find((e=>"spw-table-head"===e.tagName.toLowerCase())),a=i.find((e=>"spw-table-body"===e.tagName.toLowerCase()));if(!o||!a)return;const r=o.querySelector("spw-table-row"),n=null==r?void 0:r.querySelectorAll("spw-table-header")[t],l=null==n?void 0:n.querySelector("spw-checkbox"),h=a.querySelectorAll("spw-table-row"),d=Array.from(h).map((e=>{const s=e.querySelectorAll("spw-table-cell")[t],i=null==s?void 0:s.querySelector("spw-checkbox");return{checked:!0===(null==i?void 0:i.checked)||"true"===(null==i?void 0:i.getAttribute("checked")),disabled:this.isCheckboxDisabled(i)}})).filter((e=>!e.disabled));if(0===d.length)return;const b=d.every((e=>e.checked)),c=d.every((e=>!e.checked));l&&(b?(l.checked=!0,l.setAttribute("checked","true"),l.setAttribute("icon","fa-check")):c?(l.checked=!1,l.setAttribute("checked","false"),l.setAttribute("icon","fa-check")):(l.checked=!0,l.setAttribute("checked","true"),l.setAttribute("icon","fa-minus")))}setupHeaderCheckboxListener(){var e;const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector("slot:not([name])"),s=null==t?void 0:t.assignedElements({flatten:!0});if(!s)return;const i=s.find((e=>"spw-table-head"===e.tagName.toLowerCase()));i&&i.querySelectorAll("spw-table-row").forEach((e=>{e.querySelectorAll("spw-checkbox").forEach((e=>{e.addEventListener("spwChange",(e=>{this.toggleAllRowCheckboxes(e.detail)}))}))}))}setupBodyCheckboxListener(){const e=Array.from(this.el.children).find((e=>"spw-table-body"===e.tagName.toLowerCase()));e&&e.querySelectorAll("spw-table-row").forEach((e=>{e.querySelectorAll("spw-checkbox").forEach((e=>{e.removeEventListener("spwChange",this.checkboxChangeHandler),e.addEventListener("spwChange",this.checkboxChangeHandler)}))}))}toggleAllRowCheckboxes(e){var t;const s=this.getMasterCheckboxColumnIndex();if(null===s)return;const i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("slot:not([name])"),o=null==i?void 0:i.assignedElements({flatten:!0});if(!o)return;const a=o.find((e=>"spw-table-body"===e.tagName.toLowerCase()));a&&(a.querySelectorAll("spw-table-row").forEach((t=>{const i=Array.from(t.querySelectorAll("spw-table-cell"))[s],o=null==i?void 0:i.querySelector("spw-checkbox");o&&!this.isCheckboxDisabled(o)&&(o.checked=e,o.setAttribute("checked",e.toString()))})),setTimeout((()=>{this.updateMasterCheckboxState()}),0))}handleHeaderClick(e){const t=e.detail,s=this.currentSort,i={column:t,direction:(null==s?void 0:s.column)===t&&"asc"===s.direction?"desc":"asc"};this.currentSort=i,this.spwSort.emit(i),this.disableSort||this.sortRows(i.column,i.direction),this.updateHeadersSortState(i),this.updateZebra()}updateZebra(){var e;const t=this.el.shadowRoot.querySelector("slot:not([name])");if(!t)return;const s=t.assignedElements({flatten:!0}).find((e=>"spw-table-body"===e.tagName.toLowerCase()));s&&(this.isZebra?(s.setAttribute("is-zebra","true"),s.setAttribute("zebra-range",String(null!==(e=this.zebraRange)&&void 0!==e?e:2))):(s.removeAttribute("is-zebra"),s.removeAttribute("zebra-range")),"function"==typeof s.updateZebraStyles&&s.updateZebraStyles())}applyStickyToChildren(){requestAnimationFrame((()=>{const e="--is-sticky",t=this.el.querySelectorAll("spw-table-header"),s=this.el.querySelectorAll("spw-table-cell"),i=this.el.querySelector("spw-table-footer");this.isSticky?(t.forEach((t=>t.classList.add(e))),null==i||i.classList.add(e)):(t.forEach((t=>t.classList.remove(e))),s.forEach((t=>t.classList.remove(e))),null==i||i.classList.remove(e))}))}sortRows(e,t){var s;const i=null===(s=this.el.shadowRoot)||void 0===s?void 0:s.querySelector("slot:not([name])"),o=null==i?void 0:i.assignedElements().find((e=>"spw-table-body"===e.tagName.toLowerCase()));if(!o)return;const a=Array.from(o.querySelectorAll("spw-table-row")),r=Array.from(this.el.querySelectorAll("spw-table-header")).findIndex((t=>t.columnId===e));if(-1===r)return;a.sort(((e,s)=>{const i=e.querySelectorAll("spw-table-cell")[r],o=s.querySelectorAll("spw-table-cell")[r];if(!i||!o)return 0;const a=i.textContent.trim(),n=o.textContent.trim();return isNaN(Number(a))||isNaN(Number(n))?"asc"===t?a.localeCompare(n):n.localeCompare(a):"asc"===t?+a-+n:+n-+a})),a.forEach((e=>o.appendChild(e)));(null==o?void 0:o.updateZebraStyles)&&o.updateZebraStyles()}updateHeadersSortState(e){this.el.querySelectorAll("spw-table-header").forEach((t=>{const s=t.columnId===e.column;t.isSorted=s,t.sortDirection=s?e.direction:void 0}))}formatSize(e){return null==e?"auto":`${e}px`}get elementClass(){return{"spw-table":!0,"spw-table--is-sticky":this.isSticky,"spw-table--resizable":this.resizable,[`spw-table--layout-${this.tableLayout}`]:!0}}get containerClass(){return{"spw-table-container":!0,"spw-table-container--resizable":this.resizable}}getMaxHeight(){return this.resizable&&this.currentHeight?`${this.currentHeight}px`:this.formatSize(this.maxHeight)}render(){return s(i,{key:"dabbc707f80267376120ba9d863fd1cd2b8bd7cc",style:{"--spw-table-max-height":this.getMaxHeight(),"--spw-table-min-width":this.formatSize(this.minWidth)}},s("div",{key:"1f906cfd810477870696afccba757493f74f5869",class:this.containerClass},s("slot",{key:"685aa7323c83cfd5a6ea6b2b6889873b8c26fd80",name:"table-sidebar"}," "),s("div",{key:"98797e8924da9322c84eeff86922686efeba97fe",class:"spw-table-wrapper"},s("table",{key:"336ccc54b04e9b320c4ece0783eae9bb6e1a93f5",part:"table",class:this.elementClass,role:"table","aria-label":this.accAriaLabel},s("slot",{key:"cee7064cd1ff45b80c70cf5f5a4259fd277bb3d2"})))),this.resizable&&s("div",{key:"ed79ba8e555d2dbe1abbdf4ef1863102dfccb221",class:"spw-table-resize-handle",onMouseDown:this.handleResizeStart,role:"separator","aria-orientation":"horizontal","aria-label":"Redimensionner le tableau"},s("div",{key:"47c677fa9d9e337d9c7d442975d9f537d7fd3c8e",class:"spw-table-resize-handle__bar"})),s("slot",{key:"3a8e64500c5844d9a3c438248f8afb5c6d0636d7",name:"table-footer"}))}get el(){return o(this)}static get watchers(){return{currentSort:[{onCurrentSortChange:0}],isSticky:[{onIsStickyChange:0}],isZebra:[{onZebraChange:0}],zebraRange:[{onZebraChange:0}]}}};a.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;position:relative;flex:1;min-width:0}.spw-table-container{display:flex;width:100%;max-height:var(--spw-table-max-height);outline:1px solid var(--spw-color-themes-grey-grey-300);outline-offset:-1px;position:relative;overflow:hidden}.spw-table-container--resizable{border-bottom-left-radius:0;border-bottom-right-radius:0}.spw-table-wrapper{flex:1;min-width:0;overflow-x:auto;overflow-y:auto}.spw-table-wrapper::-webkit-scrollbar{width:14px;height:14px}.spw-table-wrapper::-webkit-scrollbar-thumb{background:var(--spw-color-themes-grey-grey-400);border-radius:20px;border:4px solid var(--spw-ds-white)}.spw-table-wrapper::-webkit-scrollbar-track{background:var(--spw-ds-white)}.spw-table-wrapper{scrollbar-face-color:var(--spw-color-themes-grey-grey-400);scrollbar-track-color:var(--spw-ds-white)}.spw-table{width:100%;border-collapse:collapse;min-width:var(--spw-table-min-width);border-radius:4px;position:relative}.spw-table--layout-fixed{table-layout:fixed}.spw-table--layout-auto{table-layout:auto}@media (max-width: 767px){.spw-table{display:block;min-width:0;border-collapse:separate;border:none;outline:none;padding:6px 12px}}.spw-table-resize-handle{position:relative;height:12px;width:100%;cursor:ns-resize;display:flex;align-items:center;justify-content:center;background:var(--spw-color-themes-grey-grey-100);border:1px solid var(--spw-color-themes-grey-grey-300);border-top:none;border-bottom-left-radius:4px;border-bottom-right-radius:4px;transition:background-color 0.2s ease;user-select:none}.spw-table-resize-handle:hover{background:var(--spw-color-themes-grey-grey-200)}.spw-table-resize-handle:active{background:var(--spw-color-themes-grey-grey-300)}.spw-table-resize-handle__bar{width:40px;height:3px;background:var(--spw-color-themes-grey-grey-400);border-radius:2px;pointer-events:none}.spw-table-resize-handle:hover .spw-table-resize-handle__bar{background:var(--spw-color-themes-grey-grey-500)}";export{a as spw_table}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,a as o}from"./p-DkYGNpnN.js";const s=class{constructor(t){e(this,t),this.colsMobile=1,this.colsTablet=2,this.colsDesktop=3,this.gap="medium"}emitConfigurationChanged(){const e=new CustomEvent("gridConfigurationChanged",{detail:{colsMobile:this.colsMobile,colsTablet:this.colsTablet,colsDesktop:this.colsDesktop},bubbles:!0,composed:!0});this.el.dispatchEvent(e)}configurationChanged(){this.emitConfigurationChanged()}componentDidLoad(){this.emitConfigurationChanged()}render(){return t(i,{key:"2d357dcd355cdebb1dfa26288e7ba8de6fcca153"},t("div",{key:"b484ee489d36973ec6157e435aab1f418e8c16a8",class:{"spw-grid":!0,[`spw-grid--gap-${this.gap}`]:!!this.gap},style:{"--spw-grid-cols-mobile":this.colsMobile.toString(),"--spw-grid-cols-tablet":this.colsTablet.toString(),"--spw-grid-cols-desktop":this.colsDesktop.toString()}},t("slot",{key:"423a50055fa3163777179c9883a052fc7a8fa27b"})))}get el(){return o(this)}static get watchers(){return{colsMobile:[{configurationChanged:0}],colsTablet:[{configurationChanged:0}],colsDesktop:[{configurationChanged:0}]}}};s.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;--spw-grid-gap-small:8px;--spw-grid-gap-regular:16px;--spw-grid-gap-medium:24px;--spw-grid-gap-large:48px}.spw-grid{display:grid;grid-template-columns:repeat(var(--spw-grid-cols-mobile, 1), 1fr)}.spw-grid--gap-none{gap:0}.spw-grid--gap-small{gap:var(--spw-grid-gap-small)}.spw-grid--gap-regular{gap:var(--spw-grid-gap-regular)}.spw-grid--gap-medium{gap:var(--spw-grid-gap-medium)}.spw-grid--gap-large{gap:var(--spw-grid-gap-large)}@media (min-width: 768px){.spw-grid{grid-template-columns:repeat(var(--spw-grid-cols-tablet, 2), 1fr)}}@media (min-width: 1024px){.spw-grid{grid-template-columns:repeat(var(--spw-grid-cols-desktop, 3), 1fr)}}";export{s as spw_grid}
1
+ import{r as e,h as t,H as i,g as o}from"./p-BVePqxpd.js";const s=class{constructor(t){e(this,t),this.colsMobile=1,this.colsTablet=2,this.colsDesktop=3,this.gap="medium"}emitConfigurationChanged(){const e=new CustomEvent("gridConfigurationChanged",{detail:{colsMobile:this.colsMobile,colsTablet:this.colsTablet,colsDesktop:this.colsDesktop},bubbles:!0,composed:!0});this.el.dispatchEvent(e)}configurationChanged(){this.emitConfigurationChanged()}componentDidLoad(){this.emitConfigurationChanged()}render(){return t(i,{key:"2d357dcd355cdebb1dfa26288e7ba8de6fcca153"},t("div",{key:"b484ee489d36973ec6157e435aab1f418e8c16a8",class:{"spw-grid":!0,[`spw-grid--gap-${this.gap}`]:!!this.gap},style:{"--spw-grid-cols-mobile":this.colsMobile.toString(),"--spw-grid-cols-tablet":this.colsTablet.toString(),"--spw-grid-cols-desktop":this.colsDesktop.toString()}},t("slot",{key:"423a50055fa3163777179c9883a052fc7a8fa27b"})))}get el(){return o(this)}static get watchers(){return{colsMobile:[{configurationChanged:0}],colsTablet:[{configurationChanged:0}],colsDesktop:[{configurationChanged:0}]}}};s.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;--spw-grid-gap-small:8px;--spw-grid-gap-regular:16px;--spw-grid-gap-medium:24px;--spw-grid-gap-large:48px}.spw-grid{display:grid;grid-template-columns:repeat(var(--spw-grid-cols-mobile, 1), 1fr)}.spw-grid--gap-none{gap:0}.spw-grid--gap-small{gap:var(--spw-grid-gap-small)}.spw-grid--gap-regular{gap:var(--spw-grid-gap-regular)}.spw-grid--gap-medium{gap:var(--spw-grid-gap-medium)}.spw-grid--gap-large{gap:var(--spw-grid-gap-large)}@media (min-width: 768px){.spw-grid{grid-template-columns:repeat(var(--spw-grid-cols-tablet, 2), 1fr)}}@media (min-width: 1024px){.spw-grid{grid-template-columns:repeat(var(--spw-grid-cols-desktop, 3), 1fr)}}";export{s as spw_grid}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,a as s}from"./p-DkYGNpnN.js";const n=class{constructor(t){e(this,t),this.href="",this.surface="light",this.label="",this.truncated=""}surfaceChanged(){this.updateSurfaceClass()}componentWillLoad(){this.getSurfaceFromParent()}componentDidLoad(){this.readSlotText(),this.mutationObserver=new MutationObserver((()=>this.readSlotText())),this.mutationObserver.observe(this.el,{childList:!0,characterData:!0,subtree:!0})}disconnectedCallback(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect()}readSlotText(){var e,t;const i=null!==(t=null===(e=this.el.textContent)||void 0===e?void 0:e.trim())&&void 0!==t?t:"";i!==this.label&&(this.label=i,this.truncated=i.length>40?i.slice(0,40)+"…":i)}getSurfaceFromParent(){let e=this.el.parentElement;for(;e;){if("spw-breadcrumb"===e.tagName.toLowerCase()){this.surface=e.getAttribute("surface"),this.surface||(this.surface="light"),this.updateSurfaceClass();break}e=e.shadowRoot?e.shadowRoot.host:e.parentElement}}updateSurfaceClass(){this.el.classList.remove("spw-breadcrumb-item--light","spw-breadcrumb-item--dark"),this.el.classList.add(`spw-breadcrumb-item--${this.surface}`)}render(){return t(i,{key:"be1b1666276af179fe49a28dbee20cff6c64f6be"},t("div",{key:"5737222d5f2a4248058ca8dee11a0a0b24ef3ede",role:"listitem",class:`spw-breadcrumb-item spw-breadcrumb-item--${this.surface}`},this.href?t("spw-link",{href:this.href,surface:this.surface,title:this.label},this.truncated||t("slot",null)):t("span",{class:"spw-breadcrumb-item__text","aria-current":"page",title:this.label},this.truncated||t("slot",null))))}get el(){return s(this)}static get watchers(){return{surface:[{surfaceChanged:0}]}}};n.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:contents;white-space:nowrap}.spw-breadcrumb-item{list-style:none;display:inline;white-space:nowrap}.spw-breadcrumb-item__text{font-weight:700;white-space:nowrap;color:var(--spw-color-themes-grey-grey-900)}:host(.spw-breadcrumb-item--dark) .spw-breadcrumb-item__text{color:var(--spw-ds-white)}.spw-breadcrumb-item spw-link{--spw-link-font-weight:400}@media (min-width: 1024px){.spw-breadcrumb-item spw-link{--spw-link-white-space:nowrap}}:host(.spw-breadcrumb-item--light) .spw-breadcrumb-item spw-link{--spw-link-color:var(--spw-color-themes-grey-grey-900);--spw-link-hover-color:var(--spw-color-themes-grey-grey-900);--spw-link-active-color:var(--spw-color-themes-grey-grey-800)}";export{n as spw_breadcrumb_item}
1
+ import{r as e,h as t,H as i,g as s}from"./p-BVePqxpd.js";const n=class{constructor(t){e(this,t),this.href="",this.surface="light",this.label="",this.truncated=""}surfaceChanged(){this.updateSurfaceClass()}componentWillLoad(){this.getSurfaceFromParent()}componentDidLoad(){this.readSlotText(),this.mutationObserver=new MutationObserver((()=>this.readSlotText())),this.mutationObserver.observe(this.el,{childList:!0,characterData:!0,subtree:!0})}disconnectedCallback(){var e;null===(e=this.mutationObserver)||void 0===e||e.disconnect()}readSlotText(){var e,t;const i=null!==(t=null===(e=this.el.textContent)||void 0===e?void 0:e.trim())&&void 0!==t?t:"";i!==this.label&&(this.label=i,this.truncated=i.length>40?i.slice(0,40)+"…":i)}getSurfaceFromParent(){let e=this.el.parentElement;for(;e;){if("spw-breadcrumb"===e.tagName.toLowerCase()){this.surface=e.getAttribute("surface"),this.surface||(this.surface="light"),this.updateSurfaceClass();break}e=e.shadowRoot?e.shadowRoot.host:e.parentElement}}updateSurfaceClass(){this.el.classList.remove("spw-breadcrumb-item--light","spw-breadcrumb-item--dark"),this.el.classList.add(`spw-breadcrumb-item--${this.surface}`)}render(){return t(i,{key:"be1b1666276af179fe49a28dbee20cff6c64f6be"},t("div",{key:"5737222d5f2a4248058ca8dee11a0a0b24ef3ede",role:"listitem",class:`spw-breadcrumb-item spw-breadcrumb-item--${this.surface}`},this.href?t("spw-link",{href:this.href,surface:this.surface,title:this.label},this.truncated||t("slot",null)):t("span",{class:"spw-breadcrumb-item__text","aria-current":"page",title:this.label},this.truncated||t("slot",null))))}get el(){return s(this)}static get watchers(){return{surface:[{surfaceChanged:0}]}}};n.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:contents;white-space:nowrap}.spw-breadcrumb-item{list-style:none;display:inline;white-space:nowrap}.spw-breadcrumb-item__text{font-weight:700;white-space:nowrap;color:var(--spw-color-themes-grey-grey-900)}:host(.spw-breadcrumb-item--dark) .spw-breadcrumb-item__text{color:var(--spw-ds-white)}.spw-breadcrumb-item spw-link{--spw-link-font-weight:400}@media (min-width: 1024px){.spw-breadcrumb-item spw-link{--spw-link-white-space:nowrap}}:host(.spw-breadcrumb-item--light) .spw-breadcrumb-item spw-link{--spw-link-color:var(--spw-color-themes-grey-grey-900);--spw-link-hover-color:var(--spw-color-themes-grey-grey-900);--spw-link-active-color:var(--spw-color-themes-grey-grey-800)}";export{n as spw_breadcrumb_item}
@@ -1 +1 @@
1
- import{r as t,h as e,H as o,a as i}from"./p-DkYGNpnN.js";const n=class{constructor(e){t(this,e),this.colsMobile=1,this.colsTablet=2,this.colsDesktop=4}emitFooterCols(){const t=new CustomEvent("spwFooterCols",{detail:{colsMobile:this.colsMobile,colsTablet:this.colsTablet,colsDesktop:this.colsDesktop},bubbles:!0,composed:!0});this.el.dispatchEvent(t)}configurationChanged(){this.emitFooterCols()}componentDidLoad(){this.emitFooterCols()}render(){return e(o,{key:"6e50b3c38c90c5ceb82f396a1c8f8601230db0f4"},e("footer",{key:"edc7727a705e797f8345508c0bba2777de106774",class:"spw-footer"},e("slot",{key:"ad6ff101e54c783908a8d759a48ce81ad4253c7a"})))}get el(){return i(this)}static get watchers(){return{colsMobile:[{configurationChanged:0}],colsTablet:[{configurationChanged:0}],colsDesktop:[{configurationChanged:0}]}}};n.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}";export{n as spw_footer}
1
+ import{r as t,h as e,H as o,g as i}from"./p-BVePqxpd.js";const n=class{constructor(e){t(this,e),this.colsMobile=1,this.colsTablet=2,this.colsDesktop=4}emitFooterCols(){const t=new CustomEvent("spwFooterCols",{detail:{colsMobile:this.colsMobile,colsTablet:this.colsTablet,colsDesktop:this.colsDesktop},bubbles:!0,composed:!0});this.el.dispatchEvent(t)}configurationChanged(){this.emitFooterCols()}componentDidLoad(){this.emitFooterCols()}render(){return e(o,{key:"6e50b3c38c90c5ceb82f396a1c8f8601230db0f4"},e("footer",{key:"edc7727a705e797f8345508c0bba2777de106774",class:"spw-footer"},e("slot",{key:"ad6ff101e54c783908a8d759a48ce81ad4253c7a"})))}get el(){return i(this)}static get watchers(){return{colsMobile:[{configurationChanged:0}],colsTablet:[{configurationChanged:0}],colsDesktop:[{configurationChanged:0}]}}};n.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}";export{n as spw_footer}
@@ -1 +1 @@
1
- import{r as i,c as t,h as e,H as r}from"./p-DkYGNpnN.js";const o=class{constructor(e){i(this,e),this.wizardItemClick=t(this,"wizardItemClick",7),this.state="inactive",this.isLast="false",this.isClickable="false",this.isBeforeCurrent="false",this.isAfterCurrent="false",this.isCurrent="false",this.handleClick=()=>{"true"===this.isClickable&&this.wizardItemClick.emit(this.stepNumber)}}renderIcon(){const i=this.status||this.state;return"warning"===i?e("spw-icon",{variant:"fa-solid",icon:"fa-triangle-exclamation"}):"error"===i?e("spw-icon",{variant:"fa-solid",icon:"fa-xmark"}):this.icon?e("spw-icon",{variant:"fa-solid",icon:this.icon}):e("span",null,this.stepNumber)}get elementClass(){const i=this.status||this.state;return{"spw-wizard-item":!0,[`spw-wizard-item--${i}`]:!0,[`spw-wizard-item--${this.variant}`]:!0,"spw-wizard-item--clickable":"true"===this.isClickable,"spw-wizard-item--current":"true"===this.isCurrent,"spw-wizard-item--before-current":"true"===this.isBeforeCurrent,"spw-wizard-item--after-current":"true"===this.isAfterCurrent}}render(){const i="false"===this.isLast;return e(r,{key:"823b0a60bcebea99d2230acc4398f2ba2fa72439"},e("div",{key:"e2eb1bbebe28b3472e05b78c7053c0e1d0e258a7",class:this.elementClass,onClick:this.handleClick},e("div",{key:"3ad0471748874dcc6ccc5fd5b33088fc6e00554d",class:"spw-wizard-item__step"},e("div",{key:"125c349e885de823eb54111c05c5433dc7695532",class:"spw-wizard-item__icon"},this.renderIcon()),i&&e("div",{key:"fbe54d8adc1df67dec07919b8af6d34a239afb7c",class:"spw-wizard-item__connector"})),e("div",{key:"f80211b38a05a1fbd23afae8a15d2287aff1ea5f",class:"spw-wizard-item__content"},this.label&&e("div",{key:"9cde8fdefeae446f401588dc17bc79c7d0c94b59",class:"spw-wizard-item__label"},this.label),this.description&&e("div",{key:"f32552d4a0f3c48c6948a3fe834a3869d1c8c166",class:"spw-wizard-item__description"},this.description),this.additionalInfo&&e("div",{key:"61d41a02a2b1b9e6fc6a5c452e0ea030138c08ce",class:"spw-wizard-item__additional-info"},this.additionalInfo))))}};o.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:flex;flex:1;flex-direction:column;align-items:center}:host:last-child{flex:0}.spw-wizard-item{display:flex;flex-direction:column;align-items:center;width:100%;cursor:not-allowed}.spw-wizard-item--vertical{position:relative;flex-direction:row;align-items:flex-start;gap:16px}.spw-wizard-item--clickable{cursor:pointer}.spw-wizard-item--clickable .spw-wizard-item__icon:hover{transform:scale(1.05)}.spw-wizard-item--current{cursor:default}.spw-wizard-item__step{display:flex;align-items:center;width:100%;position:relative;justify-content:center;font-size:18px;line-height:1;font-weight:700}.spw-wizard-item__step spw-icon{font-size:16px}.spw-wizard-item--vertical .spw-wizard-item__step{position:static;flex-direction:column;align-items:flex-start;justify-content:start;flex:1}.spw-wizard-item__icon{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:3px solid;flex-shrink:0;z-index:1;background-color:white;transition:all 0.3s ease;position:relative}.spw-wizard-item__icon svg{width:24px;height:24px}.spw-wizard-item__connector{position:absolute;left:50%;right:-50%;height:3px;transition:background-color 0.3s ease}.spw-wizard-item--vertical .spw-wizard-item__connector{top:0;left:14px;right:auto;width:3px;height:100%}.spw-wizard-item__label{display:block;margin-top:12px;font-size:16px;font-weight:700;text-align:center;color:var(--spw-color-themes-grey-grey-900);padding:0 8px}.spw-wizard-item--horizontal .spw-wizard-item__label{display:none}@media (min-width: 768px){.spw-wizard-item--horizontal .spw-wizard-item__label{display:block}}.spw-wizard-item--vertical .spw-wizard-item__label{text-align:left}.spw-wizard-item__description{display:block;margin-top:4px;font-size:14px;text-align:center;color:var(--spw-color-themes-grey-grey-700);padding:0 8px}.spw-wizard-item--vertical .spw-wizard-item__description{text-align:left}.spw-wizard-item--horizontal .spw-wizard-item__description{display:none}@media (min-width: 768px){.spw-wizard-item--horizontal .spw-wizard-item__description{display:block}}.spw-wizard-item__additional-info{display:block;margin-top:4px;font-size:12px;text-align:center;font-weight:700;color:var(--spw-ds-primary);padding:0 8px}.spw-wizard-item--horizontal .spw-wizard-item__additional-info{display:none}@media (min-width: 768px){.spw-wizard-item--horizontal .spw-wizard-item__additional-info{display:block}}.spw-wizard-item--vertical .spw-wizard-item__additional-info{text-align:left}.spw-wizard-item--vertical .spw-wizard-item__content{margin-top:-6px;margin-bottom:8px}.spw-wizard-item--inactive .spw-wizard-item__icon{border-color:#d1d5db;background-color:white;color:#d1d5db}.spw-wizard-item--inactive .spw-wizard-item__connector{background-color:#d1d5db}.spw-wizard-item--active .spw-wizard-item__icon{border-color:#16a34a;background-color:white;color:#16a34a}.spw-wizard-item--active .spw-wizard-item__connector{background-color:#d1d5db}.spw-wizard-item--completed .spw-wizard-item__icon{border-color:#16a34a;background-color:white;color:#16a34a}.spw-wizard-item--completed .spw-wizard-item__connector{background-color:#d1d5db}.spw-wizard-item--warning:not(.spw-wizard-item--current):not(.spw-wizard-item--before-current) .spw-wizard-item__icon{border-color:#d1d5db;background-color:white;color:#d1d5db}.spw-wizard-item--warning:not(.spw-wizard-item--current):not(.spw-wizard-item--before-current) .spw-wizard-item__connector{background-color:#d1d5db !important}.spw-wizard-item--error:not(.spw-wizard-item--current):not(.spw-wizard-item--before-current) .spw-wizard-item__icon{border-color:#d1d5db;background-color:white;color:#d1d5db}.spw-wizard-item--error:not(.spw-wizard-item--current):not(.spw-wizard-item--before-current) .spw-wizard-item__connector{background-color:#d1d5db !important}.spw-wizard-item--before-current.spw-wizard-item--completed .spw-wizard-item__connector{background-color:#16a34a !important}.spw-wizard-item--before-current.spw-wizard-item--warning .spw-wizard-item__icon{border-color:#f97316 !important;background-color:white !important;color:#f97316 !important}.spw-wizard-item--before-current.spw-wizard-item--warning .spw-wizard-item__connector{background-color:#f97316 !important}.spw-wizard-item--before-current.spw-wizard-item--error .spw-wizard-item__icon{border-color:#dc2626 !important;background-color:white !important;color:#dc2626 !important}.spw-wizard-item--before-current.spw-wizard-item--error .spw-wizard-item__connector{background-color:#dc2626 !important}.spw-wizard-item--current.spw-wizard-item--completed .spw-wizard-item__icon{border-color:#16a34a !important;background-color:#16a34a !important;color:white !important}.spw-wizard-item--current.spw-wizard-item--active .spw-wizard-item__icon{border-color:#16a34a !important;background-color:#16a34a !important;color:white !important}.spw-wizard-item--current.spw-wizard-item--warning .spw-wizard-item__icon{border-color:#f97316 !important;background-color:#f97316 !important;color:white !important}.spw-wizard-item--current.spw-wizard-item--warning .spw-wizard-item__connector{background-color:#d1d5db !important}.spw-wizard-item--current.spw-wizard-item--error .spw-wizard-item__icon{border-color:#dc2626 !important;background-color:#dc2626 !important;color:white !important}.spw-wizard-item--current.spw-wizard-item--error .spw-wizard-item__connector{background-color:#d1d5db !important}";export{o as spw_wizard_item}
1
+ import{r as i,c as t,h as e,H as r}from"./p-BVePqxpd.js";const o=class{constructor(e){i(this,e),this.wizardItemClick=t(this,"wizardItemClick",7),this.state="inactive",this.isLast="false",this.isClickable="false",this.isBeforeCurrent="false",this.isAfterCurrent="false",this.isCurrent="false",this.handleClick=()=>{"true"===this.isClickable&&this.wizardItemClick.emit(this.stepNumber)}}renderIcon(){const i=this.status||this.state;return"warning"===i?e("spw-icon",{variant:"fa-solid",icon:"fa-triangle-exclamation"}):"error"===i?e("spw-icon",{variant:"fa-solid",icon:"fa-xmark"}):this.icon?e("spw-icon",{variant:"fa-solid",icon:this.icon}):e("span",null,this.stepNumber)}get elementClass(){const i=this.status||this.state;return{"spw-wizard-item":!0,[`spw-wizard-item--${i}`]:!0,[`spw-wizard-item--${this.variant}`]:!0,"spw-wizard-item--clickable":"true"===this.isClickable,"spw-wizard-item--current":"true"===this.isCurrent,"spw-wizard-item--before-current":"true"===this.isBeforeCurrent,"spw-wizard-item--after-current":"true"===this.isAfterCurrent}}render(){const i="false"===this.isLast;return e(r,{key:"65dd133b43759f6482d8ef27856312cc6125655d"},e("div",{key:"c3434e4e6f9e0f2a701b4fd22f6eea8c0ae123cc",class:this.elementClass,onClick:this.handleClick},e("div",{key:"0fb46134224e82c1a04a39f63fdd5d457a675bd6",class:"spw-wizard-item__step"},e("div",{key:"92ec891f6f3a1fe5b7a83796c5cde8fb2da6c9b9",class:"spw-wizard-item__icon"},this.renderIcon()),i&&e("div",{key:"fc565ca8c2b15e5bb790e83b75f3a235b040e9a9",class:"spw-wizard-item__connector"})),e("div",{key:"c2ff603420a8b1ed151f839a36f3102d7486105d",class:"spw-wizard-item__content"},this.label&&e("div",{key:"4035937b1408ac8598be63d783e1ea509fe3d1a4",class:"spw-wizard-item__label"},this.label),this.description&&e("div",{key:"faaf20d9c5ec71170a5426350bd836607a63c0f1",class:"spw-wizard-item__description"},this.description),this.additionalInfo&&e("div",{key:"e1d80a61ea360a470b0897cc3debecd496f155f8",class:"spw-wizard-item__additional-info"},this.additionalInfo))))}};o.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:flex;flex:1;flex-direction:column;align-items:center}:host:last-child{flex:0}.spw-wizard-item{display:flex;flex-direction:column;align-items:center;width:100%;cursor:not-allowed}.spw-wizard-item--vertical{position:relative;flex-direction:row;align-items:flex-start;gap:16px}.spw-wizard-item--clickable{cursor:pointer}.spw-wizard-item--clickable .spw-wizard-item__icon:hover{transform:scale(1.05)}.spw-wizard-item--current{cursor:default}.spw-wizard-item__step{display:flex;align-items:center;width:100%;position:relative;justify-content:center;font-size:18px;line-height:1;font-weight:700}.spw-wizard-item__step spw-icon{font-size:16px}.spw-wizard-item--vertical .spw-wizard-item__step{position:static;flex-direction:column;align-items:flex-start;justify-content:start;flex:1}.spw-wizard-item__icon{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:3px solid;flex-shrink:0;z-index:1;background-color:white;transition:all 0.3s ease;position:relative}.spw-wizard-item__icon svg{width:24px;height:24px}.spw-wizard-item__connector{position:absolute;left:50%;right:-50%;height:3px;transition:background-color 0.3s ease}.spw-wizard-item--vertical .spw-wizard-item__connector{top:0;left:14px;right:auto;width:3px;height:100%}.spw-wizard-item__label{display:block;margin-top:12px;font-size:16px;font-weight:700;text-align:center;color:var(--spw-color-themes-grey-grey-900);padding:0 8px}.spw-wizard-item--horizontal .spw-wizard-item__label{display:none}@media (min-width: 768px){.spw-wizard-item--horizontal .spw-wizard-item__label{display:block}}.spw-wizard-item--vertical .spw-wizard-item__label{text-align:left}.spw-wizard-item__description{display:block;margin-top:4px;font-size:14px;text-align:center;color:var(--spw-color-themes-grey-grey-700);padding:0 8px}.spw-wizard-item--vertical .spw-wizard-item__description{text-align:left}.spw-wizard-item--horizontal .spw-wizard-item__description{display:none}@media (min-width: 768px){.spw-wizard-item--horizontal .spw-wizard-item__description{display:block}}.spw-wizard-item__additional-info{display:block;margin-top:4px;font-size:12px;text-align:center;font-weight:700;color:var(--spw-ds-primary);padding:0 8px}.spw-wizard-item--horizontal .spw-wizard-item__additional-info{display:none}@media (min-width: 768px){.spw-wizard-item--horizontal .spw-wizard-item__additional-info{display:block}}.spw-wizard-item--vertical .spw-wizard-item__additional-info{text-align:left}.spw-wizard-item--vertical .spw-wizard-item__content{margin-top:-6px;margin-bottom:8px}.spw-wizard-item--inactive .spw-wizard-item__icon{border-color:#d1d5db;background-color:white;color:#d1d5db}.spw-wizard-item--inactive .spw-wizard-item__connector{background-color:#d1d5db}.spw-wizard-item--active .spw-wizard-item__icon{border-color:#16a34a;background-color:white;color:#16a34a}.spw-wizard-item--active .spw-wizard-item__connector{background-color:#d1d5db}.spw-wizard-item--completed .spw-wizard-item__icon{border-color:#16a34a;background-color:white;color:#16a34a}.spw-wizard-item--completed .spw-wizard-item__connector{background-color:#d1d5db}.spw-wizard-item--warning:not(.spw-wizard-item--current):not(.spw-wizard-item--before-current) .spw-wizard-item__icon{border-color:#d1d5db;background-color:white;color:#d1d5db}.spw-wizard-item--warning:not(.spw-wizard-item--current):not(.spw-wizard-item--before-current) .spw-wizard-item__connector{background-color:#d1d5db !important}.spw-wizard-item--error:not(.spw-wizard-item--current):not(.spw-wizard-item--before-current) .spw-wizard-item__icon{border-color:#d1d5db;background-color:white;color:#d1d5db}.spw-wizard-item--error:not(.spw-wizard-item--current):not(.spw-wizard-item--before-current) .spw-wizard-item__connector{background-color:#d1d5db !important}.spw-wizard-item--before-current.spw-wizard-item--completed .spw-wizard-item__connector{background-color:#16a34a !important}.spw-wizard-item--before-current.spw-wizard-item--warning .spw-wizard-item__icon{border-color:#f97316 !important;background-color:white !important;color:#f97316 !important}.spw-wizard-item--before-current.spw-wizard-item--warning .spw-wizard-item__connector{background-color:#f97316 !important}.spw-wizard-item--before-current.spw-wizard-item--error .spw-wizard-item__icon{border-color:#dc2626 !important;background-color:white !important;color:#dc2626 !important}.spw-wizard-item--before-current.spw-wizard-item--error .spw-wizard-item__connector{background-color:#dc2626 !important}.spw-wizard-item--current.spw-wizard-item--completed .spw-wizard-item__icon{border-color:#16a34a !important;background-color:#16a34a !important;color:white !important}.spw-wizard-item--current.spw-wizard-item--active .spw-wizard-item__icon{border-color:#16a34a !important;background-color:#16a34a !important;color:white !important}.spw-wizard-item--current.spw-wizard-item--warning .spw-wizard-item__icon{border-color:#f97316 !important;background-color:#f97316 !important;color:white !important}.spw-wizard-item--current.spw-wizard-item--warning .spw-wizard-item__connector{background-color:#d1d5db !important}.spw-wizard-item--current.spw-wizard-item--error .spw-wizard-item__icon{border-color:#dc2626 !important;background-color:#dc2626 !important;color:white !important}.spw-wizard-item--current.spw-wizard-item--error .spw-wizard-item__connector{background-color:#d1d5db !important}";export{o as spw_wizard_item}
@@ -1 +1 @@
1
- import{r as e,h as t,H as n}from"./p-DkYGNpnN.js";const i=class{constructor(t){e(this,t)}render(){return t(n,{key:"605cd5e50deac0c8d579826de01409747a162508"},t("div",{key:"64a8108568b3a2047bfe5304d98af25f7273a322",class:"spw-table-container"},t("slot",{key:"b2adb521dabf624af6996ab9465b508323c18e50"})))}};i.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-table-container{display:flex}";export{i as spw_table_container}
1
+ import{r as e,h as t,H as n}from"./p-BVePqxpd.js";const i=class{constructor(t){e(this,t)}render(){return t(n,{key:"ec7be1cab749dbb430ed000e9a158ad8c5e00f54"},t("div",{key:"73effb7fee94b8f43b7ba65526ab8b3bae432113",class:"spw-table-container"},t("slot",{key:"4461307bbddb3be2670ee4e1c7c199335724005e"})))}};i.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block}.spw-table-container{display:flex}";export{i as spw_table_container}
@@ -1 +1 @@
1
- import{r as s,h as a,H as t,a as r}from"./p-DkYGNpnN.js";const e=class{constructor(a){s(this,a),this.variant="link"}componentWillLoad(){this.applyVariantToChildren()}applyVariantToChildren(){requestAnimationFrame((()=>{const s=`--${this.variant}`;this.el.querySelectorAll("spw-card-subtag-item").forEach((a=>{a.classList.add(s),this.el.classList.contains("--highlighted")&&a.classList.add("--highlighted")}))}))}get elementClass(){return{"spw-card-subtags":!0,[`spw-card-subtags--${this.variant}`]:!0}}render(){return a(t,{key:"36068a1a22bda2c9170d1cdfefca6deabe011875"},a("div",{key:"435a8746a533ced07539ffa7db3aff9721a21b85",class:this.elementClass},a("slot",{key:"74412fb663f4bee8137297affc0b614834b798b6"})))}get el(){return r(this)}};e.style=':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}spw-card-subtags{font-family:var(--spw-ds-font-main);box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}spw-card-subtags h1,spw-card-subtags h2,spw-card-subtags h3,spw-card-subtags h4,spw-card-subtags h5,spw-card-subtags h6,spw-card-subtags p,spw-card-subtags ul,spw-card-subtags li{padding:0;margin:0}spw-card-subtags ul{list-style:none}spw-card-subtags *,spw-card-subtags *::before,spw-card-subtags *::after{box-sizing:inherit;letter-spacing:-0.18px}spw-card-subtags{}spw-card-subtags hr{box-sizing:content-box;height:0;overflow:visible;}spw-card-subtags{}spw-card-subtags pre{font-family:monospace, monospace;font-size:1em;}spw-card-subtags{}spw-card-subtags a{background-color:transparent}spw-card-subtags{}spw-card-subtags abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}spw-card-subtags{}spw-card-subtags b,spw-card-subtags strong{font-weight:bolder}spw-card-subtags{}spw-card-subtags code,spw-card-subtags kbd,spw-card-subtags samp{font-family:monospace, monospace;font-size:1em;}spw-card-subtags{}spw-card-subtags small{font-size:80%}spw-card-subtags{}spw-card-subtags sub,spw-card-subtags sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}spw-card-subtags sub{bottom:-0.25em}spw-card-subtags sup{top:-0.5em}spw-card-subtags{}spw-card-subtags img{border-style:none}spw-card-subtags{}spw-card-subtags button,spw-card-subtags input,spw-card-subtags optgroup,spw-card-subtags select,spw-card-subtags textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}spw-card-subtags{}spw-card-subtags button,spw-card-subtags input{overflow:visible}spw-card-subtags{}spw-card-subtags button,spw-card-subtags select{text-transform:none}spw-card-subtags{}spw-card-subtags button,spw-card-subtags [type=button],spw-card-subtags [type=reset],spw-card-subtags [type=submit]{-webkit-appearance:button}spw-card-subtags{}spw-card-subtags button::-moz-focus-inner,spw-card-subtags [type=button]::-moz-focus-inner,spw-card-subtags [type=reset]::-moz-focus-inner,spw-card-subtags [type=submit]::-moz-focus-inner{border-style:none;padding:0}spw-card-subtags{}spw-card-subtags button:-moz-focusring,spw-card-subtags [type=button]:-moz-focusring,spw-card-subtags [type=reset]:-moz-focusring,spw-card-subtags [type=submit]:-moz-focusring{outline:1px dotted ButtonText}spw-card-subtags{}spw-card-subtags fieldset{padding:0.35em 0.75em 0.625em}spw-card-subtags{}spw-card-subtags legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}spw-card-subtags{}spw-card-subtags progress{vertical-align:baseline}spw-card-subtags{}spw-card-subtags textarea{overflow:auto}spw-card-subtags{}spw-card-subtags [type=checkbox],spw-card-subtags [type=radio]{box-sizing:border-box;padding:0;}spw-card-subtags{}spw-card-subtags [type=number]::-webkit-inner-spin-button,spw-card-subtags [type=number]::-webkit-outer-spin-button{height:auto}spw-card-subtags{}spw-card-subtags [type=search]{-webkit-appearance:textfield;outline-offset:-2px;}spw-card-subtags{}spw-card-subtags [type=search]::-webkit-search-decoration{-webkit-appearance:none}spw-card-subtags{}spw-card-subtags ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}spw-card-subtags{}spw-card-subtags details{display:block}spw-card-subtags{}spw-card-subtags summary{display:list-item}spw-card-subtags{}spw-card-subtags template{display:none}spw-card-subtags{}spw-card-subtags [hidden]{display:none}:host{display:contents}.spw-card-subtags{margin-bottom:8px;color:var(--spw-ds-primary)}.--highlighted .spw-card-subtags{color:white}.spw-card-subtags spw-card-subtag-item:after,.spw-card-subtags .spw-card-subtag-item:after{content:",";margin-right:2px;display:inline}.spw-card-subtags spw-card-subtag-item:last-child:after,.spw-card-subtags .spw-card-subtag-item:last-child:after{display:none}.spw-card-subtags--tag spw-card-subtag-item:after,.spw-card-subtags--tag .spw-card-subtag-item:after{content:"";margin-right:4px}';export{e as spw_card_subtags}
1
+ import{r as s,h as a,H as t,g as r}from"./p-BVePqxpd.js";const e=class{constructor(a){s(this,a),this.variant="link"}componentWillLoad(){this.applyVariantToChildren()}applyVariantToChildren(){requestAnimationFrame((()=>{const s=`--${this.variant}`;this.el.querySelectorAll("spw-card-subtag-item").forEach((a=>{a.classList.add(s),this.el.classList.contains("--highlighted")&&a.classList.add("--highlighted")}))}))}get elementClass(){return{"spw-card-subtags":!0,[`spw-card-subtags--${this.variant}`]:!0}}render(){return a(t,{key:"36068a1a22bda2c9170d1cdfefca6deabe011875"},a("div",{key:"435a8746a533ced07539ffa7db3aff9721a21b85",class:this.elementClass},a("slot",{key:"74412fb663f4bee8137297affc0b614834b798b6"})))}get el(){return r(this)}};e.style=':root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}spw-card-subtags{font-family:var(--spw-ds-font-main);box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}spw-card-subtags h1,spw-card-subtags h2,spw-card-subtags h3,spw-card-subtags h4,spw-card-subtags h5,spw-card-subtags h6,spw-card-subtags p,spw-card-subtags ul,spw-card-subtags li{padding:0;margin:0}spw-card-subtags ul{list-style:none}spw-card-subtags *,spw-card-subtags *::before,spw-card-subtags *::after{box-sizing:inherit;letter-spacing:-0.18px}spw-card-subtags{}spw-card-subtags hr{box-sizing:content-box;height:0;overflow:visible;}spw-card-subtags{}spw-card-subtags pre{font-family:monospace, monospace;font-size:1em;}spw-card-subtags{}spw-card-subtags a{background-color:transparent}spw-card-subtags{}spw-card-subtags abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}spw-card-subtags{}spw-card-subtags b,spw-card-subtags strong{font-weight:bolder}spw-card-subtags{}spw-card-subtags code,spw-card-subtags kbd,spw-card-subtags samp{font-family:monospace, monospace;font-size:1em;}spw-card-subtags{}spw-card-subtags small{font-size:80%}spw-card-subtags{}spw-card-subtags sub,spw-card-subtags sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}spw-card-subtags sub{bottom:-0.25em}spw-card-subtags sup{top:-0.5em}spw-card-subtags{}spw-card-subtags img{border-style:none}spw-card-subtags{}spw-card-subtags button,spw-card-subtags input,spw-card-subtags optgroup,spw-card-subtags select,spw-card-subtags textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}spw-card-subtags{}spw-card-subtags button,spw-card-subtags input{overflow:visible}spw-card-subtags{}spw-card-subtags button,spw-card-subtags select{text-transform:none}spw-card-subtags{}spw-card-subtags button,spw-card-subtags [type=button],spw-card-subtags [type=reset],spw-card-subtags [type=submit]{-webkit-appearance:button}spw-card-subtags{}spw-card-subtags button::-moz-focus-inner,spw-card-subtags [type=button]::-moz-focus-inner,spw-card-subtags [type=reset]::-moz-focus-inner,spw-card-subtags [type=submit]::-moz-focus-inner{border-style:none;padding:0}spw-card-subtags{}spw-card-subtags button:-moz-focusring,spw-card-subtags [type=button]:-moz-focusring,spw-card-subtags [type=reset]:-moz-focusring,spw-card-subtags [type=submit]:-moz-focusring{outline:1px dotted ButtonText}spw-card-subtags{}spw-card-subtags fieldset{padding:0.35em 0.75em 0.625em}spw-card-subtags{}spw-card-subtags legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}spw-card-subtags{}spw-card-subtags progress{vertical-align:baseline}spw-card-subtags{}spw-card-subtags textarea{overflow:auto}spw-card-subtags{}spw-card-subtags [type=checkbox],spw-card-subtags [type=radio]{box-sizing:border-box;padding:0;}spw-card-subtags{}spw-card-subtags [type=number]::-webkit-inner-spin-button,spw-card-subtags [type=number]::-webkit-outer-spin-button{height:auto}spw-card-subtags{}spw-card-subtags [type=search]{-webkit-appearance:textfield;outline-offset:-2px;}spw-card-subtags{}spw-card-subtags [type=search]::-webkit-search-decoration{-webkit-appearance:none}spw-card-subtags{}spw-card-subtags ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}spw-card-subtags{}spw-card-subtags details{display:block}spw-card-subtags{}spw-card-subtags summary{display:list-item}spw-card-subtags{}spw-card-subtags template{display:none}spw-card-subtags{}spw-card-subtags [hidden]{display:none}:host{display:contents}.spw-card-subtags{margin-bottom:8px;color:var(--spw-ds-primary)}.--highlighted .spw-card-subtags{color:white}.spw-card-subtags spw-card-subtag-item:after,.spw-card-subtags .spw-card-subtag-item:after{content:",";margin-right:2px;display:inline}.spw-card-subtags spw-card-subtag-item:last-child:after,.spw-card-subtags .spw-card-subtag-item:last-child:after{display:none}.spw-card-subtags--tag spw-card-subtag-item:after,.spw-card-subtags--tag .spw-card-subtag-item:after{content:"";margin-right:4px}';export{e as spw_card_subtags}
@@ -0,0 +1 @@
1
+ import{r as e,c as i,h as o,g as r}from"./p-BVePqxpd.js";const t=class{constructor(o){e(this,o),this.spwChange=i(this,"spwChange",7),o.$hostElement$["s-ei"]?this.internals=o.$hostElement$["s-ei"]:(this.internals=o.$hostElement$.attachInternals(),o.$hostElement$["s-ei"]=this.internals),this.disabled=!1,this.checked=!1,this.error=!1,this.variant="default",this.checkPosition="left",this.contentAlignment="left",this.hasBottom=!1}handleRadio(e){if(this.disabled)return null==e||e.preventDefault(),void(null==e||e.stopPropagation());this.internalChecked||(this.setCheckedState(!0),this.spwChange.emit({checked:this.internalChecked,value:this.value}),this.uncheckOthers())}uncheckOthers(){var e,i;const o=null!==(i=null!==(e=this.el.closest("form"))&&void 0!==e?e:this.el.closest("spw-group"))&&void 0!==i?i:document;Array.from(o.querySelectorAll("spw-radio")).filter((e=>e.name===this.name)).forEach((e=>{e!==this.el&&e.setChecked(!1)}))}async setChecked(e){this.disabled||this.setCheckedState(e)}checkedChanged(e){this.setCheckedState(e),e&&this.uncheckOthers()}setCheckedState(e){this.internalChecked=e,this.checked=e,this.inputElement&&(this.inputElement.checked=e),this.updateFormValue()}updateFormValue(){this.internals.setFormValue(this.internalChecked?this.value:null)}isFromNestedInteractive(e){const i=e.currentTarget;for(const o of e.composedPath()){if(o===i)return!1;if(o instanceof HTMLElement&&o.matches(t.NESTED_INTERACTIVE_SELECTOR))return!0}return!1}handleKeydown(e){this.isFromNestedInteractive(e)||" "!==e.key&&"Enter"!==e.key||(this.handleRadio(),e.preventDefault())}componentWillLoad(){this.hasBottom=!!this.el.querySelector(':scope > [slot="bottom"]'),this.internalChecked=this.checked,this.defaultChecked=this.checked}componentDidLoad(){var e;this.setCheckedState(this.internalChecked),null===(e=this.el.closest("form"))||void 0===e||e.addEventListener("formdata",(e=>{this.internalChecked&&e.formData.set(this.name,this.value)}))}formResetCallback(){this.setCheckedState(this.defaultChecked)}get elementClass(){return{"spw-radio__wrapper":!0,"spw-radio__wrapper--disabled":this.disabled,"spw-radio__wrapper--checked":this.internalChecked,"spw-radio__wrapper--error":this.error}}renderHiddenInput(){return o("input",{type:"radio",ref:e=>this.inputElement=e,checked:this.internalChecked,"aria-checked":this.internalChecked?"true":"false",onChange:this.handleRadio.bind(this),name:this.name,value:this.value,disabled:this.disabled,style:{display:"none"}})}get a11yAttrs(){return{tabIndex:this.disabled?-1:0,onClick:e=>{this.isFromNestedInteractive(e)||this.handleRadio(e)},onKeyDown:this.handleKeydown.bind(this),role:"radio","aria-checked":this.internalChecked?"true":"false","aria-disabled":this.disabled,"aria-label":this.accAriaLabel||void 0,"aria-labelledby":!this.accAriaLabel&&"default"===this.variant&&Boolean(this.el.innerHTML)?"label":void 0}}render(){const e=Boolean(this.el.innerHTML);if("tag"===this.variant)return o("div",{class:"spw-radio spw-radio--tag"},this.renderHiddenInput(),o("div",Object.assign({},this.a11yAttrs,{class:{"spw-radio__tag":!0,"spw-radio__tag--checked":this.internalChecked,"spw-radio__tag--disabled":this.disabled,"spw-radio__tag--error":this.error}}),o("slot",null)));if("radio-tile"===this.variant){const[e,i]=this.checkPosition.split("-"),r="top"===e||"bottom"===e,t=o("div",{"aria-hidden":"true",class:Object.assign(Object.assign({},this.elementClass),{"spw-radio__wrapper--tile":!0})},this.internalChecked&&o("span",{class:"spw-radio__circle"}));return o("div",{class:"spw-radio spw-radio--tile"},this.renderHiddenInput(),o("div",Object.assign({},this.a11yAttrs,{class:{"spw-radio__tile":!0,[`spw-radio__tile--check-${e}`]:!0,[`spw-radio__tile--check-align-${i}`]:r,[`spw-radio__tile--content-${this.contentAlignment}`]:!0,"spw-radio__tile--has-bottom":this.hasBottom,"spw-radio__tile--checked":this.internalChecked,"spw-radio__tile--disabled":this.disabled,"spw-radio__tile--error":this.error}}),"bottom"!==e&&t,!r&&o("div",{class:"spw-radio__tile-separator","aria-hidden":"true"}),o("div",{class:"spw-radio__tile-content"},o("slot",null)),o("div",{class:"spw-radio__tile-bottom",hidden:!this.hasBottom},o("slot",{name:"bottom",onSlotchange:e=>this.hasBottom=e.target.assignedNodes().length>0})),"bottom"===e&&t))}return o("div",{class:"spw-radio"},this.renderHiddenInput(),e&&o("label",{id:"label",class:"spw-radio__label "+(this.disabled?"spw-radio__label--disabled":""),onClick:e=>this.handleRadio(e)},o("slot",null)),o("div",Object.assign({},this.a11yAttrs,{class:this.elementClass}),this.internalChecked&&o("span",{class:"spw-radio__circle"})))}static get formAssociated(){return!0}get el(){return r(this)}static get watchers(){return{checked:[{checkedChanged:0}]}}};t.NESTED_INTERACTIVE_SELECTOR='a, button, input, select, textarea, [role="button"], spw-link, spw-button',t.style='@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:inline-flex;vertical-align:top;--spw-ds-radio-tag-checked-background:var(--spw-colors-support-grey-grey-900);--spw-ds-radio-tag-checked-border-color:var(--spw-ds-radio-tag-checked-background);--spw-ds-radio-tag-checked-color:var(--spw-ds-white);--spw-ds-radio-tag-background:var(--spw-ds-white);--spw-ds-radio-tag-border-color:var(--spw-colors-support-grey-grey-300);--spw-ds-radio-tag-color:var(--spw-colors-support-grey-grey-900);--spw-ds-radio-tag-radius:999px;--spw-ds-radio-tag-padding:6px 10px;--spw-ds-radio-tag-checked-box-shadow:none;--spw-ds-radio-tile-background:var(--spw-ds-white);--spw-ds-radio-tile-checked-background:var(--spw-ds-white);--spw-ds-radio-tile-border-color:var(--spw-colors-support-grey-grey-300);--spw-ds-radio-tile-hover-background:white;--spw-ds-radio-tile-hover-border-color:black;--spw-ds-radio-tile-checked-border-color:black;--spw-ds-radio-tile-radius:8px;--spw-ds-radio-tile-padding:16px;--spw-ds-radio-tile-gap:16px;--spw-ds-radio-tile-separator-color:var(--spw-color-themes-grey-grey-300);--spw-ds-radio-tile-icon-size:32px;--spw-ds-radio-tile-icon-color:var(--spw-color-themes-grey-grey-900)}:host([variant=radio-tile]){display:flex;align-self:stretch;height:100%}.spw-radio{display:inline-flex;flex-direction:row;align-items:flex-start;padding:0}.spw-radio__wrapper{display:flex;position:relative;justify-content:center;align-items:center;width:20px;height:20px;background-color:var(--spw-ds-white);border:2px solid var(--spw-color-themes-grey-grey-900);border-radius:var(--spw-spacings-border-radius-full);font-size:var(--spw-typography-font-size-xs);flex:none;order:0;flex-grow:0}.spw-radio__wrapper--error{border-color:var(--spw-color-states-error-error-300)}.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):focus-visible,.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):active,.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):focus-within{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__wrapper--disabled{border-color:var(--spw-color-themes-grey-grey-500)}.spw-radio__wrapper--checked{border-color:var(--spw-ds-primary);color:var(--spw-ds-primary)}.spw-radio__wrapper--checked--disabled{color:var(--spw-color-themes-grey-grey-500)}.spw-radio__circle{width:10px;height:10px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:var(--spw-spacings-border-radius-full);background:var(--spw-ds-primary);display:block}.spw-radio--tag{display:inline-flex}.spw-radio__tag{display:inline-flex;align-items:center;justify-content:center;gap:6px;line-height:1;font-size:16px;padding:var(--spw-ds-radio-tag-padding);border-radius:var(--spw-ds-radio-tag-radius);border:1px solid var(--spw-ds-radio-tag-border-color);background:var(--spw-ds-radio-tag-background);color:var(--spw-ds-radio-tag-color);white-space:nowrap;user-select:none}.spw-radio__tag:not(.spw-radio__tag--disabled):hover{border-color:var(--spw-colors-support-grey-grey-500)}.spw-radio__tag:not(.spw-radio__tag--disabled):focus-visible{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__tag--error{border-color:var(--spw-color-states-error-error-300)}.spw-radio__tag--checked{background:var(--spw-ds-radio-tag-checked-background);border-color:var(--spw-ds-radio-tag-checked-border-color);color:var(--spw-ds-radio-tag-checked-color);box-shadow:var(--spw-ds-radio-tag-checked-box-shadow)}.spw-radio__tag--disabled{opacity:0.5;cursor:not-allowed}.spw-radio__tag:not(.spw-radio__tag--disabled){cursor:pointer}.spw-radio--tile{display:flex;align-items:stretch;width:100%;height:100%}.spw-radio__tile{display:flex;flex:1;gap:var(--spw-ds-radio-tile-gap);padding:var(--spw-ds-radio-tile-padding);border:1px solid var(--spw-ds-radio-tile-border-color);border-radius:var(--spw-ds-radio-tile-radius);background:var(--spw-ds-radio-tile-background);color:var(--spw-color-themes-grey-grey-900);user-select:none;transition:background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease}.spw-radio__tile--check-left,.spw-radio__tile--check-right{flex-direction:row;align-items:stretch}.spw-radio__tile--check-left .spw-radio__wrapper--tile,.spw-radio__tile--check-right .spw-radio__wrapper--tile{align-self:center}.spw-radio__tile--check-right{flex-direction:row-reverse}.spw-radio__tile--check-top,.spw-radio__tile--check-bottom{flex-direction:column;align-items:flex-start}.spw-radio__tile--check-align-center .spw-radio__wrapper--tile{align-self:center}.spw-radio__tile--check-align-right .spw-radio__wrapper--tile{align-self:flex-end}.spw-radio__tile:not(.spw-radio__tile--disabled){cursor:pointer}.spw-radio__tile:not(.spw-radio__tile--disabled):hover{background:var(--spw-ds-radio-tile-hover-background);border-color:var(--spw-ds-radio-tile-hover-border-color);outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-radio__tile:not(.spw-radio__tile--disabled):focus-visible,.spw-radio__tile:not(.spw-radio__tile--disabled):active{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__tile--checked{background:var(--spw-ds-radio-tile-checked-background);border-color:var(--spw-ds-radio-tile-checked-border-color);box-shadow:inset 0 0 0 1px var(--spw-ds-radio-tile-checked-border-color)}.spw-radio__tile--checked:not(.spw-radio__tile--disabled):hover{background:var(--spw-ds-radio-tile-checked-background);border-color:var(--spw-ds-radio-tile-checked-border-color)}.spw-radio__tile--checked:not(.spw-radio__tile--disabled):focus-visible,.spw-radio__tile--checked:not(.spw-radio__tile--disabled):active{box-shadow:inset 0 0 0 1px var(--spw-ds-radio-tile-checked-border-color), 0 0 0 4px black}.spw-radio__tile--error{border-color:var(--spw-color-states-error-error-300)}.spw-radio__tile--disabled{opacity:0.5;cursor:not-allowed}.spw-radio__wrapper--tile{pointer-events:none}.spw-radio__tile--has-bottom.spw-radio__tile--check-left,.spw-radio__tile--has-bottom.spw-radio__tile--check-right{display:grid;align-items:start;row-gap:var(--spw-ds-spacing-md, 12px)}.spw-radio__tile--has-bottom.spw-radio__tile--check-left .spw-radio__wrapper--tile,.spw-radio__tile--has-bottom.spw-radio__tile--check-right .spw-radio__wrapper--tile{grid-row:1;align-self:center}.spw-radio__tile--has-bottom.spw-radio__tile--check-left .spw-radio__tile-separator,.spw-radio__tile--has-bottom.spw-radio__tile--check-right .spw-radio__tile-separator{grid-row:1/3}.spw-radio__tile--has-bottom.spw-radio__tile--check-left .spw-radio__tile-content,.spw-radio__tile--has-bottom.spw-radio__tile--check-right .spw-radio__tile-content{grid-row:1}.spw-radio__tile--has-bottom.spw-radio__tile--check-left .spw-radio__tile-bottom,.spw-radio__tile--has-bottom.spw-radio__tile--check-right .spw-radio__tile-bottom{grid-row:2}.spw-radio__tile--has-bottom.spw-radio__tile--check-left{grid-template-columns:auto auto minmax(0, 1fr)}.spw-radio__tile--has-bottom.spw-radio__tile--check-left .spw-radio__wrapper--tile{grid-column:1}.spw-radio__tile--has-bottom.spw-radio__tile--check-left .spw-radio__tile-separator{grid-column:2}.spw-radio__tile--has-bottom.spw-radio__tile--check-left .spw-radio__tile-content,.spw-radio__tile--has-bottom.spw-radio__tile--check-left .spw-radio__tile-bottom{grid-column:3}.spw-radio__tile--has-bottom.spw-radio__tile--check-right{grid-template-columns:minmax(0, 1fr) auto auto}.spw-radio__tile--has-bottom.spw-radio__tile--check-right .spw-radio__tile-content,.spw-radio__tile--has-bottom.spw-radio__tile--check-right .spw-radio__tile-bottom{grid-column:1}.spw-radio__tile--has-bottom.spw-radio__tile--check-right .spw-radio__tile-separator{grid-column:2}.spw-radio__tile--has-bottom.spw-radio__tile--check-right .spw-radio__wrapper--tile{grid-column:3}.spw-radio__tile--check-top .spw-radio__tile-bottom,.spw-radio__tile--check-bottom .spw-radio__tile-bottom{align-self:stretch}.spw-radio__tile--content-center .spw-radio__tile-bottom{text-align:center}.spw-radio__tile-bottom[hidden]{display:none}.spw-radio__tile-separator{flex:none;width:1px;align-self:stretch;background:var(--spw-ds-radio-tile-separator-color)}.spw-radio__tile-content{flex:1;min-width:0;line-height:1.5}.spw-radio__tile--check-top .spw-radio__tile-content,.spw-radio__tile--check-bottom .spw-radio__tile-content{align-self:stretch}.spw-radio__tile--content-center .spw-radio__tile-content{text-align:center}.spw-radio__tile-content ::slotted(spw-icon){display:block;margin-bottom:8px;font-size:var(--spw-ds-radio-tile-icon-size);color:var(--spw-ds-radio-tile-icon-color)}.spw-radio__label{color:var(--spw-color-themes-grey-grey-900);word-wrap:break-word;order:1;padding-top:1px;user-select:none;padding-left:var(--spw-spacings-spacing-sm)}.spw-radio__label:hover~.spw-radio__wrapper:not(.spw-radio__wrapper--disabled){outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-radio__label:active~.spw-radio__wrapper:not(.spw-radio__wrapper--disabled){outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__label--disabled{color:var(--spw-color-themes-grey-grey-600)}.spw-radio__wrapper:hover,.spw-radio__label:hover{cursor:pointer}.spw-radio__wrapper--disabled:hover,.spw-radio__label--disabled:hover{cursor:not-allowed}';export{t as spw_radio}
@@ -1 +1 @@
1
- import{r as e,h as s,H as t,a as o}from"./p-DkYGNpnN.js";const i=class{constructor(s){e(this,s),this.hasRadius=!1,this.hasShadow=!1,this.hasBorder=!1,this.isSticky=!1,this.padding="none",this.isCollapsible=!1,this.collapsibleBreakpoint="md",this.isOpen=!1,this.windowWidth=window.innerWidth,this.toggle=()=>{this.isCollapsibleActive&&(this.isOpen=!this.isOpen)},this.setContentRef=e=>{var s;e!==this.contentRef&&(null===(s=this.resizeObserver)||void 0===s||s.disconnect(),this.contentRef=e,e&&(this.resizeObserver=new ResizeObserver((()=>{})),this.resizeObserver.observe(e)))}}onResize(){this.windowWidth=window.innerWidth}get isCollapsibleActive(){return!!this.isCollapsible&&("always"===this.collapsibleBreakpoint||this.windowWidth<{sm:360,md:768,lg:1024,xl:1200,xxl:1700}[this.collapsibleBreakpoint])}get hostClass(){return{"spw-box--is-sticky":this.isSticky,[`spw-box--collapsible-${this.collapsibleBreakpoint}`]:this.isCollapsible}}get elementClass(){return{"spw-box":!0,"spw-box--has-radius":this.hasRadius,"spw-box--has-shadow":this.hasShadow,"spw-box--has-border":this.hasBorder,[`spw-box--padding-${this.padding}`]:"none"!==this.padding,"spw-box--collapsible-active":this.isCollapsibleActive&&!this.isOpen}}render(){const e=this.isCollapsibleActive?{height:this.isOpen?"auto":"0px"}:void 0;return s(t,{key:"6395bf2e707f52cdbd2169d7791536fec590b867",class:this.hostClass,style:this.stickyTop?{"--spw-box-sticky-top":this.stickyTop}:void 0},s("div",{key:"77b16ec05a677be07f47bdf6eec4d76288a56ac4",class:this.elementClass,onClick:this.isOpen?void 0:this.toggle},s("div",{key:"31a7064746a8ab2d0545f582d6f6b63007146d6a",class:{"spw-box__header":!0,"spw-box__header--collapsible":this.isCollapsibleActive},onClick:this.isOpen?this.toggle:void 0},s("slot",{key:"29b77e3dbd55ccc924035590de648dd15b40a374",name:"header"}),this.isCollapsibleActive&&s("spw-icon",{key:"ad59b212e0d26600ec0e4979c7c20fcb0fb4b910",icon:"fa-chevron-down",class:{"spw-box__header-icon--open":this.isOpen}})),s("div",{key:"bb8766a22042f269ef2fef045d824fa33e145e43",class:{"spw-box__content-clipper":this.isCollapsibleActive},style:e},s("div",{key:"9bc61a4c323e5f9a2e4fef1b05fd914f89b367e0",class:"spw-box__content",ref:this.setContentRef},s("slot",{key:"d9656a002b8821f203607d0860b5028421a8de56"})))))}get el(){return o(this)}};i.style='@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;--spw-box-shadow:var(--spw-effect-elevation-7);--spw-box-radius:8px;--spw-box-sticky-top:32px;--spw-box-padding-small:16px;--spw-box-padding-medium:24px;--spw-box-padding-large:48px;--spw-box-collapse-duration:0.3s;--spw-box-background:white;--spw-box-border-color:var(--spw-colors-support-grey-grey-300);--spw-box-border-width:1px;--spw-box-border-style:solid}@media (min-width: 1024px){:host(.spw-box--is-sticky){position:sticky;top:var(--spw-box-sticky-top);align-self:flex-start}}.spw-box{background:var(--spw-box-background)}.spw-box--has-shadow{box-shadow:var(--spw-box-shadow)}.spw-box--has-radius{border-radius:var(--spw-box-radius)}.spw-box--has-border{border:var(--spw-box-border-width) var(--spw-box-border-style) var(--spw-box-border-color)}.spw-box--padding-small{padding:var(--spw-box-padding-small)}.spw-box--padding-medium{padding:var(--spw-box-padding-medium)}.spw-box--padding-large{padding:var(--spw-box-padding-large)}.spw-box__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.spw-box__header--collapsible{cursor:pointer}.spw-box--collapsible-active{cursor:pointer}.spw-box__header-icon--open{transform:rotate(180deg)}.spw-box spw-icon{transition:transform var(--spw-box-collapse-duration) ease}.spw-box__content-clipper{overflow:hidden;transition:height var(--spw-box-collapse-duration) ease}:host(.spw-box--collapsible-sm) .spw-box__header,:host(.spw-box--collapsible-md) .spw-box__header,:host(.spw-box--collapsible-lg) .spw-box__header,:host(.spw-box--collapsible-xl) .spw-box__header,:host(.spw-box--collapsible-xxl) .spw-box__header,:host(.spw-box--collapsible-always) .spw-box__header{display:flex}';export{i as spw_box}
1
+ import{r as e,h as s,H as t,g as o}from"./p-BVePqxpd.js";const i=class{constructor(s){e(this,s),this.hasRadius=!1,this.hasShadow=!1,this.hasBorder=!1,this.isSticky=!1,this.padding="none",this.isCollapsible=!1,this.collapsibleBreakpoint="md",this.isOpen=!1,this.windowWidth=window.innerWidth,this.toggle=()=>{this.isCollapsibleActive&&(this.isOpen=!this.isOpen)},this.setContentRef=e=>{var s;e!==this.contentRef&&(null===(s=this.resizeObserver)||void 0===s||s.disconnect(),this.contentRef=e,e&&(this.resizeObserver=new ResizeObserver((()=>{})),this.resizeObserver.observe(e)))}}onResize(){this.windowWidth=window.innerWidth}get isCollapsibleActive(){return!!this.isCollapsible&&("always"===this.collapsibleBreakpoint||this.windowWidth<{sm:360,md:768,lg:1024,xl:1200,xxl:1700}[this.collapsibleBreakpoint])}get hostClass(){return{"spw-box--is-sticky":this.isSticky,[`spw-box--collapsible-${this.collapsibleBreakpoint}`]:this.isCollapsible}}get elementClass(){return{"spw-box":!0,"spw-box--has-radius":this.hasRadius,"spw-box--has-shadow":this.hasShadow,"spw-box--has-border":this.hasBorder,[`spw-box--padding-${this.padding}`]:"none"!==this.padding,"spw-box--collapsible-active":this.isCollapsibleActive&&!this.isOpen}}render(){const e=this.isCollapsibleActive?{height:this.isOpen?"auto":"0px"}:void 0;return s(t,{key:"6395bf2e707f52cdbd2169d7791536fec590b867",class:this.hostClass,style:this.stickyTop?{"--spw-box-sticky-top":this.stickyTop}:void 0},s("div",{key:"77b16ec05a677be07f47bdf6eec4d76288a56ac4",class:this.elementClass,onClick:this.isOpen?void 0:this.toggle},s("div",{key:"31a7064746a8ab2d0545f582d6f6b63007146d6a",class:{"spw-box__header":!0,"spw-box__header--collapsible":this.isCollapsibleActive},onClick:this.isOpen?this.toggle:void 0},s("slot",{key:"29b77e3dbd55ccc924035590de648dd15b40a374",name:"header"}),this.isCollapsibleActive&&s("spw-icon",{key:"ad59b212e0d26600ec0e4979c7c20fcb0fb4b910",icon:"fa-chevron-down",class:{"spw-box__header-icon--open":this.isOpen}})),s("div",{key:"bb8766a22042f269ef2fef045d824fa33e145e43",class:{"spw-box__content-clipper":this.isCollapsibleActive},style:e},s("div",{key:"9bc61a4c323e5f9a2e4fef1b05fd914f89b367e0",class:"spw-box__content",ref:this.setContentRef},s("slot",{key:"d9656a002b8821f203607d0860b5028421a8de56"})))))}get el(){return o(this)}};i.style='@charset "UTF-8";:root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;--spw-box-shadow:var(--spw-effect-elevation-7);--spw-box-radius:8px;--spw-box-sticky-top:32px;--spw-box-padding-small:16px;--spw-box-padding-medium:24px;--spw-box-padding-large:48px;--spw-box-collapse-duration:0.3s;--spw-box-background:white;--spw-box-border-color:var(--spw-colors-support-grey-grey-300);--spw-box-border-width:1px;--spw-box-border-style:solid}@media (min-width: 1024px){:host(.spw-box--is-sticky){position:sticky;top:var(--spw-box-sticky-top);align-self:flex-start}}.spw-box{background:var(--spw-box-background)}.spw-box--has-shadow{box-shadow:var(--spw-box-shadow)}.spw-box--has-radius{border-radius:var(--spw-box-radius)}.spw-box--has-border{border:var(--spw-box-border-width) var(--spw-box-border-style) var(--spw-box-border-color)}.spw-box--padding-small{padding:var(--spw-box-padding-small)}.spw-box--padding-medium{padding:var(--spw-box-padding-medium)}.spw-box--padding-large{padding:var(--spw-box-padding-large)}.spw-box__header{display:flex;align-items:center;justify-content:space-between;gap:12px}.spw-box__header--collapsible{cursor:pointer}.spw-box--collapsible-active{cursor:pointer}.spw-box__header-icon--open{transform:rotate(180deg)}.spw-box spw-icon{transition:transform var(--spw-box-collapse-duration) ease}.spw-box__content-clipper{overflow:hidden;transition:height var(--spw-box-collapse-duration) ease}:host(.spw-box--collapsible-sm) .spw-box__header,:host(.spw-box--collapsible-md) .spw-box__header,:host(.spw-box--collapsible-lg) .spw-box__header,:host(.spw-box--collapsible-xl) .spw-box__header,:host(.spw-box--collapsible-xxl) .spw-box__header,:host(.spw-box--collapsible-always) .spw-box__header{display:flex}';export{i as spw_box}
@@ -1 +1 @@
1
- import{r as e,h as t,H as i,a as s}from"./p-DkYGNpnN.js";const o=class{constructor(t){e(this,t),this.defaultExpanded=!1,this.hasTopbar=!1,this.BODY_CLASS="spw-sidebar-expanded",this.toggleSidebar=()=>{this.expanded=!this.expanded,document.body.classList.toggle(this.BODY_CLASS,this.expanded)},this.checkTopbarClass=()=>{this.hasTopbar=document.body.classList.contains("has-topbar")},this.checkExpandedState=()=>{const e=document.body.classList.contains(this.BODY_CLASS);this.expanded!==e&&(this.expanded=e)}}componentWillLoad(){this.expanded=this.defaultExpanded,this.expanded&&document.body.classList.add(this.BODY_CLASS),this.checkTopbarClass(),this.observeBodyClassChanges()}disconnectedCallback(){var e;document.body.classList.remove(this.BODY_CLASS),null===(e=this.observer)||void 0===e||e.disconnect()}async open(){this.expanded||(this.expanded=!0,document.body.classList.add(this.BODY_CLASS))}async close(){this.expanded&&(this.expanded=!1,document.body.classList.remove(this.BODY_CLASS))}async toggle(){this.expanded=!this.expanded,document.body.classList.toggle(this.BODY_CLASS,this.expanded)}observeBodyClassChanges(){this.observer=new MutationObserver((()=>{this.checkTopbarClass(),this.checkExpandedState()})),this.observer.observe(document.body,{attributes:!0,attributeFilter:["class"]})}get hostClass(){return{"--expanded":this.expanded,"--collapsed":!this.expanded}}get elementClass(){return{"spw-sidebar":!0,"spw-sidebar--expanded":this.expanded,"spw-sidebar--collapsed":!this.expanded,"spw-sidebar--with-topbar":this.hasTopbar}}render(){return t(i,{key:"09ecf3b079c411a185aa04cc7e081b2ff988f143",class:this.hostClass},t("div",{key:"e63220eb06d2a89c4506f6fd7ad319018e2c05eb",class:this.elementClass},t("span",{key:"d8e5818417ade57dc8dc267f4366475e2bf6cd81",class:"spw-sidebar__toggle",onClick:this.toggleSidebar,"aria-expanded":this.expanded.toString()},t("spw-icon",{key:"245d7aa4d22b41f1932843aa3d028632c333961c",icon:"fa-chevron-right"})),t("div",{key:"5a27272312d05faa12cab5e4c0aee41878578061",class:"spw-sidebar__content"},t("slot",{key:"6ae9b2c4948da499655021bfecd3dcd9292a7f2f",name:"navigation-top"}),t("slot",{key:"a16f578052156b547ffaae2888f044459eeaa2bf",name:"navigation-bottom"})),t("div",{key:"fb877654b1cc2f3fd88a897aa31e6a2ad7eb75e4",class:"spw-sidebar__resize-border",onClick:this.toggleSidebar})))}get el(){return s(this)}};o.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;height:100%}.spw-sidebar{height:100%;width:var(--spw-ds-bo-sidebar-width);display:flex;flex-direction:column;background:white;border-right:1px solid var(--spw-colors-support-grey-grey-300);position:fixed;top:0;left:0;z-index:800}@media (min-width: 1024px){.spw-sidebar{transition:width 0.2s ease}}.spw-sidebar--with-topbar{top:var(--spw-ds-bo-topbar-height);height:calc(100% - var(--spw-ds-bo-topbar-height))}.spw-sidebar__toggle{display:none}@media (min-width: 1024px){.spw-sidebar__toggle{position:absolute;right:0;top:67px;flex-basis:auto;width:20px;padding:6px 0;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;box-shadow:var(--spw-effect-elevation-6);border:1px solid var(--spw-colors-support-grey-grey-300);cursor:pointer;font-size:13px;z-index:20;transform:translateX(50%);background:white;line-height:1}.spw-sidebar__toggle spw-icon{position:relative;transition:transform 0.15s 0.2s ease}.spw-sidebar--expanded .spw-sidebar__toggle spw-icon{transform:rotate(180deg)}}.spw-sidebar__content{overflow:hidden;flex:1 1 auto;overflow-y:auto;padding:16px 0;display:flex;flex-direction:column;justify-content:space-between}.spw-sidebar__content::-webkit-scrollbar{width:14px;height:14px}.spw-sidebar__content::-webkit-scrollbar-thumb{background:var(--spw-color-themes-grey-grey-400);border-radius:20px;border:4px solid var(--spw-ds-white)}.spw-sidebar__content::-webkit-scrollbar-track{background:var(--spw-ds-white)}.spw-sidebar__content{scrollbar-face-color:var(--spw-color-themes-grey-grey-400);scrollbar-track-color:var(--spw-ds-white)}@media (max-width: 1023px){.spw-sidebar__content{padding:0}}.spw-sidebar--expanded{width:var(--spw-ds-bo-sidebar-expanded-width)}.spw-sidebar--collapsed{width:var(--spw-ds-bo-sidebar-width)}.spw-sidebar__resize-border{display:none;position:absolute;top:0;right:0;width:10px;height:100%;transform:translateX(50%);cursor:col-resize;align-items:center;justify-content:center;background:transparent;z-index:10}";export{o as spw_sidebar}
1
+ import{r as e,h as t,H as i,g as s}from"./p-BVePqxpd.js";const o=class{constructor(t){e(this,t),this.defaultExpanded=!1,this.hasTopbar=!1,this.BODY_CLASS="spw-sidebar-expanded",this.toggleSidebar=()=>{this.expanded=!this.expanded,document.body.classList.toggle(this.BODY_CLASS,this.expanded)},this.checkTopbarClass=()=>{this.hasTopbar=document.body.classList.contains("has-topbar")},this.checkExpandedState=()=>{const e=document.body.classList.contains(this.BODY_CLASS);this.expanded!==e&&(this.expanded=e)}}componentWillLoad(){this.expanded=this.defaultExpanded,this.expanded&&document.body.classList.add(this.BODY_CLASS),this.checkTopbarClass(),this.observeBodyClassChanges()}disconnectedCallback(){var e;document.body.classList.remove(this.BODY_CLASS),null===(e=this.observer)||void 0===e||e.disconnect()}async open(){this.expanded||(this.expanded=!0,document.body.classList.add(this.BODY_CLASS))}async close(){this.expanded&&(this.expanded=!1,document.body.classList.remove(this.BODY_CLASS))}async toggle(){this.expanded=!this.expanded,document.body.classList.toggle(this.BODY_CLASS,this.expanded)}observeBodyClassChanges(){this.observer=new MutationObserver((()=>{this.checkTopbarClass(),this.checkExpandedState()})),this.observer.observe(document.body,{attributes:!0,attributeFilter:["class"]})}get hostClass(){return{"--expanded":this.expanded,"--collapsed":!this.expanded}}get elementClass(){return{"spw-sidebar":!0,"spw-sidebar--expanded":this.expanded,"spw-sidebar--collapsed":!this.expanded,"spw-sidebar--with-topbar":this.hasTopbar}}render(){return t(i,{key:"e4931a3c98d983723c5bff7f050cd8b2e45096f4",class:this.hostClass},t("div",{key:"6d010432a3388a69cf058a68c343fd323d2f4927",class:this.elementClass},t("span",{key:"e0a48c115bdedc7a0e170045a0872ce3411ec2ef",class:"spw-sidebar__toggle",onClick:this.toggleSidebar,"aria-expanded":this.expanded.toString()},t("spw-icon",{key:"2b98b69394e969396277df4b5116141bd246d61a",icon:"fa-chevron-right"})),t("div",{key:"78aad5ed66dd3309fc0c4659b0104421d5c019cd",class:"spw-sidebar__content"},t("slot",{key:"fe513fac808aafcd2cc07dea7cf40ed67312373b",name:"navigation-top"}),t("slot",{key:"6527c977f15ea7a382b8ec004e7bb6b2db788ca8",name:"navigation-bottom"})),t("div",{key:"452982f456992a3e743f5c1b9d4b80d1953c80af",class:"spw-sidebar__resize-border",onClick:this.toggleSidebar})))}get el(){return s(this)}};o.style=":root{--spw-ds-container-xl:1200px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 360px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1200px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:var(--spw-ds-font-main);letter-spacing:-0.18px}body{margin:0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:host{display:block;height:100%}.spw-sidebar{height:100%;width:var(--spw-ds-bo-sidebar-width);display:flex;flex-direction:column;background:white;border-right:1px solid var(--spw-colors-support-grey-grey-300);position:fixed;top:0;left:0;z-index:800}@media (min-width: 1024px){.spw-sidebar{transition:width 0.2s ease}}.spw-sidebar--with-topbar{top:var(--spw-ds-bo-topbar-height);height:calc(100% - var(--spw-ds-bo-topbar-height))}.spw-sidebar__toggle{display:none}@media (min-width: 1024px){.spw-sidebar__toggle{position:absolute;right:0;top:67px;flex-basis:auto;width:20px;padding:6px 0;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;box-shadow:var(--spw-effect-elevation-6);border:1px solid var(--spw-colors-support-grey-grey-300);cursor:pointer;font-size:13px;z-index:20;transform:translateX(50%);background:white;line-height:1}.spw-sidebar__toggle spw-icon{position:relative;transition:transform 0.15s 0.2s ease}.spw-sidebar--expanded .spw-sidebar__toggle spw-icon{transform:rotate(180deg)}}.spw-sidebar__content{overflow:hidden;flex:1 1 auto;overflow-y:auto;padding:16px 0;display:flex;flex-direction:column;justify-content:space-between}.spw-sidebar__content::-webkit-scrollbar{width:14px;height:14px}.spw-sidebar__content::-webkit-scrollbar-thumb{background:var(--spw-color-themes-grey-grey-400);border-radius:20px;border:4px solid var(--spw-ds-white)}.spw-sidebar__content::-webkit-scrollbar-track{background:var(--spw-ds-white)}.spw-sidebar__content{scrollbar-face-color:var(--spw-color-themes-grey-grey-400);scrollbar-track-color:var(--spw-ds-white)}@media (max-width: 1023px){.spw-sidebar__content{padding:0}}.spw-sidebar--expanded{width:var(--spw-ds-bo-sidebar-expanded-width)}.spw-sidebar--collapsed{width:var(--spw-ds-bo-sidebar-width)}.spw-sidebar__resize-border{display:none;position:absolute;top:0;right:0;width:10px;height:100%;transform:translateX(50%);cursor:col-resize;align-items:center;justify-content:center;background:transparent;z-index:10}";export{o as spw_sidebar}