@esri/calcite-components 6.0.0-next.36 → 6.0.0-next.37

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 (151) hide show
  1. package/dist/cdn/{UWZGRGQT.js → 2HHATYJR.js} +1 -1
  2. package/dist/cdn/{3IOZ4NEX.js → 2NVP6HW7.js} +1 -1
  3. package/dist/cdn/2S3WKYGY.js +2 -0
  4. package/dist/cdn/{FZQCKMTU.js → 2SAQVDK6.js} +1 -1
  5. package/dist/cdn/{AWI33HUK.js → 3E7SA7JK.js} +1 -1
  6. package/dist/cdn/{IEFYOPKS.js → 3HLN5YDB.js} +1 -1
  7. package/dist/cdn/{6U7RVRTZ.js → 3HZ7HUWN.js} +1 -1
  8. package/dist/cdn/{WKLITM2Q.js → 3JIBHCE2.js} +1 -1
  9. package/dist/cdn/{LBJLGDS6.js → 3PDPB7QZ.js} +1 -1
  10. package/dist/cdn/{R6EATP4V.js → 4DRQQQ4F.js} +1 -1
  11. package/dist/cdn/{JNNLYUU7.js → 4FD5JJQH.js} +1 -1
  12. package/dist/cdn/{V5KRVD63.js → 4Y7A3UFB.js} +1 -1
  13. package/dist/cdn/{WNC7ECCL.js → 4YHGXXQL.js} +1 -1
  14. package/dist/cdn/{B2HQ6AGI.js → 524WBBTB.js} +1 -1
  15. package/dist/cdn/{ECCF2CTZ.js → 54O57WQV.js} +1 -1
  16. package/dist/cdn/{S67FGWW3.js → 57Q6EBY2.js} +1 -1
  17. package/dist/cdn/{HUTPJHUR.js → 5VVULODW.js} +1 -1
  18. package/dist/cdn/{WUBEQCPN.js → 64M6GGX4.js} +1 -1
  19. package/dist/cdn/{T3JILWL7.js → 6K6I3E2P.js} +1 -1
  20. package/dist/cdn/{KSQGDVHO.js → 6TAUFYMH.js} +1 -1
  21. package/dist/cdn/{ZKSLB64S.js → 7CFSRB5X.js} +1 -1
  22. package/dist/cdn/{QDIQP3YD.js → 7F2QIPTY.js} +1 -1
  23. package/dist/cdn/{ZKTHGICN.js → 7PWVZVGL.js} +1 -1
  24. package/dist/cdn/{H7L3SQI5.js → 7TS7GCWB.js} +1 -1
  25. package/dist/cdn/{WJFEV27K.js → 7USZJATR.js} +1 -1
  26. package/dist/cdn/{W455NS4Q.js → 7WMZPIRC.js} +1 -1
  27. package/dist/cdn/{JUOFZRUA.js → A4SZIADG.js} +1 -1
  28. package/dist/cdn/{IT55FXFB.js → AGOHJA6M.js} +1 -1
  29. package/dist/cdn/{MAHQYZPI.js → AQROGW2K.js} +1 -1
  30. package/dist/cdn/{W2I5OPYF.js → ASSN355L.js} +1 -1
  31. package/dist/cdn/{WACBLTPH.js → B53L3WV4.js} +1 -1
  32. package/dist/cdn/{SRDT5O2G.js → B5K4B2QD.js} +1 -1
  33. package/dist/cdn/{E7CSGD77.js → BOKGEQ2O.js} +1 -1
  34. package/dist/cdn/{7YKU7HXN.js → C2APFZNF.js} +1 -1
  35. package/dist/cdn/{6M564ADZ.js → CDCG7OXE.js} +1 -1
  36. package/dist/cdn/{FZVPQVKC.js → CKCH7TWX.js} +1 -1
  37. package/dist/cdn/{TRR67IQN.js → CQEEBNPA.js} +1 -1
  38. package/dist/cdn/{KP3PHVFJ.js → CTBLHDKO.js} +1 -1
  39. package/dist/cdn/{SC2HLLOI.js → DFI5QYMB.js} +1 -1
  40. package/dist/cdn/{VZN2JLNB.js → DJWPH4BH.js} +1 -1
  41. package/dist/cdn/{PRWBFUC6.js → DPVRDJJ2.js} +1 -1
  42. package/dist/cdn/{NGLXEB5Z.js → DTXHHBDA.js} +1 -1
  43. package/dist/cdn/{2J454YPO.js → E4GZAXJH.js} +1 -1
  44. package/dist/cdn/{36JEMJ4C.js → EDXPXNKO.js} +1 -1
  45. package/dist/cdn/{TN5EWDLR.js → EM4CCBMC.js} +1 -1
  46. package/dist/cdn/{AAM4AVON.js → EUQMVFBJ.js} +1 -1
  47. package/dist/cdn/{FHYN6ZAQ.js → FSO4HHTR.js} +1 -1
  48. package/dist/cdn/{IU5OBAG7.js → G3PFNMA4.js} +1 -1
  49. package/dist/cdn/{4RBVTPP7.js → GC3N62DP.js} +1 -1
  50. package/dist/cdn/{CFVYBPKF.js → GJNUGSFY.js} +1 -1
  51. package/dist/cdn/{AOKBE6J7.js → GP34CHYQ.js} +1 -1
  52. package/dist/cdn/{Q2JX3IAD.js → GTDETCHZ.js} +1 -1
  53. package/dist/cdn/{HCQZJGCX.js → H7W2VIUC.js} +1 -1
  54. package/dist/cdn/{UDSLGUXK.js → HKLCZISC.js} +1 -1
  55. package/dist/cdn/{B7P6V6MC.js → HMH2MKYA.js} +1 -1
  56. package/dist/cdn/{DJLHTYEJ.js → HYCXQXFM.js} +1 -1
  57. package/dist/cdn/{F6JZXX2K.js → IH43SDJS.js} +1 -1
  58. package/dist/cdn/{ZFIHPRH2.js → IJVTRSXL.js} +1 -1
  59. package/dist/cdn/{KIR2H2WF.js → IUS6A7OU.js} +1 -1
  60. package/dist/cdn/{4SZCEARC.js → JDMUVSFJ.js} +1 -1
  61. package/dist/cdn/{MOIQ2PKL.js → JFUV6THY.js} +1 -1
  62. package/dist/cdn/{E57LYWC5.js → K47G242V.js} +1 -1
  63. package/dist/cdn/{5UC45SSV.js → K6K5YII7.js} +1 -1
  64. package/dist/cdn/{XAYJREXM.js → K7DQPJIP.js} +1 -1
  65. package/dist/cdn/{EOUBXPNR.js → KCTLWHLJ.js} +1 -1
  66. package/dist/cdn/{FJ4YXF5O.js → KDYAEA4Z.js} +1 -1
  67. package/dist/cdn/{ZSUIE3CH.js → KNGFRNBZ.js} +1 -1
  68. package/dist/cdn/{X7KT67IZ.js → KPC3MYFR.js} +1 -1
  69. package/dist/cdn/{2VSLGFG4.js → LFCH7RWW.js} +1 -1
  70. package/dist/cdn/{ZRJVPMEK.js → LS7OFBNJ.js} +1 -1
  71. package/dist/cdn/{I7LH7HGC.js → M5IRAD3I.js} +1 -1
  72. package/dist/cdn/{BHRRFU7Q.js → M6KP3FHZ.js} +1 -1
  73. package/dist/cdn/{ABQMRRNL.js → MDNGPOJD.js} +1 -1
  74. package/dist/cdn/{BDWKQYK2.js → MJT3EHT7.js} +1 -1
  75. package/dist/cdn/{ESR6X7A7.js → MLJKWSY7.js} +1 -1
  76. package/dist/cdn/{MGDB7ACM.js → MO64TA77.js} +1 -1
  77. package/dist/cdn/{DHM55VF3.js → MQ3VSM63.js} +1 -1
  78. package/dist/cdn/{6I4CVPNH.js → MRIBAYUU.js} +1 -1
  79. package/dist/cdn/{FA3KLVWD.js → N2RJZ5Y5.js} +1 -1
  80. package/dist/cdn/{2CWRWNX3.js → N3VFPAWV.js} +1 -1
  81. package/dist/cdn/{IJLDLXA4.js → NAZZ36GI.js} +1 -1
  82. package/dist/cdn/{ELQEEWYL.js → NHG33M47.js} +1 -1
  83. package/dist/cdn/{N6VTGGFA.js → NNT7XBCO.js} +1 -1
  84. package/dist/cdn/{GPTTZ5FT.js → NXXWJSTA.js} +1 -1
  85. package/dist/cdn/{RYWRGI24.js → O7D7G6EN.js} +1 -1
  86. package/dist/cdn/{ODS4JQRJ.js → ODCCWLHO.js} +1 -1
  87. package/dist/cdn/{V2S4NOCD.js → OU7MVR4B.js} +1 -1
  88. package/dist/cdn/{QHPTLFEW.js → OX7V2M4A.js} +1 -1
  89. package/dist/cdn/{SM557ZZ7.js → OYPBMICI.js} +1 -1
  90. package/dist/cdn/{J6NVKVUR.js → OYWYTVOL.js} +1 -1
  91. package/dist/cdn/{4PQBZJ4L.js → P3Z3U6EW.js} +1 -1
  92. package/dist/cdn/{SN5AU46G.js → P4XE6ZZZ.js} +1 -1
  93. package/dist/cdn/{CAIDEHA5.js → Q5WSLHDY.js} +1 -1
  94. package/dist/cdn/{RVXPSD6Y.js → Q7DS5DWT.js} +1 -1
  95. package/dist/cdn/{7WJIFTCU.js → QBRBNIXR.js} +1 -1
  96. package/dist/cdn/{LBJMYSBR.js → QDKWQYXS.js} +1 -1
  97. package/dist/cdn/{45PCM4GY.js → QKTLZQUN.js} +1 -1
  98. package/dist/cdn/{FLZQQ7CL.js → QLFVND6A.js} +1 -1
  99. package/dist/cdn/{2EHFTETB.js → QPJKCWHN.js} +1 -1
  100. package/dist/cdn/{EYONO4L4.js → QV6GOHCV.js} +1 -1
  101. package/dist/cdn/{6GTCMZBM.js → QVFPMVEH.js} +1 -1
  102. package/dist/cdn/{WCFIIJVS.js → QVVLZSSP.js} +1 -1
  103. package/dist/cdn/{PBHT6ILA.js → R32WAJSG.js} +1 -1
  104. package/dist/cdn/{VQF5SUIN.js → RQZW427W.js} +1 -1
  105. package/dist/cdn/{EVP5QN6L.js → S33ZYVXV.js} +1 -1
  106. package/dist/cdn/{JPALKDLB.js → SBOWGNMI.js} +1 -1
  107. package/dist/cdn/{ZG35TWOS.js → SXLMXADA.js} +1 -1
  108. package/dist/cdn/{GUITTXZL.js → T4O5U2M2.js} +1 -1
  109. package/dist/cdn/{D2SDBLE7.js → TFBMGUXL.js} +1 -1
  110. package/dist/cdn/{TPWMLUEY.js → TO7FSXTE.js} +1 -1
  111. package/dist/cdn/{AYU6H7NV.js → TVYZ5MJ6.js} +1 -1
  112. package/dist/cdn/{CFQ3UMKK.js → TXWO4UHN.js} +1 -1
  113. package/dist/cdn/{YAXXQQ3R.js → TZ4SFAU3.js} +1 -1
  114. package/dist/cdn/{GZJDW7TE.js → UFC7THL7.js} +1 -1
  115. package/dist/cdn/{PIHISGQ4.js → UO66ZNK4.js} +1 -1
  116. package/dist/cdn/{MMF742XB.js → URTZ72R2.js} +1 -1
  117. package/dist/cdn/{Y3EI5BA6.js → V32PCMHG.js} +1 -1
  118. package/dist/cdn/{WO6FE6CZ.js → VE5BG7IA.js} +1 -1
  119. package/dist/cdn/{X5QMVYFC.js → VEWZWHDK.js} +1 -1
  120. package/dist/cdn/{LQQCLN5H.js → VQI3TQZQ.js} +1 -1
  121. package/dist/cdn/VTI62NNC.js +2 -0
  122. package/dist/cdn/{5IJ5TJDN.js → VYKZSTNK.js} +1 -1
  123. package/dist/cdn/{JGGSIZC2.js → W4P4NJPK.js} +1 -1
  124. package/dist/cdn/{Y54DUPZT.js → W5XNH3IT.js} +1 -1
  125. package/dist/cdn/{3CG6UUU6.js → W62GA6NU.js} +1 -1
  126. package/dist/cdn/{722IELFF.js → WAORKQF4.js} +1 -1
  127. package/dist/cdn/{KNTOR64F.js → WTPN2BAF.js} +1 -1
  128. package/dist/cdn/{IJAVR6AX.js → WUDAEBFN.js} +1 -1
  129. package/dist/cdn/{B7PGJO5G.js → WZLOFBQS.js} +1 -1
  130. package/dist/cdn/{LGDCXJIH.js → X6J3NQE6.js} +1 -1
  131. package/dist/cdn/{4DERTMFL.js → XEKZJRA5.js} +1 -1
  132. package/dist/cdn/{BT2MPUDY.js → Y2KXRSAR.js} +1 -1
  133. package/dist/cdn/{QJNJIE7L.js → YE24NTR7.js} +1 -1
  134. package/dist/cdn/{B6RTHT4T.js → YUSU4EBS.js} +1 -1
  135. package/dist/cdn/{RDNOYSU5.js → YYSUCY5P.js} +1 -1
  136. package/dist/cdn/{E26ZRCPF.js → ZBRSK3VD.js} +1 -1
  137. package/dist/cdn/{EPYGGMR4.js → ZK42RZZS.js} +1 -1
  138. package/dist/cdn/index.js +1 -1
  139. package/dist/chunks/locale.js +11 -14
  140. package/dist/chunks/runtime.js +4 -4
  141. package/dist/components/calcite-dialog/customElement.d.ts +4 -2
  142. package/dist/components/calcite-flow-item/customElement.d.ts +4 -2
  143. package/dist/components/calcite-panel/customElement.d.ts +4 -2
  144. package/dist/components/calcite-panel/customElement.js +5 -3
  145. package/dist/docs/api.json +1 -1
  146. package/dist/docs/docs.json +1 -1
  147. package/dist/docs/vscode.html-custom-data.json +1 -1
  148. package/dist/docs/web-types.json +1 -1
  149. package/package.json +1 -1
  150. package/dist/cdn/EW6PQ5IR.js +0 -2
  151. package/dist/cdn/NB3J3QYJ.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as et}from"./D2SDBLE7.js";import{a as tt}from"./5K4OZJAZ.js";import{a as _}from"./FDHY2TZA.js";import{b as it}from"./6FZVJGKC.js";import{a as y,b as F}from"./7XS2SBMV.js";import{a as m,d as f}from"./HJHRSII7.js";import{c as $,e as b}from"./TJGNWJF6.js";import{c as p}from"./Y2QT4M6Q.js";import{a as Z}from"./F6JZXX2K.js";import"./2IM7ZZ7U.js";import{a as Y}from"./AYU6H7NV.js";import"./VMHJHFFS.js";import{e as Q}from"./KSQGDVHO.js";import"./WO6FE6CZ.js";import{A as J,B as X,J as v,s as R}from"./RRBGCYLX.js";import{E as x,F as M,G as q,H as k,N as K,Q as j,T as V,g as U,h as I,l as W,p as D}from"./2J454YPO.js";var nt={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function ct(l,t){return t||l.closest("calcite-shell-panel")?.position||"start"}function lt({actions:l,expandables:t,expanded:e}){l.filter(i=>i.slot!==m.menuActions).forEach(i=>i.textEnabled=e),t.forEach(i=>i.expanded=e)}var dt=({tooltip:l,referenceElement:t,expanded:e,ref:i})=>(l&&(l.referenceElement=!e&&t?t:void 0),i&&i(t),t),ht=({collapseText:l,collapseLabel:t,direction:e,expanded:i,expandText:n,expandLabel:o,toggle:s,el:a,position:c,tooltip:r,ref:d,scale:G})=>{let T=e==="rtl",S=i?l:n,g=i?t:o,h=[nt.chevronsLeft,nt.chevronsRight];T&&h.reverse();let A=ct(a,c)==="end",C=A?h[1]:h[0],u=A?h[0]:h[1];return I`<calcite-action .aria=${{expanded:i}} .icon=${i?C:u} id=expand-toggle .label=${g} @click=${s} .scale=${G} .text=${S} .textEnabled=${i} title=${(!i&&!r?S:void 0)??W} ${M(z=>dt({tooltip:r,referenceElement:z,expanded:i,ref:d}))}></calcite-action>`},ut=({bufferSize:l=0,containerSize:t,itemSizes:e})=>{let i=t-l,n=e.length,o=0;for(let[s,a]of e.entries())if(o=o+a,o>i){n=s;break}else continue;return n},pt=({bufferSize:l=0,containerSize:t,itemSizes:e})=>Math.max(e.length-ut({bufferSize:l,itemSizes:e,containerSize:t}),0),ft=l=>l.flatMap(t=>f(t)?t.actions:b(t)?t.actions.filter(e=>e.slot===$.trigger):t).filter(t=>!!t),gt=({item:l,containerRect:t,horizontal:e,rtl:i})=>{let n=l.getBoundingClientRect();return e?n.top-t.top:i?t.right-n.right:n.left-t.left},vt=({actionGroups:l,expanded:t,overflowCount:e})=>{let i=e;[...l].reverse().forEach(n=>{let o=0,s=n.actions.filter(a=>a.parentElement===n).reverse();s.forEach(a=>{a.slot===m.menuActions&&(a.removeAttribute("slot"),a.textEnabled=t)}),i>0&&!n.overflowActionsDisabled&&s.some(a=>(s.filter(r=>!r.slot).length>1&&s.length>2&&!a.closest("calcite-action-menu")&&!a.overflowDisabled&&(a.textEnabled=!0,a.setAttribute("slot",m.menuActions),o++,o>1&&i--),i<1)),n.manager.component.requestUpdate()})},mt=U`:host{box-sizing:border-box;background-color:var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1));color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([scale=s]){--calcite-internal-action-bar-gap: var( --calcite-action-bar-items-space, var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs)) );--calcite-internal-action-bar-padding: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=m]){--calcite-internal-action-bar-gap: var( --calcite-action-bar-items-space, var(--calcite-theme-space-sm, var(--calcite-spacing-sm)) );--calcite-internal-action-bar-padding: var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-space-sm-plus));--calcite-internal-action-bar-padding: var(--calcite-theme-space-sm-plus, var(--calcite-spacing-sm-plus))}:host{display:inline-flex;align-self:stretch;background:transparent;--calcite-internal-action-group-dividing-border-margin: calc( var(--calcite-theme-space-base, var(--calcite-spacing-base)) + 1px )}.container{display:inline-flex;flex-direction:column;flex:1 1 auto;background-color:var(--calcite-action-bar-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));gap:var(--calcite-internal-action-bar-gap);padding:var(--calcite-internal-action-bar-padding)}:host([floating]) .container{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;overflow:hidden;border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));box-shadow:var(--calcite-action-bar-shadow, var(--calcite-shadow-md))}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]) .container{overflow-y:auto}:host([layout=vertical]):host([expanded]) .container{max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm);border-image:linear-gradient(to right,transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;padding-block-end:var(--calcite-internal-action-bar-padding)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]) .container{overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-image:linear-gradient(transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;border-inline-end-width:var(--calcite-border-width-sm);padding-inline-end:var(--calcite-internal-action-bar-padding)}.action-group--end{justify-content:flex-end}.line-overlay{position:absolute;inset:0;pointer-events:none}.line{position:absolute;--calcite-internal-action-bar-divider-inset: calc( var(--calcite-internal-action-group-dividing-border-margin) - var(--calcite-border-width-sm) )}:host([overflow-mode=wrap][layout=horizontal]) .container,:host([overflow-mode=wrap][layout=vertical]) .container{position:relative;flex-wrap:wrap;align-content:flex-start;--calcite-internal-action-bar-line-gap: calc( var(--calcite-internal-action-bar-padding) + var(--calcite-internal-action-bar-gap) )}:host([overflow-mode=wrap][layout=horizontal]) ::slotted(calcite-action-group[slot=actions-start]),:host([overflow-mode=wrap][layout=vertical]) ::slotted(calcite-action-group[slot=actions-start]){padding-inline-end:0;padding-block-end:0;border-inline-end-width:0;border-block-end-width:0}:host([overflow-mode=wrap][layout=horizontal]) .container{row-gap:var(--calcite-internal-action-bar-line-gap)}:host([overflow-mode=wrap][layout=horizontal]) ::slotted(calcite-action-group:not([slot=actions-start])){margin-inline-start:calc(-1 * var(--calcite-border-width-sm));padding-inline:var(--calcite-internal-action-bar-padding) 0;border-inline-start-width:var(--calcite-border-width-sm);border-inline-end-width:0;border-image:linear-gradient(transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent calc(100% - var(--calcite-internal-action-group-dividing-border-margin)));border-image-slice:1}:host([overflow-mode=wrap][layout=horizontal]) .line{inset-inline:var(--calcite-internal-action-bar-padding);block-size:var(--calcite-border-width-sm);inset-block-start:calc(var(--calcite-internal-action-bar-line-offset, 0px) - var(--calcite-internal-action-bar-line-gap) / 2);background:linear-gradient(to right,transparent var(--calcite-internal-action-bar-divider-inset),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-bar-divider-inset),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-bar-divider-inset)),transparent calc(100% - var(--calcite-internal-action-bar-divider-inset)))}:host([overflow-mode=wrap][layout=horizontal]) .container.has-action-groups{overflow:hidden;padding-inline-start:0;column-gap:calc(var(--calcite-internal-action-bar-gap) + var(--calcite-border-width-sm))}:host([overflow-mode=wrap][layout=horizontal]) .container.has-action-groups .action-group--start{padding-inline-start:var(--calcite-internal-action-bar-padding)}:host([overflow-mode=wrap][layout=vertical]) .container{block-size:100%;min-block-size:0;column-gap:var(--calcite-internal-action-bar-line-gap)}:host([overflow-mode=wrap][layout=vertical]) ::slotted(calcite-action-group:not([slot=actions-start])){margin-block-start:calc(-1 * var(--calcite-border-width-sm));padding-block:var(--calcite-internal-action-bar-padding) 0;border-block-start-width:var(--calcite-border-width-sm);border-block-end-width:0;border-image:linear-gradient(to right,transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent calc(100% - var(--calcite-internal-action-group-dividing-border-margin)));border-image-slice:1}:host([overflow-mode=wrap][layout=vertical]) .line{inset-block:var(--calcite-internal-action-bar-padding);inline-size:var(--calcite-border-width-sm);inset-inline-start:calc(var(--calcite-internal-action-bar-line-offset, 0px) - var(--calcite-internal-action-bar-line-gap) / 2);background:linear-gradient(to bottom,transparent var(--calcite-internal-action-bar-divider-inset),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-bar-divider-inset),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-bar-divider-inset)),transparent calc(100% - var(--calcite-internal-action-bar-divider-inset)))}:host([overflow-mode=wrap][layout=vertical]) .container.has-action-groups{overflow:hidden;padding-block-start:0;row-gap:calc(var(--calcite-internal-action-bar-gap) + var(--calcite-border-width-sm))}:host([overflow-mode=wrap][layout=vertical]) .container.has-action-groups .action-group--start{padding-block-start:var(--calcite-internal-action-bar-padding)}:host([overflow-mode=none][layout=horizontal]) .container{overflow-x:auto}:host([overflow-mode=none][layout=vertical]) .container{overflow-y:auto}:host([hidden]){display:none}[hidden]{display:none}`,H=class extends q{constructor(){super(),this.actions=[],this.navigationItems=[],this.containerRef=x(),this.defaultSlotRef=x(),this.actionsStartSlotRef=x(),this.actionsEndSlotRef=x(),this.actionsStartGroupRef=x(),this.actionsEndGroupRef=x(),this.direction=Q(),this.defaultSlotItems=[],this.actionGroups=[],this.actionMenus=[],this.actionsStart=[],this.actionsStartGroups=[],this.actionsEnd=[],this.actionsEndGroups=[],this.automaticallyOverflowedActions=[],this.authoredMenuActions=[],this.overflowPassId=0,this.suppressedActionGroupActionsChange=new WeakMap,this.cancelable=et()(this),this.resize=tt(({width:t,height:e})=>{let{expanded:i,expandToggleDisabled:n,layout:o,expandPosition:s}=this;if(!this.el.isConnected||!this.containerRef.value)return;if(this.updateGroups(),this.usesWrap){this.scheduleLineMeasure();return}if(this.overflowMode!=="collapse"||o==="vertical"&&!e||o==="horizontal"&&!t)return;let a=this.getItemSizes(),{actionGroups:c,actionsEnd:r,actionsEndGroups:d,actionsStart:G,actionsStartGroups:T,defaultSlotItems:S}=this,g=[...T,...c,...d],h=this.hasActionsEnd||!n&&s==="end"?1:0,A=this.hasActionsStart||!n&&s==="start"?1:0,C=S.length+h+A,u=C,E=getComputedStyle(this.containerRef.value);if(u+=v(o==="horizontal"?E.paddingInlineStart:E.paddingBlockStart)+v(o==="horizontal"?E.paddingInlineEnd:E.paddingBlockEnd),g.length>0){let O=g.length-1;g.forEach((N,L)=>{let w=getComputedStyle(N),B=v(w.gap),P=this.getActionGroupItemCount(N),rt=Math.max(P-1,0);u+=B*rt,L!==O&&(u+=v(o==="horizontal"?w.paddingInlineEnd:w.paddingBlockEnd),u+=v(o==="horizontal"?w.borderInlineEndWidth:w.borderBlockEndWidth))})}let z=(O,N,L)=>{if(!N||O.length<1)return;let w=getComputedStyle(N),B=v(w.gap),P=O.length+(L?1:0);u+=B*Math.max(P-1,0)},at=!n&&s==="start",ot=!n&&s==="end";z(G,this.actionsStartGroupRef.value,at),z(r,this.actionsEndGroupRef.value,ot),C>1&&(u+=v(E.gap)*(C-1));let st=pt({bufferSize:u,containerSize:o==="horizontal"?t:e,itemSizes:a});this.runOverflowActions({actionGroups:g,expanded:i,overflowCount:st})},K.resize),this.resizeHandler=t=>{if(this.usesWrap){this.scheduleLineMeasure();return}let{width:e,height:i}=t.target&&t.target!==this.el?{width:this.el.clientWidth,height:this.el.clientHeight}:t.contentRect,n=this.layout==="horizontal"?"width":"height",o=n==="width"?e:i;this.lastOverflowAxisSize?.axis===n&&this.lastOverflowAxisSize.size===o||(this.lastOverflowAxisSize={axis:n,size:o},this.resize({width:e,height:i}))},this.resizeObserver=_("resize",t=>this.resizeHandlerEntries(t)),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.messages=Z({blocking:!0}),this.focusSetter=Y()(this).setFocus,this.setExpandToggleEl=t=>{this.expandToggleEl=t,this.syncNavigationItemTabIndexes()},this.hasActionsEnd=!1,this.hasActionsStart=!1,this.hasActionGroups=!1,this.lineOffsets=[],this.floating=!1,this.expandToggleDisabled=!1,this.expanded=!1,this.expandPosition="end",this.layout="vertical",this.overflowMode="collapse",this.overlayPositioning="absolute",this.scale="m",this.selectionAppearance="neutral",this.calciteActionBarCollapse=D({cancelable:!1}),this.calciteActionBarExpand=D({cancelable:!1}),this.calciteActionBarToggle=D({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler),this.listen("calciteInternalActionGroupActionsChange",this.handleActionGroupActionsChange),this.listen("calciteInternalActionMenuActionsChange",this.handleActionMenuActionsChange),this.listen("click",this.handleFocusIn),this.listen("keydown",this.handleKeyDown),this.listen("focusin",this.handleFocusIn)}static{this.properties={expandTooltip:[16,{},{state:!0}],hasActionsEnd:[16,{},{state:!0}],hasActionsStart:[16,{},{state:!0}],hasActionGroups:[16,{},{state:!0}],lineOffsets:[16,{},{state:!0}],actionsEndGroupLabel:1,actionsStartGroupLabel:1,floating:[7,{},{reflect:!0,type:Boolean}],expandToggleDisabled:[7,{},{reflect:!0,type:Boolean}],expanded:[7,{},{reflect:!0,type:Boolean}],expandPosition:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],overflowMode:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overflowActionsDisabled:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],position:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],selectionAppearance:[3,{},{reflect:!0}]}}static{this.styles=mt}get usesWrap(){return this.overflowMode==="wrap"&&this.layout!=="grid"}get overflowActionsDisabled(){return this.overflowMode==="none"}set overflowActionsDisabled(t){j.deprecated("property",{component:this,name:"overflowActionsDisabled",removalVersion:7,suggested:'overflowMode="none"'}),this.overflowMode=t?"none":"collapse"}async overflowActions(){if(this.overflowMode!=="collapse"){this.usesWrap&&this.scheduleLineMeasure();return}this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(t){return this.focusSetter(()=>this.el,t)}connectedCallback(){super.connectedCallback(),this.updateGroups(),this.updateNavigationItems(),this.syncNavigationItemTabIndexes(),this.overflowActions(),this.updateActions(),this.overflowActionsDisabledHandler(this.overflowActionsDisabled),this.overflowModeHandler(),this.cancelable.add(this.resize)}willUpdate(t){(t.has("expandToggleDisabled")&&(this.hasUpdated||this.expandToggleDisabled!==!1)||t.has("expandPosition")&&(this.hasUpdated||this.expandPosition!=="end"))&&this.overflowActions(),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&(this.updateGroups(),this.overflowModeHandler(),this.usesWrap||this.updateLines()),t.has("overflowActionsDisabled")&&(this.hasUpdated||this.overflowActionsDisabled!==!1)&&this.overflowActionsDisabledHandler(this.overflowActionsDisabled),t.has("overflowMode")&&(this.hasUpdated||this.overflowMode!=="collapse")&&(!this.usesWrap&&this.lineMeasureFrame!=null&&(cancelAnimationFrame(this.lineMeasureFrame),this.lineMeasureFrame=void 0),this.usesWrap?this.scheduleLineMeasure():this.updateLines(),this.overflowModeHandler()),t.has("expanded")&&this.hasUpdated&&(this.expandedHandler(),this.expanded?this.calciteActionBarExpand.emit():this.calciteActionBarCollapse.emit()),t.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="neutral")&&this.updateActions()}updated(){this.usesWrap&&this.lineMeasureFrame==null&&this.scheduleLineMeasure()}loaded(){this.syncDefaultSlot(),this.syncActionsStartSlot(),this.syncActionsEndSlot(),this.syncActionsState(),this.overflowActions()}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect(),this.lineMeasureFrame!=null&&(cancelAnimationFrame(this.lineMeasureFrame),this.lineMeasureFrame=void 0)}getItemSizes(){let{layout:t,expandToggleEl:e}=this,i=t==="horizontal"?"clientWidth":"clientHeight",n=this.actions.map(a=>a[i]||0);this.getTrackedActionGroups().flatMap(a=>R(a,"calcite-action-menu")).forEach(a=>{let c=(a.actions??[]).find(r=>r.slot===$.trigger);n.push((c??a)[i]||0)}),e&&n.push(e[i]||0);let s=Math.max(...n,0);return n.map(a=>a||s)}getActionGroupItemCount(t){let e=t.actions.filter(n=>n.parentElement===t),i=R(t,"calcite-action-menu").length;return e.length+i}expandedHandler(){this.syncActionsState(!0),this.overflowActions()}overflowModeHandler(){this.overflowMode==="none"?this.resizeObserver?.disconnect():this.resizeObserver?.observe(this.el),this.overflowActions()}overflowActionsDisabledHandler(t){if(t){this.resizeObserver?.disconnect();return}this.resizeObserver?.observe(this.el),this.containerRef.value&&this.resizeObserver?.observe(this.containerRef.value),this.overflowActions()}actionMenuOpenHandler(t){let e=t.composedPath(),i=e.find(n=>f(n)||b(n));i&&(f(i)&&!i.menuOpen||b(i)&&!i.open||(this.getTrackedActionGroups().forEach(n=>{e.includes(n)||(n.menuOpen=!1)}),this.getTrackedActionMenus().forEach(n=>{e.includes(n)||(n.open=!1)}),this.updateActions()))}runOverflowActions({actionGroups:t,expanded:e,overflowCount:i}){let n=++this.overflowPassId,o=t.flatMap(a=>a.actions.filter(c=>c.parentElement===a));this.automaticallyOverflowedActions=this.automaticallyOverflowedActions.filter(a=>o.includes(a)),this.authoredMenuActions=this.authoredMenuActions.filter(a=>o.includes(a)&&a.slot===m.menuActions),o.forEach(a=>{a.slot===m.menuActions&&!this.automaticallyOverflowedActions.includes(a)&&!this.authoredMenuActions.includes(a)&&this.authoredMenuActions.push(a)});let s=new Map;t.forEach(a=>{let c=a.actions.filter(r=>r.parentElement===a);s.set(a,c.map(r=>r.slot??"").join("|"))}),vt({actionGroups:t,expanded:e,overflowCount:i}),this.authoredMenuActions.forEach(a=>{a.slot=m.menuActions,a.textEnabled=!0}),this.automaticallyOverflowedActions=o.filter(a=>a.slot===m.menuActions&&!this.authoredMenuActions.includes(a)),t.forEach(a=>{let r=a.actions.filter(d=>d.parentElement===a).map(d=>d.slot??"").join("|");s.get(a)!==r&&(this.suppressedActionGroupActionsChange.set(a,n),this.queueSuppressedActionGroupActionsChangeCleanup(a,n))})}queueSuppressedActionGroupActionsChangeCleanup(t,e){queueMicrotask(()=>{this.suppressedActionGroupActionsChange.get(t)===e&&this.suppressedActionGroupActionsChange.delete(t)})}resizeHandlerEntries(t){t.forEach(this.resizeHandler)}getSectionWrapperGroups(){return[this.actionsStartGroupRef.value,this.actionsEndGroupRef.value].filter(t=>!!t)}updateGroups(){let t=[...this.actionGroups,...this.actionsStartGroups,...this.actionsEndGroups,...this.getSectionWrapperGroups()];this.hasActionGroups=this.actionGroups.length>0,t.forEach(e=>{e.layout=this.layout,e.scale=this.scale}),this.syncNavItems()}syncNavItems(){this.el.isConnected&&(this.updateNavigationItems(),this.syncNavigationItemTabIndexes(),this.updateActions())}scheduleLineMeasure(){this.lineMeasureFrame!=null&&cancelAnimationFrame(this.lineMeasureFrame),this.lineMeasureFrame=requestAnimationFrame(()=>{this.lineMeasureFrame=void 0,this.updateLines()})}getWrapItems(){let t=[],e=this.actionsStartGroupRef.value;e&&!e.hidden&&t.push(e),this.defaultSlotItems.forEach(n=>{n.hidden||t.push(n)});let i=this.actionsEndGroupRef.value;return i&&!i.hidden&&t.push(i),t}updateLines(){let t=this.containerRef.value;if(!t||!this.usesWrap){this.lineOffsets.length>0&&(this.lineOffsets=[]);return}let e=this.layout==="horizontal",i=this.direction==="rtl",n=t.getBoundingClientRect(),o=this.getWrapItems(),s=[],a=null;o.forEach(r=>{let d=gt({item:r,containerRect:n,horizontal:e,rtl:i});a!==null&&Math.abs(d-a)>1&&s.push(d),a=d}),(s.length!==this.lineOffsets.length||s.some((r,d)=>r!==this.lineOffsets[d]))&&(this.lineOffsets=s)}handleDefaultSlotChange(){this.syncSlotAndActions(()=>this.syncDefaultSlot()),this.updateGroups(),this.updateNavigationItems(),this.syncNavigationItemTabIndexes(),this.updateActions(),this.usesWrap&&this.scheduleLineMeasure()}handleActionsEndSlotChange(){this.syncSlotAndActions(()=>this.syncActionsEndSlot()),this.syncNavigationItemTabIndexes()}handleActionsStartSlotChange(){this.syncSlotAndActions(()=>this.syncActionsStartSlot()),this.syncNavigationItemTabIndexes()}handleTooltipSlotChange(t){let e=J(t).filter(it);this.expandTooltip=e[0]}updateActions(){let t=new Set(this.actions);this.getTrackedActionMenus().forEach(e=>{e.actions.forEach(i=>t.add(i))}),t.forEach(e=>{e.selectionAppearance=this.selectionAppearance})}updateNavigationItems(){let t=[...this.getNavigationItems(this.actionsStart),...this.getNavigationItems(this.defaultSlotItems),...this.getNavigationItems(this.actionsEnd)],{expandToggleEl:e}=this;this.navigationItems=e&&this.isNavigableAction(e)?this.expandPosition==="start"?[e,...t]:[...t,e]:t}getNavigationItems(t){return t.flatMap(e=>p(e)?this.isNavigableAction(e)?[e]:[]:b(e)?this.isNavigableActionMenu(e)?[e]:[]:this.getActionGroupNavigationItems(e))}getActionGroupNavigationItems(t){if(t.hasAttribute("hidden"))return[];let e=(t.actions??[]).filter(s=>this.isNavigableAction(s)),i=R(t,"calcite-action-menu").filter(s=>this.isNavigableActionMenu(s)),n=[...e,...i].sort((s,a)=>s===a?0:s.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1),{actionMenu:o}=t;return o&&this.isNavigableActionMenu(o)&&!n.includes(o)&&n.push(o),n}isNavigableAction(t){return!t.disabled&&!t.hidden&&!t.inert&&t.slot!=="menu-actions"&&!t.closest("calcite-action-menu")}isNavigableActionMenu(t){let e=t.menuButtonEl??t.actions?.find(i=>i.slot===$.trigger);return!t.hidden&&!t.inert&&!e?.disabled&&!e?.hidden&&!e?.inert}syncActions(){this.actions=ft([...this.actionsStart,...this.defaultSlotItems,...this.actionsEnd])}syncActionsAndOverflow(){this.syncActionsState(),this.overflowActions()}syncSlotAndActions(t){t(),this.syncActionsAndOverflow()}syncActionsState(t=!1){this.syncActions(),this.updateActions(),t&&lt({actions:this.actions,expandables:[...this.getTrackedActionGroups(),...this.getTrackedActionMenus(),...this.getSectionWrapperGroups()],expanded:this.expanded})}getTrackedActionGroups(){return[...this.actionGroups,...this.actionsStartGroups,...this.actionsEndGroups]}getTrackedActionMenus(){return[...this.actionMenus,...this.actionsStart,...this.actionsEnd].filter(t=>b(t))}getAssignedActionBarItems(t){return t?X(t).filter(e=>p(e)||f(e)||b(e)):[]}syncDefaultSlot(){this.defaultSlotItems=this.getAssignedActionBarItems(this.defaultSlotRef.value),this.actionGroups=this.defaultSlotItems.filter(t=>f(t)),this.actionMenus=this.defaultSlotItems.filter(t=>b(t)),this.updateGroups()}syncActionsStartSlot(){this.actionsStart=this.getAssignedActionBarItems(this.actionsStartSlotRef.value),this.actionsStartGroups=this.actionsStart.filter(t=>f(t)),this.hasActionsStart=this.actionsStart.length>0,this.updateGroups()}syncActionsEndSlot(){this.actionsEnd=this.getAssignedActionBarItems(this.actionsEndSlotRef.value),this.actionsEndGroups=this.actionsEnd.filter(t=>f(t)),this.hasActionsEnd=this.actionsEnd.length>0,this.updateGroups()}handleActionGroupActionsChange(t){let e=t.target;this.getTrackedActionGroups().includes(e)&&(this.suppressedActionGroupActionsChange.has(e)||(this.syncActionsAndOverflow(),this.syncNavigationItemTabIndexes()))}handleActionMenuActionsChange(t){let e=t.target;this.getTrackedActionMenus().includes(e)&&(this.syncActionsAndOverflow(),this.syncNavigationItemTabIndexes())}handleKeyDown(t){if((this.getEventActionMenu(t)||this.getOpenActionMenu())?.open)return t.key==="Escape",void 0;if(t.defaultPrevented)return;this.updateNavigationItems();let i=this.getNavigationItemFromEvent(t);if(!i||!this.navigationItems.length)return;if(this.layout==="grid"&&["ArrowDown","ArrowRight","ArrowUp","ArrowLeft"].includes(t.key)){let r=t.key==="ArrowDown"||t.key==="ArrowRight"?"next":"previous";this.focusNavigationItem(r,i),t.preventDefault();return}let n=this.layout!=="horizontal",o=t.composedPath().find(f),s=n?"ArrowRight":"ArrowDown",a=n?"ArrowLeft":"ArrowUp",c=i.matches("calcite-action-menu")&&!i.open;if((o?.selectionMode==="multiple"||o?.selectionMode==="none")&&(t.key===s||t.key===a)&&!c){t.preventDefault();return}if(!this.handleSecondaryArrowActionMenuOpen(t,i,n))switch(t.key){case"ArrowDown":n?(this.focusNavigationItem("next",i),t.preventDefault()):this.focusActionGroupItem("next",i,o)&&t.preventDefault();break;case"ArrowUp":n?(this.focusNavigationItem("previous",i),t.preventDefault()):this.focusActionGroupItem("previous",i,o)&&t.preventDefault();break;case"ArrowRight":n?this.focusActionGroupItem("next",i,o)&&t.preventDefault():(this.focusNavigationItem("next",i),t.preventDefault());break;case"ArrowLeft":n?this.focusActionGroupItem("previous",i,o)&&t.preventDefault():(this.focusNavigationItem("previous",i),t.preventDefault());break;case"Home":this.focusNavigationItem("first",i),t.preventDefault();break;case"End":this.focusNavigationItem("last",i),t.preventDefault();break;case"Tab":t.composedPath().some(r=>p(r)&&r.aria?.role==="menuitem")||this.setNavigationItemTabIndexes(i);break}}handleSecondaryArrowActionMenuOpen(t,e,i){if(!e.matches("calcite-action-menu")||e.open)return!1;let n=i?"ArrowRight":"ArrowDown",o=i?"ArrowLeft":"ArrowUp";return t.key!==n&&t.key!==o?!1:(t.preventDefault(),this.openActionMenuAndFocusBoundaryItem(e,t.key===n?"first":"last"),!0)}openActionMenuAndFocusBoundaryItem(t,e){t.open=!0,this.focusActionMenuBoundaryItem(t,e)}async focusActionMenuBoundaryItem(t,e){if(await t.componentOnReady(),!t.open)return;let i=t.actions.filter(o=>o.aria?.role==="menuitem"&&!o.disabled&&!o.hidden&&!o.inert);await(e==="first"?i[0]:i[i.length-1])?.setFocus({preventScroll:!0})}handleFocusIn(t){this.updateNavigationItems();let e=this.getNavigationItemFromEvent(t);if(t instanceof MouseEvent){t.detail>0&&e&&p(e)&&this.setNavigationItemTabIndexes(e);return}let i=this.getEventActionMenu(t)||this.getOpenActionMenu();if(!i?.open){if(e?.matches("calcite-action-menu")&&i){this.syncClosedActionMenu(i);return}this.syncNavigationItemTabIndexes(e??void 0)}}focusNavigationItem(t,e){let{navigationItems:i}=this,n=i.indexOf(e);if(n===-1)return;let o=n;t==="first"?o=0:t==="last"?o=i.length-1:t==="next"?o=(n+1)%i.length:o=(n-1+i.length)%i.length;let s=i[o];s&&s!==e&&s.setFocus(),this.syncNavigationItemTabIndexes(s)}focusActionGroupItem(t,e,i){if(!p(e)||!i||i.selectionMode==="multiple"||i.selectionMode==="none")return!1;let n=this.navigationItems.filter(c=>p(c)&&i.actions.includes(c)),o=n.indexOf(e);if(n.length<2||o===-1)return!1;let s=t==="next"?(o+1)%n.length:(o-1+n.length)%n.length,a=n[s];return!a||a===e?!1:(a.setFocus(),this.syncNavigationItemTabIndexes(a),!0)}getCurrentNavigationItem(){let{activeElement:t}=document;if(t instanceof HTMLElement){let i=t.matches("calcite-action, calcite-action-menu")?t:t.closest("calcite-action, calcite-action-menu");if(i&&this.navigationItems.includes(i))return i;let n=t.closest("calcite-action-menu");if(n){let o=this.navigationItems.find(s=>s===n);if(o)return o}}let e=this.getCurrentFocusItem();return e||this.getDefaultNavigationItem()}getCurrentFocusItem(){let{currentFocusItem:t}=this;return t?this.navigationItems.find(e=>e===t):void 0}getDefaultNavigationItem(){return this.navigationItems.find(t=>p(t)&&t!==this.expandToggleEl)||this.navigationItems[0]}getEventActionMenu(t){let e=t.composedPath().find(n=>n instanceof HTMLElement&&n.matches("calcite-action-menu"));if(e)return e;let i=t.target;if(i instanceof HTMLElement){let n=i.closest("calcite-action-menu");if(n)return n}return null}getOpenActionMenu(){return this.navigationItems.find(t=>t.matches("calcite-action-menu")&&t.open)}syncClosedActionMenu(t){this.updateNavigationItems();let e=this.navigationItems.find(i=>i===t);e&&this.setNavigationItemTabIndexes(e)}getNavigationItemFromEvent(t){for(let e of t.composedPath()){if(!(e instanceof HTMLElement)||!e.matches("calcite-action, calcite-action-menu"))continue;let i=this.navigationItems.find(o=>o===e);if(i)return i;let n=e.closest("calcite-action-menu");if(n){let o=this.navigationItems.find(s=>s===n);if(o)return o}}return null}syncNavigationItemTabIndexes(t){this.updateNavigationItems();let i=(t?this.navigationItems.find(n=>n===t):void 0)||this.getCurrentNavigationItem();i&&(this.setNavigationItemTabIndexes(i),this.updateActions())}setNavigationItemTabIndexes(t){t.matches(":focus-within")&&(this.currentFocusItem=t),this.navigationItems.forEach(e=>{let i=e===t;if(p(e)){i&&!e.disabled&&!e.hidden?e.removeAttribute("tabindex"):e.tabIndex=-1;return}i?e.removeAttribute("tabindex"):e.tabIndex=-1;let{menuButtonEl:n}=e;n&&(i&&!e.open?n.removeAttribute("tabindex"):n.tabIndex=-1)})}renderExpandTooltipSlot(){return I`<slot name=${F.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>`}renderExpandToggle(){let{el:t,expanded:e,toggleExpand:i,messages:n,position:o,scale:s}=this;return ht({collapseLabel:n.collapseLabel,collapseText:n.collapse,direction:this.direction,el:t,expanded:e,expandLabel:n.expandLabel,expandText:n.expand,position:o,ref:this.setExpandToggleEl,scale:s,toggle:i,tooltip:this.expandTooltip})}renderActionsGroup(t){let{expandToggleDisabled:e,scale:i,layout:n,overlayPositioning:o,expandPosition:s}=this,a=t==="start",c=!e&&s===t,r=a?this.hasActionsStart:this.hasActionsEnd,d=a?F.actionsStart:F.actionsEnd,G=a?this.handleActionsStartSlotChange:this.handleActionsEndSlotChange,T=a?this.actionsStartGroupLabel:this.actionsEndGroupLabel,S=!c&&!r&&!(a?this.hasActionsStart:this.hasActionsEnd),g=a?this.actionsStartGroupRef:this.actionsEndGroupRef,h=a?this.actionsStartSlotRef:this.actionsEndSlotRef,A=c?this.renderExpandToggle():null;return I`<calcite-action-group class=${k({[y.actionGroupStart]:a,[y.actionGroupEnd]:!a})} .hidden=${S} .label=${T} .layout=${n} .overlayPositioning=${o} .scale=${i} ${M(g)}>${a?A:null}<slot name=${d??W} @slotchange=${G} ${M(h)}></slot>${c?this.renderExpandTooltipSlot():null}${a?null:A}</calcite-action-group>`}render(){let t=this.layout==="horizontal"?"horizontal":"vertical";return I`<div .ariaOrientation=${t} class=${k({[y.container]:!0,[y.hasActionGroups]:this.hasActionGroups})} role=toolbar ${M(this.containerRef)}>${this.renderActionsGroup("start")}<slot @slotchange=${this.handleDefaultSlotChange} ${M(this.defaultSlotRef)}></slot>${this.renderActionsGroup("end")}${this.usesWrap?I`<div aria-hidden=true class=${k(y.lineOverlay)}>${this.lineOffsets.map(e=>I`<div class=${k(y.line)} style=${`--calcite-internal-action-bar-line-offset: ${e}px`}></div>`)}</div>`:null}</div>`}};V("calcite-action-bar",H);export{H as ActionBar};
