@arcgis/map-components 5.0.0-next.5 → 5.0.0-next.50
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/22EJFQA3.js +4 -0
- package/dist/cdn/{QQ7NXCBU.js → 2552S7TN.js} +2 -2
- package/dist/cdn/{A7BICR4O.js → 2CDBOTOD.js} +2 -2
- package/dist/cdn/2FFCR3WK.js +4 -0
- package/dist/cdn/{FON2DRNE.js → 2KHTCDTT.js} +2 -2
- package/dist/cdn/2MAXVAYG.js +4 -0
- package/dist/cdn/2QPPR4SF.js +4 -0
- package/dist/cdn/2X3QZJ2G.js +4 -0
- package/dist/cdn/34SUNVNN.js +4 -0
- package/dist/cdn/3EKEVDCN.js +4 -0
- package/dist/cdn/3GM4UCRN.js +4 -0
- package/dist/cdn/{B3BDZMK4.js → 3JD6NDKX.js} +2 -2
- package/dist/cdn/{DK6N3VRZ.js → 3LF246WI.js} +2 -2
- package/dist/cdn/3M2UECAM.js +4 -0
- package/dist/cdn/{5RONE6G5.js → 3RYCCDWO.js} +2 -2
- package/dist/cdn/3SHZ222B.js +4 -0
- package/dist/cdn/47EDHC6U.js +4 -0
- package/dist/cdn/4DEHSIZC.js +4 -0
- package/dist/cdn/4ONELZYV.js +4 -0
- package/dist/cdn/{A2W2SQO4.js → 4YDCZM2V.js} +2 -2
- package/dist/cdn/{H3LWJIDF.js → 5F3ZBBNJ.js} +2 -2
- package/dist/cdn/5IWKMLAS.js +4 -0
- package/dist/cdn/5MBFHIAX.js +4 -0
- package/dist/cdn/{PD2HATHB.js → 5O3WPUFV.js} +2 -2
- package/dist/cdn/5VKCHFDP.js +4 -0
- package/dist/cdn/{466INVOH.js → 646M3XKC.js} +2 -2
- package/dist/cdn/{F26G26OG.js → 65TFIVRA.js} +2 -2
- package/dist/cdn/{6P4FNYFK.js → 66UL2VHD.js} +2 -2
- package/dist/cdn/6GDJV2BR.js +4 -0
- package/dist/cdn/6I3V6MNF.js +4 -0
- package/dist/cdn/6LVRO4RA.js +4 -0
- package/dist/cdn/{IURKMZB2.js → 6OY6X4HM.js} +2 -2
- package/dist/cdn/{34OUIPI6.js → 7FCMAEXM.js} +2 -2
- package/dist/cdn/7N5LDFPW.js +4 -0
- package/dist/cdn/{U3KXM6JN.js → 7NL3RPF3.js} +1 -1
- package/dist/cdn/{UTKHOHKS.js → 7POX3S4I.js} +2 -2
- package/dist/cdn/7V7S7CCH.js +4 -0
- package/dist/cdn/7YY657FV.js +4 -0
- package/dist/cdn/7ZZWMYJZ.js +4 -0
- package/dist/cdn/{PHS7UW45.js → A2DJ5QV6.js} +2 -2
- package/dist/cdn/AQQ4IJSA.js +4 -0
- package/dist/cdn/{RQIUPQN4.js → B6EYKL3W.js} +2 -2
- package/dist/cdn/{YA5LAKIG.js → BPFCVN3N.js} +2 -2
- package/dist/cdn/{PIH3NRT7.js → BSCK636J.js} +2 -2
- package/dist/cdn/BUIGWZLN.js +4 -0
- package/dist/cdn/BXFTYU6B.js +4 -0
- package/dist/cdn/{4TPCMFWZ.js → C2S5Q3QQ.js} +2 -2
- package/dist/cdn/{WVWW5FTO.js → C5V56QB2.js} +2 -2
- package/dist/cdn/C5WDTNGW.js +4 -0
- package/dist/cdn/{AWI3K6XR.js → CIZFZWAM.js} +2 -2
- package/dist/cdn/CSZZU2SN.js +4 -0
- package/dist/cdn/{E734O7ZN.js → D5MKLTGH.js} +2 -2
- package/dist/cdn/{NCDGWPV7.js → D7LBTUJD.js} +2 -2
- package/dist/cdn/{I52NZLXX.js → DE3HGA3W.js} +2 -2
- package/dist/cdn/DGUQLDGC.js +4 -0
- package/dist/cdn/DSANSYU7.js +4 -0
- package/dist/cdn/{Y5ECN5RN.js → DVQS46GU.js} +2 -2
- package/dist/cdn/E3NALOTD.js +4 -0
- package/dist/cdn/E5IDX7Q3.js +4 -0
- package/dist/cdn/{4LHPWTSQ.js → E6FF6DBL.js} +2 -2
- package/dist/cdn/{QJQTAHNS.js → EE55ZK2A.js} +2 -2
- package/dist/cdn/EGGL7Z2R.js +4 -0
- package/dist/cdn/EHDTMDN6.js +4 -0
- package/dist/cdn/EIF252V6.js +4 -0
- package/dist/cdn/{FENOD7H6.js → EMPVEOEM.js} +2 -2
- package/dist/cdn/EPHCA6YC.js +4 -0
- package/dist/cdn/{V27L2ZBV.js → ETZYF4HD.js} +2 -2
- package/dist/cdn/F6EXNNGE.js +4 -0
- package/dist/cdn/FCPYVACN.js +4 -0
- package/dist/cdn/FD66EEY3.js +4 -0
- package/dist/cdn/{IN4RK6U7.js → FGRQ5OJY.js} +2 -2
- package/dist/cdn/FJJF7IY7.js +4 -0
- package/dist/cdn/{XSRIC2UT.js → FKN5F5DP.js} +2 -2
- package/dist/cdn/FRPECK4L.js +4 -0
- package/dist/cdn/G2GICTH7.js +4 -0
- package/dist/cdn/{AEQ2EA5V.js → G4MNRG5J.js} +2 -2
- package/dist/cdn/{6TR3C4W7.js → G4UI7FTV.js} +2 -2
- package/dist/cdn/G5DPKPMX.js +4 -0
- package/dist/cdn/G5UU3U7V.js +4 -0
- package/dist/cdn/GDK2O7ML.js +4 -0
- package/dist/cdn/{AFQCY6M5.js → GIHSIKR7.js} +2 -2
- package/dist/cdn/GMWNUBMY.js +4 -0
- package/dist/cdn/{LUGLNVKJ.js → GSPTV7LS.js} +2 -2
- package/dist/cdn/GWH6CLMG.js +4 -0
- package/dist/cdn/H3HX4U4A.js +4 -0
- package/dist/cdn/H6KX7BI6.js +4 -0
- package/dist/cdn/H7Z7Q333.js +4 -0
- package/dist/cdn/HHHVEKPC.js +4 -0
- package/dist/cdn/HLDCLA6W.js +4 -0
- package/dist/cdn/HNLZKWMD.js +4 -0
- package/dist/cdn/{REQDDBVN.js → HNN7ILDY.js} +1 -1
- package/dist/cdn/HUVVO7RV.js +4 -0
- package/dist/cdn/HYL7OPOR.js +4 -0
- package/dist/cdn/I34RGBR7.js +4 -0
- package/dist/cdn/IBE4RYG7.js +4 -0
- package/dist/cdn/IEILJ3IG.js +4 -0
- package/dist/cdn/{3BKVP63O.js → IGGOQYSO.js} +2 -2
- package/dist/cdn/{ZXFC3OPO.js → IJRWPAVO.js} +2 -2
- package/dist/cdn/INKCXO6L.js +4 -0
- package/dist/cdn/{ZQLSVPWL.js → INNHOO4N.js} +2 -2
- package/dist/cdn/{UEGRTPH3.js → IWBEDREE.js} +2 -2
- package/dist/cdn/IYQA6UQT.js +4 -0
- package/dist/cdn/{FRWCQ2AN.js → J3S54ODM.js} +1 -1
- package/dist/cdn/{UODLYZYS.js → J7NVMVYP.js} +2 -2
- package/dist/cdn/JAVUSUSN.js +4 -0
- package/dist/cdn/JAY4MRTJ.js +4 -0
- package/dist/cdn/JVJ5EIWH.js +4 -0
- package/dist/cdn/K6AAGZWM.js +4 -0
- package/dist/cdn/KBPU7HBF.js +4 -0
- package/dist/cdn/{UL7MLQKU.js → KDHKRP7Y.js} +2 -2
- package/dist/cdn/KF2NRWDA.js +4 -0
- package/dist/cdn/KX53I3PU.js +4 -0
- package/dist/cdn/{R47O2BDP.js → KXGPSCU3.js} +2 -2
- package/dist/cdn/KYNVUKEO.js +4 -0
- package/dist/cdn/{WK5SF3NM.js → KZP4ZJO4.js} +2 -2
- package/dist/cdn/L5CJKTGE.js +4 -0
- package/dist/cdn/{TUU22AO6.js → LVTLDQRA.js} +2 -2
- package/dist/cdn/M4EPETKM.js +4 -0
- package/dist/cdn/MDP2QMXY.js +4 -0
- package/dist/cdn/MFZDBUW2.js +4 -0
- package/dist/cdn/{Q6JTY2DJ.js → MOKYAZ5A.js} +1 -1
- package/dist/cdn/MVJOS6OA.js +4 -0
- package/dist/cdn/MWUCMJ2C.js +4 -0
- package/dist/cdn/N4AQOI5W.js +4 -0
- package/dist/cdn/{O7W3JZFF.js → NAPKZQSB.js} +2 -2
- package/dist/cdn/{X2P2BANB.js → NBW76VEY.js} +2 -2
- package/dist/cdn/NBWMRH5T.js +5 -0
- package/dist/cdn/NFO3P3SG.js +4 -0
- package/dist/cdn/NG2OOWKJ.js +4 -0
- package/dist/cdn/{UNORCWD2.js → NQQ4X5LJ.js} +2 -2
- package/dist/cdn/NSGVZY5H.js +4 -0
- package/dist/cdn/{C7DCQBPT.js → NWJNICMV.js} +2 -2
- package/dist/cdn/{RYP3YAQU.js → O5AGD4Q2.js} +2 -2
- package/dist/cdn/{HNRGCE2E.js → OCQRHJGG.js} +2 -2
- package/dist/cdn/OPVOXCXP.js +4 -0
- package/dist/cdn/OR3JXZIY.js +4 -0
- package/dist/cdn/{PQFM7YFO.js → OSDRTOSG.js} +2 -2
- package/dist/cdn/{3LTZOKPZ.js → P4QDKFSO.js} +1 -1
- package/dist/cdn/PC4KI623.js +4 -0
- package/dist/cdn/PCUP3GVD.js +4 -0
- package/dist/cdn/{6DTQPNPV.js → PGFTK4XG.js} +2 -2
- package/dist/cdn/PH52RU2E.js +4 -0
- package/dist/cdn/{EBH3NORE.js → PRWYOY6V.js} +2 -2
- package/dist/cdn/{4J7UXW4V.js → PVIU5CKI.js} +1 -1
- package/dist/cdn/{VFF44TJ6.js → PW64HQIJ.js} +2 -2
- package/dist/cdn/{JY63CMAB.js → Q24AASG2.js} +2 -2
- package/dist/cdn/{B4YSX2BI.js → Q26EAKYK.js} +1 -1
- package/dist/cdn/Q3OGWCHR.js +4 -0
- package/dist/cdn/Q4RFATVD.js +4 -0
- package/dist/cdn/Q77ZJGUY.js +4 -0
- package/dist/cdn/{ZXUX6MFW.js → QD3TTLK7.js} +2 -2
- package/dist/cdn/{J6KG2Z45.js → QIEEG657.js} +2 -2
- package/dist/cdn/QQFFFD5W.js +4 -0
- package/dist/cdn/{ADXVD42H.js → QRJTASDQ.js} +2 -2
- package/dist/cdn/QX4XNWPY.js +4 -0
- package/dist/cdn/QXB4K6I3.js +4 -0
- package/dist/cdn/{7BBQPJCM.js → RCG3NDM4.js} +2 -2
- package/dist/cdn/{C63TPNGG.js → RESL63EF.js} +2 -2
- package/dist/cdn/{Q3ICPLQZ.js → RPEBP4JY.js} +2 -2
- package/dist/cdn/{GRCPMP5I.js → S4URGOCU.js} +2 -2
- package/dist/cdn/S53PYRAV.js +4 -0
- package/dist/cdn/SETGZM6K.js +4 -0
- package/dist/cdn/SMFYDVY4.js +4 -0
- package/dist/cdn/{C3PGIIHL.js → SQALZT73.js} +2 -2
- package/dist/cdn/{HQRMKPHR.js → SSE3UXIJ.js} +2 -2
- package/dist/cdn/STFNXGNF.js +4 -0
- package/dist/cdn/{AN73DPMU.js → SVL5D73B.js} +1 -1
- package/dist/cdn/T4JL6JM7.js +4 -0
- package/dist/cdn/{OR5HVPGI.js → T4O44H5O.js} +2 -2
- package/dist/cdn/TAZP7HOH.js +4 -0
- package/dist/cdn/{WAQVWOOL.js → THO5FW3Z.js} +2 -2
- package/dist/cdn/TIHDAREN.js +4 -0
- package/dist/cdn/{LUIM6R3C.js → TIKJZVKU.js} +2 -2
- package/dist/cdn/TNNTYOKT.js +4 -0
- package/dist/cdn/TR5KANC7.js +4 -0
- package/dist/cdn/{BXK33PBZ.js → TUSRIHUK.js} +1 -1
- package/dist/cdn/TZJWH436.js +4 -0
- package/dist/cdn/U6KQSKUM.js +4 -0
- package/dist/cdn/UBSQLMCM.js +9 -0
- package/dist/cdn/{GIBKNUFW.js → UBYRQTVD.js} +2 -2
- package/dist/cdn/UEQKP7ER.js +4 -0
- package/dist/cdn/{A7EK4YU5.js → UFHIQCA7.js} +2 -2
- package/dist/cdn/UHYBCCWR.js +4 -0
- package/dist/cdn/{VSZ6MWHR.js → UL2A42VF.js} +2 -2
- package/dist/cdn/{5PSO47CO.js → UM7JKW3A.js} +2 -2
- package/dist/cdn/UPAOBJRF.js +4 -0
- package/dist/cdn/{I6QIB7JC.js → UTGU63V4.js} +2 -2
- package/dist/cdn/V3ARDBG4.js +4 -0
- package/dist/cdn/VFQLMQ77.js +4 -0
- package/dist/cdn/VINTC2MB.js +4 -0
- package/dist/cdn/VJIWITUJ.js +4 -0
- package/dist/cdn/VMZIMSUB.js +4 -0
- package/dist/cdn/{WQTDRNT3.js → VSVCPTPZ.js} +2 -2
- package/dist/cdn/VTLBT44Y.js +4 -0
- package/dist/cdn/{L5R3WRXO.js → VZOXMFQJ.js} +2 -2
- package/dist/cdn/{B3TRMHSU.js → W5ICVIVH.js} +2 -2
- package/dist/cdn/W7SKQWJO.js +4 -0
- package/dist/cdn/WGGM6PEB.js +4 -0
- package/dist/cdn/{TRGKRUEY.js → WH6NRJUB.js} +2 -2
- package/dist/cdn/{66XP7ISP.js → WJ322XM2.js} +2 -2
- package/dist/cdn/WM3GRNHB.js +4 -0
- package/dist/cdn/{M57KTCMF.js → WQUXOJ6K.js} +2 -2
- package/dist/cdn/WT77ZKLM.js +4 -0
- package/dist/cdn/X43CYNQI.js +4 -0
- package/dist/cdn/X4HK55ZN.js +4 -0
- package/dist/cdn/XAWGK42X.js +4 -0
- package/dist/cdn/XEMZO4M7.js +4 -0
- package/dist/cdn/XEXGUQSP.js +4 -0
- package/dist/cdn/{LHZIRPAB.js → XJFCWOTP.js} +2 -2
- package/dist/cdn/XQASFJWZ.js +4 -0
- package/dist/cdn/{5AFYPDDT.js → XQJD2O4Y.js} +2 -2
- package/dist/cdn/XS4A64DB.js +4 -0
- package/dist/cdn/{ZG5YI3R5.js → XWSUHUY3.js} +2 -2
- package/dist/cdn/XYZK654D.js +4 -0
- package/dist/cdn/YCA7PPCW.js +4 -0
- package/dist/cdn/YCTLI7T4.js +4 -0
- package/dist/cdn/YJKIV3ZU.js +4 -0
- package/dist/cdn/YP7WQYDY.js +4 -0
- package/dist/cdn/{LPV53QOR.js → YSD2GY77.js} +2 -2
- package/dist/cdn/{VX7UD4NL.js → YUYTDDAR.js} +1 -1
- package/dist/cdn/{HBH2NXCY.js → YVMAHJVO.js} +2 -2
- package/dist/cdn/YYVGPHDO.js +4 -0
- package/dist/cdn/ZCYVKR6L.js +4 -0
- package/dist/cdn/ZFGSORSH.js +4 -0
- package/dist/cdn/ZUFGJ4KN.js +4 -0
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-location-list/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +42 -38
- package/dist/chunks/action-utils.js +2 -2
- package/dist/chunks/async-utils.js +79 -61
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +24 -10
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +5 -5
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +91 -0
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/chunks/visible-element.js +9 -0
- package/dist/components/arcgis-area-measurement-2d/AreaMeasurement2dViewModel.d.ts +40 -0
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +71 -55
- package/dist/components/arcgis-area-measurement-2d/customElement.js +131 -19
- package/dist/components/arcgis-area-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-area-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +10 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.js +31 -32
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -6
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +17 -7
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +4 -4
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +55 -56
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +119 -56
- package/dist/components/arcgis-daylight/customElement.js +158 -160
- package/dist/components/arcgis-daylight/index.d.ts +1 -0
- package/dist/components/arcgis-daylight/index.js +1 -0
- package/dist/components/arcgis-direct-line-measurement-3d/DirectLineMeasurement3dViewModel.d.ts +11 -11
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +43 -51
- package/dist/components/arcgis-directional-pad/customElement.d.ts +3 -3
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/DistanceMeasurement2dViewModel.d.ts +39 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +70 -51
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +126 -16
- package/dist/components/arcgis-distance-measurement-2d/index.d.ts +3 -0
- package/dist/components/arcgis-distance-measurement-2d/index.js +3 -0
- package/dist/components/arcgis-editor/customElement.d.ts +29 -7
- package/dist/components/arcgis-editor/customElement.js +4 -4
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +30 -19
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +192 -79
- package/dist/components/arcgis-elevation-profile/customElement.js +576 -16
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/index.d.ts +5 -0
- package/dist/components/arcgis-elevation-profile/index.js +5 -0
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/interfaces.d.ts +2 -11
- package/dist/components/arcgis-elevation-profile-legend/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +11 -11
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.d.ts +5 -2
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +18 -15
- package/dist/components/arcgis-elevation-profile-settings/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +48 -0
- package/dist/components/arcgis-expand/customElement.d.ts +13 -12
- package/dist/components/arcgis-expand/customElement.js +152 -45
- package/dist/components/arcgis-feature/customElement.d.ts +20 -24
- package/dist/components/arcgis-feature/customElement.js +90 -77
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-fields/customElement.js +36 -32
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-media/customElement.js +179 -178
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -10
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/{arcgis-print-exported-link → arcgis-feature-utility-network-associations}/index.d.ts +4 -3
- package/dist/components/{arcgis-print-exported-link → arcgis-feature-utility-network-associations}/index.js +4 -3
- package/dist/components/arcgis-features/customElement.d.ts +29 -14
- package/dist/components/arcgis-features/customElement.js +8 -8
- package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -4
- package/dist/components/arcgis-floor-filter/customElement.js +7 -7
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +4 -4
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +4 -4
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +19 -4
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +3 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +73 -8
- package/dist/components/arcgis-link-chart/customElement.js +22 -27
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -4
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +3 -3
- package/dist/components/arcgis-map/customElement.d.ts +479 -64
- package/dist/components/arcgis-map/customElement.js +28 -33
- package/dist/components/arcgis-measurement/customElement.d.ts +4 -4
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.d.ts +2 -0
- package/dist/components/arcgis-measurement-content/customElement.js +25 -34
- package/dist/components/arcgis-measurement-content/index.d.ts +1 -0
- package/dist/components/arcgis-measurement-content/index.js +1 -0
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +14 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +11 -8
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +43 -10
- package/dist/components/arcgis-popup/customElement.js +8 -5
- package/dist/components/arcgis-print/customElement.d.ts +22 -6
- package/dist/components/arcgis-print/customElement.js +22 -19
- package/dist/components/arcgis-print/utils.d.ts +1 -2
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.d.ts +2 -2
- package/dist/components/arcgis-print-exports-panel/customElement.js +75 -18
- package/dist/components/arcgis-print-exports-panel/index.d.ts +4 -1
- package/dist/components/arcgis-print-exports-panel/index.js +4 -1
- package/dist/components/arcgis-print-format-select/customElement.js +15 -16
- package/dist/components/arcgis-print-layout-advanced-options/customElement.d.ts +2 -0
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +22 -20
- package/dist/components/arcgis-print-layout-panel/customElement.d.ts +4 -0
- package/dist/components/arcgis-print-layout-panel/customElement.js +18 -19
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +5 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +10 -10
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +2 -0
- package/dist/components/arcgis-print-map-only-panel/customElement.js +23 -21
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +18 -19
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +23 -22
- package/dist/components/arcgis-print-template-selector/customElement.js +16 -17
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -3
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +66 -11
- package/dist/components/arcgis-scene/customElement.js +25 -30
- package/dist/components/arcgis-search/customElement.d.ts +19 -21
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +8 -8
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +28 -11
- package/dist/components/arcgis-sketch/customElement.js +18 -10
- package/dist/components/arcgis-slice/customElement.d.ts +3 -3
- package/dist/components/arcgis-slice/customElement.js +14 -15
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -3
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -5
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.d.ts +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -4
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +38 -52
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +17 -7
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +241 -62
- package/dist/components/arcgis-utility-network-trace-inputs/index.d.ts +7 -2
- package/dist/components/arcgis-utility-network-trace-inputs/index.js +7 -2
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +56 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +250 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +4 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.d.ts +21 -0
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +75 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.d.ts +9 -0
- package/dist/components/arcgis-utility-network-trace-location-list/index.js +9 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +4 -4
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +4 -4
- package/dist/components/arcgis-video-player/customElement.js +4 -4
- package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
- package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
- package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
- package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
- package/dist/components/arcgis-volume-measurement/VolumeMeasurementViewModel.d.ts +55 -0
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +114 -0
- package/dist/components/arcgis-volume-measurement/customElement.js +236 -0
- package/dist/components/arcgis-volume-measurement/index.d.ts +10 -0
- package/dist/components/arcgis-volume-measurement/index.js +10 -0
- package/dist/components/arcgis-volume-measurement/volume-measurement-test-utils.d.ts +1 -0
- package/dist/components/arcgis-weather/LabeledSlider.d.ts +3 -2
- package/dist/components/arcgis-weather/customElement.d.ts +18 -2
- package/dist/components/arcgis-weather/customElement.js +150 -132
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
- package/dist/controllers/uiController.d.ts +5 -0
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/controllers/useHandles.d.ts +1 -1
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/api.json +11667 -10489
- package/dist/docs/docs.json +6659 -5580
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +555 -506
- package/dist/docs/web-types.json +1375 -1117
- package/dist/index.d.ts +59 -40
- package/dist/index.js +1 -1
- package/dist/loader.js +33 -30
- package/dist/support/AnalysisViewModel.d.ts +2 -1
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +7 -4
- package/dist/types/lumina.d.ts +48 -29
- package/dist/types/preact.d.ts +52 -31
- package/dist/types/preact10.d.ts +56 -33
- package/dist/types/react.d.ts +56 -33
- package/dist/types/stencil.d.ts +48 -29
- package/dist/utils/async-utils.d.ts +19 -0
- package/dist/utils/feature-utils.d.ts +16 -1
- package/dist/utils/highlight-utils.d.ts +22 -0
- package/dist/utils/layer-utils.d.ts +4 -0
- package/package.json +5 -5
- package/dist/cdn/26MREIVX.js +0 -4
- package/dist/cdn/2HCAQJDA.js +0 -4
- package/dist/cdn/2NGYP2TU.js +0 -4
- package/dist/cdn/2OPKEDRF.js +0 -4
- package/dist/cdn/2QQXT6S3.js +0 -4
- package/dist/cdn/2U56XZA5.js +0 -4
- package/dist/cdn/3LFISTCL.js +0 -4
- package/dist/cdn/3QEGCSXN.js +0 -4
- package/dist/cdn/3TXEUTMX.js +0 -4
- package/dist/cdn/4ELLMRLV.js +0 -4
- package/dist/cdn/4LG44MCV.js +0 -4
- package/dist/cdn/52TIW2GW.js +0 -4
- package/dist/cdn/5K7B7ZV3.js +0 -4
- package/dist/cdn/6OBLJBSZ.js +0 -4
- package/dist/cdn/6UIGZRW5.js +0 -4
- package/dist/cdn/6V2MNKRP.js +0 -4
- package/dist/cdn/6WKL7XXK.js +0 -4
- package/dist/cdn/752MVXWG.js +0 -4
- package/dist/cdn/7HIVI5W6.js +0 -4
- package/dist/cdn/7IIYFAL2.js +0 -4
- package/dist/cdn/7LENP7UQ.js +0 -4
- package/dist/cdn/7M3YBBT4.js +0 -4
- package/dist/cdn/7OXV6AQA.js +0 -4
- package/dist/cdn/AT7HVKEZ.js +0 -4
- package/dist/cdn/BU6LB2N4.js +0 -4
- package/dist/cdn/CI7PXTLU.js +0 -4
- package/dist/cdn/CP23UGPK.js +0 -4
- package/dist/cdn/CP2HQZUP.js +0 -9
- package/dist/cdn/D332NHX4.js +0 -4
- package/dist/cdn/DELN7ZGL.js +0 -5
- package/dist/cdn/DHEMTNFY.js +0 -4
- package/dist/cdn/EBLK7WAD.js +0 -4
- package/dist/cdn/EEVS67WB.js +0 -4
- package/dist/cdn/EHSC3ELP.js +0 -4
- package/dist/cdn/F67NPTF5.js +0 -4
- package/dist/cdn/FESFNS34.js +0 -4
- package/dist/cdn/FFQ5PPQJ.js +0 -4
- package/dist/cdn/FHIPTY2Q.js +0 -4
- package/dist/cdn/FSHOPPLQ.js +0 -4
- package/dist/cdn/FSU3E6AQ.js +0 -4
- package/dist/cdn/FVILGVFZ.js +0 -4
- package/dist/cdn/G4H5D4DJ.js +0 -4
- package/dist/cdn/G54Y3XZX.js +0 -4
- package/dist/cdn/GFOOUTML.js +0 -4
- package/dist/cdn/GLOIWZ3O.js +0 -4
- package/dist/cdn/H3JJOTON.js +0 -4
- package/dist/cdn/H7YNL2TB.js +0 -4
- package/dist/cdn/HJU6AZMW.js +0 -4
- package/dist/cdn/HK3XAWSI.js +0 -4
- package/dist/cdn/HQCVE2GO.js +0 -4
- package/dist/cdn/HVWVEPEF.js +0 -4
- package/dist/cdn/HYQZEUBU.js +0 -4
- package/dist/cdn/HYTYRGG4.js +0 -4
- package/dist/cdn/IC6SSSQO.js +0 -4
- package/dist/cdn/IDDFJ4DV.js +0 -4
- package/dist/cdn/ILRNOAV4.js +0 -4
- package/dist/cdn/IT3LUX3O.js +0 -4
- package/dist/cdn/IUY6HYRA.js +0 -4
- package/dist/cdn/JQ5GUQ7P.js +0 -4
- package/dist/cdn/JQMPF5IV.js +0 -4
- package/dist/cdn/KRGNBQ5Z.js +0 -4
- package/dist/cdn/KRM4ZBQX.js +0 -4
- package/dist/cdn/LDR7F5EQ.js +0 -4
- package/dist/cdn/LHRDTGQY.js +0 -4
- package/dist/cdn/LJGUZAHH.js +0 -4
- package/dist/cdn/LYR5T5U2.js +0 -4
- package/dist/cdn/M5TG4CFU.js +0 -4
- package/dist/cdn/MBMBYUJM.js +0 -4
- package/dist/cdn/MDSY3NEJ.js +0 -4
- package/dist/cdn/MIILDVMA.js +0 -4
- package/dist/cdn/MJTBUONI.js +0 -4
- package/dist/cdn/MROG6VEE.js +0 -4
- package/dist/cdn/N4IL4AAP.js +0 -4
- package/dist/cdn/NAUZASE4.js +0 -4
- package/dist/cdn/NKFSCGG6.js +0 -4
- package/dist/cdn/NSWHZFRT.js +0 -4
- package/dist/cdn/O6ETD4MH.js +0 -4
- package/dist/cdn/OKDOTHSU.js +0 -4
- package/dist/cdn/OM64AHWG.js +0 -4
- package/dist/cdn/PDTW4YVA.js +0 -4
- package/dist/cdn/PIAPT753.js +0 -4
- package/dist/cdn/PLSSYDMD.js +0 -4
- package/dist/cdn/PQELEFJN.js +0 -4
- package/dist/cdn/PTBGNUJM.js +0 -4
- package/dist/cdn/PTVDQWLH.js +0 -4
- package/dist/cdn/PV45DKP7.js +0 -4
- package/dist/cdn/QL45S7N3.js +0 -4
- package/dist/cdn/R52GAK7D.js +0 -4
- package/dist/cdn/RESW7W5U.js +0 -4
- package/dist/cdn/RGWLLT5R.js +0 -4
- package/dist/cdn/RR5AN2LO.js +0 -4
- package/dist/cdn/RRFZLG2A.js +0 -4
- package/dist/cdn/RRSFGBWH.js +0 -4
- package/dist/cdn/RRTNNJPP.js +0 -4
- package/dist/cdn/RVLHZ2VH.js +0 -4
- package/dist/cdn/RZEP2TRT.js +0 -4
- package/dist/cdn/S6KB7IUN.js +0 -4
- package/dist/cdn/SAUW35NW.js +0 -4
- package/dist/cdn/SNL2OTTM.js +0 -4
- package/dist/cdn/SSWX5ZC5.js +0 -4
- package/dist/cdn/STEBIRS4.js +0 -4
- package/dist/cdn/SVWGIDDU.js +0 -4
- package/dist/cdn/SWZPUBX6.js +0 -4
- package/dist/cdn/SXGMPEP3.js +0 -4
- package/dist/cdn/TELHVYR4.js +0 -4
- package/dist/cdn/UKIS5KFN.js +0 -4
- package/dist/cdn/V3W3XWBZ.js +0 -4
- package/dist/cdn/VD6BHESH.js +0 -4
- package/dist/cdn/VS3WT3CK.js +0 -4
- package/dist/cdn/W75DFBEN.js +0 -4
- package/dist/cdn/WFURIXQT.js +0 -4
- package/dist/cdn/WPILMPPG.js +0 -4
- package/dist/cdn/WVIM6FIJ.js +0 -4
- package/dist/cdn/X262DH36.js +0 -4
- package/dist/cdn/X3ERGEZW.js +0 -4
- package/dist/cdn/X54JTEIS.js +0 -4
- package/dist/cdn/XGEGIP2X.js +0 -4
- package/dist/cdn/XI2OTXXN.js +0 -4
- package/dist/cdn/Y363VSHL.js +0 -4
- package/dist/cdn/YKC76WL2.js +0 -4
- package/dist/cdn/YWUALWAR.js +0 -4
- package/dist/cdn/ZCOROTYT.js +0 -4
- package/dist/cdn/ZJXPCSTB.js +0 -4
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
- package/dist/chunks/uiController.js +0 -50
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +0 -208
- package/dist/components/arcgis-elevation-profile-next/customElement.js +0 -542
- package/dist/components/arcgis-elevation-profile-next/index.d.ts +0 -6
- package/dist/components/arcgis-elevation-profile-next/index.js +0 -6
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +0 -14
- package/dist/components/arcgis-print-exported-link/customElement.js +0 -100
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
- package/dist/utils/mapping-utils.d.ts +0 -2
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ar.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bg.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.bs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ca.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.cs.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.da.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.de.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.el.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.es.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.et.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.fr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.he.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.hu.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.id.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.it.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ja.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ko.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lt.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.lv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.nl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.no.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-BR.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.pt-PT.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ro.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.ru.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sl.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.sv.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.th.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.tr.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.uk.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.vi.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-CN.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-HK.json +0 -0
- /package/dist/cdn/assets/{elevation-profile-next → elevation-profile}/t9n/messages.zh-TW.json +0 -0
|
@@ -17,6 +17,40 @@ declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewMo
|
|
|
17
17
|
* by providing users with a simple way to interact with and view attributes in a layer.
|
|
18
18
|
* They play an important role in relaying information to the user, which improves the storytelling capabilities of the application.
|
|
19
19
|
*
|
|
20
|
+
* The [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), and [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/) components currently use the [Popup widget](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html) by default.
|
|
21
|
+
* To use the Popup component, add it to the [arcgis-map.popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/#popup), [arcgis-scene.popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#popup), or [arcgis-link-chart.popup](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/#popup) component using the `popup` slot.
|
|
22
|
+
* The Popup component will be opened automatically to display the selected feature's popup template when features in the Map, Scene, or Link Chart are clicked.
|
|
23
|
+
*
|
|
24
|
+
* ```html
|
|
25
|
+
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9">
|
|
26
|
+
* <!-- Add the popup component to the popup slot. -->
|
|
27
|
+
* <arcgis-popup slot="popup"></arcgis-popup>
|
|
28
|
+
* </arcgis-map>
|
|
29
|
+
* ```
|
|
30
|
+
* The Popup component can also be opened manually at a specific location with custom content specified in the method parameters using the `open()` method.
|
|
31
|
+
* To prevent the popup from opening automatically when clicking on features within view components, set the `popup-disabled` attribute to `true`.
|
|
32
|
+
*
|
|
33
|
+
* ```html
|
|
34
|
+
* <!-- Set popup-disabled attribute -->
|
|
35
|
+
* <arcgis-map id="06ca49d0ddb447e7817cfc343ca30df9" popup-disabled>
|
|
36
|
+
* <!-- Add the popup component to the popup slot. -->
|
|
37
|
+
* <arcgis-popup slot="popup"></arcgis-popup>
|
|
38
|
+
* </arcgis-map>
|
|
39
|
+
* <script>
|
|
40
|
+
* const viewElement = document.querySelector("arcgis-map");
|
|
41
|
+
* const popupComponent = document.querySelector("arcgis-popup");
|
|
42
|
+
* // Listen for clicks on the view and open the popup at the clicked location with custom content.
|
|
43
|
+
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
44
|
+
* const { mapPoint } = event.detail;
|
|
45
|
+
* popupComponent.open({
|
|
46
|
+
* location: mapPoint,
|
|
47
|
+
* heading: "You clicked here",
|
|
48
|
+
* content: "Latitude: " + mapPoint.latitude.toFixed(3) + ", Longitude: " + mapPoint.longitude.toFixed(3)
|
|
49
|
+
* });
|
|
50
|
+
* });
|
|
51
|
+
* </script>
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
20
54
|
* ## Popup UI
|
|
21
55
|
* The [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/) components contain a default popup.
|
|
22
56
|
* This popup can display generic content, which is set in its [heading](#heading)
|
|
@@ -56,7 +90,6 @@ declare const useFeaturesViewModel: (component: LitElement & Pick<FeaturesViewMo
|
|
|
56
90
|
* @since 4.34
|
|
57
91
|
* @beta
|
|
58
92
|
* @see [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html)
|
|
59
|
-
* @see [Guide - Esri Icon Font](https://developers.arcgis.com/javascript/latest/guide/esri-icon-font/)
|
|
60
93
|
*/
|
|
61
94
|
export declare class ArcgisPopup extends LitElement {
|
|
62
95
|
/**
|
|
@@ -147,7 +180,7 @@ export declare class ArcgisPopup extends LitElement {
|
|
|
147
180
|
* popupComponent.content = "Click a feature on the map to view its attributes";
|
|
148
181
|
* ```
|
|
149
182
|
*/
|
|
150
|
-
content: string |
|
|
183
|
+
content: string | nullish | HTMLElement | __esri.Widget;
|
|
151
184
|
/** Dock position in the [arcgis-map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/), [arcgis-scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/), or [arcgis-link-chart](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-link-chart/) component. */
|
|
152
185
|
get currentDockPosition(): nil | PopupPositionResult;
|
|
153
186
|
/**
|
|
@@ -424,7 +457,7 @@ export declare class ArcgisPopup extends LitElement {
|
|
|
424
457
|
* });
|
|
425
458
|
* ```
|
|
426
459
|
*/
|
|
427
|
-
location:
|
|
460
|
+
location: __esri.Point | nullish;
|
|
428
461
|
/** Overwrite localized strings for this component */
|
|
429
462
|
messageOverrides?: typeof this.messages._overrides;
|
|
430
463
|
/**
|
|
@@ -450,7 +483,7 @@ export declare class ArcgisPopup extends LitElement {
|
|
|
450
483
|
* determined based on the [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html) assigned to
|
|
451
484
|
* this feature.
|
|
452
485
|
*/
|
|
453
|
-
readonly selectedFeature:
|
|
486
|
+
readonly selectedFeature: __esri.Graphic | nullish;
|
|
454
487
|
/**
|
|
455
488
|
* Returns a reference to the current [arcgis-feature](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-feature/) that the Popup is using.
|
|
456
489
|
* This is useful if needing to get a reference to the component in order to make any changes to it.
|
|
@@ -469,12 +502,12 @@ export declare class ArcgisPopup extends LitElement {
|
|
|
469
502
|
readonly state: "ready" | "disabled";
|
|
470
503
|
/**
|
|
471
504
|
* The view associated with the component.
|
|
472
|
-
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the
|
|
505
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the Popup component will be associated with a map or scene component rather than using the `view` property.
|
|
473
506
|
*/
|
|
474
|
-
view?: __esri.MapView | __esri.SceneView
|
|
507
|
+
view?: nullish | __esri.MapView | __esri.SceneView;
|
|
475
508
|
/**
|
|
476
509
|
* Indicates whether the popup is visible. This property is `true` when the popup is querying for results, even if it is not open.
|
|
477
|
-
* Use the property to check if the popup is visible
|
|
510
|
+
* Use the property to check if the popup is visible.
|
|
478
511
|
*
|
|
479
512
|
* @name visible
|
|
480
513
|
* @type {boolean}
|
|
@@ -482,7 +515,7 @@ export declare class ArcgisPopup extends LitElement {
|
|
|
482
515
|
*/
|
|
483
516
|
visible: boolean;
|
|
484
517
|
/** @internal */
|
|
485
|
-
handleViewClick(event:
|
|
518
|
+
handleViewClick(event: __esri.ViewClickEvent): Promise<__esri.FeaturesViewModelOpenOptions>;
|
|
486
519
|
/**
|
|
487
520
|
* Removes all [promises](#promises), [features](#features), [content](#content),
|
|
488
521
|
* [heading](#heading) and [location](#location) from the Popup.
|
|
@@ -582,7 +615,7 @@ export declare class ArcgisPopup extends LitElement {
|
|
|
582
615
|
* @see [selectedFeatureIndex](#selectedFeatureIndex)
|
|
583
616
|
*/
|
|
584
617
|
previous(): Promise<FeaturesViewModel>;
|
|
585
|
-
/** Use this method to give focus to the
|
|
618
|
+
/** Use this method to give focus to the component if the component is able to be focused. */
|
|
586
619
|
setFocus(): Promise<void>;
|
|
587
620
|
/**
|
|
588
621
|
* Triggers the [arcgisTriggerAction](#arcgisTriggerAction) event and executes the [action](#actions)
|
|
@@ -590,7 +623,7 @@ export declare class ArcgisPopup extends LitElement {
|
|
|
590
623
|
*/
|
|
591
624
|
triggerAction(action: __esri.ActionButton | __esri.ActionToggle): Promise<void>;
|
|
592
625
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
593
|
-
name: "
|
|
626
|
+
name: "active" | "visible" | "state" | "collapsed" | "featureCount" | "selectedFeature" | "featureMenuOpen" | "features" | "promises" | "selectedFeatureIndex" | "selectedDrillInFeature" | "selectedFeatureComponent" | "currentAlignment" | "dockEnabled";
|
|
594
627
|
}>;
|
|
595
628
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
596
629
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
@@ -5,7 +5,7 @@ import P from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
|
5
5
|
import { u as T } from "../../chunks/useT9n.js";
|
|
6
6
|
import { usePropertyChange as H } from "@arcgis/lumina/controllers";
|
|
7
7
|
import { m as N } from "../../chunks/useViewModel.js";
|
|
8
|
-
import { LitElement as S, createEvent as
|
|
8
|
+
import { LitElement as S, createEvent as y, safeStyleMap as O, safeClassMap as b } from "@arcgis/lumina";
|
|
9
9
|
import { stripHTML as W } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
10
10
|
import { unsafeGetElementDirection as D, classes as x } from "@arcgis/toolkit/dom";
|
|
11
11
|
import { createRef as v, ref as _ } from "lit-html/directives/ref.js";
|
|
@@ -15,7 +15,7 @@ import { t as I } from "../../chunks/screenLocation.js";
|
|
|
15
15
|
import "../arcgis-search-result-renderer/customElement.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
18
|
-
v5.0.0-next.
|
|
18
|
+
v5.0.0-next.50 */
|
|
19
19
|
const p = "arcgis-popup", u = `${p}--is-docked`, a = {
|
|
20
20
|
base: p,
|
|
21
21
|
baseHidden: `${p}--hidden`,
|
|
@@ -61,7 +61,7 @@ const j = N(P), $ = {
|
|
|
61
61
|
};
|
|
62
62
|
class X extends S {
|
|
63
63
|
constructor() {
|
|
64
|
-
super(...arguments), this._featuresComponent = v(), this._dockAction = new V({ id: "popup-dock-action" }), this._mainContainerNode = v(), this._pointerNode = v(), this.messages = T({}), this.viewModel = j(this), this._containerNode = v(), this.screenLocation = I(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.visible = this.viewModel.visible, this.arcgisPropertyChange = H()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "visible"), this.arcgisReady =
|
|
64
|
+
super(...arguments), this._featuresComponent = v(), this._dockAction = new V({ id: "popup-dock-action" }), this._mainContainerNode = v(), this._pointerNode = v(), this.messages = T({}), this.viewModel = j(this), this._containerNode = v(), this.screenLocation = I(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.visible = this.viewModel.visible, this.arcgisPropertyChange = H()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "visible"), this.arcgisReady = y(), this.arcgisClose = y(), this.arcgisTriggerAction = y();
|
|
65
65
|
}
|
|
66
66
|
static {
|
|
67
67
|
this.properties = { screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16, actions: 0, active: 0, alignment: 1, autoCloseEnabled: 5, autoDestroyDisabled: 5, collapsed: 0, content: 1, currentAlignment: 32, currentDockPosition: 32, defaultPopupTemplateEnabled: 5, dockEnabled: 5, dockOptions: 0, featureCount: 0, featureMenuOpen: 5, features: 0, goToOverride: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 5, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, messageOverrides: 0, promises: 0, referenceElement: 1, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, state: 3, updateLocationEnabled: 5, view: 0, visible: 5 };
|
|
@@ -148,6 +148,9 @@ class X extends S {
|
|
|
148
148
|
], () => this._positionContainer(), { initial: !0 }),
|
|
149
149
|
g(() => this.viewModel?.view?.size, (t, e) => this._updateDockEnabledForViewSize(t, e)),
|
|
150
150
|
g(() => this.viewModel?.view?.ready, () => this._setDockEnabledForViewSize(this.dockOptions), { initial: !0 }),
|
|
151
|
+
g(() => this.view?.map, (t) => {
|
|
152
|
+
this.viewModel.map = t;
|
|
153
|
+
}, { initial: !0 }),
|
|
151
154
|
g(() => this.screenLocation, (t, e) => this._autoClose(t, e))
|
|
152
155
|
]);
|
|
153
156
|
}
|
|
@@ -192,7 +195,7 @@ class X extends S {
|
|
|
192
195
|
screenLocation: i,
|
|
193
196
|
side: "left",
|
|
194
197
|
view: s
|
|
195
|
-
}),
|
|
198
|
+
}), M = this._isOutsideView({
|
|
196
199
|
popupHeight: f,
|
|
197
200
|
popupWidth: m,
|
|
198
201
|
screenLocation: i,
|
|
@@ -205,7 +208,7 @@ class X extends S {
|
|
|
205
208
|
side: "bottom",
|
|
206
209
|
view: s
|
|
207
210
|
});
|
|
208
|
-
return B ?
|
|
211
|
+
return B ? M ? "bottom-right" : "top-right" : z ? M ? "bottom-left" : "top-left" : M ? A ? "top-center" : "bottom-center" : "top-center";
|
|
209
212
|
}
|
|
210
213
|
_callCurrentAlignment(t) {
|
|
211
214
|
return typeof t == "function" ? t.call(this) : t;
|
|
@@ -57,11 +57,12 @@ declare const usePrintViewModel: (component: LitElement & Pick<PrintViewModel, n
|
|
|
57
57
|
* @since 4.28
|
|
58
58
|
*/
|
|
59
59
|
export declare class ArcgisPrint extends LitElement {
|
|
60
|
+
viewModel: PrintViewModel;
|
|
60
61
|
/**
|
|
61
62
|
* The view associated with the component.
|
|
62
|
-
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the
|
|
63
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the Print component will be associated with a map or scene component rather than using the `view` property.
|
|
63
64
|
*/
|
|
64
|
-
view?: __esri.MapView
|
|
65
|
+
view?: nullish | __esri.MapView;
|
|
65
66
|
/**
|
|
66
67
|
* Indicates whether the component's header is hidden.
|
|
67
68
|
*
|
|
@@ -75,7 +76,7 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
75
76
|
* See [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component).
|
|
76
77
|
*/
|
|
77
78
|
referenceElement?: ArcgisReferenceElement | string;
|
|
78
|
-
/** @deprecated since 4.34, use `slot` instead. */
|
|
79
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
79
80
|
position?: __esri.UIPosition;
|
|
80
81
|
/**
|
|
81
82
|
* Icon which represents the component.
|
|
@@ -85,6 +86,12 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
85
86
|
* @default "print"
|
|
86
87
|
*/
|
|
87
88
|
icon?: string;
|
|
89
|
+
/**
|
|
90
|
+
* Indicates whether the advanced options section in the Print component UI is hidden.
|
|
91
|
+
*
|
|
92
|
+
* @default false
|
|
93
|
+
*/
|
|
94
|
+
hideAdvancedOptions: boolean;
|
|
88
95
|
/**
|
|
89
96
|
* Specify the print output file format(s) that the user can select based on the options available from the print service.
|
|
90
97
|
* This property can take a string value or an array of string values.
|
|
@@ -107,6 +114,15 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
107
114
|
* @default "all"
|
|
108
115
|
*/
|
|
109
116
|
allowedLayouts: string | string[];
|
|
117
|
+
/**
|
|
118
|
+
* Indicates whether to automatically populate the author field in the print layout advanced options
|
|
119
|
+
* with the username of the current portal user.
|
|
120
|
+
*
|
|
121
|
+
* This only takes effect if there is a portal with a signed-in user assigned to the [portal](#portal) property.
|
|
122
|
+
*
|
|
123
|
+
* @default false
|
|
124
|
+
*/
|
|
125
|
+
autoPopulateAuthor: boolean;
|
|
110
126
|
/** @internal */
|
|
111
127
|
browseTemplateButtonOnClick?: () => void;
|
|
112
128
|
/**
|
|
@@ -165,7 +181,7 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
165
181
|
*/
|
|
166
182
|
printServiceUrl: string | nullish;
|
|
167
183
|
/** @internal */
|
|
168
|
-
saveAsButtonCallback?: (exportedLink: __esri.FileLink) => Promise<__esri.PortalItem>;
|
|
184
|
+
saveAsButtonCallback?: (exportedLink: __esri.FileLink) => Promise<__esri.PortalItem | void>;
|
|
169
185
|
/**
|
|
170
186
|
* An object containing an array of `customTextElements` name-value pair objects
|
|
171
187
|
* for each print template in a custom print service. Use this property to update
|
|
@@ -211,14 +227,14 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
211
227
|
readonly state: "ready" | "disabled" | "error" | "initializing";
|
|
212
228
|
/** Permanently destroy the component. */
|
|
213
229
|
destroy(): Promise<void>;
|
|
230
|
+
/** Emitted when the component is complete. */
|
|
231
|
+
readonly arcgisComplete: TargetedEvent<this, __esri.PrintCompleteEvent>;
|
|
214
232
|
/** Emitted when the value of a property is changed. Use this to listen to changes to properties. */
|
|
215
233
|
readonly arcgisPropertyChange: TargetedEvent<this, {
|
|
216
234
|
name: "state";
|
|
217
235
|
}>;
|
|
218
236
|
/** Emitted when the component associated with a map or scene view is ready to be interacted with. */
|
|
219
237
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
220
|
-
/** Emitted when the component is complete. */
|
|
221
|
-
readonly arcgisComplete: TargetedEvent<this, __esri.PrintCompleteEvent>;
|
|
222
238
|
/** Emitted when the component is submitted. */
|
|
223
239
|
readonly arcgisSubmit: TargetedEvent<this, __esri.PrintSubmitEvent>;
|
|
224
240
|
private messages: {
|
|
@@ -1,43 +1,46 @@
|
|
|
1
|
-
import { c } from "../../chunks/runtime.js";
|
|
1
|
+
import { c as p } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as g, html as t } from "lit";
|
|
3
|
-
import { classes as
|
|
4
|
-
import
|
|
5
|
-
import { LitElement as
|
|
3
|
+
import { classes as h } from "@arcgis/toolkit/dom";
|
|
4
|
+
import m from "@arcgis/core/widgets/Print/PrintViewModel.js";
|
|
5
|
+
import { LitElement as w, createEvent as u, safeClassMap as s } from "@arcgis/lumina";
|
|
6
6
|
import { usePropertyChange as _ } from "@arcgis/lumina/controllers";
|
|
7
|
-
import { reEmitEvent as
|
|
8
|
-
import { u } from "../../chunks/useT9n.js";
|
|
7
|
+
import { reEmitEvent as n } from "@arcgis/lumina/controllers/accessor";
|
|
8
|
+
import { u as f } from "../../chunks/useT9n.js";
|
|
9
9
|
import { m as v } from "../../chunks/useViewModel.js";
|
|
10
|
-
import { g as
|
|
10
|
+
import { g as d } from "../../chunks/globalCss.js";
|
|
11
|
+
import { watch as x } from "@arcgis/core/core/reactiveUtils.js";
|
|
11
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
13
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
13
|
-
v5.0.0-next.
|
|
14
|
-
const
|
|
14
|
+
v5.0.0-next.50 */
|
|
15
|
+
const b = g`.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)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{--panel-min-height--large: 240px;display:flex;flex-direction:column;flex-grow:1}.arcgis-print{display:flex;position:relative;flex-grow:1;min-height:var(--panel-min-height--large)}.arcgis-print section[aria-hidden=true]{display:none}.arcgis-print__panel-items--centered{display:flex;align-items:center}.arcgis-print__container{display:flex;flex-direction:column;flex-grow:1}.arcgis-print__header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.arcgis-print__panel--error{color:var(--calcite-color-status-danger)}`, o = "arcgis-print", a = {
|
|
15
16
|
base: o,
|
|
16
17
|
headerTitle: `${o}__header-title`,
|
|
17
18
|
panelItemsCentered: `${o}__panel-items--centered`,
|
|
18
19
|
printWidgetContainer: `${o}__container`,
|
|
19
20
|
panelError: `${o}__panel--error`
|
|
20
|
-
},
|
|
21
|
+
}, y = v(m), c = (r) => {
|
|
21
22
|
if (!r)
|
|
22
23
|
return "all";
|
|
23
24
|
const e = typeof r == "string" ? r.split(",").map((i) => i.trim()).filter((i) => i) : [r];
|
|
24
25
|
return !e.length || e.includes("all") ? "all" : e;
|
|
25
26
|
};
|
|
26
|
-
class
|
|
27
|
+
class k extends w {
|
|
27
28
|
constructor() {
|
|
28
|
-
super(...arguments), this.messages =
|
|
29
|
+
super(...arguments), this.messages = f({ blocking: !0 }), this.error = null, this._showTemplates = !1, this.viewModel = y(this), this.view = this.viewModel.view, this.hideHeader = !1, this.icon = "print", this.hideAdvancedOptions = !1, this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.autoPopulateAuthor = !1, this.exportedLinks = this.viewModel.exportedLinks, this.extraParameters = this.viewModel.extraParameters, this.headingLevel = 3, this.excludeDefaultTemplates = !this.viewModel.includeDefaultTemplates, this.excludeOrganizationTemplates = !1, this.outSpatialReference = this.viewModel.outSpatialReference, this.portal = this.viewModel.portal, this.showPrintAreaEnabled = this.viewModel.showPrintAreaEnabled, this.printServiceUrl = this.viewModel.printServiceUrl, this.templateCustomTextElements = this.viewModel.templateCustomTextElements, this.templateOptions = this.viewModel.templateOptions, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisComplete = n(() => this.viewModel, "complete"), this.arcgisPropertyChange = _()("state"), this.arcgisReady = u(), this.arcgisSubmit = n(() => this.viewModel, "submit");
|
|
29
30
|
}
|
|
30
31
|
static {
|
|
31
|
-
this.properties = {
|
|
32
|
+
this.properties = { error: 16, _showTemplates: 16, viewModel: 0, view: 0, hideHeader: 5, referenceElement: 1, position: 3, icon: 1, hideAdvancedOptions: 5, allowedFormats: [1, { type: String, converter: c }], allowedLayouts: [1, { type: String, converter: c }], autoPopulateAuthor: 5, browseTemplateButtonOnClick: 0, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 1, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, saveAsButtonCallback: 0, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
32
33
|
}
|
|
33
34
|
static {
|
|
34
|
-
this.styles =
|
|
35
|
+
this.styles = b;
|
|
35
36
|
}
|
|
36
37
|
async destroy() {
|
|
37
38
|
await this.manager.destroy(), this.viewModel.destroy();
|
|
38
39
|
}
|
|
39
40
|
loaded() {
|
|
40
|
-
this.manager.onLifecycle(() => [
|
|
41
|
+
this.manager.onLifecycle(() => [
|
|
42
|
+
x(() => this.viewModel.error, (l) => this.error = l)
|
|
43
|
+
]), this.viewModel.load();
|
|
41
44
|
const { height: e, width: i } = this.viewModel.templateOptions;
|
|
42
45
|
this.viewModel.templateOptions.width = i || 800, this.viewModel.templateOptions.height = e || 1100;
|
|
43
46
|
}
|
|
@@ -51,7 +54,7 @@ class b extends m {
|
|
|
51
54
|
const e = {
|
|
52
55
|
[a.panelItemsCentered]: this.viewModel.state === "initializing"
|
|
53
56
|
};
|
|
54
|
-
return t`<div class=${s(
|
|
57
|
+
return t`<div class=${s(h(a.base, d.widget, d.panel, e))}>${this._renderPanel()}</div>`;
|
|
55
58
|
}
|
|
56
59
|
_renderPanel() {
|
|
57
60
|
return this.viewModel.state === "initializing" ? t`<calcite-loader label=loading scale=m></calcite-loader>` : t`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class=${s(a.printWidgetContainer)}>${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${(e) => {
|
|
@@ -63,10 +66,10 @@ class b extends m {
|
|
|
63
66
|
}
|
|
64
67
|
_renderPanelContent() {
|
|
65
68
|
const e = this.viewModel.view, i = e?.type !== "2d";
|
|
66
|
-
return !!this.error || i ? t`<div class=${s(a.panelError)}>${e ? i ? this.messages.sceneViewError : this.messages.serviceError : this.messages.noViewError}</div>` : t`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-main-panel>`;
|
|
69
|
+
return !!this.error || i ? t`<div class=${s(a.panelError)}>${e ? i ? this.messages.sceneViewError : this.messages.serviceError : this.messages.noViewError}</div>` : t`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .hideAdvancedOptions=${this.hideAdvancedOptions} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .autoPopulateAuthor=${this.autoPopulateAuthor} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-main-panel>`;
|
|
67
70
|
}
|
|
68
71
|
}
|
|
69
|
-
|
|
72
|
+
p("arcgis-print", k);
|
|
70
73
|
export {
|
|
71
|
-
|
|
74
|
+
k as ArcgisPrint
|
|
72
75
|
};
|
|
@@ -3,10 +3,9 @@ import { nil } from '@arcgis/toolkit/type';
|
|
|
3
3
|
import { ArcgisPrint } from './customElement.js';
|
|
4
4
|
import { FileFormatJSON, LayoutTemplate, LayoutTemplateJSON } from './types';
|
|
5
5
|
export declare const reArcGISOnlineDomain: RegExp;
|
|
6
|
-
export declare function isRTL(el?: HTMLElement | nil): boolean;
|
|
7
6
|
export declare function getPageSizeLabel(template: __esri.CustomTemplate | nil): string | undefined;
|
|
8
7
|
export declare function getTemplateLabel(template: __esri.CustomTemplate, messages: ArcgisPrint["messages"]): string;
|
|
9
8
|
export declare function getLayoutIcon(layout: string): string | undefined;
|
|
10
|
-
export declare const formatJsonMap: Map<FileFormatJSON, "eps" | "svg" | "
|
|
9
|
+
export declare const formatJsonMap: Map<FileFormatJSON, "eps" | "svg" | "jpg" | "png8" | "png32" | "pdf" | "gif" | "svgz" | "aix" | "tiff">;
|
|
11
10
|
export declare const layoutKebabDict: Map<LayoutTemplateJSON, LayoutTemplate>;
|
|
12
11
|
export declare function isMapOnlyLayout(layout: nil | string): boolean;
|
|
@@ -4,7 +4,7 @@ import { watch as a } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as u } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.50 */
|
|
8
8
|
class p extends u {
|
|
9
9
|
static {
|
|
10
10
|
this.properties = { viewModel: 0 };
|
|
@@ -4,7 +4,7 @@ import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as s } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.50 */
|
|
8
8
|
class p extends s {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._dpi = 1;
|
|
@@ -3,7 +3,7 @@ import { html as r } from "lit";
|
|
|
3
3
|
import { LitElement as l } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
6
|
-
v5.0.0-next.
|
|
6
|
+
v5.0.0-next.50 */
|
|
7
7
|
class n extends l {
|
|
8
8
|
static {
|
|
9
9
|
this.properties = { viewModel: 0, messages: 0, fileName: 1, selectExportsTab: 0 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
3
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
|
-
import { Formats } from '../arcgis-print/types';
|
|
5
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
|
+
import { Formats } from '../arcgis-print/types';
|
|
6
6
|
|
|
7
7
|
/** @private */
|
|
8
8
|
export declare class PrintExportsPanel extends LitElement {
|
|
9
|
-
saveAsButtonCallback?: (exportedLink: __esri.FileLink) => Promise<__esri.PortalItem>;
|
|
9
|
+
saveAsButtonCallback?: (exportedLink: __esri.FileLink) => Promise<__esri.PortalItem | void>;
|
|
10
10
|
viewModel: __esri.PrintViewModel;
|
|
11
11
|
messages: ArcgisPrint["messages"];
|
|
12
12
|
allowedFormatsForSaving?: Formats;
|
|
@@ -1,35 +1,92 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import {
|
|
4
|
-
import { LitElement as
|
|
1
|
+
import { c as h } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as u, html as s } from "lit";
|
|
3
|
+
import { whenOnce as v } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as x, safeClassMap as a, nothing as $ } from "@arcgis/lumina";
|
|
5
|
+
import { classes as _ } from "@arcgis/toolkit/dom";
|
|
6
|
+
import { hasSameOrigin as k } from "@arcgis/toolkit/url";
|
|
5
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
8
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
8
|
-
const
|
|
9
|
-
exportSection: `${
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
v5.0.0-next.50 */
|
|
10
|
+
const b = u`.arcgis-print__export-section{padding:var(--calcite-spacing-xxs)}.arcgis-print__export-section--centered{text-align:center}.arcgis-print__exported-files-empty{display:flex;flex-direction:column;align-items:center;padding:var(--calcite-spacing-lg) var(--calcite-spacing-sm);font-size:small}.arcgis-print__export-title{font-weight:700;font-size:var(--calcite-font-size)}.arcgis-print__exported-file{display:flex;align-items:center;justify-content:space-between}.arcgis-print__exported-file-link-title,.arcgis-print__exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}`, r = "arcgis-print", o = {
|
|
11
|
+
exportSection: `${r}__export-section`,
|
|
12
|
+
exportedFilesEmpty: `${r}__exported-files-empty`,
|
|
13
|
+
exportedFilesTitle: `${r}__export-title`,
|
|
14
|
+
exportSectionCentered: `${r}__export-section--centered`,
|
|
15
|
+
exportedFile: `${r}__exported-file`,
|
|
16
|
+
exportedFileLinkTitle: `${r}__exported-file-link-title`,
|
|
17
|
+
exportedFileLinkDescription: `${r}__exported-file-link-description`
|
|
14
18
|
};
|
|
15
|
-
|
|
19
|
+
function w(c) {
|
|
20
|
+
const { state: e, extension: t } = c;
|
|
21
|
+
switch (e) {
|
|
22
|
+
case "pending":
|
|
23
|
+
return "spinner";
|
|
24
|
+
case "error":
|
|
25
|
+
return "exclamation-mark-circle";
|
|
26
|
+
default:
|
|
27
|
+
return t?.toLowerCase()?.includes("pdf") ? "file-pdf" : "file";
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function g(c, e) {
|
|
31
|
+
return !c || c === "all" || !!(e && c.includes(e));
|
|
32
|
+
}
|
|
33
|
+
class E extends x {
|
|
34
|
+
constructor() {
|
|
35
|
+
super(...arguments), this._handleLinkClick = (e) => {
|
|
36
|
+
if (!e || e.state !== "ready" || !e.url)
|
|
37
|
+
return;
|
|
38
|
+
const t = e.url, i = document.createElement("a");
|
|
39
|
+
i.target = "_blank", i.href = t, i.rel = "noreferrer", i.download = e.formattedName ?? "";
|
|
40
|
+
{
|
|
41
|
+
i.click();
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
}
|
|
16
46
|
static {
|
|
17
47
|
this.properties = { saveAsButtonCallback: 0, viewModel: 0, messages: 0, allowedFormatsForSaving: 1 };
|
|
18
48
|
}
|
|
19
49
|
static {
|
|
20
|
-
this.styles =
|
|
50
|
+
this.styles = b;
|
|
21
51
|
}
|
|
22
52
|
loaded() {
|
|
23
53
|
this.manager.onLifecycle(() => [this.viewModel.exportedLinks.on("change", () => this.requestUpdate())]);
|
|
24
54
|
}
|
|
25
55
|
render() {
|
|
26
|
-
const
|
|
27
|
-
[
|
|
56
|
+
const e = this.viewModel.exportedLinks, t = {
|
|
57
|
+
[o.exportSectionCentered]: !e.length
|
|
28
58
|
};
|
|
29
|
-
return
|
|
59
|
+
return s`<section class=${a(_(o.exportSection, t))}>${e.length === 0 ? s`<div class=${a(o.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${a(o.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>` : s`<calcite-list .filterEnabled=${e.length > 10} .label=${this.messages.exportedLinksList} selection-mode=none>${e.map((i) => s`<calcite-list-item .label=${i.formattedName ?? ""}>${this._renderExportedLinkItemContent(i)}${this._renderExportedLinkItemIcon(i)}${this._renderExportedLinkItemAction(i)}</calcite-list-item>${this._renderExportedLinkItemPopover(i)}`)}</calcite-list>`}</section>`;
|
|
60
|
+
}
|
|
61
|
+
_renderExportedLinkItemPopover(e) {
|
|
62
|
+
const t = this.messages, i = e.formattedName ?? "", { state: n } = e, d = this.saveAsButtonCallback && n !== "error" && g(this.allowedFormatsForSaving, e.extension);
|
|
63
|
+
return n !== "pending" && d ? s`<calcite-popover auto-close label=Popover offset-distance=1 overlay-positioning=fixed pointer-disabled .referenceElement=${`${i}-popover-button`} scale=s><calcite-list label>${e.portalItem ? s`<calcite-list-item .label=${t.openItem} @calciteListItemSelect=${() => {
|
|
64
|
+
const l = e.portalItem;
|
|
65
|
+
if (!l?.itemPageUrl)
|
|
66
|
+
return;
|
|
67
|
+
const p = document.createElement("a");
|
|
68
|
+
p.target = "_blank", p.href = l.itemPageUrl, p.rel = "noreferrer", p.click();
|
|
69
|
+
}}><calcite-icon icon=launch2 scale=s slot=content-start></calcite-icon></calcite-list-item>` : s`<calcite-list-item .label=${t.saveAs} @calciteListItemSelect=${async () => {
|
|
70
|
+
this.saveAsButtonCallback && (v(() => e.portalItem).then((l) => {
|
|
71
|
+
l.itemPageUrl && this.requestUpdate();
|
|
72
|
+
}), await this.saveAsButtonCallback(e));
|
|
73
|
+
}}><calcite-icon icon=save scale=s slot=content-start></calcite-icon></calcite-list-item>`}<calcite-list-item label=Delete @calciteListItemSelect=${() => this.viewModel.exportedLinks.remove(e)}><calcite-icon icon=trash scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-popover>` : null;
|
|
74
|
+
}
|
|
75
|
+
_renderExportedLinkItemContent(e) {
|
|
76
|
+
const t = this.messages, { url: i, state: n, error: d } = e, l = e.formattedName ?? "", m = k(i || null, document.location.href), f = n === "error" ? d?.name === "print-task:cim-symbol-unsupported" ? t.exportWebMapCIMError : t.exportWebMapError : null;
|
|
77
|
+
return s`<div class=${a(o.exportedFile)} slot=content @click=${() => this._handleLinkClick(e)}><div><div class=${a(o.exportedFileLinkTitle)}>${l}</div><div class=${a(o.exportedFileLinkDescription)}>${n === "pending" ? t.generatingExport : f || (m ? t.ready : t.linkReady)}</div></div>${n === "ready" ? s`<calcite-icon .ariaLabel=${`${l}. ${t.linkReady}`} .icon=${m ? "download-to" : "launch"} scale=s slot=content-end></calcite-icon>` : null}</div>`;
|
|
78
|
+
}
|
|
79
|
+
_renderExportedLinkItemIcon(e) {
|
|
80
|
+
return e.state === "pending" ? s`<calcite-loader inline .label=${this.messages.generatingExport} scale=m slot=content-start></calcite-loader>` : s`<calcite-icon .icon=${w(e)} scale=s slot=content-start></calcite-icon>`;
|
|
81
|
+
}
|
|
82
|
+
_renderExportedLinkItemAction(e) {
|
|
83
|
+
const { state: t } = e, i = e.formattedName ?? "", n = this.saveAsButtonCallback && t !== "error" && g(this.allowedFormatsForSaving, e.extension);
|
|
84
|
+
return t !== "pending" ? s`<calcite-action .icon=${n ? "ellipsis" : "x"} id=${(n ? `${i}-popover-button` : void 0) ?? $} @click=${n ? void 0 : () => {
|
|
85
|
+
this.viewModel.exportedLinks.remove(e);
|
|
86
|
+
}} slot=actions-end .text=${n ? "options" : "remove"}></calcite-action>` : null;
|
|
30
87
|
}
|
|
31
88
|
}
|
|
32
|
-
|
|
89
|
+
h("arcgis-print-exports-panel", E);
|
|
33
90
|
export {
|
|
34
|
-
|
|
91
|
+
E as PrintExportsPanel
|
|
35
92
|
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-icon";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-list";
|
|
3
|
-
import "
|
|
3
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-popover";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
4
7
|
export * from "./customElement.js";
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-icon";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-list";
|
|
3
|
-
import "
|
|
3
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-popover";
|
|
5
|
+
import "@esri/calcite-components/components/calcite-loader";
|
|
6
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
4
7
|
export * from "./customElement.js";
|