@arcgis/map-components 5.0.0-next.3 → 5.0.0-next.31
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/2AQRAJTZ.js +4 -0
- package/dist/cdn/{G7HJYLTI.js → 2EGSWSWX.js} +2 -2
- package/dist/cdn/2GGYYDAO.js +4 -0
- package/dist/cdn/2UBOOLFG.js +4 -0
- package/dist/cdn/2ZCRGED2.js +4 -0
- package/dist/cdn/34LH5JPS.js +4 -0
- package/dist/cdn/3O7VW2BP.js +4 -0
- package/dist/cdn/3QINBRGY.js +4 -0
- package/dist/cdn/45XJ3ZFG.js +4 -0
- package/dist/cdn/4R2AGRIN.js +4 -0
- package/dist/cdn/4SIX5I2T.js +4 -0
- package/dist/cdn/4UUNBZED.js +4 -0
- package/dist/cdn/4WJTMABC.js +4 -0
- package/dist/cdn/{HYX7CRNH.js → 527A425K.js} +2 -2
- package/dist/cdn/5EFEIHCY.js +4 -0
- package/dist/cdn/{5Y726H3N.js → 5I7ZKWOA.js} +2 -2
- package/dist/cdn/{ZVMC7KNO.js → 5POYQFJV.js} +2 -2
- package/dist/cdn/5QJJBDTL.js +4 -0
- package/dist/cdn/{OTAT274C.js → 5YL7XWYT.js} +2 -2
- package/dist/cdn/5YM6G4H7.js +4 -0
- package/dist/cdn/{HDI3Z2HD.js → 6555OILL.js} +2 -2
- package/dist/cdn/{SPSIJZKA.js → 656VJ7WM.js} +2 -2
- package/dist/cdn/6A34IZQQ.js +4 -0
- package/dist/cdn/{7CNGYGTJ.js → 6BN7JMLX.js} +2 -2
- package/dist/cdn/6GRSQ5AT.js +4 -0
- package/dist/cdn/6JXXQFP6.js +4 -0
- package/dist/cdn/6OD7JEDW.js +4 -0
- package/dist/cdn/6VEZBQP7.js +4 -0
- package/dist/cdn/6X62UGFL.js +4 -0
- package/dist/cdn/{J74HR7ZS.js → 72OQPZOG.js} +2 -2
- package/dist/cdn/{ALNZYXRY.js → 75AMF5N3.js} +2 -2
- package/dist/cdn/{PH5CV2LM.js → 7AOPQJ5N.js} +1 -1
- package/dist/cdn/{HHFFCMML.js → 7GR7BSV5.js} +1 -1
- package/dist/cdn/{SK3UKEH4.js → 7KJVFXSO.js} +2 -2
- package/dist/cdn/{USMO52IS.js → 7MCFJ63R.js} +2 -2
- package/dist/cdn/7MQ77DN5.js +4 -0
- package/dist/cdn/7OJC2XHL.js +4 -0
- package/dist/cdn/{LYJ4UH2R.js → 7Q7HXJQQ.js} +2 -2
- package/dist/cdn/7YB2KCZR.js +4 -0
- package/dist/cdn/{AQ2NPWC6.js → A3LGOVVH.js} +2 -2
- package/dist/cdn/{4XLFNXAU.js → A74JTXNA.js} +1 -1
- package/dist/cdn/{AYNMHQEJ.js → AC5KGLTK.js} +2 -2
- package/dist/cdn/AC5X6TKC.js +4 -0
- package/dist/cdn/{2NLU5P6Z.js → ATD7IBT2.js} +2 -2
- package/dist/cdn/AZZYSS6I.js +4 -0
- package/dist/cdn/{A3762FET.js → B2A4RD3P.js} +2 -2
- package/dist/cdn/{UDPPDKXD.js → BAUQB5JT.js} +2 -2
- package/dist/cdn/BRDIXYZF.js +4 -0
- package/dist/cdn/BRSVVMDI.js +4 -0
- package/dist/cdn/{E6NGXE4D.js → BRTBZD32.js} +2 -2
- package/dist/cdn/{QLRG2ZV7.js → BVC7GJQQ.js} +2 -2
- package/dist/cdn/{SSTOK5YE.js → BXGL3NLV.js} +2 -2
- package/dist/cdn/BZUZUPVY.js +4 -0
- package/dist/cdn/C5JSALBJ.js +4 -0
- package/dist/cdn/CB2QKDBF.js +4 -0
- package/dist/cdn/{E3PFF3QO.js → CI34P757.js} +2 -2
- package/dist/cdn/CSZF66DN.js +4 -0
- package/dist/cdn/CVVU6KCP.js +4 -0
- package/dist/cdn/{UU6DUHJ7.js → CYYSV6G7.js} +1 -1
- package/dist/cdn/{4UP6FMTP.js → D2QZTO6D.js} +2 -2
- package/dist/cdn/{VUH7USVP.js → DDEDVC3N.js} +2 -2
- package/dist/cdn/{V2J3UBB6.js → DDLYFJWK.js} +2 -2
- package/dist/cdn/DJRTU65B.js +9 -0
- package/dist/cdn/DJVWTY2O.js +4 -0
- package/dist/cdn/DLCVHCP5.js +4 -0
- package/dist/cdn/{OQ4DWZRX.js → DNM5AN5U.js} +2 -2
- package/dist/cdn/DPY4NZTG.js +4 -0
- package/dist/cdn/{O7JOBF3W.js → E6DKUJAY.js} +2 -2
- package/dist/cdn/{Y4JZGJBR.js → E7MPU2LD.js} +2 -2
- package/dist/cdn/EECCSOEQ.js +4 -0
- package/dist/cdn/EGD6PYMD.js +4 -0
- package/dist/cdn/{PAQHYLRL.js → EGTFRPNE.js} +2 -2
- package/dist/cdn/EJFQ72MI.js +4 -0
- package/dist/cdn/ETEBDFH7.js +4 -0
- package/dist/cdn/{PT4SB4F4.js → ETZDYCX4.js} +2 -2
- package/dist/cdn/EVQGQEW6.js +4 -0
- package/dist/cdn/{JNRTXRIA.js → F2IRYW26.js} +2 -2
- package/dist/cdn/{NQG5ZLHV.js → F2QBYAH6.js} +2 -2
- package/dist/cdn/F444TI7Q.js +4 -0
- package/dist/cdn/{IRVVFCPI.js → F45ASYSB.js} +2 -2
- package/dist/cdn/{NZU4NUKA.js → F6B6BT6Q.js} +2 -2
- package/dist/cdn/FFXIN2MG.js +4 -0
- package/dist/cdn/{4SGPWL6P.js → FTIT6G2R.js} +2 -2
- package/dist/cdn/FU2S5XB7.js +4 -0
- package/dist/cdn/G2MDHNMB.js +5 -0
- package/dist/cdn/G4AMADSL.js +4 -0
- package/dist/cdn/G7I2COIA.js +4 -0
- package/dist/cdn/{O6EPJYM3.js → GJ7NJVFJ.js} +2 -2
- package/dist/cdn/GLUDRX26.js +4 -0
- package/dist/cdn/{QQEDG3FQ.js → GMX6PEIT.js} +1 -1
- package/dist/cdn/HDYK4Y4R.js +4 -0
- package/dist/cdn/HGAWW22J.js +4 -0
- package/dist/cdn/HR6LWXLL.js +4 -0
- package/dist/cdn/HTQ2LQTW.js +4 -0
- package/dist/cdn/HYMCZNE3.js +4 -0
- package/dist/cdn/HZQNDTQR.js +4 -0
- package/dist/cdn/I5DAFEW7.js +4 -0
- package/dist/cdn/{SLM4KEUZ.js → IA4TLSGM.js} +2 -2
- package/dist/cdn/IDWXVXG4.js +4 -0
- package/dist/cdn/IHIY2OZW.js +4 -0
- package/dist/cdn/IJHFT4D5.js +4 -0
- package/dist/cdn/{YGN7CXIS.js → IKF2AA6N.js} +2 -2
- package/dist/cdn/{PL6UYYNH.js → INRLL4BX.js} +2 -2
- package/dist/cdn/IW2IYDE3.js +4 -0
- package/dist/cdn/J6DKFVGQ.js +4 -0
- package/dist/cdn/{GHJ24W6Y.js → JGITZIRM.js} +2 -2
- package/dist/cdn/{JMEUEYO3.js → JH55FP7W.js} +2 -2
- package/dist/cdn/JLUKLBJ7.js +4 -0
- package/dist/cdn/{ZIEJSM2I.js → JMG6JQRL.js} +2 -2
- package/dist/cdn/JNP65RJZ.js +4 -0
- package/dist/cdn/{XCUKO2A2.js → K63PE5TS.js} +2 -2
- package/dist/cdn/{FJ2ODCZO.js → K73USKBF.js} +2 -2
- package/dist/cdn/{UOB52WH7.js → KBITSIOR.js} +2 -2
- package/dist/cdn/{XS57JNBV.js → KIHPHOQ7.js} +2 -2
- package/dist/cdn/{MJ33XVNW.js → KKCF6NVT.js} +2 -2
- package/dist/cdn/{LTI2QYVU.js → KOY5TZ6C.js} +2 -2
- package/dist/cdn/{TIKIHUXB.js → KY4EPBJA.js} +2 -2
- package/dist/cdn/L55HZC7P.js +4 -0
- package/dist/cdn/{D4LXLZZW.js → LGHHXYMZ.js} +2 -2
- package/dist/cdn/LJJHQ5RC.js +4 -0
- package/dist/cdn/LOX7PSCC.js +4 -0
- package/dist/cdn/LXQOQXSE.js +4 -0
- package/dist/cdn/LZI7YQFP.js +4 -0
- package/dist/cdn/LZJ4PQ7W.js +4 -0
- package/dist/cdn/LZPVUZBZ.js +4 -0
- package/dist/cdn/M2MG7B46.js +4 -0
- package/dist/cdn/{TG7X24CK.js → M4QPN4OV.js} +2 -2
- package/dist/cdn/{L7F3QWKO.js → MKDNJ7S6.js} +2 -2
- package/dist/cdn/{6NDFRLCI.js → MM6M3FST.js} +2 -2
- package/dist/cdn/{U5AQM4PG.js → MWBOZXZW.js} +2 -2
- package/dist/cdn/N52KPVYR.js +4 -0
- package/dist/cdn/NLFPFGOC.js +4 -0
- package/dist/cdn/{MY5DKMMJ.js → NNDS7JPY.js} +2 -2
- package/dist/cdn/{FKYZEDOJ.js → NP7Q7AFO.js} +2 -2
- package/dist/cdn/{CAGCLXVW.js → O2IZRAL2.js} +2 -2
- package/dist/cdn/O46ZITMM.js +4 -0
- package/dist/cdn/O66IQNII.js +4 -0
- package/dist/cdn/{QEP5NFEU.js → OCBP4OXX.js} +2 -2
- package/dist/cdn/{JY4X6DI4.js → ODGGTNLL.js} +2 -2
- package/dist/cdn/OFE7RRBB.js +4 -0
- package/dist/cdn/{V7Z2OLGJ.js → OHLIGEU3.js} +1 -1
- package/dist/cdn/OP2T5RC4.js +4 -0
- package/dist/cdn/{XSHK3IHW.js → OYB5FX7O.js} +2 -2
- package/dist/cdn/{YTHR4NZ6.js → OZ5ATYQL.js} +2 -2
- package/dist/cdn/P57ZN2RW.js +4 -0
- package/dist/cdn/{SUC4EKIE.js → P5UXBDLF.js} +2 -2
- package/dist/cdn/P6MB5YDK.js +4 -0
- package/dist/cdn/{IFCRROLM.js → P7NXNQFY.js} +1 -1
- package/dist/cdn/{KHBODFWE.js → PA7EVE6Q.js} +1 -1
- package/dist/cdn/PAITI6FE.js +4 -0
- package/dist/cdn/{FJHYJ3NL.js → PIEOGNMC.js} +2 -2
- package/dist/cdn/{T25TCQNP.js → PMD5DYML.js} +2 -2
- package/dist/cdn/PMJB2B2I.js +4 -0
- package/dist/cdn/{RQGY47DP.js → PVI6R5NR.js} +2 -2
- package/dist/cdn/QBCORREL.js +4 -0
- package/dist/cdn/{7UZQHGLP.js → QG5UOMWP.js} +2 -2
- package/dist/cdn/{7PEEU67P.js → QH5C542F.js} +2 -2
- package/dist/cdn/{2Y7DD43B.js → QSAZRPKV.js} +2 -2
- package/dist/cdn/{NSSQHGXK.js → QTHBKSHD.js} +2 -2
- package/dist/cdn/R4IRISQA.js +4 -0
- package/dist/cdn/{H7M3PSWM.js → R72LGRXF.js} +2 -2
- package/dist/cdn/{5BGXROFC.js → RBLJWJJI.js} +2 -2
- package/dist/cdn/{24FW7BG5.js → RDY3HXV5.js} +2 -2
- package/dist/cdn/RHS7YWUC.js +4 -0
- package/dist/cdn/{VYJLK7NT.js → RMWT3DT5.js} +2 -2
- package/dist/cdn/{5KLSEZXC.js → RWATYW6A.js} +2 -2
- package/dist/cdn/S7UVWOGM.js +4 -0
- package/dist/cdn/SGT5BVWY.js +4 -0
- package/dist/cdn/SN2O52BI.js +4 -0
- package/dist/cdn/{JIWHI7EW.js → SV476ZWT.js} +2 -2
- package/dist/cdn/SXN6RDCP.js +4 -0
- package/dist/cdn/{BL7YER2G.js → SXUHZXNT.js} +2 -2
- package/dist/cdn/SYV6QG2F.js +4 -0
- package/dist/cdn/T2ZVE2A3.js +4 -0
- package/dist/cdn/TFCA5Z3E.js +4 -0
- package/dist/cdn/TGBMFRCG.js +4 -0
- package/dist/cdn/{V2SEO7LF.js → TRB3X2QP.js} +2 -2
- package/dist/cdn/UIURUE3U.js +4 -0
- package/dist/cdn/UYXODDQY.js +4 -0
- package/dist/cdn/V66BXYVW.js +4 -0
- package/dist/cdn/{IPSS2ZMH.js → VB3QMUGA.js} +2 -2
- package/dist/cdn/{PHBC5D77.js → VDFGV4MQ.js} +2 -2
- package/dist/cdn/{HQL6HUHP.js → VTS3MC5S.js} +2 -2
- package/dist/cdn/VVSLTCJP.js +4 -0
- package/dist/cdn/VZCZAPJ2.js +4 -0
- package/dist/cdn/W3DM7O7B.js +4 -0
- package/dist/cdn/{T352QWFP.js → W4YQY636.js} +2 -2
- package/dist/cdn/W6XDIOLU.js +4 -0
- package/dist/cdn/{QWNJRMAQ.js → WBESWZSE.js} +2 -2
- package/dist/cdn/WCJAR24J.js +4 -0
- package/dist/cdn/WGFWCP6H.js +4 -0
- package/dist/cdn/WPZH72AE.js +4 -0
- package/dist/cdn/{36DL5HXP.js → WROZ3K3U.js} +2 -2
- package/dist/cdn/WS2CEEZ2.js +4 -0
- package/dist/cdn/{NIQUPN4E.js → WSU3MUWG.js} +2 -2
- package/dist/cdn/WWQRZMGN.js +4 -0
- package/dist/cdn/{FGL64TB3.js → XBWDFG7Q.js} +2 -2
- package/dist/cdn/{OXFFB6Y3.js → XFPA4O46.js} +2 -2
- package/dist/cdn/XIH5B3HP.js +4 -0
- package/dist/cdn/{V4QJNRPL.js → XJHQ5CYB.js} +1 -1
- package/dist/cdn/{E3GEOJL3.js → XL3RVYYK.js} +2 -2
- package/dist/cdn/{WM6PZMMT.js → XMD5RB7L.js} +2 -2
- package/dist/cdn/{H37YYHYW.js → XNKJWTJ5.js} +2 -2
- package/dist/cdn/XQAOPEXH.js +4 -0
- package/dist/cdn/XREEDUA7.js +4 -0
- package/dist/cdn/{WLZJRN6C.js → YAL2I644.js} +1 -1
- package/dist/cdn/{IHZK6TIX.js → YJV7QFZ3.js} +2 -2
- package/dist/cdn/YUHO3CWK.js +4 -0
- package/dist/cdn/YUM7FS5D.js +4 -0
- package/dist/cdn/YWKTH7AB.js +4 -0
- package/dist/cdn/YXEIVBIK.js +4 -0
- package/dist/cdn/YZEMRTEV.js +4 -0
- package/dist/cdn/Z32HYGC6.js +4 -0
- package/dist/cdn/ZAOMSMHZ.js +4 -0
- package/dist/cdn/ZAOXQBWR.js +4 -0
- package/dist/cdn/ZBZO6RHJ.js +4 -0
- package/dist/cdn/ZDZYWX67.js +4 -0
- package/dist/cdn/ZGYSHMRW.js +4 -0
- package/dist/cdn/ZNYRU4NQ.js +4 -0
- package/dist/cdn/ZPHRLNJF.js +4 -0
- package/dist/cdn/{X6KL6BYF.js → ZQBE2VSU.js} +2 -2
- package/dist/cdn/ZR4ENA57.js +4 -0
- package/dist/cdn/ZRGH7HRT.js +4 -0
- package/dist/cdn/{XOR2JIKE.js → ZZD6VW4H.js} +2 -2
- package/dist/cdn/assets/elevation-profile-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-subnetwork-info/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/utility-network-trace-inputs/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-trace-location/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/AnalysisViewModel.js +40 -36
- package/dist/chunks/action-utils.js +1 -1
- package/dist/chunks/async-utils.js +80 -62
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/esri-main.js +2 -2
- package/dist/chunks/feature-utils.js +152 -107
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/handle.js +14 -0
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/screenLocation.js +1 -1
- package/dist/chunks/slots.js +7 -7
- package/dist/chunks/svgUtils.js +1 -1
- package/dist/chunks/univariateUtils.js +1 -1
- package/dist/chunks/useArcgisViewReadyError.js +91 -0
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +11 -16
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/AreaMeasurement3dViewModel.d.ts +8 -9
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +3 -3
- package/dist/components/arcgis-area-measurement-3d/customElement.js +30 -31
- package/dist/components/arcgis-attachments/customElement.d.ts +6 -6
- package/dist/components/arcgis-attachments/customElement.js +6 -6
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +4 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +4 -4
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +17 -7
- package/dist/components/arcgis-bookmarks/customElement.js +57 -55
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -5
- package/dist/components/arcgis-building-explorer/customElement.js +6 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +4 -4
- package/dist/components/arcgis-compass/customElement.js +6 -6
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +55 -56
- package/dist/components/arcgis-coordinate-conversion/customElement.js +91 -82
- package/dist/components/arcgis-daylight/customElement.d.ts +116 -57
- package/dist/components/arcgis-daylight/customElement.js +154 -157
- 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 +9 -10
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +3 -13
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +50 -58
- package/dist/components/arcgis-directional-pad/customElement.d.ts +3 -3
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.d.ts +4 -4
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -5
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +15 -7
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +7 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- 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-next/ElevationProfileViewModel.d.ts +17 -6
- package/dist/components/arcgis-elevation-profile-next/customElement.d.ts +5 -5
- package/dist/components/arcgis-elevation-profile-next/customElement.js +212 -163
- package/dist/components/arcgis-elevation-profile-next/geometryUtils.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile-next/interfaces.d.ts +2 -11
- package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile-statistics/customElement.d.ts +3 -2
- package/dist/components/arcgis-elevation-profile-statistics/customElement.js +6 -6
- package/dist/components/arcgis-expand/ExpandViewModel.d.ts +48 -0
- package/dist/components/arcgis-expand/customElement.d.ts +13 -12
- package/dist/components/arcgis-expand/customElement.js +153 -52
- package/dist/components/arcgis-feature/customElement.d.ts +20 -24
- package/dist/components/arcgis-feature/customElement.js +90 -77
- package/dist/components/arcgis-feature/index.d.ts +1 -0
- package/dist/components/arcgis-feature/index.js +1 -0
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -0
- package/dist/components/arcgis-feature-attachments/customElement.js +8 -8
- package/dist/components/arcgis-feature-content/customElement.js +2 -2
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.d.ts +4 -0
- package/dist/components/arcgis-feature-fields/customElement.js +36 -32
- package/dist/components/arcgis-feature-form/customElement.d.ts +4 -4
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.d.ts +1 -2
- package/dist/components/arcgis-feature-media/customElement.js +179 -178
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +11 -10
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +3 -3
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +123 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-association-list/index.js +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.d.ts +73 -0
- package/dist/components/arcgis-feature-utility-network-associations/customElement.js +506 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.d.ts +8 -0
- package/dist/components/arcgis-feature-utility-network-associations/index.js +8 -0
- package/dist/components/arcgis-features/customElement.d.ts +27 -12
- package/dist/components/arcgis-features/customElement.js +7 -7
- package/dist/components/arcgis-floor-filter/customElement.d.ts +4 -4
- package/dist/components/arcgis-floor-filter/customElement.js +7 -7
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-grid-controls/customElement.d.ts +3 -3
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +3 -3
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +4 -4
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -5
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +19 -4
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +12 -12
- package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +10 -10
- package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +5 -5
- package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +9 -9
- package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
- package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
- package/dist/components/arcgis-legend-spike-ramp/customElement.js +4 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.js +28 -27
- package/dist/components/arcgis-link-chart/customElement.d.ts +71 -5
- package/dist/components/arcgis-link-chart/customElement.js +20 -22
- package/dist/components/arcgis-link-chart/index.d.ts +2 -0
- package/dist/components/arcgis-link-chart/index.js +2 -0
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +4 -4
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +2 -2
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +477 -61
- package/dist/components/arcgis-map/customElement.js +29 -31
- package/dist/components/arcgis-map/index.d.ts +2 -0
- package/dist/components/arcgis-map/index.js +2 -0
- 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.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +5 -5
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.d.ts +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-popup/customElement.d.ts +48 -18
- package/dist/components/arcgis-popup/customElement.js +72 -72
- package/dist/components/arcgis-print/customElement.d.ts +3 -3
- package/dist/components/arcgis-print/customElement.js +1 -1
- 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-exported-link/customElement.js +38 -48
- package/dist/components/arcgis-print-exports-panel/customElement.js +4 -4
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- 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 +17 -15
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +3 -3
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +46 -6
- package/dist/components/arcgis-scene/customElement.js +27 -29
- package/dist/components/arcgis-scene/index.d.ts +2 -0
- package/dist/components/arcgis-scene/index.js +2 -0
- package/dist/components/arcgis-search/customElement.d.ts +19 -21
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +2 -0
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +5 -5
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.d.ts +27 -10
- package/dist/components/arcgis-sketch/customElement.js +18 -10
- package/dist/components/arcgis-slice/customElement.d.ts +2 -2
- 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 +3 -3
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.d.ts +7 -5
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -5
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +12 -13
- package/dist/components/arcgis-time-zone-label/customElement.js +41 -49
- package/dist/components/arcgis-track/customElement.d.ts +3 -3
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-association-list/customElement.d.ts +27 -0
- package/dist/components/arcgis-utility-network-association-list/customElement.js +110 -0
- package/dist/components/arcgis-utility-network-association-list/index.d.ts +4 -0
- package/dist/components/arcgis-utility-network-association-list/index.js +4 -0
- package/dist/components/arcgis-utility-network-association-list/types.d.ts +2 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +70 -26
- package/dist/components/arcgis-utility-network-associations/customElement.js +3 -3
- package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.d.ts +20 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +36 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-subnetwork-info/index.js +1 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +6 -4
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +4 -50
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +30 -51
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +7 -8
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +214 -56
- 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 +44 -0
- package/dist/components/arcgis-utility-network-trace-location/customElement.js +194 -0
- package/dist/components/arcgis-utility-network-trace-location/index.d.ts +3 -0
- package/dist/components/arcgis-utility-network-trace-location/index.js +3 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +5 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +2 -2
- package/dist/components/arcgis-value-picker/customElement.d.ts +3 -3
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +42 -27
- package/dist/components/arcgis-version-management-version-list/index.d.ts +2 -1
- package/dist/components/arcgis-version-management-version-list/index.js +2 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.d.ts +9 -2
- package/dist/components/arcgis-video/customElement.js +15 -9
- package/dist/components/arcgis-video-player/customElement.d.ts +4 -4
- package/dist/components/arcgis-video-player/customElement.js +4 -4
- package/dist/components/arcgis-video-player-action-bar/customElement.js +18 -18
- package/dist/components/arcgis-video-player-actions-group/customElement.js +13 -12
- package/dist/components/arcgis-video-player-controls-group/customElement.js +23 -23
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +19 -18
- package/dist/components/arcgis-video-player-slider/customElement.js +2 -2
- package/dist/components/arcgis-weather/customElement.d.ts +2 -2
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +2 -2
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/components/support/utility-components/component-wrapper.d.ts +1 -1
- package/dist/controllers/uiController.d.ts +11 -1
- package/dist/controllers/useArcgisLoadError.d.ts +27 -0
- package/dist/controllers/useArcgisViewReadyError.d.ts +17 -0
- package/dist/docs/api.json +2207 -1555
- package/dist/docs/docs.json +1920 -1230
- package/dist/docs/vscode.css-custom-data.json +16 -16
- package/dist/docs/vscode.html-custom-data.json +214 -291
- package/dist/docs/web-types.json +635 -520
- package/dist/index.d.ts +33 -20
- package/dist/index.js +1 -1
- package/dist/loader.js +23 -20
- package/dist/support/AnalysisViewModel.d.ts +1 -0
- package/dist/support/handle.d.ts +1 -1
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/slots.d.ts +1 -1
- package/dist/types/lumina.d.ts +31 -18
- package/dist/types/preact.d.ts +33 -19
- package/dist/types/preact10.d.ts +35 -20
- package/dist/types/react.d.ts +35 -20
- package/dist/types/stencil.d.ts +31 -18
- 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/2AZHLSAM.js +0 -4
- package/dist/cdn/2QRPRZG7.js +0 -4
- package/dist/cdn/2TIHIEKF.js +0 -4
- package/dist/cdn/34BYMZKN.js +0 -4
- package/dist/cdn/34UFWCNP.js +0 -4
- package/dist/cdn/37KDGILU.js +0 -4
- package/dist/cdn/3R2IE2EP.js +0 -4
- package/dist/cdn/3TNLQA2F.js +0 -4
- package/dist/cdn/44N6D3WC.js +0 -4
- package/dist/cdn/4CPDJQ27.js +0 -4
- package/dist/cdn/53D5QJFX.js +0 -4
- package/dist/cdn/5UJK4YHX.js +0 -4
- package/dist/cdn/63KJYSZ6.js +0 -4
- package/dist/cdn/6G2XDWMZ.js +0 -4
- package/dist/cdn/6VRVCX3L.js +0 -4
- package/dist/cdn/7BGZFWPA.js +0 -4
- package/dist/cdn/7C2OVYAI.js +0 -4
- package/dist/cdn/7CTFDRQC.js +0 -4
- package/dist/cdn/7DC3PGD2.js +0 -4
- package/dist/cdn/7HSMTM2G.js +0 -4
- package/dist/cdn/7KIRVDDY.js +0 -4
- package/dist/cdn/AFYGKVBX.js +0 -4
- package/dist/cdn/AH3BVTCT.js +0 -4
- package/dist/cdn/ALENT5NF.js +0 -4
- package/dist/cdn/ATKMD43D.js +0 -5
- package/dist/cdn/BG77QJIW.js +0 -4
- package/dist/cdn/CKCTJ6CW.js +0 -4
- package/dist/cdn/CNLBDFHY.js +0 -4
- package/dist/cdn/CTZ7P2ON.js +0 -4
- package/dist/cdn/CV57WMBL.js +0 -9
- package/dist/cdn/CVMDCLGB.js +0 -4
- package/dist/cdn/DRLSZQDU.js +0 -4
- package/dist/cdn/DV2N434J.js +0 -4
- package/dist/cdn/EESASTEL.js +0 -4
- package/dist/cdn/EIB4B7NM.js +0 -4
- package/dist/cdn/EJ6NO5NK.js +0 -4
- package/dist/cdn/EQ5LPNFG.js +0 -4
- package/dist/cdn/ESWN44C2.js +0 -4
- package/dist/cdn/FGMLBVRU.js +0 -4
- package/dist/cdn/FMG27I4G.js +0 -4
- package/dist/cdn/G7HMCSFT.js +0 -4
- package/dist/cdn/GF6IWOJL.js +0 -4
- package/dist/cdn/GKKACUDU.js +0 -4
- package/dist/cdn/GNUO5PT5.js +0 -4
- package/dist/cdn/GO3GNQWU.js +0 -4
- package/dist/cdn/GTX63LFG.js +0 -4
- package/dist/cdn/IJ7RAUIP.js +0 -4
- package/dist/cdn/IXQV54AH.js +0 -4
- package/dist/cdn/IYKN5PO5.js +0 -4
- package/dist/cdn/J3J6R74M.js +0 -4
- package/dist/cdn/J775FRFE.js +0 -4
- package/dist/cdn/JCD5KEV5.js +0 -4
- package/dist/cdn/JO6R7FAD.js +0 -4
- package/dist/cdn/JULFSLDD.js +0 -4
- package/dist/cdn/KA2OECP3.js +0 -4
- package/dist/cdn/KQ3JBLDT.js +0 -4
- package/dist/cdn/KT3EUEKF.js +0 -4
- package/dist/cdn/L3AGPAN7.js +0 -4
- package/dist/cdn/LUBY2O7T.js +0 -4
- package/dist/cdn/LWWUKKLM.js +0 -4
- package/dist/cdn/MJIHMPZU.js +0 -4
- package/dist/cdn/MNLAUE2R.js +0 -4
- package/dist/cdn/MSCH74JK.js +0 -4
- package/dist/cdn/N3ZZQIYY.js +0 -4
- package/dist/cdn/NFNK7YME.js +0 -4
- package/dist/cdn/NNJWJUAD.js +0 -4
- package/dist/cdn/NXFS5VZC.js +0 -4
- package/dist/cdn/NYJOUGGN.js +0 -4
- package/dist/cdn/O7ICRTC5.js +0 -4
- package/dist/cdn/OH55X5ST.js +0 -4
- package/dist/cdn/OHXEZHUF.js +0 -4
- package/dist/cdn/OULH6KEN.js +0 -4
- package/dist/cdn/OXCYD67R.js +0 -4
- package/dist/cdn/P4GL7TQJ.js +0 -4
- package/dist/cdn/PK5EPYTE.js +0 -4
- package/dist/cdn/Q26RMW45.js +0 -4
- package/dist/cdn/Q7CX6235.js +0 -4
- package/dist/cdn/QMRZYMIJ.js +0 -4
- package/dist/cdn/QPXLDAZR.js +0 -4
- package/dist/cdn/QREJFC5Z.js +0 -4
- package/dist/cdn/QRPZEJLW.js +0 -4
- package/dist/cdn/QUFHIUYU.js +0 -4
- package/dist/cdn/R35F7LSR.js +0 -4
- package/dist/cdn/RAUOWG2P.js +0 -4
- package/dist/cdn/RBLUJIEM.js +0 -4
- package/dist/cdn/RD4WHUHX.js +0 -4
- package/dist/cdn/RPYAAT7A.js +0 -4
- package/dist/cdn/RQUX2H7R.js +0 -4
- package/dist/cdn/RXHQCPJY.js +0 -4
- package/dist/cdn/RYXSSH5D.js +0 -4
- package/dist/cdn/SBYAAEWD.js +0 -4
- package/dist/cdn/SSEBMECL.js +0 -4
- package/dist/cdn/SZABV557.js +0 -4
- package/dist/cdn/T6XWFHOM.js +0 -4
- package/dist/cdn/TF2524IM.js +0 -4
- package/dist/cdn/TUHJKFNY.js +0 -4
- package/dist/cdn/TWK4M5TM.js +0 -4
- package/dist/cdn/TWZ6WRUM.js +0 -4
- package/dist/cdn/U5HMRSJG.js +0 -4
- package/dist/cdn/UBXMRMPS.js +0 -4
- package/dist/cdn/V25AJNHD.js +0 -4
- package/dist/cdn/V3KSNGDN.js +0 -4
- package/dist/cdn/V54CMZHN.js +0 -4
- package/dist/cdn/V5SM3QEH.js +0 -4
- package/dist/cdn/VLS7CPMI.js +0 -4
- package/dist/cdn/VSIBQFUQ.js +0 -4
- package/dist/cdn/VWFDTLYA.js +0 -4
- package/dist/cdn/X74EKXT7.js +0 -4
- package/dist/cdn/XAPWGYND.js +0 -4
- package/dist/cdn/XCKB43CS.js +0 -4
- package/dist/cdn/YAJHM6HT.js +0 -4
- package/dist/cdn/Z25G3SCO.js +0 -4
- package/dist/cdn/Z4Z7YFNR.js +0 -4
- package/dist/cdn/ZKKZT5GI.js +0 -4
- package/dist/cdn/ZR4UXKJK.js +0 -4
- package/dist/chunks/uiController.js +0 -45
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +0 -22
- package/dist/components/arcgis-version-management-version-item/customElement.js +0 -30
- package/dist/components/arcgis-version-management-version-item/index.d.ts +0 -5
- package/dist/components/arcgis-version-management-version-item/index.js +0 -5
|
@@ -5,7 +5,7 @@ import P from "@arcgis/core/widgets/Features/FeaturesViewModel.js";
|
|
|
5
5
|
import { u as T } from "../../chunks/useT9n.js";
|
|
6
6
|
import { usePropertyChange as H } from "@arcgis/lumina/controllers";
|
|
7
7
|
import { m as N } from "../../chunks/useViewModel.js";
|
|
8
|
-
import { LitElement as S, createEvent as
|
|
8
|
+
import { LitElement as S, createEvent as y, safeStyleMap as O, safeClassMap as b } from "@arcgis/lumina";
|
|
9
9
|
import { stripHTML as W } from "@arcgis/core/applications/Components/stringUtils.js";
|
|
10
10
|
import { unsafeGetElementDirection as D, classes as x } from "@arcgis/toolkit/dom";
|
|
11
11
|
import { createRef as v, ref as _ } from "lit-html/directives/ref.js";
|
|
@@ -15,8 +15,8 @@ import { t as I } from "../../chunks/screenLocation.js";
|
|
|
15
15
|
import "../arcgis-search-result-renderer/customElement.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
18
|
-
v5.0.0-next.
|
|
19
|
-
const p = "arcgis-popup", u = `${p}--is-docked`,
|
|
18
|
+
v5.0.0-next.31 */
|
|
19
|
+
const p = "arcgis-popup", u = `${p}--is-docked`, a = {
|
|
20
20
|
base: p,
|
|
21
21
|
baseHidden: `${p}--hidden`,
|
|
22
22
|
main: `${p}__main-container`,
|
|
@@ -61,10 +61,10 @@ const j = N(P), $ = {
|
|
|
61
61
|
};
|
|
62
62
|
class X extends S {
|
|
63
63
|
constructor() {
|
|
64
|
-
super(...arguments), this._featuresComponent = v(), this._dockAction = new V({ id: "popup-dock-action" }), this._mainContainerNode = v(), this._pointerNode = v(), this.messages = T({}), this.viewModel = j(this), this._containerNode = v(), this.screenLocation = I(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.visible = this.viewModel.visible, this.arcgisPropertyChange = H()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "visible"), this.arcgisReady =
|
|
64
|
+
super(...arguments), this._featuresComponent = v(), this._dockAction = new V({ id: "popup-dock-action" }), this._mainContainerNode = v(), this._pointerNode = v(), this.messages = T({}), this.viewModel = j(this), this._containerNode = v(), this.screenLocation = I(this), this.actions = this.viewModel.actions, this.active = this.viewModel.active, this.alignment = "auto", this.autoCloseEnabled = this.viewModel.autoCloseEnabled, this.autoDestroyDisabled = !1, this.collapsed = !1, this.content = this.viewModel.content, this.defaultPopupTemplateEnabled = this.viewModel.defaultPopupTemplateEnabled, this.dockEnabled = !1, this.featureCount = this.viewModel.featureCount, this.featureMenuOpen = this.viewModel.featureMenuOpen, this.features = this.viewModel.features, this.goToOverride = this.viewModel.goToOverride, this.heading = this.viewModel.title, this.headingLevel = 2, this.hideActionBar = !1, this.hideCloseButton = !1, this.hideCollapseButton = !1, this.hideFeatureMenuHeading = !1, this.hideFeatureNavigation = !1, this.hideFeatureListLayerTitle = !1, this.hideHeading = !1, this.hideSpinner = !1, this.highlightDisabled = this.viewModel.highlightEnabled, this.includeDefaultActionsDisabled = this.viewModel.includeDefaultActions, this.initialDisplayMode = this.viewModel.initialDisplayMode, this.location = this.viewModel.location, this.promises = this.viewModel.promises, this.selectedFeature = this.viewModel.selectedFeature, this.selectedFeatureIndex = this.viewModel.selectedFeatureIndex, this.state = this.viewModel.state, this.updateLocationEnabled = this.viewModel.updateLocationEnabled, this.view = this.viewModel.view, this.visible = this.viewModel.visible, this.arcgisPropertyChange = H()("active", "collapsed", "currentAlignment", "dockEnabled", "featureCount", "featureMenuOpen", "features", "promises", "selectedDrillInFeature", "selectedFeature", "selectedFeatureComponent", "selectedFeatureIndex", "state", "visible"), this.arcgisReady = y(), this.arcgisClose = y(), this.arcgisTriggerAction = y();
|
|
65
65
|
}
|
|
66
66
|
static {
|
|
67
|
-
this.properties = { screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16, actions: 0, active: 0, alignment: 1, autoCloseEnabled: 5, autoDestroyDisabled: 5, collapsed: 0, content: 1, currentAlignment: 32, currentDockPosition: 32, defaultPopupTemplateEnabled: 5, dockEnabled: 5, dockOptions: 0, featureCount: 0, featureMenuOpen: 5, features: 0, goToOverride: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 5, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, messageOverrides: 0, promises: 0, referenceElement: 1, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, state: 3, updateLocationEnabled: 5, visible: 5 };
|
|
67
|
+
this.properties = { screenLocation: 16, positionStyle: 16, _featureNavigationTop: 16, actions: 0, active: 0, alignment: 1, autoCloseEnabled: 5, autoDestroyDisabled: 5, collapsed: 0, content: 1, currentAlignment: 32, currentDockPosition: 32, defaultPopupTemplateEnabled: 5, dockEnabled: 5, dockOptions: 0, featureCount: 0, featureMenuOpen: 5, features: 0, goToOverride: 0, heading: 1, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideCollapseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFeatureListLayerTitle: 5, hideHeading: 5, hideSpinner: 5, highlightDisabled: 5, includeDefaultActionsDisabled: 5, initialDisplayMode: 1, label: 1, location: 0, messageOverrides: 0, promises: 0, referenceElement: 1, selectedDrillInFeature: 32, selectedFeature: 0, selectedFeatureComponent: 32, selectedFeatureIndex: 9, state: 3, updateLocationEnabled: 5, view: 0, visible: 5 };
|
|
68
68
|
}
|
|
69
69
|
static {
|
|
70
70
|
this.styles = R;
|
|
@@ -72,9 +72,6 @@ class X extends S {
|
|
|
72
72
|
get trackLocation() {
|
|
73
73
|
return this.viewModel.active && !this.dockEnabled;
|
|
74
74
|
}
|
|
75
|
-
get view() {
|
|
76
|
-
return this.viewModel.view;
|
|
77
|
-
}
|
|
78
75
|
get _featureNavigationTop() {
|
|
79
76
|
const { currentAlignment: t, currentDockPosition: e } = this;
|
|
80
77
|
return t === "bottom-left" || t === "bottom-center" || t === "bottom-right" || e === "top-left" || e === "top-center" || e === "top-right";
|
|
@@ -89,10 +86,10 @@ class X extends S {
|
|
|
89
86
|
return this._dockOptions || $;
|
|
90
87
|
}
|
|
91
88
|
set dockOptions(t) {
|
|
92
|
-
const e = { ...$ }, o = this.viewModel?.view?.breakpoints,
|
|
93
|
-
o && (
|
|
94
|
-
const i = { ...e, ...t }, n = { ...e.breakpoint, ...
|
|
95
|
-
typeof
|
|
89
|
+
const e = { ...$ }, o = this.viewModel?.view?.breakpoints, s = {};
|
|
90
|
+
o && (s.width = o.xsmall, s.height = o.xsmall);
|
|
91
|
+
const i = { ...e, ...t }, n = { ...e.breakpoint, ...s }, { breakpoint: r } = i;
|
|
92
|
+
typeof r == "object" ? i.breakpoint = { ...n, ...r } : r && (i.breakpoint = n), this._dockOptions = i;
|
|
96
93
|
}
|
|
97
94
|
get selectedDrillInFeature() {
|
|
98
95
|
return this._featuresComponent.value?.selectedDrillInFeature ?? null;
|
|
@@ -151,6 +148,9 @@ class X extends S {
|
|
|
151
148
|
], () => this._positionContainer(), { initial: !0 }),
|
|
152
149
|
g(() => this.viewModel?.view?.size, (t, e) => this._updateDockEnabledForViewSize(t, e)),
|
|
153
150
|
g(() => this.viewModel?.view?.ready, () => this._setDockEnabledForViewSize(this.dockOptions), { initial: !0 }),
|
|
151
|
+
g(() => this.view?.map, (t) => {
|
|
152
|
+
this.viewModel.map = t;
|
|
153
|
+
}, { initial: !0 }),
|
|
154
154
|
g(() => this.screenLocation, (t, e) => this._autoClose(t, e))
|
|
155
155
|
]);
|
|
156
156
|
}
|
|
@@ -167,48 +167,48 @@ class X extends S {
|
|
|
167
167
|
t.stopPropagation(), t.detail.action === this._dockAction && (this.dockEnabled = !this.dockEnabled), this.arcgisTriggerAction.emit({ action: t.detail.action });
|
|
168
168
|
}
|
|
169
169
|
_isOutsideView(t) {
|
|
170
|
-
const { popupHeight: e, popupWidth: o, screenLocation:
|
|
171
|
-
if (Number.isNaN(o) || Number.isNaN(e) || !n || !
|
|
170
|
+
const { popupHeight: e, popupWidth: o, screenLocation: s, side: i, view: n } = t;
|
|
171
|
+
if (Number.isNaN(o) || Number.isNaN(e) || !n || !s)
|
|
172
172
|
return !1;
|
|
173
|
-
const
|
|
174
|
-
return i === "right" &&
|
|
173
|
+
const r = n.padding;
|
|
174
|
+
return i === "right" && s.x + o / 2 > n.width - (r?.right ?? 0) || i === "left" && s.x - o / 2 < (r?.left ?? 0) || i === "top" && s.y - e < (r?.top ?? 0) || i === "bottom" && s.y + e > n.height - (r?.bottom ?? 0);
|
|
175
175
|
}
|
|
176
176
|
_getPointerSize() {
|
|
177
|
-
const { _pointerNode: t } = this, e = t.value ? window.getComputedStyle(t.value) : null, o = w(e?.height),
|
|
178
|
-
return Math.hypot(o,
|
|
177
|
+
const { _pointerNode: t } = this, e = t.value ? window.getComputedStyle(t.value) : null, o = w(e?.height), s = w(e?.width);
|
|
178
|
+
return Math.hypot(o, s);
|
|
179
179
|
}
|
|
180
180
|
_calculateAutoAlignment(t) {
|
|
181
181
|
if (t !== "auto")
|
|
182
182
|
return t;
|
|
183
|
-
const { _mainContainerNode: e, viewModel: o } = this, { view:
|
|
184
|
-
if (i == null || !
|
|
183
|
+
const { _mainContainerNode: e, viewModel: o } = this, { view: s } = o, { screenLocation: i } = this;
|
|
184
|
+
if (i == null || !s || !e.value)
|
|
185
185
|
return "top-center";
|
|
186
|
-
const n = window.getComputedStyle(e.value),
|
|
186
|
+
const n = window.getComputedStyle(e.value), r = w(n.maxHeight), l = w(n.height), c = this._getPointerSize(), { height: h, width: d } = e.value.getBoundingClientRect(), m = d + c, f = Math.max(h, r, l) + c, z = this._isOutsideView({
|
|
187
187
|
popupHeight: f,
|
|
188
188
|
popupWidth: m,
|
|
189
189
|
screenLocation: i,
|
|
190
190
|
side: "right",
|
|
191
|
-
view:
|
|
191
|
+
view: s
|
|
192
192
|
}), B = this._isOutsideView({
|
|
193
193
|
popupHeight: f,
|
|
194
194
|
popupWidth: m,
|
|
195
195
|
screenLocation: i,
|
|
196
196
|
side: "left",
|
|
197
|
-
view:
|
|
198
|
-
}),
|
|
197
|
+
view: s
|
|
198
|
+
}), M = this._isOutsideView({
|
|
199
199
|
popupHeight: f,
|
|
200
200
|
popupWidth: m,
|
|
201
201
|
screenLocation: i,
|
|
202
202
|
side: "top",
|
|
203
|
-
view:
|
|
203
|
+
view: s
|
|
204
204
|
}), A = this._isOutsideView({
|
|
205
205
|
popupHeight: f,
|
|
206
206
|
popupWidth: m,
|
|
207
207
|
screenLocation: i,
|
|
208
208
|
side: "bottom",
|
|
209
|
-
view:
|
|
209
|
+
view: s
|
|
210
210
|
});
|
|
211
|
-
return B ?
|
|
211
|
+
return B ? M ? "bottom-right" : "top-right" : z ? M ? "bottom-left" : "top-left" : M ? A ? "top-center" : "bottom-center" : "top-center";
|
|
212
212
|
}
|
|
213
213
|
_callCurrentAlignment(t) {
|
|
214
214
|
return typeof t == "function" ? t.call(this) : t;
|
|
@@ -235,7 +235,7 @@ class X extends S {
|
|
|
235
235
|
const e = this.viewModel?.view, o = D(this.el) === "rtl" ? "top-left" : "top-right";
|
|
236
236
|
if (!e)
|
|
237
237
|
return o;
|
|
238
|
-
const
|
|
238
|
+
const s = e.padding, i = e.width - (s?.left ?? 0) - (s?.right ?? 0), { breakpoints: n } = e;
|
|
239
239
|
return n?.xsmall && i <= n.xsmall ? "bottom-center" : o;
|
|
240
240
|
}
|
|
241
241
|
_getDockIcon() {
|
|
@@ -269,15 +269,15 @@ class X extends S {
|
|
|
269
269
|
const { currentAlignment: e } = this;
|
|
270
270
|
return e === "top-left" || e === "bottom-left" || e === "top-right" || e === "bottom-right" ? t + this._getPointerSize() : t;
|
|
271
271
|
}
|
|
272
|
-
_calculateAlignmentPosition(t, e, o,
|
|
272
|
+
_calculateAlignmentPosition(t, e, o, s) {
|
|
273
273
|
const { currentAlignment: i } = this;
|
|
274
274
|
if (!o)
|
|
275
275
|
return;
|
|
276
|
-
const { padding: n } = o,
|
|
276
|
+
const { padding: n } = o, r = s / 2, l = o.height - e, c = o.width - t, h = this._getPointerSize(), d = h / 2;
|
|
277
277
|
if (i === "bottom-center")
|
|
278
278
|
return {
|
|
279
279
|
top: e + h - (n?.top ?? 0),
|
|
280
|
-
left: t -
|
|
280
|
+
left: t - r - (n?.left ?? 0)
|
|
281
281
|
};
|
|
282
282
|
if (i === "top-left")
|
|
283
283
|
return {
|
|
@@ -302,14 +302,14 @@ class X extends S {
|
|
|
302
302
|
if (i === "top-center")
|
|
303
303
|
return {
|
|
304
304
|
bottom: l + h - (n?.bottom ?? 0),
|
|
305
|
-
left: t -
|
|
305
|
+
left: t - r - (n?.left ?? 0)
|
|
306
306
|
};
|
|
307
307
|
}
|
|
308
308
|
_calculatePositionStyle() {
|
|
309
309
|
const { screenLocation: t } = this, { view: e } = this.viewModel, o = this._mainContainerNode.value?.getBoundingClientRect().width ?? 0;
|
|
310
310
|
if (!e || this.dockEnabled || t == null || !o)
|
|
311
311
|
return;
|
|
312
|
-
const
|
|
312
|
+
const s = this._calculateFullWidth(o), i = this._calculateAlignmentPosition(t.x, t.y, e, s);
|
|
313
313
|
if (i)
|
|
314
314
|
return {
|
|
315
315
|
top: i.top !== void 0 ? `${i.top}px` : "auto",
|
|
@@ -319,69 +319,69 @@ class X extends S {
|
|
|
319
319
|
};
|
|
320
320
|
}
|
|
321
321
|
_dockingThresholdCrossed(t, e, o) {
|
|
322
|
-
const [
|
|
323
|
-
return
|
|
322
|
+
const [s, i] = t, [n, r] = e, { width: l = 0, height: c = 0 } = o ?? {};
|
|
323
|
+
return s <= l && n > l || s > l && n <= l || i <= c && r > c || i > c && r <= c;
|
|
324
324
|
}
|
|
325
325
|
_updateDockEnabledForViewSize(t, e) {
|
|
326
326
|
if (!t || !e)
|
|
327
327
|
return;
|
|
328
|
-
const o = this.viewModel?.view?.padding,
|
|
329
|
-
n[0] = t[0] -
|
|
328
|
+
const o = this.viewModel?.view?.padding, s = (o?.left ?? 0) + (o?.right ?? 0), i = (o?.top ?? 0) + (o?.bottom ?? 0), n = [], r = [];
|
|
329
|
+
n[0] = t[0] - s, n[1] = t[1] - i, r[0] = e[0] - s, r[1] = e[1] - i;
|
|
330
330
|
const { dockOptions: l } = this, c = l.breakpoint;
|
|
331
|
-
typeof c == "object" && this._dockingThresholdCrossed(n,
|
|
331
|
+
typeof c == "object" && this._dockingThresholdCrossed(n, r, c) && this._setDockEnabledForViewSize(l);
|
|
332
332
|
}
|
|
333
333
|
_shouldDockAtCurrentViewSize(t) {
|
|
334
334
|
const e = t.breakpoint, o = this.viewModel?.view?.ui;
|
|
335
335
|
if (!o)
|
|
336
336
|
return !1;
|
|
337
|
-
const { width:
|
|
338
|
-
if (Number.isNaN(
|
|
337
|
+
const { width: s, height: i } = o;
|
|
338
|
+
if (Number.isNaN(s) || Number.isNaN(i) || typeof e != "object")
|
|
339
339
|
return !1;
|
|
340
|
-
const n = typeof e.width == "number" &&
|
|
341
|
-
return n ||
|
|
340
|
+
const n = typeof e.width == "number" && s <= (e.width ?? 0), r = typeof e.height == "number" && i <= (e.height ?? 0);
|
|
341
|
+
return n || r;
|
|
342
342
|
}
|
|
343
343
|
_setDockEnabledForViewSize(t) {
|
|
344
344
|
this.viewModel?.view?.ready && typeof t.breakpoint == "object" && (this.dockEnabled = this._shouldDockAtCurrentViewSize(t));
|
|
345
345
|
}
|
|
346
346
|
render() {
|
|
347
|
-
const { dockEnabled: t, currentAlignment: e, currentDockPosition: o, positionStyle:
|
|
348
|
-
[
|
|
349
|
-
[
|
|
350
|
-
[
|
|
351
|
-
[
|
|
352
|
-
[
|
|
353
|
-
[
|
|
354
|
-
[
|
|
355
|
-
[
|
|
356
|
-
[
|
|
357
|
-
[
|
|
358
|
-
[
|
|
359
|
-
[
|
|
360
|
-
[
|
|
361
|
-
[
|
|
362
|
-
[
|
|
363
|
-
[
|
|
364
|
-
[
|
|
365
|
-
[
|
|
366
|
-
[
|
|
367
|
-
[
|
|
368
|
-
[
|
|
369
|
-
[
|
|
370
|
-
[
|
|
371
|
-
[
|
|
347
|
+
const { dockEnabled: t, currentAlignment: e, currentDockPosition: o, positionStyle: s } = this, { active: i, view: n } = this.viewModel, r = i && t, l = i && !t, c = n?.widthBreakpoint, h = n?.heightBreakpoint, d = {
|
|
348
|
+
[a.alignTopCenter]: e === "top-center",
|
|
349
|
+
[a.alignBottomCenter]: e === "bottom-center",
|
|
350
|
+
[a.alignTopLeft]: e === "top-left",
|
|
351
|
+
[a.alignBottomLeft]: e === "bottom-left",
|
|
352
|
+
[a.alignTopRight]: e === "top-right",
|
|
353
|
+
[a.alignBottomRight]: e === "bottom-right",
|
|
354
|
+
[a.isDocked]: r,
|
|
355
|
+
[a.shadow]: l,
|
|
356
|
+
[a.isDockedTopLeft]: o === "top-left",
|
|
357
|
+
[a.isDockedTopCenter]: o === "top-center",
|
|
358
|
+
[a.isDockedTopRight]: o === "top-right",
|
|
359
|
+
[a.isDockedBottomLeft]: o === "bottom-left",
|
|
360
|
+
[a.isDockedBottomCenter]: o === "bottom-center",
|
|
361
|
+
[a.isDockedBottomRight]: o === "bottom-right",
|
|
362
|
+
[a.isXlWidthBreakpoint]: c === "xlarge",
|
|
363
|
+
[a.isLgWidthBreakpoint]: c === "large",
|
|
364
|
+
[a.isMdWidthBreakpoint]: c === "medium",
|
|
365
|
+
[a.isSmWidthBreakpoint]: c === "small",
|
|
366
|
+
[a.isXsWidthBreakpoint]: c === "xsmall",
|
|
367
|
+
[a.isXlHeightBreakpoint]: h === "xlarge",
|
|
368
|
+
[a.isLgHeightBreakpoint]: h === "large",
|
|
369
|
+
[a.isMdHeightBreakpoint]: h === "medium",
|
|
370
|
+
[a.isSmHeightBreakpoint]: h === "small",
|
|
371
|
+
[a.isXsHeightBreakpoint]: h === "xsmall"
|
|
372
372
|
};
|
|
373
|
-
return k`<div style=${O(this.positionStyle)} .ariaHidden=${!i} .ariaLabel=${W(this.heading ?? "")} class=${b(x(
|
|
374
|
-
[
|
|
373
|
+
return k`<div style=${O(this.positionStyle)} .ariaHidden=${!i} .ariaLabel=${W(this.heading ?? "")} class=${b(x(a.base, d, {
|
|
374
|
+
[a.baseHidden]: !i || !s && !t
|
|
375
375
|
}))} role=dialog ${_(this._containerNode)}>${this._renderMainContainer()}${this._renderPointer()}</div>`;
|
|
376
376
|
}
|
|
377
377
|
_renderPointer() {
|
|
378
|
-
return !this.dockEnabled || !this.active ? k`<div class=${b(
|
|
378
|
+
return !this.dockEnabled || !this.active ? k`<div class=${b(a.pointer)} role=presentation><div class=${b(x(a.pointerDirection, a.shadow))} ${_(this._pointerNode)}></div></div>` : null;
|
|
379
379
|
}
|
|
380
380
|
_renderMainContainer() {
|
|
381
381
|
const t = {
|
|
382
|
-
[
|
|
382
|
+
[a.shadow]: this.dockEnabled
|
|
383
383
|
};
|
|
384
|
-
return k`<div class=${b(x(
|
|
384
|
+
return k`<div class=${b(x(a.main, t))} ${_(this._mainContainerNode)}>${L(this.viewModel, k`<arcgis-features .collapsed=${this.collapsed} .featureNavigationTop=${this._featureNavigationTop} .headingLevel=${this.headingLevel} .hidden=${!this.active} .hideActionBar=${this.hideActionBar} .hideCloseButton=${this.hideCloseButton} .hideFeatureListLayerTitle=${this.hideFeatureListLayerTitle} .hideFeatureMenuHeading=${this.hideFeatureMenuHeading} .hideFeatureNavigation=${this.hideFeatureNavigation} .hideHeading=${this.hideHeading} .hideSpinner=${this.hideSpinner} @arcgisPropertyChange=${this._handleArcgisPropertyChange} @arcgisTriggerAction=${this._handleArcgisTriggerAction} @arcgisClose=${this._handleClose} .referenceElement=${this.referenceElement} .responsiveActionsEnabled=${!0} .showCollapseButton=${!this.hideCollapseButton} .viewModel=${this.viewModel} ${_(this._featuresComponent)}></arcgis-features>`)}</div>`;
|
|
385
385
|
}
|
|
386
386
|
}
|
|
387
387
|
E("arcgis-popup", X);
|
|
@@ -59,9 +59,9 @@ declare const usePrintViewModel: (component: LitElement & Pick<PrintViewModel, n
|
|
|
59
59
|
export declare class ArcgisPrint extends LitElement {
|
|
60
60
|
/**
|
|
61
61
|
* The view associated with the component.
|
|
62
|
-
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the
|
|
62
|
+
* > **Note:** The recommended approach is to fully migrate applications to use map and scene components and avoid using MapView and SceneView directly. However, if you are migrating a large application from widgets to components, you might prefer a more gradual transition. To support this use case, the SDK includes this `view` property which connects a component to a MapView or SceneView. Ultimately, once migration is complete, the Print component will be associated with a map or scene component rather than using the `view` property.
|
|
63
63
|
*/
|
|
64
|
-
view?: __esri.MapView
|
|
64
|
+
view?: nullish | __esri.MapView;
|
|
65
65
|
/**
|
|
66
66
|
* Indicates whether the component's header is hidden.
|
|
67
67
|
*
|
|
@@ -75,7 +75,7 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
75
75
|
* See [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component).
|
|
76
76
|
*/
|
|
77
77
|
referenceElement?: ArcgisReferenceElement | string;
|
|
78
|
-
/** @deprecated since 4.34, use `slot` instead. */
|
|
78
|
+
/** @deprecated since 4.34, use [`slot`](https://developers.arcgis.com/javascript/latest/building-your-ui/#slots) instead. */
|
|
79
79
|
position?: __esri.UIPosition;
|
|
80
80
|
/**
|
|
81
81
|
* Icon which represents the component.
|
|
@@ -10,7 +10,7 @@ import { m as v } from "../../chunks/useViewModel.js";
|
|
|
10
10
|
import { g as n } from "../../chunks/globalCss.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
13
|
-
v5.0.0-next.
|
|
13
|
+
v5.0.0-next.31 */
|
|
14
14
|
const f = 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;--side-spacing: var(--calcite-spacing-lg);--cap-spacing: var(--calcite-spacing-md);overflow-y:auto}.arcgis-print{display:flex;position:relative;flex-grow:1;padding:0;min-height:var(--panel-min-height--large)!important}.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)}arcgis-print-template-selector{overflow-y:hidden;display:flex}`, o = "arcgis-print", a = {
|
|
15
15
|
base: o,
|
|
16
16
|
headerTitle: `${o}__header-title`,
|
|
@@ -3,10 +3,9 @@ import { nil } from '@arcgis/toolkit/type';
|
|
|
3
3
|
import { ArcgisPrint } from './customElement.js';
|
|
4
4
|
import { FileFormatJSON, LayoutTemplate, LayoutTemplateJSON } from './types';
|
|
5
5
|
export declare const reArcGISOnlineDomain: RegExp;
|
|
6
|
-
export declare function isRTL(el?: HTMLElement | nil): boolean;
|
|
7
6
|
export declare function getPageSizeLabel(template: __esri.CustomTemplate | nil): string | undefined;
|
|
8
7
|
export declare function getTemplateLabel(template: __esri.CustomTemplate, messages: ArcgisPrint["messages"]): string;
|
|
9
8
|
export declare function getLayoutIcon(layout: string): string | undefined;
|
|
10
|
-
export declare const formatJsonMap: Map<FileFormatJSON, "eps" | "svg" | "
|
|
9
|
+
export declare const formatJsonMap: Map<FileFormatJSON, "eps" | "svg" | "jpg" | "png8" | "png32" | "pdf" | "gif" | "svgz" | "aix" | "tiff">;
|
|
11
10
|
export declare const layoutKebabDict: Map<LayoutTemplateJSON, LayoutTemplate>;
|
|
12
11
|
export declare function isMapOnlyLayout(layout: nil | string): boolean;
|
|
@@ -4,7 +4,7 @@ import { watch as a } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as u } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
7
|
-
v5.0.0-next.
|
|
7
|
+
v5.0.0-next.31 */
|
|
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.31 */
|
|
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.31 */
|
|
7
7
|
class n extends l {
|
|
8
8
|
static {
|
|
9
9
|
this.properties = { viewModel: 0, messages: 0, fileName: 1, selectExportsTab: 0 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { css as
|
|
3
|
-
import { hasSameOrigin as
|
|
4
|
-
import { watch as
|
|
5
|
-
import { LitElement as b,
|
|
1
|
+
import { c as f } from "../../chunks/runtime.js";
|
|
2
|
+
import { css as k, html as s } from "lit";
|
|
3
|
+
import { hasSameOrigin as v } from "@arcgis/toolkit/url";
|
|
4
|
+
import { watch as g, whenOnce as $ } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
+
import { LitElement as b, noShadowRoot as x, safeClassMap as c, nothing as w } from "@arcgis/lumina";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
8
|
-
v5.0.0-next.
|
|
9
|
-
const
|
|
8
|
+
v5.0.0-next.31 */
|
|
9
|
+
const _ = k`@layer{.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}}`, d = "arcgis-print", m = {
|
|
10
10
|
exportedFile: `${d}__exported-file`,
|
|
11
11
|
exportedFileLinkTitle: `${d}__exported-file-link-title`,
|
|
12
12
|
exportedFileLinkDescription: `${d}__exported-file-link-description`
|
|
13
13
|
};
|
|
14
|
-
function
|
|
15
|
-
const { state: e, extension: t } =
|
|
14
|
+
function I(r) {
|
|
15
|
+
const { state: e, extension: t } = r;
|
|
16
16
|
switch (e) {
|
|
17
17
|
case "pending":
|
|
18
18
|
return "spinner";
|
|
@@ -22,10 +22,10 @@ function w(l) {
|
|
|
22
22
|
return t?.toLowerCase()?.includes("pdf") ? "file-pdf" : "file";
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
return !
|
|
25
|
+
function u(r, e) {
|
|
26
|
+
return !r || r === "all" || !!(e && r.includes(e));
|
|
27
27
|
}
|
|
28
|
-
class
|
|
28
|
+
class E extends b {
|
|
29
29
|
constructor() {
|
|
30
30
|
super(...arguments), this._handleLinkClick = (e) => {
|
|
31
31
|
if (!e || e.state !== "ready" || !e.url)
|
|
@@ -42,59 +42,49 @@ class _ extends b {
|
|
|
42
42
|
this.properties = { saveAsButtonCallback: 0, allowedFormatsForSaving: 1, exportedLink: 0, viewModel: 0, messages: 0 };
|
|
43
43
|
}
|
|
44
44
|
static {
|
|
45
|
-
this.styles =
|
|
45
|
+
this.styles = _;
|
|
46
|
+
}
|
|
47
|
+
static {
|
|
48
|
+
this.shadowRootOptions = x;
|
|
46
49
|
}
|
|
47
50
|
loaded() {
|
|
48
51
|
this.manager.onLifecycle(() => [
|
|
49
|
-
|
|
52
|
+
g(() => this.exportedLink.state, () => this.requestUpdate())
|
|
50
53
|
]);
|
|
51
54
|
}
|
|
52
55
|
render() {
|
|
53
|
-
const {
|
|
54
|
-
|
|
55
|
-
switch (r) {
|
|
56
|
-
case "pending":
|
|
57
|
-
s = e.pending;
|
|
58
|
-
break;
|
|
59
|
-
case "ready":
|
|
60
|
-
s = e.ready;
|
|
61
|
-
break;
|
|
62
|
-
case "error":
|
|
63
|
-
s = e.errorMessage;
|
|
64
|
-
break;
|
|
65
|
-
}
|
|
66
|
-
const n = r === "error" ? i?.name === "print-task:cim-symbol-unsupported" ? e.exportWebMapCIMError : e.exportWebMapError : "";
|
|
67
|
-
return a`<calcite-list-item .ariaLabel=${s} title=${n ?? u}>${this._renderExportedLinkItemContent(t, n)}${this._renderExportedLinkItemIcon(t)}${this._renderExportedLinkItemAction(t, n)}</calcite-list-item>${this._renderExportedLinkItemPopover(t)}`;
|
|
56
|
+
const { exportedLink: e } = this, t = e.formattedName ?? "";
|
|
57
|
+
return s`<calcite-list-item .label=${t}>${this._renderExportedLinkItemContent(e)}${this._renderExportedLinkItemIcon(e)}${this._renderExportedLinkItemAction(e)}</calcite-list-item>${this._renderExportedLinkItemPopover(e)}`;
|
|
68
58
|
}
|
|
69
59
|
_renderExportedLinkItemPopover(e) {
|
|
70
|
-
const t = this.messages, i = e.formattedName ?? "", { state:
|
|
71
|
-
return
|
|
72
|
-
const
|
|
73
|
-
if (!
|
|
60
|
+
const t = this.messages, i = e.formattedName ?? "", { state: n } = e, a = this.saveAsButtonCallback && n !== "error" && u(this.allowedFormatsForSaving, e.extension);
|
|
61
|
+
return n !== "pending" && a ? 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=${() => {
|
|
62
|
+
const l = e.portalItem;
|
|
63
|
+
if (!l?.itemPageUrl)
|
|
74
64
|
return;
|
|
75
|
-
const
|
|
76
|
-
|
|
77
|
-
}}><calcite-icon icon=launch2 scale=s slot=content-start></calcite-icon></calcite-list-item>` :
|
|
78
|
-
this.saveAsButtonCallback && ($(() => e.portalItem).then((
|
|
79
|
-
|
|
65
|
+
const o = document.createElement("a");
|
|
66
|
+
o.target = "_blank", o.href = l.itemPageUrl, o.rel = "noreferrer", o.click();
|
|
67
|
+
}}><calcite-icon icon=launch2 scale=s slot=content-start></calcite-icon></calcite-list-item>` : s`<calcite-list-item .label=${t.saveAs} @calciteListItemSelect=${async () => {
|
|
68
|
+
this.saveAsButtonCallback && ($(() => e.portalItem).then((l) => {
|
|
69
|
+
l.itemPageUrl && this.requestUpdate();
|
|
80
70
|
}), await this.saveAsButtonCallback(e));
|
|
81
71
|
}}><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;
|
|
82
72
|
}
|
|
83
|
-
_renderExportedLinkItemContent(e
|
|
84
|
-
const
|
|
85
|
-
return
|
|
73
|
+
_renderExportedLinkItemContent(e) {
|
|
74
|
+
const t = this.messages, { url: i, state: n, error: a } = e, l = e.formattedName ?? "", p = v(i || null, document.location.href), h = n === "error" ? a?.name === "print-task:cim-symbol-unsupported" ? t.exportWebMapCIMError : t.exportWebMapError : null;
|
|
75
|
+
return s`<div class=${c(m.exportedFile)} slot=content @click=${() => this._handleLinkClick(e)}><div><div class=${c(m.exportedFileLinkTitle)}>${l}</div><div class=${c(m.exportedFileLinkDescription)}>${n === "pending" ? t.generatingExport : h || (p ? t.ready : t.linkReady)}</div></div>${n === "ready" ? s`<calcite-icon .ariaLabel=${`${l}. ${t.linkReady}`} .icon=${p ? "download-to" : "launch"} scale=s slot=content-end></calcite-icon>` : null}</div>`;
|
|
86
76
|
}
|
|
87
77
|
_renderExportedLinkItemIcon(e) {
|
|
88
|
-
return e.state === "pending" ?
|
|
78
|
+
return e.state === "pending" ? s`<calcite-loader inline .label=${this.messages.generatingExport} scale=m slot=content-start></calcite-loader>` : s`<calcite-icon .icon=${I(e)} scale=s slot=content-start></calcite-icon>`;
|
|
89
79
|
}
|
|
90
|
-
_renderExportedLinkItemAction(e
|
|
91
|
-
const { state:
|
|
92
|
-
return
|
|
80
|
+
_renderExportedLinkItemAction(e) {
|
|
81
|
+
const { state: t } = e, i = e.formattedName ?? "", n = this.saveAsButtonCallback && t !== "error" && u(this.allowedFormatsForSaving, e.extension);
|
|
82
|
+
return t !== "pending" ? s`<calcite-action .icon=${n ? "ellipsis" : "x"} id=${(n ? `${i}-popover-button` : void 0) ?? w} @click=${n ? void 0 : () => {
|
|
93
83
|
this.viewModel.exportedLinks.remove(e);
|
|
94
|
-
}} slot=actions-end .text=${
|
|
84
|
+
}} slot=actions-end .text=${n ? "options" : "remove"}></calcite-action>` : null;
|
|
95
85
|
}
|
|
96
86
|
}
|
|
97
|
-
|
|
87
|
+
f("arcgis-print-exported-link", E);
|
|
98
88
|
export {
|
|
99
|
-
|
|
89
|
+
E as PrintExportedLink
|
|
100
90
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import { css as r, html as i } from "lit";
|
|
3
3
|
import { classes as c } from "@arcgis/toolkit/dom";
|
|
4
|
-
import { LitElement as p, safeClassMap as
|
|
4
|
+
import { LitElement as p, safeClassMap as n } 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.31 */
|
|
8
8
|
const d = r`.arcgis-print__export-section--centered{text-align:center}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.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)}`, e = "arcgis-print", t = {
|
|
9
9
|
exportSection: `${e}__export-section`,
|
|
10
10
|
panelContainer: `${e}__panel-container`,
|
|
@@ -23,10 +23,10 @@ class x extends p {
|
|
|
23
23
|
this.manager.onLifecycle(() => [this.viewModel.exportedLinks.on("change", () => this.requestUpdate())]);
|
|
24
24
|
}
|
|
25
25
|
render() {
|
|
26
|
-
const s = this.viewModel.exportedLinks,
|
|
26
|
+
const s = this.viewModel.exportedLinks, o = {
|
|
27
27
|
[t.exportSectionCentered]: !s.length
|
|
28
28
|
};
|
|
29
|
-
return i`<section class=${
|
|
29
|
+
return i`<section class=${n(c(t.exportSection, o))} role=tabpanel><div class=${n(t.panelContainer)}>${s.length === 0 ? i`<div class=${n(t.exportedFilesEmpty)}><calcite-icon icon=file scale=l></calcite-icon><div><p class=${n(t.exportedFilesTitle)}>${this.messages.noExportedFiles}</p><div>${this.messages.exportHint}</div></div></div>` : i`<calcite-list .filterEnabled=${s.length > 10} .label=${this.messages.exportedLinksList} selection-mode=none>${s.map((a) => i`<arcgis-print-exported-link .exportedLink=${a} .viewModel=${this.viewModel} .messages=${this.messages} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exported-link>`)}</calcite-list>`}</div></section>`;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
l("arcgis-print-exports-panel", x);
|
|
@@ -6,7 +6,7 @@ import { LitElement as n } from "@arcgis/lumina";
|
|
|
6
6
|
import { f as p } from "../../chunks/utils.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.
|
|
9
|
+
v5.0.0-next.31 */
|
|
10
10
|
class c extends n {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this._formats = [];
|
|
@@ -6,7 +6,7 @@ import { LitElement as o, safeClassMap as l } from "@arcgis/lumina";
|
|
|
6
6
|
import { u as r } from "../../chunks/useHandles.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.
|
|
9
|
+
v5.0.0-next.31 */
|
|
10
10
|
const c = n`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, h = "arcgis-print", p = {
|
|
11
11
|
advancedOptionsContainer: `${h}__advanced-options-container`
|
|
12
12
|
};
|
|
@@ -6,7 +6,7 @@ import { LitElement as d, safeClassMap as i } from "@arcgis/lumina";
|
|
|
6
6
|
import { u as m } from "../../chunks/useHandles.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.
|
|
9
|
+
v5.0.0-next.31 */
|
|
10
10
|
const h = c`.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__layout-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}`, a = "arcgis-print", s = {
|
|
11
11
|
advancedOptionsSection: `${a}__advanced-options-section`,
|
|
12
12
|
layoutSection: `${a}__layout-section`,
|
|
@@ -6,7 +6,7 @@ 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.
|
|
9
|
+
v5.0.0-next.31 */
|
|
10
10
|
const p = l`calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
|
|
11
11
|
class r extends i {
|
|
12
12
|
constructor() {
|
|
@@ -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.31 */
|
|
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
|
};
|