@esri/calcite-components 6.0.0-next.10 → 6.0.0-next.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{KE3GJVSQ.js → 22NLVRMQ.js} +1 -1
- package/dist/cdn/{F4RP2ND6.js → 2C677XOQ.js} +1 -1
- package/dist/cdn/{W464Z7ND.js → 2S5IEARK.js} +1 -1
- package/dist/cdn/{RK3VIAGP.js → 2ZVI5D2F.js} +1 -1
- package/dist/cdn/{N7LVAE5F.js → 3AJYILOJ.js} +1 -1
- package/dist/cdn/{NBFMGYL3.js → 3GCTS7TK.js} +1 -1
- package/dist/cdn/{JI5RWOTK.js → 3HYHA4OF.js} +1 -1
- package/dist/cdn/{CZTM3VLX.js → 3NQAIIHX.js} +1 -1
- package/dist/cdn/{7UZGBGS6.js → 3ZGDL7CM.js} +1 -1
- package/dist/cdn/{273FNCX2.js → 4F4R7KYO.js} +1 -1
- package/dist/cdn/{QOIBLQSX.js → 4KLUF2XI.js} +1 -1
- package/dist/cdn/{XDJ5YVTY.js → 4ZIP4QSM.js} +1 -1
- package/dist/cdn/{BFY5CRE7.js → 5B5QNGAG.js} +1 -1
- package/dist/cdn/{QAV6GDX3.js → 5MU4KFJP.js} +1 -1
- package/dist/cdn/{HSVBLPNO.js → 5NKPO7CK.js} +1 -1
- package/dist/cdn/{E6R4P2IP.js → 5VXMQ6DN.js} +1 -1
- package/dist/cdn/{XDGVGNRC.js → 6FZVJGKC.js} +1 -1
- package/dist/cdn/{SMBKXVJ2.js → 6HT2CTFJ.js} +1 -1
- package/dist/cdn/{7YEZVXC4.js → 6RCNPDD6.js} +1 -1
- package/dist/cdn/{ODUVV4RV.js → 7235Z7Q6.js} +1 -1
- package/dist/cdn/{G7RVPH4C.js → 72Q3454I.js} +1 -1
- package/dist/cdn/{UIR57PA4.js → 77HN7RDZ.js} +1 -1
- package/dist/cdn/{GOY7IE2L.js → 7JIBASTT.js} +1 -1
- package/dist/cdn/{VLUDXF5U.js → 7RW33PAY.js} +1 -1
- package/dist/cdn/{DPRLR4WC.js → 7XS2SBMV.js} +1 -1
- package/dist/cdn/{G26MQPXR.js → 7YDOJPTG.js} +1 -1
- package/dist/cdn/{QUYFCN2U.js → 7ZLCN4OR.js} +1 -1
- package/dist/cdn/{WLZEUH7L.js → A2JZMCJR.js} +1 -1
- package/dist/cdn/{YDVTQN6C.js → A33WOUFY.js} +1 -1
- package/dist/cdn/{W2GIONKE.js → A3GKBR34.js} +1 -1
- package/dist/cdn/{AVH2GLIJ.js → ADDYXN36.js} +1 -1
- package/dist/cdn/{QQMFZZYL.js → AG54BMT7.js} +1 -1
- package/dist/cdn/{NBOTH5XL.js → ASXRP7XI.js} +1 -1
- package/dist/cdn/{QHM3SD4N.js → ATSQHGM4.js} +1 -1
- package/dist/cdn/{KRVMZWGR.js → AU5A2EFG.js} +1 -1
- package/dist/cdn/{ZU4RLDHT.js → AWCFCAHJ.js} +1 -1
- package/dist/cdn/{HGL6LFV3.js → AZRYWXF2.js} +1 -1
- package/dist/cdn/{BGS4CESC.js → B2B4K2SR.js} +1 -1
- package/dist/cdn/{NY4HO46K.js → BBSSYLOF.js} +1 -1
- package/dist/cdn/{B7B4574X.js → BCE72WLM.js} +1 -1
- package/dist/cdn/{UTVK3QTU.js → BIV2IIE7.js} +1 -1
- package/dist/cdn/{U7YCVXZ3.js → BJAWDVEF.js} +1 -1
- package/dist/cdn/{UUZX5IV6.js → BM5RCN6S.js} +1 -1
- package/dist/cdn/{QWOKSAOO.js → BNMRQ2VK.js} +1 -1
- package/dist/cdn/{OHJAAX23.js → BOR3QCTX.js} +1 -1
- package/dist/cdn/{KPX3XYVF.js → BTF6YFRK.js} +1 -1
- package/dist/cdn/{DT6QG7P2.js → C2EL3ITN.js} +1 -1
- package/dist/cdn/{TH2A4VCV.js → C5QTLDCU.js} +1 -1
- package/dist/cdn/{QQJAAD4D.js → C75XSIWC.js} +1 -1
- package/dist/cdn/{BSXYHNKX.js → CI322RY4.js} +1 -1
- package/dist/cdn/{FDNCZYCA.js → CKSEAT5O.js} +1 -1
- package/dist/cdn/{NJTCDXS3.js → CNL2XWGH.js} +1 -1
- package/dist/cdn/{FGU2SEUG.js → CR4NUST3.js} +1 -1
- package/dist/cdn/{XCTHKYG4.js → CSXQJZEL.js} +1 -1
- package/dist/cdn/{SYZQCRBZ.js → CTEHP75R.js} +1 -1
- package/dist/cdn/{UOHV4OCJ.js → CZ7GAGEJ.js} +1 -1
- package/dist/cdn/{ZQMKXZ7A.js → CZP724EL.js} +1 -1
- package/dist/cdn/{VZBFIS6O.js → D47QLMSE.js} +1 -1
- package/dist/cdn/{BV74PYW6.js → D4HRXS4E.js} +1 -1
- package/dist/cdn/{BLJRH4JX.js → DH4YOHMH.js} +1 -1
- package/dist/cdn/{LHW5NOEF.js → DIFQPNFB.js} +1 -1
- package/dist/cdn/{UE76JFYY.js → DOIHMBBW.js} +1 -1
- package/dist/cdn/{MNPMK2VZ.js → DPKQFZ63.js} +1 -1
- package/dist/cdn/{RFDPXMN6.js → DQADORUS.js} +1 -1
- package/dist/cdn/{BH4WCMLM.js → DQIQKIDG.js} +1 -1
- package/dist/cdn/{737AN2CX.js → DQIUIZK3.js} +1 -1
- package/dist/cdn/{YPSIGZXJ.js → DWXODW3D.js} +1 -1
- package/dist/cdn/{V7WKX4JH.js → DYUHRMVD.js} +1 -1
- package/dist/cdn/{J2DF6TFE.js → EFDHGXCK.js} +1 -1
- package/dist/cdn/{YV4JKSOA.js → ET243IG2.js} +1 -1
- package/dist/cdn/{WAOVLW25.js → EV2BLP2M.js} +1 -1
- package/dist/cdn/{JQNBQUSQ.js → EX5IXZL6.js} +1 -1
- package/dist/cdn/{VVJMAE2C.js → EZWCNW5M.js} +1 -1
- package/dist/cdn/{GCDLUAO6.js → FAW6HCZE.js} +1 -1
- package/dist/cdn/{DG2DLQZ3.js → FE2JAX5D.js} +1 -1
- package/dist/cdn/{SXAW7MNS.js → FR6PIDS2.js} +1 -1
- package/dist/cdn/{Y5SNQ4NS.js → G4EENJPP.js} +1 -1
- package/dist/cdn/{WEXS244S.js → G6XTP7VM.js} +1 -1
- package/dist/cdn/{UHTCLLS7.js → GY2EZ3FB.js} +1 -1
- package/dist/cdn/{XKHMRAUY.js → HBWRRDGG.js} +1 -1
- package/dist/cdn/{ZDSVHHRM.js → HJHRSII7.js} +1 -1
- package/dist/cdn/{I4QQBNDN.js → HZF6EPZ3.js} +1 -1
- package/dist/cdn/{FLWEPRFJ.js → ILASMNOD.js} +1 -1
- package/dist/cdn/{OFUCNWOU.js → IOESPC3K.js} +1 -1
- package/dist/cdn/{KN7VGE4M.js → IQ5PDJZT.js} +1 -1
- package/dist/cdn/{SZCB4RZQ.js → IQRWVDGY.js} +1 -1
- package/dist/cdn/{2ZGOGJF6.js → IR2A2F5H.js} +1 -1
- package/dist/cdn/{HA62DGAW.js → IR2V5547.js} +1 -1
- package/dist/cdn/{ZABC5BI2.js → IVELW3IC.js} +1 -1
- package/dist/cdn/{L52YMQCF.js → J2OH4U4P.js} +1 -1
- package/dist/cdn/{HVKGDIC6.js → JFOHL6M6.js} +1 -1
- package/dist/cdn/{CR3OABPG.js → JHAK7Y4E.js} +1 -1
- package/dist/cdn/{OMYCQSYW.js → JKGQEGYT.js} +1 -1
- package/dist/cdn/{IDU5IKSY.js → JLKKNEX5.js} +1 -1
- package/dist/cdn/{HEQFTWZQ.js → JUAYHBAX.js} +1 -1
- package/dist/cdn/{GJZC6Q65.js → JUJMRIPL.js} +1 -1
- package/dist/cdn/{O3AKMRDF.js → JXZTPWEI.js} +1 -1
- package/dist/cdn/{YWJV2ZJH.js → K4N2EM4F.js} +1 -1
- package/dist/cdn/{XA3GRBCW.js → KA36OY4J.js} +1 -1
- package/dist/cdn/{J6WQRNGK.js → KAYPDW25.js} +1 -1
- package/dist/cdn/{FUYQS7XA.js → KJ5X5JQ2.js} +1 -1
- package/dist/cdn/{VGKCONVX.js → KPTJTPBQ.js} +1 -1
- package/dist/cdn/{4OUHHWKP.js → LPE5WKMF.js} +1 -1
- package/dist/cdn/{HZ3ICUYC.js → LW2W54GS.js} +1 -1
- package/dist/cdn/{XL7GKUY2.js → M3IAYV6K.js} +1 -1
- package/dist/cdn/{FQMKO5S5.js → M4RGPK4P.js} +1 -1
- package/dist/cdn/{QKYP3FDQ.js → M6L42LD5.js} +1 -1
- package/dist/cdn/{JTKQ73J3.js → MGUAW2MN.js} +1 -1
- package/dist/cdn/{2DYI3ZOO.js → MKOYBNHN.js} +1 -1
- package/dist/cdn/{MN7KXS6N.js → N6CONYT7.js} +1 -1
- package/dist/cdn/{PQDCYIRQ.js → NC6GXJRL.js} +1 -1
- package/dist/cdn/{PRVLFQFM.js → NDICGBNV.js} +1 -1
- package/dist/cdn/{Y5WKXUWK.js → NHEFZRKK.js} +1 -1
- package/dist/cdn/{AOS2RWLA.js → NMLH456H.js} +1 -1
- package/dist/cdn/{YF7W5TNY.js → NO3H5PAJ.js} +1 -1
- package/dist/cdn/{2LLSZFOA.js → O5R6HMDZ.js} +1 -1
- package/dist/cdn/{P33C5YDO.js → OAB226QL.js} +1 -1
- package/dist/cdn/{LHJS25PA.js → ODU6JYNH.js} +1 -1
- package/dist/cdn/{5WWBBO2Z.js → OE3QOF5V.js} +1 -1
- package/dist/cdn/{SCJPENKN.js → OGTOSWWU.js} +1 -1
- package/dist/cdn/{AV7S2ETC.js → OMQ7WOPQ.js} +1 -1
- package/dist/cdn/{CTFG7BKR.js → OS5XNQXP.js} +1 -1
- package/dist/cdn/{MDANCG4K.js → OSEH2NR3.js} +1 -1
- package/dist/cdn/{6GU5XOTF.js → OUGIMZJ3.js} +1 -1
- package/dist/cdn/{DBQONO22.js → P4COLKFN.js} +1 -1
- package/dist/cdn/{TWF4JPZ7.js → PUBTIJIU.js} +1 -1
- package/dist/cdn/{RUAP7OBS.js → PYR4KQWG.js} +1 -1
- package/dist/cdn/{XB5DK76Y.js → Q4VHTJKT.js} +1 -1
- package/dist/cdn/Q6VH6KBT.js +2 -0
- package/dist/cdn/{AR5BD5C7.js → QAXF4UPJ.js} +1 -1
- package/dist/cdn/{6LLPN7IC.js → RI4JK6O2.js} +1 -1
- package/dist/cdn/{RWLYEGDO.js → RIDD2XKE.js} +1 -1
- package/dist/cdn/{IA6L5W5G.js → RPDLVOMK.js} +1 -1
- package/dist/cdn/{XWKUAYS3.js → SDU4R5MI.js} +1 -1
- package/dist/cdn/{4F4XFALV.js → SEG7ZWJV.js} +1 -1
- package/dist/cdn/{SDCATIYT.js → SKEOVYI3.js} +1 -1
- package/dist/cdn/{YKOI3XVI.js → SRUYXOUG.js} +1 -1
- package/dist/cdn/{BR6V5PC6.js → SSCGJSIX.js} +1 -1
- package/dist/cdn/{OEGGT3SY.js → T5UHOSA2.js} +1 -1
- package/dist/cdn/{AYRJ7NYC.js → TJGNWJF6.js} +1 -1
- package/dist/cdn/{5Q5PVZDC.js → TUXGJBDC.js} +1 -1
- package/dist/cdn/{ICC52M3R.js → UAXV5QU2.js} +1 -1
- package/dist/cdn/{YSW3EMMW.js → UTXN6YZB.js} +1 -1
- package/dist/cdn/{SSI6AFMX.js → UWKL3MMP.js} +1 -1
- package/dist/cdn/{LXQ7KXAO.js → V3JWWLRL.js} +1 -1
- package/dist/cdn/{RUSF77X2.js → V53VO7TG.js} +1 -1
- package/dist/cdn/{QORDO5V7.js → V7TWPLUL.js} +1 -1
- package/dist/cdn/{AE5SQJER.js → VITY2ZWH.js} +1 -1
- package/dist/cdn/{47IPIYJM.js → WCIKADAE.js} +1 -1
- package/dist/cdn/{OI45VN55.js → WIB6QS4N.js} +1 -1
- package/dist/cdn/{UZ4YOAB7.js → WICQMZUZ.js} +1 -1
- package/dist/cdn/{24V7EEW7.js → WYCH4Z2A.js} +1 -1
- package/dist/cdn/{ECJJHTCC.js → XIERF7M3.js} +1 -1
- package/dist/cdn/{KV7EOUBA.js → XIV422LP.js} +1 -1
- package/dist/cdn/{5LODLGNB.js → XRU35TLK.js} +1 -1
- package/dist/cdn/{RUGBI54D.js → XY2NGASJ.js} +1 -1
- package/dist/cdn/{ECXSX2FK.js → Y664PBYS.js} +1 -1
- package/dist/cdn/{CRHEJ6LF.js → YC33WRPJ.js} +1 -1
- package/dist/cdn/{QU6G4FRY.js → YDPZAW5A.js} +1 -1
- package/dist/cdn/{UWMXWWUQ.js → YRDE6L4T.js} +1 -1
- package/dist/cdn/{UTGZR5D4.js → YSVKKDJF.js} +1 -1
- package/dist/cdn/{A3GBKICU.js → YUU5WSIS.js} +1 -1
- package/dist/cdn/{EXI7ELTX.js → YV4UJTWH.js} +1 -1
- package/dist/cdn/{H3QR5SVM.js → YVL7L5VZ.js} +1 -1
- package/dist/cdn/{TWXH5VXN.js → Z2UWNG35.js} +1 -1
- package/dist/cdn/{GO2LNKXI.js → Z3PSNA4F.js} +1 -1
- package/dist/cdn/{3NLRYSGR.js → ZDKXHZNU.js} +1 -1
- package/dist/cdn/{I3MYU7MH.js → ZPXEKSRI.js} +1 -1
- package/dist/cdn/{LUR2SFPA.js → ZRMDVPEA.js} +1 -1
- package/dist/cdn/{2QPSBLJK.js → ZUR4NUA5.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -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 +1 -1
- 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 +1 -1
- 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 -1
- 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 +38 -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/runtime.js +3 -3
- package/dist/chunks/utils.js +1 -1
- package/dist/chunks/utils4.js +1 -1
- package/dist/components/calcite-action/customElement.js +1 -1
- package/dist/components/calcite-action-bar/customElement.js +40 -7
- package/dist/components/calcite-action-group/customElement.js +2 -2
- package/dist/components/calcite-action-menu/customElement.js +3 -3
- package/dist/components/calcite-alert/customElement.js +1 -1
- package/dist/components/calcite-autocomplete/customElement.js +2 -2
- package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
- package/dist/components/calcite-autocomplete-item-group/customElement.js +2 -2
- package/dist/components/calcite-block/customElement.js +1 -1
- package/dist/components/calcite-block-group/customElement.js +2 -2
- package/dist/components/calcite-card/customElement.js +1 -1
- package/dist/components/calcite-card-group/customElement.js +1 -1
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +2 -2
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-navigation/customElement.js +1 -1
- package/dist/components/calcite-notice/customElement.js +1 -1
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-select/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.js +1 -1
- package/dist/components/calcite-tab-title/customElement.js +1 -1
- package/dist/components/calcite-tooltip/customElement.js +1 -1
- package/dist/components/calcite-tree-item/customElement.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/translations.json +1 -1
- package/dist/docs/vscode.css-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +0 -10
- package/dist/loader.js +0 -1
- package/dist/types/lumina.d.ts +0 -8
- package/dist/types/preact.d.ts +0 -9
- package/dist/types/react.d.ts +0 -10
- package/dist/types/stencil.d.ts +0 -8
- package/package.json +1 -1
- package/dist/cdn/JUNQWK55.js +0 -2
- package/dist/cdn/LWBWYQYI.js +0 -2
- package/dist/cdn/MUYSSY6B.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/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/cdn/{ZZDNIBT7.js → 2IM7ZZ7U.js} +0 -0
- /package/dist/cdn/{NYT7VOUO.js → TIIRIEHJ.js} +0 -0
|
@@ -1,185 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import { l as logger, c as customElement } from "../../chunks/runtime.js";
|
|
3
|
-
import { css, html } from "lit";
|
|
4
|
-
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
5
|
-
import { useDirection } from "@arcgis/lumina/controllers";
|
|
6
|
-
import { b as slotChangeGetAssignedElements, e as focusElementInGroup } from "../../chunks/dom.js";
|
|
7
|
-
import { l as legacyToggleChildActionText, E as ExpandToggle } from "../../chunks/ExpandToggle.js";
|
|
8
|
-
import { c as createObserver } from "../../chunks/observers.js";
|
|
9
|
-
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
10
|
-
import { i as isTooltip } from "../../chunks/resources11.js";
|
|
11
|
-
import { i as isAction } from "../../chunks/resources4.js";
|
|
12
|
-
import { u as useFocusable } from "../../chunks/useFocusable.js";
|
|
13
|
-
const CSS = {
|
|
14
|
-
actionGroupEnd: "action-group--end",
|
|
15
|
-
container: "container"
|
|
16
|
-
};
|
|
17
|
-
const SLOTS = {
|
|
18
|
-
expandTooltip: "expand-tooltip"
|
|
19
|
-
};
|
|
20
|
-
const styles = css`: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-pad-gap: var( --calcite-action-pad-items-space, var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs)) );--calcite-internal-action-pad-padding: var(--calcite-theme-space-2xs, var(--calcite-spacing-xxs))}:host([scale=m]){--calcite-internal-action-pad-gap: var( --calcite-action-pad-items-space, var(--calcite-theme-space-sm, var(--calcite-spacing-sm)) );--calcite-internal-action-pad-padding: var(--calcite-theme-space-sm, var(--calcite-spacing-sm))}:host([scale=l]){--calcite-internal-action-pad-gap: var(--calcite-action-pad-items-space, var(--calcite-space-sm-plus));--calcite-internal-action-pad-padding: var(--calcite-theme-space-sm-plus, var(--calcite-spacing-sm-plus))}:host{display:block}@keyframes in{0%{opacity:0}to{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:var(--calcite-action-pad-corner-radius, .125rem);background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width, auto)}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:1px;padding-block-end:var(--calcite-internal-action-pad-padding)}.container{display:inline-flex;flex-direction:column;overflow:hidden;box-shadow:var(--calcite-shadow-md);border-radius:calc(var(--calcite-action-pad-corner-radius, .125rem) * 2);background-color:var(--calcite-action-background-color, var(--calcite-theme-color-surface-2, var(--calcite-color-foreground-1)));gap:var(--calcite-internal-action-pad-gap);padding:var(--calcite-internal-action-pad-padding)}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0}:host([layout=horizontal]) .container ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:1px;padding-inline-end:var(--calcite-internal-action-pad-padding)}:host([hidden]){display:none}[hidden]{display:none}`;
|
|
21
|
-
class ActionPad extends LitElement {
|
|
22
|
-
constructor() {
|
|
23
|
-
super();
|
|
24
|
-
this.actions = [];
|
|
25
|
-
this.direction = useDirection();
|
|
26
|
-
this.mutationObserver = createObserver("mutation", () => this.mutationObserverHandler());
|
|
27
|
-
this.toggleExpand = () => {
|
|
28
|
-
this.expanded = !this.expanded;
|
|
29
|
-
this.calciteActionPadToggle.emit();
|
|
30
|
-
};
|
|
31
|
-
this.messages = useT9n({ blocking: true });
|
|
32
|
-
this.focusSetter = useFocusable()(this);
|
|
33
|
-
this.expandDisabled = false;
|
|
34
|
-
this.expanded = false;
|
|
35
|
-
this.layout = "vertical";
|
|
36
|
-
this.overlayPositioning = "absolute";
|
|
37
|
-
this.scale = "m";
|
|
38
|
-
this.selectionAppearance = "neutral";
|
|
39
|
-
this.calciteActionPadCollapse = createEvent({ cancelable: false });
|
|
40
|
-
this.calciteActionPadExpand = createEvent({ cancelable: false });
|
|
41
|
-
this.calciteActionPadToggle = createEvent({ cancelable: false });
|
|
42
|
-
this.listen("calciteActionMenuOpen", this.actionMenuOpenHandler);
|
|
43
|
-
this.listen("keydown", this.handleKeyDown);
|
|
44
|
-
}
|
|
45
|
-
static {
|
|
46
|
-
this.properties = { expandTooltip: [16, {}, { state: true }], actionsEndGroupLabel: 1, expandDisabled: [7, {}, { reflect: true, type: Boolean }], expanded: [7, {}, { reflect: true, type: Boolean }], layout: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }], overlayPositioning: [3, {}, { reflect: true }], position: [3, {}, { reflect: true }], scale: [3, {}, { reflect: true }], selectionAppearance: [3, {}, { reflect: true }] };
|
|
47
|
-
}
|
|
48
|
-
static {
|
|
49
|
-
this.shadowRootOptions = { mode: "open", delegatesFocus: true };
|
|
50
|
-
}
|
|
51
|
-
static {
|
|
52
|
-
this.styles = styles;
|
|
53
|
-
}
|
|
54
|
-
async setFocus(options) {
|
|
55
|
-
return this.focusSetter(() => this.el, options);
|
|
56
|
-
}
|
|
57
|
-
connectedCallback() {
|
|
58
|
-
super.connectedCallback();
|
|
59
|
-
this.updateActions();
|
|
60
|
-
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
61
|
-
}
|
|
62
|
-
async load() {
|
|
63
|
-
logger.deprecated("component", {
|
|
64
|
-
component: this,
|
|
65
|
-
name: "action-pad",
|
|
66
|
-
removalVersion: 5,
|
|
67
|
-
suggested: "action-bar"
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
willUpdate(changes) {
|
|
71
|
-
if (changes.has("expanded") && this.hasUpdated) {
|
|
72
|
-
legacyToggleChildActionText({ el: this.el, expanded: this.expanded });
|
|
73
|
-
}
|
|
74
|
-
if (changes.has("layout") && (this.hasUpdated || this.layout !== "vertical")) {
|
|
75
|
-
this.updateGroups();
|
|
76
|
-
}
|
|
77
|
-
if (changes.has("expanded") && this.hasUpdated) {
|
|
78
|
-
if (this.expanded) {
|
|
79
|
-
this.calciteActionPadExpand.emit();
|
|
80
|
-
} else {
|
|
81
|
-
this.calciteActionPadCollapse.emit();
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
if (changes.has("selectionAppearance") && (this.hasUpdated || this.selectionAppearance !== "neutral")) {
|
|
85
|
-
this.updateActions();
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
disconnectedCallback() {
|
|
89
|
-
super.disconnectedCallback();
|
|
90
|
-
this.mutationObserver?.disconnect();
|
|
91
|
-
}
|
|
92
|
-
actionMenuOpenHandler(event) {
|
|
93
|
-
if (event.target.menuOpen) {
|
|
94
|
-
const composedPath = event.composedPath();
|
|
95
|
-
this.actionGroups?.forEach((group) => {
|
|
96
|
-
if (!composedPath.includes(group)) {
|
|
97
|
-
group.menuOpen = false;
|
|
98
|
-
}
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
updateGroups() {
|
|
103
|
-
const groups = Array.from(this.el.querySelectorAll("calcite-action-group"));
|
|
104
|
-
this.actionGroups = groups;
|
|
105
|
-
this.setGroupLayout(groups);
|
|
106
|
-
}
|
|
107
|
-
setGroupLayout(groups) {
|
|
108
|
-
groups.forEach((group) => group.layout = this.layout);
|
|
109
|
-
}
|
|
110
|
-
handleDefaultSlotChange() {
|
|
111
|
-
this.updateGroups();
|
|
112
|
-
this.queryAndStoreActions();
|
|
113
|
-
this.updateActions();
|
|
114
|
-
}
|
|
115
|
-
handleTooltipSlotChange(event) {
|
|
116
|
-
const tooltips = slotChangeGetAssignedElements(event).filter(isTooltip);
|
|
117
|
-
this.expandTooltip = tooltips[0];
|
|
118
|
-
}
|
|
119
|
-
handleKeyDown(event) {
|
|
120
|
-
this.queryAndStoreActions();
|
|
121
|
-
const actions = this.actions.filter((action) => !action.disabled);
|
|
122
|
-
const current = document.activeElement;
|
|
123
|
-
if (!isAction(current) || !actions.includes(current)) {
|
|
124
|
-
return;
|
|
125
|
-
}
|
|
126
|
-
switch (event.key) {
|
|
127
|
-
case "ArrowRight":
|
|
128
|
-
case "ArrowDown":
|
|
129
|
-
focusElementInGroup(actions, current, "next", true);
|
|
130
|
-
event.preventDefault();
|
|
131
|
-
break;
|
|
132
|
-
case "ArrowLeft":
|
|
133
|
-
case "ArrowUp":
|
|
134
|
-
focusElementInGroup(actions, current, "previous", true);
|
|
135
|
-
event.preventDefault();
|
|
136
|
-
break;
|
|
137
|
-
case "Home":
|
|
138
|
-
focusElementInGroup(actions, current, "first", true);
|
|
139
|
-
event.preventDefault();
|
|
140
|
-
break;
|
|
141
|
-
case "End":
|
|
142
|
-
focusElementInGroup(actions, current, "last", true);
|
|
143
|
-
event.preventDefault();
|
|
144
|
-
break;
|
|
145
|
-
case "Tab":
|
|
146
|
-
this.updateTabIndexOfItems(current);
|
|
147
|
-
break;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
updateActions() {
|
|
151
|
-
this.actions.forEach((action) => {
|
|
152
|
-
action.selectionAppearance = this.selectionAppearance;
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
updateTabIndexOfItems(active) {
|
|
156
|
-
this.actions.forEach((action) => {
|
|
157
|
-
const tabIndex = !action.disabled && action === active ? 0 : -1;
|
|
158
|
-
if (tabIndex === 0) {
|
|
159
|
-
action.removeAttribute("tabindex");
|
|
160
|
-
} else {
|
|
161
|
-
action.tabIndex = tabIndex;
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
queryAndStoreActions() {
|
|
166
|
-
this.actions = Array.from(this.el.querySelectorAll("calcite-action"));
|
|
167
|
-
}
|
|
168
|
-
mutationObserverHandler() {
|
|
169
|
-
this.updateGroups();
|
|
170
|
-
this.queryAndStoreActions();
|
|
171
|
-
this.updateActions();
|
|
172
|
-
}
|
|
173
|
-
renderBottomActionGroup() {
|
|
174
|
-
const { expanded, expandDisabled, messages, el, position, toggleExpand, scale, layout, actionsEndGroupLabel, overlayPositioning } = this;
|
|
175
|
-
const expandToggleNode = !expandDisabled ? ExpandToggle({ collapseLabel: messages.collapseLabel, collapseText: messages.collapse, direction: this.direction, el, expanded, expandLabel: messages.expandLabel, expandText: messages.expand, position, scale, toggle: toggleExpand, tooltip: this.expandTooltip }) : null;
|
|
176
|
-
return expandToggleNode ? html`<calcite-action-group class=${safeClassMap(CSS.actionGroupEnd)} .label=${actionsEndGroupLabel} .layout=${layout} .overlayPositioning=${overlayPositioning} .scale=${scale}><slot name=${SLOTS.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${expandToggleNode}</calcite-action-group>` : null;
|
|
177
|
-
}
|
|
178
|
-
render() {
|
|
179
|
-
return html`<div class=${safeClassMap(CSS.container)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
customElement("calcite-action-pad", ActionPad);
|
|
183
|
-
export {
|
|
184
|
-
ActionPad
|
|
185
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./customElement.js";
|
|
File without changes
|
|
File without changes
|