@esri/calcite-components 3.0.0-next.98 → 3.0.0
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/22RQB3WE.js +4 -0
- package/dist/calcite/{YGZZRAVL.js → 24SER2VV.js} +4 -6
- package/dist/calcite/2BGMAPSV.js +4 -0
- package/dist/calcite/2JKKAEPM.js +4 -0
- package/dist/calcite/{DMND3N53.js → 2M4WCGKG.js} +4 -6
- package/dist/calcite/2YAXZHP2.js +4 -0
- package/dist/calcite/{7D6Q26CZ.js → 345Q4UHX.js} +4 -6
- package/dist/calcite/{LPR4PB3U.js → 36DMRAV2.js} +4 -6
- package/dist/calcite/{XTM45ICH.js → 3DGJ6ZQI.js} +4 -6
- package/dist/calcite/3GICXOBQ.js +4 -0
- package/dist/calcite/3IV6JSC2.js +4 -0
- package/dist/calcite/{DOD4WFTZ.js → 3TOVZEQB.js} +4 -6
- package/dist/calcite/45GA6INB.js +4 -0
- package/dist/calcite/46U4MKUU.js +4 -0
- package/dist/calcite/4BSCJ722.js +4 -0
- package/dist/calcite/4SEPDFCP.js +5 -0
- package/dist/calcite/{EU3H7BCA.js → 4TQLSUKH.js} +4 -6
- package/dist/calcite/4YZ27QWL.js +4 -0
- package/dist/calcite/4Z7JRTON.js +4 -0
- package/dist/calcite/5AVZLE2Q.js +4 -0
- package/dist/calcite/{3AK4X5OV.js → 5EPP4MG3.js} +4 -6
- package/dist/calcite/{FPFTHRY6.js → 66B2H27W.js} +4 -6
- package/dist/calcite/6LW27BEV.js +4 -0
- package/dist/calcite/6OZRZ36X.js +4 -0
- package/dist/calcite/6X2SD2PW.js +4 -0
- package/dist/calcite/{ZGJB2ECH.js → 6XTYGXNG.js} +4 -6
- package/dist/calcite/6ZTWHW63.js +4 -0
- package/dist/calcite/{YFZLUYQJ.js → 7D3VEEUX.js} +4 -6
- package/dist/calcite/7E342YOK.js +4 -0
- package/dist/calcite/{3XOYD44L.js → 7KSGVDSR.js} +4 -6
- package/dist/calcite/{6FWANW5T.js → 7PWETOIU.js} +4 -6
- package/dist/calcite/7QHUEK5R.js +4 -0
- package/dist/calcite/{NSKFJMNX.js → 7SX3RD7P.js} +4 -6
- package/dist/calcite/7U7FF3Y4.js +4 -0
- package/dist/calcite/7WG5I3MP.js +4 -0
- package/dist/calcite/{ADB3AYG3.js → A5GGYTUQ.js} +4 -6
- package/dist/calcite/{BRBFCQO2.js → AI3R3SU6.js} +5 -7
- package/dist/calcite/ARHYATTG.js +4 -0
- package/dist/calcite/{WMVGOOU2.js → ATHBUWBY.js} +4 -6
- package/dist/calcite/AXXJNFKZ.js +4 -0
- package/dist/calcite/{FG7MNK63.js → AYZ73RWQ.js} +4 -6
- package/dist/calcite/{NWOFVES6.js → BAHIPAHM.js} +4 -6
- package/dist/calcite/BRTDMTZ3.js +4 -0
- package/dist/calcite/BRTESQOJ.js +4 -0
- package/dist/calcite/{67NDJDQ5.js → BSRMWMHQ.js} +4 -6
- package/dist/calcite/{AZIIYZ5O.js → BZKF5ZXQ.js} +4 -6
- package/dist/calcite/C46JYVUP.js +4 -0
- package/dist/calcite/C54C5E23.js +4 -0
- package/dist/calcite/CBSMKHOY.js +4 -0
- package/dist/calcite/CFRBQXK4.js +4 -0
- package/dist/calcite/CIV3PH3Z.js +4 -0
- package/dist/calcite/CJYTY62F.js +4 -0
- package/dist/calcite/CK6HQQX6.js +4 -0
- package/dist/calcite/CMO3X257.js +4 -0
- package/dist/calcite/{SKMMQQJV.js → CNO6NFH5.js} +4 -6
- package/dist/calcite/CWPRBG3T.js +4 -0
- package/dist/calcite/CY6C2FDZ.js +4 -0
- package/dist/calcite/D2HDFE7S.js +22 -0
- package/dist/calcite/D36VWSDW.js +4 -0
- package/dist/calcite/{DALSMKYG.js → DBVNMM6Q.js} +4 -6
- package/dist/calcite/{HOWCGXPH.js → DDJ75RTI.js} +4 -6
- package/dist/calcite/DH4ISGHV.js +4 -0
- package/dist/calcite/{L6U5SH5H.js → DNYBIAUI.js} +4 -6
- package/dist/calcite/DT67ZFPX.js +4 -0
- package/dist/calcite/{TMHRMF76.js → DTL2LM6T.js} +4 -6
- package/dist/calcite/E3R5SMVW.js +4 -0
- package/dist/calcite/{MZ3KHKD7.js → E4NMFIKN.js} +4 -6
- package/dist/calcite/{KVSVZ6K7.js → EAML4EDI.js} +4 -6
- package/dist/calcite/{AJSU4WDN.js → ECEZ4R6E.js} +4 -6
- package/dist/calcite/EFI2G5WL.js +4 -0
- package/dist/calcite/EHZCT5YZ.js +4 -0
- package/dist/calcite/{NHHVXBWF.js → EOHVH6PN.js} +4 -6
- package/dist/calcite/ESBOJTBS.js +4 -0
- package/dist/calcite/F6EGRKXW.js +4 -0
- package/dist/calcite/FCN5RMLA.js +4 -0
- package/dist/calcite/FDIM6DYL.js +4 -0
- package/dist/calcite/FE3A3YUN.js +4 -0
- package/dist/calcite/FHBFGCTR.js +4 -0
- package/dist/calcite/FNFWOOMR.js +4 -0
- package/dist/calcite/{X4JV7QBZ.js → FNM4DZZH.js} +3 -5
- package/dist/calcite/G2KHDAZD.js +4 -0
- package/dist/calcite/{4YTV42YC.js → G3LH75CQ.js} +4 -6
- package/dist/calcite/{TJJNESY6.js → G3ZJ2KQT.js} +4 -6
- package/dist/calcite/{V7O3TS4K.js → G7WFYVUC.js} +4 -6
- package/dist/calcite/{C6D6T2QL.js → GAAXSGWK.js} +4 -6
- package/dist/calcite/{GIWNYIWI.js → GE63ETFI.js} +4 -6
- package/dist/calcite/{JAQBT7O2.js → GFC7NS6P.js} +4 -6
- package/dist/calcite/GGO5TMB4.js +4 -0
- package/dist/calcite/GKKCWEZX.js +4 -0
- package/dist/calcite/GN5CPLSJ.js +4 -0
- package/dist/calcite/GNUSLZWJ.js +4 -0
- package/dist/calcite/{7XR7JSFK.js → GOOHYN3D.js} +4 -6
- package/dist/calcite/GPUFLCIT.js +4 -0
- package/dist/calcite/GSXEMGSW.js +4 -0
- package/dist/calcite/GYQTRH4V.js +4 -0
- package/dist/calcite/HFIRIAQA.js +4 -0
- package/dist/calcite/{UR74R23Y.js → HGTV36FX.js} +4 -6
- package/dist/calcite/HKHPJJ34.js +4 -0
- package/dist/calcite/{Q2QY7ZFK.js → HMVKZP47.js} +4 -6
- package/dist/calcite/I2OIH73C.js +4 -0
- package/dist/calcite/{4GZ2XBON.js → I32TMNTO.js} +3 -5
- package/dist/calcite/{OEZ2ZO2E.js → I62DUDHI.js} +4 -6
- package/dist/calcite/IH4RXHJJ.js +4 -0
- package/dist/calcite/{YUH32F6Q.js → IJCTXZQB.js} +4 -6
- package/dist/calcite/{SIKDPHI3.js → IXRMDUEL.js} +4 -6
- package/dist/calcite/IYDN67SF.js +4 -0
- package/dist/calcite/JCWM5Z43.js +4 -0
- package/dist/calcite/{OVBCCJSO.js → JEX42CPR.js} +4 -6
- package/dist/calcite/JFYDLHH7.js +4 -0
- package/dist/calcite/JLZYAYOL.js +4 -0
- package/dist/calcite/{YADF4OR7.js → JUNCR7R2.js} +4 -6
- package/dist/calcite/{AOOHSCUM.js → JVNEJ36Z.js} +4 -6
- package/dist/calcite/K3ZBW4GY.js +4 -0
- package/dist/calcite/{LRWFZNMG.js → KBDXI6DJ.js} +4 -6
- package/dist/calcite/{RXVA6IDK.js → KBNS3CCT.js} +4 -6
- package/dist/calcite/KI2NOBMU.js +4 -0
- package/dist/calcite/KSNEQFZX.js +4 -0
- package/dist/calcite/KSVYAIHK.js +4 -0
- package/dist/calcite/KULDQOV2.js +4 -0
- package/dist/calcite/KVSCG5E3.js +6 -0
- package/dist/calcite/{QMAVVMZX.js → KW57BHXD.js} +4 -6
- package/dist/calcite/{USPGSZKI.js → KWOOGTG2.js} +4 -6
- package/dist/calcite/L5FDXQMT.js +4 -0
- package/dist/calcite/{D6VMYOIF.js → LB5ATL5Q.js} +4 -6
- package/dist/calcite/LH7KSBQC.js +4 -0
- package/dist/calcite/{LELS4MNY.js → LHSAAMYQ.js} +4 -6
- package/dist/calcite/LILDCWFX.js +4 -0
- package/dist/calcite/LLSB73WA.js +4 -0
- package/dist/calcite/{4MHQTNLP.js → LOZEGKG2.js} +4 -6
- package/dist/calcite/{VB2CZH2R.js → MBQZPRQ5.js} +4 -6
- package/dist/calcite/MCSX2S5T.js +4 -0
- package/dist/calcite/{IVBFSESV.js → MIKGJ3NM.js} +4 -6
- package/dist/calcite/MPAVJ7UH.js +4 -0
- package/dist/calcite/{MZKQ2IE5.js → MPX2M2VX.js} +4 -6
- package/dist/calcite/{VUI2CUZB.js → MQYH4ONZ.js} +3 -5
- package/dist/calcite/MUWK32IE.js +4 -0
- package/dist/calcite/{34JGX2UT.js → MZRO54UT.js} +4 -6
- package/dist/calcite/N2BVYYYP.js +4 -0
- package/dist/calcite/{3LRPQHGC.js → N4MN6VQ7.js} +4 -6
- package/dist/calcite/{NOOS5KYH.js → N55N67N5.js} +4 -6
- package/dist/calcite/NODC2JA6.js +4 -0
- package/dist/calcite/{3REOX2WD.js → NVBNX55L.js} +4 -6
- package/dist/calcite/{6KHZB5QM.js → NWVCPRVB.js} +3 -5
- package/dist/calcite/{36NZNZAH.js → O4O3TSE5.js} +4 -6
- package/dist/calcite/OE2AH2NC.js +4 -0
- package/dist/calcite/OGED6PPP.js +4 -0
- package/dist/calcite/{P4HQU6WZ.js → OHOS32IT.js} +4 -6
- package/dist/calcite/{M66YCIAJ.js → OLMX7G3J.js} +3 -5
- package/dist/calcite/OOSULFCY.js +4 -0
- package/dist/calcite/OPBQNK7J.js +4 -0
- package/dist/calcite/OTHVFLNW.js +4 -0
- package/dist/calcite/{MDXVE52Q.js → OTUG3NVT.js} +4 -6
- package/dist/calcite/PNHR5K2L.js +4 -0
- package/dist/calcite/{M3DNGO5Z.js → PT2XMADA.js} +3 -5
- package/dist/calcite/PZLVQQMT.js +4 -0
- package/dist/calcite/{PVA5CRLN.js → QAYSDI3M.js} +3 -5
- package/dist/calcite/QCGLMLKW.js +4 -0
- package/dist/calcite/QHASLHZN.js +4 -0
- package/dist/calcite/QK2H5T7J.js +4 -0
- package/dist/calcite/QLKHJI4P.js +4 -0
- package/dist/calcite/QQ67AVDV.js +4 -0
- package/dist/calcite/{U7CNRHVY.js → QU33PBBI.js} +4 -6
- package/dist/calcite/QYGED6CL.js +4 -0
- package/dist/calcite/R3HMG2D6.js +4 -0
- package/dist/calcite/{2ILRHKYA.js → R4RMVIKH.js} +4 -6
- package/dist/calcite/R6GNPMSV.js +4 -0
- package/dist/calcite/{RCCGU5MD.js → RAFCSOOQ.js} +4 -6
- package/dist/calcite/{OKBJXUSY.js → RAQWKUOJ.js} +4 -6
- package/dist/calcite/RESHLE2Y.js +4 -0
- package/dist/calcite/RJLKHCRB.js +4 -0
- package/dist/calcite/RLSQLIV6.js +4 -0
- package/dist/calcite/{3EX47ZJ7.js → RMGYRZXR.js} +4 -6
- package/dist/calcite/RSAEDAEX.js +4 -0
- package/dist/calcite/{L4QPHNYB.js → RUTUU2EH.js} +4 -6
- package/dist/calcite/{GSK6RQ3K.js → RVMVJW6K.js} +4 -6
- package/dist/calcite/RVQMJBNS.js +4 -0
- package/dist/calcite/{IU2I5NQH.js → S76CXQTI.js} +4 -6
- package/dist/calcite/SBZ6VJ75.js +4 -0
- package/dist/calcite/SJKTCGW6.js +4 -0
- package/dist/calcite/{OZT7IOB4.js → SKDMJE3X.js} +3 -5
- package/dist/calcite/SMUXJLDL.js +4 -0
- package/dist/calcite/SYEQSDHG.js +4 -0
- package/dist/calcite/T3NRBBZP.js +4 -0
- package/dist/calcite/T5UPGHU3.js +4 -0
- package/dist/calcite/{J2OJW5GP.js → T6HODD4B.js} +4 -6
- package/dist/calcite/TNR5VZG2.js +4 -0
- package/dist/calcite/TQIVV2F7.js +4 -0
- package/dist/calcite/{FZ4CSZA4.js → TQTAM3XB.js} +4 -6
- package/dist/calcite/{XYFCDRYI.js → TSJJLMPA.js} +3 -5
- package/dist/calcite/{2WAX46W7.js → TVDZM7WT.js} +4 -6
- package/dist/calcite/U3WK4DZT.js +4 -0
- package/dist/calcite/U725E4ID.js +4 -0
- package/dist/calcite/UELGJSYH.js +4 -0
- package/dist/calcite/UJL3BWDH.js +4 -0
- package/dist/calcite/{5BEC7VI2.js → URM3R65T.js} +4 -6
- package/dist/calcite/US3PQV6O.js +4 -0
- package/dist/calcite/{LB35U4RB.js → V4JZRN7T.js} +4 -6
- package/dist/calcite/{AXDFDSSW.js → VCSXFNPO.js} +4 -6
- package/dist/calcite/VG7BJBFG.js +4 -0
- package/dist/calcite/{XB45LF7D.js → VJD4CRQ3.js} +4 -6
- package/dist/calcite/VMRLYKNI.js +4 -0
- package/dist/calcite/{J7S4FBW6.js → VNQNKQ2J.js} +4 -6
- package/dist/calcite/VST65PDC.js +4 -0
- package/dist/calcite/WKTGTKRJ.js +4 -0
- package/dist/calcite/WPAMFFBY.js +4 -0
- package/dist/calcite/{EMKF6OLE.js → WSGL37LB.js} +4 -6
- package/dist/calcite/{5NJCKLIQ.js → WWUBU6N5.js} +4 -6
- package/dist/calcite/{EW526JIT.js → X2UHFJHG.js} +4 -6
- package/dist/calcite/XBZLGRRI.js +4 -0
- package/dist/calcite/XOVG6UH3.js +4 -0
- package/dist/calcite/{HYEIYTTY.js → XT32TCZG.js} +3 -5
- package/dist/calcite/XXZIOSXQ.js +4 -0
- package/dist/calcite/{B4XI5JOK.js → Y6VF7HSM.js} +4 -6
- package/dist/calcite/YA5A7PJR.js +4 -0
- package/dist/calcite/{5I3PI5EW.js → YMRTHS5X.js} +4 -6
- package/dist/calcite/{SKJ5S6CA.js → YTRT5XZT.js} +4 -6
- package/dist/calcite/{PBQGOCJH.js → YXLQFMOA.js} +4 -6
- package/dist/calcite/{FCUAMZTR.js → YYJSHQR3.js} +3 -5
- package/dist/calcite/{5QSUEEHT.js → Z6GA347Y.js} +4 -6
- package/dist/calcite/{G76AKBKS.js → Z7VNUC77.js} +4 -6
- package/dist/calcite/ZA76CHET.js +4 -0
- package/dist/calcite/ZGXTLCGJ.js +4 -0
- package/dist/calcite/{57K4SYWS.js → ZQO6E4FO.js} +4 -6
- package/dist/calcite/ZV442E6X.js +4 -0
- package/dist/calcite/assets/icon/crosshair16.json +1 -0
- package/dist/calcite/assets/icon/crosshair24.json +1 -0
- package/dist/calcite/assets/icon/crosshair32.json +1 -0
- package/dist/calcite/assets/icon/dualImageArea16.json +1 -0
- package/dist/calcite/assets/icon/dualImageArea24.json +1 -0
- package/dist/calcite/assets/icon/dualImageArea32.json +1 -0
- package/dist/calcite/assets/icon/dualImageDistance16.json +1 -0
- package/dist/calcite/assets/icon/dualImageDistance24.json +1 -0
- package/dist/calcite/assets/icon/dualImageDistance32.json +1 -0
- package/dist/calcite/assets/icon/dualImageLocation16.json +1 -0
- package/dist/calcite/assets/icon/dualImageLocation24.json +1 -0
- package/dist/calcite/assets/icon/dualImageLocation32.json +1 -0
- package/dist/calcite/assets/icon/hammerCoin16.json +1 -0
- package/dist/calcite/assets/icon/hammerCoin24.json +1 -0
- package/dist/calcite/assets/icon/hammerCoin32.json +1 -0
- package/dist/calcite/assets/icon/hammerLock16.json +1 -0
- package/dist/calcite/assets/icon/hammerLock24.json +1 -0
- package/dist/calcite/assets/icon/hammerLock32.json +1 -0
- package/dist/calcite/assets/icon/utilityNetworkLayer16.json +1 -0
- package/dist/calcite/assets/icon/utilityNetworkLayer24.json +1 -0
- package/dist/calcite/assets/icon/utilityNetworkLayer32.json +1 -0
- package/dist/calcite/calcite.css +1 -1
- package/dist/calcite/calcite.esm.js +4 -6
- package/dist/chunks/ExpandToggle.js +3 -5
- package/dist/chunks/FloatingArrow.js +6 -8
- package/dist/chunks/Heading.js +3 -5
- package/dist/chunks/Validation.js +3 -5
- package/dist/chunks/_commonjsHelpers.js +3 -5
- package/dist/chunks/array.js +3 -5
- package/dist/chunks/component.js +13 -11
- package/dist/chunks/core.js +3 -5
- package/dist/chunks/date.js +3 -5
- package/dist/chunks/dom.js +218 -234
- package/dist/chunks/dynamicClasses.js +3 -5
- package/dist/chunks/filter.js +3 -5
- package/dist/chunks/floating-ui.js +61 -65
- package/dist/chunks/focusTrapComponent.js +25 -30
- package/dist/chunks/form.js +19 -21
- package/dist/chunks/global.js +14 -14
- package/dist/chunks/guid.js +3 -5
- package/dist/chunks/input.js +3 -5
- package/dist/chunks/interact.min.js +3 -5
- package/dist/chunks/interactive.js +3 -5
- package/dist/chunks/key.js +3 -5
- package/dist/chunks/label.js +7 -9
- package/dist/chunks/loadable.js +11 -22
- package/dist/chunks/locale.js +3 -5
- package/dist/chunks/logger.js +3 -5
- package/dist/chunks/math.js +3 -5
- package/dist/chunks/observers.js +3 -5
- package/dist/chunks/openCloseComponent.js +5 -7
- package/dist/chunks/resources.js +3 -5
- package/dist/chunks/resources2.js +3 -5
- package/dist/chunks/resources3.js +8 -14
- package/dist/chunks/resources4.js +3 -5
- package/dist/chunks/resources5.js +3 -5
- package/dist/chunks/resources6.js +3 -5
- package/dist/chunks/resources7.js +3 -5
- package/dist/chunks/responsive.js +9 -12
- package/dist/chunks/runtime.js +39 -43
- package/dist/chunks/sortableComponent.js +49 -39
- package/dist/chunks/text.js +3 -5
- package/dist/chunks/time.js +12 -14
- package/dist/chunks/useFocusTrap.js +49 -0
- package/dist/chunks/useT9n.js +3 -5
- package/dist/chunks/utils.js +19 -17
- package/dist/chunks/utils2.js +3 -5
- package/dist/chunks/utils3.js +15 -16
- package/dist/chunks/utils4.js +264 -271
- package/dist/components/calcite-accordion/customElement.js +3 -5
- package/dist/components/calcite-accordion-item/customElement.js +10 -14
- package/dist/components/calcite-action/customElement.js +17 -21
- package/dist/components/calcite-action-bar/customElement.js +24 -27
- package/dist/components/calcite-action-group/customElement.js +20 -24
- package/dist/components/calcite-action-menu/customElement.js +14 -18
- package/dist/components/calcite-action-pad/customElement.js +21 -25
- package/dist/components/calcite-alert/customElement.js +50 -63
- package/dist/components/calcite-autocomplete/customElement.d.ts +10 -4
- package/dist/components/calcite-autocomplete/customElement.js +50 -52
- package/dist/components/calcite-autocomplete-item/customElement.js +17 -21
- package/dist/components/calcite-autocomplete-item-group/customElement.js +3 -5
- package/dist/components/calcite-avatar/customElement.js +8 -10
- package/dist/components/calcite-block/customElement.d.ts +18 -1
- package/dist/components/calcite-block/customElement.js +54 -40
- package/dist/components/calcite-block/index.d.ts +1 -1
- package/dist/components/calcite-block/index.js +1 -1
- package/dist/components/calcite-block/utils.d.ts +2 -0
- package/dist/components/calcite-block-group/customElement.d.ts +50 -0
- package/dist/components/calcite-block-group/customElement.js +177 -0
- package/dist/components/calcite-block-group/index.d.ts +2 -0
- package/dist/components/calcite-block-group/index.js +2 -0
- package/dist/components/calcite-block-group/interfaces.d.ts +14 -0
- package/dist/components/calcite-block-group/resources.d.ts +8 -0
- package/dist/components/calcite-block-group/utils.d.ts +1 -0
- package/dist/components/calcite-block-section/customElement.js +19 -23
- package/dist/components/calcite-button/customElement.js +28 -30
- package/dist/components/calcite-card/customElement.js +17 -23
- package/dist/components/calcite-card-group/customElement.js +15 -18
- package/dist/components/calcite-carousel/customElement.js +29 -32
- package/dist/components/calcite-carousel-item/customElement.js +3 -5
- package/dist/components/calcite-checkbox/customElement.d.ts +4 -1
- package/dist/components/calcite-checkbox/customElement.js +18 -22
- package/dist/components/calcite-chip/customElement.js +42 -44
- package/dist/components/calcite-chip-group/customElement.js +10 -14
- package/dist/components/calcite-color-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker/customElement.js +200 -178
- package/dist/components/calcite-color-picker/resources.d.ts +7 -16
- package/dist/components/calcite-color-picker/utils.d.ts +4 -3
- package/dist/components/calcite-color-picker-hex-input/customElement.js +27 -31
- package/dist/components/calcite-color-picker-swatch/customElement.js +3 -5
- package/dist/components/calcite-combobox/customElement.d.ts +5 -3
- package/dist/components/calcite-combobox/customElement.js +166 -160
- package/dist/components/calcite-combobox/resources.d.ts +1 -0
- package/dist/components/calcite-combobox-item/customElement.d.ts +2 -1
- package/dist/components/calcite-combobox-item/customElement.js +47 -38
- package/dist/components/calcite-combobox-item-group/customElement.js +13 -15
- package/dist/components/calcite-date-picker/customElement.d.ts +8 -2
- package/dist/components/calcite-date-picker/customElement.js +28 -31
- package/dist/components/calcite-date-picker-day/customElement.js +16 -19
- package/dist/components/calcite-date-picker-month/customElement.js +39 -41
- package/dist/components/calcite-date-picker-month-header/customElement.js +40 -44
- package/dist/components/calcite-dialog/customElement.d.ts +20 -4
- package/dist/components/calcite-dialog/customElement.js +78 -72
- package/dist/components/calcite-dialog/resources.d.ts +1 -0
- package/dist/components/calcite-dropdown/customElement.d.ts +1 -1
- package/dist/components/calcite-dropdown/customElement.js +63 -70
- package/dist/components/calcite-dropdown/resources.d.ts +1 -0
- package/dist/components/calcite-dropdown-group/customElement.js +4 -6
- package/dist/components/calcite-dropdown-item/customElement.js +20 -23
- package/dist/components/calcite-fab/customElement.js +19 -23
- package/dist/components/calcite-filter/customElement.js +20 -25
- package/dist/components/calcite-flow/customElement.js +19 -22
- package/dist/components/calcite-flow-item/customElement.js +26 -30
- package/dist/components/calcite-graph/customElement.js +52 -50
- package/dist/components/calcite-graph/interfaces.d.ts +1 -5
- package/dist/components/calcite-graph/resources.d.ts +5 -0
- package/dist/components/calcite-handle/customElement.d.ts +3 -0
- package/dist/components/calcite-handle/customElement.js +20 -18
- package/dist/components/calcite-icon/customElement.js +23 -25
- package/dist/components/calcite-inline-editable/customElement.js +25 -29
- package/dist/components/calcite-input/customElement.d.ts +14 -6
- package/dist/components/calcite-input/customElement.js +26 -29
- package/dist/components/calcite-input-date-picker/customElement.d.ts +12 -3
- package/dist/components/calcite-input-date-picker/customElement.js +84 -88
- package/dist/components/calcite-input-message/customElement.js +3 -5
- package/dist/components/calcite-input-number/customElement.d.ts +12 -5
- package/dist/components/calcite-input-number/customElement.js +30 -36
- package/dist/components/calcite-input-text/customElement.d.ts +10 -4
- package/dist/components/calcite-input-text/customElement.js +61 -65
- package/dist/components/calcite-input-time-picker/customElement.d.ts +8 -3
- package/dist/components/calcite-input-time-picker/customElement.js +45 -47
- package/dist/components/calcite-input-time-zone/customElement.js +53 -55
- package/dist/components/calcite-label/customElement.js +3 -5
- package/dist/components/calcite-link/customElement.js +10 -14
- package/dist/components/calcite-list/customElement.js +67 -70
- package/dist/components/calcite-list-item/customElement.js +66 -85
- package/dist/components/calcite-list-item/utils.d.ts +1 -0
- package/dist/components/calcite-list-item-group/customElement.js +3 -5
- package/dist/components/calcite-loader/customElement.js +3 -7
- package/dist/components/calcite-menu/customElement.js +12 -16
- package/dist/components/calcite-menu-item/customElement.js +12 -16
- package/dist/components/calcite-meter/customElement.js +26 -28
- package/dist/components/calcite-modal/customElement.d.ts +16 -3
- package/dist/components/calcite-modal/customElement.js +61 -61
- package/dist/components/calcite-navigation/customElement.js +17 -21
- package/dist/components/calcite-navigation-logo/customElement.js +12 -16
- package/dist/components/calcite-navigation-user/customElement.js +10 -14
- package/dist/components/calcite-notice/customElement.js +25 -28
- package/dist/components/calcite-option/customElement.js +3 -5
- package/dist/components/calcite-option-group/customElement.js +3 -5
- package/dist/components/calcite-pagination/customElement.js +15 -17
- package/dist/components/calcite-panel/customElement.js +45 -48
- package/dist/components/calcite-popover/customElement.d.ts +10 -7
- package/dist/components/calcite-popover/customElement.js +70 -79
- package/dist/components/calcite-progress/customElement.js +3 -5
- package/dist/components/calcite-radio-button/customElement.d.ts +4 -1
- package/dist/components/calcite-radio-button/customElement.js +17 -20
- package/dist/components/calcite-radio-button-group/customElement.d.ts +4 -1
- package/dist/components/calcite-radio-button-group/customElement.js +14 -17
- package/dist/components/calcite-rating/customElement.js +21 -23
- package/dist/components/calcite-scrim/customElement.js +3 -5
- package/dist/components/calcite-segmented-control/customElement.d.ts +4 -1
- package/dist/components/calcite-segmented-control/customElement.js +14 -17
- package/dist/components/calcite-segmented-control-item/customElement.js +28 -30
- package/dist/components/calcite-select/customElement.d.ts +4 -1
- package/dist/components/calcite-select/customElement.js +19 -22
- package/dist/components/calcite-sheet/customElement.d.ts +17 -3
- package/dist/components/calcite-sheet/customElement.js +59 -62
- package/dist/components/calcite-shell/customElement.js +3 -6
- package/dist/components/calcite-shell-center-row/customElement.js +3 -5
- package/dist/components/calcite-shell-panel/customElement.js +16 -20
- package/dist/components/calcite-slider/customElement.d.ts +4 -1
- package/dist/components/calcite-slider/customElement.js +18 -21
- package/dist/components/calcite-sort-handle/customElement.js +45 -35
- package/dist/components/calcite-sort-handle/index.d.ts +1 -1
- package/dist/components/calcite-sort-handle/index.js +1 -1
- package/dist/components/calcite-sortable-list/customElement.d.ts +4 -1
- package/dist/components/calcite-sortable-list/customElement.js +21 -16
- package/dist/components/calcite-split-button/customElement.js +13 -20
- package/dist/components/calcite-stack/customElement.js +4 -6
- package/dist/components/calcite-stepper/customElement.js +36 -39
- package/dist/components/calcite-stepper-item/customElement.js +23 -22
- package/dist/components/calcite-switch/customElement.js +10 -14
- package/dist/components/calcite-tab/customElement.js +3 -5
- package/dist/components/calcite-tab-nav/customElement.js +3 -5
- package/dist/components/calcite-tab-title/customElement.js +3 -5
- package/dist/components/calcite-table/customElement.js +44 -47
- package/dist/components/calcite-table-cell/customElement.js +22 -25
- package/dist/components/calcite-table-header/customElement.js +18 -21
- package/dist/components/calcite-table-row/customElement.js +6 -8
- package/dist/components/calcite-tabs/customElement.js +3 -5
- package/dist/components/calcite-text-area/customElement.d.ts +10 -3
- package/dist/components/calcite-text-area/customElement.js +30 -37
- package/dist/components/calcite-tile/customElement.js +16 -20
- package/dist/components/calcite-tile-group/customElement.js +3 -5
- package/dist/components/calcite-tile-select/customElement.js +17 -22
- package/dist/components/calcite-tile-select-group/customElement.js +3 -5
- package/dist/components/calcite-time-picker/customElement.d.ts +1 -0
- package/dist/components/calcite-time-picker/customElement.js +19 -23
- package/dist/components/calcite-tip/customElement.js +3 -5
- package/dist/components/calcite-tip-group/customElement.js +3 -5
- package/dist/components/calcite-tip-manager/customElement.js +3 -5
- package/dist/components/calcite-tooltip/customElement.js +41 -40
- package/dist/components/calcite-tree/customElement.js +3 -5
- package/dist/components/calcite-tree-item/customElement.js +16 -14
- package/dist/components/interfaces.d.ts +4 -0
- package/dist/controllers/useFocusTrap.d.ts +67 -0
- package/dist/custom-theme/block.d.ts +4 -5
- package/dist/custom-theme/calcite-shell-panel.d.ts +13 -0
- package/dist/custom-theme/date-picker.d.ts +28 -0
- package/dist/custom-theme/flow.d.ts +21 -0
- package/dist/custom-theme/graph.d.ts +4 -0
- package/dist/custom-theme/inline-editable.d.ts +10 -0
- package/dist/custom-theme/segmented-control.d.ts +7 -0
- package/dist/docs/api.json +1141 -159
- package/dist/docs/docs.json +1093 -126
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +315 -7
- package/dist/docs/vscode.html-custom-data.json +107 -60
- package/dist/docs/web-types.json +659 -119
- package/dist/extras/vscode-data.json +107 -60
- package/dist/index.d.ts +25 -0
- package/dist/index.js +3 -5
- package/dist/loader.js +16 -17
- package/dist/types/lumina.d.ts +18 -6
- package/dist/types/preact.d.ts +19 -6
- package/dist/types/react.d.ts +180 -165
- package/dist/types/stencil.d.ts +18 -6
- package/dist/utils/component.d.ts +4 -0
- package/dist/utils/focusTrapComponent.d.ts +9 -0
- package/dist/utils/loadable.d.ts +26 -43
- package/dist/utils/openCloseComponent.d.ts +17 -18
- package/hydrate/index.d.ts +1 -0
- package/hydrate/index.js +1 -0
- package/hydrate/index.mjs +1 -0
- package/package.json +11 -12
- package/readme.md +5 -69
- package/dist/calcite/22HJHGFC.js +0 -6
- package/dist/calcite/24UHHCGZ.js +0 -6
- package/dist/calcite/26RYXNTM.js +0 -6
- package/dist/calcite/2BDE5BE5.js +0 -6
- package/dist/calcite/2Z66C2UQ.js +0 -6
- package/dist/calcite/32ZUDEFF.js +0 -6
- package/dist/calcite/33ZHAQAN.js +0 -6
- package/dist/calcite/344WUQSU.js +0 -6
- package/dist/calcite/36QANWE7.js +0 -6
- package/dist/calcite/3BABRTZ7.js +0 -6
- package/dist/calcite/3GVUXBN3.js +0 -6
- package/dist/calcite/3ISRG7GL.js +0 -6
- package/dist/calcite/43FXUJG7.js +0 -6
- package/dist/calcite/43U3QOKZ.js +0 -6
- package/dist/calcite/45C26CGA.js +0 -6
- package/dist/calcite/4DYITTEZ.js +0 -6
- package/dist/calcite/4GJIQCDB.js +0 -6
- package/dist/calcite/4TQWOYN3.js +0 -6
- package/dist/calcite/525CSK55.js +0 -6
- package/dist/calcite/5J3KIS2Y.js +0 -6
- package/dist/calcite/5LBOUCUR.js +0 -6
- package/dist/calcite/5YNUO5U6.js +0 -6
- package/dist/calcite/635OBWKC.js +0 -6
- package/dist/calcite/7LNOTS5J.js +0 -6
- package/dist/calcite/7VTS46YY.js +0 -6
- package/dist/calcite/7XAMYDVB.js +0 -6
- package/dist/calcite/7ZVYZ7HI.js +0 -6
- package/dist/calcite/AG2N2DRD.js +0 -6
- package/dist/calcite/AO43UELW.js +0 -6
- package/dist/calcite/BG2AISBE.js +0 -6
- package/dist/calcite/BGH5AJN6.js +0 -6
- package/dist/calcite/BXSIT4FA.js +0 -6
- package/dist/calcite/CCQRH5OE.js +0 -6
- package/dist/calcite/CNNNSCMZ.js +0 -6
- package/dist/calcite/DAXZUZG7.js +0 -6
- package/dist/calcite/DVDIWJH7.js +0 -6
- package/dist/calcite/EXJCK3HG.js +0 -6
- package/dist/calcite/F6OUTEHV.js +0 -6
- package/dist/calcite/FJAWVMYN.js +0 -6
- package/dist/calcite/FLX3VOM5.js +0 -6
- package/dist/calcite/G2QEEOO5.js +0 -6
- package/dist/calcite/H7BZS7IR.js +0 -6
- package/dist/calcite/HKNIHKIM.js +0 -6
- package/dist/calcite/HLG6DGAF.js +0 -6
- package/dist/calcite/HMVW5COC.js +0 -6
- package/dist/calcite/IAG3EJCS.js +0 -6
- package/dist/calcite/IBJ3DPFM.js +0 -6
- package/dist/calcite/IDSRWSZS.js +0 -6
- package/dist/calcite/IGFOWO7X.js +0 -6
- package/dist/calcite/IKWE7O4V.js +0 -6
- package/dist/calcite/JGO64K4G.js +0 -6
- package/dist/calcite/JVXIBINH.js +0 -6
- package/dist/calcite/K5OJ3522.js +0 -6
- package/dist/calcite/KDABXPKT.js +0 -6
- package/dist/calcite/KLKV3NO5.js +0 -6
- package/dist/calcite/KNU6MVIX.js +0 -6
- package/dist/calcite/KOX7NSUX.js +0 -6
- package/dist/calcite/KTIDLP6I.js +0 -24
- package/dist/calcite/KUQLVV3G.js +0 -6
- package/dist/calcite/L75EPU72.js +0 -6
- package/dist/calcite/LJ5WXSCB.js +0 -6
- package/dist/calcite/M7JLEFAV.js +0 -6
- package/dist/calcite/MDJ7KIEH.js +0 -6
- package/dist/calcite/MNPVC4UV.js +0 -6
- package/dist/calcite/MTZJ3QEO.js +0 -6
- package/dist/calcite/N5RAGKSV.js +0 -6
- package/dist/calcite/N7S4KMZ3.js +0 -6
- package/dist/calcite/NKJ53SP5.js +0 -6
- package/dist/calcite/NP6XKXNB.js +0 -6
- package/dist/calcite/NPTTGQKZ.js +0 -6
- package/dist/calcite/NU7YASJY.js +0 -6
- package/dist/calcite/NWVRCTA3.js +0 -6
- package/dist/calcite/OANTC65T.js +0 -6
- package/dist/calcite/ORFOJQIT.js +0 -6
- package/dist/calcite/OZ2EM7PB.js +0 -6
- package/dist/calcite/P2EHUODO.js +0 -6
- package/dist/calcite/P2OWRZWS.js +0 -6
- package/dist/calcite/PLIJBDJE.js +0 -6
- package/dist/calcite/PNUVZ3BZ.js +0 -6
- package/dist/calcite/PRLNQU3I.js +0 -6
- package/dist/calcite/QFRCFN5B.js +0 -6
- package/dist/calcite/QMW634ML.js +0 -6
- package/dist/calcite/QVFO4PCF.js +0 -6
- package/dist/calcite/R4GMIOLL.js +0 -6
- package/dist/calcite/RAABIUMQ.js +0 -6
- package/dist/calcite/RBAXDZGX.js +0 -6
- package/dist/calcite/RRXQBAP5.js +0 -6
- package/dist/calcite/RTAW5CIS.js +0 -6
- package/dist/calcite/RVTHJSK4.js +0 -7
- package/dist/calcite/RXLZN3RA.js +0 -6
- package/dist/calcite/SGUPIHES.js +0 -6
- package/dist/calcite/SM3PON4U.js +0 -6
- package/dist/calcite/SR6BSZKM.js +0 -6
- package/dist/calcite/SVA572F6.js +0 -6
- package/dist/calcite/SYEFY3RF.js +0 -6
- package/dist/calcite/T2I3BMFS.js +0 -6
- package/dist/calcite/T2RQHQ4J.js +0 -6
- package/dist/calcite/T4BRARRE.js +0 -6
- package/dist/calcite/TOVFIM35.js +0 -6
- package/dist/calcite/TUOQB4BF.js +0 -6
- package/dist/calcite/TXKCK2GX.js +0 -6
- package/dist/calcite/UASDTDDX.js +0 -6
- package/dist/calcite/UBUBAUNX.js +0 -6
- package/dist/calcite/UDBTSID6.js +0 -6
- package/dist/calcite/UIH7UV4G.js +0 -6
- package/dist/calcite/UJNTMRHF.js +0 -6
- package/dist/calcite/UT5IDNAH.js +0 -6
- package/dist/calcite/UW7IANT6.js +0 -6
- package/dist/calcite/V6S33OQR.js +0 -6
- package/dist/calcite/VB3C3KGQ.js +0 -6
- package/dist/calcite/WJ4C7WEL.js +0 -6
- package/dist/calcite/WW6NBCNW.js +0 -6
- package/dist/calcite/WWC5WLZF.js +0 -8
- package/dist/calcite/WYJTKFJS.js +0 -6
- package/dist/calcite/XFA5FHFI.js +0 -6
- package/dist/calcite/YMSUL5GP.js +0 -6
- package/dist/calcite/YQFENTI7.js +0 -6
- package/dist/calcite/YRI6AGQS.js +0 -6
- package/dist/calcite/YROEPZIT.js +0 -6
- package/dist/calcite/Z67HNIVB.js +0 -6
- package/dist/calcite/ZEO7P3BE.js +0 -6
- package/dist/calcite/ZEOCUBLO.js +0 -6
- package/dist/calcite/ZVVUEEVN.js +0 -6
|
@@ -2,31 +2,29 @@ import { c as r } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { ref as c } from "lit-html/directives/ref.js";
|
|
3
3
|
import { html as l } from "lit";
|
|
4
4
|
import { LitElement as d, safeClassMap as m } from "@arcgis/lumina";
|
|
5
|
-
import { c as
|
|
6
|
-
import { c as
|
|
7
|
-
import { z as
|
|
8
|
-
import { css as
|
|
9
|
-
/*!
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* v3.0.0-next.98
|
|
13
|
-
*/
|
|
5
|
+
import { c as f } from "../../chunks/observers.js";
|
|
6
|
+
import { c as h } from "../../chunks/loadable.js";
|
|
7
|
+
import { z as u } from "../../chunks/dom.js";
|
|
8
|
+
import { css as p } from "@lit/reactive-element/css-tag.js";
|
|
9
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
10
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
11
|
+
v3.0.0 */
|
|
14
12
|
const n = {
|
|
15
13
|
frame: "frame",
|
|
16
14
|
frameAdvancing: "frame--advancing",
|
|
17
15
|
frameRetreating: "frame--retreating"
|
|
18
|
-
},
|
|
19
|
-
class
|
|
16
|
+
}, w = p`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{position:relative;display:flex;inline-size:100%;flex:1 1 auto;align-items:stretch;overflow:hidden;background-color:transparent}:host .frame{position:relative;margin:0;display:flex;inline-size:100%;flex:1 1 auto;flex-direction:column;align-items:stretch;padding:0;animation-name:none;animation-duration:var(--calcite-animation-timing);background-color:var(--calcite-flow-background-color)}:host ::slotted(*){display:none;block-size:100%}:host ::slotted(*[selected]){display:flex}:host ::slotted(.calcite-match-height:last-child){display:flex;flex:1 1 auto;overflow:hidden}:host .frame--advancing{animation-name:calcite-frame-advance}:host .frame--retreating{animation-name:calcite-frame-retreat}@keyframes calcite-frame-advance{0%{--tw-bg-opacity: .5;transform:translate3d(50px,0,0)}to{--tw-bg-opacity: 1;transform:translateZ(0)}}@keyframes calcite-frame-retreat{0%{--tw-bg-opacity: .5;transform:translate3d(-50px,0,0)}to{--tw-bg-opacity: 1;transform:translateZ(0)}}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
17
|
+
class g extends d {
|
|
20
18
|
// #endregion
|
|
21
19
|
// #region Lifecycle
|
|
22
20
|
constructor() {
|
|
23
|
-
super(), this.itemMutationObserver =
|
|
21
|
+
super(), this.itemMutationObserver = f("mutation", () => this.updateItemsAndProps()), this.items = [], this.selectedIndex = -1, this.flowDirection = "standby", this.listen("calciteInternalFlowItemChange", this.handleCalciteInternalFlowItemChange), this.listen("calciteFlowItemBack", this.handleItemBackClick);
|
|
24
22
|
}
|
|
25
23
|
static {
|
|
26
|
-
this.properties = { flowDirection: 16,
|
|
24
|
+
this.properties = { flowDirection: 16, customItemSelectors: 1 };
|
|
27
25
|
}
|
|
28
26
|
static {
|
|
29
|
-
this.styles =
|
|
27
|
+
this.styles = w;
|
|
30
28
|
}
|
|
31
29
|
// #endregion
|
|
32
30
|
// #region Public Methods
|
|
@@ -53,21 +51,20 @@ class v extends d {
|
|
|
53
51
|
* @returns Promise<void>
|
|
54
52
|
*/
|
|
55
53
|
async setFocus() {
|
|
56
|
-
await
|
|
54
|
+
await h(this);
|
|
57
55
|
const { items: e } = this;
|
|
58
56
|
return e[this.selectedIndex]?.setFocus();
|
|
59
57
|
}
|
|
60
58
|
connectedCallback() {
|
|
61
|
-
super.connectedCallback(), this.itemMutationObserver?.observe(this.el, { childList: !0, subtree: !0 })
|
|
59
|
+
super.connectedCallback(), this.itemMutationObserver?.observe(this.el, { childList: !0, subtree: !0 });
|
|
62
60
|
}
|
|
63
61
|
load() {
|
|
64
|
-
u(this);
|
|
65
62
|
}
|
|
66
63
|
willUpdate(e) {
|
|
67
64
|
e.has("flowDirection") && (this.hasUpdated || this.flowDirection !== "standby") && this.handleFlowDirectionChange(this.flowDirection);
|
|
68
65
|
}
|
|
69
66
|
loaded() {
|
|
70
|
-
|
|
67
|
+
this.updateItemsAndProps();
|
|
71
68
|
}
|
|
72
69
|
disconnectedCallback() {
|
|
73
70
|
super.disconnectedCallback(), this.itemMutationObserver?.disconnect();
|
|
@@ -75,7 +72,7 @@ class v extends d {
|
|
|
75
72
|
// #endregion
|
|
76
73
|
// #region Private Methods
|
|
77
74
|
async handleFlowDirectionChange(e) {
|
|
78
|
-
e !== "standby" && (await
|
|
75
|
+
e !== "standby" && (await u(this.frameEl, e === "retreating" ? "calcite-frame-retreat" : "calcite-frame-advance"), this.resetFlowDirection());
|
|
79
76
|
}
|
|
80
77
|
handleCalciteInternalFlowItemChange(e) {
|
|
81
78
|
e.stopPropagation(), this.updateFlowProps();
|
|
@@ -91,7 +88,7 @@ class v extends d {
|
|
|
91
88
|
const t = e > 0;
|
|
92
89
|
return !(e > -1 && i > 0) && !t ? "standby" : i < e ? "retreating" : "advancing";
|
|
93
90
|
}
|
|
94
|
-
|
|
91
|
+
updateItemsAndProps() {
|
|
95
92
|
const { customItemSelectors: e, el: i } = this, t = Array.from(i.querySelectorAll(`calcite-flow-item${e ? `,${e}` : ""}`)).filter((a) => a.closest("calcite-flow") === i);
|
|
96
93
|
this.items = t, this.ensureSelectedFlowItemExists(), this.updateFlowProps();
|
|
97
94
|
}
|
|
@@ -127,7 +124,7 @@ class v extends d {
|
|
|
127
124
|
return l`<div class=${m(i)} ${c(this.setFrameEl)}><slot></slot></div>`;
|
|
128
125
|
}
|
|
129
126
|
}
|
|
130
|
-
r("calcite-flow",
|
|
127
|
+
r("calcite-flow", g);
|
|
131
128
|
export {
|
|
132
|
-
|
|
129
|
+
g as Flow
|
|
133
130
|
};
|
|
@@ -1,22 +1,20 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as w } from "../../chunks/runtime.js";
|
|
2
2
|
import { ref as d } from "lit-html/directives/ref.js";
|
|
3
|
-
import { keyed as
|
|
4
|
-
import { html as h, nothing as
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { g as
|
|
7
|
-
import { u as
|
|
8
|
-
import { c as
|
|
3
|
+
import { keyed as v } from "lit-html/directives/keyed.js";
|
|
4
|
+
import { html as h, nothing as B } from "lit";
|
|
5
|
+
import { LitElement as C, createEvent as c, safeClassMap as I } from "@arcgis/lumina";
|
|
6
|
+
import { g as y } from "../../chunks/dom.js";
|
|
7
|
+
import { u as x, I as S } from "../../chunks/interactive.js";
|
|
8
|
+
import { c as E } from "../../chunks/loadable.js";
|
|
9
9
|
import { S as t } from "../../chunks/resources3.js";
|
|
10
|
-
import { u as
|
|
11
|
-
import { css as
|
|
12
|
-
/*!
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*/
|
|
17
|
-
const L = {
|
|
10
|
+
import { u as P } from "../../chunks/useT9n.js";
|
|
11
|
+
import { css as F } from "@lit/reactive-element/css-tag.js";
|
|
12
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
13
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
14
|
+
v3.0.0 */
|
|
15
|
+
const T = {
|
|
18
16
|
backButton: "back-button"
|
|
19
|
-
},
|
|
17
|
+
}, f = {
|
|
20
18
|
backLeft: "chevron-left",
|
|
21
19
|
backRight: "chevron-right"
|
|
22
20
|
}, o = {
|
|
@@ -33,16 +31,16 @@ const L = {
|
|
|
33
31
|
footerActions: "footer-actions",
|
|
34
32
|
footerEnd: "footer-end",
|
|
35
33
|
footerStart: "footer-start"
|
|
36
|
-
},
|
|
37
|
-
class
|
|
34
|
+
}, A = F`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{position:relative;display:none;inline-size:100%;flex:1 1 auto;overflow:hidden}:host([selected]){display:flex}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.back-button{border-width:0px;border-style:solid;border-inline-end-width:1px;border-color:var(--calcite-flow-border-color, var(--calcite-color-border-3))}calcite-panel{--calcite-panel-background-color: var(--calcite-flow-background-color);--calcite-panel-border-color: var(--calcite-flow-border-color, var(--calcite-flow-item-header-border-block-end));--calcite-panel-corner-radius: var(--calcite-flow-corner-radius);--calcite-panel-description-text-color: var(--calcite-flow-description-text-color);--calcite-panel-footer-background-color: var(--calcite-flow-footer-background-color);--calcite-panel-footer-space: var(--calcite-flow-footer-space, var(--calcite-flow-item-footer-padding));--calcite-panel-header-action-background-color-hover: var(--calcite-flow-header-action-background-color-hover);--calcite-panel-header-action-background-color-press: var(--calcite-flow-header-action-background-color-press);--calcite-panel-header-action-background-color: var(--calcite-flow-header-action-background-color);--calcite-panel-header-action-indicator-color: var(--calcite-flow-header-action-indicator-color);--calcite-panel-header-action-text-color-press: var(--calcite-flow-header-action-text-color-press);--calcite-panel-header-action-text-color: var(--calcite-flow-header-action-text-color);--calcite-panel-header-background-color: var(--calcite-flow-header-background-color);--calcite-panel-header-content-space: var(--calcite-flow-header-content-space);--calcite-panel-heading-text-color: var(--calcite-flow-heading-text-color);--calcite-panel-space: var(--calcite-flow-space)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
35
|
+
class L extends C {
|
|
38
36
|
constructor() {
|
|
39
|
-
super(...arguments), this.closable = !1, this.closed = !1, this.collapseDirection = "down", this.collapsed = !1, this.collapsible = !1, this.disabled = !1, this.loading = !1, this.menuOpen = !1, this.messages =
|
|
37
|
+
super(...arguments), this.closable = !1, this.closed = !1, this.collapseDirection = "down", this.collapsed = !1, this.collapsible = !1, this.disabled = !1, this.loading = !1, this.menuOpen = !1, this.messages = P(), this.overlayPositioning = "absolute", this.scale = "m", this.selected = !1, this.showBackButton = !1, this.calciteFlowItemBack = c(), this.calciteFlowItemClose = c({ cancelable: !1 }), this.calciteFlowItemScroll = c({ cancelable: !1 }), this.calciteFlowItemToggle = c({ cancelable: !1 }), this.calciteInternalFlowItemChange = c({ cancelable: !1 });
|
|
40
38
|
}
|
|
41
39
|
static {
|
|
42
40
|
this.properties = { beforeBack: 0, beforeClose: 0, closable: 7, closed: 7, collapseDirection: 1, collapsed: 7, collapsible: 7, description: 1, disabled: 7, heading: 1, headingLevel: 11, loading: 7, menuOpen: 7, messageOverrides: 0, overlayPositioning: 3, scale: 3, selected: 7, showBackButton: 5 };
|
|
43
41
|
}
|
|
44
42
|
static {
|
|
45
|
-
this.styles =
|
|
43
|
+
this.styles = A;
|
|
46
44
|
}
|
|
47
45
|
// #endregion
|
|
48
46
|
// #region Public Methods
|
|
@@ -67,7 +65,7 @@ class R extends I {
|
|
|
67
65
|
* @returns promise.
|
|
68
66
|
*/
|
|
69
67
|
async setFocus() {
|
|
70
|
-
await
|
|
68
|
+
await E(this);
|
|
71
69
|
const { backButtonEl: e, containerEl: a } = this;
|
|
72
70
|
if (e)
|
|
73
71
|
return e.setFocus();
|
|
@@ -77,16 +75,14 @@ class R extends I {
|
|
|
77
75
|
// #endregion
|
|
78
76
|
// #region Lifecycle
|
|
79
77
|
async load() {
|
|
80
|
-
F(this);
|
|
81
78
|
}
|
|
82
79
|
willUpdate(e) {
|
|
83
80
|
e.has("selected") && (this.hasUpdated || this.selected !== !1) && this.calciteInternalFlowItemChange.emit();
|
|
84
81
|
}
|
|
85
82
|
updated() {
|
|
86
|
-
|
|
83
|
+
x(this);
|
|
87
84
|
}
|
|
88
85
|
loaded() {
|
|
89
|
-
T(this);
|
|
90
86
|
}
|
|
91
87
|
// #endregion
|
|
92
88
|
// #region Private Methods
|
|
@@ -111,15 +107,15 @@ class R extends I {
|
|
|
111
107
|
// #endregion
|
|
112
108
|
// #region Rendering
|
|
113
109
|
renderBackButton() {
|
|
114
|
-
const { el: e } = this, a =
|
|
115
|
-
return
|
|
110
|
+
const { el: e } = this, a = y(e) === "rtl", { showBackButton: n, backButtonClick: i, messages: r } = this, l = r.back, s = a ? f.backRight : f.backLeft;
|
|
111
|
+
return n ? v("flow-back-button", h`<calcite-action .ariaLabel=${l} class=${I(T.backButton)} .icon=${s} @click=${i} scale=s slot=header-actions-start .text=${l} title=${l ?? B} ${d(this.setBackRef)}></calcite-action>`) : null;
|
|
116
112
|
}
|
|
117
113
|
render() {
|
|
118
|
-
const { collapsed: e, collapseDirection: a, collapsible:
|
|
119
|
-
return
|
|
114
|
+
const { collapsed: e, collapseDirection: a, collapsible: n, closable: i, closed: r, description: l, disabled: s, heading: p, headingLevel: b, loading: m, menuOpen: u, messages: g, overlayPositioning: $, beforeClose: k } = this;
|
|
115
|
+
return S({ disabled: s, children: h`<calcite-panel .beforeClose=${k} .closable=${i} .closed=${r} .collapseDirection=${a} .collapsed=${e} .collapsible=${n} .description=${l} .disabled=${s} .heading=${p} .headingLevel=${b} .loading=${m} .menuOpen=${u} .messageOverrides=${g} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${$} .scale=${this.scale} ${d(this.setContainerRef)}>${this.renderBackButton()}<slot name=${o.actionBar} slot=${t.actionBar}></slot><slot name=${o.alerts} slot=${t.alerts}></slot><slot name=${o.headerActionsStart} slot=${t.headerActionsStart}></slot><slot name=${o.headerActionsEnd} slot=${t.headerActionsEnd}></slot><slot name=${o.headerContent} slot=${t.headerContent}></slot><slot name=${o.headerMenuActions} slot=${t.headerMenuActions}></slot><slot name=${o.fab} slot=${t.fab}></slot><slot name=${o.contentTop} slot=${t.contentTop}></slot><slot name=${o.contentBottom} slot=${t.contentBottom}></slot><slot name=${o.footerStart} slot=${t.footerStart}></slot><slot name=${o.footer} slot=${t.footer}></slot><slot name=${o.footerEnd} slot=${t.footerEnd}></slot><slot name=${o.footerActions} slot=${t.footerActions}></slot><slot></slot></calcite-panel>` });
|
|
120
116
|
}
|
|
121
117
|
}
|
|
122
|
-
|
|
118
|
+
w("calcite-flow-item", L);
|
|
123
119
|
export {
|
|
124
|
-
|
|
120
|
+
L as FlowItem
|
|
125
121
|
};
|
|
@@ -1,58 +1,60 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
3
|
-
import { LitElement as O, nothing as $ } from "@arcgis/lumina";
|
|
1
|
+
import { c as S } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as w, svg as m } from "lit-html";
|
|
3
|
+
import { LitElement as O, safeClassMap as b, nothing as $ } from "@arcgis/lumina";
|
|
4
4
|
import { g as Y } from "../../chunks/guid.js";
|
|
5
5
|
import { c as Z } from "../../chunks/observers.js";
|
|
6
6
|
import { css as j } from "@lit/reactive-element/css-tag.js";
|
|
7
|
-
/*!
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const s = n[0] - i[0], o = r[0] - n[0], h = n[1] - i[1], c = r[1] - n[1], a = h / (s || o < 0 && 0), e = c / (o || s < 0 && 0), t = (a * o + e * s) / (s + o);
|
|
14
|
-
return (Math.sign(a) + Math.sign(e)) * Math.min(Math.abs(a), Math.abs(e), 0.5 * Math.abs(t)) || 0;
|
|
7
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
8
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
9
|
+
v3.0.0 */
|
|
10
|
+
function G(i, s, a) {
|
|
11
|
+
const n = s[0] - i[0], h = a[0] - s[0], c = s[1] - i[1], o = a[1] - s[1], r = c / (n || h < 0 && 0), e = o / (h || n < 0 && 0), t = (r * h + e * n) / (n + h);
|
|
12
|
+
return (Math.sign(r) + Math.sign(e)) * Math.min(Math.abs(r), Math.abs(e), 0.5 * Math.abs(t)) || 0;
|
|
15
13
|
}
|
|
16
|
-
function
|
|
17
|
-
const
|
|
18
|
-
return
|
|
14
|
+
function z(i, s, a) {
|
|
15
|
+
const n = s[0] - i[0], h = s[1] - i[1];
|
|
16
|
+
return n ? (3 * h / n - a) / 2 : a;
|
|
19
17
|
}
|
|
20
|
-
function
|
|
21
|
-
const [
|
|
22
|
-
return `C ${l} ${
|
|
18
|
+
function C(i, s, a, n, h) {
|
|
19
|
+
const [c, o] = i, [r, e] = s, t = (r - c) / 3, l = h([c + t, o + t * a]).join(","), g = h([r - t, e - t * n]).join(","), d = h([r, e]).join(",");
|
|
20
|
+
return `C ${l} ${g} ${d}`;
|
|
23
21
|
}
|
|
24
|
-
function
|
|
25
|
-
const
|
|
26
|
-
return (
|
|
27
|
-
const
|
|
28
|
-
return [
|
|
22
|
+
function H({ width: i, height: s, min: a, max: n }) {
|
|
23
|
+
const h = n[0] - a[0], c = n[1] - a[1];
|
|
24
|
+
return (o) => {
|
|
25
|
+
const r = (o[0] - a[0]) / h * i, e = s - o[1] / c * s;
|
|
26
|
+
return [r, e];
|
|
29
27
|
};
|
|
30
28
|
}
|
|
31
29
|
function A(i) {
|
|
32
|
-
const [
|
|
30
|
+
const [s, a] = i[0], n = [s, a], h = [s, a];
|
|
33
31
|
return i.reduce(
|
|
34
|
-
({ min:
|
|
35
|
-
min: [Math.min(
|
|
36
|
-
max: [Math.max(
|
|
32
|
+
({ min: c, max: o }, [r, e]) => ({
|
|
33
|
+
min: [Math.min(c[0], r), Math.min(c[1], e)],
|
|
34
|
+
max: [Math.max(o[0], r), Math.max(o[1], e)]
|
|
37
35
|
}),
|
|
38
|
-
{ min:
|
|
36
|
+
{ min: n, max: h }
|
|
39
37
|
);
|
|
40
38
|
}
|
|
41
|
-
function B({ data: i, min:
|
|
39
|
+
function B({ data: i, min: s, max: a, t: n }) {
|
|
42
40
|
if (i.length === 0)
|
|
43
41
|
return "";
|
|
44
|
-
const [
|
|
45
|
-
let t, l,
|
|
46
|
-
const
|
|
47
|
-
if (l = i[p - 2],
|
|
48
|
-
const u = G(l,
|
|
49
|
-
return t = u, `${x} ${
|
|
42
|
+
const [h, c] = n(i[0]), [o, r] = n(s), [e] = n(a);
|
|
43
|
+
let t, l, g;
|
|
44
|
+
const d = i.reduce((x, M, p) => {
|
|
45
|
+
if (l = i[p - 2], g = i[p - 1], p > 1) {
|
|
46
|
+
const u = G(l, g, M), v = t === void 0 ? z(l, g, u) : t, L = C(l, g, v, u, n);
|
|
47
|
+
return t = u, `${x} ${L}`;
|
|
50
48
|
}
|
|
51
49
|
return x;
|
|
52
|
-
}, `M ${
|
|
53
|
-
return `${
|
|
50
|
+
}, `M ${o},${r} L ${o},${c} L ${h},${c}`), y = i[i.length - 1], f = C(g, y, t, z(g, y, t), n);
|
|
51
|
+
return `${d} ${f} L ${e},${r} Z`;
|
|
54
52
|
}
|
|
55
|
-
const E = j`:host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0;display:block;block-size:100%;inline-size:100%;padding:0}.svg .graph-path--highlight{fill:var(--calcite-color-brand);opacity:.5}:host([hidden]){display:none}[hidden]{display:none}
|
|
53
|
+
const E = j`:host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0;display:block;block-size:100%;inline-size:100%;padding:0}.svg .graph-path--highlight{fill:var(--calcite-graph-highlight-fill-color, var(--calcite-color-brand));opacity:.5}:host([hidden]){display:none}[hidden]{display:none}`, k = {
|
|
54
|
+
svg: "svg",
|
|
55
|
+
graphPath: "graph-path",
|
|
56
|
+
graphPathHighlight: "graph-path--highlight"
|
|
57
|
+
};
|
|
56
58
|
class I extends O {
|
|
57
59
|
constructor() {
|
|
58
60
|
super(...arguments), this.graphId = `calcite-graph-${Y()}`, this.resizeObserver = Z("resize", () => this.requestUpdate()), this.data = [];
|
|
@@ -74,14 +76,14 @@ class I extends O {
|
|
|
74
76
|
// #endregion
|
|
75
77
|
// #region Rendering
|
|
76
78
|
render() {
|
|
77
|
-
const { data:
|
|
78
|
-
if (!
|
|
79
|
-
return
|
|
80
|
-
const { min:
|
|
81
|
-
let
|
|
82
|
-
(
|
|
83
|
-
const x =
|
|
84
|
-
return
|
|
79
|
+
const { data: s, colorStops: a, el: n, highlightMax: h, highlightMin: c, min: o, max: r } = this, e = this.graphId, { clientHeight: t, clientWidth: l } = n;
|
|
80
|
+
if (!s || s.length === 0)
|
|
81
|
+
return w`<svg aria-hidden=true class=${b(k.svg)} height=${t ?? $} preserveAspectRatio=none viewBox=${`0 0 ${l} ${t}`} width=${l ?? $}></svg>`;
|
|
82
|
+
const { min: g, max: d } = A(s);
|
|
83
|
+
let y = g, f = d;
|
|
84
|
+
(o < g[0] || o > g[0]) && (y = [o, 0]), (r > d[0] || r < d[0]) && (f = [r, d[1]]);
|
|
85
|
+
const x = H({ min: y, max: f, width: l, height: t }), [M] = x([c, f[1]]), [p] = x([h, f[1]]), u = B({ data: s, min: g, max: d, t: x }), v = a ? `url(#linear-gradient-${e})` : void 0;
|
|
86
|
+
return w`<svg aria-hidden=true class=${b(k.svg)} height=${t ?? $} preserveAspectRatio=none viewBox=${`0 0 ${l} ${t}`} width=${l ?? $}>${a ? m`<defs><linearGradient .id=${`linear-gradient-${e}`} x1=0 x2=1 y1=0 y2=0>${a.map(({ offset: L, color: P, opacity: X }) => m`<stop offset=${`${L * 100}%`} stop-color=${P ?? $} stop-opacity=${X ?? $} />`)}</linearGradient></defs>` : null}${c !== void 0 ? [
|
|
85
87
|
m`<mask height=100% .id=${`${e}1`} width=100% x=0% y=0%><path d=${`
|
|
86
88
|
M 0,0
|
|
87
89
|
L ${M - 1},0
|
|
@@ -103,13 +105,13 @@ class I extends O {
|
|
|
103
105
|
L ${p + 1}, ${t}
|
|
104
106
|
Z
|
|
105
107
|
`} fill=white /></mask>`,
|
|
106
|
-
m`<path class
|
|
107
|
-
m`<path class
|
|
108
|
-
m`<path class
|
|
109
|
-
] : m`<path class
|
|
108
|
+
m`<path class=${b(k.graphPath)} d=${u ?? $} fill=${v ?? $} mask=${`url(#${e}1)`} />`,
|
|
109
|
+
m`<path class=${b(k.graphPathHighlight)} d=${u ?? $} fill=${v ?? $} mask=${`url(#${e}2)`} />`,
|
|
110
|
+
m`<path class=${b(k.graphPath)} d=${u ?? $} fill=${v ?? $} mask=${`url(#${e}3)`} />`
|
|
111
|
+
] : m`<path class=${b(k.graphPath)} d=${u ?? $} fill=${v ?? $} />`}</svg>`;
|
|
110
112
|
}
|
|
111
113
|
}
|
|
112
|
-
|
|
114
|
+
S("calcite-graph", I);
|
|
113
115
|
export {
|
|
114
116
|
I as Graph
|
|
115
117
|
};
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
+
import { Dimensions } from '../interfaces';
|
|
1
2
|
/** x,y coordinate set */
|
|
2
3
|
export type Point = [number, number];
|
|
3
4
|
/** array of coordinates */
|
|
4
5
|
export type DataSeries = Point[];
|
|
5
6
|
/** Function that converts point from data space to pixels */
|
|
6
7
|
export type Translator = (p: Point) => Point;
|
|
7
|
-
/** Dimensions (in pixels) */
|
|
8
|
-
export interface Dimensions {
|
|
9
|
-
width: number;
|
|
10
|
-
height: number;
|
|
11
|
-
}
|
|
12
8
|
/** Min/Max from all values of a given data set */
|
|
13
9
|
export interface Extent {
|
|
14
10
|
min: Point;
|
|
@@ -5,6 +5,9 @@ import { LoadableComponent } from '../../utils/loadable';
|
|
|
5
5
|
import { InteractiveComponent } from '../../utils/interactive';
|
|
6
6
|
import { HandleChange, HandleNudge } from './interfaces';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use the `calcite-sort-handle` component instead.
|
|
10
|
+
*/
|
|
8
11
|
export declare class Handle extends LitElement {
|
|
9
12
|
/** When `true`, interaction is prevented and the component is displayed with lower opacity. */
|
|
10
13
|
disabled: boolean;
|
|
@@ -2,15 +2,14 @@ import { c as d } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { html as h, nothing as n } from "lit";
|
|
3
3
|
import { createRef as u, ref as b } from "lit-html/directives/ref.js";
|
|
4
4
|
import { LitElement as p, createEvent as s, safeClassMap as f } from "@arcgis/lumina";
|
|
5
|
-
import { c as m
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
5
|
+
import { c as m } from "../../chunks/loadable.js";
|
|
6
|
+
import { u as g, I as v } from "../../chunks/interactive.js";
|
|
7
|
+
import { u as y } from "../../chunks/useT9n.js";
|
|
8
|
+
import { l as x } from "../../chunks/logger.js";
|
|
8
9
|
import { css as k } from "@lit/reactive-element/css-tag.js";
|
|
9
|
-
/*!
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* v3.0.0-next.98
|
|
13
|
-
*/
|
|
10
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
11
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
12
|
+
v3.0.0 */
|
|
14
13
|
const r = {
|
|
15
14
|
handle: "handle",
|
|
16
15
|
handleSelected: "handle--selected"
|
|
@@ -20,16 +19,16 @@ const r = {
|
|
|
20
19
|
itemLabel: "{itemLabel}",
|
|
21
20
|
position: "{position}",
|
|
22
21
|
total: "{total}"
|
|
23
|
-
},
|
|
24
|
-
class
|
|
22
|
+
}, C = k`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.handle{display:flex;align-items:center;justify-content:center;align-self:stretch;border-style:none;outline-color:transparent;color:var(--calcite-handle-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-handle-background-color, transparent);padding-block:.75rem;padding-inline:.25rem;line-height:0}.handle calcite-icon{color:inherit}:host(:not([disabled])) .handle{cursor:move}:host(:not([disabled])) .handle:hover{color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-hover, var(--calcite-color-foreground-2))}:host(:not([disabled])) .handle:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));color:var(--calcite-handle-icon-color-hover, var(--calcite-color-text-1))}:host(:not([disabled])) .handle--selected{color:var(--calcite-handle-icon-color-selected, var(--calcite-color-text-1));background-color:var(--calcite-handle-background-color-selected, var(--calcite-color-foreground-3))}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
23
|
+
class S extends p {
|
|
25
24
|
constructor() {
|
|
26
|
-
super(...arguments), this.handleButton = u(), this.blurUnselectDisabled = !1, this.disabled = !1, this.messages =
|
|
25
|
+
super(...arguments), this.handleButton = u(), this.blurUnselectDisabled = !1, this.disabled = !1, this.messages = y({ blocking: !0 }), this.selected = !1, this.calciteHandleChange = s({ cancelable: !1 }), this.calciteHandleNudge = s({ cancelable: !1 }), this.calciteInternalAssistiveTextChange = s({ cancelable: !1 });
|
|
27
26
|
}
|
|
28
27
|
static {
|
|
29
28
|
this.properties = { blurUnselectDisabled: 5, disabled: 7, dragHandle: 3, label: 1, messageOverrides: 0, selected: 7, setPosition: 9, setSize: 9 };
|
|
30
29
|
}
|
|
31
30
|
static {
|
|
32
|
-
this.styles =
|
|
31
|
+
this.styles = C;
|
|
33
32
|
}
|
|
34
33
|
// #endregion
|
|
35
34
|
// #region Public Methods
|
|
@@ -40,16 +39,19 @@ class T extends p {
|
|
|
40
39
|
// #endregion
|
|
41
40
|
// #region Lifecycle
|
|
42
41
|
async load() {
|
|
43
|
-
g(this);
|
|
44
42
|
}
|
|
45
43
|
willUpdate(e) {
|
|
46
44
|
(e.has("messages") || e.has("label") || e.has("selected") && (this.hasUpdated || this.selected !== !1) || e.has("setPosition") || e.has("setSize")) && this.handleAriaTextChange();
|
|
47
45
|
}
|
|
48
46
|
updated() {
|
|
49
|
-
|
|
47
|
+
g(this);
|
|
50
48
|
}
|
|
51
49
|
loaded() {
|
|
52
|
-
|
|
50
|
+
x.deprecated("component", {
|
|
51
|
+
name: "handle",
|
|
52
|
+
removalVersion: 4,
|
|
53
|
+
suggested: "sort-handle"
|
|
54
|
+
});
|
|
53
55
|
}
|
|
54
56
|
// #endregion
|
|
55
57
|
// #region Private Methods
|
|
@@ -91,10 +93,10 @@ class T extends p {
|
|
|
91
93
|
// #endregion
|
|
92
94
|
// #region Rendering
|
|
93
95
|
render() {
|
|
94
|
-
return
|
|
96
|
+
return v({ disabled: this.disabled, children: h`<span .ariaChecked=${this.disabled ? null : this.selected} .ariaDisabled=${this.disabled ? this.disabled : null} .ariaLabel=${this.disabled ? null : this.getAriaText("label")} class=${f({ [r.handle]: !0, [r.handleSelected]: !this.disabled && this.selected })} @blur=${this.handleBlur} @keydown=${this.handleKeyDown} role=radio tabindex=${(this.disabled ? null : 0) ?? n} title=${this.getTooltip() ?? n} ${b(this.handleButton)}><calcite-icon .icon=${H.drag} scale=s></calcite-icon></span>` });
|
|
95
97
|
}
|
|
96
98
|
}
|
|
97
|
-
d("calcite-handle",
|
|
99
|
+
d("calcite-handle", S);
|
|
98
100
|
export {
|
|
99
|
-
|
|
101
|
+
S as Handle
|
|
100
102
|
};
|
|
@@ -1,41 +1,39 @@
|
|
|
1
1
|
import { g as v, i as x, c as I } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as C, svg as
|
|
2
|
+
import { html as C, svg as f, nothing as p } from "lit";
|
|
3
3
|
import { LitElement as z, safeClassMap as y } from "@arcgis/lumina";
|
|
4
4
|
import { g as $, t as D } from "../../chunks/dom.js";
|
|
5
5
|
import { c as k } from "../../chunks/observers.js";
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const N = {
|
|
13
|
-
icon: "icon",
|
|
6
|
+
import { l as w } from "../../chunks/logger.js";
|
|
7
|
+
import { css as N } from "@lit/reactive-element/css-tag.js";
|
|
8
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
9
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
10
|
+
v3.0.0 */
|
|
11
|
+
const P = {
|
|
14
12
|
flipRtl: "flip-rtl"
|
|
15
|
-
},
|
|
13
|
+
}, u = {}, d = {}, m = {
|
|
16
14
|
s: 16,
|
|
17
15
|
m: 24,
|
|
18
16
|
l: 32
|
|
19
17
|
};
|
|
20
18
|
function b({ icon: e, scale: t }) {
|
|
21
|
-
const s = m[t], i =
|
|
19
|
+
const s = m[t], i = L(e), n = i.charAt(i.length - 1) === "F";
|
|
22
20
|
return `${n ? i.substring(0, i.length - 1) : i}${s}${n ? "F" : ""}`;
|
|
23
21
|
}
|
|
24
|
-
async function
|
|
22
|
+
async function O(e) {
|
|
25
23
|
const t = b(e), s = g(t);
|
|
26
24
|
if (s)
|
|
27
25
|
return s;
|
|
28
|
-
d[t] || (d[t] = fetch(v(`./assets/icon/${t}.json`)).then((n) => n.json()).catch(() => (
|
|
26
|
+
d[t] || (d[t] = fetch(v(`./assets/icon/${t}.json`)).then((n) => n.json()).catch(() => (w.error(`${e.icon} (${e.scale}) icon failed to load`), "")));
|
|
29
27
|
const i = await d[t];
|
|
30
|
-
return
|
|
28
|
+
return u[t] = i, i;
|
|
31
29
|
}
|
|
32
|
-
function
|
|
30
|
+
function U(e) {
|
|
33
31
|
return g(b(e));
|
|
34
32
|
}
|
|
35
33
|
function g(e) {
|
|
36
|
-
return
|
|
34
|
+
return u[e];
|
|
37
35
|
}
|
|
38
|
-
function
|
|
36
|
+
function L(e) {
|
|
39
37
|
const t = !isNaN(Number(e.charAt(0))), s = e.split("-");
|
|
40
38
|
if (s.length > 0) {
|
|
41
39
|
const n = /[a-z]/i;
|
|
@@ -45,8 +43,8 @@ function U(e) {
|
|
|
45
43
|
}
|
|
46
44
|
return t ? `i${e}` : e;
|
|
47
45
|
}
|
|
48
|
-
const
|
|
49
|
-
class
|
|
46
|
+
const R = N`:host{display:inline-flex;color:var(--calcite-icon-color, var(--calcite-ui-icon-color, currentColor))}:host([scale=s]){inline-size:16px;block-size:16px;min-inline-size:16px;min-block-size:16px}:host([scale=m]){inline-size:24px;block-size:24px;min-inline-size:24px;min-block-size:24px}:host([scale=l]){inline-size:32px;block-size:32px;min-inline-size:32px;min-block-size:32px}.flip-rtl{transform:scaleX(-1)}.svg{display:block}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
47
|
+
class A extends z {
|
|
50
48
|
constructor() {
|
|
51
49
|
super(...arguments), this.visible = !1, this.flipRtl = !1, this.icon = null, this.preload = !1, this.scale = "m";
|
|
52
50
|
}
|
|
@@ -54,7 +52,7 @@ class R extends z {
|
|
|
54
52
|
this.properties = { pathData: 16, visible: 16, flipRtl: 7, icon: 3, preload: 7, scale: 3, textLabel: 1 };
|
|
55
53
|
}
|
|
56
54
|
static {
|
|
57
|
-
this.styles =
|
|
55
|
+
this.styles = R;
|
|
58
56
|
}
|
|
59
57
|
// #endregion
|
|
60
58
|
// #region Lifecycle
|
|
@@ -79,7 +77,7 @@ class R extends z {
|
|
|
79
77
|
const { icon: t, scale: s, visible: i } = this;
|
|
80
78
|
if (!x() || !t || !i)
|
|
81
79
|
return;
|
|
82
|
-
const n = { icon: t, scale: s }, o =
|
|
80
|
+
const n = { icon: t, scale: s }, o = U(n) || await O(n);
|
|
83
81
|
t === this.icon && (this.pathData = o);
|
|
84
82
|
}
|
|
85
83
|
waitUntilVisible(t) {
|
|
@@ -98,12 +96,12 @@ class R extends z {
|
|
|
98
96
|
render() {
|
|
99
97
|
const { el: t, flipRtl: s, pathData: i, scale: n, textLabel: o } = this, r = $(t), l = m[n], a = !!o, h = [].concat(i || "");
|
|
100
98
|
return this.el.ariaHidden = D(!a), this.el.ariaLabel = a ? o : null, this.el.role = a ? "img" : null, C`<svg aria-hidden=true class=${y({
|
|
101
|
-
[
|
|
99
|
+
[P.flipRtl]: r === "rtl" && s,
|
|
102
100
|
svg: !0
|
|
103
|
-
})} fill=currentColor height=100% viewBox=${`0 0 ${l} ${l}`} width=100% xmlns=http://www.w3.org/2000/svg>${h.map((c) => typeof c == "string" ?
|
|
101
|
+
})} fill=currentColor height=100% viewBox=${`0 0 ${l} ${l}`} width=100% xmlns=http://www.w3.org/2000/svg>${h.map((c) => typeof c == "string" ? f`<path d=${c ?? p} />` : f`<path d=${c.d ?? p} opacity=${("opacity" in c ? c.opacity : 1) ?? p} />`)}</svg>`;
|
|
104
102
|
}
|
|
105
103
|
}
|
|
106
|
-
I("calcite-icon",
|
|
104
|
+
I("calcite-icon", A);
|
|
107
105
|
export {
|
|
108
|
-
|
|
106
|
+
A as Icon
|
|
109
107
|
};
|