@arcgis/map-components 5.0.0-next.6 → 5.0.0-next.61
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/{XE4A4ZAW.js → 24N7ZFI7.js} +2 -2
- package/dist/cdn/24YDUJ32.js +4 -0
- package/dist/cdn/{Q4MGAVXA.js → 2CBIZP4K.js} +1 -1
- package/dist/cdn/2DCUF4VL.js +4 -0
- package/dist/cdn/2GHQBLP4.js +4 -0
- package/dist/cdn/2KDNRIJW.js +4 -0
- package/dist/cdn/2OA7VME3.js +4 -0
- package/dist/cdn/2PM6KEBB.js +4 -0
- package/dist/cdn/2SS4QXYT.js +4 -0
- package/dist/cdn/2UCZPUSU.js +4 -0
- package/dist/cdn/37E3AUI6.js +4 -0
- package/dist/cdn/3AKTUCMB.js +4 -0
- package/dist/cdn/{J52AVBWV.js → 3DGTO2NU.js} +2 -2
- package/dist/cdn/3HKR4QZF.js +4 -0
- package/dist/cdn/3L3DC5RT.js +4 -0
- package/dist/cdn/3T7XJ5LK.js +4 -0
- package/dist/cdn/3VVCNCN7.js +4 -0
- package/dist/cdn/42D4PZLX.js +4 -0
- package/dist/cdn/46ELVHX3.js +4 -0
- package/dist/cdn/4MNUOO5M.js +4 -0
- package/dist/cdn/4NZOUEIS.js +4 -0
- package/dist/cdn/4OPKC3J6.js +4 -0
- package/dist/cdn/4QKNGD47.js +4 -0
- package/dist/cdn/4RAHNBG2.js +4 -0
- package/dist/cdn/{NNNE2APH.js → 4RC7U36R.js} +2 -2
- package/dist/cdn/4UHLD2H4.js +4 -0
- package/dist/cdn/{ABX2KJWQ.js → 4YW6OMVH.js} +2 -2
- package/dist/cdn/4ZKYGMM7.js +4 -0
- package/dist/cdn/54H3TYCT.js +4 -0
- package/dist/cdn/54NZR5AN.js +4 -0
- package/dist/cdn/5ASUP2KA.js +4 -0
- package/dist/cdn/{KOTDYNET.js → 5B4IIJCQ.js} +2 -2
- package/dist/cdn/{NTGYJRE6.js → 5CBBYTHY.js} +2 -2
- package/dist/cdn/5GCT5CAE.js +4 -0
- package/dist/cdn/5LM7DQCY.js +4 -0
- package/dist/cdn/5SKIEDUF.js +4 -0
- package/dist/cdn/5STLZ7KJ.js +4 -0
- package/dist/cdn/{6AJF75LJ.js → 5VZ2G3BC.js} +2 -2
- package/dist/cdn/{UK5FKXNT.js → 62U6WUET.js} +2 -2
- package/dist/cdn/{MKR5A67F.js → 63WLAZ7C.js} +2 -2
- package/dist/cdn/6BXFDJQ5.js +4 -0
- package/dist/cdn/6CLPFGHY.js +4 -0
- package/dist/cdn/6EGCFDAR.js +4 -0
- package/dist/cdn/6KSTVCPI.js +4 -0
- package/dist/cdn/{3R4HANKL.js → 6SQFKV7L.js} +1 -1
- package/dist/cdn/6VJIO3RQ.js +4 -0
- package/dist/cdn/7753EF7Z.js +4 -0
- package/dist/cdn/{F2RWK5EM.js → 77IKSSKQ.js} +2 -2
- package/dist/cdn/7IQITIFQ.js +4 -0
- package/dist/cdn/7J53IW5D.js +4 -0
- package/dist/cdn/7OBTMDLB.js +4 -0
- package/dist/cdn/7SFPPDN3.js +4 -0
- package/dist/cdn/{4LLXQ7MU.js → 7T4FMKII.js} +1 -1
- package/dist/cdn/7T73TS7R.js +4 -0
- package/dist/cdn/{B2W4EWK6.js → 7XQ3ZW5M.js} +2 -2
- package/dist/cdn/A4S5R6HX.js +4 -0
- package/dist/cdn/{XHJW7EJB.js → A77M6QF4.js} +2 -2
- package/dist/cdn/ACKTQSX7.js +4 -0
- package/dist/cdn/AFBRQSEP.js +4 -0
- package/dist/cdn/{2PXF3GPF.js → AHMO5GF3.js} +2 -2
- package/dist/cdn/AOR72WLV.js +4 -0
- package/dist/cdn/ASGTNPJ5.js +4 -0
- package/dist/cdn/AUZVCZHO.js +4 -0
- package/dist/cdn/{VRJQ2TUN.js → AZJ35KNG.js} +2 -2
- package/dist/cdn/B3TPMWMM.js +4 -0
- package/dist/cdn/B5FXCJIX.js +4 -0
- package/dist/cdn/BACIKAJK.js +4 -0
- package/dist/cdn/BBQULQFS.js +4 -0
- package/dist/cdn/BEZSPE45.js +4 -0
- package/dist/cdn/{YNUARQV3.js → BFKE3DTE.js} +2 -2
- package/dist/cdn/BH6A7YJC.js +4 -0
- package/dist/cdn/{LB5CIPFL.js → BLFQ5YCF.js} +2 -2
- package/dist/cdn/BORZLOJB.js +4 -0
- package/dist/cdn/BPGM6ASE.js +4 -0
- package/dist/cdn/BYRCAJ3X.js +4 -0
- package/dist/cdn/C6PDV5NL.js +5 -0
- package/dist/cdn/CGKKWQY2.js +4 -0
- package/dist/cdn/CGRP26FE.js +4 -0
- package/dist/cdn/CISNLHE3.js +4 -0
- package/dist/cdn/CQ7NIPDK.js +4 -0
- package/dist/cdn/CW2DNMQC.js +4 -0
- package/dist/cdn/CXUPNFGO.js +4 -0
- package/dist/cdn/{TELKXVUT.js → DAUCXKQ3.js} +2 -2
- package/dist/cdn/DCRBY6EZ.js +4 -0
- package/dist/cdn/DFACPQIY.js +4 -0
- package/dist/cdn/DPHIKLFL.js +4 -0
- package/dist/cdn/{ER5OU65T.js → DQEMS4TV.js} +2 -2
- package/dist/cdn/DRY2PFYI.js +4 -0
- package/dist/cdn/DTOZDGYJ.js +4 -0
- package/dist/cdn/DZZ2W2M3.js +4 -0
- package/dist/cdn/E3BF23WS.js +4 -0
- package/dist/cdn/E66CDEVB.js +4 -0
- package/dist/cdn/EHNS3ZP4.js +4 -0
- package/dist/cdn/EHW5YSOA.js +4 -0
- package/dist/cdn/EIVDGFMO.js +4 -0
- package/dist/cdn/EKX4ICKA.js +4 -0
- package/dist/cdn/EO7BJNYA.js +4 -0
- package/dist/cdn/EVLBHYIR.js +4 -0
- package/dist/cdn/{C7O5KTPB.js → EX436JRL.js} +2 -2
- package/dist/cdn/FCGKMQ2R.js +4 -0
- package/dist/cdn/FCHT2AIW.js +4 -0
- package/dist/cdn/{RBW5EUUZ.js → FDXMGXXG.js} +2 -2
- package/dist/cdn/{UAIGXACR.js → FPFH6QVN.js} +2 -2
- package/dist/cdn/FSOFYNXV.js +4 -0
- package/dist/cdn/{PKTRQSJ3.js → G7ZLZ3NV.js} +2 -2
- package/dist/cdn/GM3XNTKY.js +4 -0
- package/dist/cdn/{GLODJKMZ.js → GMPQ3CFJ.js} +2 -2
- package/dist/cdn/GUBPWM2B.js +4 -0
- package/dist/cdn/HFQ6535G.js +4 -0
- package/dist/cdn/HLGHY3ZB.js +4 -0
- package/dist/cdn/HUOXAINS.js +4 -0
- package/dist/cdn/HZ7PZPU6.js +4 -0
- package/dist/cdn/{6JZBRZQZ.js → HZPIIQNW.js} +2 -2
- package/dist/cdn/ID5CTKGZ.js +4 -0
- package/dist/cdn/IGOPSLGZ.js +4 -0
- package/dist/cdn/IHIXDKWO.js +4 -0
- package/dist/cdn/{ISGJWGMP.js → IKEYPA3J.js} +2 -2
- package/dist/cdn/IKXJELAU.js +4 -0
- package/dist/cdn/ILIPEEOD.js +4 -0
- package/dist/cdn/ILONFAQ2.js +4 -0
- package/dist/cdn/IQZXBVXH.js +4 -0
- package/dist/cdn/IRRGVGF3.js +4 -0
- package/dist/cdn/ISUCMT33.js +4 -0
- package/dist/cdn/IZITN5BA.js +4 -0
- package/dist/cdn/J2CXQZTJ.js +4 -0
- package/dist/cdn/J7W3ISTQ.js +4 -0
- package/dist/cdn/{NINFL2YQ.js → JBUH3ZM7.js} +2 -2
- package/dist/cdn/{YEZT5OD7.js → JIS647IW.js} +2 -2
- package/dist/cdn/{5KTQXHUJ.js → JO5CIE5V.js} +2 -2
- package/dist/cdn/JQASP53G.js +4 -0
- package/dist/cdn/JUEALVOG.js +4 -0
- package/dist/cdn/JVJWU5AC.js +4 -0
- package/dist/cdn/JWZVKIHO.js +4 -0
- package/dist/cdn/K4EFI4LB.js +4 -0
- package/dist/cdn/KE56VKHZ.js +4 -0
- package/dist/cdn/KT53545Y.js +4 -0
- package/dist/cdn/KWA5ADG6.js +4 -0
- package/dist/cdn/KZ4BWGN5.js +4 -0
- package/dist/cdn/LBSQLWT7.js +4 -0
- package/dist/cdn/{3UTRV5F5.js → LE3OVQBO.js} +2 -2
- package/dist/cdn/LR3QCVR5.js +4 -0
- package/dist/cdn/LZ3BGZ2S.js +4 -0
- package/dist/cdn/LZUOXZGP.js +4 -0
- package/dist/cdn/{K7O52SLI.js → M4EODGCJ.js} +1 -1
- package/dist/cdn/MCDB3P3V.js +4 -0
- package/dist/cdn/{OOARTTCF.js → MGAGZGOO.js} +2 -2
- package/dist/cdn/MJYBZMWX.js +4 -0
- package/dist/cdn/MNJW65S6.js +4 -0
- package/dist/cdn/{YXLQEOV6.js → MQCLO2B7.js} +2 -2
- package/dist/cdn/MTSW3OCQ.js +4 -0
- package/dist/cdn/MZMXI34W.js +4 -0
- package/dist/cdn/N4WDNNTW.js +4 -0
- package/dist/cdn/{5S42PJTM.js → NCJ6EWY7.js} +2 -2
- package/dist/cdn/NH34COAB.js +4 -0
- package/dist/cdn/NM2SQVAH.js +4 -0
- package/dist/cdn/NW4EFEGW.js +4 -0
- package/dist/cdn/O5SYBKLE.js +4 -0
- package/dist/cdn/OABDETRV.js +4 -0
- package/dist/cdn/{IRJJTNFE.js → OCVT4HTF.js} +2 -2
- package/dist/cdn/OEPMAGA6.js +4 -0
- package/dist/cdn/OG2KWTTJ.js +4 -0
- package/dist/cdn/OIRV2L45.js +4 -0
- package/dist/cdn/OISCNYZJ.js +4 -0
- package/dist/cdn/OIVCBH74.js +4 -0
- package/dist/cdn/ONXKA4E4.js +4 -0
- package/dist/cdn/{6H5AZ4GE.js → OQR6NVSY.js} +1 -1
- package/dist/cdn/OSUKG22M.js +4 -0
- package/dist/cdn/{4MWLYDY5.js → P5A3Y4U7.js} +2 -2
- package/dist/cdn/PEMBFLD2.js +4 -0
- package/dist/cdn/PEZ3QR6G.js +4 -0
- package/dist/cdn/{EMMLC2ML.js → PMW7SA3U.js} +2 -2
- package/dist/cdn/PRHNBUMR.js +4 -0
- package/dist/cdn/PYQ26L77.js +4 -0
- package/dist/cdn/QDY3OTV7.js +4 -0
- package/dist/cdn/QILC2U33.js +4 -0
- package/dist/cdn/QJDVZAOM.js +4 -0
- package/dist/cdn/QVCIRUY5.js +9 -0
- package/dist/cdn/{6XWHYYCL.js → R2TRUEEM.js} +2 -2
- package/dist/cdn/{GTFTLDMW.js → R35CYEVS.js} +2 -2
- package/dist/cdn/R6HLGEOI.js +4 -0
- package/dist/cdn/{KK2JJGUK.js → RFZ6FAG4.js} +2 -2
- package/dist/cdn/RHNWIASD.js +4 -0
- package/dist/cdn/{U4PIL5HO.js → SDSQWC6T.js} +1 -1
- package/dist/cdn/{G6YBBKHU.js → SGP2LZOZ.js} +2 -2
- package/dist/cdn/{3MHCWB64.js → SI4K5AN4.js} +2 -2
- package/dist/cdn/{7333ELLT.js → SNCE25BN.js} +2 -2
- package/dist/cdn/SNO2H7XF.js +4 -0
- package/dist/cdn/T6FWTXD6.js +4 -0
- package/dist/cdn/{JCYH652U.js → TN7YZIHV.js} +2 -2
- package/dist/cdn/TUUV22ZP.js +4 -0
- package/dist/cdn/{QMJS7YYV.js → UALOLV7U.js} +2 -2
- package/dist/cdn/UDBXARK3.js +4 -0
- package/dist/cdn/UFHUPDBV.js +4 -0
- package/dist/cdn/{PIEJP6YZ.js → UJX5A7BX.js} +2 -2
- package/dist/cdn/{OAVOMLYV.js → ULLFYZM4.js} +2 -2
- package/dist/cdn/ULPU42MD.js +4 -0
- package/dist/cdn/UP7NTWDH.js +4 -0
- package/dist/cdn/{VVDPWDSN.js → VAFUFBYU.js} +2 -2
- package/dist/cdn/VBMQ4ERG.js +4 -0
- package/dist/cdn/VBO5G4ZM.js +4 -0
- package/dist/cdn/{BZSTQJWD.js → VJZGUYRM.js} +2 -2
- package/dist/cdn/VKSPRSKJ.js +4 -0
- package/dist/cdn/{5GGEMLNR.js → VOZZXMLX.js} +1 -1
- package/dist/cdn/VTULJSKK.js +4 -0
- package/dist/cdn/{YLUUTWQL.js → VWCN6LNJ.js} +1 -1
- package/dist/cdn/{MJ4YBES2.js → W5TFIW6E.js} +2 -2
- package/dist/cdn/WARGUXRG.js +4 -0
- package/dist/cdn/{C56GZNCL.js → WEEXHLGA.js} +2 -2
- package/dist/cdn/WFNRVG2K.js +4 -0
- package/dist/cdn/WNMBOTIH.js +4 -0
- package/dist/cdn/WUNEE4ZB.js +4 -0
- package/dist/cdn/{3KXHDPQI.js → WV34UHDZ.js} +1 -1
- package/dist/cdn/WVMKCOZE.js +4 -0
- package/dist/cdn/{ZNGXUT36.js → X5ECFNBT.js} +1 -1
- package/dist/cdn/X7HDMC7U.js +4 -0
- package/dist/cdn/XFRWBVAK.js +4 -0
- package/dist/cdn/XQNGYJOB.js +4 -0
- package/dist/cdn/XYW34P4N.js +4 -0
- package/dist/cdn/YAPH6OMA.js +6 -0
- package/dist/cdn/YBV7OQB6.js +4 -0
- package/dist/cdn/YNH22HZQ.js +4 -0
- package/dist/cdn/YVEMTHTT.js +4 -0
- package/dist/cdn/YVUTWYS7.js +4 -0
- package/dist/cdn/YYJPXEL4.js +4 -0
- package/dist/cdn/YZ45MOKO.js +4 -0
- package/dist/cdn/{CJGNIR2H.js → Z3NPNSMW.js} +2 -2
- package/dist/cdn/Z46HPO46.js +4 -0
- package/dist/cdn/{2ZOE2EB7.js → Z7QV55N4.js} +2 -2
- package/dist/cdn/ZC3HL5R7.js +4 -0
- package/dist/cdn/ZKZMTSPP.js +4 -0
- package/dist/cdn/ZL2RFJT5.js +4 -0
- package/dist/cdn/ZZEZJKG7.js +4 -0
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/color-select/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/elevation-profile/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/shadow-cast/t9n/messages.en.json +1 -0
- 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 +52 -43
- 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/constants.js +10 -0
- 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 +2 -2
- 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/time-utils.js +53 -0
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +44 -38
- 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 +13 -18
- 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 +72 -56
- 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 +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.js +31 -32
- package/dist/components/arcgis-attachments/customElement.d.ts +3 -3
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +6 -6
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +33 -22
- 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 +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-color-select/customElement.d.ts +25 -0
- package/dist/components/arcgis-color-select/customElement.js +59 -0
- package/dist/components/arcgis-color-select/index.d.ts +5 -0
- package/dist/components/arcgis-color-select/index.js +5 -0
- 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 +66 -65
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +120 -57
- package/dist/components/arcgis-daylight/customElement.js +207 -250
- package/dist/components/arcgis-daylight/daylight-utils.d.ts +0 -4
- 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 +5 -15
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +43 -51
- package/dist/components/arcgis-directional-pad/customElement.d.ts +4 -4
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +9 -5
- 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 +71 -52
- 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 +33 -8
- package/dist/components/arcgis-editor/customElement.js +4 -4
- package/dist/components/{arcgis-elevation-profile-next → arcgis-elevation-profile}/ElevationProfileViewModel.d.ts +37 -20
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +200 -80
- package/dist/components/arcgis-elevation-profile/customElement.js +585 -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 +16 -15
- package/dist/components/arcgis-expand/customElement.js +152 -45
- package/dist/components/arcgis-feature/customElement.d.ts +37 -31
- package/dist/components/arcgis-feature/customElement.js +46 -46
- 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 +2 -2
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-media/customElement.d.ts +2 -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 +21 -8
- 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 +1 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +63 -63
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +8 -8
- package/dist/components/arcgis-features/customElement.d.ts +37 -16
- package/dist/components/arcgis-features/customElement.js +10 -12
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -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 +6 -5
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +5 -5
- 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 +10 -6
- 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 +29 -14
- 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 +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +83 -21
- package/dist/components/arcgis-link-chart/customElement.js +17 -22
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +12 -8
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +3 -3
- package/dist/components/arcgis-locate/customElement.js +9 -7
- package/dist/components/arcgis-map/customElement.d.ts +525 -74
- package/dist/components/arcgis-map/customElement.js +14 -19
- package/dist/components/arcgis-measurement/customElement.d.ts +7 -7
- 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 +3 -3
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +54 -12
- package/dist/components/arcgis-popup/customElement.js +9 -6
- package/dist/components/arcgis-print/customElement.d.ts +46 -11
- package/dist/components/arcgis-print/customElement.js +34 -25
- 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 +5 -3
- package/dist/components/arcgis-print-exports-panel/customElement.js +76 -19
- 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 +8 -2
- package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
- 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.d.ts +0 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +28 -33
- package/dist/components/arcgis-print-template-selector/index.d.ts +1 -1
- package/dist/components/arcgis-print-template-selector/index.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +4 -4
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +6 -5
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +129 -22
- package/dist/components/arcgis-scene/customElement.js +15 -20
- package/dist/components/arcgis-search/customElement.d.ts +25 -23
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/ShadowCastViewModel.d.ts +44 -0
- package/dist/components/arcgis-shadow-cast/constants.d.ts +3 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +220 -89
- package/dist/components/arcgis-shadow-cast/customElement.js +243 -22
- package/dist/components/arcgis-shadow-cast/index.d.ts +9 -0
- package/dist/components/arcgis-shadow-cast/index.js +9 -0
- package/dist/components/arcgis-shadow-cast/interfaces.d.ts +55 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.d.ts +20 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +50 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/index.d.ts +5 -0
- package/dist/components/arcgis-shadow-cast-discrete-config/index.js +5 -0
- package/dist/components/arcgis-shadow-cast-duration-config/customElement.d.ts +20 -0
- package/dist/components/arcgis-shadow-cast-duration-config/customElement.js +34 -0
- package/dist/components/arcgis-shadow-cast-duration-config/index.d.ts +5 -0
- package/dist/components/arcgis-shadow-cast-duration-config/index.js +5 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/customElement.d.ts +31 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +44 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/index.d.ts +6 -0
- package/dist/components/arcgis-shadow-cast-threshold-config/index.js +6 -0
- package/dist/components/arcgis-sketch/customElement.d.ts +49 -18
- package/dist/components/arcgis-sketch/customElement.js +18 -10
- package/dist/components/arcgis-slice/customElement.d.ts +4 -4
- 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 +6 -4
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +8 -6
- package/dist/components/arcgis-table-list/customElement.js +2 -2
- package/dist/components/arcgis-time-slider/customElement.d.ts +7 -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 +5 -5
- 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.js +1 -1
- 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.d.ts +11 -1
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +98 -46
- package/dist/components/arcgis-utility-network-result-feature-list/index.d.ts +0 -1
- package/dist/components/arcgis-utility-network-result-feature-list/index.js +0 -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 +7 -5
- 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 +72 -63
- 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.d.ts +6 -3
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +32 -37
- package/dist/components/arcgis-utility-network-trace-results/index.d.ts +2 -1
- package/dist/components/arcgis-utility-network-trace-results/index.js +2 -1
- 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 +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +22 -22
- package/dist/components/arcgis-version-management-version-list/customElement.js +29 -29
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +13 -13
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.d.ts +6 -6
- 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 +220 -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 +20 -4
- package/dist/components/arcgis-weather/customElement.js +150 -132
- package/dist/components/arcgis-zoom/customElement.d.ts +3 -3
- 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/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 +11891 -10366
- package/dist/docs/docs.json +7214 -5729
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +746 -536
- package/dist/docs/web-types.json +1727 -1191
- package/dist/index.d.ts +74 -40
- package/dist/index.js +1 -1
- package/dist/loader.js +41 -36
- package/dist/support/AnalysisViewModel.d.ts +4 -3
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +6 -3
- package/dist/support/time-utils.d.ts +6 -0
- package/dist/types/lumina.d.ts +54 -32
- package/dist/types/preact.d.ts +59 -34
- package/dist/types/preact10.d.ts +64 -36
- package/dist/types/react.d.ts +64 -36
- package/dist/types/stencil.d.ts +54 -32
- 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/24FIOFGL.js +0 -4
- package/dist/cdn/2QAML4P7.js +0 -4
- package/dist/cdn/2QEVKF3M.js +0 -4
- package/dist/cdn/2TT7JHKU.js +0 -4
- package/dist/cdn/2WK2MSUI.js +0 -4
- package/dist/cdn/36IQDZ3G.js +0 -4
- package/dist/cdn/3ETI3KHD.js +0 -4
- package/dist/cdn/3GLBQK27.js +0 -4
- package/dist/cdn/4P5DFLTX.js +0 -5
- package/dist/cdn/4PNCM4AX.js +0 -4
- package/dist/cdn/4VC56N4L.js +0 -4
- package/dist/cdn/4VJ33WZ7.js +0 -4
- package/dist/cdn/4WMRWSKE.js +0 -4
- package/dist/cdn/4XPC3USH.js +0 -4
- package/dist/cdn/5KFUEZNB.js +0 -4
- package/dist/cdn/5NGQ34PO.js +0 -4
- package/dist/cdn/5PLNMTFM.js +0 -4
- package/dist/cdn/5ROISKK5.js +0 -4
- package/dist/cdn/5VFO3P34.js +0 -4
- package/dist/cdn/637CWHOC.js +0 -4
- package/dist/cdn/65HNRYB4.js +0 -4
- package/dist/cdn/6AFC4KYA.js +0 -4
- package/dist/cdn/6L4TZHKU.js +0 -4
- package/dist/cdn/6N5YEI5U.js +0 -4
- package/dist/cdn/7B3GFLM4.js +0 -4
- package/dist/cdn/7BDY3BU7.js +0 -4
- package/dist/cdn/7KMCO32Q.js +0 -4
- package/dist/cdn/7L55KE2V.js +0 -4
- package/dist/cdn/A3MI5N43.js +0 -4
- package/dist/cdn/A4AKT4LY.js +0 -4
- package/dist/cdn/A5LDRWTA.js +0 -4
- package/dist/cdn/B2ZFGOXD.js +0 -4
- package/dist/cdn/BD5LNODX.js +0 -4
- package/dist/cdn/BIUV2EW2.js +0 -4
- package/dist/cdn/BL6DFV7R.js +0 -4
- package/dist/cdn/BUFQD3QO.js +0 -4
- package/dist/cdn/CGL4MV5F.js +0 -4
- package/dist/cdn/CHYFQH6P.js +0 -4
- package/dist/cdn/CZZ7Y35Z.js +0 -4
- package/dist/cdn/D2LJXS5O.js +0 -4
- package/dist/cdn/D67SAEXC.js +0 -4
- package/dist/cdn/DPDBGZUQ.js +0 -4
- package/dist/cdn/DQFSD3BZ.js +0 -4
- package/dist/cdn/DRMOWRTY.js +0 -4
- package/dist/cdn/DUZNF3KO.js +0 -4
- package/dist/cdn/DXPNHQ2A.js +0 -4
- package/dist/cdn/E5DTA2QE.js +0 -4
- package/dist/cdn/EDBEJKG4.js +0 -4
- package/dist/cdn/EJLSAJ7Z.js +0 -4
- package/dist/cdn/EMQJDRYZ.js +0 -4
- package/dist/cdn/ENPAUNXX.js +0 -4
- package/dist/cdn/F32DNIAM.js +0 -4
- package/dist/cdn/F75STQIS.js +0 -4
- package/dist/cdn/FEJPBDMX.js +0 -4
- package/dist/cdn/FGRJXTC4.js +0 -4
- package/dist/cdn/FIOK6KKP.js +0 -4
- package/dist/cdn/FQHCN5PI.js +0 -4
- package/dist/cdn/FUNOEGEP.js +0 -4
- package/dist/cdn/FYLKCHLA.js +0 -4
- package/dist/cdn/FYLZIBTR.js +0 -4
- package/dist/cdn/G4KOFHHD.js +0 -4
- package/dist/cdn/G6RKDMGY.js +0 -4
- package/dist/cdn/GBFC7BDF.js +0 -4
- package/dist/cdn/GHCICMTZ.js +0 -4
- package/dist/cdn/GIDT5OTS.js +0 -4
- package/dist/cdn/GLWAKTJ6.js +0 -4
- package/dist/cdn/GLZM6JSO.js +0 -4
- package/dist/cdn/GOGBHK5W.js +0 -4
- package/dist/cdn/GPNRFEBQ.js +0 -4
- package/dist/cdn/H4FO43TQ.js +0 -4
- package/dist/cdn/HAD7DDQH.js +0 -4
- package/dist/cdn/HD7BQXXH.js +0 -4
- package/dist/cdn/HSORIPSD.js +0 -4
- package/dist/cdn/HT5P52JJ.js +0 -4
- package/dist/cdn/HTTTUKFU.js +0 -4
- package/dist/cdn/HXA2FJLS.js +0 -4
- package/dist/cdn/I3NH27UL.js +0 -4
- package/dist/cdn/IBLIJJ2U.js +0 -4
- package/dist/cdn/ILS226ZZ.js +0 -4
- package/dist/cdn/IM3WBCCU.js +0 -4
- package/dist/cdn/IQ2UBST6.js +0 -4
- package/dist/cdn/ISU7UB5C.js +0 -4
- package/dist/cdn/IXUH65C6.js +0 -4
- package/dist/cdn/J376WYHL.js +0 -4
- package/dist/cdn/J5DMYV4L.js +0 -4
- package/dist/cdn/JEKQ4FH3.js +0 -4
- package/dist/cdn/JGAMA7FC.js +0 -4
- package/dist/cdn/JO46OYZR.js +0 -4
- package/dist/cdn/JT24YIBS.js +0 -4
- package/dist/cdn/KD63FUE7.js +0 -4
- package/dist/cdn/KKW7L2H6.js +0 -4
- package/dist/cdn/KQBARG67.js +0 -4
- package/dist/cdn/KRJQ47FX.js +0 -4
- package/dist/cdn/KTUEXPGY.js +0 -4
- package/dist/cdn/KUGNRX5I.js +0 -4
- package/dist/cdn/KY4EUKNJ.js +0 -4
- package/dist/cdn/KYK5G6U6.js +0 -4
- package/dist/cdn/L4NOWY7R.js +0 -4
- package/dist/cdn/LDRCHRH6.js +0 -4
- package/dist/cdn/LM6HXX6Z.js +0 -4
- package/dist/cdn/LNOGOTUO.js +0 -4
- package/dist/cdn/M35EWG3A.js +0 -4
- package/dist/cdn/M3JCFUWF.js +0 -4
- package/dist/cdn/M6XAZZYO.js +0 -4
- package/dist/cdn/MA6HL7K7.js +0 -4
- package/dist/cdn/MBMAIEIY.js +0 -4
- package/dist/cdn/MGEO265K.js +0 -4
- package/dist/cdn/MSBMMGC7.js +0 -4
- package/dist/cdn/MTOZCJE4.js +0 -4
- package/dist/cdn/N35AGRPR.js +0 -4
- package/dist/cdn/N54JLHJH.js +0 -4
- package/dist/cdn/NHJUZYR7.js +0 -4
- package/dist/cdn/NICHIV22.js +0 -4
- package/dist/cdn/NYJGMFYD.js +0 -4
- package/dist/cdn/OAL2DV3H.js +0 -4
- package/dist/cdn/OB7MFKZ2.js +0 -4
- package/dist/cdn/OLAIRBN2.js +0 -4
- package/dist/cdn/OM5T7IMH.js +0 -4
- package/dist/cdn/OO6TJIN7.js +0 -4
- package/dist/cdn/OODU2NAN.js +0 -4
- package/dist/cdn/P7BS2OQL.js +0 -4
- package/dist/cdn/PF2BHU63.js +0 -4
- package/dist/cdn/PKSMBCZG.js +0 -4
- package/dist/cdn/Q4AC6G46.js +0 -4
- package/dist/cdn/Q7E3BJCS.js +0 -4
- package/dist/cdn/Q7RJTSMT.js +0 -4
- package/dist/cdn/QNRNXYW4.js +0 -4
- package/dist/cdn/QQHBOFYP.js +0 -4
- package/dist/cdn/QZVSJ65F.js +0 -4
- package/dist/cdn/R4KHFOUZ.js +0 -4
- package/dist/cdn/RTELX7UO.js +0 -4
- package/dist/cdn/RYZGV3PB.js +0 -4
- package/dist/cdn/SI3EGWNU.js +0 -4
- package/dist/cdn/SN7O2A3T.js +0 -4
- package/dist/cdn/SNZU6GQA.js +0 -4
- package/dist/cdn/SQHW7ZPZ.js +0 -4
- package/dist/cdn/SRQV7IAC.js +0 -4
- package/dist/cdn/TDWHOSGC.js +0 -4
- package/dist/cdn/TSL3GRQ7.js +0 -4
- package/dist/cdn/TVDSU7R2.js +0 -4
- package/dist/cdn/U4WWVT6W.js +0 -4
- package/dist/cdn/UKRZFM6L.js +0 -9
- package/dist/cdn/VA6J4CYT.js +0 -6
- package/dist/cdn/VGTBOKKG.js +0 -4
- package/dist/cdn/VN5JPWXN.js +0 -4
- package/dist/cdn/VOZF6LQJ.js +0 -4
- package/dist/cdn/X3OIHTMN.js +0 -4
- package/dist/cdn/XCQMZYFT.js +0 -4
- package/dist/cdn/XOUKYVQ4.js +0 -4
- package/dist/cdn/Y3TA75KJ.js +0 -4
- package/dist/cdn/YGES3DLF.js +0 -4
- package/dist/cdn/YHSECDVX.js +0 -4
- package/dist/cdn/YUWKUAFN.js +0 -4
- package/dist/cdn/YWD7ZFOR.js +0 -4
- package/dist/cdn/ZJE52YLT.js +0 -4
- package/dist/cdn/ZNSS52UU.js +0 -4
- package/dist/cdn/ZON57F3Z.js +0 -4
- package/dist/cdn/ZTB6OSGP.js +0 -4
- package/dist/cdn/ZWJFEUXM.js +0 -4
- package/dist/cdn/ZXP6O3VA.js +0 -4
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +0 -1
- 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-print-exported-link/index.d.ts +0 -7
- package/dist/components/arcgis-print-exported-link/index.js +0 -7
- 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
|
@@ -1,35 +1,92 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import {
|
|
4
|
-
import { LitElement as
|
|
1
|
+
import { c as f } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as v, html as s } from "lit";
|
|
3
|
+
import { whenOnce as x } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as $, safeClassMap as a, nothing as u } 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.61 */
|
|
10
|
+
const b = v`.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 $ {
|
|
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
|
-
this.properties = {
|
|
47
|
+
this.properties = { showSaveAs: 5, viewModel: 0, messages: 0, allowedFormatsForSaving: 1, arcgisSaveAs: 0 };
|
|
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.showSaveAs && 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
|
+
x(() => e.portalItem).then((l) => {
|
|
71
|
+
l.itemPageUrl && this.requestUpdate();
|
|
72
|
+
}), this.arcgisSaveAs.emit(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), h = 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 : h || (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.showSaveAs && 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) ?? u} @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
|
+
f("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";
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { c as m } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as i } from "lit";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { f as p } from "../../chunks/utils.js";
|
|
3
|
+
import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as f } from "@arcgis/lumina";
|
|
5
|
+
import { f as n } from "../../chunks/utils.js";
|
|
7
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
10
|
-
class c extends
|
|
8
|
+
v5.0.0-next.61 */
|
|
9
|
+
class c extends f {
|
|
11
10
|
constructor() {
|
|
12
11
|
super(...arguments), this._formats = [];
|
|
13
12
|
}
|
|
@@ -16,24 +15,24 @@ class c extends n {
|
|
|
16
15
|
}
|
|
17
16
|
loaded() {
|
|
18
17
|
this.manager.onLifecycle(() => [
|
|
19
|
-
|
|
18
|
+
r(() => [this.viewModel.templateOptions.format, this.viewModel.templatesInfo?.format], () => {
|
|
20
19
|
const t = this.viewModel.templatesInfo;
|
|
21
20
|
if (!t)
|
|
22
21
|
return;
|
|
23
22
|
if (this._formats.length !== t.format.choiceList.length) {
|
|
24
|
-
const
|
|
23
|
+
const a = [...n.values()];
|
|
25
24
|
this._formats = t.format.choiceList.map((e) => {
|
|
26
|
-
const s =
|
|
25
|
+
const s = a.find((l) => new RegExp(`\\b${l}\\b`, "iu").test(e)) ?? e;
|
|
27
26
|
return {
|
|
28
27
|
value: s,
|
|
29
28
|
label: e === s ? e.toUpperCase() : e
|
|
30
29
|
};
|
|
31
30
|
}).sort((e, s) => e.label.localeCompare(s.label));
|
|
32
31
|
}
|
|
33
|
-
const
|
|
34
|
-
if (t.format.defaultValue && !
|
|
35
|
-
const
|
|
36
|
-
|
|
32
|
+
const o = this._formats.some(({ value: a }) => new RegExp(`\\b${a}\\b`, "iu").test(this.viewModel.templateOptions.format));
|
|
33
|
+
if (t.format.defaultValue && !o) {
|
|
34
|
+
const a = this._formats.find(({ value: e }) => new RegExp(`\\b${e}\\b`, "iu").test(t.format.defaultValue))?.value;
|
|
35
|
+
a && (this.viewModel.templateOptions.format = a);
|
|
37
36
|
return;
|
|
38
37
|
}
|
|
39
38
|
}, { initial: !0 })
|
|
@@ -41,9 +40,9 @@ class c extends n {
|
|
|
41
40
|
}
|
|
42
41
|
render() {
|
|
43
42
|
return i`<div><calcite-label>${this.messages.fileFormatTitle}<calcite-combobox clear-disabled .label=${this.messages.formatDefaultOption} max-items=6 .placeholder=${this.messages.formatDefaultOption} selection-mode=single-persist @calciteComboboxChange=${({ currentTarget: t }) => {
|
|
44
|
-
const
|
|
45
|
-
this.viewModel.templateOptions.format =
|
|
46
|
-
}}>${this._formats.map(({ value: t, label:
|
|
43
|
+
const o = t.selectedItems[0]?.value;
|
|
44
|
+
this.viewModel.templateOptions.format = o ?? "pdf";
|
|
45
|
+
}}>${this._formats.map(({ value: t, label: o }) => i`<calcite-combobox-item .heading=${o} .selected=${t === this.viewModel.templateOptions.format} .value=${t}></calcite-combobox-item>`)}</calcite-combobox></calcite-label></div>`;
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
m("arcgis-print-format-select", c);
|
|
@@ -5,6 +5,8 @@ import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
7
7
|
export declare class PrintLayoutAdvancedOptions extends LitElement {
|
|
8
|
+
/** @default false */
|
|
9
|
+
autoPopulateAuthor: boolean;
|
|
8
10
|
viewModel: __esri.PrintViewModel;
|
|
9
11
|
messages: ArcgisPrint["messages"];
|
|
10
12
|
}
|
|
@@ -1,29 +1,28 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { u as r } from "../../chunks/useHandles.js";
|
|
1
|
+
import { c as s } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as a, html as t } from "lit";
|
|
3
|
+
import { watch as i } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as o, safeClassMap as n } from "@arcgis/lumina";
|
|
5
|
+
import { u as l } from "../../chunks/useHandles.js";
|
|
7
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
10
|
-
const
|
|
11
|
-
advancedOptionsContainer: `${
|
|
8
|
+
v5.0.0-next.61 */
|
|
9
|
+
const r = a`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, c = "arcgis-print", h = {
|
|
10
|
+
advancedOptionsContainer: `${c}__advanced-options-container`
|
|
12
11
|
};
|
|
13
|
-
class
|
|
12
|
+
class p extends o {
|
|
14
13
|
constructor() {
|
|
15
|
-
super(...arguments), this._handles =
|
|
14
|
+
super(...arguments), this._handles = l("disconnect"), this.autoPopulateAuthor = !1;
|
|
16
15
|
}
|
|
17
16
|
static {
|
|
18
|
-
this.properties = { _selectedTemplate: 16, _showAuthorInput: 16, _showCopyrightInput: 16, _showLegendInput: 16, _showNorthArrowInput: 16, _showScaleBarInput: 16, viewModel: 0, messages: 0 };
|
|
17
|
+
this.properties = { _selectedTemplate: 16, _showAuthorInput: 16, _showCopyrightInput: 16, _showLegendInput: 16, _showNorthArrowInput: 16, _showScaleBarInput: 16, autoPopulateAuthor: 5, viewModel: 0, messages: 0 };
|
|
19
18
|
}
|
|
20
19
|
static {
|
|
21
|
-
this.styles =
|
|
20
|
+
this.styles = r;
|
|
22
21
|
}
|
|
23
22
|
loaded() {
|
|
24
23
|
this.manager.onLifecycle(() => [
|
|
25
|
-
|
|
26
|
-
this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(
|
|
24
|
+
i(() => this.viewModel.templateOptions.id, (e) => {
|
|
25
|
+
this._handles.removeHandles("template-handle"), this._selectedTemplate = e ? this.viewModel.getLayoutTemplateById(e) ?? void 0 : void 0, this._handles.addHandles(i(() => [
|
|
27
26
|
this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText,
|
|
28
27
|
this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText,
|
|
29
28
|
this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend,
|
|
@@ -32,20 +31,23 @@ class d extends o {
|
|
|
32
31
|
], () => {
|
|
33
32
|
this._showAuthorInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText ?? !0, this._showCopyrightInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText ?? !0, this._showLegendInput = this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend ?? !0, this._showNorthArrowInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length, this._showScaleBarInput = !!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length;
|
|
34
33
|
}, { initial: !0 }), "template-handle");
|
|
34
|
+
}, { initial: !0 }),
|
|
35
|
+
i(() => [this.viewModel.portal?.user, this.autoPopulateAuthor], () => {
|
|
36
|
+
!this.viewModel.templateOptions.author && this.autoPopulateAuthor && this.viewModel.portal?.user?.username && (this.viewModel.templateOptions.author = this.viewModel.portal.user.username, this.requestUpdate());
|
|
35
37
|
}, { initial: !0 })
|
|
36
38
|
]);
|
|
37
39
|
}
|
|
38
40
|
render() {
|
|
39
|
-
return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${
|
|
41
|
+
return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${n(h.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderAuthorSection()}${this._renderCopyrightSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderCustomTextElementSection()}${this._renderLegendSection()}${this._renderNorthArrowSection()}${this._renderScaleBarSection()}</div>`;
|
|
40
42
|
}
|
|
41
43
|
_renderScaleSection() {
|
|
42
44
|
return t`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`;
|
|
43
45
|
}
|
|
44
46
|
_renderAuthorSection() {
|
|
45
|
-
return this._showAuthorInput ?
|
|
47
|
+
return this._showAuthorInput ? t`<div><calcite-label>${this.messages.author}<calcite-input .value=${this.viewModel.templateOptions.author ?? ""} @calciteInputInput=${(e) => this.viewModel.templateOptions.author = e.target.value}></calcite-input></calcite-label></div>` : null;
|
|
46
48
|
}
|
|
47
49
|
_renderCopyrightSection() {
|
|
48
|
-
return this._showCopyrightInput ?
|
|
50
|
+
return this._showCopyrightInput ? t`<div><calcite-label>${this.messages.copyright}<calcite-input .value=${this.viewModel.templateOptions.copyright ?? ""} @calciteInputInput=${(e) => this.viewModel.templateOptions.copyright = e.target.value}></calcite-input></calcite-label></div>` : null;
|
|
49
51
|
}
|
|
50
52
|
_renderDpiSection() {
|
|
51
53
|
return t`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`;
|
|
@@ -66,7 +68,7 @@ class d extends o {
|
|
|
66
68
|
return this._showScaleBarInput ? t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.scaleBarEnabled} @calciteCheckboxChange=${(e) => this.viewModel.templateOptions.scaleBarEnabled = e.target.checked}></calcite-checkbox>${this.messages.scaleBar}</calcite-label></div>` : null;
|
|
67
69
|
}
|
|
68
70
|
}
|
|
69
|
-
|
|
71
|
+
s("arcgis-print-layout-advanced-options", p);
|
|
70
72
|
export {
|
|
71
|
-
|
|
73
|
+
p as PrintLayoutAdvancedOptions
|
|
72
74
|
};
|
|
@@ -5,6 +5,10 @@ import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
7
7
|
export declare class PrintLayoutPanel extends LitElement {
|
|
8
|
+
/** @default false */
|
|
9
|
+
hideAdvancedOptions: boolean;
|
|
10
|
+
/** @default false */
|
|
11
|
+
autoPopulateAuthor: boolean;
|
|
8
12
|
viewModel: __esri.PrintViewModel;
|
|
9
13
|
messages: ArcgisPrint["messages"];
|
|
10
14
|
showTemplateSelector: () => void;
|
|
@@ -1,26 +1,25 @@
|
|
|
1
1
|
import { c as r } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as c, html as e } from "lit";
|
|
3
|
-
import { classes as p } from "@arcgis/toolkit/dom";
|
|
4
3
|
import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { u as
|
|
4
|
+
import { LitElement as p, safeClassMap as i } from "@arcgis/lumina";
|
|
5
|
+
import { u as d } from "../../chunks/useHandles.js";
|
|
7
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
10
|
-
const
|
|
11
|
-
advancedOptionsSection: `${
|
|
12
|
-
layoutSection: `${
|
|
13
|
-
panelContainer: `${
|
|
8
|
+
v5.0.0-next.61 */
|
|
9
|
+
const m = c`:host{display:flex;flex-direction:column;height:100%}.arcgis-print__layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm);display:flex;flex-direction:column;flex-grow:1;gap:var(--calcite-spacing-md)}.arcgis-print__panel-container{display:flex;flex-grow:1;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}`, s = "arcgis-print", a = {
|
|
10
|
+
advancedOptionsSection: `${s}__advanced-options-section`,
|
|
11
|
+
layoutSection: `${s}__layout-section`,
|
|
12
|
+
panelContainer: `${s}__panel-container`
|
|
14
13
|
};
|
|
15
|
-
class
|
|
14
|
+
class h extends p {
|
|
16
15
|
constructor() {
|
|
17
|
-
super(...arguments), this._handles =
|
|
16
|
+
super(...arguments), this._handles = d("disconnect"), this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1;
|
|
18
17
|
}
|
|
19
18
|
static {
|
|
20
|
-
this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0 };
|
|
19
|
+
this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0 };
|
|
21
20
|
}
|
|
22
21
|
static {
|
|
23
|
-
this.styles =
|
|
22
|
+
this.styles = m;
|
|
24
23
|
}
|
|
25
24
|
loaded() {
|
|
26
25
|
this.manager.onLifecycle(() => [
|
|
@@ -32,14 +31,14 @@ class u extends d {
|
|
|
32
31
|
]);
|
|
33
32
|
}
|
|
34
33
|
render() {
|
|
35
|
-
return e`<section class=${i(
|
|
34
|
+
return e`<section class=${i(a.layoutSection)}><div class=${i(a.panelContainer)}>${this._renderTitleInput()}${this._renderTemplateSelect()}${this._renderFileFormatSection()}${this._renderAdvancedSection()}</div>${this._renderExportButton()}</section>`;
|
|
36
35
|
}
|
|
37
36
|
_renderTitleInput() {
|
|
38
37
|
if (!this._showSelectedTemplateTitleText)
|
|
39
38
|
return null;
|
|
40
|
-
const { title: t, titlePlaceHolder:
|
|
41
|
-
return e`<calcite-label>${t}<calcite-input .placeholder=${
|
|
42
|
-
this.viewModel.templateOptions.title =
|
|
39
|
+
const { title: t, titlePlaceHolder: o } = this.messages;
|
|
40
|
+
return e`<calcite-label>${t}<calcite-input .placeholder=${o} .value=${this.viewModel.templateOptions.title ?? ""} @calciteInputInput=${(n) => {
|
|
41
|
+
this.viewModel.templateOptions.title = n.currentTarget.value;
|
|
43
42
|
}}></calcite-input></calcite-label>`;
|
|
44
43
|
}
|
|
45
44
|
_renderTemplateSelect() {
|
|
@@ -49,13 +48,13 @@ class u extends d {
|
|
|
49
48
|
return e`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`;
|
|
50
49
|
}
|
|
51
50
|
_renderAdvancedSection() {
|
|
52
|
-
return e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${i(
|
|
51
|
+
return this.hideAdvancedOptions ? null : e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${i(a.advancedOptionsSection)} collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .autoPopulateAuthor=${this.autoPopulateAuthor} .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
|
|
53
52
|
}
|
|
54
53
|
_renderExportButton() {
|
|
55
54
|
return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
|
|
56
55
|
}
|
|
57
56
|
}
|
|
58
|
-
r("arcgis-print-layout-panel",
|
|
57
|
+
r("arcgis-print-layout-panel", h);
|
|
59
58
|
export {
|
|
60
|
-
|
|
59
|
+
h as PrintLayoutPanel
|
|
61
60
|
};
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference path="../../index.d.ts" />
|
|
3
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
3
|
+
import { EventEmitter, JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
5
|
import { Formats } from '../arcgis-print/types';
|
|
6
6
|
|
|
7
7
|
/** @private */
|
|
8
8
|
export declare class PrintMainPanel extends LitElement {
|
|
9
|
-
|
|
9
|
+
/** @default false */
|
|
10
|
+
hideAdvancedOptions: boolean;
|
|
11
|
+
/** @default false */
|
|
12
|
+
autoPopulateAuthor: boolean;
|
|
13
|
+
/** @default false */
|
|
14
|
+
showSaveAs?: boolean;
|
|
15
|
+
arcgisSaveAs: EventEmitter<__esri.FileLink>;
|
|
10
16
|
viewModel: __esri.PrintViewModel;
|
|
11
17
|
messages: ArcgisPrint["messages"];
|
|
12
18
|
showTemplateSelector: () => void;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { c as s } from "../../chunks/runtime.js";
|
|
2
|
-
import { css as
|
|
3
|
-
import { LitElement as
|
|
2
|
+
import { css as i, html as a } from "lit";
|
|
3
|
+
import { LitElement as l } from "@arcgis/lumina";
|
|
4
4
|
import { i as o } from "../../chunks/utils.js";
|
|
5
5
|
import { u as c } from "../../chunks/useHandles.js";
|
|
6
6
|
import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
9
|
-
v5.0.0-next.
|
|
10
|
-
const p =
|
|
11
|
-
class r extends
|
|
9
|
+
v5.0.0-next.61 */
|
|
10
|
+
const p = i`:host{display:flex;flex-direction:column;flex-grow:1}calcite-tabs{flex-grow:1}calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
|
|
11
|
+
class r extends l {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1;
|
|
13
|
+
super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1, this.hideAdvancedOptions = !1, this.autoPopulateAuthor = !1;
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
|
-
this.properties = { _selectedTab: 16, _hasPendingExport: 16,
|
|
16
|
+
this.properties = { _selectedTab: 16, _hasPendingExport: 16, hideAdvancedOptions: 5, autoPopulateAuthor: 5, showSaveAs: 5, arcgisSaveAs: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
19
|
this.styles = p;
|
|
@@ -43,7 +43,7 @@ class r extends i {
|
|
|
43
43
|
}
|
|
44
44
|
render() {
|
|
45
45
|
const e = this.viewModel.exportedLinks.some(({ state: t }) => t === "pending");
|
|
46
|
-
return a`<
|
|
46
|
+
return a`<calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .autoPopulateAuthor=${this.autoPopulateAuthor} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .hideAdvancedOptions=${this.hideAdvancedOptions} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .showSaveAs=${this.showSaveAs} .arcgisSaveAs=${this.arcgisSaveAs}></arcgis-print-exports-panel></calcite-tab></calcite-tabs>`;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
s("arcgis-print-main-panel", r);
|
|
@@ -3,7 +3,7 @@ import { css as s, html as e } from "lit";
|
|
|
3
3
|
import { LitElement as n, safeClassMap as a } 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.61 */
|
|
7
7
|
const r = s`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, c = "arcgis-print", o = {
|
|
8
8
|
advancedOptionsContainer: `${c}__advanced-options-container`
|
|
9
9
|
};
|
|
@@ -5,6 +5,8 @@ import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
7
7
|
export declare class PrintMapOnlyPanel extends LitElement {
|
|
8
|
+
/** @default false */
|
|
9
|
+
hideAdvancedOptions: boolean;
|
|
8
10
|
viewModel: __esri.PrintViewModel;
|
|
9
11
|
messages: ArcgisPrint["messages"];
|
|
10
12
|
selectExportsTab: () => void;
|
|
@@ -1,47 +1,49 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as r } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as c, html as i } from "lit";
|
|
3
|
-
import {
|
|
4
|
-
import { LitElement as p, safeClassMap as s } from "@arcgis/lumina";
|
|
3
|
+
import { LitElement as o, safeClassMap as a } from "@arcgis/lumina";
|
|
5
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
5
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
8
|
-
const
|
|
9
|
-
advancedOptionsSection: `${
|
|
10
|
-
mapOnlySection: `${
|
|
11
|
-
panelContainer: `${
|
|
12
|
-
sizeContainer: `${
|
|
13
|
-
swapButton: `${
|
|
6
|
+
v5.0.0-next.61 */
|
|
7
|
+
const p = c`:host{display:flex;flex-direction:column;height:100%}.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__map-only-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm);display:flex;flex-direction:column;flex:1 0;gap:var(--calcite-spacing-md)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__size-container{--button-width: 32px;display:inline-grid;grid-template-columns:1fr 1fr var(--button-width);column-gap:var(--calcite-spacing-xs);width:100%}.arcgis-print__swap-button{flex:1 0 auto;border:none;color:var(--calcite-color-border-input);align-self:flex-end;margin-bottom:var(--calcite-spacing-md)}.arcgis-print__swap-button calcite-button{width:var(--button-width);height:var(--button-width)}`, s = "arcgis-print", n = {
|
|
8
|
+
advancedOptionsSection: `${s}__advanced-options-section`,
|
|
9
|
+
mapOnlySection: `${s}__map-only-section`,
|
|
10
|
+
panelContainer: `${s}__panel-container`,
|
|
11
|
+
sizeContainer: `${s}__size-container`,
|
|
12
|
+
swapButton: `${s}__swap-button`
|
|
14
13
|
};
|
|
15
|
-
class
|
|
14
|
+
class d extends o {
|
|
15
|
+
constructor() {
|
|
16
|
+
super(...arguments), this.hideAdvancedOptions = !1;
|
|
17
|
+
}
|
|
16
18
|
static {
|
|
17
|
-
this.properties = { viewModel: 0, messages: 0, selectExportsTab: 0 };
|
|
19
|
+
this.properties = { hideAdvancedOptions: 5, viewModel: 0, messages: 0, selectExportsTab: 0 };
|
|
18
20
|
}
|
|
19
21
|
static {
|
|
20
|
-
this.styles =
|
|
22
|
+
this.styles = p;
|
|
21
23
|
}
|
|
22
24
|
loaded() {
|
|
23
25
|
this.manager.onLifecycle(() => []);
|
|
24
26
|
}
|
|
25
27
|
render() {
|
|
26
|
-
return i`<section class=${
|
|
28
|
+
return i`<section class=${a(n.mapOnlySection)}><div class=${a(n.panelContainer)}>${this._renderFileNameInput()}${this._renderFileFormatSection()}${this._renderSizeSection()}${this._renderAdvancedSection()}</div>${this._renderExportButton()}</section>`;
|
|
27
29
|
}
|
|
28
30
|
_renderFileNameInput() {
|
|
29
31
|
const { fileName: t, fileNamePlaceHolder: e } = this.messages;
|
|
30
|
-
return i`<calcite-label>${t}<calcite-input .placeholder=${e} .value=${this.viewModel.templateOptions.fileName ?? ""} @calciteInputInput=${(
|
|
31
|
-
this.viewModel.templateOptions.fileName =
|
|
32
|
+
return i`<calcite-label>${t}<calcite-input .placeholder=${e} .value=${this.viewModel.templateOptions.fileName ?? ""} @calciteInputInput=${(l) => {
|
|
33
|
+
this.viewModel.templateOptions.fileName = l.currentTarget.value;
|
|
32
34
|
}}></calcite-input></calcite-label>`;
|
|
33
35
|
}
|
|
34
36
|
_renderFileFormatSection() {
|
|
35
37
|
return i`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`;
|
|
36
38
|
}
|
|
37
39
|
_renderSizeSection() {
|
|
38
|
-
return i`<div><div class=${
|
|
40
|
+
return i`<div><div class=${a(n.sizeContainer)}><calcite-label>${this.messages.width}<calcite-input-number .value=${`${this.viewModel.templateOptions.width}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${(t) => {
|
|
39
41
|
const e = Number(t.target.value);
|
|
40
42
|
!Number.isNaN(e) && e > 0 && Number.isFinite(e) ? this.viewModel.templateOptions.width = e : t.target.value = `${this.viewModel.templateOptions.width}`;
|
|
41
43
|
}}></calcite-input-number></calcite-label><calcite-label>${this.messages.height}<calcite-input-number .value=${`${this.viewModel.templateOptions.height}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${(t) => {
|
|
42
44
|
const e = Number(t.target.value);
|
|
43
45
|
!Number.isNaN(e) && e > 0 && Number.isFinite(e) ? this.viewModel.templateOptions.height = e : t.target.value = `${this.viewModel.templateOptions.height}`;
|
|
44
|
-
}}></calcite-input-number></calcite-label><div class=${
|
|
46
|
+
}}></calcite-input-number></calcite-label><div class=${a(n.swapButton)}><calcite-button icon-start=arrow-right-left .label=${this.messages.swap} appearance=transparent kind=neutral @click=${() => {
|
|
45
47
|
[this.viewModel.templateOptions.width, this.viewModel.templateOptions.height] = [
|
|
46
48
|
this.viewModel.templateOptions.height,
|
|
47
49
|
this.viewModel.templateOptions.width
|
|
@@ -49,13 +51,13 @@ class m extends p {
|
|
|
49
51
|
}}></calcite-button></div></div><arcgis-print-preview-input .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-preview-input></div>`;
|
|
50
52
|
}
|
|
51
53
|
_renderAdvancedSection() {
|
|
52
|
-
return i`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${
|
|
54
|
+
return this.hideAdvancedOptions ? null : i`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${a(n.advancedOptionsSection)} collapsible .heading=${this.messages.advancedOptions}><arcgis-print-map-only-advanced-options .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-map-only-advanced-options></calcite-block>`;
|
|
53
55
|
}
|
|
54
56
|
_renderExportButton() {
|
|
55
57
|
return i`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.fileName ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
|
|
56
58
|
}
|
|
57
59
|
}
|
|
58
|
-
|
|
60
|
+
r("arcgis-print-map-only-panel", d);
|
|
59
61
|
export {
|
|
60
|
-
|
|
62
|
+
d as PrintMapOnlyPanel
|
|
61
63
|
};
|