@swisspost/design-system-components 9.0.0-next.34 → 9.0.0-next.36

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 (218) hide show
  1. package/dist/cjs/index-b60129c4.js +2 -2
  2. package/dist/cjs/index.cjs.js +21 -21
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/{package-3426e8f7.js → package-5aff50a1.js} +1 -1
  5. package/dist/cjs/{post-accordion-3ac8dca8.js → post-accordion-36bccc22.js} +1 -1
  6. package/dist/cjs/{post-accordion-item-aace6bc2.js → post-accordion-item-1463e9b4.js} +1 -1
  7. package/dist/cjs/post-accordion-item.cjs.entry.js +2 -2
  8. package/dist/cjs/post-accordion.cjs.entry.js +2 -2
  9. package/dist/cjs/{post-avatar-53abd22f.js → post-avatar-3538c4c2.js} +2 -2
  10. package/dist/cjs/post-avatar.cjs.entry.js +2 -2
  11. package/dist/cjs/{post-back-to-top-b231fc1c.js → post-back-to-top-bf18c594.js} +1 -1
  12. package/dist/cjs/post-back-to-top.cjs.entry.js +2 -2
  13. package/dist/cjs/{post-banner-e6d14bf1.js → post-banner-f1d495a5.js} +2 -2
  14. package/dist/cjs/post-banner.cjs.entry.js +2 -2
  15. package/dist/cjs/post-breadcrumb-item_2.cjs.entry.js +2 -2
  16. package/dist/cjs/{post-breadcrumb-a929f2a6.js → post-breadcrumbs-55e81d17.js} +14 -14
  17. package/dist/cjs/{post-breadcrumb.cjs.entry.js → post-breadcrumbs.cjs.entry.js} +3 -3
  18. package/dist/cjs/post-card-control-372f3259.js +269 -0
  19. package/dist/cjs/post-card-control.cjs.entry.js +2 -2
  20. package/dist/cjs/post-closebutton_15.cjs.entry.js +2 -2
  21. package/dist/cjs/{post-collapsible-trigger-d1cb592a.js → post-collapsible-trigger-4dc17926.js} +1 -1
  22. package/dist/cjs/post-collapsible_2.cjs.entry.js +2 -2
  23. package/dist/cjs/post-components.cjs.js +1 -1
  24. package/dist/cjs/{post-footer-4290dafc.js → post-footer-82d0c7f8.js} +1 -1
  25. package/dist/cjs/post-footer.cjs.entry.js +2 -2
  26. package/dist/cjs/{post-linkarea-f22f4f92.js → post-linkarea-0d274274.js} +1 -1
  27. package/dist/cjs/post-linkarea.cjs.entry.js +2 -2
  28. package/dist/cjs/{post-menu-item-afabaa61.js → post-menu-item-0d43a501.js} +1 -1
  29. package/dist/cjs/{post-popover-a4c72d38.js → post-popover-2743d742.js} +3 -3
  30. package/dist/cjs/post-popover.cjs.entry.js +2 -2
  31. package/dist/cjs/{post-rating-b87616fc.js → post-rating-6d4a4526.js} +2 -2
  32. package/dist/cjs/post-rating.cjs.entry.js +2 -2
  33. package/dist/cjs/{post-tab-header-45cb6bb4.js → post-tab-header-efa6601e.js} +2 -2
  34. package/dist/cjs/post-tab-header.cjs.entry.js +2 -2
  35. package/dist/cjs/{post-tab-panel-00d16ba7.js → post-tab-panel-c5d0fb2b.js} +1 -1
  36. package/dist/cjs/post-tab-panel.cjs.entry.js +2 -2
  37. package/dist/cjs/{post-tabs-2c3a89d0.js → post-tabs-ec331fc8.js} +1 -1
  38. package/dist/cjs/post-tabs.cjs.entry.js +2 -2
  39. package/dist/cjs/post-tag-5097d33c.js +47 -0
  40. package/dist/cjs/post-tag.cjs.entry.js +2 -2
  41. package/dist/cjs/{post-togglebutton-2c9552e3.js → post-togglebutton-14dff708.js} +5 -5
  42. package/dist/cjs/{post-tooltip-4d4d2ea9.js → post-tooltip-c385bec3.js} +2 -2
  43. package/dist/cjs/post-tooltip.cjs.entry.js +2 -2
  44. package/dist/collection/collection-manifest.json +1 -1
  45. package/dist/collection/components/post-avatar/post-avatar.css +1 -3
  46. package/dist/collection/components/post-banner/post-banner.css +1 -3
  47. package/dist/collection/components/post-breadcrumbs/post-breadcrumbs.css +1 -0
  48. package/dist/collection/components/{post-breadcrumb/post-breadcrumb.js → post-breadcrumbs/post-breadcrumbs.js} +12 -12
  49. package/dist/collection/components/post-card-control/post-card-control.css +1 -3
  50. package/dist/collection/components/post-language-option/post-language-option.css +1 -3
  51. package/dist/collection/components/post-list/post-list.css +1 -3
  52. package/dist/collection/components/post-menu/post-menu.css +1 -3
  53. package/dist/collection/components/post-menu/post-menu.js +2 -2
  54. package/dist/collection/components/post-popover/post-popover.css +1 -3
  55. package/dist/collection/components/post-popover/post-popover.js +2 -2
  56. package/dist/collection/components/post-rating/post-rating.css +1 -3
  57. package/dist/collection/components/post-tab-header/post-tab-header.css +1 -3
  58. package/dist/collection/components/post-tag/post-tag.css +1 -3
  59. package/dist/collection/components/post-tag/post-tag.js +1 -1
  60. package/dist/collection/components/post-tooltip/post-tooltip.js +2 -2
  61. package/dist/collection/index.js +1 -1
  62. package/dist/components/index.js +1 -1
  63. package/dist/components/package.js +1 -1
  64. package/dist/components/post-avatar2.js +1 -1
  65. package/dist/components/post-banner2.js +1 -1
  66. package/dist/components/{post-breadcrumb.d.ts → post-breadcrumbs.d.ts} +4 -4
  67. package/dist/components/post-breadcrumbs.js +6 -0
  68. package/dist/components/{post-breadcrumb2.js → post-breadcrumbs2.js} +17 -17
  69. package/dist/components/post-card-control2.js +1 -1
  70. package/dist/components/post-language-option2.js +1 -1
  71. package/dist/components/post-list2.js +1 -1
  72. package/dist/components/post-menu2.js +2 -2
  73. package/dist/components/post-popover2.js +2 -2
  74. package/dist/components/post-rating2.js +1 -1
  75. package/dist/components/post-tab-header2.js +1 -1
  76. package/dist/components/post-tag2.js +1 -1
  77. package/dist/components/post-tooltip2.js +1 -1
  78. package/dist/docs.json +87 -87
  79. package/dist/esm/index-f4d19816.js +2 -2
  80. package/dist/esm/index.js +20 -20
  81. package/dist/esm/loader.js +1 -1
  82. package/dist/esm/package-130db0be.js +3 -0
  83. package/dist/esm/{post-accordion-577b52a0.js → post-accordion-8d50a7af.js} +1 -1
  84. package/dist/esm/{post-accordion-item-99053b41.js → post-accordion-item-028aa432.js} +1 -1
  85. package/dist/esm/post-accordion-item.entry.js +2 -2
  86. package/dist/esm/post-accordion.entry.js +2 -2
  87. package/dist/esm/{post-avatar-2914706c.js → post-avatar-8a66e51c.js} +2 -2
  88. package/dist/esm/post-avatar.entry.js +2 -2
  89. package/dist/esm/{post-back-to-top-4c7b1b47.js → post-back-to-top-a792d44e.js} +1 -1
  90. package/dist/esm/post-back-to-top.entry.js +2 -2
  91. package/dist/esm/{post-banner-295fd0f5.js → post-banner-1a658fd6.js} +2 -2
  92. package/dist/esm/post-banner.entry.js +2 -2
  93. package/dist/esm/post-breadcrumb-item_2.entry.js +2 -2
  94. package/dist/esm/{post-breadcrumb-1abfb312.js → post-breadcrumbs-1e3fb616.js} +14 -14
  95. package/dist/esm/post-breadcrumbs.entry.js +5 -0
  96. package/dist/esm/post-card-control-1982d6a8.js +267 -0
  97. package/dist/esm/post-card-control.entry.js +2 -2
  98. package/dist/esm/post-closebutton_15.entry.js +2 -2
  99. package/dist/esm/{post-collapsible-trigger-6b4ece20.js → post-collapsible-trigger-5e37a02f.js} +1 -1
  100. package/dist/esm/post-collapsible_2.entry.js +2 -2
  101. package/dist/esm/post-components.js +1 -1
  102. package/dist/esm/{post-footer-a5105e66.js → post-footer-2065aa9b.js} +1 -1
  103. package/dist/esm/post-footer.entry.js +2 -2
  104. package/dist/esm/{post-linkarea-22f97a88.js → post-linkarea-c8cb035d.js} +1 -1
  105. package/dist/esm/post-linkarea.entry.js +2 -2
  106. package/dist/esm/{post-menu-item-9465a1f3.js → post-menu-item-4f188a8e.js} +1 -1
  107. package/dist/esm/{post-popover-e9b4569c.js → post-popover-b502ed62.js} +3 -3
  108. package/dist/esm/post-popover.entry.js +2 -2
  109. package/dist/esm/{post-rating-ae16e3c9.js → post-rating-95a9cebf.js} +2 -2
  110. package/dist/esm/post-rating.entry.js +2 -2
  111. package/dist/esm/{post-tab-header-11f23150.js → post-tab-header-f74310a0.js} +2 -2
  112. package/dist/esm/post-tab-header.entry.js +2 -2
  113. package/dist/esm/{post-tab-panel-0f3a952e.js → post-tab-panel-e0cfeaad.js} +1 -1
  114. package/dist/esm/post-tab-panel.entry.js +2 -2
  115. package/dist/esm/{post-tabs-1192509c.js → post-tabs-fccf06a8.js} +1 -1
  116. package/dist/esm/post-tabs.entry.js +2 -2
  117. package/dist/esm/post-tag-3b929523.js +45 -0
  118. package/dist/esm/post-tag.entry.js +2 -2
  119. package/dist/esm/{post-togglebutton-b634fc7c.js → post-togglebutton-4075b305.js} +5 -5
  120. package/dist/esm/{post-tooltip-f64bd0cc.js → post-tooltip-ce07d1a2.js} +2 -2
  121. package/dist/esm/post-tooltip.entry.js +2 -2
  122. package/dist/post-components/index.esm.js +1 -1
  123. package/dist/post-components/p-01b87363.entry.js +1 -0
  124. package/dist/post-components/p-039b774a.js +1 -0
  125. package/dist/post-components/{p-60bb7f26.js → p-043cdd20.js} +1 -1
  126. package/dist/post-components/p-071cbbf2.entry.js +1 -0
  127. package/dist/post-components/p-1c85ef44.js +1 -0
  128. package/dist/post-components/{p-abd7eb91.js → p-1ccc3476.js} +2 -2
  129. package/dist/post-components/p-224cc6bf.entry.js +1 -0
  130. package/dist/post-components/{p-5f54b77f.js → p-285c7f4b.js} +1 -1
  131. package/dist/post-components/p-36ee4853.entry.js +1 -0
  132. package/dist/post-components/{p-ccbb51fe.js → p-3b0c4697.js} +1 -1
  133. package/dist/post-components/p-3f7762b1.js +1 -0
  134. package/dist/post-components/p-447cf5ab.entry.js +1 -0
  135. package/dist/post-components/{p-30f94eca.entry.js → p-46957e0d.entry.js} +1 -1
  136. package/dist/post-components/p-4b6b6f57.entry.js +1 -0
  137. package/dist/post-components/p-4e7b1927.js +1 -0
  138. package/dist/post-components/p-56578bfd.js +1 -0
  139. package/dist/post-components/{p-1038fc25.js → p-60e2d3bf.js} +1 -1
  140. package/dist/post-components/p-74e3b086.entry.js +1 -0
  141. package/dist/post-components/p-7bf29cae.js +1 -0
  142. package/dist/post-components/p-7c1d68a1.entry.js +1 -0
  143. package/dist/post-components/p-82eb16f8.entry.js +1 -0
  144. package/dist/post-components/p-87492954.entry.js +1 -0
  145. package/dist/post-components/p-88d28060.js +1 -0
  146. package/dist/post-components/p-8d2c6e1c.entry.js +1 -0
  147. package/dist/post-components/{p-ab4073be.js → p-94247970.js} +1 -1
  148. package/dist/post-components/p-9aa55ba9.entry.js +1 -0
  149. package/dist/post-components/p-9dafa454.entry.js +1 -0
  150. package/dist/post-components/p-ae1ae07c.entry.js +1 -0
  151. package/dist/post-components/{p-3aa766a6.js → p-b2647fe7.js} +1 -1
  152. package/dist/post-components/{p-49c5aa99.js → p-b4086258.js} +1 -1
  153. package/dist/post-components/{p-338a2507.js → p-b757e359.js} +1 -1
  154. package/dist/post-components/p-b9f75122.entry.js +1 -0
  155. package/dist/post-components/p-bff9bb68.entry.js +1 -0
  156. package/dist/post-components/{p-d3900385.entry.js → p-c7e7f338.entry.js} +1 -1
  157. package/dist/post-components/{p-32173742.js → p-c8f94dca.js} +1 -1
  158. package/dist/post-components/{p-b003b381.js → p-cb64e158.js} +1 -1
  159. package/dist/post-components/{p-c31b56ed.js → p-d29f88c3.js} +1 -1
  160. package/dist/post-components/{p-9aaf9f54.js → p-dcaee4d4.js} +1 -1
  161. package/dist/post-components/p-ef71eeb3.entry.js +1 -0
  162. package/dist/post-components/post-components.esm.js +1 -1
  163. package/dist/types/components/{post-breadcrumb/post-breadcrumb.d.ts → post-breadcrumbs/post-breadcrumbs.d.ts} +4 -4
  164. package/dist/types/components/post-menu/post-menu.d.ts +3 -3
  165. package/dist/types/components/post-popover/post-popover.d.ts +3 -3
  166. package/dist/types/components/post-tag/post-tag.d.ts +1 -1
  167. package/dist/types/components/post-tooltip/post-tooltip.d.ts +3 -3
  168. package/dist/types/components.d.ts +31 -31
  169. package/dist/types/index.d.ts +1 -1
  170. package/loaders/index.d.ts +2 -2
  171. package/loaders/index.js +1 -1
  172. package/loaders/package.js +1 -1
  173. package/loaders/post-avatar.js +1 -1
  174. package/loaders/post-banner.js +1 -1
  175. package/loaders/{post-breadcrumb.d.ts → post-breadcrumbs.d.ts} +4 -4
  176. package/loaders/{post-breadcrumb.js → post-breadcrumbs.js} +18 -18
  177. package/loaders/post-card-control.js +1 -1
  178. package/loaders/post-language-option.js +1 -1
  179. package/loaders/post-list.js +1 -1
  180. package/loaders/post-menu2.js +2 -2
  181. package/loaders/post-popover.js +2 -2
  182. package/loaders/post-rating.js +1 -1
  183. package/loaders/post-tab-header.js +1 -1
  184. package/loaders/post-tag.js +1 -1
  185. package/loaders/post-tooltip.js +1 -1
  186. package/package.json +18 -13
  187. package/dist/cjs/post-card-control-cbee7b86.js +0 -269
  188. package/dist/cjs/post-tag-370a2f4d.js +0 -47
  189. package/dist/collection/components/post-breadcrumb/post-breadcrumb.css +0 -3
  190. package/dist/components/post-breadcrumb.js +0 -6
  191. package/dist/esm/package-8986a24c.js +0 -3
  192. package/dist/esm/post-breadcrumb.entry.js +0 -5
  193. package/dist/esm/post-card-control-ad72d4f8.js +0 -267
  194. package/dist/esm/post-tag-8be0a71c.js +0 -45
  195. package/dist/post-components/p-31bb6dc5.entry.js +0 -1
  196. package/dist/post-components/p-36540dd6.entry.js +0 -1
  197. package/dist/post-components/p-3b0158b3.js +0 -1
  198. package/dist/post-components/p-40db8cd5.js +0 -1
  199. package/dist/post-components/p-44f13ce4.entry.js +0 -1
  200. package/dist/post-components/p-46a9324f.entry.js +0 -1
  201. package/dist/post-components/p-4cd4a936.entry.js +0 -1
  202. package/dist/post-components/p-548ef2f5.entry.js +0 -1
  203. package/dist/post-components/p-58f453dd.js +0 -1
  204. package/dist/post-components/p-60bfa4be.entry.js +0 -1
  205. package/dist/post-components/p-6ee81c5d.js +0 -1
  206. package/dist/post-components/p-6faad212.entry.js +0 -1
  207. package/dist/post-components/p-74a0b44c.entry.js +0 -1
  208. package/dist/post-components/p-78b4c699.js +0 -1
  209. package/dist/post-components/p-7aa0468b.entry.js +0 -1
  210. package/dist/post-components/p-7afc495e.entry.js +0 -1
  211. package/dist/post-components/p-96034ba4.entry.js +0 -1
  212. package/dist/post-components/p-afb8a487.entry.js +0 -1
  213. package/dist/post-components/p-b97dea1e.entry.js +0 -1
  214. package/dist/post-components/p-be37cf2a.js +0 -1
  215. package/dist/post-components/p-ef49153c.entry.js +0 -1
  216. package/dist/post-components/p-f27e5691.js +0 -1
  217. package/dist/post-components/p-f553019f.entry.js +0 -1
  218. package/dist/post-components/p-ffc1db17.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as t,h as a,H as e,g as i}from"./p-9e461613.js";import{v as g}from"./p-3f7762b1.js";const s=class{constructor(a){t(this,a),this.classes=void 0,this.variant=void 0,this.size=null,this.icon=null,this.setClasses=this.setClasses.bind(this)}variantChanged(){this.setClasses()}sizeChanged(){this.setClasses()}setClasses(){this.classes=["tag",this.size?`tag-${this.size}`:null,this.variant?`tag-${this.variant}`:null].filter((t=>null!==t)).join(" ")}connectedCallback(){this.setClasses()}render(){return a(e,{key:"4ca273166b81099dd8fc0f69d3d38215e3d7ccbc","data-version":g},a("div",{key:"b6c4eb6a3bf8cbaad18cf6277dab79bd6e350f0a",class:this.classes},this.icon?a("post-icon",{name:this.icon}):null,a("div",{key:"4f9e8cf6b2c723e31d60e30464c1106a9f72b5b4",class:"tag-text"},a("slot",{key:"819a4e6ff743386f8d5d6b1d94dea9ee4a612784"}))))}get host(){return i(this)}static get watchers(){return{variant:["variantChanged"],size:["sizeChanged"]}}};s.style=".tag,.tag:where(:has(:not(pre))){--post-tag-bg:hsl(0, 0%, 90%);--post-tag-fg:#000;display:inline-flex;align-items:center;gap:var(--post-core-dimension-4);padding:0 var(--post-core-dimension-8);max-width:100%;background-color:var(--post-tag-bg);border:var(--post-core-dimension-1) solid rgba(0,0,0,0);border-radius:var(--post-core-dimension-4);font-size:1rem;line-height:calc(var(--post-core-dimension-32) - var(--post-core-dimension-1)*2);white-space:nowrap;color:var(--post-tag-fg)}.tag post-icon,.tag:where(:has(:not(pre))) post-icon{flex:0 0 auto;width:1.25rem;height:1.25rem}.tag .tag-text,.tag:where(:has(:not(pre))) .tag-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tag .tag-text svg,.tag .tag-text img,.tag:where(:has(:not(pre))) .tag-text svg,.tag:where(:has(:not(pre))) .tag-text img{display:inline-block;height:1.25rem !important;vertical-align:text-top}.tag.tag-sm,.tag:where(:has(:not(pre))).tag-sm{line-height:var(--post-core-dimension-24)}.tag.tag-sm .tag-icon,.tag:where(:has(:not(pre))).tag-sm .tag-icon{width:1rem;height:1rem}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{--post-tag-bg:#fff;--post-tag-fg:#000}.tag.tag-yellow,.tag:where(:has(:not(pre))).tag-yellow{--post-tag-bg:#fc0;--post-tag-fg:#000}.tag.tag-success,.tag:where(:has(:not(pre))).tag-success{--post-tag-bg:#2c871d;--post-tag-fg:#fff}.tag.tag-warning,.tag:where(:has(:not(pre))).tag-warning{--post-tag-bg:#f49e00;--post-tag-fg:#000}.tag.tag-danger,.tag:where(:has(:not(pre))).tag-danger{--post-tag-bg:#a51728;--post-tag-fg:#fff}.tag.tag-info,.tag:where(:has(:not(pre))).tag-info{--post-tag-bg:#cce4ee;--post-tag-fg:#000}.tag.tag-white,.tag:where(:has(:not(pre))).tag-white{border-color:#000}pre .tag,pre .tag:where(:has(:not(pre))){display:inline;padding:initial;max-width:initial;background:initial;border:initial;border-radius:initial;font-size:inherit;line-height:inherit;white-space:unset}*,*:before,*:after{box-sizing:border-box}.tag-text ::slotted(svg),.tag-text ::slotted(img){display:inline-block !important;height:1.25rem !important;vertical-align:text-top !important}";export{s as P}
