@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
|
@@ -11,7 +11,7 @@ import { LitElement as b, createEvent as f, noShadowRoot as v, safeClassMap as c
|
|
|
11
11
|
import { css as $ } from "@lit/reactive-element/css-tag.js";
|
|
12
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
13
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
14
|
-
v4.33.0-next.
|
|
14
|
+
v4.33.0-next.165 */
|
|
15
15
|
const L = $`@layer{arcgis-link-chart-layout-switcher{display:block}}`, l = {
|
|
16
16
|
basicLayoutCategory: [
|
|
17
17
|
"basic-grid"
|
|
@@ -27,7 +27,7 @@ import { project as te } from "@arcgis/core/rest/geometryService.js";
|
|
|
27
27
|
import oe from "@arcgis/core/rest/support/ProjectParameters.js";
|
|
28
28
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
29
29
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
30
|
-
v4.33.0-next.
|
|
30
|
+
v4.33.0-next.165 */
|
|
31
31
|
const ie = K`@layer{arcgis-locate{display:block}}`;
|
|
32
32
|
let M = !1;
|
|
33
33
|
const re = {
|
|
@@ -51,7 +51,7 @@ declare const useMapView: (component: LitElement & Omit<Pick<MapView, "container
|
|
|
51
51
|
*
|
|
52
52
|
* See also:
|
|
53
53
|
* - [SDK sample apps using the Map component](https://developers.arcgis.com/javascript/latest/sample-code/?tagged=arcgis-map)
|
|
54
|
-
* - [
|
|
54
|
+
* - [Get started](https://developers.arcgis.com/javascript/latest/get-started/)
|
|
55
55
|
* - [Programming patterns](https://developers.arcgis.com/javascript/latest/programming-patterns/)
|
|
56
56
|
*
|
|
57
57
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-map/)
|
|
@@ -8,7 +8,7 @@ import { c as v, i as l } from "../../chunks/component-utils.js";
|
|
|
8
8
|
import { css as m } 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 g = m`@layer{arcgis-map{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, d = r(
|
|
13
13
|
w,
|
|
14
14
|
/**
|
|
@@ -6,7 +6,7 @@ import { m as r } 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 c = n`@layer{arcgis-measurement{display:block}}`, l = r(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { f as l } from "../../chunks/measurementUtils.js";
|
|
|
6
6
|
import { css as m } 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 u = m`:host,.hint,.error,.section,.actions,.item{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);animation:esri-fade-in .25s ease-in-out}.error{color:var(--calcite-color-status-danger)}.error,.hint{overflow:hidden;p{margin:0;padding:0}}.item-disabled{color:var(--calcite-color-text-1);opacity:var(--calcite-opacity-light)}.item-value{font-weight:var(--calcite-font-weight-semibold)}.actions{justify-content:center}`, e = {
|
|
11
11
|
error: "error",
|
|
12
12
|
hint: "hint",
|
|
@@ -9,7 +9,7 @@ import { g as b } from "../../chunks/globalCss.js";
|
|
|
9
9
|
import { css as M } from "@lit/reactive-element/css-tag.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 $ = "arcgis-navigation-toggle", _ = {
|
|
14
14
|
base: $
|
|
15
15
|
}, w = M`@layer{.arcgis-navigation-toggle{display:flex;box-shadow:0 1px 2px #0000004d;inline-size:fit-content;block-size:fit-content}}`, e = { pan: "move", rotate: "rotate" };
|
|
@@ -7,7 +7,7 @@ import { m as l } from "../../chunks/useWidget.js";
|
|
|
7
7
|
import { css as g } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.165 */
|
|
11
11
|
const h = g`@layer{arcgis-oriented-imagery-viewer{display:block}}`, m = l(r);
|
|
12
12
|
class y extends o {
|
|
13
13
|
constructor() {
|
|
@@ -4,7 +4,7 @@ import { LitElement as l, createEvent as a, noShadowRoot as c } from "@arcgis/lu
|
|
|
4
4
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
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
|
const d = h`@layer{arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}}`;
|
|
9
9
|
class m extends l {
|
|
10
10
|
constructor() {
|
|
@@ -215,13 +215,9 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
215
215
|
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
216
216
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
217
217
|
/** Emitted when the component is complete. */
|
|
218
|
-
readonly arcgisComplete: TargetedEvent<this,
|
|
219
|
-
link: __esri.FileLink;
|
|
220
|
-
}>;
|
|
218
|
+
readonly arcgisComplete: TargetedEvent<this, __esri.PrintCompleteEvent>;
|
|
221
219
|
/** Emitted when the component is submitted. */
|
|
222
|
-
readonly arcgisSubmit: TargetedEvent<this,
|
|
223
|
-
link: __esri.FileLink;
|
|
224
|
-
}>;
|
|
220
|
+
readonly arcgisSubmit: TargetedEvent<this, __esri.PrintSubmitEvent>;
|
|
225
221
|
private messages: {
|
|
226
222
|
componentLabel: string;
|
|
227
223
|
title: string;
|
|
@@ -1,43 +1,49 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
3
|
-
import { classes as
|
|
4
|
-
import
|
|
5
|
-
import { LitElement as
|
|
6
|
-
import { usePropertyChange as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { c as d } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as i } from "lit-html";
|
|
3
|
+
import { classes as h } from "@arcgis/components-utils";
|
|
4
|
+
import p from "@arcgis/core/widgets/Print/PrintViewModel.js";
|
|
5
|
+
import { LitElement as m, createEvent as g, noShadowRoot as w, safeClassMap as l } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as v } from "@arcgis/lumina/controllers";
|
|
7
|
+
import { reEmitEvent as o } from "@arcgis/lumina/controllers/accessor";
|
|
8
|
+
import { u } from "../../chunks/useT9n.js";
|
|
9
|
+
import { m as f } from "../../chunks/useViewModel.js";
|
|
10
|
+
import { g as n } from "../../chunks/globalCss.js";
|
|
11
|
+
import { css as _ } from "@lit/reactive-element/css-tag.js";
|
|
11
12
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
13
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
13
|
-
v4.33.0-next.
|
|
14
|
-
const
|
|
15
|
-
base:
|
|
16
|
-
headerTitle: `${
|
|
17
|
-
panelItemsCentered: `${
|
|
18
|
-
printWidgetContainer: `${
|
|
19
|
-
panelError: `${
|
|
20
|
-
}, f =
|
|
21
|
-
|
|
14
|
+
v4.33.0-next.165 */
|
|
15
|
+
const M = _`@layer{:root{--panel-min-height--large: 240px;--side-spacing: var(--calcite-spacing-lg);--cap-spacing: var(--calcite-spacing-md)}.arcgis-print{display:flex;position:relative;flex-grow:1;padding:0;min-height:var(--panel-min-height--large)!important;overflow-y:auto}.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}}`, a = "arcgis-print", r = {
|
|
16
|
+
base: a,
|
|
17
|
+
headerTitle: `${a}__header-title`,
|
|
18
|
+
panelItemsCentered: `${a}__panel-items--centered`,
|
|
19
|
+
printWidgetContainer: `${a}__container`,
|
|
20
|
+
panelError: `${a}__panel--error`
|
|
21
|
+
}, T = f(p), c = (s) => {
|
|
22
|
+
if (!s)
|
|
23
|
+
return "all";
|
|
24
|
+
const e = typeof s == "string" ? s.split(",").map((t) => t.trim()).filter((t) => t) : [s];
|
|
25
|
+
return !e.length || e.includes("all") ? "all" : e;
|
|
26
|
+
};
|
|
27
|
+
class $ extends m {
|
|
22
28
|
constructor() {
|
|
23
|
-
super(...arguments), this.messages =
|
|
29
|
+
super(...arguments), this.messages = u({ blocking: !0 }), this.viewModel = T(this), this._showTemplates = !1, this.error = this.viewModel.error, this.hideHeader = !1, this.position = "top-left", this.icon = "print", this.allowedFormats = this.viewModel.allowedFormats, this.allowedLayouts = this.viewModel.allowedLayouts, this.exportedLinks = this.viewModel.exportedLinks, this.extraParameters = this.viewModel.extraParameters, this.headingLevel = 3, this.excludeDefaultTemplates = !this.viewModel.includeDefaultTemplates, this.excludeOrganizationTemplates = !1, this.outSpatialReference = this.viewModel.outSpatialReference, this.portal = this.viewModel.portal, this.showPrintAreaEnabled = this.viewModel.showPrintAreaEnabled, this.printServiceUrl = this.viewModel.printServiceUrl, this.templateCustomTextElements = this.viewModel.templateCustomTextElements, this.templateOptions = this.viewModel.templateOptions, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = v()("state"), this.arcgisReady = g(), this.arcgisComplete = o(() => this.viewModel, "complete"), this.arcgisSubmit = o(() => this.viewModel, "submit");
|
|
24
30
|
}
|
|
25
31
|
static {
|
|
26
|
-
this.properties = { _showTemplates: 16, error: 16, hideHeader: 5, referenceElement: 1, position: 3, icon: 1, allowedFormats: 1, allowedLayouts: 1, browseTemplateButtonOnClick: 0, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 1, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, saveAsButtonCallback: 0, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
32
|
+
this.properties = { _showTemplates: 16, error: 16, hideHeader: 5, referenceElement: 1, position: 3, icon: 1, allowedFormats: [1, { type: String, converter: c }], allowedLayouts: [1, { type: String, converter: c }], browseTemplateButtonOnClick: 0, allowedFormatsForSaving: 1, exportedLinks: 0, extraParameters: 1, headingLevel: 9, excludeDefaultTemplates: 5, excludeOrganizationTemplates: 5, outSpatialReference: 0, portal: 0, showPrintAreaEnabled: 5, printServiceUrl: 1, saveAsButtonCallback: 0, templateCustomTextElements: 0, templateOptions: 0, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
27
33
|
}
|
|
28
34
|
static {
|
|
29
|
-
this.styles =
|
|
35
|
+
this.styles = M;
|
|
30
36
|
}
|
|
31
37
|
static {
|
|
32
|
-
this.shadowRootOptions =
|
|
38
|
+
this.shadowRootOptions = w;
|
|
33
39
|
}
|
|
34
40
|
async destroy() {
|
|
35
41
|
await this.manager.destroy(), this.viewModel.destroy();
|
|
36
42
|
}
|
|
37
43
|
loaded() {
|
|
38
44
|
this.manager.onLifecycle(() => []), this.viewModel.load();
|
|
39
|
-
const { height: e, width:
|
|
40
|
-
this.viewModel.templateOptions.width =
|
|
45
|
+
const { height: e, width: t } = this.viewModel.templateOptions;
|
|
46
|
+
this.viewModel.templateOptions.width = t || 800, this.viewModel.templateOptions.height = e || 1100;
|
|
41
47
|
}
|
|
42
48
|
_showTemplateSelector() {
|
|
43
49
|
this._showTemplates = !0;
|
|
@@ -47,24 +53,24 @@ class _ extends h {
|
|
|
47
53
|
}
|
|
48
54
|
render() {
|
|
49
55
|
const e = {
|
|
50
|
-
[
|
|
56
|
+
[r.panelItemsCentered]: this.viewModel.state === "initializing"
|
|
51
57
|
};
|
|
52
|
-
return
|
|
58
|
+
return i`<div class=${l(h(r.base, n.widget, n.panel, e))}>${this._renderPanel()}</div>`;
|
|
53
59
|
}
|
|
54
60
|
_renderPanel() {
|
|
55
|
-
return this.viewModel.state === "initializing" ?
|
|
61
|
+
return this.viewModel.state === "initializing" ? i`<calcite-loader label=loading scale=m></calcite-loader>` : i`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class=${l(r.printWidgetContainer)}>${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${(e) => {
|
|
56
62
|
e.preventDefault(), this._showTemplates = !1;
|
|
57
63
|
}}><arcgis-print-template-selector .messages=${this.messages} .viewModel=${this.viewModel} .browseTemplateButtonOnClick=${this.browseTemplateButtonOnClick} .hideTemplateSelector=${this._hideTemplateSelector.bind(this)} .excludeOrganizationTemplates=${this.excludeOrganizationTemplates}></arcgis-print-template-selector></calcite-flow-item></calcite-flow>`;
|
|
58
64
|
}
|
|
59
65
|
_renderPanelHeader() {
|
|
60
|
-
return this.hideHeader ? null :
|
|
66
|
+
return this.hideHeader ? null : i`<header class=${l(r.headerTitle)}>${this.messages.export}</header>`;
|
|
61
67
|
}
|
|
62
68
|
_renderPanelContent() {
|
|
63
|
-
const e = this.viewModel.view,
|
|
64
|
-
return !!this.error ||
|
|
69
|
+
const e = this.viewModel.view, t = e?.type !== "2d";
|
|
70
|
+
return !!this.error || t ? i`<div class=${l(r.panelError)}>${e ? t ? this.messages.sceneViewError : this.messages.serviceError : this.messages.noViewError}</div>` : i`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-main-panel>`;
|
|
65
71
|
}
|
|
66
72
|
}
|
|
67
|
-
|
|
73
|
+
d("arcgis-print", $);
|
|
68
74
|
export {
|
|
69
|
-
|
|
75
|
+
$ as ArcgisPrint
|
|
70
76
|
};
|
|
@@ -4,7 +4,7 @@ import { watch as c } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as u, noShadowRoot as p } 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 d extends u {
|
|
9
9
|
static {
|
|
10
10
|
this.properties = { viewModel: 0 };
|
|
@@ -1,20 +1,11 @@
|
|
|
1
|
-
import { c as
|
|
2
|
-
import { html as
|
|
3
|
-
import { watch as
|
|
4
|
-
import { LitElement as
|
|
1
|
+
import { c as a } from "../../chunks/runtime.js";
|
|
2
|
+
import { html as s } from "lit-html";
|
|
3
|
+
import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import { LitElement as r, noShadowRoot as p } 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.
|
|
8
|
-
|
|
9
|
-
if (t == null || e == null)
|
|
10
|
-
return { height: 0, width: 0 };
|
|
11
|
-
const n = t / i, o = e / i;
|
|
12
|
-
return {
|
|
13
|
-
width: Math.round(s * n),
|
|
14
|
-
height: Math.round(s * o)
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
class m extends d {
|
|
7
|
+
v4.33.0-next.165 */
|
|
8
|
+
class o extends r {
|
|
18
9
|
constructor() {
|
|
19
10
|
super(...arguments), this._dpi = 1;
|
|
20
11
|
}
|
|
@@ -22,22 +13,26 @@ class m extends d {
|
|
|
22
13
|
this.properties = { _dpi: 16, viewModel: 0, messages: 0 };
|
|
23
14
|
}
|
|
24
15
|
static {
|
|
25
|
-
this.shadowRootOptions =
|
|
16
|
+
this.shadowRootOptions = p;
|
|
26
17
|
}
|
|
27
18
|
loaded() {
|
|
28
19
|
this.manager.onLifecycle(() => [
|
|
29
|
-
|
|
20
|
+
n(() => this.viewModel.templateOptions.dpi, (t) => this._dpi = t <= 0 ? 1 : t, { initial: !0 })
|
|
30
21
|
]);
|
|
31
22
|
}
|
|
32
|
-
_handleDPIChange(
|
|
33
|
-
const
|
|
34
|
-
|
|
23
|
+
_handleDPIChange(t) {
|
|
24
|
+
const i = this.viewModel.templateOptions, e = Number(t.target.value);
|
|
25
|
+
if (Number.isNaN(e) || e <= 0 || !Number.isFinite(e)) {
|
|
26
|
+
t.target.value = `${this._dpi}`;
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
i.dpi = e;
|
|
35
30
|
}
|
|
36
31
|
render() {
|
|
37
|
-
return
|
|
32
|
+
return s`<div><calcite-label>${this.messages.dpi}<calcite-input-number data-input-name=dpi min=1 .value=${`${this._dpi}`} .max=${Number.MAX_SAFE_INTEGER} @calciteInputNumberInput=${this._handleDPIChange}></calcite-input-number></calcite-label></div>`;
|
|
38
33
|
}
|
|
39
34
|
}
|
|
40
|
-
|
|
35
|
+
a("arcgis-print-dpi-input", o);
|
|
41
36
|
export {
|
|
42
|
-
|
|
37
|
+
o as PrintDPIInput
|
|
43
38
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
@@ -9,10 +9,4 @@ export declare class PrintExportButton extends LitElement {
|
|
|
9
9
|
messages: ArcgisPrint["messages"];
|
|
10
10
|
fileName?: string;
|
|
11
11
|
selectExportsTab: () => void;
|
|
12
|
-
arcgisSubmit: EventEmitter<{
|
|
13
|
-
link: __esri.FileLink;
|
|
14
|
-
}>;
|
|
15
|
-
arcgisComplete: EventEmitter<{
|
|
16
|
-
link: __esri.FileLink;
|
|
17
|
-
}>;
|
|
18
12
|
}
|
|
@@ -3,10 +3,10 @@ import { html as r } from "lit-html";
|
|
|
3
3
|
import { LitElement as l, noShadowRoot as n } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
6
|
-
v4.33.0-next.
|
|
6
|
+
v4.33.0-next.165 */
|
|
7
7
|
class c extends l {
|
|
8
8
|
static {
|
|
9
|
-
this.properties = { viewModel: 0, messages: 0, fileName: 1, selectExportsTab: 0
|
|
9
|
+
this.properties = { viewModel: 0, messages: 0, fileName: 1, selectExportsTab: 0 };
|
|
10
10
|
}
|
|
11
11
|
static {
|
|
12
12
|
this.shadowRootOptions = n;
|
|
@@ -15,8 +15,7 @@ class c extends l {
|
|
|
15
15
|
this.manager.onLifecycle(() => []);
|
|
16
16
|
}
|
|
17
17
|
async _handlePrintMap() {
|
|
18
|
-
|
|
19
|
-
this.arcgisSubmit.emit({ link: t }), e.then((i) => this.arcgisComplete.emit({ link: i })), this.selectExportsTab();
|
|
18
|
+
this.viewModel.export(this.fileName || this.messages.untitled), this.selectExportsTab();
|
|
20
19
|
}
|
|
21
20
|
render() {
|
|
22
21
|
const { messages: t } = this, { layout: e, layoutItem: i, format: s } = this.viewModel.templateOptions, o = this.viewModel.state !== "ready" || !(e || i);
|
|
@@ -6,7 +6,7 @@ import { LitElement as $, noShadowRoot as b, nothing as u, safeClassMap as c } f
|
|
|
6
6
|
import { css as w } 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 x = w`@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 = {
|
|
11
11
|
exportedFile: `${d}__exported-file`,
|
|
12
12
|
exportedFileLinkTitle: `${d}__exported-file-link-title`,
|
|
@@ -5,7 +5,7 @@ import { LitElement as c, safeClassMap as o } 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.
|
|
8
|
+
v4.33.0-next.165 */
|
|
9
9
|
const d = p`.arcgis-print__export-section--centered{text-align:center}.esri-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 = {
|
|
10
10
|
exportSection: `${e}__export-section`,
|
|
11
11
|
panelContainer: `${e}__panel-container`,
|
|
@@ -6,7 +6,7 @@ import { LitElement as n, noShadowRoot as p } from "@arcgis/lumina";
|
|
|
6
6
|
import { f as c } from "../../chunks/utils.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
|
class d extends n {
|
|
11
11
|
constructor() {
|
|
12
12
|
super(...arguments), this._formats = [];
|
|
@@ -7,7 +7,7 @@ import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
import { u as l } from "../../chunks/useHandles.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.165 */
|
|
11
11
|
const c = r`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, h = "arcgis-print", p = {
|
|
12
12
|
advancedOptionsContainer: `${h}__advanced-options-container`
|
|
13
13
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
@@ -9,10 +9,4 @@ export declare class PrintLayoutPanel extends LitElement {
|
|
|
9
9
|
messages: ArcgisPrint["messages"];
|
|
10
10
|
showTemplateSelector: () => void;
|
|
11
11
|
selectExportsTab: () => void;
|
|
12
|
-
arcgisSubmit: EventEmitter<{
|
|
13
|
-
link: __esri.FileLink;
|
|
14
|
-
}>;
|
|
15
|
-
arcgisComplete: EventEmitter<{
|
|
16
|
-
link: __esri.FileLink;
|
|
17
|
-
}>;
|
|
18
12
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as r } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as e } from "lit-html";
|
|
3
3
|
import { classes as c } from "@arcgis/components-utils";
|
|
4
4
|
import { watch as l } from "@arcgis/core/core/reactiveUtils.js";
|
|
@@ -7,7 +7,7 @@ import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
|
7
7
|
import { u as m } from "../../chunks/useHandles.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.165 */
|
|
11
11
|
const h = d`.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 = {
|
|
12
12
|
advancedOptionsSection: `${a}__advanced-options-section`,
|
|
13
13
|
layoutSection: `${a}__layout-section`,
|
|
@@ -18,7 +18,7 @@ class u extends p {
|
|
|
18
18
|
super(...arguments), this._handles = m("disconnect");
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
|
-
this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0
|
|
21
|
+
this.properties = { _selectedTemplate: 16, _showSelectedTemplateTitleText: 16, viewModel: 0, messages: 0, showTemplateSelector: 0, selectExportsTab: 0 };
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
24
|
this.styles = h;
|
|
@@ -38,9 +38,9 @@ class u extends p {
|
|
|
38
38
|
_renderTitleInput() {
|
|
39
39
|
if (!this._showSelectedTemplateTitleText)
|
|
40
40
|
return null;
|
|
41
|
-
const { title: t, titlePlaceHolder:
|
|
42
|
-
return e`<calcite-label>${t}<calcite-input .placeholder=${
|
|
43
|
-
this.viewModel.templateOptions.title =
|
|
41
|
+
const { title: t, titlePlaceHolder: n } = this.messages;
|
|
42
|
+
return e`<calcite-label>${t}<calcite-input .placeholder=${n} .value=${this.viewModel.templateOptions.title ?? ""} @calciteInputInput=${(o) => {
|
|
43
|
+
this.viewModel.templateOptions.title = o.currentTarget.value;
|
|
44
44
|
}}></calcite-input></calcite-label>`;
|
|
45
45
|
}
|
|
46
46
|
_renderTemplateSelect() {
|
|
@@ -53,10 +53,10 @@ class u extends p {
|
|
|
53
53
|
return e`<calcite-block .ariaLabel=${this.messages.advancedOptions} class=${i(c(s.panelContainer, s.advancedOptionsSection))} collapsible .disabled=${!this._selectedTemplate} .heading=${this.messages.advancedOptions}><arcgis-print-layout-advanced-options .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-layout-advanced-options></calcite-block>`;
|
|
54
54
|
}
|
|
55
55
|
_renderExportButton() {
|
|
56
|
-
return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}
|
|
56
|
+
return e`<arcgis-print-export-button .fileName=${this.viewModel.templateOptions.title ?? void 0} .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this.selectExportsTab}></arcgis-print-export-button>`;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
|
|
59
|
+
r("arcgis-print-layout-panel", u);
|
|
60
60
|
export {
|
|
61
61
|
u as PrintLayoutPanel
|
|
62
62
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
5
|
import { Formats } from '../arcgis-print/interfaces';
|
|
6
6
|
|
|
@@ -11,10 +11,4 @@ export declare class PrintMainPanel extends LitElement {
|
|
|
11
11
|
messages: ArcgisPrint["messages"];
|
|
12
12
|
showTemplateSelector: () => void;
|
|
13
13
|
allowedFormatsForSaving?: Formats;
|
|
14
|
-
arcgisSubmit: EventEmitter<{
|
|
15
|
-
link: __esri.FileLink;
|
|
16
|
-
}>;
|
|
17
|
-
arcgisComplete: EventEmitter<{
|
|
18
|
-
link: __esri.FileLink;
|
|
19
|
-
}>;
|
|
20
14
|
}
|
|
@@ -4,17 +4,17 @@ import { LitElement as i } from "@arcgis/lumina";
|
|
|
4
4
|
import { i as l } from "../../chunks/utils.js";
|
|
5
5
|
import { css as o } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
import { u as c } from "../../chunks/useHandles.js";
|
|
7
|
-
import { watch as
|
|
7
|
+
import { watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
10
|
-
v4.33.0-next.
|
|
10
|
+
v4.33.0-next.165 */
|
|
11
11
|
const p = o`calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
|
|
12
|
-
class
|
|
12
|
+
class r extends i {
|
|
13
13
|
constructor() {
|
|
14
14
|
super(...arguments), this._prevLayoutTemplateId = null, this._handles = c("disconnect"), this._selectedTab = "layout", this._hasPendingExport = !1;
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
|
-
this.properties = { _selectedTab: 16, _hasPendingExport: 16, saveAsButtonCallback: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1
|
|
17
|
+
this.properties = { _selectedTab: 16, _hasPendingExport: 16, saveAsButtonCallback: 0, viewModel: 0, messages: 0, showTemplateSelector: 0, allowedFormatsForSaving: 1 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
20
|
this.styles = p;
|
|
@@ -22,7 +22,7 @@ class n extends i {
|
|
|
22
22
|
loaded() {
|
|
23
23
|
this.manager.onLifecycle(() => [
|
|
24
24
|
this.viewModel.exportedLinks.on("change", () => {
|
|
25
|
-
this._handles.removeHandles("pending-exports"), this._handles.addHandles(this.viewModel.exportedLinks.toArray().map((e) =>
|
|
25
|
+
this._handles.removeHandles("pending-exports"), this._handles.addHandles(this.viewModel.exportedLinks.toArray().map((e) => n(() => e.state, () => this.requestUpdate(), { initial: !0 })), "pending-exports");
|
|
26
26
|
})
|
|
27
27
|
]);
|
|
28
28
|
}
|
|
@@ -44,10 +44,10 @@ class n extends i {
|
|
|
44
44
|
}
|
|
45
45
|
render() {
|
|
46
46
|
const e = this.viewModel.exportedLinks.some(({ state: t }) => t === "pending");
|
|
47
|
-
return a`<div><calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}
|
|
47
|
+
return a`<div><calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab === "layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab === "map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab === "exports"}>${e ? a`<calcite-loader inline label=loading scale=s></calcite-loader>` : null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this._selectExportsTab.bind(this)}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exports-panel></calcite-tab></calcite-tabs></div>`;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
s("arcgis-print-main-panel",
|
|
50
|
+
s("arcgis-print-main-panel", r);
|
|
51
51
|
export {
|
|
52
|
-
|
|
52
|
+
r as PrintMainPanel
|
|
53
53
|
};
|
|
@@ -4,7 +4,7 @@ import { LitElement as s, safeClassMap as n } from "@arcgis/lumina";
|
|
|
4
4
|
import { css as a } from "@lit/reactive-element/css-tag.js";
|
|
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
|
const r = a`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`, c = "arcgis-print", o = {
|
|
9
9
|
advancedOptionsContainer: `${c}__advanced-options-container`
|
|
10
10
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { JsxNode, PublicLitElement as LitElement, TargetedEvent
|
|
3
|
+
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
4
4
|
import { ArcgisPrint } from '../arcgis-print/customElement.js';
|
|
5
5
|
|
|
6
6
|
/** @private */
|
|
@@ -8,10 +8,4 @@ export declare class PrintMapOnlyPanel extends LitElement {
|
|
|
8
8
|
viewModel: __esri.PrintViewModel;
|
|
9
9
|
messages: ArcgisPrint["messages"];
|
|
10
10
|
selectExportsTab: () => void;
|
|
11
|
-
arcgisSubmit: EventEmitter<{
|
|
12
|
-
link: __esri.FileLink;
|
|
13
|
-
}>;
|
|
14
|
-
arcgisComplete: EventEmitter<{
|
|
15
|
-
link: __esri.FileLink;
|
|
16
|
-
}>;
|
|
17
11
|
}
|