@arcgis/map-components 4.34.0-next.2 → 4.34.0-next.21
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/2DIKFW7K.js +4 -0
- package/dist/cdn/{VRX7IRTW.js → 2FYM5HUD.js} +2 -2
- package/dist/cdn/{O57FJWKG.js → 3DS726OD.js} +2 -2
- package/dist/cdn/{IE47QEIE.js → 3KEZHG7W.js} +2 -2
- package/dist/cdn/3MMOB4OK.js +4 -0
- package/dist/cdn/{BOWV4BI5.js → 424JEX3C.js} +2 -2
- package/dist/cdn/{YTQ5WKUI.js → 43PD534X.js} +2 -2
- package/dist/cdn/4BAEO7AP.js +4 -0
- package/dist/cdn/{JXL7WD2E.js → 4JOU6IR7.js} +2 -2
- package/dist/cdn/{M6KBDQ4B.js → 53L3YUOX.js} +2 -2
- package/dist/cdn/{5APGWHKF.js → 5F6GXQGE.js} +2 -2
- package/dist/cdn/{DKMOPJ25.js → 5NKRC3D7.js} +2 -2
- package/dist/cdn/{M67BOC6R.js → 5REOJGCZ.js} +2 -2
- package/dist/cdn/{WIZ7RQYM.js → 5RL5K3OT.js} +2 -2
- package/dist/cdn/{LQXNDSAI.js → 5SEOV35O.js} +2 -2
- package/dist/cdn/{CUYQCXUJ.js → 5ZRRIWMB.js} +2 -2
- package/dist/cdn/{RKKLVIKS.js → 642ZLA6X.js} +2 -2
- package/dist/cdn/{6ESK4QPA.js → 66QYKE2Z.js} +2 -2
- package/dist/cdn/{FG2UUN5Y.js → 6FZFDLZE.js} +2 -2
- package/dist/cdn/{HSYMUXB2.js → 6JHKCUPI.js} +2 -2
- package/dist/cdn/{LLSIG464.js → 6JJ56G4C.js} +2 -2
- package/dist/cdn/{FVCCBN6R.js → 7LRZIJD4.js} +2 -2
- package/dist/cdn/{76V2F3M5.js → 7OYYQFDC.js} +2 -2
- package/dist/cdn/{QGDMGHZ3.js → A23355Z6.js} +2 -2
- package/dist/cdn/{V4FN65Z4.js → AAR2FOAL.js} +2 -2
- package/dist/cdn/{VIU4ZSIY.js → BGMADJYI.js} +2 -2
- package/dist/cdn/{A5THM6EA.js → BNVGHHPA.js} +2 -2
- package/dist/cdn/{LRCALZS4.js → BPLHLHQI.js} +2 -2
- package/dist/cdn/{VMDVUG52.js → BUMNG3LD.js} +1 -1
- package/dist/cdn/{AACC3FYE.js → BX4E7VS7.js} +1 -1
- package/dist/cdn/{3TIDM52T.js → C24AID7J.js} +2 -2
- package/dist/cdn/{YXIBBCVA.js → CB5UF2XM.js} +2 -2
- package/dist/cdn/{U7HB3CPN.js → CB7JLC5X.js} +2 -2
- package/dist/cdn/{ESEGUX5O.js → CLRYXHEP.js} +2 -2
- package/dist/cdn/{T7VRSGAE.js → CLW2LXNE.js} +2 -2
- package/dist/cdn/{DHZBSCQC.js → CNIJHZ6G.js} +2 -2
- package/dist/cdn/{FQM7ZIUE.js → CS43UYS3.js} +2 -2
- package/dist/cdn/DEYMBEU3.js +4 -0
- package/dist/cdn/{T356JENG.js → DFZCDEDC.js} +2 -2
- package/dist/cdn/{O24P7Q3C.js → DHJGGWH3.js} +2 -2
- package/dist/cdn/{LIRUDJLH.js → DRQJRZPI.js} +2 -2
- package/dist/cdn/{TEM46PXT.js → DZPKP76T.js} +2 -2
- package/dist/cdn/{MQJ7XLGK.js → EBWTFJHE.js} +2 -2
- package/dist/cdn/{RAN4WBBO.js → EF63U2JV.js} +2 -2
- package/dist/cdn/{PNN554XV.js → EQ7EDIWI.js} +2 -2
- package/dist/cdn/{3E5JGS7I.js → ETD3XMI3.js} +2 -2
- package/dist/cdn/{3ZGNCN4N.js → EVNA5MC3.js} +2 -2
- package/dist/cdn/{YL5UD5QK.js → F3GJKUFE.js} +2 -2
- package/dist/cdn/{N762OEGT.js → FKPX7WM5.js} +2 -2
- package/dist/cdn/{LG2VTIMN.js → FQDORCBB.js} +2 -2
- package/dist/cdn/{AX6ZNG7O.js → FRGNCM64.js} +2 -2
- package/dist/cdn/{AXKSXWQK.js → FRZCSSHL.js} +2 -2
- package/dist/cdn/{2HMQBLGX.js → G2R2TI3S.js} +2 -2
- package/dist/cdn/{4P26B2AA.js → GJ5VNK7J.js} +2 -2
- package/dist/cdn/{WBS3PEXG.js → H6CCKH3K.js} +2 -2
- package/dist/cdn/{JSU4NS5T.js → HN67NNCU.js} +2 -2
- package/dist/cdn/{R6KUTRWE.js → HU437PBD.js} +2 -2
- package/dist/cdn/{LQPNE6GS.js → I6SJPORS.js} +2 -2
- package/dist/cdn/{X5HMIK3S.js → IJ7MA37M.js} +2 -2
- package/dist/cdn/{R42MVK6T.js → J7JF3XPD.js} +2 -2
- package/dist/cdn/{6QZWTGCD.js → JBL7IRTU.js} +2 -2
- package/dist/cdn/JPLKNPQA.js +4 -0
- package/dist/cdn/{Z4ZNKWSQ.js → JRDM5MDJ.js} +2 -2
- package/dist/cdn/{6KAI6YXC.js → JZCLD3KO.js} +2 -2
- package/dist/cdn/{E6EE4TT7.js → K7HCPE2N.js} +1 -1
- package/dist/cdn/{ZV44DXHW.js → KKGH2C3Z.js} +2 -2
- package/dist/cdn/{E77FQK43.js → L4DKFMF5.js} +2 -2
- package/dist/cdn/{47WXI5OV.js → LIYKJGIW.js} +2 -2
- package/dist/cdn/{42ZLP4TO.js → MV7VWEYM.js} +2 -2
- package/dist/cdn/{IBKAQQBC.js → N4ZIWHV3.js} +2 -2
- package/dist/cdn/{R63E5IDP.js → NPNSCUQO.js} +2 -2
- package/dist/cdn/{OBPKMGHI.js → O356CRDT.js} +2 -2
- package/dist/cdn/{X7Q6FQWN.js → OEXDVI45.js} +2 -2
- package/dist/cdn/{JPZTEH2M.js → OMHCZ2JB.js} +2 -2
- package/dist/cdn/{D6KJDF5I.js → OTNIXMGB.js} +2 -2
- package/dist/cdn/{5IGCHT4A.js → OTUHRWHR.js} +2 -2
- package/dist/cdn/{Z5VECA2W.js → OU5G2DJR.js} +2 -2
- package/dist/cdn/{ARSEOYQC.js → OVOEHU54.js} +2 -2
- package/dist/cdn/{BGVGYLIS.js → P7L7BDYD.js} +2 -2
- package/dist/cdn/PHWCCAQ2.js +4 -0
- package/dist/cdn/PSDSRTPJ.js +4 -0
- package/dist/cdn/{BTB5CEYG.js → PTDXUPZF.js} +2 -2
- package/dist/cdn/{BL6FEQUL.js → PW2HC2NU.js} +1 -1
- package/dist/cdn/{UJWLDNQL.js → PZ4RMX6S.js} +2 -2
- package/dist/cdn/{QDLWV3GL.js → Q73PVO5W.js} +2 -2
- package/dist/cdn/{7CVQJHEU.js → QAA6DTB4.js} +2 -2
- package/dist/cdn/{L3FVC43E.js → QEHF2KLL.js} +2 -2
- package/dist/cdn/{FPQAF5U2.js → QQB4P4ZC.js} +2 -2
- package/dist/cdn/{NBZE6Q5O.js → QRMDO65V.js} +1 -1
- package/dist/cdn/{HDHYECZP.js → QUJG3MRO.js} +1 -1
- package/dist/cdn/{YM2YPJK6.js → QZYW5VJZ.js} +2 -2
- package/dist/cdn/{OPRL4XLU.js → RN5XSBBC.js} +2 -2
- package/dist/cdn/{2Z4KRGOJ.js → RYHE2Z3B.js} +1 -1
- package/dist/cdn/{PVCZG5NR.js → SRAVTPGX.js} +2 -2
- package/dist/cdn/{DH3QB5M5.js → SSM2TMFU.js} +2 -2
- package/dist/cdn/T27TN2ZA.js +4 -0
- package/dist/cdn/{QTUCLDNK.js → TCVH3XKB.js} +1 -1
- package/dist/cdn/{QS6PLBTH.js → TJECRHFL.js} +2 -2
- package/dist/cdn/{ZF2Y2DMS.js → TR2YSPHO.js} +2 -2
- package/dist/cdn/{LE6LUZKM.js → TZVXJLRY.js} +2 -2
- package/dist/cdn/{YF5TCRIS.js → UCBVSKFA.js} +2 -2
- package/dist/cdn/{WXDH6ABX.js → UCT65SQB.js} +2 -2
- package/dist/cdn/UEZ5YQ3H.js +4 -0
- package/dist/cdn/{BBUM7LXZ.js → UWRMR7WR.js} +2 -2
- package/dist/cdn/{QWVS3J6Z.js → VF6QOAJ5.js} +2 -2
- package/dist/cdn/{54LBYLM4.js → VS4AYNWU.js} +2 -2
- package/dist/cdn/{2DFTJYET.js → WABX3KLG.js} +2 -2
- package/dist/cdn/{6YEXM7GA.js → WGIICTQ3.js} +2 -2
- package/dist/cdn/{HRAFJUBY.js → WRQSDQRN.js} +2 -2
- package/dist/cdn/{Y6UM5JRX.js → XBYMLIMK.js} +2 -2
- package/dist/cdn/{YXTLBEV3.js → XCTEMILF.js} +2 -2
- package/dist/cdn/{2ITL25LA.js → XGYPWURU.js} +2 -2
- package/dist/cdn/{DXPQND6H.js → XI675RK3.js} +2 -2
- package/dist/cdn/XYQWQY4J.js +4 -0
- package/dist/cdn/{TV675TMD.js → YWYJIIEX.js} +2 -2
- package/dist/cdn/{MSGRPQLQ.js → Z5F4NJ2I.js} +2 -2
- package/dist/cdn/ZCA755OW.js +4 -0
- package/dist/cdn/{FMX5JKGL.js → ZI53EUJK.js} +2 -2
- package/dist/cdn/{OSL33XSZ.js → ZU62IMDO.js} +2 -2
- package/dist/cdn/{V2GGQDQV.js → ZV376OBS.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/cdn/main.css +1 -1
- 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 +2 -2
- package/dist/components/arcgis-area-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +5 -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.d.ts +5 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +5 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +3 -3
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +2 -2
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +3 -6
- package/dist/components/arcgis-directional-pad/customElement.d.ts +5 -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.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +2 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.d.ts +25 -0
- package/dist/components/arcgis-feature-content/customElement.js +92 -0
- package/dist/components/arcgis-feature-content/index.d.ts +2 -0
- package/dist/components/arcgis-feature-content/index.js +2 -0
- 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.d.ts +11 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.d.ts +5 -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.d.ts +18 -12
- 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 +6 -3
- package/dist/components/arcgis-line-of-sight/customElement.js +9 -12
- package/dist/components/arcgis-link-chart/customElement.d.ts +24 -7
- package/dist/components/arcgis-link-chart/customElement.js +14 -5
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +8 -3
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +5 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +27 -9
- package/dist/components/arcgis-map/customElement.js +25 -14
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +5 -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 +52 -34
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +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.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +6 -2
- 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 +29 -9
- package/dist/components/arcgis-scene/customElement.js +23 -12
- package/dist/components/arcgis-search/customElement.d.ts +40 -15
- package/dist/components/arcgis-search/customElement.js +39 -36
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +8 -3
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +6 -2
- 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.d.ts +3 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +6 -2
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.d.ts +5 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- 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.d.ts +9 -5
- 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.d.ts +20 -9
- package/dist/components/arcgis-video/customElement.js +10 -19
- package/dist/components/arcgis-video-player/customElement.d.ts +18 -5
- package/dist/components/arcgis-video-player/customElement.js +32 -26
- 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 +12 -12
- package/dist/components/arcgis-video-player-metadata/customElement.js +2 -2
- package/dist/components/arcgis-video-player-settings/customElement.js +2 -2
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +5 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +5 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +746 -233
- package/dist/docs/docs.json +666 -223
- package/dist/docs/vscode.html-custom-data.json +71 -32
- package/dist/docs/web-types.json +188 -100
- package/dist/index.d.ts +19 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +9 -8
- package/dist/types/lumina.d.ts +17 -11
- package/dist/types/preact.d.ts +18 -11
- package/dist/types/react.d.ts +19 -11
- package/dist/types/stencil.d.ts +17 -11
- package/dist/utils/feature-utils.d.ts +10 -0
- package/package.json +3 -3
- package/dist/cdn/4B65IRU5.js +0 -4
- package/dist/cdn/4WJ66SFY.js +0 -4
- package/dist/cdn/6X652SXL.js +0 -4
- package/dist/cdn/DNMZ4O6N.js +0 -4
- package/dist/cdn/HP3N5VUA.js +0 -4
- package/dist/cdn/NR7JLVJV.js +0 -4
- package/dist/cdn/NTUHH5NA.js +0 -4
- package/dist/cdn/OZTG4AFE.js +0 -4
- package/dist/cdn/XLHDAUF2.js +0 -4
- package/dist/cdn/ZB452APZ.js +0 -4
|
@@ -9,27 +9,25 @@ import { Formats } from './interfaces';
|
|
|
9
9
|
|
|
10
10
|
declare const usePrintViewModel: (component: LitElement & Pick<PrintViewModel, never> & import('../../controllers/useViewModel').ViewModelControllerUses<PrintViewModel>) => PrintViewModel;
|
|
11
11
|
/**
|
|
12
|
-
* The Print
|
|
12
|
+
* The Print component connects your application with a [printing service](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-the-portal-to-print-maps.htm) to allow the map to be printed.
|
|
13
13
|
* It takes advantage of server-side, high-quality, full cartographic print functionality using the ExportWebMap service of ArcGIS,
|
|
14
14
|
* which can be configured with custom layout templates. One is provided that shows the map only, while another provides a layout with legend, etc.
|
|
15
|
-
* The Print
|
|
15
|
+
* The Print component works with the [print](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-print.html) module, which generates a printer-ready version of the map.
|
|
16
16
|
*
|
|
17
|
-
* The Print
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* preserved. Use [TemplateOptions.scaleEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-TemplateOptions.html#scaleEnabled) to preserve scale
|
|
21
|
-
* instead.
|
|
17
|
+
* The Print component uses the ArcGIS Online print service by default, but it can be configured to use a custom print service with the [printServiceUrl](#printServiceUrl) property.
|
|
18
|
+
* The component can preserve map scale or map extent in the printout. By default, the map extent is preserved. Use
|
|
19
|
+
* [TemplateOptions.scaleEnabled](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-TemplateOptions.html#scaleEnabled) to preserve scale instead.
|
|
22
20
|
*
|
|
23
|
-
* The Print
|
|
21
|
+
* The Print component prints a localized date for all [layouts](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-PrintTemplate.html#layout)
|
|
24
22
|
* except `map-only`. If using a custom print service, then `customTextElements` are supported for each print
|
|
25
|
-
* template. Values found there will be populated in the Print
|
|
26
|
-
* be overwritten in the Print
|
|
23
|
+
* template. Values found there will be populated in the Print component under `Advanced options`. These values can
|
|
24
|
+
* be overwritten in the Print component UI, or programmatically using the
|
|
27
25
|
* [templateCustomTextElements](#templateCustomTextElements) property.
|
|
28
26
|
*
|
|
29
27
|
* For more information about printing with the `MAP_ONLY` layout, please see
|
|
30
28
|
* [exportOptions](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-PrintTemplate.html#exportOptions).
|
|
31
29
|
*
|
|
32
|
-
* **Known
|
|
30
|
+
* **Known limitations**
|
|
33
31
|
*
|
|
34
32
|
* See [print](https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-print.html) for a detailed list of known limitations.
|
|
35
33
|
*
|
|
@@ -44,9 +42,9 @@ declare const usePrintViewModel: (component: LitElement & Pick<PrintViewModel, n
|
|
|
44
42
|
* const components = document.querySelectorAll("arcgis-print");
|
|
45
43
|
*
|
|
46
44
|
* const portal = new Portal({
|
|
47
|
-
* url: "https://
|
|
45
|
+
* url: "https://user.maps.arcgis.com/sharing",
|
|
48
46
|
* authMode: "immediate",
|
|
49
|
-
* authorizedCrossOriginDomains: ["https://
|
|
47
|
+
* authorizedCrossOriginDomains: ["https://user.maps.arcgis.com"],
|
|
50
48
|
* });
|
|
51
49
|
*
|
|
52
50
|
* components.forEach((component) => {
|
|
@@ -57,10 +55,24 @@ declare const usePrintViewModel: (component: LitElement & Pick<PrintViewModel, n
|
|
|
57
55
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-print/)
|
|
58
56
|
*/
|
|
59
57
|
export declare class ArcgisPrint extends LitElement {
|
|
60
|
-
/**
|
|
58
|
+
/**
|
|
59
|
+
* Indicates whether the component's header is hidden.
|
|
60
|
+
*
|
|
61
|
+
* @default false
|
|
62
|
+
*/
|
|
61
63
|
hideHeader: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* By passing the `id` of the Map or Scene component into this property, you can position components from the `@arcgis/map-components`
|
|
66
|
+
* package anywhere in the DOM while still maintaining a connection to the Map or Scene.
|
|
67
|
+
*
|
|
68
|
+
* See [Associate components with a Map or Scene component](https://developers.arcgis.com/javascript/latest/programming-patterns/#associate-components-with-a-map-or-scene-component).
|
|
69
|
+
*/
|
|
62
70
|
referenceElement?: ArcgisReferenceElement | string;
|
|
63
|
-
/**
|
|
71
|
+
/**
|
|
72
|
+
* The UI position of a component.
|
|
73
|
+
*
|
|
74
|
+
* @default "top-left"
|
|
75
|
+
*/
|
|
64
76
|
position: __esri.UIPosition;
|
|
65
77
|
/**
|
|
66
78
|
* Icon which represents the component.
|
|
@@ -92,16 +104,21 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
92
104
|
* @default "all"
|
|
93
105
|
*/
|
|
94
106
|
allowedLayouts: string | string[];
|
|
107
|
+
/** @internal */
|
|
95
108
|
browseTemplateButtonOnClick?: () => void;
|
|
109
|
+
/**
|
|
110
|
+
* Specifies the print output file format(s) that the user can select when saving the exported map printout.
|
|
111
|
+
* This property can take a string value or an array of string values.
|
|
112
|
+
*/
|
|
96
113
|
allowedFormatsForSaving?: Formats;
|
|
97
|
-
/** The collection of links exported from the Print
|
|
114
|
+
/** The collection of links exported from the Print component. */
|
|
98
115
|
exportedLinks: __esri.Collection<__esri.FileLink>;
|
|
99
116
|
/** This option allows passing extra parameters (in addition to [templateOptions](#templateOptions)) to the print (export webmap) requests. */
|
|
100
117
|
extraParameters: any;
|
|
101
118
|
/**
|
|
102
119
|
* Indicates the heading level to use for the "Exported files" text where users can
|
|
103
120
|
* access the exported map printout. By default, this text is rendered
|
|
104
|
-
* as a level 3 heading (e.g. `<h3>Exported files</h3>`). Depending on the
|
|
121
|
+
* as a level 3 heading (e.g. `<h3>Exported files</h3>`). Depending on the component's placement
|
|
105
122
|
* in your app, you may need to adjust this heading for proper semantics. This is
|
|
106
123
|
* important for meeting accessibility standards.
|
|
107
124
|
*
|
|
@@ -120,23 +137,18 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
120
137
|
* @default false
|
|
121
138
|
*/
|
|
122
139
|
excludeOrganizationTemplates: boolean;
|
|
123
|
-
/**
|
|
124
|
-
* The [spatial reference](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html) used to render
|
|
125
|
-
* the printed map on the server.
|
|
126
|
-
*
|
|
127
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-PrintViewModel.html#outSpatialReference)
|
|
128
|
-
*/
|
|
140
|
+
/** The [spatial reference](https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-SpatialReference.html) used to render the printed map on the server. */
|
|
129
141
|
outSpatialReference: nullish | __esri.SpatialReference;
|
|
130
142
|
/**
|
|
131
143
|
* It is possible to search a specified portal instance's [locator services](https://enterprise.arcgis.com/en/portal/latest/administer/windows/configure-portal-to-geocode-addresses.htm).
|
|
132
144
|
* Use this property to set this [ArcGIS Portal](https://enterprise.arcgis.com/en/portal/) instance to search.
|
|
133
|
-
* This is especially helpful when working with a [custom](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-CustomTemplate.html).
|
|
145
|
+
* This is especially helpful when working with a [custom template](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-CustomTemplate.html).
|
|
134
146
|
*
|
|
135
147
|
* If this property is set, it is not necessary to set the [printServiceUrl](#printServiceUrl) property.
|
|
136
148
|
*/
|
|
137
149
|
portal: __esri.Portal;
|
|
138
150
|
/**
|
|
139
|
-
* The initial state of the print area toggle in the Print
|
|
151
|
+
* The initial state of the print area toggle in the Print component UI.
|
|
140
152
|
* When set to `true`, the print area toggle is enabled by default.
|
|
141
153
|
* When set to `false`, the print area toggle is disabled by default.
|
|
142
154
|
*
|
|
@@ -145,28 +157,30 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
145
157
|
showPrintAreaEnabled: boolean;
|
|
146
158
|
/**
|
|
147
159
|
* The URL of the REST endpoint of the Export Web Map Task.
|
|
148
|
-
*
|
|
160
|
+
* Defaults to the ArcGIS Online print service if this property is not specified.
|
|
161
|
+
* If the [portal](#portal) property is set, this property will use the portal's print service URL.
|
|
149
162
|
*/
|
|
150
163
|
printServiceUrl: string | nullish;
|
|
164
|
+
/** @internal */
|
|
151
165
|
saveAsButtonCallback?: (exportedLink: __esri.FileLink) => Promise<__esri.PortalItem>;
|
|
152
166
|
/**
|
|
153
167
|
* An object containing an array of `customTextElements` name-value pair objects
|
|
154
168
|
* for each print template in a custom print service. Use this property to update
|
|
155
169
|
* the text for custom text elements on the page layout.
|
|
156
170
|
*
|
|
157
|
-
* The Print
|
|
171
|
+
* The Print component calls the `Get Layout Templates Info` task on the GPServer
|
|
158
172
|
* to discover possible `customTextElements` values for each template. The name of
|
|
159
173
|
* the task must match `Get Layout Templates Info`, templates must be published
|
|
160
174
|
* with `customTextElements`, and values must be strings. Values found there will be
|
|
161
|
-
* populated in the Print
|
|
162
|
-
* overwritten in the Print
|
|
175
|
+
* populated in the Print component under `Advanced options`. These values can be
|
|
176
|
+
* overwritten in the Print component UI, or programmatically using this property.
|
|
163
177
|
* To list all print templates available on the print service to see
|
|
164
178
|
* see which templates were published with `customTextElements`, use the
|
|
165
179
|
* [effectiveTemplateCustomTextElements](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-PrintViewModel.html#effectiveTemplateCustomTextElements)
|
|
166
180
|
* property.
|
|
167
181
|
*/
|
|
168
182
|
templateCustomTextElements: nullish | HashMap<HashMap<string>[]>;
|
|
169
|
-
/** Defines the layout template options used by the
|
|
183
|
+
/** Defines the layout template options used by the Print component to generate the print page. */
|
|
170
184
|
templateOptions: __esri.TemplateOptions;
|
|
171
185
|
/**
|
|
172
186
|
* If true, the component will not be destroyed automatically when it is
|
|
@@ -178,14 +192,16 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
178
192
|
* @default false
|
|
179
193
|
*/
|
|
180
194
|
autoDestroyDisabled: boolean;
|
|
181
|
-
/**
|
|
195
|
+
/**
|
|
196
|
+
* Replace localized message strings with your own strings.
|
|
197
|
+
*
|
|
198
|
+
* _**Note**: Individual message keys may change between releases._
|
|
199
|
+
*/
|
|
182
200
|
messageOverrides?: typeof this.messages._overrides;
|
|
183
201
|
/** The component's default label. */
|
|
184
202
|
label?: string;
|
|
185
203
|
/**
|
|
186
|
-
* The
|
|
187
|
-
*
|
|
188
|
-
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Print-PrintViewModel.html#state)
|
|
204
|
+
* The state of the Print component.
|
|
189
205
|
*
|
|
190
206
|
* @default "disabled"
|
|
191
207
|
*/
|
|
@@ -198,9 +214,11 @@ export declare class ArcgisPrint extends LitElement {
|
|
|
198
214
|
}>;
|
|
199
215
|
/** Emitted when the component associated with a map or scene view is is ready to be interacted with. */
|
|
200
216
|
readonly arcgisReady: TargetedEvent<this, void>;
|
|
217
|
+
/** Emitted when the component is complete. */
|
|
201
218
|
readonly arcgisComplete: TargetedEvent<this, {
|
|
202
219
|
link: __esri.FileLink;
|
|
203
220
|
}>;
|
|
221
|
+
/** Emitted when the component is submitted. */
|
|
204
222
|
readonly arcgisSubmit: TargetedEvent<this, {
|
|
205
223
|
link: __esri.FileLink;
|
|
206
224
|
}>;
|
|
@@ -10,7 +10,7 @@ import { g as o } from "../../chunks/globalCss.js";
|
|
|
10
10
|
import { css as v } 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.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
13
|
+
v4.34.0-next.21 */
|
|
14
14
|
const u = v`@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}}`, i = "arcgis-print", s = {
|
|
15
15
|
base: i,
|
|
16
16
|
headerTitle: `${i}__header-title`,
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.21 */
|
|
8
8
|
class d extends u {
|
|
9
9
|
static {
|
|
10
10
|
this.properties = { viewModel: 0 };
|
|
@@ -4,7 +4,7 @@ import { watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
4
4
|
import { LitElement as d, noShadowRoot as c } from "@arcgis/lumina";
|
|
5
5
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
6
6
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.21 */
|
|
8
8
|
function l(s, i, t, e) {
|
|
9
9
|
if (t == null || e == null)
|
|
10
10
|
return { height: 0, width: 0 };
|
|
@@ -3,7 +3,7 @@ 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.34/esri/copyright.txt for details.
|
|
6
|
-
v4.34.0-next.
|
|
6
|
+
v4.34.0-next.21 */
|
|
7
7
|
class c extends l {
|
|
8
8
|
static {
|
|
9
9
|
this.properties = { viewModel: 0, messages: 0, fileName: 1, selectExportsTab: 0, arcgisSubmit: 0, arcgisComplete: 0 };
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.21 */
|
|
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.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.21 */
|
|
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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.21 */
|
|
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.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.21 */
|
|
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
|
};
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.21 */
|
|
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`,
|
|
@@ -7,7 +7,7 @@ import { u as c } from "../../chunks/useHandles.js";
|
|
|
7
7
|
import { watch as r } 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.34/esri/copyright.txt for details.
|
|
10
|
-
v4.34.0-next.
|
|
10
|
+
v4.34.0-next.21 */
|
|
11
11
|
const p = o`calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`;
|
|
12
12
|
class n extends i {
|
|
13
13
|
constructor() {
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.21 */
|
|
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
|
};
|
|
@@ -5,7 +5,7 @@ import { LitElement as o, safeClassMap as a } 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.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.21 */
|
|
9
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)}`, s = "arcgis-print", t = {
|
|
10
10
|
advancedOptionsSection: `${s}__advanced-options-section`,
|
|
11
11
|
mapOnlySection: `${s}__map-only-section`,
|
|
@@ -6,7 +6,7 @@ import { LitElement as d, safeClassMap as n } from "@arcgis/lumina";
|
|
|
6
6
|
import { css as f } 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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.21 */
|
|
10
10
|
const m = f`.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)}`, l = "arcgis-print", s = {
|
|
11
11
|
srLabel: `${l}__sr-label`,
|
|
12
12
|
invalidWkidText: `${l}__invalid-wkid-text`
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
7
|
-
v4.34.0-next.
|
|
7
|
+
v4.34.0-next.21 */
|
|
8
8
|
class n extends s {
|
|
9
9
|
constructor() {
|
|
10
10
|
super(...arguments), this._showPrintAreaEnabled = !1;
|
|
@@ -5,7 +5,7 @@ import { LitElement as p, safeClassMap as i } 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.34/esri/copyright.txt for details.
|
|
8
|
-
v4.34.0-next.
|
|
8
|
+
v4.34.0-next.21 */
|
|
9
9
|
const u = 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}`, l = "arcgis-print", c = {
|
|
10
10
|
scaleInfoContainer: `${l}__scale-info-container`,
|
|
11
11
|
scaleInputContainer: `${l}__scale-input-container`,
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.21 */
|
|
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.34/esri/copyright.txt for details.
|
|
11
|
-
v4.34.0-next.
|
|
11
|
+
v4.34.0-next.21 */
|
|
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`,
|
|
@@ -18,7 +18,7 @@ declare const useScaleBarViewModel: (component: LitElement & Pick<ScaleBarViewMo
|
|
|
18
18
|
* When the scale bar is inside the map, the actual location of the scale bar is used to calculate the scale.
|
|
19
19
|
* Otherwise, the center of the map is used to calculate the scale.
|
|
20
20
|
*
|
|
21
|
-
* **Known
|
|
21
|
+
* **Known limitations**
|
|
22
22
|
*
|
|
23
23
|
* - This component is not currently supported within a Scene component.
|
|
24
24
|
*
|
|
@@ -52,7 +52,11 @@ export declare class ArcgisScaleBar extends LitElement {
|
|
|
52
52
|
icon?: string;
|
|
53
53
|
/** The component's default label. */
|
|
54
54
|
label?: string;
|
|
55
|
-
/**
|
|
55
|
+
/**
|
|
56
|
+
* Replace localized message strings with your own strings.
|
|
57
|
+
*
|
|
58
|
+
* _**Note**: Individual message keys may change between releases._
|
|
59
|
+
*/
|
|
56
60
|
messageOverrides?: typeof this.messages._overrides;
|
|
57
61
|
/** @default "top-left" */
|
|
58
62
|
position: __esri.UIPosition;
|
|
@@ -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.34/esri/copyright.txt for details.
|
|
15
|
-
v4.34.0-next.
|
|
15
|
+
v4.34.0-next.21 */
|
|
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.34/esri/copyright.txt for details.
|
|
9
|
-
v4.34.0-next.
|
|
9
|
+
v4.34.0-next.21 */
|
|
10
10
|
const r = n`@layer{arcgis-scale-range-slider{display:block}}`, c = o(t);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -6,7 +6,7 @@ import { default as WebScene } from '@arcgis/core/WebScene.js';
|
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
7
|
import { Use } from '@arcgis/lumina/controllers';
|
|
8
8
|
|
|
9
|
-
declare const useWebScene: (component: LitElement & Omit<Pick<WebScene, "basemap" | "ground" | "clippingArea" | "layers" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "clippingEnabled" | "heightModelInfo">, "basemap" | "ground" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "layers" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "clippingEnabled" | "heightModelInfo"> & {
|
|
9
|
+
declare const useWebScene: (component: LitElement & Omit<Pick<WebScene, "basemap" | "focusAreas" | "ground" | "clippingArea" | "layers" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "clippingEnabled" | "heightModelInfo">, "basemap" | "ground" | ("destroyed" | "initialized" | "declaredClass" | "set" | "watch" | "addHandles" | "removeHandles" | "hasHandles") | "layers" | "tables" | "presentation" | "widgets" | "applicationProperties" | "authoringApp" | "authoringAppVersion" | "floorInfo" | "initialViewProperties" | "portalItem" | "thumbnailUrl" | "clippingEnabled" | "heightModelInfo"> & {
|
|
10
10
|
autoDestroyDisabled: boolean;
|
|
11
11
|
destroy: () => Promise<void>;
|
|
12
12
|
}) => WebScene;
|
|
@@ -226,12 +226,22 @@ export declare class ArcgisScene extends LitElement {
|
|
|
226
226
|
* It can filter the map display on floor-aware layers by zero or more level IDs.
|
|
227
227
|
*/
|
|
228
228
|
floors: __esri.Collection<string>;
|
|
229
|
+
/**
|
|
230
|
+
* A container of all [focus areas](https://developers.arcgis.com/javascript/latest/api-reference/esri-effects-FocusAreas.html) present in the map.
|
|
231
|
+
*
|
|
232
|
+
* [Read more...](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#focusAreas)
|
|
233
|
+
*
|
|
234
|
+
* @since 4.33
|
|
235
|
+
*/
|
|
236
|
+
get focusAreas(): __esri.FocusAreas;
|
|
237
|
+
set focusAreas(newValue: __esri.FocusAreas);
|
|
229
238
|
/** Gamepad input specific configuration settings. */
|
|
230
239
|
get gamepad(): __esri.GamepadSettings;
|
|
231
240
|
/**
|
|
232
241
|
* Allows for adding graphics directly to the default graphics in the view.
|
|
233
|
-
*
|
|
234
|
-
*
|
|
242
|
+
*
|
|
243
|
+
* @example
|
|
244
|
+
* ```js
|
|
235
245
|
* // Adds a graphic to the View
|
|
236
246
|
* graphics.add(pointGraphic);
|
|
237
247
|
* // Removes a graphic from the View
|
|
@@ -291,7 +301,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
291
301
|
/** The magnifier allows for showing a portion of the view as a magnifier image on top of the view. */
|
|
292
302
|
readonly magnifier: __esri.Magnifier;
|
|
293
303
|
/** An instance of a [Map](https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html) object to display in the view. */
|
|
294
|
-
map: __esri.Map;
|
|
304
|
+
map: __esri.Map | nullish;
|
|
295
305
|
/**
|
|
296
306
|
* Indication whether the view is being navigated (for example when panning).
|
|
297
307
|
*
|
|
@@ -499,7 +509,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
499
509
|
* Returns [hit test results](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html#HitTestResult)
|
|
500
510
|
* from each layer that intersects the specified screen coordinates.
|
|
501
511
|
*
|
|
502
|
-
* ```
|
|
512
|
+
* ```js
|
|
503
513
|
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
504
514
|
* viewElement.hitTest(event.detail).then((response) => {
|
|
505
515
|
* const result = response.results[0];
|
|
@@ -535,8 +545,18 @@ export declare class ArcgisScene extends LitElement {
|
|
|
535
545
|
/** Call this method to clear any fatal errors resulting from a lost WebGL context. */
|
|
536
546
|
tryFatalErrorRecovery(): Promise<void>;
|
|
537
547
|
/**
|
|
538
|
-
* `viewOnReady()` may be leveraged once an instance of the component is created and ready.
|
|
539
|
-
* This method takes two input parameters
|
|
548
|
+
* `viewOnReady()` may be leveraged once an instance of the component and its underlying [view](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#view) is created and ready.
|
|
549
|
+
* This method takes two input parameters, a `callback` function and an `errback` function, and returns a promise. The `callback` executes when the promise resolves, and the `errback` executes if the promise is rejected.
|
|
550
|
+
*
|
|
551
|
+
* @since 4.33
|
|
552
|
+
* @see [Watch for changes - waiting for components or views to be ready](https://next.gha.afd.arcgis.com/javascript/latest/watch-for-changes/#waiting-for-components-or-views-to-be-ready)
|
|
553
|
+
* @example
|
|
554
|
+
* ```js
|
|
555
|
+
* const viewElement = document.querySelector("arcgis-scene");
|
|
556
|
+
* await viewElement.viewOnReady();
|
|
557
|
+
* // The view is now ready to be used.
|
|
558
|
+
* viewElement.map.add(new FeatureLayer({...}));
|
|
559
|
+
* ```
|
|
540
560
|
*/
|
|
541
561
|
viewOnReady(callback?: () => void, errback?: (error: Error) => void): Promise<void>;
|
|
542
562
|
/**
|
|
@@ -567,7 +587,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
567
587
|
/**
|
|
568
588
|
* Fires after a user clicks on the view.
|
|
569
589
|
*
|
|
570
|
-
* ```
|
|
590
|
+
* ```js
|
|
571
591
|
* viewElement.addEventListener("arcgisViewClick", (event) => {
|
|
572
592
|
* viewElement.hitTest(event.detail).then((response) => {
|
|
573
593
|
* const result = response.results[0];
|
|
@@ -680,7 +700,7 @@ export declare class ArcgisScene extends LitElement {
|
|
|
680
700
|
* property and will be emitted when the view is ready.
|
|
681
701
|
* This event will also emit if the [map](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/#map) property is changed.
|
|
682
702
|
*
|
|
683
|
-
* ```
|
|
703
|
+
* ```js
|
|
684
704
|
* viewElement.addEventListener("arcgisViewReadyChange", () => {
|
|
685
705
|
* const layer = new GraphicsLayer({ title: "My layer"});
|
|
686
706
|
* viewElement.map.add(layer);
|
|
@@ -6,11 +6,11 @@ import w from "@arcgis/core/views/SceneView.js";
|
|
|
6
6
|
import m from "@arcgis/core/WebScene.js";
|
|
7
7
|
import { LitElement as p, createEvent as a, noShadowRoot as v } from "@arcgis/lumina";
|
|
8
8
|
import { makeAccessorController as r, reEmitEvent as t, reCreateAccessor as l } from "@arcgis/lumina/controllers/accessor";
|
|
9
|
-
import { b as
|
|
9
|
+
import { b as g, p as d, c as u, i as y } 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.34/esri/copyright.txt for details.
|
|
13
|
-
v4.34.0-next.
|
|
13
|
+
v4.34.0-next.21 */
|
|
14
14
|
const b = f`@layer{arcgis-scene{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, V = r(m, {}), E = r(w, {});
|
|
15
15
|
class P extends p {
|
|
16
16
|
constructor() {
|
|
@@ -19,7 +19,7 @@ class P extends p {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
|
-
this.properties = { _map: 16, view: 32, allLayerViews: 0, alphaCompositingEnabled: 5, analyses: 0, autoDestroyDisabled: 5, basemap: 1, basemapView: 0, camera: 0, cameraFov: 9, cameraHeading: 9, cameraPosition: 1, cameraTilt: 9, center: 1, clippingArea: 0, constraints: 0, displayFilterDisabled: 5, environment: 0, extent: 0, fatalError: 0, floors: 0, gamepad: 32, graphics: 0, ground: 1, groundView: 0, highlights: 0, highlightOptions: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, performanceInfo: 32, popup: 0, popupDisabled: 5, qualityProfile: 1, ready: 4, resolution: 32, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, updating: 4, viewingMode: 1, viewpoint: 0, visibleArea: 0, zoom: 9 };
|
|
22
|
+
this.properties = { _map: 16, view: 32, allLayerViews: 0, alphaCompositingEnabled: 5, analyses: 0, autoDestroyDisabled: 5, basemap: 1, basemapView: 0, camera: 0, cameraFov: 9, cameraHeading: 9, cameraPosition: 1, cameraTilt: 9, center: 1, clippingArea: 0, constraints: 0, displayFilterDisabled: 5, environment: 0, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, groundView: 0, highlights: 0, highlightOptions: 0, interacting: 32, itemId: 3, layerViews: 0, magnifier: 0, map: 0, navigating: 32, navigation: 0, padding: 0, performanceInfo: 32, popup: 0, popupDisabled: 5, qualityProfile: 1, ready: 4, resolution: 32, scale: 9, spatialReference: 0, stationary: 32, suspended: 7, theme: 0, timeExtent: 0, updating: 4, viewingMode: 1, viewpoint: 0, visibleArea: 0, zoom: 9 };
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
25
|
this.shadowRootOptions = v;
|
|
@@ -31,7 +31,7 @@ class P extends p {
|
|
|
31
31
|
return this.view.camera;
|
|
32
32
|
}
|
|
33
33
|
set camera(i) {
|
|
34
|
-
|
|
34
|
+
g(this.camera, i) || (this.view.camera = i);
|
|
35
35
|
}
|
|
36
36
|
get cameraFov() {
|
|
37
37
|
const { view: i } = this;
|
|
@@ -59,7 +59,7 @@ class P extends p {
|
|
|
59
59
|
return e ? new c(e) : void 0;
|
|
60
60
|
}
|
|
61
61
|
set cameraPosition(i) {
|
|
62
|
-
const e =
|
|
62
|
+
const e = d(this.view.camera?.position, i);
|
|
63
63
|
e && this._mutateCamera((h) => {
|
|
64
64
|
h.position = e;
|
|
65
65
|
});
|
|
@@ -77,7 +77,7 @@ class P extends p {
|
|
|
77
77
|
return this.view.center;
|
|
78
78
|
}
|
|
79
79
|
set center(i) {
|
|
80
|
-
const e =
|
|
80
|
+
const e = u(i, this.view);
|
|
81
81
|
e && (this.view.center = e);
|
|
82
82
|
}
|
|
83
83
|
get extent() {
|
|
@@ -86,6 +86,15 @@ class P extends p {
|
|
|
86
86
|
set extent(i) {
|
|
87
87
|
i && !this.extent.equals(i) && (this.view.extent = i);
|
|
88
88
|
}
|
|
89
|
+
get focusAreas() {
|
|
90
|
+
return this.map ? this.map?.focusAreas : {
|
|
91
|
+
areas: [],
|
|
92
|
+
style: "bright"
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
set focusAreas(i) {
|
|
96
|
+
this.map && (this.map.focusAreas = i);
|
|
97
|
+
}
|
|
89
98
|
get gamepad() {
|
|
90
99
|
return this.view.input.gamepad;
|
|
91
100
|
}
|
|
@@ -120,7 +129,7 @@ class P extends p {
|
|
|
120
129
|
return this.view.viewpoint;
|
|
121
130
|
}
|
|
122
131
|
set viewpoint(i) {
|
|
123
|
-
|
|
132
|
+
y(this.viewpoint, i) && (this.view.viewpoint = i);
|
|
124
133
|
}
|
|
125
134
|
get zoom() {
|
|
126
135
|
return this.view.zoom;
|
|
@@ -129,16 +138,16 @@ class P extends p {
|
|
|
129
138
|
this.view.zoom = i;
|
|
130
139
|
}
|
|
131
140
|
async addLayer(i, e) {
|
|
132
|
-
this.map
|
|
141
|
+
this.map?.add(i, e);
|
|
133
142
|
}
|
|
134
143
|
async addLayers(i, e) {
|
|
135
|
-
this.map
|
|
144
|
+
this.map?.addMany(i, e);
|
|
136
145
|
}
|
|
137
146
|
async addTable(i) {
|
|
138
|
-
this.map
|
|
147
|
+
this.map?.tables.add(i);
|
|
139
148
|
}
|
|
140
149
|
async addTables(i, e) {
|
|
141
|
-
this.map
|
|
150
|
+
this.map?.tables.addMany(i, e);
|
|
142
151
|
}
|
|
143
152
|
async closePopup() {
|
|
144
153
|
this.view.closePopup();
|
|
@@ -182,7 +191,9 @@ class P extends p {
|
|
|
182
191
|
}
|
|
183
192
|
loaded() {
|
|
184
193
|
this.map ||= this._map, this.manager.onLifecycle(() => [
|
|
185
|
-
s(() => this.map, () =>
|
|
194
|
+
s(() => this.map, (i) => {
|
|
195
|
+
i && (this._map = i);
|
|
196
|
+
}, { initial: !0, sync: !0 }),
|
|
186
197
|
s(() => this.view.stationary, () => this.arcgisViewChange.emit(), { initial: !0 }),
|
|
187
198
|
s(() => this.view.ready, (i) => {
|
|
188
199
|
i && (this.camera = this.view.camera.clone().set(this._cameraProperties), this._cameraProperties = {}), this.arcgisViewReadyChange.emit();
|