@arcgis/map-components 4.33.0-next.163 → 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/{GDDLERWA.js → 22YX3GRL.js} +2 -2
- package/dist/cdn/{2C5JL6DO.js → 2W3ZBJI4.js} +2 -2
- package/dist/cdn/{4H57JG34.js → 2X3RTWGN.js} +2 -2
- package/dist/cdn/{CECYJ4XF.js → 2XY2SAQ5.js} +2 -2
- package/dist/cdn/{YX7ZXCDM.js → 2YN4EEAH.js} +2 -2
- package/dist/cdn/{P7W4KR2N.js → 2ZHXCW7L.js} +2 -2
- package/dist/cdn/{OVQ2FBI3.js → 332TKXGO.js} +2 -2
- package/dist/cdn/{LJYZIIIZ.js → 37FH7NCJ.js} +2 -2
- package/dist/cdn/{ASJVAATZ.js → 3CN64Z3G.js} +2 -2
- package/dist/cdn/{ENT4AJB7.js → 3W5CEABB.js} +2 -2
- package/dist/cdn/{566EMTPB.js → 3X73NON6.js} +2 -2
- package/dist/cdn/{SCO36YQJ.js → 462OQUTO.js} +2 -2
- package/dist/cdn/47Q6B6AD.js +4 -0
- package/dist/cdn/{75VV4YIS.js → 4GZOXS62.js} +2 -2
- package/dist/cdn/4KI4V2YA.js +4 -0
- package/dist/cdn/{QUU2SSOG.js → 4MSXECTG.js} +2 -2
- package/dist/cdn/{J3B7RYRA.js → 4MXASSTU.js} +2 -2
- package/dist/cdn/{GNTQCQ6K.js → 4QUYVVLK.js} +2 -2
- package/dist/cdn/{U5HBVCUH.js → 4TF3PON7.js} +2 -2
- package/dist/cdn/{RKNEIQKF.js → 4ZIV53M5.js} +2 -2
- package/dist/cdn/{D2KDASCZ.js → 5DQP4WI4.js} +2 -2
- package/dist/cdn/{3TEXQSG5.js → 5GTIQQZ2.js} +2 -2
- package/dist/cdn/{E2QKTSGJ.js → 5J5WEVND.js} +2 -2
- package/dist/cdn/{2TM4J2HC.js → 5LBMEMFD.js} +2 -2
- package/dist/cdn/{UX7C7JO6.js → 5NUO6LTP.js} +2 -2
- package/dist/cdn/{7WUX6M4U.js → 5QGY7MH2.js} +2 -2
- package/dist/cdn/{ZISJYZSE.js → 5V4YEUOK.js} +2 -2
- package/dist/cdn/{2PLEO7TO.js → 5WXE4RGK.js} +2 -2
- package/dist/cdn/{4YGDO6GD.js → 5XQPAKHU.js} +2 -2
- package/dist/cdn/67VNMMPB.js +4 -0
- package/dist/cdn/{4RNHVPLZ.js → 6DL5ZDRY.js} +1 -1
- package/dist/cdn/{5GAKWQLJ.js → 6EIFPKPN.js} +2 -2
- package/dist/cdn/{DEKCGU76.js → 6I3TMMUE.js} +2 -2
- package/dist/cdn/{C3OP2OTB.js → 6IYZKPVI.js} +2 -2
- package/dist/cdn/{ZDUYWTU4.js → 6O25OFWE.js} +2 -2
- package/dist/cdn/{G72DSFRQ.js → 72ZPPZ2C.js} +2 -2
- package/dist/cdn/7IMMJJ6B.js +4 -0
- package/dist/cdn/{44GOFRXG.js → 7QVPZ2I2.js} +2 -2
- package/dist/cdn/{CVIYSENP.js → 7ZRBN3HX.js} +2 -2
- package/dist/cdn/{UT4FW7UU.js → B2THQCUW.js} +2 -2
- package/dist/cdn/{R2N3C5JM.js → B6QALHMT.js} +2 -2
- package/dist/cdn/{HNXDPNMS.js → BASQ3TIQ.js} +2 -2
- package/dist/cdn/{JA7MZAL4.js → BJXLW3YE.js} +2 -2
- package/dist/cdn/{RO6O65ZA.js → BYDSF6IE.js} +2 -2
- package/dist/cdn/C5IWC2EH.js +4 -0
- package/dist/cdn/{STJWAIHS.js → CBMVOGY3.js} +2 -2
- package/dist/cdn/{UIGLTPI2.js → CDOJOY4F.js} +2 -2
- package/dist/cdn/{CKJNS7YB.js → CFAWS2PJ.js} +2 -2
- package/dist/cdn/{4ZYIRQQU.js → ERIDHZ3A.js} +2 -2
- package/dist/cdn/{LSVP4ALP.js → EVUABUUN.js} +2 -2
- package/dist/cdn/{EXM5T74K.js → F4NMNVYT.js} +2 -2
- package/dist/cdn/{LIUDKQEO.js → F65QBMQP.js} +2 -2
- package/dist/cdn/{RPM2DPRY.js → FKVC26CR.js} +2 -2
- package/dist/cdn/{IA5S6ZIL.js → G7P4NJ52.js} +2 -2
- package/dist/cdn/{ZKO2JNDF.js → GBFJA35L.js} +2 -2
- package/dist/cdn/{D7ZVQG4A.js → GWRVZ7OQ.js} +2 -2
- package/dist/cdn/{HH66I244.js → HKWH7XJW.js} +1 -1
- package/dist/cdn/{2BPSFN2K.js → HVTIE6N7.js} +2 -2
- package/dist/cdn/{PNSZ7F45.js → HYBIME5J.js} +2 -2
- package/dist/cdn/{7R5ANPX3.js → IANHGUYH.js} +2 -2
- package/dist/cdn/{DJEQK3G5.js → IMO3JDOU.js} +2 -2
- package/dist/cdn/{BROPAJES.js → J7TEIQCC.js} +2 -2
- package/dist/cdn/{POZ5PCSD.js → JHR464ES.js} +2 -2
- package/dist/cdn/{43ZTJD57.js → JIL27VXJ.js} +2 -2
- package/dist/cdn/{M365EYNX.js → JRGVHZJK.js} +2 -2
- package/dist/cdn/{UGDDRBLD.js → K6Z5CLAM.js} +2 -2
- package/dist/cdn/{W7GVNXNB.js → KD6RY7OT.js} +2 -2
- package/dist/cdn/{RDBDWVBS.js → KIZYQ7TU.js} +2 -2
- package/dist/cdn/{IIG64SHE.js → KUSBAABV.js} +2 -2
- package/dist/cdn/LBFCSKBR.js +4 -0
- package/dist/cdn/{TNV4ESNY.js → LH27CRJJ.js} +2 -2
- package/dist/cdn/{UOOW2UAV.js → MCZTIWUR.js} +2 -2
- package/dist/cdn/{R5QSYBPN.js → MRPGQWLH.js} +2 -2
- package/dist/cdn/{QAUQTL4Y.js → MYQYAUTV.js} +2 -2
- package/dist/cdn/{IVZ5JFYF.js → NAO26MHQ.js} +2 -2
- package/dist/cdn/{BVVXESUQ.js → NCWTJNR2.js} +2 -2
- package/dist/cdn/{N7AZI3RG.js → NMNIJINE.js} +2 -2
- package/dist/cdn/{4UWZHYS2.js → NXHSZ4NQ.js} +2 -2
- package/dist/cdn/{DUGB7PK7.js → NXVDVF3X.js} +2 -2
- package/dist/cdn/{WXC27O2B.js → O2WVVOX3.js} +2 -2
- package/dist/cdn/{X6GQNGLK.js → OGRQYHMZ.js} +1 -1
- package/dist/cdn/{SY2NVTB3.js → OLHML6L5.js} +2 -2
- package/dist/cdn/{W43IMQPK.js → OLKV3PDL.js} +2 -2
- package/dist/cdn/{JCMVQZIH.js → OSS6OKA6.js} +2 -2
- package/dist/cdn/{XLNB6VAT.js → PPY2GFZP.js} +2 -2
- package/dist/cdn/{GZ55WLJI.js → PQSADOC2.js} +1 -1
- package/dist/cdn/{KMZSQVAN.js → PVKE2MHY.js} +2 -2
- package/dist/cdn/{Q6CWOGIH.js → QSZ4TAA2.js} +2 -2
- package/dist/cdn/QUQU4YRW.js +4 -0
- package/dist/cdn/{DURFPWUB.js → QXDHKXHM.js} +2 -2
- package/dist/cdn/{4HQ2RFD3.js → R76CW65M.js} +2 -2
- package/dist/cdn/{FCIBLXLX.js → R7A5TPEF.js} +2 -2
- package/dist/cdn/{JLMAQLRU.js → R7VGQBB2.js} +2 -2
- package/dist/cdn/{YCVMZZPV.js → RE6KHO2G.js} +1 -1
- package/dist/cdn/{2ZLZJUME.js → RJJZNSLS.js} +2 -2
- package/dist/cdn/{KXK2TPWM.js → RJSH2KXF.js} +1 -1
- package/dist/cdn/{54YQ4ESE.js → RL6DVVDC.js} +2 -2
- package/dist/cdn/{ZSQOHH5X.js → RLWWHPUY.js} +1 -1
- package/dist/cdn/{4ZBS7BRR.js → ROGY7HJF.js} +2 -2
- package/dist/cdn/{XYAXUXVM.js → SEMJXWW3.js} +1 -1
- package/dist/cdn/{M2QPTJAY.js → SGCWEFZD.js} +2 -2
- package/dist/cdn/SQGE7QCT.js +4 -0
- package/dist/cdn/{YMYVVTIE.js → SRS75ZAP.js} +2 -2
- package/dist/cdn/{DSKZY2NZ.js → TAQ5QANG.js} +2 -2
- package/dist/cdn/{AML3DNHD.js → TDVOZGKQ.js} +2 -2
- package/dist/cdn/{76TFSNAR.js → THTPNCHE.js} +2 -2
- package/dist/cdn/{MTTYGBML.js → TIIRBPYX.js} +2 -2
- package/dist/cdn/{DDNQP7YC.js → U4BTQL72.js} +2 -2
- package/dist/cdn/{INF63V36.js → V4E754SB.js} +2 -2
- package/dist/cdn/{RXLPCUXL.js → W4HDHPV7.js} +2 -2
- package/dist/cdn/{S3AKEUNL.js → W7FB4G3S.js} +2 -2
- package/dist/cdn/{IJLIOVUG.js → WIUVV3KF.js} +2 -2
- package/dist/cdn/{LFTMPZBR.js → WXUUMPPC.js} +2 -2
- package/dist/cdn/{M7O2UKFZ.js → XBSX7KWN.js} +2 -2
- package/dist/cdn/{QOIZDUGS.js → YLZJVYFT.js} +2 -2
- package/dist/cdn/{S7FTNK4D.js → YWHLRJRM.js} +2 -2
- package/dist/cdn/{B4IFNJVQ.js → Z4RPC6YM.js} +2 -2
- package/dist/cdn/{Y47VIODW.js → Z73AH5SE.js} +2 -2
- package/dist/cdn/{CK7I5P4C.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.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.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.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.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.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.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.js +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.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- 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.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +22 -12
- package/dist/docs/docs.json +22 -10
- package/dist/docs/vscode.html-custom-data.json +0 -8
- package/dist/docs/web-types.json +5 -5
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/package.json +3 -3
- package/dist/cdn/2A4RYAIN.js +0 -4
- package/dist/cdn/3ORNZSJG.js +0 -4
- package/dist/cdn/E45YHEG2.js +0 -4
- package/dist/cdn/LC5X6KRY.js +0 -4
- package/dist/cdn/P7XTL3VO.js +0 -4
- package/dist/cdn/XCDMDCOP.js +0 -4
- package/dist/cdn/YUY5GP2E.js +0 -4
- package/dist/cdn/ZFQOEYRZ.js +0 -4
|
@@ -5,7 +5,7 @@ import { m as a } from "../../chunks/useWidget.js";
|
|
|
5
5
|
import { css as r } 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 h = r`@layer{arcgis-floor-filter{display:block}}`, n = a(i);
|
|
10
10
|
class c extends s {
|
|
11
11
|
constructor() {
|
|
@@ -9,7 +9,7 @@ import { css as p } from "@lit/reactive-element/css-tag.js";
|
|
|
9
9
|
import { u as h } from "../../chunks/useView.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 g = p`arcgis-fullscreen{display:block}`, E = {
|
|
14
14
|
base: "esri-fullscreen"
|
|
15
15
|
};
|
|
@@ -15,7 +15,7 @@ import { watch as D } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
15
15
|
import L from "@arcgis/core/widgets/support/GridControls/GridControlsViewModel.js";
|
|
16
16
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
17
17
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
18
|
-
v4.33.0-next.
|
|
18
|
+
v4.33.0-next.164 */
|
|
19
19
|
function B(s) {
|
|
20
20
|
if (s == null || Number.isNaN(s))
|
|
21
21
|
return 0;
|
|
@@ -6,7 +6,7 @@ import { m as n } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as d } 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 h = d`@layer{arcgis-histogram-range-slider{display:block}}`, l = n(s);
|
|
11
11
|
class g extends a {
|
|
12
12
|
constructor() {
|
|
@@ -11,7 +11,7 @@ import { g as a } from "../../chunks/globalCss.js";
|
|
|
11
11
|
import { css as u } 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 b = u`@layer{arcgis-home{display:block}}`, y = {
|
|
16
16
|
base: "esri-home"
|
|
17
17
|
}, M = f(d);
|
|
@@ -6,7 +6,7 @@ import { LitElement as m, createEvent as b, safeClassMap as c } from "@arcgis/lu
|
|
|
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.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.164 */
|
|
10
10
|
const g = f`.label{--calcite-label-margin-bottom: 0}.label-content{display:flex;flex:1;gap:var(--calcite-spacing-sm);align-items:center;text-wrap:balance}.label-content>div{flex-grow:1}.icon{margin-top:-1px;&.info{color:var(--calcite-color-status-info)}&.warning{color:var(--calcite-color-status-warning)}}.tooltip{text-wrap:wrap}`, e = {
|
|
11
11
|
label: "label",
|
|
12
12
|
labelContent: "label-content",
|
|
@@ -8,7 +8,7 @@ import { s as n } from "../../chunks/layer-list.js";
|
|
|
8
8
|
import { c as g } from "../../chunks/createCloseEvent.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 c = d(a);
|
|
13
13
|
class m extends r {
|
|
14
14
|
constructor() {
|
|
@@ -10,7 +10,7 @@ import { s as E } from "../../chunks/layer-list.js";
|
|
|
10
10
|
import { u as x } from "../../chunks/useT9n.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
13
|
-
v4.33.0-next.
|
|
13
|
+
v4.33.0-next.164 */
|
|
14
14
|
const D = {
|
|
15
15
|
hideChildren: "hide-children"
|
|
16
16
|
};
|
|
@@ -6,7 +6,7 @@ import { m as o } from "../../chunks/useWidget.js";
|
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
9
|
-
v4.33.0-next.
|
|
9
|
+
v4.33.0-next.164 */
|
|
10
10
|
const l = n`@layer{arcgis-legend{display:block}}`, d = o(i);
|
|
11
11
|
class h extends s {
|
|
12
12
|
constructor() {
|
|
@@ -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",
|
|
@@ -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
|
}
|