@arcgis/map-components 4.34.0-next.23 → 4.34.0-next.24
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/{6HCAZKXN.js → 2EUYHS6D.js} +2 -2
- package/dist/cdn/{Q6JU5B4Y.js → 2VEQVFIL.js} +2 -2
- package/dist/cdn/{PQACVSY2.js → 3ZU6YRAC.js} +2 -2
- package/dist/cdn/{F7H2GEDR.js → 46L2ARNB.js} +2 -2
- package/dist/cdn/{MQFBYS6K.js → 4NKRANUY.js} +2 -2
- package/dist/cdn/{SJKAQX64.js → 562KKIZY.js} +2 -2
- package/dist/cdn/{PT65RDDW.js → 5BKWMN6X.js} +2 -2
- package/dist/cdn/{6KGR2DUO.js → 5EACZHFZ.js} +2 -2
- package/dist/cdn/{NERUIMW4.js → 5FCDQAZR.js} +2 -2
- package/dist/cdn/{CUC4YL4L.js → 5IHWNTSJ.js} +2 -2
- package/dist/cdn/{BPJ6Q72T.js → 5UYTGHJA.js} +2 -2
- package/dist/cdn/{3TYXP73L.js → 6NY6EMPB.js} +2 -2
- package/dist/cdn/{NZRDXV2S.js → 6P63TXIK.js} +2 -2
- package/dist/cdn/{YPHPP5QC.js → 6SWJADTF.js} +2 -2
- package/dist/cdn/{EVSFQJZX.js → 73TCYGMN.js} +1 -1
- package/dist/cdn/{2TWIWN4U.js → 7HIYIWGB.js} +2 -2
- package/dist/cdn/{VK74V2NA.js → 7K5WF2SK.js} +2 -2
- package/dist/cdn/{RQ4Q5XBK.js → 7WDKN5CW.js} +2 -2
- package/dist/cdn/{MZA3JWFW.js → 7YGSGYYR.js} +2 -2
- package/dist/cdn/{RDK6AJ6T.js → A2UQDKZP.js} +2 -2
- package/dist/cdn/{5PO5QPM6.js → A2ZKQSUX.js} +2 -2
- package/dist/cdn/{HAVQCPX4.js → AGA36SPX.js} +2 -2
- package/dist/cdn/{PSWKXGAF.js → AGPZ7C3A.js} +2 -2
- package/dist/cdn/{FTOOHMXK.js → ANFMNS7Z.js} +2 -2
- package/dist/cdn/{PMVHIEBP.js → B76ISLZ2.js} +2 -2
- package/dist/cdn/{QUNPAJX4.js → BXTVBBVF.js} +2 -2
- package/dist/cdn/{LP7IRD5F.js → CBC4EMZC.js} +2 -2
- package/dist/cdn/{ZTPIPHMH.js → D4Z6NOIQ.js} +2 -2
- package/dist/cdn/{HMNMWUOH.js → DBEMKI7T.js} +2 -2
- package/dist/cdn/{SIIWNNJP.js → DX2RZSJ7.js} +2 -2
- package/dist/cdn/{ZROCOWFA.js → E2IV5SEI.js} +2 -2
- package/dist/cdn/{HU4HYQRU.js → E7KNOP6R.js} +2 -2
- package/dist/cdn/{UGISDJ6C.js → ET2YNQ3Y.js} +2 -2
- package/dist/cdn/{HCX6PXM3.js → EXNS7PM2.js} +2 -2
- package/dist/cdn/{O4MVBKYD.js → EZYGXAWK.js} +2 -2
- package/dist/cdn/{HG2B7SEX.js → F24HT2CC.js} +2 -2
- package/dist/cdn/{XAFKMUL4.js → F6JHBLWL.js} +2 -2
- package/dist/cdn/{A4UYRFFY.js → FMDD3NIK.js} +2 -2
- package/dist/cdn/{7UPMVVTH.js → FWVHVG64.js} +2 -2
- package/dist/cdn/{JJLYIPJ6.js → G6SHH7HS.js} +2 -2
- package/dist/cdn/{47C7HBDH.js → GR2EJRIK.js} +2 -2
- package/dist/cdn/{K6NQCWUC.js → GVYRNLBI.js} +2 -2
- package/dist/cdn/{QJKW7TFV.js → HD2KKWNW.js} +2 -2
- package/dist/cdn/{L3G6HW2U.js → HDKNB4VT.js} +2 -2
- package/dist/cdn/{3S5YF756.js → HT73SJRM.js} +2 -2
- package/dist/cdn/{FZ3EQOYT.js → HZEFEYUZ.js} +2 -2
- package/dist/cdn/{W57ZBOEO.js → I3XFF4AD.js} +2 -2
- package/dist/cdn/{C2H7LY5F.js → I6TQ4OLX.js} +2 -2
- package/dist/cdn/{M2BV4JAL.js → ISGHLPXO.js} +2 -2
- package/dist/cdn/{22Y6E2BH.js → ITTRFP5Z.js} +2 -2
- package/dist/cdn/{IAJGSRWC.js → J2MXASY6.js} +2 -2
- package/dist/cdn/{ZZIXXZMN.js → JAH4EIQF.js} +1 -1
- package/dist/cdn/{6UBNUQ3H.js → JGCWSMO4.js} +1 -1
- package/dist/cdn/{UF4G5LTY.js → JKEAQ63W.js} +2 -2
- package/dist/cdn/{7MHGPOLM.js → JM5MQS6I.js} +2 -2
- package/dist/cdn/{2YSO6SVF.js → JTEFMQBW.js} +2 -2
- package/dist/cdn/{EKFSPYQV.js → K6GCQB4J.js} +1 -1
- package/dist/cdn/{IARTX5MI.js → K7NS7XEF.js} +1 -1
- package/dist/cdn/{IJAQLPYM.js → KAWX5P2K.js} +2 -2
- package/dist/cdn/{QQRH4EDU.js → KIFVLLQF.js} +2 -2
- package/dist/cdn/{AJUFYE7S.js → KPJVDQ5N.js} +2 -2
- package/dist/cdn/{QGHXR32V.js → KUPXO4GP.js} +2 -2
- package/dist/cdn/{CGQIOPIR.js → L2OZJ4YT.js} +2 -2
- package/dist/cdn/{ORRBGNFM.js → L7PCJO5J.js} +2 -2
- package/dist/cdn/{XSV443CQ.js → LIBWDVJZ.js} +2 -2
- package/dist/cdn/{LSZ3WZGL.js → LZVS3QYW.js} +2 -2
- package/dist/cdn/{JJYXYM5J.js → MJMNPKN5.js} +2 -2
- package/dist/cdn/{6XED54OE.js → MMI6IO3B.js} +2 -2
- package/dist/cdn/{QSYKWFPH.js → MQKYK4SU.js} +2 -2
- package/dist/cdn/{46JEZG3R.js → N44CJNPC.js} +2 -2
- package/dist/cdn/{375Q7IXU.js → N5JAXOQA.js} +2 -2
- package/dist/cdn/{ABZRJSJX.js → N5UN5Q5Q.js} +2 -2
- package/dist/cdn/{EOFVICRZ.js → NDNZ5BLN.js} +1 -1
- package/dist/cdn/{6IU2GAYR.js → NEGFYDDN.js} +2 -2
- package/dist/cdn/{62UYPBF3.js → OJ36A6T2.js} +2 -2
- package/dist/cdn/{27KHGRLR.js → P5LCSHIC.js} +2 -2
- package/dist/cdn/{SO5YPLW4.js → P6NVML7H.js} +2 -2
- package/dist/cdn/{XYCGPRZX.js → PGHL7H2U.js} +2 -2
- package/dist/cdn/{U7EWD27A.js → PKAYUCND.js} +2 -2
- package/dist/cdn/{JM3CVOUX.js → POYTLPRZ.js} +2 -2
- package/dist/cdn/{GJQZYGKG.js → PP2YMOW7.js} +2 -2
- package/dist/cdn/{FH227MQN.js → PSDZ2OAS.js} +2 -2
- package/dist/cdn/{VLID2IJA.js → Q325PZSI.js} +1 -1
- package/dist/cdn/{TPSLGWH7.js → QDVVKJLT.js} +2 -2
- package/dist/cdn/{XO4KS5VY.js → QHRLSCFD.js} +2 -2
- package/dist/cdn/{YLWDIZJM.js → QITMEUV4.js} +2 -2
- package/dist/cdn/{OEV3IQNE.js → QN32MZH5.js} +2 -2
- package/dist/cdn/{PPK3G4VK.js → QQBUGFFP.js} +2 -2
- package/dist/cdn/{WGJRT4PR.js → QVJDOLCK.js} +2 -2
- package/dist/cdn/{M7GRHYDU.js → QXHM7HAH.js} +2 -2
- package/dist/cdn/{T3PPBZ6I.js → QYIVV42M.js} +2 -2
- package/dist/cdn/{FQLWYIRQ.js → R5WNFY6G.js} +2 -2
- package/dist/cdn/{FNALKYWY.js → RTMVOR2H.js} +2 -2
- package/dist/cdn/{HJJ5HE5F.js → SQI65BAR.js} +2 -2
- package/dist/cdn/{GRT5P3XK.js → STYFBJSE.js} +2 -2
- package/dist/cdn/{7PFDFBY3.js → TWY5OW6X.js} +2 -2
- package/dist/cdn/{PPYGBJT3.js → TYGS4BCD.js} +2 -2
- package/dist/cdn/{XQEMEXYZ.js → UDVH2WHK.js} +2 -2
- package/dist/cdn/{OK7WABET.js → V5VH4HUK.js} +2 -2
- package/dist/cdn/{NUYZDOAS.js → VKLA4QZF.js} +2 -2
- package/dist/cdn/{F7XDJY7U.js → VNJV74J5.js} +2 -2
- package/dist/cdn/{3MEKEFZA.js → VPHMDGGJ.js} +2 -2
- package/dist/cdn/{YWDKVGXX.js → VQ62X6SS.js} +1 -1
- package/dist/cdn/{ECCNYHKG.js → VS3L74PB.js} +2 -2
- package/dist/cdn/{VUZJ4DWE.js → VXFTOZOT.js} +2 -2
- package/dist/cdn/{ZRIMID36.js → W4T4ZP65.js} +2 -2
- package/dist/cdn/{CRYG6XNI.js → WJFP5KWT.js} +2 -2
- package/dist/cdn/{NLW52GNR.js → WVLRZERL.js} +2 -2
- package/dist/cdn/{U674TVP4.js → XTBJH2BW.js} +2 -2
- package/dist/cdn/{SSBHTYLL.js → Y4UU6NNM.js} +2 -2
- package/dist/cdn/{D6KEVNFO.js → Y72HH3Q5.js} +2 -2
- package/dist/cdn/{NOVOJEM4.js → YEU2B4RK.js} +2 -2
- package/dist/cdn/{FXQ43O2T.js → YGEE4RCH.js} +2 -2
- package/dist/cdn/{GP7B2QGP.js → YW4KUSJ3.js} +2 -2
- package/dist/cdn/{XX3NFGRF.js → YYX56FVO.js} +2 -2
- package/dist/cdn/{B2IST254.js → ZJKTJLAX.js} +2 -2
- package/dist/cdn/{LD5DDSPS.js → ZJM3XGW2.js} +2 -2
- package/dist/cdn/{O7UURLAD.js → ZLKV2PYS.js} +2 -2
- package/dist/cdn/{OXOWVMZ4.js → ZUK7OL54.js} +2 -2
- package/dist/cdn/{GC7J2TQ6.js → ZVY67JBB.js} +2 -2
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/maybe.js +1 -1
- package/dist/chunks/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.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-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +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 +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import d from"./TWY5OW6X.js";import c from"./XTBJH2BW.js";import b from"./QITMEUV4.js";import"./QXHM7HAH.js";import"./P5LCSHIC.js";import"./NDNZ5BLN.js";import{A as t,D as s,O as a,T as h,i}from"./JAH4EIQF.js";export default $arcgis.t(([d,,{a:o},l])=>{var r=i`@layer{arcgis-daylight{display:block}}`,n=l(d),e=class extends a{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentSeason=this.viewModel.currentSeason,this.dateOrSeason=this.widget.dateOrSeason,this.dayPlaying=this.viewModel.dayPlaying,this.headingLevel=this.widget.headingLevel,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideTimezone=this.widget.visibleElements.timezone,this.icon=this.widget.icon,this.label=this.widget.label,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.position="bottom-left",this.timeSliderSteps=this.widget.timeSliderSteps,this.yearPlaying=this.viewModel.yearPlaying,this.arcgisReady=t(),this.arcgisUserDateTimeChange=o(()=>this.viewModel,"user-date-time-change")}static{this.properties={autoDestroyDisabled:5,currentSeason:1,dateOrSeason:1,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:1,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,yearPlaying:5}}static{this.shadowRootOptions=s}static{this.styles=r}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);return e},"widgets/Daylight",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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{O as o,T as n,i as s,j as t}from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import{O as o,T as n,i as s,j as t}from"./JAH4EIQF.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}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=t`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${_.map(({label:i,value:c})=>t`<calcite-list-item .label=${i} @click=${()=>{this._speed=i,l.changePlaybackSpeed(c)}} .selected=${i===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,p=t`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-list .label=${e.quality} selection-mode=single-persist>${g.map(i=>t`<calcite-list-item .label=${i} @click=${()=>this._quality=i} .selected=${i===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,m=t`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=void 0}><calcite-block .heading=${e.color} expanded><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??r.toHex()} @calciteColorPickerChange=${({currentTarget:i})=>{let c=i.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 t`<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=void 0}><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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import d from"./TWY5OW6X.js";import c from"./XTBJH2BW.js";import b from"./QITMEUV4.js";import"./QXHM7HAH.js";import"./P5LCSHIC.js";import"./NDNZ5BLN.js";import{A as e,D as s,O as o,T as a,i}from"./JAH4EIQF.js";export default $arcgis.t(([h,,,l])=>{var n=i`@layer{arcgis-floor-filter{display:block}}`,d=l(h),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.facility=this.widget.facility,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.level=this.widget.level,this.longNames=this.widget.longNames,this.position="bottom-left",this.site=this.widget.site,this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,facility:3,headingLevel:9,icon:1,label:1,level:3,longNames:5,position:1,referenceElement:1,site:3}}static{this.shadowRootOptions=s}static{this.styles=n}async destroy(){await this.manager.destroy()}async updateWebDocument(r){this.widget?.updateWebDocument(r)}};a("arcgis-floor-filter",t);return t},"widgets/FloorFilter",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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{j as m,k as h,l as p}from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import{j as m,k as h,l as p}from"./JAH4EIQF.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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
4
|
function b(n){n.el.childElem&&(n.el.childElem.ownedBy=n.el);let e=w(n);if(!e){let t=m(n);if(!t){p(n);return}return u(t,n,!0),t}return v(e,n.el.parent)||(n.el.parent=e,e.localName==="arcgis-expand"?y(e,n):e.localName==="arcgis-placement"?h(e,n):u(e,n,!1)),e}function w({el:n}){for(let e=n.parentElement;e;e=e?.parentElement??null){if(d.has(e.localName))return e;if("ownedBy"in e&&e.ownedBy instanceof HTMLElement&&d.has(e.ownedBy.localName))return e.ownedBy}}var d=new Set(["arcgis-map","arcgis-scene","arcgis-link-chart","arcgis-expand","arcgis-placement"]);function v(n,e){if(n!==e)return!1;let t=n.localName;return t==="arcgis-expand"||t==="arcgis-placement"}function r(n,e,t="arcgisReady"){let o=n;if(o.view)e(o.view);else{let i=function(c){c.target===n&&(r(n,e,t),n.removeEventListener(t,i))};n.addEventListener(t,i)}}var y=(n,e)=>r(n,t=>{e.el.childElem&&n.content!=null&&n.content.append(e.el.childElem),n.expandIcon=e.icon||e.widget?.icon||n.expandIcon,e.position=n.position,e.el.view=t}),h=(n,e)=>r(n,t=>{e.el.childElem&&e.el.append(e.el.childElem),e.position=n.position,e.el.view=t}),u=(n,e,t)=>r(n,o=>{t?p(e):e.el.childElem&&E(n,e),e.el.view=o},"arcgisViewReadyChange");function E(n,e){let t=e.el.childElem??e.el,o=n?.childElem,i=[...n.children],c={};for(let l of i){if(l===o)continue;let a=l.position??"manual";c[a]??=[],c[a].push({child:l,position:a,index:i.indexOf(l)})}let g=c[e.position??"manual"]?.findIndex(({child:l})=>l===e.el),s=n.view.ui;s.remove(t),s.add(t,{position:e.position,index:g})}function N(n){let e=!1,t=n.el.view,o=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(n.el),"view")??{get:()=>t,set:i=>t=i};Object.defineProperty(n.el,"view",{get:o.get.bind(n.el),set:i=>{o.set.call(n.el,i),i&&!e&&(e=!0,n.arcgisReady.emit())},configurable:!0,enumerable:!0}),t&&(n.el.view=t)}function O(n){return n==null||n===""}function B(n,e){return e!=null&&n?.position===e.position&&n?.heading===e.heading&&n?.tilt===e.tilt&&n?.fov===e.fov}function L(n,e){return e===void 0||n?.targetGeometry!==e?.targetGeometry||n?.rotation!==e?.rotation||n?.scale!==e?.scale}function R(n,e){return f(e?.center,n)}function f(n,e){if(typeof e=="string")return f(n,e.split(",").map(Number));if(!n)return e;if(Array.isArray(e)){let t=e[0],o=e[1],i=e.length>2?e[2]:void 0;if(t!==n.longitude||o!==n.latitude||i!==n.z)return e}else if(e&&!n?.equals(e))return e}async function P(n,e){e!=null&&(typeof e=="string"?n.el.view=await x(n,e):n.widget&&(n.el.view=e.view))}async function x(n,e){let t=m(n,e);return await new Promise(o=>{typeof t?.view?.ready=="boolean"?o(t.view):t&&t.addEventListener("arcgisViewReadyChange",()=>o(t.view),{once:!0})})}function p(n){n.el.childElem&&(n.el.shadowRoot??n.el).append(n.el.childElem)}function m(n,e){let t=e??n.referenceElement;if(typeof t!="string")return t??void 0;let o=t.includes("#")||t.includes(".")||t.includes("["),i=n.el.getRootNode();return(o?void 0:i.querySelector(`#${t}`))??i.querySelector(t)??void 0}var F=n=>n.el.childElem;async function S(n){let e=typeof n=="function"?n():n;e&&("setFocus"in e&&typeof e.setFocus=="function"?await e.setFocus():e instanceof HTMLElement&&e.focus())}export{b as a,N as b,O as c,B as d,L as e,R as f,f as g,P as h,F as i,S as j};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as o}from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import{a as o}from"./J2MXASY6.js";import{a as _}from"./Q325PZSI.js";import{A as d,D as m,O as p,P as l,T as g,a as n,i as h,j as t}from"./JAH4EIQF.js";export default $arcgis.t(([{watch:R},{substitute:$}])=>{var w="arcgis-search-result-renderer",M={base:w,moreResults:`${w}__more-results`},b=h`@layer{.arcgis-search-result-renderer calcite-block,.arcgis-search-result-renderer calcite-block[expanded]{margin-block:0;margin-block-start:var(--calcite-spacing-md);border:0}}`,a=class extends p{constructor(){super(...arguments),this._resultCount=0,this._showMoreResultsOpen=!1,this.autoDestroyDisabled=!1,this.arcgisReady=d()}static{this.properties={_results:16,_resultCount:16,_selectedResult:16,_showMoreResultsOpen:16,messages:0,autoDestroyDisabled:5,viewModel:0}}static{this.styles=b}static{this.shadowRootOptions=m}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[R(()=>[this.viewModel?.results,this.viewModel?.resultCount],()=>{this._results=this.viewModel?.results,this._resultCount=this.viewModel?.resultCount??0,this._showMoreResultsOpen=!1},{initial:!0}),R(()=>this.viewModel?.selectedResult,e=>this._selectedResult=e,{initial:!0})])}_selectResult(e){this._showMoreResultsOpen=!1,this.viewModel?.select(e)}_getSourceName(e,s){return s===-1?this.messages?.all??"":e.name}_toggleShowMoreResults(e){this._showMoreResultsOpen=e;let s=this.viewModel?.view?.popup;s&&"reposition"in s&&s.reposition()}render(){return t`<div class=${l(n(M.base,_.widget))}>${this._selectedResult?.name??""}${this._renderMoreResults()}</div>`}_renderMoreResults(){let{_resultCount:e,_results:s}=this;return!e||e<2||!s?null:t`<calcite-block class=${l(M.moreResults)} collapsible .expanded=${this._showMoreResultsOpen} .heading=${$(this.messages?.showMoreResults??"",{count:e-1})} @calciteBlockClose=${()=>this._toggleShowMoreResults(!1)} @calciteBlockOpen=${()=>this._toggleShowMoreResults(!0)}>${s.map(r=>this._renderMoreResultsList(r,s?.length>1))}</calcite-block>`}_renderMoreResultsList(e,s){let{results:r}=e;if(!(r?.length??0)||!r)return null;let c=this._getSourceName(e.source,e.sourceIndex),u=r.filter(i=>i!==this._selectedResult).map(i=>this._renderListItem(i));return t`<calcite-list .label=${c}>${s?o(`group-${e.sourceIndex}`,t`<calcite-list-item-group .heading=${c}>${u}</calcite-list-item-group>`):u}</calcite-list>`}_renderListItem(e){return o(`result-${e.sourceIndex}-${e.key}`,t`<calcite-list-item .label=${e.name} @calciteListItemSelect=${()=>this._selectResult(e)}></calcite-list-item>`)}};g("arcgis-search-result-renderer",a);return a},"core/reactiveUtils","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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import c from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import c from"./TWY5OW6X.js";import b from"./XTBJH2BW.js";import a from"./QITMEUV4.js";import{e as n}from"./QXHM7HAH.js";import"./P5LCSHIC.js";import"./NDNZ5BLN.js";import{A as e,D as s,O as o,T as h,i}from"./JAH4EIQF.js";export default $arcgis.t(([l,,,r])=>{var a=i`@layer{arcgis-elevation-profile{display:block}}`,d=r(l),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.effectiveUnits=this.viewModel.effectiveUnits,this.hideChart=this.widget.visibleElements.chart,this.hideClearButton=this.widget.visibleElements.clearButton,this.hideLegend=this.widget.visibleElements.legend,this.hideSelectButton=this.widget.visibleElements.selectButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.hideSketchButton=this.widget.visibleElements.sketchButton,this.hideUniformChartScalingToggle=this.widget.visibleElements.uniformChartScalingToggle,this.hideUnitSelector=this.widget.visibleElements.unitSelector,this.highlightEnabled=this.viewModel.highlightEnabled,this.hoveredChartPosition=this.viewModel.hoveredChartPosition,this.icon=this.widget.icon,this.input=this.widget.input,this.label=this.widget.label,this.position="bottom-left",this.profiles=this.widget.profiles,this.progress=this.viewModel.progress,this.state=this.viewModel.state,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=n()("input","effectiveUnits","progress","state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,effectiveUnits:0,hideChart:5,hideClearButton:5,hideLegend:5,hideSelectButton:5,hideSettingsButton:5,hideSketchButton:5,hideUniformChartScalingToggle:5,hideUnitSelector:5,highlightEnabled:5,hoveredChartPosition:9,icon:1,input:0,label:1,position:1,profiles:0,progress:8,referenceElement:1,state:3,uniformChartScaling:5,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=a}async destroy(){await this.manager.destroy()}async start(){this.widget.viewModel.start()}async stop(){this.widget.viewModel.stop()}};h("arcgis-elevation-profile",t);return t},"widgets/ElevationProfile",a,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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{t as c,u as m,v as d,w as C,y as f}from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import{t as c,u as m,v as d,w as C,y as f}from"./JAH4EIQF.js";var P=t=>(...p)=>{let s=m(),e=new t(...p),o=e.exports;c(s.at(-1));let n=e.component.manager;n.W(e,o),e.watchExports(n.W.bind(n,e)),d(e);let i=[e.component,...s].reverse();return f(i,a=>a===void 0?void 0:E(e,a,o),o)},E=(t,{host:p,key:s,isReactive:e},o)=>{let n=p,i=n[s]!==t.exports,a=n[s]!==o,h=o!==t.exports;if(i&&!a&&h&&(n[s]=t.exports),p===t.component){if(e){let r=t.component.manager;a&&r.W(t,n[s]),t.onUpdate(v=>{if(v.has(s)){let x=n[s];x!==t.exports&&r.W(t,x)}})}t.O=e?void 0:s}let g=t.component.constructor.elementProperties.get(s)?.readOnly;t.watchExports(()=>{n[s]!==t.exports&&(g?C(()=>{n[s]=t.exports}):n[s]=t.exports)})};export{P 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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as d,b as u}from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import{a as d,b as u}from"./ZJM3XGW2.js";import{A as m,D as w,O as g,T as $,i as b,j as n}from"./JAH4EIQF.js";var k=b`@layer{:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}}`,_=class extends g{constructor(){super(...arguments),this._flowItemElement=d(),this._switchToVersion=!0,this._switchToVersionCheckboxElement=d(),this._versionNameInputElement=d(),this.selected=!1,this.showBackButton=!1,this.arcgisAlterVersion=m(),this.arcgisCreateVersion=m(),this.arcgisFlowItemBack=m(),this.arcgisFlowItemClose=m()}static{this.properties={selected:7,showBackButton:7,versionPropertiesElementProps:0}}static{this.shadowRootOptions=w}static{this.styles=k}load(){let{versionPropertiesElementProps:{versionInfo:t}}=this;t?(this._mode="edit",this._fullVersionName=t.versionIdentifier.name,this._ownerName=this._fullVersionName.substring(0,this._fullVersionName.lastIndexOf(".")),this._versionName=this._fullVersionName.substring(this._fullVersionName.lastIndexOf(".")+1)):this._mode="create"}updated(){this._mode==="create"&&this._versionNameInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleCancel(){this.arcgisFlowItemBack.emit()}_handleChange(t){let{_mode:s,_ownerName:l,_versionName:h,versionPropertiesElementProps:{currentUser:p,isVersionAdministrator:v,serviceUrl:i,versionInfo:c}}=this,{_alterVersionParameters:e,_createVersionParameters:a}=this;switch(s==="create"&&(a||(a={access:"public",description:"",featureServerUrl:i,ownerName:p,versionName:""})),s==="edit"&&(e||(e={featureServerUrl:i,versionIdentifier:c.versionIdentifier,ownerName:l,versionName:h,access:c.access,description:c.description})),t.type){case"calciteChipGroupSelect":{let r=t.target.label,o=t.target.selectedItems[0].label;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}case"calciteInputTextInput":{let r=t.target.name,o=t.target.value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}case"calciteTextAreaInput":{let r=t.target.name,o=t.target.value;s==="create"&&(a={...a,[r]:o}),s==="edit"&&(e={...e,[r]:o});break}}s==="create"&&(a.access!=="public"&&p.toUpperCase()!==a.ownerName?.toUpperCase()&&!v?(this._switchToVersionCheckboxElement.value.checked=!1,this._switchToVersionCheckboxElement.value.disabled=!0,this._switchToVersion=!1):this._switchToVersionCheckboxElement.value.disabled=!1,this._createVersionParameters=a),s==="edit"&&(this._alterVersionParameters=e)}_handleClose(){this.arcgisFlowItemClose.emit()}_handleSave(){let{_alterVersionParameters:t,_createVersionParameters:s,_mode:l,_switchToVersion:h}=this;l==="create"&&this.arcgisCreateVersion.emit({createVersionParameters:s,switchToVersion:h}),l==="edit"&&this.arcgisAlterVersion.emit({alterVersionParameters:t})}_handleSwitchToVersionChange(t){this._switchToVersion=t.target.checked}render(){let{selected:t,showBackButton:s,versionPropertiesElementProps:{closable:l,currentUser:h,hasAdvEditingUte:p,state:v,strings:i,versionInfo:c},_mode:e,_ownerName:a,_versionName:r}=this,o=n`<div class="properties-buttons"><calcite-button appearance=outline width=half @click=${this._handleCancel}>${i.actions.cancelSave}</calcite-button><calcite-button width=half @click=${this._handleSave}>${i.actions.saveVersion}</calcite-button></div>`,V=n`<calcite-label>${i.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this._handleChange} selection-mode=single-persist><calcite-chip .selected=${e==="edit"&&c.access==="public"||e==="create"} label=public>${i.accessLevels.public}</calcite-chip><calcite-chip .selected=${e==="edit"&&c.access==="protected"} label=protected>${i.accessLevels.protected}</calcite-chip><calcite-chip .selected=${e==="edit"&&c.access==="private"} label=private>${i.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,f=n`<calcite-label>${i.input.versionDescription}<calcite-text-area name=description @calciteTextAreaInput=${this._handleChange} resize=vertical .value=${e==="edit"?c.description:""}></calcite-text-area></calcite-label>`,I=n`<calcite-label>${i.input.versionName}<calcite-input-text name=versionName @calciteInputTextInput=${this._handleChange} max-length=62 .value=${e==="edit"?r:""} ${u(this._versionNameInputElement)}></calcite-input-text></calcite-label>`,x=n`<calcite-label>${i.input.versionOwner}<calcite-input-text name=ownerName @calciteInputTextInput=${this._handleChange} .disabled=${!p} .value=${e==="edit"?a:h}></calcite-input-text></calcite-label>`,C=e==="create"?n`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this._handleSwitchToVersionChange} ${u(this._switchToVersionCheckboxElement)}></calcite-checkbox>${i.actions.switchToVersion}</calcite-label>`:void 0;return n`<calcite-flow-item .closable=${l} .description=${c?c.versionIdentifier.name:""} .heading=${c?i.actions.editVersion:i.actions.newVersion} .selected=${t} .showBackButton=${s} @calciteFlowItemClose=${this._handleClose} ${u(this._flowItemElement)}><calcite-panel .loading=${v==="executing"}><calcite-block .label=${i.headers.versionProperties} open>${I}${f}${V}${x}${C}${o}</calcite-block></calcite-panel></calcite-flow-item>`}};$("arcgis-version-management-version-properties",_);export{_ as ArcgisVersionManagementVersionProperties};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import f from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import f from"./R5WNFY6G.js";import{a as w}from"./ZJKTJLAX.js";import{a as s}from"./Q325PZSI.js";import b from"./XTBJH2BW.js";import a from"./QITMEUV4.js";import{e as u}from"./QXHM7HAH.js";import"./P5LCSHIC.js";import"./NDNZ5BLN.js";import{A as d,D as m,O as g,P as c,T as p,a as n,i as h,j as e}from"./JAH4EIQF.js";export default $arcgis.t(([k,,{a:y},b])=>{var L=h`@layer{arcgis-link-chart-layout-switcher{display:block}}`,v={basicLayoutCategory:["basic-grid"],organicLayoutCategory:["organic-standard","organic-community","geographic-organic-standard"],treeLayoutCategory:["tree-left-to-right","radial-root-centric"],hierarchicalLayoutCategory:["hierarchical-bottom-to-top"],chronologicalLayoutCategory:["chronological-mono-timeline","chronological-multi-timeline"]},f={"organic-standard":"force-directed-link-chart-layout","organic-community":"community-link-chart-layout","basic-grid":"simple-link-chart-layout","hierarchical-bottom-to-top":"hierarchical-link-chart-layout","radial-root-centric":"radial-tree-link-chart-layout","tree-left-to-right":"smart-tree-link-chart-layout","geographic-organic-standard":"geographic-link-chart-layout","chronological-mono-timeline":"single-timeline","chronological-multi-timeline":"multi-timeline"},$={"organic-standard":"forceDirected","organic-community":"community","basic-grid":"simple","hierarchical-bottom-to-top":"hierarchical","radial-root-centric":"radialTree","tree-left-to-right":"smartTree","geographic-organic-standard":"geographic","chronological-mono-timeline":"chronologicalSingle","chronological-multi-timeline":"chronologicalMultiple"},M={base:"esri-link-chart-layout-switcher"},D=b(k),l=class extends g{constructor(){super(...arguments),this.messages=w(),this.viewModel=D(this),this.appearance="dropdown",this.autoDestroyDisabled=!1,this.closeOnSelectDisabled=!1,this.icon="nodes-link",this.layout=this.viewModel.layout,this.position="top-left",this.preventExtentUpdate=this.viewModel.preventExtentUpdate,this.state=this.viewModel.state,this.arcgisSwitchLayout=y(()=>this.viewModel,"switchLayout"),this.arcgisPropertyChange=u()("state"),this.arcgisReady=d()}static{this.properties={appearance:1,autoDestroyDisabled:5,closeOnSelectDisabled:5,icon:1,label:1,layout:32,messageOverrides:0,position:3,preventExtentUpdate:5,referenceElement:1,state:3}}static{this.shadowRootOptions=m}static{this.styles=L}async destroy(){await this.manager.destroy()}async switchLayout(t){this.viewModel.switchLayout(t)}_renderDropdown(){let{messages:t,icon:a}=this;return e`<calcite-dropdown scale=s width=m max-items=9 .closeOnSelectDisabled=${this.closeOnSelectDisabled}><calcite-button class=${c(s.widgetButton)} slot=trigger kind=neutral .disabled=${this.viewModel.state==="disabled"} .iconStart=${a??void 0} .label=${t.layoutOptions??"Layout"}></calcite-button>${Object.entries(v).map(([r,i])=>e`<calcite-dropdown-group selection-mode=single .groupTitle=${this.messages[r]}>${i.map(o=>e`<calcite-dropdown-item .iconStart=${f[o]} .selected=${o===this.layout?!0:void 0} @click=${()=>void this.switchLayout(o)}>${t[$[o]]}</calcite-dropdown-item>`)}</calcite-dropdown-group>`)}</calcite-dropdown>`}_renderMenuBar(){let{messages:t}=this;return e`<calcite-action-bar scale=s floating overflow-actions-disabled>${Object.entries(v).map(([a,r])=>e`<calcite-action-group .label=${this.messages[a]}>${r.map(i=>e`<calcite-action scale=s .icon=${f[i]} .active=${i===this.layout?!0:void 0} @click=${()=>void this.switchLayout(i)} .text=${t[$[i]]}></calcite-action>`)}</calcite-action-group>`)}</calcite-action-bar>`}render(){let{appearance:t}=this,a=t==="menu-bar"?this._renderMenuBar():this._renderDropdown();return e`<div class=${c(n(M.base,s.widget))}>${a}</div>`}};p("arcgis-link-chart-layout-switcher",l);return l},"widgets/LinkChartLayoutSwitcher/LinkChartLayoutSwitcherViewModel",a,b,f)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as _,b as p}from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import{a as _,b as p}from"./ZJM3XGW2.js";import d from"./R5WNFY6G.js";import{a as g}from"./ZJKTJLAX.js";import{a as f}from"./Q325PZSI.js";import b from"./XTBJH2BW.js";import a from"./QITMEUV4.js";import{e as u}from"./QXHM7HAH.js";import"./P5LCSHIC.js";import"./NDNZ5BLN.js";import{A as t,D as h,O as c,P as s,T as v,a as l,i as n,j as e}from"./JAH4EIQF.js";export default $arcgis.t(([M,{watch:a},,,m])=>{var $=n`@layer{.arcgis-video-player{--esri-video-player-view-height: 300px;--esri-video-player-view-aspect-ratio: 1.77;--esri-video-player-controls-spacing: 16px;min-width:calc(var(--esri-video-player-view-height) * var(--esri-video-player-view-aspect-ratio))}.arcgis-video-player .arcgis-video-player__video-view{display:flex;height:var(--esri-video-player-view-height)}}`,y="arcgis-video-player",w={base:y,videoView:`${y}__video-view`},b=m(M),o=class extends c{constructor(){super(...arguments),this.messages=g({blocking:!0}),this.viewModel=b(this),this._videoViewRef=_(),this._metadataVisible=!1,this._duration=0,this._currentTime=0,this._bufferedValue=0,this._currentValue=0,this._isBuffering=!1,this._videoViewReady=!1,this.position="top-left",this.icon="video-web",this.state=this.viewModel.state,this.layer=this.viewModel.layer,this.autoDestroyDisabled=!1,this.hideHeader=!1,this.arcgisPropertyChange=u()("state","layer"),this.arcgisReady=t(),this.arcgisVideoReady=t()}static{this.properties={_metadataVisible:16,_duration:16,_currentTime:16,_bufferedValue:16,_currentValue:16,_isBuffering:16,_videoViewReady:16,_layerTitle:16,referenceElement:1,position:3,icon:1,state:3,followingMode:1,layer:0,autoDestroyDisabled:5,messageOverrides:0,label:3,hideHeader:5}}static{this.styles=$}static{this.shadowRootOptions=h}get followingMode(){return this.viewModel.followingMode}set followingMode(i){this.viewModel.followingMode=i}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[a(()=>[this.viewModel.currentTime,this.viewModel.duration,this.viewModel.duration,this.viewModel.ended],()=>{let{buffered:i,currentTime:d,duration:r,ended:V}=this.viewModel;this._duration=r,this._currentTime=d,this._bufferedValue=i/(r||1),this._currentValue=d/(r||1),this._isBuffering=!V&&this._bufferedValue<this._currentValue}),a(()=>this._videoViewRef.value?.ready,i=>{this._videoViewReady=!!i},{initial:!0}),a(()=>this.layer?.title,i=>{this._layerTitle=i??void 0},{initial:!0})])}render(){return e`<div class=${s(l(w.base,f.widget))}><calcite-panel .heading=${this.hideHeader?void 0:this._layerTitle??this.messages.videoPlayer}>${this._renderLoadingScrim()}${this._renderBuffering()}${this._renderVideoSection()}${this._renderSlider()}${this._renderActionBar()}${this._renderMetadataSection()}</calcite-panel></div>`}_renderLoadingScrim(){return this._videoViewReady?null:e`<calcite-scrim .loading=${this.state!=="error"}>${this.state==="error"?this.messages.errorLoadingLayer:null}</calcite-scrim>`}_renderBuffering(){return this._isBuffering?e`<calcite-progress type=indeterminate></calcite-progress>`:null}_renderVideoSection(){return e`<div class=${s(w.videoView)}><arcgis-video .layer=${this.layer} @arcgisViewReadyChange=${()=>this.arcgisVideoReady.emit()} ${p(this._videoViewRef)}></arcgis-video></div>`}_renderSlider(){return e`<arcgis-video-player-slider .buffered=${this._bufferedValue} .value=${this._currentValue*100} .viewModel=${this.viewModel}></arcgis-video-player-slider>`}_renderActionBar(){return e`<arcgis-video-player-action-bar .currentTime=${this._currentTime} .duration=${this._duration} .messages=${this.messages} .toggleMetadata=${()=>this._metadataVisible=!this._metadataVisible} .viewModel=${this.viewModel}></arcgis-video-player-action-bar>`}_renderMetadataSection(){return this._metadataVisible?e`<arcgis-video-player-metadata .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-video-player-metadata>`:null}};v("arcgis-video-player",o);return o},"widgets/VideoPlayer/VideoPlayerViewModel","core/reactiveUtils",a,b,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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as s}from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import{a as s}from"./K6GCQB4J.js";import{a as y}from"./Q325PZSI.js";import{i as f}from"./NDNZ5BLN.js";import{D as b,O as $,P as i,R as l,T as u,U as v,a as h,j as r}from"./JAH4EIQF.js";export default $arcgis.t(([{watch:I}])=>{function S(e){return e.portalItem?.type==="Web Scene"||e.referenceLayers.some(a=>a.type==="scene")}function L(e){return!!e?.portalItem?.tags?.some(a=>a.toLowerCase()==="beta")}var c=class extends ${constructor(){super(...arguments),this._itemState="loading",this._isActive=!1}static{this.properties={_itemState:16,_isActive:16,disabled:5,item:0,itemIndex:9,viewModel:0,messages:0}}static{this.shadowRootOptions=b}loaded(){this.manager.onLifecycle(()=>[I(()=>this.item.state,a=>{this._itemState=a},{sync:!0}),I(()=>this.viewModel.activeBasemap,a=>{this._isActive=this.item.basemap.id===a?.id,this._isActive&&(f(this)?.focus(),this.el.scrollIntoView({block:"nearest"}))},{initial:!0,sync:!0})])}render(){let{disabled:a,item:t,itemIndex:o,viewModel:n,messages:w}=this,_=t.basemap.thumbnailUrl||v("assets/basemap-gallery/images/basemap-toggle-64.svg"),p=t.basemap.title,x=t.basemap.portalItem?.snippet,A=t.error?.message||x||p,{activeBasemapIndex:d}=n,m=d===o,B=m||d===-1&&o===0?0:-1,C={[s.selectedItem]:m,[s.itemError]:t.state==="error"},g=`basemapgallery-item-${t.uid}`;return r`<div .ariaChecked=${m} .ariaDisabled=${a} aria-labelledby=${g??l} class=${i(h(s.item,C))} role=radio tabindex=${B??l} title=${A??l} @click=${()=>{t.state==="ready"&&(n.activeBasemap=t.basemap)}}><img alt class=${i(s.itemThumbnail)} src=${_??l}><div class=${i(s.itemContent)}><div class=${i(s.itemTitle)}><span id=${g??l}>${p}</span></div>${S(t.basemap)?M(t.basemap,w):null}</div>${t.state!=="loading"?null:r`<calcite-scrim><span aria-hidden=true class=${i(y.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`}};function M(e,a){return r`<div class=${i(s.itemTagsContainer)}>${D(a)}${L(e)?k(a):null}</div>`}function D(e){return r`<calcite-chip scale=s .label=${e.tag3D}>${e.tag3D}</calcite-chip>`}function k(e){return r`<calcite-chip appearance=outline-fill scale=s .label=${e.tagBeta}>${e.tagBeta}</calcite-chip>`}u("arcgis-basemap-gallery-item",c);return c},"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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import e from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import e from"./TWY5OW6X.js";import c from"./XTBJH2BW.js";import b from"./QITMEUV4.js";import{e as a}from"./QXHM7HAH.js";import"./P5LCSHIC.js";import"./NDNZ5BLN.js";import{A as s,D as o,O as h,T as d,i}from"./JAH4EIQF.js";export default $arcgis.t(([r,,,l])=>{var n=i`@layer{arcgis-shadow-cast{display:block}}`,g=l(r),t=class extends h{constructor(){super(...arguments),this.widget=g(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=a()("state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,date:1,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=o}static{this.styles=n}get date(){return this.viewModel.date}set date(e){this.viewModel.date=e}async destroy(){await this.manager.destroy()}async getDuration(e){return await this.widget?.viewModel.getDuration(e)}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};d("arcgis-shadow-cast",t);return t},"widgets/ShadowCast",b,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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import h from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import h from"./FMDD3NIK.js";import e from"./E7KNOP6R.js";import"./JGCWSMO4.js";import{a as C}from"./I3XFF4AD.js";import"./N5UN5Q5Q.js";import d from"./R5WNFY6G.js";import{a as S}from"./ZJKTJLAX.js";import{a as g}from"./Q325PZSI.js";import c from"./XTBJH2BW.js";import a from"./QITMEUV4.js";import{e as M}from"./QXHM7HAH.js";import"./P5LCSHIC.js";import"./NDNZ5BLN.js";import{A as f,D as $,O as L,P as s,R as b,T as w,i as v,j as l}from"./JAH4EIQF.js";export default $arcgis.t(([V,{property:d,subclass:B},{ignoreAbortErrors:D},{watch:H},,,k,,E])=>{var O=v`@layer{arcgis-slice{display:block}.arcgis-slice__container{display:flex;padding:var(--esri-widget-padding-y) var(--esri-widget-padding-x);overflow-y:auto;--layer-item-background: var(--calcite-color-foreground-2)}.arcgis-slice__error{color:var(--calcite-color-status-danger)}.arcgis-slice__container,.arcgis-slice__hint{display:flex;flex-direction:column;gap:var(--calcite-spacing-md)}.arcgis-slice__error,.arcgis-slice__hint{overflow:hidden;animation:arcgis-slice-fade-in .25s ease-in-out}.arcgis-slice__error p,.arcgis-slice__hint p{margin:0;padding:0}.arcgis-slice__hint:not(:has(*)){display:none}.arcgis-slice__layer-item{--calcite-color-foreground-2: var(--layer-item-background);--calcite-color-foreground-1: var(--layer-item-background)}.arcgis-slice__actions{display:flex;flex-flow:column;gap:var(--calcite-spacing-xxs);justify-content:center}.arcgis-slice__actions:not(:has(*)){display:none}@keyframes arcgis-slice-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}}`,I=Object.defineProperty,P=Object.getOwnPropertyDescriptor,o=(e,i,t,u)=>{for(var c=u>1?void 0:u?P(i,t):i,y=e.length-1,h;y>=0;y--)(h=e[y])&&(c=(u?h(i,t,c):h(c))||c);return u&&c&&I(i,t,c),c},x=new Set,n=class extends E{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="SliceViewModel is only supported in 3D views."}async pickLayerToExclude(){let e=this.analysisView;if(e){let i=super.start(t=>e.pickLayerToExclude(t));this._excludingLayers=i,i.finally(()=>{this._excludingLayers===i&&(this._excludingLayers=void 0)}),await i.catch()}}async place(e){await this.analysisView?.place(e)}clearAnalysis(){this.analysis.shape=null}initialize(){x.add(this)}destroy(){x.delete(this)}get state(){return this.disabled||!this.ready?"disabled":this.operationState==="active"?"slicing":this.layersMode==="exclude"?"excludingLayer":this.analysis.valid?"sliced":"ready"}get shape(){return this.analysis.shape}set shape(e){this.analysis.shape=e}get tiltEnabled(){return this.analysis.tiltEnabled}set tiltEnabled(e){this.analysis.tiltEnabled=e}get layersMode(){return this._excludingLayers?"exclude":"none"}get excludedLayers(){return this.analysis.excludedLayers}set excludedLayers(e){this.analysis.excludedLayers=e}get excludeGroundSurface(){return this.analysis.excludeGroundSurface}set excludeGroundSurface(e){this.analysis.excludeGroundSurface=e}async start(){x.forEach(e=>{e.view===this.view&&e!==this&&e.clear()}),this.clear(),await super.start()}onConnectToAnalysisView(e){e.active=!0}constructAnalysis(){return new V}};o([d()],n.prototype,"_excludingLayers",2);o([d({readOnly:!0})],n.prototype,"state",1);o([d()],n.prototype,"shape",1);o([d()],n.prototype,"tiltEnabled",1);o([d()],n.prototype,"layersMode",1);o([d()],n.prototype,"excludedLayers",1);o([d()],n.prototype,"excludeGroundSurface",1);n=o([B("esri.components.Slice.SliceViewModel")],n);var r="arcgis-slice",a={base:r,actions:`${r}__actions`,cancelButton:`${r}__cancel-button`,container:`${r}__container`,error:`${r}__error`,excludeButton:`${r}__exclude-button`,hint:`${r}__hint`,hintText:`${r}__hint-text`,layerItem:`${r}__layer-item`,layerList:`${r}__layer-list`,layerListHeading:`${r}__layer-list-title`,newSliceButton:`${r}__clear-button`},j=k(n),m=class extends L{constructor(){super(...arguments),this.viewModel=j(this),this._messages=S(),this._onNewSliceClick=()=>{D(this.viewModel.start())},this.analysis=this.viewModel.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=3,this.icon="slice",this.position="bottom-left",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=M()("analysis","state"),this.arcgisReady=f()}static{this.properties={_hasVoxelLayers:16,analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:3,label:1,messageOverrides:0,position:1,referenceElement:1,shape:0,state:35,tiltEnabled:5}}static{this.shadowRootOptions=$}static{this.styles=O}get _hasVoxelLayers(){let i=this.viewModel?.view;return i!=null?i.allLayerViews.some(t=>t.type==="voxel-3d"):!1}async clear(){this.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}load(){this.manager.onLifecycle(()=>[H(()=>this._renderContainerNode(),()=>this.requestUpdate())])}render(){return l`<div class=${s({[a.base]:!0,[g.widget]:!0,[g.panel]:!0})} role=presentation>${this._renderContainerNode()}</div>`}_renderContainerNode(){let i=this._messages,{state:t,visible:u,supported:c}=this.viewModel,y=t==="slicing"||t==="excludingLayer";if(!u||!c)return null;c||l`<div class=${s(a.container)}><div class=${s(a.error)}><p>${this._messages.unsupported}</p></div></div>`;let{excludedLayers:h}=this.viewModel,_=this.excludeGroundSurface,T=h.length>0||_,p=t==="disabled";return l`<div class=${s(a.container)}><div class=${s(a.hint)}>${t==="excludingLayer"?l`<p class=${s(a.hintText)}>${i.excludeHint}</p>`:null}${t==="slicing"?l`<p class=${s(a.hintText)}>${this._hasVoxelLayers?i.voxelHint:i.hint}</p><p class=${s(a.hintText)}>${i.verticalHint}</p>`:null}</div>${!y&&T?l`<div class=${s(a.layerList)}>${C({class:a.layerListHeading,level:this.headingLevel,children:i.excludedLayers})}${N({layers:h.toArray(),excludeGroundSurface:_,onLayerClick:A=>{this.excludedLayers.remove(A)},onGroundClick:()=>{this.excludeGroundSurface=!1},listLabel:i.excludedLayers,layerActionLabel:i.includeLayer,groundItemTitle:i.ground})}</div>`:null}<div class=${s(a.actions)}>${y?null:l`<calcite-button class=${s(a.newSliceButton)} .disabled=${p} @click=${this._onNewSliceClick}>${i.newSlice}</calcite-button>`}${t==="sliced"?l`<calcite-button appearance=outline-fill class=${s(a.excludeButton)} .disabled=${p} @click=${()=>this.viewModel.pickLayerToExclude()}>${i.excludeLayer}</calcite-button>`:null}${t==="excludingLayer"?l`<calcite-button appearance=outline-fill class=${s(a.cancelButton)} .disabled=${p} @click=${()=>{this.viewModel.layersMode==="exclude"&&this.viewModel.stop()}}>${i.cancel}</calcite-button>`:null}</div></div>`}};function G(e){return l`<calcite-list-item class=${s(a.layerItem)} data-testid=${`list-item-${e.uid}`} .label=${e.title??""}><calcite-action icon=x @click=${e.onClick} scale=s slot=actions-end .text=${e.actionLabel} title=${e.actionLabel??b}></calcite-action></calcite-list-item>`}function N(e){let i=e.layers.map(t=>G({uid:t.uid,title:t.title??"",onClick:()=>e.onLayerClick(t),actionLabel:e.layerActionLabel}));return e.excludeGroundSurface&&i.push(G({uid:"ground",title:e.groundItemTitle,onClick:e.onGroundClick,actionLabel:e.layerActionLabel})),l`<calcite-list .label=${e.listLabel} selection-mode=none>${i}</calcite-list>`}w("arcgis-slice",m);return m},"analysis/SliceAnalysis","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a,c,d,e,h)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
4
|
var e={disabled:"esri-disabled",empty:"esri-widget__content--empty",heading:"esri-widget__heading",loaderAnimation:"esri-widget__loader-animation",panel:"esri-widget--panel",widget:"esri-widget esri-component",widgetButton:"esri-widget--button",widgetDisabled:"esri-widget--disabled"};export{e 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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import d from"./TWY5OW6X.js";import c from"./XTBJH2BW.js";import b from"./QITMEUV4.js";import{e as n}from"./QXHM7HAH.js";import"./P5LCSHIC.js";import"./NDNZ5BLN.js";import{A as s,D as o,O as a,T as h,i as e}from"./JAH4EIQF.js";export default $arcgis.t(([r,{when:m},,{a:d},l])=>{var c=e`@layer{arcgis-time-slider{display:block}}`,g=l(r),i=class extends a{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.actions=this.widget.actions,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.effectiveStops=this.widget.effectiveStops,this.fullTimeExtent=this.widget.fullTimeExtent,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.mode=this.widget.mode,this.playRate=this.widget.playRate,this.position="bottom-left",this.state=this.viewModel.state,this.stops=this.widget.stops,this.tickConfigs=this.widget.tickConfigs,this.timeExtent=this.widget.timeExtent,this.timeVisible=this.widget.timeVisible,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=n()("effectiveStops","fullTimeExtent","timeExtent","state"),this.arcgisReady=s(),this.arcgisTriggerAction=d(()=>this.widget,"trigger-action")}static{this.properties={actions:0,autoDestroyDisabled:5,disabled:7,effectiveStops:0,fullTimeExtent:0,icon:1,label:1,layout:1,loop:5,mode:1,playRate:9,position:1,referenceElement:1,state:3,stops:0,tickConfigs:0,timeExtent:0,timeVisible:5,timeZone:1}}static{this.shadowRootOptions=o}static{this.styles=c}async applyTimeSliderSettings(t){Object.assign(this,t)}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}async stop(){this.widget?.stop()}async updateWebDocument(t){this.widget?.updateWebDocument(t)}loaded(){this.manager.onLifecycle(()=>m(()=>this.viewModel.view?.ready,()=>{this.timeExtent&&this.viewModel.view&&(this.viewModel.view.timeExtent=this.timeExtent)},{initial:!0}))}};h("arcgis-time-slider",i);return i},"widgets/TimeSlider","core/reactiveUtils",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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as S}from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import{a as S}from"./I3XFF4AD.js";import"./N5UN5Q5Q.js";import d from"./R5WNFY6G.js";import{a as T}from"./ZJKTJLAX.js";import{a as w}from"./Q325PZSI.js";import c from"./XTBJH2BW.js";import b from"./QITMEUV4.js";import{e as O}from"./QXHM7HAH.js";import"./P5LCSHIC.js";import"./NDNZ5BLN.js";import{A as f,D as $,O as C,P as u,Q as M,R as y,T as x,a as v,i as _,j as a}from"./JAH4EIQF.js";export default $arcgis.t(([R,{property:h,subclass:j},{watch:A},W,E,k,H,L,,,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:L,cloudy:W,rainy:k,snowy:H,foggy:E},D=Object.keys(I),n=class extends R{constructor(t){super(t),this.view=null,this._settingWeather=!1,this._weatherByType={sunny:new L,cloudy:new W,rainy:new k,snowy:new H,foggy:new E}}initialize(){this.addHandles([A(()=>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(!D.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([j("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),G={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,messageOverrides:0,position:1,referenceElement:1,state:35}}static{this.shadowRootOptions=$}static{this.styles=P}async destroy(){await this.manager.destroy()}_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>${D.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=${G[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/Accessor","core/accessorSupport/decorators","core/reactiveUtils","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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as c}from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import{a as c}from"./P5LCSHIC.js";import{a as s}from"./NDNZ5BLN.js";import{C as h}from"./JAH4EIQF.js";export default $arcgis.t(([l,{signal:m}])=>{var f=n=>p(n),i=class extends h{#e=m(void 0);#o=void 0;#t=!1;constructor(e){super(e);let{el:t}=e,r=t.view;this.setProvisionalExports(void 0),Object.defineProperty(t,"view",{get:()=>this.#e.value,set:o=>{if(this.exports===o)return;let a=t.view;this.#e.value=o,this.exports=o,this.component.requestUpdate("view",a),this.#s()},configurable:!0,enumerable:!0}),e!==t&&Object.defineProperty(e,"view",{get:()=>t.view,set:o=>{t.view=o}}),queueMicrotask(()=>r?t.view=r:0)}hostConnected(){this.component.manager.hasDestroy&&(this.#o??=l.when(()=>this.#e.value?.destroyed,()=>void this.component.destroy?.().catch(console.error),{sync:!0}),this.onDestroy(()=>this.#o?.remove())),this.component.manager.loadedCalled&&s(this.component)}hostLoad(){this.component.manager.destroyed}hostLoaded(){let{el:e}=this.component,t=e.shadowRoot?.firstElementChild??e.firstElementChild??void 0;e.childElem??=t,this.#t=!0,this.#s(),e.isConnected&&s(this.component)}hostDisconnected(){typeof this.component.el.childElem=="object"&&this.#e.value?.ui?.remove(this.component.el.childElem)}hostUpdate(e){e.has("position")&&this.component.el.childElem!=null&&typeof this.component.position=="string"&&s(this.component),e.has("referenceElement")&&s(this.component)}#s(){!this.#t||this.#e.value==null||(this.#t=!1,this.component.arcgisReady.emit())}},p=c(i);return{a:f,b:i}},"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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import d from"./TWY5OW6X.js";import c from"./XTBJH2BW.js";import b from"./QITMEUV4.js";import{e as r}from"./QXHM7HAH.js";import"./P5LCSHIC.js";import"./NDNZ5BLN.js";import{A as e,D as s,O as o,T as a}from"./JAH4EIQF.js";export default $arcgis.t(([{watch:h},w,,,l])=>{var d=l(w),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.autoDestroyDisabled=!1,this.extentToValidate=this.widget.extentToValidate,this.icon=this.widget.icon,this.label=this.widget.label,this.position="top-right",this.state=this.viewModel.state,this.utilityNetwork=this.widget.utilityNetwork,this.arcgisPropertyChange=r()("state"),this.arcgisReady=e()}static{this.properties={view:16,autoDestroyDisabled:5,extentToValidate:1,icon:1,label:1,position:1,referenceElement:1,state:3,utilityNetwork:0}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}async loaded(){await this._loadUtilityNetwork(),this.manager.onLifecycle(()=>[h(()=>this.view,()=>{this._loadUtilityNetwork()})])}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let i=this.view.map.utilityNetworks?.getItemAt(0);await i?.load(),this.utilityNetwork=i}}};a("arcgis-utility-network-validate-topology",t);return t},"core/reactiveUtils","widgets/UtilityNetworkValidateTopology",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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as f}from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import{a as f}from"./ZJKTJLAX.js";import b from"./QITMEUV4.js";import{e as g}from"./QXHM7HAH.js";import"./P5LCSHIC.js";import"./NDNZ5BLN.js";import{A as h,D as d,O as p,P as e,R as r,T as z,a,i as l,j as u}from"./JAH4EIQF.js";export default $arcgis.t(([{ignoreAbortErrors:b},{when:w},{a:y}])=>{var i={base:"arcgis-zoom",horizontalLayout:"arcgis-zoom--horizontal",button:"esri-widget--button",zoomIn:"arcgis-zoom__zoom-in",zoomOut:"arcgis-zoom__zoom-out"};function x(t){if(t.type==="3d")return!!t.ready;if(!t?.ready)return!1;let o=v(t),s=t.constraints?.effectiveMaxScale;return s===0||o>s}function I(t){if(t.type==="3d")return!!t.ready;if(!t?.ready)return!1;let o=v(t),s=t.constraints?.effectiveMinScale;return s===0||o<s}function v(t){let o=t?.animation?.target;return(o&&"then"in o?void 0:o?.scale)??t?.scale??0}var Z=l`@layer{arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap;box-shadow:0 1px 2px #0000004d}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}}`,n=class extends p{constructor(){super(...arguments),this.messages=f({}),this.view=y(this),this.canZoomIn=!1,this.canZoomOut=!1,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state="disabled",this.arcgisPropertyChange=g()("state"),this.arcgisReady=h()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:1,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=Z}async destroy(){await this.manager.destroy()}async zoomIn(){let{view:o}=this;!this.canZoomIn||!o||(o.type==="2d"?o.mapViewNavigation.zoomIn():b(o.goTo({zoomFactor:2})))}async zoomOut(){let{view:o}=this;!this.canZoomOut||!o||(o.type==="2d"?o.mapViewNavigation.zoomOut():b(o.goTo({zoomFactor:.5})))}loaded(){this.manager.onLifecycle(()=>[w(()=>this.view?.stationary,()=>{this.canZoomIn=x(this.view),this.canZoomOut=I(this.view)},{initial:!0}),w(()=>this.view?.ready?"ready":"disabled",o=>{this.state=o},{sync:!0,initial:!0})])}render(){let o={[i.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:s,canZoomOut:O}=this,{zoomIn:c,zoomOut:m}=this.messages;return u`<div class=${e(a(i.base,o))}><calcite-button class=${e(a(i.button,i.zoomIn))} .disabled=${!s} icon-start=plus kind=neutral .label=${c} @click=${this.zoomIn} title=${c??r}></calcite-button><calcite-button class=${e(a(i.button,i.zoomOut))} .disabled=${!O} icon-start=minus kind=neutral .label=${m} @click=${this.zoomOut} title=${m??r}></calcite-button></div>`}};z("arcgis-zoom",n);return n},"core/promiseUtils","core/reactiveUtils",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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import a from"./K7NS7XEF.js";import{a as c}from"./QYIVV42M.js";import"./QXHM7HAH.js";import"./P5LCSHIC.js";import{O as i,T as l,i as s,j as t}from"./JAH4EIQF.js";export default $arcgis.t(([{watch:p},{g:o}])=>{var n=s`calcite-tab{--calcite-tab-content-block-padding: 0}calcite-loader{margin-right:var(--calcite-spacing-xxs)}`,a=class extends i{constructor(){super(...arguments),this._prevLayoutTemplateId=null,this._handles=c("disconnect"),this._selectedTab="layout",this._hasPendingExport=!1}static{this.properties={_selectedTab:16,_hasPendingExport:16,saveAsButtonCallback:0,viewModel:0,messages:0,showTemplateSelector:0,allowedFormatsForSaving:1,arcgisSubmit:0,arcgisComplete:0}}static{this.styles=n}loaded(){this.manager.onLifecycle(()=>[this.viewModel.exportedLinks.on("change",()=>{this._handles.removeHandles("pending-exports"),this._handles.addHandles(this.viewModel.exportedLinks.toArray().map(e=>p(()=>e.state,()=>this.requestUpdate(),{initial:!0})),"pending-exports")})])}async _layoutTabChangeHandler(){let e=(this._prevLayoutTemplateId?this.viewModel.getLayoutTemplateById(this._prevLayoutTemplateId):null)??this.viewModel.defaultTemplate;await this.viewModel.applyTemplate(e),this._prevLayoutTemplateId=e?.id,this._selectedTab="layout"}async _mapOnlyTabChangeHandler(){this._updatePrevLayoutTemplateId(),await this.viewModel.applyTemplate("map-only"),this._selectedTab="map-only"}async _exportsTabChangeHandler(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_selectExportsTab(){this._updatePrevLayoutTemplateId(),this._selectedTab="exports"}_updatePrevLayoutTemplateId(){!o(this.viewModel.templateOptions.layout)&&this.viewModel.templateOptions.id&&(this._prevLayoutTemplateId=this.viewModel.templateOptions.id)}render(){let e=this.viewModel.exportedLinks.some(({state:r})=>r==="pending");return t`<div><calcite-tabs layout=center bordered><calcite-tab-nav slot=title-group><calcite-tab-title @calciteTabsActivate=${this._layoutTabChangeHandler} .selected=${this._selectedTab==="layout"}>${this.messages.layoutTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._mapOnlyTabChangeHandler} .selected=${this._selectedTab==="map-only"}>${this.messages.mapOnlyTab}</calcite-tab-title><calcite-tab-title @calciteTabsActivate=${this._exportsTabChangeHandler} .selected=${this._selectedTab==="exports"}>${e?t`<calcite-loader inline label=loading scale=s></calcite-loader>`:null}${this.messages.exportsTab}</calcite-tab-title></calcite-tab-nav><calcite-tab selected><arcgis-print-layout-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this.showTemplateSelector} .selectExportsTab=${this._selectExportsTab.bind(this)} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-layout-panel></calcite-tab><calcite-tab><arcgis-print-map-only-panel .messages=${this.messages} .viewModel=${this.viewModel} .selectExportsTab=${this._selectExportsTab.bind(this)} .arcgisSubmit=${this.arcgisSubmit} .arcgisComplete=${this.arcgisComplete}></arcgis-print-map-only-panel></calcite-tab><calcite-tab><arcgis-print-exports-panel .messages=${this.messages} .viewModel=${this.viewModel} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-exports-panel></calcite-tab></calcite-tabs></div>`}};l("arcgis-print-main-panel",a);return a},"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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as O}from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import{a as O}from"./P5LCSHIC.js";import{B as L,b as m,c as f,f as v,g,p as y,r as E,s as b,t as C,u as x,z as P}from"./JAH4EIQF.js";var w=r=>_(void 0,r),J=r=>o=>_(o,r),d=class extends L{constructor(o,e){super(o);let t=this.exports;try{E(this.component);let s=e(this.component,this),n=this.exports!==t;if(y(s)){n||this.setProvisionalExports(s);let a=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i),console.error(i)});this.onLoad(async()=>await a)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this.P.reject(s),console.error(s)}}catchUpLifecycle(){}},_=O(d);var Q=r=>(...o)=>{let e=x(),t=new r(...o);return C(e.at(-1)),t};var k="ltr",X=()=>w((r,o)=>{o.exports=k,o.onLifecycle(()=>{let e=()=>{let t=f(r.el,"dir",k);o.exports=t==="rtl"?"rtl":"ltr"};return e(),m(r.el,["dir"],e)})}),Y=r=>(o={})=>w((e,t)=>{let s=v(e.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},a=e;t.onLifecycle(()=>g(e.el,()=>r("./assets"),({t9nLocale:c,t9nStrings:l,lang:p})=>{let h={...l,_lang:p,_t9nLocale:c,_loading:!1};t.exports=h;let u=l.componentLabel;typeof u=="string"&&"label"in e&&e.label==null&&(e.label??=u),i(a.messageOverrides)},o.name));let i=c=>{let l=t.exports,p=l._original??l,h=N(p,c);c&&(h._original=p),t.exports=h};return"messageOverrides"in a&&t.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),o.blocking?(t.setProvisionalExports(n,!1),t.ready):n}),N=(r,o)=>{if(!o)return r;let e={...r};return Object.entries(o).forEach(([t,s])=>{typeof s=="object"?e[t]=N(r[t],s):e[t]=s??r[t]}),e},Z=r=>D,M="arcgisPropertyChange",D=(...r)=>{let o=b(),e=P(M,void 0,o),t=!0;return o.manager.onUpdated(s=>{if(t||!o.el.isConnected){t=!1;return}for(let n of r)s.has(n)&&e.emit({name:n})}),e};export{J as a,Q as b,X as c,Y as d,Z as 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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{b as u}from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import{b as u}from"./QXHM7HAH.js";import{B as h}from"./JAH4EIQF.js";var i=class o{constructor(){this._groups=new Map}destroy(){this.removeAll()}add(r,s){if(Array.isArray(r)){let e=this._getOrCreateGroup(s);for(let t of r)this._isHandle(t)&&e.push(t)}else this._isHandle(r)&&this._getOrCreateGroup(s).push(r);return this}forEach(r,s){if(typeof r=="function")this._groups.forEach(e=>e.forEach(r));else{let e=this._getGroup(r);e&&s&&e.forEach(s)}}has(r){return this._groups.has(this._ensureGroupKey(r))}remove(r){if(typeof r!="string"&&Array.isArray(r)){for(let s of r)this.remove(s);return this}return this.has(r)?(this._removeAllFromGroup(this._getGroup(r)),this._groups.delete(this._ensureGroupKey(r)),this):this}removeAll(){return this._groups.forEach(r=>this._removeAllFromGroup(r)),this._groups.clear(),this}_isHandle(r){return r&&(!!r.remove||r instanceof o)}_getOrCreateGroup(r){if(this.has(r))return this._getGroup(r);let s=[];return this._groups.set(this._ensureGroupKey(r),s),s}_getGroup(r){return this._groups.get(this._ensureGroupKey(r))}_ensureGroupKey(r){return r||"_default_"}_removeAllFromGroup(r){for(let s of r)s instanceof o?s.removeAll():s.remove()}},n=class extends h{constructor(r){super(),this.destroyed=!1,r==="disconnect"?this.onDisconnected(()=>this.removeAllHandles()):this.onDestroy(()=>this.destroy())}addHandles(r,s){if(this.destroyed){let e=Array.isArray(r)?r:[r];for(let t of e)t.remove();return}this._handles??=new i,this._handles.add(r,s)}removeHandles(r){this._handles?.remove(r)}removeAllHandles(){this._handles?.removeAll()}destroy(){this.destroyed=!0,this.removeAllHandles()}hasHandles(r){return this._handles?.has(r)??!1}},l=u(n);export{l 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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v4.34.0-next.24 */
|
|
4
|
+
import b from"./XTBJH2BW.js";import a from"./QITMEUV4.js";import{a as r}from"./P5LCSHIC.js";export default $arcgis.t(([{watch:a},{b:n},{c:i}])=>{var v=(e,o)=>s=>m(s,e),t=class extends i{#o=void 0;constructor(o,s){super(o,s),new n(this.component)}hostLoad(){this.#o=a(()=>this.component.el.view,o=>{this.instance.view=o,this.instance.map=o?.map},{sync:!0,initial:!0})}hostDestroy(){this.#o?.remove(),super.hostDestroy()}},m=r(t);return v},"core/reactiveUtils",a,b)
|