2
+ import{a as et}from"./TFBMGUXL.js";import{a as tt}from"./5K4OZJAZ.js";import{a as _}from"./FDHY2TZA.js";import{b as it}from"./6FZVJGKC.js";import{a as y,b as F}from"./7XS2SBMV.js";import{a as m,d as f}from"./HJHRSII7.js";import{c as $,e as b}from"./TJGNWJF6.js";import{c as p}from"./Y2QT4M6Q.js";import{a as Z}from"./IH43SDJS.js";import"./2IM7ZZ7U.js";import{a as Y}from"./TVYZ5MJ6.js";import"./VMHJHFFS.js";import{e as Q}from"./6TAUFYMH.js";import"./VE5BG7IA.js";import{A as J,B as X,J as v,s as R}from"./RRBGCYLX.js";import{E as x,F as M,G as q,H as k,N as K,Q as j,T as V,g as U,h as I,l as W,p as D}from"./E4GZAXJH.js";var nt={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function ct(l,t){return t||l.closest("calcite-shell-panel")?.position||"start"}function lt({actions:l,expandables:t,expanded:e}){l.filter(i=>i.slot!==m.menuActions).forEach(i=>i.textEnabled=e),t.forEach(i=>i.expanded=e)}var dt=({tooltip:l,referenceElement:t,expanded:e,ref:i})=>(l&&(l.referenceElement=!e&&t?t:void 0),i&&i(t),t),ht=({collapseText:l,collapseLabel:t,direction:e,expanded:i,expandText:n,expandLabel:o,toggle:s,el:a,position:c,tooltip:r,ref:d,scale:G})=>{let T=e==="rtl",S=i?l:n,g=i?t:o,h=[nt.chevronsLeft,nt.chevronsRight];T&&h.reverse();let A=ct(a,c)==="end",C=A?h[1]:h[0],u=A?h[0]:h[1];return I`<calcite-action .aria=${{expanded:i}} .icon=${i?C:u} id=expand-toggle .label=${g} @click=${s} .scale=${G} .text=${S} .textEnabled=${i} title=${(!i&&!r?S:void 0)??W} ${M(z=>dt({tooltip:r,referenceElement:z,expanded:i,ref:d}))}></calcite-action>`},ut=({bufferSize:l=0,containerSize:t,itemSizes:e})=>{let i=t-l,n=e.length,o=0;for(let[s,a]of e.entries())if(o=o+a,o>i){n=s;break}else continue;return n},pt=({bufferSize:l=0,containerSize:t,itemSizes:e})=>Math.max(e.length-ut({bufferSize:l,itemSizes:e,containerSize:t}),0),ft=l=>l.flatMap(t=>f(t)?t.actions:b(t)?t.actions.filter(e=>e.slot===$.trigger):t).filter(t=>!!t),gt=({item:l,containerRect:t,horizontal:e,rtl:i})=>{let n=l.getBoundingClientRect();return e?n.top-t.top:i?t.right-n.right:n.left-t.left},vt=({actionGroups:l,expanded:t,overflowCount:e})=>{let i=e;[...l].reverse().forEach(n=>{let o=0,s=n.actions.filter(a=>a.parentElement===n).reverse();s.forEach(a=>{a.slot===m.menuActions&&(a.removeAttribute("slot"),a.textEnabled=t)}),i>0&&!n.overflowActionsDisabled&&s.some(a=>(s.filter(r=>!r.slot).length>1&&s.length>2&&!a.closest("calcite-action-menu")&&!a.overflowDisabled&&(a.textEnabled=!0,a.setAttribute("slot",m.menuActions),o++,o>1&&i--),i<1)),n.manager.component.requestUpdate()})},mt=U`:host{box-sizing:border-box;background-color:var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1));color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([scale=s]){--calcite-internal-action-bar-gap: var( --calcite-action-bar-items-space, var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs)) );--calcite-internal-action-bar-padding: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=m]){--calcite-internal-action-bar-gap: var( --calcite-action-bar-items-space, var(--calcite-theme-space-sm, var(--calcite-spacing-sm)) );--calcite-internal-action-bar-padding: var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-space-sm-plus));--calcite-internal-action-bar-padding: var(--calcite-theme-space-sm-plus, var(--calcite-spacing-sm-plus))}:host{display:inline-flex;align-self:stretch;background:transparent;--calcite-internal-action-group-dividing-border-margin: calc( var(--calcite-theme-space-base, var(--calcite-spacing-base)) + 1px )}.container{display:inline-flex;flex-direction:column;flex:1 1 auto;background-color:var(--calcite-action-bar-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));gap:var(--calcite-internal-action-bar-gap);padding:var(--calcite-internal-action-bar-padding)}:host([floating]) .container{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;overflow:hidden;border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-theme-corner-radius-sm, var(--calcite-corner-radius-round)));box-shadow:var(--calcite-action-bar-shadow, var(--calcite-shadow-md))}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]) .container{overflow-y:auto}:host([layout=vertical]):host([expanded]) .container{max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm);border-image:linear-gradient(to right,transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;padding-block-end:var(--calcite-internal-action-bar-padding)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]) .container{overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-image:linear-gradient(transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;border-inline-end-width:var(--calcite-border-width-sm);padding-inline-end:var(--calcite-internal-action-bar-padding)}.action-group--end{justify-content:flex-end}.line-overlay{position:absolute;inset:0;pointer-events:none}.line{position:absolute;--calcite-internal-action-bar-divider-inset: calc( var(--calcite-internal-action-group-dividing-border-margin) - var(--calcite-border-width-sm) )}:host([overflow-mode=wrap][layout=horizontal]) .container,:host([overflow-mode=wrap][layout=vertical]) .container{position:relative;flex-wrap:wrap;align-content:flex-start;--calcite-internal-action-bar-line-gap: calc( var(--calcite-internal-action-bar-padding) + var(--calcite-internal-action-bar-gap) )}:host([overflow-mode=wrap][layout=horizontal]) ::slotted(calcite-action-group[slot=actions-start]),:host([overflow-mode=wrap][layout=vertical]) ::slotted(calcite-action-group[slot=actions-start]){padding-inline-end:0;padding-block-end:0;border-inline-end-width:0;border-block-end-width:0}:host([overflow-mode=wrap][layout=horizontal]) .container{row-gap:var(--calcite-internal-action-bar-line-gap)}:host([overflow-mode=wrap][layout=horizontal]) ::slotted(calcite-action-group:not([slot=actions-start])){margin-inline-start:calc(-1 * var(--calcite-border-width-sm));padding-inline:var(--calcite-internal-action-bar-padding) 0;border-inline-start-width:var(--calcite-border-width-sm);border-inline-end-width:0;border-image:linear-gradient(transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent calc(100% - var(--calcite-internal-action-group-dividing-border-margin)));border-image-slice:1}:host([overflow-mode=wrap][layout=horizontal]) .line{inset-inline:var(--calcite-internal-action-bar-padding);block-size:var(--calcite-border-width-sm);inset-block-start:calc(var(--calcite-internal-action-bar-line-offset, 0px) - var(--calcite-internal-action-bar-line-gap) / 2);background:linear-gradient(to right,transparent var(--calcite-internal-action-bar-divider-inset),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-bar-divider-inset),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-bar-divider-inset)),transparent calc(100% - var(--calcite-internal-action-bar-divider-inset)))}:host([overflow-mode=wrap][layout=horizontal]) .container.has-action-groups{overflow:hidden;padding-inline-start:0;column-gap:calc(var(--calcite-internal-action-bar-gap) + var(--calcite-border-width-sm))}:host([overflow-mode=wrap][layout=horizontal]) .container.has-action-groups .action-group--start{padding-inline-start:var(--calcite-internal-action-bar-padding)}:host([overflow-mode=wrap][layout=vertical]) .container{block-size:100%;min-block-size:0;column-gap:var(--calcite-internal-action-bar-line-gap)}:host([overflow-mode=wrap][layout=vertical]) ::slotted(calcite-action-group:not([slot=actions-start])){margin-block-start:calc(-1 * var(--calcite-border-width-sm));padding-block:var(--calcite-internal-action-bar-padding) 0;border-block-start-width:var(--calcite-border-width-sm);border-block-end-width:0;border-image:linear-gradient(to right,transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent calc(100% - var(--calcite-internal-action-group-dividing-border-margin)));border-image-slice:1}:host([overflow-mode=wrap][layout=vertical]) .line{inset-block:var(--calcite-internal-action-bar-padding);inline-size:var(--calcite-border-width-sm);inset-inline-start:calc(var(--calcite-internal-action-bar-line-offset, 0px) - var(--calcite-internal-action-bar-line-gap) / 2);background:linear-gradient(to bottom,transparent var(--calcite-internal-action-bar-divider-inset),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-bar-divider-inset),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-bar-divider-inset)),transparent calc(100% - var(--calcite-internal-action-bar-divider-inset)))}:host([overflow-mode=wrap][layout=vertical]) .container.has-action-groups{overflow:hidden;padding-block-start:0;row-gap:calc(var(--calcite-internal-action-bar-gap) + var(--calcite-border-width-sm))}:host([overflow-mode=wrap][layout=vertical]) .container.has-action-groups .action-group--start{padding-block-start:var(--calcite-internal-action-bar-padding)}:host([overflow-mode=none][layout=horizontal]) .container{overflow-x:auto}:host([overflow-mode=none][layout=vertical]) .container{overflow-y:auto}:host([hidden]){display:none}[hidden]{display:none}`,H=class extends q{constructor(){super(),this.actions=[],this.navigationItems=[],this.containerRef=x(),this.defaultSlotRef=x(),this.actionsStartSlotRef=x(),this.actionsEndSlotRef=x(),this.actionsStartGroupRef=x(),this.actionsEndGroupRef=x(),this.direction=Q(),this.defaultSlotItems=[],this.actionGroups=[],this.actionMenus=[],this.actionsStart=[],this.actionsStartGroups=[],this.actionsEnd=[],this.actionsEndGroups=[],this.automaticallyOverflowedActions=[],this.authoredMenuActions=[],this.overflowPassId=0,this.suppressedActionGroupActionsChange=new WeakMap,this.cancelable=et()(this),this.resize=tt(({width:t,height:e})=>{let{expanded:i,expandToggleDisabled:n,layout:o,expandPosition:s}=this;if(!this.el.isConnected||!this.containerRef.value)return;if(this.updateGroups(),this.usesWrap){this.scheduleLineMeasure();return}if(this.overflowMode!=="collapse"||o==="vertical"&&!e||o==="horizontal"&&!t)return;let a=this.getItemSizes(),{actionGroups:c,actionsEnd:r,actionsEndGroups:d,actionsStart:G,actionsStartGroups:T,defaultSlotItems:S}=this,g=[...T,...c,...d],h=this.hasActionsEnd||!n&&s==="end"?1:0,A=this.hasActionsStart||!n&&s==="start"?1:0,C=S.length+h+A,u=C,E=getComputedStyle(this.containerRef.value);if(u+=v(o==="horizontal"?E.paddingInlineStart:E.paddingBlockStart)+v(o==="horizontal"?E.paddingInlineEnd:E.paddingBlockEnd),g.length>0){let O=g.length-1;g.forEach((N,L)=>{let w=getComputedStyle(N),B=v(w.gap),P=this.getActionGroupItemCount(N),rt=Math.max(P-1,0);u+=B*rt,L!==O&&(u+=v(o==="horizontal"?w.paddingInlineEnd:w.paddingBlockEnd),u+=v(o==="horizontal"?w.borderInlineEndWidth:w.borderBlockEndWidth))})}let z=(O,N,L)=>{if(!N||O.length<1)return;let w=getComputedStyle(N),B=v(w.gap),P=O.length+(L?1:0);u+=B*Math.max(P-1,0)},at=!n&&s==="start",ot=!n&&s==="end";z(G,this.actionsStartGroupRef.value,at),z(r,this.actionsEndGroupRef.value,ot),C>1&&(u+=v(E.gap)*(C-1));let st=pt({bufferSize:u,containerSize:o==="horizontal"?t:e,itemSizes:a});this.runOverflowActions({actionGroups:g,expanded:i,overflowCount:st})},K.resize),this.resizeHandler=t=>{if(this.usesWrap){this.scheduleLineMeasure();return}let{width:e,height:i}=t.target&&t.target!==this.el?{width:this.el.clientWidth,height:this.el.clientHeight}:t.contentRect,n=this.layout==="horizontal"?"width":"height",o=n==="width"?e:i;this.lastOverflowAxisSize?.axis===n&&this.lastOverflowAxisSize.size===o||(this.lastOverflowAxisSize={axis:n,size:o},this.resize({width:e,height:i}))},this.resizeObserver=_("resize",t=>this.resizeHandlerEntries(t)),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.messages=Z({blocking:!0}),this.focusSetter=Y()(this).setFocus,this.setExpandToggleEl=t=>{this.expandToggleEl=t,this.syncNavigationItemTabIndexes()},this.hasActionsEnd=!1,this.hasActionsStart=!1,this.hasActionGroups=!1,this.lineOffsets=[],this.floating=!1,this.expandToggleDisabled=!1,this.expanded=!1,this.expandPosition="end",this.layout="vertical",this.overflowMode="collapse",this.overlayPositioning="absolute",this.scale="m",this.selectionAppearance="neutral",this.calciteActionBarCollapse=D({cancelable:!1}),this.calciteActionBarExpand=D({cancelable:!1}),this.calciteActionBarToggle=D({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler),this.listen("calciteInternalActionGroupActionsChange",this.handleActionGroupActionsChange),this.listen("calciteInternalActionMenuActionsChange",this.handleActionMenuActionsChange),this.listen("click",this.handleFocusIn),this.listen("keydown",this.handleKeyDown),this.listen("focusin",this.handleFocusIn)}static{this.properties={expandTooltip:[16,{},{state:!0}],hasActionsEnd:[16,{},{state:!0}],hasActionsStart:[16,{},{state:!0}],hasActionGroups:[16,{},{state:!0}],lineOffsets:[16,{},{state:!0}],actionsEndGroupLabel:1,actionsStartGroupLabel:1,floating:[7,{},{reflect:!0,type:Boolean}],expandToggleDisabled:[7,{},{reflect:!0,type:Boolean}],expanded:[7,{},{reflect:!0,type:Boolean}],expandPosition:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],overflowMode:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overflowActionsDisabled:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],position:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],selectionAppearance:[3,{},{reflect:!0}]}}static{this.styles=mt}get usesWrap(){return this.overflowMode==="wrap"&&this.layout!=="grid"}get overflowActionsDisabled(){return this.overflowMode==="none"}set overflowActionsDisabled(t){j.deprecated("property",{component:this,name:"overflowActionsDisabled",removalVersion:7,suggested:'overflowMode="none"'}),this.overflowMode=t?"none":"collapse"}async overflowActions(){if(this.overflowMode!=="collapse"){this.usesWrap&&this.scheduleLineMeasure();return}this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(t){return this.focusSetter(()=>this.el,t)}connectedCallback(){super.connectedCallback(),this.updateGroups(),this.updateNavigationItems(),this.syncNavigationItemTabIndexes(),this.overflowActions(),this.updateActions(),this.overflowActionsDisabledHandler(this.overflowActionsDisabled),this.overflowModeHandler(),this.cancelable.add(this.resize)}willUpdate(t){(t.has("expandToggleDisabled")&&(this.hasUpdated||this.expandToggleDisabled!==!1)||t.has("expandPosition")&&(this.hasUpdated||this.expandPosition!=="end"))&&this.overflowActions(),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&(this.updateGroups(),this.overflowModeHandler(),this.usesWrap||this.updateLines()),t.has("overflowActionsDisabled")&&(this.hasUpdated||this.overflowActionsDisabled!==!1)&&this.overflowActionsDisabledHandler(this.overflowActionsDisabled),t.has("overflowMode")&&(this.hasUpdated||this.overflowMode!=="collapse")&&(!this.usesWrap&&this.lineMeasureFrame!=null&&(cancelAnimationFrame(this.lineMeasureFrame),this.lineMeasureFrame=void 0),this.usesWrap?this.scheduleLineMeasure():this.updateLines(),this.overflowModeHandler()),t.has("expanded")&&this.hasUpdated&&(this.expandedHandler(),this.expanded?this.calciteActionBarExpand.emit():this.calciteActionBarCollapse.emit()),t.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="neutral")&&this.updateActions()}updated(){this.usesWrap&&this.lineMeasureFrame==null&&this.scheduleLineMeasure()}loaded(){this.syncDefaultSlot(),this.syncActionsStartSlot(),this.syncActionsEndSlot(),this.syncActionsState(),this.overflowActions()}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect(),this.lineMeasureFrame!=null&&(cancelAnimationFrame(this.lineMeasureFrame),this.lineMeasureFrame=void 0)}getItemSizes(){let{layout:t,expandToggleEl:e}=this,i=t==="horizontal"?"clientWidth":"clientHeight",n=this.actions.map(a=>a[i]||0);this.getTrackedActionGroups().flatMap(a=>R(a,"calcite-action-menu")).forEach(a=>{let c=(a.actions??[]).find(r=>r.slot===$.trigger);n.push((c??a)[i]||0)}),e&&n.push(e[i]||0);let s=Math.max(...n,0);return n.map(a=>a||s)}getActionGroupItemCount(t){let e=t.actions.filter(n=>n.parentElement===t),i=R(t,"calcite-action-menu").length;return e.length+i}expandedHandler(){this.syncActionsState(!0),this.overflowActions()}overflowModeHandler(){this.overflowMode==="none"?this.resizeObserver?.disconnect():this.resizeObserver?.observe(this.el),this.overflowActions()}overflowActionsDisabledHandler(t){if(t){this.resizeObserver?.disconnect();return}this.resizeObserver?.observe(this.el),this.containerRef.value&&this.resizeObserver?.observe(this.containerRef.value),this.overflowActions()}actionMenuOpenHandler(t){let e=t.composedPath(),i=e.find(n=>f(n)||b(n));i&&(f(i)&&!i.menuOpen||b(i)&&!i.open||(this.getTrackedActionGroups().forEach(n=>{e.includes(n)||(n.menuOpen=!1)}),this.getTrackedActionMenus().forEach(n=>{e.includes(n)||(n.open=!1)}),this.updateActions()))}runOverflowActions({actionGroups:t,expanded:e,overflowCount:i}){let n=++this.overflowPassId,o=t.flatMap(a=>a.actions.filter(c=>c.parentElement===a));this.automaticallyOverflowedActions=this.automaticallyOverflowedActions.filter(a=>o.includes(a)),this.authoredMenuActions=this.authoredMenuActions.filter(a=>o.includes(a)&&a.slot===m.menuActions),o.forEach(a=>{a.slot===m.menuActions&&!this.automaticallyOverflowedActions.includes(a)&&!this.authoredMenuActions.includes(a)&&this.authoredMenuActions.push(a)});let s=new Map;t.forEach(a=>{let c=a.actions.filter(r=>r.parentElement===a);s.set(a,c.map(r=>r.slot??"").join("|"))}),vt({actionGroups:t,expanded:e,overflowCount:i}),this.authoredMenuActions.forEach(a=>{a.slot=m.menuActions,a.textEnabled=!0}),this.automaticallyOverflowedActions=o.filter(a=>a.slot===m.menuActions&&!this.authoredMenuActions.includes(a)),t.forEach(a=>{let r=a.actions.filter(d=>d.parentElement===a).map(d=>d.slot??"").join("|");s.get(a)!==r&&(this.suppressedActionGroupActionsChange.set(a,n),this.queueSuppressedActionGroupActionsChangeCleanup(a,n))})}queueSuppressedActionGroupActionsChangeCleanup(t,e){queueMicrotask(()=>{this.suppressedActionGroupActionsChange.get(t)===e&&this.suppressedActionGroupActionsChange.delete(t)})}resizeHandlerEntries(t){t.forEach(this.resizeHandler)}getSectionWrapperGroups(){return[this.actionsStartGroupRef.value,this.actionsEndGroupRef.value].filter(t=>!!t)}updateGroups(){let t=[...this.actionGroups,...this.actionsStartGroups,...this.actionsEndGroups,...this.getSectionWrapperGroups()];this.hasActionGroups=this.actionGroups.length>0,t.forEach(e=>{e.layout=this.layout,e.scale=this.scale}),this.syncNavItems()}syncNavItems(){this.el.isConnected&&(this.updateNavigationItems(),this.syncNavigationItemTabIndexes(),this.updateActions())}scheduleLineMeasure(){this.lineMeasureFrame!=null&&cancelAnimationFrame(this.lineMeasureFrame),this.lineMeasureFrame=requestAnimationFrame(()=>{this.lineMeasureFrame=void 0,this.updateLines()})}getWrapItems(){let t=[],e=this.actionsStartGroupRef.value;e&&!e.hidden&&t.push(e),this.defaultSlotItems.forEach(n=>{n.hidden||t.push(n)});let i=this.actionsEndGroupRef.value;return i&&!i.hidden&&t.push(i),t}updateLines(){let t=this.containerRef.value;if(!t||!this.usesWrap){this.lineOffsets.length>0&&(this.lineOffsets=[]);return}let e=this.layout==="horizontal",i=this.direction==="rtl",n=t.getBoundingClientRect(),o=this.getWrapItems(),s=[],a=null;o.forEach(r=>{let d=gt({item:r,containerRect:n,horizontal:e,rtl:i});a!==null&&Math.abs(d-a)>1&&s.push(d),a=d}),(s.length!==this.lineOffsets.length||s.some((r,d)=>r!==this.lineOffsets[d]))&&(this.lineOffsets=s)}handleDefaultSlotChange(){this.syncSlotAndActions(()=>this.syncDefaultSlot()),this.updateGroups(),this.updateNavigationItems(),this.syncNavigationItemTabIndexes(),this.updateActions(),this.usesWrap&&this.scheduleLineMeasure()}handleActionsEndSlotChange(){this.syncSlotAndActions(()=>this.syncActionsEndSlot()),this.syncNavigationItemTabIndexes()}handleActionsStartSlotChange(){this.syncSlotAndActions(()=>this.syncActionsStartSlot()),this.syncNavigationItemTabIndexes()}handleTooltipSlotChange(t){let e=J(t).filter(it);this.expandTooltip=e[0]}updateActions(){let t=new Set(this.actions);this.getTrackedActionMenus().forEach(e=>{e.actions.forEach(i=>t.add(i))}),t.forEach(e=>{e.selectionAppearance=this.selectionAppearance})}updateNavigationItems(){let t=[...this.getNavigationItems(this.actionsStart),...this.getNavigationItems(this.defaultSlotItems),...this.getNavigationItems(this.actionsEnd)],{expandToggleEl:e}=this;this.navigationItems=e&&this.isNavigableAction(e)?this.expandPosition==="start"?[e,...t]:[...t,e]:t}getNavigationItems(t){return t.flatMap(e=>p(e)?this.isNavigableAction(e)?[e]:[]:b(e)?this.isNavigableActionMenu(e)?[e]:[]:this.getActionGroupNavigationItems(e))}getActionGroupNavigationItems(t){if(t.hasAttribute("hidden"))return[];let e=(t.actions??[]).filter(s=>this.isNavigableAction(s)),i=R(t,"calcite-action-menu").filter(s=>this.isNavigableActionMenu(s)),n=[...e,...i].sort((s,a)=>s===a?0:s.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1),{actionMenu:o}=t;return o&&this.isNavigableActionMenu(o)&&!n.includes(o)&&n.push(o),n}isNavigableAction(t){return!t.disabled&&!t.hidden&&!t.inert&&t.slot!=="menu-actions"&&!t.closest("calcite-action-menu")}isNavigableActionMenu(t){let e=t.menuButtonEl??t.actions?.find(i=>i.slot===$.trigger);return!t.hidden&&!t.inert&&!e?.disabled&&!e?.hidden&&!e?.inert}syncActions(){this.actions=ft([...this.actionsStart,...this.defaultSlotItems,...this.actionsEnd])}syncActionsAndOverflow(){this.syncActionsState(),this.overflowActions()}syncSlotAndActions(t){t(),this.syncActionsAndOverflow()}syncActionsState(t=!1){this.syncActions(),this.updateActions(),t&&lt({actions:this.actions,expandables:[...this.getTrackedActionGroups(),...this.getTrackedActionMenus(),...this.getSectionWrapperGroups()],expanded:this.expanded})}getTrackedActionGroups(){return[...this.actionGroups,...this.actionsStartGroups,...this.actionsEndGroups]}getTrackedActionMenus(){return[...this.actionMenus,...this.actionsStart,...this.actionsEnd].filter(t=>b(t))}getAssignedActionBarItems(t){return t?X(t).filter(e=>p(e)||f(e)||b(e)):[]}syncDefaultSlot(){this.defaultSlotItems=this.getAssignedActionBarItems(this.defaultSlotRef.value),this.actionGroups=this.defaultSlotItems.filter(t=>f(t)),this.actionMenus=this.defaultSlotItems.filter(t=>b(t)),this.updateGroups()}syncActionsStartSlot(){this.actionsStart=this.getAssignedActionBarItems(this.actionsStartSlotRef.value),this.actionsStartGroups=this.actionsStart.filter(t=>f(t)),this.hasActionsStart=this.actionsStart.length>0,this.updateGroups()}syncActionsEndSlot(){this.actionsEnd=this.getAssignedActionBarItems(this.actionsEndSlotRef.value),this.actionsEndGroups=this.actionsEnd.filter(t=>f(t)),this.hasActionsEnd=this.actionsEnd.length>0,this.updateGroups()}handleActionGroupActionsChange(t){let e=t.target;this.getTrackedActionGroups().includes(e)&&(this.suppressedActionGroupActionsChange.has(e)||(this.syncActionsAndOverflow(),this.syncNavigationItemTabIndexes()))}handleActionMenuActionsChange(t){let e=t.target;this.getTrackedActionMenus().includes(e)&&(this.syncActionsAndOverflow(),this.syncNavigationItemTabIndexes())}handleKeyDown(t){if((this.getEventActionMenu(t)||this.getOpenActionMenu())?.open)return t.key==="Escape",void 0;if(t.defaultPrevented)return;this.updateNavigationItems();let i=this.getNavigationItemFromEvent(t);if(!i||!this.navigationItems.length)return;if(this.layout==="grid"&&["ArrowDown","ArrowRight","ArrowUp","ArrowLeft"].includes(t.key)){let r=t.key==="ArrowDown"||t.key==="ArrowRight"?"next":"previous";this.focusNavigationItem(r,i),t.preventDefault();return}let n=this.layout!=="horizontal",o=t.composedPath().find(f),s=n?"ArrowRight":"ArrowDown",a=n?"ArrowLeft":"ArrowUp",c=i.matches("calcite-action-menu")&&!i.open;if((o?.selectionMode==="multiple"||o?.selectionMode==="none")&&(t.key===s||t.key===a)&&!c){t.preventDefault();return}if(!this.handleSecondaryArrowActionMenuOpen(t,i,n))switch(t.key){case"ArrowDown":n?(this.focusNavigationItem("next",i),t.preventDefault()):this.focusActionGroupItem("next",i,o)&&t.preventDefault();break;case"ArrowUp":n?(this.focusNavigationItem("previous",i),t.preventDefault()):this.focusActionGroupItem("previous",i,o)&&t.preventDefault();break;case"ArrowRight":n?this.focusActionGroupItem("next",i,o)&&t.preventDefault():(this.focusNavigationItem("next",i),t.preventDefault());break;case"ArrowLeft":n?this.focusActionGroupItem("previous",i,o)&&t.preventDefault():(this.focusNavigationItem("previous",i),t.preventDefault());break;case"Home":this.focusNavigationItem("first",i),t.preventDefault();break;case"End":this.focusNavigationItem("last",i),t.preventDefault();break;case"Tab":t.composedPath().some(r=>p(r)&&r.aria?.role==="menuitem")||this.setNavigationItemTabIndexes(i);break}}handleSecondaryArrowActionMenuOpen(t,e,i){if(!e.matches("calcite-action-menu")||e.open)return!1;let n=i?"ArrowRight":"ArrowDown",o=i?"ArrowLeft":"ArrowUp";return t.key!==n&&t.key!==o?!1:(t.preventDefault(),this.openActionMenuAndFocusBoundaryItem(e,t.key===n?"first":"last"),!0)}openActionMenuAndFocusBoundaryItem(t,e){t.open=!0,this.focusActionMenuBoundaryItem(t,e)}async focusActionMenuBoundaryItem(t,e){if(await t.componentOnReady(),!t.open)return;let i=t.actions.filter(o=>o.aria?.role==="menuitem"&&!o.disabled&&!o.hidden&&!o.inert);await(e==="first"?i[0]:i[i.length-1])?.setFocus({preventScroll:!0})}handleFocusIn(t){this.updateNavigationItems();let e=this.getNavigationItemFromEvent(t);if(t instanceof MouseEvent){t.detail>0&&e&&p(e)&&this.setNavigationItemTabIndexes(e);return}let i=this.getEventActionMenu(t)||this.getOpenActionMenu();if(!i?.open){if(e?.matches("calcite-action-menu")&&i){this.syncClosedActionMenu(i);return}this.syncNavigationItemTabIndexes(e??void 0)}}focusNavigationItem(t,e){let{navigationItems:i}=this,n=i.indexOf(e);if(n===-1)return;let o=n;t==="first"?o=0:t==="last"?o=i.length-1:t==="next"?o=(n+1)%i.length:o=(n-1+i.length)%i.length;let s=i[o];s&&s!==e&&s.setFocus(),this.syncNavigationItemTabIndexes(s)}focusActionGroupItem(t,e,i){if(!p(e)||!i||i.selectionMode==="multiple"||i.selectionMode==="none")return!1;let n=this.navigationItems.filter(c=>p(c)&&i.actions.includes(c)),o=n.indexOf(e);if(n.length<2||o===-1)return!1;let s=t==="next"?(o+1)%n.length:(o-1+n.length)%n.length,a=n[s];return!a||a===e?!1:(a.setFocus(),this.syncNavigationItemTabIndexes(a),!0)}getCurrentNavigationItem(){let{activeElement:t}=document;if(t instanceof HTMLElement){let i=t.matches("calcite-action, calcite-action-menu")?t:t.closest("calcite-action, calcite-action-menu");if(i&&this.navigationItems.includes(i))return i;let n=t.closest("calcite-action-menu");if(n){let o=this.navigationItems.find(s=>s===n);if(o)return o}}let e=this.getCurrentFocusItem();return e||this.getDefaultNavigationItem()}getCurrentFocusItem(){let{currentFocusItem:t}=this;return t?this.navigationItems.find(e=>e===t):void 0}getDefaultNavigationItem(){return this.navigationItems.find(t=>p(t)&&t!==this.expandToggleEl)||this.navigationItems[0]}getEventActionMenu(t){let e=t.composedPath().find(n=>n instanceof HTMLElement&&n.matches("calcite-action-menu"));if(e)return e;let i=t.target;if(i instanceof HTMLElement){let n=i.closest("calcite-action-menu");if(n)return n}return null}getOpenActionMenu(){return this.navigationItems.find(t=>t.matches("calcite-action-menu")&&t.open)}syncClosedActionMenu(t){this.updateNavigationItems();let e=this.navigationItems.find(i=>i===t);e&&this.setNavigationItemTabIndexes(e)}getNavigationItemFromEvent(t){for(let e of t.composedPath()){if(!(e instanceof HTMLElement)||!e.matches("calcite-action, calcite-action-menu"))continue;let i=this.navigationItems.find(o=>o===e);if(i)return i;let n=e.closest("calcite-action-menu");if(n){let o=this.navigationItems.find(s=>s===n);if(o)return o}}return null}syncNavigationItemTabIndexes(t){this.updateNavigationItems();let i=(t?this.navigationItems.find(n=>n===t):void 0)||this.getCurrentNavigationItem();i&&(this.setNavigationItemTabIndexes(i),this.updateActions())}setNavigationItemTabIndexes(t){t.matches(":focus-within")&&(this.currentFocusItem=t),this.navigationItems.forEach(e=>{let i=e===t;if(p(e)){i&&!e.disabled&&!e.hidden?e.removeAttribute("tabindex"):e.tabIndex=-1;return}i?e.removeAttribute("tabindex"):e.tabIndex=-1;let{menuButtonEl:n}=e;n&&(i&&!e.open?n.removeAttribute("tabindex"):n.tabIndex=-1)})}renderExpandTooltipSlot(){return I`<slot name=${F.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>`}renderExpandToggle(){let{el:t,expanded:e,toggleExpand:i,messages:n,position:o,scale:s}=this;return ht({collapseLabel:n.collapseLabel,collapseText:n.collapse,direction:this.direction,el:t,expanded:e,expandLabel:n.expandLabel,expandText:n.expand,position:o,ref:this.setExpandToggleEl,scale:s,toggle:i,tooltip:this.expandTooltip})}renderActionsGroup(t){let{expandToggleDisabled:e,scale:i,layout:n,overlayPositioning:o,expandPosition:s}=this,a=t==="start",c=!e&&s===t,r=a?this.hasActionsStart:this.hasActionsEnd,d=a?F.actionsStart:F.actionsEnd,G=a?this.handleActionsStartSlotChange:this.handleActionsEndSlotChange,T=a?this.actionsStartGroupLabel:this.actionsEndGroupLabel,S=!c&&!r&&!(a?this.hasActionsStart:this.hasActionsEnd),g=a?this.actionsStartGroupRef:this.actionsEndGroupRef,h=a?this.actionsStartSlotRef:this.actionsEndSlotRef,A=c?this.renderExpandToggle():null;return I`<calcite-action-group class=${k({[y.actionGroupStart]:a,[y.actionGroupEnd]:!a})} .hidden=${S} .label=${T} .layout=${n} .overlayPositioning=${o} .scale=${i} ${M(g)}>${a?A:null}<slot name=${d??W} @slotchange=${G} ${M(h)}></slot>${c?this.renderExpandTooltipSlot():null}${a?null:A}</calcite-action-group>`}render(){let t=this.layout==="horizontal"?"horizontal":"vertical";return I`<div .ariaOrientation=${t} class=${k({[y.container]:!0,[y.hasActionGroups]:this.hasActionGroups})} role=toolbar ${M(this.containerRef)}>${this.renderActionsGroup("start")}<slot @slotchange=${this.handleDefaultSlotChange} ${M(this.defaultSlotRef)}></slot>${this.renderActionsGroup("end")}${this.usesWrap?I`<div aria-hidden=true class=${k(y.lineOverlay)}>${this.lineOffsets.map(e=>I`<div class=${k(y.line)} style=${`--calcite-internal-action-bar-line-offset: ${e}px`}></div>`)}</div>`:null}</div>`}};V("calcite-action-bar",H);export{H as ActionBar};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as x,h as y,l as E,n as g,o as b,p,q as I,r as d,s as r,t as h,u as B}from"./QYVKOLJZ.js";import"./6TP6A2OR.js";import"./5K4OZJAZ.js";import{a as O}from"./CFQ3UMKK.js";import{a as T}from"./AYU6H7NV.js";import"./VMHJHFFS.js";import"./KSQGDVHO.js";import"./WO6FE6CZ.js";import"./RRBGCYLX.js";import{E as C,F as v,G as F,H as f,T as D,g as S,h as m,p as R}from"./2J454YPO.js";var $={container:"container",hexInput:"hex-input",opacityInput:"opacity-input"},U=S`:host{display:block}.container{display:flex;inline-size:100%;align-items:center;flex-wrap:nowrap}.hex-input{--calcite-input-text-background-color: var(--calcite-color-picker-input-background-color);--calcite-input-text-border-color: var(--calcite-color-picker-input-border-color);--calcite-input-text-text-color: var(--calcite-color-picker-input-text-color);--calcite-input-prefix-text-color: var(--calcite-color-picker-input-prefix-text-color)}.opacity-input{--calcite-input-number-background-color: var(--calcite-color-picker-input-background-color);--calcite-input-number-border-color: var(--calcite-color-picker-input-border-color);--calcite-input-number-text-color: var(--calcite-color-picker-input-text-color);--calcite-input-suffix-text-color: var(--calcite-color-picker-input-suffix-text-color)}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:100px;margin-inline-start:-1px}:host([hidden]){display:none}[hidden]{display:none}`,V=x(),w=class extends F{constructor(){super(...arguments),this.hexInputRef=C(),this.opacityInputRef=C(),this.focusSetter=T()(this).setFocus,this.internalColor=V,this.alphaChannel=!1,this.allowEmpty=!1,this.hexLabel="Hex",this.scale="m",this.value=r(h(V,this.alphaChannel),this.alphaChannel,!0),this.calciteColorPickerHexInputChange=R({cancelable:!1})}static{this.properties={internalColor:[16,{},{state:!0}],alphaChannel:[5,{},{type:Boolean}],allowEmpty:[5,{},{type:Boolean}],hexLabel:1,messages:[0,{},{attribute:!1}],numberingSystem:1,scale:[3,{},{reflect:!0}],value:[3,{},{reflect:!0}]}}static{this.styles=U}async setFocus(t){return this.focusSetter(()=>this.hexInputRef.value,t)}connectedCallback(){super.connectedCallback(),this.previousDefinedValue=this.value;let{allowEmpty:t,alphaChannel:e,value:a}=this;if(a){let n=r(a,e);p(n,e)&&this.internalSetValue(n,n,!1);return}t&&this.internalSetValue(void 0,void 0,!1)}willUpdate(t){t.has("value")&&(this.hasUpdated||this.value!==r(h(V,this.alphaChannel),this.alphaChannel,!0))&&this.internalSetValue(this.value,t.get("value"),!1)}onHexInputBlur(){let t=this.hexInputRef.value,e=t.value,a=`#${e}`,{allowEmpty:n,internalColor:l}=this,o=n&&!e,i=d(a);(I(a,!0)||I(a,!1))&&this.onHexInputChange(),!(o||p(a)&&i)&&(t.value=n&&!l?"":this.formatHexForInternalInput(B(l.object())))}onOpacityInputBlur(){let t=this.opacityInputRef.value,e=t.value,{allowEmpty:a,internalColor:n}=this;a&&!e||(t.value=a&&!n?"":this.formatOpacityForInternalInput(n))}onOpacityInputInput(){this.onOpacityInputChange()}onHexInputChange(){let e=this.hexInputRef.value.value;if(e){let a=r(e,!1);if(p(a)&&this.alphaChannel&&this.internalColor){let l=r(this.internalColor.hexa(),!0).slice(-2);e=`${a+l}`}}this.internalSetValue(e,this.value)}onOpacityInputChange(){let t=this.opacityInputRef.value,e;if(!t.value)e=t.value;else{let a=b(Number(t.value));e=this.internalColor?.alpha(a).hexa()}this.internalSetValue(e,this.value)}onInputFocus(t){(t.type==="calciteInternalInputTextFocus"?this.hexInputRef:this.opacityInputRef).value.selectText()}onHexInputInput(){let t=`#${this.hexInputRef.value.value}`,e=this.value;p(t,this.alphaChannel)&&d(t,this.alphaChannel)&&this.internalSetValue(t,e)}onInputKeyDown(t){let{altKey:e,ctrlKey:a,metaKey:n,shiftKey:l}=t,{alphaChannel:o,hexInputRef:i,internalColor:s,value:c}=this,{key:u}=t,H=t.composedPath();if(u==="Tab"&&I(c,this.alphaChannel)||u==="Enter"){H.includes(i.value)?this.onHexInputChange():this.onOpacityInputChange(),u==="Enter"&&t.preventDefault();return}let L=u==="ArrowDown"||u==="ArrowUp",k=this.value;if(L){if(!c){this.internalSetValue(this.previousDefinedValue,k),t.preventDefault();return}let P=u==="ArrowUp"?1:-1,N=l?10:1;this.internalSetValue(h(this.nudgeRGBChannels(s,N*P,H.includes(i.value)?"rgb":"a"),o),k),t.preventDefault();return}let A=e||a||n,K=u.length===1,z=E.test(u);K&&!A&&!z&&t.preventDefault()}onHexInputPaste(t){let e=t.clipboardData?.getData("text");p(e,this.alphaChannel)&&d(e,this.alphaChannel)&&(t.preventDefault(),this.hexInputRef.value.value=e.slice(1),this.internalSetValue(e,this.value))}internalSetValue(t,e,a=!0){if(t){let{alphaChannel:n}=this,l=r(t,n,n);if(p(l,n)){let{internalColor:o}=this,i=x(l),s=r(h(i,n),n),c=!o||s!==r(h(o,n),n);this.internalColor=i,this.previousDefinedValue=s,this.value=s,c&&a&&this.calciteColorPickerHexInputChange.emit();return}}else if(this.allowEmpty){this.internalColor=void 0,this.value=void 0,a&&this.calciteColorPickerHexInputChange.emit();return}this.value=e}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${g(t.alpha())}`:""}nudgeRGBChannels(t,e,a){let n,l=t.array(),o=l.slice(0,3);if(a==="rgb")n=[...o.map(s=>s+e),this.alphaChannel?l[3]:void 0];else{let i=b(g(t.alpha())+e);n=[...o,i]}return x(n)}render(){let{alphaChannel:t,hexLabel:e,internalColor:a,messages:n,scale:l,value:o}=this,i=this.formatHexForInternalInput(o),s=this.formatOpacityForInternalInput(a),c=l==="l"?"m":"s";return m`<div class=${f($.container)}><calcite-input-text class=${f($.hexInput)} .label=${n?.hex||e} .maxLength=${this.alphaChannel?8:6} @calciteInputTextChange=${this.onHexInputChange} @calciteInputTextInput=${this.onHexInputInput} @calciteInternalInputTextBlur=${this.onHexInputBlur} @calciteInternalInputTextFocus=${this.onInputFocus} @keydown=${this.onInputKeyDown} @paste=${this.onHexInputPaste} prefix-text=# .scale=${c} .value=${i} ${v(this.hexInputRef)}></calcite-input-text>${t?O("opacity-input",m`<calcite-input-number class=${f($.opacityInput)} .label=${n?.opacity} .max=${y.max} max-length=3 .min=${y.min} number-button-type=none .numberingSystem=${this.numberingSystem} @calciteInputNumberInput=${this.onOpacityInputInput} @calciteInternalInputNumberBlur=${this.onOpacityInputBlur} @calciteInternalInputNumberFocus=${this.onInputFocus} @keydown=${this.onInputKeyDown} .scale=${c} suffix-text=% .value=${s} ${v(this.opacityInputRef)}></calcite-input-number>`):null}</div>`}};D("calcite-color-picker-hex-input",w);export{w as ColorPickerHexInput};
2
+ import{a as x,h as y,l as E,n as g,o as b,p,q as I,r as d,s as r,t as h,u as B}from"./QYVKOLJZ.js";import"./6TP6A2OR.js";import"./5K4OZJAZ.js";import{a as O}from"./TXWO4UHN.js";import{a as T}from"./TVYZ5MJ6.js";import"./VMHJHFFS.js";import"./6TAUFYMH.js";import"./VE5BG7IA.js";import"./RRBGCYLX.js";import{E as C,F as v,G as F,H as f,T as D,g as S,h as m,p as R}from"./E4GZAXJH.js";var $={container:"container",hexInput:"hex-input",opacityInput:"opacity-input"},U=S`:host{display:block}.container{display:flex;inline-size:100%;align-items:center;flex-wrap:nowrap}.hex-input{--calcite-input-text-background-color: var(--calcite-color-picker-input-background-color);--calcite-input-text-border-color: var(--calcite-color-picker-input-border-color);--calcite-input-text-text-color: var(--calcite-color-picker-input-text-color);--calcite-input-prefix-text-color: var(--calcite-color-picker-input-prefix-text-color)}.opacity-input{--calcite-input-number-background-color: var(--calcite-color-picker-input-background-color);--calcite-input-number-border-color: var(--calcite-color-picker-input-border-color);--calcite-input-number-text-color: var(--calcite-color-picker-input-text-color);--calcite-input-suffix-text-color: var(--calcite-color-picker-input-suffix-text-color)}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:100px;margin-inline-start:-1px}:host([hidden]){display:none}[hidden]{display:none}`,V=x(),w=class extends F{constructor(){super(...arguments),this.hexInputRef=C(),this.opacityInputRef=C(),this.focusSetter=T()(this).setFocus,this.internalColor=V,this.alphaChannel=!1,this.allowEmpty=!1,this.hexLabel="Hex",this.scale="m",this.value=r(h(V,this.alphaChannel),this.alphaChannel,!0),this.calciteColorPickerHexInputChange=R({cancelable:!1})}static{this.properties={internalColor:[16,{},{state:!0}],alphaChannel:[5,{},{type:Boolean}],allowEmpty:[5,{},{type:Boolean}],hexLabel:1,messages:[0,{},{attribute:!1}],numberingSystem:1,scale:[3,{},{reflect:!0}],value:[3,{},{reflect:!0}]}}static{this.styles=U}async setFocus(t){return this.focusSetter(()=>this.hexInputRef.value,t)}connectedCallback(){super.connectedCallback(),this.previousDefinedValue=this.value;let{allowEmpty:t,alphaChannel:e,value:a}=this;if(a){let n=r(a,e);p(n,e)&&this.internalSetValue(n,n,!1);return}t&&this.internalSetValue(void 0,void 0,!1)}willUpdate(t){t.has("value")&&(this.hasUpdated||this.value!==r(h(V,this.alphaChannel),this.alphaChannel,!0))&&this.internalSetValue(this.value,t.get("value"),!1)}onHexInputBlur(){let t=this.hexInputRef.value,e=t.value,a=`#${e}`,{allowEmpty:n,internalColor:l}=this,o=n&&!e,i=d(a);(I(a,!0)||I(a,!1))&&this.onHexInputChange(),!(o||p(a)&&i)&&(t.value=n&&!l?"":this.formatHexForInternalInput(B(l.object())))}onOpacityInputBlur(){let t=this.opacityInputRef.value,e=t.value,{allowEmpty:a,internalColor:n}=this;a&&!e||(t.value=a&&!n?"":this.formatOpacityForInternalInput(n))}onOpacityInputInput(){this.onOpacityInputChange()}onHexInputChange(){let e=this.hexInputRef.value.value;if(e){let a=r(e,!1);if(p(a)&&this.alphaChannel&&this.internalColor){let l=r(this.internalColor.hexa(),!0).slice(-2);e=`${a+l}`}}this.internalSetValue(e,this.value)}onOpacityInputChange(){let t=this.opacityInputRef.value,e;if(!t.value)e=t.value;else{let a=b(Number(t.value));e=this.internalColor?.alpha(a).hexa()}this.internalSetValue(e,this.value)}onInputFocus(t){(t.type==="calciteInternalInputTextFocus"?this.hexInputRef:this.opacityInputRef).value.selectText()}onHexInputInput(){let t=`#${this.hexInputRef.value.value}`,e=this.value;p(t,this.alphaChannel)&&d(t,this.alphaChannel)&&this.internalSetValue(t,e)}onInputKeyDown(t){let{altKey:e,ctrlKey:a,metaKey:n,shiftKey:l}=t,{alphaChannel:o,hexInputRef:i,internalColor:s,value:c}=this,{key:u}=t,H=t.composedPath();if(u==="Tab"&&I(c,this.alphaChannel)||u==="Enter"){H.includes(i.value)?this.onHexInputChange():this.onOpacityInputChange(),u==="Enter"&&t.preventDefault();return}let L=u==="ArrowDown"||u==="ArrowUp",k=this.value;if(L){if(!c){this.internalSetValue(this.previousDefinedValue,k),t.preventDefault();return}let P=u==="ArrowUp"?1:-1,N=l?10:1;this.internalSetValue(h(this.nudgeRGBChannels(s,N*P,H.includes(i.value)?"rgb":"a"),o),k),t.preventDefault();return}let A=e||a||n,K=u.length===1,z=E.test(u);K&&!A&&!z&&t.preventDefault()}onHexInputPaste(t){let e=t.clipboardData?.getData("text");p(e,this.alphaChannel)&&d(e,this.alphaChannel)&&(t.preventDefault(),this.hexInputRef.value.value=e.slice(1),this.internalSetValue(e,this.value))}internalSetValue(t,e,a=!0){if(t){let{alphaChannel:n}=this,l=r(t,n,n);if(p(l,n)){let{internalColor:o}=this,i=x(l),s=r(h(i,n),n),c=!o||s!==r(h(o,n),n);this.internalColor=i,this.previousDefinedValue=s,this.value=s,c&&a&&this.calciteColorPickerHexInputChange.emit();return}}else if(this.allowEmpty){this.internalColor=void 0,this.value=void 0,a&&this.calciteColorPickerHexInputChange.emit();return}this.value=e}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${g(t.alpha())}`:""}nudgeRGBChannels(t,e,a){let n,l=t.array(),o=l.slice(0,3);if(a==="rgb")n=[...o.map(s=>s+e),this.alphaChannel?l[3]:void 0];else{let i=b(g(t.alpha())+e);n=[...o,i]}return x(n)}render(){let{alphaChannel:t,hexLabel:e,internalColor:a,messages:n,scale:l,value:o}=this,i=this.formatHexForInternalInput(o),s=this.formatOpacityForInternalInput(a),c=l==="l"?"m":"s";return m`<div class=${f($.container)}><calcite-input-text class=${f($.hexInput)} .label=${n?.hex||e} .maxLength=${this.alphaChannel?8:6} @calciteInputTextChange=${this.onHexInputChange} @calciteInputTextInput=${this.onHexInputInput} @calciteInternalInputTextBlur=${this.onHexInputBlur} @calciteInternalInputTextFocus=${this.onInputFocus} @keydown=${this.onInputKeyDown} @paste=${this.onHexInputPaste} prefix-text=# .scale=${c} .value=${i} ${v(this.hexInputRef)}></calcite-input-text>${t?O("opacity-input",m`<calcite-input-number class=${f($.opacityInput)} .label=${n?.opacity} .max=${y.max} max-length=3 .min=${y.min} number-button-type=none .numberingSystem=${this.numberingSystem} @calciteInputNumberInput=${this.onOpacityInputInput} @calciteInternalInputNumberBlur=${this.onOpacityInputBlur} @calciteInternalInputNumberFocus=${this.onInputFocus} @keydown=${this.onInputKeyDown} .scale=${c} suffix-text=% .value=${s} ${v(this.opacityInputRef)}></calcite-input-number>`):null}</div>`}};D("calcite-color-picker-hex-input",w);export{w as ColorPickerHexInput};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{a as w}from"./I7LH7HGC.js";import{c as B}from"./EVP5QN6L.js";import{a as y}from"./XN5GTOTE.js";import{a as I}from"./ABQMRRNL.js";import{a as x}from"./FHYN6ZAQ.js";import{a as n}from"./BBZC3BBE.js";import{a as k}from"./AYU6H7NV.js";import"./VMHJHFFS.js";import{e as g}from"./KSQGDVHO.js";import"./WO6FE6CZ.js";import"./RRBGCYLX.js";import{E as f,F as v,G as m,H as l,T as p,g as h,h as u,l as b,p as c}from"./2J454YPO.js";var R={container:"container",radio:"radio"},z=h`: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{display:block;cursor:pointer}:host .container{outline:var(--calcite-border-width-md) solid transparent;outline-offset:var(--calcite-border-width-md);position:relative;display:flex}:host .radio{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;cursor:pointer;outline-color:var(--calcite-color-transparent);border-radius:var(--calcite-radio-button-corner-radius, var(--calcite-corner-radius-pill));background-color:var(--calcite-radio-button-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));box-shadow:inset 0 0 0 var(--calcite-border-width-sm) var(--calcite-radio-button-border-color, var(--calcite-color-border-input))}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-md) var(--calcite-radio-button-border-color, var(--calcite-color-brand-hover))}:host([hovered]) .radio:active,:host(:not([checked])[focused]:not([disabled])) .radio:active{box-shadow:inset 0 0 0 var(--calcite-border-width-md) var(--calcite-color-brand-press)}:host([focused]) .radio{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}:host([disabled]) .radio{opacity:var(--calcite-opacity-disabled);cursor:default}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:var(--calcite-opacity-full)}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-sm) var(--calcite-radio-button-border-color, var(--calcite-color-border-input))}:host([scale=s]){--calcite-internal-radio-size: var(--calcite-radio-button-size, var(--calcite-size-fixed-md))}:host([scale=m]){--calcite-internal-radio-size: var(--calcite-radio-button-size, var(--calcite-size-fixed-md-plus))}:host([scale=l]){--calcite-internal-radio-size: var(--calcite-radio-button-size, var(--calcite-size-fixed-lg))}.radio{block-size:var(--calcite-internal-radio-size);inline-size:var(--calcite-internal-radio-size);size:var(--calcite-internal-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-lg) var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-lg) var(--calcite-radio-button-border-color, var(--calcite-color-brand)),0 0 0 2px var(--calcite-radio-button-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-radio-button-border-color, var(--calcite-color-brand)),0 0 0 2px var(--calcite-radio-button-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-radio-button-border-color, var(--calcite-color-brand)),0 0 0 2px var(--calcite-radio-button-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}:host([status=invalid]:not([checked])){--calcite-radio-button-border-color: var(--calcite-color-status-danger)}:host([status=invalid]:not([checked]):focus) .radio{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(var(--calcite-theme-space-base, var(--calcite-spacing-base)) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}@media(forced-colors:active){:host([checked]) .radio:after,:host([checked][disabled]) .radio:after{content:"";inline-size:var(--calcite-internal-radio-size);block-size:var(--calcite-internal-radio-size);background-color:CanvasText;display:block}}.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)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends m{constructor(){super(),this.containerRef=f(),this.direction=g(),this.formSupport=B({inputType:"radio"})(this),this.focusSetter=k()(this).setFocus,this.interactiveContainer=x(this),this.checked=!1,this.disabled=!1,this.focused=!1,this.hovered=!1,this.required=!1,this.scale="m",this.status="idle",this.calciteInternalRadioButtonBlur=c({cancelable:!1}),this.calciteInternalRadioButtonCheckedChange=c({cancelable:!1}),this.calciteInternalRadioButtonFocus=c({cancelable:!1}),this.calciteRadioButtonChange=c({cancelable:!1}),I(this),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler),this.listen("click",this.clickHandler),this.listen("keydown",this.handleKeyDown)}static{this.properties={checked:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],focused:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],hovered:[7,{},{reflect:!0,type:Boolean}],label:1,labelText:1,name:[3,{},{reflect:!0}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],status:[3,{},{reflect:!0}],validationMessage:1,validity:[32,{},{readOnly:!0,attribute:!1}],value:1}}static{this.formAssociated=!0}static{this.styles=z}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}async setFocus(e){return this.focusSetter(()=>this.containerRef.value,e)}async setValidity(e,a=this.validationMessage){this.elementInternals.setValidity(e,a||"")}connectedCallback(){this.rootNode=this.el.getRootNode(),this.name&&this.checkLastRadioButton(),this.updateTabIndexOfOtherRadioButtonsInGroup(),super.connectedCallback()}willUpdate(e){this.hasUpdated&&e.has("checked")&&this.checkedChanged(this.checked),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.updateTabIndexOfOtherRadioButtonsInGroup(),e.has("name")&&this.checkLastRadioButton()}loaded(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){super.disconnectedCallback(),this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(e){e&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}selectItem(e,a){e[a].click()}queryButtons(){return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(e=>e.name===this.name)}isFocusable(){let e=this.queryButtons(),a=e.find(i=>!i.disabled),t=e.find(i=>i.checked);return a===this.el&&!t}check(){this.disabled||(this.focused=!0,this.setFocus(),!this.checked&&(this.checked=!0,this.calciteRadioButtonChange.emit()))}clickHandler(){this.disabled||this.check()}onLabelClick(e){if(this.disabled||this.el.hidden)return;let a=e.currentTarget,t=a.for?this.rootNode.querySelector(`calcite-radio-button[id="${a.for}"]`):a.querySelector(`calcite-radio-button[name="${this.name}"]`);t&&(t.focused=!0,this.setFocus(),!t.checked&&(this.uncheckOtherRadioButtonsInGroup(),t.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){let a=this.queryButtons().filter(t=>t.checked);if(a?.length>1){let t=a[a.length-1];a.filter(i=>i!==t).forEach(i=>{i.checked=!1,i.emitCheckedChange()})}}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter(t=>t!==this.el).forEach(t=>{t.checked&&(t.checked=!1,t.focused=!1)})}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter(t=>t!==this.el&&!t.disabled).forEach(t=>{t.manager?.component.requestUpdate()})}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}handleKeyDown(e){let a=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "],{key:t}=e;if(a.indexOf(t)===-1)return;if(t===" "){this.check(),e.preventDefault();return}let i=t;this.direction==="rtl"&&(t==="ArrowRight"&&(i="ArrowLeft"),t==="ArrowLeft"&&(i="ArrowRight"));let r=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(s=>s.name===this.name),o=0;switch(r.some((s,C)=>s.checked?(o=C,!0):!1),i){case"ArrowLeft":case"ArrowUp":e.preventDefault(),this.selectItem(r,this.getNextNonDisabledIndex(r,o,"left"));return;case"ArrowRight":case"ArrowDown":e.preventDefault(),this.selectItem(r,this.getNextNonDisabledIndex(r,o,"right"));return;default:return}}getNextNonDisabledIndex(e,a,t){let i=e.length,r=t==="left"?-1:1,o=n(a+r,i);for(;e[o].disabled;)o=n(o+r,i);return o}onContainerBlur(){this.focused=!1,this.calciteInternalRadioButtonBlur.emit()}onContainerFocus(){this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}render(){let e=this.getTabIndex();return this.interactiveContainer({disabled:this.disabled,children:u`<div .ariaChecked=${this.checked} .ariaLabel=${y(this)} class=${l(R.container)} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} role=radio tabindex=${e??b} ${v(this.containerRef)}><div class=${l(R.radio)}></div>${this.labelText&&w({labelText:this.labelText,spacingInlineStart:!0})||""}</div>`})}};p("calcite-radio-button",d);export{d as RadioButton};
2
+ import{a as w}from"./M5IRAD3I.js";import{c as B}from"./S33ZYVXV.js";import{a as y}from"./XN5GTOTE.js";import{a as I}from"./MDNGPOJD.js";import{a as x}from"./FSO4HHTR.js";import{a as n}from"./BBZC3BBE.js";import{a as k}from"./TVYZ5MJ6.js";import"./VMHJHFFS.js";import{e as g}from"./6TAUFYMH.js";import"./VE5BG7IA.js";import"./RRBGCYLX.js";import{E as f,F as v,G as m,H as l,T as p,g as h,h as u,l as b,p as c}from"./E4GZAXJH.js";var R={container:"container",radio:"radio"},z=h`: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{display:block;cursor:pointer}:host .container{outline:var(--calcite-border-width-md) solid transparent;outline-offset:var(--calcite-border-width-md);position:relative;display:flex}:host .radio{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;cursor:pointer;outline-color:var(--calcite-color-transparent);border-radius:var(--calcite-radio-button-corner-radius, var(--calcite-corner-radius-pill));background-color:var(--calcite-radio-button-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));box-shadow:inset 0 0 0 var(--calcite-border-width-sm) var(--calcite-radio-button-border-color, var(--calcite-color-border-input))}:host([hovered]) .radio,:host(:not([checked])[focused]:not([disabled])) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-md) var(--calcite-radio-button-border-color, var(--calcite-color-brand-hover))}:host([hovered]) .radio:active,:host(:not([checked])[focused]:not([disabled])) .radio:active{box-shadow:inset 0 0 0 var(--calcite-border-width-md) var(--calcite-color-brand-press)}:host([focused]) .radio{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}:host([disabled]) .radio{opacity:var(--calcite-opacity-disabled);cursor:default}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:var(--calcite-opacity-full)}.interaction-container{display:contents}:host([hovered][disabled]) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-sm) var(--calcite-radio-button-border-color, var(--calcite-color-border-input))}:host([scale=s]){--calcite-internal-radio-size: var(--calcite-radio-button-size, var(--calcite-size-fixed-md))}:host([scale=m]){--calcite-internal-radio-size: var(--calcite-radio-button-size, var(--calcite-size-fixed-md-plus))}:host([scale=l]){--calcite-internal-radio-size: var(--calcite-radio-button-size, var(--calcite-size-fixed-lg))}.radio{block-size:var(--calcite-internal-radio-size);inline-size:var(--calcite-internal-radio-size);size:var(--calcite-internal-radio-size)}:host([scale=s][checked]) .radio,:host([hovered][scale=s][checked][disabled]) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-lg) var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([scale=s][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 var(--calcite-border-width-lg) var(--calcite-radio-button-border-color, var(--calcite-color-brand)),0 0 0 2px var(--calcite-radio-button-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}:host([scale=m][checked]) .radio,:host([hovered][scale=m][checked][disabled]) .radio{box-shadow:inset 0 0 0 5px var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([scale=m][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 5px var(--calcite-radio-button-border-color, var(--calcite-color-brand)),0 0 0 2px var(--calcite-radio-button-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}:host([scale=l][checked]) .radio,:host([hovered][scale=l][checked][disabled]) .radio{box-shadow:inset 0 0 0 6px var(--calcite-radio-button-border-color, var(--calcite-color-brand))}:host([scale=l][focused][checked]:not([disabled])) .radio{box-shadow:inset 0 0 0 6px var(--calcite-radio-button-border-color, var(--calcite-color-brand)),0 0 0 2px var(--calcite-radio-button-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)))}:host([status=invalid]:not([checked])){--calcite-radio-button-border-color: var(--calcite-color-status-danger)}:host([status=invalid]:not([checked]):focus) .radio{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(var(--calcite-theme-space-base, var(--calcite-spacing-base)) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}@media(forced-colors:active){:host([checked]) .radio:after,:host([checked][disabled]) .radio:after{content:"";inline-size:var(--calcite-internal-radio-size);block-size:var(--calcite-internal-radio-size);background-color:CanvasText;display:block}}.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)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends m{constructor(){super(),this.containerRef=f(),this.direction=g(),this.formSupport=B({inputType:"radio"})(this),this.focusSetter=k()(this).setFocus,this.interactiveContainer=x(this),this.checked=!1,this.disabled=!1,this.focused=!1,this.hovered=!1,this.required=!1,this.scale="m",this.status="idle",this.calciteInternalRadioButtonBlur=c({cancelable:!1}),this.calciteInternalRadioButtonCheckedChange=c({cancelable:!1}),this.calciteInternalRadioButtonFocus=c({cancelable:!1}),this.calciteRadioButtonChange=c({cancelable:!1}),I(this),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler),this.listen("click",this.clickHandler),this.listen("keydown",this.handleKeyDown)}static{this.properties={checked:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],focused:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],hovered:[7,{},{reflect:!0,type:Boolean}],label:1,labelText:1,name:[3,{},{reflect:!0}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],status:[3,{},{reflect:!0}],validationMessage:1,validity:[32,{},{readOnly:!0,attribute:!1}],value:1}}static{this.formAssociated=!0}static{this.styles=z}async emitCheckedChange(){this.calciteInternalRadioButtonCheckedChange.emit()}async setFocus(e){return this.focusSetter(()=>this.containerRef.value,e)}async setValidity(e,a=this.validationMessage){this.elementInternals.setValidity(e,a||"")}connectedCallback(){this.rootNode=this.el.getRootNode(),this.name&&this.checkLastRadioButton(),this.updateTabIndexOfOtherRadioButtonsInGroup(),super.connectedCallback()}willUpdate(e){this.hasUpdated&&e.has("checked")&&this.checkedChanged(this.checked),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.updateTabIndexOfOtherRadioButtonsInGroup(),e.has("name")&&this.checkLastRadioButton()}loaded(){this.focused&&!this.disabled&&this.setFocus()}disconnectedCallback(){super.disconnectedCallback(),this.updateTabIndexOfOtherRadioButtonsInGroup()}checkedChanged(e){e&&this.uncheckOtherRadioButtonsInGroup(),this.calciteInternalRadioButtonCheckedChange.emit()}selectItem(e,a){e[a].click()}queryButtons(){return Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(e=>e.name===this.name)}isFocusable(){let e=this.queryButtons(),a=e.find(i=>!i.disabled),t=e.find(i=>i.checked);return a===this.el&&!t}check(){this.disabled||(this.focused=!0,this.setFocus(),!this.checked&&(this.checked=!0,this.calciteRadioButtonChange.emit()))}clickHandler(){this.disabled||this.check()}onLabelClick(e){if(this.disabled||this.el.hidden)return;let a=e.currentTarget,t=a.for?this.rootNode.querySelector(`calcite-radio-button[id="${a.for}"]`):a.querySelector(`calcite-radio-button[name="${this.name}"]`);t&&(t.focused=!0,this.setFocus(),!t.checked&&(this.uncheckOtherRadioButtonsInGroup(),t.checked=!0,this.calciteRadioButtonChange.emit()))}checkLastRadioButton(){let a=this.queryButtons().filter(t=>t.checked);if(a?.length>1){let t=a[a.length-1];a.filter(i=>i!==t).forEach(i=>{i.checked=!1,i.emitCheckedChange()})}}uncheckOtherRadioButtonsInGroup(){this.queryButtons().filter(t=>t!==this.el).forEach(t=>{t.checked&&(t.checked=!1,t.focused=!1)})}updateTabIndexOfOtherRadioButtonsInGroup(){this.queryButtons().filter(t=>t!==this.el&&!t.disabled).forEach(t=>{t.manager?.component.requestUpdate()})}getTabIndex(){if(!this.disabled)return this.checked||this.isFocusable()?0:-1}pointerEnterHandler(){this.disabled||(this.hovered=!0)}pointerLeaveHandler(){this.disabled||(this.hovered=!1)}handleKeyDown(e){let a=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "],{key:t}=e;if(a.indexOf(t)===-1)return;if(t===" "){this.check(),e.preventDefault();return}let i=t;this.direction==="rtl"&&(t==="ArrowRight"&&(i="ArrowLeft"),t==="ArrowLeft"&&(i="ArrowRight"));let r=Array.from(this.rootNode.querySelectorAll("calcite-radio-button:not([hidden])")).filter(s=>s.name===this.name),o=0;switch(r.some((s,C)=>s.checked?(o=C,!0):!1),i){case"ArrowLeft":case"ArrowUp":e.preventDefault(),this.selectItem(r,this.getNextNonDisabledIndex(r,o,"left"));return;case"ArrowRight":case"ArrowDown":e.preventDefault(),this.selectItem(r,this.getNextNonDisabledIndex(r,o,"right"));return;default:return}}getNextNonDisabledIndex(e,a,t){let i=e.length,r=t==="left"?-1:1,o=n(a+r,i);for(;e[o].disabled;)o=n(o+r,i);return o}onContainerBlur(){this.focused=!1,this.calciteInternalRadioButtonBlur.emit()}onContainerFocus(){this.disabled||(this.focused=!0,this.calciteInternalRadioButtonFocus.emit())}render(){let e=this.getTabIndex();return this.interactiveContainer({disabled:this.disabled,children:u`<div .ariaChecked=${this.checked} .ariaLabel=${y(this)} class=${l(R.container)} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} role=radio tabindex=${e??b} ${v(this.containerRef)}><div class=${l(R.radio)}></div>${this.labelText&&w({labelText:this.labelText,spacingInlineStart:!0})||""}</div>`})}};p("calcite-radio-button",d);export{d as RadioButton};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
- import{b as l}from"./KSQGDVHO.js";var d=s=>l(e=>{function i(r){let{form:t}=e.elementInternals;if(!(r.defaultPrevented||e.disabled||s?.disabled?.()||!t||e.type==="button")){if(e.type==="submit"){t.requestSubmit();return}t.reset()}}e.listen("luminaFormAssociatedCallback",({detail:[r]})=>{r?e.el.addEventListener("click",i):e.el.removeEventListener("click",i)})});export{d as a};
2
+ import{b as l}from"./6TAUFYMH.js";var d=s=>l(e=>{function i(r){let{form:t}=e.elementInternals;if(!(r.defaultPrevented||e.disabled||s?.disabled?.()||!t||e.type==="button")){if(e.type==="submit"){t.requestSubmit();return}t.reset()}}e.listen("luminaFormAssociatedCallback",({detail:[r]})=>{r?e.el.addEventListener("click",i):e.el.removeEventListener("click",i)})});export{d as a};
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"./2J454YPO.js";var i=e(t,{"calcite-accordion":[()=>import("./MGDB7ACM.js"),"appearance,iconPosition,iconType,scale,selectionMode"],"calcite-accordion-item":[()=>import("./H7L3SQI5.js"),"appearance,description,expanded,heading,headingLevel,iconEnd,iconFlipRtl,iconPosition,iconStart,iconType,messageOverrides:,scale;setFocus"],"calcite-action":[()=>import("./BHRRFU7Q.js"),"active,alignment,appearance,aria:,disabled,dragHandle,form,icon,iconFlipRtl,indicator,label,loading,messageOverrides:,overflowDisabled,scale,selectionAppearance,text,textEnabled,type,width;setFocus",1],"calcite-action-bar":[()=>import("./B6RTHT4T.js"),"actionsEndGroupLabel,actionsStartGroupLabel,expanded,expandPosition,expandToggleDisabled,floating,layout,messageOverrides:,overflowActionsDisabled,overflowMode,overlayPositioning,position,scale,selectionAppearance;overflowActions,setFocus"],"calcite-action-group":[()=>import("./FA3KLVWD.js"),"actionMenu:,actions:,columns,expanded,label,layout,menuFlipPlacements:,menuOpen,menuPlacement,messageOverrides:,overflowActionsDisabled,overlayPositioning,scale,selectedActions:,selectionMode,topLayerDisabled;setFocus"],"calcite-action-menu":[()=>import("./FJ4YXF5O.js"),"actions:,appearance,expanded,flipPlacements:,label,open,overlayPositioning,placement,scale,topLayerDisabled;setFocus"],"calcite-alert":[()=>import("./V5KRVD63.js"),"active,autoClose,autoCloseDuration,embedded,icon,iconFlipRtl,kind,label,messageOverrides:,numberingSystem,open,openAlertCount,placement,queue,scale,topLayerDisabled;setFocus"],"calcite-autocomplete":[()=>import("./ZSUIE3CH.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("./WCFIIJVS.js"),"active,description,disabled,guid,heading,iconEnd,iconFlipRtl,iconStart,inputValueMatchPattern,label,scale,selected,value;;requestSelection"],"calcite-autocomplete-item-group":[()=>import("./FZQCKMTU.js"),"disableSpacing,heading,items:,label,position,scale"],"calcite-avatar":[()=>import("./ESR6X7A7.js"),"fullName,label,scale,thumbnail,userId,username"],"calcite-block":[()=>import("./SC2HLLOI.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("./FZVPQVKC.js"),"canPull:,canPut:,disabled,dragEnabled,expandMode,group,label,loading,scale,sortDisabled;setFocus;emitOrderChangeEvent"],"calcite-block-section":[()=>import("./IEFYOPKS.js"),"expanded,iconEnd,iconFlipRtl,iconStart,messageOverrides:,open,scale,status,text,toggleDisplay;setFocus"],"calcite-button":[()=>import("./3IOZ4NEX.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("./X5QMVYFC.js"),"disabled,label,loading,messageOverrides:,scale,selectable,selected,selectionMode,thumbnailPosition;setFocus"],"calcite-card-group":[()=>import("./ODS4JQRJ.js"),"disabled,label,scale,selectedItems:,selectionMode;setFocus"],"calcite-carousel":[()=>import("./S67FGWW3.js"),"arrowType,autoplay,autoplayDuration,controlOverlay,disabled,label,messageOverrides:,paginationDisabled,paginationPosition,paused,selectedItem:;play,setFocus,stop"],"calcite-carousel-item":[()=>import("./ECCF2CTZ.js"),"label,selected"],"calcite-checkbox":[()=>import("./LQQCLN5H.js"),"checked,disabled,form,hovered,indeterminate,label,labelText,messageOverrides:,name,required,scale,status,validity:,value;setFocus",1],"calcite-chip":[()=>import("./EYONO4L4.js"),"appearance,closable,closed,closeOnDelete,disabled,icon,iconFlipRtl,interactive,kind,label,messageOverrides:,parentChipGroup:,scale,selected,selectionMode,value;setFocus"],"calcite-chip-group":[()=>import("./AWI33HUK.js"),"disabled,label,scale,selectedItems:,selectionMode;setFocus"],"calcite-color-picker":[()=>import("./SRDT5O2G.js"),"alphaChannel,channelsDisabled,clearable,color:,disabled,fieldDisabled,format,hexDisabled,messageOverrides:,numberingSystem,savedDisabled,scale,storageId,value;setFocus"],"calcite-color-picker-hex-input":[()=>import("./RDNOYSU5.js"),"allowEmpty,alphaChannel,hexLabel,messages:,numberingSystem,scale,value;setFocus"],"calcite-combobox":[()=>import("./WACBLTPH.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("./GZJDW7TE.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("./ZKTHGICN.js"),"afterEmptyGroup,ancestors:,itemHidden,label,position,scale"],"calcite-date-picker":[()=>import("./6M564ADZ.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("./MAHQYZPI.js"),"active,currentMonth,dateTimeFormat:,day,disabled,endOfRange,highlighted,range,rangeHover,scale,selected,startOfRange,value:;setFocus"],"calcite-date-picker-month":[()=>import("./IJLDLXA4.js"),"activeDate:,calendars,dateTimeFormat:,endDate:,headingLevel,hoverRange:,layout,localeData:,max:,messages:,min:,monthStyle,range,scale,selectedDate:,startDate:"],"calcite-date-picker-month-header":[()=>import("./HCQZJGCX.js"),"activeDate:,headingLevel,localeData:,max:,messages:,min:,monthStyle,position,scale,selectedDate:"],"calcite-dialog":[()=>import("./GUITTXZL.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("./IT55FXFB.js"),"closeOnSelectDisabled,disabled,flipPlacements:,maxItems,offsetDistance,offsetSkidding,open,overlayPositioning,placement,referenceElement,scale,selectedItems:,topLayerDisabled,type,width,widthScale;reposition,setFocus"],"calcite-dropdown-group":[()=>import("./KP3PHVFJ.js"),"groupTitle,position,scale,selectionMode"],"calcite-dropdown-item":[()=>import("./2CWRWNX3.js"),"disabled,href,iconEnd,iconFlipRtl,iconStart,label,rel,scale,selected,selectionMode,target;activateItem,setFocus"],"calcite-fab":[()=>import("./UWZGRGQT.js"),"appearance,disabled,icon,iconFlipRtl,kind,label,loading,scale,text,textEnabled;setFocus"],"calcite-filter":[()=>import("./QJNJIE7L.js"),"disabled,filteredItems:,filterProps:,items:,label,messageOverrides:,placeholder,scale,value;filter,setFocus"],"calcite-flow":[()=>import("./36JEMJ4C.js"),"customItemSelectors;back,setFocus"],"calcite-flow-item":[()=>import("./IJAVR6AX.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("./B7P6V6MC.js"),"colorStops:,data:,highlightMax,highlightMin,max,min"],"calcite-icon":[()=>import("./AAM4AVON.js"),"flipRtl,icon,preload,scale,textLabel"],"calcite-inline-editable":[()=>import("./B2HQ6AGI.js"),"afterConfirm:,controls,disabled,editingEnabled,loading,messageOverrides:,scale;setFocus"],"calcite-input":[()=>import("./IU5OBAG7.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("./5UC45SSV.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("./FLZQQ7CL.js"),"icon,iconFlipRtl,scale,status"],"calcite-input-number":[()=>import("./AOKBE6J7.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("./QDIQP3YD.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("./2EHFTETB.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("./4SZCEARC.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("./VZN2JLNB.js"),"alignment,for,layout,scale"],"calcite-link":[()=>import("./2VSLGFG4.js"),"disabled,download,href,iconEnd,iconFlipRtl,iconStart,label,rel,target;setFocus"],"calcite-list":[()=>import("./RYWRGI24.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("./JGGSIZC2.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("./TPWMLUEY.js"),"disabled,filterHidden,heading,scale"],"calcite-loader":[()=>import("./PRWBFUC6.js"),"complete,inline,label,messages:,scale,text,type,value"],"calcite-menu":[()=>import("./722IELFF.js"),"label,layout,messageOverrides:,scale;setFocus"],"calcite-menu-item":[()=>import("./CAIDEHA5.js"),"active,breadcrumb,href,iconEnd,iconFlipRtl,iconStart,isTopLevelItem,label,layout,messageOverrides:,open,rel,scale,target,text,topLevelMenuLayout;setFocus"],"calcite-meter":[()=>import("./GPTTZ5FT.js"),"appearance,disabled,fillType,form,groupSeparator,high,label,low,max,messages:,min,name,numberingSystem,rangeLabels,rangeLabelType,scale,unitLabel,value,valueLabel,valueLabelType"],"calcite-navigation":[()=>import("./JNNLYUU7.js"),"label,navigationAction,scale;setFocus"],"calcite-navigation-logo":[()=>import("./R6EATP4V.js"),"active,description,heading,headingLevel,href,icon,iconFlipRtl,label,rel,scale,target,thumbnail;setFocus"],"calcite-navigation-user":[()=>import("./DJLHTYEJ.js"),"active,fullName,label,scale,textDisabled,thumbnail,userId,username;setFocus"],"calcite-notice":[()=>import("./ZFIHPRH2.js"),"appearance,closable,icon,iconFlipRtl,kind,messageOverrides:,open,scale,width;setFocus"],"calcite-option":[()=>import("./6GTCMZBM.js"),"disabled,label,selected,value"],"calcite-option-group":[()=>import("./45PCM4GY.js"),"disabled,label"],"calcite-pagination":[()=>import("./QHPTLFEW.js"),"groupSeparator,messageOverrides:,numberingSystem,pageSize,scale,startItem,totalItems;goTo,nextPage,previousPage,setFocus"],"calcite-panel":[()=>import("./NB3J3QYJ.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("./Y3EI5BA6.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("./W455NS4Q.js"),"label,reversed,text,type,value"],"calcite-radio-button":[()=>import("./E26ZRCPF.js"),"checked,disabled,focused,form,hovered,label,labelText,name,required,scale,status,validationMessage,validity:,value;emitCheckedChange,setFocus,setValidity",1],"calcite-radio-button-group":[()=>import("./WJFEV27K.js"),"disabled,labelText,layout,messageOverrides:,name,required,scale,selectedItem:,status,validationIcon,validationMessage;setFocus"],"calcite-rating":[()=>import("./SM557ZZ7.js"),"average,count,disabled,form,labelText,messageOverrides:,name,readOnly,required,scale,showChip,status,validationIcon,validationMessage,validity:,value;setFocus",1],"calcite-scrim":[()=>import("./ZG35TWOS.js"),"loading,messageOverrides:"],"calcite-segmented-control":[()=>import("./E57LYWC5.js"),"appearance,disabled,form,labelText,layout,messageOverrides:,name,required,scale,selectedItem:,status,validationIcon,validationMessage,validity:,value,width;setFocus",1],"calcite-segmented-control-item":[()=>import("./RVXPSD6Y.js"),"appearance,checked,iconEnd,iconFlipRtl,iconStart,layout,scale,value"],"calcite-select":[()=>import("./UDSLGUXK.js"),"disabled,form,label,labelText,messageOverrides:,name,required,scale,selectedOption:,status,validationIcon,validationMessage,validity:,value,width;setFocus",1],"calcite-sheet":[()=>import("./KNTOR64F.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("./HUTPJHUR.js"),"contentBehind"],"calcite-shell-panel":[()=>import("./3CG6UUU6.js"),"collapsed,displayMode,height,heightScale,layout,messageOverrides:,position,resizable,shellSizingDataProvider:,width,widthScale;updateSize"],"calcite-slider":[()=>import("./7WJIFTCU.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("./PBHT6ILA.js"),"addToItems:,disabled,flipPlacements:,label,messageOverrides:,messages:,moveToItems:,open,overlayPositioning,placement,scale,setPosition,setSize,sortDisabled,topLayerDisabled,widthScale;setFocus"],"calcite-split-button":[()=>import("./ELQEEWYL.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("./KIR2H2WF.js"),"disabled"],"calcite-stepper":[()=>import("./J6NVKVUR.js"),"icon,layout,messageOverrides:,numbered,numberingSystem,scale,selectedItem:;endStep,goToStep,nextStep,prevStep,startStep"],"calcite-stepper-item":[()=>import("./LGDCXJIH.js"),"complete,description,disabled,error,heading,icon,iconFlipRtl,itemHidden,layout,messageOverrides:,numbered,numberingSystem,scale,selected;setFocus"],"calcite-swatch":[()=>import("./X7KT67IZ.js"),"color,disabled,interactive,label,parentSwatchGroup:,scale,selected,selectionMode,value;setFocus"],"calcite-swatch-group":[()=>import("./Q2JX3IAD.js"),"disabled,label,scale,selectedItems:,selectionMode;setFocus"],"calcite-switch":[()=>import("./TN5EWDLR.js"),"checked,disabled,form,label,labelTextEnd,labelTextStart,name,required,scale,validity:,value;setFocus",1],"calcite-tab":[()=>import("./B7PGJO5G.js"),"scale,selected,tab;getTabIndex;_updateAriaInfo"],"calcite-tab-nav":[()=>import("./VQF5SUIN.js"),"bordered,lastTabClosable,layout,messageOverrides:,position,scale,selectedTitle:,storageId,syncId"],"calcite-tab-title":[()=>import("./ZKSLB64S.js"),"beforeClose:,bordered,closable,closed,disabled,iconEnd,iconFlipRtl,iconStart,layout,messageOverrides:,position,scale,selected,tab;activateTab,getTabIdentifier,getTabIndex;_updateAriaInfo"],"calcite-table":[()=>import("./MMF742XB.js"),"bordered,caption,currentPage,groupSeparator,interactionMode,layout,messageOverrides:,numbered,numberingSystem,pageSize,scale,selectedItems:,selectionDisplay,selectionMode,stickyHeader,striped"],"calcite-table-cell":[()=>import("./YAXXQQ3R.js"),"alignment,colSpan,disabled,interactionMode,lastCell,messageOverrides:,numberCell,parentRowAlignment,parentRowIsSelected,parentRowPositionLocalized,parentRowType,positionInRow,reachesBodyEnd,readCellContentsToAT,rowSpan,scale,selectionCell;setFocus"],"calcite-table-header":[()=>import("./CFVYBPKF.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("./WUBEQCPN.js"),"alignment,bodyRowCount,cellCount,disabled,interactionMode,itemHidden,lastVisibleRow,numbered,positionAll,positionSection,positionSectionLocalized,readCellContentsToAT,rowType,scale,selected,selectedRowCount,selectedRowCountLocalized,selectionMode,stickyHeaderEnabled"],"calcite-tabs":[()=>import("./W2I5OPYF.js"),"bordered,lastTabClosable,layout,position,scale"],"calcite-text":[()=>import("./XAYJREXM.js"),"maxLines,truncatePosition"],"calcite-text-area":[()=>import("./BDWKQYK2.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("./LBJLGDS6.js"),"active,alignment,description,disabled,embed,heading,headingLevel,href,icon,iconFlipRtl,interactive,label,layout,scale,selected,selectionAppearance,selectionMode;setFocus"],"calcite-tile-group":[()=>import("./V2S4NOCD.js"),"alignment,disabled,label,layout,scale,selectedItems:,selectionAppearance,selectionMode"],"calcite-time-picker":[()=>import("./PIHISGQ4.js"),"hourFormat,messageOverrides:,numberingSystem,scale,step,time:,value;setFocus"],"calcite-tooltip":[()=>import("./N6VTGGFA.js"),"closeOnClick,label,offsetDistance,offsetSkidding,open,overlayPositioning,placement,pointerDisabled,referenceElement,scale,topLayerDisabled;reposition"],"calcite-tree":[()=>import("./JUOFZRUA.js"),"child,lines,parentExpanded,scale,selectedItems:,selectionMode"],"calcite-tree-item":[()=>import("./JPALKDLB.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"./E4GZAXJH.js";var i=e(t,{"calcite-accordion":[()=>import("./MO64TA77.js"),"appearance,iconPosition,iconType,scale,selectionMode"],"calcite-accordion-item":[()=>import("./7TS7GCWB.js"),"appearance,description,expanded,heading,headingLevel,iconEnd,iconFlipRtl,iconPosition,iconStart,iconType,messageOverrides:,scale;setFocus"],"calcite-action":[()=>import("./M6KP3FHZ.js"),"active,alignment,appearance,aria:,disabled,dragHandle,form,icon,iconFlipRtl,indicator,label,loading,messageOverrides:,overflowDisabled,scale,selectionAppearance,text,textEnabled,type,width;setFocus",1],"calcite-action-bar":[()=>import("./YUSU4EBS.js"),"actionsEndGroupLabel,actionsStartGroupLabel,expanded,expandPosition,expandToggleDisabled,floating,layout,messageOverrides:,overflowActionsDisabled,overflowMode,overlayPositioning,position,scale,selectionAppearance;overflowActions,setFocus"],"calcite-action-group":[()=>import("./N2RJZ5Y5.js"),"actionMenu:,actions:,columns,expanded,label,layout,menuFlipPlacements:,menuOpen,menuPlacement,messageOverrides:,overflowActionsDisabled,overlayPositioning,scale,selectedActions:,selectionMode,topLayerDisabled;setFocus"],"calcite-action-menu":[()=>import("./KDYAEA4Z.js"),"actions:,appearance,expanded,flipPlacements:,label,open,overlayPositioning,placement,scale,topLayerDisabled;setFocus"],"calcite-alert":[()=>import("./4Y7A3UFB.js"),"active,autoClose,autoCloseDuration,embedded,icon,iconFlipRtl,kind,label,messageOverrides:,numberingSystem,open,openAlertCount,placement,queue,scale,topLayerDisabled;setFocus"],"calcite-autocomplete":[()=>import("./KNGFRNBZ.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("./QVVLZSSP.js"),"active,description,disabled,guid,heading,iconEnd,iconFlipRtl,iconStart,inputValueMatchPattern,label,scale,selected,value;;requestSelection"],"calcite-autocomplete-item-group":[()=>import("./2SAQVDK6.js"),"disableSpacing,heading,items:,label,position,scale"],"calcite-avatar":[()=>import("./MLJKWSY7.js"),"fullName,label,scale,thumbnail,userId,username"],"calcite-block":[()=>import("./DFI5QYMB.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("./CKCH7TWX.js"),"canPull:,canPut:,disabled,dragEnabled,expandMode,group,label,loading,scale,sortDisabled;setFocus;emitOrderChangeEvent"],"calcite-block-section":[()=>import("./3HLN5YDB.js"),"expanded,iconEnd,iconFlipRtl,iconStart,messageOverrides:,open,scale,status,text,toggleDisplay;setFocus"],"calcite-button":[()=>import("./2NVP6HW7.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("./VEWZWHDK.js"),"disabled,label,loading,messageOverrides:,scale,selectable,selected,selectionMode,thumbnailPosition;setFocus"],"calcite-card-group":[()=>import("./ODCCWLHO.js"),"disabled,label,scale,selectedItems:,selectionMode;setFocus"],"calcite-carousel":[()=>import("./57Q6EBY2.js"),"arrowType,autoplay,autoplayDuration,controlOverlay,disabled,label,messageOverrides:,paginationDisabled,paginationPosition,paused,selectedItem:;play,setFocus,stop"],"calcite-carousel-item":[()=>import("./54O57WQV.js"),"label,selected"],"calcite-checkbox":[()=>import("./VQI3TQZQ.js"),"checked,disabled,form,hovered,indeterminate,label,labelText,messageOverrides:,name,required,scale,status,validity:,value;setFocus",1],"calcite-chip":[()=>import("./QV6GOHCV.js"),"appearance,closable,closed,closeOnDelete,disabled,icon,iconFlipRtl,interactive,kind,label,messageOverrides:,parentChipGroup:,scale,selected,selectionMode,value;setFocus"],"calcite-chip-group":[()=>import("./3E7SA7JK.js"),"disabled,label,scale,selectedItems:,selectionMode;setFocus"],"calcite-color-picker":[()=>import("./B5K4B2QD.js"),"alphaChannel,channelsDisabled,clearable,color:,disabled,fieldDisabled,format,hexDisabled,messageOverrides:,numberingSystem,savedDisabled,scale,storageId,value;setFocus"],"calcite-color-picker-hex-input":[()=>import("./YYSUCY5P.js"),"allowEmpty,alphaChannel,hexLabel,messages:,numberingSystem,scale,value;setFocus"],"calcite-combobox":[()=>import("./B53L3WV4.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("./UFC7THL7.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("./7PWVZVGL.js"),"afterEmptyGroup,ancestors:,itemHidden,label,position,scale"],"calcite-date-picker":[()=>import("./CDCG7OXE.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("./AQROGW2K.js"),"active,currentMonth,dateTimeFormat:,day,disabled,endOfRange,highlighted,range,rangeHover,scale,selected,startOfRange,value:;setFocus"],"calcite-date-picker-month":[()=>import("./NAZZ36GI.js"),"activeDate:,calendars,dateTimeFormat:,endDate:,headingLevel,hoverRange:,layout,localeData:,max:,messages:,min:,monthStyle,range,scale,selectedDate:,startDate:"],"calcite-date-picker-month-header":[()=>import("./H7W2VIUC.js"),"activeDate:,headingLevel,localeData:,max:,messages:,min:,monthStyle,position,scale,selectedDate:"],"calcite-dialog":[()=>import("./T4O5U2M2.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("./AGOHJA6M.js"),"closeOnSelectDisabled,disabled,flipPlacements:,maxItems,offsetDistance,offsetSkidding,open,overlayPositioning,placement,referenceElement,scale,selectedItems:,topLayerDisabled,type,width,widthScale;reposition,setFocus"],"calcite-dropdown-group":[()=>import("./CTBLHDKO.js"),"groupTitle,position,scale,selectionMode"],"calcite-dropdown-item":[()=>import("./N3VFPAWV.js"),"disabled,href,iconEnd,iconFlipRtl,iconStart,label,rel,scale,selected,selectionMode,target;activateItem,setFocus"],"calcite-fab":[()=>import("./2HHATYJR.js"),"appearance,disabled,icon,iconFlipRtl,kind,label,loading,scale,text,textEnabled;setFocus"],"calcite-filter":[()=>import("./YE24NTR7.js"),"disabled,filteredItems:,filterProps:,items:,label,messageOverrides:,placeholder,scale,value;filter,setFocus"],"calcite-flow":[()=>import("./EDXPXNKO.js"),"customItemSelectors;back,setFocus"],"calcite-flow-item":[()=>import("./WUDAEBFN.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("./HMH2MKYA.js"),"colorStops:,data:,highlightMax,highlightMin,max,min"],"calcite-icon":[()=>import("./EUQMVFBJ.js"),"flipRtl,icon,preload,scale,textLabel"],"calcite-inline-editable":[()=>import("./524WBBTB.js"),"afterConfirm:,controls,disabled,editingEnabled,loading,messageOverrides:,scale;setFocus"],"calcite-input":[()=>import("./G3PFNMA4.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("./K6K5YII7.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("./QLFVND6A.js"),"icon,iconFlipRtl,scale,status"],"calcite-input-number":[()=>import("./GP34CHYQ.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("./7F2QIPTY.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("./QPJKCWHN.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("./JDMUVSFJ.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("./DJWPH4BH.js"),"alignment,for,layout,scale"],"calcite-link":[()=>import("./LFCH7RWW.js"),"disabled,download,href,iconEnd,iconFlipRtl,iconStart,label,rel,target;setFocus"],"calcite-list":[()=>import("./O7D7G6EN.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("./W4P4NJPK.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("./TO7FSXTE.js"),"disabled,filterHidden,heading,scale"],"calcite-loader":[()=>import("./DPVRDJJ2.js"),"complete,inline,label,messages:,scale,text,type,value"],"calcite-menu":[()=>import("./WAORKQF4.js"),"label,layout,messageOverrides:,scale;setFocus"],"calcite-menu-item":[()=>import("./Q5WSLHDY.js"),"active,breadcrumb,href,iconEnd,iconFlipRtl,iconStart,isTopLevelItem,label,layout,messageOverrides:,open,rel,scale,target,text,topLevelMenuLayout;setFocus"],"calcite-meter":[()=>import("./NXXWJSTA.js"),"appearance,disabled,fillType,form,groupSeparator,high,label,low,max,messages:,min,name,numberingSystem,rangeLabels,rangeLabelType,scale,unitLabel,value,valueLabel,valueLabelType"],"calcite-navigation":[()=>import("./4FD5JJQH.js"),"label,navigationAction,scale;setFocus"],"calcite-navigation-logo":[()=>import("./4DRQQQ4F.js"),"active,description,heading,headingLevel,href,icon,iconFlipRtl,label,rel,scale,target,thumbnail;setFocus"],"calcite-navigation-user":[()=>import("./HYCXQXFM.js"),"active,fullName,label,scale,textDisabled,thumbnail,userId,username;setFocus"],"calcite-notice":[()=>import("./IJVTRSXL.js"),"appearance,closable,icon,iconFlipRtl,kind,messageOverrides:,open,scale,width;setFocus"],"calcite-option":[()=>import("./QVFPMVEH.js"),"disabled,label,selected,value"],"calcite-option-group":[()=>import("./QKTLZQUN.js"),"disabled,label"],"calcite-pagination":[()=>import("./OX7V2M4A.js"),"groupSeparator,messageOverrides:,numberingSystem,pageSize,scale,startItem,totalItems;goTo,nextPage,previousPage,setFocus"],"calcite-panel":[()=>import("./2S3WKYGY.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("./V32PCMHG.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("./7WMZPIRC.js"),"label,reversed,text,type,value"],"calcite-radio-button":[()=>import("./ZBRSK3VD.js"),"checked,disabled,focused,form,hovered,label,labelText,name,required,scale,status,validationMessage,validity:,value;emitCheckedChange,setFocus,setValidity",1],"calcite-radio-button-group":[()=>import("./7USZJATR.js"),"disabled,labelText,layout,messageOverrides:,name,required,scale,selectedItem:,status,validationIcon,validationMessage;setFocus"],"calcite-rating":[()=>import("./OYPBMICI.js"),"average,count,disabled,form,labelText,messageOverrides:,name,readOnly,required,scale,showChip,status,validationIcon,validationMessage,validity:,value;setFocus",1],"calcite-scrim":[()=>import("./SXLMXADA.js"),"loading,messageOverrides:"],"calcite-segmented-control":[()=>import("./K47G242V.js"),"appearance,disabled,form,labelText,layout,messageOverrides:,name,required,scale,selectedItem:,status,validationIcon,validationMessage,validity:,value,width;setFocus",1],"calcite-segmented-control-item":[()=>import("./Q7DS5DWT.js"),"appearance,checked,iconEnd,iconFlipRtl,iconStart,layout,scale,value"],"calcite-select":[()=>import("./HKLCZISC.js"),"disabled,form,label,labelText,messageOverrides:,name,required,scale,selectedOption:,status,validationIcon,validationMessage,validity:,value,width;setFocus",1],"calcite-sheet":[()=>import("./WTPN2BAF.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("./5VVULODW.js"),"contentBehind"],"calcite-shell-panel":[()=>import("./W62GA6NU.js"),"collapsed,displayMode,height,heightScale,layout,messageOverrides:,position,resizable,shellSizingDataProvider:,width,widthScale;updateSize"],"calcite-slider":[()=>import("./QBRBNIXR.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("./R32WAJSG.js"),"addToItems:,disabled,flipPlacements:,label,messageOverrides:,messages:,moveToItems:,open,overlayPositioning,placement,scale,setPosition,setSize,sortDisabled,topLayerDisabled,widthScale;setFocus"],"calcite-split-button":[()=>import("./NHG33M47.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("./IUS6A7OU.js"),"disabled"],"calcite-stepper":[()=>import("./OYWYTVOL.js"),"icon,layout,messageOverrides:,numbered,numberingSystem,scale,selectedItem:;endStep,goToStep,nextStep,prevStep,startStep"],"calcite-stepper-item":[()=>import("./X6J3NQE6.js"),"complete,description,disabled,error,heading,icon,iconFlipRtl,itemHidden,layout,messageOverrides:,numbered,numberingSystem,scale,selected;setFocus"],"calcite-swatch":[()=>import("./KPC3MYFR.js"),"color,disabled,interactive,label,parentSwatchGroup:,scale,selected,selectionMode,value;setFocus"],"calcite-swatch-group":[()=>import("./GTDETCHZ.js"),"disabled,label,scale,selectedItems:,selectionMode;setFocus"],"calcite-switch":[()=>import("./EM4CCBMC.js"),"checked,disabled,form,label,labelTextEnd,labelTextStart,name,required,scale,validity:,value;setFocus",1],"calcite-tab":[()=>import("./WZLOFBQS.js"),"scale,selected,tab;getTabIndex;_updateAriaInfo"],"calcite-tab-nav":[()=>import("./RQZW427W.js"),"bordered,lastTabClosable,layout,messageOverrides:,position,scale,selectedTitle:,storageId,syncId"],"calcite-tab-title":[()=>import("./7CFSRB5X.js"),"beforeClose:,bordered,closable,closed,disabled,iconEnd,iconFlipRtl,iconStart,layout,messageOverrides:,position,scale,selected,tab;activateTab,getTabIdentifier,getTabIndex;_updateAriaInfo"],"calcite-table":[()=>import("./URTZ72R2.js"),"bordered,caption,currentPage,groupSeparator,interactionMode,layout,messageOverrides:,numbered,numberingSystem,pageSize,scale,selectedItems:,selectionDisplay,selectionMode,stickyHeader,striped"],"calcite-table-cell":[()=>import("./TZ4SFAU3.js"),"alignment,colSpan,disabled,interactionMode,lastCell,messageOverrides:,numberCell,parentRowAlignment,parentRowIsSelected,parentRowPositionLocalized,parentRowType,positionInRow,reachesBodyEnd,readCellContentsToAT,rowSpan,scale,selectionCell;setFocus"],"calcite-table-header":[()=>import("./GJNUGSFY.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("./64M6GGX4.js"),"alignment,bodyRowCount,cellCount,disabled,interactionMode,itemHidden,lastVisibleRow,numbered,positionAll,positionSection,positionSectionLocalized,readCellContentsToAT,rowType,scale,selected,selectedRowCount,selectedRowCountLocalized,selectionMode,stickyHeaderEnabled"],"calcite-tabs":[()=>import("./ASSN355L.js"),"bordered,lastTabClosable,layout,position,scale"],"calcite-text":[()=>import("./K7DQPJIP.js"),"maxLines,truncatePosition"],"calcite-text-area":[()=>import("./MJT3EHT7.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("./3PDPB7QZ.js"),"active,alignment,description,disabled,embed,heading,headingLevel,href,icon,iconFlipRtl,interactive,label,layout,scale,selected,selectionAppearance,selectionMode;setFocus"],"calcite-tile-group":[()=>import("./OU7MVR4B.js"),"alignment,disabled,label,layout,scale,selectedItems:,selectionAppearance,selectionMode"],"calcite-time-picker":[()=>import("./UO66ZNK4.js"),"hourFormat,messageOverrides:,numberingSystem,scale,step,time:,value;setFocus"],"calcite-tooltip":[()=>import("./NNT7XBCO.js"),"closeOnClick,label,offsetDistance,offsetSkidding,open,overlayPositioning,placement,pointerDisabled,referenceElement,scale,topLayerDisabled;reposition"],"calcite-tree":[()=>import("./A4SZIADG.js"),"child,lines,parentExpanded,scale,selectedItems:,selectionMode"],"calcite-tree-item":[()=>import("./SBOWGNMI.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];
@@ -84,6 +84,11 @@ function getLocalizedIntegerParts(formatter, integers, isNegative, includeDirect
84
84
  const parts = formatter.numberFormatter.formatToParts(
85
85
  includeDirectionalMarks && isNegative && integers === "0" ? -0 : BigInt(`${includeDirectionalMarks && isNegative ? "-" : ""}${integers}`)
86
86
  );
87
+ for (const part of parts) {
88
+ if (part.type === "group") {
89
+ part.value = formatter.group;
90
+ }
91
+ }
87
92
  if (isNegative && !includeDirectionalMarks) {
88
93
  parts.unshift({ type: "minusSign", value: formatter.minusSign });
89
94
  }
@@ -241,7 +246,7 @@ class NumberStringFormat {
241
246
  this.localize = (numberString, includeDirectionalMarks = false) => {
242
247
  return this._numberFormatOptions ? sanitizeExponentialNumberString(
243
248
  numberString,
244
- (nonExpoNumString) => isValidNumber(nonExpoNumString.trim()) ? new BigDecimal(nonExpoNumString.trim()).format(this, includeDirectionalMarks).replace(new RegExp(`[${this._actualGroup}]`, "g"), this._group) : nonExpoNumString
249
+ (nonExpoNumString) => isValidNumber(nonExpoNumString.trim()) ? new BigDecimal(nonExpoNumString.trim()).format(this, includeDirectionalMarks) : nonExpoNumString
245
250
  ) : numberString;
246
251
  };
247
252
  }
@@ -288,9 +293,10 @@ class NumberStringFormat {
288
293
  const parts = new Intl.NumberFormat(this._numberFormatOptions.locale, {
289
294
  numberingSystem: this._numberFormatOptions.numberingSystem
290
295
  }).formatToParts(-123456789e-1);
291
- this._actualGroup = parts.find((d) => d.type === "group").value;
292
- this._group = this._actualGroup.trim().length === 0 || this._actualGroup == " " ? " " : this._actualGroup;
293
- this._decimal = options.locale === "bs" || options.locale === "mk" ? "," : parts.find((d) => d.type === "decimal").value;
296
+ const actualGroup = parts.find((d) => d.type === "group").value;
297
+ const needsDecimalWorkaround = options.locale === "bs" || options.locale === "mk";
298
+ this._group = needsDecimalWorkaround && options.numberingSystem === "latn" ? "." : actualGroup.trim().length === 0 || actualGroup === " " ? " " : actualGroup;
299
+ this._decimal = needsDecimalWorkaround ? "," : parts.find((d) => d.type === "decimal").value;
294
300
  this._minusSign = parts.find((d) => d.type === "minusSign").value;
295
301
  this._getDigitIndex = (d) => `${index.get(d) ?? ""}`;
296
302
  }
@@ -298,16 +304,7 @@ class NumberStringFormat {
298
304
  return value.replace(bidirectionalMarks, "").replace(new RegExp(`[${this._minusSign}]`, "g"), "-").replace(new RegExp(`[${this._digits.join("")}]`, "g"), this._getDigitIndex);
299
305
  }
300
306
  #normalizeSeparators(value) {
301
- if (this._group !== this._decimal) {
302
- return value.replace(new RegExp(`[${this._group}]`, "g"), "").replace(new RegExp(`[${this._decimal}]`, "g"), ".");
303
- }
304
- const lastSeparatorIndex = value.lastIndexOf(this._decimal);
305
- if (lastSeparatorIndex === -1) {
306
- return value;
307
- }
308
- const wholePart = value.slice(0, lastSeparatorIndex).replace(new RegExp(`[${this._group}]`, "g"), "");
309
- const fractionalPart = value.slice(lastSeparatorIndex + 1);
310
- return `${wholePart}.${fractionalPart}`;
307
+ return value.replace(new RegExp(`[${this._group}]`, "g"), "").replace(new RegExp(`[${this._decimal}]`, "g"), ".");
311
308
  }
312
309
  }
313
310
  const numberStringFormatter = new NumberStringFormat();
@@ -102,9 +102,9 @@ function getConfig() {
102
102
  }
103
103
  return effectiveConfig;
104
104
  }
105
- const version = "6.0.0-next.36";
106
- const buildDate = "2026-11-19";
107
- const revision = "eefa9a59f";
105
+ const version = "6.0.0-next.37";
106
+ const buildDate = "2026-11-20";
107
+ const revision = "676b99027";
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.36/dist/cdn/", hydratedAttribute: "calcite-hydrated" });
130
+ const runtime = makeRuntime({ defaultAssetPath: "https://cdn.jsdelivr.net/npm/@esri/calcite-components@6.0.0-next.37/dist/cdn/", hydratedAttribute: "calcite-hydrated" });
131
131
  const originalSetAssetPath = runtime.setAssetPath;
132
132
  runtime.setAssetPath = (path) => {
133
133
  assetPathChanged = true;
@@ -77,10 +77,12 @@ export interface DeclareCssProperties {
77
77
  /**
78
78
  * @slot - A slot for adding content.
79
79
  * @slot [custom-content] - A slot for displaying custom content. Will prevent the rendering of any default component UI, except for `box-shadow` and `corner-radius`.
80
- * @slot [action-bar] - A slot for adding a `calcite-action-bar` to the component.
80
+ * @slot [action-bar] - DEPRECATED in v6.0.0, removal target v7.0.0 - Use the `content-top` slot with `--calcite-dialog-content-top-space` set to `0` instead. Set `layout` to `"horizontal"` on the slotted `calcite-action-bar`.
81
81
  * @slot [alerts] - A slot for adding `calcite-alert`s to the component.
82
82
  * @slot [content-bottom] - A slot for adding content below the unnamed (default) slot and - if populated - the `footer` slot.
83
- * @slot [content-top] - A slot for adding content above the unnamed (default) slot and - if populated - below the `action-bar` slot.
83
+ * @slot
84
+ * [content-top] - A slot for adding content above the unnamed (default) slot and - if populated - below the `action-bar` slot.
85
+ * A directly slotted `calcite-action-bar` has an `inline-size` of `100%`. Set its `layout` to `"horizontal"` and the component's `--calcite-dialog-content-top-space` to `0` to match the `action-bar` slot.
84
86
  * @slot [header-actions-start] - A slot for adding actions or content to the starting side of the component's header.
85
87
  * @slot [header-actions-end] - A slot for adding actions or content to the ending side of the component's header.
86
88
  * @slot [header-content] - A slot for adding custom content to the component's header.
@@ -77,9 +77,11 @@ export interface DeclareCssProperties {
77
77
 
78
78
  /**
79
79
  * @slot - A slot for adding custom content.
80
- * @slot [action-bar] - A slot for adding a `calcite-action-bar` to the component.
80
+ * @slot [action-bar] - DEPRECATED in v6.0.0, removal target v7.0.0 - Use the `content-top` slot with `--calcite-flow-content-top-space` set to `0` instead. Set `layout` to `"horizontal"` on the slotted `calcite-action-bar`.
81
81
  * @slot [alerts] - A slot for adding `calcite-alert`s to the component.
82
- * @slot [content-top] - A slot for adding content above the unnamed (default) slot and below the action-bar slot (if populated).
82
+ * @slot
83
+ * [content-top] - A slot for adding content above the unnamed (default) slot and below the `action-bar` slot (if populated).
84
+ * A directly slotted `calcite-action-bar` has an `inline-size` of `100%`. Set its `layout` to `"horizontal"` and the component's `--calcite-flow-content-top-space` to `0` to match the `action-bar` slot.
83
85
  * @slot [content-bottom] - A slot for adding content below the unnamed (default) slot and above the footer slot (if populated)
84
86
  * @slot [header-top] - A slot for adding custom content above the header actions and content.
85
87
  * @slot [header-actions-start] - A slot for adding `calcite-action`s or content to the start side of the component's header.
@@ -70,10 +70,12 @@ export interface DeclareCssProperties {
70
70
 
71
71
  /**
72
72
  * @slot - A slot for adding custom content.
73
- * @slot [action-bar] - A slot for adding a `calcite-action-bar` to the component.
73
+ * @slot [action-bar] - DEPRECATED in v6.0.0, removal target v7.0.0 - Use the `content-top` slot with `--calcite-panel-content-top-space` set to `0` instead. Set `layout` to `"horizontal"` on the slotted `calcite-action-bar`.
74
74
  * @slot [alerts] - A slot for adding `calcite-alert`s to the component.
75
75
  * @slot [content-bottom] - A slot for adding content below the unnamed (default) slot and above the footer slot (if populated).
76
- * @slot [content-top] - A slot for adding content above the unnamed (default) slot and below the action-bar slot (if populated).
76
+ * @slot
77
+ * [content-top] - A slot for adding content above the unnamed (default) slot and below the `action-bar` slot (if populated).
78
+ * A directly slotted `calcite-action-bar` has an `inline-size` of `100%`. Set its `layout` to `"horizontal"` and the component's `--calcite-panel-content-top-space` to `0` to match the `action-bar` slot.
77
79
  * @slot [header-top] - A slot for adding custom content above the header actions and content.
78
80
  * @slot [header-actions-start] - A slot for adding actions or content to the start side of the header.
79
81
  * @slot [header-actions-end] - A slot for adding actions or content to the end side of the header.