@@ -0,0 +1 @@
1
+ export{P as post_tabs}from"./p-60e2d3bf.js";import"./p-9e461613.js";import"./p-3f7762b1.js";import"./p-64e3de38.js";import"./p-722ffaae.js";
@@ -1 +1 @@
1
- import{r as o,h as e,H as t,g as i}from"./p-9e461613.js";import{v as a}from"./p-40db8cd5.js";import{H as c}from"./p-247a1668.js";import{c as r}from"./p-e585c6fe.js";import"./p-722ffaae.js";import{e as s}from"./p-0889c759.js";import{n as d}from"./p-5959f2bd.js";const n=class{constructor(e){o(this,e),this.id=void 0,this.slottedLogo=void 0,this.collapsed=!1,this.headingLevel=void 0}validateHeadingLevel(){r(this,"headingLevel",c,"The `heading-level` property of the `post-accordion-item` must be a number between 1 and 6.")}componentWillLoad(){this.id=this.host.id||`p${d(6)}`}componentDidLoad(){this.validateHeadingLevel()}onCollapseToggle(o){s(this.host,o,{targetLocalName:"post-collapsible",delegatorSelector:"post-accordion-item"},(()=>{this.collapsed=!o.detail}))}async toggle(o){return this.collapsible.toggle(o)}onSlotLogoChange(){this.slottedLogo=this.host.querySelector('img[slot="logo"]')}componentWillRender(){this.slottedLogo=this.host.querySelector('img[slot="logo"]')}render(){const o=this.host.closest("post-accordion")?.getAttribute("heading-level");return e(t,{key:"725d3710f7937f82c2382938d15770001e923b61",id:this.id,"data-version":a},e("div",{key:"679d25d8278fbf9ae68546ee50c27a86ded95999",part:"accordion-item",class:"accordion-item"},e("post-collapsible-trigger",{key:"7c2af8dc6a1f5265b4ae2cad066be7d2e0bf6a78",for:`${this.id}--collapse`},e(`h${o??this.headingLevel??2}`,{key:"a10e59a17fdb272fe6308d2ba98f37f90490fab8",class:"accordion-header",id:`${this.id}--header`},e("button",{key:"e2b527850c8342a8adf99453d0ac330b6a94760f",type:"button",class:"accordion-button"+(this.collapsed?" collapsed":""),part:"button"},e("span",{key:"b722a4bc51757546eefa58c7c3ea3a688838298a",class:{"logo-container":!0,"has-image":!!this.slottedLogo}},e("slot",{key:"1a42494db72a7b437b1d98fa2e8159d73ece22fa",name:"logo",onSlotchange:this.onSlotLogoChange.bind(this)})),e("slot",{key:"049865bb25f833780ef8e27fe8477e06476a2427",name:"header"}),e("post-icon",{key:"da0cf7078e4f51710dbfd39c0afa90465fcb53c6",name:"2051"})))),e("post-collapsible",{key:"7c3b268e34d3e4f52820b11a6c090aefbc16e3b9",id:`${this.id}--collapse`,collapsed:this.collapsed,ref:o=>this.collapsible=o},e("div",{key:"993a7fffbccb557aed2842305f3927e5c3b5047a",class:"accordion-body",part:"body"},e("slot",{key:"580eb87b1cb4f88acd7dddddecaa1c1982b7f6e3"})))))}get host(){return i(this)}static get watchers(){return{headingLevel:["validateHeadingLevel"]}}};n.style='.accordion-item::after{display:block;content:"";margin-block-start:calc(var(--post-device-border-width-default)*-1);border-block-end:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}.accordion-item:has(.accordion-button:hover)::after{border-color:var(--post-scheme-color-interactive-primary-hover-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-item:has(.accordion-button:hover)::after{border-color:Highlight}}.accordion-header{color:var(--post-scheme-color-interactive-primary-enabled-fg1);font-size:var(--post-device-font-size-5);margin:0;line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-black)}.accordion-button{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;display:flex;position:relative;width:100%;align-items:center;text-align:start;gap:var(--post-device-spacing-gap-7);padding:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default)) calc(var(--post-device-spacing-padding-5) + var(--post-device-border-width-default));cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button{background-color:ButtonFace !important}.accordion-button:hover{background-color:Highlight !important}}.accordion-button::before{display:block;position:absolute;content:"";inset:0;inset-block-end:auto;border-block-start:var(--post-accordion-button-border-top)}.accordion-button{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.accordion-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.accordion-button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.accordion-button slot::slotted(span[slot=header]){flex-grow:1}.accordion-button post-icon{flex:none;width:var(--post-core-dimension-24);aspect-ratio:1;transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.accordion-button.collapsed{padding-block-start:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default));padding-block-end:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default))}.accordion-button.collapsed post-icon{transform:rotate(-180deg)}.accordion-button:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}.accordion-button>::slotted(.text-truncate){display:block}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:hover,.accordion-button:focus-visible{color:Highlight}}.accordion-body{padding-block-start:var(--post-device-spacing-padding-15);padding-block-end:calc(var(--post-device-spacing-padding-block-25) + var(--post-device-border-width-default));padding-inline:var(--post-device-spacing-padding-5)}.logo-container{display:none;width:var(--post-device-sizing-logo-1);aspect-ratio:1}.logo-container.has-image{display:block}.logo-container slot::slotted(img){display:block;width:100%;height:100%;object-fit:cover}.accordion-button>::slotted(:first-child),.accordion-body>::slotted(:first-child){margin-block-start:0 !important}.accordion-button>::slotted(:last-child),.accordion-body>::slotted(:last-child){margin-block-end:0 !important}';export{n as P}
1
+ import{r as o,h as e,H as t,g as i}from"./p-9e461613.js";import{v as a}from"./p-3f7762b1.js";import{H as c}from"./p-247a1668.js";import{c as r}from"./p-e585c6fe.js";import"./p-722ffaae.js";import{e as s}from"./p-0889c759.js";import{n as d}from"./p-5959f2bd.js";const n=class{constructor(e){o(this,e),this.id=void 0,this.slottedLogo=void 0,this.collapsed=!1,this.headingLevel=void 0}validateHeadingLevel(){r(this,"headingLevel",c,"The `heading-level` property of the `post-accordion-item` must be a number between 1 and 6.")}componentWillLoad(){this.id=this.host.id||`p${d(6)}`}componentDidLoad(){this.validateHeadingLevel()}onCollapseToggle(o){s(this.host,o,{targetLocalName:"post-collapsible",delegatorSelector:"post-accordion-item"},(()=>{this.collapsed=!o.detail}))}async toggle(o){return this.collapsible.toggle(o)}onSlotLogoChange(){this.slottedLogo=this.host.querySelector('img[slot="logo"]')}componentWillRender(){this.slottedLogo=this.host.querySelector('img[slot="logo"]')}render(){const o=this.host.closest("post-accordion")?.getAttribute("heading-level");return e(t,{key:"725d3710f7937f82c2382938d15770001e923b61",id:this.id,"data-version":a},e("div",{key:"679d25d8278fbf9ae68546ee50c27a86ded95999",part:"accordion-item",class:"accordion-item"},e("post-collapsible-trigger",{key:"7c2af8dc6a1f5265b4ae2cad066be7d2e0bf6a78",for:`${this.id}--collapse`},e(`h${o??this.headingLevel??2}`,{key:"a10e59a17fdb272fe6308d2ba98f37f90490fab8",class:"accordion-header",id:`${this.id}--header`},e("button",{key:"e2b527850c8342a8adf99453d0ac330b6a94760f",type:"button",class:"accordion-button"+(this.collapsed?" collapsed":""),part:"button"},e("span",{key:"b722a4bc51757546eefa58c7c3ea3a688838298a",class:{"logo-container":!0,"has-image":!!this.slottedLogo}},e("slot",{key:"1a42494db72a7b437b1d98fa2e8159d73ece22fa",name:"logo",onSlotchange:this.onSlotLogoChange.bind(this)})),e("slot",{key:"049865bb25f833780ef8e27fe8477e06476a2427",name:"header"}),e("post-icon",{key:"da0cf7078e4f51710dbfd39c0afa90465fcb53c6",name:"2051"})))),e("post-collapsible",{key:"7c3b268e34d3e4f52820b11a6c090aefbc16e3b9",id:`${this.id}--collapse`,collapsed:this.collapsed,ref:o=>this.collapsible=o},e("div",{key:"993a7fffbccb557aed2842305f3927e5c3b5047a",class:"accordion-body",part:"body"},e("slot",{key:"580eb87b1cb4f88acd7dddddecaa1c1982b7f6e3"})))))}get host(){return i(this)}static get watchers(){return{headingLevel:["validateHeadingLevel"]}}};n.style='.accordion-item::after{display:block;content:"";margin-block-start:calc(var(--post-device-border-width-default)*-1);border-block-end:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}.accordion-item:has(.accordion-button:hover)::after{border-color:var(--post-scheme-color-interactive-primary-hover-stroke)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-item:has(.accordion-button:hover)::after{border-color:Highlight}}.accordion-header{color:var(--post-scheme-color-interactive-primary-enabled-fg1);font-size:var(--post-device-font-size-5);margin:0;line-height:var(--post-device-line-height-heading);font-weight:var(--post-device-font-weight-black)}.accordion-button{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;display:flex;position:relative;width:100%;align-items:center;text-align:start;gap:var(--post-device-spacing-gap-7);padding:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default)) calc(var(--post-device-spacing-padding-5) + var(--post-device-border-width-default));cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button{background-color:ButtonFace !important}.accordion-button:hover{background-color:Highlight !important}}.accordion-button::before{display:block;position:absolute;content:"";inset:0;inset-block-end:auto;border-block-start:var(--post-accordion-button-border-top)}.accordion-button{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.accordion-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.accordion-button:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:var(--post-device-border-radius-focus)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.accordion-button slot::slotted(span[slot=header]){flex-grow:1}.accordion-button post-icon{flex:none;width:var(--post-core-dimension-24);aspect-ratio:1;transition:transform 250ms cubic-bezier(0.4, 0, 0.2, 1)}.accordion-button.collapsed{padding-block-start:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default));padding-block-end:calc(var(--post-device-spacing-padding-19) + var(--post-device-border-width-default))}.accordion-button.collapsed post-icon{transform:rotate(-180deg)}.accordion-button:hover{color:var(--post-scheme-color-interactive-primary-hover-fg1)}.accordion-button>::slotted(.text-truncate){display:block}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.accordion-button:hover,.accordion-button:focus-visible{color:Highlight}}.accordion-body{padding-block-start:var(--post-device-spacing-padding-15);padding-block-end:calc(var(--post-device-spacing-padding-block-25) + var(--post-device-border-width-default));padding-inline:var(--post-device-spacing-padding-5)}.logo-container{display:none;width:var(--post-device-sizing-logo-1);aspect-ratio:1}.logo-container.has-image{display:block}.logo-container slot::slotted(img){display:block;width:100%;height:100%;object-fit:cover}.accordion-button>::slotted(:first-child),.accordion-body>::slotted(:first-child){margin-block-start:0 !important}.accordion-button>::slotted(:last-child),.accordion-body>::slotted(:last-child){margin-block-end:0 !important}';export{n as P}
@@ -0,0 +1 @@
1
+ export{P as post_linkarea}from"./p-b757e359.js";import"./p-9e461613.js";import"./p-3f7762b1.js";
@@ -0,0 +1 @@
1
+ export{P as post_tag}from"./p-88d28060.js";import"./p-9e461613.js";import"./p-3f7762b1.js";
@@ -0,0 +1 @@
1
+ export{P as post_breadcrumb_item,a as post_menu_item}from"./p-3b0c4697.js";import"./p-9e461613.js";import"./p-3f7762b1.js";import"./p-e585c6fe.js";import"./p-440193f4.js";import"./p-d45df336.js";import"./p-7709c14a.js";import"./p-85fdc2d3.js";import"./p-722ffaae.js";
@@ -1 +1 @@
1
- import{r as t,h as o,H as e,g as i}from"./p-9e461613.js";import{s,a}from"./p-9b052461.js";import{v as r}from"./p-40db8cd5.js";import{c}from"./p-7709c14a.js";import{c as n}from"./p-181c73d5.js";import"./p-722ffaae.js";const h=class{constructor(o){t(this,o),this.handleScroll=()=>{this.belowFold=this.isBelowFold()},this.label=void 0,this.belowFold=!1}isBelowFold(){return window.scrollY>window.innerHeight}watchBelowFold(t){t?s(this.host,this.translateY):a(this.host,this.translateY)}scrollToTop(){window.scrollTo({top:0,behavior:"smooth"})}getSecondPixelValue(t){for(const o of t){const t=o.match(/\b\d+px\b/g);if(t&&t.length>1)return t[1]}}animateButton(){const t=window.getComputedStyle(this.host).getPropertyValue("top"),o=this.host.shadowRoot.querySelector("button"),e=getComputedStyle(o).getPropertyValue("--post-back-to-top-elevation").split(","),i=this.getSecondPixelValue(e);this.translateY=String(-1-parseFloat(t.replace("px",""))-parseFloat(i.replace("px","")))+"px",this.belowFold&&s(this.host,this.translateY),this.belowFold||(this.host.style.transform=`translateY(${this.translateY})`)}validateLabel(){n(this,"label"),c(this,"label","string")}componentWillLoad(){this.belowFold=this.isBelowFold()}componentDidLoad(){window.addEventListener("scroll",this.handleScroll,!1),this.animateButton(),this.validateLabel()}disconnectedCallback(){window.removeEventListener("scroll",this.handleScroll)}render(){return o(e,{key:"c1ab6c5e7619ad829d64aea16c59a923310cf091","data-version":r},o("button",{key:"99e10e4d16c8d82521b001c3b3d902d8ba47ee92",class:"back-to-top","aria-hidden":this.belowFold?"false":"true",tabindex:this.belowFold?"0":"-1",onClick:this.scrollToTop},o("post-icon",{key:"5a6a1b472b45fcc466127ece7091617e4700ee16","aria-hidden":"true",name:"3026"}),o("span",{key:"c8502e4822347d48034f6a936203e3314c7ae91e",class:"visually-hidden"},this.label)))}get host(){return i(this)}static get watchers(){return{belowFold:["watchBelowFold"],label:["validateLabel"]}}};h.style=":host{--post-floating-button-position-top:var(--post-device-position-4);--post-back-to-top-position-top:calc( var(--post-header-height) + var(--post-floating-button-position-top) );--post-back-to-top-elevation:var(--post-device-elevation-300);position:fixed;inset-block-start:var(--post-back-to-top-position-top);inset-inline-end:var(--post-device-position-1)}:host .back-to-top{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;box-shadow:var(--post-back-to-top-elevation);cursor:pointer;border-radius:var(--post-device-border-radius-round);width:var(--post-device-sizing-interactive-button-height-2);height:var(--post-device-sizing-interactive-button-height-2);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-button-secondary-enabled-stroke);color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-secondary-enabled-bg);display:flex;align-items:center;justify-content:center}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top{background-color:ButtonFace !important}:host .back-to-top:hover{background-color:Highlight !important}}:host .back-to-top{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host .back-to-top:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host .back-to-top:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}:host .back-to-top:hover{border-color:var(--post-scheme-color-interactive-button-secondary-hover-stroke);color:var(--post-scheme-color-interactive-button-secondary-hover-fg);background-color:var(--post-scheme-color-interactive-button-secondary-hover-bg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:hover{color:HighlightText !important}}:host .back-to-top post-icon{height:var(--post-device-sizing-interactive-button-icon-3);width:var(--post-device-sizing-interactive-button-icon-3)}:host .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}";export{h as P}
1
+ import{r as t,h as o,H as e,g as i}from"./p-9e461613.js";import{s,a}from"./p-9b052461.js";import{v as r}from"./p-3f7762b1.js";import{c}from"./p-7709c14a.js";import{c as n}from"./p-181c73d5.js";import"./p-722ffaae.js";const h=class{constructor(o){t(this,o),this.handleScroll=()=>{this.belowFold=this.isBelowFold()},this.label=void 0,this.belowFold=!1}isBelowFold(){return window.scrollY>window.innerHeight}watchBelowFold(t){t?s(this.host,this.translateY):a(this.host,this.translateY)}scrollToTop(){window.scrollTo({top:0,behavior:"smooth"})}getSecondPixelValue(t){for(const o of t){const t=o.match(/\b\d+px\b/g);if(t&&t.length>1)return t[1]}}animateButton(){const t=window.getComputedStyle(this.host).getPropertyValue("top"),o=this.host.shadowRoot.querySelector("button"),e=getComputedStyle(o).getPropertyValue("--post-back-to-top-elevation").split(","),i=this.getSecondPixelValue(e);this.translateY=String(-1-parseFloat(t.replace("px",""))-parseFloat(i.replace("px","")))+"px",this.belowFold&&s(this.host,this.translateY),this.belowFold||(this.host.style.transform=`translateY(${this.translateY})`)}validateLabel(){n(this,"label"),c(this,"label","string")}componentWillLoad(){this.belowFold=this.isBelowFold()}componentDidLoad(){window.addEventListener("scroll",this.handleScroll,!1),this.animateButton(),this.validateLabel()}disconnectedCallback(){window.removeEventListener("scroll",this.handleScroll)}render(){return o(e,{key:"c1ab6c5e7619ad829d64aea16c59a923310cf091","data-version":r},o("button",{key:"99e10e4d16c8d82521b001c3b3d902d8ba47ee92",class:"back-to-top","aria-hidden":this.belowFold?"false":"true",tabindex:this.belowFold?"0":"-1",onClick:this.scrollToTop},o("post-icon",{key:"5a6a1b472b45fcc466127ece7091617e4700ee16","aria-hidden":"true",name:"3026"}),o("span",{key:"c8502e4822347d48034f6a936203e3314c7ae91e",class:"visually-hidden"},this.label)))}get host(){return i(this)}static get watchers(){return{belowFold:["watchBelowFold"],label:["validateLabel"]}}};h.style=":host{--post-floating-button-position-top:var(--post-device-position-4);--post-back-to-top-position-top:calc( var(--post-header-height) + var(--post-floating-button-position-top) );--post-back-to-top-elevation:var(--post-device-elevation-300);position:fixed;inset-block-start:var(--post-back-to-top-position-top);inset-inline-end:var(--post-device-position-1)}:host .back-to-top{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;box-shadow:var(--post-back-to-top-elevation);cursor:pointer;border-radius:var(--post-device-border-radius-round);width:var(--post-device-sizing-interactive-button-height-2);height:var(--post-device-sizing-interactive-button-height-2);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-button-secondary-enabled-stroke);color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);background-color:var(--post-scheme-color-interactive-button-secondary-enabled-bg);display:flex;align-items:center;justify-content:center}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top{background-color:ButtonFace !important}:host .back-to-top:hover{background-color:Highlight !important}}:host .back-to-top{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}:host .back-to-top:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){:host .back-to-top:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}:host .back-to-top:hover{border-color:var(--post-scheme-color-interactive-button-secondary-hover-stroke);color:var(--post-scheme-color-interactive-button-secondary-hover-fg);background-color:var(--post-scheme-color-interactive-button-secondary-hover-bg)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){:host .back-to-top:hover{color:HighlightText !important}}:host .back-to-top post-icon{height:var(--post-device-sizing-interactive-button-icon-3);width:var(--post-device-sizing-interactive-button-icon-3)}:host .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);border:0}";export{h as P}
@@ -1 +1 @@
1
- import{r as t,h as i,H as s,g as a}from"./p-9e461613.js";import{v as e}from"./p-40db8cd5.js";import{c as r}from"./p-181c73d5.js";import"./p-722ffaae.js";var o;!function(t){t.Slotted="slotted",t.Image="image",t.Initials="initials",t[t.Null=null]="Null"}(o||(o={}));const n=class{constructor(i){t(this,i),this.firstname=void 0,this.lastname=void 0,this.userid=void 0,this.email=void 0,this.slottedImage=void 0,this.avatarType=null,this.imageUrl="",this.imageAlt="",this.initials=""}validateFirstname(){r(this,"firstname")}async getAvatar(){if(null!==this.slottedImage)this.avatarType=o.Slotted;else{let t=!1;!t&&this.userid&&(t=await this.getImageByProp(this.userid,this.fetchImageByUserId.bind(this))),!t&&this.email&&(t=await this.getImageByProp(this.email,this.fetchImageByEmail.bind(this))),t||this.getAvatarByInitials()}}async getImageByProp(t,i){if(!t)return!1;const s=await this.getStorageItem(t)??{ok:!1,url:""};if(!s.ok)try{const t=await i();s.ok=t.ok,s.url=t.url,this.imageUrl=s.url,this.imageAlt=`${this.firstname} ${this.lastname} avatar`,this.avatarType=o.Image,this.setStorageItem(this.userid,JSON.stringify(s))}catch(i){this.removeStorageItem(t),console.info(`Loading avatar by type "${o.Image}" failed.`)}return s.ok}async fetchImageByUserId(){return await fetch(n.INTERNAL_USERID_IMAGE_SRC.replace("{userid}",encodeURIComponent(this.userid)))}async fetchImageByEmail(){const t=await this.cryptify(this.email),i="https://www.gravatar.com/avatar/{email}?s=80&d=404&r=g".replace("{email}",t);return await fetch(i)}getAvatarByInitials(){this.initials=this.getInitials(),this.avatarType=o.Initials}getNames(){return[this.firstname,this.lastname].filter((t=>t))}getInitials(){return this.getNames().map((t=>t.charAt(0))).join("").trim()}async getStorageItem(t){const i=await this.cryptify(t),s=window?.sessionStorage?.getItem(i);return s?JSON.parse(s):null}async setStorageItem(t,i){const s=await this.cryptify(t);window?.sessionStorage?.setItem(s,i)}async removeStorageItem(t){const i=await this.cryptify(t);window?.sessionStorage?.removeItem(i)}async cryptify(t){return await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t)).then((t=>Array.from(new Uint8Array(t)).map((t=>t.toString(16).padStart(2,"0"))).join("")))}onSlotDefaultChange(){this.slottedImage=this.host.querySelector("img"),this.getAvatar()}componentWillRender(){this.slottedImage=this.host.querySelector("img"),this.getAvatar()}componentDidLoad(){this.validateFirstname()}render(){const t=this.getNames().reduce(((t,s,a)=>(a>0&&t.push(i("span",null," ")),t.push(s.charAt(0)),t.push(i("span",null,s.slice(1))),t)),[]);return i(s,{"data-version":e},i("slot",{onSlotchange:this.onSlotDefaultChange.bind(this)},"image"===this.avatarType&&i("img",{src:this.imageUrl,alt:this.imageAlt}),"initials"===this.avatarType&&i("div",{class:"initials"},t)))}get host(){return a(this)}static get watchers(){return{firstname:["validateFirstname"]}}};n.INTERNAL_USERID_IMAGE_SRC="https://web.post.ch/UserProfileImage/{userid}.png",n.style='/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{--post-avatar-bg:var(--post-scheme-color-interactive-primary-enabled-bg2);--post-avatar-fg:var(--post-scheme-color-interactive-primary-enabled-fg3);display:inline-flex;position:relative;width:var(--post-device-sizing-interactive-icon-size3);height:var(--post-device-sizing-interactive-icon-size3);background-color:var(--post-scheme-color-interactive-primary-enabled-stroke3);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3);border-radius:var(--post-device-border-radius-round);font-size:var(--post-device-font-size-8);vertical-align:top;line-height:1}:host::after{display:block;content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}*,*::before,*::after{box-sizing:border-box}slot,img,::slotted(img){display:block;width:100%;height:100%}img,::slotted(img){border-radius:var(--post-device-border-radius-round)}::slotted(:not(img)){display:none !important}.initials{display:flex;justify-content:center;align-items:center;position:relative;z-index:2;width:100%;height:100%;background-color:var(--post-avatar-bg);border-radius:var(--post-device-border-radius-round);color:var(--post-avatar-fg);text-transform:uppercase}.initials span{width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}.initials span:not(caption){position:absolute !important}';export{n as P}
1
+ import{r as t,h as i,H as s,g as a}from"./p-9e461613.js";import{v as e}from"./p-3f7762b1.js";import{c as r}from"./p-181c73d5.js";import"./p-722ffaae.js";var o;!function(t){t.Slotted="slotted",t.Image="image",t.Initials="initials",t[t.Null=null]="Null"}(o||(o={}));const n=class{constructor(i){t(this,i),this.firstname=void 0,this.lastname=void 0,this.userid=void 0,this.email=void 0,this.slottedImage=void 0,this.avatarType=null,this.imageUrl="",this.imageAlt="",this.initials=""}validateFirstname(){r(this,"firstname")}async getAvatar(){if(null!==this.slottedImage)this.avatarType=o.Slotted;else{let t=!1;!t&&this.userid&&(t=await this.getImageByProp(this.userid,this.fetchImageByUserId.bind(this))),!t&&this.email&&(t=await this.getImageByProp(this.email,this.fetchImageByEmail.bind(this))),t||this.getAvatarByInitials()}}async getImageByProp(t,i){if(!t)return!1;const s=await this.getStorageItem(t)??{ok:!1,url:""};if(!s.ok)try{const t=await i();s.ok=t.ok,s.url=t.url,this.imageUrl=s.url,this.imageAlt=`${this.firstname} ${this.lastname} avatar`,this.avatarType=o.Image,this.setStorageItem(this.userid,JSON.stringify(s))}catch(i){this.removeStorageItem(t),console.info(`Loading avatar by type "${o.Image}" failed.`)}return s.ok}async fetchImageByUserId(){return await fetch(n.INTERNAL_USERID_IMAGE_SRC.replace("{userid}",encodeURIComponent(this.userid)))}async fetchImageByEmail(){const t=await this.cryptify(this.email),i="https://www.gravatar.com/avatar/{email}?s=80&d=404&r=g".replace("{email}",t);return await fetch(i)}getAvatarByInitials(){this.initials=this.getInitials(),this.avatarType=o.Initials}getNames(){return[this.firstname,this.lastname].filter((t=>t))}getInitials(){return this.getNames().map((t=>t.charAt(0))).join("").trim()}async getStorageItem(t){const i=await this.cryptify(t),s=window?.sessionStorage?.getItem(i);return s?JSON.parse(s):null}async setStorageItem(t,i){const s=await this.cryptify(t);window?.sessionStorage?.setItem(s,i)}async removeStorageItem(t){const i=await this.cryptify(t);window?.sessionStorage?.removeItem(i)}async cryptify(t){return await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t)).then((t=>Array.from(new Uint8Array(t)).map((t=>t.toString(16).padStart(2,"0"))).join("")))}onSlotDefaultChange(){this.slottedImage=this.host.querySelector("img"),this.getAvatar()}componentWillRender(){this.slottedImage=this.host.querySelector("img"),this.getAvatar()}componentDidLoad(){this.validateFirstname()}render(){const t=this.getNames().reduce(((t,s,a)=>(a>0&&t.push(i("span",null," ")),t.push(s.charAt(0)),t.push(i("span",null,s.slice(1))),t)),[]);return i(s,{"data-version":e},i("slot",{onSlotchange:this.onSlotDefaultChange.bind(this)},"image"===this.avatarType&&i("img",{src:this.imageUrl,alt:this.imageAlt}),"initials"===this.avatarType&&i("div",{class:"initials"},t)))}get host(){return a(this)}static get watchers(){return{firstname:["validateFirstname"]}}};n.INTERNAL_USERID_IMAGE_SRC="https://web.post.ch/UserProfileImage/{userid}.png",n.style=':host{--post-avatar-bg:var(--post-scheme-color-interactive-primary-enabled-bg2);--post-avatar-fg:var(--post-scheme-color-interactive-primary-enabled-fg3);display:inline-flex;position:relative;width:var(--post-device-sizing-interactive-icon-size3);height:var(--post-device-sizing-interactive-icon-size3);background-color:var(--post-scheme-color-interactive-primary-enabled-stroke3);border:var(--post-device-border-width-default) solid var(--post-scheme-color-interactive-primary-enabled-stroke3);border-radius:var(--post-device-border-radius-round);font-size:var(--post-device-font-size-8);vertical-align:top;line-height:1}:host::after{display:block;content:"";position:absolute;inset:0;z-index:1;border-radius:inherit}*,*::before,*::after{box-sizing:border-box}slot,img,::slotted(img){display:block;width:100%;height:100%}img,::slotted(img){border-radius:var(--post-device-border-radius-round)}::slotted(:not(img)){display:none !important}.initials{display:flex;justify-content:center;align-items:center;position:relative;z-index:2;width:100%;height:100%;background-color:var(--post-avatar-bg);border-radius:var(--post-device-border-radius-round);color:var(--post-avatar-fg);text-transform:uppercase}.initials span{width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}.initials span:not(caption){position:absolute !important}';export{n as P}
@@ -1 +1 @@
1
- import{r as e,h as t,H as s,g as a}from"./p-9e461613.js";import{v as r}from"./p-40db8cd5.js";const n=["a"].join(","),o=`:where(${n})`,i=class{constructor(t){e(this,t)}dispatchClick({ctrlKey:e,shiftKey:t,altKey:s,metaKey:a}){const r=this.host.querySelector(`[data-link]${o}`)??this.host.querySelector(o);if(!r)throw new Error(`The \`post-linkarea\` component must contain an interactive element. Possible elements are: ${n}.`);r.dispatchEvent(new MouseEvent("click",{ctrlKey:e,shiftKey:t,altKey:s,metaKey:a}))}render(){return t(s,{key:"56e4b032fa8976cc120bff5f1c36d55167e54e98","data-version":r,onClick:e=>this.dispatchClick(e),tabindex:"0"},t("slot",{key:"25568fab2a47d765757c00fbee4f2999c1da16d1"}))}get host(){return a(this)}};i.style=":host{display:contents;cursor:pointer}";export{i as P}
1
+ import{r as e,h as t,H as s,g as a}from"./p-9e461613.js";import{v as r}from"./p-3f7762b1.js";const n=["a"].join(","),o=`:where(${n})`,i=class{constructor(t){e(this,t)}dispatchClick({ctrlKey:e,shiftKey:t,altKey:s,metaKey:a}){const r=this.host.querySelector(`[data-link]${o}`)??this.host.querySelector(o);if(!r)throw new Error(`The \`post-linkarea\` component must contain an interactive element. Possible elements are: ${n}.`);r.dispatchEvent(new MouseEvent("click",{ctrlKey:e,shiftKey:t,altKey:s,metaKey:a}))}render(){return t(s,{key:"56e4b032fa8976cc120bff5f1c36d55167e54e98","data-version":r,onClick:e=>this.dispatchClick(e),tabindex:"0"},t("slot",{key:"25568fab2a47d765757c00fbee4f2999c1da16d1"}))}get host(){return a(this)}};i.style=":host{display:contents;cursor:pointer}";export{i as P}
@@ -0,0 +1 @@
1
+ export{P as post_tab_panel}from"./p-043cdd20.js";import"./p-9e461613.js";import"./p-3f7762b1.js";import"./p-5959f2bd.js";
@@ -0,0 +1 @@
1
+ export{P as post_tab_header}from"./p-d29f88c3.js";import"./p-9e461613.js";import"./p-3f7762b1.js";import"./p-181c73d5.js";import"./p-440193f4.js";import"./p-722ffaae.js";import"./p-5959f2bd.js";
@@ -1 +1 @@
1
- export{P as post_closebutton,a as post_header,b as post_icon,c as post_language_option,d as post_language_switch,e as post_list,f as post_list_item,g as post_logo,h as post_mainnavigation,i as post_megadropdown,j as post_megadropdown_trigger,k as post_menu,l as post_menu_trigger,m as post_popovercontainer,n as post_togglebutton}from"./p-3b0158b3.js";import"./p-9e461613.js";import"./p-40db8cd5.js";import"./p-9b052461.js";import"./p-0889c759.js";import"./p-722ffaae.js";import"./p-e585c6fe.js";import"./p-440193f4.js";import"./p-d45df336.js";import"./p-7709c14a.js";import"./p-85fdc2d3.js";import"./p-181c73d5.js";import"./p-5959f2bd.js";import"./p-6b31a76a.js";
1
+ export{P as post_closebutton,a as post_header,b as post_icon,c as post_language_option,d as post_language_switch,e as post_list,f as post_list_item,g as post_logo,h as post_mainnavigation,i as post_megadropdown,j as post_megadropdown_trigger,k as post_menu,l as post_menu_trigger,m as post_popovercontainer,n as post_togglebutton}from"./p-1c85ef44.js";import"./p-9e461613.js";import"./p-3f7762b1.js";import"./p-9b052461.js";import"./p-0889c759.js";import"./p-722ffaae.js";import"./p-e585c6fe.js";import"./p-440193f4.js";import"./p-d45df336.js";import"./p-7709c14a.js";import"./p-85fdc2d3.js";import"./p-181c73d5.js";import"./p-5959f2bd.js";import"./p-6b31a76a.js";
@@ -1 +1 @@
1
- import{r as t,c as s,h as i,H as e,g as o}from"./p-9e461613.js";import{v as a}from"./p-40db8cd5.js";import{I as r}from"./p-722ffaae.js";import{d as h}from"./p-e585c6fe.js";import{c}from"./p-7709c14a.js";import{c as l}from"./p-181c73d5.js";import{e as n}from"./p-0889c759.js";import{g as d}from"./p-6b31a76a.js";const p={height:"0",overflow:"hidden"},b={duration:350,easing:"ease",fill:"forwards"},g=class{constructor(i){t(this,i),this.postToggle=s(this,"postToggle",7),this.isLoaded=!1,this.isOpen=!0,this.collapsed=!1}collapsedChange(){h(this,"collapsed","boolean"),this.toggle(!this.collapsed)}componentDidLoad(){this.collapsedChange(),this.isLoaded=!0,this.updateTriggers()}async toggle(t=!this.isOpen){if(t===this.isOpen)return t;this.isOpen=t,this.collapsed=!t,this.isLoaded&&this.postToggle.emit(t);const s=t?(i=this.host).animate([p,{height:`${i.scrollHeight}px`,offset:1},{height:"auto",overflow:"visible"}],b):function(t){const s=r?window.getComputedStyle(t).height:`${t.scrollHeight}px`;return t.animate([{height:s},p],b)}(this.host);var i;return(!this.isLoaded||r&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)&&s.finish(),await s.finished,this.host.offsetParent&&s.commitStyles(),this.updateTriggers(),t}updateTriggers(){document.querySelectorAll(`post-collapsible-trigger[for="${this.host.id}"]`).forEach((t=>t.update()))}render(){return i(e,{key:"a678bc639dfd7686d8e1bd57ca0f09984a24ab61","data-version":a,tabindex:this.collapsed?-1:void 0},i("slot",{key:"e0b88ac152fa09314b4bc01c9abdb11480e2cb4d"}))}get host(){return o(this)}static get watchers(){return{collapsed:["collapsedChange"]}}};g.style=":host{display:block;position:relative;overflow:hidden}";const f=class{constructor(s){t(this,s),this.observer=new MutationObserver((()=>this.setTrigger())),this.for=void 0}validateAriaAttributes(){l(this,"for"),c(this,"for","string",'The post-collapsible-trigger "for" prop should be a id.')}connectedCallback(){this.root=d(this.host),this.root.addEventListener("postToggle",this.handlePostToggle),this.observer.observe(this.host,{childList:!0,subtree:!0})}componentDidLoad(){this.setTrigger(),this.trigger||console.warn("The post-collapsible-trigger must contain a button."),this.validateAriaAttributes()}disconnectedCallback(){this.observer.disconnect(),this.root.removeEventListener("postToggle",this.handlePostToggle)}async update(){this.updateAriaAttributes()}handlePostToggle(t){n(this.host,t,{targetLocalName:"post-collapsible"},(()=>{this.trigger&&this.trigger.setAttribute("aria-expanded",`${t.detail}`)}))}updateAriaAttributes(){if(!this.trigger)return;const t=this.trigger.getAttribute("aria-controls");t?.includes(this.for)||this.trigger.setAttribute("aria-controls",t?`${t} ${this.for}`:this.for);const s=this.collapsible?.collapsed;this.trigger.setAttribute("aria-expanded",`${void 0!==s?!s:void 0}`)}async toggleCollapsible(){await(this.collapsible?.toggle())}get collapsible(){const t=this.root.getElementById(this.for);return t&&"post-collapsible"===t.localName?t:null}setTrigger(){const t=this.host.querySelector("button");!t||this.trigger&&t.isEqualNode(this.trigger)||(this.trigger=t,this.trigger.addEventListener("click",(()=>this.toggleCollapsible())),this.updateAriaAttributes())}render(){return i(e,{key:"cd703fe34b8c82afc5956b58724d36b06054bc0b","data-version":a},i("slot",{key:"5abe4ba2b8922b941cc8aebbc7039e34e1853855"}))}get host(){return o(this)}static get watchers(){return{for:["validateAriaAttributes"]}}};export{g as P,f as a}
1
+ import{r as t,c as s,h as i,H as e,g as o}from"./p-9e461613.js";import{v as a}from"./p-3f7762b1.js";import{I as r}from"./p-722ffaae.js";import{d as h}from"./p-e585c6fe.js";import{c}from"./p-7709c14a.js";import{c as l}from"./p-181c73d5.js";import{e as n}from"./p-0889c759.js";import{g as d}from"./p-6b31a76a.js";const p={height:"0",overflow:"hidden"},b={duration:350,easing:"ease",fill:"forwards"},g=class{constructor(i){t(this,i),this.postToggle=s(this,"postToggle",7),this.isLoaded=!1,this.isOpen=!0,this.collapsed=!1}collapsedChange(){h(this,"collapsed","boolean"),this.toggle(!this.collapsed)}componentDidLoad(){this.collapsedChange(),this.isLoaded=!0,this.updateTriggers()}async toggle(t=!this.isOpen){if(t===this.isOpen)return t;this.isOpen=t,this.collapsed=!t,this.isLoaded&&this.postToggle.emit(t);const s=t?(i=this.host).animate([p,{height:`${i.scrollHeight}px`,offset:1},{height:"auto",overflow:"visible"}],b):function(t){const s=r?window.getComputedStyle(t).height:`${t.scrollHeight}px`;return t.animate([{height:s},p],b)}(this.host);var i;return(!this.isLoaded||r&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)&&s.finish(),await s.finished,this.host.offsetParent&&s.commitStyles(),this.updateTriggers(),t}updateTriggers(){document.querySelectorAll(`post-collapsible-trigger[for="${this.host.id}"]`).forEach((t=>t.update()))}render(){return i(e,{key:"a678bc639dfd7686d8e1bd57ca0f09984a24ab61","data-version":a,tabindex:this.collapsed?-1:void 0},i("slot",{key:"e0b88ac152fa09314b4bc01c9abdb11480e2cb4d"}))}get host(){return o(this)}static get watchers(){return{collapsed:["collapsedChange"]}}};g.style=":host{display:block;position:relative;overflow:hidden}";const f=class{constructor(s){t(this,s),this.observer=new MutationObserver((()=>this.setTrigger())),this.for=void 0}validateAriaAttributes(){l(this,"for"),c(this,"for","string",'The post-collapsible-trigger "for" prop should be a id.')}connectedCallback(){this.root=d(this.host),this.root.addEventListener("postToggle",this.handlePostToggle),this.observer.observe(this.host,{childList:!0,subtree:!0})}componentDidLoad(){this.setTrigger(),this.trigger||console.warn("The post-collapsible-trigger must contain a button."),this.validateAriaAttributes()}disconnectedCallback(){this.observer.disconnect(),this.root.removeEventListener("postToggle",this.handlePostToggle)}async update(){this.updateAriaAttributes()}handlePostToggle(t){n(this.host,t,{targetLocalName:"post-collapsible"},(()=>{this.trigger&&this.trigger.setAttribute("aria-expanded",`${t.detail}`)}))}updateAriaAttributes(){if(!this.trigger)return;const t=this.trigger.getAttribute("aria-controls");t?.includes(this.for)||this.trigger.setAttribute("aria-controls",t?`${t} ${this.for}`:this.for);const s=this.collapsible?.collapsed;this.trigger.setAttribute("aria-expanded",`${void 0!==s?!s:void 0}`)}async toggleCollapsible(){await(this.collapsible?.toggle())}get collapsible(){const t=this.root.getElementById(this.for);return t&&"post-collapsible"===t.localName?t:null}setTrigger(){const t=this.host.querySelector("button");!t||this.trigger&&t.isEqualNode(this.trigger)||(this.trigger=t,this.trigger.addEventListener("click",(()=>this.toggleCollapsible())),this.updateAriaAttributes())}render(){return i(e,{key:"cd703fe34b8c82afc5956b58724d36b06054bc0b","data-version":a},i("slot",{key:"5abe4ba2b8922b941cc8aebbc7039e34e1853855"}))}get host(){return o(this)}static get watchers(){return{for:["validateAriaAttributes"]}}};export{g as P,f as a}
@@ -1 +1 @@
1
- import{r as t,h as e,H as o,g as s}from"./p-9e461613.js";import{v as i}from"./p-40db8cd5.js";import{H as a}from"./p-247a1668.js";import{c as r}from"./p-d45df336.js";import"./p-722ffaae.js";import{e as c}from"./p-0889c759.js";const d=class{constructor(e){t(this,e),this.expandedItems=new Set,this.headingLevel=void 0,this.multiple=!1}validateHeadingLevel(t=this.headingLevel){t&&(r(this,"headingLevel",a,"The `heading-level` property of the `post-accordion` must be a number between 1 and 6."),this.accordionItems.forEach((e=>{e.setAttribute("heading-level",String(t))})))}componentWillLoad(){this.registerAccordionItems(),this.validateHeadingLevel()}collapseToggleHandler(t){c(this.host,t,{targetLocalName:"post-accordion-item",delegatorSelector:"post-accordion"},(()=>{const e=t.target,o=this.expandedItems.has(e);o?this.expandedItems.delete(e):this.expandedItems.add(e),this.multiple||o||Array.from(this.expandedItems.values()).filter((t=>t!==e)).forEach((t=>{t.toggle(!1)}))}))}async toggle(t){const e=this.accordionItems.find((e=>e.id===t));if(!e)throw new Error(`No post-accordion-item found with id #${t}.`);await e.toggle()}async expandAll(){this.multiple?await Promise.all(this.accordionItems.map((t=>t.toggle(!0)))):this.expandedItems.size||await this.accordionItems[0].toggle(!0)}async collapseAll(){await Promise.all(this.accordionItems.map((t=>t.toggle(!1))))}registerAccordionItems(){this.accordionItems=Array.from(this.host.querySelectorAll("post-accordion-item")),this.accordionItems.filter((t=>!t.collapsed||this.expandedItems.has(t))).forEach(((t,e)=>{this.multiple||0===e?this.expandedItems.add(t):t.setAttribute("collapsed","")}))}render(){return e(o,{key:"80e15cf7835f213cfee1ca7cf83cc2fd24bba3ff","data-version":i},e("div",{key:"1cf03d4960115b52394b5cb07cd2286747c728dd",class:"accordion"},e("slot",{key:"b94328a45a3cba6a8d3b418061036eb8af2cf027",onSlotchange:()=>this.registerAccordionItems()})))}get host(){return s(this)}static get watchers(){return{headingLevel:["validateHeadingLevel"]}}};d.style=":host{display:block}::slotted(post-accordion-item){display:block}::slotted(post-accordion-item:not(:only-of-type:first-of-type)){margin-block-start:calc(var(--post-device-border-width-default)*-1)}::slotted(post-accordion-item:not(:only-of-type):first-of-type){--post-accordion-button-border-top:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}";export{d as P}
1
+ import{r as t,h as e,H as o,g as s}from"./p-9e461613.js";import{v as i}from"./p-3f7762b1.js";import{H as a}from"./p-247a1668.js";import{c as r}from"./p-d45df336.js";import"./p-722ffaae.js";import{e as c}from"./p-0889c759.js";const d=class{constructor(e){t(this,e),this.expandedItems=new Set,this.headingLevel=void 0,this.multiple=!1}validateHeadingLevel(t=this.headingLevel){t&&(r(this,"headingLevel",a,"The `heading-level` property of the `post-accordion` must be a number between 1 and 6."),this.accordionItems.forEach((e=>{e.setAttribute("heading-level",String(t))})))}componentWillLoad(){this.registerAccordionItems(),this.validateHeadingLevel()}collapseToggleHandler(t){c(this.host,t,{targetLocalName:"post-accordion-item",delegatorSelector:"post-accordion"},(()=>{const e=t.target,o=this.expandedItems.has(e);o?this.expandedItems.delete(e):this.expandedItems.add(e),this.multiple||o||Array.from(this.expandedItems.values()).filter((t=>t!==e)).forEach((t=>{t.toggle(!1)}))}))}async toggle(t){const e=this.accordionItems.find((e=>e.id===t));if(!e)throw new Error(`No post-accordion-item found with id #${t}.`);await e.toggle()}async expandAll(){this.multiple?await Promise.all(this.accordionItems.map((t=>t.toggle(!0)))):this.expandedItems.size||await this.accordionItems[0].toggle(!0)}async collapseAll(){await Promise.all(this.accordionItems.map((t=>t.toggle(!1))))}registerAccordionItems(){this.accordionItems=Array.from(this.host.querySelectorAll("post-accordion-item")),this.accordionItems.filter((t=>!t.collapsed||this.expandedItems.has(t))).forEach(((t,e)=>{this.multiple||0===e?this.expandedItems.add(t):t.setAttribute("collapsed","")}))}render(){return e(o,{key:"80e15cf7835f213cfee1ca7cf83cc2fd24bba3ff","data-version":i},e("div",{key:"1cf03d4960115b52394b5cb07cd2286747c728dd",class:"accordion"},e("slot",{key:"b94328a45a3cba6a8d3b418061036eb8af2cf027",onSlotchange:()=>this.registerAccordionItems()})))}get host(){return s(this)}static get watchers(){return{headingLevel:["validateHeadingLevel"]}}};d.style=":host{display:block}::slotted(post-accordion-item){display:block}::slotted(post-accordion-item:not(:only-of-type:first-of-type)){margin-block-start:calc(var(--post-device-border-width-default)*-1)}::slotted(post-accordion-item:not(:only-of-type):first-of-type){--post-accordion-button-border-top:var(--post-device-border-width-default) var(--post-core-border-style-solid) var(--post-scheme-color-interactive-primary-enabled-stroke)}";export{d as P}
@@ -1 +1 @@
1
- import{r as o,h as t,H as r,g as e}from"./p-9e461613.js";import{v as a}from"./p-40db8cd5.js";import{c as i}from"./p-181c73d5.js";import"./p-722ffaae.js";import{n as c}from"./p-5959f2bd.js";const l=class{constructor(t){o(this,t),this.tabId=void 0,this.panel=void 0}validateFor(){i(this,"panel")}componentWillLoad(){this.tabId=`tab-${this.host.id||c(6)}`}render(){return t(r,{key:"5046c46fa27fd6586c694420abf197b227b56520",id:this.tabId,role:"tab","data-version":a,"aria-selected":"false",tabindex:"-1",class:"tab-title",slot:"tabs"},t("slot",{key:"78c2f660e4f2307ca95a63f4cfd90d08cc6942df"}))}get host(){return e(this)}static get watchers(){return{panel:["validateFor"]}}};l.style='.tab-title[role=tab]{display:inline-block;cursor:pointer;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:#000;text-decoration:none;background-color:rgba(0,0,0,0)}.tab-title[role=tab]:focus{background-color:unset;color:#000}.tab-title[role=tab]:hover{opacity:1;background-color:rgba(0,0,0,.6);color:#fff}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(0,0,0,.6);color:#fff;box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:"";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:#fff;color:#000;font-weight:700}.tab-title[role=tab].active::before{content:"";display:block;position:absolute;top:0;right:-1px;left:-1px;height:var(--post-core-dimension-4);background-color:#fc0}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:var(--post-core-dimension-2) solid Highlight;outline-offset:calc(var(--post-core-dimension-4)*-1)}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title{background-color:ButtonFace !important}.tab-title:hover{background-color:Highlight !important}}';export{l as P}
1
+ import{r as o,h as t,H as r,g as e}from"./p-9e461613.js";import{v as a}from"./p-3f7762b1.js";import{c as i}from"./p-181c73d5.js";import"./p-722ffaae.js";import{n as c}from"./p-5959f2bd.js";const l=class{constructor(t){o(this,t),this.tabId=void 0,this.panel=void 0}validateFor(){i(this,"panel")}componentWillLoad(){this.tabId=`tab-${this.host.id||c(6)}`}render(){return t(r,{key:"5046c46fa27fd6586c694420abf197b227b56520",id:this.tabId,role:"tab","data-version":a,"aria-selected":"false",tabindex:"-1",class:"tab-title",slot:"tabs"},t("slot",{key:"78c2f660e4f2307ca95a63f4cfd90d08cc6942df"}))}get host(){return e(this)}static get watchers(){return{panel:["validateFor"]}}};l.style='.tab-title[role=tab]{display:inline-block;cursor:pointer;position:relative;box-sizing:border-box;padding:1rem;transition:background-color 100ms;border-right:1px solid rgba(0,0,0,0);border-left:1px solid rgba(0,0,0,0);outline-color:currentColor;opacity:.7;color:#000;text-decoration:none;background-color:rgba(0,0,0,0)}.tab-title[role=tab]:focus{background-color:unset;color:#000}.tab-title[role=tab]:hover{opacity:1;background-color:rgba(0,0,0,.6);color:#fff}.tab-title[role=tab]:focus-visible{outline:rgba(0,0,0,0);opacity:1;background-color:rgba(0,0,0,.6);color:#fff;box-shadow:none}.tab-title[role=tab]:focus-visible::after{content:"";display:block;position:absolute;top:2px;right:1px;bottom:0;left:1px;box-shadow:0 0 0 1px #fff,0 0 0 2px #333}.tab-title[role=tab].active{z-index:1;border-right-color:#ccc;border-left-color:#ccc;opacity:1;background-color:#fff;color:#000;font-weight:700}.tab-title[role=tab].active::before{content:"";display:block;position:absolute;top:0;right:-1px;left:-1px;height:var(--post-core-dimension-4);background-color:#fc0}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title[role=tab]:hover{background-color:rgba(255,255,255,.2)}:where(.bg-dark,.bg-black,.bg-primary,.bg-secondary,.bg-success,.bg-error) .tab-title[role=tab]:focus-visible{background-color:rgba(255,255,255,.2)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title[role=tab]{opacity:1;border-left-color:Canvas;border-right-color:Canvas;color:LinkText}.tab-title[role=tab]:hover,.tab-title[role=tab]:focus,.tab-title[role=tab]:focus-within,.tab-title[role=tab]:focus-visible{outline:var(--post-core-dimension-2) solid Highlight;outline-offset:calc(var(--post-core-dimension-4)*-1)}.tab-title[role=tab].active{border-left-color:ButtonText;border-right-color:ButtonText;color:Highlight}.tab-title[role=tab].active::before{background-color:Highlight}}:host{display:block}.tab-title{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.tab-title{background-color:ButtonFace !important}.tab-title:hover{background-color:Highlight !important}}';export{l as P}
@@ -1 +1 @@
1
- import{r as o,c as n,h as e,H as t,g as r}from"./p-9e461613.js";import{v as a}from"./p-40db8cd5.js";import{f as i}from"./p-64e3de38.js";import{a as c,c as s}from"./p-e585c6fe.js";import"./p-722ffaae.js";import{n as l}from"./p-5959f2bd.js";import{c as b}from"./p-7709c14a.js";import{c as d}from"./p-181c73d5.js";const h=["neutral","success","warning","danger","info"],p=class{constructor(e){o(this,e),this.postDismissed=n(this,"postDismissed",7),this.bannerId=`p${l(6)}`,this.classes=void 0,this.hasActions=void 0,this.hasHeading=void 0,this.onDismissButtonClick=()=>this.dismiss(),this.dismissible=!1,this.dismissLabel=void 0,this.icon=void 0,this.type="neutral"}validateDismissible(){b(this,"dismissible","boolean"),setTimeout((()=>this.validateDismissLabel()))}validateDismissLabel(){this.dismissible&&d(this,"dismissLabel",'Dismissible post-banner\'s require a "dismiss-label" prop.')}validateIcon(){c(this,"icon",/\d{4}|none/,'The post-banner "icon" prop should be a 4-digit string.')}validateType(){s(this,"type",h)}componentDidLoad(){this.validateDismissible(),this.validateIcon(),this.validateType()}componentWillRender(){this.hasHeading=this.host.querySelectorAll("[slot=heading]").length>0,this.hasActions=this.host.querySelectorAll("[slot=actions]").length>0,this.classes="banner "+(this.type?"banner-"+this.type:""),this.dismissible&&(this.classes+=" banner-dismissible"),this.hasActions&&(this.classes+=" banner-action"),"none"===this.icon&&(this.classes+=" no-icon")}async dismiss(){const o=i(this.host);await o.finished,this.host.remove(),this.postDismissed.emit()}render(){const o=[this.hasHeading&&e("div",{key:`${this.bannerId}-heading`,class:"banner-heading"},e("slot",{key:"d4b29e3591f026b880c4b859a47bcbc3e3b11ced",name:"heading"})),e("slot",{key:`${this.bannerId}-message`})],n=[e("div",{key:`${this.bannerId}-content`,class:"banner-content"},o),e("div",{key:`${this.bannerId}-buttons`,class:"banner-buttons"},e("slot",{key:"2f1461a2374d736cb3b72641aa150bc611082f56",name:"actions"}))];return e(t,{key:"ec72012fa82e03b0dca2368025449e1942731c21","data-version":a},e("div",{key:"acae7ac34af951ca9176769ab4bcdc388d769931",role:"alert",class:this.classes,part:this.classes},this.dismissible&&e("button",{key:"23cc4d77c2825bc76cedcdc321b80b9b0f333e71",class:"btn-close",onClick:this.onDismissButtonClick},e("span",{key:"2f0753d49fc86f19df743f33a086c14b2a0686f7",class:"visually-hidden"},this.dismissLabel)),this.icon&&"none"!==this.icon&&e("post-icon",{key:`${this.bannerId}-icon`,name:this.icon}),this.hasActions?n:o))}get host(){return r(this)}static get watchers(){return{dismissible:["validateDismissible"],dismissLabel:["validateDismissLabel"],icon:["validateIcon"],type:["validateType"]}}};p.style=".banner,.alert{min-height:calc(var(--post-device-sizing-notification-icon-2) + (2 * var(--post-device-spacing-padding-10)));box-sizing:border-box;box-shadow:var(--post-device-elevation-100);border-radius:var(--post-device-border-radius-2);padding:var(--post-device-spacing-padding-10) var(--post-device-spacing-padding-10);padding-inline-start:calc(var(--post-device-spacing-padding-10) + var(--post-device-sizing-notification-icon-2) + var(--post-device-spacing-gap-inline-6));font-weight:var(--post-core-font-weight-400);border-style:var(--post-core-border-style-solid);border-width:var(--post-device-border-width-default);position:relative;color:var(--post-scheme-color-surface-default-fg);background-color:var(--post-scheme-color-signal-neutral);border-color:var(--post-scheme-color-signal-neutral-dark);color-scheme:var(--post-core-bg-scheme-light)}.banner:not(.no-icon)::before,.alert:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.986 15.73c-.503.16-1.03.27-1.586.27a5.24 5.24 0 0 1-4.43-2.448c-.73.382-1.547.62-2.427.62a5.257 5.257 0 0 1-5.257-5.258c0-.88.237-1.698.62-2.427a5.24 5.24 0 0 1-2.449-4.43c0-.714.145-1.393.403-2.014C16.574.028 16.29 0 16 0 7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16c0-.091-.012-.18-.014-.27M16 30.667c-8.087 0-14.667-6.58-14.667-14.667 0-7.806 6.13-14.207 13.828-14.643a6.54 6.54 0 0 0 2.116 5.56 6.3 6.3 0 0 0-.325 1.997 6.6 6.6 0 0 0 6.59 6.59c.677 0 1.346-.108 1.998-.324a6.54 6.54 0 0 0 5.067 2.15C29.933 24.796 23.639 30.667 16 30.667M11.352 14.17a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 1 1 1.334 1.334 1.336 1.336 0 0 1-1.334-1.334m13.981 8.496a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 0 1 2.667 0c0 .735-.598 1.333-1.333 1.333a1.335 1.335 0 0 1-1.334-1.333m-7.276-1.829a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.667a.667.667 0 1 1 .002-1.335.667.667 0 0 1-.002 1.335m7.772-6a2 2 0 1 0-4 0 2 2 0 0 0 4 0m-2 .666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M11.505 5.505a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M28.93 18.548a13.2 13.2 0 0 1-4.335 7.357.663.663 0 0 1-.94-.073.666.666 0 0 1 .073-.94 11.84 11.84 0 0 0 3.894-6.61.668.668 0 0 1 1.307.266m-6.668 8.212a.667.667 0 0 1-.295.896c-.837.423-1.722.757-2.63.99a.665.665 0 1 1-.33-1.292 11.7 11.7 0 0 0 2.359-.888.67.67 0 0 1 .896.294M4 15.921a.666.666 0 1 1-1.333 0 13.13 13.13 0 0 1 4.597-9.984.666.666 0 1 1 .867 1.013A11.8 11.8 0 0 0 4 15.92'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-signal-neutral-dark)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner:not(.no-icon)::before,.alert:not(.no-icon)::before{color:CanvasText}}.banner:has(>post-icon)::before,.alert:has(>post-icon)::before{content:none}.banner>post-icon,.alert>post-icon{background-color:var(--post-scheme-color-signal-neutral);color:var(--post-scheme-color-signal-neutral-dark)}.banner::before,.alert::before{content:\"\";display:block}.banner::before,.banner>post-icon,.alert::before,.alert>post-icon{position:absolute;height:var(--post-device-sizing-notification-icon-2);width:var(--post-device-sizing-notification-icon-2);left:var(--post-device-spacing-padding-10);top:var(--post-device-spacing-padding-10)}.banner.no-icon,.alert.no-icon{min-height:calc(2*var(--post-device-spacing-padding-10) + var(--post-core-dimension-24));padding-inline-start:var(--post-device-spacing-padding-10)}.banner.no-icon::before,.alert.no-icon::before{content:unset}.banner.no-icon>post-icon,.alert.no-icon>post-icon{display:none}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner,.alert{filter:none !important;border:2px solid CanvasText}}.banner:not(.banner-action):not(.alert-action),.alert:not(.banner-action):not(.alert-action){display:flex;flex-direction:column;justify-content:center;gap:var(--post-core-dimension-4)}.banner:not(.banner-action):not(.alert-action) a,.alert:not(.banner-action):not(.alert-action) a{font-weight:var(--post-core-font-weight-400)}.banner:not(.banner-action):not(.alert-action) hr,.alert:not(.banner-action):not(.alert-action) hr{margin-block:var(--post-core-dimension-8) var(--post-core-dimension-12) !important}.banner:not(.banner-action):not(.alert-action)>*,.alert:not(.banner-action):not(.alert-action)>*{margin:0}.banner-container{border:unset;background-color:rgba(0,0,0,0)}.banner-dismissible,.alert-dismissible{pointer-events:auto;position:relative}.banner-dismissible:not(.banner-action):not(.alert-action),.alert-dismissible:not(.banner-action):not(.alert-action){padding-inline-end:calc(var(--post-device-spacing-padding-10) + var(--post-device-spacing-gap-inline-6) + var(--post-core-dimension-24))}.banner-dismissible>.btn-close,.alert-dismissible>.btn-close{position:absolute;inset-block-start:1rem;inset-inline-end:var(--post-device-spacing-padding-10)}.banner-buttons,.alert-buttons{display:flex;align-items:center;justify-content:flex-start;flex-direction:row-reverse;margin-block-start:var(--post-device-spacing-padding-block-10);gap:var(--post-device-spacing-gap-1)}@media (max-width: 779.98px){.banner-buttons,.alert-buttons{flex-direction:column}}.banner-action>.banner-content,.banner-action>.alert-content,.alert-action>.banner-content,.alert-action>.alert-content{display:flex;flex-direction:column;justify-content:center;gap:var(--post-core-dimension-4)}.banner-action>.banner-content a,.banner-action>.alert-content a,.alert-action>.banner-content a,.alert-action>.alert-content a{font-weight:var(--post-core-font-weight-400)}.banner-action>.banner-content hr,.banner-action>.alert-content hr,.alert-action>.banner-content hr,.alert-action>.alert-content hr{margin-block:var(--post-core-dimension-8) var(--post-core-dimension-12) !important}.banner-action>.banner-content>*,.banner-action>.alert-content>*,.alert-action>.banner-content>*,.alert-action>.alert-content>*{margin:0}@media (max-width: 779.98px){.banner-action,.alert-action{flex-direction:column;align-items:stretch}.banner-action>.banner-content,.banner-action>.alert-content,.alert-action>.banner-content,.alert-action>.alert-content{padding-inline-start:var(--post-device-spacing-gap-inline-6)var(--post-device-sizing-notification-icon-2);padding-inline-end:var(--post-device-spacing-gap-inline-6)var(--post-core-dimension-24)}.banner-action.no-icon>.banner-content,.banner-action.no-icon>.alert-content,.alert-action.no-icon>.banner-content,.alert-action.no-icon>.alert-content{padding-inline-start:0}.banner-action>.banner-buttons,.banner-action>.alert-buttons,.alert-action>.banner-buttons,.alert-action>.alert-buttons{display:flex}.banner-action>.banner-buttons>.btn,.banner-action>.banner-buttons>::slotted(.btn),.banner-action>.alert-buttons>.btn,.banner-action>.alert-buttons>::slotted(.btn),.alert-action>.banner-buttons>.btn,.alert-action>.banner-buttons>::slotted(.btn),.alert-action>.alert-buttons>.btn,.alert-action>.alert-buttons>::slotted(.btn){flex:1 0 0;width:100%}.banner-action>.banner-buttons>.btn:first-child,.banner-action>.banner-buttons>::slotted(.btn:first-child),.banner-action>.alert-buttons>.btn:first-child,.banner-action>.alert-buttons>::slotted(.btn:first-child),.alert-action>.banner-buttons>.btn:first-child,.alert-action>.banner-buttons>::slotted(.btn:first-child),.alert-action>.alert-buttons>.btn:first-child,.alert-action>.alert-buttons>::slotted(.btn:first-child){margin-inline-start:0}}.banner-neutral,.alert-neutral{background-color:var(--post-scheme-color-signal-neutral);border-color:var(--post-scheme-color-signal-neutral-dark);color-scheme:var(--post-core-bg-scheme-light)}.banner-neutral:not(.no-icon)::before,.alert-neutral:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.986 15.73c-.503.16-1.03.27-1.586.27a5.24 5.24 0 0 1-4.43-2.448c-.73.382-1.547.62-2.427.62a5.257 5.257 0 0 1-5.257-5.258c0-.88.237-1.698.62-2.427a5.24 5.24 0 0 1-2.449-4.43c0-.714.145-1.393.403-2.014C16.574.028 16.29 0 16 0 7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16c0-.091-.012-.18-.014-.27M16 30.667c-8.087 0-14.667-6.58-14.667-14.667 0-7.806 6.13-14.207 13.828-14.643a6.54 6.54 0 0 0 2.116 5.56 6.3 6.3 0 0 0-.325 1.997 6.6 6.6 0 0 0 6.59 6.59c.677 0 1.346-.108 1.998-.324a6.54 6.54 0 0 0 5.067 2.15C29.933 24.796 23.639 30.667 16 30.667M11.352 14.17a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 1 1 1.334 1.334 1.336 1.336 0 0 1-1.334-1.334m13.981 8.496a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 0 1 2.667 0c0 .735-.598 1.333-1.333 1.333a1.335 1.335 0 0 1-1.334-1.333m-7.276-1.829a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.667a.667.667 0 1 1 .002-1.335.667.667 0 0 1-.002 1.335m7.772-6a2 2 0 1 0-4 0 2 2 0 0 0 4 0m-2 .666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M11.505 5.505a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M28.93 18.548a13.2 13.2 0 0 1-4.335 7.357.663.663 0 0 1-.94-.073.666.666 0 0 1 .073-.94 11.84 11.84 0 0 0 3.894-6.61.668.668 0 0 1 1.307.266m-6.668 8.212a.667.667 0 0 1-.295.896c-.837.423-1.722.757-2.63.99a.665.665 0 1 1-.33-1.292 11.7 11.7 0 0 0 2.359-.888.67.67 0 0 1 .896.294M4 15.921a.666.666 0 1 1-1.333 0 13.13 13.13 0 0 1 4.597-9.984.666.666 0 1 1 .867 1.013A11.8 11.8 0 0 0 4 15.92'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-signal-neutral-dark)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-neutral:not(.no-icon)::before,.alert-neutral:not(.no-icon)::before{color:CanvasText}}.banner-neutral:has(>post-icon)::before,.alert-neutral:has(>post-icon)::before{content:none}.banner-neutral>post-icon,.alert-neutral>post-icon{background-color:var(--post-scheme-color-signal-neutral);color:var(--post-scheme-color-signal-neutral-dark)}.banner-success,.alert-success{background-color:var(--post-scheme-color-interactive-notification-success-bg);border-color:var(--post-scheme-color-interactive-notification-success-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-success:not(.no-icon)::before,.alert-success:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12.667 24.533-7.6-7.6 1.867-1.867 5.733 5.733 12.4-12.4 1.867 1.867z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-success-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-success:not(.no-icon)::before,.alert-success:not(.no-icon)::before{color:CanvasText}}.banner-success:has(>post-icon)::before,.alert-success:has(>post-icon)::before{content:none}.banner-success>post-icon,.alert-success>post-icon{background-color:var(--post-scheme-color-interactive-notification-success-bg);color:var(--post-scheme-color-interactive-notification-success-icon)}.banner-warning,.alert-warning{background-color:var(--post-scheme-color-interactive-notification-warning-bg);border-color:var(--post-scheme-color-interactive-notification-warning-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-warning:not(.no-icon)::before,.alert-warning:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-warning-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-warning:not(.no-icon)::before,.alert-warning:not(.no-icon)::before{color:CanvasText}}.banner-warning:has(>post-icon)::before,.alert-warning:has(>post-icon)::before{content:none}.banner-warning>post-icon,.alert-warning>post-icon{background-color:var(--post-scheme-color-interactive-notification-warning-bg);color:var(--post-scheme-color-interactive-notification-warning-icon)}.banner-error,.alert-error{background-color:var(--post-scheme-color-interactive-notification-error-bg);border-color:var(--post-scheme-color-interactive-notification-error-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-error:not(.no-icon)::before,.alert-error:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-error-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-error:not(.no-icon)::before,.alert-error:not(.no-icon)::before{color:CanvasText}}.banner-error:has(>post-icon)::before,.alert-error:has(>post-icon)::before{content:none}.banner-error>post-icon,.alert-error>post-icon{background-color:var(--post-scheme-color-interactive-notification-error-bg);color:var(--post-scheme-color-interactive-notification-error-icon)}.banner-info,.alert-info{background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-info:not(.no-icon)::before,.alert-info:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.33 25.33v-16h-4.67V12h2v13.33h-2V28h6.67v-2.67zM14.67 4h2.67v2.67h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-info-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-info:not(.no-icon)::before,.alert-info:not(.no-icon)::before{color:CanvasText}}.banner-info:has(>post-icon)::before,.alert-info:has(>post-icon)::before{content:none}.banner-info>post-icon,.alert-info>post-icon{background-color:var(--post-scheme-color-interactive-notification-info-bg);color:var(--post-scheme-color-interactive-notification-info-icon)}.banner-danger,.alert-danger{background-color:var(--post-scheme-color-interactive-notification-error-bg);border-color:var(--post-scheme-color-interactive-notification-error-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-danger:not(.no-icon)::before,.alert-danger:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-error-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-danger:not(.no-icon)::before,.alert-danger:not(.no-icon)::before{color:CanvasText}}.banner-danger:has(>post-icon)::before,.alert-danger:has(>post-icon)::before{content:none}.banner-danger>post-icon,.alert-danger>post-icon{background-color:var(--post-scheme-color-interactive-notification-error-bg);color:var(--post-scheme-color-interactive-notification-error-icon)}.btn-close{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;border-radius:var(--post-device-border-radius-round);color:#000;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{background-color:ButtonFace !important}.btn-close:hover{background-color:Highlight !important}}.btn-close{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.btn-close::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;content:\"\";display:block;height:var(--post-core-dimension-24);width:var(--post-core-dimension-24)}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:#000}.btn-close:disabled{color:#999}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{color:CanvasText;forced-color-adjust:none}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:Highlight}}.btn-close-white{color:#e6e6e6}.btn-close-white:focus,.btn-close-white:not(:disabled):hover,.btn-close-white.pretend-hover{color:#fff}.btn-close-white:disabled{color:#999}/*!\n * Copyright 2021 by Swiss Post, Information Technology\n */:host{display:block}:host ::slotted(*){margin:0 !important}.visually-hidden{width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}.visually-hidden:not(caption){position:absolute !important}";export{p as P}
1
+ import{r as o,c as n,h as e,H as t,g as r}from"./p-9e461613.js";import{v as a}from"./p-3f7762b1.js";import{f as i}from"./p-64e3de38.js";import{a as c,c as s}from"./p-e585c6fe.js";import"./p-722ffaae.js";import{n as l}from"./p-5959f2bd.js";import{c as b}from"./p-7709c14a.js";import{c as d}from"./p-181c73d5.js";const h=["neutral","success","warning","danger","info"],p=class{constructor(e){o(this,e),this.postDismissed=n(this,"postDismissed",7),this.bannerId=`p${l(6)}`,this.classes=void 0,this.hasActions=void 0,this.hasHeading=void 0,this.onDismissButtonClick=()=>this.dismiss(),this.dismissible=!1,this.dismissLabel=void 0,this.icon=void 0,this.type="neutral"}validateDismissible(){b(this,"dismissible","boolean"),setTimeout((()=>this.validateDismissLabel()))}validateDismissLabel(){this.dismissible&&d(this,"dismissLabel",'Dismissible post-banner\'s require a "dismiss-label" prop.')}validateIcon(){c(this,"icon",/\d{4}|none/,'The post-banner "icon" prop should be a 4-digit string.')}validateType(){s(this,"type",h)}componentDidLoad(){this.validateDismissible(),this.validateIcon(),this.validateType()}componentWillRender(){this.hasHeading=this.host.querySelectorAll("[slot=heading]").length>0,this.hasActions=this.host.querySelectorAll("[slot=actions]").length>0,this.classes="banner "+(this.type?"banner-"+this.type:""),this.dismissible&&(this.classes+=" banner-dismissible"),this.hasActions&&(this.classes+=" banner-action"),"none"===this.icon&&(this.classes+=" no-icon")}async dismiss(){const o=i(this.host);await o.finished,this.host.remove(),this.postDismissed.emit()}render(){const o=[this.hasHeading&&e("div",{key:`${this.bannerId}-heading`,class:"banner-heading"},e("slot",{key:"d4b29e3591f026b880c4b859a47bcbc3e3b11ced",name:"heading"})),e("slot",{key:`${this.bannerId}-message`})],n=[e("div",{key:`${this.bannerId}-content`,class:"banner-content"},o),e("div",{key:`${this.bannerId}-buttons`,class:"banner-buttons"},e("slot",{key:"2f1461a2374d736cb3b72641aa150bc611082f56",name:"actions"}))];return e(t,{key:"ec72012fa82e03b0dca2368025449e1942731c21","data-version":a},e("div",{key:"acae7ac34af951ca9176769ab4bcdc388d769931",role:"alert",class:this.classes,part:this.classes},this.dismissible&&e("button",{key:"23cc4d77c2825bc76cedcdc321b80b9b0f333e71",class:"btn-close",onClick:this.onDismissButtonClick},e("span",{key:"2f0753d49fc86f19df743f33a086c14b2a0686f7",class:"visually-hidden"},this.dismissLabel)),this.icon&&"none"!==this.icon&&e("post-icon",{key:`${this.bannerId}-icon`,name:this.icon}),this.hasActions?n:o))}get host(){return r(this)}static get watchers(){return{dismissible:["validateDismissible"],dismissLabel:["validateDismissLabel"],icon:["validateIcon"],type:["validateType"]}}};p.style=".banner,.alert{min-height:calc(var(--post-device-sizing-notification-icon-2) + (2 * var(--post-device-spacing-padding-10)));box-sizing:border-box;box-shadow:var(--post-device-elevation-100);border-radius:var(--post-device-border-radius-2);padding:var(--post-device-spacing-padding-10) var(--post-device-spacing-padding-10);padding-inline-start:calc(var(--post-device-spacing-padding-10) + var(--post-device-sizing-notification-icon-2) + var(--post-device-spacing-gap-inline-6));font-weight:var(--post-core-font-weight-400);border-style:var(--post-core-border-style-solid);border-width:var(--post-device-border-width-default);position:relative;color:var(--post-scheme-color-surface-default-fg);background-color:var(--post-scheme-color-signal-neutral);border-color:var(--post-scheme-color-signal-neutral-dark);color-scheme:var(--post-core-bg-scheme-light)}.banner:not(.no-icon)::before,.alert:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.986 15.73c-.503.16-1.03.27-1.586.27a5.24 5.24 0 0 1-4.43-2.448c-.73.382-1.547.62-2.427.62a5.257 5.257 0 0 1-5.257-5.258c0-.88.237-1.698.62-2.427a5.24 5.24 0 0 1-2.449-4.43c0-.714.145-1.393.403-2.014C16.574.028 16.29 0 16 0 7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16c0-.091-.012-.18-.014-.27M16 30.667c-8.087 0-14.667-6.58-14.667-14.667 0-7.806 6.13-14.207 13.828-14.643a6.54 6.54 0 0 0 2.116 5.56 6.3 6.3 0 0 0-.325 1.997 6.6 6.6 0 0 0 6.59 6.59c.677 0 1.346-.108 1.998-.324a6.54 6.54 0 0 0 5.067 2.15C29.933 24.796 23.639 30.667 16 30.667M11.352 14.17a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 1 1 1.334 1.334 1.336 1.336 0 0 1-1.334-1.334m13.981 8.496a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 0 1 2.667 0c0 .735-.598 1.333-1.333 1.333a1.335 1.335 0 0 1-1.334-1.333m-7.276-1.829a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.667a.667.667 0 1 1 .002-1.335.667.667 0 0 1-.002 1.335m7.772-6a2 2 0 1 0-4 0 2 2 0 0 0 4 0m-2 .666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M11.505 5.505a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M28.93 18.548a13.2 13.2 0 0 1-4.335 7.357.663.663 0 0 1-.94-.073.666.666 0 0 1 .073-.94 11.84 11.84 0 0 0 3.894-6.61.668.668 0 0 1 1.307.266m-6.668 8.212a.667.667 0 0 1-.295.896c-.837.423-1.722.757-2.63.99a.665.665 0 1 1-.33-1.292 11.7 11.7 0 0 0 2.359-.888.67.67 0 0 1 .896.294M4 15.921a.666.666 0 1 1-1.333 0 13.13 13.13 0 0 1 4.597-9.984.666.666 0 1 1 .867 1.013A11.8 11.8 0 0 0 4 15.92'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-signal-neutral-dark)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner:not(.no-icon)::before,.alert:not(.no-icon)::before{color:CanvasText}}.banner:has(>post-icon)::before,.alert:has(>post-icon)::before{content:none}.banner>post-icon,.alert>post-icon{background-color:var(--post-scheme-color-signal-neutral);color:var(--post-scheme-color-signal-neutral-dark)}.banner::before,.alert::before{content:\"\";display:block}.banner::before,.banner>post-icon,.alert::before,.alert>post-icon{position:absolute;height:var(--post-device-sizing-notification-icon-2);width:var(--post-device-sizing-notification-icon-2);left:var(--post-device-spacing-padding-10);top:var(--post-device-spacing-padding-10)}.banner.no-icon,.alert.no-icon{min-height:calc(2*var(--post-device-spacing-padding-10) + var(--post-core-dimension-24));padding-inline-start:var(--post-device-spacing-padding-10)}.banner.no-icon::before,.alert.no-icon::before{content:unset}.banner.no-icon>post-icon,.alert.no-icon>post-icon{display:none}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner,.alert{filter:none !important;border:2px solid CanvasText}}.banner:not(.banner-action):not(.alert-action),.alert:not(.banner-action):not(.alert-action){display:flex;flex-direction:column;justify-content:center;gap:var(--post-core-dimension-4)}.banner:not(.banner-action):not(.alert-action) a,.alert:not(.banner-action):not(.alert-action) a{font-weight:var(--post-core-font-weight-400)}.banner:not(.banner-action):not(.alert-action) hr,.alert:not(.banner-action):not(.alert-action) hr{margin-block:var(--post-core-dimension-8) var(--post-core-dimension-12) !important}.banner:not(.banner-action):not(.alert-action)>*,.alert:not(.banner-action):not(.alert-action)>*{margin:0}.banner-container{border:unset;background-color:rgba(0,0,0,0)}.banner-dismissible,.alert-dismissible{pointer-events:auto;position:relative}.banner-dismissible:not(.banner-action):not(.alert-action),.alert-dismissible:not(.banner-action):not(.alert-action){padding-inline-end:calc(var(--post-device-spacing-padding-10) + var(--post-device-spacing-gap-inline-6) + var(--post-core-dimension-24))}.banner-dismissible>.btn-close,.alert-dismissible>.btn-close{position:absolute;inset-block-start:1rem;inset-inline-end:var(--post-device-spacing-padding-10)}.banner-buttons,.alert-buttons{display:flex;align-items:center;justify-content:flex-start;flex-direction:row-reverse;margin-block-start:var(--post-device-spacing-padding-block-10);gap:var(--post-device-spacing-gap-1)}@media (max-width: 779.98px){.banner-buttons,.alert-buttons{flex-direction:column}}.banner-action>.banner-content,.banner-action>.alert-content,.alert-action>.banner-content,.alert-action>.alert-content{display:flex;flex-direction:column;justify-content:center;gap:var(--post-core-dimension-4)}.banner-action>.banner-content a,.banner-action>.alert-content a,.alert-action>.banner-content a,.alert-action>.alert-content a{font-weight:var(--post-core-font-weight-400)}.banner-action>.banner-content hr,.banner-action>.alert-content hr,.alert-action>.banner-content hr,.alert-action>.alert-content hr{margin-block:var(--post-core-dimension-8) var(--post-core-dimension-12) !important}.banner-action>.banner-content>*,.banner-action>.alert-content>*,.alert-action>.banner-content>*,.alert-action>.alert-content>*{margin:0}@media (max-width: 779.98px){.banner-action,.alert-action{flex-direction:column;align-items:stretch}.banner-action>.banner-content,.banner-action>.alert-content,.alert-action>.banner-content,.alert-action>.alert-content{padding-inline-start:var(--post-device-spacing-gap-inline-6)var(--post-device-sizing-notification-icon-2);padding-inline-end:var(--post-device-spacing-gap-inline-6)var(--post-core-dimension-24)}.banner-action.no-icon>.banner-content,.banner-action.no-icon>.alert-content,.alert-action.no-icon>.banner-content,.alert-action.no-icon>.alert-content{padding-inline-start:0}.banner-action>.banner-buttons,.banner-action>.alert-buttons,.alert-action>.banner-buttons,.alert-action>.alert-buttons{display:flex}.banner-action>.banner-buttons>.btn,.banner-action>.banner-buttons>::slotted(.btn),.banner-action>.alert-buttons>.btn,.banner-action>.alert-buttons>::slotted(.btn),.alert-action>.banner-buttons>.btn,.alert-action>.banner-buttons>::slotted(.btn),.alert-action>.alert-buttons>.btn,.alert-action>.alert-buttons>::slotted(.btn){flex:1 0 0;width:100%}.banner-action>.banner-buttons>.btn:first-child,.banner-action>.banner-buttons>::slotted(.btn:first-child),.banner-action>.alert-buttons>.btn:first-child,.banner-action>.alert-buttons>::slotted(.btn:first-child),.alert-action>.banner-buttons>.btn:first-child,.alert-action>.banner-buttons>::slotted(.btn:first-child),.alert-action>.alert-buttons>.btn:first-child,.alert-action>.alert-buttons>::slotted(.btn:first-child){margin-inline-start:0}}.banner-neutral,.alert-neutral{background-color:var(--post-scheme-color-signal-neutral);border-color:var(--post-scheme-color-signal-neutral-dark);color-scheme:var(--post-core-bg-scheme-light)}.banner-neutral:not(.no-icon)::before,.alert-neutral:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M31.986 15.73c-.503.16-1.03.27-1.586.27a5.24 5.24 0 0 1-4.43-2.448c-.73.382-1.547.62-2.427.62a5.257 5.257 0 0 1-5.257-5.258c0-.88.237-1.698.62-2.427a5.24 5.24 0 0 1-2.449-4.43c0-.714.145-1.393.403-2.014C16.574.028 16.29 0 16 0 7.163 0 0 7.163 0 16s7.163 16 16 16 16-7.163 16-16c0-.091-.012-.18-.014-.27M16 30.667c-8.087 0-14.667-6.58-14.667-14.667 0-7.806 6.13-14.207 13.828-14.643a6.54 6.54 0 0 0 2.116 5.56 6.3 6.3 0 0 0-.325 1.997 6.6 6.6 0 0 0 6.59 6.59c.677 0 1.346-.108 1.998-.324a6.54 6.54 0 0 0 5.067 2.15C29.933 24.796 23.639 30.667 16 30.667M11.352 14.17a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 1 1 1.334 1.334 1.336 1.336 0 0 1-1.334-1.334m13.981 8.496a2.667 2.667 0 1 0-5.333 0 2.667 2.667 0 0 0 5.333 0m-4 0a1.335 1.335 0 0 1 2.667 0c0 .735-.598 1.333-1.333 1.333a1.335 1.335 0 0 1-1.334-1.333m-7.276-1.829a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.667a.667.667 0 1 1 .002-1.335.667.667 0 0 1-.002 1.335m7.772-6a2 2 0 1 0-4 0 2 2 0 0 0 4 0m-2 .666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M11.505 5.505a2 2 0 1 0 0 4 2 2 0 0 0 0-4m0 2.666a.667.667 0 1 1 .001-1.334.667.667 0 0 1-.001 1.334M28.93 18.548a13.2 13.2 0 0 1-4.335 7.357.663.663 0 0 1-.94-.073.666.666 0 0 1 .073-.94 11.84 11.84 0 0 0 3.894-6.61.668.668 0 0 1 1.307.266m-6.668 8.212a.667.667 0 0 1-.295.896c-.837.423-1.722.757-2.63.99a.665.665 0 1 1-.33-1.292 11.7 11.7 0 0 0 2.359-.888.67.67 0 0 1 .896.294M4 15.921a.666.666 0 1 1-1.333 0 13.13 13.13 0 0 1 4.597-9.984.666.666 0 1 1 .867 1.013A11.8 11.8 0 0 0 4 15.92'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-signal-neutral-dark)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-neutral:not(.no-icon)::before,.alert-neutral:not(.no-icon)::before{color:CanvasText}}.banner-neutral:has(>post-icon)::before,.alert-neutral:has(>post-icon)::before{content:none}.banner-neutral>post-icon,.alert-neutral>post-icon{background-color:var(--post-scheme-color-signal-neutral);color:var(--post-scheme-color-signal-neutral-dark)}.banner-success,.alert-success{background-color:var(--post-scheme-color-interactive-notification-success-bg);border-color:var(--post-scheme-color-interactive-notification-success-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-success:not(.no-icon)::before,.alert-success:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12.667 24.533-7.6-7.6 1.867-1.867 5.733 5.733 12.4-12.4 1.867 1.867z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-success-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-success:not(.no-icon)::before,.alert-success:not(.no-icon)::before{color:CanvasText}}.banner-success:has(>post-icon)::before,.alert-success:has(>post-icon)::before{content:none}.banner-success>post-icon,.alert-success>post-icon{background-color:var(--post-scheme-color-interactive-notification-success-bg);color:var(--post-scheme-color-interactive-notification-success-icon)}.banner-warning,.alert-warning{background-color:var(--post-scheme-color-interactive-notification-warning-bg);border-color:var(--post-scheme-color-interactive-notification-warning-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-warning:not(.no-icon)::before,.alert-warning:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-warning-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-warning:not(.no-icon)::before,.alert-warning:not(.no-icon)::before{color:CanvasText}}.banner-warning:has(>post-icon)::before,.alert-warning:has(>post-icon)::before{content:none}.banner-warning>post-icon,.alert-warning>post-icon{background-color:var(--post-scheme-color-interactive-notification-warning-bg);color:var(--post-scheme-color-interactive-notification-warning-icon)}.banner-error,.alert-error{background-color:var(--post-scheme-color-interactive-notification-error-bg);border-color:var(--post-scheme-color-interactive-notification-error-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-error:not(.no-icon)::before,.alert-error:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-error-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-error:not(.no-icon)::before,.alert-error:not(.no-icon)::before{color:CanvasText}}.banner-error:has(>post-icon)::before,.alert-error:has(>post-icon)::before{content:none}.banner-error>post-icon,.alert-error>post-icon{background-color:var(--post-scheme-color-interactive-notification-error-bg);color:var(--post-scheme-color-interactive-notification-error-icon)}.banner-info,.alert-info{background-color:var(--post-scheme-color-interactive-notification-info-bg);border-color:var(--post-scheme-color-interactive-notification-info-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-info:not(.no-icon)::before,.alert-info:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.33 25.33v-16h-4.67V12h2v13.33h-2V28h6.67v-2.67zM14.67 4h2.67v2.67h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-info-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-info:not(.no-icon)::before,.alert-info:not(.no-icon)::before{color:CanvasText}}.banner-info:has(>post-icon)::before,.alert-info:has(>post-icon)::before{content:none}.banner-info>post-icon,.alert-info>post-icon{background-color:var(--post-scheme-color-interactive-notification-info-bg);color:var(--post-scheme-color-interactive-notification-info-icon)}.banner-danger,.alert-danger{background-color:var(--post-scheme-color-interactive-notification-error-bg);border-color:var(--post-scheme-color-interactive-notification-error-stroke);color-scheme:var(--post-core-bg-scheme-light)}.banner-danger:not(.no-icon)::before,.alert-danger:not(.no-icon)::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.67 4h2.67v18.67h-2.67zm0 21.33h2.67V28h-2.67z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;color:var(--post-scheme-color-interactive-notification-error-icon)}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.banner-danger:not(.no-icon)::before,.alert-danger:not(.no-icon)::before{color:CanvasText}}.banner-danger:has(>post-icon)::before,.alert-danger:has(>post-icon)::before{content:none}.banner-danger>post-icon,.alert-danger>post-icon{background-color:var(--post-scheme-color-interactive-notification-error-bg);color:var(--post-scheme-color-interactive-notification-error-icon)}.btn-close{padding:0;overflow:visible;border:0;background:none;color:var(--post-scheme-color-interactive-button-secondary-enabled-fg);font:inherit;-webkit-user-select:none;user-select:none;appearance:button;border-radius:var(--post-device-border-radius-round);color:#000;transition:opacity 250ms,border-color 250ms,background-color 250ms,color 250ms;cursor:pointer}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{background-color:ButtonFace !important}.btn-close:hover{background-color:Highlight !important}}.btn-close{outline-offset:var(--post-device-spacing-padding-2) !important;outline:var(--post-scheme-color-interactive-focus-stroke) none var(--post-device-border-width-focus) !important}.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:has(:focus-visible),.pretend-focus){outline-color:Highlight !important}}@supports not selector(:has(:focus-visible)){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-style:var(--post-core-border-style-solid) !important;border-radius:4px}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close:is(:focus-visible,:focus-within,.pretend-focus){outline-color:Highlight !important}}}.btn-close::before{mask-image:url(\"data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m16.267 16.667 6.667-6.533-.933-1.067-6.667 6.667-6.667-6.667-.933 1.067 6.667 6.533-6.667 6.667 1.067.933 6.533-6.667 6.667 6.667.933-1.067z'/%3E%3C/svg%3E\");background-color:currentColor;color:currentColor;forced-color-adjust:preserve-parent-color;content:\"\";display:block;height:var(--post-core-dimension-24);width:var(--post-core-dimension-24)}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:#000}.btn-close:disabled{color:#999}@media (forced-colors: active),(-ms-high-contrast: active),(-ms-high-contrast: white-on-black){.btn-close{color:CanvasText;forced-color-adjust:none}.btn-close:focus,.btn-close:not(:disabled):hover,.pretend-hover.btn-close{color:Highlight}}.btn-close-white{color:#e6e6e6}.btn-close-white:focus,.btn-close-white:not(:disabled):hover,.btn-close-white.pretend-hover{color:#fff}.btn-close-white:disabled{color:#999}:host{display:block}:host ::slotted(*){margin:0 !important}.visually-hidden{width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}.visually-hidden:not(caption){position:absolute !important}";export{p as P}
@@ -0,0 +1 @@
1
+ export{P as post_back_to_top}from"./p-b2647fe7.js";import"./p-9e461613.js";import"./p-9b052461.js";import"./p-3f7762b1.js";import"./p-7709c14a.js";import"./p-181c73d5.js";import"./p-440193f4.js";import"./p-722ffaae.js";
@@ -1 +1 @@
1
- import{p as e,b as a}from"./p-9e461613.js";export{s as setNonce}from"./p-9e461613.js";import{g as l}from"./p-e1255160.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await l(),a([["p-548ef2f5",[[1,"post-breadcrumb",{homeUrl:[1,"home-url"],homeText:[1,"home-text"],breadcrumbItems:[32],isConcatenated:[32],lastWindowWidth:[32]},null,{homeUrl:["validateUrl"]}]]],["p-b97dea1e",[[1,"post-footer",{label:[1],isMobile:[32]}]]],["p-afb8a487",[[1,"post-back-to-top",{label:[513],belowFold:[32]},null,{belowFold:["watchBelowFold"],label:["validateLabel"]}]]],["p-96034ba4",[[1,"post-banner",{dismissible:[4],dismissLabel:[1,"dismiss-label"],icon:[1],type:[1],bannerId:[32],classes:[32],hasActions:[32],hasHeading:[32],onDismissButtonClick:[32],dismiss:[64]},null,{dismissible:["validateDismissible"],dismissLabel:["validateDismissLabel"],icon:["validateIcon"],type:["validateType"]}]]],["p-60bfa4be",[[65,"post-card-control",{label:[513],description:[1],type:[1],name:[1],value:[1],checked:[1028],disabled:[1028],validity:[1025],icon:[1],focused:[32],reset:[64],groupReset:[64]},null,{label:["validateControlLabel"],type:["validateControlType"],checked:["updateControlChecked"],disabled:["updateControlDisabled"]}]]],["p-4cd4a936",[[1,"post-popover",{placement:[1],closeButtonCaption:[1,"close-button-caption"],arrow:[4],show:[64],hide:[64],toggle:[64]}]]],["p-44f13ce4",[[1,"post-rating",{label:[1],stars:[2],currentRating:[1026,"current-rating"],readonly:[4],hoveredIndex:[32]}]]],["p-7aa0468b",[[1,"post-tag",{variant:[1],size:[1],icon:[1],classes:[32]},null,{variant:["variantChanged"],size:["sizeChanged"]}]]],["p-6faad212",[[1,"post-tooltip",{placement:[1],arrow:[4],delayed:[4],show:[64],hide:[64],toggle:[64]},null,{delayed:["validateDelayed"]}]]],["p-f553019f",[[1,"post-accordion",{headingLevel:[2,"heading-level"],multiple:[4],toggle:[64],expandAll:[64],collapseAll:[64]},[[0,"postToggle","collapseToggleHandler"]],{headingLevel:["validateHeadingLevel"]}]]],["p-ef49153c",[[1,"post-avatar",{firstname:[513],lastname:[1],userid:[1],email:[1],slottedImage:[32],avatarType:[32],imageUrl:[32],imageAlt:[32],initials:[32]},null,{firstname:["validateFirstname"]}]]],["p-31bb6dc5",[[1,"post-linkarea"]]],["p-74a0b44c",[[1,"post-tab-header",{panel:[513],tabId:[32]},null,{panel:["validateFor"]}]]],["p-7afc495e",[[1,"post-tab-panel",{name:[513],panelId:[32]}]]],["p-36540dd6",[[1,"post-tabs",{activePanel:[1,"active-panel"],show:[64]}]]],["p-30f94eca",[[1,"post-collapsible",{collapsed:[1028],toggle:[64]},null,{collapsed:["collapsedChange"]}],[1,"post-collapsible-trigger",{for:[513],update:[64]},null,{for:["validateAriaAttributes"]}]]],["p-d3900385",[[1,"post-language-switch",{caption:[1],description:[1],variant:[1],activeLang:[32]},[[0,"postChange","handlePostChange"],[0,"postLanguageOptionInitiallyActive","handleInitiallyActive"]],{caption:["validateCaption"],description:["validateDescription"],variant:["validateVariant"]}],[1,"post-closebutton"],[4,"post-mainnavigation",{canScrollLeft:[32],canScrollRight:[32]},[[9,"mouseup","stopScrolling"],[9,"mouseleave","stopScrolling"]]],[1,"post-header",{device:[32],mobileMenuExtended:[32],megadropdownOpen:[32],toggleMobileMenu:[64]},null,{device:["lockBody"],mobileMenuExtended:["lockBody"]}],[4,"post-language-option",{code:[1],active:[1540],variant:[1],name:[1],url:[1],select:[64]},null,{code:["validateCode"],active:["validateActiveProp"],name:["validateName"],url:["validateUrl"]}],[4,"post-list",{titleHidden:[4,"title-hidden"],horizontal:[516],titleId:[32]}],[1,"post-list-item"],[1,"post-logo",{url:[1]},null,{url:["validateUrl"]}],[4,"post-megadropdown",{device:[32],isVisible:[32],animationClass:[32],toggle:[64],show:[64],hide:[64],focusFirst:[64]}],[4,"post-megadropdown-trigger",{for:[1],ariaExpanded:[32]},null,{for:["validateControlFor"]}],[1,"post-togglebutton",{toggled:[1028]},null,{toggled:["validateToggled"]}],[1,"post-menu",{placement:[1],isVisible:[32],toggle:[64],show:[64],hide:[64]}],[4,"post-menu-trigger",{for:[513],ariaExpanded:[32]},null,{for:["validateControlFor"]}],[4,"post-popovercontainer",{manualClose:[4,"manual-close"],placement:[1],edgeGap:[2,"edge-gap"],arrow:[4],safeSpace:[513,"safe-space"],show:[64],hide:[64],toggle:[64]}],[1,"post-icon",{animation:[1],base:[1],flipH:[4,"flip-h"],flipV:[4,"flip-v"],name:[513],rotate:[2],scale:[2]},null,{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}]]],["p-46a9324f",[[1,"post-accordion-item",{collapsed:[1028],headingLevel:[2,"heading-level"],id:[32],slottedLogo:[32],toggle:[64]},[[2,"postToggle","onCollapseToggle"]],{headingLevel:["validateHeadingLevel"]}]]],["p-ffc1db17",[[1,"post-breadcrumb-item",{url:[1],fullUrl:[32]},null,{url:["validateUrl"]}],[4,"post-menu-item"]]]],e))));
1
+ import{p as e,b as a}from"./p-9e461613.js";export{s as setNonce}from"./p-9e461613.js";import{g as l}from"./p-e1255160.js";(()=>{const a=import.meta.url,l={};return""!==a&&(l.resourcesUrl=new URL(".",a).href),e(l)})().then((async e=>(await l(),a([["p-74e3b086",[[1,"post-breadcrumbs",{homeUrl:[1,"home-url"],homeText:[1,"home-text"],breadcrumbItems:[32],isConcatenated:[32],lastWindowWidth:[32]},null,{homeUrl:["validateUrl"]}]]],["p-7c1d68a1",[[1,"post-footer",{label:[1],isMobile:[32]}]]],["p-ef71eeb3",[[1,"post-back-to-top",{label:[513],belowFold:[32]},null,{belowFold:["watchBelowFold"],label:["validateLabel"]}]]],["p-4b6b6f57",[[1,"post-banner",{dismissible:[4],dismissLabel:[1,"dismiss-label"],icon:[1],type:[1],bannerId:[32],classes:[32],hasActions:[32],hasHeading:[32],onDismissButtonClick:[32],dismiss:[64]},null,{dismissible:["validateDismissible"],dismissLabel:["validateDismissLabel"],icon:["validateIcon"],type:["validateType"]}]]],["p-071cbbf2",[[65,"post-card-control",{label:[513],description:[1],type:[1],name:[1],value:[1],checked:[1028],disabled:[1028],validity:[1025],icon:[1],focused:[32],reset:[64],groupReset:[64]},null,{label:["validateControlLabel"],type:["validateControlType"],checked:["updateControlChecked"],disabled:["updateControlDisabled"]}]]],["p-01b87363",[[1,"post-popover",{placement:[1],closeButtonCaption:[1,"close-button-caption"],arrow:[4],show:[64],hide:[64],toggle:[64]}]]],["p-447cf5ab",[[1,"post-rating",{label:[1],stars:[2],currentRating:[1026,"current-rating"],readonly:[4],hoveredIndex:[32]}]]],["p-9dafa454",[[1,"post-tag",{variant:[1],size:[1],icon:[1],classes:[32]},null,{variant:["variantChanged"],size:["sizeChanged"]}]]],["p-82eb16f8",[[1,"post-tooltip",{placement:[1],arrow:[4],delayed:[4],show:[64],hide:[64],toggle:[64]},null,{delayed:["validateDelayed"]}]]],["p-87492954",[[1,"post-accordion",{headingLevel:[2,"heading-level"],multiple:[4],toggle:[64],expandAll:[64],collapseAll:[64]},[[0,"postToggle","collapseToggleHandler"]],{headingLevel:["validateHeadingLevel"]}]]],["p-36ee4853",[[1,"post-avatar",{firstname:[513],lastname:[1],userid:[1],email:[1],slottedImage:[32],avatarType:[32],imageUrl:[32],imageAlt:[32],initials:[32]},null,{firstname:["validateFirstname"]}]]],["p-9aa55ba9",[[1,"post-linkarea"]]],["p-bff9bb68",[[1,"post-tab-header",{panel:[513],tabId:[32]},null,{panel:["validateFor"]}]]],["p-b9f75122",[[1,"post-tab-panel",{name:[513],panelId:[32]}]]],["p-8d2c6e1c",[[1,"post-tabs",{activePanel:[1,"active-panel"],show:[64]}]]],["p-46957e0d",[[1,"post-collapsible",{collapsed:[1028],toggle:[64]},null,{collapsed:["collapsedChange"]}],[1,"post-collapsible-trigger",{for:[513],update:[64]},null,{for:["validateAriaAttributes"]}]]],["p-c7e7f338",[[1,"post-language-switch",{caption:[1],description:[1],variant:[1],activeLang:[32]},[[0,"postChange","handlePostChange"],[0,"postLanguageOptionInitiallyActive","handleInitiallyActive"]],{caption:["validateCaption"],description:["validateDescription"],variant:["validateVariant"]}],[1,"post-closebutton"],[4,"post-mainnavigation",{canScrollLeft:[32],canScrollRight:[32]},[[9,"mouseup","stopScrolling"],[9,"mouseleave","stopScrolling"]]],[1,"post-header",{device:[32],mobileMenuExtended:[32],megadropdownOpen:[32],toggleMobileMenu:[64]},null,{device:["lockBody"],mobileMenuExtended:["lockBody"]}],[4,"post-language-option",{code:[1],active:[1540],variant:[1],name:[1],url:[1],select:[64]},null,{code:["validateCode"],active:["validateActiveProp"],name:["validateName"],url:["validateUrl"]}],[4,"post-list",{titleHidden:[4,"title-hidden"],horizontal:[516],titleId:[32]}],[1,"post-list-item"],[1,"post-logo",{url:[1]},null,{url:["validateUrl"]}],[4,"post-megadropdown",{device:[32],isVisible:[32],animationClass:[32],toggle:[64],show:[64],hide:[64],focusFirst:[64]}],[4,"post-megadropdown-trigger",{for:[1],ariaExpanded:[32]},null,{for:["validateControlFor"]}],[1,"post-togglebutton",{toggled:[1028]},null,{toggled:["validateToggled"]}],[1,"post-menu",{placement:[1],isVisible:[32],toggle:[64],show:[64],hide:[64]}],[4,"post-menu-trigger",{for:[513],ariaExpanded:[32]},null,{for:["validateControlFor"]}],[4,"post-popovercontainer",{manualClose:[4,"manual-close"],placement:[1],edgeGap:[2,"edge-gap"],arrow:[4],safeSpace:[513,"safe-space"],show:[64],hide:[64],toggle:[64]}],[1,"post-icon",{animation:[1],base:[1],flipH:[4,"flip-h"],flipV:[4,"flip-v"],name:[513],rotate:[2],scale:[2]},null,{animation:["validateAnimation"],base:["validateBase"],flipH:["validateFlipH"],flipV:["validateFlipV"],name:["validateName"],rotate:["validateRotate"],scale:["validateScale"]}]]],["p-224cc6bf",[[1,"post-accordion-item",{collapsed:[1028],headingLevel:[2,"heading-level"],id:[32],slottedLogo:[32],toggle:[64]},[[2,"postToggle","onCollapseToggle"]],{headingLevel:["validateHeadingLevel"]}]]],["p-ae1ae07c",[[1,"post-breadcrumb-item",{url:[1],fullUrl:[32]},null,{url:["validateUrl"]}],[4,"post-menu-item"]]]],e))));
@@ -1,5 +1,5 @@
1
- export declare class PostBreadcrumb {
2
- host: HTMLPostBreadcrumbElement;
1
+ export declare class PostBreadcrumbs {
2
+ host: HTMLPostBreadcrumbsElement;
3
3
  /**
4
4
  * The URL for the home breadcrumb item.
5
5
  */
@@ -14,13 +14,13 @@ export declare class PostBreadcrumb {
14
14
  }[];
15
15
  isConcatenated: boolean;
16
16
  lastWindowWidth: number;
17
- private breadcrumbNavRef?;
17
+ private breadcrumbsNavRef?;
18
18
  private lastItem;
19
19
  validateUrl(): void;
20
20
  componentWillLoad(): void;
21
21
  componentDidLoad(): void;
22
22
  disconnectedCallback(): void;
23
- private waitForBreadcrumbRef;
23
+ private waitForBreadcrumbsRef;
24
24
  private updateBreadcrumbItems;
25
25
  private handleResize;
26
26
  private getParentWidth;
@@ -6,9 +6,9 @@ export declare class PostMenu {
6
6
  private readonly KEYCODES;
7
7
  host: HTMLPostMenuElement;
8
8
  /**
9
- * Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.
10
- * Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted
11
- * towards the viewport if they would overlap edge boundaries.
9
+ * Defines the position of the menu relative to its trigger.
10
+ * Menus are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries.
11
+ * For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
12
12
  */
13
13
  readonly placement?: Placement;
14
14
  /**
@@ -5,9 +5,9 @@ export declare class PostPopover {
5
5
  private readonly triggerObserver;
6
6
  host: HTMLPostPopoverElement;
7
7
  /**
8
- * Defines the placement of the popover according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.
9
- * Popoverss are automatically flipped to the opposite side if there is not enough available space and are shifted
10
- * towards the viewport if they would overlap edge boundaries.
8
+ * Defines the position of the popover relative to its trigger.
9
+ * Popovers are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries.
10
+ * For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
11
11
  */
12
12
  readonly placement?: Placement;
13
13
  /**
@@ -15,7 +15,7 @@ export declare class PostTag {
15
15
  /**
16
16
  * Defines the icon `name` inside of the component.
17
17
  * <span className="banner banner-sm banner-info">If not set the icon will not show up.</span>
18
- * To learn which icons are available, please visit our <a href="/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs">icon library</a>.
18
+ * To learn which icons are available, please visit our <a href="/?path=/docs/0dcfe3c0-bfc0-4107-b43b-7e9d825b805f--docs">icon library</a>.
19
19
  */
20
20
  readonly icon: null | string;
21
21
  constructor();
@@ -5,9 +5,9 @@ export declare class PostTooltip {
5
5
  private readonly triggerObserver;
6
6
  host: HTMLPostTooltipElement;
7
7
  /**
8
- * Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement.
9
- * Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted
10
- * towards the viewport if they would overlap edge boundaries.
8
+ * Defines the position of the tooltip relative to its trigger.
9
+ * Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries.
10
+ * For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
11
11
  */
12
12
  readonly placement?: Placement;
13
13
  /**
@@ -99,7 +99,13 @@ export namespace Components {
99
99
  */
100
100
  "type": BannerType;
101
101
  }
102
- interface PostBreadcrumb {
102
+ interface PostBreadcrumbItem {
103
+ /**
104
+ * The optional URL to which the breadcrumb item will link.
105
+ */
106
+ "url"?: string | URL;
107
+ }
108
+ interface PostBreadcrumbs {
103
109
  /**
104
110
  * The text label for the home breadcrumb item.
105
111
  */
@@ -109,12 +115,6 @@ export namespace Components {
109
115
  */
110
116
  "homeUrl": string;
111
117
  }
112
- interface PostBreadcrumbItem {
113
- /**
114
- * The optional URL to which the breadcrumb item will link.
115
- */
116
- "url"?: string | URL;
117
- }
118
118
  /**
119
119
  * @class PostCardControl - representing a stencil component
120
120
  */
@@ -323,7 +323,7 @@ export namespace Components {
323
323
  */
324
324
  "hide": () => Promise<void>;
325
325
  /**
326
- * Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement. Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries.
326
+ * Defines the position of the menu relative to its trigger. Menus are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries. For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
327
327
  */
328
328
  "placement"?: Placement;
329
329
  /**
@@ -358,7 +358,7 @@ export namespace Components {
358
358
  */
359
359
  "hide": () => Promise<void>;
360
360
  /**
361
- * Defines the placement of the popover according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement. Popoverss are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries.
361
+ * Defines the position of the popover relative to its trigger. Popovers are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries. For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
362
362
  */
363
363
  "placement"?: Placement;
364
364
  /**
@@ -452,7 +452,7 @@ export namespace Components {
452
452
  }
453
453
  interface PostTag {
454
454
  /**
455
- * Defines the icon `name` inside of the component. <span className="banner banner-sm banner-info">If not set the icon will not show up.</span> To learn which icons are available, please visit our <a href="/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs">icon library</a>.
455
+ * Defines the icon `name` inside of the component. <span className="banner banner-sm banner-info">If not set the icon will not show up.</span> To learn which icons are available, please visit our <a href="/?path=/docs/0dcfe3c0-bfc0-4107-b43b-7e9d825b805f--docs">icon library</a>.
456
456
  */
457
457
  "icon": null | string;
458
458
  /**
@@ -484,7 +484,7 @@ export namespace Components {
484
484
  */
485
485
  "hide": () => Promise<void>;
486
486
  /**
487
- * Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement. Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries.
487
+ * Defines the position of the tooltip relative to its trigger. Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries. For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
488
488
  */
489
489
  "placement"?: Placement;
490
490
  /**
@@ -583,18 +583,18 @@ declare global {
583
583
  prototype: HTMLPostBannerElement;
584
584
  new (): HTMLPostBannerElement;
585
585
  };
586
- interface HTMLPostBreadcrumbElement extends Components.PostBreadcrumb, HTMLStencilElement {
587
- }
588
- var HTMLPostBreadcrumbElement: {
589
- prototype: HTMLPostBreadcrumbElement;
590
- new (): HTMLPostBreadcrumbElement;
591
- };
592
586
  interface HTMLPostBreadcrumbItemElement extends Components.PostBreadcrumbItem, HTMLStencilElement {
593
587
  }
594
588
  var HTMLPostBreadcrumbItemElement: {
595
589
  prototype: HTMLPostBreadcrumbItemElement;
596
590
  new (): HTMLPostBreadcrumbItemElement;
597
591
  };
592
+ interface HTMLPostBreadcrumbsElement extends Components.PostBreadcrumbs, HTMLStencilElement {
593
+ }
594
+ var HTMLPostBreadcrumbsElement: {
595
+ prototype: HTMLPostBreadcrumbsElement;
596
+ new (): HTMLPostBreadcrumbsElement;
597
+ };
598
598
  interface HTMLPostCardControlElementEventMap {
599
599
  "postInput": { state: boolean; value: string };
600
600
  "postChange": { state: boolean; value: string };
@@ -877,8 +877,8 @@ declare global {
877
877
  "post-avatar": HTMLPostAvatarElement;
878
878
  "post-back-to-top": HTMLPostBackToTopElement;
879
879
  "post-banner": HTMLPostBannerElement;
880
- "post-breadcrumb": HTMLPostBreadcrumbElement;
881
880
  "post-breadcrumb-item": HTMLPostBreadcrumbItemElement;
881
+ "post-breadcrumbs": HTMLPostBreadcrumbsElement;
882
882
  "post-card-control": HTMLPostCardControlElement;
883
883
  "post-closebutton": HTMLPostClosebuttonElement;
884
884
  "post-collapsible": HTMLPostCollapsibleElement;
@@ -977,7 +977,13 @@ declare namespace LocalJSX {
977
977
  */
978
978
  "type"?: BannerType;
979
979
  }
980
- interface PostBreadcrumb {
980
+ interface PostBreadcrumbItem {
981
+ /**
982
+ * The optional URL to which the breadcrumb item will link.
983
+ */
984
+ "url"?: string | URL;
985
+ }
986
+ interface PostBreadcrumbs {
981
987
  /**
982
988
  * The text label for the home breadcrumb item.
983
989
  */
@@ -987,12 +993,6 @@ declare namespace LocalJSX {
987
993
  */
988
994
  "homeUrl"?: string;
989
995
  }
990
- interface PostBreadcrumbItem {
991
- /**
992
- * The optional URL to which the breadcrumb item will link.
993
- */
994
- "url"?: string | URL;
995
- }
996
996
  /**
997
997
  * @class PostCardControl - representing a stencil component
998
998
  */
@@ -1189,7 +1189,7 @@ declare namespace LocalJSX {
1189
1189
  */
1190
1190
  "onToggleMenu"?: (event: PostMenuCustomEvent<boolean>) => void;
1191
1191
  /**
1192
- * Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement. Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries.
1192
+ * Defines the position of the menu relative to its trigger. Menus are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries. For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
1193
1193
  */
1194
1194
  "placement"?: Placement;
1195
1195
  }
@@ -1211,7 +1211,7 @@ declare namespace LocalJSX {
1211
1211
  */
1212
1212
  "closeButtonCaption": string;
1213
1213
  /**
1214
- * Defines the placement of the popover according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement. Popoverss are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries.
1214
+ * Defines the position of the popover relative to its trigger. Popovers are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries. For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
1215
1215
  */
1216
1216
  "placement"?: Placement;
1217
1217
  }
@@ -1291,7 +1291,7 @@ declare namespace LocalJSX {
1291
1291
  }
1292
1292
  interface PostTag {
1293
1293
  /**
1294
- * Defines the icon `name` inside of the component. <span className="banner banner-sm banner-info">If not set the icon will not show up.</span> To learn which icons are available, please visit our <a href="/?path=/docs/5704bdc4-c5b5-45e6-b123-c54d01fce2f1--docs">icon library</a>.
1294
+ * Defines the icon `name` inside of the component. <span className="banner banner-sm banner-info">If not set the icon will not show up.</span> To learn which icons are available, please visit our <a href="/?path=/docs/0dcfe3c0-bfc0-4107-b43b-7e9d825b805f--docs">icon library</a>.
1295
1295
  */
1296
1296
  "icon"?: null | string;
1297
1297
  /**
@@ -1319,7 +1319,7 @@ declare namespace LocalJSX {
1319
1319
  */
1320
1320
  "delayed"?: boolean;
1321
1321
  /**
1322
- * Defines the placement of the tooltip according to the floating-ui options available at https://floating-ui.com/docs/computePosition#placement. Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries.
1322
+ * Defines the position of the tooltip relative to its trigger. Tooltips are automatically flipped to the opposite side if there is not enough available space and are shifted towards the viewport if they would overlap edge boundaries. For supported values and behavior details, see the [Floating UI placement documentation](https://floating-ui.com/docs/computePosition#placement).
1323
1323
  */
1324
1324
  "placement"?: Placement;
1325
1325
  }
@@ -1329,8 +1329,8 @@ declare namespace LocalJSX {
1329
1329
  "post-avatar": PostAvatar;
1330
1330
  "post-back-to-top": PostBackToTop;
1331
1331
  "post-banner": PostBanner;
1332
- "post-breadcrumb": PostBreadcrumb;
1333
1332
  "post-breadcrumb-item": PostBreadcrumbItem;
1333
+ "post-breadcrumbs": PostBreadcrumbs;
1334
1334
  "post-card-control": PostCardControl;
1335
1335
  "post-closebutton": PostClosebutton;
1336
1336
  "post-collapsible": PostCollapsible;
@@ -1370,8 +1370,8 @@ declare module "@stencil/core" {
1370
1370
  "post-avatar": LocalJSX.PostAvatar & JSXBase.HTMLAttributes<HTMLPostAvatarElement>;
1371
1371
  "post-back-to-top": LocalJSX.PostBackToTop & JSXBase.HTMLAttributes<HTMLPostBackToTopElement>;
1372
1372
  "post-banner": LocalJSX.PostBanner & JSXBase.HTMLAttributes<HTMLPostBannerElement>;
1373
- "post-breadcrumb": LocalJSX.PostBreadcrumb & JSXBase.HTMLAttributes<HTMLPostBreadcrumbElement>;
1374
1373
  "post-breadcrumb-item": LocalJSX.PostBreadcrumbItem & JSXBase.HTMLAttributes<HTMLPostBreadcrumbItemElement>;
1374
+ "post-breadcrumbs": LocalJSX.PostBreadcrumbs & JSXBase.HTMLAttributes<HTMLPostBreadcrumbsElement>;
1375
1375
  /**
1376
1376
  * @class PostCardControl - representing a stencil component
1377
1377
  */