@esri/calcite-components 6.0.0-next.3 → 6.0.0-next.30
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/README.md +1 -1
- package/THIRD-PARTY-NOTICES.md +0 -1
- package/dist/cdn/{KE3GJVSQ.js → 22NLVRMQ.js} +1 -1
- package/dist/cdn/26ZHQ7BU.js +2 -0
- package/dist/cdn/{H72BDLS4.js → 27RYO3S3.js} +1 -1
- package/dist/cdn/2MQ3WWV6.js +2 -0
- package/dist/cdn/{XWKUAYS3.js → 2ZG5MX5W.js} +1 -1
- package/dist/cdn/{3NDSBNMP.js → 32L6XZV2.js} +1 -1
- package/dist/cdn/34LORM54.js +2 -0
- package/dist/cdn/{5IR56ZP3.js → 3B2ZDL33.js} +1 -1
- package/dist/cdn/3INSFKSX.js +2 -0
- package/dist/cdn/444236DE.js +2 -0
- package/dist/cdn/47WLTGVK.js +2 -0
- package/dist/cdn/{273FNCX2.js → 4F4R7KYO.js} +1 -1
- package/dist/cdn/4GJVPFBQ.js +2 -0
- package/dist/cdn/4LQENKOC.js +2 -0
- package/dist/cdn/4PMDXBZR.js +2 -0
- package/dist/cdn/4U3UP55J.js +2 -0
- package/dist/cdn/4YAW7S6I.js +2 -0
- package/dist/cdn/{MAWTYBZ2.js → 54Y2XWNM.js} +1 -1
- package/dist/cdn/5LZ756VG.js +2 -0
- package/dist/cdn/5QTRE4DW.js +2 -0
- package/dist/cdn/{OHLKMQOL.js → 5RCRYCLG.js} +1 -1
- package/dist/cdn/5VOEKVT2.js +2 -0
- package/dist/cdn/5XN6EOKV.js +2 -0
- package/dist/cdn/65S2O64A.js +2 -0
- package/dist/cdn/{ITFHBH6Z.js → 66MGO5ZU.js} +1 -1
- package/dist/cdn/66VFQ7FS.js +2 -0
- package/dist/cdn/{XDGVGNRC.js → 6FZVJGKC.js} +1 -1
- package/dist/cdn/6I7EXQHZ.js +2 -0
- package/dist/cdn/{KLJ33TCR.js → 6PI5JKRE.js} +1 -1
- package/dist/cdn/{7YEZVXC4.js → 6RCNPDD6.js} +1 -1
- package/dist/cdn/6SZN3UEC.js +2 -0
- package/dist/cdn/6TP6A2OR.js +2 -0
- package/dist/cdn/6WXRX7AM.js +2 -0
- package/dist/cdn/7KM376VM.js +2 -0
- package/dist/cdn/7KQIWP5A.js +2 -0
- package/dist/cdn/{GLEHSZR7.js → 7RQHFOJK.js} +1 -1
- package/dist/cdn/{DPRLR4WC.js → 7XS2SBMV.js} +1 -1
- package/dist/cdn/AE5P23AX.js +2 -0
- package/dist/cdn/AGD2EOLY.js +2 -0
- package/dist/cdn/AKAXKJA2.js +2 -0
- package/dist/cdn/{NBOTH5XL.js → ASXRP7XI.js} +1 -1
- package/dist/cdn/{KRVMZWGR.js → AU5A2EFG.js} +1 -1
- package/dist/cdn/AWYSKRFD.js +2 -0
- package/dist/cdn/{NY4HO46K.js → BBSSYLOF.js} +1 -1
- package/dist/cdn/BEI2Q4QV.js +2 -0
- package/dist/cdn/BIBBX2NQ.js +2 -0
- package/dist/cdn/{U7YCVXZ3.js → BJAWDVEF.js} +1 -1
- package/dist/cdn/BMHY44X2.js +2 -0
- package/dist/cdn/BOPWFMNV.js +2 -0
- package/dist/cdn/BTB6KHWC.js +2 -0
- package/dist/cdn/{PLYFLSNW.js → BUD3X4EV.js} +1 -1
- package/dist/cdn/BZ7XAOLC.js +2 -0
- package/dist/cdn/BZD6X5QP.js +2 -0
- package/dist/cdn/{DUT6OG3U.js → BZZ3PDRE.js} +1 -1
- package/dist/cdn/{ZFZW2ZQN.js → C664KWJK.js} +1 -1
- package/dist/cdn/C6JSMZCR.js +2 -0
- package/dist/cdn/{QQJAAD4D.js → C75XSIWC.js} +1 -1
- package/dist/cdn/C7SUNBF3.js +2 -0
- package/dist/cdn/{FAA5LDA2.js → CGICD7ZG.js} +1 -1
- package/dist/cdn/{KAADRWY5.js → CNNZUX2A.js} +1 -1
- package/dist/cdn/{Z6XSTP6H.js → CRJ7GEOB.js} +1 -1
- package/dist/cdn/D6FYHCKK.js +2 -0
- package/dist/cdn/DC52WCG4.js +2 -0
- package/dist/cdn/{CD4ZLAWD.js → DM56VGTT.js} +1 -1
- package/dist/cdn/{UE76JFYY.js → DOIHMBBW.js} +1 -1
- package/dist/cdn/{737AN2CX.js → DQIUIZK3.js} +1 -1
- package/dist/cdn/DR4XSQZU.js +2 -0
- package/dist/cdn/{RXLHCQ6I.js → DV5KMXKC.js} +1 -1
- package/dist/cdn/E4TS5FQE.js +2 -0
- package/dist/cdn/E67XH4JQ.js +2 -0
- package/dist/cdn/EGLMU2AU.js +2 -0
- package/dist/cdn/ERP7JCOT.js +2 -0
- package/dist/cdn/EYRAVDKP.js +2 -0
- package/dist/cdn/{4ARQELX5.js → F6OZCUVP.js} +1 -1
- package/dist/cdn/FGPKBUR3.js +2 -0
- package/dist/cdn/{G7RVPH4C.js → FQF5KOVN.js} +1 -1
- package/dist/cdn/{SXAW7MNS.js → FR6PIDS2.js} +1 -1
- package/dist/cdn/FS4CDB52.js +2 -0
- package/dist/cdn/G7VCDZAH.js +4 -0
- package/dist/cdn/GBTJTOXL.js +2 -0
- package/dist/cdn/GLRXNYZY.js +2 -0
- package/dist/cdn/GYAMAUXY.js +2 -0
- package/dist/cdn/H2LEXNC7.js +2 -0
- package/dist/cdn/H5ZWUCNU.js +2 -0
- package/dist/cdn/HAEXMEIN.js +2 -0
- package/dist/cdn/{XKHMRAUY.js → HBWRRDGG.js} +1 -1
- package/dist/cdn/{KEN2XAZH.js → HDWQ7NSI.js} +1 -1
- package/dist/cdn/{N3XQQ7UF.js → HEQ6QW3K.js} +1 -1
- package/dist/cdn/{ZDSVHHRM.js → HJHRSII7.js} +1 -1
- package/dist/cdn/HUTTOR7N.js +2 -0
- package/dist/cdn/{5M7QROTK.js → I4AFXPRB.js} +1 -1
- package/dist/cdn/I6UMOKHJ.js +2 -0
- package/dist/cdn/{YGMF5XGG.js → IBUMIXPU.js} +1 -1
- package/dist/cdn/IE3D5G6W.js +2 -0
- package/dist/cdn/IH6VM7RW.js +2 -0
- package/dist/cdn/{2ZGOGJF6.js → IR2A2F5H.js} +1 -1
- package/dist/cdn/{LZFZSZYL.js → IROQKMX4.js} +1 -1
- package/dist/cdn/{L52YMQCF.js → J2OH4U4P.js} +1 -1
- package/dist/cdn/J3NX74VT.js +2 -0
- package/dist/cdn/JED2BFML.js +2 -0
- package/dist/cdn/JLH4SXHH.js +2 -0
- package/dist/cdn/{OMH7X2JO.js → JNL2MGPV.js} +1 -1
- package/dist/cdn/JWRK3M36.js +2 -0
- package/dist/cdn/JXSCNDAH.js +4 -0
- package/dist/cdn/{YWJV2ZJH.js → K4N2EM4F.js} +1 -1
- package/dist/cdn/{GRF4BRX4.js → K773C63U.js} +1 -1
- package/dist/cdn/{FC34MHXD.js → KETKIVWP.js} +1 -1
- package/dist/cdn/{JLMPSTPZ.js → KF2PRC3N.js} +1 -1
- package/dist/cdn/KGTOCD7C.js +2 -0
- package/dist/cdn/KIT7NU4F.js +2 -0
- package/dist/cdn/{QKMJAWTV.js → KLALTZ6M.js} +1 -1
- package/dist/cdn/{CM47HAMG.js → KOOUNRK4.js} +1 -1
- package/dist/cdn/L2PORTM4.js +2 -0
- package/dist/cdn/LKSMSNM7.js +2 -0
- package/dist/cdn/LKYZVTZF.js +2 -0
- package/dist/cdn/{EZ3DQN5J.js → LQX75TZ6.js} +1 -1
- package/dist/cdn/LRGOLZEK.js +2 -0
- package/dist/cdn/LZ6OXXTM.js +2 -0
- package/dist/cdn/{IBJPVXIV.js → N4Y4IVWT.js} +1 -1
- package/dist/cdn/N5725US7.js +2 -0
- package/dist/cdn/{2GVIO72I.js → NBZ37GX7.js} +1 -1
- package/dist/cdn/{LHJS25PA.js → ODU6JYNH.js} +1 -1
- package/dist/cdn/OR22OBUK.js +2 -0
- package/dist/cdn/{CTFG7BKR.js → OS5XNQXP.js} +1 -1
- package/dist/cdn/OUGIMZJ3.js +2 -0
- package/dist/cdn/OYQLEYK5.js +2 -0
- package/dist/cdn/P2PASM66.js +2 -0
- package/dist/cdn/{ZORTPH5J.js → PERDWZWY.js} +1 -1
- package/dist/cdn/PO6YL62I.js +2 -0
- package/dist/cdn/PQ6MRDKH.js +2 -0
- package/dist/cdn/{NHJS3MYI.js → Q4DOOVM7.js} +1 -1
- package/dist/cdn/Q4WATFR3.js +2 -0
- package/dist/cdn/QDYPYDT7.js +2 -0
- package/dist/cdn/QEVG42UL.js +2 -0
- package/dist/cdn/QEW6GSYQ.js +2 -0
- package/dist/cdn/QLODMQBD.js +2 -0
- package/dist/cdn/{4XVKHJ2X.js → QYVKOLJZ.js} +1 -1
- package/dist/cdn/RHG4MWDQ.js +2 -0
- package/dist/cdn/ROZEV7RT.js +2 -0
- package/dist/cdn/RRBGCYLX.js +2 -0
- package/dist/cdn/S3MNGCZD.js +2 -0
- package/dist/cdn/SIEIL7FM.js +2 -0
- package/dist/cdn/SN5B3KVW.js +2 -0
- package/dist/cdn/{YKOI3XVI.js → SRUYXOUG.js} +1 -1
- package/dist/cdn/SVFPRHA6.js +2 -0
- package/dist/cdn/T7YGUZSK.js +20 -0
- package/dist/cdn/TCRMJM5C.js +2 -0
- package/dist/cdn/{AYRJ7NYC.js → TJGNWJF6.js} +1 -1
- package/dist/cdn/TNDQWC77.js +2 -0
- package/dist/cdn/U5TTY3OC.js +2 -0
- package/dist/cdn/UR6MPMXC.js +2 -0
- package/dist/cdn/{5FEYYIAA.js → URTYW475.js} +1 -1
- package/dist/cdn/{YSW3EMMW.js → UTXN6YZB.js} +1 -1
- package/dist/cdn/V2AKOENX.js +2 -0
- package/dist/cdn/{NX4HQRQ4.js → V3KLQ5UF.js} +1 -1
- package/dist/cdn/VCZHUG3S.js +2 -0
- package/dist/cdn/{USPSQ6BJ.js → VSQINAGH.js} +1 -1
- package/dist/cdn/WB7RXQJA.js +2 -0
- package/dist/cdn/{TDXNMJRX.js → WBQQBVVC.js} +1 -1
- package/dist/cdn/WCZUTUTW.js +2 -0
- package/dist/cdn/WTNYMVTD.js +2 -0
- package/dist/cdn/{ZDW4YKG2.js → X4VMA74R.js} +1 -1
- package/dist/cdn/XF25BJXC.js +2 -0
- package/dist/cdn/{LWZSWEUH.js → XI5BUNVP.js} +1 -1
- package/dist/cdn/{ECJJHTCC.js → XIERF7M3.js} +1 -1
- package/dist/cdn/{RUGBI54D.js → XY2NGASJ.js} +1 -1
- package/dist/cdn/Y2BRPES3.js +2 -0
- package/dist/cdn/YDT6TQRJ.js +2 -0
- package/dist/cdn/YXTWPSNG.js +2 -0
- package/dist/cdn/{C3AM5CRL.js → YZOCZJGM.js} +1 -1
- package/dist/cdn/{RB45HFMH.js → Z2C6GGRO.js} +1 -1
- package/dist/cdn/{MTFZVNGV.js → ZDSKF5YJ.js} +1 -1
- package/dist/cdn/ZEIISDRS.js +2 -0
- package/dist/cdn/{PFUAK4OK.js → ZF366KLH.js} +1 -1
- package/dist/cdn/assets/icon/alignBottom16.json +1 -1
- package/dist/cdn/assets/icon/alignBottom24.json +1 -1
- package/dist/cdn/assets/icon/alignBottom32.json +1 -1
- package/dist/cdn/assets/icon/alignCenterHorizontal16.json +1 -1
- package/dist/cdn/assets/icon/alignCenterHorizontal24.json +1 -1
- package/dist/cdn/assets/icon/alignCenterHorizontal32.json +1 -1
- package/dist/cdn/assets/icon/alignCenterVertical16.json +1 -1
- package/dist/cdn/assets/icon/alignCenterVertical24.json +1 -1
- package/dist/cdn/assets/icon/alignCenterVertical32.json +1 -1
- package/dist/cdn/assets/icon/alignLeft16.json +1 -1
- package/dist/cdn/assets/icon/alignLeft24.json +1 -1
- package/dist/cdn/assets/icon/alignLeft32.json +1 -1
- package/dist/cdn/assets/icon/alignRight16.json +1 -1
- package/dist/cdn/assets/icon/alignRight24.json +1 -1
- package/dist/cdn/assets/icon/alignRight32.json +1 -1
- package/dist/cdn/assets/icon/alignTop16.json +1 -1
- package/dist/cdn/assets/icon/alignTop24.json +1 -1
- package/dist/cdn/assets/icon/alignTop32.json +1 -1
- package/dist/cdn/assets/icon/filterX16.json +1 -0
- package/dist/cdn/assets/icon/filterX24.json +1 -0
- package/dist/cdn/assets/icon/filterX32.json +1 -0
- package/dist/cdn/assets/icon/spaceBetweenHorizontal16.json +1 -1
- package/dist/cdn/assets/icon/stretchHorizontal16.json +1 -1
- package/dist/cdn/assets/icon/stretchHorizontal24.json +1 -1
- package/dist/cdn/assets/icon/stretchHorizontal32.json +1 -1
- package/dist/cdn/assets/icon/stretchVertical16.json +1 -1
- package/dist/cdn/assets/icon/stretchVertical24.json +1 -1
- package/dist/cdn/assets/icon/stretchVertical32.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +2 -2
- package/dist/chunks/aria.js +5 -0
- package/dist/chunks/dom.js +33 -32
- package/dist/chunks/header.js +1 -1
- package/dist/chunks/manager.js +13 -1
- package/dist/chunks/resources.js +1 -1
- package/dist/chunks/resources10.js +6 -56
- package/dist/chunks/resources11.js +21 -5
- package/dist/chunks/resources12.js +1 -1
- package/dist/chunks/resources13.js +1 -1
- package/dist/chunks/resources15.js +2 -3
- package/dist/chunks/resources17.js +1 -1
- package/dist/chunks/resources18.js +1 -1
- package/dist/chunks/resources2.js +18 -22
- package/dist/chunks/resources20.js +1 -1
- package/dist/chunks/resources21.js +1 -1
- package/dist/chunks/resources22.js +1 -1
- package/dist/chunks/resources23.js +1 -1
- package/dist/chunks/resources24.js +1 -1
- package/dist/chunks/resources25.js +1 -1
- package/dist/chunks/resources26.js +2 -3
- package/dist/chunks/resources27.js +1 -1
- package/dist/chunks/resources28.js +1 -1
- package/dist/chunks/resources29.js +1 -1
- package/dist/chunks/resources3.js +20 -18
- package/dist/chunks/resources30.js +1 -1
- package/dist/chunks/resources31.js +1 -1
- package/dist/chunks/resources32.js +1 -2
- package/dist/chunks/resources33.js +1 -1
- package/dist/chunks/resources34.js +1 -1
- package/dist/chunks/resources4.js +9 -19
- package/dist/chunks/resources5.js +19 -7
- package/dist/chunks/resources6.js +39 -13
- package/dist/chunks/resources7.js +20 -38
- package/dist/chunks/resources8.js +23 -21
- package/dist/chunks/resources9.js +52 -27
- package/dist/chunks/responsive.js +2 -2
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/sortable.js +1 -1
- package/dist/chunks/useFocusable.js +25 -2
- package/dist/chunks/useSizeOverride.js +2 -2
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils3.js +4 -4
- package/dist/chunks/utils4.js +1 -2
- package/dist/components/calcite-accordion/customElement.d.ts +1 -0
- package/dist/components/calcite-accordion/customElement.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.d.ts +2 -0
- package/dist/components/calcite-accordion-item/customElement.js +2 -2
- package/dist/components/calcite-action/customElement.d.ts +4 -1
- package/dist/components/calcite-action/customElement.js +3 -3
- package/dist/components/calcite-action-bar/customElement.d.ts +1 -0
- package/dist/components/calcite-action-bar/customElement.js +46 -15
- package/dist/components/calcite-action-group/customElement.d.ts +1 -0
- package/dist/components/calcite-action-group/customElement.js +5 -5
- package/dist/components/calcite-action-menu/customElement.js +6 -6
- package/dist/components/calcite-alert/customElement.js +4 -4
- package/dist/components/calcite-autocomplete/customElement.d.ts +1 -0
- package/dist/components/calcite-autocomplete/customElement.js +10 -10
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +2 -0
- package/dist/components/calcite-autocomplete-item/customElement.js +2 -2
- package/dist/components/calcite-autocomplete-item-group/customElement.d.ts +5 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +4 -4
- package/dist/components/calcite-avatar/customElement.js +1 -1
- package/dist/components/calcite-block/customElement.d.ts +1 -53
- package/dist/components/calcite-block/customElement.js +5 -34
- package/dist/components/calcite-block/index.js +1 -1
- package/dist/components/calcite-block-group/customElement.d.ts +4 -8
- package/dist/components/calcite-block-group/customElement.js +6 -7
- package/dist/components/calcite-block-section/customElement.d.ts +2 -0
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.d.ts +4 -1
- package/dist/components/calcite-button/customElement.js +7 -7
- package/dist/components/calcite-card/customElement.d.ts +1 -0
- package/dist/components/calcite-card/customElement.js +3 -3
- package/dist/components/calcite-card-group/customElement.d.ts +4 -1
- package/dist/components/calcite-card-group/customElement.js +4 -4
- package/dist/components/calcite-carousel/customElement.d.ts +4 -1
- package/dist/components/calcite-carousel/customElement.js +3 -3
- package/dist/components/calcite-carousel-item/customElement.d.ts +5 -1
- package/dist/components/calcite-checkbox/customElement.js +2 -2
- package/dist/components/calcite-chip/customElement.d.ts +1 -0
- package/dist/components/calcite-chip/customElement.js +3 -3
- package/dist/components/calcite-chip-group/customElement.d.ts +4 -1
- package/dist/components/calcite-chip-group/customElement.js +4 -4
- package/dist/components/calcite-color-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker/customElement.js +3 -3
- package/dist/components/calcite-color-picker-hex-input/customElement.js +2 -2
- package/dist/components/calcite-combobox/customElement.d.ts +1 -0
- package/dist/components/calcite-combobox/customElement.js +5 -5
- package/dist/components/calcite-combobox-item/customElement.d.ts +2 -0
- package/dist/components/calcite-combobox-item/customElement.js +2 -2
- package/dist/components/calcite-combobox-item-group/customElement.d.ts +5 -1
- package/dist/components/calcite-date-picker/customElement.js +2 -2
- package/dist/components/calcite-date-picker-day/customElement.js +2 -2
- package/dist/components/calcite-date-picker-month/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month-header/customElement.js +8 -5
- package/dist/components/calcite-dialog/customElement.d.ts +3 -1
- package/dist/components/calcite-dialog/customElement.js +8 -7
- package/dist/components/calcite-dropdown/customElement.d.ts +3 -4
- package/dist/components/calcite-dropdown/customElement.js +378 -103
- package/dist/components/calcite-dropdown-group/customElement.d.ts +5 -1
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.d.ts +6 -1
- package/dist/components/calcite-dropdown-item/customElement.js +13 -9
- package/dist/components/calcite-fab/customElement.d.ts +1 -0
- package/dist/components/calcite-fab/customElement.js +2 -2
- package/dist/components/calcite-filter/customElement.js +2 -2
- package/dist/components/calcite-flow/customElement.d.ts +4 -1
- package/dist/components/calcite-flow/customElement.js +3 -3
- package/dist/components/calcite-flow-item/customElement.d.ts +2 -0
- package/dist/components/calcite-flow-item/customElement.js +1 -1
- package/dist/components/calcite-graph/customElement.js +1 -1
- package/dist/components/calcite-icon/customElement.js +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +3 -3
- package/dist/components/calcite-input/customElement.d.ts +1 -0
- package/dist/components/calcite-input/customElement.js +3 -3
- package/dist/components/calcite-input-date-picker/customElement.d.ts +4 -7
- package/dist/components/calcite-input-date-picker/customElement.js +6 -6
- package/dist/components/calcite-input-message/customElement.d.ts +1 -1
- package/dist/components/calcite-input-message/customElement.js +2 -2
- package/dist/components/calcite-input-number/customElement.d.ts +1 -0
- package/dist/components/calcite-input-number/customElement.js +3 -3
- package/dist/components/calcite-input-text/customElement.d.ts +1 -0
- package/dist/components/calcite-input-text/customElement.js +3 -3
- package/dist/components/calcite-input-time-picker/customElement.d.ts +4 -1
- package/dist/components/calcite-input-time-picker/customElement.js +3 -3
- package/dist/components/calcite-input-time-zone/customElement.d.ts +4 -1
- package/dist/components/calcite-input-time-zone/customElement.js +3 -3
- package/dist/components/calcite-label/customElement.d.ts +1 -3
- package/dist/components/calcite-label/customElement.js +1 -1
- package/dist/components/calcite-link/customElement.js +2 -2
- package/dist/components/calcite-list/customElement.d.ts +3 -10
- package/dist/components/calcite-list/customElement.js +8 -8
- package/dist/components/calcite-list/index.js +1 -1
- package/dist/components/calcite-list-item/customElement.d.ts +13 -1
- package/dist/components/calcite-list-item/customElement.js +3 -3
- package/dist/components/calcite-list-item-group/customElement.d.ts +5 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.d.ts +0 -6
- package/dist/components/calcite-loader/customElement.js +1 -1
- package/dist/components/calcite-menu/customElement.d.ts +1 -0
- package/dist/components/calcite-menu/customElement.js +3 -3
- package/dist/components/calcite-menu-item/customElement.d.ts +5 -1
- package/dist/components/calcite-menu-item/customElement.js +3 -3
- package/dist/components/calcite-meter/customElement.js +2 -2
- package/dist/components/calcite-navigation/customElement.d.ts +1 -6
- package/dist/components/calcite-navigation/customElement.js +3 -3
- package/dist/components/calcite-navigation-logo/customElement.d.ts +4 -0
- package/dist/components/calcite-navigation-logo/customElement.js +2 -2
- package/dist/components/calcite-navigation-user/customElement.d.ts +4 -0
- package/dist/components/calcite-navigation-user/customElement.js +2 -2
- package/dist/components/calcite-notice/customElement.d.ts +1 -3
- package/dist/components/calcite-notice/customElement.js +4 -4
- package/dist/components/calcite-option/customElement.d.ts +4 -0
- package/dist/components/calcite-option-group/customElement.d.ts +5 -1
- package/dist/components/calcite-pagination/customElement.js +2 -2
- package/dist/components/calcite-panel/customElement.js +5 -5
- package/dist/components/calcite-popover/customElement.d.ts +2 -4
- package/dist/components/calcite-popover/customElement.js +2 -2
- package/dist/components/calcite-progress/customElement.js +1 -1
- package/dist/components/calcite-radio-button/customElement.d.ts +1 -0
- package/dist/components/calcite-radio-button/customElement.js +2 -2
- package/dist/components/calcite-radio-button-group/customElement.d.ts +1 -0
- package/dist/components/calcite-radio-button-group/customElement.js +1 -1
- package/dist/components/calcite-rating/customElement.js +8 -8
- package/dist/components/calcite-scrim/customElement.js +2 -2
- package/dist/components/calcite-segmented-control/customElement.d.ts +1 -2
- package/dist/components/calcite-segmented-control/customElement.js +3 -3
- package/dist/components/calcite-segmented-control-item/customElement.d.ts +4 -0
- package/dist/components/calcite-segmented-control-item/customElement.js +2 -2
- package/dist/components/calcite-select/customElement.d.ts +2 -3
- package/dist/components/calcite-select/customElement.js +3 -3
- package/dist/components/calcite-sheet/customElement.d.ts +4 -4
- package/dist/components/calcite-sheet/customElement.js +24 -20
- package/dist/components/calcite-shell/customElement.d.ts +1 -0
- package/dist/components/calcite-shell/customElement.js +5 -3
- package/dist/components/calcite-shell-panel/customElement.d.ts +7 -6
- package/dist/components/calcite-shell-panel/customElement.js +11 -3
- package/dist/components/calcite-shell-panel/types.d.ts +1 -1
- package/dist/components/calcite-slider/customElement.js +3 -3
- package/dist/components/calcite-sort-handle/customElement.js +2 -2
- package/dist/components/calcite-split-button/customElement.d.ts +5 -4
- package/dist/components/calcite-split-button/customElement.js +2 -2
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.d.ts +4 -1
- package/dist/components/calcite-stepper/customElement.js +2 -2
- package/dist/components/calcite-stepper-item/customElement.d.ts +5 -1
- package/dist/components/calcite-stepper-item/customElement.js +7 -6
- package/dist/components/calcite-swatch/customElement.d.ts +4 -1
- package/dist/components/calcite-swatch/customElement.js +2 -2
- package/dist/components/calcite-swatch-group/customElement.d.ts +4 -1
- package/dist/components/calcite-swatch-group/customElement.js +3 -3
- package/dist/components/calcite-switch/customElement.js +2 -2
- package/dist/components/calcite-tab/customElement.d.ts +5 -1
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-nav/customElement.d.ts +5 -1
- package/dist/components/calcite-tab-nav/customElement.js +1 -1
- package/dist/components/calcite-tab-title/customElement.d.ts +2 -0
- package/dist/components/calcite-tab-title/customElement.js +2 -2
- package/dist/components/calcite-table/customElement.d.ts +1 -0
- package/dist/components/calcite-table-cell/customElement.d.ts +5 -7
- package/dist/components/calcite-table-cell/customElement.js +2 -2
- package/dist/components/calcite-table-header/customElement.d.ts +4 -6
- package/dist/components/calcite-table-header/customElement.js +2 -2
- package/dist/components/calcite-table-row/customElement.d.ts +5 -7
- package/dist/components/calcite-table-row/customElement.js +2 -2
- package/dist/components/calcite-tabs/customElement.d.ts +1 -0
- package/dist/components/calcite-tabs/customElement.js +1 -1
- package/dist/components/calcite-text/customElement.js +7 -7
- package/dist/components/calcite-text-area/customElement.js +2 -2
- package/dist/components/calcite-tile/customElement.d.ts +1 -0
- package/dist/components/calcite-tile/customElement.js +2 -5
- package/dist/components/calcite-tile-group/customElement.d.ts +5 -3
- package/dist/components/calcite-tile-group/customElement.js +2 -2
- package/dist/components/calcite-time-picker/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.d.ts +2 -4
- package/dist/components/calcite-tooltip/customElement.js +2 -3
- package/dist/components/calcite-tree/customElement.d.ts +4 -1
- package/dist/components/calcite-tree/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.d.ts +2 -0
- package/dist/components/calcite-tree-item/customElement.js +3 -3
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +0 -44
- package/dist/loader.js +4 -9
- package/dist/types/lumina.d.ts +4 -43
- package/dist/types/preact.d.ts +4 -48
- package/dist/types/react.d.ts +4 -53
- package/dist/types/stencil.d.ts +4 -43
- package/package.json +18 -23
- package/dist/cdn/26EBQ7BO.js +0 -2
- package/dist/cdn/2IANBFM6.js +0 -2
- package/dist/cdn/2M4ETWZU.js +0 -2
- package/dist/cdn/2T5X3M5E.js +0 -2
- package/dist/cdn/3HO52NG7.js +0 -2
- package/dist/cdn/3MHENUIC.js +0 -2
- package/dist/cdn/4DKMSU6Z.js +0 -2
- package/dist/cdn/4DQBCTK5.js +0 -2
- package/dist/cdn/4SAOFK6O.js +0 -2
- package/dist/cdn/5FCTDL7G.js +0 -2
- package/dist/cdn/5PZI55YS.js +0 -2
- package/dist/cdn/5RSUVC46.js +0 -2
- package/dist/cdn/6LFASDRC.js +0 -2
- package/dist/cdn/6PT32OH7.js +0 -2
- package/dist/cdn/7AZBSCVZ.js +0 -2
- package/dist/cdn/A2325LH3.js +0 -2
- package/dist/cdn/A5OQTYIZ.js +0 -2
- package/dist/cdn/AM5SDT4L.js +0 -2
- package/dist/cdn/APFM3D76.js +0 -2
- package/dist/cdn/AR4ILRPR.js +0 -2
- package/dist/cdn/ASZIXWT4.js +0 -2
- package/dist/cdn/AYN5GLRO.js +0 -2
- package/dist/cdn/B3OV6FHO.js +0 -2
- package/dist/cdn/BULP7WVW.js +0 -2
- package/dist/cdn/BXP555XZ.js +0 -2
- package/dist/cdn/C2MPWA6Z.js +0 -2
- package/dist/cdn/C7B6A5F3.js +0 -2
- package/dist/cdn/CI3JJQR3.js +0 -2
- package/dist/cdn/CNCLROBO.js +0 -2
- package/dist/cdn/D4WV3TPQ.js +0 -2
- package/dist/cdn/DLDRJFX6.js +0 -2
- package/dist/cdn/DPEHAD62.js +0 -2
- package/dist/cdn/DXKAHRLD.js +0 -2
- package/dist/cdn/ECLCETW7.js +0 -2
- package/dist/cdn/EMYSYIHF.js +0 -2
- package/dist/cdn/FHJF5Y4W.js +0 -2
- package/dist/cdn/FI4ZJEGU.js +0 -2
- package/dist/cdn/FMOKCBXC.js +0 -2
- package/dist/cdn/FMPPIBGR.js +0 -2
- package/dist/cdn/FOSSJYES.js +0 -2
- package/dist/cdn/FUQZD45A.js +0 -2
- package/dist/cdn/GHOCOWAX.js +0 -2
- package/dist/cdn/GZU5JWQA.js +0 -2
- package/dist/cdn/HBHKWBSL.js +0 -2
- package/dist/cdn/HFZ3JBX3.js +0 -2
- package/dist/cdn/HT6S3JB2.js +0 -2
- package/dist/cdn/HVY5Z4ZE.js +0 -2
- package/dist/cdn/HXUZPY6M.js +0 -2
- package/dist/cdn/JBETQLOC.js +0 -2
- package/dist/cdn/JI5RWOTK.js +0 -2
- package/dist/cdn/K2U66OMX.js +0 -2
- package/dist/cdn/KW5O7Q5U.js +0 -2
- package/dist/cdn/KX37QNZL.js +0 -2
- package/dist/cdn/L63ZGIEN.js +0 -2
- package/dist/cdn/LIW4MPMT.js +0 -2
- package/dist/cdn/LY5CVPQW.js +0 -2
- package/dist/cdn/MB3HCDKS.js +0 -2
- package/dist/cdn/MC2WGZF2.js +0 -2
- package/dist/cdn/MHVBIP37.js +0 -2
- package/dist/cdn/MYNMXCYR.js +0 -4
- package/dist/cdn/NBOQAXNF.js +0 -2
- package/dist/cdn/NFEQJBP7.js +0 -4
- package/dist/cdn/NND3XN2F.js +0 -2
- package/dist/cdn/NO7JSF6I.js +0 -2
- package/dist/cdn/NQXLVDN3.js +0 -2
- package/dist/cdn/NRM2HPFP.js +0 -2
- package/dist/cdn/NSBFWMM5.js +0 -2
- package/dist/cdn/O6ITPHGB.js +0 -2
- package/dist/cdn/OSRHBE57.js +0 -2
- package/dist/cdn/P24NAPP2.js +0 -2
- package/dist/cdn/PAYXHDGS.js +0 -2
- package/dist/cdn/PF6KXJAD.js +0 -2
- package/dist/cdn/PQHCV2EH.js +0 -2
- package/dist/cdn/PTMEHJYU.js +0 -2
- package/dist/cdn/QBUNYICS.js +0 -2
- package/dist/cdn/QK3PJQSP.js +0 -2
- package/dist/cdn/R32U6GR5.js +0 -2
- package/dist/cdn/R7Q4B474.js +0 -2
- package/dist/cdn/RL2726VB.js +0 -2
- package/dist/cdn/RPHVGK24.js +0 -2
- package/dist/cdn/RTXMXTD7.js +0 -2
- package/dist/cdn/SSBVIDHX.js +0 -2
- package/dist/cdn/SYUTHN7P.js +0 -2
- package/dist/cdn/T2XWF65H.js +0 -2
- package/dist/cdn/TAY7CE7Q.js +0 -2
- package/dist/cdn/TLPTHUUB.js +0 -2
- package/dist/cdn/TOVIKNP3.js +0 -2
- package/dist/cdn/UDRROY4Z.js +0 -2
- package/dist/cdn/UETAH5YG.js +0 -2
- package/dist/cdn/UMCOVSS6.js +0 -2
- package/dist/cdn/V4VVCJQQ.js +0 -2
- package/dist/cdn/V6OVHKAM.js +0 -2
- package/dist/cdn/VL7QTJSE.js +0 -2
- package/dist/cdn/VML2B6QT.js +0 -2
- package/dist/cdn/W66DG22M.js +0 -20
- package/dist/cdn/W7JWDUOG.js +0 -2
- package/dist/cdn/WLMEAMND.js +0 -2
- package/dist/cdn/WQEXBVCY.js +0 -2
- package/dist/cdn/WXQ55QAU.js +0 -2
- package/dist/cdn/XBD4VBNH.js +0 -2
- package/dist/cdn/XDPHHPWF.js +0 -2
- package/dist/cdn/XXKKP6IQ.js +0 -2
- package/dist/cdn/YF7W5TNY.js +0 -2
- package/dist/cdn/YUXLFP7T.js +0 -2
- package/dist/cdn/YV4JKSOA.js +0 -2
- package/dist/cdn/YYMBFIIY.js +0 -2
- package/dist/cdn/ZB6NPHER.js +0 -2
- package/dist/cdn/ZCB6BGVI.js +0 -2
- package/dist/cdn/ZEOYQETG.js +0 -2
- package/dist/cdn/assets/action-pad/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/action-pad/t9n/messages.zh-TW.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.ar.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.bg.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.bs.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.ca.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.cs.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.da.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.de.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.el.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.en.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.es.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.et.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.fi.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.fr.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.he.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.hr.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.hu.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.id.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.it.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.ja.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.ko.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.lt.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.lv.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.nl.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.no.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.pl.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.pt-BR.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.pt-PT.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.ro.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.ru.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.sk.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.sl.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.sr.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.sv.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.th.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.tr.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.uk.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.vi.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.zh-CN.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.zh-HK.json +0 -1
- package/dist/cdn/assets/handle/t9n/messages.zh-TW.json +0 -1
- package/dist/chunks/ExpandToggle.js +0 -48
- package/dist/components/calcite-action-pad/customElement.d.ts +0 -96
- package/dist/components/calcite-action-pad/customElement.js +0 -185
- package/dist/components/calcite-action-pad/index.d.ts +0 -1
- package/dist/components/calcite-action-pad/index.js +0 -3
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +0 -25
- package/dist/components/calcite-color-picker-swatch/customElement.js +0 -104
- package/dist/components/calcite-color-picker-swatch/index.d.ts +0 -1
- package/dist/components/calcite-color-picker-swatch/index.js +0 -1
- package/dist/components/calcite-focus-trap/customElement.d.ts +0 -53
- package/dist/components/calcite-focus-trap/customElement.js +0 -61
- package/dist/components/calcite-focus-trap/index.d.ts +0 -1
- package/dist/components/calcite-focus-trap/index.js +0 -1
- package/dist/components/calcite-handle/customElement.d.ts +0 -66
- package/dist/components/calcite-handle/customElement.js +0 -128
- package/dist/components/calcite-handle/index.d.ts +0 -1
- package/dist/components/calcite-handle/index.js +0 -2
- package/dist/components/calcite-handle/types.d.ts +0 -3
- package/dist/components/calcite-list/resources.d.ts +0 -1
- package/dist/components/calcite-sortable-list/customElement.d.ts +0 -52
- package/dist/components/calcite-sortable-list/customElement.js +0 -133
- package/dist/components/calcite-sortable-list/index.d.ts +0 -1
- package/dist/components/calcite-sortable-list/index.js +0 -1
- /package/dist/cdn/{ZZDNIBT7.js → 2IM7ZZ7U.js} +0 -0
- /package/dist/cdn/{NYT7VOUO.js → TIIRIEHJ.js} +0 -0
package/dist/types/stencil.d.ts
CHANGED
|
@@ -5,7 +5,6 @@ import type { Action } from "../components/calcite-action/customElement.js";
|
|
|
5
5
|
import type { ActionBar } from "../components/calcite-action-bar/customElement.js";
|
|
6
6
|
import type { ActionGroup } from "../components/calcite-action-group/customElement.js";
|
|
7
7
|
import type { ActionMenu } from "../components/calcite-action-menu/customElement.js";
|
|
8
|
-
import type { ActionPad } from "../components/calcite-action-pad/customElement.js";
|
|
9
8
|
import type { Alert } from "../components/calcite-alert/customElement.js";
|
|
10
9
|
import type { Autocomplete } from "../components/calcite-autocomplete/customElement.js";
|
|
11
10
|
import type { AutocompleteItem } from "../components/calcite-autocomplete-item/customElement.js";
|
|
@@ -24,7 +23,6 @@ import type { Chip } from "../components/calcite-chip/customElement.js";
|
|
|
24
23
|
import type { ChipGroup } from "../components/calcite-chip-group/customElement.js";
|
|
25
24
|
import type { ColorPicker } from "../components/calcite-color-picker/customElement.js";
|
|
26
25
|
import type { ColorPickerHexInput } from "../components/calcite-color-picker-hex-input/customElement.js";
|
|
27
|
-
import type { ColorPickerSwatch } from "../components/calcite-color-picker-swatch/customElement.js";
|
|
28
26
|
import type { Combobox } from "../components/calcite-combobox/customElement.js";
|
|
29
27
|
import type { ComboboxItem } from "../components/calcite-combobox-item/customElement.js";
|
|
30
28
|
import type { ComboboxItemGroup } from "../components/calcite-combobox-item-group/customElement.js";
|
|
@@ -39,9 +37,7 @@ import type { Fab } from "../components/calcite-fab/customElement.js";
|
|
|
39
37
|
import type { Filter } from "../components/calcite-filter/customElement.js";
|
|
40
38
|
import type { Flow } from "../components/calcite-flow/customElement.js";
|
|
41
39
|
import type { FlowItem } from "../components/calcite-flow-item/customElement.js";
|
|
42
|
-
import type { FocusTrap } from "../components/calcite-focus-trap/customElement.js";
|
|
43
40
|
import type { Graph } from "../components/calcite-graph/customElement.js";
|
|
44
|
-
import type { Handle } from "../components/calcite-handle/customElement.js";
|
|
45
41
|
import type { Icon } from "../components/calcite-icon/customElement.js";
|
|
46
42
|
import type { InlineEditable } from "../components/calcite-inline-editable/customElement.js";
|
|
47
43
|
import type { Input } from "../components/calcite-input/customElement.js";
|
|
@@ -82,7 +78,6 @@ import type { Shell } from "../components/calcite-shell/customElement.js";
|
|
|
82
78
|
import type { ShellPanel } from "../components/calcite-shell-panel/customElement.js";
|
|
83
79
|
import type { Slider } from "../components/calcite-slider/customElement.js";
|
|
84
80
|
import type { SortHandle } from "../components/calcite-sort-handle/customElement.js";
|
|
85
|
-
import type { SortableList } from "../components/calcite-sortable-list/customElement.js";
|
|
86
81
|
import type { SplitButton } from "../components/calcite-split-button/customElement.js";
|
|
87
82
|
import type { Stack } from "../components/calcite-stack/customElement.js";
|
|
88
83
|
import type { Stepper } from "../components/calcite-stepper/customElement.js";
|
|
@@ -140,12 +135,6 @@ interface StencilCalciteActionMenu extends Required<Pick<ActionMenu, "label">>,
|
|
|
140
135
|
onCalciteInternalActionMenuActionsChange?: EventHandler<ActionMenu["calciteInternalActionMenuActionsChange"]>;
|
|
141
136
|
}
|
|
142
137
|
|
|
143
|
-
interface StencilCalciteActionPad extends Partial<Pick<ActionPad, "actionsEndGroupLabel" | "expandDisabled" | "expanded" | "layout" | "messageOverrides" | "overlayPositioning" | "position" | "scale" | "selectionAppearance">>, StencilJsx.HTMLAttributes<ActionPad> {
|
|
144
|
-
onCalciteActionPadCollapse?: EventHandler<ActionPad["calciteActionPadCollapse"]>;
|
|
145
|
-
onCalciteActionPadExpand?: EventHandler<ActionPad["calciteActionPadExpand"]>;
|
|
146
|
-
onCalciteActionPadToggle?: EventHandler<ActionPad["calciteActionPadToggle"]>;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
138
|
interface StencilCalciteAlert extends Required<Pick<Alert, "label">>, Partial<Pick<Alert, "autoClose" | "autoCloseDuration" | "icon" | "iconFlipRtl" | "kind" | "messageOverrides" | "numberingSystem" | "open" | "placement" | "queue" | "scale" | "topLayerDisabled">>, StencilJsx.HTMLAttributes<Alert> {
|
|
150
139
|
onCalciteAlertBeforeClose?: EventHandler<Alert["calciteAlertBeforeClose"]>;
|
|
151
140
|
onCalciteAlertBeforeOpen?: EventHandler<Alert["calciteAlertBeforeOpen"]>;
|
|
@@ -174,23 +163,17 @@ interface StencilCalciteAvatar extends Partial<Pick<Avatar, "fullName" | "label"
|
|
|
174
163
|
}
|
|
175
164
|
|
|
176
165
|
interface StencilCalciteBlock extends Partial<Pick<Block, "collapsible" | "description" | "disabled" | "dragDisabled" | "dragHandle" | "expandable" | "expanded" | "heading" | "headingLevel" | "iconEnd" | "iconFlipRtl" | "iconStart" | "label" | "loading" | "menuFlipPlacements" | "menuPlacement" | "messageOverrides" | "open" | "overlayPositioning" | "scale" | "sortHandleOpen" | "status" | "toggleDisplay" | "topLayerDisabled">>, StencilJsx.HTMLAttributes<Block> {
|
|
177
|
-
onCalciteBlockBeforeClose?: EventHandler<Block["calciteBlockBeforeClose"]>;
|
|
178
|
-
onCalciteBlockBeforeOpen?: EventHandler<Block["calciteBlockBeforeOpen"]>;
|
|
179
|
-
onCalciteBlockClose?: EventHandler<Block["calciteBlockClose"]>;
|
|
180
166
|
onCalciteBlockCollapse?: EventHandler<Block["calciteBlockCollapse"]>;
|
|
181
167
|
onCalciteBlockExpand?: EventHandler<Block["calciteBlockExpand"]>;
|
|
182
|
-
onCalciteBlockOpen?: EventHandler<Block["calciteBlockOpen"]>;
|
|
183
168
|
onCalciteBlockSortHandleBeforeClose?: EventHandler<Block["calciteBlockSortHandleBeforeClose"]>;
|
|
184
169
|
onCalciteBlockSortHandleBeforeOpen?: EventHandler<Block["calciteBlockSortHandleBeforeOpen"]>;
|
|
185
170
|
onCalciteBlockSortHandleClose?: EventHandler<Block["calciteBlockSortHandleClose"]>;
|
|
186
171
|
onCalciteBlockSortHandleOpen?: EventHandler<Block["calciteBlockSortHandleOpen"]>;
|
|
187
|
-
onCalciteBlockToggle?: EventHandler<Block["calciteBlockToggle"]>;
|
|
188
172
|
}
|
|
189
173
|
|
|
190
174
|
interface StencilCalciteBlockGroup extends Required<Pick<BlockGroup, "label">>, Partial<Pick<BlockGroup, "canPull" | "canPut" | "disabled" | "dragEnabled" | "expandMode" | "group" | "loading" | "scale" | "sortDisabled">>, StencilJsx.HTMLAttributes<BlockGroup> {
|
|
191
175
|
onCalciteBlockGroupDragEnd?: EventHandler<BlockGroup["calciteBlockGroupDragEnd"]>;
|
|
192
176
|
onCalciteBlockGroupDragStart?: EventHandler<BlockGroup["calciteBlockGroupDragStart"]>;
|
|
193
|
-
onCalciteBlockGroupMoveHalt?: EventHandler<BlockGroup["calciteBlockGroupMoveHalt"]>;
|
|
194
177
|
onCalciteBlockGroupOrderChange?: EventHandler<BlockGroup["calciteBlockGroupOrderChange"]>;
|
|
195
178
|
}
|
|
196
179
|
|
|
@@ -200,7 +183,7 @@ interface StencilCalciteBlockSection extends Partial<Pick<BlockSection, "expande
|
|
|
200
183
|
onCalciteBlockSectionToggle?: EventHandler<BlockSection["calciteBlockSectionToggle"]>;
|
|
201
184
|
}
|
|
202
185
|
|
|
203
|
-
interface StencilCalciteButton extends Partial<Pick<Button, "alignment" | "appearance" | "disabled" | "download" | "form" | "href" | "iconEnd" | "iconFlipRtl" | "iconStart" | "kind" | "label" | "loading" | "messageOverrides" | "name" | "rel" | "round" | "scale" | "splitChild" | "target" | "type" | "width">>, StencilJsx.HTMLAttributes<Button> {
|
|
186
|
+
interface StencilCalciteButton extends Partial<Pick<Button, "alignment" | "appearance" | "aria" | "disabled" | "download" | "form" | "href" | "iconEnd" | "iconFlipRtl" | "iconStart" | "kind" | "label" | "loading" | "messageOverrides" | "name" | "rel" | "round" | "scale" | "splitChild" | "target" | "type" | "width">>, StencilJsx.HTMLAttributes<Button> {
|
|
204
187
|
}
|
|
205
188
|
|
|
206
189
|
interface StencilCalciteCard extends Partial<Pick<Card, "disabled" | "label" | "loading" | "messageOverrides" | "scale" | "selectable" | "selected" | "thumbnailPosition">>, StencilJsx.HTMLAttributes<Card> {
|
|
@@ -244,9 +227,6 @@ interface StencilCalciteColorPickerHexInput extends Partial<Pick<ColorPickerHexI
|
|
|
244
227
|
onCalciteColorPickerHexInputChange?: EventHandler<ColorPickerHexInput["calciteColorPickerHexInputChange"]>;
|
|
245
228
|
}
|
|
246
229
|
|
|
247
|
-
interface StencilCalciteColorPickerSwatch extends Partial<Pick<ColorPickerSwatch, "active" | "color" | "scale">>, StencilJsx.HTMLAttributes<ColorPickerSwatch> {
|
|
248
|
-
}
|
|
249
|
-
|
|
250
230
|
interface StencilCalciteCombobox extends Required<Pick<Combobox, "label">>, Partial<Pick<Combobox, "allowCustomValues" | "clearDisabled" | "disabled" | "filterProps" | "filterText" | "flipPlacements" | "form" | "labelText" | "maxItems" | "messageOverrides" | "name" | "open" | "overlayPositioning" | "placeholder" | "placeholderIcon" | "placeholderIconFlipRtl" | "placement" | "readOnly" | "required" | "scale" | "selectAllEnabled" | "selectionAppearance" | "selectionDisplay" | "selectionMode" | "status" | "topLayerDisabled" | "validationIcon" | "validationMessage" | "value">>, StencilJsx.HTMLAttributes<Combobox> {
|
|
251
231
|
onCalciteComboboxBeforeClose?: EventHandler<Combobox["calciteComboboxBeforeClose"]>;
|
|
252
232
|
onCalciteComboboxBeforeOpen?: EventHandler<Combobox["calciteComboboxBeforeOpen"]>;
|
|
@@ -275,7 +255,7 @@ interface StencilCalciteDatePickerDay extends Required<Pick<DatePickerDay, "day"
|
|
|
275
255
|
interface StencilCalciteDatePickerMonth extends Partial<Pick<DatePickerMonth, "activeDate" | "calendars" | "endDate" | "headingLevel" | "hoverRange" | "max" | "min" | "monthStyle" | "range" | "scale" | "selectedDate" | "startDate">>, StencilJsx.HTMLAttributes<DatePickerMonth> {
|
|
276
256
|
}
|
|
277
257
|
|
|
278
|
-
interface StencilCalciteDialog extends Partial<Pick<Dialog, "beforeClose" | "closeDisabled" | "description" | "dragEnabled" | "escapeDisabled" | "focusTrapDisabled" | "focusTrapOptions" | "fullscreenDisabled" | "heading" | "headingLevel" | "icon" | "iconFlipRtl" | "kind" | "loading" | "menuOpen" | "messageOverrides" | "modal" | "open" | "outsideCloseDisabled" | "overlayPositioning" | "placement" | "resizable" | "scale" | "topLayerDisabled" | "width" | "widthScale">>, StencilJsx.HTMLAttributes<Dialog> {
|
|
258
|
+
interface StencilCalciteDialog extends Partial<Pick<Dialog, "aria" | "beforeClose" | "closeDisabled" | "description" | "dragEnabled" | "escapeDisabled" | "focusTrapDisabled" | "focusTrapOptions" | "fullscreenDisabled" | "heading" | "headingLevel" | "icon" | "iconFlipRtl" | "kind" | "loading" | "menuOpen" | "messageOverrides" | "modal" | "open" | "outsideCloseDisabled" | "overlayPositioning" | "placement" | "resizable" | "scale" | "topLayerDisabled" | "width" | "widthScale">>, StencilJsx.HTMLAttributes<Dialog> {
|
|
279
259
|
onCalciteDialogBeforeClose?: EventHandler<Dialog["calciteDialogBeforeClose"]>;
|
|
280
260
|
onCalciteDialogBeforeOpen?: EventHandler<Dialog["calciteDialogBeforeOpen"]>;
|
|
281
261
|
onCalciteDialogClose?: EventHandler<Dialog["calciteDialogClose"]>;
|
|
@@ -317,18 +297,9 @@ interface StencilCalciteFlowItem extends Partial<Pick<FlowItem, "beforeBack" | "
|
|
|
317
297
|
onCalciteFlowItemToggle?: EventHandler<FlowItem["calciteFlowItemToggle"]>;
|
|
318
298
|
}
|
|
319
299
|
|
|
320
|
-
interface StencilCalciteFocusTrap extends Partial<Pick<FocusTrap, "focusTrapDisabled" | "focusTrapDisabledOverride" | "focusTrapOptions">>, StencilJsx.HTMLAttributes<FocusTrap> {
|
|
321
|
-
onCalciteFocusTrapActiveChange?: EventHandler<FocusTrap["calciteFocusTrapActiveChange"]>;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
300
|
interface StencilCalciteGraph extends Required<Pick<Graph, "max" | "min">>, Partial<Pick<Graph, "colorStops" | "data" | "highlightMax" | "highlightMin">>, StencilJsx.HTMLAttributes<Graph> {
|
|
325
301
|
}
|
|
326
302
|
|
|
327
|
-
interface StencilCalciteHandle extends Partial<Pick<Handle, "disabled" | "dragHandle" | "messageOverrides" | "selected">>, StencilJsx.HTMLAttributes<Handle> {
|
|
328
|
-
onCalciteHandleChange?: EventHandler<Handle["calciteHandleChange"]>;
|
|
329
|
-
onCalciteHandleNudge?: EventHandler<Handle["calciteHandleNudge"]>;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
303
|
interface StencilCalciteIcon extends Partial<Pick<Icon, "flipRtl" | "icon" | "preload" | "scale" | "textLabel">>, StencilJsx.HTMLAttributes<Icon> {
|
|
333
304
|
}
|
|
334
305
|
|
|
@@ -399,11 +370,10 @@ interface StencilCalciteList extends Required<Pick<List, "label">>, Partial<Pick
|
|
|
399
370
|
onCalciteListDragEnd?: EventHandler<List["calciteListDragEnd"]>;
|
|
400
371
|
onCalciteListDragStart?: EventHandler<List["calciteListDragStart"]>;
|
|
401
372
|
onCalciteListFilter?: EventHandler<List["calciteListFilter"]>;
|
|
402
|
-
onCalciteListMoveHalt?: EventHandler<List["calciteListMoveHalt"]>;
|
|
403
373
|
onCalciteListOrderChange?: EventHandler<List["calciteListOrderChange"]>;
|
|
404
374
|
}
|
|
405
375
|
|
|
406
|
-
interface StencilCalciteListItem extends Partial<Pick<ListItem, "closable" | "closed" | "description" | "disabled" | "dragDisabled" | "expanded" | "iconEnd" | "iconFlipRtl" | "iconStart" | "label" | "messageOverrides" | "metadata" | "open" | "scale" | "selected" | "sortHandleOpen" | "topLayerDisabled" | "unavailable" | "value">>, StencilJsx.HTMLAttributes<ListItem> {
|
|
376
|
+
interface StencilCalciteListItem extends Partial<Pick<ListItem, "closable" | "closed" | "description" | "disabled" | "dragDisabled" | "expanded" | "iconEnd" | "iconFlipRtl" | "iconStart" | "label" | "messageOverrides" | "metadata" | "open" | "scale" | "selected" | "selectionAppearance" | "sortHandleOpen" | "topLayerDisabled" | "unavailable" | "value">>, StencilJsx.HTMLAttributes<ListItem> {
|
|
407
377
|
onCalciteListItemClose?: EventHandler<ListItem["calciteListItemClose"]>;
|
|
408
378
|
onCalciteListItemCollapse?: EventHandler<ListItem["calciteListItemCollapse"]>;
|
|
409
379
|
onCalciteListItemExpand?: EventHandler<ListItem["calciteListItemExpand"]>;
|
|
@@ -502,7 +472,7 @@ interface StencilCalciteSelect extends Required<Pick<Select, "label">>, Partial<
|
|
|
502
472
|
onCalciteSelectChange?: EventHandler<Select["calciteSelectChange"]>;
|
|
503
473
|
}
|
|
504
474
|
|
|
505
|
-
interface StencilCalciteSheet extends Required<Pick<Sheet, "label">>, Partial<Pick<Sheet, "beforeClose" | "displayMode" | "escapeDisabled" | "focusTrapDisabled" | "focusTrapOptions" | "height" | "heightScale" | "messageOverrides" | "
|
|
475
|
+
interface StencilCalciteSheet extends Required<Pick<Sheet, "label">>, Partial<Pick<Sheet, "beforeClose" | "displayMode" | "escapeDisabled" | "focusTrapDisabled" | "focusTrapOptions" | "height" | "heightScale" | "messageOverrides" | "modal" | "open" | "outsideCloseDisabled" | "position" | "resizable" | "topLayerDisabled" | "width" | "widthScale">>, StencilJsx.HTMLAttributes<Sheet> {
|
|
506
476
|
onCalciteSheetBeforeClose?: EventHandler<Sheet["calciteSheetBeforeClose"]>;
|
|
507
477
|
onCalciteSheetBeforeOpen?: EventHandler<Sheet["calciteSheetBeforeOpen"]>;
|
|
508
478
|
onCalciteSheetClose?: EventHandler<Sheet["calciteSheetClose"]>;
|
|
@@ -532,10 +502,6 @@ interface StencilCalciteSortHandle extends Partial<Pick<SortHandle, "addToItems"
|
|
|
532
502
|
onCalciteSortHandleReorder?: EventHandler<SortHandle["calciteSortHandleReorder"]>;
|
|
533
503
|
}
|
|
534
504
|
|
|
535
|
-
interface StencilCalciteSortableList extends Partial<Pick<SortableList, "canPull" | "canPut" | "disabled" | "dragSelector" | "group" | "handleSelector" | "layout" | "loading">>, StencilJsx.HTMLAttributes<SortableList> {
|
|
536
|
-
onCalciteListOrderChange?: EventHandler<SortableList["calciteListOrderChange"]>;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
505
|
interface StencilCalciteSplitButton extends Partial<Pick<SplitButton, "appearance" | "disabled" | "download" | "dropdownIconType" | "dropdownLabel" | "flipPlacements" | "href" | "kind" | "loading" | "overlayPositioning" | "placement" | "primaryIconEnd" | "primaryIconFlipRtl" | "primaryIconStart" | "primaryLabel" | "primaryText" | "rel" | "scale" | "target" | "topLayerDisabled" | "width">>, StencilJsx.HTMLAttributes<SplitButton> {
|
|
540
506
|
onCalciteSplitButtonPrimaryClick?: EventHandler<SplitButton["calciteSplitButtonPrimaryClick"]>;
|
|
541
507
|
onCalciteSplitButtonSecondaryClick?: EventHandler<SplitButton["calciteSplitButtonSecondaryClick"]>;
|
|
@@ -638,7 +604,6 @@ interface ExposedElements {
|
|
|
638
604
|
"calcite-action-bar": StencilCalciteActionBar;
|
|
639
605
|
"calcite-action-group": StencilCalciteActionGroup;
|
|
640
606
|
"calcite-action-menu": StencilCalciteActionMenu;
|
|
641
|
-
"calcite-action-pad": StencilCalciteActionPad;
|
|
642
607
|
"calcite-alert": StencilCalciteAlert;
|
|
643
608
|
"calcite-autocomplete": StencilCalciteAutocomplete;
|
|
644
609
|
"calcite-autocomplete-item": StencilCalciteAutocompleteItem;
|
|
@@ -657,7 +622,6 @@ interface ExposedElements {
|
|
|
657
622
|
"calcite-chip-group": StencilCalciteChipGroup;
|
|
658
623
|
"calcite-color-picker": StencilCalciteColorPicker;
|
|
659
624
|
"calcite-color-picker-hex-input": StencilCalciteColorPickerHexInput;
|
|
660
|
-
"calcite-color-picker-swatch": StencilCalciteColorPickerSwatch;
|
|
661
625
|
"calcite-combobox": StencilCalciteCombobox;
|
|
662
626
|
"calcite-combobox-item": StencilCalciteComboboxItem;
|
|
663
627
|
"calcite-combobox-item-group": StencilCalciteComboboxItemGroup;
|
|
@@ -672,9 +636,7 @@ interface ExposedElements {
|
|
|
672
636
|
"calcite-filter": StencilCalciteFilter;
|
|
673
637
|
"calcite-flow": StencilCalciteFlow;
|
|
674
638
|
"calcite-flow-item": StencilCalciteFlowItem;
|
|
675
|
-
"calcite-focus-trap": StencilCalciteFocusTrap;
|
|
676
639
|
"calcite-graph": StencilCalciteGraph;
|
|
677
|
-
"calcite-handle": StencilCalciteHandle;
|
|
678
640
|
"calcite-icon": StencilCalciteIcon;
|
|
679
641
|
"calcite-inline-editable": StencilCalciteInlineEditable;
|
|
680
642
|
"calcite-input": StencilCalciteInput;
|
|
@@ -715,7 +677,6 @@ interface ExposedElements {
|
|
|
715
677
|
"calcite-shell-panel": StencilCalciteShellPanel;
|
|
716
678
|
"calcite-slider": StencilCalciteSlider;
|
|
717
679
|
"calcite-sort-handle": StencilCalciteSortHandle;
|
|
718
|
-
"calcite-sortable-list": StencilCalciteSortableList;
|
|
719
680
|
"calcite-split-button": StencilCalciteSplitButton;
|
|
720
681
|
"calcite-stack": StencilCalciteStack;
|
|
721
682
|
"calcite-stepper": StencilCalciteStepper;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@esri/calcite-components",
|
|
3
|
-
"version": "6.0.0-next.
|
|
3
|
+
"version": "6.0.0-next.30",
|
|
4
4
|
"description": "Web Components for Esri's Calcite Design System.",
|
|
5
5
|
"homepage": "https://developers.arcgis.com/calcite-design-system/",
|
|
6
6
|
"repository": {
|
|
@@ -33,12 +33,11 @@
|
|
|
33
33
|
"THIRD-PARTY-NOTICES.md"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@arcgis/lumina": ">=
|
|
37
|
-
"@arcgis/toolkit": ">=
|
|
38
|
-
"@esri/calcite-design-tokens": "
|
|
39
|
-
"@esri/calcite-ui-icons": "4.7.0-next.
|
|
36
|
+
"@arcgis/lumina": ">=6.0.0-next.16 <7.0.0",
|
|
37
|
+
"@arcgis/toolkit": ">=6.0.0-next.16 <7.0.0",
|
|
38
|
+
"@esri/calcite-design-tokens": "5.0.0-next.1",
|
|
39
|
+
"@esri/calcite-ui-icons": "4.7.0-next.3",
|
|
40
40
|
"@floating-ui/dom": "^1.8.0",
|
|
41
|
-
"@floating-ui/utils": "^0.2.8",
|
|
42
41
|
"@interactjs/types": "^1.10.27",
|
|
43
42
|
"@types/sortablejs": "^1.15.8",
|
|
44
43
|
"color": "^5.0.3",
|
|
@@ -53,38 +52,34 @@
|
|
|
53
52
|
"type-fest": "^4.30.1"
|
|
54
53
|
},
|
|
55
54
|
"devDependencies": {
|
|
56
|
-
"@arcgis/api-extractor": ">=
|
|
57
|
-
"@arcgis/eslint-config": ">=
|
|
58
|
-
"@arcgis/lumina-compiler": ">=
|
|
55
|
+
"@arcgis/api-extractor": ">=6.0.0-next.16 <7.0.0",
|
|
56
|
+
"@arcgis/eslint-config": ">=6.0.0-next.16 <7.0.0",
|
|
57
|
+
"@arcgis/lumina-compiler": ">=6.0.0-next.16 <7.0.0",
|
|
59
58
|
"@cloudfour/simple-svg-placeholder": "1.2.0",
|
|
60
|
-
"@esri/calcite-tailwind-preset": "1.
|
|
59
|
+
"@esri/calcite-tailwind-preset": "1.2.0-next.3",
|
|
61
60
|
"@esri/calcite-typescript-config": "0.0.1-next.7",
|
|
62
61
|
"@esri/eslint-config-calcite": "0.0.1-next.14",
|
|
63
|
-
"@esri/eslint-plugin-calcite-components": "2.0.5-next.
|
|
62
|
+
"@esri/eslint-plugin-calcite-components": "2.0.5-next.1",
|
|
64
63
|
"@esri/stylelint-plugin-calcite-components": "0.3.0-next.0",
|
|
65
64
|
"@storybook/addon-a11y": "10.3.6",
|
|
66
65
|
"@storybook/addon-docs": "10.3.6",
|
|
67
66
|
"@storybook/addon-themes": "10.3.6",
|
|
68
67
|
"@storybook/builder-vite": "10.3.6",
|
|
69
68
|
"@storybook/html": "10.3.6",
|
|
70
|
-
"@storybook/web-components": "10.3.6",
|
|
71
69
|
"@storybook/web-components-vite": "10.3.6",
|
|
72
70
|
"@types/cloudfour__simple-svg-placeholder": "1.1.2",
|
|
73
|
-
"@types/dedent": "0.7.2",
|
|
74
71
|
"@types/jest-axe": "3.5.9",
|
|
75
72
|
"@types/node": "24.10.0",
|
|
76
73
|
"@vitest/browser-playwright": "4.1.11",
|
|
77
74
|
"@vitest/coverage-v8": "4.1.11",
|
|
78
|
-
"@vitest/eslint-plugin": "1.6.
|
|
75
|
+
"@vitest/eslint-plugin": "1.6.28",
|
|
79
76
|
"@whitespace/storybook-addon-html": "9.0.0",
|
|
80
|
-
"autoprefixer": "10.6.
|
|
77
|
+
"autoprefixer": "10.6.2",
|
|
81
78
|
"axe-core": "4.13.0",
|
|
82
|
-
"browserslist": "4.29.
|
|
83
|
-
"chalk": "5.6.2",
|
|
79
|
+
"browserslist": "4.29.5",
|
|
84
80
|
"change-case": "5.4.4",
|
|
85
81
|
"chromatic": "16.6.3",
|
|
86
|
-
"concurrently": "9.2.
|
|
87
|
-
"cpy": "12.1.0",
|
|
82
|
+
"concurrently": "9.2.5",
|
|
88
83
|
"cpy-cli": "6.0.0",
|
|
89
84
|
"csstype": "3.2.3",
|
|
90
85
|
"dedent": "1.7.2",
|
|
@@ -94,19 +89,19 @@
|
|
|
94
89
|
"eslint-plugin-unused-imports": "4.4.1",
|
|
95
90
|
"gh-pages": "6.3.0",
|
|
96
91
|
"globals": "17.6.0",
|
|
97
|
-
"globby": "16.2.
|
|
98
|
-
"happy-dom": "
|
|
92
|
+
"globby": "16.2.4",
|
|
93
|
+
"happy-dom": "21.0.4",
|
|
99
94
|
"jest-axe": "10.0.0",
|
|
100
95
|
"lint-staged": "16.4.0",
|
|
101
96
|
"markdownlint-cli2": "0.22.1",
|
|
102
97
|
"playwright": "1.62.1",
|
|
103
|
-
"postcss": "8.5.
|
|
98
|
+
"postcss": "8.5.32",
|
|
104
99
|
"postcss-scss": "4.0.9",
|
|
105
100
|
"prettier": "3.8.4",
|
|
106
101
|
"puppeteer": "23.4.1",
|
|
107
102
|
"rimraf": "6.1.3",
|
|
108
103
|
"sass-embedded": "1.104.1",
|
|
109
|
-
"storybook": "10.
|
|
104
|
+
"storybook": "10.6.2",
|
|
110
105
|
"storybook-addon-rtl": "3.0.1",
|
|
111
106
|
"stylelint": "17.13.0",
|
|
112
107
|
"stylelint-config-recommended-scss": "17.0.1",
|
package/dist/cdn/26EBQ7BO.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{j as L}from"./BULP7WVW.js";import{a as v}from"./MAWTYBZ2.js";import"./JN6YLTUP.js";import{a as T}from"./FDHY2TZA.js";import{a as M}from"./DUT6OG3U.js";import"./R32U6GR5.js";import"./6LFASDRC.js";import{t as V}from"./2M4ETWZU.js";import{E as u,F as m,G as k,H as b,I as p,T as C,g as z,h}from"./MYNMXCYR.js";var r={container:"container",fill:"fill",stepLine:"step-line",label:"label",labelHidden:"label-hidden",labelRange:"label-range",labelValue:"label-value",unitLabel:"unit-label",stepsVisible:"steps-visible",valueVisible:"value-visible",success:"fill-success",warning:"fill-warning",danger:"fill-danger"},N=z`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host{display:flex;--calcite-internal-meter-space: var(--calcite-theme-space-base, var(--calcite-spacing-base));--calcite-internal-meter-height: var(--calcite-theme-space-lg, var(--calcite-spacing-lg));--calcite-internal-meter-font-size: var(--calcite-font-size--1);--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand));--calcite-internal-meter-background-color: var( --calcite-meter-background-color, var(--calcite-theme-color-surface-3, var(--calcite-color-foreground-2)) );--calcite-internal-meter-border-color: var(--calcite-meter-border-color, var(--calcite-color-border-2));--calcite-internal-meter-shadow: var(--calcite-meter-shadow, var(--calcite-shadow-none));--calcite-internal-meter-corner-radius: var(--calcite-meter-corner-radius, 9999px);--calcite-internal-meter-value-text-color: var(--calcite-meter-value-text-color, var(--calcite-color-text-1));--calcite-internal-meter-range-text-color: var(--calcite-meter-range-text-color, var(--calcite-color-text-3));--calcite-internal-meter-label-line-height: var(--calcite-font-line-height-base)}:host([scale=s]){--calcite-internal-meter-height: var(--calcite-theme-space-md, var(--calcite-spacing-md));--calcite-internal-meter-font-size: var(--calcite-font-size--2)}:host([scale=l]){--calcite-internal-meter-height: var(--calcite-theme-space-2xl, var(--calcite-spacing-xxl));--calcite-internal-meter-font-size: var(--calcite-font-size-0);--calcite-internal-meter-label-line-height: var(--calcite-font-line-height-md)}:host([appearance=solid]){--calcite-internal-meter-border-color: var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3));--calcite-internal-meter-background-color: var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3))}:host([appearance=outline]){--calcite-internal-meter-background-color: transparent}.fill{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-brand))}.fill-danger{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-danger))}.fill-success{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-success))}.fill-warning{--calcite-internal-meter-fill-color: var(--calcite-meter-fill-color, var(--calcite-color-status-warning))}.container{position:relative;display:flex;align-items:center;margin:0;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-internal-meter-height);background-color:var(--calcite-internal-meter-background-color);border:var(--calcite-border-width-sm) solid var(--calcite-internal-meter-border-color);border-radius:var(--calcite-internal-meter-corner-radius);box-shadow:var(--calcite-internal-meter-shadow)}.value-visible{margin-block-start:var(--calcite-theme-space-2xl, var(--calcite-spacing-xxl))}.steps-visible{margin-block-end:var(--calcite-theme-space-2xl, var(--calcite-spacing-xxl))}.step-line{position:absolute;inset-block:0px;display:block;inline-size:var(--calcite-internal-meter-space);background-color:var(--calcite-internal-meter-border-color)}.label{position:absolute;display:flex;gap:var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs));font-size:var(--calcite-internal-meter-font-size);line-height:var(--calcite-internal-meter-label-line-height)}.label-hidden{visibility:hidden;opacity:0}.label-value{inset-block-end:calc(100% + .5em);font-weight:var(--calcite-font-weight-bold);color:var(--calcite-internal-meter-value-text-color)}.label-range{color:var(--calcite-internal-meter-range-text-color);inset-block-start:calc(100% + .5em)}.label-range .unit-label{font-weight:var(--calcite-font-weight-medium)}.fill{position:absolute;z-index:var(--calcite-z-index);display:block;transition-timing-function:cubic-bezier(.4,0,.2,1);inset-inline-start:var(--calcite-internal-meter-space);inset-block:var(--calcite-internal-meter-space);border-radius:var(--calcite-internal-meter-corner-radius);max-inline-size:calc(100% - var(--calcite-internal-meter-space) * 2);min-inline-size:calc(var(--calcite-internal-meter-height) - var(--calcite-internal-meter-space) * 2);background-color:var(--calcite-internal-meter-fill-color);transition-property:inline-size,background-color,box-shadow}.solid .fill{inset-block:0;inset-inline-start:0;max-inline-size:100%;min-inline-size:calc(var(--calcite-internal-meter-height));box-shadow:0 0 0 1px var(--calcite-internal-meter-fill-color)}`,y=class extends k{constructor(){super(...arguments),this.highLabelRef=u(),this.labelFlipMax=.8,this.labelFlipProximity=.15,this.lowLabelRef=u(),this.maxLabelRef=u(),this.maxPercent=100,this.messages=M({name:null}),this.meterContainerRef=u(),this.minLabelRef=u(),this.minPercent=0,this.resizeObserver=T("resize",()=>this.resizeHandler()),this.valueLabelRef=u(),this.currentPercent=0,this.highActive=!1,this.highPercent=100,this.lowActive=!1,this.lowPercent=0,this.appearance="outline-fill",this.disabled=!1,this.fillType="range",this.groupSeparator=!1,this.max=100,this.min=0,this.rangeLabelType="percent",this.rangeLabels=!1,this.scale="m",this.unitLabel="",this.valueLabel=!1,this.valueLabelType="percent"}static{this.properties={currentPercent:[16,{},{state:!0}],highActive:[16,{},{state:!0}],highPercent:[16,{},{state:!0}],lowActive:[16,{},{state:!0}],lowPercent:[16,{},{state:!0}],appearance:[3,{},{reflect:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],fillType:[3,{},{reflect:!0}],form:[3,{},{reflect:!0}],groupSeparator:[7,{},{reflect:!0,type:Boolean}],high:[11,{},{reflect:!0,type:Number}],label:1,low:[11,{},{reflect:!0,type:Number}],max:[11,{},{reflect:!0,type:Number}],min:[11,{},{reflect:!0,type:Number}],name:[3,{},{reflect:!0}],numberingSystem:1,rangeLabelType:[3,{},{reflect:!0}],rangeLabels:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],unitLabel:1,value:[9,{},{type:Number}],valueLabel:[7,{},{reflect:!0,type:Boolean}],valueLabelType:[3,{},{reflect:!0}]}}static{this.styles=N}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}load(){this.calculateValues()}willUpdate(e){(e.has("min")&&(this.hasUpdated||this.min!==0)||e.has("max")&&(this.hasUpdated||this.max!==100)||e.has("low")||e.has("high")||e.has("value"))&&this.handleRangeChange(),(e.has("rangeLabels")&&(this.hasUpdated||this.rangeLabels!==!1)||e.has("rangeLabelType")&&(this.hasUpdated||this.rangeLabelType!=="percent")||e.has("unitLabel")&&(this.hasUpdated||this.unitLabel!=="")||e.has("valueLabel")&&(this.hasUpdated||this.valueLabel!==!1)||e.has("valueLabelType")&&(this.hasUpdated||this.valueLabelType!=="percent"))&&this.updateLabels()}loaded(){this.updateLabels()}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}handleRangeChange(){this.calculateValues(),this.updateLabels()}resizeHandler(){this.updateLabels()}updateLabels(){this.determineValueLabelPosition(),this.determineVisibleLabels()}calculateValues(){let{min:e,max:a,low:t,high:l,value:i}=this,n=t===void 0?NaN:100*(t-e)/(a-e),s=l===void 0?NaN:100*(l-e)/(a-e),c=i===void 0?NaN:100*(i-e)/(a-e);(!t||t<e||l!==void 0&&t>l||t>a)&&(this.low=e),(!l||l>a||t!==void 0&&l<t||l<e)&&(this.high=a),i||(this.value=e),this.lowPercent=n,this.highPercent=s,this.currentPercent=i?c:0,this.lowActive=!!t&&t>e&&(!i||t>i)&&(!l||t<l),this.highActive=!!l&&e<=l&&l<a&&(!i||l>i)&&(!t||l>t)}formatLabel(e,a){if(a==="percent"){if(!this.percentFormatting){let t=this.messages._lang,l=new Intl.NumberFormat(t,{useGrouping:this.groupSeparator,style:"percent"});this.percentFormatting={formatter:l,locale:t}}return this.percentFormatting.formatter.format(e)}else return L.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},L.localize(e.toString())}getMeterKindCssClass(){let{low:e,high:a,min:t,max:l,value:i}=this,n=e||t,s=a||l,c=i!==void 0&&i>=n,d=i!==void 0&&i<n,f=i!==void 0&&i>=s,o=i!==void 0&&i<s;return!i||!e&&o||d?r.success:c&&o?r.warning:f?r.danger:r.success}intersects(e,a){return!!(e&&a&&V(e.getBoundingClientRect(),a.getBoundingClientRect()))}determineVisibleLabels(){if(!this.rangeLabels)return;let{minLabelRef:{value:e},lowLabelRef:{value:a},highLabelRef:{value:t},maxLabelRef:{value:l}}=this,i=this.intersects(t,l),n=this.intersects(a,t),s=this.intersects(a,l),c=this.intersects(e,t),d=this.intersects(e,a),f=this.intersects(e,l),o=r.labelHidden;a&&(d||s||n?a.classList.add(o):a.classList.remove(o)),t&&(c||s||i?t.classList.add(o):t.classList.remove(o)),e&&l&&(f?l.classList.add(o):l.classList.remove(o))}determineValueLabelPosition(){let{valueLabelRef:{value:e},meterContainerRef:{value:a},currentPercent:t}=this;if(!e||!a)return;let l=t>100?100:t>0?t:0,i=e.getBoundingClientRect().width,n=a.getBoundingClientRect().width,s=100*(i-0)/(n-0);l+s>=100?(e.style.insetInlineEnd="0%",e.style.removeProperty("inset-inline-start")):(e.style.insetInlineStart=`${l}% `,e.style.removeProperty("inset-inline-end"))}renderMeterFill(){let{currentPercent:e,fillType:a}=this,t=this.getMeterKindCssClass();return h`<div class=${b({[r.fill]:!0,[t]:a!=="single"})} style=${p({width:`${e}%`})}></div>`}renderRangeLine(e){let a={insetInlineStart:`${e}%`};return h`<div class=${b(r.stepLine)} style=${p(a)}></div>`}renderValueLabel(){let{currentPercent:e,valueLabelType:a,unitLabel:t,value:l}=this,i=this.formatLabel(a==="percent"?e/100:l||0,a);return v("low-label-line",h`<div class=${b({[r.label]:!0,[r.labelValue]:!0})} ${m(this.valueLabelRef)}>${i}${t&&a!=="percent"&&h`<span class=${b(r.unitLabel)}>${t}</span>`||""}</div>`)}renderMinLabel(){let{rangeLabelType:e,min:a,minPercent:t,unitLabel:l}=this,i={insetInlineStart:`${t}%`},n=this.formatLabel(e==="percent"?t:a,e);return v("min-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${p(i)} ${m(this.minLabelRef)}>${n}${l&&e!=="percent"&&h`<span class=${b(r.unitLabel)}>${l}</span>`||""}</div>`)}renderLowLabel(){let{rangeLabelType:e,low:a,lowPercent:t,highPercent:l,labelFlipProximity:i}=this,n=a?this.formatLabel(e==="percent"?t/100:a,e):"",s={insetInlineStart:`${t}%`},c={insetInlineEnd:`${100-t}%`},d=(l-t)/100<i?c:s;return v("low-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${p(d)} ${m(this.lowLabelRef)}>${n}</div>`)}renderHighLabel(){let{rangeLabelType:e,high:a,highPercent:t,labelFlipMax:l}=this,i=a?this.formatLabel(e==="percent"?t/100:a,e):"",n={insetInlineStart:`${t}%`},s={insetInlineEnd:`${100-t}%`},c=t/100>=l?s:n;return v("high-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${p(c)} ${m(this.highLabelRef)}>${i}</div>`)}renderMaxLabel(){let{rangeLabelType:e,max:a,maxPercent:t}=this,l={insetInlineEnd:`${100-t}%`},i=this.formatLabel(e==="percent"?t/100:a,e);return v("max-label-line",h`<div class=${b({[r.label]:!0,[r.labelRange]:!0})} style=${p(l)} ${m(this.maxLabelRef)}>${i}</div>`)}render(){let{appearance:e,currentPercent:a,highActive:t,highPercent:l,label:i,lowActive:n,lowPercent:s,max:c,maxPercent:d,min:f,minPercent:o,rangeLabels:g,rangeLabelType:x,unitLabel:w,value:$,valueLabel:P,valueLabelType:R}=this,S=this.formatLabel(a/100,"percent"),F=`${$} ${w}`;return h`<div .ariaLabel=${i} .ariaValueMax=${x==="percent"?d:c} .ariaValueMin=${x==="percent"?o:f} .ariaValueNow=${R==="percent"?a:$} .ariaValueText=${R==="percent"?S:w?F:void 0} class=${b({[r.container]:!0,[r.stepsVisible]:g,[r.valueVisible]:P,[e]:e!=="outline-fill"})} role=meter ${m(this.meterContainerRef)}>${this.renderMeterFill()}${P&&this.renderValueLabel()||""}${n&&this.renderRangeLine(s)||""}${t&&this.renderRangeLine(l)||""}${g&&this.renderMinLabel()||""}${g&&n&&this.renderLowLabel()||""}${g&&t&&this.renderHighLabel()||""}${g&&this.renderMaxLabel()||""}</div>`}};C("calcite-meter",y);export{y as Meter};
|
package/dist/cdn/2IANBFM6.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as u}from"./PLYFLSNW.js";import{a as p}from"./HXUZPY6M.js";import"./VMHJHFFS.js";import"./R32U6GR5.js";import"./6LFASDRC.js";import"./2M4ETWZU.js";import{G as l,H as t,L as s,T as d,g as c,h as n,p as r}from"./MYNMXCYR.js";var o={container:"container",dividerContainer:"divider-container",divider:"divider"},h={trigger:"trigger"},e={chevronDown:"chevronDown",caretDown:"caretDown",ellipsis:"ellipsis",handleVertical:"handle-vertical"},b=c`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([width=auto]){inline-size:auto}:host([width=half]){inline-size:50%}:host([width=full]){inline-size:100%}:host([kind=brand]){--calcite-internal-split-button-divider-border-color: var(--calcite-color-brand);--calcite-internal-split-button-divider-color: var( --calcite-theme-color-surface-2, var(--calcite-color-foreground-1) )}:host([kind=danger]){--calcite-internal-split-button-divider-border-color: var(--calcite-color-status-danger);--calcite-internal-split-button-divider-color: var( --calcite-theme-color-surface-2, var(--calcite-color-foreground-1) )}:host([kind=neutral]){--calcite-internal-split-button-divider-border-color: var( --calcite-theme-color-surface-4, var(--calcite-color-foreground-3) );--calcite-internal-split-button-divider-color: var(--calcite-color-text-1)}:host([kind=inverse]){--calcite-internal-split-button-divider-border-color: var(--calcite-color-inverse);--calcite-internal-split-button-divider-color: var( --calcite-theme-color-surface-2, var(--calcite-color-foreground-1) )}:host([appearance=transparent]){--calcite-internal-split-button-divider-border-color: transparent}:host([appearance=transparent]):host([kind=brand]){--calcite-internal-split-button-divider-color: var(--calcite-color-brand)}:host([appearance=transparent]):host([kind=danger]){--calcite-internal-split-button-divider-color: var(--calcite-color-status-danger)}:host([appearance=transparent]):host([kind=neutral]){--calcite-internal-split-button-divider-color: var(--calcite-color-text-1)}:host([appearance=transparent]):host([kind=inverse]){--calcite-internal-split-button-divider-color: var( --calcite-theme-color-surface-2, var(--calcite-color-foreground-1) )}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline]):host([kind=danger]),:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline]):host([kind=inverse]){--calcite-internal-split-button-divider-border-color: transparent}:host([appearance=outline-fill]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-divider-border-color: var( --calcite-theme-color-surface-1, var(--calcite-color-background) )}:host([appearance=outline]):host([kind=brand]),:host([appearance=outline-fill]):host([kind=brand]){--calcite-internal-split-button-divider-color: var(--calcite-color-brand)}:host([appearance=outline]):host([kind=danger]),:host([appearance=outline-fill]):host([kind=danger]){--calcite-internal-split-button-divider-color: var(--calcite-color-status-danger)}:host([appearance=outline]):host([kind=neutral]),:host([appearance=outline-fill]):host([kind=neutral]){--calcite-internal-split-button-divider-color: var(--calcite-color-border-1)}:host([appearance=outline]):host([kind=inverse]),:host([appearance=outline-fill]):host([kind=inverse]){--calcite-internal-split-button-divider-color: var(--calcite-color-inverse)}.container{display:flex;align-items:stretch}.container>calcite-dropdown>calcite-button{block-size:100%;vertical-align:top}.divider-container{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;display:flex;inline-size:1px;align-items:stretch;background-color:var(--calcite-split-button-divider-color, var(--calcite-internal-split-button-divider-border-color))}.divider{margin-block:.25rem;display:inline-block;inline-size:1px;background-color:var(--calcite-split-button-divider-border-color, var(--calcite-internal-split-button-divider-color))}:host([appearance=outline-fill]) .divider-container,:host([appearance=outline]) .divider-container{border-block:1px solid var(--calcite-internal-split-button-divider-color)}:host([appearance=outline-fill]):hover .divider-container,:host([appearance=outline]):hover .divider-container{background-color:var(--calcite-internal-split-button-divider-color)}:host([appearance=outline-fill]:hover) .divider-container,:host([appearance=outline]:hover) .divider-container{background-color:var(--calcite-internal-split-button-divider-color)}:host([appearance=outline-fill]:focus-within):host([kind=brand]),:host([appearance=outline]:focus-within):host([kind=brand]){--calcite-internal-split-button-divider-color: var(--calcite-color-brand-press)}:host([appearance=outline-fill]:focus-within):host([kind=danger]),:host([appearance=outline]:focus-within):host([kind=danger]){--calcite-internal-split-button-divider-color: var(--calcite-color-danger-press)}:host([appearance=outline-fill]:focus-within) .divider-container,:host([appearance=outline]:focus-within) .divider-container{background-color:var(--calcite-internal-split-button-divider-color)}calcite-button[split-child=primary],calcite-button[split-child=secondary]{--calcite-button-background-color: var(--calcite-split-button-background-color);--calcite-button-border-color: var(--calcite-split-button-border-color);--calcite-button-text-color: var(--calcite-split-button-text-color);--calcite-button-icon-color: var(--calcite-split-button-icon-color);--calcite-button-loading-color: var(--calcite-split-button-loading-color);--calcite-button-shadow: var(--calcite-split-button-shadow)}calcite-button[split-child=primary]:hover,calcite-button[split-child=secondary]:hover{--calcite-button-background-color: var(--calcite-split-button-background-color-hover)}calcite-button[split-child=primary]:focus,calcite-button[split-child=secondary]:focus{--calcite-button-background-color: var(--calcite-split-button-background-color-focus)}calcite-button[split-child=primary]:active,calcite-button[split-child=secondary]:active{--calcite-button-background-color: var(--calcite-split-button-background-color-press)}calcite-button[split-child=primary]{--calcite-button-corner-radius: var(--calcite-split-button-corner-radius, var(--calcite-corner-radius)) var(--calcite-corner-radius-none) var(--calcite-corner-radius-none) var(--calcite-split-button-corner-radius, var(--calcite-corner-radius))}calcite-button[split-child=secondary]{--calcite-button-corner-radius: var(--calcite-corner-radius-none) var(--calcite-split-button-corner-radius, var(--calcite-corner-radius)) var(--calcite-split-button-corner-radius, var(--calcite-corner-radius)) var(--calcite-corner-radius-none)}calcite-dropdown{--calcite-dropdown-shadow: var(--calcite-split-button-dropdown-shadow);--calcite-dropdown-background-color: var(--calcite-split-button-dropdown-background-color);--calcite-dropdown-width: var(--calcite-split-button-dropdown-width)}:host([disabled]) calcite-dropdown>calcite-button{pointer-events:none}:host([disabled]):host([appearance=outline-fill]) .divider-container{background-color:var(--calcite-theme-color-surface-1, var(--calcite-color-background))}:host([disabled]):host([appearance=outline]) .divider-container{background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends l{constructor(){super(...arguments),this.focusSetter=p()(this),this.interactiveContainer=u(this),this.active=!1,this.appearance="solid",this.disabled=!1,this.download=!1,this.dropdownIconType="chevron",this.kind="brand",this.loading=!1,this.overlayPositioning="absolute",this.placement="bottom-end",this.scale="m",this.topLayerDisabled=!1,this.width="auto",this.calciteSplitButtonPrimaryClick=r({cancelable:!1}),this.calciteSplitButtonSecondaryClick=r({cancelable:!1})}static{this.properties={active:[7,{},{reflect:!0,type:Boolean}],appearance:[3,{},{reflect:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],download:[3,{converter:s},{reflect:!0}],dropdownIconType:[3,{},{reflect:!0}],dropdownLabel:[3,{},{reflect:!0}],flipPlacements:[0,{},{attribute:!1}],href:[3,{},{reflect:!0}],kind:[3,{},{reflect:!0}],loading:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],rel:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],primaryIconEnd:[3,{},{reflect:!0}],primaryIconFlipRtl:[3,{},{reflect:!0}],primaryIconStart:[3,{},{reflect:!0}],primaryLabel:[3,{},{reflect:!0}],primaryText:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],target:[3,{},{reflect:!0}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],width:[3,{},{reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=b}get dropdownIcon(){return this.dropdownIconType==="chevron"?e.chevronDown:this.dropdownIconType==="caret"?e.caretDown:this.dropdownIconType==="ellipsis"?e.ellipsis:e.handleVertical}async setFocus(i){return this.focusSetter(()=>this.el,i)}calciteSplitButtonPrimaryClickHandler(){this.calciteSplitButtonPrimaryClick.emit()}calciteSplitButtonSecondaryClickHandler(){this.calciteSplitButtonSecondaryClick.emit()}render(){let i=this.width==="auto"?"auto":"full";return this.interactiveContainer({disabled:this.disabled,children:n`<div class=${t(o.container)}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .download=${this.download} .href=${this.href} .iconEnd=${this.primaryIconEnd} .iconFlipRtl=${this.primaryIconFlipRtl} .iconStart=${this.primaryIconStart} .kind=${this.kind} .label=${this.primaryLabel} .loading=${this.loading} @click=${this.calciteSplitButtonPrimaryClickHandler} .rel=${this.rel} .scale=${this.scale} split-child=primary .target=${this.target} type=button .width=${i}>${this.primaryText}</calcite-button><div class=${t(o.dividerContainer)}><div class=${t(o.divider)}></div></div><calcite-dropdown .disabled=${this.disabled} .flipPlacements=${this.flipPlacements} @click=${this.calciteSplitButtonSecondaryClickHandler} .open=${this.active} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} .widthScale=${this.scale}><calcite-button .appearance=${this.appearance} .disabled=${this.disabled} .iconStart=${this.dropdownIcon} .kind=${this.kind} .label=${this.dropdownLabel} .scale=${this.scale} slot=${h.trigger} split-child=secondary type=button></calcite-button><slot></slot></calcite-dropdown></div>`})}};d("calcite-split-button",a);export{a as SplitButton};
|
package/dist/cdn/2M4ETWZU.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
var N=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","area[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"],b=N.join(","),E=typeof Element>"u",d=E?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,v=!E&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},g=function(t,r){var n;r===void 0&&(r=!0);var i=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),o=i===""||i==="true",a=o||r&&t&&(typeof t.closest=="function"?t.closest("[inert]"):g(t.parentNode));return a},q=function(t){var r,n=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return n===""||n==="true"},C=function(t,r,n){if(g(t))return[];var i=Array.prototype.slice.apply(t.querySelectorAll(b));return r&&d.call(t,b)&&i.unshift(t),i=i.filter(n),i},y=function(t,r,n){for(var i=[],o=Array.from(t);o.length;){var a=o.shift();if(!g(a,!1))if(a.tagName==="SLOT"){var s=a.assignedElements(),c=s.length?s:a.children,u=y(c,!0,n);n.flatten?i.push.apply(i,u):i.push({scopeParent:a,candidates:u})}else{var f=d.call(a,b);f&&n.filter(a)&&(r||!t.includes(a))&&i.push(a);var l=a.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(a),h=!g(l,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(l&&h){var T=y(l===!0?a.children:l.children,!0,n);n.flatten?i.push.apply(i,T):i.push({scopeParent:a,candidates:T})}else o.unshift.apply(o,a.children)}}return i},x=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},I=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||q(t))&&!x(t)?0:t.tabIndex},L=function(t,r){var n=I(t);return n<0&&r&&!x(t)?0:n},W=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},A=function(t){return t.tagName==="INPUT"},G=function(t){return A(t)&&t.type==="hidden"},U=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},j=function(t,r){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===r)return t[n]},V=function(t){if(!t.name)return!0;var r=t.form||v(t),n=function(s){return r.querySelectorAll('input[type="radio"][name="'+s+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=n(window.CSS.escape(t.name));else try{i=n(t.name)}catch(a){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",a.message),!1}var o=j(i,t.form);return!o||o===t},X=function(t){return A(t)&&t.type==="radio"},z=function(t){return X(t)&&!V(t)},H=function(t){var r,n=t&&v(t),i=(r=n)===null||r===void 0?void 0:r.host,o=!1;if(n&&n!==t){var a,s,c;for(o=!!((a=i)!==null&&a!==void 0&&(s=a.ownerDocument)!==null&&s!==void 0&&s.contains(i)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!o&&i;){var u,f,l;n=v(i),i=(u=n)===null||u===void 0?void 0:u.host,o=!!((f=i)!==null&&f!==void 0&&(l=f.ownerDocument)!==null&&l!==void 0&&l.contains(i))}}return o},w=function(t){var r=t.getBoundingClientRect(),n=r.width,i=r.height;return n===0&&i===0},Z=function(t,r){var n=r.displayCheck,i=r.getShadowRoot;if(n==="full-native"&&"checkVisibility"in t){var o=t.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});return!o}var a=getComputedStyle(t),s=a.visibility;if(s==="hidden"||s==="collapse")return!0;var c=d.call(t,"details>summary:first-of-type"),u=c?t.parentElement:t;if(d.call(u,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="full-native"||n==="legacy-full"){if(typeof i=="function"){for(var f=t;t;){var l=t.parentElement,h=v(t);if(l&&!l.shadowRoot&&i(l)===!0)return w(t);t.assignedSlot?t=t.assignedSlot:!l&&h!==t.ownerDocument?t=h.host:t=l}t=f}if(H(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return w(t);return!1},K=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var i=r.children.item(n);if(i.tagName==="LEGEND")return d.call(r,"fieldset[disabled] *")?!0:!i.contains(t)}return!0}r=r.parentElement}return!1},p=function(t,r){return!(r.disabled||G(r)||Z(r,t)||U(r)||K(r))},S=function(t,r){return!(z(r)||I(r)<0||!p(t,r))},Y=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},F=function(t){var r=[],n=[];return t.forEach(function(i,o){var a=!!i.scopeParent,s=a?i.scopeParent:i,c=L(s,a),u=a?F(i.candidates):s;c===0?a?r.push.apply(r,u):r.push(s):n.push({documentOrder:o,tabIndex:c,item:i,isScope:a,content:u})}),n.sort(W).reduce(function(i,o){return o.isScope?i.push.apply(i,o.content):i.push(o.content),i},[]).concat(r)},R=function(t,r){r=r||{};var n;return r.getShadowRoot?n=y([t],r.includeContainer,{filter:S.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:Y}):n=C(t,r.includeContainer,S.bind(null,r)),F(n)},D=function(t,r){r=r||{};var n;return r.getShadowRoot?n=y([t],r.includeContainer,{filter:p.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):n=C(t,r.includeContainer,p.bind(null,r)),n},ht=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return d.call(t,b)===!1?!1:S(r,t)},J=N.concat("iframe:not([inert]):not([inert] *)").join(","),bt=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return d.call(t,J)===!1?!1:p(r,t)};var P={getShadowRoot:!0};function yt(e){return Array.isArray(e)?e:Array.from(e)}function pt(e){let t=window.getComputedStyle(e).colorScheme.split(" "),r=t.includes("dark"),n=t.includes("light");return r!==n?r?"dark":"light":window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function St(e){return e?parseFloat(getComputedStyle(e).inlineSize):0}function m(e){return e.getRootNode()}function mt(e){let t=m(e);return"host"in t?t:null}function Tt(e,t,r){if(!e)return 0;let i=document.createElement("canvas").getContext("2d");return i.font=t,i.letterSpacing=r||"normal",i.measureText(e).width}function M(e){return e.host||null}function Q(e,{selector:t,id:r}){if(!e)return null;e.assignedSlot&&(e=e.assignedSlot);let n=m(e),i=r?"getElementById"in n?n.getElementById(r):null:t?n.querySelector(t):null;if(i)return i;let o=M(n);return o?Q(o,{selector:t,id:r}):null}function $(e,t){if(!e)return null;let r=e.closest(t);if(r)return r;let n=M(m(e));return n?$(n,t):null}function _(e){return typeof e?.setFocus=="function"}async function tt(e,t=!1,r="tabbable",n,i){return e?_(e)&&n!==e?e.setFocus(i):(r==="tabbable"?rt:it)(e,t,i):void 0}function et(e,t){if(e)return R(e,{...P,includeContainer:t})[0]??e}function rt(e,t,r){et(e,t)?.focus(r)}function nt(e,t){if(e)return D(e,{...P,includeContainer:t})[0]??e}function it(e,t,r){nt(e,t)?.focus(r)}function wt(e,t){return Array.from(e.children).filter(r=>r.matches(t))}function at(e,t){return e.filter(r=>r.matches(t))}function Nt(e,t,r){if(typeof t=="string"&&t!=="")return t;if(t===""||t===!0)return e[r]}function Et(e,t){return!(t.left>e.right||t.right<e.left||t.top>e.bottom||t.bottom<e.top)}function Ct(e){return lt(e)||ut(e)}function ot(e){return st(e).filter(t=>t.nodeType===Node.TEXT_NODE).map(t=>t.textContent).join("").trim()}function xt(e){for(let t of e.childNodes)if(t.nodeType===Node.TEXT_NODE&&t.textContent?.trim()!==""||t.nodeType===Node.ELEMENT_NODE)return!0;return!1}function ut(e){return!!ot(e)}function st(e){return e.currentTarget.assignedNodes({flatten:!0})}function lt(e){return!!ct(e).length}function ct(e,t){return ft(e.currentTarget,t)}function ft(e,t){let r=e.assignedElements({flatten:!0});return t?at(r,t):r}function It(e){return!!(e.isPrimary&&e.button===0)}function At(e){return e.detail===0}var Ft=(e,t,r,n=!0,i=!0,o=!1)=>{let a=e.indexOf(t),s=a===0,c=a===e.length-1;n&&(r=r==="previous"&&s?"last":r==="next"&&c?"first":r);let u;return r==="previous"?u=e[a-1]||e[n?e.length-1:a]:r==="next"?u=e[a+1]||e[n?0:a]:r==="last"?u=e[e.length-1]:u=e[0],tt(u,i,"tabbable",o?u:void 0),u};function Rt(e,t){if(!e.parentNode||!t.parentNode||e.parentNode!==t.parentNode)return!1;let r=Array.from(e.parentNode.children);return r.indexOf(e)<r.indexOf(t)}async function Dt(e,t){return B(e,t,"animation")}async function Ot(e,t){return B(e,t,"transition")}function O(e,t,r){return e.getAnimations().find(n=>t==="transition"?"transitionProperty"in n&&n.transitionProperty===r:"animationName"in n&&n.animationName===r)}async function B(e,t,r){let n=O(e,r,t);if(n||(await dt(),n=O(e,r,t)),!!n)try{await n.finished}catch{}}async function dt(){await new Promise(e=>requestAnimationFrame(()=>e()))}function kt(e){return e.endsWith("px")?parseFloat(e):e.endsWith("vw")?k(parseFloat(e),window.innerWidth):e.endsWith("vh")?k(parseFloat(e),window.innerHeight):0}function k(e,t){return e*t/100}function Pt(e){return e.assignedNodes({flatten:!0}).filter(t=>t.nodeType===Node.TEXT_NODE)??[]}export{I as a,R as b,D as c,ht as d,bt as e,P as f,yt as g,pt as h,St as i,m as j,mt as k,Tt as l,Q as m,$ as n,_ as o,tt as p,et as q,wt as r,Nt as s,Et as t,Ct as u,ot as v,xt as w,ut as x,lt as y,ct as z,ft as A,It as B,At as C,Ft as D,Rt as E,Dt as F,Ot as G,dt as H,kt as I,Pt as J};
|
package/dist/cdn/2T5X3M5E.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as v}from"./DUT6OG3U.js";import{a as h,b as S,c as x}from"./ZDSVHHRM.js";import{c as u}from"./AYRJ7NYC.js";import{c as y}from"./YSW3EMMW.js";import"./ZZDNIBT7.js";import{a as b}from"./HXUZPY6M.js";import"./VMHJHFFS.js";import"./R32U6GR5.js";import"./6LFASDRC.js";import{A as r,y as A}from"./2M4ETWZU.js";import{E as c,F as l,G as m,H as f,T as g,g as p,h as n,p as a}from"./MYNMXCYR.js";var E=p`:host{box-sizing:border-box;background-color:var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1));color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([scale=s]){--calcite-internal-action-group-gap: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=m]){--calcite-internal-action-group-gap: var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]){--calcite-internal-action-group-gap: var(--calcite-theme-space-sm-plus, var(--calcite-spacing-sm-plus))}:host{display:flex;flex-direction:column;padding:0;background-color:transparent;border-color:var(--calcite-action-group-border-color, var(--calcite-color-border-3));border-style:solid;border-width:0;gap:var(--calcite-internal-action-group-gap)}.container{display:flex;flex-grow:1;flex-direction:column;gap:inherit}:host([columns="1"]){--calcite-internal-action-group-columns: 1}:host([columns="2"]){--calcite-internal-action-group-columns: 2}:host([columns="3"]){--calcite-internal-action-group-columns: 3}:host([columns="4"]){--calcite-internal-action-group-columns: 4}:host([columns="5"]){--calcite-internal-action-group-columns: 5}:host([columns="6"]){--calcite-internal-action-group-columns: 6}:host(:first-child){padding-block-start:0px}:host([layout=horizontal]),:host([layout=horizontal]) .container{flex-direction:row}:host([layout=grid]){display:grid}:host([layout=grid]) .container{display:grid;place-content:stretch;background-color:transparent;gap:var(--calcite-action-group-gap, var(--calcite-internal-action-group-gap));grid-template-columns:repeat(var(--calcite-action-group-columns, var(--calcite-internal-action-group-columns, 3)),auto);padding:var(--calcite-action-group-gap, 1px)}:host([layout=horizontal]) ::slotted(calcite-action-group){border-inline-end:var(--calcite-size-px)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends m{constructor(){super(),this.messages=v(),this._actions=[],this.focusSetter=b()(this),this.defaultSlotRef=c(),this.menuActionsSlotRef=c(),this.hasMenuActions=!1,this.expanded=!1,this.layout="vertical",this.menuOpen=!1,this.overlayPositioning="absolute",this.overflowActionsDisabled=!1,this.scale="m",this.selectionMode="none",this.topLayerDisabled=!1,this.selectedActions=[],this.calciteActionGroupChange=a({cancelable:!1}),this.calciteActionGroupCollapse=a({cancelable:!1}),this.calciteActionGroupExpand=a({cancelable:!1}),this.calciteInternalActionGroupActionsChange=a({cancelable:!1}),this.listen("click",this.handleActionClick)}static{this.properties={hasMenuActions:[16,{},{state:!0}],columns:[11,{},{type:Number,reflect:!0}],expanded:[7,{},{reflect:!0,type:Boolean}],label:1,layout:[3,{},{reflect:!0}],menuFlipPlacements:[0,{},{attribute:!1}],menuOpen:[7,{},{reflect:!0,type:Boolean}],menuPlacement:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overlayPositioning:[3,{},{reflect:!0}],overflowActionsDisabled:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],selectionMode:[3,{},{reflect:!0}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],actions:[32,{},{attribute:!1,readOnly:!0}],selectedActions:[0,{},{attribute:!1}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=E}get actions(){return this._actions}async setFocus(e){return this.focusSetter(()=>this.el,e)}willUpdate(e){(this.hasUpdated||e.has("selectionMode"))&&this.syncSelectionState(),e.has("expanded")&&((this.hasUpdated||this.expanded!==!1)&&(this.menuOpen=!1),this.hasUpdated&&(this.expanded?this.calciteActionGroupExpand.emit():this.calciteActionGroupCollapse.emit()))}setActiveAction(e,t){let s=!t.active;switch(this.selectionMode){case"multiple":this.updateAction(t,s);break;case"single":this.actions.forEach((i,o)=>this.updateAction(i,o===e&&s));break;case"single-persist":this.actions[e].active||(this.actions.forEach((i,o)=>this.updateAction(i,o===e)),this.updateSelectedActions([t]),this.calciteActionGroupChange.emit());return;default:return}this.updateSelectedActions(this.actions.filter(i=>i.active)),this.calciteActionGroupChange.emit()}setMenuOpen(e){this.menuOpen=!!e.currentTarget.open}syncSelectionState(){if(this.selectionMode!=="none"?this.setRoleOnActions():this.clearActionAriaAttributes(),this.selectionMode==="single"||this.selectionMode==="single-persist"){let e=this.actions.filter(t=>t.active);e.length>1&&this.actions.forEach(t=>this.updateAction(t,t===e.at(-1)))}this.updateSelectedActions(this.selectionMode==="none"?[]:this.actions.filter(e=>e.active))}syncActions(){let e=this.defaultSlotRef.value?r(this.defaultSlotRef.value,"calcite-action"):[],t=this.menuActionsSlotRef.value?r(this.menuActionsSlotRef.value,"calcite-action"):[];this._actions=[...e,...t],this.syncSelectionState()}syncActionsAndEmitChange(){this.syncActions(),this.calciteInternalActionGroupActionsChange.emit()}handleDefaultSlotChange(){this.syncActionsAndEmitChange()}handleMenuActionsSlotChange(e){this.hasMenuActions=A(e),this.syncActionsAndEmitChange()}handleActionClick(e){let t=e.composedPath().find(y);if(!t||t.disabled)return;let s=this.actions.indexOf(t);s===-1||this.selectionMode==="none"||this.setActiveAction(s,t)}setRoleOnActions(){this.actions.forEach(e=>{e.aria={...e.aria,role:this.selectionMode==="single"||this.selectionMode==="single-persist"?"radio":"checkbox"},this.setActionAriaChecked(e,e.active)})}setActionAriaChecked(e,t){e.aria={...e.aria,checked:t?"true":"false"}}clearActionAriaAttributes(){this.selectionMode==="none"&&this.actions.forEach(e=>{e.aria&&(e.aria.checked=void 0,e.aria.role=void 0,e.aria={...e.aria})})}updateAction(e,t){e.active=t,this.setActionAriaChecked(e,t)}updateSelectedActions(e){let t=this.selectedActions;t.length===e.length&&t.every((i,o)=>i===e[o])||(this.selectedActions=e)}renderMenu(){let{expanded:e,menuOpen:t,scale:s,layout:i,messages:o,overlayPositioning:$,hasMenuActions:M,menuFlipPlacements:C,menuPlacement:O}=this;return n`<calcite-action-menu .expanded=${e} .flipPlacements=${C??(i==="horizontal"?["top","bottom"]:["left","right"])} .hidden=${!M} .label=${o.more} @calciteActionMenuOpen=${this.setMenuOpen} .open=${t} .overlayPositioning=${$} .placement=${O??(i==="horizontal"?"bottom-start":"leading-start")} .scale=${s} .topLayerDisabled=${this.topLayerDisabled}><calcite-action .aria=${{expanded:e}} .icon=${S.menu} .scale=${s} slot=${u.trigger} .text=${o.more} .textEnabled=${e}></calcite-action><slot name=${h.menuActions} @slotchange=${this.handleMenuActionsSlotChange} ${l(this.menuActionsSlotRef)}></slot><slot name=${h.menuTooltip} slot=${u.tooltip}></slot></calcite-action-menu>`}render(){return n`<div .ariaLabel=${this.label} class=${f(x.container)} .role=${this.selectionMode==="multiple"||this.selectionMode==="none"?"group":"radiogroup"}><slot @slotchange=${this.handleDefaultSlotChange} ${l(this.defaultSlotRef)}></slot>${this.renderMenu()}</div>`}};g("calcite-action-group",d);export{d as ActionGroup};
|
package/dist/cdn/3HO52NG7.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{e as d}from"./R32U6GR5.js";import"./6LFASDRC.js";import{G as o,H as t,I as s,M as l,T as c,g as n,h as r}from"./MYNMXCYR.js";var v=n`:host{position:relative;display:block;inline-size:100%}.track,.bar{position:absolute;inset-block-start:0px;block-size:2px;border-radius:var(--calcite-corner-radius)}.track{z-index:var(--calcite-z-index);inline-size:100%;overflow:hidden;background-color:var(--calcite-progress-background-color, var(--calcite-color-border-3))}.bar{z-index:var(--calcite-z-index);background-color:var(--calcite-progress-fill-color, var(--calcite-color-brand))}@media(forced-colors:active){.track{background-color:highlightText}.bar{background-color:linkText}}.indeterminate{inline-size:20%;animation:looping-progress-bar-ani calc(var(--calcite-internal-animation-timing-medium) / var(--calcite-internal-duration-factor) * 11 / var(--calcite-internal-duration-factor)) linear infinite}.indeterminate.calcite--rtl{animation-name:looping-progress-bar-ani-rtl}.reversed{animation-direction:reverse}.text{padding-inline:0px;padding-block:1rem 0px;text-align:center;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-progress-text-color, var(--calcite-color-text-2))}@keyframes looping-progress-bar-ani{0%{transform:translate3d(-100%,0,0)}50%{inline-size:40%}to{transform:translate3d(600%,0,0)}}@keyframes looping-progress-bar-ani-rtl{0%{transform:translate3d(100%,0,0)}50%{inline-size:40%}to{transform:translate3d(-600%,0,0)}}:host([hidden]){display:none}[hidden]{display:none}`,i={track:"track",bar:"bar",text:"text"},a=class extends o{constructor(){super(...arguments),this.direction=d(),this.reversed=!1,this.type="determinate",this.value=0}static{this.properties={label:1,reversed:[7,{},{reflect:!0,type:Boolean}],text:1,type:[3,{},{reflect:!0}],value:[9,{},{type:Number}]}}static{this.styles=v}render(){let e=this.type==="determinate",m=e?{width:`${this.value}%`}:{},p=this.direction;return r`<div .ariaLabel=${this.label||this.text} .ariaValueMax=${e?"100":void 0} .ariaValueMin=${e?"0":void 0} .ariaValueNow=${e?this.value:void 0} role=progressbar><div class=${t(i.track)}><div class=${t({[i.bar]:!0,indeterminate:this.type==="indeterminate",[l.rtl]:p==="rtl",reversed:this.reversed})} style=${s(m)}></div></div>${this.text?r`<div class=${t(i.text)}>${this.text}</div>`:null}</div>`}};c("calcite-progress",a);export{a as Progress};
|
package/dist/cdn/3MHENUIC.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as l}from"./NFEQJBP7.js";import{a as o}from"./HXUZPY6M.js";import"./VMHJHFFS.js";import"./R32U6GR5.js";import"./6LFASDRC.js";import"./2M4ETWZU.js";import{G as r,T as c,g as s,h as a,p as i}from"./MYNMXCYR.js";var u=s`:host{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,e=class extends r{constructor(){super(...arguments),this._active=!1,this.focusSetter=o()(this),this.focusTrapController=l({focusTrapOptions:{onActivate:()=>{this.setActive(!0)},onDeactivate:()=>{this.setActive(!1)}}})(this),this.focusTrapDisabled=!1,this.calciteFocusTrapActiveChange=i({cancelable:!1})}static{this.properties={focusTrapDisabled:[7,{},{reflect:!0,type:Boolean}],active:[32,{},{attribute:!1,readOnly:!0}],focusTrapDisabledOverride:[0,{},{attribute:!1}],focusTrapOptions:[0,{},{attribute:!1}]}}static{this.styles=u}get active(){return this._active}async activate(){this.focusTrapController.activate()}async deactivate(){this.focusTrapController.deactivate()}async setFocus(t){return this.focusSetter(()=>this.el,t)}async updateFocusTrapElements(t){this.focusTrapController.setExtraContainers(t),this.focusTrapController.updateContainerElements()}setActive(t){let n=this._active;this._active=t,this.requestUpdate("active",n),this.calciteFocusTrapActiveChange.emit()}render(){return a`<slot></slot>`}};c("calcite-focus-trap",e);export{e as FocusTrap};
|
package/dist/cdn/4DKMSU6Z.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as g,b as h,e as O,f as W,k as x,l as b,n as y,o as F,q as m}from"./3NDSBNMP.js";import{j as d}from"./BULP7WVW.js";import{i as I,j as P,k as A}from"./B3OV6FHO.js";import{a as u}from"./JN6YLTUP.js";import"./6LFASDRC.js";import{l as S,n as R}from"./2M4ETWZU.js";import{D as z,E as f,F as v,G as Y,H as s,T as w,g as D,h as l,l as $,p as C}from"./MYNMXCYR.js";var E=D`:host{display:block}.header{display:flex;block-size:100%;align-items:center;justify-content:space-between}.chevron-container{display:flex;align-items:center}:host([scale=s]){block-size:24px;margin:var(--calcite-theme-space-xs, var(--calcite-spacing-xs));margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=s]) .chevron-container,:host([scale=s]) .chevron{min-inline-size:24px;block-size:24px}:host([scale=m]){block-size:32px;margin:var(--calcite-theme-space-sm, var(--calcite-spacing-sm));margin-inline-start:var(--calcite-theme-space-sm-plus, var(--calcite-spacing-sm-plus))}:host([scale=m]) .chevron-container,:host([scale=m]) .chevron{min-inline-size:32px;block-size:32px;--calcite-internal-action-padding-block: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=l]){block-size:44px;margin:var(--calcite-theme-space-xs, var(--calcite-spacing-xs));margin-inline-start:var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]) .chevron-container,:host([scale=l]) .chevron{min-inline-size:44px;block-size:44px;--calcite-internal-action-padding-block: var(--calcite-theme-space-sm-plus, var(--calcite-spacing-sm-plus))}.chevron{transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;box-sizing:content-box;display:flex;block-size:100%;inline-size:100%;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;outline-color:transparent;--calcite-internal-action-padding-block: 0;--calcite-action-background-color: var(--calcite-date-picker-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-date-picker-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-date-picker-header-action-background-color-press);--calcite-action-text-color: var(--calcite-date-picker-header-action-text-color);--calcite-action-text-color-press: var(--calcite-date-picker-header-action-text-color-press)}.chevron:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.chevron[aria-disabled=true]{pointer-events:none}.month-year-container{display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:flex-start;text-align:center;line-height:1;gap:var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}.month-year-container.range-calendar{justify-content:center}.year-container{position:relative;display:flex;block-size:100%}.suffix{display:flex;align-items:center}.year,.suffix{margin-inline:var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs));font-weight:var(--calcite-font-weight-medium);color:var(--calcite-date-picker-year-text-color, var(--calcite-color-text-1));font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-fixed-lg)}.year{position:relative;display:inline-block;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;inline-size:44px}.year:hover{transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:outline-color;outline:2px solid var(--calcite-color-border-2);outline-offset:-2px}.year:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.month-select{--calcite-select-internal-border-width: 0;--calcite-select-internal-icon-border-inline-end-width: 0;--calcite-internal-select-spacing-inline: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs));--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size-md));--calcite-select-text-color: var(--calcite-date-picker-month-select-text-color, var(--calcite-color-text-1));--calcite-select-icon-color: var(--calcite-date-picker-month-select-icon-color);--calcite-select-icon-color-hover: var(--calcite-date-picker-month-select-icon-color-hover);--calcite-internal-select-spacing-block: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs));--calcite-internal-select-icon-container-padding-inline: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs));--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-lg);--calcite-internal-select-font-weight: var(--calcite-font-weight-medium)}:host([scale=s]) .month-year-container .month-select{--calcite-internal-select-spacing-inline: var(--calcite-theme-space-base, var(--calcite-spacing-base));--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size));--calcite-internal-select-spacing-block: var(--calcite-theme-space-base, var(--calcite-spacing-base));--calcite-internal-select-icon-container-padding-inline: var( --calcite-theme-space-base, var(--calcite-spacing-base) );--calcite-internal-select-block-size: 24px;--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-base)}:host([scale=s]) .month-year-container .year{inline-size:40px}:host([scale=s]) .month-year-container .year,:host([scale=s]) .month-year-container .suffix{font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-fixed-base)}:host([scale=l]) .month-year-container .month-select{--calcite-internal-select-spacing-inline: var(--calcite-theme-space-sm, var(--calcite-spacing-sm));--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size-lg));--calcite-internal-select-spacing-block: var(--calcite-theme-space-sm, var(--calcite-spacing-sm));--calcite-internal-select-icon-container-padding-inline: var(--calcite-theme-space-sm, var(--calcite-spacing-sm));--calcite-internal-select-block-size: 44px;--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-xl)}:host([scale=l]) .month-year-container .year{inline-size:48px}:host([scale=l]) .month-year-container .year,:host([scale=l]) .month-year-container .suffix{font-size:var(--calcite-font-size-lg);line-height:var(--calcite-font-line-height-fixed-xl)}:host([hidden]){display:none}[hidden]{display:none}`,r={header:"header",chevron:"chevron",chevronContainer:"chevron-container",monthYearContainer:"month-year-container",monthPicker:"month-select",rangeCalendar:"range-calendar",suffix:"suffix",yearContainer:"year-container",year:"year"},N={chevronLeft:"chevron-left",chevronRight:"chevron-right"},K=16,k=class extends Y{constructor(){super(...arguments),this.monthPickerRef=f(),this.nextMonthActionRef=f(),this.prevMonthActionRef=f(),this.yearInputRef=f(),this.scale="m",this.calciteInternalDatePickerMonthHeaderSelectChange=C({cancelable:!1})}static{this.properties={nextMonthDate:[16,{},{state:!0}],prevMonthDate:[16,{},{state:!0}],activeDate:[0,{},{attribute:!1}],headingLevel:[9,{},{type:Number}],localeData:[0,{},{attribute:!1}],max:[0,{},{attribute:!1}],messages:[0,{},{attribute:!1}],min:[0,{},{attribute:!1}],monthStyle:1,position:1,scale:[3,{},{reflect:!0}],selectedDate:[0,{},{attribute:!1}]}}static{this.styles=E}connectedCallback(){super.connectedCallback(),this.setNextPrevMonthDates()}load(){this.parentDatePickerEl=R(this.el,"calcite-date-picker")??void 0}willUpdate(e){this.hasUpdated&&(e.has("activeDate")||e.has("localeData"))&&this.setYearSelectMenuWidth(),this.hasUpdated&&e.has("scale")&&this.setYearSelectWidthOffset(),(e.has("min")||e.has("max")||e.has("activeDate"))&&this.setNextPrevMonthDates()}loaded(){this.setYearSelectWidthOffset()}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=h(y(this.activeDate),this.min,this.max),this.prevMonthDate=h(x(this.activeDate),this.min,this.max))}onYearKey(e){let t=this.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault(),this.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault(),this.setYear({localizedYear:t,offset:1});break}}formatCalendarYear(e){return d.localize(`${W(e,this.localeData)}`)}parseCalendarYear(e){return d.localize(`${O(Number(d.delocalize(e)),this.localeData)}`)}onYearChange(e){this.setYear({localizedYear:this.parseCalendarYear(e.target.value)})}onYearInput(e){this.setYear({localizedYear:this.parseCalendarYear(e.target.value),commit:!1})}prevMonthClick(e){this.prevMonthDate&&this.handleArrowClick(e,this.prevMonthDate)}prevMonthKeydown(e){u(e.key)&&this.prevMonthClick(e)}nextMonthClick(e){this.nextMonthDate&&this.handleArrowClick(e,this.nextMonthDate)}nextMonthKeydown(e){u(e.key)&&this.nextMonthClick(e)}async handleArrowClick(e,t){e.preventDefault(),await this.handlePenultimateValidMonth(e),this.calciteInternalDatePickerMonthHeaderSelectChange.emit(t)}handleMonthChange(e){let t=e.target,{abbreviated:a,wide:n}=this.localeData.months,i=(this.monthStyle==="wide"?n:a).indexOf(t.value),o=b(this.activeDate,i);g(o,this.min,this.max)||(o=h(o,this.min,this.max)),this.calciteInternalDatePickerMonthHeaderSelectChange.emit(o),this.setYearSelectMenuWidth()}getInRangeDate({localizedYear:e,offset:t=0}){let{min:a,max:n,activeDate:c}=this,i=Number(d.delocalize(e)),o=i.toString().length,p=isNaN(i)?!1:i+t,L=p&&(!a||a.getFullYear()<=p)&&(!n||n.getFullYear()>=p);if(p&&L&&o===e.length){let M=new Date(c);return M.setFullYear(p),h(M,a,n)}}setYear({localizedYear:e,commit:t=!0,offset:a=0}){let{yearInputRef:n,activeDate:c}=this,i=this.getInRangeDate({localizedYear:e,offset:a});i&&this.calciteInternalDatePickerMonthHeaderSelectChange.emit(i),t&&n.value&&(n.value.value=this.formatCalendarYear((i||c).getFullYear()))}setYearSelectWidthOffset(){this.yearSelectWidthOffset=K+3*parseInt(this.getYearSelectPadding(),10),this.setYearSelectMenuWidth()}setYearSelectMenuWidth(){let e=this.monthPickerRef.value;e&&requestAnimationFrame(()=>{let t=getComputedStyle(e),a=`${t.fontStyle} ${t.fontVariant} ${t.fontWeight} ${t.fontSize}/${t.lineHeight} ${t.fontFamily}`,c=this.localeData.months[this.monthStyle][this.activeDate.getMonth()],i=Math.ceil(S(c,a));e.style.width=`${i+this.yearSelectWidthOffset}px`})}isMonthInRange(e){let t=b(this.activeDate,e);return!this.min&&!this.max||g(t,this.min,this.max)?!0:!!(this.max&&m(t,this.max)||this.min&&m(t,this.min))}async handlePenultimateValidMonth(e){let n=e.target.getAttribute("data-direction")==="left",c=!1;if(n&&this.min){let i=h(x(this.activeDate),this.min,this.max);c=i?m(i,this.min):!1}else if(this.max){let i=h(y(this.activeDate),this.min,this.max);c=i?m(i,this.max):!1}if(c)if(this.position)this.yearInputRef.value?.focus();else{let o=(n?this.nextMonthActionRef:this.prevMonthActionRef).value;if(!o)return;o.disabled=!1,await o.setFocus()}}getPx(e){let t=Number(e.replace(/[rem|px]/g,"")),a=16;return e.includes("rem")?`${t*a}px`:`${t}px`}getYearSelectPadding(){let e;switch(this.scale){case"l":e=A;break;case"s":e=I;break;default:e=P;break}return this.getPx(e)}render(){return l`<div class=${s(r.header)}>${this.renderContent()}</div>`}renderContent(){let{localeData:e,activeDate:t}=this;if(!t||!e)return null;if(this.parentDatePickerEl){let{numberingSystem:c,lang:i}=this.parentDatePickerEl;d.numberFormatOptions={useGrouping:!1,...c&&{numberingSystem:c},...i&&{locale:i}}}let a=F(e.unitOrder),n=a.indexOf("y")<a.indexOf("m");return l`${this.position&&l`<div class=${s({[r.chevronContainer]:!0})}>${this.position==="start"&&this.renderChevron("left")||""}</div>`||""}<div class=${s({[r.monthYearContainer]:!0,[r.rangeCalendar]:!!this.position})}>${this.renderMonthYearContainer(n)}</div>${!this.position&&l`<div class=${s({[r.chevronContainer]:!0})}>${this.renderChevron("left")}</div>`||""}<div class=${s({[r.chevronContainer]:!0})}>${this.position!=="start"&&this.renderChevron("right")||""}</div>`}renderMonthYearContainer(e){return e?[this.renderYearInput(),this.renderMonthPicker()]:[this.renderMonthPicker(),this.renderYearInput()]}renderMonthPicker(){let e=this.activeDate.getMonth(),t=this.localeData.months[this.monthStyle];return l`<calcite-select class=${s(r.monthPicker)} .label=${this.messages.monthMenu} @calciteSelectChange=${this.handleMonthChange} width=auto ${v(this.monthPickerRef)}>${t.map((a,n)=>l`<calcite-option .disabled=${!this.isMonthInRange(n)} .selected=${n===e} .value=${a}>${a}</calcite-option>`)}</calcite-select>`}renderYearInput(){let e=this.localeData.year?.suffix,t=this.formatCalendarYear(this.activeDate.getFullYear());return l`<span class=${s(r.yearContainer)}><input .ariaLabel=${this.messages.year} class=${s({[r.year]:!0})} inputmode=numeric maxlength=4 minlength=1 @change=${this.onYearChange} @input=${this.onYearInput} @keydown=${this.onYearKey} pattern=\\d* type=text .value=${z(t??"")} ${v(this.yearInputRef)}>${e&&l`<span class=${s(r.suffix)}>${e}</span>`||""}</span>`}renderChevron(e){let t=e==="right",a=m(t?this.nextMonthDate:this.prevMonthDate,this.activeDate)||!g(this.activeDate,this.min,this.max);return l`<calcite-action alignment=center .ariaDisabled=${a} .ariaLabel=${t?this.messages.nextMonth:this.messages.prevMonth} class=${s(r.chevron)} compact data-direction=${e??$} .disabled=${a} .icon=${t?N.chevronRight:N.chevronLeft} icon-flip-rtl @click=${t?this.nextMonthClick:this.prevMonthClick} @keydown=${t?this.nextMonthKeydown:this.prevMonthKeydown} role=button .scale=${this.scale} .text=${t?this.messages.nextMonth:this.messages.prevMonth} ${v(t?this.nextMonthActionRef:this.prevMonthActionRef)}></calcite-action>`}};w("calcite-date-picker-month-header",k);export{k as DatePickerMonthHeader};
|
package/dist/cdn/4DQBCTK5.js
DELETED
package/dist/cdn/4SAOFK6O.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as d}from"./FDHY2TZA.js";import{a as h}from"./DUT6OG3U.js";import"./R32U6GR5.js";import"./6LFASDRC.js";import{u as m}from"./2M4ETWZU.js";import{E as l,F as r,G as o,H as s,T as c,g as n,h as t}from"./MYNMXCYR.js";var f={scrim:"scrim",content:"content"},u={s:72,l:480},b=n`:host{position:absolute;inset:0;z-index:var(--calcite-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity: 0 }to{--tw-text-opacity: 1 }}.scrim{position:absolute;inset:0;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-color-transparent-scrim))}.content{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}`,i=class extends o{constructor(){super(...arguments),this.loaderRef=l(),this.resizeObserver=d("resize",()=>this.handleResize()),this.messages=h(),this.hasContent=!1,this.loading=!1}static{this.properties={hasContent:[16,{},{state:!0}],loaderScale:[16,{},{state:!0}],loading:[7,{},{reflect:!0,type:Boolean}],messageOverrides:[0,{},{attribute:!1}]}}static{this.styles=b}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}handleDefaultSlotChange(e){this.hasContent=m(e)}getScale(e){return e<u.s?"s":e>=u.l?"l":"m"}handleResize(){let{el:e}=this;this.loaderScale=this.getScale(Math.min(e.clientHeight,e.clientWidth)??0)}render(){let{hasContent:e,loading:p,loaderScale:a,messages:g}=this;return t`<div class=${s(f.scrim)}>${p&&a?t`<calcite-loader .label=${g.loading} .scale=${a} ${r(this.loaderRef)}></calcite-loader>`:null}<div class=${s(f.content)} .hidden=${!e}><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></div>`}};c("calcite-scrim",i);export{i as Scrim};
|
package/dist/cdn/5FCTDL7G.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as D}from"./IBJPVXIV.js";import{a as S}from"./PLYFLSNW.js";import{a as d}from"./MAWTYBZ2.js";import"./5K4OZJAZ.js";import{a as T}from"./DUT6OG3U.js";import{a as I}from"./HXUZPY6M.js";import"./VMHJHFFS.js";import"./R32U6GR5.js";import"./6LFASDRC.js";import"./2M4ETWZU.js";import{F as g,G as $,H as h,T as w,g as f,h as r,l as n,p as i}from"./MYNMXCYR.js";var v={handle:"handle",dropdown:"dropdown"},y={drag:"drag",blank:"blank"},p={label:"{label}",position:"{position}",total:"{total}"},R=["top","up","down","bottom"],O={trigger:"trigger"},m={add:"add",move:"move",reorder:"reorder"},A=f`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.dropdown{block-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,u=class extends ${constructor(){super(...arguments),this.focusSetter=I()(this),this.interactiveContainer=S(this),this.disabled=!1,this.messages=T({blocking:!0}),this.addToItems=[],this.moveToItems=[],this.open=!1,this.overlayPositioning="absolute",this.placement=D,this.scale="m",this.sortDisabled=!1,this.topLayerDisabled=!1,this.calciteSortHandleAdd=i({cancelable:!0}),this.calciteSortHandleBeforeClose=i({cancelable:!1}),this.calciteSortHandleBeforeOpen=i({cancelable:!1}),this.calciteSortHandleClose=i({cancelable:!1}),this.calciteSortHandleMove=i({cancelable:!0}),this.calciteSortHandleOpen=i({cancelable:!1}),this.calciteSortHandleReorder=i({cancelable:!0})}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],label:1,messageOverrides:[0,{},{attribute:!1}],messages:[0,{},{attribute:!1}],addToItems:[0,{},{attribute:!1}],moveToItems:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],setPosition:[9,{},{type:Number}],setSize:[9,{},{type:Number}],sortDisabled:[7,{},{reflect:!0,type:Boolean}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],widthScale:[3,{},{reflect:!0}]}}static{this.styles=A}get hasSetInfo(){return typeof this.setPosition=="number"&&typeof this.setSize=="number"}get hasValidSetInfo(){return this.hasSetInfo?this.setPosition>0&&this.setPosition<=this.setSize&&this.setSize>0:!0}get hasReorderItems(){return!this.sortDisabled&&this.hasValidSetInfo}get hasMoveToItems(){return this.moveToItems.length>0}get hasAddToItems(){return this.addToItems.length>0}get reorderGroupTitle(){return this.hasMoveToItems||this.hasAddToItems?this.messages.reorder:""}get hasNoItems(){return!this.hasReorderItems&&!this.hasMoveToItems&&!this.hasAddToItems}get hasAllReorderItemsDisabled(){return this.hasReorderItems&&this.isTopReorderDisabled&&this.isUpReorderDisabled&&this.isDownReorderDisabled&&this.isBottomReorderDisabled}get hasOnlyDisabledReorderItems(){return this.hasReorderItems&&!this.hasMoveToItems&&!this.hasAddToItems&&this.hasAllReorderItemsDisabled}get isTopReorderDisabled(){let{setPosition:e}=this;return e===1||e===2}get isUpReorderDisabled(){return this.setPosition===1}get isDownReorderDisabled(){return this.hasSetInfo&&this.setPosition===this.setSize}get isBottomReorderDisabled(){let{setPosition:e,setSize:t}=this;return this.hasSetInfo&&(e===t||e===t-1)}async setFocus(e){return this.focusSetter(()=>this.dropdownEl,e)}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler()}openHandler(){if(this.disabled){this.open=!1;return}this.dropdownEl&&(this.dropdownEl.open=this.open)}setDropdownEl(e){e&&(this.dropdownEl=e,this.openHandler())}getLabel(){let{label:e,messages:t,setPosition:s,setSize:o,hasSetInfo:a}=this;if(!a)return e??"";let l=e?t.repositionLabel.replace(p.label,e):t.reposition;return l=l.replace(p.position,s?s.toString():""),l.replace(p.total,o?o.toString():"")}handleBeforeOpen(e){e.stopPropagation(),this.calciteSortHandleBeforeOpen.emit()}handleOpen(e){e.stopPropagation(),this.calciteSortHandleOpen.emit(),this.open=!0}handleBeforeClose(e){e.stopPropagation(),this.calciteSortHandleBeforeClose.emit()}handleClose(e){e.stopPropagation(),this.calciteSortHandleClose.emit(),this.open=!1}handleReorder(e){this.calciteSortHandleReorder.emit({reorder:e.target.dataset.value})}handleMoveTo(e){let t=e.target.dataset.id,s=this.moveToItems.find(o=>o.id===t);this.calciteSortHandleMove.emit({moveTo:s})}handleAddTo(e){let t=e.target.dataset.id,s=this.addToItems.find(o=>o.id===t);this.calciteSortHandleAdd.emit({addTo:s})}render(){let{disabled:e,flipPlacements:t,hasOnlyDisabledReorderItems:s,open:o,overlayPositioning:a,placement:l,scale:b,widthScale:B,hasNoItems:P}=this,c=this.getLabel(),H=e||P||s;return this.interactiveContainer({disabled:e,children:r`<calcite-dropdown class=${h(v.dropdown)} .disabled=${H} .flipPlacements=${t} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${a} .placement=${l} .scale=${b} .topLayerDisabled=${this.topLayerDisabled} .widthScale=${B} ${g(this.setDropdownEl)}><calcite-action .active=${o} .aria=${{expanded:o}} class=${h(v.handle)} .dragHandle=${!0} .icon=${e?y.blank:y.drag} .label=${c} .scale=${b} slot=${O.trigger} .text=${c} title=${c??n}></calcite-action>${this.renderReorderGroup()}${this.renderMoveToGroup()}${this.renderAddToGroup()}</calcite-dropdown>`})}renderAddToItem(e){return d(e.id,r`<calcite-dropdown-item data-id=${e.id??n} .label=${e.label} @calciteDropdownItemSelect=${this.handleAddTo}>${e.label}</calcite-dropdown-item>`)}renderMoveToItem(e){return d(e.id,r`<calcite-dropdown-item data-id=${e.id??n} .label=${e.label} @calciteDropdownItemSelect=${this.handleMoveTo}>${e.label}</calcite-dropdown-item>`)}renderReorderGroup(){return this.hasReorderItems?d("reorder",r`<calcite-dropdown-group .groupTitle=${this.reorderGroupTitle} id=${m.reorder} .scale=${this.scale} selection-mode=none>${this.renderTop()}${this.renderUp()}${this.renderDown()}${this.renderBottom()}</calcite-dropdown-group>`):null}renderAddToGroup(){let{messages:e,addToItems:t,scale:s,hasAddToItems:o}=this;return o?d("add-to-items",r`<calcite-dropdown-group .groupTitle=${e.addTo} id=${m.add} .scale=${s} selection-mode=none>${t.map(a=>this.renderAddToItem(a))}</calcite-dropdown-group>`):null}renderMoveToGroup(){let{messages:e,moveToItems:t,scale:s,hasMoveToItems:o}=this;return o?d("move-to-items",r`<calcite-dropdown-group .groupTitle=${e.moveTo} id=${m.move} .scale=${s} selection-mode=none>${t.map(a=>this.renderMoveToItem(a))}</calcite-dropdown-group>`):null}renderDropdownItem(e,t,s=!1){return d(R[e],r`<calcite-dropdown-item data-value=${R[e]??n} .disabled=${s} .label=${t} @calciteDropdownItemSelect=${this.handleReorder}>${t}</calcite-dropdown-item>`)}renderTop(){return this.renderDropdownItem(0,this.messages.moveToTop,this.isTopReorderDisabled)}renderUp(){return this.renderDropdownItem(1,this.messages.moveUp,this.isUpReorderDisabled)}renderDown(){return this.renderDropdownItem(2,this.messages.moveDown,this.isDownReorderDisabled)}renderBottom(){return this.renderDropdownItem(3,this.messages.moveToBottom,this.isBottomReorderDisabled)}};w("calcite-sort-handle",u);export{u as SortHandle};
|
package/dist/cdn/5PZI55YS.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{b as s,c as r,d}from"./JLMPSTPZ.js";import"./R32U6GR5.js";import"./6LFASDRC.js";import"./2M4ETWZU.js";import{G as n,H as c,T as o,g as a,h as l,p as i}from"./MYNMXCYR.js";var h={container:"container"},b=a`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=block]) .container,:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,t=class extends n{constructor(){super(),this.alignment="start",this.layout="block",this.scale="m",this.calciteInternalLabelClick=i({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:[3,{},{reflect:!0}],for:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=b}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(s))}willUpdate(e){e.has("for")&&d(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(r))}labelClickHandler(e){window.getSelection()?.type==="Range"||e.defaultPrevented||this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return l`<div class=${c(h.container)}><slot></slot></div>`}};o("calcite-label",t);export{t as Label};
|
package/dist/cdn/5RSUVC46.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{a as z,e as w,f as I}from"./G7RVPH4C.js";import"./NYT7VOUO.js";import{a as n}from"./OMH7X2JO.js";import{a as S}from"./PLYFLSNW.js";import{a as l}from"./MAWTYBZ2.js";import{a as y}from"./CASNTUXN.js";import{a as h}from"./VMHJHFFS.js";import"./R32U6GR5.js";import"./6LFASDRC.js";import{u as k}from"./2M4ETWZU.js";import{G as x,H as i,I as C,T as $,g as f,h as c,l as v,p as d}from"./MYNMXCYR.js";var t={active:"label--active",centerContent:"center-content",container:"container",iconCustom:"icon--custom",description:"description",icon:"icon",label:"label",containerHighlightSelected:"container--highlight-selected",scale:b=>`scale--${b}`,shortText:"short-text",single:"label--single",textContainer:"text-container",heading:"heading"},o={checked:"check-square-f",circle:"circle",indeterminate:"minus-square-f",selectedSingle:"circle-inset-large",unchecked:"square"},H={contentEnd:"content-end",contentStart:"content-start"},E="--calcite-combobox-item-spacing-indent-multiplier",L=f`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([hidden]){display:none}[hidden]{display:none}.scale--s{font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);--calcite-internal-combobox-item-spacing-unit-s: .25rem;--calcite-internal-combobox-item-spacing-unit-l: .5rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-xs)}.scale--m{font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);--calcite-internal-combobox-item-spacing-unit-s: .375rem;--calcite-internal-combobox-item-spacing-unit-l: .75rem;--calcite-combobox-item-selector-icon-size: 1rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size-sm)}.scale--l{font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);--calcite-internal-combobox-item-spacing-unit-s: var(--calcite-space-sm-plus);--calcite-internal-combobox-item-spacing-unit-l: 1rem;--calcite-combobox-item-selector-icon-size: 1.5rem;--calcite-internal-combobox-item-description-font-size: var(--calcite-font-size)}.container{--calcite-combobox-item-indent-value: calc( var(--calcite-internal-combobox-item-spacing-unit-l) * var(--calcite-combobox-item-spacing-indent-multiplier) )}:host(:focus){box-shadow:var(--calcite-shadow-none)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host,ul{margin:0;display:flex;flex-direction:column;padding:0}:host(:focus),ul:focus{outline:var(--calcite-border-width-md) solid transparent;outline-offset:var(--calcite-border-width-md)}.label{overflow-wrap:break-word;word-break:break-word;outline-color:transparent;position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;text-decoration-line:none;transition-timing-function:var(--calcite-animation-easing-function);justify-content:space-around;gap:var(--calcite-internal-combobox-item-spacing-unit-l);padding-block:var(--calcite-internal-combobox-item-spacing-unit-s);padding-inline-end:var(--calcite-internal-combobox-item-spacing-unit-l);padding-inline-start:var(--calcite-combobox-item-indent-value);color:var(--calcite-combobox-text-color, var(--calcite-color-text-3));transition-duration:var(--calcite-animation-timing)}:host([disabled]) .label{cursor:default}.label--active{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-1 * var(--calcite-space-base) * (1 - 2 * clamp(0,var(--calcite-offset-invert-focus),1)))}.label:hover{background-color:var(--calcite-combobox-item-background-color-hover, var(--calcite-theme-color-surface-3, var(--calcite-color-foreground-2)));color:var(--calcite-combobox-text-color-hover, var(--calcite-color-text-1))}.label:active{background-color:var(--calcite-combobox-item-background-color-active, var(--calcite-theme-color-surface-4, var(--calcite-color-foreground-3)))}:host([selected]) .label,.label:active{color:var(--calcite-combobox-text-color-hover, var(--calcite-color-text-1))}:host([selected]) .label .description,:host([selected]) .label .short-text,.label:active .description,.label:active .short-text{color:var(--calcite-combobox-description-text-color-press, var(--calcite-color-text-2))}.icon{display:inline-flex;transition-timing-function:var(--calcite-animation-easing-function);color:var(--calcite-color-border-input)}:host([selected]) .icon,:host([indeterminate]) .icon{color:var(--calcite-combobox-selected-icon-color, var(--calcite-color-brand))}.icon--custom{margin-block-start:-1px}.center-content{display:flex;flex-direction:column;flex-grow:1;padding-block:0}.description{font-size:var(--calcite-internal-combobox-item-description-font-size)}.short-text{white-space:nowrap}.heading{color:var(--calcite-combobox-heading-text-color, var(--calcite-color-text-1))}.description,.short-text{color:var(--calcite-combobox-description-text-color, var(--calcite-color-text-3))}:host([selected]) .heading{font-weight:var(--calcite-font-weight-medium)}.heading,.description,.short-text{line-height:var(--calcite-font-line-height-relative-snug)}.container--highlight-selected{background-color:var(--calcite-color-surface-highlight)}:host([item-hidden]){display:none}.text-match{background-color:transparent;color:inherit;font-weight:var(--calcite-font-weight-bold)}`,m=class extends x{constructor(){super(...arguments),this._selected=!1,this.interactiveContainer=S(this),this.hasContent=!1,this.active=!1,this.disabled=!1,this.filterDisabled=!1,this.guid=y(),this.iconFlipRtl=!1,this.scale="m",this.selectionMode="multiple",this.selectionAppearance="icon",this.itemHidden=!1,this.indeterminate=!1,this.calciteComboboxItemChange=d({cancelable:!1}),this.calciteInternalComboboxItemChange=d({cancelable:!1})}static{this.properties={hasContent:[16,{},{state:!0}],active:[7,{},{reflect:!0,type:Boolean}],ancestors:[0,{},{attribute:!1}],description:1,disabled:[7,{},{reflect:!0,type:Boolean}],filterDisabled:[7,{},{reflect:!0,type:Boolean}],filterTextMatchPattern:[3,{},{reflect:!0}],guid:[3,{},{reflect:!0}],heading:1,icon:[3,{},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],label:1,metadata:[0,{},{attribute:!1}],scale:1,selected:[7,{},{reflect:!0,type:Boolean}],selectionMode:[3,{},{reflect:!0}],selectionAppearance:[3,{},{reflect:!0}],shortHeading:1,value:[3,{},{reflect:!0}],itemHidden:[7,{},{reflect:!0,type:Boolean}],indeterminate:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=L}get selected(){return this._selected}set selected(e){let a=this._selected;e!==a&&(this._selected=e,this.emitItemChange())}get value(){return this._value??this.heading}set value(e){this._value=e??this.heading}toggleSelection(){let e=this.selectionMode==="single-persist";this.disabled||e&&this.selected||(this.selected=!this.selected,this.calciteComboboxItemChange.emit())}connectedCallback(){super.connectedCallback(),this.ancestors=z(this.el)}willUpdate(e){this.hasUpdated&&(e.has("disabled")||e.has("heading")||e.has("label"))&&this.emitItemChange()}emitItemChange(){this.calciteInternalComboboxItemChange.emit()}handleDefaultSlotChange(e){this.hasContent=k(e)}itemClickHandler(){this.toggleSelection()}renderIcon(e){return this.icon?l("icon",c`<calcite-icon class=${i({[t.iconCustom]:!!this.icon})} .flipRtl=${this.iconFlipRtl} .icon=${this.icon||e} .scale=${h(this.scale)}></calcite-icon>`):null}renderSelectIndicator(e){return this.selectionAppearance==="highlight"?null:l("indicator",c`<calcite-icon class=${i({[t.icon]:!0})} .flipRtl=${this.iconFlipRtl} .icon=${e} .scale=${h(this.scale)}></calcite-icon>`)}renderChildren(){return l("default-slot-container",c`<ul .hidden=${!this.hasContent}><slot @slotchange=${this.handleDefaultSlotChange}></slot></ul>`)}render(){let{disabled:e,heading:a,label:M,value:u,filterTextMatchPattern:s,description:g,shortHeading:p}=this,r=I(this.selectionMode),B=e||r?void 0:o.checked,T=r?this.selected?o.selectedSingle:o.circle:this.indeterminate?o.indeterminate:this.selected?o.checked:o.unchecked,R=M||u||a,_=a||u,A={[t.label]:!0,[t.active]:this.active,[t.single]:r,[t.containerHighlightSelected]:this.selected&&this.selectionAppearance==="highlight"},D=w(this.el);return this.el.ariaHidden="true",this.el.ariaLabel=R,this.interactiveContainer({disabled:e,children:c`<div class=${i({[t.container]:!0,[t.scale(this.scale)]:!0})} style=${C({[E]:`${D}`})}><li class=${i(A)} id=${this.guid??v} @click=${this.itemClickHandler}>${this.renderSelectIndicator(T)}<slot name=${H.contentStart}></slot>${this.renderIcon(B)}<div class=${i(t.centerContent)}><div class=${i(t.heading)}>${n({text:_,pattern:s})}</div>${g?c`<div class=${i(t.description)}>${n({text:g,pattern:s})}</div>`:null}</div>${p?c`<div class=${i(t.shortText)}>${n({text:p,pattern:s})}</div>`:null}<slot name=${H.contentEnd}></slot></li>${this.renderChildren()}</div>`})}};$("calcite-combobox-item",m);export{m as ComboboxItem};
|
package/dist/cdn/6LFASDRC.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{n as l}from"./MYNMXCYR.js";var p=(t,s)=>{let e=t;for(;e;){if(e===s)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},u=(t,s,e)=>{let n=E(s).subscribe;return n(o=>{o.some(r=>p(t,r.target))&&e()})},d={},E=t=>{let s=t.join(","),e=d[s];if(e!==void 0)return e;let n=new Set,o=new MutationObserver(r=>n.forEach(i=>i(r)));globalThis.document&&o.observe(document.documentElement,{attributes:!0,attributeFilter:t,subtree:!0});let a={subscribe:r=>(n.add(r),()=>{n.delete(r),n.size===0&&(o.disconnect(),d[s]=void 0)})};return d[s]=a,a},C=(t,s)=>{let e=t;for(;e;){let n=e.closest?.(s);if(n)return n;let o=e.getRootNode?.();if(o===globalThis.document)return;e=o?.host}};var g=(t,s,e)=>C(t,`[${s}]`)?.getAttribute(s)??e;var b=t=>{let s=g(t,"lang",globalThis.navigator?.language||c);return{lang:s,t9nLocale:m(s)}},k=(t,s,e,n)=>{let o,a=()=>v(t,s(),n).then(r=>{(o?.lang!==r.lang||o.t9nLocale!==r.t9nLocale||o.t9nStrings!==r.t9nStrings)&&e(r),o=r}).catch(r=>{l("error","intl","Error updating component locale state",{detail:{error:r}})});return queueMicrotask(a),u(t,["lang"],a)},v=async(t,s,e=t.localName.split("-").slice(1).join("-"))=>{let{lang:n,t9nLocale:o}=b(t),a=`${s}/${e}/t9n`,i=e===null?{}:await w(o,a,"messages.");return{lang:n,t9nLocale:o,t9nStrings:i}};var $="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),A=new Set($),c="en",N={pt:"pt-BR",nb:"no",nn:"no",zh:"zh-CN"},w=async(t,s,e="")=>{let n=`${s}/${e}`,o=`${n}${t}.json`;return h[o]??=f(t,n),await h[o]},h={},f=async(t,s)=>{let e=`${s}${t}.json`;try{let n=await fetch(e);if(n.ok)return await n.json()}catch(n){return l("error","intl",`An unknown error occurred while fetching localization strings at ${e}`,{detail:{error:n}}),{}}return t===c?{}:await f(c,s)},m=t=>{let[s,e]=t.split("-"),n=s.toLowerCase(),o=n;return e&&(o=`${n}-${e.toUpperCase()}`),o=N[o]??o,A.has(o)?o:e?m(n):c};export{u as a,g as b,b as c,k as d,A as e,c as f,m as g};
|