@esri/calcite-components 3.0.0-next.99 → 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/{2JRSKQML.js → 24SER2VV.js} +4 -6
- package/dist/calcite/2BGMAPSV.js +4 -0
- package/dist/calcite/2JKKAEPM.js +4 -0
- package/dist/calcite/{JLIVSPKC.js → 2M4WCGKG.js} +4 -6
- package/dist/calcite/2YAXZHP2.js +4 -0
- package/dist/calcite/{AUEN6VFD.js → 345Q4UHX.js} +4 -6
- package/dist/calcite/{O7B4THLC.js → 36DMRAV2.js} +4 -6
- package/dist/calcite/{EBQYJBDQ.js → 3DGJ6ZQI.js} +4 -6
- package/dist/calcite/3GICXOBQ.js +4 -0
- package/dist/calcite/3IV6JSC2.js +4 -0
- package/dist/calcite/{Y5IWWVKB.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/{B77QRUX7.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/{OMBBOPRI.js → 5EPP4MG3.js} +4 -6
- package/dist/calcite/{KWWKG3YN.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/{ZWGCNMZF.js → 6XTYGXNG.js} +4 -6
- package/dist/calcite/6ZTWHW63.js +4 -0
- package/dist/calcite/{BZOCG27F.js → 7D3VEEUX.js} +4 -6
- package/dist/calcite/7E342YOK.js +4 -0
- package/dist/calcite/{4OYBMKUB.js → 7KSGVDSR.js} +4 -6
- package/dist/calcite/{DF7SVAJW.js → 7PWETOIU.js} +4 -6
- package/dist/calcite/7QHUEK5R.js +4 -0
- package/dist/calcite/{BGQR3WLU.js → 7SX3RD7P.js} +4 -6
- package/dist/calcite/7U7FF3Y4.js +4 -0
- package/dist/calcite/7WG5I3MP.js +4 -0
- package/dist/calcite/{KHDHQPVO.js → A5GGYTUQ.js} +4 -6
- package/dist/calcite/{3SE2Z2VK.js → AI3R3SU6.js} +5 -7
- package/dist/calcite/ARHYATTG.js +4 -0
- package/dist/calcite/{ELXZUEDC.js → ATHBUWBY.js} +4 -6
- package/dist/calcite/AXXJNFKZ.js +4 -0
- package/dist/calcite/{AASA6526.js → AYZ73RWQ.js} +4 -6
- package/dist/calcite/{S6AE7RHT.js → BAHIPAHM.js} +4 -6
- package/dist/calcite/BRTDMTZ3.js +4 -0
- package/dist/calcite/BRTESQOJ.js +4 -0
- package/dist/calcite/{3LYDW23E.js → BSRMWMHQ.js} +4 -6
- package/dist/calcite/{2UYJUU43.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/{3Z3RDAUW.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/{3QV5TGZD.js → DBVNMM6Q.js} +4 -6
- package/dist/calcite/{4JU7BKXB.js → DDJ75RTI.js} +4 -6
- package/dist/calcite/DH4ISGHV.js +4 -0
- package/dist/calcite/{3PJ42556.js → DNYBIAUI.js} +4 -6
- package/dist/calcite/DT67ZFPX.js +4 -0
- package/dist/calcite/{EWQKTTIO.js → DTL2LM6T.js} +4 -6
- package/dist/calcite/E3R5SMVW.js +4 -0
- package/dist/calcite/{AGLAEQKV.js → E4NMFIKN.js} +4 -6
- package/dist/calcite/{FMI6FJW4.js → EAML4EDI.js} +4 -6
- package/dist/calcite/{XEW3B3B5.js → ECEZ4R6E.js} +4 -6
- package/dist/calcite/EFI2G5WL.js +4 -0
- package/dist/calcite/EHZCT5YZ.js +4 -0
- package/dist/calcite/{SYOTV4D4.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/{UPY24BFQ.js → FNM4DZZH.js} +3 -5
- package/dist/calcite/G2KHDAZD.js +4 -0
- package/dist/calcite/{P64WY2HI.js → G3LH75CQ.js} +4 -6
- package/dist/calcite/{UZAQE6XP.js → G3ZJ2KQT.js} +4 -6
- package/dist/calcite/{GIRDDKPZ.js → G7WFYVUC.js} +4 -6
- package/dist/calcite/{3RLXG3NR.js → GAAXSGWK.js} +4 -6
- package/dist/calcite/{QNGBOTGF.js → GE63ETFI.js} +4 -6
- package/dist/calcite/{DO5AYUNU.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/{L4IJ6KQT.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/{6EFD6XES.js → HGTV36FX.js} +4 -6
- package/dist/calcite/HKHPJJ34.js +4 -0
- package/dist/calcite/{CM4U5UKC.js → HMVKZP47.js} +4 -6
- package/dist/calcite/I2OIH73C.js +4 -0
- package/dist/calcite/{W4D5O4P2.js → I32TMNTO.js} +3 -5
- package/dist/calcite/{KBVTFWRR.js → I62DUDHI.js} +4 -6
- package/dist/calcite/IH4RXHJJ.js +4 -0
- package/dist/calcite/{EUXG27WD.js → IJCTXZQB.js} +4 -6
- package/dist/calcite/{5LAQP62T.js → IXRMDUEL.js} +4 -6
- package/dist/calcite/IYDN67SF.js +4 -0
- package/dist/calcite/JCWM5Z43.js +4 -0
- package/dist/calcite/{26ES3CRO.js → JEX42CPR.js} +4 -6
- package/dist/calcite/JFYDLHH7.js +4 -0
- package/dist/calcite/JLZYAYOL.js +4 -0
- package/dist/calcite/{3KND2KKH.js → JUNCR7R2.js} +4 -6
- package/dist/calcite/{K3F2CI4A.js → JVNEJ36Z.js} +4 -6
- package/dist/calcite/K3ZBW4GY.js +4 -0
- package/dist/calcite/{G4Q2QH6B.js → KBDXI6DJ.js} +4 -6
- package/dist/calcite/{XFHDAVBK.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/{JFBHBHJE.js → KW57BHXD.js} +4 -6
- package/dist/calcite/{VP4IW6MN.js → KWOOGTG2.js} +4 -6
- package/dist/calcite/L5FDXQMT.js +4 -0
- package/dist/calcite/{UFV4E5V5.js → LB5ATL5Q.js} +4 -6
- package/dist/calcite/LH7KSBQC.js +4 -0
- package/dist/calcite/{6YQ42X6L.js → LHSAAMYQ.js} +4 -6
- package/dist/calcite/LILDCWFX.js +4 -0
- package/dist/calcite/LLSB73WA.js +4 -0
- package/dist/calcite/{MRVEUN2O.js → LOZEGKG2.js} +4 -6
- package/dist/calcite/{LR6EXHT2.js → MBQZPRQ5.js} +4 -6
- package/dist/calcite/MCSX2S5T.js +4 -0
- package/dist/calcite/{5MEU7SU4.js → MIKGJ3NM.js} +4 -6
- package/dist/calcite/MPAVJ7UH.js +4 -0
- package/dist/calcite/{RWW7CETF.js → MPX2M2VX.js} +4 -6
- package/dist/calcite/{N7NWH5SX.js → MQYH4ONZ.js} +3 -5
- package/dist/calcite/MUWK32IE.js +4 -0
- package/dist/calcite/{6FI3WN2Y.js → MZRO54UT.js} +4 -6
- package/dist/calcite/N2BVYYYP.js +4 -0
- package/dist/calcite/{WIGL5RKK.js → N4MN6VQ7.js} +4 -6
- package/dist/calcite/{ESS6BUTG.js → N55N67N5.js} +4 -6
- package/dist/calcite/NODC2JA6.js +4 -0
- package/dist/calcite/{FSQJ72IH.js → NVBNX55L.js} +4 -6
- package/dist/calcite/{Z2ZTWA3F.js → NWVCPRVB.js} +3 -5
- package/dist/calcite/{W3WKINVO.js → O4O3TSE5.js} +4 -6
- package/dist/calcite/OE2AH2NC.js +4 -0
- package/dist/calcite/OGED6PPP.js +4 -0
- package/dist/calcite/{QBG5T6W3.js → OHOS32IT.js} +4 -6
- package/dist/calcite/{KA53KK35.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/{G75XVKLZ.js → OTUG3NVT.js} +4 -6
- package/dist/calcite/PNHR5K2L.js +4 -0
- package/dist/calcite/{2YSVELPG.js → PT2XMADA.js} +3 -5
- package/dist/calcite/PZLVQQMT.js +4 -0
- package/dist/calcite/{I2N2BRJR.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/{CTQ5YHOP.js → QU33PBBI.js} +4 -6
- package/dist/calcite/QYGED6CL.js +4 -0
- package/dist/calcite/R3HMG2D6.js +4 -0
- package/dist/calcite/{OU4N4K2U.js → R4RMVIKH.js} +4 -6
- package/dist/calcite/R6GNPMSV.js +4 -0
- package/dist/calcite/{ARFAFPKS.js → RAFCSOOQ.js} +4 -6
- package/dist/calcite/{GU2SFYM4.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/{57L4ZYLO.js → RMGYRZXR.js} +4 -6
- package/dist/calcite/RSAEDAEX.js +4 -0
- package/dist/calcite/{SFWNFANJ.js → RUTUU2EH.js} +4 -6
- package/dist/calcite/{XFKIMAJU.js → RVMVJW6K.js} +4 -6
- package/dist/calcite/RVQMJBNS.js +4 -0
- package/dist/calcite/{QLJX2F4K.js → S76CXQTI.js} +4 -6
- package/dist/calcite/SBZ6VJ75.js +4 -0
- package/dist/calcite/SJKTCGW6.js +4 -0
- package/dist/calcite/{G27BUJJG.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/{XOA2TSHC.js → T6HODD4B.js} +4 -6
- package/dist/calcite/TNR5VZG2.js +4 -0
- package/dist/calcite/TQIVV2F7.js +4 -0
- package/dist/calcite/{UCGUHOUO.js → TQTAM3XB.js} +4 -6
- package/dist/calcite/{XR2WLB7D.js → TSJJLMPA.js} +3 -5
- package/dist/calcite/{VM4VUQ54.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/{AFH6KP7M.js → URM3R65T.js} +4 -6
- package/dist/calcite/US3PQV6O.js +4 -0
- package/dist/calcite/{BNYX7IBO.js → V4JZRN7T.js} +4 -6
- package/dist/calcite/{3JQJ24PZ.js → VCSXFNPO.js} +4 -6
- package/dist/calcite/VG7BJBFG.js +4 -0
- package/dist/calcite/{6LWRLBVD.js → VJD4CRQ3.js} +4 -6
- package/dist/calcite/VMRLYKNI.js +4 -0
- package/dist/calcite/{LQ5ITYNE.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/{3ATQZBKY.js → WSGL37LB.js} +4 -6
- package/dist/calcite/{4TWMM7Z6.js → WWUBU6N5.js} +4 -6
- package/dist/calcite/{QFH3VN2R.js → X2UHFJHG.js} +4 -6
- package/dist/calcite/XBZLGRRI.js +4 -0
- package/dist/calcite/XOVG6UH3.js +4 -0
- package/dist/calcite/{7NVGCG7Q.js → XT32TCZG.js} +3 -5
- package/dist/calcite/XXZIOSXQ.js +4 -0
- package/dist/calcite/{MNBTRJLH.js → Y6VF7HSM.js} +4 -6
- package/dist/calcite/YA5A7PJR.js +4 -0
- package/dist/calcite/{MYJH43DB.js → YMRTHS5X.js} +4 -6
- package/dist/calcite/{ZQSF4K7D.js → YTRT5XZT.js} +4 -6
- package/dist/calcite/{O2KBYT33.js → YXLQFMOA.js} +4 -6
- package/dist/calcite/{J7RY7DXT.js → YYJSHQR3.js} +3 -5
- package/dist/calcite/{SZP7YBVQ.js → Z6GA347Y.js} +4 -6
- package/dist/calcite/{VFBPWVKE.js → Z7VNUC77.js} +4 -6
- package/dist/calcite/ZA76CHET.js +4 -0
- package/dist/calcite/ZGXTLCGJ.js +4 -0
- package/dist/calcite/{KMLCSDZJ.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 +54 -73
- 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/2AZY343I.js +0 -6
- package/dist/calcite/2CPZ6K5L.js +0 -6
- package/dist/calcite/2M35C4DF.js +0 -6
- package/dist/calcite/2VVNNU7Q.js +0 -6
- package/dist/calcite/2XACBT2N.js +0 -6
- package/dist/calcite/32P7BAVF.js +0 -6
- package/dist/calcite/3HC2LTHR.js +0 -6
- package/dist/calcite/455MOJA6.js +0 -6
- package/dist/calcite/4DVWRXRA.js +0 -6
- package/dist/calcite/4TF5UO7R.js +0 -6
- package/dist/calcite/572RARTY.js +0 -6
- package/dist/calcite/5I36CFLM.js +0 -6
- package/dist/calcite/5OJMVZTI.js +0 -6
- package/dist/calcite/5YZTHYBK.js +0 -6
- package/dist/calcite/6L5EBECQ.js +0 -6
- package/dist/calcite/73JK3C3F.js +0 -6
- package/dist/calcite/7557S5FH.js +0 -6
- package/dist/calcite/7FJOFJBG.js +0 -6
- package/dist/calcite/7KUN772K.js +0 -6
- package/dist/calcite/7LABYE24.js +0 -6
- package/dist/calcite/7NPWRWEK.js +0 -6
- package/dist/calcite/7PQTHMQD.js +0 -6
- package/dist/calcite/AEIISXUM.js +0 -6
- package/dist/calcite/AT2QAEKC.js +0 -6
- package/dist/calcite/BHLCJMB4.js +0 -6
- package/dist/calcite/BOMPAJVU.js +0 -6
- package/dist/calcite/BYURAML5.js +0 -6
- package/dist/calcite/CRBGPV2Y.js +0 -6
- package/dist/calcite/CY2QE4I2.js +0 -6
- package/dist/calcite/D26RI2OE.js +0 -6
- package/dist/calcite/DCAWR655.js +0 -6
- package/dist/calcite/DSYDJ57C.js +0 -6
- package/dist/calcite/E2PVAX5K.js +0 -6
- package/dist/calcite/EH7S4XKL.js +0 -6
- package/dist/calcite/FGCHRTFU.js +0 -6
- package/dist/calcite/FIJQNNLL.js +0 -6
- package/dist/calcite/FIVGOTUL.js +0 -6
- package/dist/calcite/FPZSDG22.js +0 -6
- package/dist/calcite/FQJWCM6B.js +0 -6
- package/dist/calcite/FRK56FXW.js +0 -6
- package/dist/calcite/FSORFWYW.js +0 -6
- package/dist/calcite/FWSMKN2T.js +0 -6
- package/dist/calcite/GGQW5H6B.js +0 -6
- package/dist/calcite/GHY53YEU.js +0 -6
- package/dist/calcite/GWGCBSIN.js +0 -6
- package/dist/calcite/HH5FL6GD.js +0 -6
- package/dist/calcite/HNNE5R46.js +0 -6
- package/dist/calcite/HRVN7KZA.js +0 -6
- package/dist/calcite/I3TEC7IS.js +0 -6
- package/dist/calcite/I5SQS3SN.js +0 -6
- package/dist/calcite/I74ZLJFG.js +0 -6
- package/dist/calcite/I7SBXLRM.js +0 -6
- package/dist/calcite/IEJMBPJU.js +0 -6
- package/dist/calcite/IK3QCAZN.js +0 -6
- package/dist/calcite/IKOOMPAX.js +0 -6
- package/dist/calcite/IPDH2LDG.js +0 -6
- package/dist/calcite/IUBUCDD6.js +0 -6
- package/dist/calcite/JCMCWR7J.js +0 -6
- package/dist/calcite/JHGP2C56.js +0 -6
- package/dist/calcite/JMNIVK3R.js +0 -6
- package/dist/calcite/KDCUMRGX.js +0 -6
- package/dist/calcite/KEFBUO23.js +0 -6
- package/dist/calcite/KHNXDA3R.js +0 -6
- package/dist/calcite/KLEV3IGL.js +0 -6
- package/dist/calcite/LIT6HBCV.js +0 -6
- package/dist/calcite/LKXA7MRG.js +0 -6
- package/dist/calcite/LMTPIXJD.js +0 -6
- package/dist/calcite/M3MFRN64.js +0 -6
- package/dist/calcite/M5MPF4VA.js +0 -6
- package/dist/calcite/MWGGE65N.js +0 -6
- package/dist/calcite/MXNAKF47.js +0 -6
- package/dist/calcite/NNKZWGGT.js +0 -6
- package/dist/calcite/NVQN43XK.js +0 -6
- package/dist/calcite/OHLVZUJX.js +0 -6
- package/dist/calcite/OHR7IMVY.js +0 -6
- package/dist/calcite/OJ5D52RG.js +0 -6
- package/dist/calcite/OJ5H4H4N.js +0 -6
- package/dist/calcite/OTT2SAVW.js +0 -6
- package/dist/calcite/OTYNRKUI.js +0 -6
- package/dist/calcite/PB4E6L52.js +0 -6
- package/dist/calcite/PO4EKM6H.js +0 -6
- package/dist/calcite/PPU55N5C.js +0 -6
- package/dist/calcite/PRGXXMHF.js +0 -6
- package/dist/calcite/PZ34QZ44.js +0 -6
- package/dist/calcite/PZ65523C.js +0 -6
- package/dist/calcite/PZGFP3J5.js +0 -6
- package/dist/calcite/Q2OAKI4L.js +0 -7
- package/dist/calcite/QIOSM7C2.js +0 -6
- package/dist/calcite/QS2B427U.js +0 -6
- package/dist/calcite/QVG465DZ.js +0 -6
- package/dist/calcite/RJU34JMH.js +0 -6
- package/dist/calcite/RL6ENWBS.js +0 -6
- package/dist/calcite/RWRTOY74.js +0 -6
- package/dist/calcite/S66ATD4V.js +0 -6
- package/dist/calcite/SHIZHTEP.js +0 -6
- package/dist/calcite/SY776R43.js +0 -6
- package/dist/calcite/T2M3KJPZ.js +0 -6
- package/dist/calcite/T7AHSVKE.js +0 -6
- package/dist/calcite/TBZM4XEW.js +0 -6
- package/dist/calcite/THTH4FYX.js +0 -6
- package/dist/calcite/TI4ZYY5Y.js +0 -6
- package/dist/calcite/TKE6VYZT.js +0 -6
- package/dist/calcite/TR3TLSTJ.js +0 -6
- package/dist/calcite/TSUCKRY4.js +0 -6
- package/dist/calcite/TWZNPBFB.js +0 -6
- package/dist/calcite/U5AZRHO7.js +0 -6
- package/dist/calcite/UE43U5QZ.js +0 -6
- package/dist/calcite/UHCCT74Q.js +0 -6
- package/dist/calcite/USP47AIY.js +0 -6
- package/dist/calcite/V3ZZW4SK.js +0 -6
- package/dist/calcite/WBOLRFTK.js +0 -6
- package/dist/calcite/WH3NETOG.js +0 -6
- package/dist/calcite/WHD4MFC3.js +0 -6
- package/dist/calcite/WJ6LOMWZ.js +0 -6
- package/dist/calcite/WKI76QXV.js +0 -6
- package/dist/calcite/WRQMW4QF.js +0 -24
- package/dist/calcite/X4RLJXN2.js +0 -6
- package/dist/calcite/XDGCDDNX.js +0 -8
- package/dist/calcite/XL6QBGWC.js +0 -6
- package/dist/calcite/XVBU5M6P.js +0 -6
- package/dist/calcite/Z4XCJ5VE.js +0 -6
- package/dist/calcite/ZQERQE2F.js +0 -6
- package/dist/calcite/ZYUUIPOD.js +0 -6
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import { a as
|
|
2
|
-
import { html as a, nothing as
|
|
3
|
-
import { render as
|
|
1
|
+
import { a as E, c as I } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as a, nothing as F } from "lit";
|
|
3
|
+
import { render as M } from "lit-html";
|
|
4
4
|
import { createRef as b, ref as p } from "lit-html/directives/ref.js";
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { css as
|
|
10
|
-
/*!
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* v3.0.0-next.99
|
|
14
|
-
*/
|
|
5
|
+
import { LitElement as P, createEvent as u, safeClassMap as d } from "@arcgis/lumina";
|
|
6
|
+
import { n as $ } from "../../chunks/locale.js";
|
|
7
|
+
import { u as k } from "../../chunks/useT9n.js";
|
|
8
|
+
import { i as g } from "../../chunks/component.js";
|
|
9
|
+
import { css as O } from "@lit/reactive-element/css-tag.js";
|
|
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 */
|
|
15
13
|
const n = {
|
|
16
14
|
bordered: "bordered",
|
|
17
15
|
striped: "striped",
|
|
@@ -22,16 +20,16 @@ const n = {
|
|
|
22
20
|
tableFixed: "table--fixed",
|
|
23
21
|
assistiveText: "assistive-text",
|
|
24
22
|
selectionActions: "selection-actions"
|
|
25
|
-
},
|
|
23
|
+
}, m = {
|
|
26
24
|
selectionActions: "selection-actions",
|
|
27
25
|
tableHeader: "table-header",
|
|
28
26
|
tableFooter: "table-footer"
|
|
29
|
-
}, H =
|
|
30
|
-
class
|
|
27
|
+
}, H = O`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-cell-padding: .25rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding: .5rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-table-cell-padding: 1rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;block-size:100%;inline-size:100%;flex-direction:column}.table-container{overflow:auto;white-space:nowrap;border:1px solid var(--calcite-color-border-3)}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}table{inline-size:100%;border-collapse:collapse;overflow-x:scroll}@-moz-document url-prefix(){table{border-collapse:separate;border-spacing:0}}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color: var(--calcite-color-border-3)}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background: var(--calcite-color-foreground-2)}.selection-actions{display:flex;flex-direction:row;margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:.5rem}.selection-area calcite-button{margin-inline-end:1rem}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
28
|
+
class L extends P {
|
|
31
29
|
// #endregion
|
|
32
30
|
// #region Lifecycle
|
|
33
31
|
constructor() {
|
|
34
|
-
super(), this.paginationEl = b(), this.tableBodySlotEl = b(), this.tableFootSlotEl = b(), this.tableHeadSlotEl = b(), this.colCount = 0, this.pageStartRow = 1, this.selectedCount = 0, this.bordered = !1, this.groupSeparator = !1, this.interactionMode = "interactive", this.layout = "auto", this.messages =
|
|
32
|
+
super(), this.paginationEl = b(), this.tableBodySlotEl = b(), this.tableFootSlotEl = b(), this.tableHeadSlotEl = b(), this.colCount = 0, this.pageStartRow = 1, this.selectedCount = 0, this.bordered = !1, this.groupSeparator = !1, this.interactionMode = "interactive", this.layout = "auto", this.messages = k({ blocking: !0 }), this.numbered = !1, this.pageSize = 0, this.scale = "m", this._selectedItems = [], this.selectionDisplay = "top", this.selectionMode = "none", this.striped = !1, this.calciteInternalTableRowFocusChange = u({ cancelable: !1 }), this.calciteTablePageChange = u({ cancelable: !1 }), this.calciteTableSelect = u({ cancelable: !1 }), this.listen("calciteTableRowSelect", this.calciteTableRowSelectListener), this.listen("calciteInternalTableRowSelect", this.calciteInternalTableRowSelectListener), this.listen("calciteInternalTableRowFocusRequest", this.calciteInternalTableRowFocusEvent);
|
|
35
33
|
}
|
|
36
34
|
static {
|
|
37
35
|
this.properties = { colCount: 16, pageStartRow: 16, readCellContentsToAT: 16, selectedCount: 16, bordered: 7, caption: 1, groupSeparator: 7, interactionMode: 3, layout: 3, messageOverrides: 0, numbered: 7, numberingSystem: 3, pageSize: 11, scale: 3, selectedItems: 32, _selectedItems: 16, selectionDisplay: 3, selectionMode: 3, striped: 7 };
|
|
@@ -48,13 +46,12 @@ class U extends M {
|
|
|
48
46
|
return this._selectedItems;
|
|
49
47
|
}
|
|
50
48
|
async load() {
|
|
51
|
-
|
|
49
|
+
this.readCellContentsToAT = /safari/i.test(E()), this.listenOn(this.el.shadowRoot, "slotchange", this.handleSlotChange);
|
|
52
50
|
}
|
|
53
51
|
willUpdate(e) {
|
|
54
52
|
(e.has("groupSeparator") && (this.hasUpdated || this.groupSeparator !== !1) || e.has("interactionMode") && (this.hasUpdated || this.interactionMode !== "interactive") || e.has("numbered") && (this.hasUpdated || this.numbered !== !1) || e.has("numberingSystem") || e.has("pageSize") && (this.hasUpdated || this.pageSize !== 0) || e.has("scale") && (this.hasUpdated || this.scale !== "m") || e.has("selectionMode") && (this.hasUpdated || this.selectionMode !== "none")) && this.updateRows();
|
|
55
53
|
}
|
|
56
54
|
loaded() {
|
|
57
|
-
k(this);
|
|
58
55
|
}
|
|
59
56
|
// #endregion
|
|
60
57
|
// #region Private Methods
|
|
@@ -68,27 +65,27 @@ class U extends M {
|
|
|
68
65
|
e.composedPath().includes(this.el) && this.updateSelectedItems(!1);
|
|
69
66
|
}
|
|
70
67
|
calciteInternalTableRowFocusEvent(e) {
|
|
71
|
-
const i = e.detail.cellPosition, s = e.detail.rowPosition,
|
|
68
|
+
const i = e.detail.cellPosition, s = e.detail.rowPosition, l = e.detail.destination, c = e.detail.lastCell, t = this.bodyRows?.filter((h) => !g(h)), o = this.allRows?.filter((h) => !g(h)), f = this.headRows[this.headRows.length - 1]?.positionAll, S = t[0]?.positionAll, w = t[t.length - 1]?.positionAll, R = this.footRows[0]?.positionAll, C = o[o.length - 1]?.positionAll, v = l === "next" && s === f, z = l === "previous" && s === R, T = l === "previous" && s === S, x = l === "next" && s === w;
|
|
72
69
|
let r;
|
|
73
|
-
switch (
|
|
70
|
+
switch (l) {
|
|
74
71
|
case "first":
|
|
75
72
|
r = 0;
|
|
76
73
|
break;
|
|
77
74
|
case "last":
|
|
78
|
-
r =
|
|
75
|
+
r = C;
|
|
79
76
|
break;
|
|
80
77
|
case "next":
|
|
81
|
-
r =
|
|
78
|
+
r = v ? S : x ? R : s + 1;
|
|
82
79
|
break;
|
|
83
80
|
case "previous":
|
|
84
|
-
r =
|
|
81
|
+
r = z ? w : T ? f : s - 1;
|
|
85
82
|
break;
|
|
86
83
|
}
|
|
87
|
-
const
|
|
84
|
+
const y = this.allRows?.find((h) => h.positionAll === r)?.cellCount, A = i > y ? y : i;
|
|
88
85
|
r !== void 0 && this.calciteInternalTableRowFocusChange.emit({
|
|
89
|
-
cellPosition:
|
|
86
|
+
cellPosition: A,
|
|
90
87
|
rowPosition: r,
|
|
91
|
-
destination:
|
|
88
|
+
destination: l,
|
|
92
89
|
lastCell: c
|
|
93
90
|
});
|
|
94
91
|
}
|
|
@@ -96,21 +93,21 @@ class U extends M {
|
|
|
96
93
|
return e?.assignedElements({ flatten: !0 })?.filter((i) => i?.matches("calcite-table-row"));
|
|
97
94
|
}
|
|
98
95
|
updateRows() {
|
|
99
|
-
const e = this.getSlottedRows(this.tableHeadSlotEl.value) || [], i = this.getSlottedRows(this.tableBodySlotEl.value) || [], s = this.getSlottedRows(this.tableFootSlotEl.value) || [],
|
|
96
|
+
const e = this.getSlottedRows(this.tableHeadSlotEl.value) || [], i = this.getSlottedRows(this.tableBodySlotEl.value) || [], s = this.getSlottedRows(this.tableFootSlotEl.value) || [], l = [...e, ...i, ...s];
|
|
100
97
|
e?.forEach((t) => {
|
|
101
|
-
const
|
|
102
|
-
t.rowType = "head", t.positionSection =
|
|
98
|
+
const o = e?.indexOf(t);
|
|
99
|
+
t.rowType = "head", t.positionSection = o, t.positionSectionLocalized = this.localizeNumber((o + 1).toString());
|
|
103
100
|
}), i?.forEach((t) => {
|
|
104
|
-
const
|
|
105
|
-
t.rowType = "body", t.positionSection =
|
|
101
|
+
const o = i?.indexOf(t);
|
|
102
|
+
t.rowType = "body", t.positionSection = o, t.positionSectionLocalized = this.localizeNumber((o + 1).toString());
|
|
106
103
|
}), s?.forEach((t) => {
|
|
107
|
-
const
|
|
108
|
-
t.rowType = "foot", t.positionSection =
|
|
109
|
-
}),
|
|
110
|
-
t.interactionMode = this.interactionMode, t.selectionMode = this.selectionMode, t.bodyRowCount = i?.length, t.positionAll =
|
|
104
|
+
const o = s?.indexOf(t);
|
|
105
|
+
t.rowType = "foot", t.positionSection = o, t.positionSectionLocalized = this.localizeNumber((o + 1).toString());
|
|
106
|
+
}), l?.forEach((t) => {
|
|
107
|
+
t.interactionMode = this.interactionMode, t.selectionMode = this.selectionMode, t.bodyRowCount = i?.length, t.positionAll = l?.indexOf(t), t.numbered = this.numbered, t.scale = this.scale, t.readCellContentsToAT = this.readCellContentsToAT, t.lastVisibleRow = l?.indexOf(t) === l.length - 1;
|
|
111
108
|
});
|
|
112
109
|
const c = e[0]?.cellCount || e[0]?.querySelectorAll("calcite-table-header")?.length;
|
|
113
|
-
this.colCount = c, this.headRows = e, this.bodyRows = i, this.footRows = s, this.allRows =
|
|
110
|
+
this.colCount = c, this.headRows = e, this.bodyRows = i, this.footRows = s, this.allRows = l, this.updateSelectedItems(), this.paginateRows();
|
|
114
111
|
}
|
|
115
112
|
handlePaginationChange() {
|
|
116
113
|
const e = this.paginationEl.value?.startItem;
|
|
@@ -119,7 +116,7 @@ class U extends M {
|
|
|
119
116
|
paginateRows() {
|
|
120
117
|
this.bodyRows?.forEach((e) => {
|
|
121
118
|
const i = e.positionSection + 1, s = i >= this.pageStartRow && i < this.pageStartRow + this.pageSize;
|
|
122
|
-
e.
|
|
119
|
+
e.itemHidden = this.pageSize > 0 && !s && !this.footRows.includes(e), e.lastVisibleRow = i === this.pageStartRow + this.pageSize - 1 || i === this.bodyRows.length;
|
|
123
120
|
});
|
|
124
121
|
}
|
|
125
122
|
updateSelectedItems(e) {
|
|
@@ -139,29 +136,29 @@ class U extends M {
|
|
|
139
136
|
}), this.updateSelectedItems(!0);
|
|
140
137
|
}
|
|
141
138
|
localizeNumber(e) {
|
|
142
|
-
return
|
|
139
|
+
return $.numberFormatOptions = {
|
|
143
140
|
locale: this.messages._lang,
|
|
144
141
|
numberingSystem: this.numberingSystem,
|
|
145
142
|
useGrouping: this.groupSeparator
|
|
146
|
-
},
|
|
143
|
+
}, $.localize(e.toString());
|
|
147
144
|
}
|
|
148
145
|
// #endregion
|
|
149
146
|
// #region Rendering
|
|
150
147
|
renderSelectionArea() {
|
|
151
|
-
const e = this._selectedItems?.filter((t) => t
|
|
152
|
-
return a`<div class=${d(n.selectionArea)}><calcite-chip .kind=${this.selectedCount > 0 ? "brand" : "neutral"} .label=${
|
|
148
|
+
const e = this._selectedItems?.filter((t) => g(t))?.length, i = this.localizeNumber(e?.toString()), l = `${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`, c = `${i} ${this.messages.hiddenSelected}`;
|
|
149
|
+
return a`<div class=${d(n.selectionArea)}><calcite-chip .kind=${this.selectedCount > 0 ? "brand" : "neutral"} .label=${l} .scale=${this.scale} .value=${l}>${l}</calcite-chip>${e > 0 && a`<calcite-chip icon=hide-empty .label=${c} .scale=${this.scale} title=${c ?? F} .value=${c}>${i}</calcite-chip>` || ""}${this.selectedCount > 0 && a`<calcite-button icon-start=x kind=neutral @click=${this.handleDeselectAllRows} round .scale=${this.scale} .title=${`${this.messages.clear} ${l} ${this.messages.row}`}>${this.messages.clear}</calcite-button>` || ""}<div class=${d(n.selectionActions)}><slot name=${m.selectionActions}></slot></div></div>`;
|
|
153
150
|
}
|
|
154
151
|
renderPaginationArea() {
|
|
155
152
|
return a`<div class=${d(n.paginationArea)}><calcite-pagination .groupSeparator=${this.groupSeparator} .numberingSystem=${this.numberingSystem} @calcitePaginationChange=${this.handlePaginationChange} .pageSize=${this.pageSize} .scale=${this.scale} start-item=1 .totalItems=${this.bodyRows?.length} ${p(this.paginationEl)}></calcite-pagination></div>`;
|
|
156
153
|
}
|
|
157
154
|
renderTHead() {
|
|
158
|
-
return a`<thead><slot name=${
|
|
155
|
+
return a`<thead><slot name=${m.tableHeader} ${p(this.tableHeadSlotEl)}></slot></thead>`;
|
|
159
156
|
}
|
|
160
157
|
renderTBody() {
|
|
161
158
|
return a`<tbody><slot ${p(this.tableBodySlotEl)}></slot></tbody>`;
|
|
162
159
|
}
|
|
163
160
|
renderTFoot() {
|
|
164
|
-
return a`<tfoot><slot name=${
|
|
161
|
+
return a`<tfoot><slot name=${m.tableFooter} ${p(this.tableFootSlotEl)}></slot></tfoot>`;
|
|
165
162
|
}
|
|
166
163
|
render() {
|
|
167
164
|
return a`<div class=${d(n.container)}>${this.selectionMode !== "none" && this.selectionDisplay !== "none" && this.renderSelectionArea() || ""}<div class=${d({
|
|
@@ -170,11 +167,11 @@ class U extends M {
|
|
|
170
167
|
[n.tableContainer]: !0
|
|
171
168
|
})}><table .ariaColCount=${this.colCount} .ariaMultiSelectable=${/* workaround to ensure the attr gets removed; we should be able to avoid the ternary when fixed */
|
|
172
169
|
this.selectionMode === "multiple" ? "true" : null} .ariaRowCount=${this.allRows?.length} class=${d({ [n.tableFixed]: this.layout === "fixed" })} .role=${this.interactionMode === "interactive" ? "grid" : "table"} ${p((e) => {
|
|
173
|
-
e &&
|
|
170
|
+
e && M(a`<caption class=${d(n.assistiveText)}>${this.caption}</caption>${this.renderTHead()}${this.renderTBody()}${this.renderTFoot()}`, e);
|
|
174
171
|
})}></table></div>${this.pageSize > 0 && this.renderPaginationArea() || ""}</div>`;
|
|
175
172
|
}
|
|
176
173
|
}
|
|
177
|
-
|
|
174
|
+
I("calcite-table", L);
|
|
178
175
|
export {
|
|
179
|
-
|
|
176
|
+
L as Table
|
|
180
177
|
};
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { C as n, c } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as o, nothing as s } from "lit";
|
|
3
3
|
import { createRef as a, ref as r } from "lit-html/directives/ref.js";
|
|
4
|
-
import { LitElement as d, safeClassMap as
|
|
5
|
-
import { c as h
|
|
6
|
-
import { u, I as
|
|
7
|
-
import { g as
|
|
8
|
-
import { u as
|
|
9
|
-
import { css as
|
|
10
|
-
/*!
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
* v3.0.0-next.99
|
|
14
|
-
*/
|
|
4
|
+
import { LitElement as d, safeClassMap as i } from "@arcgis/lumina";
|
|
5
|
+
import { c as h } from "../../chunks/loadable.js";
|
|
6
|
+
import { u as p, I as u } from "../../chunks/interactive.js";
|
|
7
|
+
import { g as m } from "../../chunks/dom.js";
|
|
8
|
+
import { u as b } from "../../chunks/useT9n.js";
|
|
9
|
+
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
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 */
|
|
15
13
|
const e = {
|
|
16
14
|
contentCell: "content-cell",
|
|
17
15
|
numberCell: "number-cell",
|
|
@@ -21,16 +19,16 @@ const e = {
|
|
|
21
19
|
assistiveText: "assistive-text",
|
|
22
20
|
lastCell: "last-cell",
|
|
23
21
|
staticCell: "static-cell"
|
|
24
|
-
},
|
|
25
|
-
class
|
|
22
|
+
}, g = f`: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{--calcite-internal-table-cell-background: var(--calcite-table-cell-background, transparent);display:contents}:host([alignment=center]) td:not(.selection-cell):not(.number-cell){text-align:center}:host([alignment=end]) td:not(.selection-cell):not(.number-cell){text-align:end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}td{white-space:normal;text-align:start;vertical-align:middle;color:var(--calcite-color-text-1);background:var(--calcite-internal-table-cell-background);font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-color-border-3);padding:var(--calcite-internal-table-cell-padding)}td:not(.static-cell){outline-color:transparent}td:not(.static-cell):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))))}td.start.content-cell{vertical-align:top}td.end.content-cell{vertical-align:bottom}td.last-cell{border-inline-end:0}.number-cell{background-color:var(--calcite-color-foreground-2)}.footer-cell{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);border-block-start:1px solid var(--calcite-color-border-3)}.number-cell,.selection-cell{text-align:center;border-inline-end:1px solid var(--calcite-color-border-3);inline-size:2rem;min-inline-size:2rem}.selection-cell{color:var(--calcite-color-text-3);inset-inline-start:2rem}.selection-cell:not(.footer-cell){cursor:pointer}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-internal-table-cell-background: var(--calcite-color-foreground-current)}.selection-cell.selected-cell{box-shadow:inset .25rem 0 0 0 var(--calcite-color-brand);color:var(--calcite-color-brand)}.selection-cell.selected-cell calcite-icon{color:var(--calcite-color-brand)}.calcite--rtl.selection-cell.selected-cell{box-shadow:inset -.25rem 0 0 0 var(--calcite-color-brand)}.selection-cell{vertical-align:middle}.selection-cell ::slotted(calcite-icon){pointer-events:none;margin-block-start:.25rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
|
|
23
|
+
class C extends d {
|
|
26
24
|
constructor() {
|
|
27
|
-
super(...arguments), this.containerEl = a(), this.contentsText = "", this.focused = !1, this.selectionText = "", this.alignment = "start", this.interactionMode = "interactive", this.messages =
|
|
25
|
+
super(...arguments), this.containerEl = a(), this.contentsText = "", this.focused = !1, this.selectionText = "", this.alignment = "start", this.interactionMode = "interactive", this.messages = b(), this.parentRowAlignment = "start", this.scale = "m";
|
|
28
26
|
}
|
|
29
27
|
static {
|
|
30
28
|
this.properties = { contentsText: 16, focused: 16, selectionText: 16, alignment: 3, colSpan: 11, disabled: 5, interactionMode: 1, lastCell: 5, messageOverrides: 0, numberCell: 5, parentRowAlignment: 1, parentRowIsSelected: 5, parentRowPositionLocalized: 1, parentRowType: 1, positionInRow: 9, readCellContentsToAT: 5, rowSpan: 11, scale: 1, selectionCell: 5 };
|
|
31
29
|
}
|
|
32
30
|
static {
|
|
33
|
-
this.styles =
|
|
31
|
+
this.styles = g;
|
|
34
32
|
}
|
|
35
33
|
// #endregion
|
|
36
34
|
// #region Public Methods
|
|
@@ -41,16 +39,15 @@ class x extends d {
|
|
|
41
39
|
// #endregion
|
|
42
40
|
// #region Lifecycle
|
|
43
41
|
async load() {
|
|
44
|
-
|
|
42
|
+
this.updateScreenReaderContentsText(), this.updateScreenReaderSelectionText();
|
|
45
43
|
}
|
|
46
44
|
willUpdate(t) {
|
|
47
45
|
t.has("parentRowIsSelected") && this.updateScreenReaderSelectionText();
|
|
48
46
|
}
|
|
49
47
|
updated() {
|
|
50
|
-
|
|
48
|
+
p(this);
|
|
51
49
|
}
|
|
52
50
|
loaded() {
|
|
53
|
-
m(this);
|
|
54
51
|
}
|
|
55
52
|
// #endregion
|
|
56
53
|
// #region Private Methods
|
|
@@ -70,21 +67,21 @@ class x extends d {
|
|
|
70
67
|
// #endregion
|
|
71
68
|
// #region Rendering
|
|
72
69
|
render() {
|
|
73
|
-
const t =
|
|
74
|
-
return
|
|
70
|
+
const t = m(this.el), l = this.disabled || this.interactionMode === "static" && (!this.selectionCell || this.selectionCell && this.parentRowType === "foot");
|
|
71
|
+
return u({ disabled: this.disabled, children: o`<td class=${i({
|
|
75
72
|
[e.footerCell]: this.parentRowType === "foot",
|
|
76
73
|
[e.contentCell]: !this.numberCell && !this.selectionCell,
|
|
77
74
|
[e.numberCell]: this.numberCell,
|
|
78
75
|
[e.selectionCell]: this.selectionCell,
|
|
79
76
|
[e.selectedCell]: this.parentRowIsSelected,
|
|
80
77
|
[e.lastCell]: this.lastCell && (!this.rowSpan || this.colSpan && !!this.rowSpan),
|
|
81
|
-
[
|
|
78
|
+
[n.rtl]: t === "rtl",
|
|
82
79
|
[e.staticCell]: l,
|
|
83
80
|
[this.parentRowAlignment]: this.parentRowAlignment === "start" || this.parentRowAlignment === "end"
|
|
84
|
-
})} colSpan=${this.colSpan ?? s} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} .role=${this.interactionMode === "interactive" ? "gridcell" : "cell"} rowSpan=${this.rowSpan ?? s} .tabIndex=${l ? -1 : 0} ${r(this.containerEl)}>${(this.selectionCell || this.readCellContentsToAT) && o`<span .ariaLive=${this.focused ? "polite" : "off"} class=${
|
|
81
|
+
})} colSpan=${this.colSpan ?? s} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} .role=${this.interactionMode === "interactive" ? "gridcell" : "cell"} rowSpan=${this.rowSpan ?? s} .tabIndex=${l ? -1 : 0} ${r(this.containerEl)}>${(this.selectionCell || this.readCellContentsToAT) && o`<span .ariaLive=${this.focused ? "polite" : "off"} class=${i(e.assistiveText)}>${this.selectionCell && this.selectionText || ""}${this.readCellContentsToAT && !this.selectionCell && this.contentsText || ""}</span>` || ""}<slot @slotchange=${this.updateScreenReaderContentsText}></slot></td>` });
|
|
85
82
|
}
|
|
86
83
|
}
|
|
87
|
-
c("calcite-table-cell",
|
|
84
|
+
c("calcite-table-cell", C);
|
|
88
85
|
export {
|
|
89
|
-
|
|
86
|
+
C as TableCell
|
|
90
87
|
};
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { c as d } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
2
|
+
import { html as i, nothing as n } from "lit";
|
|
3
3
|
import { createRef as h, ref as p } from "lit-html/directives/ref.js";
|
|
4
|
-
import { LitElement as u, safeClassMap as
|
|
5
|
-
import { c as m
|
|
6
|
-
import { g as
|
|
7
|
-
import { u as
|
|
8
|
-
import { css as
|
|
9
|
-
/*!
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
* v3.0.0-next.99
|
|
13
|
-
*/
|
|
4
|
+
import { LitElement as u, safeClassMap as o } from "@arcgis/lumina";
|
|
5
|
+
import { c as m } from "../../chunks/loadable.js";
|
|
6
|
+
import { g as b } from "../../chunks/component.js";
|
|
7
|
+
import { u as g } from "../../chunks/useT9n.js";
|
|
8
|
+
import { css as f } 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 e = {
|
|
15
13
|
contentCell: "content-cell",
|
|
16
14
|
numberCell: "number-cell",
|
|
@@ -29,16 +27,16 @@ const e = {
|
|
|
29
27
|
checked: "check-square-f",
|
|
30
28
|
indeterminate: "minus-square-f",
|
|
31
29
|
unchecked: "square"
|
|
32
|
-
},
|
|
33
|
-
class
|
|
30
|
+
}, w = f`:host{--calcite-internal-table-header-background: var(--calcite-table-header-background, var(--calcite-color-foreground-2));--calcite-internal-table-header-border-color: var(--calcite-table-border-color, var(--calcite-color-border-3));display:contents}:host([alignment=center]) th{text-align:center}:host([alignment=end]) th{text-align:end}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}th{white-space:normal;text-align:start;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);font-size:var(--calcite-internal-table-cell-font-size);border-inline-end:1px solid var(--calcite-internal-table-header-border-color);border-block-end:1px solid var(--calcite-internal-table-header-border-color);padding-block:calc(var(--calcite-internal-table-cell-padding) * 1.5);padding-inline:var(--calcite-internal-table-cell-padding);background-color:var(--calcite-internal-table-header-background)}th:not(.static-cell){outline-color:transparent}th:not(.static-cell):not(.static-cell):focus-within{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))))}th:not(.center):not(.end).content-cell{vertical-align:top}th.center{vertical-align:middle}th.end.content-cell{vertical-align:bottom}th.body-row,th.footer-row{padding-block:var(--calcite-internal-table-cell-padding);border-block-end:0}th.footer-row{border-block-start:1px solid var(--calcite-internal-table-header-border-color)}th.last-cell{border-inline-end:0}.cell--multiple-selection{cursor:pointer;vertical-align:middle;color:var(--calcite-color-text-3)}.cell--multiple-selection:not(.end){vertical-align:middle}.selected-cell:not(.number-cell):not(.footer-cell){--calcite-internal-table-header-background: var(--calcite-color-foreground-current)}.number-cell,.selection-cell{color:var(--calcite-color-text-2);inline-size:2rem;min-inline-size:2rem}.selection-cell calcite-icon.active{color:var(--calcite-color-brand)}.number-cell calcite-icon,.selection-cell calcite-icon{margin-inline-start:auto;margin-inline-end:auto;vertical-align:middle}.heading{color:var(--calcite-color-text-1)}.description{color:var(--calcite-color-text-3);font-size:var(--calcite-internal-table-cell-font-size-secondary)}`;
|
|
31
|
+
class C extends u {
|
|
34
32
|
constructor() {
|
|
35
|
-
super(...arguments), this.containerEl = h(), this.focused = !1, this.screenReaderText = "", this.alignment = "start", this.interactionMode = "interactive", this.messages =
|
|
33
|
+
super(...arguments), this.containerEl = h(), this.focused = !1, this.screenReaderText = "", this.alignment = "start", this.interactionMode = "interactive", this.messages = g({ blocking: !0 }), this.numberCell = !1, this.parentRowAlignment = "start", this.selectionCell = !1;
|
|
36
34
|
}
|
|
37
35
|
static {
|
|
38
36
|
this.properties = { focused: 16, screenReaderText: 16, alignment: 3, bodyRowCount: 9, colSpan: 11, description: 3, heading: 3, interactionMode: 1, lastCell: 5, messageOverrides: 0, numberCell: 5, parentRowAlignment: 1, parentRowIsSelected: 5, parentRowType: 1, positionInRow: 9, rowSpan: 11, scale: 1, selectedRowCount: 9, selectedRowCountLocalized: 1, selectionCell: 5, selectionMode: 1 };
|
|
39
37
|
}
|
|
40
38
|
static {
|
|
41
|
-
this.styles =
|
|
39
|
+
this.styles = w;
|
|
42
40
|
}
|
|
43
41
|
// #endregion
|
|
44
42
|
// #region Public Methods
|
|
@@ -49,13 +47,12 @@ class R extends u {
|
|
|
49
47
|
// #endregion
|
|
50
48
|
// #region Lifecycle
|
|
51
49
|
async load() {
|
|
52
|
-
|
|
50
|
+
this.updateScreenReaderText();
|
|
53
51
|
}
|
|
54
52
|
willUpdate(t) {
|
|
55
53
|
(t.has("selectedRowCount") || t.has("selectedRowCountLocalized")) && this.updateScreenReaderText();
|
|
56
54
|
}
|
|
57
55
|
loaded() {
|
|
58
|
-
g(this);
|
|
59
56
|
}
|
|
60
57
|
// #endregion
|
|
61
58
|
// #region Private Methods
|
|
@@ -74,7 +71,7 @@ class R extends u {
|
|
|
74
71
|
// #region Rendering
|
|
75
72
|
render() {
|
|
76
73
|
const t = this.rowSpan ? "rowgroup" : this.colSpan ? "colgroup" : this.parentRowType === "body" ? "row" : "col", l = this.selectedRowCount === this.bodyRowCount, s = this.selectedRowCount > 0, r = l ? c.checked : s ? c.indeterminate : c.unchecked, a = this.interactionMode === "static" && !this.selectionCell;
|
|
77
|
-
return
|
|
74
|
+
return i`<th .ariaColIndex=${this.parentRowType === "head" ? this.positionInRow : void 0} class=${o({
|
|
78
75
|
[e.bodyRow]: this.parentRowType === "body",
|
|
79
76
|
[e.footerRow]: this.parentRowType === "foot",
|
|
80
77
|
[e.contentCell]: !this.numberCell && !this.selectionCell,
|
|
@@ -85,10 +82,10 @@ class R extends u {
|
|
|
85
82
|
[e.staticCell]: a,
|
|
86
83
|
[e.lastCell]: this.lastCell && (!this.rowSpan || this.colSpan && !!this.rowSpan),
|
|
87
84
|
[this.parentRowAlignment]: this.parentRowAlignment === "center" || this.parentRowAlignment === "end"
|
|
88
|
-
})} colSpan=${this.colSpan ?? n} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} .role=${this.parentRowType === "head" ? "columnheader" : "rowheader"} rowSpan=${this.rowSpan ?? n} scope=${t ?? n} .tabIndex=${this.selectionCell ? 0 : a ? -1 : 0} ${p(this.containerEl)}>${this.heading &&
|
|
85
|
+
})} colSpan=${this.colSpan ?? n} @blur=${this.onContainerBlur} @focus=${this.onContainerFocus} .role=${this.parentRowType === "head" ? "columnheader" : "rowheader"} rowSpan=${this.rowSpan ?? n} scope=${t ?? n} .tabIndex=${this.selectionCell ? 0 : a ? -1 : 0} ${p(this.containerEl)}>${this.heading && i`<div class=${o(e.heading)}>${this.heading}</div>` || ""}${this.description && i`<div class=${o(e.description)}>${this.description}</div>` || ""}${this.selectionCell && this.selectionMode === "multiple" && i`<calcite-icon class=${o({ [e.active]: s || l })} .icon=${r} .scale=${b(this.scale)}></calcite-icon>` || ""}${(this.selectionCell || this.numberCell) && i`<span .ariaLive=${this.focused ? "polite" : "off"} class=${o(e.assistiveText)}>${this.screenReaderText}</span>` || ""}</th>`;
|
|
89
86
|
}
|
|
90
87
|
}
|
|
91
|
-
d("calcite-table-header",
|
|
88
|
+
d("calcite-table-header", C);
|
|
92
89
|
export {
|
|
93
|
-
|
|
90
|
+
C as TableHeader
|
|
94
91
|
};
|
|
@@ -9,26 +9,24 @@ import { i as R } from "../../chunks/key.js";
|
|
|
9
9
|
import { u as C, I as y } from "../../chunks/interactive.js";
|
|
10
10
|
import { g } from "../../chunks/component.js";
|
|
11
11
|
import { css as T } from "@lit/reactive-element/css-tag.js";
|
|
12
|
-
/*!
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
* v3.0.0-next.99
|
|
16
|
-
*/
|
|
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 */
|
|
17
15
|
const $ = {
|
|
18
16
|
lastVisibleRow: "last-visible-row"
|
|
19
|
-
}, S = T
|
|
17
|
+
}, S = T`@charset "UTF-8";: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{--calcite-internal-table-row-background: var(--calcite-table-row-background, var(--calcite-color-foreground-1));--calcite-internal-table-row-border-color: var(--calcite-table-row-border-color, transparent);display:contents}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) tr{pointer-events:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}tr{border-block-end:1px solid var(--calcite-internal-table-row-border-color);background-color:var(--calcite-internal-table-row-background)}tr.last-visible-row{border-block-end:0}@-moz-document url-prefix(){tr{box-shadow:inset 0 -1px 0 0 var(--calcite-internal-table-row-border-color)}tr.last-visible-row{box-shadow:inset 0 -1px 0 0 transparent}}:host([item-hidden]){display:none}`;
|
|
20
18
|
class A extends w {
|
|
21
19
|
// #endregion
|
|
22
20
|
// #region Lifecycle
|
|
23
21
|
constructor() {
|
|
24
|
-
super(), this.rowCells = [], this.tableRowSlotEl = m(), this.disabled = !1, this.interactionMode = "interactive", this.numbered = !1, this.selected = !1, this.selectionMode = "none", this.calciteInternalTableRowFocusRequest = r({ cancelable: !1 }), this.calciteInternalTableRowSelect = r({ cancelable: !1 }), this.calciteTableRowSelect = r({ cancelable: !1 }), this.handleSelectionOfRow = () => {
|
|
22
|
+
super(), this.rowCells = [], this.tableRowSlotEl = m(), this.itemHidden = !1, this.disabled = !1, this.interactionMode = "interactive", this.numbered = !1, this.selected = !1, this.selectionMode = "none", this.calciteInternalTableRowFocusRequest = r({ cancelable: !1 }), this.calciteInternalTableRowSelect = r({ cancelable: !1 }), this.calciteTableRowSelect = r({ cancelable: !1 }), this.handleSelectionOfRow = () => {
|
|
25
23
|
(this.rowType === "body" || this.rowType === "head" && this.selectionMode === "multiple") && this.calciteTableRowSelect.emit();
|
|
26
24
|
}, this.handleKeyboardSelection = (e) => {
|
|
27
25
|
R(e.key) && (e.key === " " && e.preventDefault(), this.handleSelectionOfRow());
|
|
28
26
|
}, this.listenOn(document, "calciteInternalTableRowFocusChange", this.calciteInternalTableRowFocusChangeHandler);
|
|
29
27
|
}
|
|
30
28
|
static {
|
|
31
|
-
this.properties = { alignment: 3, bodyRowCount: 9, cellCount: 9, disabled: 7, interactionMode: 1, lastVisibleRow: 5, numbered: 5, positionAll: 9, positionSection: 9, positionSectionLocalized: 1, readCellContentsToAT: 5, rowType: 1, scale: 1, selected: 7, selectedRowCount: 9, selectedRowCountLocalized: 1, selectionMode: 1 };
|
|
29
|
+
this.properties = { alignment: 3, itemHidden: 7, bodyRowCount: 9, cellCount: 9, disabled: 7, interactionMode: 1, lastVisibleRow: 5, numbered: 5, positionAll: 9, positionSection: 9, positionSectionLocalized: 1, readCellContentsToAT: 5, rowType: 1, scale: 1, selected: 7, selectedRowCount: 9, selectedRowCountLocalized: 1, selectionMode: 1 };
|
|
32
30
|
}
|
|
33
31
|
static {
|
|
34
32
|
this.styles = S;
|
|
@@ -4,11 +4,9 @@ import { html as n } from "lit";
|
|
|
4
4
|
import { LitElement as h } from "@arcgis/lumina";
|
|
5
5
|
import { s as b, e as p } from "../../chunks/dom.js";
|
|
6
6
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
7
|
-
/*!
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
* v3.0.0-next.99
|
|
11
|
-
*/
|
|
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 */
|
|
12
10
|
const f = {
|
|
13
11
|
titleGroup: "title-group"
|
|
14
12
|
}, u = m`:host{display:flex;flex-direction:column}:host([bordered]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-1)}:host([bordered]) section{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-1)}:host([bordered][position=bottom]){box-shadow:inset 0 1px 0 var(--calcite-color-border-1),inset 0 -1px 0 var(--calcite-color-border-1)}:host([bordered]:not([position=bottom])) ::slotted(calcite-tab-nav){margin-block-end:-1px}:host([bordered][scale=s]) section{padding:.75rem}:host([bordered][scale=m]) section{padding:.5rem}:host([bordered][scale=l]) section{padding:1rem}:host([position=bottom]){flex-direction:column-reverse}section{display:flex;flex-grow:1;overflow:hidden;border-block-start-width:1px;border-block-start-color:var(--calcite-color-border-1);border-block-start-style:solid}:host([position=bottom]) section{flex-direction:column-reverse;border-block-start-width:0px;border-block-end-width:1px;border-block-end-color:var(--calcite-color-border-1)}:host([position=bottom]:not([bordered])) section{border-block-end-style:solid}@media (forced-colors: active){:host([bordered]) section{border-block-start-width:0px;border-block-end-width:1px}:host([position=bottom][bordered]) section{border-block-start-width:1px;border-block-end-width:0px}}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
@@ -39,7 +39,12 @@ export declare class TextArea extends LitElement {
|
|
|
39
39
|
/** Accessible name for the component. */
|
|
40
40
|
label: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* When `true`, prevents input beyond the maximum length, mimicking native `<textarea>` behavior.
|
|
43
|
+
*/
|
|
44
|
+
limitText: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* When the component resides in a form,
|
|
47
|
+
* specifies the maximum number of characters allowed.
|
|
43
48
|
*
|
|
44
49
|
* @mdn [maxlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-maxlength)
|
|
45
50
|
*/
|
|
@@ -61,7 +66,8 @@ export declare class TextArea extends LitElement {
|
|
|
61
66
|
tooShort: string;
|
|
62
67
|
}>;
|
|
63
68
|
/**
|
|
64
|
-
*
|
|
69
|
+
* When the component resides in a form,
|
|
70
|
+
* specifies the minimum number of characters allowed.
|
|
65
71
|
*
|
|
66
72
|
* @mdn [minlength](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#attr-minlength)
|
|
67
73
|
*/
|
|
@@ -87,7 +93,8 @@ export declare class TextArea extends LitElement {
|
|
|
87
93
|
*/
|
|
88
94
|
readOnly: boolean;
|
|
89
95
|
/**
|
|
90
|
-
* When `true
|
|
96
|
+
* When `true` and the component resides in a form,
|
|
97
|
+
* the component must have a value in order for the form to submit.
|
|
91
98
|
*
|
|
92
99
|
* @mdn [required]https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/required
|
|
93
100
|
*/
|