@arcgis/map-components 4.33.0-next.162 → 4.33.0-next.164
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/{OOXM35P4.js → 22YX3GRL.js} +2 -2
- package/dist/cdn/{H7QJ4KWS.js → 2W3ZBJI4.js} +2 -2
- package/dist/cdn/{EO3GJEZP.js → 2X3RTWGN.js} +2 -2
- package/dist/cdn/{JRAWBFDZ.js → 2XY2SAQ5.js} +2 -2
- package/dist/cdn/{S5QI37SL.js → 2YN4EEAH.js} +2 -2
- package/dist/cdn/{TYM4VBG2.js → 2ZHXCW7L.js} +2 -2
- package/dist/cdn/{H7ONBPMG.js → 332TKXGO.js} +2 -2
- package/dist/cdn/{2MDHFB5B.js → 37FH7NCJ.js} +2 -2
- package/dist/cdn/{PJFCNQLI.js → 3CN64Z3G.js} +2 -2
- package/dist/cdn/{BVPUC4MS.js → 3W5CEABB.js} +2 -2
- package/dist/cdn/{6LFHIKZJ.js → 3X73NON6.js} +2 -2
- package/dist/cdn/{6YWYMGYH.js → 462OQUTO.js} +2 -2
- package/dist/cdn/47Q6B6AD.js +4 -0
- package/dist/cdn/{XTOHS3WU.js → 4GZOXS62.js} +2 -2
- package/dist/cdn/4KI4V2YA.js +4 -0
- package/dist/cdn/{XJBYMNTX.js → 4MSXECTG.js} +2 -2
- package/dist/cdn/{NPRWZKZF.js → 4MXASSTU.js} +2 -2
- package/dist/cdn/{PAFUTE3V.js → 4QUYVVLK.js} +2 -2
- package/dist/cdn/{JO7JVUY5.js → 4TF3PON7.js} +2 -2
- package/dist/cdn/{DW57NHR3.js → 4ZIV53M5.js} +2 -2
- package/dist/cdn/{OIMKNHX4.js → 5DQP4WI4.js} +2 -2
- package/dist/cdn/{5WANEHNL.js → 5GTIQQZ2.js} +2 -2
- package/dist/cdn/{CPQHNZ43.js → 5J5WEVND.js} +2 -2
- package/dist/cdn/{34U24X5X.js → 5LBMEMFD.js} +2 -2
- package/dist/cdn/{X73I6ZVJ.js → 5NUO6LTP.js} +2 -2
- package/dist/cdn/{QK53FQVU.js → 5QGY7MH2.js} +2 -2
- package/dist/cdn/{ADIH2ADD.js → 5V4YEUOK.js} +2 -2
- package/dist/cdn/{FHDRQ7D6.js → 5WXE4RGK.js} +2 -2
- package/dist/cdn/{GJ5CSTKJ.js → 5XQPAKHU.js} +2 -2
- package/dist/cdn/67VNMMPB.js +4 -0
- package/dist/cdn/{TJKBMX52.js → 6DL5ZDRY.js} +1 -1
- package/dist/cdn/{MEPK7G7D.js → 6EIFPKPN.js} +2 -2
- package/dist/cdn/{RFKIBBWN.js → 6I3TMMUE.js} +2 -2
- package/dist/cdn/{IH5QUVWR.js → 6IYZKPVI.js} +2 -2
- package/dist/cdn/{XZ3KV5TB.js → 6O25OFWE.js} +2 -2
- package/dist/cdn/{JWHXFRLC.js → 72ZPPZ2C.js} +2 -2
- package/dist/cdn/7IMMJJ6B.js +4 -0
- package/dist/cdn/{R3LJ3CM5.js → 7QVPZ2I2.js} +2 -2
- package/dist/cdn/{XTUWGXMO.js → 7ZRBN3HX.js} +2 -2
- package/dist/cdn/{W3OHUBHJ.js → B2THQCUW.js} +2 -2
- package/dist/cdn/{G2AIYDCS.js → B6QALHMT.js} +2 -2
- package/dist/cdn/{MHULE4RB.js → BASQ3TIQ.js} +2 -2
- package/dist/cdn/{UAVEGFN5.js → BJXLW3YE.js} +2 -2
- package/dist/cdn/{MFZYHT2E.js → BYDSF6IE.js} +2 -2
- package/dist/cdn/C5IWC2EH.js +4 -0
- package/dist/cdn/{5I6ZHANF.js → CBMVOGY3.js} +2 -2
- package/dist/cdn/{PQHFVXA6.js → CDOJOY4F.js} +2 -2
- package/dist/cdn/{Z5S6FG4Z.js → CFAWS2PJ.js} +2 -2
- package/dist/cdn/{KODC4JVQ.js → ERIDHZ3A.js} +2 -2
- package/dist/cdn/{W6LDYUV6.js → EVUABUUN.js} +2 -2
- package/dist/cdn/{V5RFQ3K3.js → F4NMNVYT.js} +2 -2
- package/dist/cdn/{NPUEU3PT.js → F65QBMQP.js} +2 -2
- package/dist/cdn/{CVSG65KE.js → FKVC26CR.js} +2 -2
- package/dist/cdn/{MFTCAIOR.js → G7P4NJ52.js} +2 -2
- package/dist/cdn/{MD7WT24X.js → GBFJA35L.js} +2 -2
- package/dist/cdn/{AXF5TOLA.js → GWRVZ7OQ.js} +2 -2
- package/dist/cdn/{AO4X2QCZ.js → HKWH7XJW.js} +1 -1
- package/dist/cdn/{DBSPQA6N.js → HVTIE6N7.js} +2 -2
- package/dist/cdn/{IMAHRGWJ.js → HYBIME5J.js} +2 -2
- package/dist/cdn/{K45FEQS4.js → IANHGUYH.js} +2 -2
- package/dist/cdn/{QHWMATY5.js → IMO3JDOU.js} +2 -2
- package/dist/cdn/{K3I6UVSI.js → J7TEIQCC.js} +2 -2
- package/dist/cdn/{ZDW63R4H.js → JHR464ES.js} +2 -2
- package/dist/cdn/{OMDFVDEO.js → JIL27VXJ.js} +2 -2
- package/dist/cdn/{NWCW5L4X.js → JRGVHZJK.js} +2 -2
- package/dist/cdn/{ZSCTPFGS.js → K6Z5CLAM.js} +2 -2
- package/dist/cdn/{L2KX5K4R.js → KD6RY7OT.js} +2 -2
- package/dist/cdn/{RX5MST3V.js → KIZYQ7TU.js} +2 -2
- package/dist/cdn/{6RMRVNTR.js → KUSBAABV.js} +2 -2
- package/dist/cdn/LBFCSKBR.js +4 -0
- package/dist/cdn/{7FB5EX7X.js → LH27CRJJ.js} +2 -2
- package/dist/cdn/{YX2NWTKN.js → MCZTIWUR.js} +2 -2
- package/dist/cdn/{RVUBAZGB.js → MRPGQWLH.js} +2 -2
- package/dist/cdn/{QV6KUBU7.js → MYQYAUTV.js} +2 -2
- package/dist/cdn/{L2T2EOIK.js → NAO26MHQ.js} +2 -2
- package/dist/cdn/{LECZU53J.js → NCWTJNR2.js} +2 -2
- package/dist/cdn/{L7TKZP76.js → NMNIJINE.js} +2 -2
- package/dist/cdn/{WR7Z5RDX.js → NXHSZ4NQ.js} +2 -2
- package/dist/cdn/{TTXJYB7M.js → NXVDVF3X.js} +2 -2
- package/dist/cdn/{752JG3WG.js → O2WVVOX3.js} +2 -2
- package/dist/cdn/{APOT5SNP.js → OGRQYHMZ.js} +1 -1
- package/dist/cdn/{CW4PSI3V.js → OLHML6L5.js} +2 -2
- package/dist/cdn/{I5ME3OFN.js → OLKV3PDL.js} +2 -2
- package/dist/cdn/{JVXMNA3I.js → OSS6OKA6.js} +2 -2
- package/dist/cdn/{RICQAG2P.js → PPY2GFZP.js} +2 -2
- package/dist/cdn/{FMQ4ABPQ.js → PQSADOC2.js} +1 -1
- package/dist/cdn/{JI4LFELT.js → PVKE2MHY.js} +2 -2
- package/dist/cdn/{4MMR5CDR.js → QSZ4TAA2.js} +2 -2
- package/dist/cdn/QUQU4YRW.js +4 -0
- package/dist/cdn/{XXFUJVIT.js → QXDHKXHM.js} +2 -2
- package/dist/cdn/{NBC47AEW.js → R76CW65M.js} +2 -2
- package/dist/cdn/{S3GQ2SNQ.js → R7A5TPEF.js} +2 -2
- package/dist/cdn/{7A3XYM2T.js → R7VGQBB2.js} +2 -2
- package/dist/cdn/{4QJ6FQSB.js → RE6KHO2G.js} +1 -1
- package/dist/cdn/{VU5HVWFY.js → RJJZNSLS.js} +2 -2
- package/dist/cdn/{77T4GLZY.js → RJSH2KXF.js} +1 -1
- package/dist/cdn/{2XI6PC4I.js → RL6DVVDC.js} +2 -2
- package/dist/cdn/{4GMZHRDV.js → RLWWHPUY.js} +1 -1
- package/dist/cdn/{WNFCCFUT.js → ROGY7HJF.js} +2 -2
- package/dist/cdn/{T57D4PK7.js → SEMJXWW3.js} +1 -1
- package/dist/cdn/{M3QCWRZA.js → SGCWEFZD.js} +2 -2
- package/dist/cdn/SQGE7QCT.js +4 -0
- package/dist/cdn/{P5YZOKTI.js → SRS75ZAP.js} +2 -2
- package/dist/cdn/{3ILDULY6.js → TAQ5QANG.js} +2 -2
- package/dist/cdn/{7Y35GA3H.js → TDVOZGKQ.js} +2 -2
- package/dist/cdn/{TWHQFR5Z.js → THTPNCHE.js} +2 -2
- package/dist/cdn/{RIALQIK7.js → TIIRBPYX.js} +2 -2
- package/dist/cdn/{2DRORWYC.js → U4BTQL72.js} +2 -2
- package/dist/cdn/{M4A7CSA3.js → V4E754SB.js} +2 -2
- package/dist/cdn/{GI5SR5TQ.js → W4HDHPV7.js} +2 -2
- package/dist/cdn/{EAK2C4AS.js → W7FB4G3S.js} +2 -2
- package/dist/cdn/{5Y3KKXAR.js → WIUVV3KF.js} +2 -2
- package/dist/cdn/{ZK7ORKHE.js → WXUUMPPC.js} +2 -2
- package/dist/cdn/{LZULSZRX.js → XBSX7KWN.js} +2 -2
- package/dist/cdn/{4LQBVZWP.js → YLZJVYFT.js} +2 -2
- package/dist/cdn/{WNHFJV7J.js → YWHLRJRM.js} +2 -2
- package/dist/cdn/{TWV7JSDP.js → Z4RPC6YM.js} +2 -2
- package/dist/cdn/{AHOFXAIX.js → Z73AH5SE.js} +2 -2
- package/dist/cdn/{4EEQ7GYJ.js → ZARJZ5D3.js} +2 -2
- 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 +102 -6
- 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 +20 -15
- 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 +12 -11
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +104 -7
- 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.d.ts +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 -23
- 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 +5 -4
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +6 -7
- 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 +28 -43
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +19 -25
- 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 +59 -14
- 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.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 +5 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +134 -138
- package/dist/docs/docs.json +103 -111
- package/dist/docs/vscode.html-custom-data.json +42 -48
- package/dist/docs/web-types.json +105 -101
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/package.json +3 -3
- package/dist/cdn/EOXZYCYH.js +0 -4
- package/dist/cdn/JDT46Y5J.js +0 -4
- package/dist/cdn/L3SJHOMT.js +0 -4
- package/dist/cdn/LY3RCR27.js +0 -4
- package/dist/cdn/N2W6ZCZW.js +0 -4
- package/dist/cdn/THEFGCDI.js +0 -4
- package/dist/cdn/TIGVS5YJ.js +0 -4
- package/dist/cdn/ZXE2K6BY.js +0 -4
|
@@ -23,6 +23,10 @@ declare const useViewModel: (component: LitElement & Pick<LineOfSightViewModel,
|
|
|
23
23
|
* and any further clicks place the [targets](https://developers.arcgis.com/javascript/latest/api-reference/esri-analysis-LineOfSightAnalysisTarget.html).
|
|
24
24
|
* Both, observer and target points, can be moved by dragging them. Additionally, the target points can be removed with a right click.
|
|
25
25
|
*
|
|
26
|
+
* **Known limitations**
|
|
27
|
+
*
|
|
28
|
+
* Line Of Sight is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
29
|
+
*
|
|
26
30
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/)
|
|
27
31
|
*/
|
|
28
32
|
export declare class ArcgisLineOfSight extends LitElement {
|
|
@@ -76,10 +80,7 @@ export declare class ArcgisLineOfSight extends LitElement {
|
|
|
76
80
|
get state(): "created" | "creating" | "disabled" | "ready";
|
|
77
81
|
/** Clear the current analysis results. After calling this method, the user can set a new observer and targets. */
|
|
78
82
|
clear(): Promise<void>;
|
|
79
|
-
/**
|
|
80
|
-
* After [stop()](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-line-of-sight/#stop)
|
|
81
|
-
* was called, this method allows to continue the line of sight analysis and add more targets.
|
|
82
|
-
*/
|
|
83
|
+
/** After [stop()](#stop) was called, this method allows to continue the line of sight analysis and add more targets. */
|
|
83
84
|
continue(): Promise<void>;
|
|
84
85
|
/** Permanently destroy the component. */
|
|
85
86
|
destroy(): Promise<void>;
|
|
@@ -11,7 +11,7 @@ import x from "@arcgis/core/analysis/LineOfSightAnalysis.js";
|
|
|
11
11
|
import { property as O, subclass as A } from "@arcgis/core/core/accessorSupport/decorators.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.164 */
|
|
15
15
|
const C = w`@layer{arcgis-line-of-sight{display:block}.arcgis-line-of-sight__container{display:flex;position:relative;flex-flow:column;gap:var(--calcite-spacing-md);padding:var(--esri-widget-padding);overflow-y:auto}.arcgis-line-of-sight__error{color:var(--calcite-color-status-danger)}.arcgis-line-of-sight__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-line-of-sight__error,.arcgis-line-of-sight__hint{overflow:hidden;animation:arcgis-line-of-sight-fade-in .25s ease-in-out;p{margin:0;padding:0}}.arcgis-line-of-sight__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}@keyframes arcgis-line-of-sight-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`, a = "arcgis-line-of-sight", r = {
|
|
16
16
|
base: a,
|
|
17
17
|
actions: `${a}__actions`,
|
|
@@ -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.164 */
|
|
12
12
|
const g = m`@layer{arcgis-link-chart{display:block;height:100%;.esri-view{height:100%;width:100%}}}`, d = r(
|
|
13
13
|
w,
|
|
14
14
|
/**
|
|
@@ -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.164 */
|
|
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.164 */
|
|
31
31
|
const ie = K`@layer{arcgis-locate{display:block}}`;
|
|
32
32
|
let M = !1;
|
|
33
33
|
const re = {
|
|
@@ -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.164 */
|
|
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.164 */
|
|
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.164 */
|
|
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",
|
|
@@ -16,7 +16,9 @@ type LayoutMode = "horizontal" | "vertical";
|
|
|
16
16
|
* to rotate the view. When the navigation mode is set to "rotate", the mouse drag gesture rotates the view and
|
|
17
17
|
* right-click + drag pans the view.
|
|
18
18
|
*
|
|
19
|
-
*
|
|
19
|
+
* **Known limitations**
|
|
20
|
+
*
|
|
21
|
+
* Navigation Toggle is only supported in a 3D [Scene](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-scene/) component.
|
|
20
22
|
*
|
|
21
23
|
* [Read more...](https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-navigation-toggle/)
|
|
22
24
|
*/
|
|
@@ -43,13 +45,10 @@ export declare class ArcgisNavigationToggle extends LitElement {
|
|
|
43
45
|
*/
|
|
44
46
|
messageOverrides?: typeof this._messages._overrides;
|
|
45
47
|
/**
|
|
46
|
-
* The navigation mode of the view.
|
|
47
|
-
* possible values.
|
|
48
|
+
* The navigation mode of the view. The possible values:
|
|
48
49
|
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* pan | The mouse drag gesture pans the view. Right-click + drag allows the user to perform a 3D rotate around the center of the view.
|
|
52
|
-
* rotate | The mouse drag gesture performs a 3D rotate around the center of the view and the right-click + drag gesture pans the view.
|
|
50
|
+
* * `pan` - The mouse drag gesture pans the view. Right-click + drag allows the user to perform a 3D rotate around the center of the view.
|
|
51
|
+
* * `rotate` - The mouse drag gesture performs a 3D rotate around the center of the view and the right-click + drag gesture pans the view.
|
|
53
52
|
*
|
|
54
53
|
* @default "pan"
|
|
55
54
|
*/
|
|
@@ -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.164 */
|
|
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.164 */
|
|
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.164 */
|
|
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.164 */
|
|
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.164 */
|
|
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.164 */
|
|
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.164 */
|
|
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.164 */
|
|
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.164 */
|
|
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.164 */
|
|
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.164 */
|
|
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.164 */
|
|
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.164 */
|
|
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.164 */
|
|
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
|
};
|