@esri/calcite-components 6.0.0-next.30 → 6.0.0-next.32

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 (160) hide show
  1. package/dist/cdn/{I6UMOKHJ.js → 22EM6PC2.js} +1 -1
  2. package/dist/cdn/{N4Y4IVWT.js → 27T56KCJ.js} +1 -1
  3. package/dist/cdn/{VCZHUG3S.js → 27X4URIG.js} +1 -1
  4. package/dist/cdn/{YZOCZJGM.js → 2ADZ7WR7.js} +1 -1
  5. package/dist/cdn/{444236DE.js → 3BGTTAUS.js} +1 -1
  6. package/dist/cdn/{G7VCDZAH.js → 3KAPB7Y4.js} +1 -1
  7. package/dist/cdn/{FGPKBUR3.js → 3UY6U54N.js} +1 -1
  8. package/dist/cdn/{KIT7NU4F.js → 467XRWLI.js} +1 -1
  9. package/dist/cdn/{T7YGUZSK.js → 4IJ4XYKR.js} +1 -1
  10. package/dist/cdn/{6I7EXQHZ.js → 4KYT4OEB.js} +1 -1
  11. package/dist/cdn/{CRJ7GEOB.js → 4PH7QLZ5.js} +1 -1
  12. package/dist/cdn/{DV5KMXKC.js → 4UJZNDVL.js} +1 -1
  13. package/dist/cdn/{LKYZVTZF.js → 4X66Y5SG.js} +1 -1
  14. package/dist/cdn/{GBTJTOXL.js → 5AF7LKCH.js} +1 -1
  15. package/dist/cdn/{TNDQWC77.js → 5CBIKAEI.js} +1 -1
  16. package/dist/cdn/{J3NX74VT.js → 5HV3MQAN.js} +1 -1
  17. package/dist/cdn/{HEQ6QW3K.js → 5NP4NQ75.js} +1 -1
  18. package/dist/cdn/{V2AKOENX.js → 6IK4YY4Q.js} +1 -1
  19. package/dist/cdn/{4YAW7S6I.js → 6UWV2IB4.js} +1 -1
  20. package/dist/cdn/{SVFPRHA6.js → 74CFBRNP.js} +1 -1
  21. package/dist/cdn/{S3MNGCZD.js → 7B7AUCFT.js} +1 -1
  22. package/dist/cdn/{CGICD7ZG.js → 7HIIGKXC.js} +1 -1
  23. package/dist/cdn/{5XN6EOKV.js → 7VHIR7OZ.js} +1 -1
  24. package/dist/cdn/{JLH4SXHH.js → AMN4XNVI.js} +1 -1
  25. package/dist/cdn/{27RYO3S3.js → AXHUTZFE.js} +1 -1
  26. package/dist/cdn/{5RCRYCLG.js → AXMEQ5HK.js} +1 -1
  27. package/dist/cdn/{KETKIVWP.js → B6MKXPF6.js} +1 -1
  28. package/dist/cdn/{ZEIISDRS.js → BAM2PBGA.js} +1 -1
  29. package/dist/cdn/{IBUMIXPU.js → BE6XQC6U.js} +1 -1
  30. package/dist/cdn/{AKAXKJA2.js → BQUS7O7D.js} +1 -1
  31. package/dist/cdn/{WCZUTUTW.js → C7S3BDBX.js} +1 -1
  32. package/dist/cdn/{E67XH4JQ.js → CCVUAR5Z.js} +1 -1
  33. package/dist/cdn/{I4AFXPRB.js → CERRSYTB.js} +1 -1
  34. package/dist/cdn/{XF25BJXC.js → CJ2QW6FE.js} +1 -1
  35. package/dist/cdn/{UR6MPMXC.js → COIMZWZL.js} +1 -1
  36. package/dist/cdn/{LKSMSNM7.js → CW3F5PSX.js} +1 -1
  37. package/dist/cdn/{URTYW475.js → CXDE6DBI.js} +1 -1
  38. package/dist/cdn/{6WXRX7AM.js → CXEQ3W3L.js} +1 -1
  39. package/dist/cdn/{ZF366KLH.js → CXYDFUFV.js} +1 -1
  40. package/dist/cdn/{U5TTY3OC.js → D7Z5DPHN.js} +1 -1
  41. package/dist/cdn/{VSQINAGH.js → DRWMIG2A.js} +1 -1
  42. package/dist/cdn/{65S2O64A.js → DZ5YZLLW.js} +1 -1
  43. package/dist/cdn/{GYAMAUXY.js → DZU2XLXM.js} +1 -1
  44. package/dist/cdn/{L2PORTM4.js → EEA73SFZ.js} +1 -1
  45. package/dist/cdn/{BZZ3PDRE.js → EHNEXHJE.js} +1 -1
  46. package/dist/cdn/{KLALTZ6M.js → EIFUYOVZ.js} +1 -1
  47. package/dist/cdn/{HAEXMEIN.js → EIZDIRB4.js} +1 -1
  48. package/dist/cdn/{QDYPYDT7.js → EKI76LG7.js} +1 -1
  49. package/dist/cdn/{YXTWPSNG.js → EZI27HAU.js} +1 -1
  50. package/dist/cdn/{OYQLEYK5.js → FEGFX2WD.js} +1 -1
  51. package/dist/cdn/{C664KWJK.js → FU7MF74E.js} +1 -1
  52. package/dist/cdn/{LRGOLZEK.js → GEYT6LB7.js} +1 -1
  53. package/dist/cdn/{AE5P23AX.js → GKYK7XCO.js} +1 -1
  54. package/dist/cdn/{KGTOCD7C.js → GQSCXVIU.js} +1 -1
  55. package/dist/cdn/{3B2ZDL33.js → HDPXMQMP.js} +1 -1
  56. package/dist/cdn/{X4VMA74R.js → HPJSPMNH.js} +1 -1
  57. package/dist/cdn/{2MQ3WWV6.js → HSPTT3LV.js} +1 -1
  58. package/dist/cdn/{DM56VGTT.js → I2DVQMTF.js} +1 -1
  59. package/dist/cdn/{BEI2Q4QV.js → IOERUJQH.js} +1 -1
  60. package/dist/cdn/{Y2BRPES3.js → ISBKAVOX.js} +1 -1
  61. package/dist/cdn/{26ZHQ7BU.js → IZPGTGLJ.js} +1 -1
  62. package/dist/cdn/{SIEIL7FM.js → J6VYFTM4.js} +1 -1
  63. package/dist/cdn/{H5ZWUCNU.js → JCIA6RBQ.js} +1 -1
  64. package/dist/cdn/{OR22OBUK.js → JDKIG3OK.js} +1 -1
  65. package/dist/cdn/{4GJVPFBQ.js → JJSTRCI5.js} +1 -1
  66. package/dist/cdn/{5LZ756VG.js → K46PS2N6.js} +1 -1
  67. package/dist/cdn/{66MGO5ZU.js → KCVCJJ3G.js} +1 -1
  68. package/dist/cdn/{DC52WCG4.js → KELOMBLQ.js} +1 -1
  69. package/dist/cdn/{6PI5JKRE.js → KSGKP7BB.js} +1 -1
  70. package/dist/cdn/{LZ6OXXTM.js → KWGKBIM3.js} +1 -1
  71. package/dist/cdn/{BIBBX2NQ.js → L2YJXRI7.js} +1 -1
  72. package/dist/cdn/{PO6YL62I.js → LGADD3GQ.js} +1 -1
  73. package/dist/cdn/{PERDWZWY.js → LGKFD5NE.js} +1 -1
  74. package/dist/cdn/{AGD2EOLY.js → LQBOZRSZ.js} +1 -1
  75. package/dist/cdn/{34LORM54.js → LSUYGJUQ.js} +1 -1
  76. package/dist/cdn/{JXSCNDAH.js → LW757VXF.js} +1 -1
  77. package/dist/cdn/{QLODMQBD.js → M4QXPEYA.js} +1 -1
  78. package/dist/cdn/{7RQHFOJK.js → M5EKCOWL.js} +1 -1
  79. package/dist/cdn/{BZD6X5QP.js → MGB7IHBN.js} +1 -1
  80. package/dist/cdn/{KF2PRC3N.js → MGO56IDG.js} +1 -1
  81. package/dist/cdn/{BZ7XAOLC.js → MJA76ZEB.js} +1 -1
  82. package/dist/cdn/{7KM376VM.js → MKBFZDRN.js} +1 -1
  83. package/dist/cdn/{F6OZCUVP.js → MTMSXD7G.js} +1 -1
  84. package/dist/cdn/{IH6VM7RW.js → MX6NVG77.js} +1 -1
  85. package/dist/cdn/{RHG4MWDQ.js → MZUQW7T7.js} +1 -1
  86. package/dist/cdn/{E4TS5FQE.js → N3EQA7VR.js} +1 -1
  87. package/dist/cdn/{C6JSMZCR.js → O7KTF2FA.js} +1 -1
  88. package/dist/cdn/{N5725US7.js → OD5VRFWK.js} +1 -1
  89. package/dist/cdn/{32L6XZV2.js → OKOR5MWV.js} +1 -1
  90. package/dist/cdn/{PQ6MRDKH.js → OTCKOUA5.js} +1 -1
  91. package/dist/cdn/{EGLMU2AU.js → OX7I2ZE2.js} +1 -1
  92. package/dist/cdn/{Q4WATFR3.js → OZLM7DWI.js} +1 -1
  93. package/dist/cdn/{AWYSKRFD.js → PJWHKL5T.js} +1 -1
  94. package/dist/cdn/{4LQENKOC.js → PP543GMX.js} +1 -1
  95. package/dist/cdn/{JED2BFML.js → PXOGEKNF.js} +1 -1
  96. package/dist/cdn/{IROQKMX4.js → PXUJV3K3.js} +1 -1
  97. package/dist/cdn/{JNL2MGPV.js → PZCLR7V5.js} +1 -1
  98. package/dist/cdn/{7KQIWP5A.js → QILUIDT6.js} +1 -1
  99. package/dist/cdn/{4U3UP55J.js → QVOUVRVF.js} +1 -1
  100. package/dist/cdn/{GLRXNYZY.js → R7A2S2JK.js} +1 -1
  101. package/dist/cdn/{V3KLQ5UF.js → RHP7E5MQ.js} +1 -1
  102. package/dist/cdn/{P2PASM66.js → RMYDLD3L.js} +1 -1
  103. package/dist/cdn/{WB7RXQJA.js → S26F7J4L.js} +1 -1
  104. package/dist/cdn/{D6FYHCKK.js → S3H4IEOB.js} +1 -1
  105. package/dist/cdn/S663GSUU.js +2 -0
  106. package/dist/cdn/{BUD3X4EV.js → SHMDC6YI.js} +1 -1
  107. package/dist/cdn/{6SZN3UEC.js → SKHMBPZX.js} +1 -1
  108. package/dist/cdn/{WBQQBVVC.js → SNKADWIL.js} +1 -1
  109. package/dist/cdn/{QEW6GSYQ.js → SS7TOHAX.js} +1 -1
  110. package/dist/cdn/{C7SUNBF3.js → SZ3RMLLZ.js} +1 -1
  111. package/dist/cdn/{3INSFKSX.js → TBE6QB2J.js} +1 -1
  112. package/dist/cdn/{BMHY44X2.js → TPAN4Z6I.js} +1 -1
  113. package/dist/cdn/{IE3D5G6W.js → TQP5GGZ4.js} +1 -1
  114. package/dist/cdn/{DR4XSQZU.js → TTIGWOQG.js} +1 -1
  115. package/dist/cdn/{BOPWFMNV.js → UD45ZUIJ.js} +1 -1
  116. package/dist/cdn/{SN5B3KVW.js → UF7RT555.js} +1 -1
  117. package/dist/cdn/{LQX75TZ6.js → UFT5JASX.js} +1 -1
  118. package/dist/cdn/{H2LEXNC7.js → UIQPXBY4.js} +1 -1
  119. package/dist/cdn/{HUTTOR7N.js → UOIFOIA6.js} +1 -1
  120. package/dist/cdn/{XI5BUNVP.js → UR5QD42E.js} +1 -1
  121. package/dist/cdn/{54Y2XWNM.js → UXLAVDPR.js} +1 -1
  122. package/dist/cdn/{ERP7JCOT.js → V3GKPSJW.js} +1 -1
  123. package/dist/cdn/{ROZEV7RT.js → VGYAXHO5.js} +1 -1
  124. package/dist/cdn/{HDWQ7NSI.js → VYD36H5B.js} +1 -1
  125. package/dist/cdn/{66VFQ7FS.js → VZXKU2HR.js} +1 -1
  126. package/dist/cdn/WRX5ZQ6D.js +2 -0
  127. package/dist/cdn/{KOOUNRK4.js → WYG6UDXB.js} +1 -1
  128. package/dist/cdn/{QEVG42UL.js → X52BCUBS.js} +1 -1
  129. package/dist/cdn/{TCRMJM5C.js → X5DVSEAW.js} +1 -1
  130. package/dist/cdn/{NBZ37GX7.js → X653HX5H.js} +1 -1
  131. package/dist/cdn/{JWRK3M36.js → XALW74CE.js} +1 -1
  132. package/dist/cdn/{ZDSKF5YJ.js → YHFR2OVW.js} +1 -1
  133. package/dist/cdn/{YDT6TQRJ.js → ZGI3EA4A.js} +1 -1
  134. package/dist/cdn/{BTB6KHWC.js → ZHPJ2ZY3.js} +1 -1
  135. package/dist/cdn/{K773C63U.js → ZNERL4GM.js} +1 -1
  136. package/dist/cdn/{Q4DOOVM7.js → ZSKZIJOQ.js} +1 -1
  137. package/dist/cdn/{5QTRE4DW.js → ZUVHRYHB.js} +1 -1
  138. package/dist/cdn/index.js +1 -1
  139. package/dist/chunks/runtime.js +4 -4
  140. package/dist/components/calcite-action/customElement.d.ts +0 -36
  141. package/dist/components/calcite-action/customElement.js +1 -1
  142. package/dist/components/calcite-color-picker/utils.d.ts +4 -4
  143. package/dist/components/calcite-flow-item/customElement.d.ts +2 -2
  144. package/dist/components/calcite-link/customElement.d.ts +5 -1
  145. package/dist/components/calcite-link/customElement.js +2 -2
  146. package/dist/components/calcite-tab/customElement.d.ts +0 -6
  147. package/dist/components/calcite-tab/customElement.js +1 -1
  148. package/dist/docs/api.json +1 -1
  149. package/dist/docs/docs.json +1 -1
  150. package/dist/docs/vscode.css-custom-data.json +1 -1
  151. package/dist/docs/vscode.html-custom-data.json +1 -1
  152. package/dist/docs/web-types.json +1 -1
  153. package/dist/loader.js +1 -1
  154. package/dist/types/lumina.d.ts +1 -1
  155. package/dist/types/preact.d.ts +1 -1
  156. package/dist/types/react.d.ts +1 -1
  157. package/dist/types/stencil.d.ts +1 -1
  158. package/package.json +1 -1
  159. package/dist/cdn/EYRAVDKP.js +0 -2
  160. package/dist/cdn/Z2C6GGRO.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as u}from"./NBZ37GX7.js";import{a as p}from"./HDWQ7NSI.js";import{a as g,b as t}from"./WBQQBVVC.js";import{a as d}from"./FDHY2TZA.js";import{a as m}from"./BZZ3PDRE.js";import{a as h}from"./FGPKBUR3.js";import"./VMHJHFFS.js";import"./AGD2EOLY.js";import"./PO6YL62I.js";import"./RRBGCYLX.js";import{G as n,H as c,L as r,T as o,g as i,h as s,p as l}from"./G7VCDZAH.js";var f={itemWrapper:"item-wrapper"},v={validationMessage:"radioButtonGroupValidationMessage"},x=i`:host{display:flex;flex-direction:column}:host>.item-wrapper{display:flex;max-inline-size:100vw}:host([layout=horizontal])>.item-wrapper{flex-direction:row;flex-wrap:wrap}:host([layout=horizontal][scale=s])>.item-wrapper{column-gap:var(--calcite-radio-button-group-gap, var(--calcite-theme-space-lg, var(--calcite-spacing-lg)))}:host([layout=horizontal][scale=m])>.item-wrapper{column-gap:var(--calcite-radio-button-group-gap, var(--calcite-theme-space-xl, var(--calcite-spacing-xl)))}:host([layout=horizontal][scale=l])>.item-wrapper{column-gap:var(--calcite-radio-button-group-gap, var(--calcite-theme-space-2xl, var(--calcite-spacing-xxl)))}:host([layout=vertical])>.item-wrapper{flex-direction:column;inline-size:fit-content}:host([scale=s]) calcite-input-message{--calcite-input-message-spacing: var( --calcite-radio-button-input-message-spacing, calc(var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs)) * -1) )}:host([scale=m]) calcite-input-message{--calcite-input-message-spacing: var( --calcite-radio-button-input-message-spacing, calc(var(--calcite-theme-space-sm, var(--calcite-spacing-sm)) * -1) )}:host([scale=l]) calcite-input-message{--calcite-input-message-spacing: var( --calcite-radio-button-input-message-spacing, calc(var(--calcite-theme-space-md, var(--calcite-spacing-md)) * -1) )}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-theme-space-base, var(--calcite-spacing-base))}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends n{constructor(){super(),this.messages=m(),this.mutationObserver=d("mutation",()=>this.passPropsToRadioButtons()),this.focusSetter=h()(this).setFocus,this._disabled=!1,this.disabledWasSet=!1,this.radioButtons=[],this.layout="horizontal",this.required=!1,this.scale="m",this.selectedItem=null,this.status="idle",this.calciteRadioButtonGroupChange=l({cancelable:!1}),this.listen("calciteRadioButtonChange",this.radioButtonChangeHandler),this.listen("calciteInvalid",this.handleInvalidFormEvent),this.listen("luminaFormResetCallback",()=>{this.status==="invalid"&&t(this)})}static{this.properties={radioButtons:[16,{},{state:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],labelText:1,layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],name:[3,{},{reflect:!0}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],selectedItem:[0,{},{attribute:!1}],status:[3,{},{reflect:!0}],validationIcon:[3,{converter:r},{reflect:!0}],validationMessage:1}}static{this.styles=x}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.disabledWasSet=!0}async setFocus(e){return this.focusSetter(()=>this.selectedItem&&!this.selectedItem.disabled?this.selectedItem:this.getFocusableRadioButton(),e)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}willUpdate(e){(e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)||e.has("layout")&&(this.hasUpdated||this.layout!=="horizontal")||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("status")&&this.hasUpdated)&&this.passPropsToRadioButtons()}loaded(){this.passPropsToRadioButtons()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}handleInvalidFormEvent(e){let b=this.validationMessage||e.target.validationMessage||"";g(this,{message:b,icon:!0,status:"invalid"})}passPropsToRadioButtons(){this.radioButtons=Array.from(this.el.querySelectorAll("calcite-radio-button")),this.selectedItem=Array.from(this.radioButtons).reverse().find(e=>e.checked)??null,this.radioButtons.forEach(e=>{this.disabledWasSet&&(e.disabled=this.disabled),e.name=this.name,e.required=this.required,e.scale=this.scale,e.status=this.status})}getFocusableRadioButton(){return this.radioButtons.find(e=>!e.disabled)}radioButtonChangeHandler(e){this.selectedItem=e.target,this.required&&this.selectedItem&&this.status==="invalid"&&t(this),this.calciteRadioButtonGroupChange.emit()}render(){return this.el.role="radiogroup",s`${this.labelText&&p({labelText:this.labelText,required:this.required,tooltipText:this.messages.required})||""}<div aria-errormessage=${v.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaRequired=${this.required} class=${c(f.itemWrapper)}><slot></slot></div>${this.validationMessage&&this.status==="invalid"?u({icon:this.validationIcon,id:v.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`}};o("calcite-radio-button-group",a);export{a as RadioButtonGroup};
2
+ import{a as u}from"./X653HX5H.js";import{a as p}from"./VYD36H5B.js";import{a as g,b as t}from"./SNKADWIL.js";import{a as d}from"./FDHY2TZA.js";import{a as m}from"./EHNEXHJE.js";import{a as h}from"./3UY6U54N.js";import"./VMHJHFFS.js";import"./LQBOZRSZ.js";import"./LGADD3GQ.js";import"./RRBGCYLX.js";import{G as n,H as c,L as r,T as o,g as i,h as s,p as l}from"./3KAPB7Y4.js";var f={itemWrapper:"item-wrapper"},v={validationMessage:"radioButtonGroupValidationMessage"},x=i`:host{display:flex;flex-direction:column}:host>.item-wrapper{display:flex;max-inline-size:100vw}:host([layout=horizontal])>.item-wrapper{flex-direction:row;flex-wrap:wrap}:host([layout=horizontal][scale=s])>.item-wrapper{column-gap:var(--calcite-radio-button-group-gap, var(--calcite-theme-space-lg, var(--calcite-spacing-lg)))}:host([layout=horizontal][scale=m])>.item-wrapper{column-gap:var(--calcite-radio-button-group-gap, var(--calcite-theme-space-xl, var(--calcite-spacing-xl)))}:host([layout=horizontal][scale=l])>.item-wrapper{column-gap:var(--calcite-radio-button-group-gap, var(--calcite-theme-space-2xl, var(--calcite-spacing-xxl)))}:host([layout=vertical])>.item-wrapper{flex-direction:column;inline-size:fit-content}:host([scale=s]) calcite-input-message{--calcite-input-message-spacing: var( --calcite-radio-button-input-message-spacing, calc(var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs)) * -1) )}:host([scale=m]) calcite-input-message{--calcite-input-message-spacing: var( --calcite-radio-button-input-message-spacing, calc(var(--calcite-theme-space-sm, var(--calcite-spacing-sm)) * -1) )}:host([scale=l]) calcite-input-message{--calcite-input-message-spacing: var( --calcite-radio-button-input-message-spacing, calc(var(--calcite-theme-space-md, var(--calcite-spacing-md)) * -1) )}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-theme-space-base, var(--calcite-spacing-base))}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends n{constructor(){super(),this.messages=m(),this.mutationObserver=d("mutation",()=>this.passPropsToRadioButtons()),this.focusSetter=h()(this).setFocus,this._disabled=!1,this.disabledWasSet=!1,this.radioButtons=[],this.layout="horizontal",this.required=!1,this.scale="m",this.selectedItem=null,this.status="idle",this.calciteRadioButtonGroupChange=l({cancelable:!1}),this.listen("calciteRadioButtonChange",this.radioButtonChangeHandler),this.listen("calciteInvalid",this.handleInvalidFormEvent),this.listen("luminaFormResetCallback",()=>{this.status==="invalid"&&t(this)})}static{this.properties={radioButtons:[16,{},{state:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],labelText:1,layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],name:[3,{},{reflect:!0}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],selectedItem:[0,{},{attribute:!1}],status:[3,{},{reflect:!0}],validationIcon:[3,{converter:r},{reflect:!0}],validationMessage:1}}static{this.styles=x}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this.disabledWasSet=!0}async setFocus(e){return this.focusSetter(()=>this.selectedItem&&!this.selectedItem.disabled?this.selectedItem:this.getFocusableRadioButton(),e)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}willUpdate(e){(e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)||e.has("layout")&&(this.hasUpdated||this.layout!=="horizontal")||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("status")&&this.hasUpdated)&&this.passPropsToRadioButtons()}loaded(){this.passPropsToRadioButtons()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}handleInvalidFormEvent(e){let b=this.validationMessage||e.target.validationMessage||"";g(this,{message:b,icon:!0,status:"invalid"})}passPropsToRadioButtons(){this.radioButtons=Array.from(this.el.querySelectorAll("calcite-radio-button")),this.selectedItem=Array.from(this.radioButtons).reverse().find(e=>e.checked)??null,this.radioButtons.forEach(e=>{this.disabledWasSet&&(e.disabled=this.disabled),e.name=this.name,e.required=this.required,e.scale=this.scale,e.status=this.status})}getFocusableRadioButton(){return this.radioButtons.find(e=>!e.disabled)}radioButtonChangeHandler(e){this.selectedItem=e.target,this.required&&this.selectedItem&&this.status==="invalid"&&t(this),this.calciteRadioButtonGroupChange.emit()}render(){return this.el.role="radiogroup",s`${this.labelText&&p({labelText:this.labelText,required:this.required,tooltipText:this.messages.required})||""}<div aria-errormessage=${v.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaRequired=${this.required} class=${c(f.itemWrapper)}><slot></slot></div>${this.validationMessage&&this.status==="invalid"?u({icon:this.validationIcon,id:v.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`}};o("calcite-radio-button-group",a);export{a as RadioButtonGroup};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as W}from"./JXSCNDAH.js";import{a as t,b as x,c as S,d as r}from"./ICVHIOLT.js";import{a as G}from"./J3NX74VT.js";import{b as V}from"./N4Y4IVWT.js";import{a as I}from"./KETKIVWP.js";import"./HEQ6QW3K.js";import{a as j}from"./BUD3X4EV.js";import{c as U}from"./7XS2SBMV.js";import"./5K4OZJAZ.js";import{a as N,b as O}from"./FDHY2TZA.js";import{b as _}from"./WTNYMVTD.js";import{c as K}from"./TJGNWJF6.js";import{a as g}from"./54Y2XWNM.js";import{a as M}from"./BZZ3PDRE.js";import"./2IM7ZZ7U.js";import{a as L}from"./FGPKBUR3.js";import{a as R}from"./VMHJHFFS.js";import"./AGD2EOLY.js";import"./PO6YL62I.js";import{A as H,x as A,y as E,z as d}from"./RRBGCYLX.js";import{E as F,F as k,G as D,H as o,T as P,g as z,h as n,l as y,p as $}from"./G7VCDZAH.js";var q=z`:host([disabled]){opacity:var(--calcite-opacity-disabled);cursor:default;-webkit-user-select:none;user-select:none}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;inline-size:100%;block-size:100%;flex:1 1 auto;overflow:hidden;box-sizing:border-box;border-radius:var(--calcite-panel-corner-radius, var(--calcite-theme-corner-radius-none, var(--calcite-corner-radius-sharp)))}slot[name=alerts]::slotted(calcite-alert){block-size:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:var(--calcite-opacity-full)}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-panel-default-space: var(--calcite-theme-space-sm, var(--calcite-spacing-sm));--calcite-internal-panel-header-vertical-padding: var(--calcite-theme-space-sm-plus, var(--calcite-spacing-sm-plus))}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1)}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2)}:host([scale=s]) .header-content .icon{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]){--calcite-internal-panel-default-space: var(--calcite-theme-space-md, var(--calcite-spacing-md));--calcite-internal-panel-header-vertical-padding: var(--calcite-theme-space-md-plus, var(--calcite-spacing-md-plus))}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0)}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1)}:host([scale=m]) .header-content .icon{margin-inline-end:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host(:is([scale=s],[scale=m])){--calcite-internal-panel-action-spacing: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=l]){--calcite-internal-panel-action-spacing: var(--calcite-theme-space-xs, var(--calcite-spacing-xs));--calcite-internal-panel-default-space: var(--calcite-theme-space-lg, var(--calcite-spacing-lg));--calcite-internal-panel-header-vertical-padding: var(--calcite-theme-space-xl, var(--calcite-spacing-xl))}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1)}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0)}:host([scale=l]) .header-content .icon{margin-inline-end:var(--calcite-theme-space-lg, var(--calcite-spacing-lg))}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));background-color:var(--calcite-panel-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}.content-top{padding:var(--calcite-panel-content-top-space, var(--calcite-internal-panel-default-space))}.content-bottom{padding:var(--calcite-panel-content-bottom-space, var(--calcite-internal-panel-default-space))}.container{position:relative;background-color:var(--calcite-theme-color-surface-1, var(--calcite-color-background));margin:var(--calcite-space-none);display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:var(--calcite-space-none);overflow:hidden;box-sizing:border-box;color:var(--calcite-color-text-2);transition:max-block-size var(--calcite-animation-timing),inline-size var(--calcite-animation-timing);font-size:var(--calcite-font-size-relative-base)}.container *{box-sizing:border-box}.header{display:flex;flex-direction:column;z-index:var(--calcite-z-index-header);background-color:var(--calcite-panel-header-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-panel-header-border-block-end, var(--calcite-color-border-3)))}.header--no-row{border-block-end:0}.content-top--no-border{border-block-start:0}.header-container{display:flex;flex-direction:row;inline-size:100%;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3))}.header-top{inline-size:100%;border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-header-top-space, var(--calcite-internal-panel-default-space))}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:var(--calcite-space-md);padding-block:var(--calcite-space-md-plus);margin-inline-end:auto;justify-content:center}.header-content .heading-text-content{flex:1 1 auto;overflow:hidden}.header-content .heading,.header-content .description{display:block;flex:none;overflow-wrap:break-word;padding:var(--calcite-space-none);line-height:var(--calcite-font-line-height-relative-snug)}.header-content .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.header-content .heading:only-child{margin-block-end:var(--calcite-space-none)}.header-content .description{color:var(--calcite-panel-description-text-color, var(--calcite-color-text-2))}#close,#collapse,calcite-action-menu{--calcite-action-background-color: var(--calcite-panel-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-panel-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-panel-header-action-background-color-press);--calcite-action-text-color: var(--calcite-panel-header-action-text-color);--calcite-action-text-color-press: var(--calcite-panel-header-action-text-color-press)}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;margin:auto;gap:var(--calcite-internal-panel-action-spacing)}.header-actions--start{margin-inline-start:var(--calcite-internal-panel-action-spacing)}.header-actions--end{margin-inline-end:var(--calcite-internal-panel-action-spacing)}.content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;block-size:100%;outline-color:var(--calcite-color-transparent);color:var(--calcite-color-text-2);position:relative;padding:var(--calcite-panel-space, var(--calcite-panel-content-space, 0));background:var(--calcite-panel-background-color, var(--calcite-theme-color-surface-1, var(--calcite-color-background)))}.content-wrapper:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-1 * var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}.header-content{flex:1 1 auto;justify-content:center;padding-block:var(--calcite-internal-panel-header-vertical-padding);padding-inline:var(--calcite-internal-panel-default-space)}.header-content.header--slotted-content{padding:var(--calcite-panel-header-content-space, var(--calcite-internal-panel-header-vertical-padding) var(--calcite-internal-panel-default-space))}.header-content.header--non-slotted-content{align-items:center;flex-direction:row}.footer{font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);display:flex;margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:center;align-items:center;border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-footer-space, var(--calcite-panel-footer-padding, var(--calcite-internal-panel-default-space)));background-color:var(--calcite-panel-footer-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}.footer-content{display:flex;flex-direction:row;align-items:center;justify-content:center;flex:1 1 0%}.footer-start{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex:1 1 0%;margin-inline-end:auto;gap:var(--calcite-internal-panel-default-space)}.footer-end{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;flex:1 1 0%;margin-inline-start:auto;gap:var(--calcite-internal-panel-default-space)}.fab-container{position:sticky;inset-block-end:var(--calcite-space-none);margin-block:var(--calcite-space-none);margin-inline:auto;display:block;padding:var(--calcite-space-sm);z-index:var(--calcite-z-index-sticky);inset-inline:0;inline-size:fit-content}calcite-icon{--calcite-icon-color: var(--calcite-panel-icon-color, var(--calcite-ui-icon-color, var(--calcite-color-text-1)))}:host([hidden]){display:none}[hidden]{display:none}`,w=class extends D{constructor(){super(),this.containerRef=F(),this.resizeObserver=N("resize",()=>this.resizeHandler()),this.messages=M(),this._closed=!1,this.focusSetter=L()(this).setFocus,this.focusTrapController=W({focusTrapOptions:{allowOutsideClick:!0,escapeDeactivates:e=>(!e.defaultPrevented&&this.closable&&(this.emitCloseEvent(),e.preventDefault()),!1)}})(this),this.interactiveContainer=j(this),this.hasActionBar=!1,this.hasContentBottom=!1,this.hasContentTop=!1,this.hasEndActions=!1,this.hasFab=!1,this.hasFooterContent=!1,this.hasFooterEndContent=!1,this.hasFooterStartContent=!1,this.hasHeaderContent=!1,this.hasHeaderDescription=!1,this.hasHeaderHeading=!1,this.hasHeaderTop=!1,this.hasMenuItems=!1,this.hasStartActions=!1,this.showHeaderContent=!1,this.closable=!1,this.collapseDirection="down",this.collapsed=!1,this.collapsible=!1,this.disabled=!1,this.iconFlipRtl=!1,this.loading=!1,this.focusTrapEnabledByParent=!1,this.focusTrapDisabled=!1,this.menuOpen=!1,this.menuPlacement=V,this.overlayPositioning="absolute",this.scale="m",this.topLayerDisabled=!1,this.calcitePanelClose=$({cancelable:!0}),this.calcitePanelCollapse=$({cancelable:!1}),this.calcitePanelExpand=$({cancelable:!1}),this.calcitePanelScroll=$({cancelable:!1}),this.calcitePanelToggle=$({cancelable:!1}),this.listen("keydown",this.panelKeyDownHandler),this.listen("calcitePanelClose",this.panelCloseHandler)}static{this.properties={hasActionBar:[16,{},{state:!0}],hasContentBottom:[16,{},{state:!0}],hasContentTop:[16,{},{state:!0}],hasEndActions:[16,{},{state:!0}],hasFab:[16,{},{state:!0}],hasFooterContent:[16,{},{state:!0}],hasFooterEndContent:[16,{},{state:!0}],hasFooterStartContent:[16,{},{state:!0}],hasHeaderContent:[16,{},{state:!0}],hasHeaderDescription:[16,{},{state:!0}],hasHeaderHeading:[16,{},{state:!0}],hasHeaderTop:[16,{},{state:!0}],hasMenuItems:[16,{},{state:!0}],hasStartActions:[16,{},{state:!0}],showHeaderContent:[16,{},{state:!0}],beforeClose:[0,{},{attribute:!1}],closable:[7,{},{reflect:!0,type:Boolean}],closed:[7,{},{reflect:!0,type:Boolean}],collapseDirection:1,collapsed:[7,{},{reflect:!0,type:Boolean}],collapsible:[7,{},{reflect:!0,type:Boolean}],description:1,disabled:[7,{},{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{},{type:Number,reflect:!0}],icon:[3,{},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],loading:[7,{},{reflect:!0,type:Boolean}],focusTrapEnabledByParent:[5,{},{type:Boolean}],focusTrapDisabled:[5,{},{type:Boolean}],focusTrapOptions:[0,{},{attribute:!1}],menuFlipPlacements:[0,{},{attribute:!1}],menuOpen:[7,{},{reflect:!0,type:Boolean}],menuPlacement:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overlayPositioning:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=[G,q]}get hasHeaderRow(){return this.hasHeaderContent||!!this.heading||!!this.description||this.hasHeaderHeading||this.hasHeaderDescription||this.hasStartActions||this.hasEndActions||this.collapsible||this.closable||this.hasMenuItems}get closed(){return this._closed}set closed(e){let a=this._closed;e!==a&&this.setClosedState(e)}async scrollContentTo(e){this.panelScrollEl?.scrollTo(e)}async setFocus(e){return this.focusSetter(()=>this.containerRef.value,e)}async updateFocusTrapElements(e){this.focusTrapController.setExtraContainers(e),this.focusTrapController.updateContainerElements()}willUpdate(e){e.has("collapsed")&&this.hasUpdated&&(this.collapsed?this.calcitePanelCollapse.emit():this.calcitePanelExpand.emit())}updated(e){(e.has("closable")||e.has("closed")||e.has("focusTrapDisabled")||e.has("focusTrapEnabledByParent"))&&(this.hasDialogBehavior?this.focusTrapController.activate():this.focusTrapController.deactivate())}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}focusTrapDisabledOverride(){return this.focusTrapDisabled||!this.hasDialogBehavior}get hasDialogBehavior(){return!this.focusTrapDisabled&&!this.closed&&(this.closable||this.focusTrapEnabledByParent)}async setClosedState(e){if(this.beforeClose&&e)try{await this.beforeClose?.()}catch{return}this._closed=e}resizeHandler(){let{panelScrollEl:e}=this;if(!e||typeof e.scrollHeight!="number"||typeof e.offsetHeight!="number")return;e.scrollHeight>e.offsetHeight?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}closeClickHandler(){this.emitCloseEvent()}emitCloseEvent(){this.calcitePanelClose.emit()}panelKeyDownHandler(e){e.key!=="Escape"||e.defaultPrevented||this.closed||!this.closable||(e.preventDefault(),this.emitCloseEvent())}panelCloseHandler(e){e.defaultPrevented||e.target!==this.el||(this.closed=!0)}collapse(){this.collapsed=!this.collapsed,this.calcitePanelToggle.emit()}panelScrollHandler(){this.calcitePanelScroll.emit()}handleHeaderActionsStartSlotChange(e){this.hasStartActions=d(e)}handleHeaderActionsEndSlotChange(e){this.hasEndActions=d(e)}handleHeaderMenuActionsSlotChange(e){this.hasMenuItems=d(e)}handleActionBarSlotChange(e){let a=H(e).filter(U);a.forEach(i=>i.layout="horizontal"),this.hasActionBar=!!a.length}handleHeaderContentSlotChange(e){this.hasHeaderContent=d(e)}handleHeaderTopSlotChange(e){this.hasHeaderTop=d(e)}handleHeaderDescriptionSlotChange(e){this.hasHeaderDescription=E(e)||H(e).some(A)}handleHeaderHeadingSlotChange(e){this.hasHeaderHeading=E(e)||H(e).some(A)}handleFabSlotChange(e){this.hasFab=d(e)}handleFooterEndSlotChange(e){this.hasFooterEndContent=d(e)}handleFooterStartSlotChange(e){this.hasFooterStartContent=d(e)}handleFooterSlotChange(e){this.hasFooterContent=d(e)}contentBottomSlotChangeHandler(e){this.hasContentBottom=d(e)}contentTopSlotChangeHandler(e){this.hasContentTop=d(e)}setPanelScrollEl(e){O(this.resizeObserver,this.panelScrollEl,e),this.panelScrollEl=e}handleAlertsSlotChange(e){H(e)?.map(a=>{a.nodeName==="CALCITE-ALERT"&&(a.embedded=!0)})}renderHeaderContent(){let{heading:e,headingLevel:a,description:i,hasHeaderContent:l,hasHeaderDescription:c,hasHeaderHeading:s,icon:u,scale:p}=this,v=!!e||s,h=!!i||c,f=v||h,m=u?n`<calcite-icon class=${o(t.icon)} .flipRtl=${this.iconFlipRtl} .icon=${u} .scale=${R(p)}></calcite-icon>`:null,b=I({class:t.heading,hidden:!v,id:x.heading,level:a,children:n`<slot .hidden=${!s} name=${r.heading} @slotchange=${this.handleHeaderHeadingSlotChange}></slot>${s?null:e}`}),C=n`<span class=${o(t.description)} .hidden=${!h}><slot .hidden=${!c} name=${r.description} @slotchange=${this.handleHeaderDescriptionSlotChange}></slot>${c?null:i}</span>`;return g("header-content",n`<div class=${o({[t.headerContent]:!0,[t.headerNonSlottedContent]:!0})} .hidden=${l||!f}>${m}<div class=${o(t.headingTextContent)}>${b}${C}</div></div>`)}renderActionBar(){return n`<div class=${o(t.actionBarContainer)} .hidden=${!this.hasActionBar}><slot name=${r.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`}renderHeaderSlottedContent(){return g("slotted-header-content",n`<div class=${o({[t.headerContent]:!0,[t.headerSlottedContent]:!0})} .hidden=${!this.hasHeaderContent}><slot name=${r.headerContent} @slotchange=${this.handleHeaderContentSlotChange}></slot></div>`)}renderHeaderTop(){return n`<div class=${o(t.headerTop)} .hidden=${!this.hasHeaderTop}><slot name=${r.headerTop} @slotchange=${this.handleHeaderTopSlotChange}></slot></div>`}renderHeaderStartActions(){let{hasStartActions:e}=this;return g("header-actions-start",n`<div class=${o({[t.headerActionsStart]:!0,[t.headerActions]:!0})} .hidden=${!e}><slot name=${r.headerActionsStart} @slotchange=${this.handleHeaderActionsStartSlotChange}></slot></div>`)}renderHeaderActionsEnd(){let{hasEndActions:e,messages:a,closable:i,collapsed:l,collapseDirection:c,collapsible:s,hasMenuItems:u}=this,{collapse:p,expand:v,close:h}=a,f=[S.expand,S.collapse];c==="up"&&f.reverse();let m=s?n`<calcite-action .aria=${{expanded:!l}} .icon=${l?f[0]:f[1]} id=${x.collapse} .label=${p} @click=${this.collapse} .scale=${this.scale} .text=${p} title=${(l?v:p)??y}></calcite-action>`:null,b=i?n`<calcite-action .ariaLabel=${h} .icon=${S.close} id=${x.close} @click=${this.closeClickHandler} .scale=${this.scale} .text=${h} title=${h??y}></calcite-action>`:null,C=n`<slot name=${r.headerActionsEnd} @slotchange=${this.handleHeaderActionsEndSlotChange}></slot>`,B=e||m||b||u;return g("header-actions-end",n`<div class=${o({[t.headerActionsEnd]:!0,[t.headerActions]:!0})} .hidden=${!B}>${C}${this.renderMenu()}${m}${b}</div>`)}renderMenu(){let{hasMenuItems:e,messages:a,menuOpen:i,menuFlipPlacements:l,menuPlacement:c,scale:s}=this;return g("menu",n`<calcite-action-menu .flipPlacements=${l??["top","bottom"]} .hidden=${!e} .label=${a.options} .open=${i} .overlayPositioning=${this.overlayPositioning} .placement=${c} .scale=${s} .topLayerDisabled=${this.topLayerDisabled}><calcite-action class=${o(t.menuAction)} .icon=${S.menu} .scale=${s} slot=${K.trigger} .text=${a.options}></calcite-action><slot name=${r.headerMenuActions} @slotchange=${this.handleHeaderMenuActionsSlotChange}></slot></calcite-action-menu>`)}renderHeaderNode(){let{hasHeaderContent:e,hasHeaderDescription:a,hasHeaderHeading:i,hasHeaderTop:l,hasStartActions:c,hasEndActions:s,closable:u,collapsible:p,hasMenuItems:v,hasActionBar:h,hasContentTop:f,heading:m,description:b}=this,C=this.renderHeaderContent(),T=e||(!!m||!!b||i||a)||l||c||s||p||u||v||h||f;return this.showHeaderContent=T,n`<header class=${o({[t.header]:!0,[t.headerNoRow]:l&&!this.hasHeaderRow&&!h&&!f})} .hidden=${!(T||h||f)}>${this.renderHeaderTop()}<div class=${o({[t.headerContainer]:!0,[t.headerContainerBorderEnd]:h&&this.hasHeaderRow})} .hidden=${!T}>${this.renderHeaderStartActions()}${this.renderHeaderSlottedContent()}${C}${this.renderHeaderActionsEnd()}</div>${this.renderActionBar()}${this.renderContentTop()}</header>`}renderFooterNode(){let{hasFooterEndContent:e,hasFooterStartContent:a,hasFooterContent:i}=this,l=a||e||i;return n`<footer class=${o(t.footer)} .hidden=${!l}><div class=${o(t.footerContent)} .hidden=${!i}><slot name=${r.footer} @slotchange=${this.handleFooterSlotChange}></slot></div><div class=${o(t.footerStart)} .hidden=${i||!a}><slot name=${r.footerStart} @slotchange=${this.handleFooterStartSlotChange}></slot></div><div class=${o(t.footerEnd)} .hidden=${i||!e}><slot name=${r.footerEnd} @slotchange=${this.handleFooterEndSlotChange}></slot></div></footer>`}renderContent(){return n`<div class=${o(t.contentWrapper)} .hidden=${this.collapsible&&this.collapsed} @scroll=${this.panelScrollHandler} ${k(this.setPanelScrollEl)}><slot></slot>${this.renderFab()}</div>`}renderContentBottom(){return n`<div class=${o(t.contentBottom)} .hidden=${!this.hasContentBottom}><slot name=${r.contentBottom} @slotchange=${this.contentBottomSlotChangeHandler}></slot></div>`}renderContentTop(){return n`<div class=${o({[t.contentTop]:!0,[t.contentTopNoBorder]:this.hasHeaderTop&&!this.hasHeaderRow&&!this.hasActionBar})} .hidden=${!this.hasContentTop}><slot name=${r.contentTop} @slotchange=${this.contentTopSlotChangeHandler}></slot></div>`}renderFab(){return n`<div class=${o(t.fabContainer)} .hidden=${!this.hasFab}><slot name=${r.fab} @slotchange=${this.handleFabSlotChange}></slot></div>`}render(){let{disabled:e,loading:a,closed:i,heading:l,description:c}=this,s=this.hasDialogBehavior,u=!!l||this.hasHeaderHeading,p=n`<div aria-labelledby=${(s&&u?x.heading:void 0)??y} .ariaBusy=${_(a,void 0)} .ariaDescription=${s&&c?c:void 0} .ariaLabel=${s&&l&&!this.hasHeaderHeading?l:void 0} .ariaLive=${s?"polite":void 0} class=${o(t.container)} .hidden=${i} .role=${s?"dialog":"article"} ${k(this.containerRef)}>${this.renderHeaderNode()}${this.renderContent()}${this.renderContentBottom()}${this.renderFooterNode()}${g("alerts",n`<slot name=${r.alerts} @slotchange=${this.handleAlertsSlotChange}></slot>`)}</div>`;return this.interactiveContainer({disabled:e,children:n`${p}${a?n`<calcite-scrim .loading=${a}></calcite-scrim>`:null}`})}};P("calcite-panel",w);export{w as Panel};
2
+ import{a as W}from"./LW757VXF.js";import{a as t,b as x,c as S,d as r}from"./ICVHIOLT.js";import{a as G}from"./5HV3MQAN.js";import{b as V}from"./27T56KCJ.js";import{a as I}from"./B6MKXPF6.js";import"./5NP4NQ75.js";import{a as j}from"./SHMDC6YI.js";import{c as U}from"./7XS2SBMV.js";import"./5K4OZJAZ.js";import{a as N,b as O}from"./FDHY2TZA.js";import{b as _}from"./WTNYMVTD.js";import{c as K}from"./TJGNWJF6.js";import{a as g}from"./UXLAVDPR.js";import{a as M}from"./EHNEXHJE.js";import"./2IM7ZZ7U.js";import{a as L}from"./3UY6U54N.js";import{a as R}from"./VMHJHFFS.js";import"./LQBOZRSZ.js";import"./LGADD3GQ.js";import{A as H,x as A,y as E,z as d}from"./RRBGCYLX.js";import{E as F,F as k,G as D,H as o,T as P,g as z,h as n,l as y,p as $}from"./3KAPB7Y4.js";var q=z`:host([disabled]){opacity:var(--calcite-opacity-disabled);cursor:default;-webkit-user-select:none;user-select:none}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;inline-size:100%;block-size:100%;flex:1 1 auto;overflow:hidden;box-sizing:border-box;border-radius:var(--calcite-panel-corner-radius, var(--calcite-theme-corner-radius-none, var(--calcite-corner-radius-sharp)))}slot[name=alerts]::slotted(calcite-alert){block-size:0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:var(--calcite-opacity-full)}.interaction-container{display:contents}:host([scale=s]){--calcite-internal-panel-default-space: var(--calcite-theme-space-sm, var(--calcite-spacing-sm));--calcite-internal-panel-header-vertical-padding: var(--calcite-theme-space-sm-plus, var(--calcite-spacing-sm-plus))}:host([scale=s]) .header-content .heading{font-size:var(--calcite-font-size--1)}:host([scale=s]) .header-content .description{font-size:var(--calcite-font-size--2)}:host([scale=s]) .header-content .icon{margin-inline-end:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=m]){--calcite-internal-panel-default-space: var(--calcite-theme-space-md, var(--calcite-spacing-md));--calcite-internal-panel-header-vertical-padding: var(--calcite-theme-space-md-plus, var(--calcite-spacing-md-plus))}:host([scale=m]) .header-content .heading{font-size:var(--calcite-font-size-0)}:host([scale=m]) .header-content .description{font-size:var(--calcite-font-size--1)}:host([scale=m]) .header-content .icon{margin-inline-end:var(--calcite-theme-space-md, var(--calcite-spacing-md))}:host(:is([scale=s],[scale=m])){--calcite-internal-panel-action-spacing: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=l]){--calcite-internal-panel-action-spacing: var(--calcite-theme-space-xs, var(--calcite-spacing-xs));--calcite-internal-panel-default-space: var(--calcite-theme-space-lg, var(--calcite-spacing-lg));--calcite-internal-panel-header-vertical-padding: var(--calcite-theme-space-xl, var(--calcite-spacing-xl))}:host([scale=l]) .header-content .heading{font-size:var(--calcite-font-size-1)}:host([scale=l]) .header-content .description{font-size:var(--calcite-font-size-0)}:host([scale=l]) .header-content .icon{margin-inline-end:var(--calcite-theme-space-lg, var(--calcite-spacing-lg))}.content-top,.content-bottom{display:flex;align-items:flex-start;align-self:stretch;border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));background-color:var(--calcite-panel-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}.content-top{padding:var(--calcite-panel-content-top-space, var(--calcite-internal-panel-default-space))}.content-bottom{padding:var(--calcite-panel-content-bottom-space, var(--calcite-internal-panel-default-space))}.container{position:relative;background-color:var(--calcite-theme-color-surface-1, var(--calcite-color-background));margin:var(--calcite-space-none);display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:var(--calcite-space-none);overflow:hidden;box-sizing:border-box;color:var(--calcite-color-text-2);transition:max-block-size var(--calcite-animation-timing),inline-size var(--calcite-animation-timing);font-size:var(--calcite-font-size-relative-base)}.container *{box-sizing:border-box}.header{display:flex;flex-direction:column;z-index:var(--calcite-z-index-header);background-color:var(--calcite-panel-header-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-panel-header-border-block-end, var(--calcite-color-border-3)))}.header--no-row{border-block-end:0}.content-top--no-border{border-block-start:0}.header-container{display:flex;flex-direction:row;inline-size:100%;align-items:stretch;justify-content:flex-start;flex:0 0 auto}.header-container--border-end{border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3))}.header-top{inline-size:100%;border-block-end:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-header-top-space, var(--calcite-internal-panel-default-space))}.action-bar-container{inline-size:100%}.action-bar-container ::slotted(calcite-action-bar){inline-size:100%}.header-content{display:flex;flex-direction:column;overflow:hidden;padding-inline:var(--calcite-space-md);padding-block:var(--calcite-space-md-plus);margin-inline-end:auto;justify-content:center}.header-content .heading-text-content{flex:1 1 auto;overflow:hidden}.header-content .heading,.header-content .description{display:block;flex:none;overflow-wrap:break-word;padding:var(--calcite-space-none);line-height:var(--calcite-font-line-height-relative-snug)}.header-content .heading{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-panel-heading-text-color, var(--calcite-color-text-1))}.header-content .heading:only-child{margin-block-end:var(--calcite-space-none)}.header-content .description{color:var(--calcite-panel-description-text-color, var(--calcite-color-text-2))}#close,#collapse,calcite-action-menu{--calcite-action-background-color: var(--calcite-panel-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-panel-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-panel-header-action-background-color-press);--calcite-action-text-color: var(--calcite-panel-header-action-text-color);--calcite-action-text-color-press: var(--calcite-panel-header-action-text-color-press)}.header-actions{display:flex;flex-direction:row;flex-wrap:nowrap;margin:auto;gap:var(--calcite-internal-panel-action-spacing)}.header-actions--start{margin-inline-start:var(--calcite-internal-panel-action-spacing)}.header-actions--end{margin-inline-end:var(--calcite-internal-panel-action-spacing)}.content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;overflow:auto;block-size:100%;outline-color:var(--calcite-color-transparent);color:var(--calcite-color-text-2);position:relative;padding:var(--calcite-panel-space, var(--calcite-panel-content-space, 0));background:var(--calcite-panel-background-color, var(--calcite-theme-color-surface-1, var(--calcite-color-background)))}.content-wrapper:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-1 * var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}.header-content{flex:1 1 auto;justify-content:center;padding-block:var(--calcite-internal-panel-header-vertical-padding);padding-inline:var(--calcite-internal-panel-default-space)}.header-content.header--slotted-content{padding:var(--calcite-panel-header-content-space, var(--calcite-internal-panel-header-vertical-padding) var(--calcite-internal-panel-default-space))}.header-content.header--non-slotted-content{align-items:center;flex-direction:row}.footer{font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug);display:flex;margin-block-start:auto;flex-direction:row;align-content:space-between;justify-content:center;align-items:center;border-block-start:1px solid var(--calcite-panel-border-color, var(--calcite-color-border-3));padding:var(--calcite-panel-footer-space, var(--calcite-panel-footer-padding, var(--calcite-internal-panel-default-space)));background-color:var(--calcite-panel-footer-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}.footer-content{display:flex;flex-direction:row;align-items:center;justify-content:center;flex:1 1 0%}.footer-start{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex:1 1 0%;margin-inline-end:auto;gap:var(--calcite-internal-panel-default-space)}.footer-end{display:flex;flex-direction:row;align-items:center;justify-content:flex-end;flex:1 1 0%;margin-inline-start:auto;gap:var(--calcite-internal-panel-default-space)}.fab-container{position:sticky;inset-block-end:var(--calcite-space-none);margin-block:var(--calcite-space-none);margin-inline:auto;display:block;padding:var(--calcite-space-sm);z-index:var(--calcite-z-index-sticky);inset-inline:0;inline-size:fit-content}calcite-icon{--calcite-icon-color: var(--calcite-panel-icon-color, var(--calcite-ui-icon-color, var(--calcite-color-text-1)))}:host([hidden]){display:none}[hidden]{display:none}`,w=class extends D{constructor(){super(),this.containerRef=F(),this.resizeObserver=N("resize",()=>this.resizeHandler()),this.messages=M(),this._closed=!1,this.focusSetter=L()(this).setFocus,this.focusTrapController=W({focusTrapOptions:{allowOutsideClick:!0,escapeDeactivates:e=>(!e.defaultPrevented&&this.closable&&(this.emitCloseEvent(),e.preventDefault()),!1)}})(this),this.interactiveContainer=j(this),this.hasActionBar=!1,this.hasContentBottom=!1,this.hasContentTop=!1,this.hasEndActions=!1,this.hasFab=!1,this.hasFooterContent=!1,this.hasFooterEndContent=!1,this.hasFooterStartContent=!1,this.hasHeaderContent=!1,this.hasHeaderDescription=!1,this.hasHeaderHeading=!1,this.hasHeaderTop=!1,this.hasMenuItems=!1,this.hasStartActions=!1,this.showHeaderContent=!1,this.closable=!1,this.collapseDirection="down",this.collapsed=!1,this.collapsible=!1,this.disabled=!1,this.iconFlipRtl=!1,this.loading=!1,this.focusTrapEnabledByParent=!1,this.focusTrapDisabled=!1,this.menuOpen=!1,this.menuPlacement=V,this.overlayPositioning="absolute",this.scale="m",this.topLayerDisabled=!1,this.calcitePanelClose=$({cancelable:!0}),this.calcitePanelCollapse=$({cancelable:!1}),this.calcitePanelExpand=$({cancelable:!1}),this.calcitePanelScroll=$({cancelable:!1}),this.calcitePanelToggle=$({cancelable:!1}),this.listen("keydown",this.panelKeyDownHandler),this.listen("calcitePanelClose",this.panelCloseHandler)}static{this.properties={hasActionBar:[16,{},{state:!0}],hasContentBottom:[16,{},{state:!0}],hasContentTop:[16,{},{state:!0}],hasEndActions:[16,{},{state:!0}],hasFab:[16,{},{state:!0}],hasFooterContent:[16,{},{state:!0}],hasFooterEndContent:[16,{},{state:!0}],hasFooterStartContent:[16,{},{state:!0}],hasHeaderContent:[16,{},{state:!0}],hasHeaderDescription:[16,{},{state:!0}],hasHeaderHeading:[16,{},{state:!0}],hasHeaderTop:[16,{},{state:!0}],hasMenuItems:[16,{},{state:!0}],hasStartActions:[16,{},{state:!0}],showHeaderContent:[16,{},{state:!0}],beforeClose:[0,{},{attribute:!1}],closable:[7,{},{reflect:!0,type:Boolean}],closed:[7,{},{reflect:!0,type:Boolean}],collapseDirection:1,collapsed:[7,{},{reflect:!0,type:Boolean}],collapsible:[7,{},{reflect:!0,type:Boolean}],description:1,disabled:[7,{},{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{},{type:Number,reflect:!0}],icon:[3,{},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],loading:[7,{},{reflect:!0,type:Boolean}],focusTrapEnabledByParent:[5,{},{type:Boolean}],focusTrapDisabled:[5,{},{type:Boolean}],focusTrapOptions:[0,{},{attribute:!1}],menuFlipPlacements:[0,{},{attribute:!1}],menuOpen:[7,{},{reflect:!0,type:Boolean}],menuPlacement:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overlayPositioning:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=[G,q]}get hasHeaderRow(){return this.hasHeaderContent||!!this.heading||!!this.description||this.hasHeaderHeading||this.hasHeaderDescription||this.hasStartActions||this.hasEndActions||this.collapsible||this.closable||this.hasMenuItems}get closed(){return this._closed}set closed(e){let a=this._closed;e!==a&&this.setClosedState(e)}async scrollContentTo(e){this.panelScrollEl?.scrollTo(e)}async setFocus(e){return this.focusSetter(()=>this.containerRef.value,e)}async updateFocusTrapElements(e){this.focusTrapController.setExtraContainers(e),this.focusTrapController.updateContainerElements()}willUpdate(e){e.has("collapsed")&&this.hasUpdated&&(this.collapsed?this.calcitePanelCollapse.emit():this.calcitePanelExpand.emit())}updated(e){(e.has("closable")||e.has("closed")||e.has("focusTrapDisabled")||e.has("focusTrapEnabledByParent"))&&(this.hasDialogBehavior?this.focusTrapController.activate():this.focusTrapController.deactivate())}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}focusTrapDisabledOverride(){return this.focusTrapDisabled||!this.hasDialogBehavior}get hasDialogBehavior(){return!this.focusTrapDisabled&&!this.closed&&(this.closable||this.focusTrapEnabledByParent)}async setClosedState(e){if(this.beforeClose&&e)try{await this.beforeClose?.()}catch{return}this._closed=e}resizeHandler(){let{panelScrollEl:e}=this;if(!e||typeof e.scrollHeight!="number"||typeof e.offsetHeight!="number")return;e.scrollHeight>e.offsetHeight?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}closeClickHandler(){this.emitCloseEvent()}emitCloseEvent(){this.calcitePanelClose.emit()}panelKeyDownHandler(e){e.key!=="Escape"||e.defaultPrevented||this.closed||!this.closable||(e.preventDefault(),this.emitCloseEvent())}panelCloseHandler(e){e.defaultPrevented||e.target!==this.el||(this.closed=!0)}collapse(){this.collapsed=!this.collapsed,this.calcitePanelToggle.emit()}panelScrollHandler(){this.calcitePanelScroll.emit()}handleHeaderActionsStartSlotChange(e){this.hasStartActions=d(e)}handleHeaderActionsEndSlotChange(e){this.hasEndActions=d(e)}handleHeaderMenuActionsSlotChange(e){this.hasMenuItems=d(e)}handleActionBarSlotChange(e){let a=H(e).filter(U);a.forEach(i=>i.layout="horizontal"),this.hasActionBar=!!a.length}handleHeaderContentSlotChange(e){this.hasHeaderContent=d(e)}handleHeaderTopSlotChange(e){this.hasHeaderTop=d(e)}handleHeaderDescriptionSlotChange(e){this.hasHeaderDescription=E(e)||H(e).some(A)}handleHeaderHeadingSlotChange(e){this.hasHeaderHeading=E(e)||H(e).some(A)}handleFabSlotChange(e){this.hasFab=d(e)}handleFooterEndSlotChange(e){this.hasFooterEndContent=d(e)}handleFooterStartSlotChange(e){this.hasFooterStartContent=d(e)}handleFooterSlotChange(e){this.hasFooterContent=d(e)}contentBottomSlotChangeHandler(e){this.hasContentBottom=d(e)}contentTopSlotChangeHandler(e){this.hasContentTop=d(e)}setPanelScrollEl(e){O(this.resizeObserver,this.panelScrollEl,e),this.panelScrollEl=e}handleAlertsSlotChange(e){H(e)?.map(a=>{a.nodeName==="CALCITE-ALERT"&&(a.embedded=!0)})}renderHeaderContent(){let{heading:e,headingLevel:a,description:i,hasHeaderContent:l,hasHeaderDescription:c,hasHeaderHeading:s,icon:u,scale:p}=this,v=!!e||s,h=!!i||c,f=v||h,m=u?n`<calcite-icon class=${o(t.icon)} .flipRtl=${this.iconFlipRtl} .icon=${u} .scale=${R(p)}></calcite-icon>`:null,b=I({class:t.heading,hidden:!v,id:x.heading,level:a,children:n`<slot .hidden=${!s} name=${r.heading} @slotchange=${this.handleHeaderHeadingSlotChange}></slot>${s?null:e}`}),C=n`<span class=${o(t.description)} .hidden=${!h}><slot .hidden=${!c} name=${r.description} @slotchange=${this.handleHeaderDescriptionSlotChange}></slot>${c?null:i}</span>`;return g("header-content",n`<div class=${o({[t.headerContent]:!0,[t.headerNonSlottedContent]:!0})} .hidden=${l||!f}>${m}<div class=${o(t.headingTextContent)}>${b}${C}</div></div>`)}renderActionBar(){return n`<div class=${o(t.actionBarContainer)} .hidden=${!this.hasActionBar}><slot name=${r.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`}renderHeaderSlottedContent(){return g("slotted-header-content",n`<div class=${o({[t.headerContent]:!0,[t.headerSlottedContent]:!0})} .hidden=${!this.hasHeaderContent}><slot name=${r.headerContent} @slotchange=${this.handleHeaderContentSlotChange}></slot></div>`)}renderHeaderTop(){return n`<div class=${o(t.headerTop)} .hidden=${!this.hasHeaderTop}><slot name=${r.headerTop} @slotchange=${this.handleHeaderTopSlotChange}></slot></div>`}renderHeaderStartActions(){let{hasStartActions:e}=this;return g("header-actions-start",n`<div class=${o({[t.headerActionsStart]:!0,[t.headerActions]:!0})} .hidden=${!e}><slot name=${r.headerActionsStart} @slotchange=${this.handleHeaderActionsStartSlotChange}></slot></div>`)}renderHeaderActionsEnd(){let{hasEndActions:e,messages:a,closable:i,collapsed:l,collapseDirection:c,collapsible:s,hasMenuItems:u}=this,{collapse:p,expand:v,close:h}=a,f=[S.expand,S.collapse];c==="up"&&f.reverse();let m=s?n`<calcite-action .aria=${{expanded:!l}} .icon=${l?f[0]:f[1]} id=${x.collapse} .label=${p} @click=${this.collapse} .scale=${this.scale} .text=${p} title=${(l?v:p)??y}></calcite-action>`:null,b=i?n`<calcite-action .ariaLabel=${h} .icon=${S.close} id=${x.close} @click=${this.closeClickHandler} .scale=${this.scale} .text=${h} title=${h??y}></calcite-action>`:null,C=n`<slot name=${r.headerActionsEnd} @slotchange=${this.handleHeaderActionsEndSlotChange}></slot>`,B=e||m||b||u;return g("header-actions-end",n`<div class=${o({[t.headerActionsEnd]:!0,[t.headerActions]:!0})} .hidden=${!B}>${C}${this.renderMenu()}${m}${b}</div>`)}renderMenu(){let{hasMenuItems:e,messages:a,menuOpen:i,menuFlipPlacements:l,menuPlacement:c,scale:s}=this;return g("menu",n`<calcite-action-menu .flipPlacements=${l??["top","bottom"]} .hidden=${!e} .label=${a.options} .open=${i} .overlayPositioning=${this.overlayPositioning} .placement=${c} .scale=${s} .topLayerDisabled=${this.topLayerDisabled}><calcite-action class=${o(t.menuAction)} .icon=${S.menu} .scale=${s} slot=${K.trigger} .text=${a.options}></calcite-action><slot name=${r.headerMenuActions} @slotchange=${this.handleHeaderMenuActionsSlotChange}></slot></calcite-action-menu>`)}renderHeaderNode(){let{hasHeaderContent:e,hasHeaderDescription:a,hasHeaderHeading:i,hasHeaderTop:l,hasStartActions:c,hasEndActions:s,closable:u,collapsible:p,hasMenuItems:v,hasActionBar:h,hasContentTop:f,heading:m,description:b}=this,C=this.renderHeaderContent(),T=e||(!!m||!!b||i||a)||l||c||s||p||u||v||h||f;return this.showHeaderContent=T,n`<header class=${o({[t.header]:!0,[t.headerNoRow]:l&&!this.hasHeaderRow&&!h&&!f})} .hidden=${!(T||h||f)}>${this.renderHeaderTop()}<div class=${o({[t.headerContainer]:!0,[t.headerContainerBorderEnd]:h&&this.hasHeaderRow})} .hidden=${!T}>${this.renderHeaderStartActions()}${this.renderHeaderSlottedContent()}${C}${this.renderHeaderActionsEnd()}</div>${this.renderActionBar()}${this.renderContentTop()}</header>`}renderFooterNode(){let{hasFooterEndContent:e,hasFooterStartContent:a,hasFooterContent:i}=this,l=a||e||i;return n`<footer class=${o(t.footer)} .hidden=${!l}><div class=${o(t.footerContent)} .hidden=${!i}><slot name=${r.footer} @slotchange=${this.handleFooterSlotChange}></slot></div><div class=${o(t.footerStart)} .hidden=${i||!a}><slot name=${r.footerStart} @slotchange=${this.handleFooterStartSlotChange}></slot></div><div class=${o(t.footerEnd)} .hidden=${i||!e}><slot name=${r.footerEnd} @slotchange=${this.handleFooterEndSlotChange}></slot></div></footer>`}renderContent(){return n`<div class=${o(t.contentWrapper)} .hidden=${this.collapsible&&this.collapsed} @scroll=${this.panelScrollHandler} ${k(this.setPanelScrollEl)}><slot></slot>${this.renderFab()}</div>`}renderContentBottom(){return n`<div class=${o(t.contentBottom)} .hidden=${!this.hasContentBottom}><slot name=${r.contentBottom} @slotchange=${this.contentBottomSlotChangeHandler}></slot></div>`}renderContentTop(){return n`<div class=${o({[t.contentTop]:!0,[t.contentTopNoBorder]:this.hasHeaderTop&&!this.hasHeaderRow&&!this.hasActionBar})} .hidden=${!this.hasContentTop}><slot name=${r.contentTop} @slotchange=${this.contentTopSlotChangeHandler}></slot></div>`}renderFab(){return n`<div class=${o(t.fabContainer)} .hidden=${!this.hasFab}><slot name=${r.fab} @slotchange=${this.handleFabSlotChange}></slot></div>`}render(){let{disabled:e,loading:a,closed:i,heading:l,description:c}=this,s=this.hasDialogBehavior,u=!!l||this.hasHeaderHeading,p=n`<div aria-labelledby=${(s&&u?x.heading:void 0)??y} .ariaBusy=${_(a,void 0)} .ariaDescription=${s&&c?c:void 0} .ariaLabel=${s&&l&&!this.hasHeaderHeading?l:void 0} .ariaLive=${s?"polite":void 0} class=${o(t.container)} .hidden=${i} .role=${s?"dialog":"article"} ${k(this.containerRef)}>${this.renderHeaderNode()}${this.renderContent()}${this.renderContentBottom()}${this.renderFooterNode()}${g("alerts",n`<slot name=${r.alerts} @slotchange=${this.handleAlertsSlotChange}></slot>`)}</div>`;return this.interactiveContainer({disabled:e,children:n`${p}${a?n`<calcite-scrim .loading=${a}></calcite-scrim>`:null}`})}};P("calcite-panel",w);export{w as Panel};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{b as p}from"./FR6PIDS2.js";import{b as E}from"./ASXRP7XI.js";import{a as u}from"./FDHY2TZA.js";import{c as S}from"./2IM7ZZ7U.js";import{a as y}from"./FGPKBUR3.js";import"./VMHJHFFS.js";import"./AGD2EOLY.js";import"./PO6YL62I.js";import{z as n}from"./RRBGCYLX.js";import{E as m,F as g,G as d,H as o,T as v,g as c,h as s,p as h}from"./G7VCDZAH.js";var a={container:"container",containerContent:"container-content",hasProgress:"progress-bar",hide:"hide",primary:"primary",secondary:"secondary",tertiary:"tertiary"},e={logo:"logo",user:"user",progress:"progress",navigationAction:"navigation-action",contentStart:"content-start",contentEnd:"content-end",contentCenter:"content-center",navSecondary:"navigation-secondary",navTertiary:"navigation-tertiary"},C={hamburger:"hamburger"},f=S("calcite-navigation"),H=c`:host([hidden]){display:none}[hidden]{display:none}:host{display:block}:host([scale=s]){--calcite-internal-navigation-primary-height: 3rem;--calcite-internal-navigation-secondary-height: 2.25rem;--calcite-internal-navigation-tertiary-height: 2.25rem;--calcite-internal-navigation-navigation-action-margin-inline: 8px}:host([scale=m]){--calcite-internal-navigation-primary-height: 4rem;--calcite-internal-navigation-secondary-height: 3rem;--calcite-internal-navigation-tertiary-height: 3rem;--calcite-internal-navigation-navigation-action-margin-inline: var(--calcite-font-size-sm)}:host([scale=l]){--calcite-internal-navigation-primary-height: 4.75rem;--calcite-internal-navigation-secondary-height: 4rem;--calcite-internal-navigation-tertiary-height: 4rem;--calcite-internal-navigation-navigation-action-margin-inline: var(--calcite-font-size-md)}.container{display:flex;flex-direction:column;inline-size:100%;margin-block:var(--calcite-space-none);margin-inline:auto;background-color:var(--calcite-navigation-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}.container.primary,.container.secondary,.container.tertiary{border-block-end:1px solid;border-block-end-color:var(--calcite-navigation-border-color, var(--calcite-color-border-3))}.user,.logo{display:flex}.hide{display:none}.primary{block-size:var(--calcite-internal-navigation-primary-height)}.secondary{block-size:var(--calcite-internal-navigation-secondary-height)}.tertiary{block-size:var(--calcite-internal-navigation-tertiary-height)}.container-content{display:flex;block-size:100%;margin-inline:auto;margin-block:0;inline-size:var(--calcite-navigation-width, 100%);max-inline-size:100%}.container-content.progress-bar{margin-block-start:.125rem}slot[name]{display:flex;flex-direction:row}slot[name=navigation-secondary]::slotted(calcite-navigation),slot[name=navigation-tertiary]::slotted(calcite-navigation){inline-size:100%}slot[name=content-start]::slotted(*),slot[name=content-center]::slotted(*),slot[name=content-end]::slotted(*){display:flex;flex-direction:row;align-items:center}slot[name=progress],slot[name=progress] calcite-progress{inset-block-start:0;inset-inline:0}slot[name=content-end]{margin-inline-start:auto}slot[name=content-start]{margin-inline-end:auto}slot[name=content-end],slot[name=logo]~slot[name=user],slot[name=user]:only-child{margin-inline-start:auto}slot[name=content-center]{margin-inline:auto}slot[name=content-start]~slot[name=content-center]{margin-inline-start:var(--calcite-space-none)}slot[name=content-start]~slot[name=content-end],slot[name=content-center]~slot[name=content-end],slot[name=content-center]~slot[name=user],slot[name=content-end]~slot[name=user]{margin:var(--calcite-space-none)}slot[name=navigation-action] calcite-action{align-self:center;margin-inline-start:var(--calcite-internal-navigation-navigation-action-margin-inline)}`,r=class extends d{constructor(){super(...arguments),this.navigationActionRef=m(),this.focusSetter=y()(this).setFocus,this.mutationObserver=u("mutation",()=>{this.updateNavigationLogo(),this.updateNavigationUser(),this.updateNestedNavigation()}),this.logoSlotHasElements=!1,this.navigationActionSlotHasElements=!1,this.primaryContentCenterSlotHasElements=!1,this.primaryContentEndSlotHasElements=!1,this.primaryContentStartSlotHasElements=!1,this.progressSlotHasElement=!1,this.secondarySlotHasElements=!1,this.tertiarySlotHasElements=!1,this.userSlotHasElements=!1,this.navigationAction=!1,this.scale="m",this.calciteNavigationActionSelect=h({cancelable:!1})}static{this.properties={logoSlotHasElements:[16,{},{state:!0}],navigationActionSlotHasElements:[16,{},{state:!0}],primaryContentCenterSlotHasElements:[16,{},{state:!0}],primaryContentEndSlotHasElements:[16,{},{state:!0}],primaryContentStartSlotHasElements:[16,{},{state:!0}],progressSlotHasElement:[16,{},{state:!0}],secondarySlotHasElements:[16,{},{state:!0}],tertiarySlotHasElements:[16,{},{state:!0}],userSlotHasElements:[16,{},{state:!0}],label:1,navigationAction:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}]}}static{this.styles=H}async setFocus(t){return this.focusSetter(()=>this.navigationActionRef.value,t)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateNavigationLogo(),this.updateNavigationUser(),this.updateNestedNavigation()}updated(t){(t.has("scale")||t.has("logoSlotHasElements")||t.has("userSlotHasElements")||t.has("secondarySlotHasElements")||t.has("tertiarySlotHasElements"))&&(this.updateNavigationLogo(),this.updateNavigationUser(),this.updateNestedNavigation())}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}actionClickHandler(){this.calciteNavigationActionSelect.emit()}handleUserSlotChange(t){this.isPrimaryLevel()&&(this.userSlotHasElements=n(t))}handleLogoSlotChange(t){this.isPrimaryLevel()&&(this.logoSlotHasElements=n(t))}handleContentStartSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentStartSlotHasElements=n(t))}handleContentEndSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentEndSlotHasElements=n(t))}handleContentCenterSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentCenterSlotHasElements=n(t))}handleSecondarySlotChange(t){this.secondarySlotHasElements=n(t)}handleTertiarySlotChange(t){this.tertiarySlotHasElements=n(t)}handleMenuActionSlotChange(t){this.isPrimaryLevel()&&(this.navigationActionSlotHasElements=n(t),this.navigationActionSlotHasElements&&(this.navigationAction=!1))}handleProgressSlotChange(t){this.isPrimaryLevel()&&(this.progressSlotHasElement=n(t))}isPrimaryLevel(){return this.el.slot!==e.navSecondary&&this.el.slot!==e.navTertiary}getOwnedNavigationElements(t,i){let l=this.el.shadowRoot?.querySelector(`slot[name="${t}"]`);return l?l.assignedElements({flatten:!0}).filter(i):[]}updateNavigationLogo(){this.getOwnedNavigationElements(e.logo,p).forEach(t=>{t.scale=this.scale})}updateNavigationUser(){this.getOwnedNavigationElements(e.user,E).forEach(t=>{t.scale=this.scale})}updateNestedNavigation(){[...this.getOwnedNavigationElements(e.navSecondary,f),...this.getOwnedNavigationElements(e.navTertiary,f)].forEach(i=>{i!==this.el&&(i.scale=this.scale)})}renderMenuAction(){return s`<slot name=${e.navigationAction} @slotchange=${this.handleMenuActionSlotChange}>${this.navigationAction&&s`<calcite-action .icon=${C.hamburger} @click=${this.actionClickHandler} .text=${this.label} ${g(this.navigationActionRef)}></calcite-action>`||""}</slot>`}render(){let t=this.logoSlotHasElements||this.userSlotHasElements||this.navigationActionSlotHasElements||this.primaryContentCenterSlotHasElements||this.primaryContentEndSlotHasElements||this.primaryContentStartSlotHasElements||this.navigationAction,i=this.el.slot;return s`<div class=${o({[a.container]:!0,[a.secondary]:i===e.navSecondary,[a.tertiary]:i===e.navTertiary,[a.primary]:t})}><div class=${o({[a.hide]:!this.progressSlotHasElement,[e.progress]:!0})}><slot name=${e.progress} @slotchange=${this.handleProgressSlotChange}></slot></div><div class=${o({[a.containerContent]:!0,[a.hasProgress]:this.progressSlotHasElement})}>${this.renderMenuAction()}<div class=${o({[a.hide]:!this.logoSlotHasElements,[e.logo]:!0})}><slot name=${e.logo} @slotchange=${this.handleLogoSlotChange}></slot></div><slot name=${e.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot><slot name=${e.contentCenter} @slotchange=${this.handleContentCenterSlotChange}></slot><slot name=${e.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot><div class=${o({[a.hide]:!this.userSlotHasElements,[e.user]:!0})}><slot name=${e.user} @slotchange=${this.handleUserSlotChange}></slot></div></div></div><slot name=${e.navSecondary} @slotchange=${this.handleSecondarySlotChange}></slot><slot name=${e.navTertiary} @slotchange=${this.handleTertiarySlotChange}></slot>`}};v("calcite-navigation",r);export{r as Navigation};
2
+ import{b as p}from"./FR6PIDS2.js";import{b as E}from"./ASXRP7XI.js";import{a as u}from"./FDHY2TZA.js";import{c as S}from"./2IM7ZZ7U.js";import{a as y}from"./3UY6U54N.js";import"./VMHJHFFS.js";import"./LQBOZRSZ.js";import"./LGADD3GQ.js";import{z as n}from"./RRBGCYLX.js";import{E as m,F as g,G as d,H as o,T as v,g as c,h as s,p as h}from"./3KAPB7Y4.js";var a={container:"container",containerContent:"container-content",hasProgress:"progress-bar",hide:"hide",primary:"primary",secondary:"secondary",tertiary:"tertiary"},e={logo:"logo",user:"user",progress:"progress",navigationAction:"navigation-action",contentStart:"content-start",contentEnd:"content-end",contentCenter:"content-center",navSecondary:"navigation-secondary",navTertiary:"navigation-tertiary"},C={hamburger:"hamburger"},f=S("calcite-navigation"),H=c`:host([hidden]){display:none}[hidden]{display:none}:host{display:block}:host([scale=s]){--calcite-internal-navigation-primary-height: 3rem;--calcite-internal-navigation-secondary-height: 2.25rem;--calcite-internal-navigation-tertiary-height: 2.25rem;--calcite-internal-navigation-navigation-action-margin-inline: 8px}:host([scale=m]){--calcite-internal-navigation-primary-height: 4rem;--calcite-internal-navigation-secondary-height: 3rem;--calcite-internal-navigation-tertiary-height: 3rem;--calcite-internal-navigation-navigation-action-margin-inline: var(--calcite-font-size-sm)}:host([scale=l]){--calcite-internal-navigation-primary-height: 4.75rem;--calcite-internal-navigation-secondary-height: 4rem;--calcite-internal-navigation-tertiary-height: 4rem;--calcite-internal-navigation-navigation-action-margin-inline: var(--calcite-font-size-md)}.container{display:flex;flex-direction:column;inline-size:100%;margin-block:var(--calcite-space-none);margin-inline:auto;background-color:var(--calcite-navigation-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}.container.primary,.container.secondary,.container.tertiary{border-block-end:1px solid;border-block-end-color:var(--calcite-navigation-border-color, var(--calcite-color-border-3))}.user,.logo{display:flex}.hide{display:none}.primary{block-size:var(--calcite-internal-navigation-primary-height)}.secondary{block-size:var(--calcite-internal-navigation-secondary-height)}.tertiary{block-size:var(--calcite-internal-navigation-tertiary-height)}.container-content{display:flex;block-size:100%;margin-inline:auto;margin-block:0;inline-size:var(--calcite-navigation-width, 100%);max-inline-size:100%}.container-content.progress-bar{margin-block-start:.125rem}slot[name]{display:flex;flex-direction:row}slot[name=navigation-secondary]::slotted(calcite-navigation),slot[name=navigation-tertiary]::slotted(calcite-navigation){inline-size:100%}slot[name=content-start]::slotted(*),slot[name=content-center]::slotted(*),slot[name=content-end]::slotted(*){display:flex;flex-direction:row;align-items:center}slot[name=progress],slot[name=progress] calcite-progress{inset-block-start:0;inset-inline:0}slot[name=content-end]{margin-inline-start:auto}slot[name=content-start]{margin-inline-end:auto}slot[name=content-end],slot[name=logo]~slot[name=user],slot[name=user]:only-child{margin-inline-start:auto}slot[name=content-center]{margin-inline:auto}slot[name=content-start]~slot[name=content-center]{margin-inline-start:var(--calcite-space-none)}slot[name=content-start]~slot[name=content-end],slot[name=content-center]~slot[name=content-end],slot[name=content-center]~slot[name=user],slot[name=content-end]~slot[name=user]{margin:var(--calcite-space-none)}slot[name=navigation-action] calcite-action{align-self:center;margin-inline-start:var(--calcite-internal-navigation-navigation-action-margin-inline)}`,r=class extends d{constructor(){super(...arguments),this.navigationActionRef=m(),this.focusSetter=y()(this).setFocus,this.mutationObserver=u("mutation",()=>{this.updateNavigationLogo(),this.updateNavigationUser(),this.updateNestedNavigation()}),this.logoSlotHasElements=!1,this.navigationActionSlotHasElements=!1,this.primaryContentCenterSlotHasElements=!1,this.primaryContentEndSlotHasElements=!1,this.primaryContentStartSlotHasElements=!1,this.progressSlotHasElement=!1,this.secondarySlotHasElements=!1,this.tertiarySlotHasElements=!1,this.userSlotHasElements=!1,this.navigationAction=!1,this.scale="m",this.calciteNavigationActionSelect=h({cancelable:!1})}static{this.properties={logoSlotHasElements:[16,{},{state:!0}],navigationActionSlotHasElements:[16,{},{state:!0}],primaryContentCenterSlotHasElements:[16,{},{state:!0}],primaryContentEndSlotHasElements:[16,{},{state:!0}],primaryContentStartSlotHasElements:[16,{},{state:!0}],progressSlotHasElement:[16,{},{state:!0}],secondarySlotHasElements:[16,{},{state:!0}],tertiarySlotHasElements:[16,{},{state:!0}],userSlotHasElements:[16,{},{state:!0}],label:1,navigationAction:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}]}}static{this.styles=H}async setFocus(t){return this.focusSetter(()=>this.navigationActionRef.value,t)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateNavigationLogo(),this.updateNavigationUser(),this.updateNestedNavigation()}updated(t){(t.has("scale")||t.has("logoSlotHasElements")||t.has("userSlotHasElements")||t.has("secondarySlotHasElements")||t.has("tertiarySlotHasElements"))&&(this.updateNavigationLogo(),this.updateNavigationUser(),this.updateNestedNavigation())}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}actionClickHandler(){this.calciteNavigationActionSelect.emit()}handleUserSlotChange(t){this.isPrimaryLevel()&&(this.userSlotHasElements=n(t))}handleLogoSlotChange(t){this.isPrimaryLevel()&&(this.logoSlotHasElements=n(t))}handleContentStartSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentStartSlotHasElements=n(t))}handleContentEndSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentEndSlotHasElements=n(t))}handleContentCenterSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentCenterSlotHasElements=n(t))}handleSecondarySlotChange(t){this.secondarySlotHasElements=n(t)}handleTertiarySlotChange(t){this.tertiarySlotHasElements=n(t)}handleMenuActionSlotChange(t){this.isPrimaryLevel()&&(this.navigationActionSlotHasElements=n(t),this.navigationActionSlotHasElements&&(this.navigationAction=!1))}handleProgressSlotChange(t){this.isPrimaryLevel()&&(this.progressSlotHasElement=n(t))}isPrimaryLevel(){return this.el.slot!==e.navSecondary&&this.el.slot!==e.navTertiary}getOwnedNavigationElements(t,i){let l=this.el.shadowRoot?.querySelector(`slot[name="${t}"]`);return l?l.assignedElements({flatten:!0}).filter(i):[]}updateNavigationLogo(){this.getOwnedNavigationElements(e.logo,p).forEach(t=>{t.scale=this.scale})}updateNavigationUser(){this.getOwnedNavigationElements(e.user,E).forEach(t=>{t.scale=this.scale})}updateNestedNavigation(){[...this.getOwnedNavigationElements(e.navSecondary,f),...this.getOwnedNavigationElements(e.navTertiary,f)].forEach(i=>{i!==this.el&&(i.scale=this.scale)})}renderMenuAction(){return s`<slot name=${e.navigationAction} @slotchange=${this.handleMenuActionSlotChange}>${this.navigationAction&&s`<calcite-action .icon=${C.hamburger} @click=${this.actionClickHandler} .text=${this.label} ${g(this.navigationActionRef)}></calcite-action>`||""}</slot>`}render(){let t=this.logoSlotHasElements||this.userSlotHasElements||this.navigationActionSlotHasElements||this.primaryContentCenterSlotHasElements||this.primaryContentEndSlotHasElements||this.primaryContentStartSlotHasElements||this.navigationAction,i=this.el.slot;return s`<div class=${o({[a.container]:!0,[a.secondary]:i===e.navSecondary,[a.tertiary]:i===e.navTertiary,[a.primary]:t})}><div class=${o({[a.hide]:!this.progressSlotHasElement,[e.progress]:!0})}><slot name=${e.progress} @slotchange=${this.handleProgressSlotChange}></slot></div><div class=${o({[a.containerContent]:!0,[a.hasProgress]:this.progressSlotHasElement})}>${this.renderMenuAction()}<div class=${o({[a.hide]:!this.logoSlotHasElements,[e.logo]:!0})}><slot name=${e.logo} @slotchange=${this.handleLogoSlotChange}></slot></div><slot name=${e.contentStart} @slotchange=${this.handleContentStartSlotChange}></slot><slot name=${e.contentCenter} @slotchange=${this.handleContentCenterSlotChange}></slot><slot name=${e.contentEnd} @slotchange=${this.handleContentEndSlotChange}></slot><div class=${o({[a.hide]:!this.userSlotHasElements,[e.user]:!0})}><slot name=${e.user} @slotchange=${this.handleUserSlotChange}></slot></div></div></div><slot name=${e.navSecondary} @slotchange=${this.handleSecondarySlotChange}></slot><slot name=${e.navTertiary} @slotchange=${this.handleTertiarySlotChange}></slot>`}};v("calcite-navigation",r);export{r as Navigation};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as $}from"./54Y2XWNM.js";import{a as y}from"./BZZ3PDRE.js";import{a as E}from"./JN6YLTUP.js";import{a as S}from"./FGPKBUR3.js";import{a as g}from"./VMHJHFFS.js";import"./AGD2EOLY.js";import"./PO6YL62I.js";import{z as w}from"./RRBGCYLX.js";import{G as x,H as o,J as b,Q as f,T as k,g as m,h as l,p as d}from"./G7VCDZAH.js";var i={content:"content",toggle:"toggle"},t={chevronIcon:"chevron-icon",content:"content",iconStart:"icon--start",iconEnd:"icon--end",invalid:"invalid",sectionHeaderText:"section-header__text",statusIcon:"status-icon",switch:"switch",toggle:"toggle",toggleContainer:"toggle-container",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",valid:"valid"},p={menuExpanded:"chevron-up",menuCollapsed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},I=m`:host{box-sizing:border-box;display:block;color:var(--calcite-block-section-header-text-color, var(--calcite-color-text-2))}:host([expanded]){border-width:var(--calcite-border-width-none);border-block-end-width:var(--calcite-border-width-sm);border-style:solid;border-block-end-color:var(--calcite-block-section-border-color, var(--calcite-color-border-3))}:host([expanded]) .toggle{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .toggle:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .icon--end,:host([expanded]) .icon--start{color:var(--calcite-block-section-text-color, var(--calcite-color-text-1))}:host([expanded]) .chevron-icon{color:var(--calcite-block-section-text-color, var(--calcite-color-text-3))}:host([expanded]) .chevron-icon:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .toggle-container:hover calcite-switch{--calcite-switch-background-color: var(--calcite-color-brand-hover)}:host(:last-child){border-block-end-width:var(--calcite-border-width-none)}:host([scale=s]) .toggle{padding-block:var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs));gap:var(--calcite-theme-space-sm, var(--calcite-spacing-sm));font-size:var(--calcite-font-size-sm)}:host([scale=s]) .content{padding-block:var(--calcite-block-section-content-space, var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs)))}:host([scale=m]) .toggle{padding-block:var(--calcite-theme-space-sm, var(--calcite-spacing-sm));gap:var(--calcite-theme-space-md, var(--calcite-spacing-md));font-size:var(--calcite-font-size)}:host([scale=m]) .content{padding-block:var(--calcite-block-section-content-space, var(--calcite-theme-space-sm, var(--calcite-spacing-sm)))}:host([scale=l]) .toggle{padding-block:var(--calcite-theme-space-md, var(--calcite-spacing-md));gap:var(--calcite-theme-space-lg, var(--calcite-spacing-lg));font-size:var(--calcite-font-size-md)}:host([scale=l]) .content{padding-block:var(--calcite-block-section-content-space, var(--calcite-theme-space-md, var(--calcite-spacing-md)))}.toggle{outline-color:transparent;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;inline-size:100%;border-width:var(--calcite-border-width-none);font-family:inherit;color:var(--calcite-block-section-header-text-color, var(--calcite-color-text-2));background-color:var(--calcite-block-section-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));font-weight:var(--calcite-font-weight-regular);padding-inline:0;line-height:var(--calcite-font-line-height-relative-snug)}.toggle:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));z-index:var(--calcite-z-index)}.toggle:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}.section-header__text{margin-block:0;flex:1 1 auto;text-align:initial;overflow-wrap:anywhere}.toggle-container{display:flex;align-items:center;position:relative;word-break:break-word}.toggle-container .toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.toggle-container .icon--end,.toggle-container .icon--start,.toggle-container .chevron-icon{display:flex;align-items:center;color:var(--calcite-block-section-text-color, var(--calcite-color-text-3))}.toggle-container:hover .chevron-icon{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}.toggle-container:hover calcite-switch{--calcite-switch-background-color: var(--calcite-color-text-3)}.status-icon{display:flex;align-items:center}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}:host([hidden]){display:none}[hidden]{display:none}`,v=class extends x{constructor(){super(...arguments),this.messages=y(),this.focusSetter=S()(this).setFocus,this.defaultSlotHasElements=!1,this.expanded=!1,this.scale="m",this.toggleDisplay="button",this.calciteBlockSectionCollapse=d({cancelable:!1}),this.calciteBlockSectionExpand=d({cancelable:!1}),this.calciteBlockSectionToggle=d({cancelable:!1})}static{this.properties={defaultSlotHasElements:[16,{},{state:!0}],expanded:[7,{},{reflect:!0,type:Boolean}],iconEnd:[3,{},{reflect:!0}],iconFlipRtl:[3,{},{reflect:!0}],iconStart:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],status:[3,{},{reflect:!0}],text:1,toggleDisplay:[3,{},{reflect:!0}]}}static{this.styles=I}get open(){return this.expanded}set open(e){f.deprecated("property",{component:this,name:"open",removalVersion:5,suggested:"expanded"}),this.expanded=e}async setFocus(e){return this.focusSetter(()=>this.el,e)}willUpdate(e){e.has("expanded")&&this.hasUpdated&&(this.expanded?this.calciteBlockSectionExpand.emit():this.calciteBlockSectionCollapse.emit())}handleHeaderKeyDown(e){E(e.key)&&(this.toggleSection(),e.preventDefault(),e.stopPropagation())}toggleSection(){this.expanded=!this.expanded,this.calciteBlockSectionToggle.emit()}handleDefaultSlot(e){this.defaultSlotHasElements=w(e)}renderStatusIcon(){let{status:e}=this,c=e&&p[e],a={[t.statusIcon]:!0,[t.valid]:e=="valid",[t.invalid]:e=="invalid"};return c?l`<calcite-icon class=${o(a)} .icon=${c} .scale=${g(this.scale)}></calcite-icon>`:null}renderIcon(e){let{iconFlipRtl:c,iconStart:a,iconEnd:n}=this;if((e==="start"?a:n)===void 0)return null;let s=c==="both"||c==="start",h=c==="both"||c==="end",r=e==="start";return $(r?a:n,l`<calcite-icon class=${o(r?t.iconStart:t.iconEnd)} .flipRtl=${r?s:h} .icon=${r?a:n} .scale=${g(this.scale)}></calcite-icon>`)}render(){let{messages:e,expanded:c,text:a,toggleDisplay:n}=this,u=c?p.menuExpanded:p.menuCollapsed,s=c?e.collapse:e.expand,h=n==="switch"?l`<div class=${o({[t.toggleContainer]:!0})}><div aria-controls=${i.content} .ariaExpanded=${c} class=${o({[t.toggle]:!0})} id=${i.toggle} @click=${this.toggleSection} @keydown=${this.handleHeaderKeyDown} role=button tabindex=0 title=${s??b}>${this.renderIcon("start")}<div class=${o(t.toggleSwitchContent)}><span class=${o(t.toggleSwitchText)}>${a}</span></div>${this.renderIcon("end")}${this.renderStatusIcon()}<calcite-switch .checked=${c} class=${o(t.switch)} inert .label=${s} .scale=${this.scale}></calcite-switch></div></div>`:l`<div class=${o({[t.toggleContainer]:!0})}><button aria-controls=${i.content} .ariaExpanded=${c} class=${o({[t.toggle]:!0})} id=${i.toggle} @click=${this.toggleSection}>${this.renderIcon("start")}<span class=${o(t.sectionHeaderText)}>${a}</span>${this.renderIcon("end")}${this.renderStatusIcon()}<calcite-icon class=${o(t.chevronIcon)} .icon=${u} .scale=${g(this.scale)}></calcite-icon></button></div>`;return l`${h}<section aria-labelledby=${i.toggle} class=${o({[t.content]:this.defaultSlotHasElements})} .hidden=${!c} id=${i.content}><slot @slotchange=${this.handleDefaultSlot}></slot></section>`}};k("calcite-block-section",v);export{v as BlockSection};
2
+ import{a as $}from"./UXLAVDPR.js";import{a as y}from"./EHNEXHJE.js";import{a as E}from"./JN6YLTUP.js";import{a as S}from"./3UY6U54N.js";import{a as g}from"./VMHJHFFS.js";import"./LQBOZRSZ.js";import"./LGADD3GQ.js";import{z as w}from"./RRBGCYLX.js";import{G as x,H as o,J as b,Q as f,T as k,g as m,h as l,p as d}from"./3KAPB7Y4.js";var i={content:"content",toggle:"toggle"},t={chevronIcon:"chevron-icon",content:"content",iconStart:"icon--start",iconEnd:"icon--end",invalid:"invalid",sectionHeaderText:"section-header__text",statusIcon:"status-icon",switch:"switch",toggle:"toggle",toggleContainer:"toggle-container",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",valid:"valid"},p={menuExpanded:"chevron-up",menuCollapsed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},I=m`:host{box-sizing:border-box;display:block;color:var(--calcite-block-section-header-text-color, var(--calcite-color-text-2))}:host([expanded]){border-width:var(--calcite-border-width-none);border-block-end-width:var(--calcite-border-width-sm);border-style:solid;border-block-end-color:var(--calcite-block-section-border-color, var(--calcite-color-border-3))}:host([expanded]) .toggle{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .toggle:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .icon--end,:host([expanded]) .icon--start{color:var(--calcite-block-section-text-color, var(--calcite-color-text-1))}:host([expanded]) .chevron-icon{color:var(--calcite-block-section-text-color, var(--calcite-color-text-3))}:host([expanded]) .chevron-icon:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}:host([expanded]) .toggle-container:hover calcite-switch{--calcite-switch-background-color: var(--calcite-color-brand-hover)}:host(:last-child){border-block-end-width:var(--calcite-border-width-none)}:host([scale=s]) .toggle{padding-block:var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs));gap:var(--calcite-theme-space-sm, var(--calcite-spacing-sm));font-size:var(--calcite-font-size-sm)}:host([scale=s]) .content{padding-block:var(--calcite-block-section-content-space, var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs)))}:host([scale=m]) .toggle{padding-block:var(--calcite-theme-space-sm, var(--calcite-spacing-sm));gap:var(--calcite-theme-space-md, var(--calcite-spacing-md));font-size:var(--calcite-font-size)}:host([scale=m]) .content{padding-block:var(--calcite-block-section-content-space, var(--calcite-theme-space-sm, var(--calcite-spacing-sm)))}:host([scale=l]) .toggle{padding-block:var(--calcite-theme-space-md, var(--calcite-spacing-md));gap:var(--calcite-theme-space-lg, var(--calcite-spacing-lg));font-size:var(--calcite-font-size-md)}:host([scale=l]) .content{padding-block:var(--calcite-block-section-content-space, var(--calcite-theme-space-md, var(--calcite-spacing-md)))}.toggle{outline-color:transparent;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;inline-size:100%;border-width:var(--calcite-border-width-none);font-family:inherit;color:var(--calcite-block-section-header-text-color, var(--calcite-color-text-2));background-color:var(--calcite-block-section-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));font-weight:var(--calcite-font-weight-regular);padding-inline:0;line-height:var(--calcite-font-line-height-relative-snug)}.toggle:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));z-index:var(--calcite-z-index)}.toggle:hover{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}.section-header__text{margin-block:0;flex:1 1 auto;text-align:initial;overflow-wrap:anywhere}.toggle-container{display:flex;align-items:center;position:relative;word-break:break-word}.toggle-container .toggle--switch__content{display:flex;flex:1 1 auto;align-items:center}.toggle-container .icon--end,.toggle-container .icon--start,.toggle-container .chevron-icon{display:flex;align-items:center;color:var(--calcite-block-section-text-color, var(--calcite-color-text-3))}.toggle-container:hover .chevron-icon{color:var(--calcite-block-section-text-color-hover, var(--calcite-color-text-1))}.toggle-container:hover calcite-switch{--calcite-switch-background-color: var(--calcite-color-text-3)}.status-icon{display:flex;align-items:center}.status-icon.valid{color:var(--calcite-color-status-success)}.status-icon.invalid{color:var(--calcite-color-status-danger)}:host([hidden]){display:none}[hidden]{display:none}`,v=class extends x{constructor(){super(...arguments),this.messages=y(),this.focusSetter=S()(this).setFocus,this.defaultSlotHasElements=!1,this.expanded=!1,this.scale="m",this.toggleDisplay="button",this.calciteBlockSectionCollapse=d({cancelable:!1}),this.calciteBlockSectionExpand=d({cancelable:!1}),this.calciteBlockSectionToggle=d({cancelable:!1})}static{this.properties={defaultSlotHasElements:[16,{},{state:!0}],expanded:[7,{},{reflect:!0,type:Boolean}],iconEnd:[3,{},{reflect:!0}],iconFlipRtl:[3,{},{reflect:!0}],iconStart:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],status:[3,{},{reflect:!0}],text:1,toggleDisplay:[3,{},{reflect:!0}]}}static{this.styles=I}get open(){return this.expanded}set open(e){f.deprecated("property",{component:this,name:"open",removalVersion:5,suggested:"expanded"}),this.expanded=e}async setFocus(e){return this.focusSetter(()=>this.el,e)}willUpdate(e){e.has("expanded")&&this.hasUpdated&&(this.expanded?this.calciteBlockSectionExpand.emit():this.calciteBlockSectionCollapse.emit())}handleHeaderKeyDown(e){E(e.key)&&(this.toggleSection(),e.preventDefault(),e.stopPropagation())}toggleSection(){this.expanded=!this.expanded,this.calciteBlockSectionToggle.emit()}handleDefaultSlot(e){this.defaultSlotHasElements=w(e)}renderStatusIcon(){let{status:e}=this,c=e&&p[e],a={[t.statusIcon]:!0,[t.valid]:e=="valid",[t.invalid]:e=="invalid"};return c?l`<calcite-icon class=${o(a)} .icon=${c} .scale=${g(this.scale)}></calcite-icon>`:null}renderIcon(e){let{iconFlipRtl:c,iconStart:a,iconEnd:n}=this;if((e==="start"?a:n)===void 0)return null;let s=c==="both"||c==="start",h=c==="both"||c==="end",r=e==="start";return $(r?a:n,l`<calcite-icon class=${o(r?t.iconStart:t.iconEnd)} .flipRtl=${r?s:h} .icon=${r?a:n} .scale=${g(this.scale)}></calcite-icon>`)}render(){let{messages:e,expanded:c,text:a,toggleDisplay:n}=this,u=c?p.menuExpanded:p.menuCollapsed,s=c?e.collapse:e.expand,h=n==="switch"?l`<div class=${o({[t.toggleContainer]:!0})}><div aria-controls=${i.content} .ariaExpanded=${c} class=${o({[t.toggle]:!0})} id=${i.toggle} @click=${this.toggleSection} @keydown=${this.handleHeaderKeyDown} role=button tabindex=0 title=${s??b}>${this.renderIcon("start")}<div class=${o(t.toggleSwitchContent)}><span class=${o(t.toggleSwitchText)}>${a}</span></div>${this.renderIcon("end")}${this.renderStatusIcon()}<calcite-switch .checked=${c} class=${o(t.switch)} inert .label=${s} .scale=${this.scale}></calcite-switch></div></div>`:l`<div class=${o({[t.toggleContainer]:!0})}><button aria-controls=${i.content} .ariaExpanded=${c} class=${o({[t.toggle]:!0})} id=${i.toggle} @click=${this.toggleSection}>${this.renderIcon("start")}<span class=${o(t.sectionHeaderText)}>${a}</span>${this.renderIcon("end")}${this.renderStatusIcon()}<calcite-icon class=${o(t.chevronIcon)} .icon=${u} .scale=${g(this.scale)}></calcite-icon></button></div>`;return l`${h}<section aria-labelledby=${i.toggle} class=${o({[t.content]:this.defaultSlotHasElements})} .hidden=${!c} id=${i.content}><slot @slotchange=${this.handleDefaultSlot}></slot></section>`}};k("calcite-block-section",v);export{v as BlockSection};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as m}from"./FDHY2TZA.js";import{a as V}from"./54Y2XWNM.js";import{a as $}from"./BZZ3PDRE.js";import{e as k}from"./AGD2EOLY.js";import"./PO6YL62I.js";import{E as L,q as E,s as I}from"./RRBGCYLX.js";import{F as x,G as y,H as f,M as B,T as O,g as S,h as C,p as g}from"./G7VCDZAH.js";var z={chevronRight:"chevron-right",chevronLeft:"chevron-left"},c={container:"container",scrollButton:"scroll-button",scrollButtonContainer:"scroll-button-container",scrollBackwardButton:"scroll-button--backward",scrollForwardButton:"scroll-button--forward",tabTitleSlotWrapper:"tab-titles-slot-wrapper",scale:u=>`scale-${u}`,position:u=>`position-${u}`},d=1,N=S`:host{position:relative;display:flex}:host([bordered]) .scroll-button--forward calcite-button{--calcite-internal-button-border-inline-end-color: var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]) .scroll-button--backward calcite-button{--calcite-internal-button-border-inline-start-color: var( --calcite-tab-border-color, var(--calcite-color-border-1) )}.scale-s{--calcite-internal-tab-nav-button-width: 24px;min-block-size:1.5rem}.scale-m{--calcite-internal-tab-nav-button-width: 32px;min-block-size:2rem}.scale-l{--calcite-internal-tab-nav-button-width: 44px;min-block-size:2.75rem}.container::-webkit-scrollbar{display:none;-ms-overflow-style:none;scrollbar-width:none}:host([layout=center]) ::slotted(calcite-tab-title){display:flex;flex-grow:1;flex-shrink:0;min-inline-size:auto;white-space:nowrap}:host([layout=center]) ::slotted(calcite-tab-title[selected]){overflow:unset}:host(:not([bordered])) .scale-l{--calcite-internal-tab-nav-gap: var(--calcite-theme-space-2xl, var(--calcite-spacing-xxl))}:host(:not([bordered])) .scale-m{--calcite-internal-tab-nav-gap: var(--calcite-theme-space-xl, var(--calcite-spacing-xl))}:host(:not([bordered])) .scale-s{--calcite-internal-tab-nav-gap: var(--calcite-theme-space-lg, var(--calcite-spacing-lg))}:host(:not([bordered])) .tab-titles-slot-wrapper{gap:var(--calcite-internal-tab-nav-gap)}:host([layout=center]:not([bordered])) .tab-titles-slot-wrapper{padding-inline:var(--calcite-theme-space-xl, var(--calcite-spacing-xl))}.tab-titles-slot-wrapper{flex:1 1 0%}.container,.tab-titles-slot-wrapper{display:flex;inline-size:100%;justify-content:flex-start;white-space:nowrap;overflow:hidden}.scroll-button{position:absolute;inset-block:0}.scroll-button calcite-button{--calcite-button-text-color: var(--calcite-tab-text-color, var(--calcite-color-text-3));--calcite-button-background-color: var(--calcite-color-transparent);--calcite-offset-invert-focus: 1;block-size:var(--calcite-container-size-content-fluid)}.scroll-button-container{display:flex;inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);inset-inline-end:0;inline-size:calc(2 * var(--calcite-internal-tab-nav-button-width))}.scroll-button--forward{inset-inline-end:0;z-index:var(--calcite-z-index)}.scroll-button--backward{inset-inline-end:var(--calcite-internal-tab-nav-button-width);z-index:var(--calcite-z-index)}:host(:not([bordered])) .scroll-button--backward:before{background-color:var(--calcite-tab-border-color, var(--calcite-color-border-3));content:"";inline-size:var(--calcite-border-width-sm);inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);position:absolute;inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}`,w=class extends y{constructor(){super(),this.direction=k(),this.effectiveDir="ltr",this.lastScrollWheelAxis="x",this.resizeObserver=m("resize",()=>{this.updateScrollingState()}),this.messages=$(),this.hasOverflowingEndTabTitle=!1,this.hasOverflowingStartTabTitle=!1,this.hasVisibleTabTitles=!0,this.bordered=!1,this.layout="inline",this.lastTabClosable=!1,this.position="bottom",this.scale="m",this.selectedTitle=null,this.calciteInternalTabChange=g({cancelable:!1}),this.calciteInternalTabNavSlotChange=g(),this.calciteTabChange=g({cancelable:!1}),this.listen("calciteInternalTabsFocusPrevious",this.focusPreviousTabHandler),this.listen("calciteInternalTabsFocusNext",this.focusNextTabHandler),this.listen("calciteInternalTabsFocusFirst",this.focusFirstTabHandler),this.listen("calciteInternalTabsFocusLast",this.focusLastTabHandler),this.listen("calciteInternalTabTitleCloseChange",this.syncVisibleTabTitlesState),this.listen("calciteInternalTabTitleRegister",this.updateTabTitles),this.listen("calciteInternalTabsActivate",this.internalActivateTabHandler),this.listen("calciteInternalTabsClose",this.internalCloseTabHandler),this.listenOn(document.body,"calciteInternalTabChange",this.globalInternalTabChangeHandler)}static{this.properties={hasOverflowingEndTabTitle:[16,{},{state:!0}],hasOverflowingStartTabTitle:[16,{},{state:!0}],hasVisibleTabTitles:[16,{},{state:!0}],selectedTabId:[16,{},{state:!0}],bordered:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}],lastTabClosable:[5,{},{type:Boolean}],messageOverrides:[0,{},{attribute:!1}],position:1,scale:1,selectedTitle:[0,{},{attribute:!1}],storageId:[3,{},{reflect:!0}],syncId:[3,{},{reflect:!0}]}}static{this.styles=N}get enabledTabTitles(){return I(this.el,"calcite-tab-title:not([disabled])").filter(t=>!t.closed)}get tabTitles(){return I(this.el,"calcite-tab-title")}connectedCallback(){super.connectedCallback(),this.parentTabsEl=this.el.closest("calcite-tabs")??void 0,this.resizeObserver?.observe(this.el)}async load(){let t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId){let e=localStorage.getItem(t);if(e){let i=JSON.parse(e);this.selectedTabId=i}}}willUpdate(t){t.has("selectedTitle")&&(this.hasUpdated||this.selectedTitle!==null)&&this.selectedTabId!==void 0&&this.calciteInternalTabChange.emit({tab:this.selectedTabId}),t.has("selectedTabId")&&this.selectedTabIdChanged(),t.has("lastTabClosable")&&this.hasUpdated&&this.updateLastVisibleTabClosable();let{parentTabsEl:e}=this;e&&(this.layout=e.layout,this.bordered=e.bordered),this.effectiveDir=this.direction}loaded(){this.scrollTabTitleIntoView(this.selectedTitle,"instant"),this.tabTitles.length&&this.tabTitles.every(t=>!t.selected)&&this.selectedTabId===void 0&&this.tabTitles[0].getTabIdentifier().then(t=>{this.calciteInternalTabChange.emit({tab:t})})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}focusPreviousTabHandler(t){this.handleTabFocus(t,t.target,"previous")}focusNextTabHandler(t){this.handleTabFocus(t,t.target,"next")}focusFirstTabHandler(t){this.handleTabFocus(t,t.target,"first")}focusLastTabHandler(t){this.handleTabFocus(t,t.target,"last")}internalActivateTabHandler(t){let e=t.target,i=this.selectedTitle;this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(e),t.stopPropagation(),this.selectedTitle=e,i?.id!==e.id&&t.detail.userTriggered&&this.calciteTabChange.emit(),this.scrollTabTitleIntoView(e)}scrollTabTitleIntoView(t,e="smooth"){t&&requestAnimationFrame(()=>{let i=this.tabTitleContainerEl;if(!i)return;let s=i.getBoundingClientRect(),n=t.getBoundingClientRect(),l=i.scrollLeft,a=n.left-s.left;if(a<0){let o=l+a;i.scrollTo({left:o,behavior:e})}else if(n.right>s.right){let o=l+Math.min(n.right-s.right,a);i.scrollTo({left:o,behavior:e})}})}internalCloseTabHandler(t){let e=t.target;this.handleTabTitleClose(e),t.stopPropagation()}async updateTabTitles(t){t.target.selected&&(this.selectedTabId=t.detail,this.selectedTitle=await this.getTabTitleById(this.selectedTabId)),this.syncVisibleTabTitlesState()}globalInternalTabChangeHandler(t){this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTabId!==t.detail.tab&&(this.selectedTabId=t.detail.tab),t.stopPropagation()}async selectedTabIdChanged(){await this.componentOnReady(),this.selectedTabId!==void 0&&(localStorage&&this.storageId&&localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTabId)),this.calciteInternalTabChange.emit({tab:this.selectedTabId}))}onTabTitleWheel(t){let e=t.currentTarget;if(e.scrollWidth<=e.clientWidth)return;t.preventDefault();let{deltaX:i,deltaY:s}=t,n=Math.abs(i),l=Math.abs(s),a;n===l?a=this.lastScrollWheelAxis==="x"?i:s:n>l?(a=i,this.lastScrollWheelAxis="x"):(a=s,this.lastScrollWheelAxis="y");let o=(this.effectiveDir==="rtl"?-1:1)*a;e.scrollBy(o,0)}onSlotChange(){this.intersectionObserver?.disconnect(),this.tabTitles.forEach(e=>{this.intersectionObserver?.observe(e)}),this.syncVisibleTabTitlesState()}syncVisibleTabTitlesState(){this.updateLastVisibleTabClosable(),this.hasVisibleTabTitles=this.getVisibleTabTitlesIndices(this.tabTitles).length>0,this.calciteInternalTabNavSlotChange.emit([...this.tabTitles])}updateLastVisibleTabClosable(){let{tabTitles:t}=this,e=this.getVisibleTabTitlesIndices(t),i=e.length;if(i===0)return;let s=t[e[0]];if(!this.lastTabClosable&&i===1){s.closable&&(this.firstVisibleTabMadeNonClosable=s,s.closable=!1);return}this.firstVisibleTabMadeNonClosable&&!this.firstVisibleTabMadeNonClosable.closed&&(this.firstVisibleTabMadeNonClosable.closable=!0),this.firstVisibleTabMadeNonClosable=void 0}setTabTitleContainerEl(t){this.tabTitleContainerEl=t,this.intersectionObserver?.disconnect(),t&&(this.intersectionObserver=m("intersection",()=>this.updateScrollingState(),{root:t,threshold:[0,.5,1]}))}updateScrollingState(){let t=this.tabTitleContainerEl;if(!t)return;let e,i,s=t.scrollLeft,n=t.clientWidth,l=t.scrollWidth;this.effectiveDir==="ltr"?(e=s>d,i=l-(s+n)>d):(e=s<-d,i=l-n+s>d),this.hasOverflowingStartTabTitle=e,this.hasOverflowingEndTabTitle=i}scrollToTabTitles(t){requestAnimationFrame(()=>{let e=this.tabTitleContainerEl;if(!e)return;let i=e.getBoundingClientRect(),{effectiveDir:s}=this,n=t==="forward"&&s==="ltr"||t==="backward"&&s==="rtl",l,a=t==="forward"?[...this.tabTitles].reverse():this.tabTitles;if(!a.length)return;if(n){let h;l=a.find(T=>{let r=T.getBoundingClientRect(),p=r.left>=i.right,v=r.left<i.right&&r.right>i.right&&r.right-i.right>d;return p&&(h=T),v})??h}else{let h;l=a.find(T=>{let r=T.getBoundingClientRect(),p=r.right<=i.left,v=r.left<i.left&&r.right>i.left&&i.left-r.left>d;return p&&(h=T),v})??h}if(!l)return;let o=l.getBoundingClientRect(),b=e.scrollLeft,F=n?b+(o.right-i.right):b+(o.left-i.left);e.scrollTo({left:Math.round(F),behavior:"smooth"})})}scrollToNextTabTitles(){this.scrollToTabTitles("forward")}scrollToPreviousTabTitles(){this.scrollToTabTitles("backward")}handleTabFocus(t,e,i){let s=L(this.enabledTabTitles,e,i);this.scrollTabTitleIntoView(s,"instant"),t.stopPropagation()}getIndexOfTabTitle(t,e=this.tabTitles){return e.indexOf(t)}onTabTitleScroll(){this.updateScrollingState()}async getTabTitleById(t){return Promise.all(this.tabTitles.map(e=>e.getTabIdentifier())).then(e=>this.tabTitles[e.indexOf(t)])}getVisibleTabTitlesIndices(t){return t.reduce((e,i,s)=>i.closed?e:[...e,s],[])}handleTabTitleClose(t){let{tabTitles:e}=this,i=e.filter(a=>!a.closed),s=this.enabledTabTitles,n=i.length,l=t.selected;if(this.hasVisibleTabTitles=n>0,this.calciteInternalTabNavSlotChange.emit([...e]),n===0){this.selectedTitle=null,this.selectedTabId=void 0;return}if(l){let a=e.findIndex(b=>b===t),o=s.find(b=>e.indexOf(b)>a)||s.at(-1);if(!o){this.selectedTitle=null,this.selectedTabId=void 0,this.updateLastVisibleTabClosable();return}o.activateTab()}this.updateLastVisibleTabClosable(),requestAnimationFrame(()=>{let a=this.selectedTitle;a&&E(a)})}render(){return this.el.role="tablist",C`<div class=${f({[c.container]:!0,[c.scale(this.scale)]:!0,[c.position(this.position)]:!0,[B.rtl]:this.effectiveDir==="rtl"})} .hidden=${!this.hasVisibleTabTitles}><div class=${f({[c.tabTitleSlotWrapper]:!0})} @scroll=${this.onTabTitleScroll} @wheel=${this.onTabTitleWheel} ${x(this.setTabTitleContainerEl)}><slot @slotchange=${this.onSlotChange}></slot></div><div class=${f(c.scrollButtonContainer)} .hidden=${!this.hasOverflowingEndTabTitle&&!this.hasOverflowingStartTabTitle}>${this.renderScrollButton("start")}${this.renderScrollButton("end")}</div></div>`}renderScrollButton(t){let{messages:e,scale:i,hasOverflowingEndTabTitle:s,hasOverflowingStartTabTitle:n}=this,l=t==="end";return V(t,C`<div class=${f({[c.scrollButton]:!0,[c.scrollBackwardButton]:!l,[c.scrollForwardButton]:l})}><calcite-button .ariaLabel=${l?e.nextTabTitles:e.previousTabTitles} .disabled=${l?!s:!n} icon-flip-rtl=both .iconStart=${l?z.chevronRight:z.chevronLeft} kind=neutral @click=${l?this.scrollToNextTabTitles:this.scrollToPreviousTabTitles} .scale=${i} tabindex=-1></calcite-button></div>`)}};O("calcite-tab-nav",w);export{w as TabNav};
2
+ import{a as m}from"./FDHY2TZA.js";import{a as V}from"./UXLAVDPR.js";import{a as $}from"./EHNEXHJE.js";import{e as k}from"./LQBOZRSZ.js";import"./LGADD3GQ.js";import{E as L,q as E,s as I}from"./RRBGCYLX.js";import{F as x,G as y,H as f,M as B,T as O,g as S,h as C,p as g}from"./3KAPB7Y4.js";var z={chevronRight:"chevron-right",chevronLeft:"chevron-left"},c={container:"container",scrollButton:"scroll-button",scrollButtonContainer:"scroll-button-container",scrollBackwardButton:"scroll-button--backward",scrollForwardButton:"scroll-button--forward",tabTitleSlotWrapper:"tab-titles-slot-wrapper",scale:u=>`scale-${u}`,position:u=>`position-${u}`},d=1,N=S`:host{position:relative;display:flex}:host([bordered]) .scroll-button--forward calcite-button{--calcite-internal-button-border-inline-end-color: var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]) .scroll-button--backward calcite-button{--calcite-internal-button-border-inline-start-color: var( --calcite-tab-border-color, var(--calcite-color-border-1) )}.scale-s{--calcite-internal-tab-nav-button-width: 24px;min-block-size:1.5rem}.scale-m{--calcite-internal-tab-nav-button-width: 32px;min-block-size:2rem}.scale-l{--calcite-internal-tab-nav-button-width: 44px;min-block-size:2.75rem}.container::-webkit-scrollbar{display:none;-ms-overflow-style:none;scrollbar-width:none}:host([layout=center]) ::slotted(calcite-tab-title){display:flex;flex-grow:1;flex-shrink:0;min-inline-size:auto;white-space:nowrap}:host([layout=center]) ::slotted(calcite-tab-title[selected]){overflow:unset}:host(:not([bordered])) .scale-l{--calcite-internal-tab-nav-gap: var(--calcite-theme-space-2xl, var(--calcite-spacing-xxl))}:host(:not([bordered])) .scale-m{--calcite-internal-tab-nav-gap: var(--calcite-theme-space-xl, var(--calcite-spacing-xl))}:host(:not([bordered])) .scale-s{--calcite-internal-tab-nav-gap: var(--calcite-theme-space-lg, var(--calcite-spacing-lg))}:host(:not([bordered])) .tab-titles-slot-wrapper{gap:var(--calcite-internal-tab-nav-gap)}:host([layout=center]:not([bordered])) .tab-titles-slot-wrapper{padding-inline:var(--calcite-theme-space-xl, var(--calcite-spacing-xl))}.tab-titles-slot-wrapper{flex:1 1 0%}.container,.tab-titles-slot-wrapper{display:flex;inline-size:100%;justify-content:flex-start;white-space:nowrap;overflow:hidden}.scroll-button{position:absolute;inset-block:0}.scroll-button calcite-button{--calcite-button-text-color: var(--calcite-tab-text-color, var(--calcite-color-text-3));--calcite-button-background-color: var(--calcite-color-transparent);--calcite-offset-invert-focus: 1;block-size:var(--calcite-container-size-content-fluid)}.scroll-button-container{display:flex;inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);inset-inline-end:0;inline-size:calc(2 * var(--calcite-internal-tab-nav-button-width))}.scroll-button--forward{inset-inline-end:0;z-index:var(--calcite-z-index)}.scroll-button--backward{inset-inline-end:var(--calcite-internal-tab-nav-button-width);z-index:var(--calcite-z-index)}:host(:not([bordered])) .scroll-button--backward:before{background-color:var(--calcite-tab-border-color, var(--calcite-color-border-3));content:"";inline-size:var(--calcite-border-width-sm);inset-block-start:var(--calcite-border-width-md);inset-block-end:var(--calcite-border-width-md);position:absolute;inset-inline-start:0}:host([hidden]){display:none}[hidden]{display:none}`,w=class extends y{constructor(){super(),this.direction=k(),this.effectiveDir="ltr",this.lastScrollWheelAxis="x",this.resizeObserver=m("resize",()=>{this.updateScrollingState()}),this.messages=$(),this.hasOverflowingEndTabTitle=!1,this.hasOverflowingStartTabTitle=!1,this.hasVisibleTabTitles=!0,this.bordered=!1,this.layout="inline",this.lastTabClosable=!1,this.position="bottom",this.scale="m",this.selectedTitle=null,this.calciteInternalTabChange=g({cancelable:!1}),this.calciteInternalTabNavSlotChange=g(),this.calciteTabChange=g({cancelable:!1}),this.listen("calciteInternalTabsFocusPrevious",this.focusPreviousTabHandler),this.listen("calciteInternalTabsFocusNext",this.focusNextTabHandler),this.listen("calciteInternalTabsFocusFirst",this.focusFirstTabHandler),this.listen("calciteInternalTabsFocusLast",this.focusLastTabHandler),this.listen("calciteInternalTabTitleCloseChange",this.syncVisibleTabTitlesState),this.listen("calciteInternalTabTitleRegister",this.updateTabTitles),this.listen("calciteInternalTabsActivate",this.internalActivateTabHandler),this.listen("calciteInternalTabsClose",this.internalCloseTabHandler),this.listenOn(document.body,"calciteInternalTabChange",this.globalInternalTabChangeHandler)}static{this.properties={hasOverflowingEndTabTitle:[16,{},{state:!0}],hasOverflowingStartTabTitle:[16,{},{state:!0}],hasVisibleTabTitles:[16,{},{state:!0}],selectedTabId:[16,{},{state:!0}],bordered:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}],lastTabClosable:[5,{},{type:Boolean}],messageOverrides:[0,{},{attribute:!1}],position:1,scale:1,selectedTitle:[0,{},{attribute:!1}],storageId:[3,{},{reflect:!0}],syncId:[3,{},{reflect:!0}]}}static{this.styles=N}get enabledTabTitles(){return I(this.el,"calcite-tab-title:not([disabled])").filter(t=>!t.closed)}get tabTitles(){return I(this.el,"calcite-tab-title")}connectedCallback(){super.connectedCallback(),this.parentTabsEl=this.el.closest("calcite-tabs")??void 0,this.resizeObserver?.observe(this.el)}async load(){let t=`calcite-tab-nav-${this.storageId}`;if(localStorage&&this.storageId){let e=localStorage.getItem(t);if(e){let i=JSON.parse(e);this.selectedTabId=i}}}willUpdate(t){t.has("selectedTitle")&&(this.hasUpdated||this.selectedTitle!==null)&&this.selectedTabId!==void 0&&this.calciteInternalTabChange.emit({tab:this.selectedTabId}),t.has("selectedTabId")&&this.selectedTabIdChanged(),t.has("lastTabClosable")&&this.hasUpdated&&this.updateLastVisibleTabClosable();let{parentTabsEl:e}=this;e&&(this.layout=e.layout,this.bordered=e.bordered),this.effectiveDir=this.direction}loaded(){this.scrollTabTitleIntoView(this.selectedTitle,"instant"),this.tabTitles.length&&this.tabTitles.every(t=>!t.selected)&&this.selectedTabId===void 0&&this.tabTitles[0].getTabIdentifier().then(t=>{this.calciteInternalTabChange.emit({tab:t})})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}focusPreviousTabHandler(t){this.handleTabFocus(t,t.target,"previous")}focusNextTabHandler(t){this.handleTabFocus(t,t.target,"next")}focusFirstTabHandler(t){this.handleTabFocus(t,t.target,"first")}focusLastTabHandler(t){this.handleTabFocus(t,t.target,"last")}internalActivateTabHandler(t){let e=t.target,i=this.selectedTitle;this.selectedTabId=t.detail.tab?t.detail.tab:this.getIndexOfTabTitle(e),t.stopPropagation(),this.selectedTitle=e,i?.id!==e.id&&t.detail.userTriggered&&this.calciteTabChange.emit(),this.scrollTabTitleIntoView(e)}scrollTabTitleIntoView(t,e="smooth"){t&&requestAnimationFrame(()=>{let i=this.tabTitleContainerEl;if(!i)return;let s=i.getBoundingClientRect(),n=t.getBoundingClientRect(),l=i.scrollLeft,a=n.left-s.left;if(a<0){let o=l+a;i.scrollTo({left:o,behavior:e})}else if(n.right>s.right){let o=l+Math.min(n.right-s.right,a);i.scrollTo({left:o,behavior:e})}})}internalCloseTabHandler(t){let e=t.target;this.handleTabTitleClose(e),t.stopPropagation()}async updateTabTitles(t){t.target.selected&&(this.selectedTabId=t.detail,this.selectedTitle=await this.getTabTitleById(this.selectedTabId)),this.syncVisibleTabTitlesState()}globalInternalTabChangeHandler(t){this.syncId&&t.target!==this.el&&t.target.syncId===this.syncId&&this.selectedTabId!==t.detail.tab&&(this.selectedTabId=t.detail.tab),t.stopPropagation()}async selectedTabIdChanged(){await this.componentOnReady(),this.selectedTabId!==void 0&&(localStorage&&this.storageId&&localStorage.setItem(`calcite-tab-nav-${this.storageId}`,JSON.stringify(this.selectedTabId)),this.calciteInternalTabChange.emit({tab:this.selectedTabId}))}onTabTitleWheel(t){let e=t.currentTarget;if(e.scrollWidth<=e.clientWidth)return;t.preventDefault();let{deltaX:i,deltaY:s}=t,n=Math.abs(i),l=Math.abs(s),a;n===l?a=this.lastScrollWheelAxis==="x"?i:s:n>l?(a=i,this.lastScrollWheelAxis="x"):(a=s,this.lastScrollWheelAxis="y");let o=(this.effectiveDir==="rtl"?-1:1)*a;e.scrollBy(o,0)}onSlotChange(){this.intersectionObserver?.disconnect(),this.tabTitles.forEach(e=>{this.intersectionObserver?.observe(e)}),this.syncVisibleTabTitlesState()}syncVisibleTabTitlesState(){this.updateLastVisibleTabClosable(),this.hasVisibleTabTitles=this.getVisibleTabTitlesIndices(this.tabTitles).length>0,this.calciteInternalTabNavSlotChange.emit([...this.tabTitles])}updateLastVisibleTabClosable(){let{tabTitles:t}=this,e=this.getVisibleTabTitlesIndices(t),i=e.length;if(i===0)return;let s=t[e[0]];if(!this.lastTabClosable&&i===1){s.closable&&(this.firstVisibleTabMadeNonClosable=s,s.closable=!1);return}this.firstVisibleTabMadeNonClosable&&!this.firstVisibleTabMadeNonClosable.closed&&(this.firstVisibleTabMadeNonClosable.closable=!0),this.firstVisibleTabMadeNonClosable=void 0}setTabTitleContainerEl(t){this.tabTitleContainerEl=t,this.intersectionObserver?.disconnect(),t&&(this.intersectionObserver=m("intersection",()=>this.updateScrollingState(),{root:t,threshold:[0,.5,1]}))}updateScrollingState(){let t=this.tabTitleContainerEl;if(!t)return;let e,i,s=t.scrollLeft,n=t.clientWidth,l=t.scrollWidth;this.effectiveDir==="ltr"?(e=s>d,i=l-(s+n)>d):(e=s<-d,i=l-n+s>d),this.hasOverflowingStartTabTitle=e,this.hasOverflowingEndTabTitle=i}scrollToTabTitles(t){requestAnimationFrame(()=>{let e=this.tabTitleContainerEl;if(!e)return;let i=e.getBoundingClientRect(),{effectiveDir:s}=this,n=t==="forward"&&s==="ltr"||t==="backward"&&s==="rtl",l,a=t==="forward"?[...this.tabTitles].reverse():this.tabTitles;if(!a.length)return;if(n){let h;l=a.find(T=>{let r=T.getBoundingClientRect(),p=r.left>=i.right,v=r.left<i.right&&r.right>i.right&&r.right-i.right>d;return p&&(h=T),v})??h}else{let h;l=a.find(T=>{let r=T.getBoundingClientRect(),p=r.right<=i.left,v=r.left<i.left&&r.right>i.left&&i.left-r.left>d;return p&&(h=T),v})??h}if(!l)return;let o=l.getBoundingClientRect(),b=e.scrollLeft,F=n?b+(o.right-i.right):b+(o.left-i.left);e.scrollTo({left:Math.round(F),behavior:"smooth"})})}scrollToNextTabTitles(){this.scrollToTabTitles("forward")}scrollToPreviousTabTitles(){this.scrollToTabTitles("backward")}handleTabFocus(t,e,i){let s=L(this.enabledTabTitles,e,i);this.scrollTabTitleIntoView(s,"instant"),t.stopPropagation()}getIndexOfTabTitle(t,e=this.tabTitles){return e.indexOf(t)}onTabTitleScroll(){this.updateScrollingState()}async getTabTitleById(t){return Promise.all(this.tabTitles.map(e=>e.getTabIdentifier())).then(e=>this.tabTitles[e.indexOf(t)])}getVisibleTabTitlesIndices(t){return t.reduce((e,i,s)=>i.closed?e:[...e,s],[])}handleTabTitleClose(t){let{tabTitles:e}=this,i=e.filter(a=>!a.closed),s=this.enabledTabTitles,n=i.length,l=t.selected;if(this.hasVisibleTabTitles=n>0,this.calciteInternalTabNavSlotChange.emit([...e]),n===0){this.selectedTitle=null,this.selectedTabId=void 0;return}if(l){let a=e.findIndex(b=>b===t),o=s.find(b=>e.indexOf(b)>a)||s.at(-1);if(!o){this.selectedTitle=null,this.selectedTabId=void 0,this.updateLastVisibleTabClosable();return}o.activateTab()}this.updateLastVisibleTabClosable(),requestAnimationFrame(()=>{let a=this.selectedTitle;a&&E(a)})}render(){return this.el.role="tablist",C`<div class=${f({[c.container]:!0,[c.scale(this.scale)]:!0,[c.position(this.position)]:!0,[B.rtl]:this.effectiveDir==="rtl"})} .hidden=${!this.hasVisibleTabTitles}><div class=${f({[c.tabTitleSlotWrapper]:!0})} @scroll=${this.onTabTitleScroll} @wheel=${this.onTabTitleWheel} ${x(this.setTabTitleContainerEl)}><slot @slotchange=${this.onSlotChange}></slot></div><div class=${f(c.scrollButtonContainer)} .hidden=${!this.hasOverflowingEndTabTitle&&!this.hasOverflowingStartTabTitle}>${this.renderScrollButton("start")}${this.renderScrollButton("end")}</div></div>`}renderScrollButton(t){let{messages:e,scale:i,hasOverflowingEndTabTitle:s,hasOverflowingStartTabTitle:n}=this,l=t==="end";return V(t,C`<div class=${f({[c.scrollButton]:!0,[c.scrollBackwardButton]:!l,[c.scrollForwardButton]:l})}><calcite-button .ariaLabel=${l?e.nextTabTitles:e.previousTabTitles} .disabled=${l?!s:!n} icon-flip-rtl=both .iconStart=${l?z.chevronRight:z.chevronLeft} kind=neutral @click=${l?this.scrollToNextTabTitles:this.scrollToPreviousTabTitles} .scale=${i} tabindex=-1></calcite-button></div>`)}};O("calcite-tab-nav",w);export{w as TabNav};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{b as j}from"./WTNYMVTD.js";import{a as G}from"./JN6YLTUP.js";import{b as W}from"./AGD2EOLY.js";import{C as z,D as $,j as X,l as V}from"./RRBGCYLX.js";import{Q as U}from"./G7VCDZAH.js";var Le=i=>{let{manager:a}=i;return W((o,c)=>{let u,f,g=l=>!!(l&&o.referenceElementType),v=l=>{g(l)&&(a.registerElement(o,l),f=l)},w=l=>{g(l)&&(a.unregisterElement(o,l),f===l&&(f=void 0))},k=l=>{let{referenceElement:m,el:C}=l;return(typeof m=="string"?V(C,{id:m}):m)||void 0},E=(l=!0)=>{if(!o.referenceElementType)return;o.referenceEl=k(o);let{el:m,referenceElement:C,referenceEl:P}=o;l&&C&&!P&&U.warn(`${m.tagName}: reference-element id "${C}" was not found.`,{el:m})};c.onConnected(()=>{u=requestAnimationFrame(()=>{o.el.isConnected&&(E(o.manager.loadedCalled),v(o.referenceEl))})}),c.onLoaded(()=>{o.referenceElement&&!o.referenceEl&&E()}),c.onUpdate(l=>{o.hasUpdated&&(l.has("referenceElement")&&E(),l.has("referenceEl")?(w(l.get("referenceEl")),v(o.referenceEl)):(l.has("open")||l.has("triggerDisabled"))&&a.updateElement(o,o.referenceEl))}),c.onDisconnected(()=>{u!=null&&(cancelAnimationFrame(u),u=void 0),w(f)})})};function Q(i,a){if(i===a)return!0;if(i.length!==a.length)return!1;let o=new Set(i),c=new Set(a);if(o.size!==c.size)return!1;for(let u of o)if(!c.has(u))return!1;return!0}var me=5,R=300,ge=R/3,Ee=R*1.5;function he({startX:i,startY:a,endX:o,endY:c}){return Math.hypot(o-i,c-a)>me}var He=i=>{let a=new Map,o=new WeakMap,c=new WeakSet,u=new WeakMap,f=null,g=null,v=null,w=null,k=null,E=null,l=0,m=(e,t)=>{let n=e.find(s=>a.has(s));if(!n)return;let r=a.get(n);return t?r?.filter(s=>s.referenceElementType===t):r},C=(e,t)=>{let n=e.composedPath(),r=m(n,t);r?.forEach(s=>{s&&!s.triggerDisabled&&(s.open=!s.open)}),Array.from(a.values()).flat().filter(s=>!r?.includes(s)&&s.autoClose&&s.open&&!n.includes(s.el)).forEach(s=>s.open=!1)},P=e=>{$(e)||e.defaultPrevented||E&&he({endY:e.clientY,endX:e.clientX,startY:E.y,startX:E.x})||(E=null,C(e,"click"))},T=()=>{w!=null&&window.clearTimeout(w),w=null},b=()=>{v!=null&&window.clearTimeout(v),v=null},h=()=>{T(),b()},D=(e,t)=>!!(f?.some(n=>n?.open&&t.includes(n.el))||e?.some(n=>n?.open&&t.includes(n.el))),y=(e,t)=>{e?.forEach(n=>n.open=t),f=t?e:null},p=()=>{y(f,!1)},J=e=>{if(e.key==="Escape"&&!e.defaultPrevented){let t=f?.filter(n=>n?.open);if(t?.length){h(),p();let n=e.composedPath();t.some(r=>r.referenceEl instanceof Element&&n.includes(r.referenceEl)||n.includes(r.el))&&e.preventDefault()}}},Z=e=>{if(e.defaultPrevented)return;g=null;let t=e.composedPath(),n=m(t,"hover");if(D(n,t)){h();return}if(p(),!n?.length)return;h();let r=n.filter(d=>d.closeOnClick),s=n.filter(d=>!d.closeOnClick);r?.length&&(g=r,y(r,!1)),y(s,!0)},A=e=>{if(e.defaultPrevented||!z(e))return;let{clientX:t,clientY:n}=e;E={x:t,y:n}},ee=e=>{e.defaultPrevented||(e.key==="Escape"?ne():G(e.key)&&C(e,"click"))},te=e=>{m(e.composedPath())?.forEach(n=>n.onReferenceElementKeyDown?.(e))},ne=()=>{Array.from(a.values()).flat().forEach(e=>e.open=!1)},S=e=>{Q(e??[],f??[])||p()},re=e=>{w=window.setTimeout(()=>{w===null||!Q(e??[],k??[])||(b(),S(e),e.forEach(t=>t.onReferenceElementPointerOpen?.()),y(e,!0))},f?.some(t=>t.open)?ge:R)},O=()=>{v=window.setTimeout(()=>{v!==null&&p()},Ee)},x=e=>{if(e.defaultPrevented){p();return}let t=e.composedPath(),n=m(t,"hover");if(D(n,t)){h();return}n?.some(r=>g?.includes(r))||(n?.some(r=>k?.includes(r))||T(),k=n,n?.length?re(n):f?.some(r=>r?.open)&&O(),g=null)},M=()=>{p()},_=e=>{e.defaultPrevented||(h(),O())},B=e=>{i.click&&P(e),i.hover&&Z(e)},N=e=>{te(e),i.click&&ee(e),i.hover&&J(e)},se=()=>{(i.click||i.hover)&&(window.addEventListener("click",B),window.addEventListener("keydown",N)),i.click&&window.addEventListener("pointerdown",A),i.hover&&(window.addEventListener("pointermove",x),window.addEventListener("focusin",L),window.addEventListener("blur",M),document.addEventListener("pointerleave",_))},ie=()=>{(i.click||i.hover)&&(window.removeEventListener("click",B),window.removeEventListener("keydown",N)),i.click&&window.removeEventListener("pointerdown",A),i.hover&&(window.removeEventListener("pointermove",x),window.removeEventListener("focusin",L),window.removeEventListener("blur",M),document.removeEventListener("pointerleave",_))},oe=(e,t)=>{h(),y(e,t)},Y=e=>e instanceof Element?X(e):null,L=e=>{if(e.defaultPrevented)return;let t=e.composedPath(),n=m(t,"hover");if(n?.some(r=>r.isRestoringFocus||e.relatedTarget instanceof Node&&r.el.contains(e.relatedTarget))){h();return}if(n?.forEach(r=>{r.open&&r.onReferenceElementFocusIn?.(e)}),D(n,t)){h();return}n?.some(r=>g?.includes(r))||(g=null,S(n),n?.length&&oe(n,!0))},F=(e,t)=>{if(!("ariaExpanded"in e))return;let n=t.filter(r=>!r.triggerDisabled);if(n.length){e.ariaExpanded=j(n.some(r=>r.open)),c.add(e);return}c.has(e)&&(e.ariaExpanded=null,c.delete(e))},I=(e,t,n=!t.triggerDisabled)=>{if(!("ariaControlsElements"in e))return;let r=e.ariaControlsElements??[],s=r.includes(t.el),d=o.get(e);if(!n){if(!d?.has(t))return;let H=r.filter(fe=>fe!==t.el);e.ariaControlsElements=H.length>0?H:null,d?.delete(t);return}s||(e.ariaControlsElements=[...r,t.el],d?d.add(t):o.set(e,new WeakSet([t])))},K=(e,t)=>{!t||!e.referenceElementType||i.click&&(I(t,e),F(t,a.get(t)??[]))},le=e=>{e.addEventListener("focusin",L)},ae=e=>{e.removeEventListener("focusin",L)},de=e=>{let t=u.get(e),n=(typeof t=="number"?t:0)+1;n===1&&le(e),u.set(e,n)},ce=e=>{let t=u.get(e),n=typeof t=="number"?t:0,r=Math.max(0,n-1);if(n>0&&r===0){ae(e),u.delete(e);return}r>0&&u.set(e,r)},ue=(e,t)=>{if(!t||!e.referenceElementType)return;let n=a.get(t)??[];if(n.includes(e))return;if(i.hover&&"ariaDescribedByElements"in t){let s=t.ariaDescribedByElements??[];if(!s.includes(e.el)){let d=[...s,e.el];t.ariaDescribedByElements=d}}l++,a.set(t,[...n,e]);let r=i.hover?Y(t):null;r&&de(r),l===1&&se(),K(e,t)},q=e=>{l--,e&&ce(e)};return{registerElement:ue,unregisterElement:(e,t)=>{if(!t||!e.referenceElementType)return;let n=i.hover?Y(t):null,r=a.get(t)??[],s=r.filter(d=>d!==e);if(s.length>0?(a.set(t,s),s.length!==r.length&&q(n)):a.delete(t)&&q(n),l===0&&(ie(),h()),i.click&&(I(t,e,!1),F(t,s)),i.hover&&"ariaDescribedByElements"in t){let d=(t.ariaDescribedByElements??[]).filter(H=>H!==e.el);t.ariaDescribedByElements=d.length>0?d:null}},updateElement:K}};export{Le as a,He as b};
2
+ import{b as j}from"./WTNYMVTD.js";import{a as G}from"./JN6YLTUP.js";import{b as W}from"./LQBOZRSZ.js";import{C as z,D as $,j as X,l as V}from"./RRBGCYLX.js";import{Q as U}from"./3KAPB7Y4.js";var Le=i=>{let{manager:a}=i;return W((o,c)=>{let u,f,g=l=>!!(l&&o.referenceElementType),v=l=>{g(l)&&(a.registerElement(o,l),f=l)},w=l=>{g(l)&&(a.unregisterElement(o,l),f===l&&(f=void 0))},k=l=>{let{referenceElement:m,el:C}=l;return(typeof m=="string"?V(C,{id:m}):m)||void 0},E=(l=!0)=>{if(!o.referenceElementType)return;o.referenceEl=k(o);let{el:m,referenceElement:C,referenceEl:P}=o;l&&C&&!P&&U.warn(`${m.tagName}: reference-element id "${C}" was not found.`,{el:m})};c.onConnected(()=>{u=requestAnimationFrame(()=>{o.el.isConnected&&(E(o.manager.loadedCalled),v(o.referenceEl))})}),c.onLoaded(()=>{o.referenceElement&&!o.referenceEl&&E()}),c.onUpdate(l=>{o.hasUpdated&&(l.has("referenceElement")&&E(),l.has("referenceEl")?(w(l.get("referenceEl")),v(o.referenceEl)):(l.has("open")||l.has("triggerDisabled"))&&a.updateElement(o,o.referenceEl))}),c.onDisconnected(()=>{u!=null&&(cancelAnimationFrame(u),u=void 0),w(f)})})};function Q(i,a){if(i===a)return!0;if(i.length!==a.length)return!1;let o=new Set(i),c=new Set(a);if(o.size!==c.size)return!1;for(let u of o)if(!c.has(u))return!1;return!0}var me=5,R=300,ge=R/3,Ee=R*1.5;function he({startX:i,startY:a,endX:o,endY:c}){return Math.hypot(o-i,c-a)>me}var He=i=>{let a=new Map,o=new WeakMap,c=new WeakSet,u=new WeakMap,f=null,g=null,v=null,w=null,k=null,E=null,l=0,m=(e,t)=>{let n=e.find(s=>a.has(s));if(!n)return;let r=a.get(n);return t?r?.filter(s=>s.referenceElementType===t):r},C=(e,t)=>{let n=e.composedPath(),r=m(n,t);r?.forEach(s=>{s&&!s.triggerDisabled&&(s.open=!s.open)}),Array.from(a.values()).flat().filter(s=>!r?.includes(s)&&s.autoClose&&s.open&&!n.includes(s.el)).forEach(s=>s.open=!1)},P=e=>{$(e)||e.defaultPrevented||E&&he({endY:e.clientY,endX:e.clientX,startY:E.y,startX:E.x})||(E=null,C(e,"click"))},T=()=>{w!=null&&window.clearTimeout(w),w=null},b=()=>{v!=null&&window.clearTimeout(v),v=null},h=()=>{T(),b()},D=(e,t)=>!!(f?.some(n=>n?.open&&t.includes(n.el))||e?.some(n=>n?.open&&t.includes(n.el))),y=(e,t)=>{e?.forEach(n=>n.open=t),f=t?e:null},p=()=>{y(f,!1)},J=e=>{if(e.key==="Escape"&&!e.defaultPrevented){let t=f?.filter(n=>n?.open);if(t?.length){h(),p();let n=e.composedPath();t.some(r=>r.referenceEl instanceof Element&&n.includes(r.referenceEl)||n.includes(r.el))&&e.preventDefault()}}},Z=e=>{if(e.defaultPrevented)return;g=null;let t=e.composedPath(),n=m(t,"hover");if(D(n,t)){h();return}if(p(),!n?.length)return;h();let r=n.filter(d=>d.closeOnClick),s=n.filter(d=>!d.closeOnClick);r?.length&&(g=r,y(r,!1)),y(s,!0)},A=e=>{if(e.defaultPrevented||!z(e))return;let{clientX:t,clientY:n}=e;E={x:t,y:n}},ee=e=>{e.defaultPrevented||(e.key==="Escape"?ne():G(e.key)&&C(e,"click"))},te=e=>{m(e.composedPath())?.forEach(n=>n.onReferenceElementKeyDown?.(e))},ne=()=>{Array.from(a.values()).flat().forEach(e=>e.open=!1)},S=e=>{Q(e??[],f??[])||p()},re=e=>{w=window.setTimeout(()=>{w===null||!Q(e??[],k??[])||(b(),S(e),e.forEach(t=>t.onReferenceElementPointerOpen?.()),y(e,!0))},f?.some(t=>t.open)?ge:R)},O=()=>{v=window.setTimeout(()=>{v!==null&&p()},Ee)},x=e=>{if(e.defaultPrevented){p();return}let t=e.composedPath(),n=m(t,"hover");if(D(n,t)){h();return}n?.some(r=>g?.includes(r))||(n?.some(r=>k?.includes(r))||T(),k=n,n?.length?re(n):f?.some(r=>r?.open)&&O(),g=null)},M=()=>{p()},_=e=>{e.defaultPrevented||(h(),O())},B=e=>{i.click&&P(e),i.hover&&Z(e)},N=e=>{te(e),i.click&&ee(e),i.hover&&J(e)},se=()=>{(i.click||i.hover)&&(window.addEventListener("click",B),window.addEventListener("keydown",N)),i.click&&window.addEventListener("pointerdown",A),i.hover&&(window.addEventListener("pointermove",x),window.addEventListener("focusin",L),window.addEventListener("blur",M),document.addEventListener("pointerleave",_))},ie=()=>{(i.click||i.hover)&&(window.removeEventListener("click",B),window.removeEventListener("keydown",N)),i.click&&window.removeEventListener("pointerdown",A),i.hover&&(window.removeEventListener("pointermove",x),window.removeEventListener("focusin",L),window.removeEventListener("blur",M),document.removeEventListener("pointerleave",_))},oe=(e,t)=>{h(),y(e,t)},Y=e=>e instanceof Element?X(e):null,L=e=>{if(e.defaultPrevented)return;let t=e.composedPath(),n=m(t,"hover");if(n?.some(r=>r.isRestoringFocus||e.relatedTarget instanceof Node&&r.el.contains(e.relatedTarget))){h();return}if(n?.forEach(r=>{r.open&&r.onReferenceElementFocusIn?.(e)}),D(n,t)){h();return}n?.some(r=>g?.includes(r))||(g=null,S(n),n?.length&&oe(n,!0))},F=(e,t)=>{if(!("ariaExpanded"in e))return;let n=t.filter(r=>!r.triggerDisabled);if(n.length){e.ariaExpanded=j(n.some(r=>r.open)),c.add(e);return}c.has(e)&&(e.ariaExpanded=null,c.delete(e))},I=(e,t,n=!t.triggerDisabled)=>{if(!("ariaControlsElements"in e))return;let r=e.ariaControlsElements??[],s=r.includes(t.el),d=o.get(e);if(!n){if(!d?.has(t))return;let H=r.filter(fe=>fe!==t.el);e.ariaControlsElements=H.length>0?H:null,d?.delete(t);return}s||(e.ariaControlsElements=[...r,t.el],d?d.add(t):o.set(e,new WeakSet([t])))},K=(e,t)=>{!t||!e.referenceElementType||i.click&&(I(t,e),F(t,a.get(t)??[]))},le=e=>{e.addEventListener("focusin",L)},ae=e=>{e.removeEventListener("focusin",L)},de=e=>{let t=u.get(e),n=(typeof t=="number"?t:0)+1;n===1&&le(e),u.set(e,n)},ce=e=>{let t=u.get(e),n=typeof t=="number"?t:0,r=Math.max(0,n-1);if(n>0&&r===0){ae(e),u.delete(e);return}r>0&&u.set(e,r)},ue=(e,t)=>{if(!t||!e.referenceElementType)return;let n=a.get(t)??[];if(n.includes(e))return;if(i.hover&&"ariaDescribedByElements"in t){let s=t.ariaDescribedByElements??[];if(!s.includes(e.el)){let d=[...s,e.el];t.ariaDescribedByElements=d}}l++,a.set(t,[...n,e]);let r=i.hover?Y(t):null;r&&de(r),l===1&&se(),K(e,t)},q=e=>{l--,e&&ce(e)};return{registerElement:ue,unregisterElement:(e,t)=>{if(!t||!e.referenceElementType)return;let n=i.hover?Y(t):null,r=a.get(t)??[],s=r.filter(d=>d!==e);if(s.length>0?(a.set(t,s),s.length!==r.length&&q(n)):a.delete(t)&&q(n),l===0&&(ie(),h()),i.click&&(I(t,e,!1),F(t,s)),i.hover&&"ariaDescribedByElements"in t){let d=(t.ariaDescribedByElements??[]).filter(H=>H!==e.el);t.ariaDescribedByElements=d.length>0?d:null}},updateElement:K}};export{Le as a,He as b};
package/dist/cdn/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{S as t,u as e}from"./G7VCDZAH.js";var i=e(t,{"calcite-accordion":[()=>import("./GBTJTOXL.js"),"appearance,iconPosition,iconType,scale,selectionMode"],"calcite-accordion-item":[()=>import("./ERP7JCOT.js"),"appearance,description,expanded,heading,headingLevel,iconEnd,iconFlipRtl,iconPosition,iconStart,iconType,messageOverrides:,scale;setFocus"],"calcite-action":[()=>import("./EYRAVDKP.js"),"active,activeDescendant,alignment,appearance,aria:,compact,disabled,dragHandle,form,icon,iconFlipRtl,indicator,label,loading,messageOverrides:,overflowDisabled,scale,selectionAppearance,text,textEnabled,type,width;setFocus",1],"calcite-action-bar":[()=>import("./4U3UP55J.js"),"actionsEndGroupLabel,actionsStartGroupLabel,expandDisabled,expanded,expandPosition,expandToggleDisabled,floating,layout,messageOverrides:,overflowActionsDisabled,overflowMode,overlayPositioning,position,scale,selectionAppearance;overflowActions,setFocus"],"calcite-action-group":[()=>import("./QEW6GSYQ.js"),"actions:,columns,expanded,label,layout,menuFlipPlacements:,menuOpen,menuPlacement,messageOverrides:,overflowActionsDisabled,overlayPositioning,scale,selectedActions:,selectionMode,topLayerDisabled;setFocus"],"calcite-action-menu":[()=>import("./EGLMU2AU.js"),"actions:,appearance,expanded,flipPlacements:,label,open,overlayPositioning,placement,scale,topLayerDisabled;setFocus"],"calcite-alert":[()=>import("./BEI2Q4QV.js"),"active,autoClose,autoCloseDuration,embedded,icon,iconFlipRtl,kind,label,messageOverrides:,numberingSystem,open,openAlertCount,placement,queue,scale,topLayerDisabled;setFocus"],"calcite-autocomplete":[()=>import("./4GJVPFBQ.js"),"alignment,autocomplete,disabled,flipPlacements:,form,icon,iconFlipRtl,inputValue,label,labelText,loading,maxLength,messageOverrides:,minLength,name,open,overlayPositioning,pattern,placeholder,placement,prefixText,readOnly,required,scale,status,suffixText,topLayerDisabled,validationIcon,validationMessage,validity:,value;reposition,scrollContentTo,selectText,setFocus",1],"calcite-autocomplete-item":[()=>import("./N5725US7.js"),"active,description,disabled,guid,heading,iconEnd,iconFlipRtl,iconStart,inputValueMatchPattern,label,scale,selected,value;;requestSelection"],"calcite-autocomplete-item-group":[()=>import("./SVFPRHA6.js"),"disableSpacing,heading,items:,label,position,scale"],"calcite-avatar":[()=>import("./RHG4MWDQ.js"),"fullName,label,scale,thumbnail,userId,username"],"calcite-block":[()=>import("./P2PASM66.js"),"addToItems:,collapsible,description,disabled,dragDisabled,dragHandle,expandable,expanded,heading,headingLevel,iconEnd,iconFlipRtl,iconStart,label,loading,menuFlipPlacements:,menuPlacement,messageOverrides:,moveToItems:,open,overlayPositioning,scale,setPosition,setSize,sortDisabled,sortHandleOpen,status,toggleDisplay,topLayerDisabled;setFocus"],"calcite-block-group":[()=>import("./HUTTOR7N.js"),"canPull:,canPut:,disabled,dragEnabled,expandMode,group,label,loading,scale,sortDisabled;setFocus;emitOrderChangeEvent"],"calcite-block-section":[()=>import("./K773C63U.js"),"expanded,iconEnd,iconFlipRtl,iconStart,messageOverrides:,open,scale,status,text,toggleDisplay;setFocus"],"calcite-button":[()=>import("./KGTOCD7C.js"),"alignment,appearance,aria:,disabled,download,form,href,iconEnd,iconFlipRtl,iconStart,kind,label,loading,messageOverrides:,name,rel,round,scale,splitChild,target,type,width;setFocus",1],"calcite-card":[()=>import("./PERDWZWY.js"),"disabled,label,loading,messageOverrides:,scale,selectable,selected,selectionMode,thumbnailPosition;setFocus"],"calcite-card-group":[()=>import("./4LQENKOC.js"),"disabled,label,scale,selectedItems:,selectionMode;setFocus"],"calcite-carousel":[()=>import("./444236DE.js"),"arrowType,autoplay,autoplayDuration,controlOverlay,disabled,label,messageOverrides:,paginationDisabled,paginationPosition,paused,selectedItem:;play,setFocus,stop"],"calcite-carousel-item":[()=>import("./66MGO5ZU.js"),"label,selected"],"calcite-checkbox":[()=>import("./Y2BRPES3.js"),"checked,disabled,form,hovered,indeterminate,label,labelText,messageOverrides:,name,required,scale,status,validity:,value;setFocus",1],"calcite-chip":[()=>import("./YZOCZJGM.js"),"appearance,closable,closed,closeOnDelete,disabled,icon,iconFlipRtl,interactive,kind,label,messageOverrides:,parentChipGroup:,scale,selected,selectionMode,value;setFocus"],"calcite-chip-group":[()=>import("./DC52WCG4.js"),"disabled,label,scale,selectedItems:,selectionMode;setFocus"],"calcite-color-picker":[()=>import("./C7SUNBF3.js"),"alphaChannel,channelsDisabled,clearable,color:,disabled,fieldDisabled,format,hexDisabled,messageOverrides:,numberingSystem,savedDisabled,scale,storageId,value;setFocus"],"calcite-color-picker-hex-input":[()=>import("./H5ZWUCNU.js"),"allowEmpty,alphaChannel,hexLabel,messages:,numberingSystem,scale,value;setFocus"],"calcite-combobox":[()=>import("./BMHY44X2.js"),"allowCustomValues,clearDisabled,disabled,filteredItems:,filterProps:,filterText,flipPlacements:,form,label,labelText,maxItems,messageOverrides:,name,open,overlayPositioning,placeholder,placeholderIcon,placeholderIconFlipRtl,placement,readOnly,required,scale,selectAllEnabled,selectedItems:,selectionAppearance,selectionDisplay,selectionMode,status,topLayerDisabled,validationIcon,validationMessage,validity:,value;reposition,setFocus",1],"calcite-combobox-item":[()=>import("./GYAMAUXY.js"),"active,ancestors:,description,disabled,filterDisabled,filterTextMatchPattern,guid,heading,icon,iconFlipRtl,indeterminate,itemHidden,label,metadata:,scale,selected,selectionAppearance,selectionMode,shortHeading,value;;toggleSelection"],"calcite-combobox-item-group":[()=>import("./7RQHFOJK.js"),"afterEmptyGroup,ancestors:,itemHidden,label,position,scale"],"calcite-date-picker":[()=>import("./AE5P23AX.js"),"activeDate:,activeRange,calendars,headingLevel,layout,max,maxAsDate:,messageOverrides:,min,minAsDate:,monthStyle,numberingSystem,proximitySelectionDisabled,range,scale,value,valueAsDate:;reset,setFocus"],"calcite-date-picker-day":[()=>import("./66VFQ7FS.js"),"active,currentMonth,dateTimeFormat:,day,disabled,endOfRange,highlighted,range,rangeHover,scale,selected,startOfRange,value:;setFocus"],"calcite-date-picker-month":[()=>import("./SIEIL7FM.js"),"activeDate:,calendars,dateTimeFormat:,endDate:,headingLevel,hoverRange:,layout,localeData:,max:,messages:,min:,monthStyle,range,scale,selectedDate:,startDate:"],"calcite-date-picker-month-header":[()=>import("./PQ6MRDKH.js"),"activeDate:,headingLevel,localeData:,max:,messages:,min:,monthStyle,position,scale,selectedDate:"],"calcite-dialog":[()=>import("./JED2BFML.js"),"aria:,beforeClose:,closeDisabled,description,dragEnabled,embedded,escapeDisabled,focusTrapDisabled,focusTrapOptions:,fullscreenDisabled,heading,headingLevel,icon,iconFlipRtl,kind,loading,menuOpen,messageOverrides:,modal,open,outsideCloseDisabled,overlayPositioning,placement,resizable,scale,topLayerDisabled,width,widthScale;scrollContentTo,setFocus,updateFocusTrapElements,updateSize"],"calcite-dropdown":[()=>import("./TCRMJM5C.js"),"closeOnSelectDisabled,disabled,flipPlacements:,maxItems,offsetDistance,offsetSkidding,open,overlayPositioning,placement,referenceElement,scale,selectedItems:,topLayerDisabled,type,width,widthScale;reposition,setFocus"],"calcite-dropdown-group":[()=>import("./LKYZVTZF.js"),"groupTitle,position,scale,selectionMode"],"calcite-dropdown-item":[()=>import("./WCZUTUTW.js"),"disabled,href,iconEnd,iconFlipRtl,iconStart,label,rel,scale,selected,selectionMode,target;activateItem,setFocus"],"calcite-fab":[()=>import("./BZD6X5QP.js"),"appearance,disabled,icon,iconFlipRtl,kind,label,loading,scale,text,textEnabled;setFocus"],"calcite-filter":[()=>import("./5LZ756VG.js"),"disabled,filteredItems:,filterProps:,items:,label,messageOverrides:,placeholder,scale,value;filter,setFocus"],"calcite-flow":[()=>import("./5XN6EOKV.js"),"customItemSelectors;back,setFocus"],"calcite-flow-item":[()=>import("./QDYPYDT7.js"),"beforeBack:,beforeClose:,closable,closed,collapsed,collapseDirection,collapsible,description,disabled,focusTrapDisabled,focusTrapOptions:,heading,headingLevel,icon,iconFlipRtl,loading,menuOpen,messageOverrides:,overlayPositioning,scale,selected,showBackButton,topLayerDisabled;scrollContentTo,setFocus,updateFocusTrapElements"],"calcite-graph":[()=>import("./T7YGUZSK.js"),"colorStops:,data:,highlightMax,highlightMin,max,min"],"calcite-icon":[()=>import("./3B2ZDL33.js"),"flipRtl,icon,preload,scale,textLabel"],"calcite-inline-editable":[()=>import("./AWYSKRFD.js"),"afterConfirm:,controls,disabled,editingEnabled,loading,messageOverrides:,scale;setFocus"],"calcite-input":[()=>import("./HAEXMEIN.js"),"accept,alignment,aria:,autocomplete,clearable,disabled,files:,form,groupSeparator,icon,iconFlipRtl,inlineEdit,inlineEditing,inlineEditingBeforeConfirm:,inputRole,label,labelText,loading,localeFormat,max,maxLength,messageOverrides:,min,minLength,multiple,name,numberButtonType,numberingSystem,pattern,placeholder,prefixText,readOnly,required,scale,status,step,suffixText,type,validationIcon,validationMessage,validity:,value;selectText,setFocus",1],"calcite-input-date-picker":[()=>import("./4YAW7S6I.js"),"calendars,clearable,disabled,flipPlacements:,focusTrapDisabled,form,headingLevel,label,labelText,layout,max,maxAsDate:,messageOverrides:,min,minAsDate:,monthStyle,name,numberingSystem,open,overlayPositioning,placeholder,placement,proximitySelectionDisabled,range,readOnly,required,scale,status,topLayerDisabled,validationIcon,validationMessage,validity:,value,valueAsDate:;reposition,setFocus",1],"calcite-input-message":[()=>import("./2MQ3WWV6.js"),"icon,iconFlipRtl,scale,status"],"calcite-input-number":[()=>import("./34LORM54.js"),"alignment,autocomplete,clearable,disabled,form,groupSeparator,icon,iconFlipRtl,inlineEdit,inlineEditing,inlineEditingBeforeConfirm:,integer,label,labelText,loading,localeFormat,max,maxLength,messageOverrides:,min,minLength,name,numberButtonType,numberingSystem,placeholder,prefixText,readOnly,required,scale,status,step,suffixText,validationIcon,validationMessage,validity:,value;selectText,setFocus",1],"calcite-input-text":[()=>import("./UR6MPMXC.js"),"alignment,autocomplete,clearable,disabled,form,icon,iconFlipRtl,inlineEdit,inlineEditing,inlineEditingBeforeConfirm:,label,labelText,loading,maxLength,messageOverrides:,minLength,name,pattern,placeholder,prefixText,readOnly,required,scale,status,suffixText,validationIcon,validationMessage,validity:,value;selectText,setFocus",1],"calcite-input-time-picker":[()=>import("./IH6VM7RW.js"),"clearable,disabled,focusTrapDisabled,form,hourFormat,label,labelText,max,messageOverrides:,min,name,numberingSystem,open,overlayPositioning,placeholder,placement,readOnly,required,scale,status,step,validationIcon,validationMessage,validity:,value;reposition,setFocus",1],"calcite-input-time-zone":[()=>import("./XF25BJXC.js"),"clearable,disabled,form,label,labelText,maxItems,messageOverrides:,mode,name,offsetStyle,open,overlayPositioning,placeholder,readOnly,referenceDate,required,scale,status,topLayerDisabled,validationIcon,validationMessage,validity:,value;setFocus",1],"calcite-label":[()=>import("./VCZHUG3S.js"),"alignment,for,layout,scale"],"calcite-link":[()=>import("./BIBBX2NQ.js"),"disabled,download,href,iconEnd,iconFlipRtl,iconStart,rel,target;setFocus"],"calcite-list":[()=>import("./TNDQWC77.js"),"canPull:,canPut:,disabled,displayMode,dragEnabled,filteredData:,filteredItems:,filterEnabled,filterLabel,filterPlaceholder,filterPredicate:,filterProps:,filterText,group,interactionMode,label,loading,messageOverrides:,numberingSystem,scale,selectedItems:,selectionAppearance,selectionMode,sortDisabled;setFocus;emitOrderChangeEvent"],"calcite-list-item":[()=>import("./IE3D5G6W.js"),"active,addToItems:,bordered,closable,closed,description,disabled,displayMode,dragDisabled,dragHandle,expanded,filterHidden,iconEnd,iconFlipRtl,iconStart,interactionMode,label,messageOverrides:,metadata:,moveToItems:,open,scale,selected,selectionAppearance,selectionMode,setPosition,setSize,sortDisabled,sortHandleOpen,topLayerDisabled,unavailable,value;setFocus"],"calcite-list-item-group":[()=>import("./OR22OBUK.js"),"disabled,filterHidden,heading,scale"],"calcite-loader":[()=>import("./E4TS5FQE.js"),"complete,inline,label,messages:,scale,text,type,value"],"calcite-menu":[()=>import("./LKSMSNM7.js"),"label,layout,messageOverrides:,scale;setFocus"],"calcite-menu-item":[()=>import("./JLH4SXHH.js"),"active,breadcrumb,href,iconEnd,iconFlipRtl,iconStart,isTopLevelItem,label,layout,messageOverrides:,open,rel,scale,target,text,topLevelMenuLayout;setFocus"],"calcite-meter":[()=>import("./Q4WATFR3.js"),"appearance,disabled,fillType,form,groupSeparator,high,label,low,max,messages:,min,name,numberingSystem,rangeLabels,rangeLabelType,scale,unitLabel,value,valueLabel,valueLabelType"],"calcite-navigation":[()=>import("./BTB6KHWC.js"),"label,navigationAction,scale;setFocus"],"calcite-navigation-logo":[()=>import("./S3MNGCZD.js"),"active,description,heading,headingLevel,href,icon,iconFlipRtl,label,rel,scale,target,thumbnail;setFocus"],"calcite-navigation-user":[()=>import("./WB7RXQJA.js"),"active,fullName,label,scale,textDisabled,thumbnail,userId,username;setFocus"],"calcite-notice":[()=>import("./65S2O64A.js"),"appearance,closable,icon,iconFlipRtl,kind,messageOverrides:,open,scale,width;setFocus"],"calcite-option":[()=>import("./LQX75TZ6.js"),"disabled,label,selected,value"],"calcite-option-group":[()=>import("./XI5BUNVP.js"),"disabled,label"],"calcite-pagination":[()=>import("./BZ7XAOLC.js"),"groupSeparator,messageOverrides:,numberingSystem,pageSize,scale,startItem,totalItems;goTo,nextPage,previousPage,setFocus"],"calcite-panel":[()=>import("./YDT6TQRJ.js"),"beforeClose:,closable,closed,collapsed,collapseDirection,collapsible,description,disabled,focusTrapDisabled,focusTrapEnabledByParent,focusTrapOptions:,heading,headingLevel,icon,iconFlipRtl,loading,menuFlipPlacements:,menuOpen,menuPlacement,messageOverrides:,overlayPositioning,scale,topLayerDisabled;scrollContentTo,setFocus,updateFocusTrapElements"],"calcite-popover":[()=>import("./BOPWFMNV.js"),"autoClose,closable,flipDisabled,flipPlacements:,focusTrapDisabled,focusTrapOptions:,heading,headingLevel,label,messageOverrides:,offsetDistance,offsetSkidding,open,overlayPositioning,placement,pointerDisabled,referenceElement,scale,topLayerDisabled,triggerDisabled;reposition,setFocus,updateFocusTrapElements"],"calcite-progress":[()=>import("./6WXRX7AM.js"),"label,reversed,text,type,value"],"calcite-radio-button":[()=>import("./DR4XSQZU.js"),"checked,disabled,focused,form,hovered,label,labelText,name,required,scale,status,validationMessage,validity:,value;emitCheckedChange,setFocus,setValidity",1],"calcite-radio-button-group":[()=>import("./ZDSKF5YJ.js"),"disabled,labelText,layout,messageOverrides:,name,required,scale,selectedItem:,status,validationIcon,validationMessage;setFocus"],"calcite-rating":[()=>import("./SN5B3KVW.js"),"average,count,disabled,form,labelText,messageOverrides:,name,readOnly,required,scale,showChip,status,validationIcon,validationMessage,validity:,value;setFocus",1],"calcite-scrim":[()=>import("./6I7EXQHZ.js"),"loading,messageOverrides:"],"calcite-segmented-control":[()=>import("./H2LEXNC7.js"),"appearance,disabled,form,labelText,layout,messageOverrides:,name,required,scale,selectedItem:,status,validationIcon,validationMessage,validity:,value,width;setFocus",1],"calcite-segmented-control-item":[()=>import("./ZEIISDRS.js"),"appearance,checked,iconEnd,iconFlipRtl,iconStart,layout,scale,value"],"calcite-select":[()=>import("./C6JSMZCR.js"),"disabled,form,label,labelText,messageOverrides:,name,required,scale,selectedOption:,status,validationIcon,validationMessage,validity:,value,width;setFocus",1],"calcite-sheet":[()=>import("./6SZN3UEC.js"),"beforeClose:,displayMode,embedded,escapeDisabled,focusTrapDisabled,focusTrapOptions:,height,heightScale,label,messageOverrides:,messages:,modal,open,opened,outsideCloseDisabled,position,resizable,topLayerDisabled,width,widthScale;setFocus,updateFocusTrapElements,updateSize"],"calcite-shell":[()=>import("./LZ6OXXTM.js"),"contentBehind"],"calcite-shell-panel":[()=>import("./AKAXKJA2.js"),"collapsed,displayMode,height,heightScale,layout,messageOverrides:,position,resizable,shellSizingDataProvider:,width,widthScale;updateSize"],"calcite-slider":[()=>import("./L2PORTM4.js"),"disabled,fillPlacement,form,groupSeparator,hasHistogram,histogram:,histogramStops:,label,labelFormatter:,labelHandles,labelText,labelTicks,max,maxLabel,maxValue,messageOverrides:,min,minLabel,minValue,mirrored,name,numberingSystem,pageStep,precise,required,scale,snap,status,step,ticks,validationIcon,validationMessage,validity:,value;setFocus",1],"calcite-sort-handle":[()=>import("./D6FYHCKK.js"),"addToItems:,disabled,flipPlacements:,label,messageOverrides:,messages:,moveToItems:,open,overlayPositioning,placement,scale,setPosition,setSize,sortDisabled,topLayerDisabled,widthScale;setFocus"],"calcite-split-button":[()=>import("./26ZHQ7BU.js"),"active,appearance,disabled,download,dropdownIconType,dropdownLabel,flipPlacements:,href,kind,loading,overlayPositioning,placement,primaryIconEnd,primaryIconFlipRtl,primaryIconStart,primaryLabel,primaryText,rel,scale,target,topLayerDisabled,width;setFocus"],"calcite-stack":[()=>import("./3INSFKSX.js"),"disabled"],"calcite-stepper":[()=>import("./F6OZCUVP.js"),"icon,layout,messageOverrides:,numbered,numberingSystem,scale,selectedItem:;endStep,goToStep,nextStep,prevStep,startStep"],"calcite-stepper-item":[()=>import("./GLRXNYZY.js"),"complete,description,disabled,error,heading,icon,iconFlipRtl,itemHidden,layout,messageOverrides:,numbered,numberingSystem,scale,selected;setFocus"],"calcite-swatch":[()=>import("./U5TTY3OC.js"),"color,disabled,interactive,label,parentSwatchGroup:,scale,selected,selectionMode,value;setFocus"],"calcite-swatch-group":[()=>import("./ROZEV7RT.js"),"disabled,label,scale,selectedItems:,selectionMode;setFocus"],"calcite-switch":[()=>import("./7KQIWP5A.js"),"checked,disabled,form,label,labelTextEnd,labelTextStart,name,required,scale,validity:,value;setFocus",1],"calcite-tab":[()=>import("./Z2C6GGRO.js"),"scale,selected,tab;getTabIndex;_updateAriaInfo"],"calcite-tab-nav":[()=>import("./Q4DOOVM7.js"),"bordered,lastTabClosable,layout,messageOverrides:,position,scale,selectedTitle:,storageId,syncId"],"calcite-tab-title":[()=>import("./5RCRYCLG.js"),"beforeClose:,bordered,closable,closed,disabled,iconEnd,iconFlipRtl,iconStart,layout,messageOverrides:,position,scale,selected,tab;activateTab,getTabIdentifier,getTabIndex;_updateAriaInfo"],"calcite-table":[()=>import("./KOOUNRK4.js"),"bordered,caption,currentPage,groupSeparator,interactionMode,layout,messageOverrides:,numbered,numberingSystem,pageSize,scale,selectedItems:,selectionDisplay,selectionMode,stickyHeader,striped"],"calcite-table-cell":[()=>import("./I6UMOKHJ.js"),"alignment,colSpan,disabled,interactionMode,lastCell,messageOverrides:,numberCell,parentRowAlignment,parentRowIsSelected,parentRowPositionLocalized,parentRowType,positionInRow,reachesBodyEnd,readCellContentsToAT,rowSpan,scale,selectionCell;setFocus"],"calcite-table-header":[()=>import("./OYQLEYK5.js"),"alignment,bodyRowCount,colSpan,description,heading,interactionMode,lastCell,messageOverrides:,numberCell,parentRowAlignment,parentRowIsSelected,parentRowType,positionInRow,rowSpan,scale,selectedRowCount,selectedRowCountLocalized,selectionCell,selectionMode;setFocus"],"calcite-table-row":[()=>import("./QEVG42UL.js"),"alignment,bodyRowCount,cellCount,disabled,interactionMode,itemHidden,lastVisibleRow,numbered,positionAll,positionSection,positionSectionLocalized,readCellContentsToAT,rowType,scale,selected,selectedRowCount,selectedRowCountLocalized,selectionMode,stickyHeaderEnabled"],"calcite-tabs":[()=>import("./6PI5JKRE.js"),"bordered,lastTabClosable,layout,position,scale"],"calcite-text":[()=>import("./7KM376VM.js"),"maxLines,truncatePosition"],"calcite-text-area":[()=>import("./KLALTZ6M.js"),"columns,disabled,form,groupSeparator,label,labelText,limitText,loading,maxLength,messageOverrides:,minLength,name,numberingSystem,placeholder,readOnly,required,resize,rows,scale,status,validationIcon,validationMessage,validity:,value,wrap;selectText,setFocus",1],"calcite-tile":[()=>import("./JWRK3M36.js"),"active,alignment,description,disabled,embed,heading,headingLevel,href,icon,iconFlipRtl,interactive,label,layout,scale,selected,selectionAppearance,selectionMode;setFocus"],"calcite-tile-group":[()=>import("./YXTWPSNG.js"),"alignment,disabled,label,layout,scale,selectedItems:,selectionAppearance,selectionMode"],"calcite-time-picker":[()=>import("./LRGOLZEK.js"),"hourFormat,messageOverrides:,numberingSystem,scale,step,time:,value;setFocus"],"calcite-tooltip":[()=>import("./E67XH4JQ.js"),"closeOnClick,label,offsetDistance,offsetSkidding,open,overlayPositioning,placement,pointerDisabled,referenceElement,scale,topLayerDisabled;reposition"],"calcite-tree":[()=>import("./DM56VGTT.js"),"child,lines,parentExpanded,scale,selectedItems:,selectionMode"],"calcite-tree-item":[()=>import("./QLODMQBD.js"),"depth,disabled,expanded,hasChildren,iconFlipRtl,iconStart,indeterminate,label,lines,parentExpanded,scale,selected,selectionMode"]});i({resourcesUrl:import.meta.url});var a=new CSSStyleSheet;a.replaceSync(`@layer{:not([calcite-hydrated]):is(calcite-accordion,calcite-accordion-item,calcite-action,calcite-action-bar,calcite-action-group,calcite-action-menu,calcite-alert,calcite-autocomplete,calcite-autocomplete-item,calcite-autocomplete-item-group,calcite-avatar,calcite-block,calcite-block-group,calcite-block-section,calcite-button,calcite-card,calcite-card-group,calcite-carousel,calcite-carousel-item,calcite-checkbox,calcite-chip,calcite-chip-group,calcite-color-picker,calcite-color-picker-hex-input,calcite-combobox,calcite-combobox-item,calcite-combobox-item-group,calcite-date-picker,calcite-date-picker-day,calcite-date-picker-month,calcite-dialog,calcite-dropdown,calcite-dropdown-group,calcite-dropdown-item,calcite-fab,calcite-filter,calcite-flow,calcite-flow-item,calcite-graph,calcite-icon,calcite-inline-editable,calcite-input,calcite-input-date-picker,calcite-input-message,calcite-input-number,calcite-input-text,calcite-input-time-picker,calcite-input-time-zone,calcite-label,calcite-link,calcite-list,calcite-list-item,calcite-list-item-group,calcite-loader,calcite-menu,calcite-menu-item,calcite-meter,calcite-navigation,calcite-navigation-logo,calcite-navigation-user,calcite-notice,calcite-option,calcite-option-group,calcite-pagination,calcite-panel,calcite-popover,calcite-progress,calcite-radio-button,calcite-radio-button-group,calcite-rating,calcite-scrim,calcite-segmented-control,calcite-segmented-control-item,calcite-select,calcite-sheet,calcite-shell,calcite-shell-panel,calcite-slider,calcite-sort-handle,calcite-split-button,calcite-stack,calcite-stepper,calcite-stepper-item,calcite-swatch,calcite-swatch-group,calcite-switch,calcite-tab,calcite-tab-nav,calcite-tab-title,calcite-table,calcite-table-cell,calcite-table-header,calcite-table-row,calcite-tabs,calcite-text,calcite-text-area,calcite-tile,calcite-tile-group,calcite-time-picker,calcite-tooltip,calcite-tree,calcite-tree-item){visibility:hidden}
2
+ import{S as t,u as e}from"./3KAPB7Y4.js";var i=e(t,{"calcite-accordion":[()=>import("./5AF7LKCH.js"),"appearance,iconPosition,iconType,scale,selectionMode"],"calcite-accordion-item":[()=>import("./V3GKPSJW.js"),"appearance,description,expanded,heading,headingLevel,iconEnd,iconFlipRtl,iconPosition,iconStart,iconType,messageOverrides:,scale;setFocus"],"calcite-action":[()=>import("./S663GSUU.js"),"active,activeDescendant,alignment,appearance,aria:,compact,disabled,dragHandle,form,icon,iconFlipRtl,indicator,label,loading,messageOverrides:,overflowDisabled,scale,selectionAppearance,text,textEnabled,type,width;setFocus",1],"calcite-action-bar":[()=>import("./QVOUVRVF.js"),"actionsEndGroupLabel,actionsStartGroupLabel,expandDisabled,expanded,expandPosition,expandToggleDisabled,floating,layout,messageOverrides:,overflowActionsDisabled,overflowMode,overlayPositioning,position,scale,selectionAppearance;overflowActions,setFocus"],"calcite-action-group":[()=>import("./SS7TOHAX.js"),"actions:,columns,expanded,label,layout,menuFlipPlacements:,menuOpen,menuPlacement,messageOverrides:,overflowActionsDisabled,overlayPositioning,scale,selectedActions:,selectionMode,topLayerDisabled;setFocus"],"calcite-action-menu":[()=>import("./OX7I2ZE2.js"),"actions:,appearance,expanded,flipPlacements:,label,open,overlayPositioning,placement,scale,topLayerDisabled;setFocus"],"calcite-alert":[()=>import("./IOERUJQH.js"),"active,autoClose,autoCloseDuration,embedded,icon,iconFlipRtl,kind,label,messageOverrides:,numberingSystem,open,openAlertCount,placement,queue,scale,topLayerDisabled;setFocus"],"calcite-autocomplete":[()=>import("./JJSTRCI5.js"),"alignment,autocomplete,disabled,flipPlacements:,form,icon,iconFlipRtl,inputValue,label,labelText,loading,maxLength,messageOverrides:,minLength,name,open,overlayPositioning,pattern,placeholder,placement,prefixText,readOnly,required,scale,status,suffixText,topLayerDisabled,validationIcon,validationMessage,validity:,value;reposition,scrollContentTo,selectText,setFocus",1],"calcite-autocomplete-item":[()=>import("./OD5VRFWK.js"),"active,description,disabled,guid,heading,iconEnd,iconFlipRtl,iconStart,inputValueMatchPattern,label,scale,selected,value;;requestSelection"],"calcite-autocomplete-item-group":[()=>import("./74CFBRNP.js"),"disableSpacing,heading,items:,label,position,scale"],"calcite-avatar":[()=>import("./MZUQW7T7.js"),"fullName,label,scale,thumbnail,userId,username"],"calcite-block":[()=>import("./RMYDLD3L.js"),"addToItems:,collapsible,description,disabled,dragDisabled,dragHandle,expandable,expanded,heading,headingLevel,iconEnd,iconFlipRtl,iconStart,label,loading,menuFlipPlacements:,menuPlacement,messageOverrides:,moveToItems:,open,overlayPositioning,scale,setPosition,setSize,sortDisabled,sortHandleOpen,status,toggleDisplay,topLayerDisabled;setFocus"],"calcite-block-group":[()=>import("./UOIFOIA6.js"),"canPull:,canPut:,disabled,dragEnabled,expandMode,group,label,loading,scale,sortDisabled;setFocus;emitOrderChangeEvent"],"calcite-block-section":[()=>import("./ZNERL4GM.js"),"expanded,iconEnd,iconFlipRtl,iconStart,messageOverrides:,open,scale,status,text,toggleDisplay;setFocus"],"calcite-button":[()=>import("./GQSCXVIU.js"),"alignment,appearance,aria:,disabled,download,form,href,iconEnd,iconFlipRtl,iconStart,kind,label,loading,messageOverrides:,name,rel,round,scale,splitChild,target,type,width;setFocus",1],"calcite-card":[()=>import("./LGKFD5NE.js"),"disabled,label,loading,messageOverrides:,scale,selectable,selected,selectionMode,thumbnailPosition;setFocus"],"calcite-card-group":[()=>import("./PP543GMX.js"),"disabled,label,scale,selectedItems:,selectionMode;setFocus"],"calcite-carousel":[()=>import("./3BGTTAUS.js"),"arrowType,autoplay,autoplayDuration,controlOverlay,disabled,label,messageOverrides:,paginationDisabled,paginationPosition,paused,selectedItem:;play,setFocus,stop"],"calcite-carousel-item":[()=>import("./KCVCJJ3G.js"),"label,selected"],"calcite-checkbox":[()=>import("./ISBKAVOX.js"),"checked,disabled,form,hovered,indeterminate,label,labelText,messageOverrides:,name,required,scale,status,validity:,value;setFocus",1],"calcite-chip":[()=>import("./2ADZ7WR7.js"),"appearance,closable,closed,closeOnDelete,disabled,icon,iconFlipRtl,interactive,kind,label,messageOverrides:,parentChipGroup:,scale,selected,selectionMode,value;setFocus"],"calcite-chip-group":[()=>import("./KELOMBLQ.js"),"disabled,label,scale,selectedItems:,selectionMode;setFocus"],"calcite-color-picker":[()=>import("./SZ3RMLLZ.js"),"alphaChannel,channelsDisabled,clearable,color:,disabled,fieldDisabled,format,hexDisabled,messageOverrides:,numberingSystem,savedDisabled,scale,storageId,value;setFocus"],"calcite-color-picker-hex-input":[()=>import("./JCIA6RBQ.js"),"allowEmpty,alphaChannel,hexLabel,messages:,numberingSystem,scale,value;setFocus"],"calcite-combobox":[()=>import("./TPAN4Z6I.js"),"allowCustomValues,clearDisabled,disabled,filteredItems:,filterProps:,filterText,flipPlacements:,form,label,labelText,maxItems,messageOverrides:,name,open,overlayPositioning,placeholder,placeholderIcon,placeholderIconFlipRtl,placement,readOnly,required,scale,selectAllEnabled,selectedItems:,selectionAppearance,selectionDisplay,selectionMode,status,topLayerDisabled,validationIcon,validationMessage,validity:,value;reposition,setFocus",1],"calcite-combobox-item":[()=>import("./DZU2XLXM.js"),"active,ancestors:,description,disabled,filterDisabled,filterTextMatchPattern,guid,heading,icon,iconFlipRtl,indeterminate,itemHidden,label,metadata:,scale,selected,selectionAppearance,selectionMode,shortHeading,value;;toggleSelection"],"calcite-combobox-item-group":[()=>import("./M5EKCOWL.js"),"afterEmptyGroup,ancestors:,itemHidden,label,position,scale"],"calcite-date-picker":[()=>import("./GKYK7XCO.js"),"activeDate:,activeRange,calendars,headingLevel,layout,max,maxAsDate:,messageOverrides:,min,minAsDate:,monthStyle,numberingSystem,proximitySelectionDisabled,range,scale,value,valueAsDate:;reset,setFocus"],"calcite-date-picker-day":[()=>import("./VZXKU2HR.js"),"active,currentMonth,dateTimeFormat:,day,disabled,endOfRange,highlighted,range,rangeHover,scale,selected,startOfRange,value:;setFocus"],"calcite-date-picker-month":[()=>import("./J6VYFTM4.js"),"activeDate:,calendars,dateTimeFormat:,endDate:,headingLevel,hoverRange:,layout,localeData:,max:,messages:,min:,monthStyle,range,scale,selectedDate:,startDate:"],"calcite-date-picker-month-header":[()=>import("./OTCKOUA5.js"),"activeDate:,headingLevel,localeData:,max:,messages:,min:,monthStyle,position,scale,selectedDate:"],"calcite-dialog":[()=>import("./PXOGEKNF.js"),"aria:,beforeClose:,closeDisabled,description,dragEnabled,embedded,escapeDisabled,focusTrapDisabled,focusTrapOptions:,fullscreenDisabled,heading,headingLevel,icon,iconFlipRtl,kind,loading,menuOpen,messageOverrides:,modal,open,outsideCloseDisabled,overlayPositioning,placement,resizable,scale,topLayerDisabled,width,widthScale;scrollContentTo,setFocus,updateFocusTrapElements,updateSize"],"calcite-dropdown":[()=>import("./X5DVSEAW.js"),"closeOnSelectDisabled,disabled,flipPlacements:,maxItems,offsetDistance,offsetSkidding,open,overlayPositioning,placement,referenceElement,scale,selectedItems:,topLayerDisabled,type,width,widthScale;reposition,setFocus"],"calcite-dropdown-group":[()=>import("./4X66Y5SG.js"),"groupTitle,position,scale,selectionMode"],"calcite-dropdown-item":[()=>import("./C7S3BDBX.js"),"disabled,href,iconEnd,iconFlipRtl,iconStart,label,rel,scale,selected,selectionMode,target;activateItem,setFocus"],"calcite-fab":[()=>import("./MGB7IHBN.js"),"appearance,disabled,icon,iconFlipRtl,kind,label,loading,scale,text,textEnabled;setFocus"],"calcite-filter":[()=>import("./K46PS2N6.js"),"disabled,filteredItems:,filterProps:,items:,label,messageOverrides:,placeholder,scale,value;filter,setFocus"],"calcite-flow":[()=>import("./7VHIR7OZ.js"),"customItemSelectors;back,setFocus"],"calcite-flow-item":[()=>import("./EKI76LG7.js"),"beforeBack:,beforeClose:,closable,closed,collapsed,collapseDirection,collapsible,description,disabled,focusTrapDisabled,focusTrapOptions:,heading,headingLevel,icon,iconFlipRtl,loading,menuOpen,messageOverrides:,overlayPositioning,scale,selected,showBackButton,topLayerDisabled;scrollContentTo,setFocus,updateFocusTrapElements"],"calcite-graph":[()=>import("./4IJ4XYKR.js"),"colorStops:,data:,highlightMax,highlightMin,max,min"],"calcite-icon":[()=>import("./HDPXMQMP.js"),"flipRtl,icon,preload,scale,textLabel"],"calcite-inline-editable":[()=>import("./PJWHKL5T.js"),"afterConfirm:,controls,disabled,editingEnabled,loading,messageOverrides:,scale;setFocus"],"calcite-input":[()=>import("./EIZDIRB4.js"),"accept,alignment,aria:,autocomplete,clearable,disabled,files:,form,groupSeparator,icon,iconFlipRtl,inlineEdit,inlineEditing,inlineEditingBeforeConfirm:,inputRole,label,labelText,loading,localeFormat,max,maxLength,messageOverrides:,min,minLength,multiple,name,numberButtonType,numberingSystem,pattern,placeholder,prefixText,readOnly,required,scale,status,step,suffixText,type,validationIcon,validationMessage,validity:,value;selectText,setFocus",1],"calcite-input-date-picker":[()=>import("./6UWV2IB4.js"),"calendars,clearable,disabled,flipPlacements:,focusTrapDisabled,form,headingLevel,label,labelText,layout,max,maxAsDate:,messageOverrides:,min,minAsDate:,monthStyle,name,numberingSystem,open,overlayPositioning,placeholder,placement,proximitySelectionDisabled,range,readOnly,required,scale,status,topLayerDisabled,validationIcon,validationMessage,validity:,value,valueAsDate:;reposition,setFocus",1],"calcite-input-message":[()=>import("./HSPTT3LV.js"),"icon,iconFlipRtl,scale,status"],"calcite-input-number":[()=>import("./LSUYGJUQ.js"),"alignment,autocomplete,clearable,disabled,form,groupSeparator,icon,iconFlipRtl,inlineEdit,inlineEditing,inlineEditingBeforeConfirm:,integer,label,labelText,loading,localeFormat,max,maxLength,messageOverrides:,min,minLength,name,numberButtonType,numberingSystem,placeholder,prefixText,readOnly,required,scale,status,step,suffixText,validationIcon,validationMessage,validity:,value;selectText,setFocus",1],"calcite-input-text":[()=>import("./COIMZWZL.js"),"alignment,autocomplete,clearable,disabled,form,icon,iconFlipRtl,inlineEdit,inlineEditing,inlineEditingBeforeConfirm:,label,labelText,loading,maxLength,messageOverrides:,minLength,name,pattern,placeholder,prefixText,readOnly,required,scale,status,suffixText,validationIcon,validationMessage,validity:,value;selectText,setFocus",1],"calcite-input-time-picker":[()=>import("./MX6NVG77.js"),"clearable,disabled,focusTrapDisabled,form,hourFormat,label,labelText,max,messageOverrides:,min,name,numberingSystem,open,overlayPositioning,placeholder,placement,readOnly,required,scale,status,step,validationIcon,validationMessage,validity:,value;reposition,setFocus",1],"calcite-input-time-zone":[()=>import("./CJ2QW6FE.js"),"clearable,disabled,form,label,labelText,maxItems,messageOverrides:,mode,name,offsetStyle,open,overlayPositioning,placeholder,readOnly,referenceDate,required,scale,status,topLayerDisabled,validationIcon,validationMessage,validity:,value;setFocus",1],"calcite-label":[()=>import("./27X4URIG.js"),"alignment,for,layout,scale"],"calcite-link":[()=>import("./L2YJXRI7.js"),"disabled,download,href,iconEnd,iconFlipRtl,iconStart,label,rel,target;setFocus"],"calcite-list":[()=>import("./5CBIKAEI.js"),"canPull:,canPut:,disabled,displayMode,dragEnabled,filteredData:,filteredItems:,filterEnabled,filterLabel,filterPlaceholder,filterPredicate:,filterProps:,filterText,group,interactionMode,label,loading,messageOverrides:,numberingSystem,scale,selectedItems:,selectionAppearance,selectionMode,sortDisabled;setFocus;emitOrderChangeEvent"],"calcite-list-item":[()=>import("./TQP5GGZ4.js"),"active,addToItems:,bordered,closable,closed,description,disabled,displayMode,dragDisabled,dragHandle,expanded,filterHidden,iconEnd,iconFlipRtl,iconStart,interactionMode,label,messageOverrides:,metadata:,moveToItems:,open,scale,selected,selectionAppearance,selectionMode,setPosition,setSize,sortDisabled,sortHandleOpen,topLayerDisabled,unavailable,value;setFocus"],"calcite-list-item-group":[()=>import("./JDKIG3OK.js"),"disabled,filterHidden,heading,scale"],"calcite-loader":[()=>import("./N3EQA7VR.js"),"complete,inline,label,messages:,scale,text,type,value"],"calcite-menu":[()=>import("./CW3F5PSX.js"),"label,layout,messageOverrides:,scale;setFocus"],"calcite-menu-item":[()=>import("./AMN4XNVI.js"),"active,breadcrumb,href,iconEnd,iconFlipRtl,iconStart,isTopLevelItem,label,layout,messageOverrides:,open,rel,scale,target,text,topLevelMenuLayout;setFocus"],"calcite-meter":[()=>import("./OZLM7DWI.js"),"appearance,disabled,fillType,form,groupSeparator,high,label,low,max,messages:,min,name,numberingSystem,rangeLabels,rangeLabelType,scale,unitLabel,value,valueLabel,valueLabelType"],"calcite-navigation":[()=>import("./ZHPJ2ZY3.js"),"label,navigationAction,scale;setFocus"],"calcite-navigation-logo":[()=>import("./7B7AUCFT.js"),"active,description,heading,headingLevel,href,icon,iconFlipRtl,label,rel,scale,target,thumbnail;setFocus"],"calcite-navigation-user":[()=>import("./S26F7J4L.js"),"active,fullName,label,scale,textDisabled,thumbnail,userId,username;setFocus"],"calcite-notice":[()=>import("./DZ5YZLLW.js"),"appearance,closable,icon,iconFlipRtl,kind,messageOverrides:,open,scale,width;setFocus"],"calcite-option":[()=>import("./UFT5JASX.js"),"disabled,label,selected,value"],"calcite-option-group":[()=>import("./UR5QD42E.js"),"disabled,label"],"calcite-pagination":[()=>import("./MJA76ZEB.js"),"groupSeparator,messageOverrides:,numberingSystem,pageSize,scale,startItem,totalItems;goTo,nextPage,previousPage,setFocus"],"calcite-panel":[()=>import("./ZGI3EA4A.js"),"beforeClose:,closable,closed,collapsed,collapseDirection,collapsible,description,disabled,focusTrapDisabled,focusTrapEnabledByParent,focusTrapOptions:,heading,headingLevel,icon,iconFlipRtl,loading,menuFlipPlacements:,menuOpen,menuPlacement,messageOverrides:,overlayPositioning,scale,topLayerDisabled;scrollContentTo,setFocus,updateFocusTrapElements"],"calcite-popover":[()=>import("./UD45ZUIJ.js"),"autoClose,closable,flipDisabled,flipPlacements:,focusTrapDisabled,focusTrapOptions:,heading,headingLevel,label,messageOverrides:,offsetDistance,offsetSkidding,open,overlayPositioning,placement,pointerDisabled,referenceElement,scale,topLayerDisabled,triggerDisabled;reposition,setFocus,updateFocusTrapElements"],"calcite-progress":[()=>import("./CXEQ3W3L.js"),"label,reversed,text,type,value"],"calcite-radio-button":[()=>import("./TTIGWOQG.js"),"checked,disabled,focused,form,hovered,label,labelText,name,required,scale,status,validationMessage,validity:,value;emitCheckedChange,setFocus,setValidity",1],"calcite-radio-button-group":[()=>import("./YHFR2OVW.js"),"disabled,labelText,layout,messageOverrides:,name,required,scale,selectedItem:,status,validationIcon,validationMessage;setFocus"],"calcite-rating":[()=>import("./UF7RT555.js"),"average,count,disabled,form,labelText,messageOverrides:,name,readOnly,required,scale,showChip,status,validationIcon,validationMessage,validity:,value;setFocus",1],"calcite-scrim":[()=>import("./4KYT4OEB.js"),"loading,messageOverrides:"],"calcite-segmented-control":[()=>import("./UIQPXBY4.js"),"appearance,disabled,form,labelText,layout,messageOverrides:,name,required,scale,selectedItem:,status,validationIcon,validationMessage,validity:,value,width;setFocus",1],"calcite-segmented-control-item":[()=>import("./BAM2PBGA.js"),"appearance,checked,iconEnd,iconFlipRtl,iconStart,layout,scale,value"],"calcite-select":[()=>import("./O7KTF2FA.js"),"disabled,form,label,labelText,messageOverrides:,name,required,scale,selectedOption:,status,validationIcon,validationMessage,validity:,value,width;setFocus",1],"calcite-sheet":[()=>import("./SKHMBPZX.js"),"beforeClose:,displayMode,embedded,escapeDisabled,focusTrapDisabled,focusTrapOptions:,height,heightScale,label,messageOverrides:,messages:,modal,open,opened,outsideCloseDisabled,position,resizable,topLayerDisabled,width,widthScale;setFocus,updateFocusTrapElements,updateSize"],"calcite-shell":[()=>import("./KWGKBIM3.js"),"contentBehind"],"calcite-shell-panel":[()=>import("./BQUS7O7D.js"),"collapsed,displayMode,height,heightScale,layout,messageOverrides:,position,resizable,shellSizingDataProvider:,width,widthScale;updateSize"],"calcite-slider":[()=>import("./EEA73SFZ.js"),"disabled,fillPlacement,form,groupSeparator,hasHistogram,histogram:,histogramStops:,label,labelFormatter:,labelHandles,labelText,labelTicks,max,maxLabel,maxValue,messageOverrides:,min,minLabel,minValue,mirrored,name,numberingSystem,pageStep,precise,required,scale,snap,status,step,ticks,validationIcon,validationMessage,validity:,value;setFocus",1],"calcite-sort-handle":[()=>import("./S3H4IEOB.js"),"addToItems:,disabled,flipPlacements:,label,messageOverrides:,messages:,moveToItems:,open,overlayPositioning,placement,scale,setPosition,setSize,sortDisabled,topLayerDisabled,widthScale;setFocus"],"calcite-split-button":[()=>import("./IZPGTGLJ.js"),"active,appearance,disabled,download,dropdownIconType,dropdownLabel,flipPlacements:,href,kind,loading,overlayPositioning,placement,primaryIconEnd,primaryIconFlipRtl,primaryIconStart,primaryLabel,primaryText,rel,scale,target,topLayerDisabled,width;setFocus"],"calcite-stack":[()=>import("./TBE6QB2J.js"),"disabled"],"calcite-stepper":[()=>import("./MTMSXD7G.js"),"icon,layout,messageOverrides:,numbered,numberingSystem,scale,selectedItem:;endStep,goToStep,nextStep,prevStep,startStep"],"calcite-stepper-item":[()=>import("./R7A2S2JK.js"),"complete,description,disabled,error,heading,icon,iconFlipRtl,itemHidden,layout,messageOverrides:,numbered,numberingSystem,scale,selected;setFocus"],"calcite-swatch":[()=>import("./D7Z5DPHN.js"),"color,disabled,interactive,label,parentSwatchGroup:,scale,selected,selectionMode,value;setFocus"],"calcite-swatch-group":[()=>import("./VGYAXHO5.js"),"disabled,label,scale,selectedItems:,selectionMode;setFocus"],"calcite-switch":[()=>import("./QILUIDT6.js"),"checked,disabled,form,label,labelTextEnd,labelTextStart,name,required,scale,validity:,value;setFocus",1],"calcite-tab":[()=>import("./WRX5ZQ6D.js"),"scale,selected,tab;getTabIndex;_updateAriaInfo"],"calcite-tab-nav":[()=>import("./ZSKZIJOQ.js"),"bordered,lastTabClosable,layout,messageOverrides:,position,scale,selectedTitle:,storageId,syncId"],"calcite-tab-title":[()=>import("./AXMEQ5HK.js"),"beforeClose:,bordered,closable,closed,disabled,iconEnd,iconFlipRtl,iconStart,layout,messageOverrides:,position,scale,selected,tab;activateTab,getTabIdentifier,getTabIndex;_updateAriaInfo"],"calcite-table":[()=>import("./WYG6UDXB.js"),"bordered,caption,currentPage,groupSeparator,interactionMode,layout,messageOverrides:,numbered,numberingSystem,pageSize,scale,selectedItems:,selectionDisplay,selectionMode,stickyHeader,striped"],"calcite-table-cell":[()=>import("./22EM6PC2.js"),"alignment,colSpan,disabled,interactionMode,lastCell,messageOverrides:,numberCell,parentRowAlignment,parentRowIsSelected,parentRowPositionLocalized,parentRowType,positionInRow,reachesBodyEnd,readCellContentsToAT,rowSpan,scale,selectionCell;setFocus"],"calcite-table-header":[()=>import("./FEGFX2WD.js"),"alignment,bodyRowCount,colSpan,description,heading,interactionMode,lastCell,messageOverrides:,numberCell,parentRowAlignment,parentRowIsSelected,parentRowType,positionInRow,rowSpan,scale,selectedRowCount,selectedRowCountLocalized,selectionCell,selectionMode;setFocus"],"calcite-table-row":[()=>import("./X52BCUBS.js"),"alignment,bodyRowCount,cellCount,disabled,interactionMode,itemHidden,lastVisibleRow,numbered,positionAll,positionSection,positionSectionLocalized,readCellContentsToAT,rowType,scale,selected,selectedRowCount,selectedRowCountLocalized,selectionMode,stickyHeaderEnabled"],"calcite-tabs":[()=>import("./KSGKP7BB.js"),"bordered,lastTabClosable,layout,position,scale"],"calcite-text":[()=>import("./MKBFZDRN.js"),"maxLines,truncatePosition"],"calcite-text-area":[()=>import("./EIFUYOVZ.js"),"columns,disabled,form,groupSeparator,label,labelText,limitText,loading,maxLength,messageOverrides:,minLength,name,numberingSystem,placeholder,readOnly,required,resize,rows,scale,status,validationIcon,validationMessage,validity:,value,wrap;selectText,setFocus",1],"calcite-tile":[()=>import("./XALW74CE.js"),"active,alignment,description,disabled,embed,heading,headingLevel,href,icon,iconFlipRtl,interactive,label,layout,scale,selected,selectionAppearance,selectionMode;setFocus"],"calcite-tile-group":[()=>import("./EZI27HAU.js"),"alignment,disabled,label,layout,scale,selectedItems:,selectionAppearance,selectionMode"],"calcite-time-picker":[()=>import("./GEYT6LB7.js"),"hourFormat,messageOverrides:,numberingSystem,scale,step,time:,value;setFocus"],"calcite-tooltip":[()=>import("./CCVUAR5Z.js"),"closeOnClick,label,offsetDistance,offsetSkidding,open,overlayPositioning,placement,pointerDisabled,referenceElement,scale,topLayerDisabled;reposition"],"calcite-tree":[()=>import("./I2DVQMTF.js"),"child,lines,parentExpanded,scale,selectedItems:,selectionMode"],"calcite-tree-item":[()=>import("./M4QXPEYA.js"),"depth,disabled,expanded,hasChildren,iconFlipRtl,iconStart,indeterminate,label,lines,parentExpanded,scale,selected,selectionMode"]});i({resourcesUrl:import.meta.url});var a=new CSSStyleSheet;a.replaceSync(`@layer{:not([calcite-hydrated]):is(calcite-accordion,calcite-accordion-item,calcite-action,calcite-action-bar,calcite-action-group,calcite-action-menu,calcite-alert,calcite-autocomplete,calcite-autocomplete-item,calcite-autocomplete-item-group,calcite-avatar,calcite-block,calcite-block-group,calcite-block-section,calcite-button,calcite-card,calcite-card-group,calcite-carousel,calcite-carousel-item,calcite-checkbox,calcite-chip,calcite-chip-group,calcite-color-picker,calcite-color-picker-hex-input,calcite-combobox,calcite-combobox-item,calcite-combobox-item-group,calcite-date-picker,calcite-date-picker-day,calcite-date-picker-month,calcite-dialog,calcite-dropdown,calcite-dropdown-group,calcite-dropdown-item,calcite-fab,calcite-filter,calcite-flow,calcite-flow-item,calcite-graph,calcite-icon,calcite-inline-editable,calcite-input,calcite-input-date-picker,calcite-input-message,calcite-input-number,calcite-input-text,calcite-input-time-picker,calcite-input-time-zone,calcite-label,calcite-link,calcite-list,calcite-list-item,calcite-list-item-group,calcite-loader,calcite-menu,calcite-menu-item,calcite-meter,calcite-navigation,calcite-navigation-logo,calcite-navigation-user,calcite-notice,calcite-option,calcite-option-group,calcite-pagination,calcite-panel,calcite-popover,calcite-progress,calcite-radio-button,calcite-radio-button-group,calcite-rating,calcite-scrim,calcite-segmented-control,calcite-segmented-control-item,calcite-select,calcite-sheet,calcite-shell,calcite-shell-panel,calcite-slider,calcite-sort-handle,calcite-split-button,calcite-stack,calcite-stepper,calcite-stepper-item,calcite-swatch,calcite-swatch-group,calcite-switch,calcite-tab,calcite-tab-nav,calcite-tab-title,calcite-table,calcite-table-cell,calcite-table-header,calcite-table-row,calcite-tabs,calcite-text,calcite-text-area,calcite-tile,calcite-tile-group,calcite-time-picker,calcite-tooltip,calcite-tree,calcite-tree-item){visibility:hidden}
3
3
 
4
4
  :root{--calcite-border-width-none: 0;--calcite-border-width-sm: 1px;--calcite-border-width-md: 2px;--calcite-border-width-lg: 4px;--calcite-container-size-margin: 24px;--calcite-container-size-gutter: 16px;--calcite-container-size-content-fluid: 100%;--calcite-container-size-content-fixed: 1440px;--calcite-corner-radius-sharp: 0;--calcite-corner-radius-none: 0;--calcite-corner-radius-xs: 2px;--calcite-corner-radius-sm: 4px;--calcite-corner-radius-round: 4px;--calcite-corner-radius-pill: 9999px;--calcite-font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;--calcite-font-family-code: Monaco, Consolas, "Andale Mono", "Lucida Console", monospace;--calcite-font-weight-light: 300;--calcite-font-weight-regular: 400;--calcite-font-weight-normal: 400;--calcite-font-weight-medium: 500;--calcite-font-weight-semibold: 600;--calcite-font-weight-bold: 600;--calcite-font-size-xs: 10px;--calcite-font-size-sm: 12px;--calcite-font-size: 14px;--calcite-font-size-md: 16px;--calcite-font-size-lg: 18px;--calcite-font-size-xl: 20px;--calcite-font-size-2xl: 24px;--calcite-font-size-relative-xs: .625rem;--calcite-font-size-relative-sm: .75rem;--calcite-font-size-relative-base: .875rem;--calcite-font-size-relative-md: 1rem;--calcite-font-size-relative-lg: 1.125rem;--calcite-font-size-relative-xl: 1.25rem;--calcite-font-size-relative-2xl: 1.625rem;--calcite-font-size-relative-3xl: 2rem;--calcite-font-size-relative-4xl: 2.5rem;--calcite-font-size-relative-5xl: 3rem;--calcite-font-size-relative-6xl: 3.5rem;--calcite-font-size-relative-7xl: 4rem;--calcite-font-style-emphasis: italic;--calcite-font-line-height-fixed-sm: 12px;--calcite-font-line-height-fixed-base: 16px;--calcite-font-line-height-fixed-lg: 20px;--calcite-font-line-height-fixed-xl: 24px;--calcite-font-line-height-fixed-2xl: 32px;--calcite-font-line-height-fixed-3xl: 40px;--calcite-font-line-height-fixed-4xl: 48px;--calcite-font-line-height-fixed-5xl: 64px;--calcite-font-line-height-fixed-6xl: 80px;--calcite-font-line-height-relative: normal;--calcite-font-line-height-relative-base: 1;--calcite-font-line-height-relative-tight: 1.25;--calcite-font-line-height-relative-snug: 1.375;--calcite-font-line-height-relative-normal: 1.5;--calcite-font-line-height-relative-relaxed: 1.625;--calcite-font-line-height-relative-loose: 2;--calcite-font-line-height-xs: .75rem;--calcite-font-line-height-sm: 1rem;--calcite-font-line-height-base: 1rem;--calcite-font-line-height-md: 1.25rem;--calcite-font-line-height-lg: 1.5rem;--calcite-font-line-height-xl: 1.5rem;--calcite-font-line-height-2xl: 2rem;--calcite-font-line-height-3xl: 2.5rem;--calcite-font-line-height-4xl: 3rem;--calcite-font-line-height-5xl: 4rem;--calcite-font-line-height-6xl: 4rem;--calcite-font-line-height-7xl: 5rem;--calcite-opacity-disabled: .5;--calcite-opacity-light: .4;--calcite-opacity-half: .5;--calcite-opacity-dark: .85;--calcite-opacity-full: 1;--calcite-shadow-none: 0 0 0 0 rgba(0, 0, 0, 0);--calcite-shadow-sm: 0 2px 8px 0 rgba(0, 0, 0, .1), 0 2px 8px 0 rgba(0, 0, 0, .04);--calcite-shadow-md: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--calcite-size-fixed-sm-plus: 10px;--calcite-size-fixed-md: 12px;--calcite-size-fixed-md-plus: 14px;--calcite-size-fixed-lg: 16px;--calcite-size-fixed-xxl: 24px;--calcite-size-fixed-xxxl: 32px;--calcite-size-px: 1px;--calcite-size-4xs: .625rem;--calcite-size-3xs: .75rem;--calcite-size-2xs: .875rem;--calcite-size-xs: 1rem;--calcite-size-sm: 1.5rem;--calcite-size-md: 2rem;--calcite-size-lg: 2.75rem;--calcite-size-xl: 3rem;--calcite-size-2xl: 4rem;--calcite-size-3xl: 6rem;--calcite-spacing-fixed-sm: 8px;--calcite-spacing-fixed-md: 12px;--calcite-spacing-fixed-lg: 14px;--calcite-spacing-none: 0;--calcite-spacing-px: 1px;--calcite-spacing-base: 2px;--calcite-spacing-xxs: .25rem;--calcite-spacing-xs: .375rem;--calcite-spacing-sm: .5rem;--calcite-spacing-sm-plus: .625rem;--calcite-spacing-md: .75rem;--calcite-spacing-md-plus: .875rem;--calcite-spacing-lg: 1rem;--calcite-spacing-xl: 1.25rem;--calcite-spacing-xxl: 1.5rem;--calcite-spacing-xxxl: 2rem;--calcite-space-none: 0;--calcite-space-px: 1px;--calcite-space-base: 2px;--calcite-space-2xs: .25rem;--calcite-space-xs: .375rem;--calcite-space-sm: .5rem;--calcite-space-sm-plus: .625rem;--calcite-space-md: .75rem;--calcite-space-md-plus: .875rem;--calcite-space-lg: 1rem;--calcite-space-xl: 1.25rem;--calcite-space-2xl: 1.5rem;--calcite-space-3xl: 2rem;--calcite-space-4xl: 2.75rem;--calcite-z-index-deep: -999999;--calcite-z-index: 1;--calcite-z-index-sticky: 300;--calcite-z-index-header: 400;--calcite-z-index-toast: 500;--calcite-z-index-dropdown: 600;--calcite-z-index-overlay: 700;--calcite-z-index-modal: 800;--calcite-z-index-popup: 900;--calcite-z-index-tooltip: 901;--calcite-corner-radius: var(--calcite-corner-radius-none)}.calcite-typography{font-family:var(--calcite-font-family);font-size:.875rem;font-weight:400;line-height:1.15}.calcite-typography-light-minus-3h{font-family:var(--calcite-font-family);font-size:.625rem;font-weight:300;line-height:1.2}.calcite-typography-light-minus-2h{font-family:var(--calcite-font-family);font-size:.75rem;font-weight:300;line-height:1.33}.calcite-typography-light-minus-1h{font-family:var(--calcite-font-family);font-size:.875rem;font-weight:300;line-height:1.15}.calcite-typography-light-0h{font-family:var(--calcite-font-family);font-size:1rem;font-weight:300;line-height:1.25}.calcite-typography-light-1h{font-family:var(--calcite-font-family);font-size:1.125rem;font-weight:300;line-height:1.33}.calcite-typography-light-2h{font-family:var(--calcite-font-family);font-size:1.25rem;font-weight:300;line-height:1.2}.calcite-typography-regular-minus-3h{font-family:var(--calcite-font-family);font-size:.625rem;font-weight:400;line-height:1.2}.calcite-typography-regular-minus-2h{font-family:var(--calcite-font-family);font-size:.75rem;font-weight:400;line-height:1.33}.calcite-typography-regular-minus-1h{font-family:var(--calcite-font-family);font-size:.875rem;font-weight:400;line-height:1.15}.calcite-typography-regular-0h{font-family:var(--calcite-font-family);font-size:1rem;font-weight:400;line-height:1.25}.calcite-typography-regular-1h{font-family:var(--calcite-font-family);font-size:1.125rem;font-weight:400;line-height:1.33}.calcite-typography-regular-2h{font-family:var(--calcite-font-family);font-size:1.25rem;font-weight:400;line-height:1.2}.calcite-typography-medium-minus-3h{font-family:var(--calcite-font-family);font-size:.625rem;font-weight:500;line-height:1.2}.calcite-typography-medium-minus-2h{font-family:var(--calcite-font-family);font-size:.75rem;font-weight:500;line-height:1.33}.calcite-typography-medium-minus-1h{font-family:var(--calcite-font-family);font-size:.875rem;font-weight:500;line-height:1.15}.calcite-typography-medium-0h{font-family:var(--calcite-font-family);font-size:1rem;font-weight:500;line-height:1.25}.calcite-typography-medium-1h{font-family:var(--calcite-font-family);font-size:1.125rem;font-weight:500;line-height:1.33}.calcite-typography-medium-2h{font-family:var(--calcite-font-family);font-size:1.25rem;font-weight:500;line-height:1.2}.calcite-typography-bold-minus-3h{font-family:var(--calcite-font-family);font-size:.625rem;font-weight:600;line-height:1.2}.calcite-typography-bold-minus-2h{font-family:var(--calcite-font-family);font-size:.75rem;font-weight:600;line-height:1.33}.calcite-typography-bold-minus-1h{font-family:var(--calcite-font-family);font-size:.875rem;font-weight:600;line-height:1.15}.calcite-typography-bold-0h{font-family:var(--calcite-font-family);font-size:1rem;font-weight:600;line-height:1.25}.calcite-typography-bold-1h{font-family:var(--calcite-font-family);font-size:1.125rem;font-weight:600;line-height:1.33}.calcite-typography-bold-2h{font-family:var(--calcite-font-family);font-size:1.25rem;font-weight:600;line-height:1.2}.calcite-typography-wrap-light-0{font-family:var(--calcite-font-family);font-size:1rem;font-weight:300;line-height:1.375}.calcite-typography-wrap-light-1{font-family:var(--calcite-font-family);font-size:1.125rem;font-weight:300;line-height:1.375}.calcite-typography-wrap-light-2{font-family:var(--calcite-font-family);font-size:1.25rem;font-weight:300;line-height:1.375}.calcite-typography-wrap-light-3{font-family:var(--calcite-font-family);font-size:1.625rem;font-weight:300;line-height:1.25}.calcite-typography-wrap-light-minus-2{font-family:var(--calcite-font-family);font-size:.75rem;font-weight:300;line-height:1.375}.calcite-typography-wrap-light-minus-1{font-family:var(--calcite-font-family);font-size:.875rem;font-weight:300;line-height:1.375}.calcite-typography-wrap-regular-0{font-family:var(--calcite-font-family);font-size:1rem;font-weight:400;line-height:1.375}.calcite-typography-wrap-regular-1{font-family:var(--calcite-font-family);font-size:1.125rem;font-weight:400;line-height:1.375}.calcite-typography-wrap-regular-2{font-family:var(--calcite-font-family);font-size:1.25rem;font-weight:400;line-height:1.375}.calcite-typography-wrap-regular-3{font-family:var(--calcite-font-family);font-size:1.625rem;font-weight:400;line-height:1.25}.calcite-typography-wrap-regular-minus-2{font-family:var(--calcite-font-family);font-size:.75rem;font-weight:400;line-height:1.375}.calcite-typography-wrap-regular-minus-1{font-family:var(--calcite-font-family);font-size:.875rem;font-weight:400;line-height:1.375}.calcite-typography-wrap-medium-0{font-family:var(--calcite-font-family);font-size:1rem;font-weight:500;line-height:1.375}.calcite-typography-wrap-medium-1{font-family:var(--calcite-font-family);font-size:1.125rem;font-weight:500;line-height:1.375}.calcite-typography-wrap-medium-2{font-family:var(--calcite-font-family);font-size:1.25rem;font-weight:500;line-height:1.375}.calcite-typography-wrap-medium-3{font-family:var(--calcite-font-family);font-size:1.625rem;font-weight:500;line-height:1.25}.calcite-typography-wrap-medium-minus-2{font-family:var(--calcite-font-family);font-size:.75rem;font-weight:500;line-height:1.375}.calcite-typography-wrap-medium-minus-1{font-family:var(--calcite-font-family);font-size:.875rem;font-weight:500;line-height:1.375}.calcite-typography-wrap-bold-0{font-family:var(--calcite-font-family);font-size:1rem;font-weight:600;line-height:1.375}.calcite-typography-wrap-bold-1{font-family:var(--calcite-font-family);font-size:1.125rem;font-weight:600;line-height:1.375}.calcite-typography-wrap-bold-2{font-family:var(--calcite-font-family);font-size:1.25rem;font-weight:600;line-height:1.375}.calcite-typography-wrap-bold-3{font-family:var(--calcite-font-family);font-size:1.625rem;font-weight:600;line-height:1.25}.calcite-typography-wrap-bold-minus-2{font-family:var(--calcite-font-family);font-size:.75rem;font-weight:600;line-height:1.375}.calcite-typography-wrap-bold-minus-1{font-family:var(--calcite-font-family);font-size:.875rem;font-weight:600;line-height:1.375}.calcite-typography-hierarchy-display-1{font-size:1.625rem;font-weight:600;line-height:1.375}.calcite-typography-hierarchy-display-2{font-weight:600;line-height:1.375;font-size:1.25rem}.calcite-typography-hierarchy-heading-1{font-size:1.625rem;font-weight:500;line-height:1.375}.calcite-typography-hierarchy-heading-2{font-weight:500;line-height:1.375;font-size:1.25rem}.calcite-typography-hierarchy-heading-3{font-weight:500;line-height:1.375;font-size:1.125rem}.calcite-typography-hierarchy-heading-4{font-weight:500;line-height:1.375;font-size:1rem}.calcite-typography-hierarchy-heading-5{font-weight:500;line-height:1.375;font-size:.875rem}.calcite-typography-hierarchy-body-snug{line-height:1.375;font-size:.875rem}.calcite-typography-hierarchy-body{font-family:var(--calcite-font-family);font-size:.875rem;font-weight:400;line-height:1.15}.calcite-typography-hierarchy-overline{font-size:.75rem;font-weight:600;line-height:1}.calcite-typography-hierarchy-caption{line-height:1.375;font-size:.75rem}:root{color-scheme:light;--calcite-color-surface-1: light-dark( #f7f7f7, #212121 );--calcite-color-surface-2: light-dark( #ffffff, #2b2b2b );--calcite-color-surface-3: light-dark( #f2f2f2, #363636 );--calcite-color-surface-4: light-dark( #ebebeb, #404040 );--calcite-color-surface-highlight: light-dark( #d6efff, #2b465f );--calcite-color-background: light-dark( #f7f7f7, #212121 );--calcite-color-foreground-1: light-dark( #ffffff, #2b2b2b );--calcite-color-foreground-2: light-dark( #f2f2f2, #363636 );--calcite-color-foreground-3: light-dark( #ebebeb, #404040 );--calcite-color-text-1: light-dark(#141414, #ffffff);--calcite-color-text-2: light-dark(#4a4a4a, #bfbfbf);--calcite-color-text-3: light-dark(#6b6b6b, #9e9e9e);--calcite-color-text-inverse: light-dark(#ffffff, #141414);--calcite-color-text-link: light-dark(#00619b, #00a0ff);--calcite-color-text-highlight: light-dark(#004874, #d6efff);--calcite-color-border-1: light-dark(#d4d4d4, #545454);--calcite-color-border-2: light-dark(#dedede, #4a4a4a);--calcite-color-border-3: light-dark(#ebebeb, #404040);--calcite-color-border-input: light-dark(#949494, #757575);--calcite-color-brand: light-dark(#007ac2, #009af2);--calcite-color-brand-hover: light-dark(#00619b, #40b9ff);--calcite-color-brand-press: light-dark(#004874, #80d1ff);--calcite-color-brand-underline: light-dark( rgba(0, 97, 155, .4), rgba(0, 160, 255, .4) );--calcite-color-inverse: light-dark(#363636, #f7f7f7);--calcite-color-inverse-hover: light-dark(#2b2b2b, #f2f2f2);--calcite-color-inverse-press: light-dark(#212121, #ebebeb);--calcite-color-status-info: light-dark(#00619b, #00a0ff);--calcite-color-status-info-hover: light-dark(#004874, #40b9ff);--calcite-color-status-info-press: light-dark(#00304d, #80d1ff);--calcite-color-status-success: light-dark(#288835, #36da43);--calcite-color-status-success-hover: light-dark(#1a6324, #6df278);--calcite-color-status-success-press: light-dark(#0d3f14, #9df2a3);--calcite-color-status-warning: light-dark(#da7c0b, #f89927);--calcite-color-status-warning-hover: light-dark(#c26b00, #ffaf4f);--calcite-color-status-warning-press: light-dark(#9a5b10, #ffc47d);--calcite-color-status-danger: light-dark(#d83020, #fe583e);--calcite-color-status-danger-hover: light-dark(#a82b1e, #fe7863);--calcite-color-status-danger-press: light-dark(#7c1d13, #fe9989);--calcite-color-transparent: light-dark( rgba(0, 0, 0, 0), rgba(255, 255, 255, 0) );--calcite-color-transparent-hover: light-dark( rgba(0, 0, 0, .04), rgba(255, 255, 255, .12) );--calcite-color-transparent-press: light-dark( rgba(0, 0, 0, .08), rgba(255, 255, 255, .16) );--calcite-color-transparent-scrim: light-dark( rgba(255, 255, 255, .85), rgba(0, 0, 0, .85) );--calcite-color-transparent-tint: light-dark( rgba(255, 255, 255, .8), rgba(43, 43, 43, .8) );--calcite-color-transparent-inverse-hover: light-dark( rgba(255, 255, 255, .12), rgba(0, 0, 0, .04) );--calcite-color-transparent-inverse-press: light-dark( rgba(255, 255, 255, .16), rgba(0, 0, 0, .08) );--calcite-color-focus: var(--calcite-color-brand)}.calcite-mode-auto{color-scheme:light dark}.calcite-mode-dark{color-scheme:dark}.calcite-mode-light{color-scheme:light}:root{--calcite-code-family: "Consolas", "Andale Mono", "Lucida Console", "Monaco", monospace;--calcite-sans-family: "Avenir Next", "Avenir", "Helvetica Neue", sans-serif;--calcite-font-size--3: .625rem;--calcite-font-size--2: .75rem;--calcite-font-size--1: .875rem;--calcite-font-size-0: 1rem;--calcite-font-size-1: 1.125rem;--calcite-font-size-2: 1.25rem;--calcite-font-size-3: 1.625rem;--calcite-font-size-4: 2rem;--calcite-font-size-5: 2.5rem;--calcite-font-size-6: 3rem;--calcite-font-size-7: 3.5rem;--calcite-font-size-8: 4rem;--calcite-font-weight-light: 300;--calcite-font-weight-normal: 400;--calcite-font-weight-medium: 500;--calcite-font-weight-bold: 600;--calcite-floating-ui-transition: var(--calcite-animation-timing);--calcite-animation-easing-function: cubic-bezier(.4, 0, .2, 1);--calcite-animation-timing: calc(.15s * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor: var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast: calc(.1s * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium: calc(.2s * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow: calc(.3s * var(--calcite-internal-duration-factor));--calcite-border-radius: var(--calcite-border-radius-round, 4px);--calcite-border-radius-base: 0;--calcite-offset-invert-focus: 0;--calcite-panel-width-multiplier: 1;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:var(--calcite-font-family)}@media(prefers-reduced-motion:reduce){:root{--calcite-internal-duration-factor: 0}}}`);document.adoptedStyleSheets=[...document.adoptedStyleSheets,a];
@@ -102,9 +102,9 @@ function getConfig() {
102
102
  }
103
103
  return effectiveConfig;
104
104
  }
105
- const version = "6.0.0-next.30";
106
- const buildDate = "2026-11-16";
107
- const revision = "1ff8ffa4c";
105
+ const version = "6.0.0-next.32";
106
+ const buildDate = "2026-11-18";
107
+ const revision = "bea220892";
108
108
  function stampVersion() {
109
109
  const config = getConfig();
110
110
  if (config && config.version) {
@@ -127,7 +127,7 @@ if (!isServer) {
127
127
  if (process.env.NODE_ENV !== "test") {
128
128
  queueMicrotask(stampVersion);
129
129
  }
130
- const runtime = makeRuntime({ defaultAssetPath: "https://cdn.jsdelivr.net/npm/@esri/calcite-components@6.0.0-next.30/dist/cdn/", hydratedAttribute: "calcite-hydrated" });
130
+ const runtime = makeRuntime({ defaultAssetPath: "https://cdn.jsdelivr.net/npm/@esri/calcite-components@6.0.0-next.32/dist/cdn/", hydratedAttribute: "calcite-hydrated" });
131
131
  const originalSetAssetPath = runtime.setAssetPath;
132
132
  runtime.setAssetPath = (path) => {
133
133
  assetPathChanged = true;
@@ -9,50 +9,14 @@ export interface DeclareCssProperties {
9
9
  "--calcite-action-background-color-hover": "*";
10
10
  /** Specifies the component's background color when active. */
11
11
  "--calcite-action-background-color-press": "*";
12
- /**
13
- * Specifies the component's background color when active.
14
- *
15
- * @deprecated in v3.0.0, removal target v6.0.0 - Use `--calcite-action-background-color-press` instead.
16
- */
17
- "--calcite-action-background-color-pressed": "*";
18
12
  /** Specifies the component's background color. */
19
13
  "--calcite-action-background-color": "*";
20
- /**
21
- * Specifies the component's corner radius end end.
22
- *
23
- * @deprecated in v3.0.0, removal target v6.0.0 - Use `--calcite-action-corner-radius` instead.
24
- */
25
- "--calcite-action-corner-radius-end-end": "*";
26
- /**
27
- * Specifies the component's corner radius end start.
28
- *
29
- * @deprecated in v3.0.0, removal target v6.0.0 - Use `--calcite-action-corner-radius` instead.
30
- */
31
- "--calcite-action-corner-radius-end-start": "*";
32
- /**
33
- * Specifies the component's corner radius start end.
34
- *
35
- * @deprecated in v3.0.0, removal target v6.0.0 - Use `--calcite-action-corner-radius` instead.
36
- */
37
- "--calcite-action-corner-radius-start-end": "*";
38
- /**
39
- * Specifies the component's corner radius start start.
40
- *
41
- * @deprecated in v3.0.0, removal target v6.0.0 - Use `--calcite-action-corner-radius` instead.
42
- */
43
- "--calcite-action-corner-radius-start-start": "*";
44
14
  /** Specifies the component's corner radius. */
45
15
  "--calcite-action-corner-radius": "*";
46
16
  /** Specifies the component's indicator color. */
47
17
  "--calcite-action-indicator-color": "*";
48
18
  /** Specifies the component's text color when pressed or hovered. */
49
19
  "--calcite-action-text-color-press": "*";
50
- /**
51
- * Specifies the component's text color when hovered.
52
- *
53
- * @deprecated in v3.0.0, removal target v6.0.0 - Use `--calcite-action-text-color-press` instead.
54
- */
55
- "--calcite-action-text-color-pressed": "*";
56
20
  /** Specifies the component's text color. */
57
21
  "--calcite-action-text-color": "*";
58
22
  /** Specifies the component's loader color. */