@esri/calcite-components 3.0.0-next.21 → 3.0.0-next.23
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.
- package/dist/calcite/{BMSID4CH.js → 24UHJGQY.js} +2 -2
- package/dist/calcite/{GEAJYYF5.js → 266CSZYJ.js} +2 -2
- package/dist/calcite/{DVFDTXWY.js → 2C3TFTOL.js} +8 -8
- package/dist/calcite/{GTKJFRYE.js → 2LDYXRQY.js} +1 -1
- package/dist/calcite/{VHD26DUJ.js → 2MBQ2YKO.js} +2 -2
- package/dist/calcite/{E3YLNMLV.js → 2NNA6YUP.js} +2 -2
- package/dist/calcite/{GOOI5T5E.js → 2ONKE32A.js} +2 -2
- package/dist/calcite/{NS4OOZNZ.js → 2RABALBG.js} +8 -8
- package/dist/calcite/{XJ5VFDAX.js → 2U6GYQP3.js} +1 -1
- package/dist/calcite/{YCX5S2BH.js → 366D77BP.js} +11 -11
- package/dist/calcite/{QBYQSY6D.js → 3QEWF6Z6.js} +9 -9
- package/dist/calcite/{QWI7TXTM.js → 3RBPGCVX.js} +2 -2
- package/dist/calcite/{ZWXXB5UP.js → 3W7XTPBR.js} +2 -2
- package/dist/calcite/{6NYCRFR3.js → 3WA6GQ4O.js} +2 -2
- package/dist/calcite/{PQE6VSH4.js → 3WFERHTQ.js} +8 -8
- package/dist/calcite/{QSHXWZGM.js → 4CBQYMY5.js} +8 -8
- package/dist/calcite/{64DK2BGV.js → 4GIYCOSQ.js} +2 -2
- package/dist/calcite/{O3JUF57A.js → 4HHIOETO.js} +2 -2
- package/dist/calcite/{3QWWUMGL.js → 4T3IGX4J.js} +9 -9
- package/dist/calcite/{VRHZ7HD5.js → 4W65ZUSP.js} +2 -2
- package/dist/calcite/{VFVMMHKA.js → 56KHTJS7.js} +2 -2
- package/dist/calcite/{6ZBYJJJC.js → 5L7RR475.js} +7 -7
- package/dist/calcite/{LERKT2LE.js → 5N4TBNMO.js} +2 -2
- package/dist/calcite/{IPU5ZU5L.js → 5P2LZ6GN.js} +7 -7
- package/dist/calcite/{V3AJQ36A.js → 5P6NLT52.js} +2 -2
- package/dist/calcite/{V4RHCMLP.js → 5PEDX5AY.js} +2 -2
- package/dist/calcite/{S2NFEAI2.js → 5PPS6LWR.js} +10 -10
- package/dist/calcite/{H7XXUZA2.js → 5RFJ6L6D.js} +10 -10
- package/dist/calcite/{2AOZZPWZ.js → 5UJE7TFX.js} +7 -7
- package/dist/calcite/{SMXUB24Y.js → 5VDTBEDM.js} +9 -9
- package/dist/calcite/{Y7Q2ZIKY.js → 66Q7MZ2Z.js} +10 -10
- package/dist/calcite/{57MM6QXN.js → 6DKDQGVF.js} +7 -7
- package/dist/calcite/{HPLOPRIA.js → 6GY3QHZU.js} +10 -10
- package/dist/calcite/{QKQMO2RP.js → 6HAOWBHC.js} +2 -2
- package/dist/calcite/{WRSV4HC4.js → 6LZ2UIWE.js} +12 -12
- package/dist/calcite/{J637JK4P.js → 6QF3MFWR.js} +10 -10
- package/dist/calcite/{2ODPQCOZ.js → 6U5ISBAI.js} +1 -1
- package/dist/calcite/{277ULXFC.js → 76HT6UAG.js} +8 -8
- package/dist/calcite/{MYAS72BO.js → 76WI7PIO.js} +8 -8
- package/dist/calcite/{GPDVRGZE.js → 7BHGTJGD.js} +7 -7
- package/dist/calcite/{2QNKKKYS.js → 7MLCQPEK.js} +2 -2
- package/dist/calcite/{B3E3EGRZ.js → 7QJYM3Y3.js} +2 -2
- package/dist/calcite/{Y4GVPC65.js → AC6N6LIO.js} +2 -2
- package/dist/calcite/{SBT6BKDC.js → AMANJSYP.js} +2 -2
- package/dist/calcite/{K5IXP7XO.js → BBPZYGUE.js} +2 -2
- package/dist/calcite/{DNXDVBL6.js → BGJW7KU3.js} +2 -2
- package/dist/calcite/{QJSYLVO6.js → BIFFSQRP.js} +2 -2
- package/dist/calcite/{XBUF6KQ4.js → BJ3LKVTY.js} +8 -8
- package/dist/calcite/{BYFU6J7Y.js → BJXGXMRI.js} +2 -2
- package/dist/calcite/{M73GRECF.js → BK7OIDDK.js} +8 -8
- package/dist/calcite/{FNFWNKPY.js → BMEAOPKE.js} +2 -2
- package/dist/calcite/{5M74BHO6.js → BMUTLTZO.js} +9 -9
- package/dist/calcite/{SGBXNXJT.js → BNUD3HPX.js} +2 -2
- package/dist/calcite/{6SVIFRZN.js → BQEGCEK5.js} +7 -7
- package/dist/calcite/{3U4XL2C4.js → BQMIGQSV.js} +21 -21
- package/dist/calcite/{WPZCZYE4.js → C5YAAJW6.js} +1 -1
- package/dist/calcite/{ZB6BFOK7.js → CJZSVOSR.js} +2 -2
- package/dist/calcite/{5ZBQ7GDS.js → CKAWSY2K.js} +2 -2
- package/dist/calcite/{FOXYV4AH.js → CMJYSQBY.js} +8 -8
- package/dist/calcite/{5OZRVUED.js → CQLGMVT6.js} +16 -16
- package/dist/calcite/{OJ3LSWH4.js → CQYE2KJX.js} +7 -7
- package/dist/calcite/{CHZGLVQA.js → CUP2AVPS.js} +2 -2
- package/dist/calcite/{4TO7XBO6.js → D7OUAG3W.js} +11 -11
- package/dist/calcite/{VT7PQVBM.js → DEURKSJT.js} +2 -2
- package/dist/calcite/{J4QLI5FE.js → DLRTJGHA.js} +2 -2
- package/dist/calcite/{DCTP5KNQ.js → DLVDPI6C.js} +10 -10
- package/dist/calcite/{O2CWCBU2.js → DVR62K77.js} +2 -2
- package/dist/calcite/{S5LVAJ45.js → E3TRBIQN.js} +7 -7
- package/dist/calcite/{DNIAJJSF.js → EISQGSOR.js} +2 -2
- package/dist/calcite/{ZMAFXZ2S.js → EKT7D764.js} +2 -2
- package/dist/calcite/{JDIXK7FL.js → EKVZQILU.js} +2 -2
- package/dist/calcite/{5X5L3UJJ.js → EMQYBB52.js} +2 -2
- package/dist/calcite/{76Y6M63P.js → EVAKUM5A.js} +1 -1
- package/dist/calcite/{FDBTMOJ7.js → F52WZZLB.js} +60 -48
- package/dist/calcite/{VW6HK2JZ.js → FFA3O6OV.js} +10 -10
- package/dist/calcite/{AUIO3SKT.js → FIMKO63F.js} +2 -2
- package/dist/calcite/{MU3QJI4G.js → FJCKAC7Y.js} +1 -1
- package/dist/calcite/{TC7BEYNW.js → FJRNODZM.js} +12 -12
- package/dist/calcite/{P4LI7MYL.js → FQBXOIG5.js} +2 -2
- package/dist/calcite/{JA2LSPNQ.js → FYQYJXUR.js} +12 -12
- package/dist/calcite/{PRDGGOPF.js → G72CWGFW.js} +2 -2
- package/dist/calcite/{TI7RXUEF.js → GHSADE7A.js} +2 -2
- package/dist/calcite/{6TG724PB.js → GJO6SYGH.js} +7 -7
- package/dist/calcite/{HT4P6FZL.js → GPHQYRPH.js} +10 -10
- package/dist/calcite/{TNYCLTZF.js → GPIJ4QO2.js} +1 -1
- package/dist/calcite/{2WHXMO6D.js → GSTEHFWM.js} +8 -8
- package/dist/calcite/{MMUIAERF.js → GTNNXUV3.js} +8 -8
- package/dist/calcite/{OET42IOF.js → GVA55PFG.js} +1 -1
- package/dist/calcite/{HLHW22S6.js → GWNWG7SD.js} +2 -2
- package/dist/calcite/{ASTW7DLC.js → GYBLPRM2.js} +29 -29
- package/dist/calcite/{2SRYVZ4T.js → H5EAIYUA.js} +14 -14
- package/dist/calcite/{WX5OUX2F.js → HFL5QFJH.js} +11 -11
- package/dist/calcite/{VYRF75V5.js → HMVHOA6B.js} +2 -2
- package/dist/calcite/{GJYDDB7O.js → HNW3OLD5.js} +18 -18
- package/dist/calcite/{4EGNLD7U.js → HSFKI5J6.js} +7 -7
- package/dist/calcite/{NFKRRKOY.js → I276HATE.js} +2 -2
- package/dist/calcite/{AE7G7FES.js → I4IHFVAI.js} +2 -2
- package/dist/calcite/{OFBDFCVM.js → I4XY6K3H.js} +7 -7
- package/dist/calcite/{YE3HP36O.js → IAZTTYMN.js} +8 -8
- package/dist/calcite/{JQ63WOJ7.js → IH62GKXK.js} +10 -10
- package/dist/calcite/{6GBJ4ARU.js → INTTBI2G.js} +8 -8
- package/dist/calcite/{N32E3UHH.js → ISMZR7LE.js} +2 -2
- package/dist/calcite/{OECVQHQR.js → IW5U7CDR.js} +9 -9
- package/dist/calcite/{3IL5ODH3.js → J7ES76D4.js} +1 -1
- package/dist/calcite/{QYTHPPVW.js → JAFT5Z6H.js} +9 -9
- package/dist/calcite/{PJMDOCL3.js → JCRIPN3I.js} +13 -13
- package/dist/calcite/{6M2MX27J.js → JHADTO7B.js} +13 -13
- package/dist/calcite/{V3DHR4H5.js → JLHPXX3F.js} +15 -15
- package/dist/calcite/{V7GUM56U.js → JM5AZIVZ.js} +13 -13
- package/dist/calcite/{Q7S7GJ7I.js → JNHF2EVV.js} +2 -2
- package/dist/calcite/{MNSPJTI6.js → JX6A7O6P.js} +10 -10
- package/dist/calcite/{7BB2RNB7.js → JZ2LJ5UR.js} +2 -2
- package/dist/calcite/{455DDR6Q.js → K5QQB6EB.js} +11 -11
- package/dist/calcite/{SFHVY3FG.js → KAP77V2S.js} +2 -2
- package/dist/calcite/{IINB6LOE.js → KCKOVEVB.js} +12 -12
- package/dist/calcite/{OMCQIHCZ.js → KF26WBTL.js} +2 -2
- package/dist/calcite/{LKCFCHDW.js → KIUN7ELA.js} +2 -2
- package/dist/calcite/{AXLR6GXC.js → KQRASMIK.js} +2 -2
- package/dist/calcite/{AD4LMMBD.js → L4ZHOUZW.js} +17 -17
- package/dist/calcite/{FJ6XC6FM.js → L6EEXXVB.js} +8 -8
- package/dist/calcite/{MSJOBGYB.js → LCH7DRUY.js} +2 -2
- package/dist/calcite/{PJ2WXXXB.js → LDAOTI73.js} +9 -9
- package/dist/calcite/{FIF2DKMK.js → LFHOUTTE.js} +2 -2
- package/dist/calcite/{T4XGB6WE.js → LHVPKWAU.js} +7 -7
- package/dist/calcite/{D3GMHPB4.js → LIJF2GH5.js} +10 -10
- package/dist/calcite/{UUFVOYFU.js → LMTKF4TF.js} +10 -10
- package/dist/calcite/{22EXZIPI.js → LS4KGNLS.js} +2 -2
- package/dist/calcite/{FQ55CXG4.js → LWPIWJ2O.js} +2 -2
- package/dist/calcite/{HHP6WFN4.js → LWWZXM6F.js} +8 -8
- package/dist/calcite/{FIS2NQW5.js → MAJMOFVC.js} +13 -13
- package/dist/calcite/{QNECKG7O.js → MMNTKXIL.js} +2 -2
- package/dist/calcite/{5NJIC7SE.js → MUYBP2YM.js} +2 -2
- package/dist/calcite/{Z3WBGSDJ.js → MWHEIU2A.js} +10 -10
- package/dist/calcite/{5PQM6QSU.js → MWRIGXE7.js} +1 -1
- package/dist/calcite/{4H5PD2T7.js → MXJ3PE5E.js} +15 -15
- package/dist/calcite/{MJFKJ6CY.js → MZCZ6U6W.js} +12 -12
- package/dist/calcite/{AVRU25LR.js → N6HIXVKF.js} +1 -1
- package/dist/calcite/{3S37ZXVX.js → NHB5TZX2.js} +15 -15
- package/dist/calcite/{4ROAOFHC.js → NKRPQYCQ.js} +2 -2
- package/dist/calcite/{WP2LL5SD.js → NPV6XGSE.js} +2 -2
- package/dist/calcite/{R3UHX6BJ.js → NQP2WNH6.js} +2 -2
- package/dist/calcite/{HHMCS63R.js → NZCF5UIC.js} +2 -2
- package/dist/calcite/{D4V7CSBI.js → OA55T7QR.js} +2 -2
- package/dist/calcite/{43CPEYQK.js → ODO4C3HF.js} +9 -9
- package/dist/calcite/{PHVHU3CX.js → OER7HWKE.js} +8 -8
- package/dist/calcite/{JINPJQ35.js → OH5VT63O.js} +2 -2
- package/dist/calcite/{DVN5CFHJ.js → OHAXHGZE.js} +7 -7
- package/dist/calcite/{ZSRRC5GT.js → OIE622QI.js} +1 -1
- package/dist/calcite/{7OUAOLNT.js → OKWOZJLB.js} +9 -9
- package/dist/calcite/{PP6EGX5M.js → ONRUNLOE.js} +2 -2
- package/dist/calcite/{RUIATQPJ.js → OSD4GTZY.js} +13 -13
- package/dist/calcite/{QJ5FDSYF.js → P4M45WEE.js} +1 -1
- package/dist/calcite/{4L6MDDWP.js → PJYRTQBN.js} +11 -11
- package/dist/calcite/{BIC3NBSP.js → PKXLFEU6.js} +2 -2
- package/dist/calcite/{ND4PQ27A.js → PLM3XFQZ.js} +7 -7
- package/dist/calcite/{CHOZ4QD7.js → PQUTU6E5.js} +7 -7
- package/dist/calcite/{MVOJXWOC.js → PT64LBPF.js} +2 -2
- package/dist/calcite/{B36YEJWR.js → PW374HVU.js} +2 -2
- package/dist/calcite/{I4J3M36L.js → PYPVPZXK.js} +10 -10
- package/dist/calcite/{ZFXLUZ74.js → Q2PCN6VR.js} +9 -9
- package/dist/calcite/{SI3ETC3D.js → Q3XOQCCH.js} +16 -16
- package/dist/calcite/{OF3L2U5X.js → QDTYI3ND.js} +7 -7
- package/dist/calcite/{CEGH6UIB.js → QJOP6RBO.js} +14 -14
- package/dist/calcite/{ORLXA6XZ.js → QP6OOHX3.js} +2 -2
- package/dist/calcite/{IDL4AA5V.js → QPERLN4Q.js} +10 -10
- package/dist/calcite/{ABQLYIFQ.js → QQ5KBFIW.js} +2 -2
- package/dist/calcite/{5H5I5VMF.js → QWDIFV5E.js} +2 -2
- package/dist/calcite/{4LZZ4BCC.js → R6FT4SEV.js} +2 -2
- package/dist/calcite/{I4DPD252.js → REFQN3B6.js} +10 -10
- package/dist/calcite/{52RJTOPX.js → RI3P6LDT.js} +1 -1
- package/dist/calcite/{PIZTDIGU.js → RIND63EQ.js} +2 -2
- package/dist/calcite/{TMKHJKXR.js → RKFKPUWH.js} +7 -7
- package/dist/calcite/{DYTTQ5X6.js → RPQCEHXL.js} +7 -7
- package/dist/calcite/{IN47GQOM.js → RUFASLHW.js} +9 -9
- package/dist/calcite/{CJSLTEBN.js → S7OJP54N.js} +2 -2
- package/dist/calcite/{XOU2CM7X.js → SCG2MB2V.js} +2 -2
- package/dist/calcite/{N37L34I4.js → SIMMN2NT.js} +7 -7
- package/dist/calcite/{YIPHYEKS.js → SXXLNHST.js} +8 -8
- package/dist/calcite/{R2V3BXPO.js → T22OMOYL.js} +8 -8
- package/dist/calcite/{5IRT4FGE.js → T2J2VFXM.js} +2 -2
- package/dist/calcite/{OVCNP5SQ.js → TIWIA3MH.js} +2 -2
- package/dist/calcite/{AGHLHOG6.js → U6AA7YA7.js} +8 -8
- package/dist/calcite/{XNHN4VCK.js → UKNRAEU5.js} +2 -2
- package/dist/calcite/{GFQ3BMJS.js → UM3JX247.js} +11 -11
- package/dist/calcite/{ABFUFIMB.js → VGGT3YKZ.js} +2 -2
- package/dist/calcite/{XMI65KU3.js → VJGIXCF5.js} +8 -8
- package/dist/calcite/{BXKB4ENX.js → VPNZGJNJ.js} +1 -1
- package/dist/calcite/{GMN3RSFV.js → VRHLKQZM.js} +9 -9
- package/dist/calcite/{75LH4454.js → VVUWOU7B.js} +2 -2
- package/dist/calcite/{ERO6LLWU.js → VWNQS2RS.js} +9 -9
- package/dist/calcite/{SACLZBJ3.js → VYA5IJGU.js} +7 -7
- package/dist/calcite/{LN3PWVZO.js → VZQ5MJZP.js} +2 -2
- package/dist/calcite/{335AW3HO.js → W6YVXZ7Z.js} +2 -2
- package/dist/calcite/{7ZJMB5PL.js → WEEZTEFE.js} +2 -2
- package/dist/calcite/{5TBRATUT.js → WK7P3UIZ.js} +2 -2
- package/dist/calcite/{YUAPZOE5.js → WOAUIDVY.js} +10 -10
- package/dist/calcite/{Z25QLLZH.js → WR3U6ABB.js} +10 -10
- package/dist/calcite/{XQDTJQA2.js → WV4GMTUT.js} +11 -11
- package/dist/calcite/{CYCWS2QS.js → X7FNK4SA.js} +1 -1
- package/dist/calcite/{EOFETL7T.js → XG6JHCSZ.js} +7 -7
- package/dist/calcite/XGH4UL7F.js +454 -0
- package/dist/calcite/{FSSFTA2A.js → XJHV3JRB.js} +2 -2
- package/dist/calcite/{HMO6BPQH.js → XM2VN6WF.js} +1 -1
- package/dist/calcite/{AZBWEQGL.js → XNXK7XT3.js} +1 -1
- package/dist/calcite/{67IL2ZZB.js → XPVFLMX3.js} +9 -9
- package/dist/calcite/{BB3IT5BG.js → XY5C6CRP.js} +2 -2
- package/dist/calcite/{J5IRSEXQ.js → XZMHPM4R.js} +7 -7
- package/dist/calcite/{IECZA2XT.js → YC5YA4NI.js} +1 -1
- package/dist/calcite/{ZG6CQJWF.js → YT4W5SKN.js} +1 -1
- package/dist/calcite/{BAVUSYRU.js → YTLTKTXK.js} +9 -9
- package/dist/calcite/{PEIJ6742.js → YWGWIRQY.js} +2 -2
- package/dist/calcite/{JVARADD7.js → Z2FRF4R3.js} +2 -2
- package/dist/calcite/{2QT7J7GM.js → Z3VH4VF4.js} +9 -9
- package/dist/calcite/{5L2SIX5C.js → ZBFN6DFV.js} +8 -8
- package/dist/calcite/{QKD3HZJH.js → ZNZC5KUO.js} +2 -2
- package/dist/calcite/{SHPU4IYL.js → ZZFJUMMN.js} +2 -2
- package/dist/calcite/calcite.css +14 -14
- package/dist/calcite/calcite.esm.js +17 -17
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/focusTrapComponent.js +1 -1
- package/dist/chunks/form.js +1 -1
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/loadable.js +1 -1
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +3 -2
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/time.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +6 -6
- package/dist/components/calcite-accordion-item/customElement.js +6 -6
- package/dist/components/calcite-action/customElement.js +6 -6
- package/dist/components/calcite-action-bar/customElement.js +6 -6
- package/dist/components/calcite-action-group/customElement.js +6 -6
- package/dist/components/calcite-action-menu/customElement.js +6 -6
- package/dist/components/calcite-action-pad/customElement.js +6 -6
- package/dist/components/calcite-alert/customElement.js +6 -6
- package/dist/components/calcite-avatar/customElement.js +6 -6
- package/dist/components/calcite-block/customElement.d.ts +0 -2
- package/dist/components/calcite-block/customElement.js +6 -6
- package/dist/components/calcite-block-section/customElement.js +6 -6
- package/dist/components/calcite-button/customElement.js +6 -6
- package/dist/components/calcite-card/customElement.js +6 -6
- package/dist/components/calcite-card-group/customElement.js +6 -6
- package/dist/components/calcite-carousel/customElement.js +6 -6
- package/dist/components/calcite-carousel-item/customElement.js +6 -6
- package/dist/components/calcite-checkbox/customElement.js +6 -6
- package/dist/components/calcite-chip/customElement.js +6 -6
- package/dist/components/calcite-chip-group/customElement.js +6 -6
- package/dist/components/calcite-color-picker/customElement.js +6 -6
- package/dist/components/calcite-color-picker-hex-input/customElement.js +6 -6
- package/dist/components/calcite-color-picker-swatch/customElement.js +6 -6
- package/dist/components/calcite-combobox/customElement.js +6 -6
- package/dist/components/calcite-combobox-item/customElement.js +6 -6
- package/dist/components/calcite-combobox-item-group/customElement.js +6 -6
- package/dist/components/calcite-date-picker/customElement.js +6 -6
- package/dist/components/calcite-date-picker-day/customElement.js +6 -6
- package/dist/components/calcite-date-picker-month/customElement.js +6 -6
- package/dist/components/calcite-date-picker-month-header/customElement.js +6 -6
- package/dist/components/calcite-dialog/customElement.js +8 -8
- package/dist/components/calcite-dropdown/customElement.js +6 -6
- package/dist/components/calcite-dropdown-group/customElement.js +6 -6
- package/dist/components/calcite-dropdown-item/customElement.js +6 -6
- package/dist/components/calcite-fab/customElement.js +6 -6
- package/dist/components/calcite-filter/customElement.js +6 -6
- package/dist/components/calcite-flow/customElement.js +6 -6
- package/dist/components/calcite-flow-item/customElement.js +6 -6
- package/dist/components/calcite-graph/customElement.js +6 -6
- package/dist/components/calcite-handle/customElement.js +6 -6
- package/dist/components/calcite-icon/customElement.js +6 -6
- package/dist/components/calcite-inline-editable/customElement.js +6 -6
- package/dist/components/calcite-input/customElement.js +6 -6
- package/dist/components/calcite-input-date-picker/customElement.js +6 -6
- package/dist/components/calcite-input-message/customElement.js +6 -6
- package/dist/components/calcite-input-number/customElement.js +6 -6
- package/dist/components/calcite-input-text/customElement.js +6 -6
- package/dist/components/calcite-input-time-picker/customElement.js +6 -6
- package/dist/components/calcite-input-time-zone/customElement.js +6 -6
- package/dist/components/calcite-label/customElement.js +6 -6
- package/dist/components/calcite-link/customElement.js +6 -6
- package/dist/components/calcite-list/customElement.js +6 -6
- package/dist/components/calcite-list-item/customElement.js +6 -6
- package/dist/components/calcite-list-item-group/customElement.js +6 -6
- package/dist/components/calcite-loader/customElement.js +6 -6
- package/dist/components/calcite-menu/customElement.js +6 -6
- package/dist/components/calcite-menu-item/customElement.js +6 -6
- package/dist/components/calcite-meter/customElement.js +6 -6
- package/dist/components/calcite-modal/customElement.js +6 -6
- package/dist/components/calcite-navigation/customElement.js +6 -6
- package/dist/components/calcite-navigation-logo/customElement.js +6 -6
- package/dist/components/calcite-navigation-user/customElement.js +54 -42
- package/dist/components/calcite-notice/customElement.js +6 -6
- package/dist/components/calcite-option/customElement.js +6 -6
- package/dist/components/calcite-option-group/customElement.js +6 -6
- package/dist/components/calcite-pagination/customElement.js +6 -6
- package/dist/components/calcite-panel/customElement.js +76 -44
- package/dist/components/calcite-panel/resources.d.ts +1 -0
- package/dist/components/calcite-popover/customElement.js +6 -6
- package/dist/components/calcite-progress/customElement.js +6 -6
- package/dist/components/calcite-radio-button/customElement.d.ts +0 -6
- package/dist/components/calcite-radio-button/customElement.js +9 -11
- package/dist/components/calcite-radio-button-group/customElement.js +6 -6
- package/dist/components/calcite-rating/customElement.js +6 -6
- package/dist/components/calcite-scrim/customElement.js +6 -6
- package/dist/components/calcite-segmented-control/customElement.js +6 -6
- package/dist/components/calcite-segmented-control-item/customElement.js +6 -6
- package/dist/components/calcite-select/customElement.js +6 -6
- package/dist/components/calcite-sheet/customElement.js +6 -6
- package/dist/components/calcite-shell/customElement.js +6 -6
- package/dist/components/calcite-shell-center-row/customElement.js +6 -6
- package/dist/components/calcite-shell-panel/customElement.js +6 -6
- package/dist/components/calcite-slider/customElement.js +6 -6
- package/dist/components/calcite-sort-handle/customElement.js +6 -6
- package/dist/components/calcite-sortable-list/customElement.js +6 -6
- package/dist/components/calcite-split-button/customElement.js +6 -6
- package/dist/components/calcite-stack/customElement.js +6 -6
- package/dist/components/calcite-stepper/customElement.js +6 -6
- package/dist/components/calcite-stepper-item/customElement.js +6 -6
- package/dist/components/calcite-switch/customElement.js +6 -6
- package/dist/components/calcite-tab/customElement.js +6 -6
- package/dist/components/calcite-tab-nav/customElement.js +6 -6
- package/dist/components/calcite-tab-title/customElement.js +6 -6
- package/dist/components/calcite-table/customElement.js +6 -6
- package/dist/components/calcite-table-cell/customElement.js +6 -6
- package/dist/components/calcite-table-header/customElement.js +6 -6
- package/dist/components/calcite-table-row/customElement.js +6 -6
- package/dist/components/calcite-tabs/customElement.js +6 -6
- package/dist/components/calcite-text-area/customElement.js +6 -6
- package/dist/components/calcite-tile/customElement.js +6 -6
- package/dist/components/calcite-tile-group/customElement.js +6 -6
- package/dist/components/calcite-tile-select/customElement.js +6 -6
- package/dist/components/calcite-tile-select-group/customElement.js +6 -6
- package/dist/components/calcite-time-picker/customElement.js +6 -6
- package/dist/components/calcite-tip/customElement.js +6 -6
- package/dist/components/calcite-tip-group/customElement.js +6 -6
- package/dist/components/calcite-tip-manager/customElement.js +6 -6
- package/dist/components/calcite-tooltip/customElement.js +6 -6
- package/dist/components/calcite-tree/customElement.js +6 -6
- package/dist/components/calcite-tree-item/customElement.js +6 -6
- package/dist/custom-theme/navigation-user.d.ts +9 -0
- package/dist/docs/api.json +94 -43
- package/dist/docs/docs.json +117 -37
- package/dist/docs/vscode.css-custom-data.json +90 -6
- package/dist/docs/vscode.html-custom-data.json +2 -7
- package/dist/docs/web-types.json +93 -21
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +2 -2
- package/dist/types/preact.d.ts +2 -2
- package/dist/types/react.d.ts +2 -2
- package/dist/types/stencil.d.ts +2 -2
- package/package.json +3 -3
- package/dist/calcite/T6VH6X3V.js +0 -422
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import{M as
|
|
6
|
+
import{M as s,a as i,w as o,y as n,z as r}from"./EISQGSOR.js";import"./J7ES76D4.js";var l=o`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Fri, 22 Nov 2024 00:15:07 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|
|
@@ -38,7 +38,7 @@ import{M as l,a as o,w as i,y as n,z as s}from"./DNIAJJSF.js";import"./3IL5ODH3.
|
|
|
38
38
|
|
|
39
39
|
[hidden] {
|
|
40
40
|
display: none
|
|
41
|
-
}`,e=class extends
|
|
41
|
+
}`,e=class extends r{constructor(){super(...arguments),this.disabled=!1,this.calciteInternalOptionGroupChange=n({cancelable:!1})}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],label:1}}static{this.styles=l}willUpdate(t){(t.has("disabled")&&(this.hasUpdated||this.disabled!==!1)||t.has("label"))&&this.calciteInternalOptionGroupChange.emit()}render(){return i`
|
|
42
42
|
<div>${this.label}</div>
|
|
43
43
|
<slot></slot>
|
|
44
|
-
`}};
|
|
44
|
+
`}};s("calcite-option-group",e);export{e as OptionGroup};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import{b as d}from"./
|
|
6
|
+
import{b as d}from"./BIFFSQRP.js";import"./EVAKUM5A.js";import"./J7ES76D4.js";function _(a){return a%100==2}function s(a){return a%100==3||a%100==4}function m(a,e,c,n){var r=a+" ";switch(c){case"s":return e||n?"nekaj sekund":"nekaj sekundami";case"m":return e?"ena minuta":"eno minuto";case"mm":return _(a)?r+(e||n?"minuti":"minutama"):s(a)?r+(e||n?"minute":"minutami"):r+(e||n?"minut":"minutami");case"h":return e?"ena ura":"eno uro";case"hh":return _(a)?r+(e||n?"uri":"urama"):s(a)?r+(e||n?"ure":"urami"):r+(e||n?"ur":"urami");case"d":return e||n?"en dan":"enim dnem";case"dd":return _(a)?r+(e||n?"dneva":"dnevoma"):r+(e||n?"dni":"dnevi");case"M":return e||n?"en mesec":"enim mesecem";case"MM":return _(a)?r+(e||n?"meseca":"mesecema"):s(a)?r+(e||n?"mesece":"meseci"):r+(e||n?"mesecev":"meseci");case"y":return e||n?"eno leto":"enim letom";case"yy":return _(a)?r+(e||n?"leti":"letoma"):s(a)?r+(e||n?"leta":"leti"):r+(e||n?"let":"leti")}}var l={name:"sl",weekdays:"nedelja_ponedeljek_torek_sreda_\u010Detrtek_petek_sobota".split("_"),months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),weekStart:1,weekdaysShort:"ned._pon._tor._sre._\u010Det._pet._sob.".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),weekdaysMin:"ne_po_to_sr_\u010De_pe_so".split("_"),ordinal:function(e){return e+"."},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm",l:"D. M. YYYY"},relativeTime:{future:"\u010Dez %s",past:"pred %s",s:m,m,mm:m,h:m,hh:m,d:m,dd:m,M:m,MM:m,y:m,yy:m}};d.locale(l,null,!0);var t=l;export{t as default};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import{c as v,e as f,h as w}from"./
|
|
6
|
+
import{c as v,e as f,h as w}from"./W6YVXZ7Z.js";import{c as g,d as y,e as x}from"./I4IHFVAI.js";import{a as m,b as u}from"./VGGT3YKZ.js";import"./MWRIGXE7.js";import{a as k}from"./RI3P6LDT.js";import{b as l}from"./CKAWSY2K.js";import{q as d}from"./EKVZQILU.js";import{a as h,b as p,d as b}from"./NKRPQYCQ.js";import"./XM2VN6WF.js";import{A as o,M as n,a as r,w as c,y as a,z as s}from"./EISQGSOR.js";import"./J7ES76D4.js";var t={container:"container",track:"track",handle:"handle"},z=c`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Fri, 22 Nov 2024 00:15:07 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|
|
@@ -201,7 +201,7 @@ import{c as v,e as f,h as w}from"./335AW3HO.js";import{c as g,d as y,e as x}from
|
|
|
201
201
|
|
|
202
202
|
[hidden] {
|
|
203
203
|
display: none;
|
|
204
|
-
}`,
|
|
204
|
+
}`,i=class extends s{constructor(){super(),this.checked=!1,this.disabled=!1,this.scale="m",this.calciteSwitchChange=a({cancelable:!1}),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={checked:[7,{reflect:!0,type:Boolean}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],label:1,name:[3,{reflect:!0}],scale:[3,{reflect:!0}],value:1}}static{this.styles=z}async setFocus(){await b(this),d(this.switchEl)}connectedCallback(){super.connectedCallback(),g(this),v(this)}load(){h(this)}updated(){m(this)}loaded(){p(this)}disconnectedCallback(){super.disconnectedCallback(),y(this),f(this)}syncHiddenFormInput(e){e.type="checkbox"}keyDownHandler(e){!this.disabled&&k(e.key)&&(this.toggle(),e.preventDefault())}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit()}clickHandler(){this.disabled||this.toggle()}setSwitchEl(e){this.switchEl=e}render(){return u({disabled:this.disabled,children:r`
|
|
205
205
|
<div
|
|
206
206
|
.ariaChecked=${this.checked}
|
|
207
207
|
.ariaLabel=${x(this)}
|
|
@@ -214,4 +214,4 @@ import{c as v,e as f,h as w}from"./335AW3HO.js";import{c as g,d as y,e as x}from
|
|
|
214
214
|
</div>
|
|
215
215
|
${w({component:this})}
|
|
216
216
|
</div>
|
|
217
|
-
`})}};n("calcite-switch",
|
|
217
|
+
`})}};n("calcite-switch",i);export{i as Switch};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import{a as h,b as u}from"./
|
|
6
|
+
import{a as h,b as u}from"./VGGT3YKZ.js";import{s as c}from"./EKVZQILU.js";import{a as s,b as d,d as p}from"./NKRPQYCQ.js";import"./XM2VN6WF.js";import{A as t,M as l,a as n,w as o,y as e,z as r}from"./EISQGSOR.js";import"./J7ES76D4.js";var i={container:"container",dividerContainer:"divider-container",divider:"divider",widthAuto:"width-auto",widthHalf:"width-half",widthFull:"width-full"},v=o`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Fri, 22 Nov 2024 00:15:07 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import{b as r}from"./
|
|
6
|
+
import{b as r}from"./BIFFSQRP.js";import"./EVAKUM5A.js";import"./J7ES76D4.js";var s={name:"bg",weekdays:"\u043D\u0435\u0434\u0435\u043B\u044F_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u044F\u0434\u0430_\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A_\u043F\u0435\u0442\u044A\u043A_\u0441\u044A\u0431\u043E\u0442\u0430".split("_"),weekdaysShort:"\u043D\u0435\u0434_\u043F\u043E\u043D_\u0432\u0442\u043E_\u0441\u0440\u044F_\u0447\u0435\u0442_\u043F\u0435\u0442_\u0441\u044A\u0431".split("_"),weekdaysMin:"\u043D\u0434_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),months:"\u044F\u043D\u0443\u0430\u0440\u0438_\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0438\u043B_\u043C\u0430\u0439_\u044E\u043D\u0438_\u044E\u043B\u0438_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438_\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438_\u043D\u043E\u0435\u043C\u0432\u0440\u0438_\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438".split("_"),monthsShort:"\u044F\u043D\u0443_\u0444\u0435\u0432_\u043C\u0430\u0440_\u0430\u043F\u0440_\u043C\u0430\u0439_\u044E\u043D\u0438_\u044E\u043B\u0438_\u0430\u0432\u0433_\u0441\u0435\u043F_\u043E\u043A\u0442_\u043D\u043E\u0435_\u0434\u0435\u043A".split("_"),weekStart:1,ordinal:function(_){var e=_%100;if(e>10&&e<20)return _+"-\u0442\u0438";var t=_%10;return t===1?_+"-\u0432\u0438":t===2?_+"-\u0440\u0438":t===7||t===8?_+"-\u043C\u0438":_+"-\u0442\u0438"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},relativeTime:{future:"\u0441\u043B\u0435\u0434 %s",past:"\u043F\u0440\u0435\u0434\u0438 %s",s:"\u043D\u044F\u043A\u043E\u043B\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434\u0438",m:"\u043C\u0438\u043D\u0443\u0442\u0430",mm:"%d \u043C\u0438\u043D\u0443\u0442\u0438",h:"\u0447\u0430\u0441",hh:"%d \u0447\u0430\u0441\u0430",d:"\u0434\u0435\u043D",dd:"%d \u0434\u0435\u043D\u0430",M:"\u043C\u0435\u0441\u0435\u0446",MM:"%d \u043C\u0435\u0441\u0435\u0446\u0430",y:"\u0433\u043E\u0434\u0438\u043D\u0430",yy:"%d \u0433\u043E\u0434\u0438\u043D\u0438"}};r.locale(s,null,!0);var a=s;export{a as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import{o as C,p as v}from"./
|
|
6
|
+
import{o as C,p as v}from"./EKVZQILU.js";import{a as I}from"./EISQGSOR.js";var S=["calcite-input","calcite-input-number","calcite-input-text","calcite-text-area"];function V(e){return`${e.split("-").map((n,i)=>i===0?n:`${n[0].toUpperCase()}${n.slice(1)}`).join("")}${S.includes(e)?"Input":"Change"}`}var m="hidden-form-input";function E(e){return"checked"in e}var h=new WeakMap,g=new WeakSet;function L(e,t){if(v(t.parentElement,"[form]"))return!0;let n="calciteInternalFormComponentRegister",i=!1;return e.addEventListener(n,o=>{i=o.composedPath().some(l=>g.has(l)),o.stopPropagation()},{once:!0}),t.dispatchEvent(new CustomEvent(n,{bubbles:!0,composed:!0})),i}function R(e,{status:t,message:a,icon:n}){"status"in e&&(e.status=t),"validationIcon"in e&&typeof e.validationIcon!="string"&&(e.validationIcon=n),"validationMessage"in e&&!e.validationMessage&&(e.validationMessage=a)}function y(e){return e.nodeName==="CALCITE-RADIO-BUTTON"?v(e,"calcite-radio-button-group"):e}var A=new CustomEvent("calciteInvalid",{bubbles:!0,composed:!0});function p(e){let t=e?.target,a=t?.validationMessage,n=y(t?.parentElement);if(!n)return;let i=n?.nodeName?.toLowerCase(),o=i?.split("-");if(o.length<2||o[0]!=="calcite")return;e?.preventDefault(),"validity"in n&&(n.validity=t?.validity),n.dispatchEvent(A),R(n,{message:a,icon:!0,status:"invalid"});let l=V(i);n.addEventListener(l,()=>{"status"in n&&(n.status="idle"),"validationIcon"in n&&(n.validationIcon===""||n.validationIcon===!0)&&(n.validationIcon=!1),"validationMessage"in n&&n.validationMessage===a&&(n.validationMessage=""),"validity"in n&&(n.validity=t?.validity)},{once:!0})}function $(e){let{formEl:t}=e;return t?(t.addEventListener("invalid",p,!0),t.requestSubmit(),t.removeEventListener("invalid",p,!0),requestAnimationFrame(()=>{let a=t.querySelectorAll("[status=invalid]");for(let n of a)if(n?.validationMessage){n?.setFocus();break}}),!0):!1}function x(e){e.formEl?.reset()}function D(e){let{el:t,value:a}=e,n=H(e);if(!n||L(n,t))return;e.formEl=n,e.defaultValue=a,E(e)&&(e.defaultChecked=e.checked);let i=(e.onFormReset||w).bind(e);n.addEventListener("reset",i),h.set(e.el,i),g.add(t)}function H(e){let{el:t,form:a}=e;return a?C(t,{id:a}):v(t,"form")}function w(){if("status"in this&&(this.status="idle"),"validationIcon"in this&&(this.validationIcon=!1),"validationMessage"in this&&(this.validationMessage=""),E(this)){this.checked=this.defaultChecked;return}this.value=this.defaultValue}function W(e){let{el:t,formEl:a}=e;if(!a)return;let n=h.get(t);a.removeEventListener("reset",n),h.delete(t),e.formEl=null,g.delete(t)}function O(e,t){e.defaultValue=t}var q="calciteInternalHiddenInputInput",k=e=>{e.target.dispatchEvent(new CustomEvent(q,{bubbles:!0}))},F=e=>e.removeEventListener("input",k);function P(e){let{el:t,formEl:a,name:n,value:i}=e,{ownerDocument:o}=t,l=t.querySelectorAll(`input[slot="${m}"]`);if(!a||!n){l.forEach(s=>{F(s),s.remove()});return}let f=Array.isArray(i)?i:[i],d=[],u=new Set;l.forEach(s=>{let r=f.find(M=>M==s.value);r!=null?(u.add(r),b(e,s,r)):d.push(s)});let c;f.forEach(s=>{if(u.has(s))return;let r=d.pop();r||(r=o.createElement("input"),r.slot=m),c||(c=o.createDocumentFragment()),c.append(r),r.addEventListener("input",k),b(e,r,s)}),c&&t.append(c),d.forEach(s=>{F(s),s.remove()})}function b(e,t,a){let{defaultValue:n,disabled:i,form:o,name:l,required:f}=e;t.defaultValue=n,t.disabled=i,t.name=l,t.required=f,t.tabIndex=-1,o?t.setAttribute("form",o):t.removeAttribute("form"),E(e)?(t.checked=e.checked,t.defaultChecked=e.defaultChecked,t.value=e.checked?a||"on":""):t.value=a||"",e.syncHiddenFormInput?.(t);let d=y(e.el);if(d&&"validity"in d)for(let u in{...t?.validity})d.validity[u]=t.validity[u]}var B=({component:e})=>(P(e),I`<slot name=${m}></slot>`);export{$ as a,x as b,D as c,H as d,W as e,O as f,q as g,B as h};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import{a as E,b as W,c as X,d as T,e as j,f as Z,q as _}from"./JDIXK7FL.js";import{H as Q}from"./DNIAJJSF.js";function se(i,a,u){return(a=fe(a))in i?Object.defineProperty(i,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[a]=u,i}function ee(i,a){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(i);a&&(o=o.filter(function(b){return Object.getOwnPropertyDescriptor(i,b).enumerable})),u.push.apply(u,o)}return u}function te(i){for(var a=1;a<arguments.length;a++){var u=arguments[a]!=null?arguments[a]:{};a%2?ee(Object(u),!0).forEach(function(o){se(i,o,u[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):ee(Object(u)).forEach(function(o){Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(u,o))})}return i}function ce(i,a){if(typeof i!="object"||!i)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var o=u.call(i,a||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}function fe(i){var a=ce(i,"string");return typeof a=="symbol"?a:a+""}var ae={activateTrap:function(a,u){if(a.length>0){var o=a[a.length-1];o!==u&&o.pause()}var b=a.indexOf(u);b===-1||a.splice(b,1),a.push(u)},deactivateTrap:function(a,u){var o=a.indexOf(u);o!==-1&&a.splice(o,1),a.length>0&&a[a.length-1].unpause()}},le=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},de=function(a){return a?.key==="Escape"||a?.key==="Esc"||a?.keyCode===27},B=function(a){return a?.key==="Tab"||a?.keyCode===9},ve=function(a){return B(a)&&!a.shiftKey},be=function(a){return B(a)&&a.shiftKey},ne=function(a){return setTimeout(a,0)},re=function(a,u){var o=-1;return a.every(function(b,s){return u(b)?(o=s,!1):!0}),o},L=function(a){for(var u=arguments.length,o=new Array(u>1?u-1:0),b=1;b<u;b++)o[b-1]=arguments[b];return typeof a=="function"?a.apply(void 0,o):a},A=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},pe=[],oe=function(a,u){var o=u?.document||document,b=u?.trapStack||pe,s=te({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ve,isKeyBackward:be},u),n={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},y,h=function(e,t,r){return e&&e[t]!==void 0?e[t]:s[r||t]},N=function(e,t){var r=typeof t?.composedPath=="function"?t.composedPath():void 0;return n.containerGroups.findIndex(function(c){var f=c.container,d=c.tabbableNodes;return f.contains(e)||r?.includes(f)||d.find(function(v){return v===e})})},k=function(e){var t=s[e];if(typeof t=="function"){for(var r=arguments.length,c=new Array(r>1?r-1:0),f=1;f<r;f++)c[f-1]=arguments[f];t=t.apply(void 0,c)}if(t===!0&&(t=void 0),!t){if(t===void 0||t===!1)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var d=t;if(typeof t=="string"&&(d=o.querySelector(t),!d))throw new Error("`".concat(e,"` as selector refers to no known node"));return d},D=function(){var e=k("initialFocus");if(e===!1)return!1;if(e===void 0||!j(e,s.tabbableOptions))if(N(o.activeElement)>=0)e=o.activeElement;else{var t=n.tabbableGroups[0],r=t&&t.firstTabbableNode;e=r||k("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},P=function(){if(n.containerGroups=n.containers.map(function(e){var t=W(e,s.tabbableOptions),r=X(e,s.tabbableOptions),c=t.length>0?t[0]:void 0,f=t.length>0?t[t.length-1]:void 0,d=r.find(function(p){return T(p)}),v=r.slice().reverse().find(function(p){return T(p)}),m=!!t.find(function(p){return E(p)>0});return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:m,firstTabbableNode:c,lastTabbableNode:f,firstDomTabbableNode:d,lastDomTabbableNode:v,nextTabbableNode:function(F){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,w=t.indexOf(F);return w<0?R?r.slice(r.indexOf(F)+1).find(function(K){return T(K)}):r.slice(0,r.indexOf(F)).reverse().find(function(K){return T(K)}):t[w+(R?1:-1)]}}}),n.tabbableGroups=n.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),n.tabbableGroups.length<=0&&!k("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(n.containerGroups.find(function(e){return e.posTabIndexesFound})&&n.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},S=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&t.shadowRoot.activeElement!==null?S(t.shadowRoot):t},g=function(e){if(e!==!1&&e!==S(document)){if(!e||!e.focus){g(D());return}e.focus({preventScroll:!!s.preventScroll}),n.mostRecentlyFocusedNode=e,le(e)&&e.select()}},U=function(e){var t=k("setReturnFocus",e);return t||(t===!1?!1:e)},q=function(e){var t=e.target,r=e.event,c=e.isBackward,f=c===void 0?!1:c;t=t||A(r),P();var d=null;if(n.tabbableGroups.length>0){var v=N(t,r),m=v>=0?n.containerGroups[v]:void 0;if(v<0)f?d=n.tabbableGroups[n.tabbableGroups.length-1].lastTabbableNode:d=n.tabbableGroups[0].firstTabbableNode;else if(f){var p=re(n.tabbableGroups,function(I){var G=I.firstTabbableNode;return t===G});if(p<0&&(m.container===t||j(t,s.tabbableOptions)&&!T(t,s.tabbableOptions)&&!m.nextTabbableNode(t,!1))&&(p=v),p>=0){var F=p===0?n.tabbableGroups.length-1:p-1,R=n.tabbableGroups[F];d=E(t)>=0?R.lastTabbableNode:R.lastDomTabbableNode}else B(r)||(d=m.nextTabbableNode(t,!1))}else{var w=re(n.tabbableGroups,function(I){var G=I.lastTabbableNode;return t===G});if(w<0&&(m.container===t||j(t,s.tabbableOptions)&&!T(t,s.tabbableOptions)&&!m.nextTabbableNode(t))&&(w=v),w>=0){var K=w===n.tabbableGroups.length-1?0:w+1,J=n.tabbableGroups[K];d=E(t)>=0?J.firstTabbableNode:J.firstDomTabbableNode}else B(r)||(d=m.nextTabbableNode(t))}}else d=k("fallbackFocus");return d},C=function(e){var t=A(e);if(!(N(t,e)>=0)){if(L(s.clickOutsideDeactivates,e)){y.deactivate({returnFocus:s.returnFocusOnDeactivate});return}L(s.allowOutsideClick,e)||e.preventDefault()}},H=function(e){var t=A(e),r=N(t,e)>=0;if(r||t instanceof Document)r&&(n.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var c,f=!0;if(n.mostRecentlyFocusedNode)if(E(n.mostRecentlyFocusedNode)>0){var d=N(n.mostRecentlyFocusedNode),v=n.containerGroups[d].tabbableNodes;if(v.length>0){var m=v.findIndex(function(p){return p===n.mostRecentlyFocusedNode});m>=0&&(s.isKeyForward(n.recentNavEvent)?m+1<v.length&&(c=v[m+1],f=!1):m-1>=0&&(c=v[m-1],f=!1))}}else n.containerGroups.some(function(p){return p.tabbableNodes.some(function(F){return E(F)>0})})||(f=!1);else f=!1;f&&(c=q({target:n.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(n.recentNavEvent)})),g(c||n.mostRecentlyFocusedNode||D())}n.recentNavEvent=void 0},ie=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n.recentNavEvent=e;var r=q({event:e,isBackward:t});r&&(B(e)&&e.preventDefault(),g(r))},M=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&ie(e,s.isKeyBackward(e))},Y=function(e){de(e)&&L(s.escapeDeactivates,e)!==!1&&(e.preventDefault(),y.deactivate())},V=function(e){var t=A(e);N(t,e)>=0||L(s.clickOutsideDeactivates,e)||L(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},$=function(){if(n.active)return ae.activateTrap(b,y),n.delayInitialFocusTimer=s.delayInitialFocus?ne(function(){g(D())}):g(D()),o.addEventListener("focusin",H,!0),o.addEventListener("mousedown",C,{capture:!0,passive:!1}),o.addEventListener("touchstart",C,{capture:!0,passive:!1}),o.addEventListener("click",V,{capture:!0,passive:!1}),o.addEventListener("keydown",M,{capture:!0,passive:!1}),o.addEventListener("keydown",Y),y},z=function(){if(n.active)return o.removeEventListener("focusin",H,!0),o.removeEventListener("mousedown",C,!0),o.removeEventListener("touchstart",C,!0),o.removeEventListener("click",V,!0),o.removeEventListener("keydown",M,!0),o.removeEventListener("keydown",Y),y},ue=function(e){var t=e.some(function(r){var c=Array.from(r.removedNodes);return c.some(function(f){return f===n.mostRecentlyFocusedNode})});t&&g(D())},x=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(ue):void 0,O=function(){x&&(x.disconnect(),n.active&&!n.paused&&n.containers.map(function(e){x.observe(e,{subtree:!0,childList:!0})}))};return y={get active(){return n.active},get paused(){return n.paused},activate:function(e){if(n.active)return this;var t=h(e,"onActivate"),r=h(e,"onPostActivate"),c=h(e,"checkCanFocusTrap");c||P(),n.active=!0,n.paused=!1,n.nodeFocusedBeforeActivation=o.activeElement,t?.();var f=function(){c&&P(),$(),O(),r?.()};return c?(c(n.containers.concat()).then(f,f),this):(f(),this)},deactivate:function(e){if(!n.active)return this;var t=te({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(n.delayInitialFocusTimer),n.delayInitialFocusTimer=void 0,z(),n.active=!1,n.paused=!1,O(),ae.deactivateTrap(b,y);var r=h(t,"onDeactivate"),c=h(t,"onPostDeactivate"),f=h(t,"checkCanReturnFocus"),d=h(t,"returnFocus","returnFocusOnDeactivate");r?.();var v=function(){ne(function(){d&&g(U(n.nodeFocusedBeforeActivation)),c?.()})};return d&&f?(f(U(n.nodeFocusedBeforeActivation)).then(v,v),this):(v(),this)},pause:function(e){if(n.paused||!n.active)return this;var t=h(e,"onPause"),r=h(e,"onPostPause");return n.paused=!0,t?.(),z(),O(),r?.(),this},unpause:function(e){if(!n.paused||!n.active)return this;var t=h(e,"onUnpause"),r=h(e,"onPostUnpause");return n.paused=!1,t?.(),P(),$(),O(),r?.(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return n.containers=t.map(function(r){return typeof r=="string"?o.querySelector(r):r}),n.active&&P(),O(),this}},y.updateContainerElements(a),y};function Fe(i,a){let{el:u}=i,o=a?.focusTrapEl||u;if(!o)return;let b={fallbackFocus:o,setReturnFocus:s=>(_(s),!1),...a?.focusTrapOptions,document:u.ownerDocument,tabbableOptions:Z,trapStack:Q};i.focusTrap=oe(o,b)}function Te(i,a){i.focusTrapDisabled||i.focusTrap?.activate(a)}function Ne(i,a){i.focusTrap?.deactivate(a)}function Ee(i){i.focusTrap?.updateContainerElements(i.el)}export{Fe as a,Te as b,Ne as c,Ee as d};
|
|
6
|
+
import{a as E,b as W,c as X,d as T,e as j,f as Z,q as _}from"./EKVZQILU.js";import{H as Q}from"./EISQGSOR.js";function se(i,a,u){return(a=fe(a))in i?Object.defineProperty(i,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[a]=u,i}function ee(i,a){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(i);a&&(o=o.filter(function(b){return Object.getOwnPropertyDescriptor(i,b).enumerable})),u.push.apply(u,o)}return u}function te(i){for(var a=1;a<arguments.length;a++){var u=arguments[a]!=null?arguments[a]:{};a%2?ee(Object(u),!0).forEach(function(o){se(i,o,u[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):ee(Object(u)).forEach(function(o){Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(u,o))})}return i}function ce(i,a){if(typeof i!="object"||!i)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var o=u.call(i,a||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}function fe(i){var a=ce(i,"string");return typeof a=="symbol"?a:a+""}var ae={activateTrap:function(a,u){if(a.length>0){var o=a[a.length-1];o!==u&&o.pause()}var b=a.indexOf(u);b===-1||a.splice(b,1),a.push(u)},deactivateTrap:function(a,u){var o=a.indexOf(u);o!==-1&&a.splice(o,1),a.length>0&&a[a.length-1].unpause()}},le=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},de=function(a){return a?.key==="Escape"||a?.key==="Esc"||a?.keyCode===27},B=function(a){return a?.key==="Tab"||a?.keyCode===9},ve=function(a){return B(a)&&!a.shiftKey},be=function(a){return B(a)&&a.shiftKey},ne=function(a){return setTimeout(a,0)},re=function(a,u){var o=-1;return a.every(function(b,s){return u(b)?(o=s,!1):!0}),o},L=function(a){for(var u=arguments.length,o=new Array(u>1?u-1:0),b=1;b<u;b++)o[b-1]=arguments[b];return typeof a=="function"?a.apply(void 0,o):a},A=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},pe=[],oe=function(a,u){var o=u?.document||document,b=u?.trapStack||pe,s=te({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ve,isKeyBackward:be},u),n={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},y,h=function(e,t,r){return e&&e[t]!==void 0?e[t]:s[r||t]},N=function(e,t){var r=typeof t?.composedPath=="function"?t.composedPath():void 0;return n.containerGroups.findIndex(function(c){var f=c.container,d=c.tabbableNodes;return f.contains(e)||r?.includes(f)||d.find(function(v){return v===e})})},k=function(e){var t=s[e];if(typeof t=="function"){for(var r=arguments.length,c=new Array(r>1?r-1:0),f=1;f<r;f++)c[f-1]=arguments[f];t=t.apply(void 0,c)}if(t===!0&&(t=void 0),!t){if(t===void 0||t===!1)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var d=t;if(typeof t=="string"&&(d=o.querySelector(t),!d))throw new Error("`".concat(e,"` as selector refers to no known node"));return d},D=function(){var e=k("initialFocus");if(e===!1)return!1;if(e===void 0||!j(e,s.tabbableOptions))if(N(o.activeElement)>=0)e=o.activeElement;else{var t=n.tabbableGroups[0],r=t&&t.firstTabbableNode;e=r||k("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},P=function(){if(n.containerGroups=n.containers.map(function(e){var t=W(e,s.tabbableOptions),r=X(e,s.tabbableOptions),c=t.length>0?t[0]:void 0,f=t.length>0?t[t.length-1]:void 0,d=r.find(function(p){return T(p)}),v=r.slice().reverse().find(function(p){return T(p)}),m=!!t.find(function(p){return E(p)>0});return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:m,firstTabbableNode:c,lastTabbableNode:f,firstDomTabbableNode:d,lastDomTabbableNode:v,nextTabbableNode:function(F){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,w=t.indexOf(F);return w<0?R?r.slice(r.indexOf(F)+1).find(function(K){return T(K)}):r.slice(0,r.indexOf(F)).reverse().find(function(K){return T(K)}):t[w+(R?1:-1)]}}}),n.tabbableGroups=n.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),n.tabbableGroups.length<=0&&!k("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(n.containerGroups.find(function(e){return e.posTabIndexesFound})&&n.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},S=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&t.shadowRoot.activeElement!==null?S(t.shadowRoot):t},g=function(e){if(e!==!1&&e!==S(document)){if(!e||!e.focus){g(D());return}e.focus({preventScroll:!!s.preventScroll}),n.mostRecentlyFocusedNode=e,le(e)&&e.select()}},U=function(e){var t=k("setReturnFocus",e);return t||(t===!1?!1:e)},q=function(e){var t=e.target,r=e.event,c=e.isBackward,f=c===void 0?!1:c;t=t||A(r),P();var d=null;if(n.tabbableGroups.length>0){var v=N(t,r),m=v>=0?n.containerGroups[v]:void 0;if(v<0)f?d=n.tabbableGroups[n.tabbableGroups.length-1].lastTabbableNode:d=n.tabbableGroups[0].firstTabbableNode;else if(f){var p=re(n.tabbableGroups,function(I){var G=I.firstTabbableNode;return t===G});if(p<0&&(m.container===t||j(t,s.tabbableOptions)&&!T(t,s.tabbableOptions)&&!m.nextTabbableNode(t,!1))&&(p=v),p>=0){var F=p===0?n.tabbableGroups.length-1:p-1,R=n.tabbableGroups[F];d=E(t)>=0?R.lastTabbableNode:R.lastDomTabbableNode}else B(r)||(d=m.nextTabbableNode(t,!1))}else{var w=re(n.tabbableGroups,function(I){var G=I.lastTabbableNode;return t===G});if(w<0&&(m.container===t||j(t,s.tabbableOptions)&&!T(t,s.tabbableOptions)&&!m.nextTabbableNode(t))&&(w=v),w>=0){var K=w===n.tabbableGroups.length-1?0:w+1,J=n.tabbableGroups[K];d=E(t)>=0?J.firstTabbableNode:J.firstDomTabbableNode}else B(r)||(d=m.nextTabbableNode(t))}}else d=k("fallbackFocus");return d},C=function(e){var t=A(e);if(!(N(t,e)>=0)){if(L(s.clickOutsideDeactivates,e)){y.deactivate({returnFocus:s.returnFocusOnDeactivate});return}L(s.allowOutsideClick,e)||e.preventDefault()}},H=function(e){var t=A(e),r=N(t,e)>=0;if(r||t instanceof Document)r&&(n.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var c,f=!0;if(n.mostRecentlyFocusedNode)if(E(n.mostRecentlyFocusedNode)>0){var d=N(n.mostRecentlyFocusedNode),v=n.containerGroups[d].tabbableNodes;if(v.length>0){var m=v.findIndex(function(p){return p===n.mostRecentlyFocusedNode});m>=0&&(s.isKeyForward(n.recentNavEvent)?m+1<v.length&&(c=v[m+1],f=!1):m-1>=0&&(c=v[m-1],f=!1))}}else n.containerGroups.some(function(p){return p.tabbableNodes.some(function(F){return E(F)>0})})||(f=!1);else f=!1;f&&(c=q({target:n.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(n.recentNavEvent)})),g(c||n.mostRecentlyFocusedNode||D())}n.recentNavEvent=void 0},ie=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n.recentNavEvent=e;var r=q({event:e,isBackward:t});r&&(B(e)&&e.preventDefault(),g(r))},M=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&ie(e,s.isKeyBackward(e))},Y=function(e){de(e)&&L(s.escapeDeactivates,e)!==!1&&(e.preventDefault(),y.deactivate())},V=function(e){var t=A(e);N(t,e)>=0||L(s.clickOutsideDeactivates,e)||L(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},$=function(){if(n.active)return ae.activateTrap(b,y),n.delayInitialFocusTimer=s.delayInitialFocus?ne(function(){g(D())}):g(D()),o.addEventListener("focusin",H,!0),o.addEventListener("mousedown",C,{capture:!0,passive:!1}),o.addEventListener("touchstart",C,{capture:!0,passive:!1}),o.addEventListener("click",V,{capture:!0,passive:!1}),o.addEventListener("keydown",M,{capture:!0,passive:!1}),o.addEventListener("keydown",Y),y},z=function(){if(n.active)return o.removeEventListener("focusin",H,!0),o.removeEventListener("mousedown",C,!0),o.removeEventListener("touchstart",C,!0),o.removeEventListener("click",V,!0),o.removeEventListener("keydown",M,!0),o.removeEventListener("keydown",Y),y},ue=function(e){var t=e.some(function(r){var c=Array.from(r.removedNodes);return c.some(function(f){return f===n.mostRecentlyFocusedNode})});t&&g(D())},x=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(ue):void 0,O=function(){x&&(x.disconnect(),n.active&&!n.paused&&n.containers.map(function(e){x.observe(e,{subtree:!0,childList:!0})}))};return y={get active(){return n.active},get paused(){return n.paused},activate:function(e){if(n.active)return this;var t=h(e,"onActivate"),r=h(e,"onPostActivate"),c=h(e,"checkCanFocusTrap");c||P(),n.active=!0,n.paused=!1,n.nodeFocusedBeforeActivation=o.activeElement,t?.();var f=function(){c&&P(),$(),O(),r?.()};return c?(c(n.containers.concat()).then(f,f),this):(f(),this)},deactivate:function(e){if(!n.active)return this;var t=te({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(n.delayInitialFocusTimer),n.delayInitialFocusTimer=void 0,z(),n.active=!1,n.paused=!1,O(),ae.deactivateTrap(b,y);var r=h(t,"onDeactivate"),c=h(t,"onPostDeactivate"),f=h(t,"checkCanReturnFocus"),d=h(t,"returnFocus","returnFocusOnDeactivate");r?.();var v=function(){ne(function(){d&&g(U(n.nodeFocusedBeforeActivation)),c?.()})};return d&&f?(f(U(n.nodeFocusedBeforeActivation)).then(v,v),this):(v(),this)},pause:function(e){if(n.paused||!n.active)return this;var t=h(e,"onPause"),r=h(e,"onPostPause");return n.paused=!0,t?.(),z(),O(),r?.(),this},unpause:function(e){if(!n.paused||!n.active)return this;var t=h(e,"onUnpause"),r=h(e,"onPostUnpause");return n.paused=!1,t?.(),P(),$(),O(),r?.(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return n.containers=t.map(function(r){return typeof r=="string"?o.querySelector(r):r}),n.active&&P(),O(),this}},y.updateContainerElements(a),y};function Fe(i,a){let{el:u}=i,o=a?.focusTrapEl||u;if(!o)return;let b={fallbackFocus:o,setReturnFocus:s=>(_(s),!1),...a?.focusTrapOptions,document:u.ownerDocument,tabbableOptions:Z,trapStack:Q};i.focusTrap=oe(o,b)}function Te(i,a){i.focusTrapDisabled||i.focusTrap?.activate(a)}function Ne(i,a){i.focusTrap?.deactivate(a)}function Ee(i){i.focusTrap?.updateContainerElements(i.el)}export{Fe as a,Te as b,Ne as c,Ee as d};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import{b as i,c as u}from"./
|
|
6
|
+
import{b as i,c as u}from"./OIE622QI.js";var y=(n,c,a)=>{let l=i(c),d=new RegExp(l,"i");n.length===0&&console.warn(`No data was passed to the filter function.
|
|
7
7
|
The data argument should be an array of objects`);let o=(t,f,s)=>{if(t?.constant||t?.filterDisabled)return!0;let r=!1;return u(t,(e,p)=>{typeof e=="function"||e==null||s&&!s.includes(p)||(Array.isArray(e)||typeof e=="object"&&e!==null?o(e,f)&&(r=!0):f.test(e)&&(r=!0))}),r};return n.filter(t=>o(t,d,a))};export{y as a};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import{a as i}from"./
|
|
6
|
+
import{a as i}from"./WK7P3UIZ.js";import{a as v,b as y}from"./VGGT3YKZ.js";import{a as x}from"./OIE622QI.js";import{a as g}from"./BBPZYGUE.js";import{a as h,b as u}from"./CKAWSY2K.js";import{a as m,b as f,d as b}from"./NKRPQYCQ.js";import{A as c,G as d,M as p,a as r,w as n,y as o,z as l}from"./EISQGSOR.js";import"./J7ES76D4.js";var D={container:"container",searchIcon:"search-icon"},k={search:"search",close:"x"},F=n`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Fri, 22 Nov 2024 00:15:07 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|
|
@@ -141,7 +141,7 @@ input[type=text]:focus ~ .search-icon {
|
|
|
141
141
|
|
|
142
142
|
[hidden] {
|
|
143
143
|
display: none;
|
|
144
|
-
}`,s=class extends l{constructor(){super(...arguments),this.filterDebounced=x((e,t=!1,a)=>this.updateFiltered(i(this.items??[],e,this.filterProps),t,a),d.filter),this.textInput=
|
|
144
|
+
}`,s=class extends l{constructor(){super(...arguments),this.filterDebounced=x((e,t=!1,a)=>this.updateFiltered(i(this.items??[],e,this.filterProps),t,a),d.filter),this.textInput=h(),this._value="",this.disabled=!1,this.filteredItems=[],this.items=[],this.messages=g(),this.scale="m",this.calciteFilterChange=o({cancelable:!1})}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],filterProps:[0,{attribute:!1}],filteredItems:[0,{attribute:!1}],items:[0,{attribute:!1}],messageOverrides:[0,{attribute:!1}],placeholder:1,scale:[3,{reflect:!0}],value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=F}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.valueHandler(e))}async filter(e=this.value){return new Promise(t=>{this.value=e,this.updateFiltered(i(this.items??[],e,this.filterProps),!1,t)})}async setFocus(){return await b(this),this.textInput.value?.setFocus()}async load(){m(this),this.updateFiltered(i(this.items??[],this.value,this.filterProps))}willUpdate(e){(e.has("items")&&(this.hasUpdated||this.items?.length>0)||e.has("filterProps"))&&this.filterDebounced(this.value)}updated(){v(this)}loaded(){f(this)}disconnectedCallback(){super.disconnectedCallback(),this.filterDebounced.cancel()}valueHandler(e){this.filterDebounced(e)}inputHandler(e){let t=e.target;this.value=t.value,this.filterDebounced(t.value,!0)}keyDownHandler(e){e.defaultPrevented||(e.key==="Escape"&&(this.clear(),e.preventDefault()),e.key==="Enter"&&e.preventDefault())}clear(){this.value="",this.filterDebounced("",!0),this.setFocus()}updateFiltered(e,t=!1,a){this.filteredItems=e,t&&this.calciteFilterChange.emit(),a?.()}render(){let{disabled:e,scale:t}=this;return y({disabled:e,children:r`
|
|
145
145
|
<div class=${c(D.container)}>
|
|
146
146
|
<label>
|
|
147
147
|
<calcite-input
|
|
@@ -156,7 +156,7 @@ input[type=text]:focus ~ .search-icon {
|
|
|
156
156
|
.scale=${t}
|
|
157
157
|
type=text
|
|
158
158
|
.value=${this.value}
|
|
159
|
-
${
|
|
159
|
+
${u(this.textInput)}></calcite-input>
|
|
160
160
|
</label>
|
|
161
161
|
</div>
|
|
162
|
-
`})}};
|
|
162
|
+
`})}};p("calcite-filter",s);export{s as Filter};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import{a as g,b as l,e as
|
|
6
|
+
import{a as g,b as l,e as N,f as O,k as x,l as y,n as b,o as A,q as v}from"./ONRUNLOE.js";import{j as d}from"./DEURKSJT.js";import{f as P,g as E,h as F}from"./6U5ISBAI.js";import{a as p}from"./RI3P6LDT.js";import{a as u,b as m}from"./CKAWSY2K.js";import{n as S,p as I}from"./EKVZQILU.js";import"./XM2VN6WF.js";import{A as s,M as w,a as c,e as k,w as z,x as C,y as Y,z as $}from"./EISQGSOR.js";import"./J7ES76D4.js";var G=z`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Fri, 22 Nov 2024 00:15:07 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|
|
@@ -243,7 +243,7 @@ import{a as g,b as l,e as O,f as A,k as x,l as y,n as b,o as R,q as u}from"./PP6
|
|
|
243
243
|
|
|
244
244
|
[hidden] {
|
|
245
245
|
display: none;
|
|
246
|
-
}`,o={header:"header",chevron:"chevron",chevronContainer:"chevron-container",chevronContainerLeft:"chevron-container--left",chevronContainerRight:"chevron-container--right",monthYearContainer:"month-year-container",monthPicker:"month-select",rangeCalendar:"range-calendar",suffix:"suffix",yearContainer:"year-container"},
|
|
246
|
+
}`,o={header:"header",chevron:"chevron",chevronContainer:"chevron-container",chevronContainerLeft:"chevron-container--left",chevronContainerRight:"chevron-container--right",monthYearContainer:"month-year-container",monthPicker:"month-select",rangeCalendar:"range-calendar",suffix:"suffix",yearContainer:"year-container"},R={chevronLeft:"chevron-left",chevronRight:"chevron-right"},L=16,M=class extends ${constructor(){super(...arguments),this.monthPickerEl=u(),this.yearInputEl=u(),this.calciteInternalDatePickerMonthHeaderSelectChange=Y({cancelable:!1})}static{this.properties={nextMonthDate:[16,{state:!0}],prevMonthDate:[16,{state:!0}],activeDate:[0,{attribute:!1}],headingLevel:[9,{type:Number}],localeData:[0,{attribute:!1}],max:[0,{attribute:!1}],messages:[0,{attribute:!1}],min:[0,{attribute:!1}],monthStyle:1,position:1,scale:[3,{reflect:!0}],selectedDate:[0,{attribute:!1}]}}static{this.styles=G}connectedCallback(){super.connectedCallback(),this.setNextPrevMonthDates()}load(){this.parentDatePickerEl=I(this.el,"calcite-date-picker")}willUpdate(e){this.hasUpdated&&(e.has("activeDate")||e.has("localeData"))&&this.setYearSelectMenuWidth(),this.hasUpdated&&e.has("scale")&&this.setYearSelectWidthOffset(),(e.has("min")||e.has("max")||e.has("activeDate"))&&this.setNextPrevMonthDates()}loaded(){this.setYearSelectWidthOffset()}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=l(b(this.activeDate),this.min,this.max),this.prevMonthDate=l(x(this.activeDate),this.min,this.max))}onYearKey(e){let t=this.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault(),this.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault(),this.setYear({localizedYear:t,offset:1});break}}formatCalendarYear(e){return d.localize(`${O(e,this.localeData)}`)}parseCalendarYear(e){return d.localize(`${N(Number(d.delocalize(e)),this.localeData)}`)}onYearChange(e){this.setYear({localizedYear:this.parseCalendarYear(e.target.value)})}onYearInput(e){this.setYear({localizedYear:this.parseCalendarYear(e.target.value),commit:!1})}prevMonthClick(e){this.handleArrowClick(e,this.prevMonthDate)}prevMonthKeydown(e){p(e.key)&&this.prevMonthClick(e)}nextMonthClick(e){this.handleArrowClick(e,this.nextMonthDate)}nextMonthKeydown(e){p(e.key)&&this.nextMonthClick(e)}async handleArrowClick(e,t){e.preventDefault(),await this.handlePenultimateValidMonth(e),this.calciteInternalDatePickerMonthHeaderSelectChange.emit(t)}handleMonthChange(e){let t=e.target,{abbreviated:a,wide:i}=this.localeData.months,n=(this.monthStyle==="wide"?i:a).indexOf(t.value),h=y(this.activeDate,n);g(h,this.min,this.max)||(h=l(h,this.min,this.max)),this.calciteInternalDatePickerMonthHeaderSelectChange.emit(h),this.setYearSelectMenuWidth()}getInRangeDate({localizedYear:e,offset:t=0}){let{min:a,max:i,activeDate:r}=this,n=Number(d.delocalize(e)),h=n.toString().length,f=isNaN(n)?!1:n+t,W=f&&(!a||a.getFullYear()<=f)&&(!i||i.getFullYear()>=f);if(f&&W&&h===e.length){let D=new Date(r);return D.setFullYear(f),l(D,a,i)}}setYear({localizedYear:e,commit:t=!0,offset:a=0}){let{yearInputEl:{value:i},activeDate:r}=this,n=this.getInRangeDate({localizedYear:e,offset:a});n&&this.calciteInternalDatePickerMonthHeaderSelectChange.emit(n),t&&(i.value=this.formatCalendarYear((n||r).getFullYear()))}setYearSelectWidthOffset(){this.yearSelectWidthOffset=L+3*parseInt(this.getYearSelectPadding()),this.setYearSelectMenuWidth()}setYearSelectMenuWidth(){if(!this.monthPickerEl.value)return;let e=getComputedStyle(this.monthPickerEl.value).font,a=this.localeData.months[this.monthStyle][this.activeDate.getMonth()],i=Math.ceil(S(a,e));this.monthPickerEl.value.style.width=`${i+this.yearSelectWidthOffset}px`}isMonthInRange(e){let t=y(this.activeDate,e);return!this.min&&!this.max?!0:!!this.max&&t<this.max||!!this.min&&t>this.min}async handlePenultimateValidMonth(e){let i=e.target.getAttribute("data-direction")==="left",r;if(i&&this.min){let n=l(x(this.activeDate),this.min,this.max);r=v(n,this.min)}else if(this.max){let n=l(b(this.activeDate),this.min,this.max);r=v(n,this.max)}r&&(this.position?this.yearInputEl.value.focus():i?await this.nextMonthAction.setFocus():await this.prevMonthAction.setFocus())}getYearSelectPadding(){switch(this.scale){case"l":return F;case"s":return P;default:return E}}render(){return c`<div class=${s(o.header)}>${this.renderContent()}</div>`}renderContent(){let{localeData:e,activeDate:t}=this;if(!t||!e)return null;if(this.parentDatePickerEl){let{numberingSystem:r,lang:n}=this.parentDatePickerEl;d.numberFormatOptions={useGrouping:!1,...r&&{numberingSystem:r},...n&&{locale:n}}}let a=A(e.unitOrder),i=a.indexOf("y")<a.indexOf("m");return c`
|
|
247
247
|
${this.position&&c`<div class=${s({[o.chevronContainer]:!0})}>
|
|
248
248
|
${this.position==="start"&&this.renderChevron("left")||""}
|
|
249
249
|
</div>`||""}
|
|
@@ -282,7 +282,7 @@ import{a as g,b as l,e as O,f as A,k as x,l as y,n as b,o as R,q as u}from"./PP6
|
|
|
282
282
|
.value=${C(t??"")}
|
|
283
283
|
${m(this.yearInputEl)}>
|
|
284
284
|
${e&&c`<span class=${s(o.suffix)}>${e}</span>`||""}
|
|
285
|
-
</span>`}renderChevron(e){let t=e==="right",a=
|
|
285
|
+
</span>`}renderChevron(e){let t=e==="right",a=v(t?this.nextMonthDate:this.prevMonthDate,this.activeDate)||!g(this.activeDate,this.min,this.max);return c`<calcite-action
|
|
286
286
|
alignment=center
|
|
287
287
|
.ariaDisabled=${a}
|
|
288
288
|
.ariaLabel=${t?this.messages.nextMonth:this.messages.prevMonth}
|
|
@@ -290,7 +290,7 @@ import{a as g,b as l,e as O,f as A,k as x,l as y,n as b,o as R,q as u}from"./PP6
|
|
|
290
290
|
compact
|
|
291
291
|
data-direction=${e??k}
|
|
292
292
|
.disabled=${a}
|
|
293
|
-
.icon=${t?
|
|
293
|
+
.icon=${t?R.chevronRight:R.chevronLeft}
|
|
294
294
|
icon-flip-rtl
|
|
295
295
|
@click=${t?this.nextMonthClick:this.prevMonthClick}
|
|
296
296
|
@keydown=${t?this.nextMonthKeydown:this.prevMonthKeydown}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import{a as
|
|
6
|
+
import{a as F}from"./T2J2VFXM.js";import{c as N,e as I,f as T,h as z}from"./W6YVXZ7Z.js";import{c as S,d as k,e as O}from"./I4IHFVAI.js";import{a as y,b as C}from"./VGGT3YKZ.js";import{a as b}from"./MWRIGXE7.js";import{a as f}from"./NPV6XGSE.js";import{b as v}from"./CKAWSY2K.js";import{q as g}from"./EKVZQILU.js";import{a as x,b as E,d as w}from"./NKRPQYCQ.js";import"./XM2VN6WF.js";import{A as l,E as m,M as u,a as o,w as d,y as h,z as p}from"./EISQGSOR.js";import"./J7ES76D4.js";var L=d`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Fri, 22 Nov 2024 00:15:07 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|
|
@@ -247,12 +247,12 @@ select:disabled {
|
|
|
247
247
|
|
|
248
248
|
[hidden] {
|
|
249
249
|
display: none;
|
|
250
|
-
}`,c={icon:"icon",iconContainer:"icon-container",select:"select",wrapper:"wrapper"},
|
|
250
|
+
}`,c={icon:"icon",iconContainer:"icon-container",select:"select",wrapper:"wrapper"},M={validationMessage:"selectValidationMessage"};function s(n){return n.tagName==="CALCITE-OPTION"}function $(n){return n.tagName==="CALCITE-OPTION-GROUP"}var r=class extends p{constructor(){super(),this.componentToNativeEl=new Map,this.mutationObserver=f("mutation",()=>this.populateInternalSelect()),this.disabled=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=null,this.width="auto",this.calciteSelectChange=h({cancelable:!1}),this.listen("calciteInternalOptionChange",this.handleOptionOrGroupChange),this.listen("calciteInternalOptionGroupChange",this.handleOptionOrGroupChange)}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],label:1,name:[3,{reflect:!0}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],selectedOption:[0,{attribute:!1}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:m}],validationMessage:1,validity:[0,{attribute:!1}],value:1,width:[3,{reflect:!0}]}}static{this.styles=L}async setFocus(){await w(this),g(this.selectEl)}connectedCallback(){super.connectedCallback();let{el:e}=this;this.mutationObserver?.observe(e,{subtree:!0,childList:!0}),S(this),N(this)}load(){x(this)}willUpdate(e){e.has("value")&&(this.hasUpdated||this.value!==null)&&this.updateItemsFromValue(this.value),e.has("selectedOption")&&(this.value=this.selectedOption?.value)}updated(){y(this)}loaded(){E(this),typeof this.value=="string"&&this.updateItemsFromValue(this.value),this.populateInternalSelect();let e=this.selectEl.selectedOptions[0];this.selectFromNativeOption(e),T(this,this.selectedOption?.value??"")}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),k(this),I(this)}handleInternalSelectChange(){let e=this.selectEl.selectedOptions[0];this.selectFromNativeOption(e),requestAnimationFrame(()=>this.emitChangeEvent())}handleOptionOrGroupChange(e){e.stopPropagation();let t=e.target,i=this.componentToNativeEl.get(t);i&&(this.updateNativeElement(t,i),s(t)&&t.selected&&(this.deselectAllExcept(t),this.selectedOption=t))}onLabelClick(){this.setFocus()}updateItemsFromValue(e){this.el.querySelectorAll("calcite-option").forEach(t=>t.selected=t.value===e)}updateNativeElement(e,t){if(t.disabled=e.disabled,t.label=e.label,s(e)){let i=t;i.selected=e.selected,i.value=e.value,i.innerText=e.label}}populateInternalSelect(){let e=Array.from(this.el.children).filter(t=>t.tagName==="CALCITE-OPTION"||t.tagName==="CALCITE-OPTION-GROUP");this.clearInternalSelect(),e.forEach(t=>this.selectEl?.append(this.toNativeElement(t)))}clearInternalSelect(){this.componentToNativeEl.forEach(e=>e.remove()),this.componentToNativeEl.clear()}storeSelectRef(e){e&&(this.selectEl=e)}selectFromNativeOption(e){if(!e)return;let t;this.componentToNativeEl.forEach((i,a)=>{s(a)&&i===e&&(a.selected=!0,t=a,this.deselectAllExcept(a))}),t&&(this.selectedOption=t)}toNativeElement(e){if(s(e)){let t=document.createElement("option");return this.updateNativeElement(e,t),this.componentToNativeEl.set(e,t),t}if($(e)){let t=document.createElement("optgroup");return this.updateNativeElement(e,t),Array.from(e.children).forEach(i=>{let a=this.toNativeElement(i);t.append(a),this.componentToNativeEl.set(e,a)}),this.componentToNativeEl.set(e,t),t}throw new Error("unsupported element child provided")}deselectAllExcept(e){this.el.querySelectorAll("calcite-option").forEach(t=>{t!==e&&(t.selected=!1)})}emitChangeEvent(){this.calciteSelectChange.emit()}renderChevron(){return o`<div class=${l(c.iconContainer)}>
|
|
251
251
|
<calcite-icon class=${l(c.icon)} icon=chevron-down .scale=${b(this.scale)}></calcite-icon>
|
|
252
252
|
</div>`}render(){let{disabled:e}=this;return C({disabled:e,children:o`
|
|
253
253
|
<div class=${l(c.wrapper)}>
|
|
254
254
|
<select
|
|
255
|
-
aria-errormessage=${
|
|
255
|
+
aria-errormessage=${M.validationMessage}
|
|
256
256
|
.ariaInvalid=${this.status==="invalid"}
|
|
257
257
|
.ariaLabel=${O(this)}
|
|
258
258
|
class=${l(c.select)}
|
|
@@ -264,5 +264,5 @@ select:disabled {
|
|
|
264
264
|
${this.renderChevron()}
|
|
265
265
|
${z({component:this})}
|
|
266
266
|
</div>
|
|
267
|
-
${this.validationMessage&&this.status==="invalid"?
|
|
268
|
-
`})}};
|
|
267
|
+
${this.validationMessage&&this.status==="invalid"?F({icon:this.validationIcon,id:M.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}
|
|
268
|
+
`})}};u("calcite-select",r);export{r as Select};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.23
|
|
5
5
|
*/
|
|
6
6
|
var c="24px",a="32px",e="44px",t="48px";export{c as a,a as b,e as c,t as d};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.23
|
|
5
5
|
*/
|
|
6
|
-
import{a as s}from"./
|
|
6
|
+
import{a as s}from"./JZ2LJ5UR.js";import{a as r}from"./MWRIGXE7.js";import{b}from"./CKAWSY2K.js";import{j as S,p as h,z as p}from"./EKVZQILU.js";import{a as y,b as $,d as k}from"./NKRPQYCQ.js";import"./XM2VN6WF.js";import{A as t,F as u,M as f,a,w as g,y as d,z as x}from"./EISQGSOR.js";import"./J7ES76D4.js";var E={actionsStart:"actions-start",actionsEnd:"actions-end"},o={actionsEnd:"actions-end",actionsStart:"actions-start",content:"content",description:"description",expandIcon:"expand-icon",header:"header",headerContainer:"header-container",headerContent:"header-content",headerText:"header-text",heading:"heading",icon:"icon",iconEnd:"icon--end",iconStart:"icon--start"},l={section:"section",sectionToggle:"section-toggle"},A=g`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Fri, 22 Nov 2024 00:15:10 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Fri, 22 Nov 2024 00:15:07 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|