@esri/calcite-components 5.2.0-next.66 → 5.2.0-next.67

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 (210) hide show
  1. package/dist/cdn/{NQ2UNC27.js → 22LDUK4O.js} +1 -1
  2. package/dist/cdn/{Z3OKBA7K.js → 23OA75GR.js} +1 -1
  3. package/dist/cdn/{VOYQGXRR.js → 24LKTCES.js} +1 -1
  4. package/dist/cdn/{VRLYRYTO.js → 2A25MM6M.js} +1 -1
  5. package/dist/cdn/2CC34UKL.js +2 -0
  6. package/dist/cdn/{Z3VBHGHE.js → 2DXAX53K.js} +1 -1
  7. package/dist/cdn/{VIA6J3XE.js → 2GSRH5DM.js} +1 -1
  8. package/dist/cdn/{YDYZ3RKW.js → 2LTCN4AS.js} +1 -1
  9. package/dist/cdn/{GY2CYQI6.js → 2P4TML4G.js} +1 -1
  10. package/dist/cdn/{HPIZGCCW.js → 2UYETTP2.js} +1 -1
  11. package/dist/cdn/{HTESGM54.js → 3CWCK5PU.js} +1 -1
  12. package/dist/cdn/3MIARSOY.js +2 -0
  13. package/dist/cdn/{2VVL4TXM.js → 3RFXBFR6.js} +1 -1
  14. package/dist/cdn/{AKNVPJP5.js → 44356XFJ.js} +1 -1
  15. package/dist/cdn/{QSZ6MSOE.js → 44RHPQCA.js} +1 -1
  16. package/dist/cdn/{QVV2WPNX.js → 4EFSYE7P.js} +1 -1
  17. package/dist/cdn/{UFJG6NMJ.js → 4LG6IYYU.js} +1 -1
  18. package/dist/cdn/{DWYSF2HX.js → 4MC7DSYJ.js} +1 -1
  19. package/dist/cdn/{6IZVU4TS.js → 4TBDCNVB.js} +1 -1
  20. package/dist/cdn/{KR2UWOYO.js → 5FWKH67V.js} +1 -1
  21. package/dist/cdn/{GU6WGD2R.js → 65Y4LJIT.js} +1 -1
  22. package/dist/cdn/{S3GAV6IT.js → 6GXN5AYW.js} +1 -1
  23. package/dist/cdn/{4ZA7AVVV.js → 6LXRTZOO.js} +1 -1
  24. package/dist/cdn/{7CZAWSPN.js → 6NCMX7DB.js} +1 -1
  25. package/dist/cdn/{D2HMIETU.js → 6NFI5SYH.js} +1 -1
  26. package/dist/cdn/{E5ZJR273.js → 7EQBGM5Q.js} +1 -1
  27. package/dist/cdn/{LUYE5XKR.js → 7IO2UJZF.js} +1 -1
  28. package/dist/cdn/{ZKZJCFKM.js → 7ZMS5NQU.js} +1 -1
  29. package/dist/cdn/ABIRUUSH.js +2 -0
  30. package/dist/cdn/{INY2G6X6.js → ADILARBD.js} +1 -1
  31. package/dist/cdn/AJJSPLET.js +2 -0
  32. package/dist/cdn/{XAUVHNDA.js → AQXRYL3W.js} +1 -1
  33. package/dist/cdn/{UKS5NIPZ.js → AUT7UKFU.js} +1 -1
  34. package/dist/cdn/{TNS7HXP7.js → AXYEXUZB.js} +1 -1
  35. package/dist/cdn/{XZLDXTHK.js → AXYYKNW3.js} +1 -1
  36. package/dist/cdn/{3HAGJ23L.js → B4HDFIJJ.js} +1 -1
  37. package/dist/cdn/{G4S55KX5.js → BF765X5L.js} +1 -1
  38. package/dist/cdn/{7WAURHJU.js → BMPL7P6K.js} +1 -1
  39. package/dist/cdn/{I3ROWCUH.js → C4W46EYM.js} +1 -1
  40. package/dist/cdn/{PETPVR47.js → C6O67YVB.js} +1 -1
  41. package/dist/cdn/{FGHKM52J.js → CEHI75Q5.js} +1 -1
  42. package/dist/cdn/CTNH7GEV.js +2 -0
  43. package/dist/cdn/{XKIKN6ZZ.js → D63IPQBR.js} +1 -1
  44. package/dist/cdn/{UCHFNT6G.js → D674QPUM.js} +1 -1
  45. package/dist/cdn/{XQ3NFFAT.js → D6EESESK.js} +1 -1
  46. package/dist/cdn/{HD6KFRWO.js → D7WCRWSA.js} +1 -1
  47. package/dist/cdn/{F6RENHT5.js → DKTQYM66.js} +1 -1
  48. package/dist/cdn/{RIJQIWPS.js → DTZ2ONEH.js} +1 -1
  49. package/dist/cdn/{BY4ZVGX5.js → E6D5ST6T.js} +1 -1
  50. package/dist/cdn/{PHMYUCV4.js → EKPMAQZL.js} +1 -1
  51. package/dist/cdn/{QMB7DTDX.js → EY4TGNKH.js} +1 -1
  52. package/dist/cdn/{DMLTRFJF.js → EYG74BAU.js} +1 -1
  53. package/dist/cdn/{5MIMTX7C.js → F22WQNYM.js} +1 -1
  54. package/dist/cdn/F2VPBX6P.js +2 -0
  55. package/dist/cdn/{TNQFT7A4.js → FGIBA6EF.js} +1 -1
  56. package/dist/cdn/{CR4MU73D.js → FNMEFJMB.js} +1 -1
  57. package/dist/cdn/{63OSRUIO.js → FRLWYGCQ.js} +1 -1
  58. package/dist/cdn/{QTV63JPF.js → FSFQKKEY.js} +1 -1
  59. package/dist/cdn/{JNO6KD4V.js → G5B3JJHX.js} +1 -1
  60. package/dist/cdn/{7R2OHTUX.js → GA6KRSSM.js} +1 -1
  61. package/dist/cdn/{4O2IYMDZ.js → GEQIQTN5.js} +1 -1
  62. package/dist/cdn/{NQG4BB2P.js → GPFQA733.js} +1 -1
  63. package/dist/cdn/{GDCFFQ53.js → GPZNT46Y.js} +1 -1
  64. package/dist/cdn/{PDWWAB3O.js → H3IXDZI7.js} +1 -1
  65. package/dist/cdn/{66YYHVLE.js → HBK4F26V.js} +1 -1
  66. package/dist/cdn/{WWUVMFZI.js → HFRBMQLB.js} +1 -1
  67. package/dist/cdn/{JY6TT2QB.js → HGIRVP4H.js} +1 -1
  68. package/dist/cdn/{ZWCCUVYR.js → HJFIIT7D.js} +1 -1
  69. package/dist/cdn/{AMPDBO7O.js → HJOU6OFP.js} +1 -1
  70. package/dist/cdn/{ZZ7IVCCX.js → INXDPD5O.js} +1 -1
  71. package/dist/cdn/{JAFUSV6D.js → ISTAKCL2.js} +1 -1
  72. package/dist/cdn/{CDPGQU2Z.js → IV5JALI4.js} +1 -1
  73. package/dist/cdn/{MR53EU6T.js → J4JKD33K.js} +1 -1
  74. package/dist/cdn/{ON3WDKBS.js → J72U6HVJ.js} +1 -1
  75. package/dist/cdn/{U5HO3HFE.js → J7WXH7AJ.js} +1 -1
  76. package/dist/cdn/{6Y2IG3NI.js → JHSEIK5X.js} +1 -1
  77. package/dist/cdn/{JJG2JBPE.js → K25XXWWF.js} +1 -1
  78. package/dist/cdn/{JO5DQIH3.js → K6GLNJ32.js} +1 -1
  79. package/dist/cdn/{WUAMMMHP.js → K7FF7AGO.js} +1 -1
  80. package/dist/cdn/{YDMMUJRI.js → KG7XN2UZ.js} +1 -1
  81. package/dist/cdn/{W72MKNDC.js → KIDNC2DH.js} +1 -1
  82. package/dist/cdn/{6HZQUGCI.js → KMNQJ5WW.js} +1 -1
  83. package/dist/cdn/{OOVH4ZPV.js → KOAPZD6M.js} +1 -1
  84. package/dist/cdn/{32Q6FDMA.js → KQG4WUKB.js} +1 -1
  85. package/dist/cdn/{5VUXKB4L.js → KTY65CUE.js} +1 -1
  86. package/dist/cdn/{3POIZWGT.js → KZ4HDSQJ.js} +1 -1
  87. package/dist/cdn/{YBY6CWZ2.js → L7IR4UEX.js} +1 -1
  88. package/dist/cdn/{MQZ2PM2C.js → LUQ2QMMG.js} +1 -1
  89. package/dist/cdn/{BZVSGRJO.js → M5M2YH7K.js} +1 -1
  90. package/dist/cdn/M6Y3HVY7.js +2 -0
  91. package/dist/cdn/{TNNCPRM2.js → M7XWBRKW.js} +1 -1
  92. package/dist/cdn/{UVFMFP7C.js → MATNSAWZ.js} +1 -1
  93. package/dist/cdn/{VO4AAUFX.js → MHEKMC66.js} +1 -1
  94. package/dist/cdn/{MK6IYIPB.js → MHMNUQK3.js} +1 -1
  95. package/dist/cdn/{MPGPUF5W.js → MHU2W6BJ.js} +1 -1
  96. package/dist/cdn/{HCOFTOGW.js → MKQO7B5R.js} +1 -1
  97. package/dist/cdn/{E65DBDRP.js → MQKSRI7E.js} +1 -1
  98. package/dist/cdn/{KMR2344E.js → MQWL7QVM.js} +1 -1
  99. package/dist/cdn/{E4AYJ7XB.js → MRLAAOTJ.js} +1 -1
  100. package/dist/cdn/{FRKWX3IA.js → NHG7AY6Z.js} +1 -1
  101. package/dist/cdn/{ZYWFPCA4.js → NYGX7JFT.js} +1 -1
  102. package/dist/cdn/{D3JB5ZKH.js → NYNZHDCM.js} +1 -1
  103. package/dist/cdn/{JTUMCWAV.js → OK5Y4G3U.js} +1 -1
  104. package/dist/cdn/{Q52T2KQK.js → OOOKUGWE.js} +1 -1
  105. package/dist/cdn/{JP7NIXEK.js → OUFTD2XH.js} +1 -1
  106. package/dist/cdn/{V2WRQ7I7.js → P3OXFFNK.js} +1 -1
  107. package/dist/cdn/{5QHAM5VD.js → PEKWSZIB.js} +1 -1
  108. package/dist/cdn/{ZJQEDR4H.js → Q5FATF7P.js} +1 -1
  109. package/dist/cdn/{IDY2PICV.js → Q5Y5R727.js} +1 -1
  110. package/dist/cdn/{VY5SKCYT.js → QBVBKUXP.js} +1 -1
  111. package/dist/cdn/{BUYQKHFH.js → QRL26KH2.js} +1 -1
  112. package/dist/cdn/{X55IVJUV.js → QSJYIRTY.js} +1 -1
  113. package/dist/cdn/{V6RYR4C4.js → R43NUVTL.js} +1 -1
  114. package/dist/cdn/{3HB55P26.js → RQIUYKPU.js} +1 -1
  115. package/dist/cdn/{DOJHZPXV.js → RVVDJUQW.js} +1 -1
  116. package/dist/cdn/{QLDZJ743.js → S3LNTOXZ.js} +1 -1
  117. package/dist/cdn/{WLJKHWJN.js → S7XJD4Z7.js} +1 -1
  118. package/dist/cdn/{USS3ZBUQ.js → SBHWOCSV.js} +1 -1
  119. package/dist/cdn/{HVL4J27L.js → SVWR4VY2.js} +1 -1
  120. package/dist/cdn/{ZWT2RKT4.js → SWQC2R65.js} +1 -1
  121. package/dist/cdn/{LHAMW73W.js → T4YJNHS6.js} +1 -1
  122. package/dist/cdn/{QZVOJPHR.js → TCOCCX5S.js} +1 -1
  123. package/dist/cdn/{KHPY4I4U.js → TFEFPMH4.js} +1 -1
  124. package/dist/cdn/TTYAA7KM.js +2 -0
  125. package/dist/cdn/{IIL3YGHZ.js → UCNJ3HTL.js} +1 -1
  126. package/dist/cdn/{AEXTS4GI.js → ULSY5MBF.js} +1 -1
  127. package/dist/cdn/VKC5ZSJ3.js +2 -0
  128. package/dist/cdn/{A3IDZ4HP.js → VKOYN66F.js} +1 -1
  129. package/dist/cdn/{57E2LMC2.js → VTN623AZ.js} +1 -1
  130. package/dist/cdn/{WQSPSYCB.js → VZ32CDBE.js} +1 -1
  131. package/dist/cdn/{JLMQXO4G.js → WJP63KGJ.js} +1 -1
  132. package/dist/cdn/{HF57X6NI.js → WJVIFBLZ.js} +1 -1
  133. package/dist/cdn/{CIPMZLSD.js → WKOHQVBM.js} +1 -1
  134. package/dist/cdn/{BKQBLUE7.js → X5JUCLT4.js} +1 -1
  135. package/dist/cdn/{OHVQ3GZQ.js → XF3SSJQS.js} +1 -1
  136. package/dist/cdn/{5OYEWLEF.js → XJGCO3IP.js} +1 -1
  137. package/dist/cdn/{WWBDVDAS.js → XUIQIYQE.js} +1 -1
  138. package/dist/cdn/{6G7HK3DF.js → XW7EUSA6.js} +1 -1
  139. package/dist/cdn/{IJG4KS5P.js → Y4JUJVYQ.js} +1 -1
  140. package/dist/cdn/{56Z5KUY7.js → YL2SB2SE.js} +1 -1
  141. package/dist/cdn/{YZML4DG4.js → YV3LRITX.js} +1 -1
  142. package/dist/cdn/{RLWBL52I.js → Z7SIGLTH.js} +1 -1
  143. package/dist/cdn/{36PQFONO.js → Z7ZXU3WD.js} +1 -1
  144. package/dist/cdn/{GWWCCH7I.js → ZID5WLN3.js} +1 -1
  145. package/dist/cdn/assets/icon/columnGroup16.json +1 -0
  146. package/dist/cdn/assets/icon/columnGroup24.json +1 -0
  147. package/dist/cdn/assets/icon/columnGroup32.json +1 -0
  148. package/dist/cdn/assets/icon/columnRemove16.json +1 -0
  149. package/dist/cdn/assets/icon/columnRemove24.json +1 -0
  150. package/dist/cdn/assets/icon/columnRemove32.json +1 -0
  151. package/dist/cdn/assets/icon/columnUngroup16.json +1 -0
  152. package/dist/cdn/assets/icon/columnUngroup24.json +1 -0
  153. package/dist/cdn/assets/icon/columnUngroup32.json +1 -0
  154. package/dist/cdn/assets/icon/envelopeOpen16.json +1 -0
  155. package/dist/cdn/assets/icon/envelopeOpen24.json +1 -0
  156. package/dist/cdn/assets/icon/envelopeOpen32.json +1 -0
  157. package/dist/cdn/assets/icon/handDraw16.json +1 -0
  158. package/dist/cdn/assets/icon/handDraw24.json +1 -0
  159. package/dist/cdn/assets/icon/handDraw32.json +1 -0
  160. package/dist/cdn/assets/icon/monitorShare16.json +1 -0
  161. package/dist/cdn/assets/icon/monitorShare24.json +1 -0
  162. package/dist/cdn/assets/icon/monitorShare32.json +1 -0
  163. package/dist/cdn/assets/icon/pi16.json +1 -0
  164. package/dist/cdn/assets/icon/pi24.json +1 -0
  165. package/dist/cdn/assets/icon/pi32.json +1 -0
  166. package/dist/cdn/assets/icon/rowGroup16.json +1 -0
  167. package/dist/cdn/assets/icon/rowGroup24.json +1 -0
  168. package/dist/cdn/assets/icon/rowGroup32.json +1 -0
  169. package/dist/cdn/assets/icon/rowRemove16.json +1 -0
  170. package/dist/cdn/assets/icon/rowRemove24.json +1 -0
  171. package/dist/cdn/assets/icon/rowRemove32.json +1 -0
  172. package/dist/cdn/assets/icon/rowUngroup16.json +1 -0
  173. package/dist/cdn/assets/icon/rowUngroup24.json +1 -0
  174. package/dist/cdn/assets/icon/rowUngroup32.json +1 -0
  175. package/dist/cdn/assets/icon/sdCard16.json +1 -0
  176. package/dist/cdn/assets/icon/sdCard24.json +1 -0
  177. package/dist/cdn/assets/icon/sdCard32.json +1 -0
  178. package/dist/cdn/assets/icon/swatchPalette16.json +1 -0
  179. package/dist/cdn/assets/icon/swatchPalette24.json +1 -0
  180. package/dist/cdn/assets/icon/swatchPalette32.json +1 -0
  181. package/dist/cdn/assets/icon/thermometer16.json +1 -0
  182. package/dist/cdn/assets/icon/thermometer24.json +1 -0
  183. package/dist/cdn/assets/icon/thermometer32.json +1 -0
  184. package/dist/cdn/assets/icon/webCamera16.json +1 -0
  185. package/dist/cdn/assets/icon/webCamera24.json +1 -0
  186. package/dist/cdn/assets/icon/webCamera32.json +1 -0
  187. package/dist/cdn/index.js +1 -1
  188. package/dist/chunks/openCloseComponent.js +5 -5
  189. package/dist/chunks/runtime.js +4 -4
  190. package/dist/chunks/text.js +0 -4
  191. package/dist/chunks/useForm.js +14 -2
  192. package/dist/chunks/useTime.js +6 -2
  193. package/dist/components/calcite-action/customElement.js +2 -2
  194. package/dist/components/calcite-button/customElement.js +1 -1
  195. package/dist/components/calcite-color-picker/customElement.js +38 -13
  196. package/dist/components/calcite-input-time-zone/customElement.js +6 -2
  197. package/dist/components/calcite-slider/customElement.js +70 -44
  198. package/dist/docs/api.json +1 -1
  199. package/dist/docs/docs.json +1 -1
  200. package/dist/docs/web-types.json +1 -1
  201. package/package.json +3 -3
  202. package/dist/cdn/26T43QVU.js +0 -2
  203. package/dist/cdn/26YAYKO6.js +0 -2
  204. package/dist/cdn/3K5UHJ22.js +0 -2
  205. package/dist/cdn/N5GBL74D.js +0 -2
  206. package/dist/cdn/NBE3AKGO.js +0 -2
  207. package/dist/cdn/QXIOI3UW.js +0 -2
  208. package/dist/cdn/SAWC22RJ.js +0 -2
  209. package/dist/cdn/UHJJXMEK.js +0 -2
  210. package/dist/cdn/UHXV6JXZ.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as S}from"./UCHFNT6G.js";import{a as F}from"./5MIMTX7C.js";import{c as O}from"./QXIOI3UW.js";import{a as q}from"./DKJI4BME.js";import{a as T}from"./PHMYUCV4.js";import{a as z}from"./BY4ZVGX5.js";import{a as I}from"./T6CCMW7H.js";import{a as C}from"./7R2OHTUX.js";import{a as L}from"./ZWCCUVYR.js";import"./ZWPNZ5XW.js";import"./D3JB5ZKH.js";import"./E5ZJR273.js";import"./TNNCPRM2.js";import{D as $,G as x,H as s,I as k,J as c,L as w,T as V,g as f,h as n,p as y}from"./IDY2PICV.js";var E=({full:g,scale:e,partial:t})=>n`<calcite-icon class=${s(t?void 0:"icon")} .icon=${g?"star-f":"star"} .scale=${e}></calcite-icon>`,l={fieldSet:"fieldset",star:"star",fraction:"fraction",numberAverage:"number--average",numberCount:"number--count",wrapper:"wrapper",visuallyHidden:"visually-hidden"},A="calcite-ratings",p={validationMessage:"validationMessage",host:g=>`${A}-${g}`},D=f`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){min-block-size:var(--calcite-space-2xl);--calcite-internal-rating-spacing: .25rem}:host([scale=m]){min-block-size:var(--calcite-space-3xl);--calcite-internal-rating-spacing: .5rem}:host([scale=l]){min-block-size:var(--calcite-space-4xl);--calcite-internal-rating-spacing: .75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.wrapper{display:inline-block}.star{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;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-rating-color, var(--calcite-color-border-input))}.star:hover{color:var(--calcite-rating-color-hover, var(--calcite-color-brand-hover))}.star:active{color:var(--calcite-rating-color-press, var(--calcite-color-brand-press))}.star:focus{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-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.average,.fraction{color:var(--calcite-rating-average-color, var(--calcite-color-status-warning))}.hovered,.selected{color:var(--calcite-rating-color, var(--calcite-color-brand))}.fraction{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;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:700;color:var(--calcite-rating-average-text-color)}.number--count{color:var(--calcite-rating-count-text-color, var(--calcite-color-text-2));font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.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-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-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start: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-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start: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-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([hidden]){display:none}[hidden]{display:none}`,b=class extends x{constructor(){super(),this.emit=!1,this.formSupport=O({inputType:"number",getValue:()=>this.value===0?"":this.value})(this),this.guid=p.host(I()),this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this._value=0,this.messages=C({blocking:!0}),this.focusSetter=L()(this),this.interactiveContainer=z(this),this.disabled=!1,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.status="idle",this.calciteRatingChange=y({cancelable:!1}),T(this),this.listen("keydown",this.handleHostKeyDown),this.listen("pointerout",this.handleRatingPointerOut),this.listen("pointerover",this.handleRatingPointerOver)}static{this.properties={hoverValue:[16,{},{state:!0}],average:[11,{},{reflect:!0,type:Number}],count:[11,{},{reflect:!0,type:Number}],disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],labelText:1,messageOverrides:[0,{},{attribute:!1}],name:[3,{},{reflect:!0}],readOnly:[7,{},{reflect:!0,type:Boolean}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],showChip:[7,{},{reflect:!0,type:Boolean}],status:[3,{},{reflect:!0}],validationIcon:[3,{converter:w},{reflect:!0}],validationMessage:1,validity:[32,{},{readOnly:!0,attribute:!1}],value:[11,{},{reflect:!0,type:Number}]}}static{this.formAssociated=!0}static{this.styles=D}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.hasUpdated&&this.handleValueUpdate(e))}async setFocus(e){return this.focusSetter(()=>this.el,e)}async load(){this.requestUpdate("value")}willUpdate(){this.starsMap=Array.from({length:this.max},(e,t)=>{let a=t+1,i=this.hoverValue??0,r=i>0,o=this.average!=null,h=this.average??0,v=!r&&o&&!this.value&&a<=h,d=a===this.value,u=o?h+1-a:0,m=r&&a<=i,N=`${this.guid}-${a}`,R=!r&&!this.value&&o&&!m&&u>0&&u<1,M=this.value>=a,P=this.getTabIndex(a);return{average:v,checked:d,fraction:u,hovered:m,id:N,partial:R,selected:M,value:a,tabIndex:P}})}loaded(){this.labelElements=Array.from(this.renderRoot.querySelectorAll("label"))}handleValueUpdate(e){this.hoverValue=e,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}onLabelClick(){this.setFocus()}handleRatingPointerOver(){this.isKeyboardInteraction=!1}handleRatingPointerOut(){this.isKeyboardInteraction=!0,this.hoverValue=void 0}handleHostKeyDown(){this.isKeyboardInteraction=!0}handleLabelKeyDown(e){let t=this.getValueFromLabelEvent(e),a=e.key,i=a==" "?NaN:Number(a);if(this.emit=!0,isNaN(i))switch(a){case"Enter":case" ":this.value=!this.required&&this.value===t?0:t;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(t),this.updateFocus(),e.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(t),this.updateFocus(),e.preventDefault();break;case"Tab":this.hoverValue=void 0;break}else!this.required&&i>=0&&i<=this.max?this.value=i:this.required&&i>0&&i<=this.max&&(this.value=i),this.updateFocus()}handleInputChange(e){if(this.isKeyboardInteraction===!0){let t=Number(e.target.value);this.hoverValue=t,this.value=t}}handleLabelPointerOver(e){this.hoverValue=this.getValueFromLabelEvent(e)}handleLabelPointerDown(e){let t=e.currentTarget,a=this.getValueFromLabelEvent(e);this.hoverValue=a,this.emit=!0,this.value=!this.required&&this.value===a?0:a,t.focus()}handleLabelClick(e){e.preventDefault()}handleLabelFocus(e){let t=this.getValueFromLabelEvent(e);this.hoverValue=t}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1]?.focus()}getTabIndex(e){return this.readOnly||this.value!==e&&(this.value||e!==1)?-1:0}getValueFromLabelEvent(e){let t=e.currentTarget;return Number(t.getAttribute("data-value"))}getNextRatingValue(e){return e===5?1:e+1}getPreviousRatingValue(e){return e===1?5:e-1}render(){let e=this.count?.toString();return this.interactiveContainer({disabled:this.disabled,children:n`<span class=${s(l.wrapper)}>${this.labelText&&F({labelText:this.labelText,onClick:this.onLabelClick,required:this.required,tooltipText:this.messages.required})||""}<fieldset class=${s(l.fieldSet)} .disabled=${this.disabled}><legend class=${s(l.visuallyHidden)}>${this.messages.rating}</legend>${this.starsMap.map(({average:t,checked:a,fraction:i,hovered:r,id:o,partial:h,selected:v,value:d,tabIndex:u})=>n`<label class=${s({[l.star]:!0,selected:v,hovered:r,average:t,partial:h})} data-value=${d??c} for=${o??c} @click=${this.handleLabelClick} @focus=${this.handleLabelFocus} @keydown=${this.handleLabelKeyDown} @pointerdown=${this.handleLabelPointerDown} @pointerover=${this.handleLabelPointerOver} tabindex=${u??c}><input aria-errormessage=${p.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${q(this)} .ariaRequired=${this.required} .checked=${a} class=${s(l.visuallyHidden)} .disabled=${this.disabled||this.readOnly} id=${o??c} name=${this.guid??c} @change=${this.handleInputChange} tabindex=-1 type=radio .value=${$(d??"")}>${E({full:v||t||r,scale:this.scale})}${h&&n`<div class=${s(l.fraction)} style=${k({width:`${i*100}%`})}>${E({full:!0,partial:!0,scale:this.scale})}</div>`||""}<span class=${s(l.visuallyHidden)}>${this.messages.stars.replace("{num}",`${d}`)}</span></label>`)}${(this.count||this.average)&&this.showChip?n`<calcite-chip .label=${e} .scale=${this.scale} .value=${e}>${!!this.average&&n`<span class=${s(l.numberAverage)}>${this.average.toString()}</span>`||""}${!!this.count&&n`<span class=${s(l.numberCount)}>(${e})</span>`||""}</calcite-chip>`:null}</fieldset>${this.validationMessage&&this.status==="invalid"?S({icon:this.validationIcon,id:p.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}</span>`})}};V("calcite-rating",b);export{b as Rating};
