@esri/calcite-components 3.0.0-next.15 → 3.0.0-next.17
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/{QXRPPXP2.js → 222ZAD42.js} +8 -8
- package/dist/calcite/{O4BGHVSA.js → 22LJ62TG.js} +8 -8
- package/dist/calcite/{MC4KTWCH.js → 262P4C2F.js} +2 -2
- package/dist/calcite/{OK6O6ZMS.js → 26OSLRIX.js} +2 -2
- package/dist/calcite/{CMV23SE6.js → 2EZCMP62.js} +15 -15
- package/dist/calcite/{CIPLMEB7.js → 2LTVC7ZB.js} +2 -2
- package/dist/calcite/{PMDGH5RV.js → 2NG3QMEG.js} +2 -2
- package/dist/calcite/{T5NSMTIY.js → 33OTSA5O.js} +10 -10
- package/dist/calcite/{NO4XRFU7.js → 36PRVTW4.js} +2 -2
- package/dist/calcite/{4SL5OHIH.js → 3B3WELES.js} +2 -2
- package/dist/calcite/{ERTTMPF4.js → 3JBYKKYS.js} +2 -2
- package/dist/calcite/{YDFCZQWU.js → 3KABVGU2.js} +13 -13
- package/dist/calcite/{4MMCTXSY.js → 4MCZDFQH.js} +2 -2
- package/dist/calcite/{GTYSETIF.js → 4ZILJXOF.js} +1 -1
- package/dist/calcite/{KFS2TAXM.js → 4ZVI27DX.js} +1 -1
- package/dist/calcite/{YE2XYD2L.js → 56S6YXZX.js} +2 -2
- package/dist/calcite/{PSO5EVDG.js → 5ATJMEG4.js} +9 -9
- package/dist/calcite/{N4ADZ7HB.js → 5GNGYHVH.js} +2 -2
- package/dist/calcite/{O2BNZ3Y4.js → 5K5GXVKS.js} +1 -1
- package/dist/calcite/{5ZEL62DR.js → 5P6IJSHG.js} +8 -8
- package/dist/calcite/{ALO7IXIP.js → 5WPAVUKJ.js} +18 -18
- package/dist/calcite/{HJHOANIA.js → 6ASOM3GT.js} +1 -1
- package/dist/calcite/6ATAEJPQ.js +196 -0
- package/dist/calcite/{OXM6PO23.js → 6DHFTACB.js} +2 -2
- package/dist/calcite/{RDG42SE6.js → 6I6Q2TH5.js} +2 -2
- package/dist/calcite/{HFLJY3K3.js → 6JERFQQK.js} +2 -2
- package/dist/calcite/{CNFJTFJE.js → 6TBBBJOJ.js} +2 -2
- package/dist/calcite/{6AKGM2JE.js → 6XQAMLBK.js} +2 -2
- package/dist/calcite/{MC4G4GT7.js → 74ZS3ZYF.js} +2 -2
- package/dist/calcite/{E2ULDXDQ.js → 76DU25WE.js} +9 -9
- package/dist/calcite/{5QSPE62N.js → 76WNV5LG.js} +2 -2
- package/dist/calcite/{KIG5DJ4P.js → 7DTVZYOL.js} +7 -7
- package/dist/calcite/{TL7DO53L.js → 7GX45BLK.js} +2 -2
- package/dist/calcite/{2JFBMXFK.js → 7PGMT2Z6.js} +2 -2
- package/dist/calcite/{7WIHVO3W.js → ABIA2C7C.js} +1 -1
- package/dist/calcite/{L4TKHVCG.js → ACJIUSRR.js} +10 -10
- package/dist/calcite/{OWDFINR7.js → AFCHLLOU.js} +9 -9
- package/dist/calcite/{UP5EZDLZ.js → AHGSVK6U.js} +10 -10
- package/dist/calcite/{EHHI77DE.js → ARWZDWAV.js} +7 -7
- package/dist/calcite/{23DMWQL7.js → ATIFKAYD.js} +21 -17
- package/dist/calcite/{ANU3IL2H.js → AVMEBDDH.js} +1 -1
- package/dist/calcite/{CAUOZ5YM.js → B2IODUTF.js} +8 -8
- package/dist/calcite/{IZGK7NKL.js → B57MFQ6K.js} +11 -11
- package/dist/calcite/{J7HWE2SV.js → B7QCCC5I.js} +1 -1
- package/dist/calcite/{I7WHSBJ6.js → BBAWIMTT.js} +8 -8
- package/dist/calcite/{ZNDCQAGO.js → BCGOACU6.js} +2 -2
- package/dist/calcite/BCY6N3LY.js +180 -0
- package/dist/calcite/{BRY4JV7S.js → BFCGOALH.js} +14 -14
- package/dist/calcite/{DZGLWBRR.js → BNUHROGV.js} +7 -7
- package/dist/calcite/{WI3RUZMB.js → BXRDP7VS.js} +26 -26
- package/dist/calcite/{K3MVTDFX.js → BYKECJC3.js} +1 -1
- package/dist/calcite/{OQ7NYNWV.js → CBYJ7U3H.js} +9 -9
- package/dist/calcite/{DOU2U4P2.js → CCVWT22B.js} +12 -12
- package/dist/calcite/{H7XSD3PD.js → CFO27HM4.js} +29 -29
- package/dist/calcite/{7CBY2AMT.js → CJTPJQWA.js} +8 -8
- package/dist/calcite/CN3S4EBK.js +6 -0
- package/dist/calcite/{EXFPY434.js → CQXTZE4I.js} +2 -2
- package/dist/calcite/{2BEHLLGM.js → CSSG45I2.js} +2 -2
- package/dist/calcite/{EXLHI57U.js → CUCR7B5J.js} +2 -2
- package/dist/calcite/{DDNEKFSN.js → DF6MXRCP.js} +2 -2
- package/dist/calcite/{6KSQU4LJ.js → DGHREAR6.js} +2 -2
- package/dist/calcite/{JHIHV4E2.js → DJAFFQKH.js} +8 -8
- package/dist/calcite/{YO36N54I.js → DX2COG26.js} +2 -2
- package/dist/calcite/{IZX2RMDI.js → E6P6MHXX.js} +9 -9
- package/dist/calcite/{YVYGKKML.js → ECXGFIHX.js} +1 -1
- package/dist/calcite/{ANUZUPAK.js → EH2H3YEP.js} +8 -8
- package/dist/calcite/{VG3U5KEQ.js → EIM7FMB5.js} +1 -1
- package/dist/calcite/{FLET5SRG.js → ELYHHV4A.js} +2 -2
- package/dist/calcite/{OV55EFSH.js → EMCBAPS5.js} +9 -9
- package/dist/calcite/{GHI3RLWU.js → F6E2JC36.js} +8 -8
- package/dist/calcite/{6373MPPV.js → F6ZQTRSU.js} +2 -2
- package/dist/calcite/{FDG5XKMD.js → FA5UXUNN.js} +7 -7
- package/dist/calcite/{IWINGBIJ.js → FGYHYPBL.js} +2 -2
- package/dist/calcite/{KS25LXA7.js → FIHMVZ72.js} +9 -9
- package/dist/calcite/{55TMLW2O.js → FN7QUGAS.js} +2 -2
- package/dist/calcite/{3XRW5BNF.js → FRGGJGQD.js} +8 -8
- package/dist/calcite/{UTMXICSW.js → FSN4VVSF.js} +2 -2
- package/dist/calcite/{XLXFGMRO.js → FTAPGN26.js} +7 -7
- package/dist/calcite/{Y5TVQU54.js → FWX4IXSK.js} +9 -9
- package/dist/calcite/{WHIZHYMX.js → FWYLGQCC.js} +9 -9
- package/dist/calcite/{PGGYV7AV.js → FYYW6B2I.js} +8 -8
- package/dist/calcite/{LBHXQVBS.js → FZCRR5ED.js} +68 -51
- package/dist/calcite/{4U34XVNM.js → G3NL3AUR.js} +17 -17
- package/dist/calcite/{Y7SI4VH2.js → GKGASG2S.js} +2 -2
- package/dist/calcite/{XHYKQNLF.js → GOFK3C3I.js} +9 -9
- package/dist/calcite/{GQIO3QDL.js → GUUQ6C6Y.js} +2 -2
- package/dist/calcite/{W6BZW4ZW.js → GVJVWXAI.js} +7 -7
- package/dist/calcite/{TJESOMUN.js → GVUMJLYQ.js} +10 -10
- package/dist/calcite/{66QLHZ6T.js → HAQKXUMX.js} +2 -2
- package/dist/calcite/{CZ2NXTNU.js → HBCEVOMM.js} +12 -12
- package/dist/calcite/{KMMGFMPZ.js → HDNHZTHA.js} +32 -32
- package/dist/calcite/{D33CBRC3.js → HE3UEVC3.js} +7 -7
- package/dist/calcite/{RU4VNU2T.js → HEQQGHCK.js} +8 -8
- package/dist/calcite/{YYMAH5K3.js → HFUQKD5O.js} +2 -2
- package/dist/calcite/{7F7MRQYQ.js → HIM66GE6.js} +7 -7
- package/dist/calcite/{QQTVXWSS.js → HPE226NT.js} +2 -2
- package/dist/calcite/{GVSIKTCY.js → HR25TARF.js} +9 -9
- package/dist/calcite/{WW7Z6TLD.js → HRBZIGPE.js} +2 -2
- package/dist/calcite/{5FP5ZJW7.js → HS4VV7KS.js} +7 -7
- package/dist/calcite/{63DUP65U.js → HUJDQBTC.js} +9 -9
- package/dist/calcite/{WZUU734N.js → HYIBHVJN.js} +7 -7
- package/dist/calcite/{OIXBIGXA.js → I6CTVZBC.js} +9 -9
- package/dist/calcite/{JYPHVAWH.js → IANMKQTL.js} +8 -8
- package/dist/calcite/{XJONFTH4.js → IAQAZWFJ.js} +19 -19
- package/dist/calcite/{G7PAMV4Y.js → ISISFXRV.js} +1 -1
- package/dist/calcite/{ACI2AMRF.js → ITYIMAYJ.js} +7 -7
- package/dist/calcite/{CVMNUJHR.js → IYAZMMND.js} +1 -1
- package/dist/calcite/{GUKAVI5S.js → IYLG76XW.js} +2 -2
- package/dist/calcite/{M3TKTT2B.js → J36ZOFFN.js} +2 -2
- package/dist/calcite/{EY7C5UJO.js → J4P6PUME.js} +2 -2
- package/dist/calcite/{OCBQZJBX.js → JOLD3LYW.js} +7 -7
- package/dist/calcite/{2KJCSFGW.js → JPDWXRMQ.js} +2 -2
- package/dist/calcite/{HHAPUAHS.js → JSOTSYI4.js} +7 -7
- package/dist/calcite/{N3JTT3D4.js → KAAPJ6FI.js} +9 -9
- package/dist/calcite/{GAHGRVH3.js → KBR4WXDN.js} +2 -2
- package/dist/calcite/{XLPF4H5M.js → KS24Q3DU.js} +10 -10
- package/dist/calcite/{BM5GPJEK.js → L2522ZNF.js} +7 -7
- package/dist/calcite/{WDU35JUL.js → L37MB4TR.js} +2 -2
- package/dist/calcite/{2D367WUF.js → L4KSLDPQ.js} +8 -8
- package/dist/calcite/{ZHLJ6GSA.js → LC2LG34Q.js} +2 -2
- package/dist/calcite/{3VKJCVOQ.js → LDRSUVYT.js} +2 -2
- package/dist/calcite/{YKZBYXJS.js → LG2DEFJQ.js} +7 -7
- package/dist/calcite/{JO6ZFUWM.js → LGPV3WG2.js} +8 -8
- package/dist/calcite/{C53A6XHZ.js → LMIADGWF.js} +1 -1
- package/dist/calcite/{FIGHAGXR.js → LMIEEPAO.js} +10 -10
- package/dist/calcite/{XRFAFLYL.js → LQNXE2H3.js} +7 -7
- package/dist/calcite/{ITCFLOZS.js → LTSQEKF4.js} +2 -2
- package/dist/calcite/{MOPDNGNT.js → LX6YKLXU.js} +2 -2
- package/dist/calcite/{3QJ3YIES.js → M5ABRMSF.js} +9 -9
- package/dist/calcite/{SCILQ6TJ.js → MFPGLZAM.js} +17 -30
- package/dist/calcite/{YCY3FTX6.js → MPN5TXSZ.js} +2 -2
- package/dist/calcite/{2FIGOO3O.js → MVHDSW4I.js} +2 -2
- package/dist/calcite/{DW4R3QQ5.js → MXP7BNJ5.js} +2 -2
- package/dist/calcite/{H7O3UM5V.js → NBSJFAX2.js} +2 -2
- package/dist/calcite/{6QGOJC6G.js → NFDRHUHB.js} +2 -2
- package/dist/calcite/{WZO3N4MR.js → NHAR2GVT.js} +34 -33
- package/dist/calcite/{DE4URQSJ.js → NICT2PNA.js} +8 -8
- package/dist/calcite/{AGWLOFTM.js → NTRRQXAU.js} +2 -2
- package/dist/calcite/{GE7XFA3I.js → O27GAEL5.js} +2 -2
- package/dist/calcite/{OG74GUT3.js → ODRPOMSE.js} +2 -2
- package/dist/calcite/{IZ7QN6ZO.js → ONAYJB4B.js} +2 -2
- package/dist/calcite/{DWAS5IQD.js → ORQYR7CS.js} +2 -2
- package/dist/calcite/{WOXZKN5Y.js → OUBLHJEO.js} +1 -1
- package/dist/calcite/{NHH3ZWKG.js → OXJ4ACCW.js} +13 -13
- package/dist/calcite/P4FN4OQD.js +586 -0
- package/dist/calcite/{UWTGSUGU.js → P5FSM62P.js} +9 -9
- package/dist/calcite/{7GNCKGJF.js → P6R3PA2E.js} +11 -11
- package/dist/calcite/{ZTH4WHKO.js → PB2FKXPH.js} +2 -2
- package/dist/calcite/{3KSRMHBO.js → PXVUKFOH.js} +2 -2
- package/dist/calcite/{3DXJSM64.js → QEY6DFJM.js} +1 -1
- package/dist/calcite/{7RWD6J54.js → QFCLONQ2.js} +10 -10
- package/dist/calcite/{WOSAD6UJ.js → QNCPIPGO.js} +2 -2
- package/dist/calcite/{HEG64QHY.js → QWDSXHMI.js} +9 -9
- package/dist/calcite/{HZNXZKWU.js → R636PA7S.js} +16 -16
- package/dist/calcite/{K5MQIMLV.js → RBZNAP66.js} +7 -7
- package/dist/calcite/{N6YTOMKT.js → RCRITTRI.js} +2 -2
- package/dist/calcite/{VDSXXRPW.js → RKPILFCT.js} +2 -2
- package/dist/calcite/{TKDW2RB5.js → RXWM4CFP.js} +2 -2
- package/dist/calcite/{YL2UOJHD.js → S4A4SKQG.js} +2 -2
- package/dist/calcite/{T3O7TL2Z.js → SH3ZRKBN.js} +2 -2
- package/dist/calcite/{5UCZGA37.js → SIROZ7KT.js} +1 -1
- package/dist/calcite/{L22XS24G.js → SN64D2A6.js} +7 -7
- package/dist/calcite/{CEDK6SQ5.js → SRK2434L.js} +2 -2
- package/dist/calcite/{2UHPKPDW.js → SSO7XXE2.js} +13 -13
- package/dist/calcite/{HSAM5FI6.js → T3OOLX72.js} +2 -2
- package/dist/calcite/T7KXMVEG.js +6 -0
- package/dist/calcite/{ZA7V4BTB.js → TJT6BVZQ.js} +8 -8
- package/dist/calcite/{VPDLOE22.js → TTFABW2Y.js} +2 -2
- package/dist/calcite/{7C6UHXVW.js → UBODTN7H.js} +7 -7
- package/dist/calcite/{USQOR5OL.js → UF4AD4L6.js} +10 -10
- package/dist/calcite/{FFPI2OMB.js → UHCWN6ZC.js} +2 -2
- package/dist/calcite/{ETP2S4CU.js → UKJDBPHM.js} +11 -11
- package/dist/calcite/{EQGPJFMK.js → UPDGINN5.js} +10 -10
- package/dist/calcite/{GTOYVFKQ.js → URZRF7HD.js} +10 -10
- package/dist/calcite/{PHBOSHSX.js → VCZI5AXM.js} +8 -8
- package/dist/calcite/{7XP4PTCZ.js → VEXVRBMG.js} +8 -8
- package/dist/calcite/{2VEZJY6K.js → VFSPUG6Q.js} +1 -1
- package/dist/calcite/{2SFPO65I.js → VGXABRTP.js} +2 -2
- package/dist/calcite/{VJLTUTPW.js → VPN42DUY.js} +7 -7
- package/dist/calcite/{XMTPMEXU.js → VS4VK5VD.js} +7 -7
- package/dist/calcite/{ZOC2SHLA.js → VSIVRFMU.js} +7 -7
- package/dist/calcite/{5BZVGFHH.js → VSP7O3BZ.js} +2 -2
- package/dist/calcite/{6ETYS45D.js → VUD466SS.js} +1 -1
- package/dist/calcite/{HL6WQF5D.js → VZNS4HYX.js} +7 -7
- package/dist/calcite/{WTTMN34R.js → W4IRMLND.js} +10 -10
- package/dist/calcite/{Z5TEQGUL.js → W5QDVA5L.js} +2 -2
- package/dist/calcite/{GK2VLRHM.js → WCFKS3WT.js} +9 -9
- package/dist/calcite/{GWYUURQK.js → WH377R3W.js} +2 -2
- package/dist/calcite/{KZBQDY5O.js → WHGPCCMN.js} +2 -2
- package/dist/calcite/{YDCGBVOP.js → WOV6DCIX.js} +2 -2
- package/dist/calcite/{CX7DAZNQ.js → WRJ6MPO2.js} +9 -9
- package/dist/calcite/{I3G4JXSV.js → WT5HVQI7.js} +8 -8
- package/dist/calcite/{EKH6SDIJ.js → X7PEDDYT.js} +2 -2
- package/dist/calcite/{VG3LFHN5.js → XGGOWMIY.js} +8 -8
- package/dist/calcite/{DBTH3GF7.js → XIDCQJ4Z.js} +2 -2
- package/dist/calcite/{ZWIZZ77U.js → XIMPXQJ7.js} +13 -13
- package/dist/calcite/{BCLH3BOE.js → XRVE7V3U.js} +2 -2
- package/dist/calcite/{DUCOQ4J5.js → XSGKQKFD.js} +2 -2
- package/dist/calcite/{EPG6YOGF.js → Y4FYXKIG.js} +2 -2
- package/dist/calcite/{UWWPEBUH.js → Y7OZR3CP.js} +2 -2
- package/dist/calcite/{RPQTLSQV.js → YGML4RXC.js} +2 -2
- package/dist/calcite/{OG6Q6MPU.js → YIMMLNB3.js} +9 -9
- package/dist/calcite/{XQ4CB4NN.js → YJ3VW53G.js} +2 -2
- package/dist/calcite/{JFDFYOER.js → YLH7XSTP.js} +7 -7
- package/dist/calcite/{ZMGJFMDM.js → YQOHYXC2.js} +7 -7
- package/dist/calcite/{7H2DNRY6.js → Z2CMCSF5.js} +7 -7
- package/dist/calcite/{4MJB5QER.js → Z3EZZJ22.js} +1 -1
- package/dist/calcite/{OLZSWUR3.js → Z4C4LQGH.js} +10 -10
- package/dist/calcite/{L6HZ6WPM.js → Z6K3MZAU.js} +2 -2
- package/dist/calcite/{5OTUPS5U.js → ZCH6N2NK.js} +8 -8
- package/dist/calcite/{LTORSD7W.js → ZEF72ZJP.js} +1 -1
- package/dist/calcite/{JB2UXRES.js → ZEGAIK5V.js} +2 -2
- package/dist/calcite/{JWUVOQM3.js → ZIEF3FXK.js} +7 -7
- package/dist/calcite/{VCF7FR6O.js → ZORGEM2M.js} +2 -2
- package/dist/calcite/{C7XJUDE7.js → ZSXRJ5XY.js} +15 -15
- package/dist/calcite/{GWF43SY4.js → ZY7LOCU2.js} +2 -2
- package/dist/calcite/assets/input-time-zone/t9n/input-time-zone.t9n.en.json +1 -1
- package/dist/calcite/assets/input-time-zone/t9n/messages.json +1 -1
- package/dist/calcite/calcite.css +13 -13
- package/dist/calcite/calcite.esm.js +15 -15
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/FloatingArrow.js +1 -1
- package/dist/chunks/Heading.js +1 -1
- package/dist/chunks/Validation.js +1 -1
- package/dist/chunks/array.js +1 -1
- package/dist/chunks/component.js +1 -1
- package/dist/chunks/core.js +1 -1
- package/dist/chunks/date.js +1 -1
- package/dist/chunks/dom.js +1 -1
- package/dist/chunks/filter.js +1 -1
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/focusTrapComponent.js +1 -1
- package/dist/chunks/form.js +1 -1
- package/dist/chunks/global.js +1 -1
- package/dist/chunks/guid.js +1 -1
- package/dist/chunks/input.js +1 -1
- package/dist/chunks/interactive.js +1 -1
- package/dist/chunks/key.js +1 -1
- package/dist/chunks/label.js +1 -1
- package/dist/chunks/loadable.js +1 -1
- package/dist/chunks/locale.js +1 -1
- package/dist/chunks/logger.js +1 -1
- package/dist/chunks/math.js +1 -1
- package/dist/chunks/observers.js +1 -1
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources2.js +1 -1
- package/dist/chunks/resources3.js +1 -1
- package/dist/chunks/resources4.js +1 -1
- package/dist/chunks/resources5.js +1 -1
- package/dist/chunks/resources6.js +1 -1
- package/dist/chunks/resources7.js +1 -1
- package/dist/chunks/responsive.js +1 -1
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/sortableComponent.js +1 -1
- package/dist/chunks/time.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/utils3.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-accordion/customElement.js +6 -6
- package/dist/components/calcite-accordion-item/customElement.js +6 -6
- package/dist/components/calcite-action/customElement.js +6 -6
- package/dist/components/calcite-action-bar/customElement.js +6 -6
- package/dist/components/calcite-action-group/customElement.js +6 -6
- package/dist/components/calcite-action-menu/customElement.js +6 -6
- package/dist/components/calcite-action-pad/customElement.js +6 -6
- package/dist/components/calcite-alert/customElement.js +6 -6
- package/dist/components/calcite-avatar/customElement.js +6 -6
- package/dist/components/calcite-block/customElement.d.ts +6 -1
- package/dist/components/calcite-block/customElement.js +10 -9
- package/dist/components/calcite-block-section/customElement.js +6 -6
- package/dist/components/calcite-button/customElement.js +6 -6
- package/dist/components/calcite-card/customElement.js +6 -6
- package/dist/components/calcite-card-group/customElement.js +6 -6
- package/dist/components/calcite-carousel/customElement.js +6 -6
- package/dist/components/calcite-carousel-item/customElement.js +6 -6
- package/dist/components/calcite-checkbox/customElement.d.ts +0 -6
- package/dist/components/calcite-checkbox/customElement.js +7 -9
- package/dist/components/calcite-chip/customElement.js +6 -6
- package/dist/components/calcite-chip-group/customElement.js +6 -6
- package/dist/components/calcite-color-picker/customElement.js +6 -6
- package/dist/components/calcite-color-picker-hex-input/customElement.js +6 -6
- package/dist/components/calcite-color-picker-swatch/customElement.js +6 -6
- package/dist/components/calcite-combobox/customElement.js +18 -13
- package/dist/components/calcite-combobox/interfaces.d.ts +6 -4
- package/dist/components/calcite-combobox-item/customElement.js +6 -6
- package/dist/components/calcite-combobox-item-group/customElement.js +6 -6
- package/dist/components/calcite-date-picker/customElement.js +6 -6
- package/dist/components/calcite-date-picker-day/customElement.js +6 -6
- package/dist/components/calcite-date-picker-month/customElement.js +6 -6
- package/dist/components/calcite-date-picker-month-header/customElement.js +6 -6
- package/dist/components/calcite-dialog/customElement.js +6 -6
- package/dist/components/calcite-dropdown/customElement.js +6 -7
- package/dist/components/calcite-dropdown-group/customElement.js +6 -6
- package/dist/components/calcite-dropdown-item/customElement.js +6 -6
- package/dist/components/calcite-fab/customElement.js +6 -6
- package/dist/components/calcite-filter/customElement.js +6 -6
- package/dist/components/calcite-flow/customElement.js +6 -6
- package/dist/components/calcite-flow-item/customElement.js +6 -6
- package/dist/components/calcite-graph/customElement.js +6 -6
- package/dist/components/calcite-handle/customElement.js +6 -6
- package/dist/components/calcite-icon/customElement.js +6 -6
- package/dist/components/calcite-inline-editable/customElement.js +6 -6
- package/dist/components/calcite-input/customElement.js +6 -6
- package/dist/components/calcite-input-date-picker/customElement.js +6 -7
- package/dist/components/calcite-input-message/customElement.js +6 -6
- package/dist/components/calcite-input-number/customElement.js +6 -6
- package/dist/components/calcite-input-text/customElement.js +6 -6
- package/dist/components/calcite-input-time-picker/customElement.js +6 -7
- package/dist/components/calcite-input-time-zone/customElement.d.ts +0 -266
- package/dist/components/calcite-input-time-zone/customElement.js +6 -6
- package/dist/components/calcite-label/customElement.js +6 -6
- package/dist/components/calcite-link/customElement.js +6 -6
- package/dist/components/calcite-list/customElement.js +18 -13
- package/dist/components/calcite-list-item/customElement.js +6 -6
- package/dist/components/calcite-list-item-group/customElement.js +6 -6
- package/dist/components/calcite-loader/customElement.js +6 -6
- package/dist/components/calcite-menu/customElement.js +6 -6
- package/dist/components/calcite-menu-item/customElement.js +6 -6
- package/dist/components/calcite-meter/customElement.js +6 -6
- package/dist/components/calcite-modal/customElement.js +19 -30
- package/dist/components/calcite-navigation/customElement.js +6 -6
- package/dist/components/calcite-navigation-logo/customElement.js +6 -6
- package/dist/components/calcite-navigation-user/customElement.js +6 -6
- package/dist/components/calcite-notice/customElement.js +6 -6
- package/dist/components/calcite-option/customElement.js +6 -6
- package/dist/components/calcite-option-group/customElement.js +6 -6
- package/dist/components/calcite-pagination/customElement.js +6 -6
- package/dist/components/calcite-panel/customElement.js +6 -6
- package/dist/components/calcite-popover/customElement.js +6 -6
- package/dist/components/calcite-progress/customElement.js +6 -6
- package/dist/components/calcite-radio-button/customElement.js +6 -6
- package/dist/components/calcite-radio-button-group/customElement.js +6 -6
- package/dist/components/calcite-rating/customElement.js +6 -6
- package/dist/components/calcite-scrim/customElement.js +6 -6
- package/dist/components/calcite-segmented-control/customElement.js +6 -6
- package/dist/components/calcite-segmented-control-item/customElement.js +6 -6
- package/dist/components/calcite-select/customElement.js +6 -6
- package/dist/components/calcite-sheet/customElement.js +6 -6
- package/dist/components/calcite-shell/customElement.js +10 -11
- package/dist/components/calcite-shell-center-row/customElement.js +6 -6
- package/dist/components/calcite-shell-panel/customElement.js +6 -6
- package/dist/components/calcite-slider/customElement.js +41 -24
- package/dist/components/calcite-sort-handle/customElement.js +6 -6
- package/dist/components/calcite-sortable-list/customElement.js +6 -6
- package/dist/components/calcite-split-button/customElement.d.ts +0 -1
- package/dist/components/calcite-split-button/customElement.js +7 -19
- package/dist/components/calcite-stack/customElement.js +6 -6
- package/dist/components/calcite-stepper/customElement.js +6 -6
- package/dist/components/calcite-stepper-item/customElement.js +6 -6
- package/dist/components/calcite-switch/customElement.js +6 -6
- package/dist/components/calcite-tab/customElement.js +6 -6
- package/dist/components/calcite-tab-nav/customElement.js +6 -6
- package/dist/components/calcite-tab-title/customElement.js +6 -6
- package/dist/components/calcite-table/customElement.d.ts +0 -6
- package/dist/components/calcite-table/customElement.js +8 -9
- package/dist/components/calcite-table-cell/customElement.js +6 -6
- package/dist/components/calcite-table-header/customElement.js +6 -6
- package/dist/components/calcite-table-row/customElement.js +6 -6
- package/dist/components/calcite-tabs/customElement.js +6 -6
- package/dist/components/calcite-text-area/customElement.js +6 -6
- package/dist/components/calcite-tile/customElement.js +6 -6
- package/dist/components/calcite-tile-group/customElement.js +6 -6
- package/dist/components/calcite-tile-select/customElement.js +6 -6
- package/dist/components/calcite-tile-select-group/customElement.js +6 -6
- package/dist/components/calcite-time-picker/customElement.js +6 -6
- package/dist/components/calcite-tip/customElement.js +6 -6
- package/dist/components/calcite-tip-group/customElement.js +6 -6
- package/dist/components/calcite-tip-manager/customElement.js +6 -6
- package/dist/components/calcite-tooltip/customElement.js +6 -6
- package/dist/components/calcite-tree/customElement.js +6 -6
- package/dist/components/calcite-tree-item/customElement.js +6 -6
- package/dist/custom-theme/slider.d.ts +12 -0
- package/dist/docs/api.json +78 -71
- package/dist/docs/docs.json +87 -60
- package/dist/docs/vscode.css-custom-data.json +40 -0
- package/dist/docs/vscode.html-custom-data.json +6 -11
- package/dist/docs/web-types.json +56 -29
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/react.d.ts +3 -3
- package/dist/types/stencil.d.ts +3 -3
- package/package.json +3 -2
- package/dist/calcite/BCDSPHW5.js +0 -586
- package/dist/calcite/HAHHXZYT.js +0 -6
- package/dist/calcite/VW2P5WTW.js +0 -196
- package/dist/calcite/ZNXYG4FW.js +0 -180
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import{a as O}from"./
|
|
6
|
+
import{a as O}from"./MVHDSW4I.js";import{c as F,e as D,h as N}from"./6JERFQQK.js";import{c as T,d as E}from"./7PGMT2Z6.js";import{a as C,b as I}from"./TTFABW2Y.js";import"./QEY6DFJM.js";import{a as M}from"./HPE226NT.js";import{t as w}from"./MPN5TXSZ.js";import{a as x,b as V,d as L}from"./NBSJFAX2.js";import{a as k}from"./4ZILJXOF.js";import{A as h,B as f,C as o,E as y,M as $,a as s,v as m,w as v,x as g,z as b}from"./GUUQ6C6Y.js";import"./BYKECJC3.js";var z=({full:p,scale:e,partial:t})=>s`<calcite-icon
|
|
7
7
|
class=${h(t?void 0:"icon")}
|
|
8
8
|
.icon=${p?"star-f":"star"}
|
|
9
9
|
.scale=${e}></calcite-icon>`,P={validationMessage:"validationMessage"},G=m`/**
|
|
10
10
|
* Do not edit directly
|
|
11
|
-
* Generated on
|
|
11
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
12
12
|
*/
|
|
13
13
|
/**
|
|
14
14
|
* Do not edit directly
|
|
15
|
-
* Generated on
|
|
15
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
16
16
|
*/
|
|
17
17
|
/**
|
|
18
18
|
* Do not edit directly
|
|
19
|
-
* Generated on
|
|
19
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
20
20
|
*/
|
|
21
21
|
/**
|
|
22
22
|
* Do not edit directly
|
|
23
|
-
* Generated on
|
|
23
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
24
24
|
*/
|
|
25
25
|
/**
|
|
26
26
|
* Do not edit directly
|
|
27
|
-
* Generated on
|
|
27
|
+
* Generated on Wed, 20 Nov 2024 00:35:09 GMT
|
|
28
28
|
*/
|
|
29
29
|
/* mixins & extensions */
|
|
30
30
|
/* helper to properly scale internal durations */
|
|
@@ -201,7 +201,7 @@ calcite-chip {
|
|
|
201
201
|
|
|
202
202
|
[hidden] {
|
|
203
203
|
display: none;
|
|
204
|
-
}`,u=class extends b{constructor(){super(),this.emit=!1,this.guid=`calcite-ratings-${k()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this._value=0,this.disabled=!1,this.messages=
|
|
204
|
+
}`,u=class extends b{constructor(){super(),this.emit=!1,this.guid=`calcite-ratings-${k()}`,this.isKeyboardInteraction=!0,this.labelElements=[],this.max=5,this._value=0,this.disabled=!1,this.messages=M({blocking:!0}),this.readOnly=!1,this.required=!1,this.scale="m",this.showChip=!1,this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteRatingChange=g({cancelable:!1}),this.listen("keydown",this.handleHostKeyDown),this.listen("pointerout",this.handleRatingPointerOut),this.listen("pointerover",this.handleRatingPointerOver)}static{this.properties={hoverValue:[16,{state:!0}],average:[11,{reflect:!0,type:Number}],count:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],form:[3,{reflect:!0}],messageOverrides:[0,{attribute:!1}],name:[3,{reflect:!0}],readOnly:[7,{reflect:!0,type:Boolean}],required:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],showChip:[7,{reflect:!0,type:Boolean}],status:[3,{reflect:!0}],validationIcon:[3,{reflect:!0,converter:y}],validationMessage:1,validity:[0,{attribute:!1}],value:[11,{reflect:!0,type:Number}]}}static{this.styles=G}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.hasUpdated&&this.handleValueUpdate(e))}async setFocus(){await L(this),w(this.el)}connectedCallback(){super.connectedCallback(),T(this),F(this)}async load(){x(this),this.requestUpdate("value")}willUpdate(){this.starsMap=Array.from({length:this.max},(e,t)=>{let a=t+1,i=!this.hoverValue&&this.average&&!this.value&&a<=this.average,c=a===this.value,n=this.average&&this.average+1-a,l=a<=this.hoverValue,r=`${this.guid}-${a}`,d=!this.hoverValue&&!this.value&&!l&&n>0&&n<1,R=this.value>=a,S=this.getTabIndex(a);return{average:i,checked:c,fraction:n,hovered:l,id:r,partial:d,selected:R,value:a,tabIndex:S}})}updated(){C(this)}loaded(){this.labelElements=Array.from(this.renderRoot.querySelectorAll("label")),V(this)}disconnectedCallback(){super.disconnectedCallback(),E(this),D(this)}handleValueUpdate(e){this.hoverValue=e,this.emit&&this.calciteRatingChange.emit(),this.emit=!1}onLabelClick(){this.setFocus()}handleRatingPointerOver(){this.isKeyboardInteraction=!1}handleRatingPointerOut(){this.isKeyboardInteraction=!0,this.hoverValue=null}handleHostKeyDown(){this.isKeyboardInteraction=!0}handleLabelKeyDown(e){let t=this.getValueFromLabelEvent(e),a=e.key,i=a==" "?void 0:Number(a);if(this.emit=!0,isNaN(i))switch(a){case"Enter":case" ":this.value=!this.required&&this.value===t?0:t;break;case"ArrowLeft":this.value=this.getPreviousRatingValue(t),this.updateFocus(),e.preventDefault();break;case"ArrowRight":this.value=this.getNextRatingValue(t),this.updateFocus(),e.preventDefault();break;case"Tab":this.hoverValue=null;break}else!this.required&&i>=0&&i<=this.max?this.value=i:this.required&&i>0&&i<=this.max&&(this.value=i),this.updateFocus()}handleInputChange(e){if(this.isKeyboardInteraction===!0){let t=Number(e.target.value);this.hoverValue=t,this.value=t}}handleLabelPointerOver(e){this.hoverValue=this.getValueFromLabelEvent(e)}handleLabelPointerDown(e){let t=e.currentTarget,a=this.getValueFromLabelEvent(e);this.hoverValue=a,this.emit=!0,this.value=!this.required&&this.value===a?0:a,t.focus()}handleLabelClick(e){e.preventDefault()}handleLabelFocus(e){let t=this.getValueFromLabelEvent(e);this.hoverValue=t}updateFocus(){this.hoverValue=this.value,this.labelElements[this.value-1].focus()}getTabIndex(e){return this.readOnly||this.value!==e&&(this.value||e!==1)?-1:0}getValueFromLabelEvent(e){let t=e.currentTarget;return Number(t.getAttribute("data-value"))}getNextRatingValue(e){return e===5?1:e+1}getPreviousRatingValue(e){return e===1?5:e-1}render(){return I({disabled:this.disabled,children:s`
|
|
205
205
|
<span class="wrapper">
|
|
206
206
|
<fieldset class="fieldset" .disabled=${this.disabled}>
|
|
207
207
|
<legend class="visually-hidden">${this.messages.rating}</legend>
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import{a as s}from"./
|
|
6
|
+
import{a as s}from"./HFUQKD5O.js";import{A as r,M as a,a as i,v as o,x as c,z as n}from"./GUUQ6C6Y.js";import"./BYKECJC3.js";var l={accordion:"accordion",transparent:"accordion--transparent"},d=o`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Wed, 20 Nov 2024 00:35:09 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|
|
@@ -87,7 +87,7 @@ import{a as s}from"./YYMAH5K3.js";import{A as r,M as a,a as o,v as i,x as c,z as
|
|
|
87
87
|
|
|
88
88
|
[hidden] {
|
|
89
89
|
display: none;
|
|
90
|
-
}`,t=class extends n{constructor(){super(),this.mutationObserver=s("mutation",()=>this.updateAccordionItems()),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple",this.calciteInternalAccordionChange=c({cancelable:!1}),this.listen("calciteInternalAccordionItemSelect",this.updateActiveItemOnChange)}static{this.properties={appearance:[3,{reflect:!0}],iconPosition:[3,{reflect:!0}],iconType:[3,{reflect:!0}],scale:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}]}}static{this.styles=d}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateAccordionItems()}willUpdate(e){(e.has("iconPosition")&&(this.hasUpdated||this.iconPosition!=="end")||e.has("iconType")&&(this.hasUpdated||this.iconType!=="chevron")||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="multiple"))&&this.updateAccordionItems()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}updateActiveItemOnChange(e){this.calciteInternalAccordionChange.emit({requestedAccordionItem:e.detail.requestedAccordionItem}),e.stopPropagation()}updateAccordionItems(){this.el.querySelectorAll("calcite-accordion-item").forEach(e=>{e.iconPosition=this.iconPosition,e.iconType=this.iconType,e.scale=this.scale}),document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"))}render(){let e=this.appearance==="transparent";return
|
|
90
|
+
}`,t=class extends n{constructor(){super(),this.mutationObserver=s("mutation",()=>this.updateAccordionItems()),this.appearance="solid",this.iconPosition="end",this.iconType="chevron",this.scale="m",this.selectionMode="multiple",this.calciteInternalAccordionChange=c({cancelable:!1}),this.listen("calciteInternalAccordionItemSelect",this.updateActiveItemOnChange)}static{this.properties={appearance:[3,{reflect:!0}],iconPosition:[3,{reflect:!0}],iconType:[3,{reflect:!0}],scale:[3,{reflect:!0}],selectionMode:[3,{reflect:!0}]}}static{this.styles=d}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0}),this.updateAccordionItems()}willUpdate(e){(e.has("iconPosition")&&(this.hasUpdated||this.iconPosition!=="end")||e.has("iconType")&&(this.hasUpdated||this.iconType!=="chevron")||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="multiple"))&&this.updateAccordionItems()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}updateActiveItemOnChange(e){this.calciteInternalAccordionChange.emit({requestedAccordionItem:e.detail.requestedAccordionItem}),e.stopPropagation()}updateAccordionItems(){this.el.querySelectorAll("calcite-accordion-item").forEach(e=>{e.iconPosition=this.iconPosition,e.iconType=this.iconType,e.scale=this.scale}),document.dispatchEvent(new CustomEvent("calciteInternalAccordionItemsSync"))}render(){let e=this.appearance==="transparent";return i`<div
|
|
91
91
|
class=${r({[l.transparent]:e,[l.accordion]:!e})}>
|
|
92
92
|
<slot></slot>
|
|
93
93
|
</div>`}};a("calcite-accordion",t);export{t as Accordion};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import{a as n,b as m,c}from"./
|
|
6
|
+
import{a as n,b as m,c}from"./PXVUKFOH.js";import{a as l}from"./YJ3VW53G.js";import{A as i}from"./GUUQ6C6Y.js";function f(e){return Math.min(Math.max(Math.ceil(e),1),6)}var h=({children:e,...a})=>{let t=a.level?n(`h${a.level}`):m`div`;return l(a.key,c`<${t} class=${i(a.class)}>
|
|
7
7
|
${e}
|
|
8
8
|
</${t}>`)};export{f as a,h as b};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import{b as t}from"./
|
|
6
|
+
import{b as t}from"./6I6Q2TH5.js";import"./ECXGFIHX.js";import"./BYKECJC3.js";var Y={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e,r){switch(r){case"W":return e+"\u5468";default:return e+"\u65E5"}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(e,r){var _=e*100+r;return _<600?"\u51CC\u6668":_<900?"\u65E9\u4E0A":_<1100?"\u4E0A\u5348":_<1300?"\u4E2D\u5348":_<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};t.locale(Y,null,!0);var m=Y;export{m as default};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import{a as k,b as v,j as
|
|
6
|
+
import{a as k,b as v,j as o,m as H,n as I,q as b}from"./56S6YXZX.js";import"./FSN4VVSF.js";import{a as z}from"./YJ3VW53G.js";import"./OUBLHJEO.js";import"./HFUQKD5O.js";import{b as A}from"./XIDCQJ4Z.js";import"./MPN5TXSZ.js";import"./4ZILJXOF.js";import{A as u,M as R,a as g,v as x,x as y,z as $}from"./GUUQ6C6Y.js";import"./BYKECJC3.js";var D={calendar:"calendar",calendarContainer:"calendar-container",calendarStart:"calendar--start",currentDay:"current-day",dayContainer:"day-container",insideRangeHover:"inside-range--hover",month:"month",noncurrent:"noncurrent",outsideRangeHover:"outside-range--hover",weekDays:"week-days",weekHeader:"week-header",weekHeaderContainer:"week-header-container"},E=x`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Wed, 20 Nov 2024 00:35:09 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|
|
@@ -148,24 +148,24 @@ import{a as k,b as v,j as c,m as H,n as I,q as M}from"./YE2XYD2L.js";import"./UT
|
|
|
148
148
|
.noncurrent {
|
|
149
149
|
pointer-events: none;
|
|
150
150
|
opacity: 0;
|
|
151
|
-
}`,m=7,
|
|
152
|
-
${this.renderCalendar(
|
|
153
|
-
${this.range&&this.renderCalendar(
|
|
154
|
-
</div>`}renderDateDay({active:e,currentMonth:a,currentDay:t,date:s,day:i,dayInWeek:n,ref:r},
|
|
151
|
+
}`,m=7,w=6,M=class extends ${constructor(){super(),this.activeDate=new Date,this.range=!1,this.calciteInternalDatePickerDayHover=y({cancelable:!1}),this.calciteInternalDatePickerDaySelect=y({cancelable:!1}),this.calciteInternalDatePickerMonthActiveDateChange=y({cancelable:!1}),this.calciteInternalDatePickerMonthChange=y({cancelable:!1}),this.calciteInternalDatePickerMonthMouseOut=y({cancelable:!1}),this.listen("pointerout",this.pointerOutHandler),this.listen("focusout",this.disableActiveFocus)}static{this.properties={focusedDate:[16,{state:!0}],activeDate:[0,{attribute:!1}],dateTimeFormat:[0,{attribute:!1}],endDate:[0,{attribute:!1}],headingLevel:[11,{type:Number,reflect:!0}],hoverRange:[0,{attribute:!1}],layout:[3,{reflect:!0}],localeData:[0,{attribute:!1}],max:[0,{attribute:!1}],messages:[0,{attribute:!1}],min:[0,{attribute:!1}],monthStyle:1,range:[7,{reflect:!0,type:Boolean}],scale:[3,{reflect:!0}],selectedDate:[0,{attribute:!1}],startDate:[0,{attribute:!1}]}}static{this.styles=E}load(){this.focusedDate=this.selectedDate||this.activeDate}willUpdate(e){e.has("activeDate")&&(this.hasUpdated||this.activeDate!==new Date)&&this.updateFocusedDateWithActive(this.activeDate),e.has("selectedDate")&&(this.focusedDate=this.selectedDate)}updateFocusedDateWithActive(e){this.selectedDate||(this.focusedDate=k(e,this.min,this.max)?e:v(e,this.min,this.max))}keyDownHandler(e){if(e.defaultPrevented)return;let a=this.el.dir==="rtl",t=e.target.value;switch(e.key){case"ArrowUp":e.preventDefault(),this.addDays(-7,t);break;case"ArrowRight":e.preventDefault(),this.addDays(a?-1:1,t);break;case"ArrowDown":e.preventDefault(),this.addDays(7,t);break;case"ArrowLeft":e.preventDefault(),this.addDays(a?1:-1,t);break;case"PageUp":e.preventDefault(),this.addMonths(-1,t);break;case"PageDown":e.preventDefault(),this.addMonths(1,t);break;case"Home":e.preventDefault(),this.activeDate.setDate(1),this.addDays(0,t);break;case"End":e.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays(0,t);break;case"Enter":case" ":e.preventDefault();break;case"Tab":this.activeFocus=!1}}disableActiveFocus(){this.activeFocus=!1}pointerOutHandler(){this.calciteInternalDatePickerMonthMouseOut.emit()}addMonths(e,a){let t=new Date(a);t.setMonth(a.getMonth()+e),this.calciteInternalDatePickerMonthActiveDateChange.emit(v(t,this.min,this.max)),this.focusedDate=v(t,this.min,this.max),this.activeFocus=!0,this.calciteInternalDatePickerDayHover.emit(t)}addDays(e=0,a){let t=new Date(a);t.setDate(a.getDate()+e),this.calciteInternalDatePickerMonthActiveDateChange.emit(v(t,this.min,this.max)),this.focusedDate=v(t,this.min,this.max),this.activeFocus=!0,this.calciteInternalDatePickerDayHover.emit(t)}getPreviousMonthDays(e,a,t){let s=new Date(a,e,0),i=s.getDate(),n=s.getDay(),r=[];if(n===(t+w)%m)return r;if(n===t)return[i];for(let c=(m+n-t)%m;c>=0;c--)r.push(i-c);return r}getCurrentMonthDays(e,a){let t=new Date(a,e+1,0).getDate(),s=[];for(let i=0;i<t;i++)s.push(i+1);return s}getNextMonthDays(e,a,t){let s=new Date(a,e+1,0).getDay(),i=[];if(s===(t+w)%m)return i;for(let n=0;n<(w-(s-t))%m;n++)i.push(n+1);return i}betweenSelectedRange(e){return!!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate&&!this.isRangeHover(e))}isSelected(e){return!!(o(e,this.selectedDate)||this.startDate&&o(e,this.startDate)||this.endDate&&o(e,this.endDate))}isStartOfRange(e){return!!(this.startDate&&!o(this.startDate,this.endDate)&&o(this.startDate,e)&&!this.isEndOfRange(e))}isEndOfRange(e){return!!(this.endDate&&!o(this.startDate,this.endDate)&&o(this.endDate,e)||!this.endDate&&this.hoverRange&&o(this.startDate,this.hoverRange.end)&&o(e,this.hoverRange.end))}dayHover(e){let a=e.target;a.disabled?this.calciteInternalDatePickerMonthMouseOut.emit():this.calciteInternalDatePickerDayHover.emit(a.value),e.stopPropagation()}daySelect(e){let a=e.target;this.activeFocus=!1,this.calciteInternalDatePickerDaySelect.emit(a.value),e.stopPropagation()}isFocusedOnStart(){return this.hoverRange?.focused==="start"}isHoverInRange(){if(!this.hoverRange||!this.startDate)return!1;let{start:e,end:a}=this.hoverRange,t=this.isFocusedOnStart(),s=this.startDate&&a>this.startDate,i=this.endDate&&a<this.endDate,n=this.startDate&&e>this.startDate,r=this.endDate&&e<this.endDate,c=!t&&this.startDate&&s&&(!this.endDate||i),d=t&&this.startDate&&n&&r;return c||d}isRangeHover(e){if(!this.hoverRange)return!1;let{start:a,end:t}=this.hoverRange,s=this.isFocusedOnStart(),i=this.isHoverInRange(),n=e>a&&e<this.startDate,r=e<t&&e>this.endDate,c=e>t&&e<this.endDate,d=e<a&&e>this.startDate,f=e<t&&e>this.startDate,l=e>a&&e<this.endDate,h=this.startDate&&this.endDate;if(i){if(h)return s?e<this.endDate&&(d||n):c||r;if(this.startDate&&!this.endDate)return s?n:f;if(!this.startDate&&this.endDate)return s?l:r}else if(h)return s?n:r}getDays(e,a,t,s="start"){let i=this.activeDate.getMonth(),n=i+1;i=s==="end"?n:i;let r=0,c=()=>r++%7,d=this.activeDate.getFullYear();return[...e.map(l=>({active:!1,day:l,dayInWeek:c(),date:new Date(d,i-1,l)})),...a.map(l=>{let h=new Date(d,i,l),p=o(h,new Date);return{active:this.focusedDate&&this.focusedDate!==this.startDate&&this.focusedDate!==this.endDate?o(h,this.focusedDate):o(h,this.startDate)||o(h,this.endDate),currentMonth:!0,currentDay:p,day:l,dayInWeek:c(),date:h,ref:!0}}),...t.map(l=>({active:!1,day:l,dayInWeek:c(),date:new Date(d,n,l)}))]}monthHeaderSelectChange(e){let a=new Date(e.detail),t=e.target;this.updateFocusableDate(a),e.stopPropagation(),this.calciteInternalDatePickerMonthChange.emit({date:a,position:t.position})}updateFocusableDate(e){!this.selectedDate||!this.range?this.focusedDate=this.getFirstValidDateOfMonth(e):this.selectedDate&&this.range&&(!b(this.startDate,e)||!b(this.endDate,e))&&(this.focusedDate=this.getFirstValidDateOfMonth(e))}getFirstValidDateOfMonth(e){return e.getDate()===1?e:H(e,this.min,this.max)}render(){let e=this.activeDate.getMonth(),a=this.activeDate.getFullYear(),t=this.localeData.weekStart%7,{abbreviated:s,short:i,narrow:n}=this.localeData.days,r=this.scale==="s"?n||i||s:i||s||n,c=[...r.slice(t,7),...r.slice(0,t)],d=this.getCurrentMonthDays(e,a),f=this.getPreviousMonthDays(e,a,t),l=this.getNextMonthDays(e,a,t),h=e+1,p=this.getPreviousMonthDays(h,a,t),S=this.getCurrentMonthDays(h,a),C=this.getNextMonthDays(h,a,t),F=this.getDays(f,d,l),P=this.getDays(p,S,C,"end");return g`<div class=${u({[D.calendarContainer]:!0})} role=grid>
|
|
152
|
+
${this.renderCalendar(c,F)}
|
|
153
|
+
${this.range&&this.renderCalendar(c,P,!0)||""}
|
|
154
|
+
</div>`}renderDateDay({active:e,currentMonth:a,currentDay:t,date:s,day:i,dayInWeek:n,ref:r},c){let d=k(s,this.min,this.max);return z(c,g`<div class=${u({[D.dayContainer]:!0})} role=gridcell>
|
|
155
155
|
<calcite-date-picker-day
|
|
156
156
|
.active=${e}
|
|
157
157
|
class=${u({[D.currentDay]:t,[D.insideRangeHover]:this.isHoverInRange(),[D.outsideRangeHover]:!this.isHoverInRange(),[D.noncurrent]:this.range&&!a})}
|
|
158
158
|
.currentMonth=${a}
|
|
159
159
|
.dateTimeFormat=${this.dateTimeFormat}
|
|
160
160
|
.day=${i}
|
|
161
|
-
.disabled=${!
|
|
161
|
+
.disabled=${!d}
|
|
162
162
|
.endOfRange=${this.isEndOfRange(s)}
|
|
163
163
|
.highlighted=${this.betweenSelectedRange(s)}
|
|
164
164
|
@calciteInternalDayHover=${this.dayHover}
|
|
165
165
|
@calciteInternalDaySelect=${this.daySelect}
|
|
166
|
-
.range=${!!this.startDate&&!!this.endDate&&!
|
|
166
|
+
.range=${!!this.startDate&&!!this.endDate&&!o(this.startDate,this.endDate)}
|
|
167
167
|
.rangeEdge=${n===0?"start":n===6?"end":void 0}
|
|
168
|
-
.rangeHover=${
|
|
168
|
+
.rangeHover=${d&&this.isRangeHover(s)}
|
|
169
169
|
.scale=${this.scale}
|
|
170
170
|
.selected=${this.isSelected(s)}
|
|
171
171
|
.startOfRange=${this.isStartOfRange(s)}
|
|
@@ -197,4 +197,4 @@ import{a as k,b as v,j as c,m as H,n as I,q as M}from"./YE2XYD2L.js";import"./UT
|
|
|
197
197
|
<div class=${u({[D.weekDays]:!0})} role=row>
|
|
198
198
|
${a.map((i,n)=>this.renderDateDay(i,t?50+n:n))}
|
|
199
199
|
</div>
|
|
200
|
-
</div>`}};R("calcite-date-picker-month",
|
|
200
|
+
</div>`}};R("calcite-date-picker-month",M);export{M as DatePickerMonth};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import{b as a}from"./
|
|
6
|
+
import{b as a}from"./6I6Q2TH5.js";import"./ECXGFIHX.js";import"./BYKECJC3.js";var M="\u0441\u0456\u0447\u043D\u044F_\u043B\u044E\u0442\u043E\u0433\u043E_\u0431\u0435\u0440\u0435\u0437\u043D\u044F_\u043A\u0432\u0456\u0442\u043D\u044F_\u0442\u0440\u0430\u0432\u043D\u044F_\u0447\u0435\u0440\u0432\u043D\u044F_\u043B\u0438\u043F\u043D\u044F_\u0441\u0435\u0440\u043F\u043D\u044F_\u0432\u0435\u0440\u0435\u0441\u043D\u044F_\u0436\u043E\u0432\u0442\u043D\u044F_\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434\u0430_\u0433\u0440\u0443\u0434\u043D\u044F".split("_"),m="\u0441\u0456\u0447\u0435\u043D\u044C_\u043B\u044E\u0442\u0438\u0439_\u0431\u0435\u0440\u0435\u0437\u0435\u043D\u044C_\u043A\u0432\u0456\u0442\u0435\u043D\u044C_\u0442\u0440\u0430\u0432\u0435\u043D\u044C_\u0447\u0435\u0440\u0432\u0435\u043D\u044C_\u043B\u0438\u043F\u0435\u043D\u044C_\u0441\u0435\u0440\u043F\u0435\u043D\u044C_\u0432\u0435\u0440\u0435\u0441\u0435\u043D\u044C_\u0436\u043E\u0432\u0442\u0435\u043D\u044C_\u043B\u0438\u0441\u0442\u043E\u043F\u0430\u0434_\u0433\u0440\u0443\u0434\u0435\u043D\u044C".split("_"),n=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function d(e,_){var r=e.split("_");return _%10===1&&_%100!==11?r[0]:_%10>=2&&_%10<=4&&(_%100<10||_%100>=20)?r[1]:r[2]}function t(e,_,r){var o={ss:_?"\u0441\u0435\u043A\u0443\u043D\u0434\u0430_\u0441\u0435\u043A\u0443\u043D\u0434\u0438_\u0441\u0435\u043A\u0443\u043D\u0434":"\u0441\u0435\u043A\u0443\u043D\u0434\u0443_\u0441\u0435\u043A\u0443\u043D\u0434\u0438_\u0441\u0435\u043A\u0443\u043D\u0434",mm:_?"\u0445\u0432\u0438\u043B\u0438\u043D\u0430_\u0445\u0432\u0438\u043B\u0438\u043D\u0438_\u0445\u0432\u0438\u043B\u0438\u043D":"\u0445\u0432\u0438\u043B\u0438\u043D\u0443_\u0445\u0432\u0438\u043B\u0438\u043D\u0438_\u0445\u0432\u0438\u043B\u0438\u043D",hh:_?"\u0433\u043E\u0434\u0438\u043D\u0430_\u0433\u043E\u0434\u0438\u043D\u0438_\u0433\u043E\u0434\u0438\u043D":"\u0433\u043E\u0434\u0438\u043D\u0443_\u0433\u043E\u0434\u0438\u043D\u0438_\u0433\u043E\u0434\u0438\u043D",dd:"\u0434\u0435\u043D\u044C_\u0434\u043D\u0456_\u0434\u043D\u0456\u0432",MM:"\u043C\u0456\u0441\u044F\u0446\u044C_\u043C\u0456\u0441\u044F\u0446\u0456_\u043C\u0456\u0441\u044F\u0446\u0456\u0432",yy:"\u0440\u0456\u043A_\u0440\u043E\u043A\u0438_\u0440\u043E\u043A\u0456\u0432"};return r==="m"?_?"\u0445\u0432\u0438\u043B\u0438\u043D\u0430":"\u0445\u0432\u0438\u043B\u0438\u043D\u0443":r==="h"?_?"\u0433\u043E\u0434\u0438\u043D\u0430":"\u0433\u043E\u0434\u0438\u043D\u0443":e+" "+d(o[r],+e)}var s=function(_,r){return n.test(r)?M[_.month()]:m[_.month()]};s.s=m;s.f=M;var l={name:"uk",weekdays:"\u043D\u0435\u0434\u0456\u043B\u044F_\u043F\u043E\u043D\u0435\u0434\u0456\u043B\u043E\u043A_\u0432\u0456\u0432\u0442\u043E\u0440\u043E\u043A_\u0441\u0435\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440_\u043F\u2019\u044F\u0442\u043D\u0438\u0446\u044F_\u0441\u0443\u0431\u043E\u0442\u0430".split("_"),weekdaysShort:"\u043D\u0434\u043B_\u043F\u043D\u0434_\u0432\u0442\u0440_\u0441\u0440\u0434_\u0447\u0442\u0432_\u043F\u0442\u043D_\u0441\u0431\u0442".split("_"),weekdaysMin:"\u043D\u0434_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),months:s,monthsShort:"\u0441\u0456\u0447_\u043B\u044E\u0442_\u0431\u0435\u0440_\u043A\u0432\u0456\u0442_\u0442\u0440\u0430\u0432_\u0447\u0435\u0440\u0432_\u043B\u0438\u043F_\u0441\u0435\u0440\u043F_\u0432\u0435\u0440_\u0436\u043E\u0432\u0442_\u043B\u0438\u0441\u0442_\u0433\u0440\u0443\u0434".split("_"),weekStart:1,relativeTime:{future:"\u0437\u0430 %s",past:"%s \u0442\u043E\u043C\u0443",s:"\u0434\u0435\u043A\u0456\u043B\u044C\u043A\u0430 \u0441\u0435\u043A\u0443\u043D\u0434",m:t,mm:t,h:t,hh:t,d:"\u0434\u0435\u043D\u044C",dd:t,M:"\u043C\u0456\u0441\u044F\u0446\u044C",MM:t,y:"\u0440\u0456\u043A",yy:t},ordinal:function(_){return _},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0440.",LLL:"D MMMM YYYY \u0440., HH:mm",LLLL:"dddd, D MMMM YYYY \u0440., HH:mm"}};a.locale(l,null,!0);var i=l;export{i as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import{a as E,b as W,c as X,d as T,e as j,f as Z,r as _}from"./YCY3FTX6.js";import{H as Q}from"./GQIO3QDL.js";function se(i,a,u){return(a=fe(a))in i?Object.defineProperty(i,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[a]=u,i}function ee(i,a){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(i);a&&(o=o.filter(function(b){return Object.getOwnPropertyDescriptor(i,b).enumerable})),u.push.apply(u,o)}return u}function te(i){for(var a=1;a<arguments.length;a++){var u=arguments[a]!=null?arguments[a]:{};a%2?ee(Object(u),!0).forEach(function(o){se(i,o,u[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):ee(Object(u)).forEach(function(o){Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(u,o))})}return i}function ce(i,a){if(typeof i!="object"||!i)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var o=u.call(i,a||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}function fe(i){var a=ce(i,"string");return typeof a=="symbol"?a:a+""}var ae={activateTrap:function(a,u){if(a.length>0){var o=a[a.length-1];o!==u&&o.pause()}var b=a.indexOf(u);b===-1||a.splice(b,1),a.push(u)},deactivateTrap:function(a,u){var o=a.indexOf(u);o!==-1&&a.splice(o,1),a.length>0&&a[a.length-1].unpause()}},le=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},de=function(a){return a?.key==="Escape"||a?.key==="Esc"||a?.keyCode===27},B=function(a){return a?.key==="Tab"||a?.keyCode===9},ve=function(a){return B(a)&&!a.shiftKey},be=function(a){return B(a)&&a.shiftKey},ne=function(a){return setTimeout(a,0)},re=function(a,u){var o=-1;return a.every(function(b,s){return u(b)?(o=s,!1):!0}),o},L=function(a){for(var u=arguments.length,o=new Array(u>1?u-1:0),b=1;b<u;b++)o[b-1]=arguments[b];return typeof a=="function"?a.apply(void 0,o):a},A=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},pe=[],oe=function(a,u){var o=u?.document||document,b=u?.trapStack||pe,s=te({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ve,isKeyBackward:be},u),n={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},y,h=function(e,t,r){return e&&e[t]!==void 0?e[t]:s[r||t]},N=function(e,t){var r=typeof t?.composedPath=="function"?t.composedPath():void 0;return n.containerGroups.findIndex(function(c){var f=c.container,d=c.tabbableNodes;return f.contains(e)||r?.includes(f)||d.find(function(v){return v===e})})},k=function(e){var t=s[e];if(typeof t=="function"){for(var r=arguments.length,c=new Array(r>1?r-1:0),f=1;f<r;f++)c[f-1]=arguments[f];t=t.apply(void 0,c)}if(t===!0&&(t=void 0),!t){if(t===void 0||t===!1)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var d=t;if(typeof t=="string"&&(d=o.querySelector(t),!d))throw new Error("`".concat(e,"` as selector refers to no known node"));return d},D=function(){var e=k("initialFocus");if(e===!1)return!1;if(e===void 0||!j(e,s.tabbableOptions))if(N(o.activeElement)>=0)e=o.activeElement;else{var t=n.tabbableGroups[0],r=t&&t.firstTabbableNode;e=r||k("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},P=function(){if(n.containerGroups=n.containers.map(function(e){var t=W(e,s.tabbableOptions),r=X(e,s.tabbableOptions),c=t.length>0?t[0]:void 0,f=t.length>0?t[t.length-1]:void 0,d=r.find(function(p){return T(p)}),v=r.slice().reverse().find(function(p){return T(p)}),m=!!t.find(function(p){return E(p)>0});return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:m,firstTabbableNode:c,lastTabbableNode:f,firstDomTabbableNode:d,lastDomTabbableNode:v,nextTabbableNode:function(F){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,w=t.indexOf(F);return w<0?R?r.slice(r.indexOf(F)+1).find(function(K){return T(K)}):r.slice(0,r.indexOf(F)).reverse().find(function(K){return T(K)}):t[w+(R?1:-1)]}}}),n.tabbableGroups=n.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),n.tabbableGroups.length<=0&&!k("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(n.containerGroups.find(function(e){return e.posTabIndexesFound})&&n.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},S=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&t.shadowRoot.activeElement!==null?S(t.shadowRoot):t},g=function(e){if(e!==!1&&e!==S(document)){if(!e||!e.focus){g(D());return}e.focus({preventScroll:!!s.preventScroll}),n.mostRecentlyFocusedNode=e,le(e)&&e.select()}},U=function(e){var t=k("setReturnFocus",e);return t||(t===!1?!1:e)},q=function(e){var t=e.target,r=e.event,c=e.isBackward,f=c===void 0?!1:c;t=t||A(r),P();var d=null;if(n.tabbableGroups.length>0){var v=N(t,r),m=v>=0?n.containerGroups[v]:void 0;if(v<0)f?d=n.tabbableGroups[n.tabbableGroups.length-1].lastTabbableNode:d=n.tabbableGroups[0].firstTabbableNode;else if(f){var p=re(n.tabbableGroups,function(I){var G=I.firstTabbableNode;return t===G});if(p<0&&(m.container===t||j(t,s.tabbableOptions)&&!T(t,s.tabbableOptions)&&!m.nextTabbableNode(t,!1))&&(p=v),p>=0){var F=p===0?n.tabbableGroups.length-1:p-1,R=n.tabbableGroups[F];d=E(t)>=0?R.lastTabbableNode:R.lastDomTabbableNode}else B(r)||(d=m.nextTabbableNode(t,!1))}else{var w=re(n.tabbableGroups,function(I){var G=I.lastTabbableNode;return t===G});if(w<0&&(m.container===t||j(t,s.tabbableOptions)&&!T(t,s.tabbableOptions)&&!m.nextTabbableNode(t))&&(w=v),w>=0){var K=w===n.tabbableGroups.length-1?0:w+1,J=n.tabbableGroups[K];d=E(t)>=0?J.firstTabbableNode:J.firstDomTabbableNode}else B(r)||(d=m.nextTabbableNode(t))}}else d=k("fallbackFocus");return d},C=function(e){var t=A(e);if(!(N(t,e)>=0)){if(L(s.clickOutsideDeactivates,e)){y.deactivate({returnFocus:s.returnFocusOnDeactivate});return}L(s.allowOutsideClick,e)||e.preventDefault()}},H=function(e){var t=A(e),r=N(t,e)>=0;if(r||t instanceof Document)r&&(n.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var c,f=!0;if(n.mostRecentlyFocusedNode)if(E(n.mostRecentlyFocusedNode)>0){var d=N(n.mostRecentlyFocusedNode),v=n.containerGroups[d].tabbableNodes;if(v.length>0){var m=v.findIndex(function(p){return p===n.mostRecentlyFocusedNode});m>=0&&(s.isKeyForward(n.recentNavEvent)?m+1<v.length&&(c=v[m+1],f=!1):m-1>=0&&(c=v[m-1],f=!1))}}else n.containerGroups.some(function(p){return p.tabbableNodes.some(function(F){return E(F)>0})})||(f=!1);else f=!1;f&&(c=q({target:n.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(n.recentNavEvent)})),g(c||n.mostRecentlyFocusedNode||D())}n.recentNavEvent=void 0},ie=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n.recentNavEvent=e;var r=q({event:e,isBackward:t});r&&(B(e)&&e.preventDefault(),g(r))},M=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&ie(e,s.isKeyBackward(e))},Y=function(e){de(e)&&L(s.escapeDeactivates,e)!==!1&&(e.preventDefault(),y.deactivate())},V=function(e){var t=A(e);N(t,e)>=0||L(s.clickOutsideDeactivates,e)||L(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},$=function(){if(n.active)return ae.activateTrap(b,y),n.delayInitialFocusTimer=s.delayInitialFocus?ne(function(){g(D())}):g(D()),o.addEventListener("focusin",H,!0),o.addEventListener("mousedown",C,{capture:!0,passive:!1}),o.addEventListener("touchstart",C,{capture:!0,passive:!1}),o.addEventListener("click",V,{capture:!0,passive:!1}),o.addEventListener("keydown",M,{capture:!0,passive:!1}),o.addEventListener("keydown",Y),y},z=function(){if(n.active)return o.removeEventListener("focusin",H,!0),o.removeEventListener("mousedown",C,!0),o.removeEventListener("touchstart",C,!0),o.removeEventListener("click",V,!0),o.removeEventListener("keydown",M,!0),o.removeEventListener("keydown",Y),y},ue=function(e){var t=e.some(function(r){var c=Array.from(r.removedNodes);return c.some(function(f){return f===n.mostRecentlyFocusedNode})});t&&g(D())},x=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(ue):void 0,O=function(){x&&(x.disconnect(),n.active&&!n.paused&&n.containers.map(function(e){x.observe(e,{subtree:!0,childList:!0})}))};return y={get active(){return n.active},get paused(){return n.paused},activate:function(e){if(n.active)return this;var t=h(e,"onActivate"),r=h(e,"onPostActivate"),c=h(e,"checkCanFocusTrap");c||P(),n.active=!0,n.paused=!1,n.nodeFocusedBeforeActivation=o.activeElement,t?.();var f=function(){c&&P(),$(),O(),r?.()};return c?(c(n.containers.concat()).then(f,f),this):(f(),this)},deactivate:function(e){if(!n.active)return this;var t=te({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(n.delayInitialFocusTimer),n.delayInitialFocusTimer=void 0,z(),n.active=!1,n.paused=!1,O(),ae.deactivateTrap(b,y);var r=h(t,"onDeactivate"),c=h(t,"onPostDeactivate"),f=h(t,"checkCanReturnFocus"),d=h(t,"returnFocus","returnFocusOnDeactivate");r?.();var v=function(){ne(function(){d&&g(U(n.nodeFocusedBeforeActivation)),c?.()})};return d&&f?(f(U(n.nodeFocusedBeforeActivation)).then(v,v),this):(v(),this)},pause:function(e){if(n.paused||!n.active)return this;var t=h(e,"onPause"),r=h(e,"onPostPause");return n.paused=!0,t?.(),z(),O(),r?.(),this},unpause:function(e){if(!n.paused||!n.active)return this;var t=h(e,"onUnpause"),r=h(e,"onPostUnpause");return n.paused=!1,t?.(),P(),$(),O(),r?.(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return n.containers=t.map(function(r){return typeof r=="string"?o.querySelector(r):r}),n.active&&P(),O(),this}},y.updateContainerElements(a),y};function Fe(i,a){let{el:u}=i,o=a?.focusTrapEl||u;if(!o)return;let b={fallbackFocus:o,setReturnFocus:s=>(_(s),!1),...a?.focusTrapOptions,document:u.ownerDocument,tabbableOptions:Z,trapStack:Q};i.focusTrap=oe(o,b)}function Te(i,a){i.focusTrapDisabled||i.focusTrap?.activate(a)}function Ne(i,a){i.focusTrap?.deactivate(a)}function Ee(i){i.focusTrap?.updateContainerElements(i.el)}export{Fe as a,Te as b,Ne as c,Ee as d};
|
|
6
|
+
import{a as E,b as W,c as X,d as T,e as j,f as Z,r as _}from"./MPN5TXSZ.js";import{H as Q}from"./GUUQ6C6Y.js";function se(i,a,u){return(a=fe(a))in i?Object.defineProperty(i,a,{value:u,enumerable:!0,configurable:!0,writable:!0}):i[a]=u,i}function ee(i,a){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(i);a&&(o=o.filter(function(b){return Object.getOwnPropertyDescriptor(i,b).enumerable})),u.push.apply(u,o)}return u}function te(i){for(var a=1;a<arguments.length;a++){var u=arguments[a]!=null?arguments[a]:{};a%2?ee(Object(u),!0).forEach(function(o){se(i,o,u[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):ee(Object(u)).forEach(function(o){Object.defineProperty(i,o,Object.getOwnPropertyDescriptor(u,o))})}return i}function ce(i,a){if(typeof i!="object"||!i)return i;var u=i[Symbol.toPrimitive];if(u!==void 0){var o=u.call(i,a||"default");if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}function fe(i){var a=ce(i,"string");return typeof a=="symbol"?a:a+""}var ae={activateTrap:function(a,u){if(a.length>0){var o=a[a.length-1];o!==u&&o.pause()}var b=a.indexOf(u);b===-1||a.splice(b,1),a.push(u)},deactivateTrap:function(a,u){var o=a.indexOf(u);o!==-1&&a.splice(o,1),a.length>0&&a[a.length-1].unpause()}},le=function(a){return a.tagName&&a.tagName.toLowerCase()==="input"&&typeof a.select=="function"},de=function(a){return a?.key==="Escape"||a?.key==="Esc"||a?.keyCode===27},B=function(a){return a?.key==="Tab"||a?.keyCode===9},ve=function(a){return B(a)&&!a.shiftKey},be=function(a){return B(a)&&a.shiftKey},ne=function(a){return setTimeout(a,0)},re=function(a,u){var o=-1;return a.every(function(b,s){return u(b)?(o=s,!1):!0}),o},L=function(a){for(var u=arguments.length,o=new Array(u>1?u-1:0),b=1;b<u;b++)o[b-1]=arguments[b];return typeof a=="function"?a.apply(void 0,o):a},A=function(a){return a.target.shadowRoot&&typeof a.composedPath=="function"?a.composedPath()[0]:a.target},pe=[],oe=function(a,u){var o=u?.document||document,b=u?.trapStack||pe,s=te({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ve,isKeyBackward:be},u),n={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},y,h=function(e,t,r){return e&&e[t]!==void 0?e[t]:s[r||t]},N=function(e,t){var r=typeof t?.composedPath=="function"?t.composedPath():void 0;return n.containerGroups.findIndex(function(c){var f=c.container,d=c.tabbableNodes;return f.contains(e)||r?.includes(f)||d.find(function(v){return v===e})})},k=function(e){var t=s[e];if(typeof t=="function"){for(var r=arguments.length,c=new Array(r>1?r-1:0),f=1;f<r;f++)c[f-1]=arguments[f];t=t.apply(void 0,c)}if(t===!0&&(t=void 0),!t){if(t===void 0||t===!1)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var d=t;if(typeof t=="string"&&(d=o.querySelector(t),!d))throw new Error("`".concat(e,"` as selector refers to no known node"));return d},D=function(){var e=k("initialFocus");if(e===!1)return!1;if(e===void 0||!j(e,s.tabbableOptions))if(N(o.activeElement)>=0)e=o.activeElement;else{var t=n.tabbableGroups[0],r=t&&t.firstTabbableNode;e=r||k("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},P=function(){if(n.containerGroups=n.containers.map(function(e){var t=W(e,s.tabbableOptions),r=X(e,s.tabbableOptions),c=t.length>0?t[0]:void 0,f=t.length>0?t[t.length-1]:void 0,d=r.find(function(p){return T(p)}),v=r.slice().reverse().find(function(p){return T(p)}),m=!!t.find(function(p){return E(p)>0});return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:m,firstTabbableNode:c,lastTabbableNode:f,firstDomTabbableNode:d,lastDomTabbableNode:v,nextTabbableNode:function(F){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,w=t.indexOf(F);return w<0?R?r.slice(r.indexOf(F)+1).find(function(K){return T(K)}):r.slice(0,r.indexOf(F)).reverse().find(function(K){return T(K)}):t[w+(R?1:-1)]}}}),n.tabbableGroups=n.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),n.tabbableGroups.length<=0&&!k("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(n.containerGroups.find(function(e){return e.posTabIndexesFound})&&n.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},S=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&t.shadowRoot.activeElement!==null?S(t.shadowRoot):t},g=function(e){if(e!==!1&&e!==S(document)){if(!e||!e.focus){g(D());return}e.focus({preventScroll:!!s.preventScroll}),n.mostRecentlyFocusedNode=e,le(e)&&e.select()}},U=function(e){var t=k("setReturnFocus",e);return t||(t===!1?!1:e)},q=function(e){var t=e.target,r=e.event,c=e.isBackward,f=c===void 0?!1:c;t=t||A(r),P();var d=null;if(n.tabbableGroups.length>0){var v=N(t,r),m=v>=0?n.containerGroups[v]:void 0;if(v<0)f?d=n.tabbableGroups[n.tabbableGroups.length-1].lastTabbableNode:d=n.tabbableGroups[0].firstTabbableNode;else if(f){var p=re(n.tabbableGroups,function(I){var G=I.firstTabbableNode;return t===G});if(p<0&&(m.container===t||j(t,s.tabbableOptions)&&!T(t,s.tabbableOptions)&&!m.nextTabbableNode(t,!1))&&(p=v),p>=0){var F=p===0?n.tabbableGroups.length-1:p-1,R=n.tabbableGroups[F];d=E(t)>=0?R.lastTabbableNode:R.lastDomTabbableNode}else B(r)||(d=m.nextTabbableNode(t,!1))}else{var w=re(n.tabbableGroups,function(I){var G=I.lastTabbableNode;return t===G});if(w<0&&(m.container===t||j(t,s.tabbableOptions)&&!T(t,s.tabbableOptions)&&!m.nextTabbableNode(t))&&(w=v),w>=0){var K=w===n.tabbableGroups.length-1?0:w+1,J=n.tabbableGroups[K];d=E(t)>=0?J.firstTabbableNode:J.firstDomTabbableNode}else B(r)||(d=m.nextTabbableNode(t))}}else d=k("fallbackFocus");return d},C=function(e){var t=A(e);if(!(N(t,e)>=0)){if(L(s.clickOutsideDeactivates,e)){y.deactivate({returnFocus:s.returnFocusOnDeactivate});return}L(s.allowOutsideClick,e)||e.preventDefault()}},H=function(e){var t=A(e),r=N(t,e)>=0;if(r||t instanceof Document)r&&(n.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var c,f=!0;if(n.mostRecentlyFocusedNode)if(E(n.mostRecentlyFocusedNode)>0){var d=N(n.mostRecentlyFocusedNode),v=n.containerGroups[d].tabbableNodes;if(v.length>0){var m=v.findIndex(function(p){return p===n.mostRecentlyFocusedNode});m>=0&&(s.isKeyForward(n.recentNavEvent)?m+1<v.length&&(c=v[m+1],f=!1):m-1>=0&&(c=v[m-1],f=!1))}}else n.containerGroups.some(function(p){return p.tabbableNodes.some(function(F){return E(F)>0})})||(f=!1);else f=!1;f&&(c=q({target:n.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(n.recentNavEvent)})),g(c||n.mostRecentlyFocusedNode||D())}n.recentNavEvent=void 0},ie=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;n.recentNavEvent=e;var r=q({event:e,isBackward:t});r&&(B(e)&&e.preventDefault(),g(r))},M=function(e){(s.isKeyForward(e)||s.isKeyBackward(e))&&ie(e,s.isKeyBackward(e))},Y=function(e){de(e)&&L(s.escapeDeactivates,e)!==!1&&(e.preventDefault(),y.deactivate())},V=function(e){var t=A(e);N(t,e)>=0||L(s.clickOutsideDeactivates,e)||L(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},$=function(){if(n.active)return ae.activateTrap(b,y),n.delayInitialFocusTimer=s.delayInitialFocus?ne(function(){g(D())}):g(D()),o.addEventListener("focusin",H,!0),o.addEventListener("mousedown",C,{capture:!0,passive:!1}),o.addEventListener("touchstart",C,{capture:!0,passive:!1}),o.addEventListener("click",V,{capture:!0,passive:!1}),o.addEventListener("keydown",M,{capture:!0,passive:!1}),o.addEventListener("keydown",Y),y},z=function(){if(n.active)return o.removeEventListener("focusin",H,!0),o.removeEventListener("mousedown",C,!0),o.removeEventListener("touchstart",C,!0),o.removeEventListener("click",V,!0),o.removeEventListener("keydown",M,!0),o.removeEventListener("keydown",Y),y},ue=function(e){var t=e.some(function(r){var c=Array.from(r.removedNodes);return c.some(function(f){return f===n.mostRecentlyFocusedNode})});t&&g(D())},x=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(ue):void 0,O=function(){x&&(x.disconnect(),n.active&&!n.paused&&n.containers.map(function(e){x.observe(e,{subtree:!0,childList:!0})}))};return y={get active(){return n.active},get paused(){return n.paused},activate:function(e){if(n.active)return this;var t=h(e,"onActivate"),r=h(e,"onPostActivate"),c=h(e,"checkCanFocusTrap");c||P(),n.active=!0,n.paused=!1,n.nodeFocusedBeforeActivation=o.activeElement,t?.();var f=function(){c&&P(),$(),O(),r?.()};return c?(c(n.containers.concat()).then(f,f),this):(f(),this)},deactivate:function(e){if(!n.active)return this;var t=te({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(n.delayInitialFocusTimer),n.delayInitialFocusTimer=void 0,z(),n.active=!1,n.paused=!1,O(),ae.deactivateTrap(b,y);var r=h(t,"onDeactivate"),c=h(t,"onPostDeactivate"),f=h(t,"checkCanReturnFocus"),d=h(t,"returnFocus","returnFocusOnDeactivate");r?.();var v=function(){ne(function(){d&&g(U(n.nodeFocusedBeforeActivation)),c?.()})};return d&&f?(f(U(n.nodeFocusedBeforeActivation)).then(v,v),this):(v(),this)},pause:function(e){if(n.paused||!n.active)return this;var t=h(e,"onPause"),r=h(e,"onPostPause");return n.paused=!0,t?.(),z(),O(),r?.(),this},unpause:function(e){if(!n.paused||!n.active)return this;var t=h(e,"onUnpause"),r=h(e,"onPostUnpause");return n.paused=!1,t?.(),P(),$(),O(),r?.(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return n.containers=t.map(function(r){return typeof r=="string"?o.querySelector(r):r}),n.active&&P(),O(),this}},y.updateContainerElements(a),y};function Fe(i,a){let{el:u}=i,o=a?.focusTrapEl||u;if(!o)return;let b={fallbackFocus:o,setReturnFocus:s=>(_(s),!1),...a?.focusTrapOptions,document:u.ownerDocument,tabbableOptions:Z,trapStack:Q};i.focusTrap=oe(o,b)}function Te(i,a){i.focusTrapDisabled||i.focusTrap?.activate(a)}function Ne(i,a){i.focusTrap?.deactivate(a)}function Ee(i){i.focusTrap?.updateContainerElements(i.el)}export{Fe as a,Te as b,Ne as c,Ee as d};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import{a as P,b as q}from"./
|
|
6
|
+
import{a as P,b as q}from"./TTFABW2Y.js";import{a as p}from"./YJ3VW53G.js";import{a as d}from"./QEY6DFJM.js";import{a as $,b as M}from"./XIDCQJ4Z.js";import{A as T,B as w,j as z,u as A,x as r}from"./MPN5TXSZ.js";import"./4ZILJXOF.js";import{A as n,D as I,F as l,M as E,a as s,e as x,v as y,x as C,z as S}from"./GUUQ6C6Y.js";import"./BYKECJC3.js";var i={actionsEnd:"actions-end",bulletPointIcon:"bullet-point",checkbox:"checkbox",checkboxContainer:"checkbox-container",checkboxLabel:"checkbox-label",checkmarkIcon:"checkmark",chevron:"chevron",childrenContainer:"children-container",iconStart:"icon-start",itemExpanded:"item--expanded",nodeAndActionsContainer:"node-actions-container",nodeContainer:"node-container"},D={actionsEnd:"actions-end",children:"children"},c={blank:"blank",bulletPoint:"bullet-point",checkmark:"check",checkSquareF:"check-square-f",chevronRight:"chevron-right",minusSquareF:"minus-square-f",square:"square"},B=y`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Wed, 20 Nov 2024 00:35:09 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|
|
@@ -339,7 +339,7 @@ import{a as P,b as q}from"./VPDLOE22.js";import{a as p}from"./XQ4CB4NN.js";impor
|
|
|
339
339
|
|
|
340
340
|
[hidden] {
|
|
341
341
|
display: none;
|
|
342
|
-
}`,u=class extends S{constructor(){super(),this.actionSlotWrapper
|
|
342
|
+
}`,u=class extends S{constructor(){super(),this.actionSlotWrapper=$(),this.userChangedValue=!1,this.hasEndActions=!1,this.updateAfterInitialRender=!1,this.depth=-1,this.disabled=!1,this.expanded=!1,this.hasChildren=null,this.indeterminate=!1,this.parentExpanded=!1,this.selected=!1,this.calciteInternalTreeItemSelect=C({cancelable:!1}),this.listen("click",this.onClick),this.listen("keydown",this.keyDownHandler)}static{this.properties={hasEndActions:[16,{state:!0}],updateAfterInitialRender:[16,{state:!0}],depth:[11,{reflect:!0,type:Number}],disabled:[7,{reflect:!0,type:Boolean}],expanded:[7,{reflect:!0,type:Boolean}],hasChildren:[7,{reflect:!0,type:Boolean}],iconFlipRtl:[3,{reflect:!0}],iconStart:[3,{reflect:!0}],indeterminate:[7,{reflect:!0,type:Boolean}],label:1,lines:[7,{reflect:!0,type:Boolean}],parentExpanded:[5,{type:Boolean}],scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}],selectionMode:[3,{reflect:!0}]}}static{this.styles=B}connectedCallback(){super.connectedCallback(),this.parentTreeItem=this.el.parentElement?.closest("calcite-tree-item")}load(){requestAnimationFrame(()=>this.updateAfterInitialRender=!0)}willUpdate(e){this.preWillUpdate(),e.has("expanded")&&(this.hasUpdated||this.expanded!==!1)&&this.updateChildTree(),e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.handleSelectedChange(this.selected),e.has("selectionMode")&&this.getSelectionMode()}updated(){P(this)}loaded(){this.updateAncestorTree()}handleSelectedChange(e){this.selectionMode==="ancestors"&&!this.userChangedValue&&(e&&(this.indeterminate=!1),this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:!0,updateItem:!1}))}getSelectionMode(){this.isSelectionMultiLike=this.selectionMode==="multiple"||this.selectionMode==="multichildren"}onClick(e){if(this.disabled||this.isActionEndEvent(e))return;let[t]=A(this.el,"a");if(t&&e.composedPath()[0].tagName.toLowerCase()!=="a"){let o=t.target===""?"_self":t.target;window.open(t.href,o)}this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.selectionMode==="ancestors"||this.isSelectionMultiLike,updateItem:!0}),this.userChangedValue=!0}iconClickHandler(e){e.stopPropagation(),this.expanded=!this.expanded}childrenClickHandler(e){e.stopPropagation()}keyDownHandler(e){if(!(this.isActionEndEvent(e)||e.defaultPrevented))switch(e.key){case" ":this.userChangedValue=!0,this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault();break;case"Enter":{let t=Array.from(this.el.children).find(o=>o.matches("a"));this.userChangedValue=!0,t?(t.click(),this.selected=!0):this.calciteInternalTreeItemSelect.emit({modifyCurrentSelection:this.isSelectionMultiLike,updateItem:!0}),e.preventDefault()}}}updateChildTree(){let{childTree:e}=this;e&&(e.parentExpanded=this.expanded)}handleChildrenSlotChange(e){let t=w(e).filter(o=>o.matches("calcite-tree"))[0];this.childTree=t,this.updateChildTree()}isActionEndEvent(e){return e.composedPath().includes(this.actionSlotWrapper.value)}updateAncestorTree(){let e=this.parentTreeItem;if(!(this.selectionMode!=="ancestors"||!e)){if(this.selected){let t=this.el.parentElement,o=Array.from(t?.children),h=o.filter(a=>a.selected);o.length===h.length?(e.selected=!0,e.indeterminate=!1):h.length>0&&(e.indeterminate=!0),Array.from(this.el.querySelectorAll("calcite-tree-item:not([disabled])")).forEach(a=>{a.selected=!0,a.indeterminate=!1})}else if(this.indeterminate){let t=this.parentTreeItem;t.indeterminate=!0}}}actionsEndSlotChangeHandler(e){this.hasEndActions=T(e)}preWillUpdate(){this.hasChildren=!!this.el.querySelector("calcite-tree"),this.depth=0;let e=this.el.closest("calcite-tree");if(!e)return;this.selectionMode=e.selectionMode,this.scale=e.scale||"m",this.lines=e.lines;let t;for(;e&&(t=e.parentElement?.closest("calcite-tree"),t!==e);)e=t,this.depth=this.depth+1}render(){let e=z(this.el)==="rtl",t=this.selectionMode==="single"||this.selectionMode==="children"||this.selectionMode==="single-persist",o=this.selectionMode==="multiple"||this.selectionMode==="multichildren",h=this.selectionMode==="none"&&!this.hasChildren,f=this.hasChildren&&this.indeterminate,a=this.hasChildren?s`<calcite-icon
|
|
343
343
|
class=${n({[i.chevron]:!0,[l.rtl]:e})}
|
|
344
344
|
data-test-id=icon
|
|
345
345
|
.icon=${c.chevronRight}
|
|
@@ -370,7 +370,7 @@ import{a as P,b as q}from"./VPDLOE22.js";import{a as p}from"./XQ4CB4NN.js";impor
|
|
|
370
370
|
${this.iconStart?R:null}
|
|
371
371
|
${k||b}
|
|
372
372
|
</div>
|
|
373
|
-
<div class=${n(i.actionsEnd)} .hidden=${!H} ${
|
|
373
|
+
<div class=${n(i.actionsEnd)} .hidden=${!H} ${M(this.actionSlotWrapper)}>
|
|
374
374
|
${L}
|
|
375
375
|
</div>
|
|
376
376
|
</div>
|
|
@@ -383,4 +383,4 @@ import{a as P,b as q}from"./VPDLOE22.js";import{a as p}from"./XQ4CB4NN.js";impor
|
|
|
383
383
|
<slot name=${D.children} @slotchange=${this.handleChildrenSlotChange}></slot>
|
|
384
384
|
</div>
|
|
385
385
|
</div>
|
|
386
|
-
`})}};
|
|
386
|
+
`})}};E("calcite-tree-item",u);export{u as TreeItem};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import{b as _}from"./
|
|
6
|
+
import{b as _}from"./6I6Q2TH5.js";import"./ECXGFIHX.js";import"./BYKECJC3.js";var l={name:"ca",weekdays:"Diumenge_Dilluns_Dimarts_Dimecres_Dijous_Divendres_Dissabte".split("_"),weekdaysShort:"Dg._Dl._Dt._Dc._Dj._Dv._Ds.".split("_"),weekdaysMin:"Dg_Dl_Dt_Dc_Dj_Dv_Ds".split("_"),months:"Gener_Febrer_Mar\xE7_Abril_Maig_Juny_Juliol_Agost_Setembre_Octubre_Novembre_Desembre".split("_"),monthsShort:"Gen._Febr._Mar\xE7_Abr._Maig_Juny_Jul._Ag._Set._Oct._Nov._Des.".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",ll:"D MMM YYYY",lll:"D MMM YYYY, H:mm",llll:"ddd D MMM YYYY, H:mm"},relativeTime:{future:"d'aqu\xED %s",past:"fa %s",s:"uns segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},ordinal:function(e){var s;return e===1||e===3?s="r":e===2?s="n":e===4?s="t":s="\xE8",""+e+s}};_.locale(l,null,!0);var a=l;export{a as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import{b as m}from"./
|
|
6
|
+
import{b as m}from"./6I6Q2TH5.js";import"./ECXGFIHX.js";import"./BYKECJC3.js";var a="\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"),i="\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_"),s="\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),l="\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"),M=/D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;function f(r,_){var t=r.split("_");return _%10===1&&_%100!==11?t[0]:_%10>=2&&_%10<=4&&(_%100<10||_%100>=20)?t[1]:t[2]}function e(r,_,t){var d={mm:_?"\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442":"\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442",hh:"\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432",dd:"\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439",MM:"\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432",yy:"\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442"};return t==="m"?_?"\u043C\u0438\u043D\u0443\u0442\u0430":"\u043C\u0438\u043D\u0443\u0442\u0443":r+" "+f(d[t],+r)}var o=function(_,t){return M.test(t)?a[_.month()]:i[_.month()]};o.s=i;o.f=a;var n=function(_,t){return M.test(t)?s[_.month()]:l[_.month()]};n.s=l;n.f=s;var h={name:"ru",weekdays:"\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"),weekdaysShort:"\u0432\u0441\u043A_\u043F\u043D\u0434_\u0432\u0442\u0440_\u0441\u0440\u0434_\u0447\u0442\u0432_\u043F\u0442\u043D_\u0441\u0431\u0442".split("_"),weekdaysMin:"\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_"),months:o,monthsShort:n,weekStart:1,yearStart:4,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY \u0433.",LLL:"D MMMM YYYY \u0433., H:mm",LLLL:"dddd, D MMMM YYYY \u0433., H:mm"},relativeTime:{future:"\u0447\u0435\u0440\u0435\u0437 %s",past:"%s \u043D\u0430\u0437\u0430\u0434",s:"\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434",m:e,mm:e,h:"\u0447\u0430\u0441",hh:e,d:"\u0434\u0435\u043D\u044C",dd:e,M:"\u043C\u0435\u0441\u044F\u0446",MM:e,y:"\u0433\u043E\u0434",yy:e},ordinal:function(_){return _},meridiem:function(_){return _<4?"\u043D\u043E\u0447\u0438":_<12?"\u0443\u0442\u0440\u0430":_<17?"\u0434\u043D\u044F":"\u0432\u0435\u0447\u0435\u0440\u0430"}};m.locale(h,null,!0);var Y=h;export{Y as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import{b as _}from"./
|
|
6
|
+
import{b as _}from"./6I6Q2TH5.js";import"./ECXGFIHX.js";import"./BYKECJC3.js";function e(s,u,a,r){var t={s:["m\xF5ne sekundi","m\xF5ni sekund","paar sekundit"],m:["\xFChe minuti","\xFCks minut"],mm:["%d minuti","%d minutit"],h:["\xFChe tunni","tund aega","\xFCks tund"],hh:["%d tunni","%d tundi"],d:["\xFChe p\xE4eva","\xFCks p\xE4ev"],M:["kuu aja","kuu aega","\xFCks kuu"],MM:["%d kuu","%d kuud"],y:["\xFChe aasta","aasta","\xFCks aasta"],yy:["%d aasta","%d aastat"]};return u?(t[a][2]?t[a][2]:t[a][1]).replace("%d",s):(r?t[a][0]:t[a][1]).replace("%d",s)}var i={name:"et",weekdays:"p\xFChap\xE4ev_esmasp\xE4ev_teisip\xE4ev_kolmap\xE4ev_neljap\xE4ev_reede_laup\xE4ev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),months:"jaanuar_veebruar_m\xE4rts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_m\xE4rts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),ordinal:function(u){return u+"."},weekStart:1,relativeTime:{future:"%s p\xE4rast",past:"%s tagasi",s:e,m:e,mm:e,h:e,hh:e,d:e,dd:"%d p\xE4eva",M:e,MM:e,y:e,yy:e},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"}};_.locale(i,null,!0);var n=i;export{n as default};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import{d as t}from"./
|
|
6
|
+
import{d as t}from"./6ASOM3GT.js";import{a as v,b as w}from"./TTFABW2Y.js";import{a as $}from"./YJ3VW53G.js";import{a as S}from"./HPE226NT.js";import{b as h}from"./XIDCQJ4Z.js";import{j as y}from"./MPN5TXSZ.js";import{a as B,b as k,d as C}from"./NBSJFAX2.js";import"./4ZILJXOF.js";import{A as u,M as g,a as d,e as f,v as m,x as a,z as b}from"./GUUQ6C6Y.js";import"./BYKECJC3.js";var D={backButton:"back-button"},I={backLeft:"chevron-left",backRight:"chevron-right"},o={actionBar:"action-bar",alerts:"alerts",contentTop:"content-top",contentBottom:"content-bottom",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerActions:"footer-actions",footerEnd:"footer-end",footerStart:"footer-start"},G=m`/**
|
|
7
7
|
* Do not edit directly
|
|
8
|
-
* Generated on
|
|
8
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
9
9
|
*/
|
|
10
10
|
/**
|
|
11
11
|
* Do not edit directly
|
|
12
|
-
* Generated on
|
|
12
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
15
|
* Do not edit directly
|
|
16
|
-
* Generated on
|
|
16
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
17
17
|
*/
|
|
18
18
|
/**
|
|
19
19
|
* Do not edit directly
|
|
20
|
-
* Generated on
|
|
20
|
+
* Generated on Wed, 20 Nov 2024 00:35:12 GMT
|
|
21
21
|
*/
|
|
22
22
|
/**
|
|
23
23
|
* Do not edit directly
|
|
24
|
-
* Generated on
|
|
24
|
+
* Generated on Wed, 20 Nov 2024 00:35:09 GMT
|
|
25
25
|
*/
|
|
26
26
|
/* mixins & extensions */
|
|
27
27
|
/* helper to properly scale internal durations */
|
|
@@ -99,18 +99,18 @@ calcite-panel {
|
|
|
99
99
|
|
|
100
100
|
[hidden] {
|
|
101
101
|
display: none;
|
|
102
|
-
}`,p=class extends b{constructor(){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=S(),this.overlayPositioning="absolute",this.scale="m",this.selected=!1,this.showBackButton=!1,this.calciteFlowItemBack=a(),this.calciteFlowItemClose=a({cancelable:!1}),this.calciteFlowItemScroll=a({cancelable:!1}),this.calciteFlowItemToggle=a({cancelable:!1}),this.calciteInternalFlowItemChange=a({cancelable:!1})}static{this.properties={beforeBack:[0,{attribute:!1}],beforeClose:[0,{attribute:!1}],closable:[7,{reflect:!0,type:Boolean}],closed:[7,{reflect:!0,type:Boolean}],collapseDirection:1,collapsed:[7,{reflect:!0,type:Boolean}],collapsible:[7,{reflect:!0,type:Boolean}],description:1,disabled:[7,{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{type:Number,reflect:!0}],loading:[7,{reflect:!0,type:Boolean}],menuOpen:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}],overlayPositioning:[3,{reflect:!0}],scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}],showBackButton:[5,{type:Boolean}]}}static{this.styles=
|
|
102
|
+
}`,p=class extends b{constructor(){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=S(),this.overlayPositioning="absolute",this.scale="m",this.selected=!1,this.showBackButton=!1,this.calciteFlowItemBack=a(),this.calciteFlowItemClose=a({cancelable:!1}),this.calciteFlowItemScroll=a({cancelable:!1}),this.calciteFlowItemToggle=a({cancelable:!1}),this.calciteInternalFlowItemChange=a({cancelable:!1})}static{this.properties={beforeBack:[0,{attribute:!1}],beforeClose:[0,{attribute:!1}],closable:[7,{reflect:!0,type:Boolean}],closed:[7,{reflect:!0,type:Boolean}],collapseDirection:1,collapsed:[7,{reflect:!0,type:Boolean}],collapsible:[7,{reflect:!0,type:Boolean}],description:1,disabled:[7,{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{type:Number,reflect:!0}],loading:[7,{reflect:!0,type:Boolean}],menuOpen:[7,{reflect:!0,type:Boolean}],messageOverrides:[0,{attribute:!1}],overlayPositioning:[3,{reflect:!0}],scale:[3,{reflect:!0}],selected:[7,{reflect:!0,type:Boolean}],showBackButton:[5,{type:Boolean}]}}static{this.styles=G}async scrollContentTo(e){await this.containerEl?.scrollContentTo(e)}async setFocus(){await C(this);let{backButtonEl:e,containerEl:l}=this;if(e)return e.setFocus();if(l)return l.setFocus()}async load(){B(this)}willUpdate(e){e.has("selected")&&(this.hasUpdated||this.selected!==!1)&&this.calciteInternalFlowItemChange.emit()}updated(){v(this)}loaded(){k(this)}handleInternalPanelScroll(e){e.target===this.containerEl&&(e.stopPropagation(),this.calciteFlowItemScroll.emit())}handleInternalPanelClose(e){e.target===this.containerEl&&(e.stopPropagation(),this.closed=!0,this.calciteFlowItemClose.emit())}handleInternalPanelToggle(e){e.target===this.containerEl&&(e.stopPropagation(),this.collapsed=e.target.collapsed,this.calciteFlowItemToggle.emit())}backButtonClick(){this.calciteFlowItemBack.emit()}setBackRef(e){this.backButtonEl=e}setContainerRef(e){this.containerEl=e}renderBackButton(){let{el:e}=this,l=y(e)==="rtl",{showBackButton:i,backButtonClick:r,messages:c}=this,s=c.back,n=l?I.backRight:I.backLeft;return i?$("flow-back-button",d`<calcite-action
|
|
103
103
|
.ariaLabel=${s}
|
|
104
|
-
class=${u(
|
|
104
|
+
class=${u(D.backButton)}
|
|
105
105
|
.icon=${n}
|
|
106
106
|
@click=${r}
|
|
107
107
|
scale=s
|
|
108
108
|
slot=header-actions-start
|
|
109
109
|
.text=${s}
|
|
110
110
|
title=${s??f}
|
|
111
|
-
${h(this.setBackRef)}></calcite-action>`):null}render(){let{collapsed:e,collapseDirection:l,collapsible:i,closable:r,closed:c,description:s,disabled:n,heading:T,headingLevel:E,loading:P,menuOpen:x,messages:
|
|
111
|
+
${h(this.setBackRef)}></calcite-action>`):null}render(){let{collapsed:e,collapseDirection:l,collapsible:i,closable:r,closed:c,description:s,disabled:n,heading:T,headingLevel:E,loading:P,menuOpen:x,messages:F,overlayPositioning:A,beforeClose:L}=this;return w({disabled:n,children:d`
|
|
112
112
|
<calcite-panel
|
|
113
|
-
.beforeClose=${
|
|
113
|
+
.beforeClose=${L}
|
|
114
114
|
.closable=${r}
|
|
115
115
|
.closed=${c}
|
|
116
116
|
.collapseDirection=${l}
|
|
@@ -122,11 +122,11 @@ calcite-panel {
|
|
|
122
122
|
.headingLevel=${E}
|
|
123
123
|
.loading=${P}
|
|
124
124
|
.menuOpen=${x}
|
|
125
|
-
.messageOverrides=${
|
|
125
|
+
.messageOverrides=${F}
|
|
126
126
|
@calcitePanelClose=${this.handleInternalPanelClose}
|
|
127
127
|
@calcitePanelScroll=${this.handleInternalPanelScroll}
|
|
128
128
|
@calcitePanelToggle=${this.handleInternalPanelToggle}
|
|
129
|
-
.overlayPositioning=${
|
|
129
|
+
.overlayPositioning=${A}
|
|
130
130
|
.scale=${this.scale}
|
|
131
131
|
${h(this.setContainerRef)}>
|
|
132
132
|
${this.renderBackButton()}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
|
-
import{a}from"./
|
|
6
|
+
import{a}from"./ECXGFIHX.js";import"./BYKECJC3.js";export{a as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
|
4
|
-
* v3.0.0-next.
|
|
4
|
+
* v3.0.0-next.17
|
|
5
5
|
*/
|
|
6
6
|
function e(r){return r.map(o=>{let t="";for(let n=0;n<o;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}).join("-")}var i=()=>e([2,1,1,1,3]);export{i as a};
|