@arcgis/map-components 4.34.0-next.8 → 4.34.0-next.9
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/{Q643CZCT.js → 2PX76PIK.js} +2 -2
- package/dist/cdn/{UIWYLDIB.js → 2RDNB6AQ.js} +2 -2
- package/dist/cdn/{BH472V6R.js → 2XDJ5YCX.js} +2 -2
- package/dist/cdn/{WD7GKYC5.js → 2XVWX7F6.js} +2 -2
- package/dist/cdn/{65FZ5SI5.js → 3ZYU6ULV.js} +2 -2
- package/dist/cdn/{6OHNJ5KH.js → 4BQLC4XH.js} +2 -2
- package/dist/cdn/{ZGVWKWHA.js → 4FZ6VPTD.js} +2 -2
- package/dist/cdn/{PRI3F4JY.js → 4P2D723H.js} +2 -2
- package/dist/cdn/{D3MRITGJ.js → 4WDV7YJH.js} +2 -2
- package/dist/cdn/{U3A4L666.js → 5RCO7E6Z.js} +2 -2
- package/dist/cdn/{AXVNVZYY.js → 5USOFHHM.js} +2 -2
- package/dist/cdn/{NMSW7IAE.js → 5ZEROLRI.js} +2 -2
- package/dist/cdn/{WGLKRGHM.js → 6EPOXABT.js} +2 -2
- package/dist/cdn/{IL6WFIVO.js → 6PLTWBYF.js} +2 -2
- package/dist/cdn/{656YU7YM.js → 6REBF3AA.js} +2 -2
- package/dist/cdn/{RVL24YAQ.js → 6SPEI7A5.js} +2 -2
- package/dist/cdn/{KB4RHIMM.js → 75MJBRSJ.js} +2 -2
- package/dist/cdn/{FG7KDZIB.js → 7IQCRGNV.js} +2 -2
- package/dist/cdn/{RXJDYF45.js → 7M4P7OGP.js} +2 -2
- package/dist/cdn/{VTS7NWDH.js → 7OSH6D4V.js} +1 -1
- package/dist/cdn/{X7BQVP4K.js → 7YU45FPO.js} +1 -1
- package/dist/cdn/{Y4PEPRXU.js → A5JTOBLJ.js} +2 -2
- package/dist/cdn/{MR2LMEXV.js → AE4OIXKM.js} +2 -2
- package/dist/cdn/{ILNZINO3.js → AQUKBXCX.js} +2 -2
- package/dist/cdn/{APMFVINZ.js → AWJMF4JH.js} +2 -2
- package/dist/cdn/{MKPFXZNG.js → B4AIZOHR.js} +2 -2
- package/dist/cdn/{7KFXGXRZ.js → B5TBXJPB.js} +2 -2
- package/dist/cdn/{GDWNN6TE.js → B6L5NPQ4.js} +2 -2
- package/dist/cdn/{F4R4AZMX.js → B7JXTTR5.js} +2 -2
- package/dist/cdn/{Z73JMBNO.js → BNRO4CJJ.js} +2 -2
- package/dist/cdn/{75Y5MUUW.js → CCGRNRV5.js} +2 -2
- package/dist/cdn/{5HFZPYQ3.js → CLHIHH24.js} +2 -2
- package/dist/cdn/{L7WHPL3W.js → CNI6AOEX.js} +2 -2
- package/dist/cdn/{BSVQ73BN.js → CWUWXSUN.js} +2 -2
- package/dist/cdn/{TU3PDRR3.js → DIQPU5P6.js} +2 -2
- package/dist/cdn/{GNJ4YNM2.js → DLIZPORJ.js} +2 -2
- package/dist/cdn/{4ZBYDBG2.js → EAPCLKYM.js} +2 -2
- package/dist/cdn/{5WAM5HGJ.js → EIYMUMGV.js} +2 -2
- package/dist/cdn/{TYGNKCZM.js → EMB2KILS.js} +2 -2
- package/dist/cdn/{Y57F7DDG.js → EQCPZYIL.js} +2 -2
- package/dist/cdn/{YWOGURYY.js → EVPK7HHS.js} +2 -2
- package/dist/cdn/{HPUACRYC.js → EVYXMCHJ.js} +2 -2
- package/dist/cdn/{GYVHCFLW.js → F523DQRJ.js} +1 -1
- package/dist/cdn/{5ENOXTFZ.js → FBWAUVL3.js} +2 -2
- package/dist/cdn/{FCSFUTXJ.js → FVBVSQPN.js} +2 -2
- package/dist/cdn/{OMWLA2K3.js → FVMJB5JT.js} +2 -2
- package/dist/cdn/{V6KYONBE.js → FWIYWK4Y.js} +1 -1
- package/dist/cdn/{U7JHAHCD.js → GC3WHXRW.js} +2 -2
- package/dist/cdn/{MNRK63NF.js → GJVB4X55.js} +2 -2
- package/dist/cdn/{E7DAI2OU.js → GNIBMNAJ.js} +2 -2
- package/dist/cdn/{IRIDLSO3.js → GZ5L22IV.js} +2 -2
- package/dist/cdn/{BXOEGYMC.js → HG57BRGL.js} +2 -2
- package/dist/cdn/{SUJ27253.js → HKEC6RFB.js} +2 -2
- package/dist/cdn/{2FWGOWFO.js → HMWRO37Q.js} +2 -2
- package/dist/cdn/{ZXKHLRKF.js → HQUWHYRU.js} +2 -2
- package/dist/cdn/{CYEXPOL6.js → HYECZDEG.js} +2 -2
- package/dist/cdn/{DMRETXSG.js → HYPGMF36.js} +2 -2
- package/dist/cdn/{OSXV6FXE.js → I5GFPX46.js} +2 -2
- package/dist/cdn/{7TIBJRHQ.js → IT5ZZIW7.js} +2 -2
- package/dist/cdn/{ZLQ4G2XR.js → IUMLKCFQ.js} +2 -2
- package/dist/cdn/{IEE3ZBWU.js → IWXNLEZE.js} +2 -2
- package/dist/cdn/{CORDNDJ7.js → IY3LFEYN.js} +2 -2
- package/dist/cdn/{PNHC4QAI.js → JEUSHXT4.js} +2 -2
- package/dist/cdn/{6ZFIJSJE.js → JP3MOR2C.js} +2 -2
- package/dist/cdn/{Y4VFLWWQ.js → JQTAZ4FZ.js} +2 -2
- package/dist/cdn/{PUSKMZOI.js → JSKR65AM.js} +2 -2
- package/dist/cdn/{AGICPYUS.js → KCB6OY27.js} +2 -2
- package/dist/cdn/{F4IQXJLJ.js → KE7YCDIR.js} +2 -2
- package/dist/cdn/{NRBNSX33.js → KFY24TGV.js} +2 -2
- package/dist/cdn/{XHGDPFLO.js → KGGAVF52.js} +2 -2
- package/dist/cdn/{PISMFJUF.js → KM7AHX5U.js} +2 -2
- package/dist/cdn/{DVAYIM4A.js → LPEUXS4H.js} +1 -1
- package/dist/cdn/{5C3EOKNR.js → LTNITWJW.js} +2 -2
- package/dist/cdn/{T7MQ5OG2.js → LVDHW7PZ.js} +2 -2
- package/dist/cdn/{G3QSNGGG.js → LZS3AC2V.js} +2 -2
- package/dist/cdn/{IBNTS6PG.js → MCF7QH3Q.js} +2 -2
- package/dist/cdn/{OS7FSXE7.js → MGJIA7LY.js} +2 -2
- package/dist/cdn/{YZTG72SZ.js → MHOWCSK3.js} +2 -2
- package/dist/cdn/{AFQ3CNBA.js → MV3FHHL3.js} +2 -2
- package/dist/cdn/{RVKZRZ5X.js → N36DJFDS.js} +2 -2
- package/dist/cdn/{3HSBCQKG.js → NKAPTCC6.js} +2 -2
- package/dist/cdn/{GOQV4ZD3.js → NWFOVY5D.js} +2 -2
- package/dist/cdn/{WZVHCVXT.js → OT2NTJRQ.js} +2 -2
- package/dist/cdn/{OM2N2SN3.js → PERDYUOQ.js} +1 -1
- package/dist/cdn/{MYW7GAD7.js → PT3JQOCE.js} +2 -2
- package/dist/cdn/{ZID6LZJO.js → PZFHN3TS.js} +2 -2
- package/dist/cdn/{7IUDGNHM.js → Q46OJVEQ.js} +2 -2
- package/dist/cdn/{4LS5QGQY.js → QH7K5YNC.js} +2 -2
- package/dist/cdn/{X3ZXNMN7.js → QIIAHUSH.js} +2 -2
- package/dist/cdn/{RPGEPAXC.js → RLZBP45L.js} +2 -2
- package/dist/cdn/{TM7AOMFK.js → RNUE7TKS.js} +2 -2
- package/dist/cdn/{4C2AMRV3.js → RQLMUVPB.js} +2 -2
- package/dist/cdn/{7TOSFZBH.js → S7ESEKBE.js} +2 -2
- package/dist/cdn/{2SULQ4KK.js → S7LZWAX4.js} +2 -2
- package/dist/cdn/{SN3TAFJA.js → SME3IWXV.js} +2 -2
- package/dist/cdn/{KNM2L55W.js → TBWQ5GM3.js} +2 -2
- package/dist/cdn/{4RPSRSY4.js → TRW5TO2V.js} +2 -2
- package/dist/cdn/{PIMX4X2G.js → TSC5KCHG.js} +2 -2
- package/dist/cdn/{PI7H5GRX.js → TZFX4YNN.js} +1 -1
- package/dist/cdn/{YLPU64QT.js → UWVJW3A3.js} +2 -2
- package/dist/cdn/{WVMLI2M4.js → VKOB545Q.js} +2 -2
- package/dist/cdn/{NKEGBDR7.js → VQRUAXMJ.js} +2 -2
- package/dist/cdn/{ORMFB243.js → W4NACTPH.js} +2 -2
- package/dist/cdn/{PVE4KHDN.js → WPVPOHXM.js} +2 -2
- package/dist/cdn/{IE44CEMQ.js → WQJMDMY4.js} +2 -2
- package/dist/cdn/{ON2T4CBB.js → WTB4IPLY.js} +2 -2
- package/dist/cdn/{E4JWST54.js → XGENESWE.js} +2 -2
- package/dist/cdn/{DJPZ44PI.js → XLDKDOAB.js} +2 -2
- package/dist/cdn/{NAE6KF2V.js → XQFNPD2C.js} +2 -2
- package/dist/cdn/{GIDFUOKW.js → XXHY2KCZ.js} +2 -2
- package/dist/cdn/{RSGPVWZC.js → Y33OJSVI.js} +2 -2
- package/dist/cdn/{TGAS4E4A.js → YDAFDXTM.js} +2 -2
- package/dist/cdn/{FDHW3VRA.js → YLB5UFJQ.js} +2 -2
- package/dist/cdn/{7HHVU46D.js → YWAGCLJF.js} +2 -2
- package/dist/cdn/{2EL47YSQ.js → YXP3ZDIM.js} +2 -2
- package/dist/cdn/{OZKMAP4Z.js → YXZV2R2K.js} +2 -2
- package/dist/cdn/{DXY5GBKD.js → ZBKVGEVP.js} +1 -1
- package/dist/cdn/{FNLXG2W3.js → ZER3JGD6.js} +2 -2
- package/dist/cdn/{VLYOEVJO.js → ZUE2OXRG.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.d.ts +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.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 +9 -5
- package/dist/docs/docs.json +3 -3
- package/dist/docs/vscode.html-custom-data.json +7 -3
- package/dist/docs/web-types.json +2 -2
- 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.9 */
|
|
4
|
+
import d from"./UWVJW3A3.js";import c from"./AWJMF4JH.js";import b from"./6SPEI7A5.js";import{e as n}from"./B4AIZOHR.js";import"./XGENESWE.js";import"./PERDYUOQ.js";import{A as s,D as o,O as a,T as h,i as e}from"./ZBKVGEVP.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 d from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import d from"./UWVJW3A3.js";import c from"./AWJMF4JH.js";import b from"./6SPEI7A5.js";import{e as h}from"./B4AIZOHR.js";import"./XGENESWE.js";import"./PERDYUOQ.js";import{A as s,D as a,O as r,T as o,i}from"./ZBKVGEVP.js";export default $arcgis.t(([g,,{a:t},m])=>{var l=i`@layer{arcgis-feature-form{display:block}}`,n=m(g),e=class extends r{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.position="bottom-left",this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=h()("state"),this.arcgisReady=s(),this.arcgisSubmit=t(()=>this.widget,"submit"),this.arcgisValueChange=t(()=>this.widget,"value-change")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,groupDisplay:1,headingLevel:9,icon:1,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=l}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){this.widget?.submit()}};o("arcgis-feature-form",e);return e},"widgets/FeatureForm",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.9 */
|
|
4
|
+
import{a as S}from"./N36DJFDS.js";import"./AQUKBXCX.js";import d from"./AE4OIXKM.js";import{a as T}from"./4P2D723H.js";import{a as w}from"./TZFX4YNN.js";import c from"./AWJMF4JH.js";import b from"./6SPEI7A5.js";import{e as O}from"./B4AIZOHR.js";import"./XGENESWE.js";import"./PERDYUOQ.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"./ZBKVGEVP.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:3}}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 r}from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import{a as r}from"./XXHY2KCZ.js";import f from"./UWVJW3A3.js";import c from"./AWJMF4JH.js";import b from"./6SPEI7A5.js";import{e as d}from"./B4AIZOHR.js";import"./XGENESWE.js";import"./PERDYUOQ.js";import{A as s,D as o,O as a,T as h,i as e}from"./ZBKVGEVP.js";export default $arcgis.t(([n,,{a: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,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 d}from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import{a as d}from"./B7JXTTR5.js";import{a as h}from"./XXHY2KCZ.js";import f from"./UWVJW3A3.js";import c from"./AWJMF4JH.js";import b from"./6SPEI7A5.js";import{e as o}from"./B4AIZOHR.js";import"./XGENESWE.js";import"./PERDYUOQ.js";import{A as e,D as i,O as s,T as a}from"./ZBKVGEVP.js";export default $arcgis.t(([c,,{a:r},l])=>{var w=l(c),t=class extends s{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.arcgisClose=h(this),this.autoDestroyDisabled=!1,this.catalogOptions=this.widget.catalogOptions,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideCatalogLayerList=this.widget.visibleElements.catalogLayerList,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.knowledgeGraphOptions=this.widget.knowledgeGraphOptions,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.openedLayers=this.widget.openedLayers,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=o()("state"),this.arcgisReady=e(),this.arcgisTriggerAction=r(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideCatalogLayerList:5,hideFlow:5,hideStatusIndicators:5,icon:1,knowledgeGraphOptions:0,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:0,operationalItems:32,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,tableList:32,visibilityAppearance:1}}static{this.shadowRootOptions=i}static{this.styles=d}get catalogLayerList(){return this.widget.catalogLayerList}get operationalItems(){return this.widget.operationalItems}get tableList(){return this.widget.tableList}async destroy(){await this.manager.destroy()}async triggerAction(n,g){this.widget?.triggerAction(n,g)}};a("arcgis-layer-list",t);return t},"widgets/LayerList",b,c,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 d from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import d from"./UWVJW3A3.js";import c from"./AWJMF4JH.js";import b from"./6SPEI7A5.js";import{e as n}from"./B4AIZOHR.js";import"./XGENESWE.js";import"./PERDYUOQ.js";import{A as e,D as a,O as o,T as h,i as s}from"./ZBKVGEVP.js";export default $arcgis.t(([c,,{a: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,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 d from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import d from"./UWVJW3A3.js";import c from"./AWJMF4JH.js";import b from"./6SPEI7A5.js";import{e as o}from"./B4AIZOHR.js";import"./XGENESWE.js";import"./PERDYUOQ.js";import{A as e,D as s,O as a,T as r,i}from"./ZBKVGEVP.js";export default $arcgis.t(([h,,,n])=>{var l=i`@layer{arcgis-histogram-range-slider{display:block}}`,g=n(h),t=class extends a{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=o()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:1,icon:1,includedBarColor:1,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=s}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(d){return this.widget.generateWhereClause(d)}};r("arcgis-histogram-range-slider",t);return t},"widgets/HistogramRangeSlider",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 d}from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import{a as d}from"./XXHY2KCZ.js";import c from"./UWVJW3A3.js";import b from"./AWJMF4JH.js";import a from"./6SPEI7A5.js";import{e as r}from"./B4AIZOHR.js";import"./XGENESWE.js";import"./PERDYUOQ.js";import{A as i,D as s,O as o,T as l,i as e}from"./ZBKVGEVP.js";export default $arcgis.t(([n,,{a:a},h])=>{var m=e`@layer{arcgis-table-list{display:block}}`,c=h(n),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.arcgisClose=d(this),this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryTableIndicators=this.widget.visibleElements.temporaryTableIndicators,this.arcgisPropertyChange=r()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=a(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryTableIndicators:5}}static{this.shadowRootOptions=s}static{this.styles=m}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};l("arcgis-table-list",t);return t},"widgets/TableList",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 a from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import a from"./RQLMUVPB.js";import{a as l,b as y}from"./7OSH6D4V.js";export default $arcgis.t(([{forceInteractive:V},m,{property:a,subclass:g},{ignoreAbortErrors:A},{when:f,watch:u,on:O,whenOnce:U},{a:w,b:_,c:d,d:p}])=>{var b=Object.defineProperty,F=Object.getOwnPropertyDescriptor,i=(s,t,n,r)=>{for(var o=r>1?void 0:r?F(t,n):t,c=s.length-1,h;c>=0;c--)(h=s[c])&&(o=(r?h(t,n,o):h(o))||o);return r&&o&&b(t,n,o),o},e=class extends m{constructor(){super({}),this._ownsAnalysis=!1,this._operationState="inactive",this._loggedUnsupportedErrorMessage=!1,this._changeFromReconnect=!1,this._startUserOperation=null}initialize(){this._set("analysis",this.constructAnalysis()),this._ownsAnalysis=!0;let s=()=>{!this._changeFromReconnect&&!this._viewHasAnalysis&&(this._ownsAnalysis=!1);let t=!this._changeFromReconnect;this._changeFromReconnect=!1,t&&this._scheduleViewReconnect()};this.addHandles([f(()=>this.view!=null&&this.view.ready&&!this.supported,()=>{this._loggedUnsupportedErrorMessage||console.error(this.unsupportedErrorMessage)},{sync:!0,initial:!0}),u(()=>[this.analysis,this._viewHasAnalysis],s,{sync:!0}),O(()=>this.view,"analysis-view-destroy",t=>{t.analysis===this.analysis&&s()}),u(()=>({view:this.view,ready:!!this.view?.ready,supported:this.supported}),({view:t},n)=>{let r=n?.view;t!==r&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(r)),this._scheduleViewReconnect()},{sync:!0,initial:!0})])}destroy(){this._reconnectViewTask=l(this._reconnectViewTask),this._startUserOperation=l(this._startUserOperation),this._analysisView!=null&&(this._analysisView.visible=void 0),this._disconnectFromView(this.view),this._set("view",null),this._ownsAnalysis&&this.analysis?.destroy()}get supported(){return this.view==null||this.view.type===this.supportedViewType}set visible(s){this._set("visible",s),this._analysisView!=null&&(this._analysisView.visible=s)}get active(){return this._startUserOperation?.state===2}get disabled(){return this.view==null||!this.view.ready||!this.supported}set analysis(s){s!==this._get("analysis")&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(this.view),this._setExternalAnalysis(s),this._scheduleViewReconnect())}get analysisView(){return this._analysisView}get ready(){return this._analysisView!=null&&!this.connectingToView}get connectingToView(){return this._reconnectViewTask!=null}get _viewHasAnalysis(){let{view:s}=this;return s?.analyses.includes(this.analysis)===!0}get operationState(){return this._operationState}clear(){this.clearAnalysis(),this._startUserOperation=l(this._startUserOperation)}async start(s){if(!this.visible){console.warn("Cannot start analysis when not visible");return}let t={task:null,abort:null,state:0},n=p(async r=>{if(t.state=1,await U(()=>this.ready,r),t.state=2,this._analysisView==null||this.view==null)return;this._operationState="active";let o=s?.({signal:r})??this.place({signal:r});await A(o)});return n.promise.finally(()=>{(this._startUserOperation===t||this._startUserOperation==null)&&(this._operationState="inactive")}),t.task=n,t.abort=()=>n.abort(),this._startUserOperation=t,await n.promise}async startNewAnalysis(){this.clear(),await this.start()}async continue(){await this.start()}stop(){this._startUserOperation=l(this._startUserOperation)}onConnectToAnalysisView(s){}onDisconnectFromAnalysisView(){}_scheduleViewReconnect(){this._reconnectViewTask=l(this._reconnectViewTask);let s=p(async t=>{try{await this._reconnectView(t)}catch(n){if(w(t),!d(n)){console.warn("Failed to use analysis in view model",n);return}throw n}finally{s===this._reconnectViewTask&&(this._reconnectViewTask=void 0)}});this._reconnectViewTask=s}async _reconnectView(s){let{view:t}=this,n=t!=null&&t.ready&&this.supported,r=this.analysis;if(this._startUserOperation=v(this._startUserOperation),this._disconnectFromView(t),!n||t==null||r==null)return;this._ownsAnalysis&&(this._changeFromReconnect=!0,t.analyses.add(r));let o=await t.whenAnalysisView(r);if(this._analysisView=o,_(s)){this._startUserOperation=v(this._startUserOperation);return}o.visible=this.visible,this._forceInteractiveHandle=V(o),this.addHandles(this._forceInteractiveHandle),this.onConnectToAnalysisView(o)}_disconnectFromView(s){s!=null&&this._ownsAnalysis&&s.analyses.includes(this.analysis)&&(this._changeFromReconnect=!0,this.analysis.clear(),s.analyses.remove(this.analysis)),this.onDisconnectFromAnalysisView(),this._forceInteractiveHandle=y(this._forceInteractiveHandle),this._analysisView=void 0}_setExternalAnalysis(s){this._analysisView!=null&&!this._ownsAnalysis&&(this._analysisView.visible=void 0,this._forceInteractiveHandle=y(this._forceInteractiveHandle)),this._analysisView=void 0,this._ownsAnalysis=!1,this._set("analysis",s),this._changeFromReconnect=!1}};i([a()],e.prototype,"supported",1);i([a()],e.prototype,"view",2);i([a({type:Boolean,value:!0})],e.prototype,"visible",1);i([a()],e.prototype,"active",1);i([a()],e.prototype,"disabled",1);i([a()],e.prototype,"analysis",1);i([a()],e.prototype,"_analysisView",2);i([a()],e.prototype,"analysisView",1);i([a()],e.prototype,"ready",1);i([a()],e.prototype,"connectingToView",1);i([a()],e.prototype,"_ownsAnalysis",2);i([a()],e.prototype,"_viewHasAnalysis",1);i([a()],e.prototype,"_reconnectViewTask",2);i([a()],e.prototype,"_forceInteractiveHandle",2);i([a()],e.prototype,"_operationState",2);i([a()],e.prototype,"operationState",1);e=i([g("esri.components.support.AnalysisViewModel")],e);function v(s){return s!=null&&s.state>=2?(s.abort(),null):s}return e},"applications/Components/analysisUtils","core/Accessor","core/accessorSupport/decorators","core/promiseUtils","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 l,b as c}from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import{a as l,b as c}from"./2RDNB6AQ.js";import{A as o,O as v,T as I,i as u,j as s}from"./ZBKVGEVP.js";var N=u`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`,h=class extends v{constructor(){super(...arguments),this._filterInputElement=l(),this._flowItemElement=l(),this.currentPage=1,this.selected=!1,this.showBackButton=!1,this.arcgisFlowItemBack=o(),this.arcgisFlowItemClose=o(),this.arcgisGetVersions=o(),this.arcgisManageVersion=o(),this.arcgisNewVersion=o()}static{this.properties={_filteredVersionInfos:16,currentPage:11,selected:7,showBackButton:7,versionListElementProps:0}}static{this.styles=N}load(){this._filteredVersionInfos=this.versionListElementProps.versionInfos}willUpdate(e){if(e.has("versionListElementProps")){let i=e.get("versionListElementProps"),t=this.versionListElementProps;i?.versionInfos!==t.versionInfos&&(this._filteredVersionInfos=t.versionInfos,this._filterInputElement.value&&this._handleFilterChange())}}updated(){this._filterInputElement.value?.setFocus()}async setFocus(){this._flowItemElement.value?.setFocus()}goBack(){}_handleFilterChange(){let{versionListElementProps:{versionInfos:e}}=this,i=this._filterInputElement.value.value.toUpperCase();this._filteredVersionInfos=i===""?e:e.filter(t=>t.versionIdentifier.name.toUpperCase().includes(i)||t.versionIdentifier.guid.toUpperCase().includes(i)),this._filteredVersionInfos.length&&(this.currentPage=1)}_handleNoticeClosed(){this.versionListElementProps={...this.versionListElementProps,executionError:void 0}}_handlePaginationChange(e){this.currentPage=e.target.startItem}_getExecutionError(e){let{versionListElementProps:{strings:{executionErrors:i}}}=this;switch(e){case"no-advanced-editing-user-type-extension":return i.noAdvancedEditingUserTypeExtension;case"no-feature-service-found":return i.noFeatureServiceFound;case"no-valid-enterprise-version":return i.notValidEnterpriseVersion;case"no-valid-version-name":return i.invalidVersionName;default:return e}}_paginate(e,i,t){return e.slice((t-1)*i,t*i)}render(){let{currentPage:e,selected:i,showBackButton:t,versionListElementProps:{closable:V,currentUser:$,currentVersionIdentifier:d,executionError:g,hasAdvEditingUte:f,heading:_,isVersionAdministrator:E,isVersioningApiAvailable:m,pageSize:r,serviceName:w,serviceUrl:a,state:b,strings:{headers:p},strings:n,versionInfos:x}}=this,P=s`<calcite-block .heading=${p.currentVersion} .description=${d.name} overlay-positioning=fixed></calcite-block>`,k=s`<calcite-action id=actionRefreshVersions icon=refresh text @click=${()=>this.arcgisGetVersions.emit({serviceUrl:a})} slot=header-actions-end><calcite-tooltip overlay-positioning=fixed reference-element=actionRefreshVersions><span>${n.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`;this._paginatedVersionInfos=this._filteredVersionInfos.length>r?this._paginate(this._filteredVersionInfos,r,e):this._filteredVersionInfos;let C=this._filteredVersionInfos.length>r?s`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length/r)}></calcite-pagination>`:void 0,F=this._paginate(this._paginatedVersionInfos,r,1).map(y=>s`<arcgis-version-management-version-item .versionItemElementProps=${{currentUser:$,currentVersionIdentifier:d,isCurrentVersionCard:!1,hasAdvEditingUte:f,isVersionAdministrator:E,isVersioningApiAvailable:m,serviceUrl:a,strings:n,versionInfo:y}}></arcgis-version-management-version-item>`),L=x.length>r?s`<calcite-block heading .label=${p.filterVersions} open><calcite-input-text clearable icon=search @calciteInputTextInput=${this._handleFilterChange} .placeholder=${n.actions.searchVersions} ${c(this._filterInputElement)}></calcite-input-text></calcite-block>`:void 0,U=s`<calcite-list .label=${n.labels.versionList}>${F}</calcite-list>`,B=m&&f?s`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${n.actions.newVersion} @click=${()=>this.arcgisNewVersion.emit({serviceUrl:a})}></calcite-fab>`:void 0,A=g?s`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} class="notice" closable kind=warning open scale=s slot=footer width=full><div slot=message>${this._getExecutionError(g)}</div></calcite-notice>`:void 0;return s`<calcite-flow-item .closable=${V} .description=${w} .heading=${_} .selected=${i} .showBackButton=${t} @calciteFlowItemBack=${()=>this.arcgisFlowItemBack.emit()} @calciteFlowItemClose=${()=>this.arcgisFlowItemClose.emit()} ${c(this._flowItemElement)}><calcite-panel .loading=${b==="executing"}>${P}<calcite-panel .heading=${this._filteredVersionInfos.length?`${n.headers.manageVersions} (${this._filteredVersionInfos.length})`:n.headers.manageVersions}>${k}${L}${U}${B}</calcite-panel>${C}${A}</calcite-panel></calcite-flow-item>`}};I("arcgis-version-management-version-list",h);export{h as ArcgisVersionManagementVersionList};
|
|
@@ -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 p,P as a,T as d,i as r,j as o}from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import{O as p,P as a,T as d,i as r,j as o}from"./ZBKVGEVP.js";export default $arcgis.t(([{watch:u}])=>{var m=r`.arcgis-print__scale-input-container{display:flex;align-items:center;padding-bottom:var(--calcite-spacing-md)}.arcgis-print__scale-input-container .arcgis-print__scale-input{flex-grow:1}`,l="arcgis-print",c={scaleInfoContainer:`${l}__scale-info-container`,scaleInputContainer:`${l}__scale-input-container`,scaleInput:`${l}__scale-input`},n=class extends p{constructor(){super(...arguments),this._scale=0,this._scaleEnabled=!1}static{this.properties={_scale:16,_scaleEnabled:16,viewModel:0,messages:0}}static{this.styles=m}loaded(){this.manager.onLifecycle(()=>[u(()=>[this.viewModel.templateOptions.scale,this.viewModel.templateOptions.scaleEnabled],()=>{let{scale:e,scaleEnabled:t}=this.viewModel.templateOptions;this._scale=e,this._scaleEnabled=t},{initial:!0}),u(()=>this.viewModel.view?.scale,e=>{e&&(!this.viewModel.templateOptions.scaleEnabled||!this.viewModel.templateOptions.scale)&&(this.viewModel.templateOptions.scale=e)},{initial:!0})])}_resetToCurrentScale(){this.viewModel.templateOptions.scale=this.viewModel.view?.scale}render(){let{messages:e,_scale:t,_scaleEnabled:i}=this;return o`<div class=${a(c.scaleInfoContainer)}><calcite-label layout=inline><calcite-checkbox .checked=${i} @calciteCheckboxChange=${s=>{this.viewModel.templateOptions.scaleEnabled=s.target.checked,this._resetToCurrentScale()}}></calcite-checkbox>${e.scale}</calcite-label><div class=${a(c.scaleInputContainer)}><calcite-input-number .ariaLabel=${e.scaleLabel} .ariaValueNow=${`${t}`} class=${a(c.scaleInput)} .disabled=${!i} .value=${`${t}`} @calciteInputNumberInput=${s=>this.viewModel.templateOptions.scale=Number(s.currentTarget.value)}></calcite-input-number><calcite-button appearance=outline .ariaLabel=${e.reset} .disabled=${!i} icon-start=refresh kind=neutral @click=${()=>this._resetToCurrentScale()}></calcite-button></div></div>`}};d("arcgis-print-scale-section",n);return n},"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 as n,O as l,T as o,j as a}from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import{D as n,O as l,T as o,j as a}from"./ZBKVGEVP.js";export default $arcgis.t(([{watch:$}])=>{var s=class extends l{constructor(){super(...arguments),this._disabled=!1,this._playing=!1}static{this.properties={_disabled:16,_playing:16,viewModel:0,messages:0}}static{this.shadowRootOptions=n}loaded(){this.manager.onLifecycle(()=>[$(()=>[this.viewModel.state,this.viewModel.playing],()=>{let{state:e,playing:i}=this.viewModel;this._disabled=e==="not-ready"||e==="waiting",this._playing=i},{initial:!0})])}render(){let{viewModel:e,messages:i,_disabled:t,_playing:c}=this,r=a`<calcite-action .active=${c} alignment=center .disabled=${t} .icon=${c?"pause-f":"play-f"} @click=${c?()=>e.pause():()=>e.play()} scale=s .text=${c?i.pause:i.play}></calcite-action>`,d=a`<calcite-action alignment=center .disabled=${t} icon=reverse-f @click=${()=>e.seekBackward()} scale=s .text=${i.reverse}></calcite-action>`,g=a`<calcite-action alignment=center .disabled=${t} icon=forward-f @click=${()=>e.seekForward()} scale=s .text=${i.forward}></calcite-action>`,p=a`<calcite-action alignment=center .disabled=${t} icon=beginning-f @click=${()=>e.seekToBeginning()} scale=s .text=${i.beginning}></calcite-action>`,m=a`<calcite-action alignment=center .disabled=${t} icon=end-f @click=${()=>e.seekToEnding()} scale=s .text=${i.end}></calcite-action>`;return a`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[p,d,r,g,m]}</calcite-action-bar>`}};o("arcgis-video-player-actions-group",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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import d from"./UWVJW3A3.js";import c from"./AWJMF4JH.js";import b from"./6SPEI7A5.js";import{e as r}from"./B4AIZOHR.js";import"./XGENESWE.js";import"./PERDYUOQ.js";import{A as e,D as s,O as o,T as a}from"./ZBKVGEVP.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.
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
4
|
var r={dragHorizontal:"esri-icon-drag-horizontal",dragVertical:"esri-icon-drag-vertical"};export{r 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 p}from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import{a as p}from"./6REBF3AA.js";import{O as c,P as l,T as o,i as s,j as r}from"./ZBKVGEVP.js";export default $arcgis.t(([{watch:m}])=>{var v=s`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`,u="arcgis-print",d={srLabel:`${u}__sr-label`,invalidWkidText:`${u}__invalid-wkid-text`};function _(e){if(e==null)return!1;let t=e.wkid;return t!=null&&t>=2e3?!0:e.wkt2!=null||e.wkt!=null}function g(e){return e==null?e:Math.round(Number.parseFloat(e))}var n=class extends c{constructor(){super(...arguments),this._isValidSpatialReference=!0}static{this.properties={_isValidSpatialReference:16,_outSpatialReference:16,templateOptions:0,viewModel:0,messages:0}}static{this.styles=v}loaded(){this.manager.onLifecycle(()=>[m(()=>this.viewModel.outSpatialReference,t=>{this._outSpatialReference=t??void 0},{initial:!0})])}render(){let{messages:t,_outSpatialReference:i}=this;return r`<div><calcite-label><div class=${l(d.srLabel)}>${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString()??""} @calciteInputNumberInput=${({currentTarget:f})=>{let a=g(f.value);this.viewModel.outSpatialReference=Number.isNaN(a)||a==null?null:new __esri.SpatialReference({wkid:a}),this._isValidSpatialReference=!i||_(i)}}></calcite-input-number>${this._isValidSpatialReference?null:p(`out-sr-${i?.wkid}`,r`<div class=${l(d.invalidWkidText)}>${t.invalidWkid}</div>`)}</calcite-label></div>`}};o("arcgis-print-out-spatial-reference-input",n);return n},"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{O as t,P as e,T as d,i as l,j as c}from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import{O as t,P as e,T as d,i as l,j as c}from"./ZBKVGEVP.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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as o}from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import{a as o}from"./6REBF3AA.js";import{a as _}from"./TZFX4YNN.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"./ZBKVGEVP.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.
|
|
3
|
+
v4.34.0-next.9 */
|
|
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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import{a as r}from"./PT3JQOCE.js";import{a as i}from"./6REBF3AA.js";import"./B4AIZOHR.js";import"./XGENESWE.js";import{O as n,P as o,T as l,i as s,j as t}from"./ZBKVGEVP.js";export default $arcgis.t(([{watch:c}])=>{var h=s`.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`},a=class extends n{constructor(){super(...arguments),this._handles=r("disconnect")}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)??void 0:void 0,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=${o(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}};l("arcgis-print-layout-advanced-options",a);return a},"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{a as h}from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import{a as h}from"./6REBF3AA.js";import{b as y}from"./2RDNB6AQ.js";import j from"./AE4OIXKM.js";import{a as R}from"./4P2D723H.js";import{a as d}from"./TZFX4YNN.js";import i from"./AWJMF4JH.js";import e from"./6SPEI7A5.js";import{e as f}from"./B4AIZOHR.js";import"./XGENESWE.js";import{i as w}from"./PERDYUOQ.js";import{A as g,D as b,O as v,P as a,Q as _,R as c,T as $,d as p,i as m,j as o}from"./ZBKVGEVP.js";export default $arcgis.t(([{watch:M},S,,,C])=>{var x=[-45,0,45,-90,90,-135,180,135],B={0:{label:"north",iconName:"chevron-up"},45:{label:"northEast",iconName:"chevron-up-right"},90:{label:"east",iconName:"chevron-right"},135:{label:"southEast",iconName:"chevron-down-right"},180:{label:"south",iconName:"chevron-down"},"-135":{label:"southWest",iconName:"chevron-down-left"},"-90":{label:"west",iconName:"chevron-left"},"-45":{label:"northWest",iconName:"chevron-up-left"}},n="arcgis-directional-pad",s={base:n,buttonsContainer:`${n}__buttons-container`,button:`${n}__button`,compassButton:`${n}__compass`,rotationContainer:`${n}__rotation-container`,rotationSliderContainer:`${n}__rotation-slider-container`,rotationReset:`${n}__rotation-reset-button`,error:`${n}__error`},E=m`@layer{.arcgis-directional-pad{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);outline:none;box-shadow:none!important;background-color:transparent!important;user-select:none;calcite-action-pad{display:contents}calcite-action-group{touch-action:none}calcite-action{aspect-ratio:1}}.arcgis-directional-pad__buttons-container{--calcite-color-background: transparent;--calcite-action-group-gap: 0;--calcite-action-group-padding: 0;calcite-action{--calcite-color-focus: var(--calcite-color-foreground-3)}calcite-action:not([active]){--calcite-action-background-color-press: var(--calcite-color-foreground-1)}calcite-action[active]{--calcite-action-background-color: var(--calcite-color-foreground-3)}calcite-icon{transform:var(--rotation, unset)}@media (hover: none){calcite-action{--calcite-action-background-color-hover: var(--calcite-color-foreground-1);--calcite-action-text-color-press: var(--calcite-color-text-3)}}}.arcgis-directional-pad__rotation-container{display:block;width:100%;calcite-action{flex:.3}}.arcgis-directional-pad__rotation-slider-container{display:flex;flex:1;align-items:center;calcite-slider{flex:1;padding-inline:var(--calcite-spacing-xxs)}}}`;function k(r){let{x:t,y:e,width:i,height:l}=r.getBoundingClientRect();return{x:t+i/2,y:e+l/2}}function D(r){return r?.spatialReference?.isWebMercator||r?.spatialReference?.isGeographic||!1}var N=C(S),u=class extends v{constructor(){super(...arguments),this.messages=R({}),this._onContextMenu=t=>t.preventDefault(),this._buttons={},this.viewModel=N(this),this.angle=this.viewModel.angle,this.rotation=this.viewModel.rotation,this.autoDestroyDisabled=!1,this.disabled=this.viewModel.disabled,this.hideDirectionalButtons=!1,this.icon="move",this.position="bottom-left",this.showRotationResetButton=!1,this.showRotationSlider=!1,this.state=this.viewModel.state,this.visualScale="s",this.arcgisPropertyChange=f()("state"),this.arcgisReady=g()}static{this.properties={_rotationEnabled:16,angle:16,rotation:16,autoDestroyDisabled:5,disabled:5,hideDirectionalButtons:5,icon:1,label:1,messageOverrides:0,position:3,referenceElement:1,showRotationResetButton:5,showRotationSlider:5,state:3,visualScale:1}}static{this.shadowRootOptions=b}static{this.styles=E}get _rotationEnabled(){return this.view?.ready?this.view.constraints.rotationEnabled??!1:!0}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[M(()=>this.viewModel.angle,()=>{this._buttonsContainer?.contains(document.activeElement)&&(this.viewModel.angle==null?w(this)?.focus():p(this._buttons[this.viewModel.angle]))})])}_rotateIcon(t){return{"--rotation":`rotate(${t}deg)`}}_setButtonContainerRef(t){t!==void 0?(this._buttonsContainer=t,queueMicrotask(()=>{this._buttons=Object.fromEntries(Array.from(t.children,e=>[Number.parseInt(e.getAttribute("data-angle")??""),e]))})):(this._buttonsContainer=void 0,this._buttons={})}_onButtonPointerDown(t){if(this._buttonsContainer===void 0)return;t.composedPath().find(i=>i.hasPointerCapture?.(t.pointerId))?.releasePointerCapture(t.pointerId);let e=k(this._buttonsContainer);this.viewModel.beginFollowingPointer(t,e)}_onSliderInput({currentTarget:t}){typeof t.value=="number"&&(this.viewModel.rotation=t.value)}_onRotationReset(){this.viewModel.rotation=0}_onClick(t){this.viewModel.moveOnce(t)}render(){let{label:t,disabled:e}=this,i=this.view==null||this.view.type==="2d";return o`<div .ariaLabel=${t??void 0} class=${a({[s.base]:!0,[d.widget]:!0,[d.disabled]:e})} tabindex=-1>${i?this._renderContent():this._renderUnsupportedMessage()}</div>`}_renderUnsupportedMessage(){return o`<section class=${a(s.error)}><p>${this.messages.unsupported}</p></section>`}_renderContent(){return[this.hideDirectionalButtons?void 0:this._renderDirectionalButtons(),this.showRotationSlider?this._renderRotation():void 0]}_renderDirectionalButtons(){return h("directional-buttons-container",o`<calcite-action-bar expand-disabled floating layout=grid overflow-actions-disabled><calcite-action-group class=${a(s.buttonsContainer)} dir=ltr @contextmenu=${{handleEvent:this._onContextMenu,capture:!0}} ${y(this._setButtonContainerRef)}>${x.slice(0,4).map(this._renderButton,this)}${this._renderCompass()}${x.slice(4).map(this._renderButton,this)}</calcite-action-group></calcite-action-bar>`)}_renderButton(t){let{label:e,iconName:i}=B[t],l=this.messages[e];return o`<calcite-action .active=${this.angle===t} alignment=center class=${a(s.button)} data-angle=${t??c} .disabled=${this.disabled} @click=${this._onClick.bind(this,t)} @pointerdown=${this._onButtonPointerDown} .scale=${this.visualScale} .text=${l??""} title=${l??c}><calcite-icon .icon=${i} .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderCompass(){let t=this.disabled||D(this.view)?"compass-needle":"arrow-up",e=this.rotation===0,i=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.compassButton)} .disabled=${this.disabled||!this._rotationEnabled||e} @click=${this._onRotationReset} .scale=${this.visualScale} style=${_(this._rotateIcon(this.rotation))} .text=${i??""} title=${i??c}>${!e&&o`<calcite-icon .icon=${t} .scale=${this.visualScale}></calcite-icon>`||""}</calcite-action>`}_renderRotation(){return h("slider-container",o`<calcite-action-bar expand-disabled floating layout=horizontal><calcite-action-group class=${a(s.rotationContainer)}>${this.showRotationResetButton?this._renderRotationResetButton():null}${this._renderRotationSlider()}</calcite-action-group></calcite-action-bar>`)}_renderRotationResetButton(){let t=this.messages.resetHeading;return o`<calcite-action alignment=center class=${a(s.rotationReset)} .disabled=${this.disabled||!this._rotationEnabled} @click=${this._onRotationReset} .scale=${this.visualScale} .text=${t??""} title=${t??c}><calcite-icon flip-rtl icon=rotate .scale=${this.visualScale}></calcite-icon></calcite-action>`}_renderRotationSlider(){return o`<div class=${a(s.rotationSliderContainer)}><calcite-slider .ariaLabel=${this.messages.heading} .disabled=${this.disabled||!this._rotationEnabled} label-handles max=360 min=0 required .scale=${this.visualScale} .value=${Math.round(this.rotation)} @calciteSliderInput=${this._onSliderInput}></calcite-slider></div>`}};$("arcgis-directional-pad",u);return u},"core/reactiveUtils","widgets/DirectionalPad/DirectionalPadViewModel",e,i,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 c from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import c from"./AE4OIXKM.js";import{a as S}from"./4P2D723H.js";import{a as d}from"./TZFX4YNN.js";import b from"./AWJMF4JH.js";import a from"./6SPEI7A5.js";import{e as x}from"./B4AIZOHR.js";import"./XGENESWE.js";import"./PERDYUOQ.js";import{A as _,D as w,O as f,P as e,Q as p,R as r,T as B,a as o,i as y,j as l}from"./ZBKVGEVP.js";export default $arcgis.t(([{getBasemapThumbnailUrl:C},L,,,M])=>{var R=y`@layer{arcgis-basemap-toggle{display:block}.esri-basemap-toggle__title-wrap{text-wrap:wrap}}`,s="esri-basemap-toggle",n="esri-basemap-thumbnail",a={base:s,secondaryBasemapImage:`${s}__image--secondary`,container:`${n} ${s}__container`,image:`${n}__image ${s}__image`,imageLoading:`${s}__image--loading`,overlay:`${n}__overlay ${s}__image-overlay`,title:`${n}__title ${s}__title`,titleWrap:`${s}__title-wrap`,overlayScrim:`${n}__overlay-scrim`},A=M(L),g=class extends f{constructor(){super(...arguments),this.messages=S(),this.viewModel=A(this),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.icon="layer-basemap",this.nextBasemap=this.viewModel.nextBasemap,this.position="top-left",this.showTitle=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=x()("nextBasemap","state"),this.arcgisReady=_()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:1,label:1,messageOverrides:0,nextBasemap:1,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=w}static{this.styles=R}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(t){let m=C(t);return m?{backgroundImage:`url(${m})`}:{backgroundImage:""}}render(){let t=this.viewModel,m=t.state==="disabled"?null:t.activeBasemap,i=t.state==="disabled"?null:t.nextBasemap,T=t.state==="loading",h=t.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,k=b||u,D=this._getThumbnailStyles(m),I=this._getThumbnailStyles(i);return k&&(v=l`<div class=${e(a.overlay)}>${b?l`<span class=${e(o(a.title,a.titleWrap))} title=${c??r}>${c}</span>`:null}${u?l`<calcite-scrim class=${e(a.overlayScrim)} title=${this.messages.incompatibleSpatialReference??r}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),l`<div class=${e(o(a.base,d.widget))}><calcite-button appearance=transparent data-basemap-id=${(i?i.id:"")??r} .disabled=${h} kind=neutral .label=${this.label??void 0} @click=${()=>void this.toggle()} title=${this.label??void 0??r}><div class=${e(o(a.container,a.secondaryBasemapImage))}><div class=${e(a.image)} style=${p(D)}></div></div><div class=${e(a.container)}><div class=${e(o(a.image,$?a.imageLoading:null))} style=${p(I)}>${$||T?l`<calcite-scrim><span aria-hidden=true class=${e(d.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};B("arcgis-basemap-toggle",g);return g},"applications/Components/basemapUtils","widgets/BasemapToggle/BasemapToggleViewModel",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 d from"./
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import d from"./UWVJW3A3.js";import c from"./AWJMF4JH.js";import b from"./6SPEI7A5.js";import"./B4AIZOHR.js";import"./XGENESWE.js";import"./PERDYUOQ.js";import{A as t,D as s,O as a,T as h,i}from"./ZBKVGEVP.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{a as L}from"./F4R4AZMX.js";import{a as v,b as f}from"./UIWYLDIB.js";import"./ILNZINO3.js";import{a as S}from"./PRI3F4JY.js";import"./MKPFXZNG.js";import"./E4JWST54.js";import{j as M}from"./OM2N2SN3.js";import{D as C,O as T,P as h,Q as A,R as o,T as w,a as y,j as r}from"./DXY5GBKD.js";export default $arcgis.t(([{isLayerFromCatalog:O}])=>{var D={hideChildren:"hide-children"};function R({exclusive:n,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?n?"circle-f":i?"check-square-f":"view-visible":n?"circle":i?"square":"view-hide"}function P({connectionStatus:n,publishing:e}){return n?n==="connected"?"beacon":"offline":e?"square":"bullet-point"}function k(n){return n?.listMode===D.hideChildren}function F(n){let e=(n?.layer&&U(n.layer)?n.layer.layer:void 0)??n?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(n){return n!=null&&"layer"in n&&n.layer!=null}function B(n){let e=V(n);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(n){return n&&"capabilities"in n&&n.capabilities!=null&&"exportMap"in n.capabilities?n.capabilities.exportMap:void 0}function N(n){return n?.getAttribute("data-item")}function G(n){let{children:e,error:t}=n,i="incompatible"in n?n.incompatible:!1;return!!e?.filter(a=>!a.hidden).length&&!t&&!i}function H(n){for(let e of n)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function E(n,e){let t=n.parent,i=n.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let a=i.sourceJSON.layers;if(!a)return!1;let s=a.find(l=>n.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:a.find(l=>l.id===t.id)?.type==="Catalog Layer"}function x(n){if(n.icon)return n.icon;if(!("image"in n&&n.image)&&!n.className)return"question"}function q(n){return n?{backgroundImage:`url(${n})`}:{}}var I=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this._messages=S({name:"layer-list"}),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=L}static{this.shadowRootOptions=C}get _title(){let{_messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:a}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(a.statusIndicator,{[a.publishing]:s},"updating"in a&&{[a.updating]:c},"connectionStatus"in a&&{[a.connectionStatus]:u},"connectionStatusConnected"in a&&{[a.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:a}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(a.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this._messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,_messages:i,visibilityAppearance:a,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!a)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:a}),d=a==="checkbox",g=i.layerVisibility;return r`<calcite-action appearance=transparent class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:a}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} appearance=transparent .disabled=${a} .icon=${x(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,_messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action appearance=transparent icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",a=t?.type==="sublayer"&&E(t,"footprints");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",a=t?.type==="sublayer"&&E(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:a}=t,s=a?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action appearance=transparent .disabled=${!a.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:a,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&G(t),$=a?!1:k(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&F(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,_messages:t,css:i}=this,{layer:a}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${a?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,_messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:H(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(M(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(N(e.target)!==t)return;let a=this._getParentVisibilityMode(i);this.selectionMode!=="none"||a==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:a,selectionMode:s,selectedItems:c,_messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:a===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:a}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} appearance=transparent data-action-id=${i.id??o} .disabled=${c} .icon=${x(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(a?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${a} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let a="image"in e?e.image:void 0,s={[t.itemActionImage]:!!a};return a?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(q(a))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};w("arcgis-layer-list-item",I);return I},"layers/catalog/catalogUtils")
|
|
3
|
+
v4.34.0-next.9 */
|
|
4
|
+
import{a as L}from"./B7JXTTR5.js";import{a as v,b as f}from"./2RDNB6AQ.js";import"./AQUKBXCX.js";import{a as S}from"./4P2D723H.js";import"./B4AIZOHR.js";import"./XGENESWE.js";import{j as M}from"./PERDYUOQ.js";import{D as C,O as T,P as h,Q as A,R as o,T as w,a as y,j as r}from"./ZBKVGEVP.js";export default $arcgis.t(([{isLayerFromCatalog:O}])=>{var D={hideChildren:"hide-children"};function R({exclusive:n,visible:e,visibilityAppearance:t}){let i=t==="checkbox";return e?n?"circle-f":i?"check-square-f":"view-visible":n?"circle":i?"square":"view-hide"}function P({connectionStatus:n,publishing:e}){return n?n==="connected"?"beacon":"offline":e?"square":"bullet-point"}function k(n){return n?.listMode===D.hideChildren}function F(n){let e=(n?.layer&&U(n.layer)?n.layer.layer:void 0)??n?.layer;return e?e.type==="catalog"?!1:B(e)??!0:!1}function U(n){return n!=null&&"layer"in n&&n.layer!=null}function B(n){let e=V(n);return e!=null&&"supportsDynamicLayers"in e?e.supportsDynamicLayers:void 0}function V(n){return n&&"capabilities"in n&&n.capabilities!=null&&"exportMap"in n.capabilities?n.capabilities.exportMap:void 0}function N(n){return n?.getAttribute("data-item")}function G(n){let{children:e,error:t}=n,i="incompatible"in n?n.incompatible:!1;return!!e?.filter(a=>!a.hidden).length&&!t&&!i}function H(n){for(let e of n)for(let t of e)if(t.type==="button"||t.type==="toggle")return t}function E(n,e){let t=n.parent,i=n.layer;if(i?.type!=="map-image"||!i.sourceJSON||!t)return!1;let a=i.sourceJSON.layers;if(!a)return!1;let s=a.find(l=>n.id===l.id),c=e==="footprints"?"Feature Layer":"Catalog Dynamic Group Layer";return s?.type!==c?!1:a.find(l=>l.id===t.id)?.type==="Catalog Layer"}function x(n){if(n.icon)return n.icon;if(!("image"in n&&n.image)&&!n.className)return"question"}function q(n){return n?{backgroundImage:`url(${n})`}:{}}var I=class extends T{constructor(){super(...arguments),this._itemRef=v(),this._noticeRef=v(),this._messages=S({name:"layer-list"}),this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.hideFlow=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.showTemporaryTableIndicators=!1,this.dragEnabled=!1,this.listModeDisabled=!1,this.autoDestroyDisabled=!1}static{this.properties={_title:16,_renderedItemStatus:16,_renderedItemTemporaryIcon:16,_renderedItemToggle:16,_renderedPanel:16,_renderedPanelAction:16,_renderedActions:16,_renderedActionMenu:16,_renderedActionMenuContent:16,_renderedCatalogFootprintIcon:16,_renderedCatalogDynamicIcon:16,_renderedCatalogSelectNode:16,_renderedChildList:16,_hasTables:16,_renderedTablesItem:16,_renderedItemMessage:16,_singleAction:16,_filteredSections:16,_actionsCount:16,activeItem:0,canMove:0,css:0,displayMode:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,showTemporaryTableIndicators:5,dragEnabled:5,item:0,layerTablesEnabled:0,listModeDisabled:5,handleAction:0,handlePanelOpen:0,handleCatalogOpen:0,handleTablesOpen:0,handleSelectedDragItemLayerUidChange:0,handleTooltipReferenceChange:0,parent:0,parentTitles:0,rootGroupUid:1,selectionMode:1,selectedItems:0,selectedDragItemLayerUid:1,visibilityAppearance:1,autoDestroyDisabled:5}}static{this.styles=L}static{this.shadowRootOptions=C}get _title(){let{_messages:e}=this;return this.item.title||("untitledTable"in e?e.untitledTable:e.untitledLayer)}get _renderedItemStatus(){let{item:e,parent:t,hideStatusIndicators:i,css:a}=this;if(!i)return null;let{publishing:s}=e,c="updating"in e&&e.updating&&!t,l="connectionStatus"in e?e.connectionStatus:void 0,u=!!l;return r`<calcite-icon class=${h(y(a.statusIndicator,{[a.publishing]:s},"updating"in a&&{[a.updating]:c},"connectionStatus"in a&&{[a.connectionStatus]:u},"connectionStatusConnected"in a&&{[a.connectionStatusConnected]:u&&l==="connected"}))} .icon=${P({connectionStatus:l,publishing:s})} scale=s slot=content-end></calcite-icon>`}get _renderedItemTemporaryIcon(){let{item:e,showTemporaryLayerIndicators:t,showTemporaryTableIndicators:i,css:a}=this,{layer:s}=e,c=s&&"persistenceEnabled"in s&&(O(s)||!s.persistenceEnabled);return(t||i)&&c?r`<calcite-icon class=${h(a.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${this._messages.temporary??o}></calcite-icon>`:null}get _renderedItemToggle(){let{item:e,parent:t,_messages:i,visibilityAppearance:a,css:s}=this;if(!("visible"in e)||!("layerVisibility"in i)||!("visibleToggle"in s)||!a)return null;let{visible:c}=e,l=this._getParentVisibilityMode(t);if(l==="inherited")return null;let u=R({visible:c,exclusive:l==="exclusive",visibilityAppearance:a}),d=a==="checkbox",g=i.layerVisibility;return r`<calcite-action appearance=transparent class=${h(s.visibleToggle)} .icon=${d?u:void 0} @click=${()=>this._toggleVisibility(e,t)} scale=s .slot=${d?"actions-start":"actions-end"} .text=${g??""} title=${g??o}>${d?null:r`<calcite-icon class=${h(y({[s.visibleIcon]:l!=="exclusive"&&c}))} .icon=${u} scale=s></calcite-icon>`}</calcite-action>`}get _renderedPanel(){let{panel:e}=this.item;return e?.open&&!e.disabled&&!e.flowEnabled?r`<div class=${h(this.css.itemContentBottom)} slot=content-bottom>${e.render()}</div>`:null}get _renderedPanelAction(){let{panel:e}=this.item;if(!e?.visible)return null;let{open:t,title:i,disabled:a}=e,s={icon:e.icon,image:e.image,indicator:!1};return r`<calcite-action .active=${t} appearance=transparent .disabled=${a} .icon=${x(s)} @click=${()=>this._togglePanel(e)} scale=s slot=actions-end .text=${i??""} title=${i??void 0??o}>${this._renderFallbackIcon(e)}</calcite-action>`}get _renderedActions(){switch(this._actionsCount){case 0:return null;case 1:return this._singleAction;default:return this._renderedActionMenu}}get _renderedActionMenu(){let{item:e,_messages:t}=this,i=t.options;return r`<calcite-action-menu appearance=transparent .label=${t.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end scale=s slot=actions-end @calciteActionMenuOpen=${this._onActionMenuOpen}><calcite-action appearance=transparent icon=ellipsis scale=s slot=trigger .text=${i??""} title=${i??o}></calcite-action>${this._renderedActionMenuContent}</calcite-action-menu>`}get _renderedActionMenuContent(){return this._filteredSections.toArray().map(e=>r`<calcite-action-group>${e.toArray().map(t=>this._renderAction({action:t,textEnabled:!0}))}</calcite-action-group>`)}get _renderedCatalogFootprintIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-footprint",a=t?.type==="sublayer"&&E(t,"footprints");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogDynamicIcon(){let{css:e}=this,t=this.item.layer,i=t?.type==="catalog-dynamic-group",a=t?.type==="sublayer"&&E(t,"layers-in-view");return"itemCatalogIcon"in e&&(i||a)?r`<calcite-icon class=${h(e.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`:null}get _renderedCatalogSelectNode(){let{_title:e,item:t,hideCatalogLayerList:i}=this;if(!("visible"in t))return;let{layer:a}=t,s=a?.type==="catalog-dynamic-group";return i&&s?r`<calcite-action appearance=transparent .disabled=${!a.visible} icon=chevron-right icon-flip-rtl @click=${()=>this._triggerOnCatalogOpen(t)} scale=s slot=actions-end .text=${e}></calcite-action>`:null}get _renderedChildList(){let{dragEnabled:e,item:t,rootGroupUid:i,listModeDisabled:a,selectionMode:s,displayMode:c}=this;if(!("children"in t))return;let l=[...this.parentTitles??[],t.title],{children:u,layer:d}=t,g=d?.type!=="catalog-dynamic-group"&&G(t),$=a?!1:k(d),m=d?.type==="group",_=!$&&!g&&e&&m,b=e?"childrenSortable"in t&&t.childrenSortable&&F(t):!1;return g||_?r`<calcite-list .canPull=${p=>this.canMove?this.canMove(p,"pull"):!1} .canPut=${p=>this.canMove?this.canMove(p,"put"):!1} data-item=${t??o} data-layer-type=${i??o} .displayMode=${c} .dragEnabled=${b} .group=${m?i:`${i}-${d?.uid}`} .label=${t.title} selection-appearance=border .selectionMode=${s}>${u?.filter(p=>!p.hidden&&(this.showErrors||!p.error)).toArray().map(p=>this._renderItem(p,t,l))}${this._renderedTablesItem}</calcite-list>`:null}get _hasTables(){let{layerTablesEnabled:e}=this,t=this.item.layer;if(!e||!t)return!1;switch(t.type){case"knowledge-graph":return e.includes(t.type)&&"tables"in t&&!!t.tables?.length;case"map-image":case"tile":return e.includes(t.type)&&"subtables"in t&&!!t.subtables?.length;default:return!1}}get _renderedTablesItem(){let{item:e,_messages:t,css:i}=this,{layer:a}=e;return"itemTableIcon"in i&&"visible"in e&&"tables"in t&&this._hasTables?r`<calcite-list-item class=${h(i.item)} data-layer-id=${a?.id??o} drag-disabled .label=${t.tables} title=${t.tables??o} @calciteListItemSelect=${()=>this._triggerOnTablesOpen(e)}><calcite-icon class=${h(i.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`:null}get _renderedItemMessage(){let{item:e,_messages:t,css:i}=this;return e.error?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in t?t.tableError:t.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in t?r`<div class=${h(i.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${f(this._noticeRef)}><div slot=message>${t.layerIncompatible}</div></calcite-notice></div>`:null}get _singleAction(){return this._renderAction({action:H(this._filteredSections),textEnabled:!1})}get _filteredSections(){return this.item.actionsSections.map(e=>e.filter(t=>t.visible))}get _actionsCount(){return this.item.actionsSections.reduce((e,t)=>e+t.length,0)}async destroy(){await this.manager.destroy()}willUpdate(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._setTooltipReference(this._noticeRef.value)}updated(){this._itemRef.value&&this._focusSelectedDragEl(this._itemRef.value,this.item),this._noticeRef.value&&this._removeTooltipReference()}_onActionMenuOpen(e){this.item.actionsOpen=e.currentTarget.open}_setTooltipReference(e){this.handleTooltipReferenceChange?.(this.item.layer?.uid,e)}_removeTooltipReference(){this.handleTooltipReferenceChange?.(this.item.layer?.uid,null)}_triggerAction(e,t){!t||!e||(t.type==="toggle"&&(t.value=!t.value),this.handleAction(t,e))}_triggerOnTablesOpen(e){!e||!this.handleTablesOpen||this.handleTablesOpen(e)}_triggerOnCatalogOpen(e){e&&this.handleCatalogOpen?.(e)}_focusSelectedDragEl(e,t){this.selectedDragItemLayerUid===t.layer?.uid&&(M(e),this.handleSelectedDragItemLayerUidChange?.(null))}_handleCalciteListItemToggle(e,t){e.stopPropagation(),t.open=e.target.expanded}_getParentVisibilityMode(e){return e&&"visibilityMode"in e?e.visibilityMode:null}_handleCalciteListItemSelect(e,t,i){if(N(e.target)!==t)return;let a=this._getParentVisibilityMode(i);this.selectionMode!=="none"||a==="inherited"||this._toggleVisibility(t,i)}_togglePanel(e){e.open=!e.open,e.open&&this.handlePanelOpen()}_toggleVisibility(e,t){!e||!("visible"in e)||this._getParentVisibilityMode(t)==="exclusive"&&e.visible||(e.visible=!e.visible)}render(){let e=this.parentTitles??[],{_title:t,item:i,activeItem:a,selectionMode:s,selectedItems:c,_messages:l,parent:u,css:d}=this,g="visibleAtCurrentTimeExtent"in i&&"layerInvisibleAtTime"in l&&!i.visibleAtCurrentTimeExtent?`${t} (${l.layerInvisibleAtTime})`:"visibleAtCurrentScale"in i&&"layerInvisibleAtScale"in l&&!i.visibleAtCurrentScale?`${t} (${l.layerInvisibleAtScale})`:t,$="parent"in i&&i.parent?.layer?.type==="catalog",{layer:m}=i,_="visibleAtCurrentScale"in i&&!i.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in i&&!i.visibleAtCurrentTimeExtent;return r`<calcite-list-item class=${h(y(d.item,"itemActive"in d&&{[d.itemActive]:a===i}))} data-item=${i??o} data-layer-id=${m?.id??o} .dragDisabled=${!("sortable"in i&&i.sortable)||$} id=${m?.uid??o} .label=${t} .metadata=${{parentTitles:e,_title:t}} .expanded=${"open"in i&&i.open} .selected=${s!=="none"?c.includes(i):!1} title=${g??o} .unavailable=${_} .value=${m?.uid} @calciteListItemSelect=${b=>"visible"in i&&this._handleCalciteListItemSelect(b,i,u)} @calciteListItemToggle=${b=>"open"in i&&this._handleCalciteListItemToggle(b,i)} ${f(this._itemRef)}>${this._renderedCatalogFootprintIcon}${this._renderedCatalogDynamicIcon}${this._renderedItemStatus}${this._renderedItemToggle}${this._renderedCatalogSelectNode}${this._renderedItemTemporaryIcon}${this._renderedChildList}${this._renderedItemMessage}${this._renderedPanel}${this._renderedPanelAction}${this._renderedActions}</calcite-list-item>`}_renderAction(e){let{item:t}=this,{action:i,textEnabled:a}=e;if(!i)return null;let{active:s,disabled:c,title:l,type:u,indicator:d}=i;return r`<calcite-action .active=${u==="toggle"?i.value:!1} appearance=transparent data-action-id=${i.id??o} .disabled=${c} .icon=${x(i)} .indicator=${d} .loading=${s} @click=${()=>this._triggerAction(t,i)} scale=s slot=${(a?void 0:"actions-end")??o} .text=${l??""} .textEnabled=${a} title=${l??void 0??o}>${this._renderFallbackIcon(i)}</calcite-action>`}_renderFallbackIcon(e){let{css:t}=this,{icon:i}=e;if(i)return null;let a="image"in e?e.image:void 0,s={[t.itemActionImage]:!!a};return a?r`<span aria-hidden=true class=${h(y(t.itemActionIcon,s))} style=${A(q(a))}></span>`:null}_renderItem(e,t,i=[]){return r`<arcgis-layer-list-item .activeItem=${this.activeItem} .canMove=${this.canMove} .css=${this.css} .displayMode=${this.displayMode} .dragEnabled=${this.dragEnabled} .item=${e} .layerTablesEnabled=${this.layerTablesEnabled} .listModeDisabled=${this.listModeDisabled} .parent=${t} .parentTitles=${i} .rootGroupUid=${this.rootGroupUid} .selectedDragItemLayerUid=${this.selectedDragItemLayerUid} .selectedItems=${this.selectedItems} .selectionMode=${this.selectionMode} .visibilityAppearance=${this.visibilityAppearance} .handleAction=${this.handleAction} .handleCatalogOpen=${this.handleCatalogOpen} .handlePanelOpen=${this.handlePanelOpen} .handleSelectedDragItemLayerUidChange=${this.handleSelectedDragItemLayerUidChange} .handleTablesOpen=${this.handleTablesOpen} .handleTooltipReferenceChange=${this.handleTooltipReferenceChange} .hideCatalogLayerList=${this.hideCatalogLayerList} .showCloseButton=${this.showCloseButton} .showCollapseButton=${this.showCollapseButton} .showErrors=${this.showErrors} .showFilter=${this.showFilter} .hideFlow=${this.hideFlow} .showHeading=${this.showHeading} .hideStatusIndicators=${this.hideStatusIndicators} .showTemporaryLayerIndicators=${this.showTemporaryLayerIndicators} .showTemporaryTableIndicators=${this.showTemporaryTableIndicators}></arcgis-layer-list-item>`}};w("arcgis-layer-list-item",I);return I},"layers/catalog/catalogUtils")
|