2
+ import{a as S}from"./D674QPUM.js";import{a as F}from"./F22WQNYM.js";import{c as O}from"./TTYAA7KM.js";import{a as q}from"./DKJI4BME.js";import{a as T}from"./EKPMAQZL.js";import{a as z}from"./E6D5ST6T.js";import{a as I}from"./T6CCMW7H.js";import{a as C}from"./GA6KRSSM.js";import{a as L}from"./HJFIIT7D.js";import"./ZWPNZ5XW.js";import"./NYNZHDCM.js";import"./7EQBGM5Q.js";import"./M7XWBRKW.js";import{D as $,G as x,H as s,I as k,J as c,L as w,T as V,g as f,h as n,p as y}from"./Q5Y5R727.js";var E=({full:g,scale:e,partial:t})=>n`<calcite-icon class=${s(t?void 0:"icon")} .icon=${g?"star-f":"star"} .scale=${e}></calcite-icon>`,l={fieldSet:"fieldset",star:"star",fraction:"fraction",numberAverage:"number--average",numberCount:"number--count",wrapper:"wrapper",visuallyHidden:"visually-hidden"},A="calcite-ratings",p={validationMessage:"validationMessage",host:g=>`${A}-${g}`},D=f`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([read-only]) *,:host([disabled]) *,:host([read-only]) ::slotted(*),:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:flex;align-items:center;inline-size:fit-content}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([scale=s]){min-block-size:var(--calcite-space-2xl);--calcite-internal-rating-spacing: .25rem}:host([scale=m]){min-block-size:var(--calcite-space-3xl);--calcite-internal-rating-spacing: .5rem}:host([scale=l]){min-block-size:var(--calcite-space-4xl);--calcite-internal-rating-spacing: .75rem}.fieldset{margin:0;display:flex;border-width:0;padding:0;align-items:center;gap:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.wrapper{display:inline-block}.star{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;position:relative;display:flex;flex-direction:column;cursor:pointer;color:var(--calcite-rating-color, var(--calcite-color-border-input))}.star:hover{color:var(--calcite-rating-color-hover, var(--calcite-color-brand-hover))}.star:active{color:var(--calcite-rating-color-press, var(--calcite-color-brand-press))}.star:focus{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-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.average,.fraction{color:var(--calcite-rating-average-color, var(--calcite-color-status-warning))}.hovered,.selected{color:var(--calcite-rating-color, var(--calcite-color-brand))}.fraction{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;position:absolute;pointer-events:none;inset-block-start:0;overflow:hidden;inset-inline-start:0}calcite-chip{pointer-events:none;cursor:default}.number--average{font-weight:700;color:var(--calcite-rating-average-text-color)}.number--count{color:var(--calcite-rating-count-text-color, var(--calcite-color-text-2));font-style:italic}.number--count:not(:first-child){margin-inline-start:var(--calcite-rating-spacing, var(--calcite-internal-rating-spacing))}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.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-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-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start: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-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start: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-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}:host([hidden]){display:none}[hidden]{display:none}`,b=class extends x{constructor(){super(),this.emit=!1,this.formSupport=O({inputType:"number",getValue:()=>this.value===0?"":this.value})(this),this.guid=p.host(I()),this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this._value=0,this.messages=C({blocking:!0}),this.focusSetter=L()(this),this.interactiveContainer=z(this),this.disabled=!1,this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.status="idle",this.calciteRatingChange=y({cancelable:!1}),T(this),this.listen("keydown",this.handleHostKeyDown),this.listen("pointerout",this.handleRatingPointerOut),this.listen("pointerover",this.handleRatingPointerOver)}static{this.properties={hoverValue:[16,{},{state:!0}],average:[11,{},{reflect:!0,type:Number}],count:[11,{},{reflect:!0,type:Number}],disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],labelText:1,messageOverrides:[0,{},{attribute:!1}],name:[3,{},{reflect:!0}],readOnly:[7,{},{reflect:!0,type:Boolean}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],showChip:[7,{},{reflect:!0,type:Boolean}],status:[3,{},{reflect:!0}],validationIcon:[3,{converter:w},{reflect:!0}],validationMessage:1,validity:[32,{},{readOnly:!0,attribute:!1}],value:[11,{},{reflect:!0,type:Number}]}}static{this.formAssociated=!0}static{this.styles=D}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.hasUpdated&&this.handleValueUpdate(e))}async setFocus(e){return this.focusSetter(()=>this.el,e)}async load(){this.requestUpdate("value")}willUpdate(){this.starsMap=Array.from({length:this.max},(e,t)=>{let a=t+1,i=this.hoverValue??0,r=i>0,o=this.average!=null,h=this.average??0,v=!r&&o&&!this.value&&a<=h,d=a===this.value,u=o?h+1-a:0,m=r&&a<=i,N=`${this.guid}-${a}`,R=!r&&!this.value&&o&&!m&&u>0&&u<1,M=this.value>=a,P=this.getTabIndex(a);return{average:v,checked:d,fraction:u,hovered:m,id:N,partial:R,selected:M,value:a,tabIndex:P}})}loaded(){this.labelElements=Array.from(this.renderRoot.querySelectorAll("label"))}handleValueUpdate(e){this.hoverValue=e,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}onLabelClick(){this.setFocus()}handleRatingPointerOver(){this.isKeyboardInteraction=!1}handleRatingPointerOut(){this.isKeyboardInteraction=!0,this.hoverValue=void 0}handleHostKeyDown(){this.isKeyboardInteraction=!0}handleLabelKeyDown(e){let t=this.getValueFromLabelEvent(e),a=e.key,i=a==" "?NaN:Number(a);if(this.emit=!0,isNaN(i))switch(a){case"Enter":case" ":this.value=!this.required&&this.value===t?0:t;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(t),this.updateFocus(),e.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(t),this.updateFocus(),e.preventDefault();break;case"Tab":this.hoverValue=void 0;break}else!this.required&&i>=0&&i<=this.max?this.value=i:this.required&&i>0&&i<=this.max&&(this.value=i),this.updateFocus()}handleInputChange(e){if(this.isKeyboardInteraction===!0){let t=Number(e.target.value);this.hoverValue=t,this.value=t}}handleLabelPointerOver(e){this.hoverValue=this.getValueFromLabelEvent(e)}handleLabelPointerDown(e){let t=e.currentTarget,a=this.getValueFromLabelEvent(e);this.hoverValue=a,this.emit=!0,this.value=!this.required&&this.value===a?0:a,t.focus()}handleLabelClick(e){e.preventDefault()}handleLabelFocus(e){let t=this.getValueFromLabelEvent(e);this.hoverValue=t}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1]?.focus()}getTabIndex(e){return this.readOnly||this.value!==e&&(this.value||e!==1)?-1:0}getValueFromLabelEvent(e){let t=e.currentTarget;return Number(t.getAttribute("data-value"))}getNextRatingValue(e){return e===5?1:e+1}getPreviousRatingValue(e){return e===1?5:e-1}render(){let e=this.count?.toString();return this.interactiveContainer({disabled:this.disabled,children:n`<span class=${s(l.wrapper)}>${this.labelText&&F({labelText:this.labelText,onClick:this.onLabelClick,required:this.required,tooltipText:this.messages.required})||""}<fieldset class=${s(l.fieldSet)} .disabled=${this.disabled}><legend class=${s(l.visuallyHidden)}>${this.messages.rating}</legend>${this.starsMap.map(({average:t,checked:a,fraction:i,hovered:r,id:o,partial:h,selected:v,value:d,tabIndex:u})=>n`<label class=${s({[l.star]:!0,selected:v,hovered:r,average:t,partial:h})} data-value=${d??c} for=${o??c} @click=${this.handleLabelClick} @focus=${this.handleLabelFocus} @keydown=${this.handleLabelKeyDown} @pointerdown=${this.handleLabelPointerDown} @pointerover=${this.handleLabelPointerOver} tabindex=${u??c}><input aria-errormessage=${p.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${q(this)} .ariaRequired=${this.required} .checked=${a} class=${s(l.visuallyHidden)} .disabled=${this.disabled||this.readOnly} id=${o??c} name=${this.guid??c} @change=${this.handleInputChange} tabindex=-1 type=radio .value=${$(d??"")}>${E({full:v||t||r,scale:this.scale})}${h&&n`<div class=${s(l.fraction)} style=${k({width:`${i*100}%`})}>${E({full:!0,partial:!0,scale:this.scale})}</div>`||""}<span class=${s(l.visuallyHidden)}>${this.messages.stars.replace("{num}",`${d}`)}</span></label>`)}${(this.count||this.average)&&this.showChip?n`<calcite-chip .label=${e} .scale=${this.scale} .value=${e}>${!!this.average&&n`<span class=${s(l.numberAverage)}>${this.average.toString()}</span>`||""}${!!this.count&&n`<span class=${s(l.numberCount)}>(${e})</span>`||""}</calcite-chip>`:null}</fieldset>${this.validationMessage&&this.status==="invalid"?S({icon:this.validationIcon,id:p.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}</span>`})}};V("calcite-rating",b);export{b as Rating};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{d as a}from"./C4WP5EBM.js";import{a as S}from"./BY4ZVGX5.js";import"./VUYX7MNO.js";import{a as u}from"./ZWCCUVYR.js";import"./ZWPNZ5XW.js";import"./D3JB5ZKH.js";import"./E5ZJR273.js";import{C as l,y as f}from"./TNNCPRM2.js";import{E as h,F as d,G as p,T as m,g as o,h as n,p as r}from"./IDY2PICV.js";var y=o`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:.25rem}:host([scale=l]) .container{gap:.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends p{constructor(){super(),this.items=[],this.slotRef=h(),this.focusSetter=u()(this),this.interactiveContainer=S(this),this.disabled=!1,this.scale="m",this.selectedItems=[],this.selectionMode="none",this.calciteChipGroupSelect=r({cancelable:!1}),this.listen("keydown",this.keyDownHandler),this.listen("calciteChipClose",this.calciteChipCloseListener),this.listen("calciteChipSelect",this.calciteChipSelectListener),this.listen("calciteInternalChipSelect",this.calciteInternalChipSelectListener),this.listen("calciteInternalSyncSelectedChips",this.calciteInternalSyncSelectedChips)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],label:1,scale:[3,{},{reflect:!0}],selectedItems:[0,{},{attribute:!1}],selectionMode:[3,{},{reflect:!0}]}}static{this.styles=y}async setFocus(e){return this.focusSetter(()=>this.selectedItems[0]||this.items[0],e)}willUpdate(e){(e.has("scale")||e.has("selectionMode"))&&(this.hasUpdated||this.selectionMode!=="none")&&this.updateItems()}keyDownHandler(e){let t={ArrowRight:"next",ArrowLeft:"previous",Home:"first",End:"last"}[e.key];if(e.defaultPrevented||!t)return;let i=e.composedPath().find(a);if(!i||!this.items.includes(i))return;let I=this.items.filter(g=>!g.disabled);l(I,i,t,!0,!0,!0)}calciteChipCloseListener(e){let s=e.target;this.items?.includes(s)&&(this.items?.indexOf(s)>0?l(this.items,s,"previous",!1,!1):this.items?.indexOf(s)===0?l(this.items,s,"next",!1,!1):l(this.items,s,"first",!1,!1)),this.items=this.items.filter(t=>t!==s),e.stopPropagation()}calciteChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!0,e.target),e.stopPropagation()}calciteInternalChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!1,e.target),e.stopPropagation()}calciteInternalSyncSelectedChips(e){e.composedPath().includes(this.el)&&(this.updateSelectedItems(),this.selectionMode==="single"&&this.selectedItems.length>1&&this.setSelectedItems(!1,e.target)),e.stopPropagation()}updateItems(e){let s=this.slotRef.value?.assignedElements({flatten:!0}).filter(a)||[];this.items=e?f(e):s,!(this.items?.length<1)&&(this.items?.forEach(t=>{t.interactive=!0,t.scale=this.scale,t.selectionMode=this.selectionMode,t.parentChipGroup=this.el}),this.setSelectedItems(!1))}updateSelectedItems(){this.selectedItems=this.items.filter(e=>e.selected)}setSelectedItems(e,s){s&&this.items?.forEach(t=>{let i=s===t;switch(this.selectionMode){case"multiple":i&&(t.selected=!t.selected);break;case"single":t.selected=i?!t.selected:!1;break;case"single-persist":t.selected=!!i;break}}),this.updateSelectedItems(),e&&this.calciteChipGroupSelect.emit()}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup",{disabled:s}=this;return this.interactiveContainer({disabled:s,children:n`<div .ariaLabel=${this.label} class="container" .role=${e}><slot @slotchange=${this.updateItems} ${d(this.slotRef)}></slot></div>`})}};m("calcite-chip-group",c);export{c as ChipGroup};
2
+ import{d as a}from"./C4WP5EBM.js";import{a as S}from"./E6D5ST6T.js";import"./VUYX7MNO.js";import{a as u}from"./HJFIIT7D.js";import"./ZWPNZ5XW.js";import"./NYNZHDCM.js";import"./7EQBGM5Q.js";import{C as l,y as f}from"./M7XWBRKW.js";import{E as h,F as d,G as p,T as m,g as o,h as n,p as r}from"./Q5Y5R727.js";var y=o`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.container{display:flex;inline-size:100%;flex-wrap:wrap;gap:.5rem}::slotted(calcite-chip){flex:none}:host([scale=s]) .container{gap:.25rem}:host([scale=l]) .container{gap:.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends p{constructor(){super(),this.items=[],this.slotRef=h(),this.focusSetter=u()(this),this.interactiveContainer=S(this),this.disabled=!1,this.scale="m",this.selectedItems=[],this.selectionMode="none",this.calciteChipGroupSelect=r({cancelable:!1}),this.listen("keydown",this.keyDownHandler),this.listen("calciteChipClose",this.calciteChipCloseListener),this.listen("calciteChipSelect",this.calciteChipSelectListener),this.listen("calciteInternalChipSelect",this.calciteInternalChipSelectListener),this.listen("calciteInternalSyncSelectedChips",this.calciteInternalSyncSelectedChips)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],label:1,scale:[3,{},{reflect:!0}],selectedItems:[0,{},{attribute:!1}],selectionMode:[3,{},{reflect:!0}]}}static{this.styles=y}async setFocus(e){return this.focusSetter(()=>this.selectedItems[0]||this.items[0],e)}willUpdate(e){(e.has("scale")||e.has("selectionMode"))&&(this.hasUpdated||this.selectionMode!=="none")&&this.updateItems()}keyDownHandler(e){let t={ArrowRight:"next",ArrowLeft:"previous",Home:"first",End:"last"}[e.key];if(e.defaultPrevented||!t)return;let i=e.composedPath().find(a);if(!i||!this.items.includes(i))return;let I=this.items.filter(g=>!g.disabled);l(I,i,t,!0,!0,!0)}calciteChipCloseListener(e){let s=e.target;this.items?.includes(s)&&(this.items?.indexOf(s)>0?l(this.items,s,"previous",!1,!1):this.items?.indexOf(s)===0?l(this.items,s,"next",!1,!1):l(this.items,s,"first",!1,!1)),this.items=this.items.filter(t=>t!==s),e.stopPropagation()}calciteChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!0,e.target),e.stopPropagation()}calciteInternalChipSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(!1,e.target),e.stopPropagation()}calciteInternalSyncSelectedChips(e){e.composedPath().includes(this.el)&&(this.updateSelectedItems(),this.selectionMode==="single"&&this.selectedItems.length>1&&this.setSelectedItems(!1,e.target)),e.stopPropagation()}updateItems(e){let s=this.slotRef.value?.assignedElements({flatten:!0}).filter(a)||[];this.items=e?f(e):s,!(this.items?.length<1)&&(this.items?.forEach(t=>{t.interactive=!0,t.scale=this.scale,t.selectionMode=this.selectionMode,t.parentChipGroup=this.el}),this.setSelectedItems(!1))}updateSelectedItems(){this.selectedItems=this.items.filter(e=>e.selected)}setSelectedItems(e,s){s&&this.items?.forEach(t=>{let i=s===t;switch(this.selectionMode){case"multiple":i&&(t.selected=!t.selected);break;case"single":t.selected=i?!t.selected:!1;break;case"single-persist":t.selected=!!i;break}}),this.updateSelectedItems(),e&&this.calciteChipGroupSelect.emit()}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup",{disabled:s}=this;return this.interactiveContainer({disabled:s,children:n`<div .ariaLabel=${this.label} class="container" .role=${e}><slot @slotchange=${this.updateItems} ${d(this.slotRef)}></slot></div>`})}};m("calcite-chip-group",c);export{c as ChipGroup};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as x,b as g}from"./THIECYN6.js";import"./VUYX7MNO.js";import{y as u,z as v}from"./TNNCPRM2.js";import{E as b,F as h,G as p,H as m,T as f,g as d,h as n}from"./IDY2PICV.js";var C=d`:host{display:flex;flex-direction:column;background-color:var(--calcite-tab-background-color, var(--calcite-color-transparent))}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1));background-color:var(--calcite-tab-background-color, var(--calcite-color-foreground-1))}:host([bordered]) section{border-color:var(--calcite-tab-border-color, var(--calcite-color-border-1));border-style:solid}section{display:flex;flex-grow:1;overflow:hidden;border-width:1px;border-block-start-style:solid;border-block-start-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1)),inset 0 -1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([position=bottom]){flex-direction:column-reverse}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px}:host([bordered][scale=s]) section{padding:.75rem}:host([bordered][scale=m]) section{padding:.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid;border-block-end-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}@media(forced-colors:active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends p{constructor(){super(),this.slotRef=b(),this.tabs=[],this.titles=[],this.hasVisibleTitles=!0,this.bordered=!1,this.layout="inline",this.lastTabClosable=!1,this.position="top",this.scale="m",this.listen("calciteInternalTabNavSlotChange",this.calciteInternalTabNavSlotChangeHandler)}static{this.properties={tabs:[16,{},{state:!0}],titles:[16,{},{state:!0}],hasVisibleTitles:[16,{},{state:!0}],bordered:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}],lastTabClosable:[7,{},{reflect:!0,type:Boolean}],position:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=C}connectedCallback(){super.connectedCallback(),this.updateItems()}load(){this.updateItems()}willUpdate(e){(e.has("position")&&(this.hasUpdated||this.position!=="top")||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("lastTabClosable")&&(this.hasUpdated||this.lastTabClosable!==!1))&&this.updateItems(),(e.has("titles")||e.has("tabs"))&&this.hasUpdated&&(this.lastTabClosable||this.titles?.length>0)&&(this.lastTabClosable||this.tabs?.length>0)&&(this.updateAriaSettings(),this.updateItems())}calciteInternalTabNavSlotChangeHandler(e){e.stopPropagation();let s=[...e.detail];s.some((t,l)=>this.titles[l]!==t)&&(this.titles=s),this.hasVisibleTitles=s.some(t=>!t.closed)}defaultSlotChangeHandler(e){this.tabs=u(e,"calcite-tab")}async updateAriaSettings(){if(await this.componentOnReady(),!this.slotRef.value)return;let e,s,a=v(this.slotRef.value,"calcite-tab");if(await Promise.all([...a,...this.titles].map(t=>t.componentOnReady())),a.some(t=>t.tab)||this.titles.some(t=>t.tab))e=a.sort((t,l)=>t.tab&&l.tab?t.tab.localeCompare(l.tab):0).map(t=>t.id),s=this.titles.sort((t,l)=>t.tab.localeCompare(l.tab)).map(t=>t.id);else{let t=await Promise.all(a.map(o=>o.getTabIndex())),l=await Promise.all(this.titles.map(o=>o.getTabIndex()));e=t.reduce((o,r,i)=>(o[r]=a[i].id,o),[]),s=l.reduce((o,r,i)=>(o[r]=this.titles[i].id,o),[])}a.forEach(t=>t._updateAriaInfo(e,s)),this.titles.forEach(t=>t._updateAriaInfo(e,s))}updateItems(){let{lastTabClosable:e,position:s,scale:a}=this,t=this.el.querySelector("calcite-tab-nav");t&&(t.lastTabClosable=e,t.position=s,t.scale=a),Array.from(this.el.querySelectorAll("calcite-tab")).forEach(o=>{o.parentElement===this.el&&(o.scale=a)});let l=this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title");Array.from(l).forEach(o=>{o.position=s,o.scale=a})}render(){return n`<slot name=${g.titleGroup}></slot><section class=${m(x.section)} .hidden=${!this.hasVisibleTitles}><slot @slotchange=${this.defaultSlotChangeHandler} ${h(this.slotRef)}></slot></section>`}};f("calcite-tabs",c);export{c as Tabs};
2
+ import{a as x,b as g}from"./THIECYN6.js";import"./VUYX7MNO.js";import{y as u,z as v}from"./M7XWBRKW.js";import{E as b,F as h,G as p,H as m,T as f,g as d,h as n}from"./Q5Y5R727.js";var C=d`:host{display:flex;flex-direction:column;background-color:var(--calcite-tab-background-color, var(--calcite-color-transparent))}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1));background-color:var(--calcite-tab-background-color, var(--calcite-color-foreground-1))}:host([bordered]) section{border-color:var(--calcite-tab-border-color, var(--calcite-color-border-1));border-style:solid}section{display:flex;flex-grow:1;overflow:hidden;border-width:1px;border-block-start-style:solid;border-block-start-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1)),inset 0 -1px 0 var(--calcite-tab-border-color, var(--calcite-color-border-1))}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([position=bottom]){flex-direction:column-reverse}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px}:host([bordered][scale=s]) section{padding:.75rem}:host([bordered][scale=m]) section{padding:.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid;border-block-end-color:var(--calcite-tab-border-color, var(--calcite-color-border-1))}@media(forced-colors:active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends p{constructor(){super(),this.slotRef=b(),this.tabs=[],this.titles=[],this.hasVisibleTitles=!0,this.bordered=!1,this.layout="inline",this.lastTabClosable=!1,this.position="top",this.scale="m",this.listen("calciteInternalTabNavSlotChange",this.calciteInternalTabNavSlotChangeHandler)}static{this.properties={tabs:[16,{},{state:!0}],titles:[16,{},{state:!0}],hasVisibleTitles:[16,{},{state:!0}],bordered:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}],lastTabClosable:[7,{},{reflect:!0,type:Boolean}],position:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=C}connectedCallback(){super.connectedCallback(),this.updateItems()}load(){this.updateItems()}willUpdate(e){(e.has("position")&&(this.hasUpdated||this.position!=="top")||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("lastTabClosable")&&(this.hasUpdated||this.lastTabClosable!==!1))&&this.updateItems(),(e.has("titles")||e.has("tabs"))&&this.hasUpdated&&(this.lastTabClosable||this.titles?.length>0)&&(this.lastTabClosable||this.tabs?.length>0)&&(this.updateAriaSettings(),this.updateItems())}calciteInternalTabNavSlotChangeHandler(e){e.stopPropagation();let s=[...e.detail];s.some((t,l)=>this.titles[l]!==t)&&(this.titles=s),this.hasVisibleTitles=s.some(t=>!t.closed)}defaultSlotChangeHandler(e){this.tabs=u(e,"calcite-tab")}async updateAriaSettings(){if(await this.componentOnReady(),!this.slotRef.value)return;let e,s,a=v(this.slotRef.value,"calcite-tab");if(await Promise.all([...a,...this.titles].map(t=>t.componentOnReady())),a.some(t=>t.tab)||this.titles.some(t=>t.tab))e=a.sort((t,l)=>t.tab&&l.tab?t.tab.localeCompare(l.tab):0).map(t=>t.id),s=this.titles.sort((t,l)=>t.tab.localeCompare(l.tab)).map(t=>t.id);else{let t=await Promise.all(a.map(o=>o.getTabIndex())),l=await Promise.all(this.titles.map(o=>o.getTabIndex()));e=t.reduce((o,r,i)=>(o[r]=a[i].id,o),[]),s=l.reduce((o,r,i)=>(o[r]=this.titles[i].id,o),[])}a.forEach(t=>t._updateAriaInfo(e,s)),this.titles.forEach(t=>t._updateAriaInfo(e,s))}updateItems(){let{lastTabClosable:e,position:s,scale:a}=this,t=this.el.querySelector("calcite-tab-nav");t&&(t.lastTabClosable=e,t.position=s,t.scale=a),Array.from(this.el.querySelectorAll("calcite-tab")).forEach(o=>{o.parentElement===this.el&&(o.scale=a)});let l=this.el.querySelectorAll("calcite-tab-nav > calcite-tab-title");Array.from(l).forEach(o=>{o.position=s,o.scale=a})}render(){return n`<slot name=${g.titleGroup}></slot><section class=${m(x.section)} .hidden=${!this.hasVisibleTitles}><slot @slotchange=${this.defaultSlotChangeHandler} ${h(this.slotRef)}></slot></section>`}};f("calcite-tabs",c);export{c as Tabs};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as t,b as o}from"./5IBOQL24.js";import{j as l}from"./KR2UWOYO.js";import{a as y}from"./BY4ZVGX5.js";import{a as z}from"./YP3AYJH3.js";import{a as f}from"./7R2OHTUX.js";import"./VUYX7MNO.js";import{a as g}from"./ZWCCUVYR.js";import{b}from"./ZWPNZ5XW.js";import"./D3JB5ZKH.js";import"./E5ZJR273.js";import{u as v}from"./TNNCPRM2.js";import{E as p,F as d,G as h,H as i,K as m,T as u,g as c,h as r,l as n,p as a}from"./IDY2PICV.js";var I=c`:host([disabled]),:host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) ::slotted(*),:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s: .25rem;--calcite-internal-stepper-item-spacing-unit-m: .75rem;--calcite-internal-stepper-item-spacing-unit-l: 1rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-md);--calcite-internal-stepper-action-inline-size: 2rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);margin-inline-end:.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size-relative-sm)}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s: .5rem;--calcite-internal-stepper-item-spacing-unit-m: 1rem;--calcite-internal-stepper-item-spacing-unit-l: 1.25rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-lg);--calcite-internal-stepper-action-inline-size: 2.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);margin-inline-end:.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size-relative-base)}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s: .75rem;--calcite-internal-stepper-item-spacing-unit-m: 1.25rem;--calcite-internal-stepper-item-spacing-unit-l: 1.5rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-xl);--calcite-internal-stepper-action-inline-size: 3rem;font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-lg);margin-inline-end:.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-relative-md)}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-bar-gap, var(--calcite-internal-stepper-item-spacing-unit-s))}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host .container:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host{outline-color:transparent}:host(:focus){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-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host .stepper-item-content,:host .stepper-item-header{box-sizing:border-box;padding-block:var(--calcite-internal-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start;padding-block:var(--calcite-internal-stepper-item-header-padding)}:host .stepper-item-header:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-icon{margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);display:inline-flex;block-size:.75rem;flex-shrink:0;align-self:flex-start;margin-block-start:var(--calcite-spacing-base);color:var(--calcite-stepper-item-icon-color, var(--calcite-color-border-input))}:host([complete]) .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}.stepper-item-heading,.stepper-item-description,.stepper-item-number{line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-heading{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-1))}:host .stepper-item-description{color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-3))}:host .stepper-item-number{font-weight:var(--calcite-font-weight-normal);margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-1))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:#007ac280}:host([complete]) .container .stepper-item-icon{color:var(--calcite-stepper-item-complete-icon-color, var(--calcite-color-brand))}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color-hover, var(--calcite-color-text-1))}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-selected-header-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]){inline-size:100%}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-l);border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][complete]) .container{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=vertical][error]) .container{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=vertical][selected]) .container{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=vertical][selected]) .container .stepper-item-content.has-slotted-content{margin-block-end:var(--calcite-internal-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;outline-color:transparent;grid-row:items;border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{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-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-timing-function:cubic-bezier(.4,0,.2,1);padding-block:0;padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}@media(forced-colors:active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + .5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-2))}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-text-3))}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`,s=class extends h{constructor(){super(),this.headerRef=p(),this.itemPosition=0,this.selectedPosition=0,this.messages=f(),this.focusSetter=g()(this),this.interactiveContainer=y(this),this.stepperItemHasContent=!1,this.complete=!1,this.disabled=!1,this.error=!1,this.icon=!1,this.iconFlipRtl=!1,this.itemHidden=!1,this.numbered=!1,this.scale="m",this.selected=!1,this.calciteInternalStepperItemUpdate=a({cancelable:!1}),this.calciteInternalStepperItemSelect=a({cancelable:!1}),this.calciteStepperItemSelect=a({cancelable:!1}),this.listenOn(document.body,"calciteInternalStepperItemChange",this.updateActiveItemOnChange),this.listen("click",this.handleItemClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={stepperItemHasContent:[16,{},{state:!0}],complete:[7,{},{reflect:!0,type:Boolean}],description:1,disabled:[7,{},{reflect:!0,type:Boolean}],error:[7,{},{reflect:!0,type:Boolean}],heading:1,icon:[5,{},{type:Boolean}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],itemHidden:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],numbered:[5,{},{type:Boolean}],numberingSystem:1,scale:[3,{},{reflect:!0}],selected:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=I}async setFocus(e){return this.focusSetter(()=>this.layout==="vertical"?this.el:this.headerRef.value,e)}async load(){this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.selected&&this.emitRequestedItem()}willUpdate(e){e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.selectedHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.calciteInternalStepperItemUpdate.emit(),e.has("messages")&&this.effectiveLocaleWatcher(this.messages._lang)}updated(){m(this.el,"tabindex",this.disabled||this.layout==="horizontal"?null:0)}selectedHandler(){this.selected&&this.emitRequestedItem()}effectiveLocaleWatcher(e){l.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1}}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}keyDownHandler(e){!this.disabled&&e.target===this.el&&z(e.key)&&(this.emitUserRequestedItem(),e.preventDefault())}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}handleItemClick(e){this.disabled||b(this.el)||this.layout==="horizontal"&&e.composedPath().some(x=>x.classList?.contains("stepper-item-content"))||this.emitUserRequestedItem()}emitUserRequestedItem(){this.emitRequestedItem(),this.disabled||this.calciteStepperItemSelect.emit()}emitRequestedItem(){if(!this.disabled){let e=this.itemPosition;this.calciteInternalStepperItemSelect.emit({position:e})}}getItemPosition(){let e=this.parentStepperEl?.querySelectorAll("calcite-stepper-item:not([hidden]):not([item-hidden])");return e?Array.from(e).indexOf(this.el):-1}render(){return this.el.ariaCurrent=this.selected?"step":"false",this.interactiveContainer({disabled:this.disabled,children:r`<div class=${i(t.container)}>${this.complete&&r`<span aria-live=polite class=${i(t.visuallyHidden)}>${this.messages.complete}</span>`||""}<div class=${i(t.stepperItemHeader)} tabindex=${(this.layout==="horizontal"&&!this.disabled?0:void 0)??n} ${d(this.headerRef)}>${this.icon?this.renderIcon():null}${this.numbered?r`<div class=${i(t.stepperItemNumber)}>${this.renderNumbers()}.</div>`:null}<div class=${i(t.stepperItemHeaderText)}><span class=${i(t.stepperItemHeading)}>${this.heading}</span><span class=${i(t.stepperItemDescription)}>${this.description}</span></div></div><div class=${i({[t.stepperItemContent]:!0,[t.hasSlottedContent]:this.stepperItemHasContent})}><slot @slotchange=${e=>this.stepperItemHasContent=v(e)}></slot></div></div>`})}renderIcon(){let e=o.circle;return this.selected&&(this.layout!=="horizontal-single"||!this.error&&!this.complete)?e=o.circleF:this.error?e=o.exclamationMarkCircleF:this.complete&&(e=o.checkCircleF),r`<calcite-icon class=${i(t.stepperItemIcon)} .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`}renderNumbers(){return l.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:!1},l.numberFormatter.format(this.itemPosition+1)}};u("calcite-stepper-item",s);export{s as StepperItem};
2
+ import{a as t,b as o}from"./5IBOQL24.js";import{j as l}from"./5FWKH67V.js";import{a as y}from"./E6D5ST6T.js";import{a as z}from"./YP3AYJH3.js";import{a as f}from"./GA6KRSSM.js";import"./VUYX7MNO.js";import{a as g}from"./HJFIIT7D.js";import{b}from"./ZWPNZ5XW.js";import"./NYNZHDCM.js";import"./7EQBGM5Q.js";import{u as v}from"./M7XWBRKW.js";import{E as p,F as d,G as h,H as i,K as m,T as u,g as c,h as r,l as n,p as a}from"./Q5Y5R727.js";var I=c`:host([disabled]),:host([layout=horizontal][disabled]) .stepper-item-header,:host([layout=horizontal-single][disabled]) .stepper-item-header{cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([layout=horizontal][disabled]) .stepper-item-header *,:host([layout=horizontal-single][disabled]) .stepper-item-header *,:host([disabled]) ::slotted(*),:host([layout=horizontal][disabled]) .stepper-item-header ::slotted(*),:host([layout=horizontal-single][disabled]) .stepper-item-header ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-stepper-item-spacing-unit-s: .25rem;--calcite-internal-stepper-item-spacing-unit-m: .75rem;--calcite-internal-stepper-item-spacing-unit-l: 1rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-md);--calcite-internal-stepper-action-inline-size: 2rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);margin-inline-end:.25rem}:host([scale=s]) .stepper-item-description{font-size:var(--calcite-font-size-relative-sm)}:host([scale=m]){--calcite-internal-stepper-item-spacing-unit-s: .5rem;--calcite-internal-stepper-item-spacing-unit-m: 1rem;--calcite-internal-stepper-item-spacing-unit-l: 1.25rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-lg);--calcite-internal-stepper-action-inline-size: 2.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);margin-inline-end:.5rem}:host([scale=m]) .stepper-item-description{font-size:var(--calcite-font-size-relative-base)}:host([scale=l]){--calcite-internal-stepper-item-spacing-unit-s: .75rem;--calcite-internal-stepper-item-spacing-unit-m: 1.25rem;--calcite-internal-stepper-item-spacing-unit-l: 1.5rem;--calcite-internal-stepper-item-header-padding: var(--calcite-spacing-xl);--calcite-internal-stepper-action-inline-size: 3rem;font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-lg);margin-inline-end:.75rem}:host([scale=l]) .stepper-item-description{font-size:var(--calcite-font-size-relative-md)}:host{position:relative;display:flex;flex-grow:1;flex-direction:column;align-self:flex-start;margin-block-end:var(--calcite-stepper-bar-gap, var(--calcite-internal-stepper-item-spacing-unit-s))}:host .container{position:relative;display:flex;flex-grow:1;cursor:pointer;flex-direction:column;border-width:0px;border-block-start-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);color:var(--calcite-color-text-3);text-decoration-line:none;outline:2px solid transparent;outline-offset:2px}:host .container:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host{outline-color:transparent}:host(:focus){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-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host .stepper-item-content,:host .stepper-item-header{box-sizing:border-box;padding-block:var(--calcite-internal-stepper-item-spacing-unit-l);padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host .stepper-item-header{display:flex;cursor:pointer;align-items:flex-start;padding-block:var(--calcite-internal-stepper-item-header-padding)}:host .stepper-item-header:active{background-color:var(--calcite-stepper-item-background-color-press, var(--calcite-color-foreground-3))}:host .stepper-item-header *{display:inline-flex;align-items:center}:host .stepper-item-content{display:none;inline-size:100%;flex-direction:column;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-icon{margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);display:inline-flex;block-size:.75rem;flex-shrink:0;align-self:flex-start;margin-block-start:var(--calcite-spacing-base);color:var(--calcite-stepper-item-icon-color, var(--calcite-color-border-input))}:host([complete]) .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host .stepper-item-header-text{flex-direction:column;text-align:initial;margin-inline-end:auto}:host .stepper-item-heading,:host .stepper-item-description{display:flex;inline-size:100%}.stepper-item-heading,.stepper-item-description,.stepper-item-number{line-height:var(--calcite-font-line-height-relative-snug)}:host .stepper-item-heading{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-1))}:host .stepper-item-description{color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-3))}:host .stepper-item-number{font-weight:var(--calcite-font-weight-normal);margin-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);color:var(--calcite-stepper-item-description-text-color, var(--calcite-color-text-1))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([complete]) .container{border-color:#007ac280}:host([complete]) .container .stepper-item-icon{color:var(--calcite-stepper-item-complete-icon-color, var(--calcite-color-brand))}:host([error]) .container{border-block-start-color:var(--calcite-color-status-danger)}:host([error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host(:hover:not([disabled]):not([selected])) .container,:host(:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-brand)}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-heading,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color-hover, var(--calcite-color-text-1))}:host(:hover:not([disabled]):not([selected])) .container .stepper-item-description,:host(:focus:not([disabled]):not([selected])) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([error]:hover:not([disabled]):not([selected])) .container,:host([error]:focus:not([disabled]):not([selected])) .container{border-block-start-color:var(--calcite-color-status-danger-hover)}:host([selected]) .container{border-block-start-color:var(--calcite-color-brand)}:host([selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-selected-header-text-color, var(--calcite-color-text-1));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-description{color:var(--calcite-stepper-item-description-text-color-hover, var(--calcite-color-text-2))}:host([selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));font-weight:var(--calcite-font-weight-medium)}:host([selected]) .container .stepper-item-icon{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-brand));opacity:1}:host([selected]) .container .stepper-item-content{display:flex}:host([layout=vertical]){inline-size:100%}:host([layout=vertical]) .container{margin-inline:0px;margin-block-start:0px;flex:1 1 auto;border-block-start-width:0px;border-style:solid;padding-block:0px;border-inline-start-width:2px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-l);border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=vertical]) .container .stepper-item-icon{order:3;margin-block:1px 0px;padding-inline-start:var(--calcite-internal-stepper-item-spacing-unit-s);margin-inline-start:auto}:host([layout=vertical]) .container .stepper-item-header{padding-inline-end:0px}:host([layout=vertical]) .container .stepper-item-content{padding:0}:host([layout=vertical][complete]) .container{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=vertical][complete]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][complete]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=vertical][error]) .container{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=vertical][selected]) .container{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=vertical][selected]) .container .stepper-item-content.has-slotted-content{margin-block-end:var(--calcite-internal-stepper-item-spacing-unit-l)}:host([layout=vertical]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=vertical][error]:hover:not([disabled]):not([selected])) .container,:host([layout=vertical][error]:focus:not([disabled]):not([selected])) .container{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}:host([layout=horizontal]),:host([layout=horizontal-single]){display:contents}:host([layout=horizontal]) .container,:host([layout=horizontal-single]) .container{display:contents}:host([layout=horizontal]) .stepper-item-header,:host([layout=horizontal-single]) .stepper-item-header{border-width:0px;border-block-start-width:2px;border-style:solid;outline-color:transparent;grid-row:items;border-color:var(--calcite-stepper-bar-fill-color, var(--calcite-color-border-2))}:host([layout=horizontal]) .stepper-item-header:focus,:host([layout=horizontal-single]) .stepper-item-header:focus{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-spacing-base) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{cursor:auto;transition-timing-function:cubic-bezier(.4,0,.2,1);padding-block:0;padding-inline-end:var(--calcite-internal-stepper-item-spacing-unit-m);text-align:start}:host([layout=horizontal-single]) .stepper-item-header{grid-area:1/1/1/-1}:host([layout=horizontal]) .stepper-item-content,:host([layout=horizontal-single]) .stepper-item-content{grid-area:2/1/2/-1}:host([layout=horizontal][complete]) .stepper-item-header,:host([layout=horizontal-single][complete]) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color, rgba(0, 122, 194, .5))}:host([layout=horizontal][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][complete]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][complete]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-complete-fill-color-hover, var(--calcite-color-brand))}:host([layout=horizontal][error]) .stepper-item-header,:host([layout=horizontal-single][error]) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color, var(--calcite-color-status-danger))}:host([layout=horizontal][selected]) .stepper-item-header,:host([layout=horizontal-single][selected]) .stepper-item-header{border-color:var(--calcite-stepper-bar-selected-fill-color, var(--calcite-color-brand))}:host([layout=horizontal]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-fill-color-hover, rgba(0, 122, 194, .5))}:host([layout=horizontal][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal][error]:focus:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:hover:not([disabled]):not([selected])) .stepper-item-header,:host([layout=horizontal-single][error]:focus:not([disabled]):not([selected])) .stepper-item-header{border-color:var(--calcite-stepper-bar-error-fill-color-hover, var(--calcite-color-status-danger-hover))}@media(forced-colors:active){:host .container{outline-width:0;outline-offset:0}:host(:focus),:host(:focus-visible){outline-color:canvasText}:host([selected]) .container{border-block-start-color:highlight}:host([selected]) .container .stepper-item-number{color:highlight}:host([selected]) .container .stepper-item-icon{color:highlight}:host([layout=vertical][selected]) .container{border-color:highlight}}:host([layout=horizontal-single]) .stepper-item-header{margin-inline-end:0px;border-style:none;inline-size:100%;padding-inline:calc(var(--calcite-internal-stepper-action-inline-size) + .5rem)}:host([layout=horizontal-single][error]) .container .stepper-item-number{color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error]) .container .stepper-item-icon{opacity:1;color:var(--calcite-stepper-item-error-icon-color, var(--calcite-color-status-danger))}:host([layout=horizontal-single][error][selected]),:host([layout=horizontal-single][complete][selected]) .container{color:var(--calcite-color-text-3)}:host([layout=horizontal-single][error][selected]) .stepper-item-heading,:host([layout=horizontal-single][complete][selected]) .container .stepper-item-heading{color:var(--calcite-stepper-item-header-text-color, var(--calcite-color-text-2))}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-icon{opacity:var(--calcite-opacity-disabled)}:host([layout=horizontal-single][complete][selected]) .container .stepper-item-number{color:var(--calcite-stepper-item-selected-icon-color, var(--calcite-color-text-3))}.visually-hidden{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([item-hidden]){display:none}`,s=class extends h{constructor(){super(),this.headerRef=p(),this.itemPosition=0,this.selectedPosition=0,this.messages=f(),this.focusSetter=g()(this),this.interactiveContainer=y(this),this.stepperItemHasContent=!1,this.complete=!1,this.disabled=!1,this.error=!1,this.icon=!1,this.iconFlipRtl=!1,this.itemHidden=!1,this.numbered=!1,this.scale="m",this.selected=!1,this.calciteInternalStepperItemUpdate=a({cancelable:!1}),this.calciteInternalStepperItemSelect=a({cancelable:!1}),this.calciteStepperItemSelect=a({cancelable:!1}),this.listenOn(document.body,"calciteInternalStepperItemChange",this.updateActiveItemOnChange),this.listen("click",this.handleItemClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={stepperItemHasContent:[16,{},{state:!0}],complete:[7,{},{reflect:!0,type:Boolean}],description:1,disabled:[7,{},{reflect:!0,type:Boolean}],error:[7,{},{reflect:!0,type:Boolean}],heading:1,icon:[5,{},{type:Boolean}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],itemHidden:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],numbered:[5,{},{type:Boolean}],numberingSystem:1,scale:[3,{},{reflect:!0}],selected:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=I}async setFocus(e){return this.focusSetter(()=>this.layout==="vertical"?this.el:this.headerRef.value,e)}async load(){this.parentStepperEl=this.el.parentElement,this.itemPosition=this.getItemPosition(),this.selected&&this.emitRequestedItem()}willUpdate(e){e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.selectedHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.calciteInternalStepperItemUpdate.emit(),e.has("messages")&&this.effectiveLocaleWatcher(this.messages._lang)}updated(){m(this.el,"tabindex",this.disabled||this.layout==="horizontal"?null:0)}selectedHandler(){this.selected&&this.emitRequestedItem()}effectiveLocaleWatcher(e){l.numberFormatOptions={locale:e,numberingSystem:this.numberingSystem,useGrouping:!1}}updateActiveItemOnChange(e){(e.target===this.parentStepperEl||e.composedPath().includes(this.parentStepperEl))&&(this.selectedPosition=e.detail.position,this.determineSelectedItem())}keyDownHandler(e){!this.disabled&&e.target===this.el&&z(e.key)&&(this.emitUserRequestedItem(),e.preventDefault())}determineSelectedItem(){this.selected=!this.disabled&&this.itemPosition===this.selectedPosition}handleItemClick(e){this.disabled||b(this.el)||this.layout==="horizontal"&&e.composedPath().some(x=>x.classList?.contains("stepper-item-content"))||this.emitUserRequestedItem()}emitUserRequestedItem(){this.emitRequestedItem(),this.disabled||this.calciteStepperItemSelect.emit()}emitRequestedItem(){if(!this.disabled){let e=this.itemPosition;this.calciteInternalStepperItemSelect.emit({position:e})}}getItemPosition(){let e=this.parentStepperEl?.querySelectorAll("calcite-stepper-item:not([hidden]):not([item-hidden])");return e?Array.from(e).indexOf(this.el):-1}render(){return this.el.ariaCurrent=this.selected?"step":"false",this.interactiveContainer({disabled:this.disabled,children:r`<div class=${i(t.container)}>${this.complete&&r`<span aria-live=polite class=${i(t.visuallyHidden)}>${this.messages.complete}</span>`||""}<div class=${i(t.stepperItemHeader)} tabindex=${(this.layout==="horizontal"&&!this.disabled?0:void 0)??n} ${d(this.headerRef)}>${this.icon?this.renderIcon():null}${this.numbered?r`<div class=${i(t.stepperItemNumber)}>${this.renderNumbers()}.</div>`:null}<div class=${i(t.stepperItemHeaderText)}><span class=${i(t.stepperItemHeading)}>${this.heading}</span><span class=${i(t.stepperItemDescription)}>${this.description}</span></div></div><div class=${i({[t.stepperItemContent]:!0,[t.hasSlottedContent]:this.stepperItemHasContent})}><slot @slotchange=${e=>this.stepperItemHasContent=v(e)}></slot></div></div>`})}renderIcon(){let e=o.circle;return this.selected&&(this.layout!=="horizontal-single"||!this.error&&!this.complete)?e=o.circleF:this.error?e=o.exclamationMarkCircleF:this.complete&&(e=o.checkCircleF),r`<calcite-icon class=${i(t.stepperItemIcon)} .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`}renderNumbers(){return l.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:!1},l.numberFormatter.format(this.itemPosition+1)}};u("calcite-stepper-item",s);export{s as StepperItem};
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as y}from"./7R2OHTUX.js";import{a as h,b as S,c as x}from"./24ZPXFO2.js";import{c as u}from"./XX43OXTK.js";import{c as v}from"./77M5NVCW.js";import"./VUYX7MNO.js";import{a as b}from"./ZWCCUVYR.js";import"./ZWPNZ5XW.js";import"./D3JB5ZKH.js";import"./E5ZJR273.js";import{x as A,z as r}from"./TNNCPRM2.js";import{E as c,F as l,G as m,H as f,T as g,g as p,h as n,p as a}from"./IDY2PICV.js";var E=p`:host{box-sizing:border-box;background-color: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-group-gap: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-group-gap: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-group-gap: var(--calcite-spacing-sm-plus)}:host{display:flex;flex-direction:column;padding:0;background-color:transparent;border-color:var(--calcite-action-group-border-color, var(--calcite-color-border-3));border-style:solid;border-width:0;gap:var(--calcite-internal-action-group-gap)}.container{display:flex;flex-grow:1;flex-direction:column;gap:inherit}:host([columns="1"]){--calcite-internal-action-group-columns: 1}:host([columns="2"]){--calcite-internal-action-group-columns: 2}:host([columns="3"]){--calcite-internal-action-group-columns: 3}:host([columns="4"]){--calcite-internal-action-group-columns: 4}:host([columns="5"]){--calcite-internal-action-group-columns: 5}:host([columns="6"]){--calcite-internal-action-group-columns: 6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;background-color:transparent;gap:var(--calcite-action-group-gap, var(--calcite-internal-action-group-gap));grid-template-columns:repeat(var(--calcite-action-group-columns, var(--calcite-internal-action-group-columns, 3)),auto);padding:var(--calcite-action-group-gap, 1px)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-inline-end:var(--calcite-size-px)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends m{constructor(){super(),this.messages=y(),this._actions=[],this.focusSetter=b()(this),this.defaultSlotRef=c(),this.menuActionsSlotRef=c(),this.hasMenuActions=!1,this.expanded=!1,this.layout="vertical",this.menuOpen=!1,this.overlayPositioning="absolute",this.overflowActionsDisabled=!1,this.scale="m",this.selectionMode="none",this.topLayerDisabled=!1,this.selectedActions=[],this.calciteActionGroupCollapse=a({cancelable:!1}),this.calciteActionGroupExpand=a({cancelable:!1}),this.calciteActionGroupChange=a({cancelable:!1}),this.calciteInternalActionGroupActionsChange=a({cancelable:!1}),this.listen("click",this.handleActionClick)}static{this.properties={hasMenuActions:[16,{},{state:!0}],columns:[11,{},{type:Number,reflect:!0}],expanded:[7,{},{reflect:!0,type:Boolean}],label:1,layout:[3,{},{reflect:!0}],menuFlipPlacements:[0,{},{attribute:!1}],menuOpen:[7,{},{reflect:!0,type:Boolean}],menuPlacement:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overlayPositioning:[3,{},{reflect:!0}],overflowActionsDisabled:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],selectionMode:[3,{},{reflect:!0}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],actions:[32,{},{attribute:!1,readOnly:!0}],selectedActions:[0,{},{attribute:!1}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=E}get actions(){return this._actions}async setFocus(t){return this.focusSetter(()=>this.el,t)}willUpdate(t){(this.hasUpdated||t.has("selectionMode"))&&this.syncSelectionState(),t.has("expanded")&&((this.hasUpdated||this.expanded!==!1)&&(this.menuOpen=!1),this.hasUpdated&&(this.expanded?this.calciteActionGroupExpand.emit():this.calciteActionGroupCollapse.emit()))}setActiveAction(t,e){let s=!e.active;switch(this.selectionMode){case"multiple":this.updateAction(e,s);break;case"single":this.actions.forEach((i,o)=>this.updateAction(i,o===t&&s));break;case"single-persist":this.actions[t].active||(this.actions.forEach((i,o)=>this.updateAction(i,o===t)),this.updateSelectedActions([e]),this.calciteActionGroupChange.emit());return;default:return}this.updateSelectedActions(this.actions.filter(i=>i.active)),this.calciteActionGroupChange.emit()}setMenuOpen(t){this.menuOpen=!!t.currentTarget.open}syncSelectionState(){if(this.selectionMode!=="none"?this.setRoleOnActions():this.clearActionAriaAttributes(),this.selectionMode==="single"||this.selectionMode==="single-persist"){let t=this.actions.filter(e=>e.active);t.length>1&&this.actions.forEach(e=>this.updateAction(e,e===t.at(-1)))}this.updateSelectedActions(this.selectionMode==="none"?[]:this.actions.filter(t=>t.active))}syncActions(){let t=this.defaultSlotRef.value?r(this.defaultSlotRef.value,"calcite-action"):[],e=this.menuActionsSlotRef.value?r(this.menuActionsSlotRef.value,"calcite-action"):[];this._actions=[...t,...e],this.syncSelectionState()}syncActionsAndEmitChange(){this.syncActions(),this.calciteInternalActionGroupActionsChange.emit()}handleDefaultSlotChange(){this.syncActionsAndEmitChange()}handleMenuActionsSlotChange(t){this.hasMenuActions=A(t),this.syncActionsAndEmitChange()}handleActionClick(t){let e=t.composedPath().find(v);if(!e||e.disabled)return;let s=this.actions.indexOf(e);s===-1||this.selectionMode==="none"||this.setActiveAction(s,e)}setRoleOnActions(){this.actions.forEach(t=>{t.aria={...t.aria,role:this.selectionMode==="single"||this.selectionMode==="single-persist"?"radio":"checkbox"},this.setActionAriaChecked(t,t.active)})}setActionAriaChecked(t,e){t.aria={...t.aria,checked:e?"true":"false"}}clearActionAriaAttributes(){this.selectionMode==="none"&&this.actions.forEach(t=>{t.aria&&(t.aria.checked=void 0,t.aria.role=void 0,t.aria={...t.aria})})}updateAction(t,e){t.active=e,this.setActionAriaChecked(t,e)}updateSelectedActions(t){let e=this.selectedActions;e.length===t.length&&e.every((i,o)=>i===t[o])||(this.selectedActions=t)}renderMenu(){let{expanded:t,menuOpen:e,scale:s,layout:i,messages:o,overlayPositioning:$,hasMenuActions:M,menuFlipPlacements:C,menuPlacement:O}=this;return n`<calcite-action-menu .expanded=${t} .flipPlacements=${C??(i==="horizontal"?["top","bottom"]:["left","right"])} .hidden=${!M} .label=${o.more} @calciteActionMenuOpen=${this.setMenuOpen} .open=${e} .overlayPositioning=${$} .placement=${O??(i==="horizontal"?"bottom-start":"leading-start")} .scale=${s} .topLayerDisabled=${this.topLayerDisabled}><calcite-action .aria=${{expanded:t}} .icon=${S.menu} .scale=${s} slot=${u.trigger} .text=${o.more} .textEnabled=${t}></calcite-action><slot name=${h.menuActions} @slotchange=${this.handleMenuActionsSlotChange} ${l(this.menuActionsSlotRef)}></slot><slot name=${h.menuTooltip} slot=${u.tooltip}></slot></calcite-action-menu>`}render(){return n`<div .ariaLabel=${this.label} class=${f(x.container)} .role=${this.selectionMode==="multiple"||this.selectionMode==="none"?"group":"radiogroup"}><slot @slotchange=${this.handleDefaultSlotChange} ${l(this.defaultSlotRef)}></slot>${this.renderMenu()}</div>`}};g("calcite-action-group",d);export{d as ActionGroup};
2
+ import{a as y}from"./GA6KRSSM.js";import{a as h,b as S,c as x}from"./24ZPXFO2.js";import{c as u}from"./XX43OXTK.js";import{c as v}from"./77M5NVCW.js";import"./VUYX7MNO.js";import{a as b}from"./HJFIIT7D.js";import"./ZWPNZ5XW.js";import"./NYNZHDCM.js";import"./7EQBGM5Q.js";import{x as A,z as r}from"./M7XWBRKW.js";import{E as c,F as l,G as m,H as f,T as g,g as p,h as n,p as a}from"./Q5Y5R727.js";var E=p`:host{box-sizing:border-box;background-color: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-group-gap: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-group-gap: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-group-gap: var(--calcite-spacing-sm-plus)}:host{display:flex;flex-direction:column;padding:0;background-color:transparent;border-color:var(--calcite-action-group-border-color, var(--calcite-color-border-3));border-style:solid;border-width:0;gap:var(--calcite-internal-action-group-gap)}.container{display:flex;flex-grow:1;flex-direction:column;gap:inherit}:host([columns="1"]){--calcite-internal-action-group-columns: 1}:host([columns="2"]){--calcite-internal-action-group-columns: 2}:host([columns="3"]){--calcite-internal-action-group-columns: 3}:host([columns="4"]){--calcite-internal-action-group-columns: 4}:host([columns="5"]){--calcite-internal-action-group-columns: 5}:host([columns="6"]){--calcite-internal-action-group-columns: 6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;background-color:transparent;gap:var(--calcite-action-group-gap, var(--calcite-internal-action-group-gap));grid-template-columns:repeat(var(--calcite-action-group-columns, var(--calcite-internal-action-group-columns, 3)),auto);padding:var(--calcite-action-group-gap, 1px)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-inline-end:var(--calcite-size-px)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends m{constructor(){super(),this.messages=y(),this._actions=[],this.focusSetter=b()(this),this.defaultSlotRef=c(),this.menuActionsSlotRef=c(),this.hasMenuActions=!1,this.expanded=!1,this.layout="vertical",this.menuOpen=!1,this.overlayPositioning="absolute",this.overflowActionsDisabled=!1,this.scale="m",this.selectionMode="none",this.topLayerDisabled=!1,this.selectedActions=[],this.calciteActionGroupCollapse=a({cancelable:!1}),this.calciteActionGroupExpand=a({cancelable:!1}),this.calciteActionGroupChange=a({cancelable:!1}),this.calciteInternalActionGroupActionsChange=a({cancelable:!1}),this.listen("click",this.handleActionClick)}static{this.properties={hasMenuActions:[16,{},{state:!0}],columns:[11,{},{type:Number,reflect:!0}],expanded:[7,{},{reflect:!0,type:Boolean}],label:1,layout:[3,{},{reflect:!0}],menuFlipPlacements:[0,{},{attribute:!1}],menuOpen:[7,{},{reflect:!0,type:Boolean}],menuPlacement:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overlayPositioning:[3,{},{reflect:!0}],overflowActionsDisabled:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],selectionMode:[3,{},{reflect:!0}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],actions:[32,{},{attribute:!1,readOnly:!0}],selectedActions:[0,{},{attribute:!1}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=E}get actions(){return this._actions}async setFocus(t){return this.focusSetter(()=>this.el,t)}willUpdate(t){(this.hasUpdated||t.has("selectionMode"))&&this.syncSelectionState(),t.has("expanded")&&((this.hasUpdated||this.expanded!==!1)&&(this.menuOpen=!1),this.hasUpdated&&(this.expanded?this.calciteActionGroupExpand.emit():this.calciteActionGroupCollapse.emit()))}setActiveAction(t,e){let s=!e.active;switch(this.selectionMode){case"multiple":this.updateAction(e,s);break;case"single":this.actions.forEach((i,o)=>this.updateAction(i,o===t&&s));break;case"single-persist":this.actions[t].active||(this.actions.forEach((i,o)=>this.updateAction(i,o===t)),this.updateSelectedActions([e]),this.calciteActionGroupChange.emit());return;default:return}this.updateSelectedActions(this.actions.filter(i=>i.active)),this.calciteActionGroupChange.emit()}setMenuOpen(t){this.menuOpen=!!t.currentTarget.open}syncSelectionState(){if(this.selectionMode!=="none"?this.setRoleOnActions():this.clearActionAriaAttributes(),this.selectionMode==="single"||this.selectionMode==="single-persist"){let t=this.actions.filter(e=>e.active);t.length>1&&this.actions.forEach(e=>this.updateAction(e,e===t.at(-1)))}this.updateSelectedActions(this.selectionMode==="none"?[]:this.actions.filter(t=>t.active))}syncActions(){let t=this.defaultSlotRef.value?r(this.defaultSlotRef.value,"calcite-action"):[],e=this.menuActionsSlotRef.value?r(this.menuActionsSlotRef.value,"calcite-action"):[];this._actions=[...t,...e],this.syncSelectionState()}syncActionsAndEmitChange(){this.syncActions(),this.calciteInternalActionGroupActionsChange.emit()}handleDefaultSlotChange(){this.syncActionsAndEmitChange()}handleMenuActionsSlotChange(t){this.hasMenuActions=A(t),this.syncActionsAndEmitChange()}handleActionClick(t){let e=t.composedPath().find(v);if(!e||e.disabled)return;let s=this.actions.indexOf(e);s===-1||this.selectionMode==="none"||this.setActiveAction(s,e)}setRoleOnActions(){this.actions.forEach(t=>{t.aria={...t.aria,role:this.selectionMode==="single"||this.selectionMode==="single-persist"?"radio":"checkbox"},this.setActionAriaChecked(t,t.active)})}setActionAriaChecked(t,e){t.aria={...t.aria,checked:e?"true":"false"}}clearActionAriaAttributes(){this.selectionMode==="none"&&this.actions.forEach(t=>{t.aria&&(t.aria.checked=void 0,t.aria.role=void 0,t.aria={...t.aria})})}updateAction(t,e){t.active=e,this.setActionAriaChecked(t,e)}updateSelectedActions(t){let e=this.selectedActions;e.length===t.length&&e.every((i,o)=>i===t[o])||(this.selectedActions=t)}renderMenu(){let{expanded:t,menuOpen:e,scale:s,layout:i,messages:o,overlayPositioning:$,hasMenuActions:M,menuFlipPlacements:C,menuPlacement:O}=this;return n`<calcite-action-menu .expanded=${t} .flipPlacements=${C??(i==="horizontal"?["top","bottom"]:["left","right"])} .hidden=${!M} .label=${o.more} @calciteActionMenuOpen=${this.setMenuOpen} .open=${e} .overlayPositioning=${$} .placement=${O??(i==="horizontal"?"bottom-start":"leading-start")} .scale=${s} .topLayerDisabled=${this.topLayerDisabled}><calcite-action .aria=${{expanded:t}} .icon=${S.menu} .scale=${s} slot=${u.trigger} .text=${o.more} .textEnabled=${t}></calcite-action><slot name=${h.menuActions} @slotchange=${this.handleMenuActionsSlotChange} ${l(this.menuActionsSlotRef)}></slot><slot name=${h.menuTooltip} slot=${u.tooltip}></slot></calcite-action-menu>`}render(){return n`<div .ariaLabel=${this.label} class=${f(x.container)} .role=${this.selectionMode==="multiple"||this.selectionMode==="none"?"group":"radiogroup"}><slot @slotchange=${this.handleDefaultSlotChange} ${l(this.defaultSlotRef)}></slot>${this.renderMenu()}</div>`}};g("calcite-action-group",d);export{d as ActionGroup};
@@ -0,0 +1 @@
1
+ "M13 1h3v3h-1V2h-2zM2 4V2h2V1H1v3zm2 10H2v-2H1v3h3zm11-2v2h-2v1h3v-3zm-1-9v10H3V3zM4 6h4V4H4zm0 3h4V7H4zm4 3v-2H4v2zm5-2H9v2h4zm0-3H9v2h4zm0-1V4H9v2z"
@@ -0,0 +1 @@
1
+ "M2 6H1V2h4v1H2zm22-4h-4v1h3v3h1zM5 22H2v-3H1v4h4zm19-3h-1v3h-3v1h4zM21 5v15H4V5zM5 10h7V6H5zm0 4h7v-3H5zm7 5v-4H5v4zm8-4h-7v4h7zm0-4h-7v3h7zm0-5h-7v4h7z"
@@ -0,0 +1 @@
1
+ "M26 2h5v5h-1V3h-4zm4 23v4h-4v1h5v-5zM27 5v22H6V5zM7 11h9V6H7zm0 5h9v-4H7zm0 5h9v-4H7zm9 1H7v4h9zm10 0h-9v4h9zm0-5h-9v4h9zm0-5h-9v4h9zm0-6h-9v5h9zM3 7V3h4V2H2v5zm4 22H3v-4H2v5h5z"
@@ -0,0 +1 @@
1
+ [{"opacity":".5","d":"M12 7H9V6h2zm-1 2H9v1h1.707zm1 3H9v1h4v-2h-1zM9 3v1h3v1h1V3z"},{"d":"M2 4H1V1h3v1H2zm0 8H1v3h3v-1H2zM13 1v1h2v2h1V1zm2 13h-2v1h3v-3h-1zM9 3v10H3V3zM4 9h4V7H4zm4 3v-2H4v2zm0-8H4v2h4zm7 1.707L14.293 5 12.5 6.793 10.707 5 10 5.707 11.793 7.5 10 9.293l.707.707L12.5 8.207 14.293 10 15 9.293 13.207 7.5z"}]
@@ -0,0 +1 @@
1
+ [{"opacity":".5","d":"M18 6h-6V5h7v3.23q-.144.088-.268.21L18 9.171zm-5 4.207c0-.07.01-.138.02-.207H12v1h1.23a1.5 1.5 0 0 1-.23-.793m0 4.586c0-.285.083-.557.23-.793H12v1h1.02c-.01-.069-.02-.137-.02-.207m5.732 1.768L18 15.828V19h-6v1h7v-3.23a1.5 1.5 0 0 1-.268-.21"},{"d":"M5 22v1H1v-4h1v3zm17 0h-3v1h4v-4h-1zM2 3h3V2H1v4h1zm17-1v1h3v3h1V2zm-7 3v15H4V5zm-1 10H5v4h6zm0-4H5v3h6zm0-5H5v4h6zm9.5 4.207-.707-.707-2.293 2.293L15.207 9.5l-.707.707 2.293 2.293-2.293 2.293.707.707 2.293-2.293 2.293 2.293.707-.707-2.293-2.293z"}]
@@ -0,0 +1 @@
1
+ [{"d":"M26 2h5v5h-1V3h-4zm4 23v4h-4v1h5v-5zM17 5v22H6V5zm-1 17H7v4h9zm0-5H7v4h9zm0-5H7v4h9zm0-6H7v5h9zM3 7V3h4V2H2v5zm4 22H3v-4H2v5h5zm21-15.293L27.293 13 24.5 15.793 21.707 13l-.707.707 2.793 2.793L21 19.293l.707.707 2.793-2.793L27.293 20l.707-.707-2.793-2.793z"},{"opacity":".5","d":"M26.232 21.06c.213.213.48.354.768.411V27H17v-1h9v-4h-9v-1h9.172zm-4.56-4.56-.5-.5H17v1h4.172zM17 5v1h9v5h-9v1h9.172c.1-.1.356-.378.828-.471V5z"}]
@@ -0,0 +1 @@
1
+ [{"opacity":".5","d":"M13 1h3v3h-1V2h-2zM2 4V2h2V1H1v3zm2 10H2v-2H1v3h3zm11-2v2h-2v1h3v-3z"},{"d":"M9 3v10h5V3zm4 9h-3v-2h3zm0-3h-3V7h3zm-3-3V4h3v2zm-7 7h5V3H3zm1-9h3v2H4zm0 3h3v2H4zm0 3h3v2H4z"}]
@@ -0,0 +1 @@
1
+ [{"opacity":".5","d":"M2 6H1V2h4v1H2zm22-4h-4v1h3v3h1zM5 22H2v-3H1v4h4zm19-3h-1v3h-3v1h4z"},{"d":"M13 5v15h8V5zm7 14h-6v-4h6zm0-5h-6v-3h6zm0-4h-6V6h6zM4 20h8V5H4zM5 6h6v4H5zm0 5h6v3H5zm0 4h6v4H5z"}]
@@ -0,0 +1 @@
1
+ [{"d":"M5 5v22h11V5zm10 21H6v-4h9zm0-5H6v-4h9zm0-5H6v-4h9zm0-5H6V6h9zm2-6v22h11V5zm10 21h-9v-4h9zm0-5h-9v-4h9zm0-5h-9v-4h9zm0-5h-9V6h9z"},{"opacity":".5","d":"M26 2h5v5h-1V3h-4zm4 23v4h-4v1h5v-5zM3 7V3h4V2H2v5zm4 22H3v-4H2v5h5z"}]
@@ -0,0 +1 @@
1
+ "M15.576 3.974 8.496.198a1.04 1.04 0 0 0-.991 0L.422 3.974A.8.8 0 0 0 0 4.68V15c0 .552.45 1 1 1h14a1 1 0 0 0 1-1V4.68a.8.8 0 0 0-.424-.706M8.024 1.08l6.859 3.657L10.42 8.3l.72.72L15 5.922v8.371l-5.76-5.76a1.75 1.75 0 0 0-1.21-.513 1.75 1.75 0 0 0-1.27.512L1 14.293V5.929L4.86 9.02l.7-.7-4.449-3.578zM14.293 15H1.707l5.76-5.76a.75.75 0 0 1 1.065 0z"
@@ -0,0 +1 @@
1
+ "M22.603 6.981 12.9 1.311c-.29-.17-.594-.283-.907-.283-.306 0-.596.108-.863.264L1.398 6.98A.8.8 0 0 0 1 7.673V21.5A1.5 1.5 0 0 0 2.5 23h19a1.5 1.5 0 0 0 1.5-1.5V7.673a.8.8 0 0 0-.397-.692M11.664 2.137c.204-.14.468-.14.702.018l9.248 5.406L14.92 12.8l.71.71L22 8.524v12.769l-8.727-8.727a1.8 1.8 0 0 0-1.209-.526 1.8 1.8 0 0 0-1.337.526L2 21.293V8.524l6.37 4.986.71-.71-6.694-5.239zM21.293 22H2.707l8.727-8.727a.8.8 0 0 1 1.132 0z"
@@ -0,0 +1 @@
1
+ "M17.468 2.543a2.4 2.4 0 0 0-1.481-.512c-.506 0-1.005.161-1.409.479L2 10.22V28c0 1.103.896 2 2 2h24c1.104 0 2-.897 2-2V10.22zm-2.32.787c.25-.195.548-.293.853-.29.308.003.622.11.897.323l11.717 7.181L19.62 17.5l.72.72L29 11.526V28c0 .086-.029.164-.05.244L17.256 16.548a1.77 1.77 0 0 0-1.216-.518 1.77 1.77 0 0 0-1.294.518L3.05 28.244C3.03 28.164 3 28.086 3 28V11.526l8.66 6.694.72-.72-8.995-6.956zM4 29c-.086 0-.164-.029-.244-.05l11.696-11.695a.77.77 0 0 1 1.096 0L28.244 28.95c-.08.02-.158.049-.244.049z"
@@ -0,0 +1 @@
1
+ "M10.999 10.071c.002.055.002.182.001.929-.001.84-.01 2.335-.137 2.919a40 40 0 0 0-.34 1.72l-.987-.164s.117-.7.35-1.769c.175-.799.144-2.794.116-3.55v.01h-1L9 9.872a.5.5 0 0 0-.325-.03V10h-1v-.583C7.675 9 7.525 9 7.35 9 7.194 9 7 9 7 9.416V11H6V5.855c.003-.257.008-.596-.133-.738-.135-.137-.587-.14-.725 0-.147.147-.144.505-.142.678v5.97L2.256 9.114c-.082-.08-.236-.206-.33-.155-.054.032-.052.112-.019.17l1.53 3.275 1.706 2.162-.786.62-1.801-2.307L1.02 9.59a1.11 1.11 0 0 1 .406-1.497c.477-.277 1.049-.163 1.526.304L4 9.408V5.855c-.003-.36-.008-1 .432-1.443.529-.532 1.624-.526 2.147.002.434.44.426 1.073.422 1.378v2.271C7.113 8.037 7.22 8 7.35 8c.626 0 1.066.324 1.239.867.073-.01.128-.034.21-.034.36 0 .667.126.883.326a1.2 1.2 0 0 1 .368-.06c.338 0 .91.127.949.972m4.627-3.54c-.52-.511-1.402-.502-2.33-.488-1.245.021-2.074-.022-2.263-.676-.17-.593.25-.905 1.251-1.477.722-.412 1.655-.95 1.714-1.876a1.8 1.8 0 0 0-.115-.714C13.57.443 12.667-.046 11.487.007 9 .069 5.414 1.979 5.263 2.06l.474.88c.035-.018 3.528-1.884 5.776-1.94.34-.014 1.216.034 1.437.64.186.512-.112.782-1.162 1.381-.747.427-1.72.986-1.788 1.977-.014.197.008.412.075.647.414 1.435 1.98 1.417 3.236 1.398.62-.004 1.392-.018 1.613.2.02.02.076.075.076.257 0 .448-1.001 1.19-1.724 1.553l.448.894c.38-.19 2.271-1.2 2.271-2.447 0-.398-.121-.725-.369-.969"
@@ -0,0 +1 @@
1
+ "M15.867 15.338A56 56 0 0 1 16 19c0 .903.003 1.768-.136 2.4-.218.997-.397 1.288-.571 1.569-.12.194-.234.378-.396.926l-.96-.286c.202-.674.363-.936.505-1.167.142-.227.263-.424.446-1.256.345-1.582.036-5.182-.011-5.692-.276-.76-.54-.76-.669-.76a.5.5 0 0 0-.208.025v1.033h-1V15l-.003-.34c-.012-.193-.084-.693-.52-.693-.366 0-.477.11-.477.47V15h-1v-1.379c0-.49-.627-.562-1-.562-.663 0-1 .189-1 .562V15H8V7.9c0-.327-.271-.846-1-.846s-1 .52-1 .846v9.7l-2.838-3.39a.7.7 0 0 0-.433-.318c-.207-.057-.437-.04-.58.042a.5.5 0 0 0-.23.301.62.62 0 0 0 .068.467l2.144 4.359 3.223 3.921-.774.635-3.32-4.063-2.154-4.381a1.6 1.6 0 0 1-.153-1.196c.104-.387.35-.71.697-.91.369-.213.868-.266 1.337-.142.442.118.793.372.99.715L5 14.854V7.9c0-.908.748-1.846 2-1.846S9 6.992 9 7.9v4.326c.27-.103.597-.167 1-.167 1.101 0 1.672.468 1.89 1.005.176-.06.37-.097.588-.097.645 0 1.073.35 1.306.816q.183-.048.424-.05c1.116 0 1.506 1.12 1.634 1.489zm3.26-5.331c-2.276-.022-3.791-.145-4.073-1.608-.284-1.471.763-2.012 2.522-2.73C18.768 5.186 20 4.685 20 3.5c0-.576-.21-1.07-.627-1.467C18.192.908 15.75.996 15.5 1.006c-3.716 0-8.098 2.955-8.282 3.08l.564.827C7.824 4.883 12.095 2 15.523 2c.62-.032 2.421.052 3.16.758A.97.97 0 0 1 19 3.5c0 .51-.875.867-1.8 1.244-1.514.616-3.589 1.461-3.129 3.845.46 2.375 3.003 2.398 5.048 2.418 1.958.017 2.881.115 2.881.93 0 1.56-2.567 2.067-2.593 2.072l.185.982c.14-.025 3.408-.666 3.408-3.053 0-1.896-2.057-1.915-3.872-1.931"
@@ -0,0 +1 @@
1
+ "M20.9 18.688c.001.034.099 3.312.099 5.824 0 1.048-.047 1.676-.21 2.425-.543 2.48-2.056 4.093-2.12 4.16l-.726-.688c.015-.014 1.388-1.49 1.869-3.686.144-.66.164-1.221.188-2.235.06-2.473-.098-5.718-.099-5.75a.904.904 0 0 0-.901-.863c-.505 0-1 .495-1 1v.469h-1V17.5c0-.413-.576-.5-1.06-.5-.906 0-.906.339-.906.52v1.824H14v-2.456c0-.475-.477-.907-1-.907s-1 .432-1 .907v2.456h-1V9.937c0-.474-.477-.906-1-.906s-1 .432-1 .906v11.949l-4.045-5.402c-.388-.527-.865-.663-1.353-.381-.572.33-.402.945-.25 1.283l3.363 6.895 3.42 5.233-.838.547-3.45-5.288-3.4-6.963c-.48-1.064-.22-2.068.655-2.573.926-.536 1.97-.281 2.656.652L8 18.882V9.937c0-1.033.916-1.906 2-1.906s2 .873 2 1.906v5.318a2 2 0 0 1 1-.274c.833 0 1.562.518 1.857 1.225.269-.123.615-.206 1.083-.206 1.144 0 1.876.442 2.028 1.197A1.9 1.9 0 0 1 19 16.875c1.016 0 1.85.797 1.9 1.813m10.062-3.249C30.684 13.17 28.107 13 24.156 13c-2.605 0-3.965-1.18-4.125-2.278-.162-1.108.791-2.11 2.488-2.618 4.326-1.294 4.487-3.199 4.472-3.601.013-.23.02-1.135-.728-1.973C25.357 1.515 23.755 1 21.5 1c-5.093 0-11.027 3.917-11.277 4.084l.554.832C10.836 5.876 16.712 2 21.5 2c1.913 0 3.296.406 3.999 1.176.557.61.506 1.246.502 1.358.001.015-.005 1.486-3.77 2.612-2.173.65-3.425 2.11-3.189 3.72.229 1.56 1.898 3.134 5.114 3.134 3.911 0 5.684.226 5.848 1.56.32 2.605-3.566 3.442-3.605 3.45l.202.98c1.671-.343 4.707-1.735 4.361-4.55"
@@ -0,0 +1 @@
1
+ "M16 2.833v10.334a.834.834 0 0 1-.833.833H8v-1h7V3H1v3H0V2.833C0 2.374.374 2 .833 2h14.334c.459 0 .833.374.833.833M.5 11H0v1h.5c.827 0 1.5.673 1.5 1.5v.5h1v-.5C3 12.121 1.879 11 .5 11m0-2H0v1h.5C2.43 10 4 11.57 4 13.5v.5h1v-.5C5 11.019 2.981 9 .5 9m0-2H0v1h.5C3.532 8 6 10.468 6 13.5v.5h1v-.5C7 9.916 4.084 7 .5 7"
@@ -0,0 +1 @@
1
+ "M24 5v14a1 1 0 0 1-1 1H10v-1h13V5H1v5H0V5a1 1 0 0 1 1-1h22a1 1 0 0 1 1 1M.5 17H0v1h.5c.827 0 1.5.673 1.5 1.5v.5h1v-.5C3 18.121 1.879 17 .5 17m0-3H0v1h.5C2.981 15 5 17.019 5 19.5v.5h1v-.5C6 16.468 3.532 14 .5 14m0-3H0v1h.5C4.636 12 8 15.364 8 19.5v.5h1v-.5C9 14.813 5.187 11 .5 11"
@@ -0,0 +1 @@
1
+ "M32 6.167v19.666c0 .644-.523 1.167-1.167 1.167H14v-1h16.833a.17.17 0 0 0 .167-.167V6.167A.17.17 0 0 0 30.833 6H1.167A.17.17 0 0 0 1 6.167V13H0V6.167C0 5.523.523 5 1.167 5h29.666C31.477 5 32 5.523 32 6.167M.5 23H0v1h.5C1.879 24 3 25.121 3 26.5v.5h1v-.5C4 24.57 2.43 23 .5 23m0-4H0v1h.5C4.084 20 7 22.916 7 26.5v.5h1v-.5C8 22.364 4.636 19 .5 19m0-4H0v1h.5C6.29 16 11 20.71 11 26.5v.5h1v-.5C12 20.16 6.84 15 .5 15"
@@ -0,0 +1 @@
1
+ "M15.955 12.507C15.765 12.923 14.758 15 13.5 15a1.27 1.27 0 0 1-.954-.412c-.63-.678-.556-1.979-.545-2.124V2H6.993C6.874 14.841 2.201 15 2 15l-.01-1c.039-.002 3.896-.314 4.005-12H4C1.896 2 .983 4.633.974 4.66l-.949-.318C.071 4.205 1.172 1 4 1h11v1h-2v10.5c-.023.361.015 1.125.278 1.408A.28.28 0 0 0 13.5 14c.4 0 1.135-1.005 1.545-1.907z"
@@ -0,0 +1 @@
1
+ "M22.025 17.342C21.735 18.209 20.858 20 20 20c-.98 0-1-1.44-1-1.5V4h3V3H7.5C3.16 3 2.026 7.335 2.015 7.379l.97.243C3.021 7.475 3.948 4 7.5 4h2.495C9.891 19.611 5.04 19.998 4.99 20L5 21c.243 0 5.883-.206 5.995-17H18v14.5c0 .864.418 2.5 2 2.5 1.809 0 2.86-3 2.975-3.342z"
@@ -0,0 +1 @@
1
+ "M30.947 23.724C30.677 24.264 28.244 29 26 29c-.849 0-1.542-.273-2.062-.812-.987-1.025-.94-2.638-.938-2.707V4H12.995C12.892 28.702 5.324 29 5 29l-.008-1c.069-.002 6.905-.515 7.003-24H9.5C2.998 4 2.031 9.354 1.993 9.582l-.986-.164C1.017 9.354 2.16 3 9.5 3H29v1h-5v21.5c-.001.03-.031 1.282.661 1.997.328.339.767.503 1.339.503 1.23 0 3.139-2.897 4.053-4.724z"
@@ -0,0 +1 @@
1
+ "M13 2h3v3h-1V3h-2zM2 5V3h2V2H1v3zm2 9H2v-2H1v3h3zm11-2v2h-2v1h3v-3zM3 5v7h11V5zm10 6H4V9h9zM4 8V6h9v2z"
@@ -0,0 +1 @@
1
+ "M2 6H1V2h4v1H2zm22-4h-4v1h3v3h1zM5 22H2v-3H1v4h4zm19-3h-1v3h-3v1h4zM4 7v11h17V7zm16 10H5v-4h15zM5 12V8h15v4z"
@@ -0,0 +1 @@
1
+ "M26 2h5v5h-1V3h-4zm4 23v4h-4v1h5v-5zM3 7V3h4V2H2v5zm4 22H3v-4H2v5h5zM5 8v16h23V8zm22 15H6v-4h21zm0-5H6v-4h21zM6 13V9h21v4z"
@@ -0,0 +1 @@
1
+ [{"d":"M13 2h3v3h-1V3h-2zM2 5V3h2V2H1v3zm2 9H2v-2H1v3h3zm11-2v2h-2v1h3v-3zm-1-8v4H3V4zm-1 1H4v2h9zm-2 5.707L10.293 10 8.5 11.793 6.707 10 6 10.707 7.793 12.5 6 14.293l.707.707L8.5 13.207 10.293 15l.707-.707L9.207 12.5z"},{"opacity":".5","d":"M14 9v4h-3v-1h2v-2H4v2h2v1H3V9z"}]
@@ -0,0 +1 @@
1
+ [{"d":"M2 6H1V2h4v1H2zm22-4h-4v1h3v3h1zM5 22H2v-3H1v4h4zm19-3h-1v3h-3v1h4zM4 6v6h17V6zm16 5H5V7h15zm-4.646 4.354-.708-.708-2.146 2.147-2.146-2.147-.708.708 2.147 2.146-2.147 2.146.708.708 2.146-2.147 2.144 2.145.708-.708-2.145-2.144z"},{"opacity":".5","d":"M21 13v6h-4.23a1.5 1.5 0 0 0-.21-.268L15.829 18H20v-4H5v4h4.172l-.733.732a1.5 1.5 0 0 0-.208.268H4v-6z"}]
@@ -0,0 +1 @@
1
+ [{"opacity":".5","d":"M28 20v6h-8.172l-.5-.5.5-.5H27v-4H6v4h7.172l.5.5-.5.5H5v-6z"},{"d":"M26 2h5v5h-1V3h-4zm4 23v4h-4v1h5v-5zM28 6v6H5V6zm-1 1H6v4h21zm1 6v6H5v-6zm-1 1H6v4h21zM3 7V3h4V2H2v5zm4 22H3v-4H2v5h5zm13-6.293L19.293 22 16.5 24.793 13.707 22l-.707.707 2.793 2.793L13 28.293l.707.707 2.793-2.793L19.293 29l.707-.707-2.793-2.793z"}]
@@ -0,0 +1 @@
1
+ [{"d":"M14 4v4H3V4zm-1 1H4v2h9zm1 4v4H3V9zm-1 1H4v2h9z"},{"opacity":".5","d":"M13 2h3v3h-1V3h-2zM2 5V3h2V2H1v3zm2 9H2v-2H1v3h3zm11-2v2h-2v1h3v-3z"}]
@@ -0,0 +1 @@
1
+ [{"d":"M21 6v6H4V6zm-1 1H5v4h15zm1 6v6H4v-6zm-1 1H5v4h15z"},{"opacity":".5","d":"M2 6H1V2h4v1H2zm22-4h-4v1h3v3h1zM5 22H2v-3H1v4h4zm19-3h-1v3h-3v1h4z"}]
@@ -0,0 +1 @@
1
+ [{"d":"M28 6v6H5V6zm-1 1H6v4h21zm1 6v6H5v-6zm-1 1H6v4h21zm1 6v6H5v-6zm-1 1H6v4h21z"},{"opacity":".5","d":"M26 2h5v5h-1V3h-4zm4 23v4h-4v1h5v-5zM3 7V3h4V2H2v5zm4 22H3v-4H2v5h5z"}]
@@ -0,0 +1 @@
1
+ "M15 4.707V1.313C15 .589 14.411 0 13.687 0H4.293L1 3.293v11.394C1 15.412 1.589 16 2.312 16h11.375c.724 0 1.313-.589 1.313-1.312V8.293l-1-1V5.707zm-1 4v5.98c0 .172-.14.313-.313.313H2.312A.313.313 0 0 1 2 14.688V3.707L4.707 1h8.98c.172 0 .313.14.313.312v2.981l-1 1v2.414zM4 7H3V4h1zm2-2H5V2h1zm2 0H7V2h1zm2 0H9V2h1zm1-3h1v3h-1zM5.312 9H7v1H5.312a.313.313 0 0 0-.312.313v.374c0 .172.14.313.312.313h.375C6.411 11 7 11.589 7 12.313v.374C7 13.412 6.411 14 5.687 14H4v-1h1.687c.172 0 .313-.14.313-.312v-.376A.313.313 0 0 0 5.687 12h-.375A1.314 1.314 0 0 1 4 10.688v-.376C4 9.59 4.589 9 5.312 9m4.73 0H8v5h2.042A1.96 1.96 0 0 0 12 12.042v-1.084A1.96 1.96 0 0 0 10.042 9M11 12.042a.96.96 0 0 1-.958.958H9v-3h1.042a.96.96 0 0 1 .958.958z"
@@ -0,0 +1 @@
1
+ "M21 5.707V2.312C21 1.59 20.411 1 19.687 1H7.293L3 5.293v16.395C3 22.41 3.589 23 4.312 23h15.375c.724 0 1.313-.589 1.313-1.312V10.293l-1-1V6.707zm-1 5v10.98c0 .172-.14.313-.313.313H4.312A.313.313 0 0 1 4 21.688V5.707L7.707 2h11.98c.172 0 .313.14.313.312v2.981l-1 1v3.414zM6 6h1v4H6zm3 2H8V4h1zm1-4h1v4h-1zm3 4h-1V4h1zm2 0h-1V4h1zm2 0h-1V4h1zm-6.21 9.427q.207.293.207.804 0 .409-.156.736-.156.328-.42.552a1.5 1.5 0 0 1-.624.345q-.36.119-.768.119-.544 0-1.032-.191c-.488-.191-.584-.326-.776-.592l.633-.544q.206.312.53.46c.325.148.44.147.669.147q.192 0 .392-.06t.364-.18a.8.8 0 0 0 .268-.296.8.8 0 0 0 .104-.407q0-.329-.208-.5-.208-.172-.516-.288a8 8 0 0 0-.672-.225 2.7 2.7 0 0 1-.672-.3 1.6 1.6 0 0 1-.516-.515q-.208-.326-.208-.876 0-.249.108-.529c.108-.28.186-.357.34-.511q.231-.234.596-.389a2.2 2.2 0 0 1 .876-.155q.464 0 .888.128.423.127.744.52l-.624.568q-.144-.225-.408-.36c-.264-.136-.376-.137-.6-.137q-.32 0-.532.084a.95.95 0 0 0-.34.216.8.8 0 0 0-.18.284.9.9 0 0 0-.052.28q0 .36.208.552c.208.192.31.232.516.312q.309.12.672.217.364.095.672.267t.516.464m5.894-1.646a3 3 0 0 0-.355-.622q-.225-.302-.565-.535c-.34-.233-.493-.28-.801-.372a3.7 3.7 0 0 0-1.076-.139h-1.79v5.79h1.66q.777 0 1.37-.246.592-.245.993-.65.4-.405.605-.924.204-.52.204-1.075 0-.27-.056-.59a3.2 3.2 0 0 0-.189-.637m-.785 2.171q-.195.405-.531.675c-.336.27-.484.314-.781.404s-.613.135-.945.135h-.76v-4.317h.949q.703 0 1.144.233.442.233.69.568.251.336.34.707.09.372.09.65 0 .54-.196.945"
@@ -0,0 +1 @@
1
+ "M28 8.707V3.312C28 2.59 27.411 2 26.687 2H10.293L4 8.293v20.395C4 29.41 4.589 30 5.312 30h21.375c.724 0 1.313-.589 1.313-1.312V15.293l-1-1V9.707zm-1 7v12.98c0 .172-.14.313-.313.313H5.312A.313.313 0 0 1 5 28.688V8.706L10.707 3h15.98c.172 0 .313.14.313.313v4.98l-1 1v5.414zm-5.322 5.361a3.3 3.3 0 0 0-.416-.727 2.8 2.8 0 0 0-.66-.626q-.396-.273-.937-.436c-.541-.163-.78-.162-1.258-.162h-2.362v6.77h2.21q.908 0 1.601-.286.693-.288 1.163-.76.467-.474.707-1.081t.239-1.258q0-.315-.067-.689a3.7 3.7 0 0 0-.22-.745m-.918 2.538q-.23.475-.621.79-.393.315-.914.473a3.8 3.8 0 0 1-1.105.158h-1.156v-5.05h1.377q.822 0 1.339.273.515.273.807.665c.292.392.327.537.398.827.07.29.115.544.115.76 0 .42-.087.789-.24 1.104m-6.007-.615q.241.34.241.935 0 .474-.18.855a1.9 1.9 0 0 1-.489.642 2.2 2.2 0 0 1-.725.4q-.42.14-.893.139-.633 0-1.2-.223a2 2 0 0 1-.903-.688l.736-.632q.242.362.618.534.377.172.776.172.223.001.456-.07.232-.07.423-.208.19-.14.312-.345a.9.9 0 0 0 .12-.474q0-.382-.241-.582-.242-.2-.6-.334c-.358-.134-.499-.176-.781-.26s-.543-.2-.781-.35a1.9 1.9 0 0 1-.6-.599q-.242-.377-.242-1.018 0-.289.126-.614a1.7 1.7 0 0 1 .395-.595q.27-.27.693-.451c.423-.181.62-.182 1.018-.182q.54 0 1.032.15.494.148.866.604l-.726.66a1.2 1.2 0 0 0-.475-.419 1.5 1.5 0 0 0-.697-.158q-.372 0-.618.098-.248.098-.395.25a.9.9 0 0 0-.21.33 1 1 0 0 0-.06.327q0 .417.241.641.242.224.6.363.359.138.781.25.423.114.781.312.36.201.6.54M8 9h1v5H8zm4 1h-1V5h1zm2-5h1v5h-1zm4 5h-1V5h1zm3 0h-1V5h1zm2-5h1v5h-1z"
@@ -0,0 +1 @@
1
+ [{"opacity":".25","d":"M12.5 10.55v4.95h-3v-1.94l.5-.5 2-2.01zM9.43 4.43 8 5.86V7l2.97 2.97 2-2zM1.5 4.5v3h5v-3z"},{"opacity":".5","d":"M15.5 10.82V15c0 .28-.22.5-.5.5h-2.5v-4.95l.05-.05h2.63c.18 0 .32.14.32.32m-.77-5.21-2.97-2.97a.53.53 0 0 0-.63.09l-1.7 1.7 3.54 3.54 1.7-1.7c.17-.18.2-.46.06-.66M2.094 1.5a.595.595 0 0 0-.594.594V4.5h5V2.094a.595.595 0 0 0-.594-.594z"},{"d":"M4 13v1H3v-1zM7 2.03v12.94C7 15.54 6.54 16 5.97 16H2.03C1.46 16 1 15.54 1 14.97V2.03C1 1.46 1.46 1 2.03 1h3.94C6.54 1 7 1.46 7 2.03M6 11H2v4h4zm0-3H2v2h4zm0-3H2v2h4zm0-3H2v2h4zm9.32 3.89c0 .28-.11.54-.3.73L8 13.64v-1.46l.24-.24L8 11.7v-1.4l.94.94 1.3-1.3L8 7.71V5.16l2.78-2.78c.19-.2.45-.3.72-.3.28 0 .54.1.73.3l2.79 2.78c.19.2.3.46.3.73m-3.08 2.05L9.45 5.15l-1.3 1.29 2.79 2.8zm2.07-2.07-2.78-2.79-1.37 1.37 2.78 2.79zM16 10.86v4.11c0 .57-.46 1.03-1.03 1.03H7.71c.17-.27.27-.59.29-.93l.07-.07H9v-.94l1-1V15h2v-3.95L13.05 10h2.09c.48 0 .86.38.86.86M15 11h-2v4h2z"}]
@@ -0,0 +1 @@
1
+ [{"opacity":".25","d":"M18.5 15.5v7h-4v-4.88l2.12-2.12zm-5-9L11 9v1l4.5 4.5 3-3zm-11 0v4h7v-4z"},{"opacity":".5","d":"M20.97 7.97c.29.29.29.77 0 1.06L18.5 11.5l-5-5 2.47-2.47c.29-.29.77-.29 1.06 0zM18.5 15.5v7h3.25a.75.75 0 0 0 .75-.75v-5.5a.75.75 0 0 0-.75-.75zM3.25 2.5a.75.75 0 0 0-.75.75V6.5h7V3.25a.75.75 0 0 0-.75-.75z"},{"d":"M21.76 15h-4.64l-1 1H18v6h-3v-4.88l-1 1V22h-3.01c-.04.37-.17.71-.36 1h11.13c.68 0 1.24-.56 1.24-1.24v-5.52c0-.68-.56-1.24-1.24-1.24m.24 6.76c0 .13-.11.24-.24.24H19v-6h2.76c.13 0 .24.11.24.24zm-.67-14.14-3.95-3.95c-.48-.48-1.28-.48-1.76 0L11 8.29v2.42l3.79 3.79-2.29 2.29-1.5-1.5v1.42l.79.79-.79.79v1.42l3-3L15.71 15l5.62-5.62c.48-.49.48-1.27 0-1.76m-5.83 6.17L11.21 9.5l2.29-2.29 4.29 4.29zm5.12-5.12-2.12 2.12-4.29-4.29 2.12-2.12c.06-.06.13-.07.17-.07s.11.01.17.07l3.95 3.95c.06.06.07.13.07.17s-.01.11-.07.17M8.756 2H3.244C2.56 2 2 2.559 2 3.244v18.512C2 22.44 2.559 23 3.244 23h5.512C9.44 23 10 22.441 10 21.756V3.244C10 2.56 9.441 2 8.756 2M3.244 3h5.512C8.89 3 9 3.11 9 3.244V6H3V3.244C3 3.11 3.11 3 3.244 3M3 10V7h6v3zm6 1v3H3v-3zm-.244 11H3.244A.244.244 0 0 1 3 21.756V15h6v6.756c0 .135-.11.244-.244.244M4 20h1v1H4z"}]
@@ -0,0 +1 @@
1
+ [{"opacity":".25","d":"M23.5 20.5v9h-6v-5.87l3.13-3.13zm-6-12-4 4L20 19l4-4zm-15 0v6h9v-6z"},{"opacity":".5","d":"M28.46 20.5c.574 0 1.04.466 1.04 1.04v6.92a1.04 1.04 0 0 1-1.04 1.04H23.5v-9zm-1.2-10.24-5.02-5.02c-.41-.41-1.07-.41-1.48 0L17.5 8.5 24 15l3.26-3.26c.41-.41.41-1.07 0-1.48M3.578 2.5c-.595 0-1.078.483-1.078 1.078V8.5h9V3.578c0-.595-.483-1.078-1.078-1.078z"},{"d":"M28.46 20h-7.33l-1 1H23v8h-5v-5.87l-1 1V29h-4.06c-.08.37-.23.71-.46 1h15.98c.85 0 1.54-.69 1.54-1.54v-6.92c0-.85-.69-1.54-1.54-1.54m.54 8.46c0 .3-.24.54-.54.54H24v-8h4.46c.3 0 .54.24.54.54zm-1.38-16.37c.6-.6.6-1.58 0-2.18l-5.03-5.03c-.6-.6-1.58-.6-2.18 0L13 12.29v1.42l.5-.5L19.29 19 16 22.29l-3-3v1.42L15.29 23 13 25.29v1.42zm-6.5-6.5c.1-.11.24-.16.38-.16s.28.05.38.16l5.03 5.03c.21.21.21.55 0 .76L24 14.29 18.21 8.5zm-6.91 6.91 3.29-3.29L23.29 15 20 18.29zM10.46 2H3.54C2.69 2 2 2.69 2 3.54v24.92c0 .85.69 1.54 1.54 1.54h6.92c.85 0 1.54-.69 1.54-1.54V3.54C12 2.69 11.31 2 10.46 2M11 28.46a.54.54 0 0 1-.54.54H3.54a.54.54 0 0 1-.54-.54V21h8zM11 20H3v-5h8zm0-6H3V9h8zm0-6H3V3.54A.54.54 0 0 1 3.54 3h6.92a.54.54 0 0 1 .54.54zM6 27H5v-1h1z"}]
@@ -0,0 +1 @@
1
+ [{"opacity":".5","d":"M6.5 7v3.07c.44.303.651.711.723 1.143a1.75 1.75 0 0 1-1.727 2.037h-.002a1.74 1.74 0 0 1-1.726-1.97c.06-.457.27-.892.732-1.21V7z"},{"d":"M7.716 11.132A2.18 2.18 0 0 0 7 9.827V3.5C7 2.673 6.327 2 5.5 2S4 2.673 4 3.5v6.326a2.2 2.2 0 0 0-.729 1.388 2.242 2.242 0 0 0 2.225 2.536 2.25 2.25 0 0 0 2.22-2.617zm-1.268 1.175c-.47.554-1.41.565-1.887.02a1.24 1.24 0 0 1-.297-.983c.017-.129-.001-.503.736-1.011V3.5a.5.5 0 0 1 1 0v6.833c.319.218.637.402.73.961a1.25 1.25 0 0 1-.282 1.013M14 3h-3V2h3zm0 4h-3V6h3zm1-3v1h-4V4zm-4 4h4v1h-4zM9 3.015A3.02 3.02 0 0 0 5.985 0h-.97A3.02 3.02 0 0 0 2 3.015v5.683a4.47 4.47 0 0 0-.999 2.802c0 2.481 2.018 4.5 4.499 4.5s4.5-2.019 4.5-4.5c0-1.01-.354-1.999-1-2.802zM5.5 15C3.57 15 2 13.43 2 11.5c0-.601.11-1.42 1-2.433V3.015C3 1.904 3.903 1 5.015 1h.97C7.097 1 8 1.904 8 3.015v6.052c1.1 1.253 1 2.324 1 2.433C9 13.43 7.43 15 5.5 15"}]
@@ -0,0 +1 @@
1
+ [{"opacity":".5","d":"M10.5 9v7.21c.88.38 1.5 1.26 1.5 2.29a2.5 2.5 0 0 1-5 0c0-1.03.62-1.91 1.5-2.29V9z"},{"d":"M18 3h-3V2h3zm-3 2v1h5V5zm0 7h5v-1h-5zm3-4h-3v1h3zm-5.5 10.5c0 1.654-1.346 3-3 3s-3-1.346-3-3c0-1.083.58-2.07 1.5-2.598V3.5C8 2.673 8.673 2 9.5 2s1.5.673 1.5 1.5v12.402c.92.528 1.5 1.515 1.5 2.598m-1 0c0-1.284-.99-1.741-1.5-1.961V3.5a.5.5 0 0 0-1 0v13.039c-1.502.649-1.5 1.637-1.5 1.961 0 1.103.897 2 2 2s2-.897 2-2m3.5 0c0 3.033-2.468 5.5-5.5 5.5S4 21.533 4 18.5c0-1.642.726-3.166 2-4.22V3.016A3.02 3.02 0 0 1 9.015 0h.97a3.01 3.01 0 0 1 3.008 3.015L13 14.281a5.44 5.44 0 0 1 2 4.219m-1 0c0-1.581-.739-2.775-2-3.729l.001-11.756A2.02 2.02 0 0 0 9.985 1h-.97A2.017 2.017 0 0 0 7 3.015v11.756c-1.261.954-2 2.148-2 3.729C5 20.981 7.019 23 9.5 23s4.5-2.019 4.5-4.5"}]
@@ -0,0 +1 @@
1
+ [{"opacity":".5","d":"M14.5 13v9.684a2.99 2.99 0 0 1 2 2.816 3 3 0 1 1-6 0 2.99 2.99 0 0 1 2-2.816V13z"},{"d":"M23 4h-3V3h3zm-3 9h5v-1h-5zm0-7v1h5V6zm0 13h5v-1h-5zm3-10h-3v1h3zm0 6h-3v1h3zM13.5 3c.827 0 1.5.673 1.5 1.5v17.848c1.093.505 1.781 1.456 1.954 2.712A3.463 3.463 0 0 1 13.476 29a3.463 3.463 0 0 1-3.43-3.94c.173-1.256.861-2.207 1.954-2.712V4.5c0-.827.673-1.5 1.5-1.5m0 24.959c.703.006 1.407-.26 1.882-.805.467-.537.68-1.25.582-1.958-.04-.295-.097-1.495-1.964-2.16V4.5a.5.5 0 0 0-1 0v18.537c-1.867.664-1.923 1.864-1.964 2.16-.098.706.115 1.42.582 1.957.475.545 1.179.811 1.882.805M19 25.5c0 3.033-2.468 5.5-5.5 5.5S8 28.533 8 25.5c0-1.642.726-3.166 2-4.22V4.016A3.02 3.02 0 0 1 13.015 1h.97a3.01 3.01 0 0 1 3.007 3.015L17 21.281a5.44 5.44 0 0 1 2 4.219m-1 0c0-1.581-.739-2.775-2-3.729l.002-17.756A2.02 2.02 0 0 0 13.985 2h-.97A2.017 2.017 0 0 0 11 4.015v17.756c-1.261.954-2 2.148-2 3.729 0 2.481 2.019 4.5 4.5 4.5s4.5-2.019 4.5-4.5"}]
@@ -0,0 +1 @@
1
+ "M15 1H1a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h3a1 1 0 0 0 1 1h2v2H3.5c-.827 0-1.5.673-1.5 1.5V15h12v-1.5c0-.827-.673-1.5-1.5-1.5H9v-2h2a1 1 0 0 0 1-1h3a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1M2.664 8H1V2h1.664a7 7 0 0 0-.657 3c0 1.026.21 2.053.657 3m9.836 5c.275 0 .5.225.5.5v.5H3v-.5c0-.275.225-.5.5-.5zm-.297-5H3.797a6.02 6.02 0 0 1 0-6l8.406-.001A6 6 0 0 1 12.923 4H12v1h.993a6 6 0 0 1-.79 3M15 8h-1.664A7.1 7.1 0 0 0 14 5a6.9 6.9 0 0 0-.664-3H15zm-4.007-3c0-1.654-1.339-3-2.993-3S5 3.346 5 5s1.346 3 3 3 2.993-1.346 2.993-3M8 7c-1.103 0-2-.897-2-2s.897-2 2-2 2 .897 2 2-.897 2-2 2m1-2.281v.562A.72.72 0 0 1 8.281 6H7.72A.72.72 0 0 1 7 5.281V4.72A.72.72 0 0 1 7.719 4h.562A.72.72 0 0 1 9 4.719"
@@ -0,0 +1 @@
1
+ "M21.97 2C23.09 2 24 2.91 24 4.03v7.94c0 1.12-.91 2.03-2.03 2.03h-3.973a2.03 2.03 0 0 1-2.026 2H14v3h3.97c1.12 0 2.03.91 2.03 2.03V22H4v-.97C4 19.91 4.91 19 6.03 19H10v-3H8.03a2.03 2.03 0 0 1-2.027-2H2.029A2.03 2.03 0 0 1 0 11.97V4.03C0 2.91.91 2 2.03 2zm-3.715 11c1.187-1.484 1.774-3.212 1.76-5a8.16 8.16 0 0 0-1.76-5H5.745a8.16 8.16 0 0 0-1.76 5c-.014 1.788.573 3.516 1.76 5zM19 21c-.016-.554-.442-1-1-1H6c-.558 0-.984.446-1 1zm-6-2v-3h-2v3zm2.97-4c.558 0 1.008-.447 1.024-1H7.006c.016.553.466 1 1.023 1zM23 4.03A1.03 1.03 0 0 0 21.97 3h-2.475c1.015 1.515 1.501 3.258 1.501 5s-.486 3.485-1.501 5h2.476A1.03 1.03 0 0 0 23 11.97zM1 11.97c0 .568.462 1.03 1.03 1.03h2.475a8.95 8.95 0 0 1-1.501-5 8.95 8.95 0 0 1 1.501-5H2.03A1.03 1.03 0 0 0 1 4.03zM16 8c0 2.206-1.794 4-4 4s-4-1.794-4-4 1.794-4 4-4 4 1.794 4 4m-1.001 0c0-1.654-1.345-3-2.999-3S9.001 6.346 9.001 8s1.345 3 2.999 3 2.999-1.346 2.999-3M14 7.56v.88c0 .86-.7 1.56-1.56 1.56h-.823A1.62 1.62 0 0 1 10 8.383V7.56C10 6.7 10.7 6 11.56 6h.88C13.3 6 14 6.7 14 7.56m-1 0a.56.56 0 0 0-.56-.56h-.88a.56.56 0 0 0-.56.56v.823c0 .34.277.617.617.617h.822A.56.56 0 0 0 13 8.44zM18 6v1h-1V6z"
@@ -0,0 +1 @@
1
+ "M24 10h-1V9h1zm6-4.266v10.532c0 .956-.778 1.734-1.734 1.734H23v.502A1.5 1.5 0 0 1 21.502 20H18v5h6.844A2.16 2.16 0 0 1 27 27.156V29H5v-1.844A2.16 2.16 0 0 1 7.156 25H14v-5h-3.502A1.5 1.5 0 0 1 9 18.502V18H3.734A1.737 1.737 0 0 1 2 16.266V5.734C2 4.778 2.778 4 3.734 4h24.532C29.222 4 30 4.778 30 5.734M7.776 5a10.93 10.93 0 0 0 0 12h16.448a10.93 10.93 0 0 0 0-12zM3.734 17h2.86C5.513 15.135 5 13.067 5 11s.513-4.135 1.594-6h-2.86A.735.735 0 0 0 3 5.734v10.532c0 .405.33.734.734.734m21.11 9H7.156C6.52 26 6 26.519 6 27.156V28h20v-.844C26 26.52 25.481 26 24.844 26M17 20h-2v5h2zm5-2H10v.502a.5.5 0 0 0 .498.498h11.004a.5.5 0 0 0 .498-.498zm7-12.266A.735.735 0 0 0 28.266 5h-2.86C26.487 6.865 27 8.933 27 11s-.513 4.135-1.594 6h2.86c.405 0 .734-.33.734-.734zM11 11c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5m1 0c0 2.206 1.794 4 4 4s4-1.794 4-4-1.794-4-4-4-4 1.794-4 4m3.63 1h.74a.63.63 0 0 0 .63-.63v-.74a.63.63 0 0 0-.63-.63h-.74a.63.63 0 0 0-.63.63v.74c0 .348.282.63.63.63M13 11.813v-1.626A2.19 2.19 0 0 1 15.187 8h1.625A2.19 2.19 0 0 1 19 10.188v1.624A2.19 2.19 0 0 1 16.812 14h-1.625A2.19 2.19 0 0 1 13 11.813m1 0c0 .655.532 1.187 1.187 1.187h1.625c.656 0 1.188-.532 1.188-1.187v-1.626C18 9.533 17.468 9 16.812 9h-1.625C14.532 9 14 9.532 14 10.188z"