@arcgis/map-components 4.33.0-next.163 → 4.33.0-next.165
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/{4ZBS7BRR.js → 25HQTHBN.js} +2 -2
- package/dist/cdn/{N7AZI3RG.js → 25SPQTQF.js} +2 -2
- package/dist/cdn/2KJQ5CXW.js +4 -0
- package/dist/cdn/{R5QSYBPN.js → 3APGFJ5Z.js} +2 -2
- package/dist/cdn/{SCO36YQJ.js → 3PQI5F2X.js} +2 -2
- package/dist/cdn/{7R5ANPX3.js → 44ESVELG.js} +2 -2
- package/dist/cdn/{Y47VIODW.js → 4CBSE3Q5.js} +2 -2
- package/dist/cdn/{54YQ4ESE.js → 4Y6HIODN.js} +2 -2
- package/dist/cdn/{D7ZVQG4A.js → 5HFBME5D.js} +2 -2
- package/dist/cdn/{4YGDO6GD.js → 5JOVYVWX.js} +2 -2
- package/dist/cdn/{KXK2TPWM.js → 5LM44NFW.js} +1 -1
- package/dist/cdn/{JCMVQZIH.js → 5R6A6QGR.js} +2 -2
- package/dist/cdn/{YCVMZZPV.js → 6DUAEM4K.js} +1 -1
- package/dist/cdn/{GDDLERWA.js → 6MLFLDPF.js} +2 -2
- package/dist/cdn/{B4IFNJVQ.js → 6R2INHBN.js} +2 -2
- package/dist/cdn/{D2KDASCZ.js → 7KG6MPR5.js} +2 -2
- package/dist/cdn/{4H57JG34.js → 7ZHVKJFQ.js} +2 -2
- package/dist/cdn/{ZKO2JNDF.js → ABWMT25R.js} +2 -2
- package/dist/cdn/{DEKCGU76.js → AK7MMFIJ.js} +2 -2
- package/dist/cdn/AQMK7MJ2.js +4 -0
- package/dist/cdn/{WXC27O2B.js → ASAGHVOA.js} +2 -2
- package/dist/cdn/{STJWAIHS.js → ATI6TTHT.js} +2 -2
- package/dist/cdn/{ZISJYZSE.js → AXBEWKGF.js} +2 -2
- package/dist/cdn/{YX7ZXCDM.js → B2CXE7XY.js} +2 -2
- package/dist/cdn/{4ZYIRQQU.js → BBVXTPSY.js} +2 -2
- package/dist/cdn/{BROPAJES.js → BIMORNRS.js} +2 -2
- package/dist/cdn/{75VV4YIS.js → BWZVOI6S.js} +2 -2
- package/dist/cdn/{ZSQOHH5X.js → CKZ6QBLT.js} +1 -1
- package/dist/cdn/DVNW56QI.js +4 -0
- package/dist/cdn/{M2QPTJAY.js → DYOVG4YW.js} +2 -2
- package/dist/cdn/{S7FTNK4D.js → DYXB7JUN.js} +2 -2
- package/dist/cdn/{5GAKWQLJ.js → E3AQ2QMP.js} +2 -2
- package/dist/cdn/{UIGLTPI2.js → EG2NDCS3.js} +2 -2
- package/dist/cdn/EGQQTBD3.js +4 -0
- package/dist/cdn/{RXLPCUXL.js → EJYKNBI3.js} +2 -2
- package/dist/cdn/{SY2NVTB3.js → F33XGFEL.js} +2 -2
- package/dist/cdn/{AML3DNHD.js → F4BSB7Q4.js} +2 -2
- package/dist/cdn/{ASJVAATZ.js → F4GWE2SC.js} +2 -2
- package/dist/cdn/{JLMAQLRU.js → FRXYFS2X.js} +2 -2
- package/dist/cdn/{2ZLZJUME.js → GA4ATDYY.js} +2 -2
- package/dist/cdn/{DURFPWUB.js → GQGXJBY4.js} +2 -2
- package/dist/cdn/{BVVXESUQ.js → H33BCFNB.js} +2 -2
- package/dist/cdn/{4UWZHYS2.js → H7QOTAJV.js} +2 -2
- package/dist/cdn/{7WUX6M4U.js → HGRGYFM7.js} +2 -2
- package/dist/cdn/{UGDDRBLD.js → IQCSP4CK.js} +2 -2
- package/dist/cdn/J4G4H3N7.js +4 -0
- package/dist/cdn/{G72DSFRQ.js → JV5DAVQB.js} +2 -2
- package/dist/cdn/{UX7C7JO6.js → JZDVUUCU.js} +2 -2
- package/dist/cdn/{IJLIOVUG.js → KEPTLIX3.js} +2 -2
- package/dist/cdn/{IA5S6ZIL.js → KW7BI6R3.js} +2 -2
- package/dist/cdn/{CECYJ4XF.js → LBLEPUEU.js} +2 -2
- package/dist/cdn/{43ZTJD57.js → LVEBKSBU.js} +2 -2
- package/dist/cdn/M33SAW5M.js +4 -0
- package/dist/cdn/{RDBDWVBS.js → M3ZUY3MX.js} +2 -2
- package/dist/cdn/{3TEXQSG5.js → MAQAVSKR.js} +2 -2
- package/dist/cdn/{U5HBVCUH.js → MGTHS7HP.js} +2 -2
- package/dist/cdn/{RPM2DPRY.js → MIJXPEPF.js} +2 -2
- package/dist/cdn/{C3OP2OTB.js → MQZRTOJN.js} +2 -2
- package/dist/cdn/{GNTQCQ6K.js → MTTSPTQK.js} +2 -2
- package/dist/cdn/{DJEQK3G5.js → MU3MCHQ2.js} +2 -2
- package/dist/cdn/{POZ5PCSD.js → MWJ47SGT.js} +2 -2
- package/dist/cdn/{4RNHVPLZ.js → MZ74MXQN.js} +1 -1
- package/dist/cdn/{M365EYNX.js → MZBBUM6Q.js} +2 -2
- package/dist/cdn/{KMZSQVAN.js → NKADU5AW.js} +2 -2
- package/dist/cdn/{DDNQP7YC.js → NOTWFZAR.js} +2 -2
- package/dist/cdn/{LSVP4ALP.js → NQDCDJCV.js} +2 -2
- package/dist/cdn/{CVIYSENP.js → NQTLMNCH.js} +2 -2
- package/dist/cdn/{UOOW2UAV.js → NR3HAYCW.js} +2 -2
- package/dist/cdn/{YMYVVTIE.js → OBHSCPHD.js} +2 -2
- package/dist/cdn/{IIG64SHE.js → OMKO4JHM.js} +2 -2
- package/dist/cdn/{RO6O65ZA.js → P2SYUD2V.js} +2 -2
- package/dist/cdn/{R2N3C5JM.js → P42EBOVV.js} +2 -2
- package/dist/cdn/{XYAXUXVM.js → PGZZRNOO.js} +1 -1
- package/dist/cdn/{44GOFRXG.js → PMAIAAOQ.js} +2 -2
- package/dist/cdn/{GZ55WLJI.js → POBDDUZZ.js} +1 -1
- package/dist/cdn/{QOIZDUGS.js → POEDXPRL.js} +2 -2
- package/dist/cdn/{HNXDPNMS.js → QE46ROFU.js} +2 -2
- package/dist/cdn/QEO55PCR.js +4 -0
- package/dist/cdn/{FCIBLXLX.js → QI676JBC.js} +2 -2
- package/dist/cdn/{INF63V36.js → QPQ2AKVN.js} +2 -2
- package/dist/cdn/{P7W4KR2N.js → QQ6REXRX.js} +2 -2
- package/dist/cdn/{566EMTPB.js → RD4LDM5Z.js} +2 -2
- package/dist/cdn/RKVHBB2U.js +4 -0
- package/dist/cdn/{W43IMQPK.js → RMTIPY2E.js} +2 -2
- package/dist/cdn/{E2QKTSGJ.js → RPG4ABBO.js} +2 -2
- package/dist/cdn/{W7GVNXNB.js → RPHD5QFW.js} +2 -2
- package/dist/cdn/{ZDUYWTU4.js → RQ2GK6HD.js} +2 -2
- package/dist/cdn/{XLNB6VAT.js → RSM7BWTC.js} +2 -2
- package/dist/cdn/{HH66I244.js → S7FYCMP3.js} +1 -1
- package/dist/cdn/{4HQ2RFD3.js → SEP4SEVG.js} +2 -2
- package/dist/cdn/{Q6CWOGIH.js → SIPBZPAK.js} +2 -2
- package/dist/cdn/{M7O2UKFZ.js → SSCVWJOS.js} +2 -2
- package/dist/cdn/{CKJNS7YB.js → TB5CUUMG.js} +2 -2
- package/dist/cdn/{LIUDKQEO.js → TBRMCJBG.js} +2 -2
- package/dist/cdn/{RKNEIQKF.js → TESGOBK4.js} +2 -2
- package/dist/cdn/{MTTYGBML.js → TGSNKWHN.js} +2 -2
- package/dist/cdn/TPB3YMWE.js +4 -0
- package/dist/cdn/{QAUQTL4Y.js → TWDDNVRC.js} +2 -2
- package/dist/cdn/{UT4FW7UU.js → U4DZBCUB.js} +2 -2
- package/dist/cdn/{JA7MZAL4.js → UC24T3GH.js} +2 -2
- package/dist/cdn/{OVQ2FBI3.js → UMOKADBG.js} +2 -2
- package/dist/cdn/{TNV4ESNY.js → USM4Q6K2.js} +2 -2
- package/dist/cdn/{LJYZIIIZ.js → USTIZ3KN.js} +2 -2
- package/dist/cdn/{LFTMPZBR.js → UZV45NY6.js} +2 -2
- package/dist/cdn/{J3B7RYRA.js → VAPFIHJW.js} +2 -2
- package/dist/cdn/{X6GQNGLK.js → WKISCW35.js} +1 -1
- package/dist/cdn/{2TM4J2HC.js → WKWPAFP7.js} +2 -2
- package/dist/cdn/{2PLEO7TO.js → WW6OFUQW.js} +2 -2
- package/dist/cdn/{DUGB7PK7.js → WWQJGHPQ.js} +2 -2
- package/dist/cdn/{2BPSFN2K.js → XGVEATEL.js} +2 -2
- package/dist/cdn/{IVZ5JFYF.js → XZTKL4TN.js} +2 -2
- package/dist/cdn/{2C5JL6DO.js → Y2TYHWNF.js} +2 -2
- package/dist/cdn/YDA7IFHY.js +4 -0
- package/dist/cdn/{ENT4AJB7.js → YJ4YJRM2.js} +2 -2
- package/dist/cdn/{QUU2SSOG.js → YORFQWUQ.js} +2 -2
- package/dist/cdn/{PNSZ7F45.js → YXTMRIJL.js} +2 -2
- package/dist/cdn/{EXM5T74K.js → ZIVBN4PL.js} +2 -2
- package/dist/cdn/{76TFSNAR.js → ZJPD2Q6D.js} +2 -2
- package/dist/cdn/{CK7I5P4C.js → ZKSNTIXF.js} +2 -2
- package/dist/cdn/assets/area-measurement-2d/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/area-measurement-3d/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/directline-measurement-3d/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/distance-measurement-2d/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/grid-controls/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/layer-list/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/line-of-sight/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/print/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/search/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/slice/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/time-zone-label/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/unit-select/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/version-management/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/video-player/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/weather/t9n/messages.et.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.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/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/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +17 -16
- 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.d.ts +2 -0
- 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.d.ts +10 -2
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +15 -14
- 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 +14 -2
- package/dist/components/arcgis-elevation-profile/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-form/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-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-line-of-sight/customElement.d.ts +60 -13
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- 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.d.ts +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-print/customElement.d.ts +2 -6
- package/dist/components/arcgis-print/customElement.js +39 -33
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +18 -23
- package/dist/components/arcgis-print-export-button/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +3 -4
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- 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.d.ts +1 -7
- package/dist/components/arcgis-print-layout-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-main-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-main-panel/customElement.js +8 -8
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.d.ts +1 -7
- package/dist/components/arcgis-print-map-only-panel/customElement.js +28 -22
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +23 -18
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +26 -19
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- 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.d.ts +68 -28
- package/dist/components/arcgis-scene/customElement.js +2 -2
- 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.d.ts +72 -9
- 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.d.ts +10 -6
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/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-associations/customElement.d.ts +0 -2
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/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-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.d.ts +37 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +78 -61
- package/dist/docs/docs.json +71 -59
- package/dist/docs/vscode.html-custom-data.json +18 -25
- package/dist/docs/web-types.json +59 -57
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +3 -3
- package/dist/types/preact.d.ts +3 -3
- package/dist/types/react.d.ts +3 -3
- package/dist/types/stencil.d.ts +3 -3
- package/package.json +3 -3
- package/dist/cdn/2A4RYAIN.js +0 -4
- package/dist/cdn/3ORNZSJG.js +0 -4
- package/dist/cdn/DSKZY2NZ.js +0 -4
- package/dist/cdn/E45YHEG2.js +0 -4
- package/dist/cdn/LC5X6KRY.js +0 -4
- package/dist/cdn/P7XTL3VO.js +0 -4
- package/dist/cdn/S3AKEUNL.js +0 -4
- package/dist/cdn/XCDMDCOP.js +0 -4
- package/dist/cdn/YUY5GP2E.js +0 -4
- package/dist/cdn/ZFQOEYRZ.js +0 -4
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { c } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
3
|
-
import { classes as
|
|
4
|
-
import { LitElement as
|
|
1
|
+
import { c as o } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as i } from "lit-html";
|
|
3
|
+
import { classes as l } from "@arcgis/components-utils";
|
|
4
|
+
import { LitElement as c, safeClassMap as s } from "@arcgis/lumina";
|
|
5
5
|
import { css as p } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
9
|
-
const d = p`.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__map-only-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__size-container{--button-width: 32px;display:inline-grid;grid-template-columns:1fr 1fr var(--button-width);column-gap:var(--calcite-spacing-xs);width:100%}.arcgis-print__swap-button{flex:1 0 auto;border:none;color:var(--calcite-color-border-input);align-self:flex-end;margin-bottom:var(--calcite-spacing-md)}.arcgis-print__swap-button calcite-button{width:var(--button-width);height:var(--button-width)}`,
|
|
10
|
-
advancedOptionsSection: `${
|
|
11
|
-
mapOnlySection: `${
|
|
12
|
-
panelContainer: `${
|
|
13
|
-
sizeContainer: `${
|
|
14
|
-
swapButton: `${
|
|
8
|
+
v4.33.0-next.165 */
|
|
9
|
+
const d = p`.arcgis-print__advanced-options-section{border:1px solid var(--calcite-color-border-1);margin-bottom:var(--calcite-spacing-sm)}.arcgis-print__map-only-section{padding:var(--calcite-spacing-sm) var(--calcite-spacing-sm)}.arcgis-print__panel-container{display:flex;flex:1 0;flex-direction:column;gap:var(--calcite-spacing-sm)}.arcgis-print__size-container{--button-width: 32px;display:inline-grid;grid-template-columns:1fr 1fr var(--button-width);column-gap:var(--calcite-spacing-xs);width:100%}.arcgis-print__swap-button{flex:1 0 auto;border:none;color:var(--calcite-color-border-input);align-self:flex-end;margin-bottom:var(--calcite-spacing-md)}.arcgis-print__swap-button calcite-button{width:var(--button-width);height:var(--button-width)}`, n = "arcgis-print", a = {
|
|
10
|
+
advancedOptionsSection: `${n}__advanced-options-section`,
|
|
11
|
+
mapOnlySection: `${n}__map-only-section`,
|
|
12
|
+
panelContainer: `${n}__panel-container`,
|
|
13
|
+
sizeContainer: `${n}__size-container`,
|
|
14
|
+
swapButton: `${n}__swap-button`
|
|
15
15
|
};
|
|
16
|
-
class m extends
|
|
16
|
+
class m extends c {
|
|
17
17
|
static {
|
|
18
|
-
this.properties = { viewModel: 0, messages: 0, selectExportsTab: 0
|
|
18
|
+
this.properties = { viewModel: 0, messages: 0, selectExportsTab: 0 };
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
21
|
this.styles = d;
|
|
@@ -24,19 +24,25 @@ class m extends o {
|
|
|
24
24
|
this.manager.onLifecycle(() => []);
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return
|
|
27
|
+
return i`<section class=${s(a.mapOnlySection)} role=tabpanel><div class=${s(a.panelContainer)}>${this._renderFileNameInput()}${this._renderFileFormatSection()}${this._renderSizeSection()}${this._renderAdvancedSection()}${this._renderExportButton()}</div></section>`;
|
|
28
28
|
}
|
|
29
29
|
_renderFileNameInput() {
|
|
30
|
-
const { fileName:
|
|
31
|
-
return
|
|
32
|
-
this.viewModel.templateOptions.fileName =
|
|
30
|
+
const { fileName: t, fileNamePlaceHolder: e } = this.messages;
|
|
31
|
+
return i`<calcite-label>${t}<calcite-input .placeholder=${e} .value=${this.viewModel.templateOptions.fileName ?? ""} @calciteInputInput=${(r) => {
|
|
32
|
+
this.viewModel.templateOptions.fileName = r.currentTarget.value;
|
|
33
33
|
}}></calcite-input></calcite-label>`;
|
|
34
34
|
}
|
|
35
35
|
_renderFileFormatSection() {
|
|
36
|
-
return
|
|
36
|
+
return i`<arcgis-print-format-select .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-format-select>`;
|
|
37
37
|
}
|
|
38
38
|
_renderSizeSection() {
|
|
39
|
-
return
|
|
39
|
+
return i`<div><div class=${s(l(a.sizeContainer))}><calcite-label>${this.messages.width}<calcite-input-number .value=${`${this.viewModel.templateOptions.width}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${(t) => {
|
|
40
|
+
const e = Number(t.target.value);
|
|
41
|
+
!Number.isNaN(e) && e > 0 && Number.isFinite(e) ? this.viewModel.templateOptions.width = e : t.target.value = `${this.viewModel.templateOptions.width}`;
|
|
42
|
+
}}></calcite-input-number></calcite-label><calcite-label>${this.messages.height}<calcite-input-number .value=${`${this.viewModel.templateOptions.height}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${(t) => {
|
|
43
|
+
const e = Number(t.target.value);
|
|
44
|
+
!Number.isNaN(e) && e > 0 && Number.isFinite(e) ? this.viewModel.templateOptions.height = e : t.target.value = `${this.viewModel.templateOptions.height}`;
|
|
45
|
+
}}></calcite-input-number></calcite-label><div class=${s(a.swapButton)}><calcite-button icon-start=arrow-right-left .label=${this.messages.swap} appearance=transparent kind=neutral @click=${() => {
|
|
40
46
|
[this.viewModel.templateOptions.width, this.viewModel.templateOptions.height] = [
|
|
41
47
|
this.viewModel.templateOptions.height,
|
|
42
48
|
this.viewModel.templateOptions.width
|
|
@@ -44,13 +50,13 @@ class m extends o {
|
|
|
44
50
|
}}></calcite-button></div></div><arcgis-print-preview-input .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-print-preview-input></div>`;
|
|
45
51
|
}
|
|
46
52
|
_renderAdvancedSection() {
|
|
47
|
-
return
|
|
53
|
+
return i`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${s(l(a.panelContainer, a.advancedOptionsSection))} collapsible .heading=${this.messages.advancedOptions}><arcgis-print-map-only-advanced-options .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-map-only-advanced-options></calcite-block>`;
|
|
48
54
|
}
|
|
49
55
|
_renderExportButton() {
|
|
50
|
-
return
|
|
56
|
+
return i`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.fileName ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
|
|
51
57
|
}
|
|
52
58
|
}
|
|
53
|
-
|
|
59
|
+
o("arcgis-print-map-only-panel", m);
|
|
54
60
|
export {
|
|
55
61
|
m as PrintMapOnlyPanel
|
|
56
62
|
};
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { c as o } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
2
|
+
import { html as l } from "lit-html";
|
|
3
3
|
import { keyed as u } from "lit-html/directives/keyed.js";
|
|
4
4
|
import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
5
|
+
import d from "@arcgis/core/geometry/SpatialReference.js";
|
|
6
|
+
import { LitElement as f, safeClassMap as n } from "@arcgis/lumina";
|
|
7
|
+
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
7
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
10
|
-
const
|
|
11
|
-
srLabel: `${
|
|
12
|
-
invalidWkidText: `${
|
|
10
|
+
v4.33.0-next.165 */
|
|
11
|
+
const v = m`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`, s = "arcgis-print", c = {
|
|
12
|
+
srLabel: `${s}__sr-label`,
|
|
13
|
+
invalidWkidText: `${s}__invalid-wkid-text`
|
|
13
14
|
};
|
|
14
|
-
function
|
|
15
|
+
function _(e) {
|
|
15
16
|
if (e == null)
|
|
16
17
|
return !1;
|
|
17
18
|
const t = e.wkid;
|
|
18
19
|
return t != null && t >= 2e3 ? !0 : e.wkt2 != null || e.wkt != null;
|
|
19
20
|
}
|
|
20
|
-
function
|
|
21
|
+
function b(e) {
|
|
21
22
|
return e == null ? e : Math.round(Number.parseFloat(e));
|
|
22
23
|
}
|
|
23
|
-
class
|
|
24
|
+
class k extends f {
|
|
24
25
|
constructor() {
|
|
25
26
|
super(...arguments), this._isValidSpatialReference = !0;
|
|
26
27
|
}
|
|
@@ -28,7 +29,7 @@ class g extends d {
|
|
|
28
29
|
this.properties = { _isValidSpatialReference: 16, _outSpatialReference: 16, templateOptions: 0, viewModel: 0, messages: 0 };
|
|
29
30
|
}
|
|
30
31
|
static {
|
|
31
|
-
this.styles =
|
|
32
|
+
this.styles = v;
|
|
32
33
|
}
|
|
33
34
|
loaded() {
|
|
34
35
|
this.manager.onLifecycle(() => [
|
|
@@ -38,14 +39,18 @@ class g extends d {
|
|
|
38
39
|
]);
|
|
39
40
|
}
|
|
40
41
|
render() {
|
|
41
|
-
const { messages: t, _outSpatialReference:
|
|
42
|
-
return
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
const { messages: t, _outSpatialReference: a } = this;
|
|
43
|
+
return l`<div><calcite-label><div class=${n(c.srLabel)}>${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString() ?? ""} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${({ currentTarget: r }) => {
|
|
44
|
+
const i = b(r.value);
|
|
45
|
+
if (Number.isNaN(i) || i == null || i <= 0 || !Number.isFinite(i)) {
|
|
46
|
+
r.value = `${a?.wkid ?? ""}`;
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
this.viewModel.outSpatialReference = Number.isNaN(i) || i == null ? null : new d({ wkid: i }), this._isValidSpatialReference = !a || _(a);
|
|
50
|
+
}}></calcite-input-number>${this._isValidSpatialReference ? null : u(`out-sr-${a?.wkid}`, l`<div class=${n(c.invalidWkidText)}>${t.invalidWkid}</div>`)}</calcite-label></div>`;
|
|
46
51
|
}
|
|
47
52
|
}
|
|
48
|
-
o("arcgis-print-out-spatial-reference-input",
|
|
53
|
+
o("arcgis-print-out-spatial-reference-input", k);
|
|
49
54
|
export {
|
|
50
|
-
|
|
55
|
+
k as PrintOutSpatialReferenceInput
|
|
51
56
|
};
|
|
@@ -4,7 +4,7 @@ import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as s, noShadowRoot as a } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
7
|
-
v4.33.0-next.
|
|
7
|
+
v4.33.0-next.165 */
|
|
8
8
|
class n extends s {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._showPrintAreaEnabled = !1;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
3
|
-
import { watch as
|
|
4
|
-
import { LitElement as
|
|
1
|
+
import { c as o } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as p } from "lit-html";
|
|
3
|
+
import { watch as r } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as u, safeClassMap as l } from "@arcgis/lumina";
|
|
5
5
|
import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
8
|
-
v4.33.0-next.
|
|
9
|
-
const
|
|
10
|
-
scaleInfoContainer: `${
|
|
11
|
-
scaleInputContainer: `${
|
|
12
|
-
scaleInput: `${
|
|
8
|
+
v4.33.0-next.165 */
|
|
9
|
+
const m = d`.arcgis-print__scale-input-container{display:flex;align-items:center;padding-bottom:var(--calcite-spacing-md)}.arcgis-print__scale-input-container .arcgis-print__scale-input{flex-grow:1}`, c = "arcgis-print", n = {
|
|
10
|
+
scaleInfoContainer: `${c}__scale-info-container`,
|
|
11
|
+
scaleInputContainer: `${c}__scale-input-container`,
|
|
12
|
+
scaleInput: `${c}__scale-input`
|
|
13
13
|
};
|
|
14
|
-
class
|
|
14
|
+
class b extends u {
|
|
15
15
|
constructor() {
|
|
16
16
|
super(...arguments), this._scale = 0, this._scaleEnabled = !1;
|
|
17
17
|
}
|
|
@@ -19,15 +19,15 @@ class m extends p {
|
|
|
19
19
|
this.properties = { _scale: 16, _scaleEnabled: 16, viewModel: 0, messages: 0 };
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
|
-
this.styles =
|
|
22
|
+
this.styles = m;
|
|
23
23
|
}
|
|
24
24
|
loaded() {
|
|
25
25
|
this.manager.onLifecycle(() => [
|
|
26
|
-
|
|
26
|
+
r(() => [this.viewModel.templateOptions.scale, this.viewModel.templateOptions.scaleEnabled], () => {
|
|
27
27
|
const { scale: e, scaleEnabled: t } = this.viewModel.templateOptions;
|
|
28
28
|
this._scale = e, this._scaleEnabled = t;
|
|
29
29
|
}, { initial: !0 }),
|
|
30
|
-
|
|
30
|
+
r(() => this.viewModel.view?.scale, (e) => {
|
|
31
31
|
e && (!this.viewModel.templateOptions.scaleEnabled || !this.viewModel.templateOptions.scale) && (this.viewModel.templateOptions.scale = e);
|
|
32
32
|
}, { initial: !0 })
|
|
33
33
|
]);
|
|
@@ -36,13 +36,20 @@ class m extends p {
|
|
|
36
36
|
this.viewModel.templateOptions.scale = this.viewModel.view?.scale;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
const { messages: e, _scale: t, _scaleEnabled:
|
|
40
|
-
return
|
|
41
|
-
this.viewModel.templateOptions.scaleEnabled =
|
|
42
|
-
}}></calcite-checkbox>${e.scale}</calcite-label><div class=${
|
|
39
|
+
const { messages: e, _scale: t, _scaleEnabled: i } = this;
|
|
40
|
+
return p`<div class=${l(n.scaleInfoContainer)}><calcite-label layout=inline><calcite-checkbox .checked=${i} @calciteCheckboxChange=${(a) => {
|
|
41
|
+
this.viewModel.templateOptions.scaleEnabled = a.target.checked, this._resetToCurrentScale();
|
|
42
|
+
}}></calcite-checkbox>${e.scale}</calcite-label><div class=${l(n.scaleInputContainer)}><calcite-input-number .ariaLabel=${e.scaleLabel} .ariaValueNow=${`${t}`} class=${l(n.scaleInput)} .disabled=${!i} .value=${`${t}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${(a) => {
|
|
43
|
+
const s = Number(a.target.value);
|
|
44
|
+
if (Number.isNaN(s) || s < 0 || !Number.isFinite(s)) {
|
|
45
|
+
a.target.value = `${t}`;
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
this.viewModel.templateOptions.scale = s;
|
|
49
|
+
}}></calcite-input-number><calcite-button appearance=outline .ariaLabel=${e.reset} .disabled=${!i} icon-start=refresh kind=neutral @click=${() => this._resetToCurrentScale()}></calcite-button></div></div>`;
|
|
43
50
|
}
|
|
44
51
|
}
|
|
45
|
-
|
|
52
|
+
o("arcgis-print-scale-section", b);
|
|
46
53
|
export {
|
|
47
|
-
|
|
54
|
+
b as PrintScaleSection
|
|
48
55
|
};
|
|
@@ -8,7 +8,7 @@ import { g as p, a as d, b as h, c as _ } from "../../chunks/utils.js";
|
|
|
8
8
|
import { css as g } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.165 */
|
|
12
12
|
const u = g`.arcgis-print__template-select-container{border:1px solid var(--calcite-color-border-1);cursor:pointer}.arcgis-print__template-select-container .arcgis-print__template-select-error,.arcgis-print__template-select-container .arcgis-print__template-select-arrow{display:flex;align-self:center;margin-right:var(--calcite-spacing-md)}`, s = "arcgis-print", c = {
|
|
13
13
|
templateSelectContainer: `${s}__template-select-container`,
|
|
14
14
|
templateSelectError: `${s}__template-select-error`,
|
|
@@ -8,7 +8,7 @@ import { css as y } from "@lit/reactive-element/css-tag.js";
|
|
|
8
8
|
import { u as L } from "../../chunks/useHandles.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
11
|
-
v4.33.0-next.
|
|
11
|
+
v4.33.0-next.165 */
|
|
12
12
|
const S = y`.arcgis-print__template-select-flow-item-container{display:flex;flex-direction:column;justify-content:space-between;overflow-y:hidden;flex-grow:1}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content{display:flex;flex-direction:column;overflow-y:auto;flex:1 0}.arcgis-print__template-select-flow-item-container .arcgis-print__template-select-flow-item-content .arcgis-print__template-select-flow-item-list-heading{display:flex;gap:var(--calcite-spacing-xs);align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);background-color:var(--calcite-color-foreground-2);border-bottom:1px solid var(--calcite-color-border-3);font-weight:var(--calcite-font-weight-semibold)}.arcgis-print__template-button-container{padding:var(--calcite-spacing-md)}.arcgis-print__template-done-button{width:100%}`, o = "arcgis-print", a = {
|
|
13
13
|
templateSelectError: `${o}__template-select-error`,
|
|
14
14
|
templateButtonContainer: `${o}__template-button-container`,
|
|
@@ -12,7 +12,7 @@ import { m as D } from "../../chunks/useViewModel.js";
|
|
|
12
12
|
import { g as v } from "../../chunks/globalCss.js";
|
|
13
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
14
14
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
15
|
-
v4.33.0-next.
|
|
15
|
+
v4.33.0-next.165 */
|
|
16
16
|
function $(f = 0, e = 0) {
|
|
17
17
|
return { x: f, y: e };
|
|
18
18
|
}
|
|
@@ -6,7 +6,7 @@ import { m as o } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.165 */
|
|
10
10
|
const r = n`@layer{arcgis-scale-range-slider{display:block}}`, c = o(t);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -51,16 +51,16 @@ declare const useSceneView: (component: LitElement & Omit<Pick<SceneView, "conta
|
|
|
51
51
|
*
|
|
52
52
|
* ```js
|
|
53
53
|
* const viewElement = document.querySelector("arcgis-scene");
|
|
54
|
-
* viewElement.
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
54
|
+
* await viewElement.viewOnReady();
|
|
55
|
+
* // The view is now ready to be used.
|
|
56
|
+
* const layer = new GraphicsLayer({ title: "My layer"});
|
|
57
|
+
* viewElement.map.add(layer);
|
|
58
58
|
* ```
|
|
59
59
|
*
|
|
60
60
|
* **See also**
|
|
61
61
|
*
|
|
62
62
|
* - [SDK sample apps using the Scene component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-scene)
|
|
63
|
-
* - [
|
|
63
|
+
* - [Get started](https://developers.arcgis.com/javascript/latest/get-started/)
|
|
64
64
|
* - [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)
|
|
65
65
|
*
|
|
66
66
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/)
|
|
@@ -175,7 +175,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
175
175
|
set center(newValue: __esri.SceneView["center"] | Nil | number[] | string);
|
|
176
176
|
/**
|
|
177
177
|
* Represents an optional clipping area used to define the visible [extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html)
|
|
178
|
-
* of a
|
|
178
|
+
* of a Scene in `local` [viewingMode](#viewingMode).
|
|
179
179
|
*
|
|
180
180
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#clippingArea)
|
|
181
181
|
*/
|
|
@@ -194,13 +194,59 @@ export declare class ArcgisScene extends LitElement {
|
|
|
194
194
|
*/
|
|
195
195
|
displayFilterDisabled: boolean;
|
|
196
196
|
/**
|
|
197
|
-
* Specifies various properties of the environment's visualization
|
|
197
|
+
* Specifies various properties of the environment's visualization within the view, including lighting, background, weather, and more.
|
|
198
|
+
* The Scene will redraw automatically when any property of environment changes.
|
|
199
|
+
*
|
|
200
|
+
* Modifying the lighting:
|
|
201
|
+
*
|
|
202
|
+
* ```js
|
|
203
|
+
* viewElement.environment.lighting = {
|
|
204
|
+
* type: "sun", // autocasts as new SunLighting()
|
|
205
|
+
* date: new Date(), // sets the lighting to reflect the current time of day
|
|
206
|
+
* directShadowsEnabled: true,
|
|
207
|
+
* };
|
|
208
|
+
* ```
|
|
209
|
+
*
|
|
210
|
+
* Setting the background:
|
|
211
|
+
*
|
|
212
|
+
* ```js
|
|
213
|
+
* viewElement.environment = {
|
|
214
|
+
* background: {
|
|
215
|
+
* type: "color",
|
|
216
|
+
* color: [255, 252, 244, 1]
|
|
217
|
+
* },
|
|
218
|
+
* starsEnabled: false,
|
|
219
|
+
* atmosphereEnabled: false
|
|
220
|
+
* };
|
|
221
|
+
* ```
|
|
222
|
+
*
|
|
223
|
+
* Changing the weather in the scene:
|
|
224
|
+
*
|
|
225
|
+
* ```js
|
|
226
|
+
* viewElement.environment.weather = {
|
|
227
|
+
* type: "rainy", // autocasts as new RainyWeather({ cloudCover: 0.7, precipitation: 0.3 })
|
|
228
|
+
* cloudCover: 0.7,
|
|
229
|
+
* precipitation: 0.3
|
|
230
|
+
* };
|
|
231
|
+
* ```
|
|
232
|
+
*
|
|
233
|
+
* **See also**
|
|
234
|
+
*
|
|
235
|
+
* - [SunLighting](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SunLighting.html)
|
|
236
|
+
* - [VirtualLighting](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-VirtualLighting.html)
|
|
237
|
+
* - [SunnyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SunnyWeather.html)
|
|
238
|
+
* - [CloudyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-CloudyWeather.html)
|
|
239
|
+
* - [RainyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-RainyWeather.html)
|
|
240
|
+
* - [SnowyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-SnowyWeather.html)
|
|
241
|
+
* - [FoggyWeather](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-3d-environment-FoggyWeather.html)
|
|
242
|
+
* - [Sample - Daylight component](https://developers.arcgis.com/javascript/latest/sample-code/daylight/)
|
|
243
|
+
* - [Sample - Weather component](https://developers.arcgis.com/javascript/latest/sample-code/weather/)
|
|
198
244
|
*
|
|
199
245
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#environment)
|
|
200
246
|
*/
|
|
201
247
|
environment: __esri.SceneViewEnvironment;
|
|
202
248
|
/**
|
|
203
|
-
* The extent represents the visible portion of a map within the view as an instance of
|
|
249
|
+
* The extent represents the visible portion of a [map](#map) within the view as an instance of
|
|
204
250
|
* [Extent](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html).
|
|
205
251
|
*
|
|
206
252
|
* Setting the extent immediately changes the view without animation. To animate
|
|
@@ -247,7 +293,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
247
293
|
*/
|
|
248
294
|
graphics: __esri.Collection<__esri.Graphic>;
|
|
249
295
|
/**
|
|
250
|
-
* Specifies the surface properties for the map. It can be either a [Ground](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html)
|
|
296
|
+
* Specifies the surface properties for the [map](#map). It can be either a [Ground](https://developers.arcgis.com/javascript/latest/api-reference/esri-Ground.html)
|
|
251
297
|
* instance or a string with one of the following values:
|
|
252
298
|
* * `"world-elevation"`
|
|
253
299
|
* * `"world-topobathymetry"`
|
|
@@ -292,7 +338,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
292
338
|
/**
|
|
293
339
|
* A collection containing a hierarchical list of all the created
|
|
294
340
|
* [LayerViews](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-layers-LayerView.html) of the
|
|
295
|
-
* [operational layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers) in the map.
|
|
341
|
+
* [operational layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers) in the [map](#map).
|
|
296
342
|
*/
|
|
297
343
|
readonly layerViews: __esri.Collection<__esri.LayerView>;
|
|
298
344
|
/** The magnifier allows for showing a portion of the view as a magnifier image on top of the view. */
|
|
@@ -327,10 +373,11 @@ export declare class ArcgisScene extends LitElement {
|
|
|
327
373
|
*/
|
|
328
374
|
get performanceInfo(): __esri.SceneViewPerformanceInfo;
|
|
329
375
|
/**
|
|
330
|
-
* A [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html)
|
|
331
|
-
* [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers)
|
|
376
|
+
* A [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html)
|
|
377
|
+
* object that displays general content or attributes from [layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#layers)
|
|
378
|
+
* in the [map](#map).
|
|
332
379
|
*
|
|
333
|
-
* [Read more
|
|
380
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#popup)
|
|
334
381
|
*/
|
|
335
382
|
popup: nullish | __esri.Popup;
|
|
336
383
|
/**
|
|
@@ -357,8 +404,8 @@ export declare class ArcgisScene extends LitElement {
|
|
|
357
404
|
/**
|
|
358
405
|
* Represents the current value of one pixel in the unit of the view's
|
|
359
406
|
* [spatialReference](#spatialReference).
|
|
360
|
-
* The resolution is calculated by dividing the
|
|
361
|
-
* by [its width](
|
|
407
|
+
* The resolution is calculated by dividing the [Scene's extent](#extent) [width](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html#width)
|
|
408
|
+
* by [its width](#width).
|
|
362
409
|
*/
|
|
363
410
|
get resolution(): number;
|
|
364
411
|
/**
|
|
@@ -441,10 +488,10 @@ export declare class ArcgisScene extends LitElement {
|
|
|
441
488
|
get viewpoint(): __esri.Viewpoint;
|
|
442
489
|
set viewpoint(newValue: __esri.Viewpoint);
|
|
443
490
|
/**
|
|
444
|
-
* The visibleArea represents the visible portion of a [map](
|
|
445
|
-
*
|
|
491
|
+
* The visibleArea represents the visible portion of a [map](#map) within the view as an instance of a
|
|
492
|
+
* [Polygon](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Polygon.html).
|
|
446
493
|
*
|
|
447
|
-
* [Read more
|
|
494
|
+
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#visibleArea)
|
|
448
495
|
*/
|
|
449
496
|
readonly visibleArea: nullish | __esri.Polygon;
|
|
450
497
|
/**
|
|
@@ -650,19 +697,19 @@ export declare class ArcgisScene extends LitElement {
|
|
|
650
697
|
*
|
|
651
698
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create)
|
|
652
699
|
*/
|
|
653
|
-
readonly
|
|
700
|
+
readonly arcgisViewAnalysisViewCreate: TargetedEvent<this, __esri.ViewAnalysisViewCreateEvent>;
|
|
654
701
|
/**
|
|
655
702
|
* Fires when an error occurs during the creation of an analysis view after an analysis is added to the view.
|
|
656
703
|
*
|
|
657
704
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-create-error)
|
|
658
705
|
*/
|
|
659
|
-
readonly
|
|
706
|
+
readonly arcgisViewAnalysisViewCreateError: TargetedEvent<this, __esri.ViewAnalysisViewCreateErrorEvent>;
|
|
660
707
|
/**
|
|
661
708
|
* Fires after an analysis view is destroyed.
|
|
662
709
|
*
|
|
663
710
|
* [Read more](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#event-analysis-view-destroy)
|
|
664
711
|
*/
|
|
665
|
-
readonly
|
|
712
|
+
readonly arcgisViewAnalysisViewDestroy: TargetedEvent<this, __esri.ViewAnalysisViewDestroyEvent>;
|
|
666
713
|
/**
|
|
667
714
|
* Fires when a wheel button of a pointing device (typically a mouse) is scrolled on the view.
|
|
668
715
|
*
|
|
@@ -702,13 +749,6 @@ export declare class ArcgisScene extends LitElement {
|
|
|
702
749
|
/**
|
|
703
750
|
* This event is for the [ready](#ready) property and will be emitted when the view is ready.
|
|
704
751
|
* This event will also emit if the [map](#map) property is changed.
|
|
705
|
-
*
|
|
706
|
-
* ```js
|
|
707
|
-
* viewElement.addEventListener("arcgisViewReadyChange", () => {
|
|
708
|
-
* const layer = new GraphicsLayer({ title: "My layer"});
|
|
709
|
-
* viewElement.map.add(layer);
|
|
710
|
-
* });
|
|
711
|
-
* ```
|
|
712
752
|
*/
|
|
713
753
|
readonly arcgisViewReadyChange: TargetedEvent<this, void>;
|
|
714
754
|
private _map: __esri.Map;
|
|
@@ -10,11 +10,11 @@ import { b as g, p as d, c as y, i as u } from "../../chunks/component-utils.js"
|
|
|
10
10
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
13
|
-
v4.33.0-next.
|
|
13
|
+
v4.33.0-next.165 */
|
|
14
14
|
const V = f`@layer{arcgis-scene{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, b = r(m, {}), C = r(w, {});
|
|
15
15
|
class E extends p {
|
|
16
16
|
constructor() {
|
|
17
|
-
super(), this._cameraProperties = {}, this._map = b(this), this.view = C(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.updating = this.view.updating, this.viewingMode = this.view.viewingMode, this.visibleArea = this.view.visibleArea, this.arcgisViewChange = a(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-destroy"), this.
|
|
17
|
+
super(), this._cameraProperties = {}, this._map = b(this), this.view = C(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.highlightOptions = this.view.highlightOptions, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.updating = this.view.updating, this.viewingMode = this.view.viewingMode, this.visibleArea = this.view.visibleArea, this.arcgisViewChange = a(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-destroy"), this.arcgisViewAnalysisViewCreate = t(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = t(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = t(() => this.view, "analysis-view-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a(), this.view.ui = {
|
|
18
18
|
components: ["attribution"]
|
|
19
19
|
};
|
|
20
20
|
}
|
|
@@ -16,7 +16,7 @@ import { u as A } from "../../chunks/useT9n.js";
|
|
|
16
16
|
import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
|
|
17
17
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
18
18
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
19
|
-
v4.33.0-next.
|
|
19
|
+
v4.33.0-next.165 */
|
|
20
20
|
const h = "arcgis-search", u = {
|
|
21
21
|
base: h,
|
|
22
22
|
autocomplete: `${h}__autocomplete`,
|
|
@@ -9,7 +9,7 @@ import { watch as u } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
9
9
|
import { substitute as M } from "@arcgis/core/intl.js";
|
|
10
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
11
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
12
|
-
v4.33.0-next.
|
|
12
|
+
v4.33.0-next.165 */
|
|
13
13
|
const n = "arcgis-search-result-renderer", h = {
|
|
14
14
|
base: n,
|
|
15
15
|
moreResults: `${n}__more-results`
|