@arcgis/map-components 4.32.0-next.2 → 4.32.0-next.3
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/arcgis-map-components/{EQTBXL27.js → 27GM6TMI.js} +2 -2
- package/dist/arcgis-map-components/{TY4LRMYB.js → 2QCUAEYR.js} +1 -1
- package/dist/arcgis-map-components/{B6Z3K5E6.js → 2QNOIF3U.js} +2 -2
- package/dist/arcgis-map-components/{DQK27YBW.js → 2V3FF3OU.js} +2 -2
- package/dist/arcgis-map-components/{HEBIFCHW.js → 33JP7447.js} +2 -2
- package/dist/arcgis-map-components/{327OXNT5.js → 3DSKXAXC.js} +2 -2
- package/dist/arcgis-map-components/{HNDOGSLA.js → 3GXNNJO6.js} +2 -2
- package/dist/arcgis-map-components/{3R7EOYY3.js → 3N74S77Y.js} +2 -2
- package/dist/arcgis-map-components/{KF46FZNO.js → 3SPCVWDW.js} +2 -2
- package/dist/arcgis-map-components/{KRNTNUDC.js → 443N6XGY.js} +2 -2
- package/dist/arcgis-map-components/{Z6FLHF4Y.js → 4ONG4MQT.js} +2 -2
- package/dist/arcgis-map-components/{26RVOVEC.js → 4TCWP63S.js} +2 -2
- package/dist/arcgis-map-components/{D4XIASG2.js → 4UXCF4OM.js} +1 -1
- package/dist/arcgis-map-components/{G6YHMY2X.js → 5SEPUASD.js} +2 -2
- package/dist/arcgis-map-components/{XL42GVGB.js → 5TUO2PJB.js} +2 -2
- package/dist/arcgis-map-components/{MXAGX7OA.js → 62KCQDGE.js} +2 -2
- package/dist/arcgis-map-components/{JHGXWM55.js → 6QELDRLR.js} +2 -2
- package/dist/arcgis-map-components/6V7GUT2B.js +8 -0
- package/dist/arcgis-map-components/{W5BYKY5K.js → 727Y4EHZ.js} +2 -2
- package/dist/arcgis-map-components/{ZATBD4AU.js → 73XACXR7.js} +2 -2
- package/dist/arcgis-map-components/{RVUHEIL2.js → 7QAPWEN2.js} +2 -2
- package/dist/arcgis-map-components/{WLPAGIVE.js → 7R2QORO5.js} +2 -2
- package/dist/arcgis-map-components/{Y7DD72RA.js → 7T3FSXQW.js} +2 -2
- package/dist/arcgis-map-components/{OUFCLRMG.js → ASAHKP4M.js} +2 -2
- package/dist/arcgis-map-components/{TOS6QE45.js → BECLJD75.js} +2 -2
- package/dist/arcgis-map-components/{YYYNB4EI.js → BJV7COFA.js} +2 -2
- package/dist/arcgis-map-components/{P3X6SURG.js → BLKWSBBC.js} +2 -2
- package/dist/arcgis-map-components/{GMTDFL22.js → BLY2ABPE.js} +2 -2
- package/dist/arcgis-map-components/{MCZ4R2D2.js → C7QHC5XF.js} +2 -2
- package/dist/arcgis-map-components/{73ZPAYZL.js → CJE6T4C4.js} +2 -2
- package/dist/arcgis-map-components/{U3A7NBMN.js → CKYC5GML.js} +2 -2
- package/dist/arcgis-map-components/{QJE6C2KB.js → CXXLK64M.js} +2 -2
- package/dist/arcgis-map-components/{WAIK2ZZN.js → E4A6DD7W.js} +2 -2
- package/dist/arcgis-map-components/{MOMHFVR6.js → ED2X3KMJ.js} +2 -2
- package/dist/arcgis-map-components/{XAOANEKX.js → FLIQGWQE.js} +2 -2
- package/dist/arcgis-map-components/{LDDW6F6M.js → GEEPX5R5.js} +2 -2
- package/dist/arcgis-map-components/{2V6UXU6P.js → HI2KTAFJ.js} +2 -2
- package/dist/arcgis-map-components/{YRMMQFCN.js → I2RWV7WW.js} +2 -2
- package/dist/arcgis-map-components/{TOG7VHWN.js → ISHF2ZKS.js} +2 -2
- package/dist/arcgis-map-components/{LQPFVUFQ.js → ITCPQV4W.js} +2 -2
- package/dist/arcgis-map-components/{ZJDGS42S.js → IUEFMVKN.js} +2 -2
- package/dist/arcgis-map-components/{6TSLGWQT.js → J3HCS7H5.js} +2 -2
- package/dist/arcgis-map-components/{FKQWYYJJ.js → JL3UO3KO.js} +2 -2
- package/dist/arcgis-map-components/{QCYUUWJP.js → JZVQISNS.js} +2 -2
- package/dist/arcgis-map-components/{46EZ5CLU.js → LMTZHUBA.js} +2 -2
- package/dist/arcgis-map-components/{3R2MPXOH.js → MXTMPFAC.js} +2 -2
- package/dist/arcgis-map-components/{MPO7H3FA.js → N2XIIREH.js} +2 -2
- package/dist/arcgis-map-components/{3CKLCOIH.js → NWPR6F5M.js} +2 -2
- package/dist/arcgis-map-components/{EFVHFMSS.js → OXL7PTVB.js} +2 -2
- package/dist/arcgis-map-components/{GGMK22ZD.js → P7RGEXXO.js} +2 -2
- package/dist/arcgis-map-components/{74DFQCVS.js → PQWYNCT6.js} +2 -2
- package/dist/arcgis-map-components/{JD3NDKYH.js → Q3VEG4LZ.js} +2 -2
- package/dist/arcgis-map-components/{VURDEWQI.js → QXMZ555H.js} +2 -2
- package/dist/arcgis-map-components/{OTOXD6WT.js → SNV65KM3.js} +2 -2
- package/dist/arcgis-map-components/{RHLWBYBO.js → TL2O77FA.js} +2 -2
- package/dist/arcgis-map-components/{SPLN4VXX.js → TPVWPS2P.js} +2 -2
- package/dist/arcgis-map-components/{XRJ6T3QX.js → TQXQLXXI.js} +2 -2
- package/dist/arcgis-map-components/{QWQXCAI5.js → TVI3FCBK.js} +2 -2
- package/dist/arcgis-map-components/{C7HA6EHC.js → TXCD4CDR.js} +2 -2
- package/dist/arcgis-map-components/{QMWMI2KR.js → UF3GQO25.js} +1 -1
- package/dist/arcgis-map-components/{YAS7GDPA.js → UMTYNFPZ.js} +2 -2
- package/dist/arcgis-map-components/{BODCRIXB.js → XAGDSS6M.js} +2 -2
- package/dist/arcgis-map-components/{KGEFWFO6.js → XLLCOPOL.js} +2 -2
- package/dist/arcgis-map-components/{AHIVLV3N.js → XYXKVL6L.js} +2 -2
- package/dist/arcgis-map-components/{74C4V7KH.js → YKPN7EV6.js} +2 -2
- package/dist/arcgis-map-components/{6ZWNHYVL.js → YOIY3V4Q.js} +2 -2
- package/dist/arcgis-map-components/{T73URWJF.js → YORHXSHC.js} +2 -2
- package/dist/arcgis-map-components/{674RWNZK.js → YXWDKDOD.js} +2 -2
- package/dist/arcgis-map-components/{SOKO6DPY.js → ZAYVEXCC.js} +2 -2
- package/dist/arcgis-map-components/{577SG2LO.js → ZNPPQB57.js} +2 -2
- package/dist/arcgis-map-components/{NAY7H67N.js → ZZVNYAFB.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.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-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +2 -2
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-histogram/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-layer-list/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-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-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-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-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +3 -3
- package/dist/components/arcgis-version-management-service-item/customElement.js +2 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +3 -3
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +2 -2
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/docs.json +2 -2
- package/dist/docs/manifest.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +14 -14
- package/dist/arcgis-map-components/LMZOA6VS.js +0 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as n}from"./
|
|
6
|
+
import{a as n}from"./E4A6DD7W.js";import{d as e}from"./TL2O77FA.js";import{S as h}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as a,B as r,D as o,I as l,q as s}from"./6V7GUT2B.js";var d=n(h),i=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.allowedFormats=this.widget.allowedFormats,this.allowedLayouts=this.widget.allowedLayouts,this.autoDestroyDisabled=!1,this.exportedLinks=this.widget.exportedLinks,this.extraParameters=this.widget.extraParameters,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.includeDefaultTemplatesDisabled=this.widget.includeDefaultTemplates,this.label=this.widget.label,this.portal=this.widget.portal,this.position="bottom-left",this.printServiceUrl=this.widget.printServiceUrl,this.showPrintAreaEnabled=this.widget.showPrintAreaEnabled,this.state=this.viewModel.state,this.templateCustomTextElements=this.widget.templateCustomTextElements,this.templateOptions=this.widget.templateOptions,this.arcgisComplete=e(()=>this.widget,"complete"),this.arcgisPropertyChange=s()("state"),this.arcgisReady=a(),this.arcgisSubmit=e(()=>this.widget,"submit")}static{this.properties={allowedFormats:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],allowedLayouts:[1,{converter:t=>typeof t=="string"&&t!=="all"?t.split(","):t}],autoDestroyDisabled:5,exportedLinks:0,extraParameters:0,headingLevel:9,icon:1,includeDefaultTemplatesDisabled:5,label:1,portal:0,position:1,printServiceUrl:1,referenceElement:1,showPrintAreaEnabled:7,state:3,templateCustomTextElements:0,templateOptions:0}}static{this.shadowRootOptions=r}async destroy(){await this.manager.destroy()}};l("arcgis-print",i);export{i as ArcgisPrint};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
var n=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function a(t){return t.default!==void 0}async function r(){if(n)return await window.$arcgis.import("esri/layers/GraphicsLayer");let t=await import("@arcgis/core/layers/GraphicsLayer.js");return a(t)?t.default:t}async function dt(t){let i=await r();return new i(t)}async function mt(){if(n)return await window.$arcgis.import("esri/layers/Layer");let t=await import("@arcgis/core/layers/Layer.js");return a(t)?t.default:t}async function e(){if(n)return await window.$arcgis.import("esri/layers/OrientedImageryLayer");let t=await import("@arcgis/core/layers/OrientedImageryLayer.js");return a(t)?t.default:t}async function pt(t){let i=await e();return new i(t)}async function s(){if(n)return await window.$arcgis.import("esri/layers/RouteLayer");let t=await import("@arcgis/core/layers/RouteLayer.js");return a(t)?t.default:t}async function yt(t){let i=await s();return new i(t)}async function o(){if(n)return await window.$arcgis.import("esri/views/MapView");let t=await import("@arcgis/core/views/MapView.js");return a(t)?t.default:t}async function gt(t){let i=await o();return new i(t)}async function c(){if(n)return await window.$arcgis.import("esri/views/SceneView");let t=await import("@arcgis/core/views/SceneView.js");return a(t)?t.default:t}async function lt(t){let i=await c();return new i(t)}async function w(){if(n)return await window.$arcgis.import("esri/WebMap");let t=await import("@arcgis/core/WebMap.js");return a(t)?t.default:t}async function $t(t){let i=await w();return new i(t)}async function u(){if(n)return await window.$arcgis.import("esri/WebScene");let t=await import("@arcgis/core/WebScene.js");return a(t)?t.default:t}async function Mt(t){let i=await u();return new i(t)}async function f(){if(n)return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");let t=await import("@arcgis/core/widgets/AreaMeasurement2D.js");return a(t)?t.default:t}async function Lt(t){let i=await f();return new i(t)}async function d(){if(n)return await window.$arcgis.import("esri/widgets/AreaMeasurement3D");let t=await import("@arcgis/core/widgets/AreaMeasurement3D.js");return a(t)?t.default:t}async function St(t){let i=await d();return new i(t)}async function m(){if(n)return await window.$arcgis.import("esri/widgets/Attachments");let t=await import("@arcgis/core/widgets/Attachments.js");return a(t)?t.default:t}async function Vt(t){let i=await m();return new i(t)}async function p(){if(n)return await window.$arcgis.import("esri/widgets/BasemapGallery");let t=await import("@arcgis/core/widgets/BasemapGallery.js");return a(t)?t.default:t}async function Tt(t){let i=await p();return new i(t)}async function y(){if(n)return await window.$arcgis.import("esri/widgets/BasemapLayerList");let t=await import("@arcgis/core/widgets/BasemapLayerList.js");return a(t)?t.default:t}async function Dt(t){let i=await y();return new i(t)}async function g(){if(n)return await window.$arcgis.import("esri/widgets/BasemapToggle/BasemapToggleViewModel");let t=await import("@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js");return a(t)?t.default:t}async function Ft(t){let i=await g();return new i(t)}async function l(){if(n)return await window.$arcgis.import("esri/widgets/Bookmarks");let t=await import("@arcgis/core/widgets/Bookmarks.js");return a(t)?t.default:t}async function kt(t){let i=await l();return new i(t)}async function $(){if(n)return await window.$arcgis.import("esri/widgets/BuildingExplorer");let t=await import("@arcgis/core/widgets/BuildingExplorer.js");return a(t)?t.default:t}async function Ct(t){let i=await $();return new i(t)}async function M(){if(n)return await window.$arcgis.import("esri/widgets/CatalogLayerList");let t=await import("@arcgis/core/widgets/CatalogLayerList.js");return a(t)?t.default:t}async function ht(t){let i=await M();return new i(t)}async function L(){if(n)return await window.$arcgis.import("esri/widgets/Compass/CompassViewModel");let t=await import("@arcgis/core/widgets/Compass/CompassViewModel.js");return a(t)?t.default:t}async function vt(t){let i=await L();return new i(t)}async function S(){if(n)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await import("@arcgis/core/widgets/CoordinateConversion.js");return a(t)?t.default:t}async function Bt(t){let i=await S();return new i(t)}async function V(){if(n)return await window.$arcgis.import("esri/widgets/Daylight");let t=await import("@arcgis/core/widgets/Daylight.js");return a(t)?t.default:t}async function bt(t){let i=await V();return new i(t)}async function T(){if(n)return await window.$arcgis.import("esri/widgets/DirectionalPad");let t=await import("@arcgis/core/widgets/DirectionalPad.js");return a(t)?t.default:t}async function Ut(t){let i=await T();return new i(t)}async function D(){if(n)return await window.$arcgis.import("esri/widgets/Directions");let t=await import("@arcgis/core/widgets/Directions.js");return a(t)?t.default:t}async function Et(t){let i=await D();return new i(t)}async function F(){if(n)return await window.$arcgis.import("esri/widgets/DirectLineMeasurement3D");let t=await import("@arcgis/core/widgets/DirectLineMeasurement3D.js");return a(t)?t.default:t}async function At(t){let i=await F();return new i(t)}async function k(){if(n)return await window.$arcgis.import("esri/widgets/DistanceMeasurement2D");let t=await import("@arcgis/core/widgets/DistanceMeasurement2D.js");return a(t)?t.default:t}async function Ht(t){let i=await k();return new i(t)}async function C(){if(n)return await window.$arcgis.import("esri/widgets/Editor");let t=await import("@arcgis/core/widgets/Editor.js");return a(t)?t.default:t}async function Nt(t){let i=await C();return new i(t)}async function h(){if(n)return await window.$arcgis.import("esri/widgets/ElevationProfile");let t=await import("@arcgis/core/widgets/ElevationProfile.js");return a(t)?t.default:t}async function Pt(t){let i=await h();return new i(t)}async function v(){if(n)return await window.$arcgis.import("esri/widgets/Expand");let t=await import("@arcgis/core/widgets/Expand.js");return a(t)?t.default:t}async function Wt(t){let i=await v();return new i(t)}async function B(){if(n)return await window.$arcgis.import("esri/widgets/Feature");let t=await import("@arcgis/core/widgets/Feature.js");return a(t)?t.default:t}async function xt(t){let i=await B();return new i(t)}async function b(){if(n)return await window.$arcgis.import("esri/widgets/FeatureForm");let t=await import("@arcgis/core/widgets/FeatureForm.js");return a(t)?t.default:t}async function Ot(t){let i=await b();return new i(t)}async function U(){if(n)return await window.$arcgis.import("esri/widgets/Features");let t=await import("@arcgis/core/widgets/Features.js");return a(t)?t.default:t}async function Rt(t){let i=await U();return new i(t)}async function E(){if(n)return await window.$arcgis.import("esri/widgets/FeatureTable");let t=await import("@arcgis/core/widgets/FeatureTable.js");return a(t)?t.default:t}async function Gt(t){let i=await E();return new i(t)}async function A(){if(n)return await window.$arcgis.import("esri/widgets/FeatureTemplates");let t=await import("@arcgis/core/widgets/FeatureTemplates.js");return a(t)?t.default:t}async function It(t){let i=await A();return new i(t)}async function H(){if(n)return await window.$arcgis.import("esri/widgets/FloorFilter");let t=await import("@arcgis/core/widgets/FloorFilter.js");return a(t)?t.default:t}async function Zt(t){let i=await H();return new i(t)}async function N(){if(n)return await window.$arcgis.import("esri/widgets/Fullscreen/FullscreenViewModel");let t=await import("@arcgis/core/widgets/Fullscreen/FullscreenViewModel.js");return a(t)?t.default:t}async function jt(t){let i=await N();return new i(t)}async function P(){if(n)return await window.$arcgis.import("esri/widgets/Histogram");let t=await import("@arcgis/core/widgets/Histogram.js");return a(t)?t.default:t}async function qt(t){let i=await P();return new i(t)}async function W(){if(n)return await window.$arcgis.import("esri/widgets/HistogramRangeSlider");let t=await import("@arcgis/core/widgets/HistogramRangeSlider.js");return a(t)?t.default:t}async function zt(t){let i=await W();return new i(t)}async function x(){if(n)return await window.$arcgis.import("esri/widgets/Home/HomeViewModel");let t=await import("@arcgis/core/widgets/Home/HomeViewModel.js");return a(t)?t.default:t}async function Jt(t){let i=await x();return new i(t)}async function O(){if(n)return await window.$arcgis.import("esri/widgets/LayerList");let t=await import("@arcgis/core/widgets/LayerList.js");return a(t)?t.default:t}async function Kt(t){let i=await O();return new i(t)}async function R(){if(n)return await window.$arcgis.import("esri/widgets/Legend");let t=await import("@arcgis/core/widgets/Legend.js");return a(t)?t.default:t}async function Qt(t){let i=await R();return new i(t)}async function G(){if(n)return await window.$arcgis.import("esri/widgets/LineOfSight");let t=await import("@arcgis/core/widgets/LineOfSight.js");return a(t)?t.default:t}async function Xt(t){let i=await G();return new i(t)}async function I(){if(n)return await window.$arcgis.import("esri/widgets/Locate/LocateViewModel");let t=await import("@arcgis/core/widgets/Locate/LocateViewModel.js");return a(t)?t.default:t}async function Yt(t){let i=await I();return new i(t)}async function Z(){if(n)return await window.$arcgis.import("esri/widgets/Measurement");let t=await import("@arcgis/core/widgets/Measurement.js");return a(t)?t.default:t}async function _t(t){let i=await Z();return new i(t)}async function j(){if(n)return await window.$arcgis.import("esri/widgets/NavigationToggle");let t=await import("@arcgis/core/widgets/NavigationToggle.js");return a(t)?t.default:t}async function ti(t){let i=await j();return new i(t)}async function q(){if(n)return await window.$arcgis.import("esri/widgets/OrientedImageryViewer");let t=await import("@arcgis/core/widgets/OrientedImageryViewer.js");return a(t)?t.default:t}async function ii(t){let i=await q();return new i(t)}async function z(){if(n)return await window.$arcgis.import("esri/widgets/Print");let t=await import("@arcgis/core/widgets/Print.js");return a(t)?t.default:t}async function ni(t){let i=await z();return new i(t)}async function J(){if(n)return await window.$arcgis.import("esri/widgets/ScaleBar/ScaleBarViewModel");let t=await import("@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js");return a(t)?t.default:t}async function ai(t){let i=await J();return new i(t)}async function K(){if(n)return await window.$arcgis.import("esri/widgets/ScaleRangeSlider");let t=await import("@arcgis/core/widgets/ScaleRangeSlider.js");return a(t)?t.default:t}async function ri(t){let i=await K();return new i(t)}async function Q(){if(n)return await window.$arcgis.import("esri/widgets/Search");let t=await import("@arcgis/core/widgets/Search.js");return a(t)?t.default:t}async function ei(t){let i=await Q();return new i(t)}async function X(){if(n)return await window.$arcgis.import("esri/widgets/ShadowCast");let t=await import("@arcgis/core/widgets/ShadowCast.js");return a(t)?t.default:t}async function si(t){let i=await X();return new i(t)}async function Y(){if(n)return await window.$arcgis.import("esri/widgets/Sketch");let t=await import("@arcgis/core/widgets/Sketch.js");return a(t)?t.default:t}async function oi(t){let i=await Y();return new i(t)}async function _(){if(n)return await window.$arcgis.import("esri/widgets/Slice");let t=await import("@arcgis/core/widgets/Slice.js");return a(t)?t.default:t}async function ci(t){let i=await _();return new i(t)}async function tt(){if(n)return await window.$arcgis.import("esri/widgets/Slider");let t=await import("@arcgis/core/widgets/Slider.js");return a(t)?t.default:t}async function wi(t){let i=await tt();return new i(t)}async function it(){if(n)return await window.$arcgis.import("esri/widgets/Swipe");let t=await import("@arcgis/core/widgets/Swipe.js");return a(t)?t.default:t}async function ui(t){let i=await it();return new i(t)}async function nt(){if(n)return await window.$arcgis.import("esri/widgets/TableList");let t=await import("@arcgis/core/widgets/TableList.js");return a(t)?t.default:t}async function fi(t){let i=await nt();return new i(t)}async function at(){if(n)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await import("@arcgis/core/widgets/TimeSlider.js");return a(t)?t.default:t}async function di(t){let i=await at();return new i(t)}async function rt(){if(n)return await window.$arcgis.import("esri/widgets/Track/TrackViewModel");let t=await import("@arcgis/core/widgets/Track/TrackViewModel.js");return a(t)?t.default:t}async function mi(t){let i=await rt();return new i(t)}async function et(){if(n)return await window.$arcgis.import("esri/widgets/UtilityNetworkAssociations");let t=await import("@arcgis/core/widgets/UtilityNetworkAssociations.js");return a(t)?t.default:t}async function pi(t){let i=await et();return new i(t)}async function st(){if(n)return await window.$arcgis.import("esri/widgets/UtilityNetworkTrace");let t=await import("@arcgis/core/widgets/UtilityNetworkTrace.js");return a(t)?t.default:t}async function yi(t){let i=await st();return new i(t)}async function ot(){if(n)return await window.$arcgis.import("esri/widgets/UtilityNetworkValidateTopology");let t=await import("@arcgis/core/widgets/UtilityNetworkValidateTopology.js");return a(t)?t.default:t}async function gi(t){let i=await ot();return new i(t)}async function ct(){if(n)return await window.$arcgis.import("esri/widgets/ValuePicker");let t=await import("@arcgis/core/widgets/ValuePicker.js");return a(t)?t.default:t}async function li(t){let i=await ct();return new i(t)}async function wt(){if(n)return await window.$arcgis.import("esri/widgets/VersionManagement/VersionManagementViewModel");let t=await import("@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js");return a(t)?t.default:t}async function $i(t){let i=await wt();return new i(t)}async function ut(){if(n)return await window.$arcgis.import("esri/widgets/Weather");let t=await import("@arcgis/core/widgets/Weather.js");return a(t)?t.default:t}async function Mi(t){let i=await ut();return new i(t)}async function ft(){if(n)return await window.$arcgis.import("esri/widgets/Zoom/ZoomViewModel");let t=await import("@arcgis/core/widgets/Zoom/ZoomViewModel.js");return a(t)?t.default:t}async function Li(t){let i=await ft();return new i(t)}async function Si(){if(n)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await import("@arcgis/core/core/reactiveUtils.js");return a(t)?t.default:t}async function Vi(){if(n)return await window.$arcgis.import("esri/intl");let t=await import("@arcgis/core/intl.js");return a(t)?t.default:t}async function Ti(){if(n)return await window.$arcgis.import("esri/applications/Components/getDefaultUnits");let t=await import("@arcgis/core/applications/Components/getDefaultUnits.js");return a(t)?t.default:t}async function Di(){if(n)return await window.$arcgis.import("esri/applications/Components/basemapUtils");let t=await import("@arcgis/core/applications/Components/basemapUtils.js");return a(t)?t.default:t}export{dt as a,mt as b,pt as c,yt as d,gt as e,lt as f,$t as g,Mt as h,Lt as i,St as j,Vt as k,Tt as l,Dt as m,Ft as n,kt as o,Ct as p,ht as q,vt as r,Bt as s,bt as t,Ut as u,Et as v,At as w,Ht as x,Nt as y,Pt as z,Wt as A,xt as B,Ot as C,Rt as D,Gt as E,It as F,Zt as G,jt as H,qt as I,zt as J,Jt as K,Kt as L,Qt as M,Xt as N,Yt as O,_t as P,ti as Q,ii as R,ni as S,ai as T,ri as U,ei as V,si as W,oi as X,ci as Y,wi as Z,ui as _,fi as $,di as aa,mi as ba,pi as ca,yi as da,gi as ea,li as fa,$i as ga,Mi as ha,Li as ia,Si as ja,Vi as ka,Ti as la,Di as ma};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as m}from"./
|
|
6
|
+
import{a as m}from"./E4A6DD7W.js";import{d as t}from"./TL2O77FA.js";import{C as h}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as s,B as a,D as r,I as o,q as i}from"./6V7GUT2B.js";var g=m(h),e=class extends r{constructor(){super(...arguments),this.widget=g(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=i()("state"),this.arcgisReady=s(),this.arcgisSubmit=t(()=>this.widget,"submit"),this.arcgisValueChange=t(()=>this.widget,"valueChange")}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}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){return this.widget?.submit()}};o("arcgis-feature-form",e);export{e as ArcgisFeatureForm};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as p}from"./
|
|
6
|
+
import{a as p}from"./4UXCF4OM.js";import{a as T,b as k}from"./P7RGEXXO.js";import"./TL2O77FA.js";import{ma as M,n as S}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as w,B as f,D as B,E as a,F as d,G as o,I as x,a as m,o as y,q as _,s as l}from"./6V7GUT2B.js";var s="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:s,secondaryBasemapImage:`${s}__image--secondary`,container:`${r} ${s}__container`,image:`${r}__image ${s}__image`,imageLoading:`${s}__image--loading`,overlay:`${r}__overlay ${s}__image-overlay`,title:`${r}__title ${s}__title`,overlayScrim:`${r}__overlay-scrim`},R=k(S),g=class extends B{constructor(){super(...arguments),this.basemapUtils=y(M),this.messages=T(),this.viewModel=R(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=_()("nextBasemap","state"),this.arcgisReady=w()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,nextBasemap:0,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=f}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(t){let n=this.basemapUtils.getBasemapThumbnailUrl(t);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let t=this.viewModel,n=t.state==="disabled"?null:t.activeBasemap,i=t.state==="disabled"?null:t.nextBasemap,I=t.state==="loading",h=t.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,C=b||u,D=this._getThumbnailStyles(n),L=this._getThumbnailStyles(i);return C&&(v=l`<div class=${a(e.overlay)}>${b?l`<span class=${a(e.title)} title=${c??o}>${c}</span>`:null}${u?l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference??o}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),l`<div class=${a(m(e.base,p.widget))}><calcite-button appearance=transparent data-basemap-id=${(i?i.id:"")??o} .disabled=${h} kind=neutral .label=${(this.label??void 0)||""} @click=${()=>void this.toggle()} title=${((this.label??void 0)||"")??o}><div class=${a(m(e.container,e.secondaryBasemapImage))}><div class=${a(e.image)} style=${d(D)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${d(L)}>${$||I?l`<calcite-scrim><span aria-hidden=true class=${a(p.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};x("arcgis-basemap-toggle",g);export{g as ArcgisBasemapToggle};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as l}from"./
|
|
6
|
+
import{a as l}from"./E4A6DD7W.js";import{d}from"./TL2O77FA.js";import{aa as n}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as s,B as o,D as a,I as h,q as e}from"./6V7GUT2B.js";var r=l(n),i=class extends a{constructor(){super(...arguments),this.widget=r(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=e()("effectiveStops","fullTimeExtent","timeExtent","state"),this.arcgisReady=s(),this.arcgisTriggerAction=d(()=>this.widget,"triggerAction")}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}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)}};h("arcgis-time-slider",i);export{i as ArcgisTimeSlider};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as h}from"./
|
|
6
|
+
import{a as h}from"./E4A6DD7W.js";import"./TL2O77FA.js";import{ha as r}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as i,B as s,D as a,I as o,q as e}from"./6V7GUT2B.js";var d=h(r),t=class extends a{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideHeader=this.widget.visibleElements.header,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=e()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}};o("arcgis-weather",t);export{t as ArcgisWeather};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as j,b as se}from"./
|
|
6
|
+
import{a as j,b as se}from"./C7QHC5XF.js";import{a as M}from"./4UXCF4OM.js";import{a as ie,b as ue}from"./P7RGEXXO.js";import{d as oe}from"./TL2O77FA.js";import{K as ae}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as X,B as ee,D as te,E as L,G as re,I as ne,a as K,q as J,s as $,t as Z,u as Q}from"./6V7GUT2B.js";var ve=Symbol.for(""),he=p=>{if(p?.r===ve)return p?._$litStatic$};var ce=new Map,N=p=>(u,...v)=>{let d=v.length,g,_,h=[],O=[],w,m=0,C=!1;for(;m<d;){for(w=u[m];m<d&&(_=v[m],(g=he(_))!==void 0);)w+=g+u[++m],C=!0;m!==d&&O.push(_),h.push(w),m++}if(m===d&&h.push(u[d]),C){let S=h.join("$$lit$$");(u=ce.get(S))===void 0&&(h.raw=h,ce.set(S,u=h)),v=O}return p(u,...v)},Oe=N($),Ce=N(Z),Ee=N(Q);var r={};var le;function ge(){if(le)return r;le=1;var p=Symbol.for("react.element"),u=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),h=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),S=Symbol.iterator;function fe(e){return e===null||typeof e!="object"?null:(e=S&&e[S]||e["@@iterator"],typeof e=="function"?e:null)}var F={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},V=Object.assign,U={};function b(e,t,n){this.props=e,this.context=t,this.refs=U,this.updater=n||F}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function B(){}B.prototype=b.prototype;function P(e,t,n){this.props=e,this.context=t,this.refs=U,this.updater=n||F}var T=P.prototype=new B;T.constructor=P,V(T,b.prototype),T.isPureReactComponent=!0;var z=Array.isArray,q=Object.prototype.hasOwnProperty,x={current:null},Y={key:!0,ref:!0,__self:!0,__source:!0};function H(e,t,n){var o,a={},s=null,l=null;if(t!=null)for(o in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(s=""+t.key),t)q.call(t,o)&&!Y.hasOwnProperty(o)&&(a[o]=t[o]);var c=arguments.length-2;if(c===1)a.children=n;else if(1<c){for(var i=Array(c),y=0;y<c;y++)i[y]=arguments[y+2];a.children=i}if(e&&e.defaultProps)for(o in c=e.defaultProps,c)a[o]===void 0&&(a[o]=c[o]);return{$$typeof:p,type:e,key:s,ref:l,props:a,_owner:x.current}}function pe(e,t){return{$$typeof:p,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function D(e){return typeof e=="object"&&e!==null&&e.$$typeof===p}function de(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var W=/\/+/g;function I(e,t){return typeof e=="object"&&e!==null&&e.key!=null?de(""+e.key):t.toString(36)}function E(e,t,n,o,a){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case p:case u:l=!0}}if(l)return l=e,a=a(l),e=o===""?"."+I(l,0):o,z(a)?(n="",e!=null&&(n=e.replace(W,"$&/")+"/"),E(a,t,n,"",function(y){return y})):a!=null&&(D(a)&&(a=pe(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(W,"$&/")+"/")+e)),t.push(a)),1;if(l=0,o=o===""?".":o+":",z(e))for(var c=0;c<e.length;c++){s=e[c];var i=o+I(s,c);l+=E(s,t,n,i,a)}else if(i=fe(e),typeof i=="function")for(e=i.call(e),c=0;!(s=e.next()).done;)s=s.value,i=o+I(s,c++),l+=E(s,t,n,i,a);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function k(e,t,n){if(e==null)return e;var o=[],a=0;return E(e,o,"","",function(s){return t.call(n,s,a++)}),o}function ye(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var f={current:null},R={transition:null},me={ReactCurrentDispatcher:f,ReactCurrentBatchConfig:R,ReactCurrentOwner:x};function G(){throw Error("act(...) is not supported in production builds of React.")}return r.Children={map:k,forEach:function(e,t,n){k(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return k(e,function(){t++}),t},toArray:function(e){return k(e,function(t){return t})||[]},only:function(e){if(!D(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=b,r.Fragment=v,r.Profiler=g,r.PureComponent=P,r.StrictMode=d,r.Suspense=w,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=me,r.act=G,r.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=V({},e.props),a=e.key,s=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,l=x.current),t.key!==void 0&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(i in t)q.call(t,i)&&!Y.hasOwnProperty(i)&&(o[i]=t[i]===void 0&&c!==void 0?c[i]:t[i])}var i=arguments.length-2;if(i===1)o.children=n;else if(1<i){c=Array(i);for(var y=0;y<i;y++)c[y]=arguments[y+2];o.children=c}return{$$typeof:p,type:e.type,key:a,ref:s,props:o,_owner:l}},r.createContext=function(e){return e={$$typeof:h,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:_,_context:e},e.Consumer=e},r.createElement=H,r.createFactory=function(e){var t=H.bind(null,e);return t.type=e,t},r.createRef=function(){return{current:null}},r.forwardRef=function(e){return{$$typeof:O,render:e}},r.isValidElement=D,r.lazy=function(e){return{$$typeof:C,_payload:{_status:-1,_result:e},_init:ye}},r.memo=function(e,t){return{$$typeof:m,type:e,compare:t===void 0?null:t}},r.startTransition=function(e){var t=R.transition;R.transition={};try{e()}finally{R.transition=t}},r.unstable_act=G,r.useCallback=function(e,t){return f.current.useCallback(e,t)},r.useContext=function(e){return f.current.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e){return f.current.useDeferredValue(e)},r.useEffect=function(e,t){return f.current.useEffect(e,t)},r.useId=function(){return f.current.useId()},r.useImperativeHandle=function(e,t,n){return f.current.useImperativeHandle(e,t,n)},r.useInsertionEffect=function(e,t){return f.current.useInsertionEffect(e,t)},r.useLayoutEffect=function(e,t){return f.current.useLayoutEffect(e,t)},r.useMemo=function(e,t){return f.current.useMemo(e,t)},r.useReducer=function(e,t,n){return f.current.useReducer(e,t,n)},r.useRef=function(e){return f.current.useRef(e)},r.useState=function(e){return f.current.useState(e)},r.useSyncExternalStore=function(e,t,n){return f.current.useSyncExternalStore(e,t,n)},r.useTransition=function(){return f.current.useTransition()},r.version="18.3.1",r}var be={exports:{}};be.exports;ge();j();j();var _e={base:"esri-home"},we=ue(ae),A=class extends te{constructor(){super(...arguments),this.messages=ie(),this.viewModel=we(this),this._calciteButton=j(),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.position="top-left",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=oe(()=>this.viewModel,"go"),this.arcgisPropertyChange=J()("state"),this.arcgisReady=X()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=ee}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){return this.viewModel.go()}updated(){if(this._calciteButton.value)if(this.viewModel?.state==="going-home"){if(!this._calciteButton.value.children[0]){let u=document.createElement("calcite-loader");u.inline=!0,u.label="",this._calciteButton.value.append(u)}}else this._calciteButton.value.children[0]?.remove()}_go(){let{viewModel:u}=this;u.state==="going-home"?u.cancelGo():u.go()}render(){let{messages:u,icon:v}=this,d=this.viewModel?.state,g=d==="going-home";return $`<div class=${L(K(_e.base,M.widget))}><calcite-button class=${L(M.widgetButton)} .disabled=${d==="disabled"} .iconStart=${g?void 0:v??void 0} kind=neutral .label=${u.componentLabel} @click=${this._go} .scale=${g?"s":"m"} title=${(d==="going-home"?u.cancel:u.title)??re} ${se(this._calciteButton)}></calcite-button></div>`}};ne("arcgis-home",A);export{A as ArcgisHome};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as w}from"./
|
|
6
|
+
import{a as w}from"./CJE6T4C4.js";import{b as c}from"./C7QHC5XF.js";import{ea as h}from"./2QCUAEYR.js";import{b as l,c as d,i as n}from"./UF3GQO25.js";import{A as a,B as s,D as o,I as r,s as e}from"./6V7GUT2B.js";var i=class extends o{constructor(){super(...arguments),this._watchHandles=[],this.extentToValidate="current",this.position="bottom-left",this.arcgisReady=a()}static{this.properties={extentToValidate:1,position:1,referenceElement:1,utilityNetwork:0,view:0,widget:0}}static{this.shadowRootOptions=s}willUpdate(t){t.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),t.has("extentToValidate")&&this.extentToValidateWatcher(this.extentToValidate),t.has("utilityNetwork")&&this.utilityNetworkWatcher(this.utilityNetwork),t.has("position")&&this.positionWatcher(this.position),t.has("view")&&this.viewWatcher(this.view)}async loaded(){let t=this._createParams(),m=await h(t);this.widget=m,this._addContainer(),d(this),l(this)}disconnectedCallback(){super.disconnectedCallback(),w(this)}referenceElementWatcher(t){n(this,t)}extentToValidateWatcher(t){this.widget&&(this.widget.extentToValidate=t)}utilityNetworkWatcher(t){this.widget&&t&&(this.widget.utilityNetwork=t)}positionWatcher(t){t!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,t)}viewWatcher(t){t!==void 0&&this.widget&&(this.widget.view=t,this._loadUtilityNetwork())}_addContainer(){this.widget.container=this.el.childElem}_createParams(){let t={};return this.extentToValidate!==void 0&&(t.extentToValidate=this.extentToValidate),this.utilityNetwork!==void 0&&(t.utilityNetwork=this.utilityNetwork),t}async _loadUtilityNetwork(){if(this.view?.map&&this.view.map.portalItem){await this.view.map.load();let t=this.view.map.utilityNetworks.getItemAt(0);await t.load(),this.utilityNetwork=t}}render(){return e`<div ${c(t=>this.el.childElem=t)}></div>`}};r("arcgis-utility-network-validate-topology",i);export{i as ArcgisUtilityNetworkValidateTopology};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as n}from"./
|
|
6
|
+
import{a as n}from"./E4A6DD7W.js";import"./TL2O77FA.js";import{I as r}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as e,B as s,D as a,I as o,q as i}from"./6V7GUT2B.js";var h=n(r),t=class extends a{constructor(){super(...arguments),this.widget=h(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.icon=this.widget.icon,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.layout=this.widget.layout,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.state=this.widget.state,this.arcgisPropertyChange=i()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,icon:1,label:1,labelFormatFunction:0,layout:1,max:9,min:9,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}};o("arcgis-histogram",t);export{t as ArcgisHistogram};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as b}from"./
|
|
6
|
+
import{a as b}from"./CJE6T4C4.js";import{b as w}from"./C7QHC5XF.js";import{da as o,ja as d}from"./2QCUAEYR.js";import{a as c,b as n,c as g,i as p}from"./UF3GQO25.js";import{A as t,B as r,D as h,I as l,s as a}from"./6V7GUT2B.js";var i=class extends h{constructor(){super(...arguments),this._watchHandles=[],this.defaultGraphicColor={color:[255,255,0,.6],haloOpacity:.9,fillOpacity:.2,hex:"#FFFF00"},this.disabled=!1,this.enableResultArea=!1,this.flags=[],this.gdbVersion="sde.DEFAULT",this.inputSettings=[],this.position="bottom-left",this.selectOnCompleteDisabled=!1,this.selectedTraces=[],this.showGraphicsOnCompleteDisabled=!1,this.showSelectionAttributesDisabled=!1,this.arcgisAddFlag=t(),this.arcgisAddFlagComplete=t(),this.arcgisAddFlagError=t(),this.arcgisAddResultArea=t(),this.arcgisReady=t(),this.arcgisRemoveResultArea=t()}static{this.properties={defaultGraphicColor:0,disabled:7,enableResultArea:5,flags:0,gdbVersion:1,inputSettings:0,position:1,referenceElement:1,resultAreaProperties:0,selectOnCompleteDisabled:5,selectedTraces:0,showGraphicsOnCompleteDisabled:5,showSelectionAttributesDisabled:5,view:0,widget:0}}static{this.shadowRootOptions=r}async checkCanTrace(){await this.widget?.checkCanTrace()}async confirmReset(){this.widget?.confirmReset()}willUpdate(e){e.has("referenceElement")&&this.referenceElementWatcher(this.referenceElement),e.has("enableResultArea")&&this.enableResultAreaWatcher(this.enableResultArea),e.has("defaultGraphicColor")&&this.defaultGraphicColorWatcher(this.defaultGraphicColor),e.has("disabled")&&this.disabledWatcher(this.disabled,e.get("disabled")),e.has("flags")&&this.flagsWatcher(this.flags),e.has("gdbVersion")&&this.gdbVersionWatcher(this.gdbVersion),e.has("inputSettings")&&this.inputSettingsWatcher(this.inputSettings),e.has("resultAreaProperties")&&this.resultAreaProperties&&this.resultAreaPropertiesWatcher(this.resultAreaProperties),e.has("selectedTraces")&&this.selectedTracesWatcher(this.selectedTraces),e.has("selectOnCompleteDisabled")&&this.selectOnCompleteDisabledWatcher(this.selectOnCompleteDisabled),e.has("showGraphicsOnCompleteDisabled")&&this.showGraphicsOnCompleteDisabledWatcher(this.showGraphicsOnCompleteDisabled),e.has("showSelectionAttributesDisabled")&&this.showSelectionAttributesDisabledWatcher(this.showSelectionAttributesDisabled),e.has("position")&&this.positionWatcher(this.position),e.has("view")&&this.viewWatcher(this.view)}async loaded(){let e=this._createParams(),s=await o(e);this.widget=s,await this._addWatchers(),this._proxyEvents(),this._addContainer(),g(this),n(this)}disconnectedCallback(){super.disconnectedCallback(),b(this)}referenceElementWatcher(e){p(this,e)}enableResultAreaWatcher(e){this.widget&&(this.widget.enableResultArea=e)}defaultGraphicColorWatcher(e){this.widget&&(this.widget.defaultGraphicColor=e)}disabledWatcher(e,s){this.widget&&e!==s&&(this.widget.disabled=e)}flagsWatcher(e){this.widget&&(this.widget.flags=e)}gdbVersionWatcher(e){this.widget&&(this.widget.gdbVersion=e)}inputSettingsWatcher(e){this.widget&&(this.widget.inputSettings=e)}resultAreaPropertiesWatcher(e){this.widget&&(this.widget.resultAreaProperties=e)}selectedTracesWatcher(e){this.widget&&(this.widget.selectedTraces=e)}selectOnCompleteDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.selectOnComplete=!e)}showGraphicsOnCompleteDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.showGraphicsOnComplete=!e)}showSelectionAttributesDisabledWatcher(e){e!==void 0&&this.widget&&(this.widget.showSelectionAttributes=!e)}positionWatcher(e){e!==void 0&&this.widget&&this.el.childElem&&this.view.ui.move(this.el.childElem,e)}viewWatcher(e){e!==void 0&&this.widget&&(this.widget.view=e)}_addContainer(){this.widget.container=this.el.childElem}async _addWatchers(){let{watch:e}=await d();c(this,e(()=>this.widget.disabled,s=>this.disabled=s))}_createParams(){let e={};return this.defaultGraphicColor&&(e.defaultGraphicColor=this.defaultGraphicColor),this.enableResultArea!==void 0&&(e.enableResultArea=this.enableResultArea),this.flags&&(e.flags=this.flags),this.gdbVersion&&(e.gdbVersion=this.gdbVersion),this.inputSettings&&(e.inputSettings=this.inputSettings),this.resultAreaProperties&&(e.resultAreaProperties=this.resultAreaProperties),this.selectedTraces&&(e.selectedTraces=this.selectedTraces),this.selectOnCompleteDisabled!==void 0&&(e.selectOnComplete=!this.selectOnCompleteDisabled),this.showGraphicsOnCompleteDisabled!==void 0&&(e.showGraphicsOnComplete=!this.showGraphicsOnCompleteDisabled),this.showSelectionAttributesDisabled!==void 0&&(e.showSelectionAttributes=!this.showSelectionAttributesDisabled),this.view&&(e.view=this.view),e}_proxyEvents(){this.widget.on("add-flag",e=>this.arcgisAddFlag.emit(e)),this.widget.on("add-flag-complete",e=>this.arcgisAddFlagComplete.emit(e)),this.widget.on("add-flag-error",e=>this.arcgisAddFlagError.emit(e)),this.widget.on("add-result-area",e=>this.arcgisAddResultArea.emit(e)),this.widget.on("remove-result-area",e=>this.arcgisRemoveResultArea.emit(e))}render(){return a`<div ${w(e=>this.el.childElem=e)}></div>`}};l("arcgis-utility-network-trace",i);export{i as ArcgisUtilityNetworkTrace};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as o}from"./
|
|
6
|
+
import{a as o}from"./E4A6DD7W.js";import"./TL2O77FA.js";import{p as l}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as s,B as t,D as h,I as a,q as i}from"./6V7GUT2B.js";var r=o(l),e=class extends h{constructor(){super(...arguments),this.widget=r(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideDisciplines=this.widget.visibleElements.disciplines,this.hideLevels=this.widget.visibleElements.levels,this.hidePhases=this.widget.visibleElements.phases,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.level=this.viewModel.level,this.phase=this.viewModel.phase,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=i()("level","phase","state"),this.arcgisReady=s()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideDisciplines:5,hideLevels:5,hidePhases:5,icon:1,label:1,layers:0,level:0,phase:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=t}async destroy(){await this.manager.destroy()}};a("arcgis-building-explorer",e);export{e as ArcgisBuildingExplorer};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as g}from"./
|
|
6
|
+
import{a as g}from"./E4A6DD7W.js";import{d as t}from"./TL2O77FA.js";import{X as r,a as h}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as l,B as a,D as n,I as d,q as o}from"./6V7GUT2B.js";var p=g(r),s=class extends n{constructor(){super(),this.widget=p(this,{editConstructorProperties:this._editConstructorProperties}),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.autoDestroyDisabled=!1,this.availableCreateTools=this.widget.availableCreateTools,this.createGraphic=this.widget.createGraphic,this.creationMode=this.widget.creationMode,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultGraphicsLayerDisabled=!1,this.defaultUpdateOptions=this.widget.defaultUpdateOptions,this.hideCreateToolsCircle=this.widget.visibleElements.createTools.circle,this.hideCreateToolsPoint=this.widget.visibleElements.createTools.point,this.hideCreateToolsPolygon=this.widget.visibleElements.createTools.polygon,this.hideCreateToolsPolyline=this.widget.visibleElements.createTools.polyline,this.hideCreateToolsRectangle=this.widget.visibleElements.createTools.rectangle,this.hideDuplicateButton=this.widget.visibleElements.duplicateButton,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSelectionToolsLassoSelection=this.widget.visibleElements.selectionTools["lasso-selection"],this.hideSelectionToolsRectangleSelection=this.widget.visibleElements.selectionTools["rectangle-selection"],this.hideSettingsMenu=this.widget.visibleElements.settingsMenu,this.hideSnappingControls=this.widget.visibleElements.snappingControls,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.hideUndoRedoMenu=this.widget.visibleElements.undoRedoMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layer=this.widget.layer,this.layout=this.widget.layout,this.pointSymbol=this.viewModel.pointSymbol,this.polygonSymbol=this.viewModel.polygonSymbol,this.polylineSymbol=this.viewModel.polylineSymbol,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.widget.state,this.tooltipOptions=this.widget.tooltipOptions,this.updateGraphics=this.widget.updateGraphics,this.arcgisCreate=t(()=>this.widget,"create"),this.arcgisDelete=t(()=>this.widget,"delete"),this.arcgisPropertyChange=o()("state"),this.arcgisReady=l(),this.arcgisRedo=t(()=>this.widget,"redo"),this.arcgisUndo=t(()=>this.widget,"undo"),this.arcgisUpdate=t(()=>this.widget,"update"),this.listen("arcgisReady",this._arcgisReadyHandler)}static{this.properties={activeTool:3,autoDestroyDisabled:5,availableCreateTools:0,createGraphic:0,creationMode:1,defaultCreateOptions:0,defaultGraphicsLayerDisabled:5,defaultUpdateOptions:0,hideCreateToolsCircle:5,hideCreateToolsPoint:5,hideCreateToolsPolygon:5,hideCreateToolsPolyline:5,hideCreateToolsRectangle:5,hideDuplicateButton:5,hideLabelsToggle:5,hideSelectionToolsLassoSelection:5,hideSelectionToolsRectangleSelection:5,hideSettingsMenu:5,hideSnappingControls:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,hideUndoRedoMenu:5,icon:1,label:1,labelOptions:0,layer:0,layout:1,pointSymbol:0,polygonSymbol:0,polylineSymbol:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,tooltipOptions:0,updateGraphics:0}}static{this.shadowRootOptions=a}async cancel(){this.widget?.cancel()}async complete(){this.widget?.complete()}async create(e,i){await this.widget?.create(e,i)}async delete(){this.widget?.delete()}async destroy(){await this.manager.destroy()}async duplicate(){this.widget?.duplicate()}async redo(){this.widget?.redo()}async triggerUpdate(e,i){return void this.widget?.update(e,i)}async undo(){this.widget?.undo()}_arcgisReadyHandler(){this.defaultGraphicsLayerDisabled||this.el.view?.map.add(this.widget.layer)}async _editConstructorProperties(e){return this.defaultGraphicsLayerDisabled||(e.layer??=await h({title:"Sketch Layer"})),e}};d("arcgis-sketch",s);export{s as ArcgisSketch};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
6
|
var e={anchor:"esri-widget__anchor",anchorDisabled:"esri-widget__anchor--disabled",button:"esri-button",buttonDisabled:"esri-button--disabled",buttonHalf:"esri-button--half",buttonSecondary:"esri-button--secondary",buttonSmall:"esri-button--small",buttonTertiary:"esri-button--tertiary",buttonThird:"esri-button--third",disabled:"esri-disabled",disabledElement:"esri-disabled-element",empty:"esri-widget__content--empty",emptyIllustration:"esri-widget__content-illustration--empty",heading:"esri-widget__heading",hidden:"esri-hidden",input:"esri-input",interactive:"esri-interactive",loader:"esri-widget__loader",loaderAnimation:"esri-widget__loader-animation",loaderText:"esri-widget__loader-text",menu:"esri-menu",menuHeader:"esri-menu__header",menuItem:"esri-menu__list-item",menuItemActive:"esri-menu__list-item--active",menuItemFocus:"esri-menu__list-item--focus",menuList:"esri-menu__list",noBookmarksIcon:"esri-widget__no-bookmark-icon",panel:"esri-widget--panel",panelHeightOnly:"esri-widget--panel-height-only",primaryTick:"primary-tick",primaryTickAmPm:"primary-tick__ampm",primaryTickLabel:"primary-tick__label",rotating:"esri-rotating",secondaryTick:"secondary-tick",select:"esri-select",table:"esri-widget__table",ui:"esri-component",widget:"esri-widget",widgetButton:"esri-widget--button",widgetButtonActive:"esri-widget--button-active",widgetDisabled:"esri-widget--disabled"};export{e as a};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as l}from"./
|
|
6
|
+
import{a as l}from"./E4A6DD7W.js";import"./TL2O77FA.js";import{G as a}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as e,B as i,D as s,I as o}from"./6V7GUT2B.js";var h=l(a),t=class extends s{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.facility=this.widget.facility,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.level=this.widget.level,this.longNames=this.widget.longNames,this.position="bottom-left",this.site=this.widget.site,this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,facility:3,headingLevel:9,icon:1,label:1,level:3,longNames:5,position:1,referenceElement:1,site:3}}static{this.shadowRootOptions=i}async destroy(){await this.manager.destroy()}async updateWebDocument(r){this.widget?.updateWebDocument(r)}};o("arcgis-floor-filter",t);export{t as ArcgisFloorFilter};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as l}from"./
|
|
6
|
+
import{a as l}from"./E4A6DD7W.js";import"./TL2O77FA.js";import{u as r}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as i,B as e,D as a,I as o,q as s}from"./6V7GUT2B.js";var d=l(r),t=class extends a{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.visualScale=this.widget.visualScale,this.arcgisPropertyChange=s()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,disabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,visualScale:1}}static{this.shadowRootOptions=e}async destroy(){await this.manager.destroy()}};o("arcgis-directional-pad",t);export{t as ArcgisDirectionalPad};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as l}from"./
|
|
6
|
+
import{a as l}from"./E4A6DD7W.js";import"./TL2O77FA.js";import{t as h}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as i,B as t,D as s,I as a}from"./6V7GUT2B.js";var o=l(h),e=class extends s{constructor(){super(...arguments),this.widget=o(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=i()}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=t}async destroy(){await this.manager.destroy()}};a("arcgis-daylight",e);export{e as ArcgisDaylight};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as n}from"./
|
|
6
|
+
import{a as n}from"./E4A6DD7W.js";import{d as a}from"./TL2O77FA.js";import{$ as r}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as i,B as s,D as l,I as o,q as t}from"./6V7GUT2B.js";var m=n(r),e=class extends l{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,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.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.arcgisPropertyChange=t()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=a(()=>this.widget,"triggerAction")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,visibleElementsCloseButton:5,visibleElementsCollapseButton:5,visibleElementsErrors:5,visibleElementsFilter:5,visibleElementsFlow:5,visibleElementsHeading:5,visibleElementsStatusIndicators:5,visibleElementsTemporaryTableIndicators:5}}static{this.shadowRootOptions=s}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",e);export{e as ArcgisTableList};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
|
+
*/
|
|
6
|
+
function Jo(...e){let t=[];for(let o=0;o<e.length;o++){let s=e[o];if(typeof s=="string")t.push(s);else if(Array.isArray(s))t.push.apply(t,s);else if(typeof s=="object")for(let n in s)s[n]&&t.push(n)}let r=t.join(" ");return t.length=0,r}var b=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function He(e,t){let r=e;for(;r;){if(r===t)return!0;if(!r.parentNode)return!1;r.parentNode instanceof ShadowRoot?r=r.parentNode.host:r=r.parentNode}return!1}function We(e,t,r){let{subscribe:o}=Be(t);return o(s=>{s.some(i=>He(e,i.target))&&r()})}var _t={};function Be(e){let t=e.join(","),r=_t[t];if(r!==void 0)return r;let o=new Set,s=new MutationObserver(i=>o.forEach(c=>c(i)));globalThis.document&&s.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let n={subscribe(i){return o.add(i),{remove:()=>{o.delete(i),o.size===0&&(s.disconnect(),_t[t]=void 0)}}}};return _t[t]=n,n}function Fe(e,t){let r=e;for(;r;){let o=r.closest?.(t);if(o)return o;let s=r.getRootNode?.();if(s===globalThis.document)return null;r=s.host}return null}function Ge(e,t,r){return Fe(e,`[${t}]`)?.getAttribute(t)??r}function p(e,t,...r){try{return e?.call(t,...r)}catch(o){console.error(o,e)}}async function I(e,t,...r){try{let o=e?.call(t,...r);return o instanceof Promise?await o:o}catch(o){console.error(o,e)}}var Ke=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],qe=new Set(Ke),tt="en",Je={pt:"pt-PT",no:"nb",zh:"zh-CN"};async function Ye(e,t,r=""){let o=`${t}/${r}`,s=`${o}${e}.json`;return Et[s]??(Et[s]=Wt(e,o)),await Et[s]}var Et={};async function Wt(e,t){let r=`${t}${e}.json`;try{let o=await fetch(r);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return e===tt?{}:await Wt(tt,t)}function Ct(e){let t=Ge(e,"lang",globalThis.navigator?.language||tt);return{lang:t,t9nLocale:Bt(t)}}function Bt(e){let[t,r]=e.split("-"),o=t.toLowerCase(),s=o;return r&&(s=`${o}-${r.toUpperCase()}`),s=Je[s]??s,qe.has(s)?s:r?Bt(o):tt}function Ft(e,t,r,o){let s,n=()=>void Qe(e,t,o).then(i=>{(s?.lang!==i.lang||s.t9nLocale!==i.t9nLocale||s.t9nStrings!==i.t9nStrings)&&r(i),s=i}).catch(console.error);return n(),We(e,["lang"],n)}async function Qe(e,t,r=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:o,t9nLocale:s}=Ct(e),n=`${t}/${r}/t9n`,i=`${r}.t9n.`,c=r===null?{}:await Ye(s,n,i);return{lang:o,t9nLocale:s,t9nStrings:c}}var et=e=>e.replace(Ze,(t,r)=>`${r===0?"":"-"}${t.toLowerCase()}`),Ze=/[A-Z]+(?![a-z])|[A-Z]/gu;function Gt(e,t){let r=t>Xe?to:t/eo,o=0,s=setInterval(()=>{o+=r,o>=t&&(clearInterval(s),e())},r);return s}var Xe=4e3,to=2e3,eo=4;function Kt(e){return e!==void 0}function qt(e,t){if(t){let r=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(r,([o,s])=>s.noAccessor?void 0:[o,[(s.readOnly?2048:0)|(s.state?32:16)]]).filter(Kt))}else{let r=e.constructor,o=r.__registerControllers?.(e)??void 0;if(r.__registerControllers=void 0,typeof o!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(o).filter(([s,[n]])=>(n&63)!==0))}}function Jt(e,t=8){return e==null||typeof e=="object"||typeof e=="function"?e:t&4?e==="false"?!1:e===""||!!e:t&2?Number.parseFloat(e):t&1?String(e):e}var $t=(e,t)=>e.manager.internals.members?.[t]?.[0];var st=Symbol.for("controller");var Xt=e=>typeof e=="object"&&e!==null&&(st in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var B;function x(e){B!==e&&(B=e,queueMicrotask(()=>{B===e&&(B=void 0)}))}function F(e){return B}var P=[];function nt(e){if(e===void 0){P=[];return}let t=P.indexOf(e);P=t===-1?[...P,e]:P.slice(0,t+1),queueMicrotask(()=>{P=[]})}function te(){return P}var z;function oo(e){z!==e&&(z=e,queueMicrotask(()=>{z===e&&(z=void 0)}))}function ro(){let e=z;return z=void 0,e}var so=async(e,t)=>{let r=Ot(e);if(r===void 0)return e;if(await r.ready,typeof t=="function"){let o=r.watchExports(s=>t(s,o))}return r.exports},no=async e=>{let t=Ot(e);return await t.ready,t},Ot=e=>{let t=ro();if(t!==void 0)return t;let o=F().manager.internals.resolveExports(e);if(o!==void 0)return o;if(Xt(e))return e},$={setter:!1,getter:!1,readOnly:!1},rt=new WeakMap,ee;ee=st;var St=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new b,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ee]=!0,this.ready=this._ready.promise,this._exports=Qt(this),this._exportWatchers=new Set;let t=e??F(new.target.name);this.component=t,this.component.addController(this),nt(this),this.component.manager===void 0||queueMicrotask(()=>this.catchUpLifecycle())}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e,t=!0){this._exports=t?Qt(e):e,this._exportWatchers.forEach(p)}watchExports(e){let t=()=>e(this._exports);return this._exportWatchers.add(t),()=>void this._exportWatchers.delete(t)}get use(){return x(this.component),so}get useRef(){return x(this.component),no}get useRefSync(){return x(this.component),Ot}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await I(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(I)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(Yt,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Yt,e)}triggerDestroy(){let e=this;e.hostDestroy&&p(e.hostDestroy,e),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let e=this;e.hostLifecycle&&this._callLifecycle(()=>e.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(e){x(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(o=>{typeof o=="function"?this._lifecycleCleanups.push(o):typeof o=="object"&&typeof o.remove=="function"&&this._lifecycleCleanups.push(o.remove)})}};function Yt(e){p(e,void 0,this)}var oe=St;function Qt(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(r,o,s){if(!(io.has(o)&&o in r&&r[o]===t)&&(o in r||o in Promise.prototype||typeof o=="symbol"))return typeof r=="function"?r[o]:Reflect.get(r,o,s)},set:(r,o,s,n)=>Reflect.set(r,o,s,n)});return t}var io=new Set(["exports","_exports"]);function it(e,t,r){let o=Object.keys(e),s=o.length;T===void 0&&queueMicrotask(G),T??(T=new Map);let n=T.get(e);return n===void 0&&(n={callbacks:[],keyCount:s},T.set(e,n)),n.keyCount!==s&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=s),n.callbacks.push(i=>{let c=l=>p(t,null,l),a=i[s];a===void 0?c(void 0):e[a]===r?c(a):c(void 0)}),r}var T=void 0;function G(){Array.from(T?.entries()??[]).forEach(([e,{callbacks:t}])=>{let r=Object.keys(e);t.forEach(o=>o(r))}),T=void 0}function K(e,t,r){var o;let s=t,n=e.manager.internals;(o=n.allWatchers)[s]??(o[s]=[]);let i=n.allWatchers[s],c=r,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var ao=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([r,[o]])=>{var s;o&2048&&((s=t.setters)[r]??(s[r]=[]),t.setters[r].push(t.readonlySetter))})},this.trackedValue=Lt,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this.reactiveUtilsIntegrations=new Set,this._exports=new WeakMap,this.readonlySetter=(t,r,o)=>{if($.readOnly)return t;throw new Error(`Cannot assign to read-only property "${o}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let r=this.keyTrackers;this.trackedValue=Lt,this.keyTrackers=[],r.forEach(o=>o(e,t))}getSetProxy(e){let t=this.component,r=t.constructor.prototype;if(this._getSetProxy(r,e,"class"),t.manager.isLit)return;let o=t.el.constructor.prototype;r!==o&&this._getSetProxy(o,e,"html")}_getSetProxy(e,t,r){let o=this.component,s=$t(o,t),n;do n=Object.getOwnPropertyDescriptor(e,t);while(!n&&(e=Object.getPrototypeOf(e)));if(!n)return;let i=n.get,c=n.set,a=ot in i,l=ot in c;if(a&&l)return;let d=!a,h=!l,f=d?function(){let v=i.call(this),E=rt.get(this);if($.getter||E===void 0)return v;let V=E.manager.internals;v=V.accessorGetter[t](v,t);let y=V.getters[t]??At;for(let C=0;C<y.length;C++)v=y[C](v,t);return v}:i,g=h?function(v){let E=i.call(this),V=rt.get(this);if(V===void 0){c.call(this,v);return}let y=V.manager.isLit?v??void 0:Jt(v,s),C=V.manager.internals;if(y===E)c.call(this,y);else{let Ht=$.setter?At:C.setters[t]??At;for(let W=0;W<Ht.length&&(y=Ht[W](y,E,t),y!==E);W++);let ze=y;c.call(this,y),y=C.accessorSetter[t](y,E,t),y!==ze&&c.call(this,y),y!==E&&C.enabledWatchers[t]?.forEach(W=>W(y,E,t))}C.keyTrackers.length>0&&C?.firePropTrackers(t,v)}:c;d&&(f[ot]=!0),h&&(g[ot]=!0),Object.defineProperty(e,t,{...n,get:f,set:g})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},At=[],ot=Symbol(),Lt=Symbol(),Pt=(e,t)=>new co(e,t),co=class extends oe{constructor(e,t){let r="addController"in e,o=new Set;function s(a){o.add(a),!(st in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function n(a){o.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=s,i.removeController=n,!r){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new ao(this.component),this.destroyed=!1,this._updatePromise=new b,this._originalLifecycles={},this.isLit=r,this.component.manager=this,qt(e,r),this._controllers=o,this.exports=void 0,this.hasDestroy=wt in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=Zt,c.accessorSetter[a]=Zt,c.getSetProxy(a)}),r?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),nt(void 0),x(e),rt.set(e.el,e),rt.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,r=e.el===e;this._originalLifecycles={_connectedCallback:t||r?void 0:e.connectedCallback,_disconnectedCallback:t||r?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let o=this._connectedCallback.bind(this),s=this._disconnectedCallback.bind(this),n=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:o,hostDisconnected:s,hostUpdate:n,hostUpdated:i}):(e.connectedCallback=o,e.disconnectedCallback=s,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=n,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${wt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,G(),e.enableReadonly?.(),this._controllers.forEach(ho),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(po),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){let e=this.internals.reactiveUtilsIntegrations;if(e.size>0)for(let t of e)"triggerLoad"in t?await t.triggerLoad():await I(t.hostLoad,t);await Promise.allSettled(Array.from(this._controllers,uo,e)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&K(this.component,wt,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(fo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(mo,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(yo,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new b,t.resolve(!0)}}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0,this._controllers.forEach(go),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let e=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=Gt(e,lo)}}},wt="autoDestroyDisabled",lo=1e3;var Zt=e=>e;function ho(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function po(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function uo(e){this.has(e)||("triggerLoad"in e?await e.triggerLoad():await I(e.hostLoad,e))}function fo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function mo(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function yo(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function go(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}function re(e,t,r){let o=e.manager.internals;return o.trackedValue!==Lt&&o.trackedValue!==r&&o.firePropTrackers(void 0,void 0),o.keyTrackers.length===0&&queueMicrotask(()=>o.firePropTrackers(void 0,void 0)),o.trackedValue=r,o.keyTrackers.push((s,n)=>p(t,void 0,r===n?s:void 0)),r}function se(e,t,r){let o=Array.isArray(e)?e:[e],s=o.length+1,n=c=>{s-=1,c!==void 0&&(s=Math.min(s,0)),s===0&&t(c)};o.forEach(c=>it(c,a=>n(a===void 0?void 0:{key:a,host:c,isReactive:!1}),r));let i=o.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&re(i,c=>n(c===void 0?void 0:{key:c,host:i,isReactive:$t(i,c)!==void 0}),r),r}function vo(e){$.setter=!0;try{return e()}finally{$.setter=!1}}function bo(e){$.getter=!0;try{return e()}finally{$.getter=!1}}function ne(e){$.readOnly=!0;try{return e()}finally{$.readOnly=!1}}var ie=e=>(...t)=>{let r=te(),o=new e(...t),s=o.exports;nt(r.at(-1));let n=o.component.manager.internals;n.markExports(o,s),o.watchExports(c=>n.markExports(o,c)),oo(o);let i=[o.component,...r].reverse();return se(i,c=>c===void 0?void 0:_o(o,c,s),s)};function _o(e,{host:t,key:r,isReactive:o},s){let n=t,i=n[r]!==e.exports,c=n[r]!==s,a=s!==e.exports;if(i&&!c&&a&&(n[r]=e.exports),t===e.component){if(o){let d=e.component.manager.internals;c&&d.markExports(e,n[r]),K(e.component,r,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=o?void 0:r}e.watchExports(()=>{if(n[r]===e.exports)return;let d=e.component.manager;d.internals.setters[r]?.includes(d.internals.readonlySetter)?ne(()=>{n[r]=e.exports}):n[r]=e.exports})}var Tt=e=>Co(void 0,e);var Eo=class extends St{constructor(e,t){super(e);let r=this.exports;try{x(this.component);let o=t(this.component,this),s=this.exports!==r;if(o instanceof Promise){s||this.setProvisionalExports(o);let n=o.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await n)}else(!s||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},Co=ie(Eo);var yr=Tt;var vr=e=>(t={})=>Tt((r,o)=>{let s=Ct(r.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},i=r;o.onLifecycle(()=>Ft(r.el,e("./assets"),({t9nLocale:a,t9nStrings:l,lang:d})=>{let h={...l,_lang:d,_t9nLocale:a,_loading:!1};o.exports=h;let f=l.componentLabel??l.widgetLabel;typeof f=="string"&&"label"in r&&r.label==null&&(r.label??(r.label=f)),c(i.messageOverrides)},t.name));function c(a){let l=o.exports,d=l._original??l,h=ce(d,a);a&&(h._original=d),o.exports=h}if("messageOverrides"in i&&o.onLifecycle(()=>K(i,"messageOverrides",c)),t.blocking){o.setProvisionalExports(n,!1);return}else return n});function ce(e,t){if(!t)return e;let r={...e};return Object.entries(t).forEach(([o,s])=>{typeof s=="object"?r[o]=ce(e[o],s):r[o]=s??e[o]}),r}var br=e=>$o,ae="arcgisPropertyChange",$o=(...e)=>Tt((t,r)=>{let s=t[ae];return t.manager.isLit&&(s=t.constructor.$createEvent(ae,void 0,t)),r.onLoad(()=>r.onLifecycle(()=>e.map(n=>K(t,n,()=>s.emit({name:n}))))),s});var at=globalThis,ct=at.ShadowRoot&&(at.ShadyCSS===void 0||at.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,xt=Symbol(),le=new WeakMap,q=class{constructor(t,r,o){if(this._$cssResult$=!0,o!==xt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(ct&&t===void 0){let o=r!==void 0&&r.length===1;o&&(t=le.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&le.set(r,t))}return t}toString(){return this.cssText}},he=e=>new q(typeof e=="string"?e:e+"",void 0,xt),Ao=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((o,s,n)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+e[n+1],e[0]);return new q(r,e,xt)},Nt=(e,t)=>{if(ct)e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of t){let o=document.createElement("style"),s=at.litNonce;s!==void 0&&o.setAttribute("nonce",s),o.textContent=r.cssText,e.appendChild(o)}},lt=ct?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let o of t.cssRules)r+=o.cssText;return he(r)})(e):e;var kt=globalThis,ht=kt.trustedTypes,de=ht?ht.createPolicy("lit-html",{createHTML:e=>e}):void 0,Ut="$lit$",A=`lit$${Math.random().toFixed(9).slice(2)}$`,Rt="?"+A,wo=`<${Rt}>`,k=document,Y=()=>k.createComment(""),Q=e=>e===null||typeof e!="object"&&typeof e!="function",Mt=Array.isArray,ge=e=>Mt(e)||typeof e?.[Symbol.iterator]=="function",Dt=`[
|
|
7
|
+
\f\r]`,J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,pe=/-->/g,ue=/>/g,N=RegExp(`>|${Dt}(?:([^\\s"'>=/]+)(${Dt}*=${Dt}*(?:[^
|
|
8
|
+
\f\r"'\`<>=]|("|')|))|$)`,"g"),fe=/'/g,me=/"/g,ve=/^(?:script|style|textarea|title)$/i,jt=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),$r=jt(1),Ar=jt(2),wr=jt(3),m=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),ye=new WeakMap,D=k.createTreeWalker(k,129);function be(e,t){if(!Mt(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return de!==void 0?de.createHTML(t):t}var _e=(e,t)=>{let r=e.length-1,o=[],s,n=t===2?"<svg>":t===3?"<math>":"",i=J;for(let c=0;c<r;c++){let a=e[c],l,d,h=-1,f=0;for(;f<a.length&&(i.lastIndex=f,d=i.exec(a),d!==null);)f=i.lastIndex,i===J?d[1]==="!--"?i=pe:d[1]!==void 0?i=ue:d[2]!==void 0?(ve.test(d[2])&&(s=RegExp("</"+d[2],"g")),i=N):d[3]!==void 0&&(i=N):i===N?d[0]===">"?(i=s??J,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?N:d[3]==='"'?me:fe):i===me||i===fe?i=N:i===pe||i===ue?i=J:(i=N,s=void 0);let g=i===N&&e[c+1].startsWith("/>")?" ":"";n+=i===J?a+wo:h>=0?(o.push(l),a.slice(0,h)+Ut+a.slice(h)+A+g):a+A+(h===-2?c:g)}return[be(e,n+(e[r]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},Z=class e{constructor({strings:t,_$litType$:r},o){let s;this.parts=[];let n=0,i=0,c=t.length-1,a=this.parts,[l,d]=_e(t,r);if(this.el=e.createElement(l,o),D.currentNode=this.el.content,r===2||r===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(s=D.nextNode())!==null&&a.length<c;){if(s.nodeType===1){if(s.hasAttributes())for(let h of s.getAttributeNames())if(h.endsWith(Ut)){let f=d[i++],g=s.getAttribute(h).split(A),S=/([.?@])?(.*)/.exec(f);a.push({type:1,index:n,name:S[2],strings:g,ctor:S[1]==="."?pt:S[1]==="?"?ut:S[1]==="@"?ft:R}),s.removeAttribute(h)}else h.startsWith(A)&&(a.push({type:6,index:n}),s.removeAttribute(h));if(ve.test(s.tagName)){let h=s.textContent.split(A),f=h.length-1;if(f>0){s.textContent=ht?ht.emptyScript:"";for(let g=0;g<f;g++)s.append(h[g],Y()),D.nextNode(),a.push({type:2,index:++n});s.append(h[f],Y())}}}else if(s.nodeType===8)if(s.data===Rt)a.push({type:2,index:n});else{let h=-1;for(;(h=s.data.indexOf(A,h+1))!==-1;)a.push({type:7,index:n}),h+=A.length-1}n++}}static createElement(t,r){let o=k.createElement("template");return o.innerHTML=t,o}};function U(e,t,r=e,o){if(t===m)return t;let s=o!==void 0?r.o?.[o]:r.l,n=Q(t)?void 0:t._$litDirective$;return s?.constructor!==n&&(s?._$AO?.(!1),n===void 0?s=void 0:(s=new n(e),s._$AT(e,r,o)),o!==void 0?(r.o??=[])[o]=s:r.l=s),s!==void 0&&(t=U(e,s._$AS(e,t.values),s,o)),t}var dt=class{constructor(t,r){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:r},parts:o}=this._$AD,s=(t?.creationScope??k).importNode(r,!0);D.currentNode=s;let n=D.nextNode(),i=0,c=0,a=o[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new H(n,n.nextSibling,this,t):a.type===1?l=new a.ctor(n,a.name,a.strings,this,t):a.type===6&&(l=new mt(n,this,t)),this._$AV.push(l),a=o[++c]}i!==a?.index&&(n=D.nextNode(),i++)}return D.currentNode=k,s}p(t){let r=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,r),r+=o.strings.length-2):o._$AI(t[r])),r++}},H=class e{get _$AU(){return this._$AM?._$AU??this.v}constructor(t,r,o,s){this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=o,this.options=s,this.v=s?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,r=this._$AM;return r!==void 0&&t?.nodeType===11&&(t=r.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,r=this){t=U(this,t,r),Q(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==m&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):ge(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==u&&Q(this._$AH)?this._$AA.nextSibling.data=t:this.T(k.createTextNode(t)),this._$AH=t}$(t){let{values:r,_$litType$:o}=t,s=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=Z.createElement(be(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===s)this._$AH.p(r);else{let n=new dt(s,this),i=n.u(this.options);n.p(r),this.T(i),this._$AH=n}}_$AC(t){let r=ye.get(t.strings);return r===void 0&&ye.set(t.strings,r=new Z(t)),r}k(t){Mt(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,o,s=0;for(let n of t)s===r.length?r.push(o=new e(this.O(Y()),this.O(Y()),this,this.options)):o=r[s],o._$AI(n),s++;s<r.length&&(this._$AR(o&&o._$AB.nextSibling,s),r.length=s)}_$AR(t=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this.v=t,this._$AP?.(t))}},R=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,r,o,s,n){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=r,this._$AM=s,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=u}_$AI(t,r=this,o,s){let n=this.strings,i=!1;if(n===void 0)t=U(this,t,r,0),i=!Q(t)||t!==this._$AH&&t!==m,i&&(this._$AH=t);else{let c=t,a,l;for(t=n[0],a=0;a<n.length-1;a++)l=U(this,c[o+a],r,a),l===m&&(l=this._$AH[a]),i||=!Q(l)||l!==this._$AH[a],l===u?t=u:t!==u&&(t+=(l??"")+n[a+1]),this._$AH[a]=l}i&&!s&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pt=class extends R{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},ut=class extends R{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==u)}},ft=class extends R{constructor(t,r,o,s,n){super(t,r,o,s,n),this.type=5}_$AI(t,r=this){if((t=U(this,t,r,0)??u)===m)return;let o=this._$AH,s=t===u&&o!==u||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==u&&(o===u||s);s&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},mt=class{constructor(t,r,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){U(this,t)}},Ee={M:Ut,P:A,A:Rt,C:1,L:_e,R:dt,D:ge,V:U,I:H,H:R,N:ut,U:ft,B:pt,F:mt},Lo=kt.litHtmlPolyfillSupport;Lo?.(Z,H),(kt.litHtmlVersions??=[]).push("3.2.0");var Ce=(e,t,r)=>{let o=r?.renderBefore??t,s=o._$litPart$;if(s===void 0){let n=r?.renderBefore??null;o._$litPart$=s=new H(t.insertBefore(Y(),n),n,void 0,r??{})}return s._$AI(e),s};var{is:Oo,defineProperty:So,getOwnPropertyDescriptor:Po,getOwnPropertyNames:To,getOwnPropertySymbols:xo,getPrototypeOf:No}=Object,gt=globalThis,$e=gt.trustedTypes,Do=$e?$e.emptyScript:"",ko=gt.reactiveElementPolyfillSupport,X=(e,t)=>e,yt={toAttribute(e,t){switch(t){case Boolean:e=e?Do:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Vt=(e,t)=>!Oo(e,t),Ae={attribute:!0,type:String,converter:yt,reflect:!1,hasChanged:Vt};Symbol.metadata??=Symbol("metadata"),gt.litPropertyMetadata??=new WeakMap;var w=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,r=Ae){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(t,r),!r.noAccessor){let o=Symbol(),s=this.getPropertyDescriptor(t,o,r);s!==void 0&&So(this.prototype,t,s)}}static getPropertyDescriptor(t,r,o){let{get:s,set:n}=Po(this.prototype,t)??{get(){return this[r]},set(i){this[r]=i}};return{get(){return s?.call(this)},set(i){let c=s?.call(this);n.call(this,i),this.requestUpdate(t,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Ae}static _$Ei(){if(this.hasOwnProperty(X("elementProperties")))return;let t=No(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(X("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(X("properties"))){let r=this.properties,o=[...To(r),...xo(r)];for(let s of o)this.createProperty(s,r[s])}let t=this[Symbol.metadata];if(t!==null){let r=litPropertyMetadata.get(t);if(r!==void 0)for(let[o,s]of r)this.elementProperties.set(o,s)}this._$Eh=new Map;for(let[r,o]of this.elementProperties){let s=this._$Eu(r,o);s!==void 0&&this._$Eh.set(s,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let s of o)r.unshift(lt(s))}else t!==void 0&&r.push(lt(t));return r}static _$Eu(t,r){let o=r.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,r=this.constructor.elementProperties;for(let o of r.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Nt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,r,o){this._$AK(t,o)}_$EC(t,r){let o=this.constructor.elementProperties.get(t),s=this.constructor._$Eu(t,o);if(s!==void 0&&o.reflect===!0){let n=(o.converter?.toAttribute!==void 0?o.converter:yt).toAttribute(r,o.type);this._$Em=t,n==null?this.removeAttribute(s):this.setAttribute(s,n),this._$Em=null}}_$AK(t,r){let o=this.constructor,s=o._$Eh.get(t);if(s!==void 0&&this._$Em!==s){let n=o.getPropertyOptions(s),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:yt;this._$Em=s,this[s]=i.fromAttribute(r,n.type),this._$Em=null}}requestUpdate(t,r,o){if(t!==void 0){if(o??=this.constructor.getPropertyOptions(t),!(o.hasChanged??Vt)(this[t],r))return;this.P(t,r,o)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,r,o){this._$AL.has(t)||this._$AL.set(t,r),o.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[s,n]of this._$Ep)this[s]=n;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[s,n]of o)n.wrapped!==!0||this._$AL.has(s)||this[s]===void 0||this.P(s,this[s],n)}let t=!1,r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(r)):this._$EU()}catch(o){throw t=!1,this._$EU(),o}t&&this._$AE(r)}willUpdate(t){}_$AE(t){this._$EO?.forEach(r=>r.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(r=>this._$EC(r,this[r])),this._$EU()}updated(t){}firstUpdated(t){}};w.elementStyles=[],w.shadowRootOptions={mode:"open"},w[X("elementProperties")]=new Map,w[X("finalized")]=new Map,ko?.({ReactiveElement:w}),(gt.reactiveElementVersions??=[]).push("2.0.4");var L=class extends w{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this.o=Ce(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this.o?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this.o?.setConnected(!1)}render(){return m}};L._$litElement$=!0,L.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:L});var Uo=globalThis.litElementPolyfillSupport;Uo?.({LitElement:L});(globalThis.litElementVersions??=[]).push("4.1.0");var we=";",vt=",",Le=":",Oe=!0,Se=!0,Pe=!0;var _={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},M=e=>(...t)=>({_$litDirective$:e,values:t}),O=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,r,o){this.t=t,this._$AM=r,this.i=o}_$AS(t,r){return this.update(t,r)}update(t,r){return this.render(...r)}};var Te=M(class extends O{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let r=e.element.classList;for(let o of this.st)o in t||(r.remove(o),this.st.delete(o));for(let o in t){let s=!!t[o];s===this.st.has(o)||this.nt?.has(o)||(s?(r.add(o),this.st.add(o)):(r.remove(o),this.st.delete(o)))}return m}});var xe="important",Mo=" !"+xe,Ne=M(class extends O{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="style"||e.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return Object.keys(e).reduce((t,r)=>{let o=e[r];return o==null?t:t+`${r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(e,[t]){let{style:r}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?r.removeProperty(o):r[o]=null);for(let o in t){let s=t[o];if(s!=null){this.ft.add(o);let n=typeof s=="string"&&s.endsWith(Mo);o.includes("-")||n?r.setProperty(o,n?s.slice(0,-11):s,n?xe:""):r[o]=s}}return m}});var{I:ss}=Ee;var De=e=>e.strings===void 0;var jo={},ke=(e,t=jo)=>e._$AH=t;var Vo=M(class extends O{constructor(e){if(super(e),e.type!==_.PROPERTY&&e.type!==_.ATTRIBUTE&&e.type!==_.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!De(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===m||t===u)return t;let r=e.element,o=e.name;if(e.type===_.PROPERTY){if(t===r[o])return m}else if(e.type===_.BOOLEAN_ATTRIBUTE){if(!!t===r.hasAttribute(o))return m}else if(e.type===_.ATTRIBUTE&&r.getAttribute(o)===t+"")return m;return ke(e),t}});var Re=(e="",t={},r=F())=>{let o={emit:s=>{e===""&&G();let n=new CustomEvent(e,{detail:s,cancelable:Se,bubbles:Oe,composed:Pe,...t});return r.el.dispatchEvent(n),n}};return e===""&&it(r,s=>{e=s},o),o},fs=Re.bind(null,"");function Me(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let r=t;return r.manager?.loadedCalled||r._offspring.push(e),r._postLoad.promise}return!1}var Ue={},vs=(e,t)=>function(o,s){if(!globalThis.customElements)return;let i=(s??o??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(zo)};function zo([e,[t,r=""]]){if(customElements.get(e))return;let[o,s,n]=r.split(we),i=o?o?.split(vt).map(je):void 0,c=i?.map(([l])=>l),a=class extends j{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=s?s?.split(vt):void 0}static{this._syncMethods=n?.split(vt)}static{this._name=e}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(e,a)}var bt=Object.defineProperty;function je(e){let t=e.split(Le);return t.length===1?[t[0],et(t[0])]:t}var Ho=globalThis.HTMLElement??je,j=class extends Ho{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new b,this._postLoaded=new b,this._offspring=[],this._saveInstanceProperties();let e=this.constructor;e._LitConstructor?this._initializeComponent({a:e._LitConstructor}):e._loadPromise.then(this._initializeComponent.bind(this)).catch(t=>{this._postLoaded.reject(t),setTimeout(()=>{throw t})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(e){bt(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){bt(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){bt(this.prototype,e,{value(...t){return this._litElement[e](...t)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let e=this.constructor,t=this;e._properties?.forEach(r=>{Object.hasOwn(this,r)&&(this._store[r]=t[r],delete t[r])})}attributeChangedCallback(e,t,r){this._litElement?.attributeChangedCallback(e,t,r),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback():queueMicrotask(()=>{this._ancestorLoad=Me(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback()}async componentOnReady(){return await this._postLoaded.promise,this._litElement}_initializeComponent(e){let t=this.constructor,r=t._name,o=Object.values(e).find(a=>a.tagName===r),s=`${r}--lazy`;!t._LitConstructor&&(t._LitConstructor=o,o.prototype.removeAttribute=function(a){HTMLElement.prototype.removeAttribute.call(this.el,a)},o.prototype.setAttribute=function(a,l){HTMLElement.prototype.setAttribute.call(this.el,a,l)},bt(o.prototype,"isConnected",{get(){return this.el.isConnected}}),customElements.define(s,o)),o.lazy=this;let i=document.createElement(s);o.lazy=void 0,this._litElement=i,this._pendingAttributes.forEach(a=>{let l=this.getAttribute(a);i.attributeChangedCallback(a,null,l)}),Object.entries(this._store).forEach(Wo,i),this._store=i;let c=this.isConnected;(c||this._ancestorLoad)&&(i.connectedCallback?.(),c||i.disconnectedCallback())}};function Wo([e,t]){this[e]=t}var It=Symbol.for("@arcgis/lumina:observedAttributes"),zt=globalThis,Bo=It in zt;zt[It]??={};var Fo=zt[It];if(!Bo){let e=t=>function(o,...s){if(Fo[this.tagName.toLowerCase()]?.manuallyObserved?.has(o)){let i=this.getAttribute(o),c=t.call(this,o,...s),a=this.getAttribute(o);return this.attributeChangedCallback(o,i,a),c}else return t.call(this,o,...s)};j.prototype.setAttribute=e(j.prototype.setAttribute),j.prototype.toggleAttribute=e(j.prototype.toggleAttribute),j.prototype.removeAttribute=e(j.prototype.removeAttribute)}var Go=()=>{},Ko=class Ve extends L{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=Pt(this),this._postLoad=this.constructor.lazy?._postLoad??new b,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new b,this._enableUpdating=this.enableUpdating,this.enableUpdating=Go;let t=Ve.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let r=super.finalizeStyles(t),s=this.constructor.shadowRootOptions===Ue;return this.runtime?.commonStyles===void 0||s?r:[this.runtime.commonStyles,...r]}static createProperty(t,r){let o=typeof r=="number"?r:Array.isArray(r)?r[0]:0,s=Array.isArray(r)?r[1]:void 0;super.createProperty(t,{attribute:o&1&&typeof t=="string"?et(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),...s})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(r=>{this._postLoaded.reject(r),setTimeout(()=>{throw r})}))}createRenderRoot(){let t=this.el.shadowRoot,r=this.constructor,o=r.shadowRootOptions,n=t??(o===Ue?this.el:this.el.attachShadow(o));if(Object.defineProperty(this,"shadowRoot",{value:n}),t)return L.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=n.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...r.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return n}async _load(){let t=this.el._ancestorLoad??Me(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let r=this._offspring.filter(o=>!o.manager?.loadedCalled);r.length&&await Promise.allSettled(r.map(async o=>await o.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,r,o){let s=r?.bind(this)??r;this.manager.onLifecycle(()=>(this.el.addEventListener(t,s,o),()=>this.el.removeEventListener(t,s,o)))}listenOn(t,r,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(r,n,s),()=>t.removeEventListener(r,n,s)))}async componentOnReady(){return await this._postLoaded.promise,this}};Ko.$createEvent=Re;function Ie(e){let t,r=s=>{t=new URL(s,globalThis.location?.href).href},o={...e,getAssetPath(s){let n=new URL(s,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:r,customElement(s,n){n.runtime=o,n.tagName=s,customElements.get(s)||customElements.define(s,n)}};return r(e.defaultAssetPath),o}var Ls=e=>typeof e=="object"&&e!=null?Te(e):e,Os=e=>typeof e=="object"&&e!=null?Ne(e):e;var Ps=u;var qo=Ie({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:ks,getAssetPath:Us,setAssetPath:Rs}=qo;export{Jo as a,et as b,Gt as c,Kt as d,F as e,St as f,oe as g,K as h,Zt as i,re as j,se as k,vo as l,bo as m,ie as n,yr as o,vr as p,br as q,Ao as r,$r as s,Ar as t,wr as u,u as v,_ as w,M as x,O as y,De as z,fs as A,Ue as B,vs as C,Ko as D,Ls as E,Os as F,Ps as G,qo as H,ks as I,Us as J};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as h}from"./
|
|
6
|
+
import{a as h}from"./E4A6DD7W.js";import{d as l}from"./TL2O77FA.js";import{F as a}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as i,B as s,D as o,I as r,q as e}from"./6V7GUT2B.js";var n=h(a),t=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=e()("state"),this.arcgisReady=i(),this.arcgisSelect=l(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}};r("arcgis-feature-templates",t);export{t as ArcgisFeatureTemplates};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{a as b,b as y}from"./
|
|
6
|
+
import{a as b,b as y}from"./C7QHC5XF.js";import{a as t}from"./4UXCF4OM.js";import{a as v,b as k}from"./P7RGEXXO.js";import{d as s}from"./TL2O77FA.js";import{O as f}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as p,B as m,D as g,E as r,G as u,I as w,a as d,q as h,s as e}from"./6V7GUT2B.js";var L={arrowDown:"esri-icon-arrow-down",arrowUp:"esri-icon-arrow-up",basemap:"esri-icon-basemap",bookmark:"esri-icon-bookmark",calendar:"esri-icon-calendar",checkMark:"esri-icon-check-mark",checkboxUnchecked:"esri-icon-checkbox-unchecked",close:"esri-icon-close",collapse:"esri-icon-collapse",defaultAction:"esri-icon-default-action",description:"esri-icon-description",directions:"esri-icon-directions",dockBottom:"esri-icon-dock-bottom",dockLeft:"esri-icon-dock-left",dockRight:"esri-icon-dock-right",down:"esri-icon-down",downArrow:"esri-icon-down-arrow",download:"esri-icon-download",dragHorizontal:"esri-icon-drag-horizontal",dragVertical:"esri-icon-drag-vertical",duplicate:"esri-icon-duplicate",edit:"esri-icon-edit",elevationProfile:"esri-icon-elevation-profile",environmentSettings:"esri-icon-environment-settings",erase:"esri-icon-erase",error:"esri-icon-error",expand:"esri-icon-expand",fontFallbackText:"esri-icon-font-fallback-text",forward:"esri-icon-forward",gear:"esri-icon-gear",handleHorizontal:"esri-icon-handle-horizontal",handleVertical:"esri-icon-handle-vertical",home:"esri-icon-home",icon:"esri-icon",launchLinkExternal:"esri-icon-launch-link-external",layerList:"esri-icon-layer-list",layers:"esri-icon-layers",left:"esri-icon-left",leftArrows:"esri-icon-left-arrow",leftTriangleArrow:"esri-icon-left-triangle-arrow",lineOfSight:"esri-icon-line-of-sight",link:"esri-icon-link",linkExternal:"esri-icon-link-external",linkHorizontal:"esri-icon-link-horizontal",loadingIndicator:"esri-icon-loading-indicator",locate:"esri-icon-locate",locateCircled:"esri-icon-locate-circled",locked:"esri-icon-locked",mapPin:"esri-icon-map-pin",maximize:"esri-icon-maximize",measure:"esri-icon-measure",measureArea:"esri-icon-measure-area",measureBuildingHeightShadow:"esri-icon-measure-building-height-shadow",measureLine:"esri-icon-measure-line",menu:"esri-icon-menu",minimize:"esri-icon-minimize",minus:"esri-icon-minus",nonVisible:"esri-icon-non-visible",northNavigation:"esri-icon-north-navigation",noticeTriangle:"esri-icon-notice-triangle",organization:"esri-icon-organization",pan:"esri-icon-pan",pan2:"esri-icon-pan2",partlyCloudy:"esri-icon-partly-cloudy",pause:"esri-icon-pause",play:"esri-icon-play",playCircled:"esri-icon-play-circled",plus:"esri-icon-plus",polyline:"esri-icon-polyline",printer:"esri-icon-printer",radioChecked:"esri-icon-radio-checked",radioUnchecked:"esri-icon-radio-unchecked",refresh:"esri-icon-refresh",reverse:"esri-icon-reverse",right:"esri-icon-right",rightArrow:"esri-icon-right-arrow",rightTriangleArrow:"esri-icon-right-triangle-arrow",rotate:"esri-icon-rotate",save:"esri-icon-save",search:"esri-icon-search",settings2:"esri-icon-settings2",slice:"esri-icon-slice",swap:"esri-icon-swap",table:"esri-icon-table",timeClock:"esri-icon-time-clock",tracking:"esri-icon-tracking",trash:"esri-icon-trash",unlockedLinkHorizontal:"esri-icon-unlocked-link-horizontal",up:"esri-icon-up",upArrow:"esri-icon-up-arrow",upDownArrows:"esri-icon-up-down-arrows",urbanModel:"esri-icon-urban-model",vertexGps:"esri-icon-vertex-gps",visible:"esri-icon-visible",zoomInFixed:"esri-icon-zoom-in-fixed",zoomInMagnifyingGlass:"esri-icon-zoom-in-magnifying-glass",zoomOutFixed:"esri-icon-zoom-out-fixed",zoomToObject:"esri-icon-zoom-to-object"},T={base:"esri-locate"},E="gps-off",D=k(f),n=class extends g{constructor(){super(...arguments),this.messages=v(),this.viewModel=D(this),this._calciteButton=b(),this.autoDestroyDisabled=!1,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.goToOverride=this.viewModel.goToOverride,this.graphic=this.viewModel.graphic,this.icon=E,this.popupDisabled=this.viewModel.popupEnabled,this.position="top-left",this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.arcgisError=s(()=>this.viewModel,"locateError"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=p(),this.arcgisSuccess=s(()=>this.viewModel,"locate")}static{this.properties={autoDestroyDisabled:5,geolocationOptions:0,goToLocationDisabled:7,goToOverride:0,graphic:0,icon:3,label:1,messageOverrides:0,popupDisabled:5,position:3,referenceElement:1,scale:9,state:3}}static{this.shadowRootOptions=m}async cancelLocate(){this.viewModel.cancelLocate()}async destroy(){await this.manager.destroy()}async locate(){return await this.viewModel.locate()}updated(){if(this._calciteButton.value)if(this.viewModel.state==="locating"){if(!this._calciteButton.value.children[0]){let i=document.createElement("calcite-loader");i.inline=!0,i.label="",this._calciteButton.value.append(i)}}else this._calciteButton.value.children[0]?.remove()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_locate(){let{viewModel:i}=this;i.state==="locating"?i.cancelLocate():i.locate().catch(()=>{})}render(){let{viewModel:i,icon:z}=this,{state:o}=i,a=o==="locating",c=a?this.messages.cancel:this.messages.title,M=o==="feature-unsupported",x=L===void 0?E:void 0,l=this._localizeError(this.viewModel?.error);return e`<div class=${r(d(T.base,t.widget))}>${!M&&e`<calcite-button class=${r(t.widgetButton)} .disabled=${o==="disabled"} .iconStart=${a?void 0:z??x} kind=neutral .label=${c} @click=${this._locate} title=${c??u} ${y(this._calciteButton)}></calcite-button>`||""}${l?e`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${l}</calcite-tooltip>`:null}</div>`}};w("arcgis-locate",n);export{n as ArcgisLocate};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
* v4.32.0-next.
|
|
4
|
+
* v4.32.0-next.3
|
|
5
5
|
*/
|
|
6
|
-
import{A as g,B as m,D as p,G as v,I as h,s as o}from"./
|
|
6
|
+
import{A as g,B as m,D as p,G as v,I as h,s as o}from"./6V7GUT2B.js";var c=class extends p{constructor(){super(...arguments),this.arcgisManageVersion=g()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=m}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,hasAdvEditingUte:f,isVersioningApiAvailable:b,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,u=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,a=r.toUpperCase()===$.toUpperCase()&&b&&f,i=V.guid===e.versionIdentifier.guid,x=o`<calcite-action .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,I=i?void 0:o`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return o`<calcite-list-item .description=${r} .label=${u} .value=${l}>${x}${I}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||i||""} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!a||a&&i||""} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
|