@arcgis/map-components 5.0.0-next.44 → 5.0.0-next.46
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/{VZX5GK5X.js → 23GMF7XI.js} +2 -2
- package/dist/cdn/{SUWIKE56.js → 24UA23KN.js} +2 -2
- package/dist/cdn/25UUR63R.js +4 -0
- package/dist/cdn/{PU4ULMW6.js → 2O5UNTWF.js} +1 -1
- package/dist/cdn/{3VUYU3LE.js → 2VKNMDAQ.js} +2 -2
- package/dist/cdn/{7ZN4FOWD.js → 2ZKBEHWA.js} +2 -2
- package/dist/cdn/{AAALXKYY.js → 3MXLDCZI.js} +2 -2
- package/dist/cdn/{3T6KN3IS.js → 3NUH6WSI.js} +2 -2
- package/dist/cdn/{YO6NQUMX.js → 3U7OCQIN.js} +2 -2
- package/dist/cdn/{TDFE5K6Y.js → 3ULX5RSA.js} +1 -1
- package/dist/cdn/{CROBP7NP.js → 3VHC2TBV.js} +2 -2
- package/dist/cdn/{3UE3R5RK.js → 3WOFKI6E.js} +2 -2
- package/dist/cdn/{TLGZRPF7.js → 43CK3YRL.js} +2 -2
- package/dist/cdn/{GJAX4RAH.js → 4DAHEA7P.js} +2 -2
- package/dist/cdn/{TBD5MSUN.js → 4DNXVHKT.js} +2 -2
- package/dist/cdn/{CVTTLQC7.js → 4E72I4OM.js} +2 -2
- package/dist/cdn/{X7DZ23U4.js → 4GHGHKKV.js} +2 -2
- package/dist/cdn/{CFKWDLCD.js → 4GSND4F7.js} +2 -2
- package/dist/cdn/{H6CCOME3.js → 4LIAWAHO.js} +2 -2
- package/dist/cdn/{J63OXNTN.js → 4NRCLPWJ.js} +2 -2
- package/dist/cdn/{237VUFOT.js → 4QDFPD3P.js} +2 -2
- package/dist/cdn/{N6GEBETP.js → 4ZGE75OH.js} +2 -2
- package/dist/cdn/{6XWQJHOH.js → 56GSPX6L.js} +1 -1
- package/dist/cdn/{HWM6NYR2.js → 56OI4AA3.js} +2 -2
- package/dist/cdn/{ZKHB2LL5.js → 5GBPF6OO.js} +2 -2
- package/dist/cdn/{5OH3B3EG.js → 5K24FJHL.js} +2 -2
- package/dist/cdn/{W333CLKX.js → 5L6YXZLM.js} +2 -2
- package/dist/cdn/{6HJPVV3S.js → 63WREO62.js} +2 -2
- package/dist/cdn/{KWTKJE7C.js → 65NGVTYR.js} +2 -2
- package/dist/cdn/{Y2GRJL4M.js → 6BMSATBH.js} +2 -2
- package/dist/cdn/{RBZGP54L.js → 6DSF7J6Q.js} +2 -2
- package/dist/cdn/{M4BHMPMJ.js → 6E6L5MAY.js} +2 -2
- package/dist/cdn/{E2QGMZ63.js → 6F5OKRMG.js} +2 -2
- package/dist/cdn/{Z5Z4T2AA.js → 6ICP5ZJ5.js} +2 -2
- package/dist/cdn/{YUQC2D4X.js → 6QNMEM5I.js} +2 -2
- package/dist/cdn/{PX4RA6JL.js → 6ULCDPV3.js} +1 -1
- package/dist/cdn/{OTWE6ZBM.js → 74G6NOA4.js} +2 -2
- package/dist/cdn/{HHUIW2OS.js → 7CQOPWRB.js} +2 -2
- package/dist/cdn/{OCKQZKIU.js → 7DQDUNQF.js} +2 -2
- package/dist/cdn/{IOK4DFEX.js → 7GGB6Y23.js} +1 -1
- package/dist/cdn/7GLGF3SN.js +4 -0
- package/dist/cdn/{CEG4XLOT.js → 7GN3DCWM.js} +2 -2
- package/dist/cdn/7HHARQEH.js +5 -0
- package/dist/cdn/{2SKF2LQL.js → 7OLF2EDJ.js} +2 -2
- package/dist/cdn/{4CIR63HD.js → 7QZ6FF74.js} +2 -2
- package/dist/cdn/{RFKF7K2A.js → 7YXV6XVY.js} +2 -2
- package/dist/cdn/{QG7ODLBB.js → A5F7R3ZT.js} +2 -2
- package/dist/cdn/{DZZP7CVI.js → ADH6QRNC.js} +2 -2
- package/dist/cdn/AGCOUXPQ.js +4 -0
- package/dist/cdn/{XRA67ACR.js → AOR4JIVT.js} +2 -2
- package/dist/cdn/{6URV54JL.js → APD7ZV4K.js} +2 -2
- package/dist/cdn/{UJRVUGKM.js → AQBAC7HR.js} +1 -1
- package/dist/cdn/{42EKWBDT.js → BDUFVJ3O.js} +2 -2
- package/dist/cdn/{MQFFYI3X.js → BG7EVZF3.js} +2 -2
- package/dist/cdn/{MWXWZDMU.js → BI5SJGR6.js} +2 -2
- package/dist/cdn/{ZTJ4CU6C.js → BJ3R2AMI.js} +2 -2
- package/dist/cdn/{AC5DXKHH.js → BY2CC6X5.js} +2 -2
- package/dist/cdn/{XI4CNNIC.js → C3TXGMHT.js} +2 -2
- package/dist/cdn/{DVXUOW2M.js → CUKNJEV7.js} +2 -2
- package/dist/cdn/{3K22I45N.js → CWRDA2QG.js} +2 -2
- package/dist/cdn/{VWSLWOIY.js → D277UODG.js} +2 -2
- package/dist/cdn/{GWAR7HKA.js → D73TXU2G.js} +2 -2
- package/dist/cdn/{F5QRLW6V.js → DFJRQIKN.js} +2 -2
- package/dist/cdn/{FCC4Y2U5.js → DJEGQIBV.js} +2 -2
- package/dist/cdn/{6QQ3AKIM.js → DRF3UCNL.js} +2 -2
- package/dist/cdn/{U7U2BC2Y.js → DSSWWHZT.js} +2 -2
- package/dist/cdn/E3YQGLMQ.js +4 -0
- package/dist/cdn/{TL2WTROO.js → EHQRAD5S.js} +2 -2
- package/dist/cdn/{K6WZPHM2.js → EN754JRV.js} +2 -2
- package/dist/cdn/EOLVLKBH.js +4 -0
- package/dist/cdn/{YF55ZFUG.js → EPBEIICY.js} +2 -2
- package/dist/cdn/{O4JKKYIZ.js → EPDS7TBP.js} +2 -2
- package/dist/cdn/{AEX423GM.js → ESJQO5C2.js} +2 -2
- package/dist/cdn/{22VXRYXR.js → EW4L37YC.js} +2 -2
- package/dist/cdn/{SBLDNREE.js → EZ3K4KBP.js} +2 -2
- package/dist/cdn/{L6X2V6Z3.js → F3FCSRPJ.js} +2 -2
- package/dist/cdn/{EDPM634A.js → F5DEK4TQ.js} +2 -2
- package/dist/cdn/FBPZVNLT.js +4 -0
- package/dist/cdn/FFKXIM7R.js +4 -0
- package/dist/cdn/{B345LFJK.js → FGDFFLR3.js} +2 -2
- package/dist/cdn/{R2SNFMAP.js → FGNIRLRR.js} +2 -2
- package/dist/cdn/{F7XBRE7C.js → FIQB6IDD.js} +2 -2
- package/dist/cdn/{T3VZAXZZ.js → FN3PE23F.js} +2 -2
- package/dist/cdn/FSFNE2MI.js +4 -0
- package/dist/cdn/{JII54GWG.js → FT4ZSUBH.js} +2 -2
- package/dist/cdn/{6VL2DY35.js → GAHTTVYU.js} +2 -2
- package/dist/cdn/{TMTNHLPA.js → GC3TKMDB.js} +2 -2
- package/dist/cdn/{YHJOKRS2.js → GS7FHD5Q.js} +2 -2
- package/dist/cdn/{CX5DNWRK.js → GTAVG22A.js} +2 -2
- package/dist/cdn/{SR77IQWP.js → GYTJQMGZ.js} +2 -2
- package/dist/cdn/{DXQUWGVB.js → HE6BMBQG.js} +2 -2
- package/dist/cdn/{GVCNAFR5.js → HOWQMRHG.js} +1 -1
- package/dist/cdn/{DVNKOBBP.js → HRRLMXHC.js} +2 -2
- package/dist/cdn/{JDMSBKHG.js → HSVALIUB.js} +2 -2
- package/dist/cdn/{DXIS5YJG.js → HU4CV4V5.js} +2 -2
- package/dist/cdn/{JG2TR3KM.js → HV37AP2V.js} +2 -2
- package/dist/cdn/{Q2YFHGDU.js → HXG7U6YS.js} +1 -1
- package/dist/cdn/{YID2PHWH.js → HZKDIIJ5.js} +2 -2
- package/dist/cdn/{RLRICK7I.js → IGZSB6NX.js} +2 -2
- package/dist/cdn/{Z7HF7DMB.js → IOFCGPRS.js} +2 -2
- package/dist/cdn/{TBTGCYIK.js → IRQNB3MS.js} +2 -2
- package/dist/cdn/{YYSDOUOH.js → IXTQ6WQB.js} +2 -2
- package/dist/cdn/J2JXDUYO.js +4 -0
- package/dist/cdn/{M6HMUGN2.js → J4TVMFAQ.js} +2 -2
- package/dist/cdn/{Y22IQVYF.js → JBH6ANOS.js} +2 -2
- package/dist/cdn/{DXYBLF5M.js → JKCKFYIJ.js} +2 -2
- package/dist/cdn/{CHTIXENV.js → JM3WM5CS.js} +2 -2
- package/dist/cdn/{AHAY5ATT.js → JM54KG6D.js} +2 -2
- package/dist/cdn/{ZSX32HKS.js → JPQCS7IV.js} +2 -2
- package/dist/cdn/{DWRNLUF7.js → JT5QDHMR.js} +2 -2
- package/dist/cdn/{VZNCPQNL.js → JUUQTT4Q.js} +2 -2
- package/dist/cdn/{E6X7YKBT.js → JVCXU4OX.js} +2 -2
- package/dist/cdn/{7OB7J3IA.js → JVLCJWYE.js} +2 -2
- package/dist/cdn/{G5O6WPGS.js → JXR3BAC3.js} +2 -2
- package/dist/cdn/{C7QJH7CI.js → JZ25XF37.js} +2 -2
- package/dist/cdn/{LCF64Z5O.js → K45664W4.js} +2 -2
- package/dist/cdn/{QNZNKLQJ.js → K5TXNKEI.js} +2 -2
- package/dist/cdn/{H5ZWTCSN.js → K6TTTUYH.js} +2 -2
- package/dist/cdn/{AQY65VFD.js → KA2IAXFA.js} +1 -1
- package/dist/cdn/{6KJVDCQ4.js → KEMIPV6X.js} +2 -2
- package/dist/cdn/{4TEQPTTK.js → KFOCOCDM.js} +2 -2
- package/dist/cdn/{G7BF5UEX.js → KFSBAJFF.js} +2 -2
- package/dist/cdn/{GZKH6LVD.js → KMTEHHBM.js} +2 -2
- package/dist/cdn/{43UUKTLI.js → KNNT2DGE.js} +2 -2
- package/dist/cdn/{U5W2J7FR.js → KNURGRUZ.js} +2 -2
- package/dist/cdn/{6RGHXPIT.js → KT6DECFU.js} +2 -2
- package/dist/cdn/LCS4TWT6.js +4 -0
- package/dist/cdn/{Y7HO3AGA.js → LIVKYCGT.js} +2 -2
- package/dist/cdn/{ZGRS4Q3I.js → LQC3WIMP.js} +2 -2
- package/dist/cdn/{FUJJJVVM.js → LRL3IIBC.js} +2 -2
- package/dist/cdn/{VZ63CWX3.js → LVZD6FUT.js} +2 -2
- package/dist/cdn/{Y33YJU7D.js → LXEGPFPY.js} +2 -2
- package/dist/cdn/{SQXKD2RJ.js → M3YSF2HA.js} +2 -2
- package/dist/cdn/MDOPAF5T.js +4 -0
- package/dist/cdn/{T22TCZEV.js → MKTJHHYL.js} +2 -2
- package/dist/cdn/{QLCA656K.js → MRTIS774.js} +2 -2
- package/dist/cdn/{UOMVSBQQ.js → MZX56BG5.js} +2 -2
- package/dist/cdn/{MW5CE2NO.js → N67EGIKZ.js} +2 -2
- package/dist/cdn/{5Q4E3RBL.js → NEXM427K.js} +2 -2
- package/dist/cdn/{VEH7HHNF.js → NF45EWVP.js} +2 -2
- package/dist/cdn/{VNLLCF3E.js → NJ5HQBVY.js} +2 -2
- package/dist/cdn/{REZMKIHT.js → NKJORSLX.js} +2 -2
- package/dist/cdn/{7DZFGZNO.js → NLA7U2GB.js} +2 -2
- package/dist/cdn/{Y7HBDG4Y.js → NORLZTPE.js} +2 -2
- package/dist/cdn/{7TX6H65Z.js → NP6C6RM3.js} +2 -2
- package/dist/cdn/{ZORTR2XC.js → O7YUWBSU.js} +2 -2
- package/dist/cdn/{D2QVHMBY.js → OCMCGYNW.js} +2 -2
- package/dist/cdn/{SDNY5PWG.js → OG6HAUTJ.js} +2 -2
- package/dist/cdn/{TQP5UU27.js → OHXR3Q4L.js} +2 -2
- package/dist/cdn/{ISJMDKOF.js → OK5J4TL4.js} +2 -2
- package/dist/cdn/{5JVLGY7X.js → OKENNYX4.js} +2 -2
- package/dist/cdn/{GMW63QVF.js → ON5V4WAN.js} +2 -2
- package/dist/cdn/OOG5O2QC.js +4 -0
- package/dist/cdn/{Q4SXYS5I.js → P2BC4FE4.js} +2 -2
- package/dist/cdn/{NHM4UZPK.js → PDEMCKDS.js} +2 -2
- package/dist/cdn/{QVEFB2FN.js → PG4QSKCU.js} +2 -2
- package/dist/cdn/PGJM3M5B.js +4 -0
- package/dist/cdn/{JXCY6AXA.js → PHIFGJSS.js} +2 -2
- package/dist/cdn/{63INT6LS.js → PMTG5FTI.js} +2 -2
- package/dist/cdn/{CSCFMH62.js → PZBHFXPA.js} +2 -2
- package/dist/cdn/{DUSZ3MGS.js → Q34BWTEE.js} +2 -2
- package/dist/cdn/{DRVOUUMV.js → Q5O43OUQ.js} +2 -2
- package/dist/cdn/{QZYVA2MH.js → QGTEWTCE.js} +2 -2
- package/dist/cdn/{RY6FVK4S.js → QPD55ZW5.js} +2 -2
- package/dist/cdn/{AHWI3HJ3.js → QVFYMRMM.js} +1 -1
- package/dist/cdn/{J4RASCO3.js → QVOLLJ6I.js} +2 -2
- package/dist/cdn/{NSZBUYYI.js → QXU2FQZX.js} +2 -2
- package/dist/cdn/{A5Q27VUC.js → QZLLFLSU.js} +2 -2
- package/dist/cdn/{SBAULKZP.js → R4VBVJFH.js} +2 -2
- package/dist/cdn/{UG7CJFQB.js → R7AULBZ7.js} +2 -2
- package/dist/cdn/{KGMVOHHZ.js → RCFRZRKA.js} +2 -2
- package/dist/cdn/{P3XL3L5O.js → RDKZAMLH.js} +2 -2
- package/dist/cdn/{RRVMZ5ZS.js → RDPCHATG.js} +2 -2
- package/dist/cdn/RKOVC3DD.js +4 -0
- package/dist/cdn/{SKQ2Q7OI.js → RNDL4OYH.js} +2 -2
- package/dist/cdn/{X6HHOR2F.js → RW45M5EQ.js} +2 -2
- package/dist/cdn/{67U7DKPI.js → S24MWGRY.js} +2 -2
- package/dist/cdn/{ML7XQ6GI.js → SCAF6NUK.js} +2 -2
- package/dist/cdn/{5XPK2LAW.js → SI2NTJDS.js} +2 -2
- package/dist/cdn/{5RBFVQ2M.js → SJXNUFHC.js} +1 -1
- package/dist/cdn/{V5H5NCBQ.js → SLXRVLKC.js} +2 -2
- package/dist/cdn/T6X52SSU.js +4 -0
- package/dist/cdn/{232FSO6P.js → T7S2BJQR.js} +2 -2
- package/dist/cdn/{53AQDTKK.js → TDQQCXEK.js} +2 -2
- package/dist/cdn/{BLM7S66S.js → TG26NSJY.js} +1 -1
- package/dist/cdn/{6NO5EFB5.js → THCD3FYN.js} +2 -2
- package/dist/cdn/{5YYXZB5Y.js → TJSETY56.js} +2 -2
- package/dist/cdn/{HCOELAYK.js → TL7OC5I3.js} +2 -2
- package/dist/cdn/TRG2ALS5.js +4 -0
- package/dist/cdn/{4PMRSKFV.js → U34L36PI.js} +2 -2
- package/dist/cdn/{7NJOLAM2.js → UAK7KTCW.js} +2 -2
- package/dist/cdn/{CYU22I3A.js → UETER6D4.js} +2 -2
- package/dist/cdn/{ZQ7ITEIE.js → UGHRGEGB.js} +2 -2
- package/dist/cdn/{XKAWF2ZI.js → UH5AGJNG.js} +2 -2
- package/dist/cdn/{5WQT57OW.js → ULWS7KA4.js} +2 -2
- package/dist/cdn/UMATSVG5.js +4 -0
- package/dist/cdn/{B5YMXLM6.js → V36BISLU.js} +2 -2
- package/dist/cdn/{RMYIMSM5.js → VGA4NQIN.js} +2 -2
- package/dist/cdn/{NIBX72AR.js → VOILDNID.js} +2 -2
- package/dist/cdn/{PXUPBI5I.js → VQ7KDCXU.js} +2 -2
- package/dist/cdn/{VLMFOCFL.js → VU7BJ7QB.js} +2 -2
- package/dist/cdn/{RU4EUS6K.js → W6O4VANJ.js} +2 -2
- package/dist/cdn/{MMWWRDCN.js → W7FGTNL4.js} +2 -2
- package/dist/cdn/{DYJT3TA5.js → WAN6EMXQ.js} +2 -2
- package/dist/cdn/{ZJKCSH5Z.js → WE2NX4WA.js} +2 -2
- package/dist/cdn/{MN3US2N3.js → WIWF3Z65.js} +2 -2
- package/dist/cdn/{O6YG6EXH.js → X74J6X7P.js} +2 -2
- package/dist/cdn/{3DUHEL7H.js → XBFZZDWO.js} +2 -2
- package/dist/cdn/{XCQX3UKL.js → XCKKIW6G.js} +2 -2
- package/dist/cdn/{XYD2ZQ34.js → XNCZQBA2.js} +2 -2
- package/dist/cdn/{U4ODZBRO.js → XODDUZAO.js} +1 -1
- package/dist/cdn/{3BLII4OZ.js → XUSUDG7A.js} +2 -2
- package/dist/cdn/{F7VNLOVI.js → Y46UEPAT.js} +2 -2
- package/dist/cdn/{BVBVCBWF.js → YPJRZSL5.js} +2 -2
- package/dist/cdn/{GQSTSAOP.js → YRUTAYTM.js} +2 -2
- package/dist/cdn/{VSZ7A6BU.js → YTBTS53S.js} +1 -1
- package/dist/cdn/{J2FDVZUS.js → YXJRN6II.js} +2 -2
- package/dist/cdn/YZBZQXC7.js +4 -0
- package/dist/cdn/{HMBOBPQJ.js → ZBLZCKJ2.js} +2 -2
- package/dist/cdn/{TKEW5YLX.js → ZCYRUK5U.js} +2 -2
- package/dist/cdn/{2NPH7TXU.js → ZGWZEADA.js} +2 -2
- package/dist/cdn/{V3QT4FQO.js → ZKOIZJX5.js} +2 -2
- package/dist/cdn/{LKGPSVOO.js → ZKTOMV2V.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- 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 +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +1 -1
- 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 +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +1 -1
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +1 -1
- 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 +1 -1
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +5 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- 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.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 +1 -1
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
- 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 +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +19 -3
- package/dist/components/arcgis-print/customElement.js +22 -19
- 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 +22 -23
- package/dist/components/arcgis-print-template-selector/customElement.js +16 -17
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- 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/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-spinner/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +81 -6
- package/dist/docs/docs.json +72 -6
- package/dist/docs/vscode.html-custom-data.json +10 -0
- package/dist/docs/web-types.json +33 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +6 -7
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/preact10.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cdn/3LXQSHOL.js +0 -4
- package/dist/cdn/4JD2L4P7.js +0 -4
- package/dist/cdn/5DNLSO7G.js +0 -4
- package/dist/cdn/BEUBPLTD.js +0 -4
- package/dist/cdn/BQYA5UEC.js +0 -4
- package/dist/cdn/F7XEWPXZ.js +0 -4
- package/dist/cdn/FLBBYHVV.js +0 -4
- package/dist/cdn/KCXVJ6LL.js +0 -4
- package/dist/cdn/LY7ST2HZ.js +0 -4
- package/dist/cdn/MNQAKXQR.js +0 -5
- package/dist/cdn/MV7HY6D7.js +0 -4
- package/dist/cdn/OHOOXYSB.js +0 -4
- package/dist/cdn/PARJGGQV.js +0 -4
- package/dist/cdn/SD4T6WCV.js +0 -4
- package/dist/cdn/TOJGMO37.js +0 -4
- package/dist/cdn/U7SIH4M5.js +0 -4
- package/dist/cdn/UB5S2BEU.js +0 -4
- package/dist/cdn/XIHEAA6H.js +0 -4
- package/dist/cdn/ZAJGSGSY.js +0 -4
- package/dist/cdn/ZZ27UP6N.js +0 -4
- package/dist/components/arcgis-print-exported-link/customElement.d.ts +0 -14
- package/dist/components/arcgis-print-exported-link/customElement.js +0 -90
- package/dist/components/arcgis-print-exported-link/index.d.ts +0 -7
- package/dist/components/arcgis-print-exported-link/index.js +0 -7
|
@@ -57,6 +57,7 @@ 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
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.
|
|
@@ -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.46 */
|
|
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
|
};
|
|
@@ -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.46 */
|
|
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.46 */
|
|
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.46 */
|
|
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.46 */
|
|
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";
|
|
@@ -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.46 */
|
|
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.46 */
|
|
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;
|