@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{a as m}from"./
|
|
6
|
+
import{a as m}from"./JZ2LJ5UR.js";import{a as S}from"./RI3P6LDT.js";import{a as y}from"./BBPZYGUE.js";import{s as x}from"./EKVZQILU.js";import{a as b,b as $,d as w}from"./NKRPQYCQ.js";import"./XM2VN6WF.js";import{A as c,C as v,M as f,a as r,w as h,y as p,z as u}from"./EISQGSOR.js";import"./J7ES76D4.js";var l={content:"content",toggle:"toggle"},t={chevronIcon:"chevron-icon",content:"content",iconStart:"icon--start",iconEnd:"icon--end",invalid:"invalid",sectionHeader:"section-header",sectionHeaderText:"section-header__text",statusIcon:"status-icon",switch:"switch",toggle:"toggle",toggleSwitch:"toggle--switch",toggleContainer:"toggle-container",toggleSwitchContent:"toggle--switch__content",toggleSwitchText:"toggle--switch__text",valid:"valid"},s={menuOpen:"chevron-up",menuClosed:"chevron-down",valid:"check-circle",invalid:"exclamation-mark-triangle"},I=h`/**
|
|
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,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 g}from"./
|
|
6
|
+
import{a as h,b as g}from"./CKAWSY2K.js";import{z as n}from"./EKVZQILU.js";import{a as p,b as y,d as v}from"./NKRPQYCQ.js";import"./XM2VN6WF.js";import{A as a,M as d,a as i,w as l,y as c,z as m}from"./EISQGSOR.js";import"./J7ES76D4.js";var o={container:"container",containerContent:"container-content",hasProgress:"progress-bar",hide:"hide",primary:"primary",secondary:"secondary",tertiary:"tertiary"},e={logo:"logo",user:"user",progress:"progress",navigationAction:"navigation-action",contentStart:"content-start",contentEnd:"content-end",contentCenter:"content-center",navSecondary:"navigation-secondary",navTertiary:"navigation-tertiary"},S={hamburger:"hamburger"},u=l`/**
|
|
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 */
|
|
@@ -146,9 +146,9 @@ slot[name=content-center] ~ slot[name=content-end],
|
|
|
146
146
|
slot[name=content-center] ~ slot[name=user],
|
|
147
147
|
slot[name=content-end] ~ slot[name=user] {
|
|
148
148
|
margin: 0px;
|
|
149
|
-
}`,s=class extends m{constructor(){super(...arguments),this.navigationActionEl=h(),this.navigationAction=!1,this.calciteNavigationActionSelect=c({cancelable:!1})}static{this.properties={logoSlotHasElements:[16,{state:!0}],navigationActionSlotHasElements:[16,{state:!0}],primaryContentCenterSlotHasElements:[16,{state:!0}],primaryContentEndSlotHasElements:[16,{state:!0}],primaryContentStartSlotHasElements:[16,{state:!0}],progressSlotHasElement:[16,{state:!0}],secondarySlotHasElements:[16,{state:!0}],tertiarySlotHasElements:[16,{state:!0}],userSlotHasElements:[16,{state:!0}],label:1,navigationAction:[7,{reflect:!0,type:Boolean}]}}static{this.styles=
|
|
149
|
+
}`,s=class extends m{constructor(){super(...arguments),this.navigationActionEl=h(),this.navigationAction=!1,this.calciteNavigationActionSelect=c({cancelable:!1})}static{this.properties={logoSlotHasElements:[16,{state:!0}],navigationActionSlotHasElements:[16,{state:!0}],primaryContentCenterSlotHasElements:[16,{state:!0}],primaryContentEndSlotHasElements:[16,{state:!0}],primaryContentStartSlotHasElements:[16,{state:!0}],progressSlotHasElement:[16,{state:!0}],secondarySlotHasElements:[16,{state:!0}],tertiarySlotHasElements:[16,{state:!0}],userSlotHasElements:[16,{state:!0}],label:1,navigationAction:[7,{reflect:!0,type:Boolean}]}}static{this.styles=u}async setFocus(){return await v(this),this.navigationActionEl.value?.setFocus()}load(){p(this)}loaded(){y(this)}actionClickHandler(){this.calciteNavigationActionSelect.emit()}handleUserSlotChange(t){this.isPrimaryLevel()&&(this.userSlotHasElements=n(t))}handleLogoSlotChange(t){this.isPrimaryLevel()&&(this.logoSlotHasElements=n(t))}handleContentStartSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentStartSlotHasElements=n(t))}handleContentEndSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentEndSlotHasElements=n(t))}handleContentCenterSlotChange(t){this.isPrimaryLevel()&&(this.primaryContentCenterSlotHasElements=n(t))}handleSecondarySlotChange(t){this.secondarySlotHasElements=n(t)}handleTertiarySlotChange(t){this.tertiarySlotHasElements=n(t)}handleMenuActionSlotChange(t){this.isPrimaryLevel()&&(this.navigationActionSlotHasElements=n(t),this.navigationActionSlotHasElements&&(this.navigationAction=!1))}handleProgressSlotChange(t){this.isPrimaryLevel()&&(this.progressSlotHasElement=n(t))}isPrimaryLevel(){return this.el.slot!==e.navSecondary&&this.el.slot!==e.navTertiary}renderMenuAction(){return i`<slot name=${e.navigationAction} @slotchange=${this.handleMenuActionSlotChange}>
|
|
150
150
|
${this.navigationAction&&i`<calcite-action
|
|
151
|
-
.icon=${
|
|
151
|
+
.icon=${S.hamburger}
|
|
152
152
|
@click=${this.actionClickHandler}
|
|
153
153
|
.text=${this.label}
|
|
154
154
|
${g(this.navigationActionEl)}></calcite-action>`||""}
|
|
@@ -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 e}from"./
|
|
6
|
+
import{b as e}from"./BIFFSQRP.js";import"./EVAKUM5A.js";import"./J7ES76D4.js";var _={name:"es-mx",weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},ordinal:function(o){return o+"\xBA"},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"}};e.locale(_,null,!0);var a=_;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{b as _}from"./
|
|
6
|
+
import{b as _}from"./BIFFSQRP.js";import"./EVAKUM5A.js";import"./J7ES76D4.js";var r={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_f\xE9vrier_mars_avril_mai_juin_juillet_ao\xFBt_septembre_octobre_novembre_d\xE9cembre".split("_"),monthsShort:"janv._f\xE9vr._mars_avr._mai_juin_juil._ao\xFBt_sept._oct._nov._d\xE9c.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){var a=e===1?"er":"";return""+e+a}};_.locale(r,null,!0);var s=r;export{s 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{j as c}from"./
|
|
6
|
+
import{j as c}from"./EKVZQILU.js";import"./XM2VN6WF.js";import{A as a,B as n,F as s,M as l,a as t,w as i,z as o}from"./EISQGSOR.js";import"./J7ES76D4.js";var m=i`/**
|
|
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,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 m,b as u}from"./
|
|
6
|
+
import{a as m,b as u}from"./VGGT3YKZ.js";import{a as h}from"./NPV6XGSE.js";import{b as p}from"./CKAWSY2K.js";import{E as s}from"./EKVZQILU.js";import"./XM2VN6WF.js";import{A as r,M as d,a as l,w as o,y as c,z as n}from"./EISQGSOR.js";import"./J7ES76D4.js";var f={container:"container"},b=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 */
|
|
@@ -87,7 +87,7 @@ import{a as m,b as u}from"./ABFUFIMB.js";import{a as h}from"./WP2LL5SD.js";impor
|
|
|
87
87
|
|
|
88
88
|
[hidden] {
|
|
89
89
|
display: none;
|
|
90
|
-
}`,a=class extends n{constructor(){super(),this.items=[],this.mutationObserver=h("mutation",()=>this.updateTiles()),this.alignment="start",this.disabled=!1,this.layout="horizontal",this.scale="m",this.selectedItems=[],this.selectionAppearance="icon",this.selectionMode="none",this.calciteTileGroupSelect=c({cancelable:!1}),this.listen("calciteInternalTileKeyEvent",this.calciteInternalTileKeyEventListener),this.listen("calciteTileSelect",this.calciteTileSelectHandler)}static{this.properties={alignment:[3,{reflect:!0}],disabled:[7,{reflect:!0,type:Boolean}],label:1,layout:[3,{reflect:!0}],scale:[3,{reflect:!0}],selectedItems:[0,{attribute:!1}],selectionAppearance:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}]}}static{this.styles=b}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateTiles()}willUpdate(e){(e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")||e.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="icon"))&&this.updateTiles()}updated(){m(this)}loaded(){this.updateSelectedItems()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}getSlottedTiles(){return this.slotEl?.assignedElements({flatten:!0}).filter(e=>e?.matches("calcite-tile"))}selectItem(e){e&&(this.items?.forEach(t=>{let
|
|
90
|
+
}`,a=class extends n{constructor(){super(),this.items=[],this.mutationObserver=h("mutation",()=>this.updateTiles()),this.alignment="start",this.disabled=!1,this.layout="horizontal",this.scale="m",this.selectedItems=[],this.selectionAppearance="icon",this.selectionMode="none",this.calciteTileGroupSelect=c({cancelable:!1}),this.listen("calciteInternalTileKeyEvent",this.calciteInternalTileKeyEventListener),this.listen("calciteTileSelect",this.calciteTileSelectHandler)}static{this.properties={alignment:[3,{reflect:!0}],disabled:[7,{reflect:!0,type:Boolean}],label:1,layout:[3,{reflect:!0}],scale:[3,{reflect:!0}],selectedItems:[0,{attribute:!1}],selectionAppearance:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}]}}static{this.styles=b}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateTiles()}willUpdate(e){(e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")||e.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="icon"))&&this.updateTiles()}updated(){m(this)}loaded(){this.updateSelectedItems()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}getSlottedTiles(){return this.slotEl?.assignedElements({flatten:!0}).filter(e=>e?.matches("calcite-tile"))}selectItem(e){e&&(this.items?.forEach(t=>{let i=e===t;switch(this.selectionMode){case"multiple":i&&(t.selected=!t.selected);break;case"single":t.selected=i&&!t.selected;break;case"single-persist":t.selected=!!i;break}}),this.updateSelectedItems(),this.calciteTileGroupSelect.emit())}setSlotEl(e){this.slotEl=e}updateSelectedItems(){let e=this.items?.filter(t=>t.selected);(this.selectionMode==="single"||this.selectionMode==="single-persist")&&e?.length>1?(this.selectedItems=[e.pop()],this.items?.forEach(t=>{this.selectedItems.indexOf(t)===-1&&(t.selected=!1)})):this.selectedItems=e??[]}updateTiles(){this.items=this.getSlottedTiles(),this.items?.forEach(e=>{e.alignment=this.alignment,e.interactive=!0,e.layout=this.layout,e.scale=this.scale,e.selectionAppearance=this.selectionAppearance,e.selectionMode=this.selectionMode}),this.updateSelectedItems()}calciteInternalTileKeyEventListener(e){if(e.composedPath().includes(this.el)){e.preventDefault(),e.stopPropagation();let t=this.items?.filter(i=>!i.disabled);switch(e.detail.key){case"ArrowDown":case"ArrowRight":s(t,e.detail.target,"next");break;case"ArrowUp":case"ArrowLeft":s(t,e.detail.target,"previous");break;case"Home":s(t,e.detail.target,"first");break;case"End":s(t,e.detail.target,"last");break}}}calciteTileSelectHandler(e){e.composedPath().includes(this.el)&&this.selectItem(e.target)}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup";return u({disabled:this.disabled,children:l`
|
|
91
91
|
<div .ariaLabel=${this.label} class=${r(f.container)} .role=${e}>
|
|
92
92
|
<slot @slotchange=${this.updateTiles} ${p(this.setSlotEl)}></slot>
|
|
93
93
|
</div>
|
|
@@ -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 l}from"./MUYBP2YM.js";import{a as r,b as n}from"./VGGT3YKZ.js";import{M as s,a as t,w as o,z as i}from"./EISQGSOR.js";import"./J7ES76D4.js";var d=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 */
|
|
@@ -69,6 +69,6 @@ import{a as r}from"./5NJIC7SE.js";import{a as n,b as l}from"./ABFUFIMB.js";impor
|
|
|
69
69
|
|
|
70
70
|
[hidden] {
|
|
71
71
|
display: none;
|
|
72
|
-
}`,e=class extends i{constructor(){super(...arguments),this.disabled=!1,this.layout="horizontal"}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],layout:[3,{reflect:!0}]}}static{this.styles=d}load(){
|
|
72
|
+
}`,e=class extends i{constructor(){super(...arguments),this.disabled=!1,this.layout="horizontal"}static{this.properties={disabled:[7,{reflect:!0,type:Boolean}],layout:[3,{reflect:!0}]}}static{this.styles=d}load(){l.deprecated("component",{name:"tile-select-group",removalVersion:4,suggested:["tile","tile-group"]})}updated(){r(this)}render(){return n({disabled:this.disabled,children:t`
|
|
73
73
|
<slot></slot>
|
|
74
74
|
`})}};s("calcite-tile-select-group",e);export{e as TileSelectGroup};
|
|
@@ -1,9 +1,9 @@
|
|
|
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 t,a as i,e as a}from"./
|
|
6
|
+
import{A as t,a as i,e as a}from"./EISQGSOR.js";var c={validationContainer:"validation-container"},m=({scale:n,status:o,id:s,icon:e,message:l})=>i`<div class=${t(c.validationContainer)}>
|
|
7
7
|
<calcite-input-message aria-live=polite .icon=${e} id=${s??a} .scale=${n} .status=${o}>
|
|
8
8
|
${l}
|
|
9
9
|
</calcite-input-message>
|
|
@@ -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 t}from"./
|
|
6
|
+
import{b as t}from"./BIFFSQRP.js";import"./EVAKUM5A.js";import"./J7ES76D4.js";var _={name:"vi",weekdays:"ch\u1EE7 nh\u1EADt_th\u1EE9 hai_th\u1EE9 ba_th\u1EE9 t\u01B0_th\u1EE9 n\u0103m_th\u1EE9 s\xE1u_th\u1EE9 b\u1EA3y".split("_"),months:"th\xE1ng 1_th\xE1ng 2_th\xE1ng 3_th\xE1ng 4_th\xE1ng 5_th\xE1ng 6_th\xE1ng 7_th\xE1ng 8_th\xE1ng 9_th\xE1ng 10_th\xE1ng 11_th\xE1ng 12".split("_"),weekStart:1,weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),monthsShort:"Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),ordinal:function(h){return h},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [n\u0103m] YYYY",LLL:"D MMMM [n\u0103m] YYYY HH:mm",LLLL:"dddd, D MMMM [n\u0103m] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},relativeTime:{future:"%s t\u1EDBi",past:"%s tr\u01B0\u1EDBc",s:"v\xE0i gi\xE2y",m:"m\u1ED9t ph\xFAt",mm:"%d ph\xFAt",h:"m\u1ED9t gi\u1EDD",hh:"%d gi\u1EDD",d:"m\u1ED9t ng\xE0y",dd:"%d ng\xE0y",M:"m\u1ED9t th\xE1ng",MM:"%d th\xE1ng",y:"m\u1ED9t n\u0103m",yy:"%d n\u0103m"}};t.locale(_,null,!0);var Y=_;export{Y 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{n as h,v as y}from"./
|
|
6
|
+
import{n as h,v as y}from"./24UHJGQY.js";import{i as k}from"./EKVZQILU.js";import"./XM2VN6WF.js";import{A as c,B as v,C as d,M as g,a as l,w as b,z as p}from"./EISQGSOR.js";import"./J7ES76D4.js";var u={thumbnail:"thumbnail",background:"background",initials:"initials",icon:"icon"};function x(i){i=z(i);let e=0;for(let r=0;r<i.length;r++)e=i.charCodeAt(r)+((e<<5)-e);let t="#";for(let r=0;r<3;r++){let a=e>>r*8&255;t+=("00"+a.toString(16)).substr(-2)}return t}function z(i){let e=Math.floor(i.length/2),t=i.split("").reverse().join("");return t.substring(e)+t.slice(0,e)}function $(i){let{r:e,g:t,b:r}=i;e/=255,t/=255,r/=255;let a=Math.max(e,t,r),s=Math.min(e,t,r),o=a-s;if(a===s)return 0;let n=(a+s)/2;switch(a){case e:n=(t-r)/o+(t<r?6:0);break;case t:n=(r-e)/o+2;break;case r:n=(e-t)/o+4;break}return Math.round(n*60)}function T(i){return $(y(i))}var C=b`/**
|
|
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 */
|
|
@@ -105,4 +105,4 @@ import{n as h,v as y}from"./BMSID4CH.js";import{i as k}from"./JDIXK7FL.js";impor
|
|
|
105
105
|
${e?l`<span aria-hidden=true class=${c(u.initials)}>
|
|
106
106
|
${e}
|
|
107
107
|
</span>`:l`<calcite-icon class=${c(u.icon)} icon=user .scale=${this.scale}></calcite-icon>`}
|
|
108
|
-
</span>`}generateFillColor(){let{userId:e,username:t,fullName:r,el:a}=this,s=k(a),o=e&&`#${e.substr(e.length-6)}`,n=t||r||"",f=o&&h(o)?o:
|
|
108
|
+
</span>`}generateFillColor(){let{userId:e,username:t,fullName:r,el:a}=this,s=k(a),o=e&&`#${e.substr(e.length-6)}`,n=t||r||"",f=o&&h(o)?o:x(n);return!e&&!n||!h(f)?"var(--calcite-avatar-background-color, var(--calcite-color-foreground-2))":`var(--calcite-avatar-background-color, hsl(${T(f)}, 60%, ${s==="dark"?20:90}%))`}generateInitials(){let{fullName:e,username:t}=this;return e?e.trim().split(" ").map(r=>r.substring(0,1)).join(""):t?t.substring(0,2):!1}render(){return this.determineContent()}};g("calcite-avatar",m);export{m as Avatar};
|
|
@@ -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{c}from"./
|
|
6
|
+
import{c}from"./ONRUNLOE.js";import{g as s}from"./DEURKSJT.js";import{N as r}from"./EISQGSOR.js";var o={},n={};async function l(e){let t=s(e);if(o[t])return o[t];n[t]||(n[t]=fetch(r(`./assets/date-picker/nls/${t}.json`)).then(i=>i.json()).catch(()=>(console.error(`Translations for "${t}" not found or invalid, falling back to english`),l("en"))));let a=await n[t];return o[t]=a,a}function m(e){return e.map((t,a)=>c(t,a===1))}export{l as a,m as b};
|
|
@@ -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 b,b as x}from"./
|
|
6
|
+
import{a as b,b as x}from"./VGGT3YKZ.js";import{a as d,b as c}from"./CKAWSY2K.js";import{q as p}from"./EKVZQILU.js";import{a as h,b as u,d as w}from"./NKRPQYCQ.js";import"./XM2VN6WF.js";import{A as l,C as n,M as r,a,w as s,z as i}from"./EISQGSOR.js";import"./J7ES76D4.js";var k={button:"button"},C={plus:"plus"},M=s`/**
|
|
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 */
|
|
@@ -77,19 +77,19 @@ calcite-button:active {
|
|
|
77
77
|
|
|
78
78
|
[hidden] {
|
|
79
79
|
display: none;
|
|
80
|
-
}`,t=class extends
|
|
80
|
+
}`,t=class extends i{constructor(){super(...arguments),this.buttonEl=d(),this.appearance="solid",this.disabled=!1,this.icon=C.plus,this.iconFlipRtl=!1,this.kind="brand",this.loading=!1,this.scale="m",this.textEnabled=!1}static{this.properties={appearance:[3,{reflect:!0}],disabled:[7,{reflect:!0,type:Boolean}],icon:[3,{reflect:!0}],iconFlipRtl:[7,{reflect:!0,type:Boolean}],kind:[3,{reflect:!0}],label:1,loading:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],text:1,textEnabled:[7,{reflect:!0,type:Boolean}]}}static{this.styles=M}async setFocus(){await w(this),p(this.buttonEl.value)}load(){h(this)}updated(){b(this)}loaded(){u(this)}render(){let{appearance:f,kind:m,disabled:e,loading:v,scale:y,textEnabled:g,icon:$,label:o,text:E,iconFlipRtl:F}=this,G=g?null:o||E||null;return x({disabled:e,children:a`
|
|
81
81
|
<calcite-button
|
|
82
82
|
.appearance=${f==="solid"?"solid":"outline-fill"}
|
|
83
|
-
class=${
|
|
83
|
+
class=${l(k.button)}
|
|
84
84
|
.disabled=${e}
|
|
85
|
-
.iconFlipRtl=${
|
|
85
|
+
.iconFlipRtl=${F?"start":null}
|
|
86
86
|
.iconStart=${$}
|
|
87
87
|
.kind=${m}
|
|
88
88
|
.label=${o}
|
|
89
89
|
.loading=${v}
|
|
90
90
|
round
|
|
91
91
|
.scale=${y}
|
|
92
|
-
title=${
|
|
92
|
+
title=${G??n}
|
|
93
93
|
type=button
|
|
94
94
|
width=auto
|
|
95
95
|
${c(this.buttonEl)}>
|
|
@@ -1,8 +1,8 @@
|
|
|
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 r,a as i}from"./
|
|
6
|
+
import{A as r,a as i}from"./EISQGSOR.js";function s(){let{disabled:e}=this;e||HTMLElement.prototype.click.call(this)}function a(e){e.target.disabled&&e.preventDefault()}var o=["mousedown","mouseup","click"];function c(e){e.target.disabled&&(e.stopImmediatePropagation(),e.preventDefault())}var n={capture:!0};function m(e){if(e.disabled){e.el.setAttribute("aria-disabled","true"),e.el.contains(document.activeElement)&&document.activeElement.blur(),l(e);return}u(e),e.el.removeAttribute("aria-disabled")}function l(e){e.el.click=s,d(e.el)}function d(e){e.addEventListener("pointerdown",a,n),o.forEach(t=>e.addEventListener(t,c,n))}function u(e){delete e.el.click,f(e.el)}function f(e){e.removeEventListener("pointerdown",a,n),o.forEach(t=>e.removeEventListener(t,c,n))}var v={container:"interaction-container"},p=({children:e,disabled:t})=>i`<div class=${r(v.container)} .inert=${t}>
|
|
7
7
|
${e}
|
|
8
8
|
</div>`;export{m as a,p as b};
|
|
@@ -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 O,b as C}from"./
|
|
6
|
+
import{a as O,b as C}from"./VPNZGJNJ.js";import{a as v,b as x}from"./VGGT3YKZ.js";import{a as g}from"./NPV6XGSE.js";import{q as y}from"./EKVZQILU.js";import"./XM2VN6WF.js";import{A as b,M as f,a as h,w as u,y as m,z as p}from"./EISQGSOR.js";import"./J7ES76D4.js";var l={sortItem:"sort-item",container:"container",containerHorizontal:"container--horizontal",containerVertical:"container--vertical"},S=u`/**
|
|
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 */
|
|
@@ -73,7 +73,7 @@ import{a as O,b as C}from"./BXKB4ENX.js";import{a as v,b as x}from"./ABFUFIMB.js
|
|
|
73
73
|
|
|
74
74
|
[hidden] {
|
|
75
75
|
display: none;
|
|
76
|
-
}`,c=class extends p{constructor(){super(),this.dragEnabled=!0,this.items=[],this.mutationObserver=g("mutation",()=>{this.setUpSorting()}),this.disabled=!1,this.handleSelector="calcite-handle",this.layout="vertical",this.loading=!1,this.calciteListOrderChange=m({cancelable:!1}),this.listen("calciteHandleNudge",this.calciteHandleNudgeNextHandler)}static{this.properties={canPull:[0,{attribute:!1}],canPut:[0,{attribute:!1}],disabled:[7,{reflect:!0,type:Boolean}],dragSelector:[3,{reflect:!0}],group:[3,{reflect:!0}],handleSelector:[3,{reflect:!0}],layout:[3,{reflect:!0}],loading:[7,{reflect:!0,type:Boolean}]}}static{this.styles=S}connectedCallback(){super.connectedCallback(),this.setUpSorting(),this.beginObserving()}updated(){v(this)}disconnectedCallback(){super.disconnectedCallback(),C(this),this.endObserving()}calciteHandleNudgeNextHandler(e){this.handleNudgeEvent(e)}onGlobalDragStart(){this.endObserving()}onGlobalDragEnd(){this.beginObserving()}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(e){let{direction:o}=e.detail,t=e.composedPath().find(
|
|
76
|
+
}`,c=class extends p{constructor(){super(),this.dragEnabled=!0,this.items=[],this.mutationObserver=g("mutation",()=>{this.setUpSorting()}),this.disabled=!1,this.handleSelector="calcite-handle",this.layout="vertical",this.loading=!1,this.calciteListOrderChange=m({cancelable:!1}),this.listen("calciteHandleNudge",this.calciteHandleNudgeNextHandler)}static{this.properties={canPull:[0,{attribute:!1}],canPut:[0,{attribute:!1}],disabled:[7,{reflect:!0,type:Boolean}],dragSelector:[3,{reflect:!0}],group:[3,{reflect:!0}],handleSelector:[3,{reflect:!0}],layout:[3,{reflect:!0}],loading:[7,{reflect:!0,type:Boolean}]}}static{this.styles=S}connectedCallback(){super.connectedCallback(),this.setUpSorting(),this.beginObserving()}updated(){v(this)}disconnectedCallback(){super.disconnectedCallback(),C(this),this.endObserving()}calciteHandleNudgeNextHandler(e){this.handleNudgeEvent(e)}onGlobalDragStart(){this.endObserving()}onGlobalDragEnd(){this.beginObserving()}onDragEnd(){}onDragStart(){}onDragSort(){this.items=Array.from(this.el.children),this.calciteListOrderChange.emit()}handleNudgeEvent(e){let{direction:o}=e.detail,t=e.composedPath().find(s=>s.matches(this.handleSelector)),i=this.items.find(s=>s.contains(t)||e.composedPath().includes(s)),d=this.items.length-1,n=this.items.indexOf(i),a=!1,r;o==="up"?n===0?a=!0:r=n-1:n===d?r=0:n===d-1?a=!0:r=n+2,this.endObserving(),a?i.parentElement.appendChild(i):i.parentElement.insertBefore(i,this.items[r]),this.items=Array.from(this.el.children),this.beginObserving(),requestAnimationFrame(()=>y(t)),"selected"in t&&(t.selected=!0)}setUpSorting(){this.items=Array.from(this.el.children),O(this)}beginObserving(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}endObserving(){this.mutationObserver?.disconnect()}render(){let{disabled:e,layout:o}=this,t=o==="horizontal"||!1;return x({disabled:e,children:h`
|
|
77
77
|
<div
|
|
78
78
|
class=${b({[l.container]:!0,[l.containerVertical]:!t,[l.containerHorizontal]:t})}>
|
|
79
79
|
<slot></slot>
|
|
@@ -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
|
function ue(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,o)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ue(Object(n),!0).forEach(function(o){Xe(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ue(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Pt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Pt=function(t){return typeof t}:Pt=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pt(e)}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $(){return $=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},$.apply(this,arguments)}function Ye(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,r;for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Be(e,t){if(e==null)return{};var n=Ye(e,t),o,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var Ge="1.15.3";function U(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var q=U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ot=U(/Edge/i),fe=U(/firefox/i),wt=U(/safari/i)&&!U(/chrome/i)&&!U(/android/i),be=U(/iP(ad|od|hone)/i),Ee=U(/chrome/i)&&U(/android/i),ye={capture:!1,passive:!1};function E(e,t,n){e.addEventListener(t,n,!q&&ye)}function b(e,t,n){e.removeEventListener(t,n,!q&&ye)}function Yt(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function we(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function H(e,t,n,o){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Yt(e,t):Yt(e,t))||o&&e===n)return e;if(e===n)break}while(e=we(e))}return null}var ce=/\s+/g;function R(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(ce," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(ce," ")}}function h(e,t,n){var o=e&&e.style;if(o){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=n+(typeof n=="string"?"":"px")}}function ct(e,t){var n="";if(typeof e=="string")n=e;else do{var o=h(e,"transform");o&&o!=="none"&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function Se(e,t,n){if(e){var o=e.getElementsByTagName(t),i=0,r=o.length;if(n)for(;i<r;i++)n(o[i],i);return o}return[]}function K(){var e=document.scrollingElement;return e||document.documentElement}function O(e,t,n,o,i){if(!(!e.getBoundingClientRect&&e!==window)){var r,a,l,s,u,d,c;if(e!==window&&e.parentNode&&e!==K()?(r=e.getBoundingClientRect(),a=r.top,l=r.left,s=r.bottom,u=r.right,d=r.height,c=r.width):(a=0,l=0,s=window.innerHeight,u=window.innerWidth,d=window.innerHeight,c=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!q))do if(i&&i.getBoundingClientRect&&(h(i,"transform")!=="none"||n&&h(i,"position")!=="static")){var m=i.getBoundingClientRect();a-=m.top+parseInt(h(i,"border-top-width")),l-=m.left+parseInt(h(i,"border-left-width")),s=a+r.height,u=l+r.width;break}while(i=i.parentNode);if(o&&e!==window){var w=ct(i||e),v=w&&w.a,y=w&&w.d;w&&(a/=y,l/=v,c/=v,d/=y,s=a+d,u=l+c)}return{top:a,left:l,bottom:s,right:u,width:c,height:d}}}function de(e,t,n){for(var o=tt(e,!0),i=O(e)[t];o;){var r=O(o)[n],a=void 0;if(n==="top"||n==="left"?a=i>=r:a=i<=r,!a)return o;if(o===K())break;o=tt(o,!1)}return!1}function dt(e,t,n,o){for(var i=0,r=0,a=e.children;r<a.length;){if(a[r].style.display!=="none"&&a[r]!==p.ghost&&(o||a[r]!==p.dragged)&&H(a[r],n.draggable,e,!1)){if(i===t)return a[r];i++}r++}return null}function ie(e,t){for(var n=e.lastElementChild;n&&(n===p.ghost||h(n,"display")==="none"||t&&!Yt(n,t));)n=n.previousElementSibling;return n||null}function X(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==p.clone&&(!t||Yt(e,t))&&n++;return n}function he(e){var t=0,n=0,o=K();if(e)do{var i=ct(e),r=i.a,a=i.d;t+=e.scrollLeft*r,n+=e.scrollTop*a}while(e!==o&&(e=e.parentNode));return[t,n]}function He(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n)}return-1}function tt(e,t){if(!e||!e.getBoundingClientRect)return K();var n=e,o=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=h(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return K();if(o||t)return n;o=!0}}while(n=n.parentNode);return K()}function We(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function jt(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var St;function De(e,t){return function(){if(!St){var n=arguments,o=this;n.length===1?e.call(o,n[0]):e.apply(o,n),St=setTimeout(function(){St=void 0},t)}}}function Ke(){clearTimeout(St),St=void 0}function _e(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Ce(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function Oe(e,t,n){var o={};return Array.from(e.children).forEach(function(i){var r,a,l,s;if(!(!H(i,t.draggable,e,!1)||i.animated||i===n)){var u=O(i);o.left=Math.min((r=o.left)!==null&&r!==void 0?r:1/0,u.left),o.top=Math.min((a=o.top)!==null&&a!==void 0?a:1/0,u.top),o.right=Math.max((l=o.right)!==null&&l!==void 0?l:-1/0,u.right),o.bottom=Math.max((s=o.bottom)!==null&&s!==void 0?s:-1/0,u.bottom)}}),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var x="Sortable"+new Date().getTime();function Le(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var o=[].slice.call(this.el.children);o.forEach(function(i){if(!(h(i,"display")==="none"||i===p.ghost)){e.push({target:i,rect:O(i)});var r=L({},e[e.length-1].rect);if(i.thisAnimationDuration){var a=ct(i,!0);a&&(r.top-=a.f,r.left-=a.e)}i.fromRect=r}})}},addAnimationState:function(o){e.push(o)},removeAnimationState:function(o){e.splice(He(e,{target:o}),1)},animateAll:function(o){var i=this;if(!this.options.animation){clearTimeout(t),typeof o=="function"&&o();return}var r=!1,a=0;e.forEach(function(l){var s=0,u=l.target,d=u.fromRect,c=O(u),m=u.prevFromRect,w=u.prevToRect,v=l.rect,y=ct(u,!0);y&&(c.top-=y.f,c.left-=y.e),u.toRect=c,u.thisAnimationDuration&&jt(m,c)&&!jt(d,c)&&(v.top-c.top)/(v.left-c.left)===(d.top-c.top)/(d.left-c.left)&&(s=ze(v,m,w,i.options)),jt(c,d)||(u.prevFromRect=d,u.prevToRect=c,s||(s=i.options.animation),i.animate(u,v,c,s)),s&&(r=!0,a=Math.max(a,s),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},s),u.thisAnimationDuration=s)}),clearTimeout(t),r?t=setTimeout(function(){typeof o=="function"&&o()},a):typeof o=="function"&&o(),e=[]},animate:function(o,i,r,a){if(a){h(o,"transition",""),h(o,"transform","");var l=ct(this.el),s=l&&l.a,u=l&&l.d,d=(i.left-r.left)/(s||1),c=(i.top-r.top)/(u||1);o.animatingX=!!d,o.animatingY=!!c,h(o,"transform","translate3d("+d+"px,"+c+"px,0)"),this.forRepaintDummy=je(o),h(o,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),h(o,"transform","translate3d(0,0,0)"),typeof o.animated=="number"&&clearTimeout(o.animated),o.animated=setTimeout(function(){h(o,"transition",""),h(o,"transform",""),o.animated=!1,o.animatingX=!1,o.animatingY=!1},a)}}}}function je(e){return e.offsetWidth}function ze(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}var lt=[],zt={initializeByDefault:!0},Tt={mount:function(t){for(var n in zt)zt.hasOwnProperty(n)&&!(n in t)&&(t[n]=zt[n]);lt.forEach(function(o){if(o.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),lt.push(t)},pluginEvent:function(t,n,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var r=t+"Global";lt.forEach(function(a){n[a.pluginName]&&(n[a.pluginName][r]&&n[a.pluginName][r](L({sortable:n},o)),n.options[a.pluginName]&&n[a.pluginName][t]&&n[a.pluginName][t](L({sortable:n},o)))})},initializePlugins:function(t,n,o,i){lt.forEach(function(l){var s=l.pluginName;if(!(!t.options[s]&&!l.initializeByDefault)){var u=new l(t,n,t.options);u.sortable=t,u.options=t.options,t[s]=u,$(o,u.defaults)}});for(var r in t.options)if(t.options.hasOwnProperty(r)){var a=this.modifyOption(t,r,t.options[r]);typeof a<"u"&&(t.options[r]=a)}},getEventProperties:function(t,n){var o={};return lt.forEach(function(i){typeof i.eventProperties=="function"&&$(o,i.eventProperties.call(n[i.pluginName],t))}),o},modifyOption:function(t,n,o){var i;return lt.forEach(function(r){t[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[n]=="function"&&(i=r.optionListeners[n].call(t[r.pluginName],o))}),i}};function Ue(e){var t=e.sortable,n=e.rootEl,o=e.name,i=e.targetEl,r=e.cloneEl,a=e.toEl,l=e.fromEl,s=e.oldIndex,u=e.newIndex,d=e.oldDraggableIndex,c=e.newDraggableIndex,m=e.originalEvent,w=e.putSortable,v=e.extraEventProperties;if(t=t||n&&n[x],!!t){var y,Y=t.options,j="on"+o.charAt(0).toUpperCase()+o.substr(1);window.CustomEvent&&!q&&!Ot?y=new CustomEvent(o,{bubbles:!0,cancelable:!0}):(y=document.createEvent("Event"),y.initEvent(o,!0,!0)),y.to=a||n,y.from=l||n,y.item=i||n,y.clone=r,y.oldIndex=s,y.newIndex=u,y.oldDraggableIndex=d,y.newDraggableIndex=c,y.originalEvent=m,y.pullMode=w?w.lastPutMode:void 0;var I=L(L({},v),Tt.getEventProperties(o,t));for(var B in I)y[B]=I[B];n&&n.dispatchEvent(y),Y[j]&&Y[j].call(t,y)}}var $e=["evt"],M=function(t,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=o.evt,r=Be(o,$e);Tt.pluginEvent.bind(p)(t,n,L({dragEl:f,parentEl:_,ghostEl:g,rootEl:S,nextEl:at,lastDownEl:Ft,cloneEl:D,cloneHidden:J,dragStarted:bt,putSortable:T,activeSortable:p.active,originalEvent:i,oldIndex:ft,oldDraggableIndex:Dt,newIndex:k,newDraggableIndex:Q,hideGhostForTarget:Ne,unhideGhostForTarget:Me,cloneNowHidden:function(){J=!0},cloneNowShown:function(){J=!1},dispatchSortableEvent:function(l){N({sortable:n,name:l,originalEvent:i})}},r))};function N(e){Ue(L({putSortable:T,cloneEl:D,targetEl:f,rootEl:S,oldIndex:ft,oldDraggableIndex:Dt,newIndex:k,newDraggableIndex:Q},e))}var f,_,g,S,at,Ft,D,J,ft,k,Dt,Q,It,T,ut=!1,Bt=!1,Gt=[],it,G,Ut,$t,pe,ge,bt,st,_t,Ct=!1,Nt=!1,Rt,A,qt=[],te=!1,Ht=[],Kt=typeof document<"u",Mt=be,me=Ot||q?"cssFloat":"float",qe=Kt&&!Ee&&!be&&"draggable"in document.createElement("div"),Te=function(){if(Kt){if(q)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Ae=function(t,n){var o=h(t),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),r=dt(t,0,n),a=dt(t,1,n),l=r&&h(r),s=a&&h(a),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+O(r).width,d=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+O(a).width;if(o.display==="flex")return o.flexDirection==="column"||o.flexDirection==="column-reverse"?"vertical":"horizontal";if(o.display==="grid")return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&l.float&&l.float!=="none"){var c=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===c)?"vertical":"horizontal"}return r&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=i&&o[me]==="none"||a&&o[me]==="none"&&u+d>i)?"vertical":"horizontal"},Ve=function(t,n,o){var i=o?t.left:t.top,r=o?t.right:t.bottom,a=o?t.width:t.height,l=o?n.left:n.top,s=o?n.right:n.bottom,u=o?n.width:n.height;return i===l||r===s||i+a/2===l+u/2},Ze=function(t,n){var o;return Gt.some(function(i){var r=i[x].options.emptyInsertThreshold;if(!(!r||ie(i))){var a=O(i),l=t>=a.left-r&&t<=a.right+r,s=n>=a.top-r&&n<=a.bottom+r;if(l&&s)return o=i}}),o},Ie=function(t){function n(r,a){return function(l,s,u,d){var c=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(r==null&&(a||c))return!0;if(r==null||r===!1)return!1;if(a&&r==="clone")return r;if(typeof r=="function")return n(r(l,s,u,d),a)(l,s,u,d);var m=(a?l:s).options.group.name;return r===!0||typeof r=="string"&&r===m||r.join&&r.indexOf(m)>-1}}var o={},i=t.group;(!i||Pt(i)!="object")&&(i={name:i}),o.name=i.name,o.checkPull=n(i.pull,!0),o.checkPut=n(i.put),o.revertClone=i.revertClone,t.group=o},Ne=function(){!Te&&g&&h(g,"display","none")},Me=function(){!Te&&g&&h(g,"display","")};Kt&&!Ee&&document.addEventListener("click",function(e){if(Bt)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Bt=!1,!1},!0);var rt=function(t){if(f){t=t.touches?t.touches[0]:t;var n=Ze(t.clientX,t.clientY);if(n){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]=t[i]);o.target=o.rootEl=n,o.preventDefault=void 0,o.stopPropagation=void 0,n[x]._onDragOver(o)}}},Qe=function(t){f&&f.parentNode[x]._isOutsideThisEl(t.target)};function p(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=$({},t),e[x]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Ae(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:p.supportPointer!==!1&&"PointerEvent"in window&&!wt,emptyInsertThreshold:5};Tt.initializePlugins(this,e,n);for(var o in n)!(o in t)&&(t[o]=n[o]);Ie(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:qe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?E(e,"pointerdown",this._onTapStart):(E(e,"mousedown",this._onTapStart),E(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(E(e,"dragover",this),E(e,"dragenter",this)),Gt.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),$(this,Le())}p.prototype={constructor:p,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(st=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,f):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,o=this.el,i=this.options,r=i.preventOnFilter,a=t.type,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(l||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,d=i.filter;if(ln(o),!f&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&wt&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=H(s,i.draggable,o,!1),!(s&&s.animated)&&Ft!==s)){if(ft=X(s),Dt=X(s,i.draggable),typeof d=="function"){if(d.call(this,t,s,this)){N({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:o,fromEl:o}),M("filter",n,{evt:t}),r&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(c){if(c=H(u,c.trim(),o,!1),c)return N({sortable:n,rootEl:c,name:"filter",targetEl:s,fromEl:o,toEl:o}),M("filter",n,{evt:t}),!0}),d)){r&&t.cancelable&&t.preventDefault();return}i.handle&&!H(u,i.handle,o,!1)||this._prepareDragStart(t,l,s)}}},_prepareDragStart:function(t,n,o){var i=this,r=i.el,a=i.options,l=r.ownerDocument,s;if(o&&!f&&o.parentNode===r){var u=O(o);if(S=r,f=o,_=f.parentNode,at=f.nextSibling,Ft=o,It=a.group,p.dragged=f,it={target:f,clientX:(n||t).clientX,clientY:(n||t).clientY},pe=it.clientX-u.left,ge=it.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,f.style["will-change"]="all",s=function(){if(M("delayEnded",i,{evt:t}),p.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!fe&&i.nativeDraggable&&(f.draggable=!0),i._triggerDragStart(t,n),N({sortable:i,name:"choose",originalEvent:t}),R(f,a.chosenClass,!0)},a.ignore.split(",").forEach(function(d){Se(f,d.trim(),Vt)}),E(l,"dragover",rt),E(l,"mousemove",rt),E(l,"touchmove",rt),E(l,"mouseup",i._onDrop),E(l,"touchend",i._onDrop),E(l,"touchcancel",i._onDrop),fe&&this.nativeDraggable&&(this.options.touchStartThreshold=4,f.draggable=!0),M("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ot||q))){if(p.eventCanceled){this._onDrop();return}E(l,"mouseup",i._disableDelayedDrag),E(l,"touchend",i._disableDelayedDrag),E(l,"touchcancel",i._disableDelayedDrag),E(l,"mousemove",i._delayedDragTouchMoveHandler),E(l,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&E(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){f&&Vt(f),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._disableDelayedDrag),b(t,"touchend",this._disableDelayedDrag),b(t,"touchcancel",this._disableDelayedDrag),b(t,"mousemove",this._delayedDragTouchMoveHandler),b(t,"touchmove",this._delayedDragTouchMoveHandler),b(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?E(document,"pointermove",this._onTouchMove):n?E(document,"touchmove",this._onTouchMove):E(document,"mousemove",this._onTouchMove):(E(f,"dragend",this),E(S,"dragstart",this._onDragStart));try{document.selection?kt(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(ut=!1,S&&f){M("dragStarted",this,{evt:n}),this.nativeDraggable&&E(document,"dragover",Qe);var o=this.options;!t&&R(f,o.dragClass,!1),R(f,o.ghostClass,!0),p.active=this,t&&this._appendGhost(),N({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(G){this._lastX=G.clientX,this._lastY=G.clientY,Ne();for(var t=document.elementFromPoint(G.clientX,G.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(G.clientX,G.clientY),t!==n);)n=t;if(f.parentNode[x]._isOutsideThisEl(t),n)do{if(n[x]){var o=void 0;if(o=n[x]._onDragOver({clientX:G.clientX,clientY:G.clientY,target:t,rootEl:n}),o&&!this.options.dragoverBubble)break}t=n}while(n=we(n));Me()}},_onTouchMove:function(t){if(it){var n=this.options,o=n.fallbackTolerance,i=n.fallbackOffset,r=t.touches?t.touches[0]:t,a=g&&ct(g,!0),l=g&&a&&a.a,s=g&&a&&a.d,u=Mt&&A&&he(A),d=(r.clientX-it.clientX+i.x)/(l||1)+(u?u[0]-qt[0]:0)/(l||1),c=(r.clientY-it.clientY+i.y)/(s||1)+(u?u[1]-qt[1]:0)/(s||1);if(!p.active&&!ut){if(o&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<o)return;this._onDragStart(t,!0)}if(g){a?(a.e+=d-(Ut||0),a.f+=c-($t||0)):a={a:1,b:0,c:0,d:1,e:d,f:c};var m="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");h(g,"webkitTransform",m),h(g,"mozTransform",m),h(g,"msTransform",m),h(g,"transform",m),Ut=d,$t=c,G=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!g){var t=this.options.fallbackOnBody?document.body:S,n=O(f,!0,Mt,!0,t),o=this.options;if(Mt){for(A=t;h(A,"position")==="static"&&h(A,"transform")==="none"&&A!==document;)A=A.parentNode;A!==document.body&&A!==document.documentElement?(A===document&&(A=K()),n.top+=A.scrollTop,n.left+=A.scrollLeft):A=K(),qt=he(A)}g=f.cloneNode(!0),R(g,o.ghostClass,!1),R(g,o.fallbackClass,!0),R(g,o.dragClass,!0),h(g,"transition",""),h(g,"transform",""),h(g,"box-sizing","border-box"),h(g,"margin",0),h(g,"top",n.top),h(g,"left",n.left),h(g,"width",n.width),h(g,"height",n.height),h(g,"opacity","0.8"),h(g,"position",Mt?"absolute":"fixed"),h(g,"zIndex","100000"),h(g,"pointerEvents","none"),p.ghost=g,t.appendChild(g),h(g,"transform-origin",pe/parseInt(g.style.width)*100+"% "+ge/parseInt(g.style.height)*100+"%")}},_onDragStart:function(t,n){var o=this,i=t.dataTransfer,r=o.options;if(M("dragStart",this,{evt:t}),p.eventCanceled){this._onDrop();return}M("setupClone",this),p.eventCanceled||(D=Ce(f),D.removeAttribute("id"),D.draggable=!1,D.style["will-change"]="",this._hideClone(),R(D,this.options.chosenClass,!1),p.clone=D),o.cloneId=kt(function(){M("clone",o),!p.eventCanceled&&(o.options.removeCloneOnHide||S.insertBefore(D,f),o._hideClone(),N({sortable:o,name:"clone"}))}),!n&&R(f,r.dragClass,!0),n?(Bt=!0,o._loopId=setInterval(o._emulateDragOver,50)):(b(document,"mouseup",o._onDrop),b(document,"touchend",o._onDrop),b(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(o,i,f)),E(document,"drop",o),h(f,"transform","translateZ(0)")),ut=!0,o._dragStartId=kt(o._dragStarted.bind(o,n,t)),E(document,"selectstart",o),bt=!0,wt&&h(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,o=t.target,i,r,a,l=this.options,s=l.group,u=p.active,d=It===s,c=l.sort,m=T||u,w,v=this,y=!1;if(te)return;function Y(vt,Re){M(vt,v,L({evt:t,isOwner:d,axis:w?"vertical":"horizontal",revert:a,dragRect:i,targetRect:r,canSort:c,fromSortable:m,target:o,completed:I,onMove:function(se,ke){return xt(S,n,f,i,se,O(se),t,ke)},changed:B},Re))}function j(){Y("dragOverAnimationCapture"),v.captureAnimationState(),v!==m&&m.captureAnimationState()}function I(vt){return Y("dragOverCompleted",{insertion:vt}),vt&&(d?u._hideClone():u._showClone(v),v!==m&&(R(f,T?T.options.ghostClass:u.options.ghostClass,!1),R(f,l.ghostClass,!0)),T!==v&&v!==p.active?T=v:v===p.active&&T&&(T=null),m===v&&(v._ignoreWhileAnimating=o),v.animateAll(function(){Y("dragOverAnimationComplete"),v._ignoreWhileAnimating=null}),v!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(o===f&&!f.animated||o===n&&!o.animated)&&(st=null),!l.dragoverBubble&&!t.rootEl&&o!==document&&(f.parentNode[x]._isOutsideThisEl(t.target),!vt&&rt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),y=!0}function B(){k=X(f),Q=X(f,l.draggable),N({sortable:v,name:"change",toEl:n,newIndex:k,newDraggableIndex:Q,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),o=H(o,l.draggable,n,!0),Y("dragOver"),p.eventCanceled)return y;if(f.contains(t.target)||o.animated&&o.animatingX&&o.animatingY||v._ignoreWhileAnimating===o)return I(!1);if(Bt=!1,u&&!l.disabled&&(d?c||(a=_!==S):T===this||(this.lastPutMode=It.checkPull(this,u,f,t))&&s.checkPut(this,u,f,t))){if(w=this._getDirection(t,o)==="vertical",i=O(f),Y("dragOverValid"),p.eventCanceled)return y;if(a)return _=S,j(),this._hideClone(),Y("revert"),p.eventCanceled||(at?S.insertBefore(f,at):S.appendChild(f)),I(!0);var P=ie(n,l.draggable);if(!P||nn(t,w,this)&&!P.animated){if(P===f)return I(!1);if(P&&n===t.target&&(o=P),o&&(r=O(o)),xt(S,n,f,i,o,r,t,!!o)!==!1)return j(),P&&P.nextSibling?n.insertBefore(f,P.nextSibling):n.appendChild(f),_=n,B(),I(!0)}else if(P&&en(t,w,this)){var et=dt(n,0,l,!0);if(et===f)return I(!1);if(o=et,r=O(o),xt(S,n,f,i,o,r,t,!1)!==!1)return j(),n.insertBefore(f,et),_=n,B(),I(!0)}else if(o.parentNode===n){r=O(o);var W=0,nt,ht=f.parentNode!==n,F=!Ve(f.animated&&f.toRect||i,o.animated&&o.toRect||r,w),pt=w?"top":"left",V=de(o,"top","top")||de(f,"top","top"),gt=V?V.scrollTop:void 0;st!==o&&(nt=r[pt],Ct=!1,Nt=!F&&l.invertSwap||ht),W=on(t,o,r,w,F?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,Nt,st===o);var z;if(W!==0){var ot=X(f);do ot-=W,z=_.children[ot];while(z&&(h(z,"display")==="none"||z===g))}if(W===0||z===o)return I(!1);st=o,_t=W;var mt=o.nextElementSibling,Z=!1;Z=W===1;var At=xt(S,n,f,i,o,r,t,Z);if(At!==!1)return(At===1||At===-1)&&(Z=At===1),te=!0,setTimeout(tn,30),j(),Z&&!mt?n.appendChild(f):o.parentNode.insertBefore(f,Z?mt:o),V&&_e(V,0,gt-V.scrollTop),_=f.parentNode,nt!==void 0&&!Nt&&(Rt=Math.abs(nt-O(o)[pt])),B(),I(!0)}if(n.contains(f))return I(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){b(document,"mousemove",this._onTouchMove),b(document,"touchmove",this._onTouchMove),b(document,"pointermove",this._onTouchMove),b(document,"dragover",rt),b(document,"mousemove",rt),b(document,"touchmove",rt)},_offUpEvents:function(){var t=this.el.ownerDocument;b(t,"mouseup",this._onDrop),b(t,"touchend",this._onDrop),b(t,"pointerup",this._onDrop),b(t,"touchcancel",this._onDrop),b(document,"selectstart",this)},_onDrop:function(t){var n=this.el,o=this.options;if(k=X(f),Q=X(f,o.draggable),M("drop",this,{evt:t}),_=f&&f.parentNode,k=X(f),Q=X(f,o.draggable),p.eventCanceled){this._nulling();return}ut=!1,Nt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ee(this.cloneId),ee(this._dragStartId),this.nativeDraggable&&(b(document,"drop",this),b(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),wt&&h(document.body,"user-select",""),h(f,"transform",""),t&&(bt&&(t.cancelable&&t.preventDefault(),!o.dropBubble&&t.stopPropagation()),g&&g.parentNode&&g.parentNode.removeChild(g),(S===_||T&&T.lastPutMode!=="clone")&&D&&D.parentNode&&D.parentNode.removeChild(D),f&&(this.nativeDraggable&&b(f,"dragend",this),Vt(f),f.style["will-change"]="",bt&&!ut&&R(f,T?T.options.ghostClass:this.options.ghostClass,!1),R(f,this.options.chosenClass,!1),N({sortable:this,name:"unchoose",toEl:_,newIndex:null,newDraggableIndex:null,originalEvent:t}),S!==_?(k>=0&&(N({rootEl:_,name:"add",toEl:_,fromEl:S,originalEvent:t}),N({sortable:this,name:"remove",toEl:_,originalEvent:t}),N({rootEl:_,name:"sort",toEl:_,fromEl:S,originalEvent:t}),N({sortable:this,name:"sort",toEl:_,originalEvent:t})),T&&T.save()):k!==ft&&k>=0&&(N({sortable:this,name:"update",toEl:_,originalEvent:t}),N({sortable:this,name:"sort",toEl:_,originalEvent:t})),p.active&&((k==null||k===-1)&&(k=ft,Q=Dt),N({sortable:this,name:"end",toEl:_,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){M("nulling",this),S=f=_=g=at=D=Ft=J=it=G=bt=k=Q=ft=Dt=st=_t=T=It=p.dragged=p.ghost=p.clone=p.active=null,Ht.forEach(function(t){t.checked=!0}),Ht.length=Ut=$t=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":f&&(this._onDragOver(t),Je(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,o=this.el.children,i=0,r=o.length,a=this.options;i<r;i++)n=o[i],H(n,a.draggable,this.el,!1)&&t.push(n.getAttribute(a.dataIdAttr)||an(n));return t},sort:function(t,n){var o={},i=this.el;this.toArray().forEach(function(r,a){var l=i.children[a];H(l,this.options.draggable,i,!1)&&(o[r]=l)},this),n&&this.captureAnimationState(),t.forEach(function(r){o[r]&&(i.removeChild(o[r]),i.appendChild(o[r]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return H(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var o=this.options;if(n===void 0)return o[t];var i=Tt.modifyOption(this,t,n);typeof i<"u"?o[t]=i:o[t]=n,t==="group"&&Ie(o)},destroy:function(){M("destroy",this);var t=this.el;t[x]=null,b(t,"mousedown",this._onTapStart),b(t,"touchstart",this._onTapStart),b(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(b(t,"dragover",this),b(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Gt.splice(Gt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!J){if(M("hideClone",this),p.eventCanceled)return;h(D,"display","none"),this.options.removeCloneOnHide&&D.parentNode&&D.parentNode.removeChild(D),J=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(J){if(M("showClone",this),p.eventCanceled)return;f.parentNode==S&&!this.options.group.revertClone?S.insertBefore(D,f):at?S.insertBefore(D,at):S.appendChild(D),this.options.group.revertClone&&this.animate(f,D),h(D,"display",""),J=!1}}};function Je(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function xt(e,t,n,o,i,r,a,l){var s,u=e[x],d=u.options.onMove,c;return window.CustomEvent&&!q&&!Ot?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=i||t,s.relatedRect=r||O(t),s.willInsertAfter=l,s.originalEvent=a,e.dispatchEvent(s),d&&(c=d.call(u,s,a)),c}function Vt(e){e.draggable=!1}function tn(){te=!1}function en(e,t,n){var o=O(dt(n.el,0,n.options,!0)),i=Oe(n.el,n.options,g),r=10;return t?e.clientX<i.left-r||e.clientY<o.top&&e.clientX<o.right:e.clientY<i.top-r||e.clientY<o.bottom&&e.clientX<o.left}function nn(e,t,n){var o=O(ie(n.el,n.options.draggable)),i=Oe(n.el,n.options,g),r=10;return t?e.clientX>i.right+r||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>i.bottom+r||e.clientX>o.right&&e.clientY>o.top}function on(e,t,n,o,i,r,a,l){var s=o?e.clientY:e.clientX,u=o?n.height:n.width,d=o?n.top:n.left,c=o?n.bottom:n.right,m=!1;if(!a){if(l&&Rt<u*i){if(!Ct&&(_t===1?s>d+u*r/2:s<c-u*r/2)&&(Ct=!0),Ct)m=!0;else if(_t===1?s<d+Rt:s>c-Rt)return-_t}else if(s>d+u*(1-i)/2&&s<c-u*(1-i)/2)return rn(t)}return m=m||a,m&&(s<d+u*r/2||s>c-u*r/2)?s>d+u/2?1:-1:0}function rn(e){return X(f)<X(e)?1:-1}function an(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function ln(e){Ht.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var o=t[n];o.checked&&Ht.push(o)}}function kt(e){return setTimeout(e,0)}function ee(e){return clearTimeout(e)}Kt&&E(document,"touchmove",function(e){(p.active||ut)&&e.cancelable&&e.preventDefault()});p.utils={on:E,off:b,css:h,find:Se,is:function(t,n){return!!H(t,n,t,!1)},extend:We,throttle:De,closest:H,toggleClass:R,clone:Ce,index:X,nextTick:kt,cancelNextTick:ee,detectDirection:Ae,getChild:dt,expando:x};p.get=function(e){return e[x]};p.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(o){if(!o.prototype||!o.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));o.utils&&(p.utils=L(L({},p.utils),o.utils)),Tt.mount(o)})};p.create=function(e,t){return new p(e,t)};p.version=Ge;var C=[],Et,ne,oe=!1,Zt,Qt,Wt,yt;function sn(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var o=n.originalEvent;this.sortable.nativeDraggable?E(document,"dragover",this._handleAutoScroll):this.options.supportPointer?E(document,"pointermove",this._handleFallbackAutoScroll):o.touches?E(document,"touchmove",this._handleFallbackAutoScroll):E(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var o=n.originalEvent;!this.options.dragOverBubble&&!o.rootEl&&this._handleAutoScroll(o)},drop:function(){this.sortable.nativeDraggable?b(document,"dragover",this._handleAutoScroll):(b(document,"pointermove",this._handleFallbackAutoScroll),b(document,"touchmove",this._handleFallbackAutoScroll),b(document,"mousemove",this._handleFallbackAutoScroll)),ve(),Xt(),Ke()},nulling:function(){Wt=ne=Et=oe=yt=Zt=Qt=null,C.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,o){var i=this,r=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,l=document.elementFromPoint(r,a);if(Wt=n,o||this.options.forceAutoScrollFallback||Ot||q||wt){Jt(n,this.options,l,o);var s=tt(l,!0);oe&&(!yt||r!==Zt||a!==Qt)&&(yt&&ve(),yt=setInterval(function(){var u=tt(document.elementFromPoint(r,a),!0);u!==s&&(s=u,Xt()),Jt(n,i.options,u,o)},10),Zt=r,Qt=a)}else{if(!this.options.bubbleScroll||tt(l,!0)===K()){Xt();return}Jt(n,this.options,tt(l,!1),!1)}}},$(e,{pluginName:"scroll",initializeByDefault:!0})}function Xt(){C.forEach(function(e){clearInterval(e.pid)}),C=[]}function ve(){clearInterval(yt)}var Jt=De(function(e,t,n,o){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,l=t.scrollSpeed,s=K(),u=!1,d;ne!==n&&(ne=n,Xt(),Et=t.scroll,d=t.scrollFn,Et===!0&&(Et=tt(n,!0)));var c=0,m=Et;do{var w=m,v=O(w),y=v.top,Y=v.bottom,j=v.left,I=v.right,B=v.width,P=v.height,et=void 0,W=void 0,nt=w.scrollWidth,ht=w.scrollHeight,F=h(w),pt=w.scrollLeft,V=w.scrollTop;w===s?(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"||F.overflowX==="visible"),W=P<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"||F.overflowY==="visible")):(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"),W=P<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"));var gt=et&&(Math.abs(I-i)<=a&&pt+B<nt)-(Math.abs(j-i)<=a&&!!pt),z=W&&(Math.abs(Y-r)<=a&&V+P<ht)-(Math.abs(y-r)<=a&&!!V);if(!C[c])for(var ot=0;ot<=c;ot++)C[ot]||(C[ot]={});(C[c].vx!=gt||C[c].vy!=z||C[c].el!==w)&&(C[c].el=w,C[c].vx=gt,C[c].vy=z,clearInterval(C[c].pid),(gt!=0||z!=0)&&(u=!0,C[c].pid=setInterval(function(){o&&this.layer===0&&p.active._onTouchMove(Wt);var mt=C[this.layer].vy?C[this.layer].vy*l:0,Z=C[this.layer].vx?C[this.layer].vx*l:0;typeof d=="function"&&d.call(p.dragged.parentNode[x],Z,mt,e,Wt,C[this.layer].el)!=="continue"||_e(C[this.layer].el,Z,mt)}.bind({layer:c}),24))),c++}while(t.bubbleScroll&&m!==s&&(m=tt(m,!1)));oe=u}},30),xe=function(t){var n=t.originalEvent,o=t.putSortable,i=t.dragEl,r=t.activeSortable,a=t.dispatchSortableEvent,l=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(n){var u=o||r;l();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,c=document.elementFromPoint(d.clientX,d.clientY);s(),u&&!u.el.contains(c)&&(a("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function re(){}re.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,o=t.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=dt(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(n,i):this.sortable.el.appendChild(n),this.sortable.animateAll(),o&&o.animateAll()},drop:xe};$(re,{pluginName:"revertOnSpill"});function ae(){}ae.prototype={onSpill:function(t){var n=t.dragEl,o=t.putSortable,i=o||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:xe};$(ae,{pluginName:"removeOnSpill"});p.mount(new sn);p.mount(ae,re);var Pe=p;var Lt=new Set,un={ghostClass:"calcite-sortable--ghost",chosenClass:"calcite-sortable--chosen",dragClass:"calcite-sortable--drag",fallbackClass:"calcite-sortable--fallback"};function mn(e){if(Fe(e))return;fn(e),Lt.add(e);let t="id",{group:n,handleSelector:o,dragSelector:i}=e;e.sortable=Pe.create(e.el,{dataIdAttr:t,...un,...!!i&&{draggable:i},...!!n&&{group:{name:n,...!!e.canPull&&{pull:(r,a,l,{newIndex:s,oldIndex:u})=>e.canPull({toEl:r.el,fromEl:a.el,dragEl:l,newIndex:s,oldIndex:u})},...!!e.canPut&&{put:(r,a,l,{newIndex:s,oldIndex:u})=>e.canPut({toEl:r.el,fromEl:a.el,dragEl:l,newIndex:s,oldIndex:u})}}},onMove:({from:r,dragged:a,to:l,related:s})=>{e.onDragMove&&e.onDragMove({fromEl:r,dragEl:a,toEl:l,relatedEl:s})},handle:o,filter:`${o}[disabled]`,onStart:({from:r,item:a,to:l,newIndex:s,oldIndex:u})=>{le.active=!0,cn(),e.onDragStart({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})},onEnd:({from:r,item:a,to:l,newIndex:s,oldIndex:u})=>{le.active=!1,dn(),e.onDragEnd({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})},onSort:({from:r,item:a,to:l,newIndex:s,oldIndex:u})=>{e.onDragSort({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})}})}function fn(e){Fe(e)||(Lt.delete(e),e.sortable?.destroy(),e.sortable=null)}var le={active:!1};function Fe(e){return e.dragEnabled&&le.active}function cn(){Array.from(Lt).forEach(e=>e.onGlobalDragStart())}function dn(){Array.from(Lt).forEach(e=>e.onGlobalDragEnd())}export{mn as a,fn as b};
|