@arcgis/map-components 5.1.4 → 5.1.6
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/{BYUG46SX.js → 22DCSZY4.js} +1 -1
- package/dist/cdn/{NKLK7WBU.js → 24HEORT3.js} +1 -1
- package/dist/cdn/{QCFJQKFF.js → 26US73I6.js} +1 -1
- package/dist/cdn/{OPP5I5AI.js → 277KPH5T.js} +1 -1
- package/dist/cdn/{6NWA6WEA.js → 2T5BJMSD.js} +1 -1
- package/dist/cdn/{3GMSKHTZ.js → 2U5WGJOH.js} +1 -1
- package/dist/cdn/{UKM575AX.js → 2UTIUM2Y.js} +1 -1
- package/dist/cdn/{KOHPKB7T.js → 3FH3Y72Y.js} +1 -1
- package/dist/cdn/{ENBH27M3.js → 3JHESRH6.js} +1 -1
- package/dist/cdn/{RN2CZHVZ.js → 47XFQHXE.js} +1 -1
- package/dist/cdn/{E7RA2AH4.js → 4AFSJSQD.js} +1 -1
- package/dist/cdn/{DLNZZWWI.js → 4RXISH5A.js} +1 -1
- package/dist/cdn/{WM2OOJ6V.js → 4YPBMY4K.js} +1 -1
- package/dist/cdn/{QDR5ZVG6.js → 54QCWJ5R.js} +1 -1
- package/dist/cdn/{7DS4S4OL.js → 5AESYJ6U.js} +1 -1
- package/dist/cdn/{SVZ2LPMF.js → 5CCKBPLD.js} +1 -1
- package/dist/cdn/{ZNFSD3IC.js → 5E7WCXLX.js} +1 -1
- package/dist/cdn/{NJE3P4JX.js → 5ETMQCK3.js} +1 -1
- package/dist/cdn/{2GLH5PUC.js → 5JSIPNRH.js} +1 -1
- package/dist/cdn/{U2G76MLM.js → 5QTSCUNQ.js} +1 -1
- package/dist/cdn/{YLANW6EI.js → 5TJHHBSG.js} +1 -1
- package/dist/cdn/{JB2ROPSD.js → 5YGZH5K6.js} +1 -1
- package/dist/cdn/{ONJTK4SF.js → 624AIUZE.js} +1 -1
- package/dist/cdn/{C6IELZJH.js → 65AHDZFY.js} +1 -1
- package/dist/cdn/{SGHG7AJJ.js → 67HELCQU.js} +1 -1
- package/dist/cdn/{VMFNOF52.js → 6F2B4Z6P.js} +1 -1
- package/dist/cdn/{XGY6ORJL.js → 6MOBH7TH.js} +1 -1
- package/dist/cdn/{CCYZ3O3F.js → 6PBKFSH2.js} +1 -1
- package/dist/cdn/{36MLS24H.js → 747OZ66P.js} +1 -1
- package/dist/cdn/{EFN4FRL5.js → 74JHJJOA.js} +1 -1
- package/dist/cdn/{IO7L24I5.js → 7J7J4SEB.js} +1 -1
- package/dist/cdn/{LL6W64KR.js → 7KBWMTFS.js} +1 -1
- package/dist/cdn/{TO4GLHLM.js → 7OUBZTHD.js} +1 -1
- package/dist/cdn/{VPIXVAXC.js → 7UAYS7PR.js} +1 -1
- package/dist/cdn/{BQSHES4R.js → ADAGXPMD.js} +1 -1
- package/dist/cdn/{7ST4RWKI.js → AG457TZJ.js} +1 -1
- package/dist/cdn/{J6N7WN2Y.js → AH42SG4B.js} +1 -1
- package/dist/cdn/{ICEZC2TQ.js → AH7KLC65.js} +1 -1
- package/dist/cdn/{ZSUE4VY6.js → AJ3VLQKV.js} +1 -1
- package/dist/cdn/{UA5YO7NO.js → ARHKEUQH.js} +1 -1
- package/dist/cdn/{YMVHM5OZ.js → ATSGOUAJ.js} +1 -1
- package/dist/cdn/{PIIE2ZOR.js → AWGTSO6N.js} +1 -1
- package/dist/cdn/{MORGXLED.js → AZUTM6XX.js} +1 -1
- package/dist/cdn/AZXM5XGL.js +2 -0
- package/dist/cdn/{FDWADAQF.js → B2JHDQW5.js} +1 -1
- package/dist/cdn/{U5KGWKHD.js → B2Z5BIBI.js} +1 -1
- package/dist/cdn/{QVL2OFCK.js → BRV6CZAT.js} +1 -1
- package/dist/cdn/{EZ67DXSF.js → BWSPCTJZ.js} +1 -1
- package/dist/cdn/{DMHSTNBW.js → BXQLD5E5.js} +1 -1
- package/dist/cdn/{WFEURO7O.js → C3XSN7OE.js} +1 -1
- package/dist/cdn/{NE62JPBM.js → CCADFJBT.js} +1 -1
- package/dist/cdn/{TKGODW54.js → CCGXOVHV.js} +1 -1
- package/dist/cdn/{3SIYO7ZN.js → CORJ6ASG.js} +1 -1
- package/dist/cdn/{5NYBDYMA.js → CT2FKPPM.js} +1 -1
- package/dist/cdn/{SZ2MBNWL.js → CX3ITF26.js} +1 -1
- package/dist/cdn/{R4FF5IWV.js → CXTDJBT6.js} +1 -1
- package/dist/cdn/{JOUMSSLR.js → D63RFX5A.js} +1 -1
- package/dist/cdn/{X4664GHQ.js → DCMODJHW.js} +1 -1
- package/dist/cdn/DQHCZ3GL.js +2 -0
- package/dist/cdn/{IMSF5AEZ.js → DRSMHEFR.js} +1 -1
- package/dist/cdn/{KZZIMABM.js → DZP2VTFH.js} +1 -1
- package/dist/cdn/{V2P7YNIS.js → E5KIXCCC.js} +1 -1
- package/dist/cdn/{VYCRAT4K.js → EIHYF6VW.js} +1 -1
- package/dist/cdn/{5GLXBFTG.js → EKKCMNBR.js} +1 -1
- package/dist/cdn/{QO2ZEPIF.js → EOXHTQO2.js} +1 -1
- package/dist/cdn/{HPRP3IKV.js → EPVJQSLL.js} +1 -1
- package/dist/cdn/{OUKN3YHU.js → ET3AMTRY.js} +1 -1
- package/dist/cdn/{SWY3JKKX.js → EVGS6CXU.js} +1 -1
- package/dist/cdn/{L4ZKVFNO.js → EWFX3S6W.js} +1 -1
- package/dist/cdn/{43BKUZZE.js → F4UCPTEW.js} +1 -1
- package/dist/cdn/{OZH33NYW.js → FFE4BR4U.js} +1 -1
- package/dist/cdn/{EIHGISPV.js → FOSHY57T.js} +1 -1
- package/dist/cdn/{BVC4AGUC.js → FSNESSE7.js} +1 -1
- package/dist/cdn/{ISLSKQVK.js → FVLSGSVY.js} +1 -1
- package/dist/cdn/{HS2QCKGL.js → FXCICSY5.js} +1 -1
- package/dist/cdn/{IWVQBLWT.js → G3QTPBTE.js} +1 -1
- package/dist/cdn/{FINEGGPR.js → G7A4BIWV.js} +1 -1
- package/dist/cdn/{6DQLBG5Q.js → GBI3S7HT.js} +1 -1
- package/dist/cdn/{N3KQRLEY.js → GC5PZN5Z.js} +1 -1
- package/dist/cdn/{FYURKKPO.js → GHLCFGEV.js} +1 -1
- package/dist/cdn/{HMNUDV6B.js → GUJBMQF2.js} +1 -1
- package/dist/cdn/{CBYEYXQC.js → GVT2GFEN.js} +1 -1
- package/dist/cdn/{OE5V4MI6.js → H2RF4GKM.js} +1 -1
- package/dist/cdn/{UODGE27P.js → H6ILY54E.js} +1 -1
- package/dist/cdn/{PEMIUFB2.js → HFC4KHRI.js} +1 -1
- package/dist/cdn/{2YLQST6F.js → HLFFPZYE.js} +1 -1
- package/dist/cdn/{MI5MWEFP.js → HSHTTNED.js} +1 -1
- package/dist/cdn/{HU2C27BQ.js → I5POEUOZ.js} +1 -1
- package/dist/cdn/{TOVVPICH.js → I7LEYQQJ.js} +1 -1
- package/dist/cdn/{ENQCIUCH.js → IBXUS7PZ.js} +1 -1
- package/dist/cdn/{4Y7BN2L3.js → IGJLIYTH.js} +1 -1
- package/dist/cdn/{LPW2YGBS.js → IHCSOML7.js} +1 -1
- package/dist/cdn/{5NFUN7TZ.js → IHDBTLHW.js} +1 -1
- package/dist/cdn/{CFCOLB4A.js → IKICZ3HC.js} +1 -1
- package/dist/cdn/{4DPPQD2Z.js → IP4ID66L.js} +1 -1
- package/dist/cdn/{K4LQ4LWP.js → IQSWTFAF.js} +1 -1
- package/dist/cdn/{E33WGWET.js → IQZHD5AD.js} +1 -1
- package/dist/cdn/{N752J3UV.js → IT2GT7DB.js} +1 -1
- package/dist/cdn/{WMNSCSAQ.js → IYXYWOO3.js} +1 -1
- package/dist/cdn/{CJGGAMVX.js → J2AQSMOV.js} +1 -1
- package/dist/cdn/{EFDENXSZ.js → J34EQWSB.js} +1 -1
- package/dist/cdn/{LER6RQ75.js → J7S2RMRO.js} +1 -1
- package/dist/cdn/{ZUXIFYIP.js → JDA2BZNM.js} +1 -1
- package/dist/cdn/{MEKADOT3.js → JPWLRQOT.js} +1 -1
- package/dist/cdn/{G53RVHMO.js → JQFXUJOV.js} +1 -1
- package/dist/cdn/{BZ4IIPLI.js → JSPPQL4U.js} +1 -1
- package/dist/cdn/{CFL7WBUR.js → JVAECCFT.js} +1 -1
- package/dist/cdn/{DVXPNVSG.js → JWDSNVRR.js} +1 -1
- package/dist/cdn/{A76EYHCS.js → K3JRFEE7.js} +1 -1
- package/dist/cdn/{INLVO3GL.js → KFUTBZOO.js} +1 -1
- package/dist/cdn/{2ESR6HXK.js → KKUAJFZQ.js} +1 -1
- package/dist/cdn/{EUFWFKTY.js → KQKIDQQS.js} +1 -1
- package/dist/cdn/{VVKGMQUS.js → KR2U2ZZP.js} +1 -1
- package/dist/cdn/{RH77SOXE.js → KR6YN3O3.js} +1 -1
- package/dist/cdn/{QMUOLA2P.js → KRGDBPWO.js} +1 -1
- package/dist/cdn/{DBB3S5HF.js → KYAQNSJK.js} +1 -1
- package/dist/cdn/{HSL5NISC.js → L2CJL253.js} +1 -1
- package/dist/cdn/{M2SMYCYM.js → L3NU3HUD.js} +1 -1
- package/dist/cdn/{5UCEBVXR.js → LGB4533I.js} +1 -1
- package/dist/cdn/{TSJALH7D.js → LHN7FRA6.js} +1 -1
- package/dist/cdn/{2PORQMMM.js → LIHOYQ5C.js} +1 -1
- package/dist/cdn/{UCU2ER3C.js → LLJIPGRC.js} +1 -1
- package/dist/cdn/{O3J3HY24.js → LLQ4ODTJ.js} +1 -1
- package/dist/cdn/LNGOJRXU.js +2 -0
- package/dist/cdn/{33VJMWDL.js → LTZ3FAJ2.js} +1 -1
- package/dist/cdn/LX5LSM5Q.js +2 -0
- package/dist/cdn/{DD7PYQG3.js → M3QI6HUF.js} +1 -1
- package/dist/cdn/{QUHWDL3G.js → M5TJOMYV.js} +1 -1
- package/dist/cdn/{4YPMLEH3.js → MELBRL26.js} +1 -1
- package/dist/cdn/{QU76OLVX.js → MGYPFZMP.js} +1 -1
- package/dist/cdn/{FOZLLHZ2.js → MYUQ76RJ.js} +1 -1
- package/dist/cdn/{IE4VI6Q5.js → N2YI6STO.js} +1 -1
- package/dist/cdn/{OLCPC6NR.js → N3RFPRSV.js} +1 -1
- package/dist/cdn/{L33NG2CB.js → N6XUHWOK.js} +1 -1
- package/dist/cdn/{VSSJMGPA.js → N7KNMQG4.js} +1 -1
- package/dist/cdn/{BUTHXRHI.js → NHSQFSAA.js} +1 -1
- package/dist/cdn/{573HDEUM.js → NJMCPIFZ.js} +1 -1
- package/dist/cdn/{XJH3BCSR.js → NSG72ZRY.js} +1 -1
- package/dist/cdn/O732HICJ.js +2 -0
- package/dist/cdn/{BK5IYTR7.js → OM2SD4GL.js} +1 -1
- package/dist/cdn/{EFEF5BPC.js → OMUC52J7.js} +1 -1
- package/dist/cdn/{Z63J3RPC.js → ORYW2UQT.js} +1 -1
- package/dist/cdn/{QUREQ3LI.js → OY6G7WRA.js} +1 -1
- package/dist/cdn/{6RMUSGTH.js → OYNAYGVL.js} +1 -1
- package/dist/cdn/{EPIT7U5X.js → P2FI3VPB.js} +1 -1
- package/dist/cdn/{6O5CGO2B.js → P4OS2WZH.js} +1 -1
- package/dist/cdn/{5JEBFB6A.js → PDWSSARA.js} +1 -1
- package/dist/cdn/{TNIPSP6H.js → PFJCXICQ.js} +1 -1
- package/dist/cdn/{HWQ5TP4Y.js → PFQRBZ2R.js} +1 -1
- package/dist/cdn/{RWSG4OQ6.js → PN7IQC6W.js} +1 -1
- package/dist/cdn/{HUFVEIMR.js → PNVLJFRT.js} +1 -1
- package/dist/cdn/{3V5DH2CM.js → PRFZO7H6.js} +1 -1
- package/dist/cdn/{UKE3QTSI.js → PSFCLXN5.js} +1 -1
- package/dist/cdn/{RGWLIQYJ.js → PVRW6GH7.js} +1 -1
- package/dist/cdn/{XNBSD7VT.js → Q2SWQJE6.js} +1 -1
- package/dist/cdn/{ABE4L2X7.js → Q63AT47X.js} +1 -1
- package/dist/cdn/{7RTMHA5A.js → QA5RFYFB.js} +1 -1
- package/dist/cdn/{CUGAOVOP.js → QAJBMGDR.js} +1 -1
- package/dist/cdn/{MBJVE6CP.js → QD3OFZ2J.js} +1 -1
- package/dist/cdn/{7BSWFIVR.js → QIJRUWBL.js} +1 -1
- package/dist/cdn/{KV3OYCZ7.js → QTG7XJYB.js} +1 -1
- package/dist/cdn/{ZEQYZ4ZW.js → R4Q6JNRI.js} +1 -1
- package/dist/cdn/{KQLKJSEY.js → RBMOB27D.js} +1 -1
- package/dist/cdn/{3NUB4VDM.js → RJKZS5XK.js} +1 -1
- package/dist/cdn/{F3UZD22N.js → RKXKEH6J.js} +1 -1
- package/dist/cdn/{RXVD7ZU6.js → RRH22QQ2.js} +1 -1
- package/dist/cdn/{2PA6LDHI.js → SM6MR5K2.js} +1 -1
- package/dist/cdn/{FGLF4QBF.js → SNOZLLMJ.js} +1 -1
- package/dist/cdn/{NGKCLUQ2.js → SR4GFBQA.js} +1 -1
- package/dist/cdn/{ZBMGDCTS.js → SRCRLI72.js} +1 -1
- package/dist/cdn/{QH4GJ2BO.js → SZ7ZEH3R.js} +1 -1
- package/dist/cdn/{BJ7M3LN3.js → TCA3STHX.js} +1 -1
- package/dist/cdn/{PZP5NOWP.js → TCM7WFJG.js} +1 -1
- package/dist/cdn/{ZDQXM6XT.js → TGUKY5BV.js} +1 -1
- package/dist/cdn/{HZAC5NDN.js → TJARXZLB.js} +1 -1
- package/dist/cdn/{XU25D2RJ.js → TKARK2DA.js} +1 -1
- package/dist/cdn/{BBDC5ATP.js → TLYTTPKY.js} +1 -1
- package/dist/cdn/{PX2BP3QJ.js → TQ575YV3.js} +1 -1
- package/dist/cdn/{LKYMB7CE.js → TZAXZBZE.js} +1 -1
- package/dist/cdn/UCKIFBYB.js +2 -0
- package/dist/cdn/{7P4SZTMT.js → UGT27E2V.js} +1 -1
- package/dist/cdn/{CSU3RGEL.js → UHD4YMRP.js} +1 -1
- package/dist/cdn/{HVYYARZW.js → UILEONAZ.js} +1 -1
- package/dist/cdn/{MDR5OYC4.js → VBTS3CGO.js} +1 -1
- package/dist/cdn/{XISYCTAZ.js → VO55IV6O.js} +1 -1
- package/dist/cdn/{AU6P56XQ.js → VQA4JWFN.js} +1 -1
- package/dist/cdn/{VXWCNLKB.js → VS4MAZKF.js} +1 -1
- package/dist/cdn/{NV4G572Q.js → VUII7ELM.js} +1 -1
- package/dist/cdn/{YYCNECYH.js → VVANDM5M.js} +1 -1
- package/dist/cdn/{7LN27COB.js → W2CLHJ6A.js} +1 -1
- package/dist/cdn/{KRADCNV2.js → W355TFUU.js} +1 -1
- package/dist/cdn/{R4SLSV5W.js → WFAAFMGR.js} +1 -1
- package/dist/cdn/{ULKZFCQF.js → WFZTUML4.js} +1 -1
- package/dist/cdn/{ZFSB47NV.js → WKHN5ZBO.js} +1 -1
- package/dist/cdn/{UOVNWT76.js → WN7MNBKM.js} +1 -1
- package/dist/cdn/{Z6JYZ2A2.js → WP3MOYXQ.js} +1 -1
- package/dist/cdn/{6OM3S3VY.js → WQXVE4SB.js} +1 -1
- package/dist/cdn/{UWBE2BAD.js → WRK3X32B.js} +1 -1
- package/dist/cdn/{MLK57Q43.js → WRPJRTIN.js} +1 -1
- package/dist/cdn/{OYTZB4RW.js → X4ENFTQO.js} +1 -1
- package/dist/cdn/{UBKX3LIA.js → XFBYFL4O.js} +1 -1
- package/dist/cdn/{WBKMEMM2.js → XIAIN2RU.js} +1 -1
- package/dist/cdn/XIOYOF7O.js +2 -0
- package/dist/cdn/{7F5OYOAD.js → Y74J36IW.js} +1 -1
- package/dist/cdn/{N3MO46HF.js → YCYJSSWI.js} +1 -1
- package/dist/cdn/{GNNMPXCN.js → YEAFBG27.js} +1 -1
- package/dist/cdn/{IPAXUWEW.js → YLOVYSB5.js} +1 -1
- package/dist/cdn/{LVKNCPIL.js → YV6OK6HI.js} +1 -1
- package/dist/cdn/{CXNASRAI.js → Z5FRTAZ2.js} +1 -1
- package/dist/cdn/{MJ2DQQWP.js → Z5SUGRYX.js} +1 -1
- package/dist/cdn/ZDM75J6U.js +2 -0
- package/dist/cdn/{Q5DGZBR4.js → ZLVXLLT6.js} +1 -1
- package/dist/cdn/{NUB6LAXA.js → ZYIVLEWG.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +86 -93
- package/dist/components/arcgis-features/customElement.d.ts +2 -2
- package/dist/components/arcgis-features/customElement.js +47 -45
- package/dist/components/arcgis-features-next/customElement.d.ts +0 -7
- package/dist/components/arcgis-features-next/customElement.js +1 -5
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +0 -9
- package/dist/components/arcgis-popup/customElement.js +0 -3
- package/dist/components/arcgis-search/customElement.js +20 -20
- package/dist/components/arcgis-sketch-tooltip-controls/customElement.d.ts +6 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +2 -2
- package/package.json +4 -4
- package/dist/cdn/5UIAH4FZ.js +0 -2
- package/dist/cdn/6NACBAL7.js +0 -2
- package/dist/cdn/7N5OXSRE.js +0 -2
- package/dist/cdn/DYAZ6LMG.js +0 -2
- package/dist/cdn/IO7J23AF.js +0 -2
- package/dist/cdn/L7J3QTQK.js +0 -2
- package/dist/cdn/NUBDURYZ.js +0 -2
- package/dist/cdn/QA74OQK6.js +0 -2
|
@@ -600,13 +600,6 @@ export abstract class ArcgisFeaturesNext extends LitElement {
|
|
|
600
600
|
* @since 5.1
|
|
601
601
|
*/
|
|
602
602
|
setFocus(): Promise<void>;
|
|
603
|
-
/**
|
|
604
|
-
* Triggers the [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#event-arcgisTriggerAction) event and executes the action
|
|
605
|
-
* at the specified index in the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-features-next/#actions) array.
|
|
606
|
-
*
|
|
607
|
-
* @param action
|
|
608
|
-
*/
|
|
609
|
-
triggerAction(action: ActionButton | ActionToggle): Promise<void>;
|
|
610
603
|
/** Emitted when the component's close button is clicked. */
|
|
611
604
|
readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
612
605
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
@@ -97,10 +97,6 @@ class Q extends P {
|
|
|
97
97
|
async setFocus() {
|
|
98
98
|
await this._focusTrapNode.value?.setFocus();
|
|
99
99
|
}
|
|
100
|
-
async triggerAction(e) {
|
|
101
|
-
if (!e.disabled)
|
|
102
|
-
return e?.type === "toggle" && (e.value = !e.value), await U(e, this.viewModel);
|
|
103
|
-
}
|
|
104
100
|
connectedCallback() {
|
|
105
101
|
super.connectedCallback(), this._createSpinner();
|
|
106
102
|
}
|
|
@@ -241,7 +237,7 @@ class Q extends P {
|
|
|
241
237
|
i || !a || e === t || e === -1 || (this._aggregatedFeatureCount = 0, this._selectedAggregatedFeatureIndex = -1, this._removeFlowItems(), this._rootFlowItemNode.value?.scrollContentTo({ top: 0 }));
|
|
242
238
|
}
|
|
243
239
|
_triggerAction(e) {
|
|
244
|
-
|
|
240
|
+
e.disabled || (e?.type === "toggle" && (e.value = !e.value), U(e, this.viewModel), this.arcgisTriggerAction.emit({ action: e }));
|
|
245
241
|
}
|
|
246
242
|
_viewScaleChange() {
|
|
247
243
|
const { selectedFeature: e } = this;
|
|
@@ -7,7 +7,7 @@ import { LitElement as d } from "@arcgis/lumina";
|
|
|
7
7
|
import { classes as h } from "@arcgis/toolkit/dom";
|
|
8
8
|
import { H as g } from "../../chunks/heading.js";
|
|
9
9
|
import { g as m } from "../../chunks/globalCss.js";
|
|
10
|
-
const f = a`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:flex;flex-direction:row;position:relative;transition:max-width .25s ease-in-out;overflow-x:auto}calcite-carousel-item[selected]{flex:1;overflow:auto}.message{padding:.5em 1em}.service-caption-text{margin:0}.service-content{display:flex;flex:1}.service-content>arcgis-legend-card-element:not(:first-child){border-left:1px solid var(--calcite-color-border-2)}.service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);
|
|
10
|
+
const f = a`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}:host{display:flex;flex-direction:row;position:relative;transition:max-width .25s ease-in-out;overflow-x:auto}calcite-carousel-item[selected]{flex:1;overflow:auto}.message{padding:.5em 1em}.service-caption-text{margin:0}.service-content{display:flex;flex:1}.service-content>arcgis-legend-card-element:not(:first-child){border-left:1px solid var(--calcite-color-border-2)}.service{border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-2);display:flex;flex-direction:column;flex:1}.service-caption-container{border-bottom:1px solid var(--calcite-color-border-2);padding:var(--calcite-spacing-md)}`, u = 768;
|
|
11
11
|
class v extends d {
|
|
12
12
|
constructor() {
|
|
13
13
|
super(...arguments), this.stacked = !1, this.headingLevel = 3, this.layout = "auto", this.type = "card";
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
/// <reference path="../../index.d.ts" />
|
|
2
|
-
import type ActionButton from "@arcgis/core/support/actions/ActionButton.js";
|
|
3
|
-
import type ActionToggle from "@arcgis/core/support/actions/ActionToggle.js";
|
|
4
2
|
import type Graphic from "@arcgis/core/Graphic.js";
|
|
5
3
|
import type Collection from "@arcgis/core/core/Collection.js";
|
|
6
4
|
import type Point from "@arcgis/core/geometry/Point.js";
|
|
@@ -608,13 +606,6 @@ export abstract class ArcgisPopup extends LitElement {
|
|
|
608
606
|
previous(): Promise<void>;
|
|
609
607
|
/** Use this method to give focus to the component if the component is able to be focused. */
|
|
610
608
|
setFocus(): Promise<void>;
|
|
611
|
-
/**
|
|
612
|
-
* Triggers the [@arcgisTriggerAction](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#event-arcgisTriggerAction) event and executes the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions)
|
|
613
|
-
* at the specified index in the [actions](https://developers.arcgis.com/javascript/latest/references/map-components/components/arcgis-popup/#actions) array.
|
|
614
|
-
*
|
|
615
|
-
* @param action
|
|
616
|
-
*/
|
|
617
|
-
triggerAction(action: ActionButton | ActionToggle): Promise<void>;
|
|
618
609
|
/** Emitted when the component's close button is clicked. */
|
|
619
610
|
readonly arcgisClose: import("@arcgis/lumina").TargetedEvent<this, void>;
|
|
620
611
|
readonly arcgisPropertyChange: import("@arcgis/lumina").TargetedEvent<this, { name: "active" | "collapsed" | "currentAlignment" | "dockEnabled" | "effectiveHeading" | "featureCount" | "featureMenuOpen" | "features" | "promises" | "selectedDrillInFeature" | "selectedFeature" | "selectedFeatureComponent" | "selectedFeatureIndex" | "state" | "open"; }>;
|
|
@@ -85,9 +85,6 @@ class j extends L {
|
|
|
85
85
|
async setFocus() {
|
|
86
86
|
this._featuresComponent.value?.setFocus();
|
|
87
87
|
}
|
|
88
|
-
async triggerAction(t) {
|
|
89
|
-
await this._featuresComponent.value?.triggerAction(t);
|
|
90
|
-
}
|
|
91
88
|
connectedCallback() {
|
|
92
89
|
super.connectedCallback(), this._syncPopupResizeObserver();
|
|
93
90
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { c as m } from "../../chunks/runtime.js";
|
|
3
|
-
import { css as _, html as
|
|
3
|
+
import { css as _, html as s } from "lit";
|
|
4
4
|
import { ref as v } from "lit/directives/ref.js";
|
|
5
5
|
import w from "@arcgis/core/widgets/Search/SearchViewModel.js";
|
|
6
6
|
import { LitElement as f, createEvent as b, renderElement as x, safeClassMap as M, nothing as S } from "@arcgis/lumina";
|
|
@@ -97,7 +97,7 @@ class z extends f {
|
|
|
97
97
|
]);
|
|
98
98
|
}
|
|
99
99
|
_addSearchResultRenderer() {
|
|
100
|
-
this._searchResultRendererEl = x(
|
|
100
|
+
this._searchResultRendererEl = x(s`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-search-result-renderer>`);
|
|
101
101
|
}
|
|
102
102
|
_closePopup(e) {
|
|
103
103
|
const { referenceElement: t, view: i } = this;
|
|
@@ -137,7 +137,7 @@ class z extends f {
|
|
|
137
137
|
this._useCurrentLocation();
|
|
138
138
|
return;
|
|
139
139
|
}
|
|
140
|
-
const i = JSON.parse(t), r = this.viewModel.suggestions?.find(({ sourceIndex:
|
|
140
|
+
const i = JSON.parse(t), r = this.viewModel.suggestions?.find(({ sourceIndex: o }) => o === i.sourceIndex)?.results?.find(({ key: o }) => `${o}` == `${i.key}`);
|
|
141
141
|
r && this.search(r);
|
|
142
142
|
}
|
|
143
143
|
async _useCurrentLocation() {
|
|
@@ -179,22 +179,22 @@ class z extends f {
|
|
|
179
179
|
return (e === -1 ? t.all : r?.name || t.untitledSource) || "";
|
|
180
180
|
}
|
|
181
181
|
render() {
|
|
182
|
-
return this._addSearchResultRenderer(),
|
|
182
|
+
return this._addSearchResultRenderer(), s`<div class=${M(y("root", C.widget))}><div class="sr-only" aria-live=polite>${this._selectedMessage}</div><div class="container">${this._renderSourcesMenu()}${this._renderForm()}</div></div>`;
|
|
183
183
|
}
|
|
184
184
|
_renderSourcesMenu() {
|
|
185
|
-
const { messages: e, _isDisabled: t, _effectiveActiveMenu: i } = this, { allSources: r, searchAllEnabled:
|
|
186
|
-
return r.length > 1 ?
|
|
185
|
+
const { messages: e, _isDisabled: t, _effectiveActiveMenu: i } = this, { allSources: r, searchAllEnabled: o } = this.viewModel;
|
|
186
|
+
return r.length > 1 ? s`<calcite-dropdown class="dropdown" .disabled=${t} .open=${i === "source"} overlay-positioning=fixed .topLayerDisabled=${this.topLayerDisabled} @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${o ? this._renderSource(-1) : null}${r.map((n, c) => this._renderSource(c)).toArray()}</calcite-dropdown-group></calcite-dropdown>` : null;
|
|
187
187
|
}
|
|
188
188
|
_renderUseCurrentLocation() {
|
|
189
189
|
const { _currentLocationValue: e } = this;
|
|
190
|
-
return
|
|
190
|
+
return s`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation ?? ""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`;
|
|
191
191
|
}
|
|
192
192
|
_renderAutocomplete() {
|
|
193
|
-
const { _effectiveActiveMenu: e, messages: t, _isDisabled: i } = this, { maxInputLength: r, placeholder:
|
|
194
|
-
return
|
|
193
|
+
const { _effectiveActiveMenu: e, messages: t, _isDisabled: i } = this, { maxInputLength: r, placeholder: o, searchTerm: n, state: c } = this.viewModel, p = this.label ?? t.searchButtonTitle ?? "";
|
|
194
|
+
return s`<calcite-autocomplete autocomplete=off class="autocomplete" .disabled=${i} .icon=${this.icon || void 0} .inputValue=${n} .label=${p} .loading=${c === "searching"} .maxLength=${r} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e === "suggestion"} overlay-positioning=fixed .placeholder=${o} .topLayerDisabled=${this.topLayerDisabled} title=${(n ? "" : o) ?? S} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${v(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`;
|
|
195
195
|
}
|
|
196
196
|
_renderForm() {
|
|
197
|
-
return
|
|
197
|
+
return s`<form class="form" @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class="submit-button" type=submit>${this.label ?? this.messages.searchButtonTitle ?? ""}</button></form>`;
|
|
198
198
|
}
|
|
199
199
|
_renderSuggestGroup(e) {
|
|
200
200
|
return e.results?.map((t) => this._renderSuggestion(t));
|
|
@@ -204,28 +204,28 @@ class z extends f {
|
|
|
204
204
|
return this._showNoResults ? null : this._showCurrentLocation ? this._renderUseCurrentLocation() : e?.map((t) => this._renderSuggestResults(t));
|
|
205
205
|
}
|
|
206
206
|
_renderSuggestResults(e) {
|
|
207
|
-
const { allSources: t, activeSourceIndex: i } = this.viewModel, { sourceIndex: r } = e,
|
|
208
|
-
return
|
|
207
|
+
const { allSources: t, activeSourceIndex: i } = this.viewModel, { sourceIndex: r } = e, o = e.results?.length, n = t.length > 1 && i === -1, c = this._getSourceName(r);
|
|
208
|
+
return o && n ? s`<calcite-autocomplete-item-group .heading=${c}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>` : this._renderSuggestGroup(e);
|
|
209
209
|
}
|
|
210
|
-
_renderSuggestion(
|
|
211
|
-
const r = {
|
|
212
|
-
key:
|
|
213
|
-
sourceIndex:
|
|
210
|
+
_renderSuggestion(e) {
|
|
211
|
+
const { key: t, sourceIndex: i, text: r } = e, o = {
|
|
212
|
+
key: t,
|
|
213
|
+
sourceIndex: i
|
|
214
214
|
};
|
|
215
|
-
return
|
|
215
|
+
return s`<calcite-autocomplete-item .heading=${r ?? this.messages.untitledResult ?? ""} .value=${JSON.stringify(o)} .selected=${e === this.viewModel.selectedSuggestion}></calcite-autocomplete-item>`;
|
|
216
216
|
}
|
|
217
217
|
_renderSource(e) {
|
|
218
218
|
const t = this._getSourceName(e);
|
|
219
|
-
return
|
|
219
|
+
return s`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e === this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`;
|
|
220
220
|
}
|
|
221
221
|
_renderNoResultsWarning(e) {
|
|
222
222
|
const { messages: t } = this, i = e ? h(t.noResultsFoundForValue ?? "", {
|
|
223
223
|
value: `"${e}"`
|
|
224
224
|
}) : t.noResultsFound;
|
|
225
|
-
return
|
|
225
|
+
return s`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${i}</div></calcite-notice>`;
|
|
226
226
|
}
|
|
227
227
|
_renderLocateError() {
|
|
228
|
-
return
|
|
228
|
+
return s`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`;
|
|
229
229
|
}
|
|
230
230
|
_renderNotices() {
|
|
231
231
|
return this._locateFailed ? this._renderLocateError() : this._showNoResults ? this._renderNoResultsWarning(this._lastSearchTerm ?? this.viewModel.searchTerm) : null;
|
|
@@ -4,6 +4,12 @@ import type { TooltipDirectionMode } from "@arcgis/core/views/interactive/toolti
|
|
|
4
4
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
5
5
|
import type { T9nMeta } from "@arcgis/lumina/controllers";
|
|
6
6
|
|
|
7
|
+
/**
|
|
8
|
+
* The sketch-tooltip-controls component provides a user interface to set specific options within Sketch's [SketchTooltipOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/sketch/SketchTooltipOptions/), [SkechLabelOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/sketch/SketchLabelOptions/), and [SketchValueOptions](https://developers.arcgis.com/javascript/latest/references/core/views/interactive/sketch/SketchValueOptions/) classes.
|
|
9
|
+
*
|
|
10
|
+
* @since 5.1
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
7
13
|
export abstract class ArcgisSketchTooltipControls extends LitElement {
|
|
8
14
|
/**
|
|
9
15
|
* private
|