@arcgis/map-components 4.33.0-next.121 → 4.33.0-next.122
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/{PUSRBOKZ.js → 2ABGJWCF.js} +2 -2
- package/dist/cdn/{Y4VNGUDR.js → 2U7MA7LV.js} +2 -2
- package/dist/cdn/{LTIXQZXK.js → 3KEGSSLJ.js} +2 -2
- package/dist/cdn/{AZVSDXF4.js → 4X4FP6DB.js} +2 -2
- package/dist/cdn/{ORBV7PWH.js → 4XMEFMRU.js} +2 -2
- package/dist/cdn/{TDQF4IPS.js → 4YVSW35V.js} +2 -2
- package/dist/cdn/{CVBGSQ7G.js → 4ZJA23CU.js} +2 -2
- package/dist/cdn/{D6BWVG5C.js → 553TIX5T.js} +2 -2
- package/dist/cdn/{5VORHRBP.js → 5BYCKMSS.js} +2 -2
- package/dist/cdn/{YSVH3SU3.js → 5SZ73EH3.js} +2 -2
- package/dist/cdn/{WTSAUCBU.js → 65QGJNQH.js} +2 -2
- package/dist/cdn/{UXXS2FOU.js → 6JZCXRKL.js} +2 -2
- package/dist/cdn/{BPG6NCMX.js → 6KONR56H.js} +2 -2
- package/dist/cdn/{SASG2PLN.js → 6LD2PNB5.js} +2 -2
- package/dist/cdn/{PVBWIUA4.js → 6QENSPID.js} +2 -2
- package/dist/cdn/{NWSQFLWN.js → 6TAXPXMG.js} +2 -2
- package/dist/cdn/{L4HK6T63.js → 6UB5UFZR.js} +2 -2
- package/dist/cdn/{4CV4AMFA.js → 6Y2MRCPR.js} +2 -2
- package/dist/cdn/{XYQVYLNL.js → 7CR324PI.js} +2 -2
- package/dist/cdn/{YMGSCHH6.js → 7LSQW2PK.js} +2 -2
- package/dist/cdn/{UJZGNIWS.js → 7PRBBYBE.js} +1 -1
- package/dist/cdn/{K6BJYRJB.js → A3OLZEZU.js} +2 -2
- package/dist/cdn/{A4VIFHZR.js → A4THKXRS.js} +2 -2
- package/dist/cdn/{WJHGSCZQ.js → ANTVVJ55.js} +2 -2
- package/dist/cdn/{E6L4G5UA.js → APZVNEDF.js} +2 -2
- package/dist/cdn/{YIE2PKVK.js → AQJMGL6G.js} +2 -2
- package/dist/cdn/{DJMRNRZI.js → ARMS3TU4.js} +2 -2
- package/dist/cdn/{4XEZZBWD.js → CFV52EML.js} +2 -2
- package/dist/cdn/{ELL5K44P.js → CHL3LUL4.js} +2 -2
- package/dist/cdn/{YREELCEG.js → CIXLLLNS.js} +2 -2
- package/dist/cdn/{EUTFEQGQ.js → CJKFML5M.js} +2 -2
- package/dist/cdn/{K7DY73IQ.js → CLYOGS64.js} +2 -2
- package/dist/cdn/{JQ2DLGG4.js → CMVEKQKP.js} +2 -2
- package/dist/cdn/{OS6VJVY3.js → CP75WQGG.js} +2 -2
- package/dist/cdn/{HHJHDG5A.js → DLNBMUBH.js} +2 -2
- package/dist/cdn/{LDJMUQR4.js → DMI6NOBB.js} +2 -2
- package/dist/cdn/{VN7AHSRH.js → E3UXSVS7.js} +2 -2
- package/dist/cdn/{66ZVW64K.js → E5P6ZDCE.js} +2 -2
- package/dist/cdn/{24KLUTB5.js → E5Y3GHEQ.js} +2 -2
- package/dist/cdn/{HGKEWOHZ.js → EUVLE4XU.js} +2 -2
- package/dist/cdn/{PINUQ4FE.js → F5HFDJ7N.js} +1 -1
- package/dist/cdn/{5NPT5VCN.js → FFGHGMKF.js} +2 -2
- package/dist/cdn/{NOCVTA65.js → G3C6UGRU.js} +2 -2
- package/dist/cdn/{YJU4VPUU.js → G5ZC2WFI.js} +2 -2
- package/dist/cdn/{DH76LTDZ.js → GEGGD6UM.js} +2 -2
- package/dist/cdn/{QYVZLT4N.js → GF2VDAFU.js} +2 -2
- package/dist/cdn/{TCXHQN5J.js → GGR56X2T.js} +2 -2
- package/dist/cdn/{HTBQUUET.js → GWO2HCMG.js} +2 -2
- package/dist/cdn/{6DVXFOVA.js → H4HNQVNH.js} +2 -2
- package/dist/cdn/{NVCQPTMY.js → H7Y65EJG.js} +2 -2
- package/dist/cdn/{Y4R7OYJ5.js → HELZTXUW.js} +1 -1
- package/dist/cdn/{C4HATCGJ.js → JMJ7TLTN.js} +2 -2
- package/dist/cdn/{3VGBOID3.js → JMWTWJII.js} +2 -2
- package/dist/cdn/{NYIBWHJ4.js → JS4BRTPA.js} +2 -2
- package/dist/cdn/{NVPFFWMI.js → JWFAUUIE.js} +2 -2
- package/dist/cdn/{TGKO6K22.js → KAM4KYQP.js} +2 -2
- package/dist/cdn/{QSBSVERA.js → KGUZMVE7.js} +2 -2
- package/dist/cdn/{MW35XXK4.js → KKVDDF56.js} +2 -2
- package/dist/cdn/{24SVIUCM.js → KW2TIXT6.js} +2 -2
- package/dist/cdn/{JJKKSFJ4.js → KZ3G5BH5.js} +2 -2
- package/dist/cdn/{A6CGMAXT.js → LPN6WYG2.js} +2 -2
- package/dist/cdn/{CAZSPSS5.js → M5QPEUZR.js} +2 -2
- package/dist/cdn/{442NHBQ3.js → M63N4HDY.js} +2 -2
- package/dist/cdn/{MZRQDSKY.js → M67JS4A3.js} +1 -1
- package/dist/cdn/{FGB3PI4W.js → M7ZRLDIM.js} +2 -2
- package/dist/cdn/{VJSOCMHN.js → MJZYNPWU.js} +2 -2
- package/dist/cdn/{DTTXRRG6.js → OE63CHRK.js} +1 -1
- package/dist/cdn/{OVEF6XXN.js → OHQ4HQK2.js} +2 -2
- package/dist/cdn/{LX2FXZX2.js → OKYTLE7K.js} +2 -2
- package/dist/cdn/{JRX772RV.js → OP776K75.js} +2 -2
- package/dist/cdn/{RFN7HLUE.js → OTJKMHET.js} +2 -2
- package/dist/cdn/{XU52J677.js → OULLNPNF.js} +2 -2
- package/dist/cdn/{ZPGYPCFC.js → P3JPI62Z.js} +2 -2
- package/dist/cdn/{DUKB5KDS.js → PJLC3PVM.js} +2 -2
- package/dist/cdn/{2WPAWDO3.js → QK5ULE5B.js} +2 -2
- package/dist/cdn/{IMWV3WXS.js → QUVEKKJR.js} +2 -2
- package/dist/cdn/{RE6QCRPJ.js → QUZ6THI5.js} +2 -2
- package/dist/cdn/{SN4AA6PP.js → QYI4XPR5.js} +2 -2
- package/dist/cdn/{Q6M4TSBG.js → R4RT7N7A.js} +2 -2
- package/dist/cdn/{TMFQIMOB.js → RBLNU47V.js} +2 -2
- package/dist/cdn/{VBG2Z5HA.js → RSBAIKF3.js} +2 -2
- package/dist/cdn/{REG4T4GI.js → SDM63TDN.js} +2 -2
- package/dist/cdn/{QC35Y3YW.js → SGNMMJJ5.js} +2 -2
- package/dist/cdn/{JUXCBKFA.js → SJVK3QVY.js} +1 -1
- package/dist/cdn/{XBPR6B4Z.js → SLK56354.js} +2 -2
- package/dist/cdn/{EYA2SNMQ.js → SOH2ZJEI.js} +2 -2
- package/dist/cdn/{RWSDHD4E.js → SRXKFZCM.js} +2 -2
- package/dist/cdn/{MO37BIPT.js → T45D4ZJ6.js} +2 -2
- package/dist/cdn/{KPQMPBZT.js → T6PGKN5J.js} +2 -2
- package/dist/cdn/{YT2HU3BZ.js → TACYSTFW.js} +2 -2
- package/dist/cdn/{Z3WX7N5K.js → TNSLD4UV.js} +2 -2
- package/dist/cdn/{XCIYLH6D.js → TUEFCPHS.js} +2 -2
- package/dist/cdn/{UJV7NNT3.js → TUHDBCWM.js} +2 -2
- package/dist/cdn/{IU7PXIPK.js → U2GDHKDB.js} +2 -2
- package/dist/cdn/{ASEVFFVV.js → U2X2DEWA.js} +2 -2
- package/dist/cdn/{7NDH36CZ.js → UJBWT7N7.js} +2 -2
- package/dist/cdn/{QPWPRGC6.js → UXAPI5QX.js} +2 -2
- package/dist/cdn/{VAF6RIKJ.js → VBADHQT3.js} +2 -2
- package/dist/cdn/{EVT2NZDH.js → VF7PDSPZ.js} +2 -2
- package/dist/cdn/{SOVONDM6.js → W2SYJNFY.js} +2 -2
- package/dist/cdn/{2VGQVOAR.js → WH4ZVEZV.js} +2 -2
- package/dist/cdn/{AFQNJASO.js → WOSHBINA.js} +1 -1
- package/dist/cdn/{6BXS7PG5.js → WP53NT4M.js} +2 -2
- package/dist/cdn/{6SEEYHGY.js → X6ULMN2F.js} +2 -2
- package/dist/cdn/{X3JWLZ5Q.js → XB265UKW.js} +2 -2
- package/dist/cdn/{4LLOCPL4.js → XCD2N7TE.js} +2 -2
- package/dist/cdn/{RNCRJH65.js → XOOLEVYZ.js} +2 -2
- package/dist/cdn/{VTWPU7OZ.js → XTNOA2UZ.js} +2 -2
- package/dist/cdn/{HG7OOK5G.js → Y5JLP6S4.js} +2 -2
- package/dist/cdn/{RBYWOUAK.js → Y7IWG3Z6.js} +2 -2
- package/dist/cdn/{VSD7H3CU.js → Z6RPX653.js} +2 -2
- package/dist/cdn/{EK6MZQXQ.js → ZGFB7QLP.js} +2 -2
- package/dist/cdn/{GTYBD2AV.js → ZKCRD6WK.js} +2 -2
- package/dist/cdn/{GCORYBWG.js → ZLFX6M55.js} +2 -2
- package/dist/cdn/{YYWNWZ3U.js → ZVDWZRHZ.js} +2 -2
- package/dist/cdn/index.js +2 -2
- 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/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-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/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-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.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.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-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 +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import c from"./CLYOGS64.js";import b from"./TNSLD4UV.js";import{e as r}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as e,J as a,O as o,i as s,z as i}from"./OE63CHRK.js";export default $arcgis.t(([c,,n])=>{var h=s`@layer{arcgis-distance-measurement-2d{display:block}}`,d=n(c),t=class extends a{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=r()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}static{this.styles=h}async clear(){this.viewModel?.clear()}async destroy(){await this.manager.destroy()}async start(){this.viewModel?.start()}};o("arcgis-distance-measurement-2d",t);return t},"widgets/DistanceMeasurement2D",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import c from"./CLYOGS64.js";import b from"./TNSLD4UV.js";import{e as r}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as s,J as a,O as o,i as e,z as i}from"./OE63CHRK.js";export default $arcgis.t(([c,,n])=>{var h=e`@layer{arcgis-measurement{display:block}}`,l=n(c),t=class extends a{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=r()("activeTool","state"),this.arcgisReady=i()}static{this.properties={activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=h}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};o("arcgis-measurement",t);return t},"widgets/Measurement",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{r as m,s as c,t as d,u as f,x as C}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{r as m,s as c,t as d,u as f,x as C}from"./OE63CHRK.js";var O=t=>(...r)=>{let s=c(),n=new t(...r),a=n.exports;m(s.at(-1));let e=n.component.manager;e._markExports(n,a),n.watchExports(o=>e._markExports(n,o)),d(n);let p=[n.component,...s].reverse();return C(p,o=>o===void 0?void 0:u(n,o,a),a)};function u(t,{host:r,key:s,isReactive:n},a){let e=r,p=e[s]!==t.exports,o=e[s]!==a,E=a!==t.exports;if(p&&!o&&E&&(e[s]=t.exports),r===t.component){if(n){let i=t.component.manager;o&&i._markExports(t,e[s]),t.onUpdate(h=>{if(h.has(s)){let x=e[s];x!==t.exports&&i._markExports(t,x)}})}t.assignedProperty=n?void 0:s}let g=t.component.constructor.elementProperties.get(s)?.readOnly;t.watchExports(()=>{e[s]!==t.exports&&(g?f(()=>{e[s]=t.exports}):e[s]=t.exports)})}export{O as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{a as r}from"./SOH2ZJEI.js";import{a as i}from"./6KONR56H.js";import"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import{J as n,K as l,O as o,i as a,j as t}from"./OE63CHRK.js";export default $arcgis.t(([{watch:c}])=>{var h=a`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,p="arcgis-print",d={advancedOptionsContainer:`${p}__advanced-options-container`},s=class extends n{constructor(){super(...arguments),this._handles=r("disconnect"),this._selectedTemplate=null,this._showAuthorInput=null,this._showCopyrightInput=null,this._showLegendInput=null,this._showNorthArrowInput=null,this._showScaleBarInput=null}static{this.properties={_selectedTemplate:16,_showAuthorInput:16,_showCopyrightInput:16,_showLegendInput:16,_showNorthArrowInput:16,_showScaleBarInput:16,viewModel:0,messages:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[c(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e):null,this._handles.addHandles(c(()=>[this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend,this._selectedTemplate?.mapSurroundInfoOptions?.northArrow?.length,this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar?.length],()=>{this._showAuthorInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText??!0,this._showCopyrightInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText??!0,this._showLegendInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend??!0,this._showNorthArrowInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length,this._showScaleBarInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length},{initial:!0}),"template-handle")},{initial:!0})])}render(){return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${l(d.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderAuthorSection()}${this._renderCopyrightSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderCustomTextElementSection()}${this._renderLegendSection()}${this._renderNorthArrowSection()}${this._renderScaleBarSection()}</div>`}_renderScaleSection(){return t`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderAuthorSection(){return this._showAuthorInput?i("author-info",t`<div><calcite-label>${this.messages.author}<calcite-input .value=${this.viewModel.templateOptions.author??""} @calciteInputInput=${e=>this.viewModel.templateOptions.author=e.target.value}></calcite-input></calcite-label></div>`):null}_renderCopyrightSection(){return this._showCopyrightInput?i("copyright-text",t`<div><calcite-label>${this.messages.copyright}<calcite-input .value=${this.viewModel.templateOptions.copyright??""} @calciteInputInput=${e=>this.viewModel.templateOptions.copyright=e.target.value}></calcite-input></calcite-label></div>`):null}_renderDpiSection(){return t`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return t`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderCustomTextElementSection(){return t`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}_renderLegendSection(){return this._showLegendInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.legendEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.legendEnabled=e.target.checked}></calcite-checkbox>${this.messages.legend}</calcite-label></div>`:null}_renderNorthArrowSection(){return this._showNorthArrowInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.northArrowEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.northArrowEnabled=e.target.checked}></calcite-checkbox>${this.messages.northArrow}</calcite-label></div>`:null}_renderScaleBarSection(){return this._showScaleBarInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.scaleBarEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.scaleBarEnabled=e.target.checked}></calcite-checkbox>${this.messages.scaleBar}</calcite-label></div>`:null}};o("arcgis-print-layout-advanced-options",s);return s},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import e from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import e from"./KAM4KYQP.js";import{a as p,b as v}from"./F5HFDJ7N.js";import d from"./GGR56X2T.js";import c from"./5SZ73EH3.js";import{a as T}from"./MJZYNPWU.js";import{a as g}from"./SJVK3QVY.js";import a from"./TNSLD4UV.js";import{e as k}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as A,J as C,K as l,O as $,i as b,j as u,z as O}from"./OE63CHRK.js";export default $arcgis.t(([{watch:w,whenOnce:E},{property:r,subclass:R},H,{forceInteractive:N},D,,,U,{a:x,b:M,c:S,d:m}])=>{var L=b`@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}}}`,d="arcgis-line-of-sight",y={base:d,actions:`${d}__actions`,container:`${d}__container`,error:`${d}__error`,hint:`${d}__hint`,hintText:`${d}__hint-text`,newAnalysisButton:`${d}__new-analysis-button`},P=Object.defineProperty,j=Object.getOwnPropertyDescriptor,o=(t,e,s,a)=>{for(var i=a>1?void 0:a?j(e,s):e,c=t.length-1,h;c>=0;c--)(h=t[c])&&(i=(a?h(e,s,i):h(i))||i);return a&&i&&P(e,s,i),i},n=class extends H{constructor(t={}){super(t),this._loggedUnsupportedErrorMessage=!1,this.view=null,this._analysisView=null,this._reconnectViewTask=null,this._forceInteractiveHandle=null,this._operationState="inactive",this._unsupportedErrorMessage=!1,this._parentChangeFromReconnect=!1,this._startUserOperation=null;let e=t?.analysis;e!=null?this.analysis=e:(this._set("analysis",this.constructAnalysis()),this._set("isAnalysisOwner",!0)),t?.visible!=null&&(this.visible=t.visible)}normalizeCtorArgs(t){let{analysis:e,...s}=t;return s}initialize(){this.addHandles([w(()=>({readyAndNotSupported:this.view!=null&&this.view.ready&&!this.supported}),({readyAndNotSupported:t})=>{t&&!this._loggedUnsupportedErrorMessage&&console.error(this._unsupportedErrorMessage)},{sync:!0,initial:!0}),w(()=>this.analysis?.parent,t=>{!this._parentChangeFromReconnect&&t!==this.view&&this._set("isAnalysisOwner",!1);let e=!this._parentChangeFromReconnect;this._parentChangeFromReconnect=!1,e&&this._scheduleViewReconnect()},{sync:!0}),w(()=>({view:this.view,ready:!!this.view?.ready,supported:this.supported}),({view:t},e)=>{let s=e?.view;t!==s&&(this._startUserOperation=p(this._startUserOperation),this._disconnectFromView(s)),this._scheduleViewReconnect()},{sync:!0,initial:!0})])}destroy(){this._reconnectViewTask=p(this._reconnectViewTask),this._startUserOperation=p(this._startUserOperation),this._analysisView!=null&&(this._analysisView.visible=void 0),this._disconnectFromView(this.view),this._set("view",null),this.analysis!=null&&this.isAnalysisOwner&&(this.analysis.destroy(),this._set("analysis",null))}get supported(){return this.view==null||this.view.type===this.supportedViewType}set visible(t){this._set("visible",t),this._analysisView!=null&&(this._analysisView.visible=t)}get active(){return this._startUserOperation?.state===2}get disabled(){return this.view==null||!this.view.ready||!this.supported}set analysis(t){t!==this._get("analysis")&&(this._startUserOperation=p(this._startUserOperation),this._disconnectFromView(this.view),this._setExternalAnalysis(t),this._scheduleViewReconnect())}get analysisView(){return this._analysisView}get ready(){return this._analysisView!=null&&!this.connectingToView}get connectingToView(){return this._reconnectViewTask!=null}get isAnalysisOwner(){return this._get("isAnalysisOwner")}get operationState(){return this._operationState}clear(){this.clearAnalysis(),this._startUserOperation=p(this._startUserOperation),this._resetInteractiveCreationState()}async start(){if(!this.visible){console.warn("Cannot start analysis when not visible");return}let t={task:null,abort:null,state:0},e=m(async s=>{if(t.state=1,await E(()=>this.ready,s),t.state=2,!(this._analysisView==null||this.view==null))return this._operationState="active",void await this.place({signal:s})});return e.promise.finally(()=>{this._operationState="inactive"}),t.task=e,t.abort=()=>e.abort(),this._startUserOperation=t,void await e.promise}startNewAnalysis(){return this.clear(),this.start()}continue(){return this.start()}stop(){this._startUserOperation?.abort()}onConnectToAnalysisView(t){}onDisconnectFromAnalysisView(){}_scheduleViewReconnect(){this._reconnectViewTask=p(this._reconnectViewTask);let t=m(async e=>{try{await this._reconnectView(e)}catch(s){if(x(e),!S(s)){console.warn("Failed to use analysis in view model",s);return}throw s}finally{t===this._reconnectViewTask&&(this._reconnectViewTask=null)}});this._reconnectViewTask=t}async _reconnectView(t){let{view:e}=this,s=e!=null&&e.ready&&this.supported,a=this.analysis;if(this._startUserOperation=F(this._startUserOperation),this._disconnectFromView(e),!s||e==null||a==null)return;if(this.isAnalysisOwner){if(a.parent!=null){console.error("expected owned analysis to have null parent when connecting to view");return}this._parentChangeFromReconnect=!0,e.analyses.add(a)}let i=await e.whenAnalysisView(a);if(this._analysisView=i,M(t)){this._startUserOperation=F(this._startUserOperation);return}i.visible=this.visible,this._forceInteractiveHandle=N(i),this.addHandles(this._forceInteractiveHandle),this.onConnectToAnalysisView(i)}_disconnectFromView(t){t!=null&&this.isAnalysisOwner&&t.analyses.includes(this.analysis)&&(this._parentChangeFromReconnect=!0,this.analysis.clear(),t.analyses.remove(this.analysis)),this.onDisconnectFromAnalysisView(),this._forceInteractiveHandle=v(this._forceInteractiveHandle),this._analysisView=null}_setExternalAnalysis(t){this._analysisView!=null&&!this.isAnalysisOwner&&(this._analysisView.visible=void 0,this._forceInteractiveHandle=v(this._forceInteractiveHandle)),this._analysisView=null,this._set("isAnalysisOwner",!1),this._set("analysis",t),this._parentChangeFromReconnect=!1}_resetInteractiveCreationState(){this._analysisView?.tool?.resetCreated()}};o([r()],n.prototype,"supported",1);o([r()],n.prototype,"view",2);o([r({type:Boolean,value:!0})],n.prototype,"visible",1);o([r()],n.prototype,"active",1);o([r()],n.prototype,"disabled",1);o([r({nonNullable:!0})],n.prototype,"analysis",1);o([r()],n.prototype,"_analysisView",2);o([r()],n.prototype,"analysisView",1);o([r()],n.prototype,"ready",1);o([r()],n.prototype,"connectingToView",1);o([r({readOnly:!0})],n.prototype,"isAnalysisOwner",1);o([r()],n.prototype,"_reconnectViewTask",2);o([r()],n.prototype,"_forceInteractiveHandle",2);o([r()],n.prototype,"_operationState",2);o([r()],n.prototype,"operationState",1);n=o([R("esri.widgets.support.AnalysisViewModel")],n);function F(t){return t!=null&&t.state>=2?(t.abort(),null):t}var B=Object.defineProperty,z=Object.getOwnPropertyDescriptor,I=(t,e,s,a)=>{for(var i=a>1?void 0:a?z(e,s):e,c=t.length-1,h;c>=0;c--)(h=t[c])&&(i=(a?h(e,s,i):h(i))||i);return a&&i&&B(e,s,i),i},_=class extends n{constructor(t){super(t),this.supportedViewType="3d",this.unsupportedErrorMessage="LineOfSightViewModel is only supported in 3D views."}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"creating":this.analysis.valid?"created":"ready"}constructAnalysis(){return new D}clearAnalysis(){this.analysis.observer=null,this.analysis.targets.removeAll()}async place(t){return await this.analysisView?.place(t)}};I([r({readOnly:!0})],_.prototype,"state",1);_=I([R("esri.widgets.LineOfSight.LineOfSightViewModel")],_);var q=U(_),V=class extends C{constructor(){super(...arguments),this.viewModel=q(this),this._messages=T(),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.icon="line-of-sight",this.position="bottom-left",this.arcgisPropertyChange=k()("analysis","state"),this.arcgisReady=O()}static{this.properties={analysis:32,autoDestroyDisabled:5,icon:3,label:1,position:1,referenceElement:1,state:32,supported:32}}static{this.shadowRootOptions=A}static{this.styles=L}get analysis(){return this.viewModel.analysis}get state(){return this.viewModel.state}get supported(){return this.view==null||this.view.type==="3d"}async clear(){this.viewModel.clear()}async continue(){this.viewModel.start()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.startNewAnalysis()}async stop(){this.viewModel.stop()}load(){this.manager.onLifecycle(()=>[w(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return u`<div class=${l({[y.base]:!0,[g.widget]:!0,[g.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){if(!this.supported)return u`<div class=${l(y.error)}><p>${this._messages.unsupported}</p></div>`;let e=this.viewModel.state,s=e==="creating";return u`<div class=${l(y.container)}>${s?u`<div class=${l(y.hint)}><p class=${l(y.hintText)}>${this._messages.hint}</p></div>`:null}<div class=${l(y.actions)}>${e==="creating"?f({onClick:()=>{this.stop()},children:this._messages.done}):null}${e==="created"?f({onClick:()=>{this.continue()},children:this._messages.continueAnalysis}):null}${f({className:y.newAnalysisButton,onClick:()=>{this.start()},primary:!0,disabled:e==="disabled",children:this._messages.newAnalysis})}</div></div>`}};function f({className:t,onClick:e,primary:s,disabled:a,children:i}){return u`<calcite-button .appearance=${s?"solid":"outline-fill"} class=${l(t)} .disabled=${a} @click=${e}>${i}</calcite-button>`}$("arcgis-line-of-sight",V);return V},"core/reactiveUtils","core/accessorSupport/decorators","core/Accessor","applications/Components/analysisUtils","analysis/LineOfSightAnalysis",a,c,d,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{J as o,O as n,i as s,j as i}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{J as o,O as n,i as s,j as i}from"./OE63CHRK.js";export default $arcgis.t(([d,{watch:v}])=>{var $=s`.arcgis-video-player__settings-flow{min-width:var(--calcite-size-160)}`,g=["Auto"],_=[{label:"0.25x",value:.25},{label:"0.5x",value:.5},{label:"1x",value:1},{label:"1.5x",value:1.5},{label:"2x",value:2}],r=new d([255,127,0]),a=class extends o{constructor(){super(...arguments),this._color=null,this._speed="1x",this._quality="Auto",this._disabled=!1,this._active=null}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel.state,l=>{this._disabled=l==="not-ready"||l==="waiting"},{initial:!0})])}render(){let{viewModel:l,messages:e}=this,h=i`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=null}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${_.map(({label:t,value:c})=>i`<calcite-list-item .label=${t} @click=${()=>{this._speed=t,l.changePlaybackSpeed(c)}} .selected=${t===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,p=i`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=null}><calcite-list .label=${e.quality} selection-mode=single-persist>${g.map(t=>i`<calcite-list-item .label=${t} @click=${()=>this._quality=t} .selected=${t===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,m=i`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=null}><calcite-block .heading=${e.color} open><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??r.toHex()} @calciteColorPickerChange=${({currentTarget:t})=>{let c=t.value?.toString()??null;this._color=c?new d(c):null,this._color&&l.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return i`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=null}><calcite-flow class=arcgis-video-player__settings-flow><calcite-flow-item heading=Settings .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${this._speed} scale=s>${this._speed}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??r.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?h:null}${this._active==="quality"?p:null}${this._active==="color"?m:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};n("arcgis-video-player-settings",a);return a},"Color","core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as R}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{a as R}from"./GF2VDAFU.js";import"./6QENSPID.js";import{a as i}from"./HELZTXUW.js";import e from"./GGR56X2T.js";import c from"./5SZ73EH3.js";import{a as $}from"./MJZYNPWU.js";import{a as d}from"./SJVK3QVY.js";import a from"./TNSLD4UV.js";import{e as f}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as v,J as u,K as l,L as b,M as m,O as y,a as p,i as g,j as o,z as w}from"./OE63CHRK.js";export default $arcgis.t(([{when:D,watch:L},A,,,M])=>{var I=g`@layer{arcgis-basemap-gallery{display:block}}`,E=M(A),h={small:200,default:280,wide:420},c=class extends u{constructor(){super(...arguments),this.messages=$({}),this.viewModel=E(this),this._width=0,this._state="",this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.disabled=!1,this.headingLevel=2,this.icon="basemap",this.label="",this.position="bottom-left",this.source=this.viewModel.source,this.state=this.viewModel.state,this.arcgisPropertyChange=f()("activeBasemap","state"),this.arcgisReady=w()}static{this.properties={_width:16,_state:16,activeBasemap:1,autoDestroyDisabled:5,disabled:7,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,source:0,state:3}}static{this.shadowRootOptions=v}static{this.styles=I}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[D(()=>this.source,()=>{this.viewModel.loadSource()},{sync:!0,initial:!0}),L(()=>this.source.state,()=>{this._state=this.source.state},{sync:!0})]);let s=new ResizeObserver(t=>{for(let a of t)this._width=a.contentRect.width}),e=this.el.childElem;e&&s.observe(e)}_getRoundRobinIndex(s,e){return(s+e)%e}_handleKeyDown(s){let{key:e}=s;if(!["ArrowUp","ArrowDown","ArrowRight","ArrowLeft"].includes(e))return;s.preventDefault();let{items:t,activeBasemapIndex:a}=this.viewModel,r=e==="ArrowUp"||e==="ArrowLeft"?this._getRoundRobinIndex(Math.max(a-1,-1),t.length):this._getRoundRobinIndex(a+1,t.length),n=t.at(r);n?.state==="ready"&&(this.viewModel.activeBasemap=n.basemap)}render(){let s=this.source.state==="loading",e=this.disabled||this.state==="disabled",t=this.viewModel.items,a={[i.sourceLoading]:s,[d.disabled]:e,"esri-component":!0},r=this._width;r<=h.small||r>=h.wide?a[i.layoutGrid]=!0:r<h.default&&(a[i.narrowItems]=!0);let n=s?o`<div class=${l(i.loader)}></div>`:null,_=s?null:t.length>0?o`<div aria-disabled=${this.disabled??m} aria-label=${this.label??m} class=${l(i.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${t.map((x,B)=>o`<arcgis-basemap-gallery-item .disabled=${e} .item=${x} .itemIndex=${B} .viewModel=${this.viewModel} .messages=${this.messages}></arcgis-basemap-gallery-item>`)}</div>`:o`<div class=${l(d.empty)}>${R({level:this.headingLevel,children:this.messages.noBasemaps})}</div>`;return o`<div class=${l(p(i.base,d.widget,d.panel,a))} style=${b({"--esri-basemap-gallery-small":`${h.small}px`})}>${[n,_]}</div>`}};y("arcgis-basemap-gallery",c);return c},"core/reactiveUtils","widgets/BasemapGallery/BasemapGalleryViewModel",a,c,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import c from"./CLYOGS64.js";import b from"./TNSLD4UV.js";import{e as n}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as a,J as o,O as h,i as s,z as e}from"./OE63CHRK.js";export default $arcgis.t(([c,{d:t},r])=>{var l=s`@layer{arcgis-value-picker{display:block}}`,p=r(c),i=class extends o{constructor(){super(...arguments),this.widget=p(this),this.autoDestroyDisabled=!1,this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.position="bottom-left",this.values=this.widget.values,this.arcgisAnimate=t(()=>this.widget,"animate"),this.arcgisNext=t(()=>this.widget,"next"),this.arcgisPause=t(()=>this.widget,"pause"),this.arcgisPlay=t(()=>this.widget,"play"),this.arcgisPrevious=t(()=>this.widget,"previous"),this.arcgisPropertyChange=n()("values"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,canNext:7,canPlay:7,canPrevious:7,caption:1,component:0,hideNextButton:5,hidePlayButton:5,hidePreviousButton:5,icon:1,label:1,layout:1,loop:5,playRate:9,position:1,referenceElement:1,values:0}}static{this.shadowRootOptions=a}static{this.styles=l}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}};h("arcgis-value-picker",i);return i},"widgets/ValuePicker",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{a as r}from"./WP53NT4M.js";import c from"./CLYOGS64.js";import b from"./TNSLD4UV.js";import{e as d}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as o,J as a,O as h,i as e,z as s}from"./OE63CHRK.js";export default $arcgis.t(([n,{d:t},l])=>{var m=e`@layer{arcgis-bookmarks{display:block}}`,w=l(n),i=class extends a{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.arcgisClose=r(this),this.autoDestroyDisabled=!1,this.bookmarks=this.widget.bookmarks,this.closed=!1,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultEditOptions=this.widget.defaultEditOptions,this.disabled=this.widget.disabled,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.goToOverride=this.widget.goToOverride,this.hideFlow=this.widget.visibleElements.flow,this.hideThumbnail=this.widget.visibleElements.thumbnail,this.hideTime=this.widget.visibleElements.time,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.showAddBookmarkButton=this.widget.visibleElements.addBookmarkButton,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditBookmarkButton=this.widget.visibleElements.editBookmarkButton,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.state=this.viewModel.state,this.arcgisEdit=t(()=>this.widget,"bookmark-edit"),this.arcgisPropertyChange=d()("state"),this.arcgisReady=s(),this.arcgisSelect=t(()=>this.widget,"bookmark-select")}static{this.properties={autoDestroyDisabled:5,bookmarks:0,closed:5,defaultCreateOptions:0,defaultEditOptions:0,disabled:7,dragEnabled:5,filterPlaceholder:1,filterText:1,goToOverride:0,hideFlow:5,hideThumbnail:5,hideTime:5,icon:1,label:1,position:1,referenceElement:1,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,showHeading:5,state:3}}static{this.shadowRootOptions=o}static{this.styles=m}async destroy(){await this.manager.destroy()}};h("arcgis-bookmarks",i);return i},"widgets/Bookmarks",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{a}from"./3KEGSSLJ.js";import{a as i}from"./WOSHBINA.js";import{B as h}from"./OE63CHRK.js";export default $arcgis.t(([c,{signal:m}])=>{var w=n=>d(n),s=class extends h{constructor(e){super(e),this._view$=m(void 0),this._viewDestroyHandle=void 0,this._canEmitArcgisReady=!1;let{el:t}=e,r=t.view;this.setProvisionalExports(void 0),Object.defineProperty(t,"view",{get:()=>this._view$.value,set:o=>{if(this.exports===o)return;let l=t.view;this._view$.value=o,this.exports=o,this.component.requestUpdate("view",l),this._notifyViewReady()},configurable:!0,enumerable:!0}),e!==t&&Object.defineProperty(e,"view",{get:()=>t.view,set:o=>{t.view=o}}),queueMicrotask(()=>{r&&(t.view=r)})}hostConnected(){this.component.manager.hasDestroy&&(this._viewDestroyHandle??=c.when(()=>this._view$.value?.destroyed,()=>void this.component.destroy?.().catch(console.error),{sync:!0}),this.onDestroy(()=>this._viewDestroyHandle?.remove())),this.component.manager.loadedCalled&&i(this.component)}hostLoad(){this.component.manager.destroyed}hostLoaded(){let{el:e}=this.component,t=e.shadowRoot?.firstElementChild??e.firstElementChild??void 0;e.childElem=t??e.childElem,this._canEmitArcgisReady=!0,this._notifyViewReady(),e.isConnected&&i(this.component)}hostDisconnected(){typeof this.component.el.childElem=="object"&&this._view$.value?.ui?.remove(this.component.el.childElem)}hostUpdate(e){e.has("position")&&this.component.el.childElem!=null&&typeof this.component.position=="string"&&i(this.component),e.has("referenceElement")&&i(this.component)}_notifyViewReady(){!this._canEmitArcgisReady||this._view$.value==null||(this._canEmitArcgisReady=!1,this.component.arcgisReady.emit())}},d=a(s);return{a:w,b:s}},"core/reactiveUtils","applications/Components/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{J as s,K as n,O as a,i,j as e}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{J as s,K as n,O as a,i,j as e}from"./OE63CHRK.js";var c=i`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,o="arcgis-print",l={advancedOptionsContainer:`${o}__advanced-options-container`},t=class extends s{static{this.properties={viewModel:0,messages:0}}static{this.styles=c}loaded(){this.manager.onLifecycle(()=>[])}render(){return e`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${n(l.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderAttributionSection()}${this._renderCustomTextElementSection()}</div>`}_renderScaleSection(){return e`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderDpiSection(){return e`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return e`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderAttributionSection(){return e`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.attributionEnabled} @calciteCheckboxChange=${r=>this.viewModel.templateOptions.attributionEnabled=r.target.checked}></calcite-checkbox>${this.messages.attribution}</calcite-label></div>`}_renderCustomTextElementSection(){return e`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}};a("arcgis-print-map-only-advanced-options",t);export{t as PrintMapOnlyAdvancedOptions};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import c from"./CLYOGS64.js";import b from"./TNSLD4UV.js";import{e as d}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as a,J as n,O as o,i,z as s}from"./OE63CHRK.js";export default $arcgis.t(([r,,h])=>{var c=i`@layer{arcgis-feature{display:block}}`,p=h(r),e=class extends n{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.defaultPopupTemplateEnabled=this.widget.defaultPopupTemplateEnabled,this.graphic=this.widget.graphic,this.headingLevel=this.widget.headingLevel,this.hideContentAttachments=this.widget.visibleElements.content.attachments,this.hideContentExpression=this.widget.visibleElements.content.expression,this.hideContentFields=this.widget.visibleElements.content.fields,this.hideContentMedia=this.widget.visibleElements.content.media,this.hideContentText=this.widget.visibleElements.content.text,this.hideLastEditInfo=this.widget.visibleElements.lastEditedInfo,this.hideLastEditedInfo=this.widget.visibleElements.lastEditedInfo,this.hideTitle=this.widget.visibleElements.title,this.icon=this.widget.icon,this.label=this.widget.label,this.location=this.viewModel.location,this.map=this.widget.map,this.position="bottom-left",this.spatialReference=this.widget.spatialReference,this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=d()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,defaultPopupTemplateEnabled:5,graphic:0,headingLevel:9,hideContentAttachments:5,hideContentExpression:5,hideContentFields:5,hideContentMedia:5,hideContentText:5,hideLastEditInfo:5,hideLastEditedInfo:5,hideTitle:5,icon:1,label:1,location:0,map:0,position:1,referenceElement:1,spatialReference:0,state:3,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=c}async destroy(){await this.manager.destroy()}async nextMedia(t){this.widget?.nextMedia(t)}async previousMedia(t){this.widget?.previousMedia(t)}async setActiveMedia(t,l){this.widget?.setActiveMedia(t,l)}};o("arcgis-feature",e);return e},"widgets/Feature",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{F as s,G as i,I as o,m as r}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{F as s,G as i,I as o,m as r}from"./OE63CHRK.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import d from"./5SZ73EH3.js";import{a as f}from"./MJZYNPWU.js";import{a as m}from"./SJVK3QVY.js";import{c as v,e as x}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as _,J as g,K as a,M as c,O as u,a as r,i as b,j as s,z as p}from"./OE63CHRK.js";export default $arcgis.t(([{when:z,watch:D},{a:$}])=>{var w=b`@layer{.arcgis-time-zone-label{display:inline-flex;background-color:var(--calcite-color-foreground-1)}.arcgis-time-zone-label__badge{display:flex;padding-block:var(--calcite-spacing-sm);padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-1)}.arcgis-time-zone-label__badge--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__badge--hidden{display:none}.arcgis-time-zone-label__badge-icon{align-self:center}.arcgis-time-zone-label__name{--calcite-color-background: transparent;--calcite-color-border-input: transparent;--calcite-font-weight-medium: normal;pointer-events:none}.arcgis-time-zone-label__name--hidden{display:none}.arcgis-time-zone-label__label{--calcite-label-margin-bottom: 0;align-items:center;padding-inline:var(--calcite-spacing-sm)}.arcgis-time-zone-label__label--disabled{opacity:var(--calcite-opacity-disabled)}.arcgis-time-zone-label__label--hidden{display:none}}`,i="esri-time-zone-label",t={base:i,badge:`${i}__badge`,badgeDisabled:`${i}__badge--disabled`,badgeHidden:`${i}__badge--hidden`,badgeIcon:`${i}__badge-icon`,expander:`${i}__expander`,label:`${i}__label`,labelDisabled:`${i}__label--disabled`,labelHidden:`${i}__label--hidden`,name:`${i}__name`,nameHidden:`${i}__name--hidden`},h=class extends g{constructor(){super(...arguments),this._messages=f({blocking:!0}),this._onExpanderClick=()=>{this.expanded=!this.expanded},this.view=$(this),this._direction=v(),this._expandDirection=null,this._timeZone=null,this.state="disabled",this.position="top-left",this.disabled=!1,this.expanded=!1,this.icon="time-zone",this.arcgisPropertyChange=x()("state"),this.arcgisReady=p()}static{this.properties={_interactive:16,_direction:16,_expandDirection:16,_timeZone:16,state:3,referenceElement:1,position:3,disabled:7,expandDirection:3,expanded:7,icon:3,messageOverrides:0,label:1}}static{this.styles=w}static{this.shadowRootOptions=_}get _interactive(){return!(this.disabled||this.state==="disabled")}get expandDirection(){return this._expandDirection??this._computeExpandDirection()}set expandDirection(e){this._expandDirection=e}loaded(){this.state=this.view?.ready?"ready":"disabled",this.manager.onLifecycle(()=>[z(()=>this.view?.ready,e=>{this.state=e?"ready":"disabled"}),D(()=>this.view?.timeZone,e=>{this._timeZone=e})])}_computeExpandDirection(){if(!this.referenceElement)return"end";switch(this.position){case"top-right":case"bottom-right":case"top-trailing":case"bottom-trailing":return this._direction==="ltr"?"start":"end";case"top-left":case"bottom-left":case"top-leading":case"bottom-leading":return this._direction==="ltr"?"end":"start";default:return"end"}}_getIcon(){let{expanded:e,expandDirection:n}=this;return e?this._direction==="rtl"?n==="start"?"chevrons-left":"chevrons-right":n==="start"?"chevrons-right":"chevrons-left":"time-zone"}render(){let e=r(t.base,m.widget,!this._interactive&&m.disabled),n=this._renderExpander(),l=this._renderName(),o=this._renderBadge(),d=[n,l,o];return this.expandDirection==="start"&&d.reverse(),s`<div aria-label=${this.label??c} class=${a(e)}>${d}</div>`}_renderExpander(){let e=this._getIcon();return s`<calcite-action class=${a(t.expander)} .disabled=${!this._interactive} .icon=${e} @click=${this._onExpanderClick} scale=s .text=${this.label??""} title=${this.label??""??c}></calcite-action>`}_renderBadge(){return s`<div class=${a(r(t.badge,!this.expanded&&t.badgeHidden,!this._interactive&&t.badgeDisabled))}><calcite-icon class=${a(t.badgeIcon)} icon=time-zone scale=s></calcite-icon></div>`}_renderName(){let e="system",n="unknown",l=this._timeZone===e||this._timeZone==null?Intl.DateTimeFormat().resolvedOptions().timeZone:this._timeZone,o=this._timeZone===n,d=s`<calcite-label class=${a(r(t.label,(!this.expanded||!o)&&t.labelHidden,!this._interactive&&t.labelDisabled))}>${this._messages.noAdjustment}</calcite-label>`,y=s`<calcite-input-time-zone class=${a(r(t.name,(!this.expanded||!l||o)&&t.nameHidden))} .disabled=${!this._interactive} mode=region read-only .value=${l}></calcite-input-time-zone>`;return[d,y]}};u("arcgis-time-zone-label",h);return h},"core/reactiveUtils",d)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{j as m,k as h,l as p}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{j as m,k as h,l as p}from"./OE63CHRK.js";var v=Symbol.for(""),d=a=>{if(a?.r===v)return a?._$litStatic$},_=a=>({_$litStatic$:a,r:v});var S=new Map,n=a=>(s,...r)=>{let e=r.length,u,l,i=[],c=[],o,t=0,$=!1;for(;t<e;){for(o=s[t];t<e&&(l=r[t],(u=d(l))!==void 0);)o+=u+s[++t],$=!0;t!==e&&c.push(l),i.push(o),t++}if(t===e&&i.push(s[e]),$){let f=i.join("$$lit$$");(s=S.get(f))===void 0&&(i.raw=i,S.set(f,s=i)),r=c}return a(s,...r)},w=n(m),b=n(h),x=n(p);export{_ as a,w as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{D as p,J as g,M as v,O as h,j as a,z as m}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{D as p,J as g,M as v,O as h,j as a,z as m}from"./OE63CHRK.js";var c=class extends g{constructor(){super(...arguments),this.arcgisManageVersion=m()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=p}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersionAdministrator:b,isVersioningApiAvailable:u,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,I=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,o=r.toUpperCase()===$.toUpperCase()&&u&&f||b,i=V.guid===e.versionIdentifier.guid,x=a`<calcite-action appearance=transparent .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,U=i?void 0:a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return a`<calcite-list-item .description=${r} .label=${I} .value=${l}>${x}${U}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||o&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{J as t,K as e,O as d,i as l,j as c}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{J as t,K as e,O as d,i as l,j as c}from"./OE63CHRK.js";var p=l`.arcgis-video-player__slider-progress-container{position:relative;z-index:1;width:100%}.arcgis-video-player__progress{--esri-video-player-progress-width: 2px;appearance:none;display:block;position:absolute;top:calc(50% - var(--esri-video-player-progress-width) / 2);left:var(--esri-video-player-controls-spacing);border:none;background:var(--calcite-color-border-1);cursor:pointer;width:calc(100% - var(--esri-video-player-controls-spacing) * 2);height:var(--esri-video-player-progress-width)}.arcgis-video-player__progress::-webkit-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__progress::-webkit-progress-value{background-color:var(--calcite-color-border-input)}.arcgis-video-player__progress::-moz-progress-bar{background-color:var(--calcite-color-border-3)}.arcgis-video-player__slider{--calcite-slider-track-color: transparent;background-color:var(--calcite-color-foreground-1);padding:calc(var(--esri-video-player-controls-spacing) / 4) calc(var(--esri-video-player-controls-spacing) / 2)}`,o="arcgis-video-player",i={progress:`${o}__progress`,slider:`${o}__slider`,sliderProgressContainer:`${o}__slider-progress-container`},a=class extends t{static{this.properties={viewModel:0,buffered:9,value:9}}static{this.styles=p}_onSliderInput({currentTarget:r}){if(typeof r.value=="number"){let s=r.value*this.viewModel.duration/100;this.viewModel.seekTo(s)}}render(){let{value:r,buffered:s}=this;return c`<div class=${e(i.sliderProgressContainer)}><progress class=${e(i.progress)} max=1 .value=${`${s}`}></progress><div class=${e(i.slider)}><calcite-slider max=100 min=0 .value=${r} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div></div>`}};d("arcgis-video-player-slider",a);export{a as VideoPlayerSlider};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{J as r,K as a,O as l,i as c,j as s}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{J as r,K as a,O as l,i as c,j as s}from"./OE63CHRK.js";export default $arcgis.t(([{watch:n}])=>{var h=c`.arcgis-metadata-table{display:flex;flex-direction:column;border-top:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__row{display:flex;flex-direction:row;border-bottom:1px solid var(--calcite-color-border-1);border-right:1px solid var(--calcite-color-border-1)}.arcgis-metadata-table__data{flex:1;border-left:1px solid var(--calcite-color-border-1);padding:5px}.arcgis-metadata-table__empty-state{width:100%;max-inline-size:unset;transition-duration:0ms}`,o="arcgis-metadata-table",t={table:o,row:`${o}__row`,data:`${o}__data`,emptyState:`${o}__empty-state`},d=class extends r{constructor(){super(...arguments),this._disabled=!1,this._hasMetadata=!1,this._missionInfo={},this._platformInfo={},this._frameInfo={}}static{this.properties={_disabled:16,_hasMetadata:16,_missionInfo:16,_platformInfo:16,_frameInfo:16,viewModel:0,messages:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[n(()=>this.viewModel.state,i=>{this._disabled=i==="not-ready"||i==="waiting"},{initial:!0}),n(()=>[this.viewModel.metadata?.missionInfo,this.viewModel.metadata?.platformInfo,this.viewModel.metadata?.frameInfo],()=>{let{metadata:i}=this.viewModel;if(this._hasMetadata=!!i,!this._hasMetadata)return;let{missionInfo:e,platformInfo:m,frameInfo:f}=i;this._missionInfo=e,this._platformInfo=m,this._frameInfo=f},{initial:!0})])}render(){let{messages:i}=this;return this._disabled||!this._hasMetadata?s`<calcite-tile class=${a(t.emptyState)} .description=${i.metadataDescription} .heading=${i.metadataNotLoaded}></calcite-tile>`:s`<calcite-block .heading=${i.metadata} open><calcite-accordion appearance=solid selection-mode=single><calcite-accordion-item .heading=${i.missionInfo}><div class=${a(t.table)}>${Object.keys(this._missionInfo).map(e=>s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._missionInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.platformInfo}><div class=${a(t.table)}>${Object.keys(this._platformInfo).map(e=>s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._platformInfo[e]}</div></div>`)}</div></calcite-accordion-item><calcite-accordion-item .heading=${i.frameInfo}><div class=${a(t.table)}>${Object.keys(this._frameInfo).map(e=>s`<div class=${a(t.row)}><div class=${a(t.data)}>${e}</div><div class=${a(t.data)}>${this._frameInfo[e]}</div></div>`)}</div></calcite-accordion-item></calcite-accordion></calcite-block>`}};l("arcgis-video-player-metadata",d);return d},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as u}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{a as u}from"./M67JS4A3.js";import d from"./GGR56X2T.js";import c from"./5SZ73EH3.js";import{a as C}from"./MJZYNPWU.js";import{a as _}from"./SJVK3QVY.js";import a from"./TNSLD4UV.js";import{e as P}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as x,J as $,K as p,L as w,M as y,O as D,a as v,i as f,j as g,z as b}from"./OE63CHRK.js";export default $arcgis.t(([L,,,M])=>{var H=f`@layer{arcgis-swipe,.arcgis-swipe{position:absolute;margin:0;background:transparent!important;padding:0;width:100%;height:100%;overflow:hidden;user-select:none}.arcgis-swipe,.arcgis-ui .arcgis-swipe{pointer-events:none!important}.arcgis-swipe__container{position:absolute;z-index:1;margin:0;outline:0;border:0;padding:0;overflow:hidden;pointer-events:auto;touch-action:none;outline-color:transparent}.arcgis-swipe--horizontal .arcgis-swipe__container{margin-left:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:col-resize;height:100%}.arcgis-swipe--vertical .arcgis-swipe__container{margin-top:calc(var(--calcite-spacing-xxxl) / 2 * -1);cursor:row-resize;width:100%}.arcgis-swipe--disabled .arcgis-swipe__container{cursor:default;pointer-events:none}.arcgis-swipe__divider{position:absolute;background-color:var(--calcite-color-background)}.arcgis-swipe--horizontal .arcgis-swipe__divider{top:0;left:calc(var(--calcite-spacing-xxxl) / 2);margin-left:calc(var(--calcite-border-width-lg) * .5 * -1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-left:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:var(--calcite-border-width-lg);height:100%}.arcgis-swipe--vertical .arcgis-swipe__divider{top:calc(var(--calcite-spacing-xxxl) / 2);left:0;margin-top:calc(var(--calcite-border-width-lg) * .5 * -1);border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-bottom:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);width:100%;height:var(--calcite-border-width-lg)}.arcgis-swipe__handle{display:flex;position:relative;align-items:center;justify-content:center;border:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);border-radius:var(--calcite-corner-radius-round);background-color:var(--calcite-color-background);width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);color:var(--calcite-color-border-input)}.arcgis-swipe__handle--hidden{visibility:hidden}.arcgis-swipe--vertical .arcgis-swipe__handle{rotate:90deg}.arcgis-swipe__handle-icon{position:relative;z-index:2}.arcgis-swipe--horizontal .arcgis-swipe__handle{top:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe--vertical .arcgis-swipe__handle{left:calc(50% - calc(var(--calcite-spacing-xxxl) / 2))}.arcgis-swipe__container:focus .arcgis-swipe__handle,.arcgis-swipe__container:focus .arcgis-swipe__divider{outline:inset 2px var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}.arcgis-swipe__container:focus .arcgis-swipe__handle{outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}}`,l="arcgis-swipe",n={base:l,baseDisabled:`${l}--disabled`,vertical:`${l}--vertical`,horizontal:`${l}--horizontal`,container:`${l}__container`,divider:`${l}__divider`,handle:`${l}__handle`,handleHidden:`${l}__handle--hidden`,handleIcon:`${l}__handle-icon`},O=M(L),m=class extends ${constructor(){super(...arguments),this._container=null,this._swiping=!1,this.messages=C({}),this._pointerOffset=0,this.viewModel=O(this),this._onContainerPointerDown=e=>{e.preventDefault();let{_container:i}=this;i&&document.activeElement!==this.el&&i.focus(),this._swiping=!0,this._calculatePointerOffset(e)},this.autoDestroyDisabled=!1,this.direction=this.viewModel.direction,this.disabled=!1,this.hideDivider=!1,this.hideHandle=!1,this.icon="compare",this.label=this.messages.componentLabel,this.leadingLayers=this.viewModel.leadingLayers,this.position="manual",this.swipePosition=this.viewModel.position,this.state=this.viewModel.state,this.trailingLayers=this.viewModel.trailingLayers,this.arcgisPropertyChange=P()("state"),this.arcgisReady=b()}static{this.properties={autoDestroyDisabled:5,direction:3,disabled:7,hideDivider:7,hideHandle:7,icon:1,label:1,leadingLayers:0,messageOverrides:0,position:3,swipePosition:9,referenceElement:1,state:3,trailingLayers:0}}static{this.shadowRootOptions=x}static{this.styles=H}async destroy(){await this.manager.destroy()}loaded(){this.listenOn(document,"pointermove",this._onContainerPointerMove),this.listenOn(document,"pointerup",this._onContainerPointerUp)}_calculatePointerOffset(e){let{direction:i}=this,t=e.target,r=(i==="vertical"?t.clientHeight:t.clientWidth)/2,a=t.getBoundingClientRect(),o=e.clientX-a.left,d=e.clientY-a.top;this._pointerOffset=i==="vertical"?d-r:o-r}_onContainerPointerUp(e){this._swiping&&(e.preventDefault(),this._swiping=!1)}_onContainerPointerMove(e){if(!this._swiping)return;e.preventDefault();let{_pointerOffset:i,el:t,direction:r}=this,{clientX:a,clientY:o}=e,{top:d,left:s,width:c,height:h}=t.getBoundingClientRect(),z=r==="vertical"?h:c,A=(r==="vertical"?o-d-i:a-s-i)/z*100;this.swipePosition=A}_getKeyPosition(e){let{key:i}=e,{swipePosition:t}=this,{max:r,min:a,step:o,stepMultiplier:d,direction:s}=this.viewModel,c=o*d;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","Home","End","PageUp","PageDown"].includes(i)&&(e.preventDefault(),e.stopPropagation()),s==="vertical"?i==="ArrowDown"||i==="ArrowRight":i==="ArrowUp"||i==="ArrowRight"){let h=e.shiftKey?c:o;return t+h}if(s==="vertical"?i==="ArrowUp"||i==="ArrowLeft":i==="ArrowDown"||i==="ArrowLeft"){let h=e.shiftKey?c:o;return t-h}return i==="Home"?a:i==="End"?r:(s==="vertical"?i==="PageDown":i==="PageUp")?t+c:(s==="vertical"?i==="PageUp":i==="PageDown")?t-c:null}_onContainerKeyDown(e){let i=this._getKeyPosition(e);typeof i=="number"&&(this.swipePosition=i)}render(){let{state:e,direction:i}=this.viewModel,t=e==="disabled"||this.disabled,r={[_.disabled]:t,[n.baseDisabled]:t,[n.vertical]:i==="vertical",[n.horizontal]:i==="horizontal"};return g`<div class=${p(v(n.base,_.widget,r))}>${e==="disabled"?null:this._renderContainer()}</div>`}_renderHandle(){let{direction:e}=this.viewModel,{hideHandle:i}=this,t={[u.dragHorizontal]:e==="vertical",[u.dragVertical]:e==="horizontal"},r=v(n.handle,!!i&&n.handleHidden);return g`<div class=${p(r)} role=presentation><span aria-hidden=true class=${p(v(n.handleIcon,t))}></span></div>`}_renderDivider(){return this.hideDivider?null:g`<div class=${p(n.divider)} role=presentation></div>`}_renderContent(){return[this._renderDivider(),this._renderHandle()]}_renderContainer(){let{disabled:e,viewModel:i}=this,{max:t,min:r,direction:a,position:o}=i,d=this.label??this.messages.dragLabel??"",s=`${o}%`,c={top:a==="vertical"?s:void 0,left:a==="vertical"?void 0:s},h=this._renderContent();return e?g`<div class=${p(n.container)} role=presentation style=${w(c)}>${h}</div>`:g`<div @pointerdown=${this._onContainerPointerDown} .ariaLabel=${d} .ariaOrientation=${a} .ariaValueMax=${`${t}`} .ariaValueMin=${`${r}`} .ariaValueNow=${`${o}`} .ariaValueText=${s} class=${p(n.container)} @keydown=${this._onContainerKeyDown} role=slider style=${w(c)} tabindex=0 title=${d??y} touch-action=none>${h}</div>`}};D("arcgis-swipe",m);return m},"widgets/Swipe/SwipeViewModel",a,c,d)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{J as c,K as e,O as n,i as t,j as l}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{J as c,K as e,O as n,i as t,j as l}from"./OE63CHRK.js";export default $arcgis.t(([{formatDate:p}])=>{var g=t`.arcgis-video-player__toolbar{display:flex;align-items:center;background-color:var(--calcite-color-foreground-1);padding:0 calc(var(--esri-video-player-controls-spacing) / 2) calc(var(--esri-video-player-controls-spacing) / 2);font-size:var(--calcite-font-size--2)}.arcgis-video-player__timecode{display:flex;align-items:center;margin-inline:var(--calcite-size-12, 12px);color:var(--calcite-color-text-3)}.arcgis-video-player__controls-group{display:flex;flex:1 0 auto;justify-content:flex-end}`,o="arcgis-video-player",r={playerControlsGroup:`${o}__controls-group`,playerTimecode:`${o}__timecode`,playerToolbar:`${o}__toolbar`};function d(i){return p(Math.round(i)*1e3,{minute:"2-digit",second:"2-digit"})}var a=class extends c{static{this.properties={viewModel:0,messages:0,currentTime:9,duration:9,toggleMetadata:0}}static{this.styles=g}render(){let{messages:s}=this;return l`<div class=${e(r.playerToolbar)}><arcgis-video-player-actions-group .messages=${s} .viewModel=${this.viewModel}></arcgis-video-player-actions-group><div class=${e(r.playerTimecode)}>${d(this.currentTime)} / ${d(this.duration)}</div><arcgis-video-player-controls-group class=${e(r.playerControlsGroup)} .messages=${s} .toggleMetadata=${()=>this.toggleMetadata()} .viewModel=${this.viewModel}></arcgis-video-player-controls-group></div>`}};n("arcgis-video-player-action-bar",a);return a},"intl")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
4
|
export default $arcgis.t(([{formatNumber:r}])=>{var o=new Map([["a3-landscape","a3-landscape"],["a3-portrait","a3-portrait"],["a4-landscape","a4-landscape"],["a4-portrait","a4-portrait"],["letter-ansi-a-landscape","ansi-a-landscape"],["letter-ansi-a-portrait","ansi-a-portrait"],["tabloid-ansi-b-landscape","ansi-b-landscape"],["tabloid-ansi-b-portrait","ansi-b-portrait"]]),c=/^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/iu;function u(a){let t=a?.closest("[dir]");return t!==null&&t instanceof HTMLElement&&t.dir==="rtl"||document.dir==="rtl"}function d(a){if(!a)return;let t=a.layoutTemplateInfo;if(!t)return;let[e,n]=t.pageSize;return`${r(e)} \xD7 ${r(n)} ${a.pageUnits}`}function f(a,t){let{label:e,layout:n,layoutItem:i,type:s}=a;return s==="print-service-template"&&t[n]?t[n]:(e??n??i?.id)?.replaceAll("_"," ")??t.untitled}function m(a){return o.get(a)}var g=new Map([["AIX","aix"],["EPS","eps"],["GIF","gif"],["JPG","jpg"],["PDF","pdf"],["PNG32","png32"],["PNG8","png8"],["SVG","svg"],["SVGZ","svgz"],["TIFF","tiff"]]),p="map-only";function b(a){return a?.toLowerCase()===p}return{a:c,b:u,c:d,d:f,e:m,f:g,g:b}},"intl")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import c from"./CLYOGS64.js";import b from"./TNSLD4UV.js";import{e as r}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as e,J as a,O as o,i as s,z as i}from"./OE63CHRK.js";export default $arcgis.t(([h,,n])=>{var l=s`@layer{arcgis-area-measurement-3d{display:block}}`,c=n(h),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=r()("analysis","state"),this.arcgisReady=i()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};o("arcgis-area-measurement-3d",t);return t},"widgets/AreaMeasurement3D",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import b from"./CLYOGS64.js";import a from"./TNSLD4UV.js";import{e as d}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as s,J as o,O as h,i as t,z as i}from"./OE63CHRK.js";export default $arcgis.t(([r,,a])=>{var n=t`@layer{arcgis-shadow-cast{display:block}}`,m=a(r),e=class extends o{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.discreteOptions=this.viewModel.discreteOptions,this.durationOptions=this.viewModel.durationOptions,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=this.widget.headingLevel,this.hideColorPicker=this.widget.visibleElements.colorPicker,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideTimeRangeSlider=this.widget.visibleElements.timeRangeSlider,this.hideTimezone=this.widget.visibleElements.timezone,this.hideTooltip=this.widget.visibleElements.tooltip,this.hideVisualizationOptions=this.widget.visibleElements.visualizationOptions,this.hideThresholdContext=this.widget.visibleElements.thresholdContext,this.hideThresholdContextColor=this.widget.visibleElements.thresholdContextColor,this.hideThresholdContextTimeInterval=this.widget.visibleElements.thresholdContextTimeInterval,this.hideThresholdContextToggle=this.widget.visibleElements.thresholdContextToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.thresholdOptions=this.viewModel.thresholdOptions,this.utcOffset=this.viewModel.utcOffset,this.visualizationType=this.viewModel.visualizationType,this.arcgisPropertyChange=d()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,discreteOptions:0,durationOptions:0,endTimeOfDay:9,headingLevel:9,hideColorPicker:5,hideDatePicker:5,hideTimeRangeSlider:5,hideTimezone:5,hideTooltip:5,hideVisualizationOptions:5,hideThresholdContext:5,hideThresholdContextColor:5,hideThresholdContextTimeInterval:5,hideThresholdContextToggle:5,icon:1,label:1,position:1,referenceElement:1,startTimeOfDay:9,state:3,thresholdOptions:0,utcOffset:9,visualizationType:1}}static{this.shadowRootOptions=s}static{this.styles=n}async destroy(){await this.manager.destroy()}async getDuration(l){return await this.widget?.viewModel.getDuration(l)}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};h("arcgis-shadow-cast",e);return e},"widgets/ShadowCast",a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{D as a,J as r,O as s,j as i}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{D as a,J as r,O as s,j as i}from"./OE63CHRK.js";export default $arcgis.t(([{watch:o}])=>{var t=class extends r{constructor(){super(...arguments),this._showPrintAreaEnabled=!1}static{this.properties={_showPrintAreaEnabled:16,viewModel:0,messages:0}}static{this.shadowRootOptions=a}loaded(){this.manager.onLifecycle(()=>[o(()=>[this.viewModel.showPrintAreaEnabled],()=>{let{showPrintAreaEnabled:e}=this.viewModel;this._showPrintAreaEnabled=e},{initial:!0})])}render(){return i`<calcite-label layout=inline><calcite-switch .checked=${this._showPrintAreaEnabled} @calciteSwitchChange=${e=>{this.viewModel.showPrintAreaEnabled=!!e.currentTarget.checked}}></calcite-switch>${this.messages.printPreview}</calcite-label>`}};s("arcgis-print-preview-input",t);return t},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as S}from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import{a as S}from"./GF2VDAFU.js";import"./6QENSPID.js";import d from"./GGR56X2T.js";import c from"./5SZ73EH3.js";import{a as T}from"./MJZYNPWU.js";import{a as w}from"./SJVK3QVY.js";import b from"./TNSLD4UV.js";import{e as O}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as $,J as C,K as u,L as M,M as y,O as x,a as v,i as _,j as a,z as f}from"./OE63CHRK.js";export default $arcgis.t(([{watch:W},j,{property:h,subclass:A},E,k,L,H,D,,,B])=>{var c="arcgis-weather",d={base:c,content:`${c}__content`,hasError:`${c}__content--has-error`,selector:`${c}__selector`,options:`${c}__options`,optionsHidden:`${c}__options--hidden`,error:`${c}__error`,warning:`${c}__warning`},P=_`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);align-items:center;font-size:var(--calcite-font-size-sm);calcite-icon{color:var(--calcite-color-status-warning)}}}`,z=Object.defineProperty,F=Object.getOwnPropertyDescriptor,o=(t,e,i,s)=>{for(var r=s>1?void 0:s?F(e,i):e,p=t.length-1,l;p>=0;p--)(l=t[p])&&(r=(s?l(e,i,r):l(r))||r);return s&&r&&z(e,i,r),r},I={sunny:D,cloudy:E,rainy:L,snowy:H,foggy:k},R=Object.keys(I),n=class extends j{constructor(t){super(t),this.view=null,this._settingWeather=!1,this._weatherByType={sunny:new D,cloudy:new E,rainy:new L,snowy:new H,foggy:new k}}initialize(){this.addHandles([W(()=>this.current,t=>{this._settingWeather||t==null||(this._weatherByType={...this._weatherByType,[t.type]:t})},{sync:!0,initial:!0})])}get state(){if(!this.view?.ready)return"disabled";if(this.error!=null)switch(this.error){case"not-visible":return"ready";default:return"error"}return"ready"}get disabled(){return this.state==="disabled"}get weatherByType(){return this._weatherByType}get error(){let t=this.view;return t?.ready?t.type!=="3d"?"unsupported-view":t.viewingMode==="local"?"local-scene":t.environment.atmosphereEnabled?t.environment.weatherAvailable?null:"not-visible":"no-atmosphere":null}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(t){let e=this._environment;e&&(e.weather=t)}get _environment(){let t=this.view;return t!=null&&t.type==="3d"?t.environment:null}setWeatherByType(t){if(!R.includes(t)){console.warn(`arcgis-weather - "${t}" is not a valid weather type`);return}let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[t],this._settingWeather=!1)}setSnowCoverEnabled(t){let e=this.current;"snowCover"in e&&(e.snowCover=t?"enabled":"disabled")}};o([h()],n.prototype,"view",2);o([h()],n.prototype,"state",1);o([h()],n.prototype,"disabled",1);o([h()],n.prototype,"weatherByType",1);o([h()],n.prototype,"error",1);o([h()],n.prototype,"current",1);o([h()],n.prototype,"_weatherByType",2);o([h()],n.prototype,"_environment",1);n=o([A("components.weather.WeatherViewModel")],n);function g({label:t,value:e,disabled:i,onChange:s}){let r=p=>{let l=p.currentTarget.value;s?.(l)};return a`<calcite-label scale=s>${t}<calcite-slider aria-label=${t??y} .disabled=${i} style=${M({marginInline:"-7px",marginBottom:"-7px"})} max=1 min=0 step=0.01 .value=${e??0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`}var V=B(n),U={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},m=class extends C{constructor(){super(...arguments),this.viewModel=V(this),this.messages=T(),this.autoDestroyDisabled=!1,this.headingLevel=4,this.hideHeader=!1,this.icon="partly-cloudy",this.label=this.messages.componentLabel,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=O()("state"),this.arcgisReady=f()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=$}static{this.styles=P}async destroy(){await this.manager.destroy()}load(){this.manager.onLifecycle(()=>[W(()=>this._renderContent(),()=>this.requestUpdate())])}_getWarningMessage(){switch(this.viewModel.error){case"not-visible":{let{view:e}=this.viewModel;return e?.type==="3d"&&e.environment.atmosphereEnabled?this.messages.error?.notVisible:void 0}default:return}}_getErrorMessage(){let e=this.messages.error;if(e)switch(this.viewModel.error){case"local-scene":return e.localScene;case"no-atmosphere":return e.noAtmosphere;case"unsupported-view":return e.unsupported;default:return}}render(){return a`<div aria-label=${this.messages.componentLabelAccessible??y} class=${u(v(d.base,w.widget,this.viewModel.disabled&&w.widgetDisabled))} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:i,viewModel:s}=this,r=this._getWarningMessage(),p=s.current,l=s.state==="error";return a`${this.hideHeader?void 0:S({level:e,children:i.componentLabel})}${l?a`<div class=${u(d.error)}>${this._getErrorMessage()}</div>`:void 0}<div class=${u(v({[d.content]:!0,[d.hasError]:l}))}><div aria-label=${i.weatherType??y} class=${u(d.selector)} role=radiogroup>${R.map(this._renderWeatherTypeButton,this)}</div>${Object.values(s.weatherByType).map(b=>a`<div class=${u(v({[d.options]:!0,[d.optionsHidden]:b.type!==p?.type}))}>${this._renderOptions(b)}</div>`)}${r?this._renderWarning(r):void 0}</div>`}_renderWeatherTypeButton(e){let i=this.messages[e]?.label??"",{disabled:s}=this.viewModel,r=!s&&this.viewModel.current.type===e;return a`<calcite-button .appearance=${r?"solid":"outline"} aria-checked=${r?"true":"false"} .disabled=${s} .iconStart=${U[e]} .kind=${r?"brand":"neutral"} .label=${i} @click=${()=>{r||this.viewModel.setWeatherByType(e)}} scale=l title=${i??y}></calcite-button>`}_renderOptions(e){switch(e.type){case"sunny":return this._renderSunnyOptions(e);case"cloudy":return this._renderCloudyOptions(e);case"rainy":return this._renderRainyOptions(e);case"snowy":return this._renderSnowyOptions(e);case"foggy":return this._renderFoggyOptions(e)}}_renderSunnyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.sunny?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderCloudyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.cloudy?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderRainyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.rainy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}`}_renderSnowyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.snowy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}<calcite-label layout=inline scale=s title=${s?.snowCoverTooltip??y}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${i} @calciteCheckboxChange=${r=>{this.viewModel.setSnowCoverEnabled(r.currentTarget.checked)}}></calcite-checkbox>${s?.snowCover}</calcite-label>`}_renderFoggyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.foggy?.fogStrength,value:e.fogStrength,onChange:i=>{e.fogStrength=i}})}_renderWarning(e){return a`<div class=${u(d.warning)}><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon>${e}</div>`}};x("arcgis-weather",m);return m},"core/reactiveUtils","core/Accessor","core/accessorSupport/decorators","views/3d/environment/CloudyWeather","views/3d/environment/FoggyWeather","views/3d/environment/RainyWeather","views/3d/environment/SnowyWeather","views/3d/environment/SunnyWeather",b,c,d)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import a from"./5SZ73EH3.js";import{a as f}from"./MJZYNPWU.js";import{a as b}from"./SJVK3QVY.js";import{e as y}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as g,J as h,K as m,M as e,O as v,i as l,j as p,z as d}from"./OE63CHRK.js";export default $arcgis.t(([{when:M},{a:u}])=>{var w="arcgis-navigation-toggle",x={base:w},_=l`@layer{.arcgis-navigation-toggle{display:flex;box-shadow:0 1px 2px #0000004d;inline-size:fit-content;block-size:fit-content}}`,o={pan:"move",rotate:"rotate"},s=class extends h{constructor(){super(...arguments),this.view=u(this),this._messages=f(),this.icon=o.pan,this.layout="vertical",this.navigationMode="pan",this.position="top-left",this.state="disabled",this.arcgisPropertyChange=y()("layout","state"),this.arcgisReady=d()}static{this.properties={icon:1,label:1,layout:3,navigationMode:3,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=g}static{this.styles=_}async toggle(){this.state!=="disabled"&&(this.navigationMode=this.navigationMode!=="pan"?"pan":"rotate")}load(){this.manager.onLifecycle(()=>[M(()=>this.view?.navigation?.actionMap,()=>this._updateNavigationActionMap()),M(()=>{let{view:t}=this;return t?.ready&&t?.type==="3d"?"ready":"disabled"},t=>{this.state=t},{sync:!0,initial:!0})])}willUpdate(t){t.has("navigationMode")&&this._updateNavigationActionMap()}_onPanClick(){this.navigationMode="pan"}_onRotateClick(){this.navigationMode="rotate"}_updateNavigationActionMap(){let t=this.view?.navigation?.actionMap;if(!t)return;let a=this.navigationMode==="pan";t.dragPrimary=a?"pan":"rotate",t.dragSecondary=a?"rotate":"pan"}render(){let{_messages:t,navigationMode:a,state:$}=this,n=t.pan??"",c=t.rotate??"",i=$==="disabled",r=a==="pan";return p`<calcite-action-bar class=${m({[x.base]:!0,[b.disabled]:i})} expand-disabled .layout=${this.layout} scale=s><calcite-action .active=${r} appearance=solid .disabled=${i} .icon=${o.pan} @click=${this._onPanClick} scale=s .text=${n} title=${n??e}></calcite-action><calcite-action .active=${!r} appearance=solid .disabled=${i} .icon=${o.rotate} @click=${this._onRotateClick} scale=s .text=${c} title=${c??e}></calcite-action></calcite-action-bar>`}};v("arcgis-navigation-toggle",s);return s},"core/reactiveUtils",a)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import f from"./
|
|
3
|
+
v4.33.0-next.122 */
|
|
4
|
+
import f from"./GGR56X2T.js";import e from"./5SZ73EH3.js";import{a as w}from"./MJZYNPWU.js";import{a}from"./SJVK3QVY.js";import b from"./TNSLD4UV.js";import{e as p}from"./ZGFB7QLP.js";import"./3KEGSSLJ.js";import"./WOSHBINA.js";import{D as m,J as h,K as o,M as d,O as g,a as l,i as c,j as i,z as n}from"./OE63CHRK.js";export default $arcgis.t(([u,{d:v},,f])=>{var y=c`@layer{arcgis-home{display:block}}`,M={base:"esri-home"},$=f(u),r=class extends h{constructor(){super(...arguments),this.messages=w(),this.viewModel=$(this),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.position="top-left",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=v(()=>this.viewModel,"go"),this.arcgisPropertyChange=p()("state"),this.arcgisReady=n()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=m}static{this.styles=y}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){this.viewModel.go()}_go(){let{viewModel:e}=this;e.state==="going-home"?e.cancelGo():e.go()}render(){let{messages:e,icon:b}=this,t=this.viewModel?.state,s=t==="going-home";return i`<div class=${o(l(M.base,a.widget))}><calcite-button class=${o(a.widgetButton)} .disabled=${t==="disabled"} .iconStart=${s?void 0:b??void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${s?"s":"m"} title=${(t==="going-home"?e.cancel:e.title)??d}>${s?i`<calcite-loader inline label></calcite-loader>`:null}</calcite-button></div>`}};g("arcgis-home",r);return r},"widgets/Home/HomeViewModel",b,e,f)
|