@arcgis/core 4.32.0-next.20250211 → 4.32.0-next.20250212
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/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{9a237b396518b1c67f19.js → 00780271be2fd6e298c1.js} +1 -1
- package/assets/esri/core/workers/chunks/0b8bf1966653c326e95a.js +1 -0
- package/assets/esri/core/workers/chunks/{a4a9b4f792d47566fbf4.js → 17213c3fc63f580e5b73.js} +1 -1
- package/assets/esri/core/workers/chunks/272662e4e28341419b4f.js +1 -0
- package/assets/esri/core/workers/chunks/{74844334b3a2100220fc.js → 37cfd102b6ab5b959f9d.js} +1 -1
- package/assets/esri/core/workers/chunks/3835c2884c55e73dc202.js +1 -0
- package/assets/esri/core/workers/chunks/{8ddd4e2e50b8206564a7.js → 3ebdd0701e77bb28c75d.js} +1 -1
- package/assets/esri/core/workers/chunks/4848a3e31632d15dc4ce.js +1 -0
- package/assets/esri/core/workers/chunks/{76794184ba8c2e66745e.js → 629f4621ba6ffdcaa2f9.js} +1 -1
- package/assets/esri/core/workers/chunks/{c26ffbff1115e76bcb0f.js → 6c30a25adf22d73d4977.js} +1 -1
- package/assets/esri/core/workers/chunks/{50ae86c23efe709f41cc.js → 6fa1f1e431aae1794ce3.js} +1 -1
- package/assets/esri/core/workers/chunks/82facb23dfaba2819bc7.js +1 -0
- package/assets/esri/core/workers/chunks/8722d05ae9b0aa5162a4.js +1 -0
- package/assets/esri/core/workers/chunks/8de4280080296adb1757.js +1 -0
- package/assets/esri/core/workers/chunks/{1f443b99653708470f31.js → 96d7f47ea8fbf345101c.js} +1 -1
- package/assets/esri/core/workers/chunks/{df3d1a8d3f11d52eb30d.js → afdbdc1569b56489c14d.js} +1 -1
- package/assets/esri/core/workers/chunks/{89e3f7880abd014a62c0.js → b42d26123784997c66e8.js} +1 -1
- package/assets/esri/core/workers/chunks/de638753a30c9aa41bad.js +1 -0
- package/assets/esri/core/workers/chunks/{1cbeac3301b6943bb28a.js → fc07d47d44c04f123650.js} +1 -1
- package/assets/esri/themes/base/_core.scss +4 -0
- package/assets/esri/themes/base/widgets/_BasemapGallery.scss +0 -5
- package/assets/esri/themes/base/widgets/_Editor.scss +1 -0
- package/assets/esri/themes/base/widgets/_FeatureFormUtilityNetworkAssociationLayers.scss +80 -0
- package/assets/esri/themes/base/widgets/_FeatureFormUtilityNetworkAssociationList.scss +14 -0
- package/assets/esri/themes/base/widgets/_FeatureFormUtilityNetworkAssociationSettings.scss +41 -0
- package/assets/esri/themes/base/widgets/_FilterBuilder.scss +1 -6
- package/assets/esri/themes/dark/main.css +1 -1
- package/assets/esri/themes/light/main.css +1 -1
- package/assets/esri/themes/light/view.css +1 -1
- package/chunks/Bufferer-B-V7yYm-.js +5 -0
- package/chunks/Distance2DCalculator-Coa0qAFt.js +5 -0
- package/chunks/Envelope.js +1 -1
- package/chunks/{GeodeticDistanceCalculator-BsWHOuqE.js → GeodeticDistanceCalculator-D4iQ-_NX.js} +1 -1
- package/chunks/Geometry.js +1 -1
- package/chunks/OperatorClip.js +1 -1
- package/chunks/OperatorCut.js +1 -1
- package/chunks/OperatorGeneralize.js +1 -1
- package/chunks/OperatorGeodesicBuffer.js +1 -1
- package/chunks/OperatorGeodeticArea.js +1 -1
- package/chunks/OperatorGeodeticDistance.js +1 -1
- package/chunks/OperatorProximityGeodesic.js +1 -1
- package/chunks/OperatorShapePreservingLength.js +1 -1
- package/chunks/OperatorShapePreservingProject.js +1 -1
- package/chunks/Point2D.js +1 -1
- package/chunks/ProjectionTransformation.js +1 -1
- package/chunks/QuadraticBezier.js +1 -1
- package/chunks/ShadowHighlight.glsl.js +2 -4
- package/chunks/distanceOperator.js +1 -1
- package/editing/templateUtils.js +1 -1
- package/geometry/operators/extendOperator.js +1 -1
- package/geometry/operators/gx/operatorAlphaShape.js +1 -1
- package/geometry/operators/gx/operatorBuffer.js +1 -1
- package/geometry/operators/gx/operatorGraphicBuffer.js +1 -1
- package/geometry/operators/gx/operatorIntegrate.js +1 -1
- package/geometry/operators/gx/operatorOffset.js +1 -1
- package/geometry/operators/gx/operatorSymmetricDifference.js +1 -1
- package/geometry/operators/isNearOperator.js +1 -1
- package/geometry/operators/projectOperator.js +1 -1
- package/geometry/operators/shapePreservingProjectOperator.js +1 -1
- package/geometry/operators/support/jsonConverter.js +1 -1
- package/interfaces.d.ts +91 -67
- package/layers/support/SubtypeSublayer.js +1 -1
- package/networks/Network.js +1 -1
- package/networks/RulesTable.js +1 -1
- package/networks/UtilityNetwork.js +1 -1
- package/networks/support/typeUtils.js +1 -1
- package/package.json +1 -1
- package/support/revision.js +1 -1
- package/views/2d/engine/webgl/AttributeStoreView.js +1 -1
- package/views/2d/layers/FeatureLayerView2D.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/2d/layers/features/FeaturePipelineWorker.js +1 -1
- package/views/2d/layers/features/sources/FeatureSource.js +1 -1
- package/views/2d/layers/features/sources/strategies/chunks/Overrides.js +1 -1
- package/views/2d/layers/features/sources/strategies/chunks/SourceChunkStore.js +1 -1
- package/views/2d/layers/features/support/FeatureSetReader.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowAccumulator.js +1 -1
- package/views/SceneView.js +1 -1
- package/widgets/AreaMeasurement2D/AreaMeasurement2DTool.js +1 -1
- package/widgets/AreaMeasurement2D/AreaMeasurement2DViewModel.js +1 -1
- package/widgets/AreaMeasurement2D.js +1 -1
- package/widgets/BatchAttributeForm/BatchAttributeFormViewModel.js +1 -1
- package/widgets/BatchAttributeForm/ReactiveGraphic.js +1 -1
- package/widgets/BatchAttributeForm/inputs/EditableInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/GroupInput.js +1 -1
- package/widgets/BatchAttributeForm/inputs/InputBase.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/inputUtils.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/createBatchFormTemplate.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/DistanceMeasurement2D/DistanceMeasurement2DTool.js +1 -1
- package/widgets/DistanceMeasurement2D/DistanceMeasurement2DViewModel.js +1 -1
- package/widgets/DistanceMeasurement2D.js +1 -1
- package/widgets/Editor/AddAssociationWorkflow.js +5 -0
- package/widgets/Editor/AddAssociationWorkflowData.js +5 -0
- package/widgets/Editor/EditorViewModel.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/Editor/components/UpdateFeaturePanelContent.js +1 -1
- package/widgets/Editor.js +1 -1
- package/widgets/Feature/FeatureUtilityNetworkAssociationList.js +1 -1
- package/widgets/Feature/FeatureUtilityNetworkAssociations.js +1 -1
- package/widgets/Feature/FeatureViewModel.js +1 -1
- package/widgets/Feature/support/featureUtils.js +1 -1
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/FeatureFormUtilityNetworkAssociationList.js +1 -1
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationItemList.js +5 -0
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/UtilityNetworkAssociationSettings.js +5 -0
- package/widgets/FeatureForm/FeatureFormViewModel.js +1 -1
- package/widgets/FeatureForm/UtilityNetworkAssociationAddAssociationViewModel.js +5 -0
- package/widgets/FeatureForm/UtilityNetworkAssociationInput.js +1 -1
- package/widgets/FeatureForm.js +1 -1
- package/widgets/FeatureTable/support/FeatureStore.js +1 -1
- package/widgets/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.d.ts +2 -2
- package/widgets/support/FilterBuilder/FilterBuilderViewModel.js +1 -1
- package/widgets/support/FilterBuilder.js +1 -1
- package/widgets/support/FilterCondition/FilterConditionViewModel.js +1 -1
- package/widgets/support/FilterCondition.js +1 -1
- package/widgets/support/UtilityNetworkAssociations/FeatureUtilityNetworkAssociationsViewModel.js +5 -0
- package/widgets/support/UtilityNetworkAssociations/UtilityNetworkAssociationList.js +1 -1
- package/widgets/support/UtilityNetworkAssociations/utilityNetworkUtils.js +1 -1
- package/assets/esri/core/workers/chunks/0ac1399d252f2df670b6.js +0 -1
- package/assets/esri/core/workers/chunks/3d5442055e01493efcb2.js +0 -1
- package/assets/esri/core/workers/chunks/74f42e46bf551aab14dc.js +0 -1
- package/assets/esri/core/workers/chunks/9fb45c006d790273e8c1.js +0 -1
- package/assets/esri/core/workers/chunks/a6be1105a5e1f9597c5e.js +0 -1
- package/assets/esri/core/workers/chunks/d0e9874eb304010305c6.js +0 -1
- package/assets/esri/core/workers/chunks/d27a199fd8e2ade69254.js +0 -1
- package/assets/esri/core/workers/chunks/f9070edd8e0b2a57af79.js +0 -1
- package/chunks/Bufferer-DjC-SKTJ.js +0 -5
- package/chunks/Distance2DCalculator-8-JrFGHH.js +0 -5
- package/widgets/FeatureForm/FeatureFormUtilityNetworkAssociations/FeatureFormUtilityNetworkAssociationSettings.js +0 -5
- package/widgets/support/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.d.ts +0 -4
- package/widgets/support/UtilityNetworkAssociations/UtilityNetworkAssociationsViewModel.js +0 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[1162,3200],{85334:(e,t,r)=>{r.d(t,{$:()=>m,IB:()=>a,Iy:()=>A,N2:()=>g,RH:()=>v,ZD:()=>w});var n=r(68197),i=r(4576),o=r(4718);function a(e){return"r"in e&&"g"in e&&"b"in e}function s(e){return"h"in e&&"s"in e&&"v"in e}function l(e){return"l"in e&&"a"in e&&"b"in e}function u(e){return"l"in e&&"c"in e&&"h"in e}r(87317),r(91829);const p=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],c=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]];function d(e,t){const r=[];let n,i;if(e[0].length!==t.length)throw new Error("dimensions do not match");const o=e.length,a=e[0].length;let s=0;for(n=0;n<o;n++){for(s=0,i=0;i<a;i++)s+=e[n][i]*t[i];r.push(s)}return r}function y(e){const t=[e.r/255,e.g/255,e.b/255].map((e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4)),r=d(p,t);return{x:100*r[0],y:100*r[1],z:100*r[2]}}function h(e){const t=d(c,[e.x/100,e.y/100,e.z/100]).map((e=>{const t=e<=.0031308?12.92*e:1.055*e**(1/2.4)-.055;return Math.min(1,Math.max(t,0))}));return{r:Math.round(255*t[0]),g:Math.round(255*t[1]),b:Math.round(255*t[2])}}function f(e){const t=[e.x/95.047,e.y/100,e.z/108.883].map((e=>e>(6/29)**3?e**(1/3):1/3*(29/6)**2*e+4/29));return{l:116*t[1]-16,a:500*(t[0]-t[1]),b:200*(t[1]-t[2])}}function b(e){const t=e.l,r=[(t+16)/116+e.a/500,(t+16)/116,(t+16)/116-e.b/200].map((e=>e>6/29?e**3:3*(6/29)**2*(e-4/29)));return{x:95.047*r[0],y:100*r[1],z:108.883*r[2]}}function m(e){return a(e)?e:u(e)?function(e){return h(b(function(e){const t=e.l,r=e.c,n=e.h;return{l:t,a:r*Math.cos(n),b:r*Math.sin(n)}}(e)))}(e):l(e)?function(e){return h(b(e))}(e):function(e){return"x"in e&&"y"in e&&"z"in e}(e)?h(e):s(e)?function(e){const t=(e.h+360)%360/60,r=e.s/100,n=e.v/100*255,i=n*r,o=i*(1-Math.abs(t%2-1));let a;switch(Math.floor(t)){case 0:a={r:i,g:o,b:0};break;case 1:a={r:o,g:i,b:0};break;case 2:a={r:0,g:i,b:o};break;case 3:a={r:0,g:o,b:i};break;case 4:a={r:o,g:0,b:i};break;case 5:case 6:a={r:i,g:0,b:o};break;default:a={r:0,g:0,b:0}}return a.r=Math.round(a.r+n-i),a.g=Math.round(a.g+n-i),a.b=Math.round(a.b+n-i),a}(e):e}function g(e){return s(e)?e:function(e){const t=e.r,r=e.g,n=e.b,i=Math.max(t,r,n),o=i-Math.min(t,r,n);let a=i,s=0===o?0:i===t?(r-n)/o%6:i===r?(n-t)/o+2:(t-r)/o+4,l=0===o?0:o/a;return s<0&&(s+=6),s*=60,l*=100,a*=100/255,{h:s,s:l,v:a}}(m(e))}function w(e){return l(e)?e:function(e){return f(y(e))}(m(e))}function v(e){return u(e)?e:function(e){return function(e){const t=e.l,r=e.a,n=e.b,i=Math.sqrt(r*r+n*n);let o=Math.atan2(n,r);return o=o>0?o:o+2*Math.PI,{l:t,c:i,h:o}}(f(y(e)))}(m(e))}var M,S;function A(e,t,r={}){if(0===e.length||t<=0)return[];if(1===(e=e.map((e=>"string"==typeof e?new n.A(e):e))).length||1===t){const r=[],n=e[0];for(let e=0;e<t;e++)r.push(n.clone());return r}if(r.shuffle&&(e=(0,i.k4)((0,o.o8)(e),r.seed)),e.length>=t){const r=[],n=(e.length-1)/(t-1);for(let i=0;i<t;i++){const t=Math.round(i*n);r.push(e[t].clone())}return r}return function(e,t,r={}){const n=[],o=e.length-1,a=Math.ceil((t-e.length)/o);e:for(let i=0;i<o;i++){const o=e[i],s=e[i+1];for(let i=1;i<=a;i++){const l=i/(a+1);if(n.push(_(o,s,l,r)),n.length+e.length===t)break e}}return[...e.map((e=>e.clone())),...(0,i.k4)(n,r.seed??1)]}(e,t,r)}(S=M||(M={}))[S.Low=160]="Low",S[S.High=225]="High";const I=(e,t)=>{const r=Math.floor(10*t())-5;return Math.min(255,Math.max(0,e+r))};function _(e,t,r,o={}){const a=e.r,s=e.g,l=e.b,u=t.r,p=t.g,c=t.b,d=Math.round(a+(u-a)*r),y=Math.round(s+(p-s)*r),h=Math.round(l+(c-l)*r);if(!o.offset)return new n.A([d,y,h]);const f=(0,i.Mo)(o.seed);return new n.A([I(d,f),I(y,f),I(h,f)])}},81583:(e,t,r)=>{r.d(t,{L:()=>s,g:()=>a});var n=r(60999),i=r(5503),o=r(92474);async function a(e,t){return await e.load(),s(e,t)}async function s(e,t){const r=[],a=(...e)=>{for(const t of e)null!=t&&(Array.isArray(t)?a(...t):i.A.isCollection(t)?t.forEach((e=>a(e))):o.A.isLoadable(t)&&r.push(t))};t(a);let s=null;if(await(0,n.Tj)(r,(async e=>{const t=await(0,n.Ke)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1!==t.ok||s||(s=t)})),s)throw s.error;return e}},39516:(e,t,r)=>{let n;async function i(){return null==n&&(n=r.e(4123).then(r.bind(r,44123)).then((e=>new e.WhereClauseCache(500,500)))),n}async function o(e,t){const r=await i(),n=r.get(e,t);if(null==n)throw r.getError(e,t);return n}function a(e,t){return e||=null,t||=null,"1=1"===e?t??e:"1=1"===t?e??t:e&&t?`(${e}) AND (${t})`:e??t}function s(e,t){return e||=null,t||=null,"1=1"===e||"1=1"===t||e===t?"1=1"===e?e:t:e&&t?`(${e}) OR (${t})`:e??t}r.d(t,{GP:()=>o,IW:()=>s,mA:()=>a})},13069:(e,t,r)=>{r.d(t,{AG:()=>s,lk:()=>i,vD:()=>a,yS:()=>o});const n="randomUUID"in crypto;function i(){if(n)return crypto.randomUUID();const e=crypto.getRandomValues(new Uint16Array(8));e[3]=4095&e[3]|16384,e[4]=16383&e[4]|32768;const t=t=>e[t].toString(16).padStart(4,"0");return t(0)+t(1)+"-"+t(2)+"-"+t(3)+"-"+t(4)+"-"+t(5)+t(6)+t(7)}function o(){return`{${i().toUpperCase()}}`}function a(){return`{${i()}}`}function s(e){const t=e.toUpperCase();return"{"!==e[0]?`{${t}}`:t}},59929:(e,t,r)=>{r.r(t),r.d(t,{default:()=>Ce});var n=r(90237),i=r(69540),o=r(5503),a=r(49186),s=r(81583),l=r(92071),u=r(74887),p=r(36708),c=r(39516),d=r(84952),y=r(10107),h=(r(44208),r(53966)),f=(r(87811),r(36005)),b=r(40608),m=r(4146),g=r(52136),w=r(18768),v=r(63074),M=r(69208),S=r(6455),A=r(47685),I=r(87796),_=r(16131),F=r(8303),x=r(54310),T=r(25036),C=r(82935),E=r(60694),j=r(10873),k=r(15426),O=r(17036),Z=r(30524),L=r(85334),P=r(90360),$=r(86162),q=r(92438),z=r(96576),R=r(93618),V=r(62046),N=r(37531);const G={key:"type",base:q.A,errorContext:"renderer",typeMap:{simple:z.A,"unique-value":R.A,"class-breaks":$.A}},D=(0,P.C)({types:G}),U=["#ed5151","#149ece","#a7c636","#9e559c","#fc921f","#ffde3e","#f789d8","#b7814a","#3caf99","#6b6bd6","#b54779","#7f7f7f"];var H=r(13874),Q=r(4902),B=r(4718),K=r(92474),W=r(93637),X=r(43937),J=r(89317),Y=r(38141),ee=r(16930),te=r(29005),re=r(46499),ne=r(39383),ie=r(61956),oe=r(30291),ae=r(59868),se=r(85360);const le=(0,O.p)();let ue=0;function pe(e,t){let r=e.json.write;return"object"!=typeof r&&(r=e.json.write={}),r.ignoreOrigin=!0,t?.spatialOnly&&(r.layerContainerTypes=J.K),e}function ce(e){const t={write:{ignoreOrigin:!0}};return e?.name&&(t.name=e.name),"object"==typeof t.write&&(e?.spatialOnly&&(t.write.layerContainerTypes=J.K),e?.target&&(t.write.target=e.target)),t}function de(e){switch(e){case"point":case"multipoint":return ae.UK.clone();case"polyline":return ae.A7.clone();case"polygon":case"multipatch":return ae.Cx.clone();default:return null}}function ye(e,t){return null==e?null:t.subtypes?.find((t=>t.code===e))}function he(e,t){let r=null;switch(t.geometryType){case"esriGeometryPoint":case"esriGeometryMultipoint":r="point";break;case"esriGeometryPolyline":r="line";break;case"esriGeometryPolygon":case"esriGeometryMultiPatch":r="polygon";break;default:t.type,r=null}const n={},i=ye(e,t);if(null!=i){const{defaultValues:e}=i;for(const t in e)n[t]=e[t]}return n[t.subtypeField]=e,new te.A({name:"New Feature",drawingTool:r,prototype:{attributes:n}})}let fe=class extends((0,l.P)(i.A.ClonableMixin(Q.A.IdentifiableMixin(K.A)))){constructor(e){super(e),this.attributeTableTemplate=null,this.charts=null,this.editingEnabled=!0,this.fieldOverrides=null,this.fieldsIndex=null,this.formTemplate=null,this.id=`${Date.now().toString(16)}-subtype-sublayer-${ue++}`,this.type="subtype-sublayer",this.labelsVisible=!0,this.labelingInfo=null,this.layerType="ArcGISFeatureLayer",this.legendEnabled=!0,this.listMode="show",this.minScale=0,this.maxScale=0,this.opacity=1,this.parent=null,this.popupEnabled=!0,this.popupTemplate=null,this.subtypeCode=null,this.templates=null,this.title=null,this.visible=!0}load(e){return(0,Z.yp)(this.renderer,this.fieldsIndex),Promise.resolve(this)}get capabilities(){return this.parent?.capabilities}get effectiveCapabilities(){return this.parent?.effectiveCapabilities}get effectiveEditingEnabled(){const{parent:e}=this;return e?e.effectiveEditingEnabled&&this.editingEnabled:this.editingEnabled}get elevationInfo(){return this.parent?.elevationInfo}writeFieldOverrides(e,t,r){const{fields:n,parent:i}=this;let o;if(n){o=[];let e=0;n.forEach((({name:t,alias:r,editable:n,visible:a})=>{if(!a)return;const s=i?.fields?.find((e=>e.name===t));if(!s)return;const l={name:t};let u=!1;r!==s.alias&&(l.alias=r,u=!0),n!==s.editable&&(l.editable=n,u=!0),o.push(l),u&&e++})),0===e&&o.length===n.length&&(o=null)}else o=(0,B.o8)(e);o?.length&&(0,W.sM)(r,o,t)}get fields(){const{parent:e,fieldOverrides:t,subtypeCode:r}=this,n=e?.fields;if(!e||!n?.length)return null;const{subtypes:i,subtypeField:o}=e,a=i?.find((e=>e.code===r)),s=a?.defaultValues,l=a?.domains,u=[];for(const e of n){const n=e.clone(),{name:i}=n,a=t?.find((e=>e.name===i));if(n.visible=!t||!!a,a){const{alias:e,editable:t}=a;e&&(n.alias=e),!1===t&&(n.editable=!1)}const p=s?.[i]??null;n.defaultValue=i===o?r:p;const c=l?.[i]??null;n.domain=i===o?null:c?"inherited"===c.type?n.domain:c.clone():null,u.push(n)}return u}get floorInfo(){return this.parent?.floorInfo}get isTable(){return!!this.parent?.isTable}get geometryType(){return this.parent?.geometryType}get globalIdField(){return this.parent?this.parent.globalIdField:(h.A.getLogger(this).error(ge("globalIdField")),null)}get effectiveScaleRange(){const{minScale:e,maxScale:t}=this;return{minScale:e,maxScale:t}}get objectIdField(){return this.parent||h.A.getLogger(this).error(ge("objectIdField")),this.parent?.objectIdField}get defaultPopupTemplate(){return this.createPopupTemplate()}get relationships(){return this.parent?.relationships}set renderer(e){(0,Z.yp)(e,this.fieldsIndex),this._override("renderer",e)}get renderer(){if(this._isOverridden("renderer"))return this._get("renderer");const{parent:e}=this;return e&&!e.isTable&&"mesh"!==e.geometryType?function(e){return new z.A({symbol:de(e)})}(e.geometryType):null}readRendererFromService(e,t,r){if("Table"===t.type)return null;const n=t.drawingInfo?.renderer,i=D(n,t,r);let o;const{subtypeCode:a}=this;if(null!=a&&function(e,t){return!(!t||"unique-value"!==e?.type||null==e.field||e.field.toLowerCase()!==t.toLowerCase()||e.field2||e.field3||e.valueExpression)}(i,t.subtypeField)){const e=i.uniqueValueInfos?.find((({value:e})=>(e="number"==typeof e?String(e):e)===String(a)));e&&(o=new z.A({symbol:e.symbol}))}else"simple"!==i?.type||i.visualVariables?.length||(o=i);return o}readRenderer(e,t,r){const n=t?.layerDefinition?.drawingInfo?.renderer;if(!n)return;const i=n.visualVariables?.some((e=>"rotationInfo"!==e.type));return i?void 0:D(n,t,r)||void 0}get spatialReference(){return this.parent?.spatialReference??ee.A.WGS84}get subtypeField(){return this.parent?.subtypeField}readTemplatesFromService(e,t){return[he(this.subtypeCode,t)]}readTitleFromService(e,t){const r=ye(this.subtypeCode,t);return null!=r?r.name:null}get url(){return this.parent?.url}get userHasUpdateItemPrivileges(){return!!this.parent?.userHasUpdateItemPrivileges}async addAttachment(e,t){const{parent:r}=this;if(!r)throw ge("addAttachment");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new a.A("subtype-sublayer:addAttachment","The feature provided does not belong to this SubtypeSublayer");return r.addAttachment(e,t)}async updateAttachment(e,t,r){const{parent:n}=this;if(!n)throw ge("updateAttachment");if(e.getAttribute(n.subtypeField)!==this.subtypeCode)throw new a.A("subtype-sublayer:updateAttachment","The feature provided does not belong to this SubtypeSublayer");return n.updateAttachment(e,t,r)}async deleteAttachments(e,t){const{parent:r}=this;if(!r)throw ge("deleteAttachments");if(e.getAttribute(r.subtypeField)!==this.subtypeCode)throw new a.A("subtype-sublayer:deleteAttachments","The feature provided does not belong to this SubtypeSublayer");return r.deleteAttachments(e,t)}async applyEdits(e,t){if(!this.parent)throw ge("applyEdits");return this.parent.applyEdits(e,t)}createPopupTemplate(e){let t=this;const{parent:r,fields:n,title:i}=this;if(r){const{displayField:e,editFieldsInfo:o,objectIdField:a}=r;t={displayField:e,editFieldsInfo:o,fields:n,objectIdField:a,title:i}}return(0,oe.tn)(t,e)}createQuery(){if(!this.parent)throw ge("createQuery");const e=(0,k.VZ)(this.parent),t=`${this.parent.subtypeField}=${this.subtypeCode}`;return e.where=(0,c.mA)(t,this.parent.definitionExpression),e}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains&&this.parent){const t=(0,k.pc)(this.parent,e);if(t)return t}return this._getLayerDomain(e)}async queryAttachments(e,t){const r=await this.load();if(!r.parent)throw ge("queryAttachments");const n=e.clone();return n.where=me(n.where,r.parent.subtypeField,r.subtypeCode),r.parent.queryAttachments(e,t)}async queryFeatureCount(e,t){const r=await this.load();if(!r.parent)throw ge("queryFeatureCount");return r.parent.queryFeatureCount(be(r.parent,r,e),t)}async queryFeatures(e,t){const r=await this.load();if(!r.parent)throw ge("queryFeatures");return r.parent.queryFeatures(be(r.parent,r,e),t)}async queryObjectIds(e,t){const r=await this.load();if(!r.parent)throw ge("queryObjectIds");return r.parent.queryObjectIds(be(r.parent,r,e),t)}async queryRelatedFeatures(e,t){const r=await this.load();if(!r.parent)throw ge("queryRelatedFeatures");return r.parent.queryRelatedFeatures(e,t)}async queryRelatedFeaturesCount(e,t){const r=await this.load();if(!r.parent)throw ge("queryRelatedFeaturesCount");return r.parent.queryRelatedFeaturesCount(e,t)}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}};(0,n._)([(0,y.MZ)({type:se.A,json:ce({name:"attributeTableInfo"})})],fe.prototype,"attributeTableTemplate",void 0),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],fe.prototype,"capabilities",null),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],fe.prototype,"effectiveCapabilities",null),(0,n._)([(0,y.MZ)({json:ce()})],fe.prototype,"charts",void 0),(0,n._)([(0,y.MZ)({type:Boolean,nonNullable:!0,json:ce({name:"enableEditing"})})],fe.prototype,"editingEnabled",void 0),(0,n._)([(0,y.MZ)({type:Boolean,readOnly:!0})],fe.prototype,"effectiveEditingEnabled",null),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],fe.prototype,"elevationInfo",null),(0,n._)([(0,y.MZ)({json:{name:"layerDefinition.fieldOverrides",origins:{service:{read:!1}},write:{ignoreOrigin:!0,allowNull:!0}}})],fe.prototype,"fieldOverrides",void 0),(0,n._)([(0,X.K)("fieldOverrides")],fe.prototype,"writeFieldOverrides",null),(0,n._)([(0,y.MZ)({...le.fields,readOnly:!0,json:{read:!1}})],fe.prototype,"fields",null),(0,n._)([(0,y.MZ)(le.fieldsIndex)],fe.prototype,"fieldsIndex",void 0),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],fe.prototype,"floorInfo",null),(0,n._)([(0,y.MZ)({type:Y.A,json:ce({name:"formInfo"})})],fe.prototype,"formTemplate",void 0),(0,n._)([(0,y.MZ)({type:String,clonable:!1,json:{origins:{service:{read:!1},"portal-item":{read:!1}},write:{ignoreOrigin:!0}}})],fe.prototype,"id",void 0),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],fe.prototype,"isTable",null),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],fe.prototype,"geometryType",null),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],fe.prototype,"globalIdField",null),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],fe.prototype,"type",void 0),(0,n._)([(0,y.MZ)(pe((0,B.o8)(j.kF)))],fe.prototype,"labelsVisible",void 0),(0,n._)([(0,y.MZ)({type:[re.A],json:{name:"layerDefinition.drawingInfo.labelingInfo",origins:{service:{read:!1}},read:{reader:ne.w},write:{ignoreOrigin:!0,layerContainerTypes:J.K}}})],fe.prototype,"labelingInfo",void 0),(0,n._)([(0,y.MZ)({type:["ArcGISFeatureLayer"],readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,layerContainerTypes:J.K}}})],fe.prototype,"layerType",void 0),(0,n._)([(0,y.MZ)(pe((0,B.o8)(j.fV)))],fe.prototype,"legendEnabled",void 0),(0,n._)([(0,y.MZ)({type:["show","hide"]})],fe.prototype,"listMode",void 0),(0,n._)([(0,y.MZ)((()=>{const e=(0,B.o8)(j.hn);return e.json.origins.service.read=!1,pe(e,{spatialOnly:!0})})())],fe.prototype,"minScale",void 0),(0,n._)([(0,y.MZ)((()=>{const e=(0,B.o8)(j.hG);return e.json.origins.service.read=!1,pe(e,{spatialOnly:!0})})())],fe.prototype,"maxScale",void 0),(0,n._)([(0,y.MZ)({readOnly:!0})],fe.prototype,"effectiveScaleRange",null),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],fe.prototype,"objectIdField",null),(0,n._)([(0,y.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0,json:ce({spatialOnly:!0})})],fe.prototype,"opacity",void 0),(0,n._)([(0,y.MZ)({clonable:!1})],fe.prototype,"parent",void 0),(0,n._)([(0,y.MZ)(pe((0,B.o8)(j.M6)))],fe.prototype,"popupEnabled",void 0),(0,n._)([(0,y.MZ)({type:H.A,json:ce({name:"popupInfo"})})],fe.prototype,"popupTemplate",void 0),(0,n._)([(0,y.MZ)({readOnly:!0})],fe.prototype,"defaultPopupTemplate",null),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],fe.prototype,"relationships",null),(0,n._)([(0,y.MZ)({types:G,json:ce({target:"layerDefinition.drawingInfo.renderer",spatialOnly:!0})})],fe.prototype,"renderer",null),(0,n._)([(0,f.w)("service","renderer",["drawingInfo.renderer","subtypeField","type"])],fe.prototype,"readRendererFromService",null),(0,n._)([(0,f.w)("renderer",["layerDefinition.drawingInfo.renderer"])],fe.prototype,"readRenderer",null),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],fe.prototype,"spatialReference",null),(0,n._)([(0,y.MZ)({type:Number,json:{origins:{service:{read:!1}},write:{ignoreOrigin:!0}}})],fe.prototype,"subtypeCode",void 0),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],fe.prototype,"subtypeField",null),(0,n._)([(0,y.MZ)({type:[te.A],json:ce({name:"layerDefinition.templates"})})],fe.prototype,"templates",void 0),(0,n._)([(0,f.w)("service","templates",["geometryType","subtypeField","subtypes","type"])],fe.prototype,"readTemplatesFromService",null),(0,n._)([(0,y.MZ)({type:String,json:ce()})],fe.prototype,"title",void 0),(0,n._)([(0,f.w)("service","title",["subtypes"])],fe.prototype,"readTitleFromService",null),(0,n._)([(0,y.MZ)({readOnly:!0,json:{read:!1}})],fe.prototype,"url",null),(0,n._)([(0,y.MZ)({readOnly:!0})],fe.prototype,"userHasUpdateItemPrivileges",null),(0,n._)([(0,y.MZ)({type:Boolean,nonNullable:!0,json:ce({name:"visibility",spatialOnly:!0})})],fe.prototype,"visible",void 0),fe=(0,n._)([(0,b.$)("esri.layers.support.SubtypeSublayer")],fe);const be=(e,t,r)=>{if(!r)return t.createQuery();const n=ie.A.from(r);return n.where=me(n.where,e.subtypeField,t.subtypeCode),n},me=(e,t,r)=>{const n=new RegExp(`${t}\\s*=\\s*\\d+`),i=`${t}=${r}`,o=e??"";return n.test(o)?o.replace(n,i):(0,c.mA)(i,o)},ge=e=>new a.A(`This sublayer must have a parent SubtypeGroupLayer in order to use ${e}`),we=fe;var ve=r(96184),Me=r(91908),Se=r(54218),Ae=r(92935);const Ie="SubtypeGroupLayer";function _e(e,t){return new a.A("layer:unsupported",`Layer (${e.title}, ${e.id}) of type '${e.declaredClass}' ${t}`,{layer:e})}function Fe(e,t){const r=[];for(const n of e){const e=new we;e.read(n,t),r.push(e)}return r}const xe=(0,O.p)();let Te=class extends((0,I.j)((0,S.FJ)((0,A.w6)((0,v.dM)((0,C.e)((0,T.j)((0,x.J)((0,w.b)((0,_.q)((0,F.A)((0,l.P)((0,M.d)((0,g.p)(i.A.ClonableMixin(m.A))))))))))))))){constructor(...e){super(...e),this._sublayerLookup=new Map,this.fields=null,this.fieldsIndex=null,this.outFields=null,this.sublayers=new(o.A.ofType(we)),this.useUniqueColorsForSublayers=!0,this.supportedSourceTypes=new Set(["Feature Layer","Table"]),this.timeInfo=null,this.title="Layer",this.type="subtype-group",this._debouncedSaveOperations=(0,u.sg)((async(e,t,n)=>{const{save:i,saveAs:o}=await r.e(5740).then(r.bind(r,33359));switch(e){case Ae.X.SAVE:return i(this,t);case Ae.X.SAVE_AS:return o(this,n,t)}})),this.addHandles((0,p.wB)((()=>this.sublayers),((e,t)=>this._handleSublayersChange(e,t)),p.OH))}destroy(){this.source?.destroy()}normalizeCtorArgs(e,t){return"string"==typeof e?{url:e,...t}:e}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Feature Service"]},e).catch(u.QP).then((async()=>{if(!this.url)throw new a.A("subtype-grouplayer:missing-url-or-source","SubtypeGroupLayer must be created with either a url or a portal item");if(null==this.layerId)throw new a.A("subtype-grouplayer:missing-layerid","layerId is required for a SubtypeGroupLayer created with url");return this._initLayerProperties(await this.createGraphicsSource(t))})).then((()=>(0,k.VA)(this,"load",e)));return this.addResolvingPromise(r),Promise.resolve(this)}get createQueryVersion(){return this.commitProperty("definitionExpression"),this.commitProperty("timeExtent"),this.commitProperty("timeOffset"),this.commitProperty("geometryType"),this.commitProperty("gdbVersion"),this.commitProperty("historicMoment"),this.commitProperty("returnZ"),this.commitProperty("capabilities"),this.commitProperty("returnM"),(this._get("createQueryVersion")??0)+1}get editingEnabled(){return this.loaded&&null!=this.capabilities&&this.capabilities.operations.supportsEditing&&this.userHasEditingPrivileges}get effectiveEditingEnabled(){return(0,k.C$)(this)}get operationalLayerType(){return this.isTable?"SubtypeGroupTable":"SubtypeGroupLayer"}get parsedUrl(){const e=(0,d.An)(this.url);return null!=e&&null!=this.layerId&&(e.path=(0,d.fj)(e.path,this.layerId.toString())),e}set source(e){this._get("source")!==e&&this._set("source",e)}readTitleFromService(e,{name:t}){return this.url?(0,E.yG)(this.url,t):t}async addAttachment(e,t){const r=await(0,k.Xl)(this,e,t,Ie);return this.lastEditsEventDate=new Date,r}async updateAttachment(e,t,r){const n=await(0,k.bt)(this,e,t,r,Ie);return this.lastEditsEventDate=new Date,n}async applyEdits(e,t){return(0,k.ct)(this,e,t)}on(e,t){return super.on(e,t)}async createGraphicsSource(e){const{default:t}=await(0,u.qr)(Promise.all([r.e(364),r.e(8628),r.e(2593),r.e(9062)]).then(r.bind(r,72593)),e);return new t({layer:this,supportedSourceTypes:this.supportedSourceTypes}).load({signal:e})}createQuery(){const e=(0,k.VZ)(this),t=this.sublayers.map((e=>e.subtypeCode));return e.where=(0,c.mA)(`${this.subtypeField} IN (${t.join(",")})`,this.definitionExpression),e}async deleteAttachments(e,t){const r=await(0,k.mm)(this,e,t,Ie);return this.lastEditsEventDate=new Date,r}async fetchRecomputedExtents(e){return(0,k.WP)(this,e,Ie)}findSublayerForFeature(e){const t=this.fieldsIndex.get(this.subtypeField),r=e.attributes[t.name];return this.findSublayerForSubtypeCode(r)}findSublayerForSubtypeCode(e){return this._sublayerLookup.get(e)}getFieldDomain(e,t){if(!t?.excludeImpliedDomains){const t=(0,k.pc)(this,e);if(t)return t}const r=(0,k.Nv)(this,t?.feature);if(r){const t=r.domains?.[e];return"inherited"===t?.type?this._getLayerDomain(e):t}return this._getLayerDomain(e)}loadAll(){return(0,s.g)(this,(e=>{e(this.sublayers)}))}async queryAttachments(e,t){return(0,k.lV)(this,e,t,Ie)}async queryFeatures(e,t){const r=await this.load(),n=ie.A.from(e)??r.createQuery(),i=n.outFields??[];i.includes(this.subtypeField)||(i.push(this.subtypeField),n.outFields=i);const o=await r.source.queryFeatures(n,t);if(o?.features)for(const e of o.features)e.layer=e.sourceLayer=this.findSublayerForFeature(e);return o}async queryObjectIds(e,t){return(await(0,k.sg)(this,e,t,Ie)).filter(Se.Et)}async queryFeatureCount(e,t){return(0,k.Ye)(this,e,t,Ie)}async queryExtent(e,t){return(0,k.B5)(this,e,t,Ie)}async queryRelatedFeatures(e,t){return(0,k.hM)(this,e,t,Ie)}async queryRelatedFeaturesCount(e,t){return(0,k.S2)(this,e,t,Ie)}async save(e){return this._debouncedSaveOperations(Ae.X.SAVE,e)}async saveAs(e,t){return this._debouncedSaveOperations(Ae.X.SAVE_AS,t,e)}write(e,t){const{origin:r,layerContainerType:n,messages:i}=t;if(this.isTable){if("web-scene"===r||"web-map"===r&&"tables"!==n)return i?.push(_e(this,"using a table source cannot be written to web scenes and web maps")),null}else if(this.loaded&&"web-map"===r&&"tables"===n)return i?.push(_e(this,"using a non-table source cannot be written to tables in web maps")),null;return this.sublayers?.length?super.write(e,t):(i?.push(new a.A("web-document-write:invalid-property",`Layer (${this.title}, ${this.id}) of type '${this.declaredClass}' has invalid value for 'sublayers' property. 'sublayers' collection should contain at least one sublayer`,{layer:this})),null)}serviceSupportsSpatialReference(e){return!!this.loaded&&(0,Me.D)(this,e)}_getLayerDomain(e){const t=this.fieldsIndex.get(e);return t?t.domain:null}async _initLayerProperties(e){this._set("source",e);const{sourceJSON:t}=e;if(t&&(this.sourceJSON=t,this.read(t,{origin:"service",url:this.parsedUrl})),!this.subtypes?.length)throw new a.A("subtype-grouplayer:missing-subtypes","SubtypeGroupLayer must be created using a layer with subtypes");this._verifyFields(),(0,Z.sv)(this.timeInfo,this.fieldsIndex)}async hasDataChanged(){return(0,k.jp)(this)}_verifyFields(){const e=this.parsedUrl?.path??"undefined";this.objectIdField||console.log("SubtypeGroupLayer: 'objectIdField' property is not defined (url: "+e+")"),this.isTable||-1!==e.search(/\/FeatureServer\//i)||this.fields?.some((e=>"geometry"===e.type))||console.log("SubtypeGroupLayer: unable to find field of type 'geometry' in the layer 'fields' list. If you are using a map service layer, features will not have geometry (url: "+e+")")}_handleSublayersChange(e,t){t&&(t.forEach((e=>{e.parent=null})),this.removeHandles("sublayers-owner"),this._sublayerLookup.clear()),e&&(e.forEach((e=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)})),this.addHandles([e.on("after-add",(({item:e})=>{e.parent=this,this._sublayerLookup.set(e.subtypeCode,e)})),e.on("after-remove",(({item:e})=>{e.parent=null,this._sublayerLookup.delete(e.subtypeCode)}))],"sublayers-owner"))}};(0,n._)([(0,y.MZ)({readOnly:!0})],Te.prototype,"createQueryVersion",null),(0,n._)([(0,y.MZ)({readOnly:!0})],Te.prototype,"editingEnabled",null),(0,n._)([(0,y.MZ)({readOnly:!0})],Te.prototype,"effectiveEditingEnabled",null),(0,n._)([(0,y.MZ)({...xe.fields,readOnly:!0,json:{origins:{service:{read:!0}},read:!1}})],Te.prototype,"fields",void 0),(0,n._)([(0,y.MZ)(xe.fieldsIndex)],Te.prototype,"fieldsIndex",void 0),(0,n._)([(0,y.MZ)(j.id)],Te.prototype,"id",void 0),(0,n._)([(0,y.MZ)({type:["show","hide","hide-children"],json:{origins:{"portal-item":{read:!1,write:!1}}}})],Te.prototype,"listMode",void 0),(0,n._)([(0,y.MZ)({type:["SubtypeGroupLayer","SubtypeGroupTable"],json:{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0},origins:{"web-document":{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0}},"portal-item":{name:"layerType",read:{enabled:!0},write:{enabled:!0,ignoreOrigin:!0,isRequired:!0}}}}})],Te.prototype,"operationalLayerType",null),(0,n._)([(0,y.MZ)(xe.outFields)],Te.prototype,"outFields",void 0),(0,n._)([(0,y.MZ)({readOnly:!0})],Te.prototype,"parsedUrl",null),(0,n._)([(0,y.MZ)({clonable:!1})],Te.prototype,"source",null),(0,n._)([(0,y.MZ)({type:o.A.ofType(we),json:{origins:{service:{read:{source:"subtypes",reader(e,t,r){let n=null;if(this.useUniqueColorsForSublayers){const i=function(e,t){const r=e.drawingInfo?.renderer,n=r?D(r,e,t):null;if("simple"===n?.type)return(0,N.Sx)(n.symbol,null)?n.symbol.clone():null}(t,r);n=i?function(e,t){return(0,L.Iy)(U,e,{offset:!0,shuffle:!0}).reverse().map((e=>{const r=t.clone();return"cim"===r.type?(0,V.Fe)(r,e):(0,N.dt)(r,e),new z.A({symbol:r})}))}(e.length,i):null}const i=e.map((({code:e},i)=>{const o=new we({subtypeCode:e});o.read(t,r);const a=n?.[i];return a&&o.read({drawingInfo:{renderer:a.toJSON()}},r),o}));return new(o.A.ofType(we))(i)}}}},read:{source:["layers","tables"],reader(e,t,r){let n;return"SubtypeGroupLayer"===t.layerType&&t.layers?.length?n=Fe(t.layers,r):"SubtypeGroupTable"===t.layerType&&t.tables?.length&&(n=Fe(t.tables,r)),new(o.A.ofType(we))(n)}},write:{ignoreOrigin:!0,writer(e,t,r,n){const i=[];for(const t of e){const e=t.write({},n);i.push(e)}this.isTable?t.tables=i:t.layers=i}}}})],Te.prototype,"sublayers",void 0),(0,n._)([(0,y.MZ)()],Te.prototype,"useUniqueColorsForSublayers",void 0),(0,n._)([(0,y.MZ)({type:ve.A})],Te.prototype,"timeInfo",void 0),(0,n._)([(0,y.MZ)({json:{origins:{"portal-item":{write:{enabled:!0,ignoreOrigin:!0,writerEnsuresNonNull:!0}}}}})],Te.prototype,"title",void 0),(0,n._)([(0,f.w)("service","title",["name"])],Te.prototype,"readTitleFromService",null),(0,n._)([(0,y.MZ)({json:{read:!1}})],Te.prototype,"type",void 0),Te=(0,n._)([(0,b.$)("esri.layers.SubtypeGroupLayer")],Te);const Ce=Te},41560:(e,t,r)=>{r.d(t,{Ch:()=>a,mW:()=>o});var n=r(34727),i=r(39516);function o(e,t){return{...t,filterMode:e.mode}}function a(e,t,r){const o=function(e){if("manual"===u(e))return null;const t=[Number.NEGATIVE_INFINITY,Number.POSITIVE_INFINITY];for(const{minScale:r,maxScale:n}of e.filters)t[0]=Math.max(t[0],p(r)),t[1]=Math.min(t[1],c(n));return t}(e);if(o&&((0,n.gg)(t,o[0])||(0,n.ZH)(r,o[1])))return"";const a=Array.from(s(e,t,r)),l=function(e,t,r){if(0===e.length)return!0;const i=p(e.at(0)?.minScale),o=c(e.at(-1)?.maxScale);if((0,n.ZH)(i,t)||(0,n.gg)(o,r))return!0;for(let t=0;t<e.length-1;t++){const r=e[t],i=e[t+1];if((0,n.ZH)(p(i.minScale),c(r.maxScale)))return!0}return!1}(a,t,r)?"1=1":a.map((e=>e.where||"1=1")).reduce(((e,t)=>(0,i.IW)(e,t)),"");return l&&"1=1"!==l?l:""}function*s(e,t,r){if("manual"===u(e)){const t=e.filters.find((t=>t.id===e.activeFilterId));t&&(yield t)}else{"object"==typeof t&&(t=t.scale);for(const n of e.filters)l(n.minScale,n.maxScale,t,r)&&(yield n)}}function l(e,t,r,i){return e=p(e),r=p(r),t=c(t),!(!(0,n.Sp)(r,e)&&(i??r)>e||(0,n.Hx)(t,r)||void 0!==i&&(0,n.Sp)(i,e))}function u(e){return"mode"in e?e.mode:e.filterMode}function p(e){return e||Number.POSITIVE_INFINITY}function c(e){return e||0}},32730:(e,t,r)=>{r.d(t,{BI:()=>b,D3:()=>h,XJ:()=>f,lc:()=>y,mX:()=>g,rU:()=>m,tH:()=>A});var n=r(799);const i="__begin__",o="__end__",a=new RegExp(i,"ig"),s=new RegExp(o,"ig"),l=new RegExp("^"+i,"i"),u=new RegExp(o+"$","i"),p='"',c=p+" + ",d=" + "+p;function y(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function f(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=y(e.labelExpression),t.type="conventional"),t}function b(e){const t=f(e);switch(t.type){case"conventional":return g(t.expression);case"arcade":return t.expression}return null}function m(e){const t=f(e);switch(t.type){case"conventional":return function(e){const t=e?.match(w);return t?.[1].trim()||null}(t.expression);case"arcade":return A(t.expression)}return null}function g(e){let t;return e?(t=(0,n.HC)(e,(e=>i+'$feature["'+e+'"]'+o)),t=l.test(t)?t.replace(l,""):p+t,t=u.test(t)?t.replace(u,""):t+p,t=t.replaceAll(a,c).replaceAll(s,d)):t='""',t}const w=/^\s*\{([^}]+)\}\s*$/i,v=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,M=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,S=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function A(e){if(!e)return null;let t=v.exec(e)||M.exec(e);return t?t[1]||t[3]:(t=S.exec(e),t?t[2]:null)}},41366:(e,t,r)=>{r.d(t,{K:()=>d,Q:()=>u});var n=r(90237),i=r(66552),o=r(53966),a=r(10107),s=(r(44208),r(87811),r(93223)),l=r(40608);const u=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),p="percent-of-total",c="field",d=e=>{let t=class extends e{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&c||r&&p||null,t&&r&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==c&&e!==p||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,n._)([(0,a.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],t.prototype,"normalizationField",void 0),(0,n._)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],t.prototype,"normalizationMaxValue",void 0),(0,n._)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],t.prototype,"normalizationMinValue",void 0),(0,n._)([(0,a.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],t.prototype,"normalizationTotal",void 0),(0,n._)([(0,s.e)(u,{name:"parameters.normalizationType"})],t.prototype,"normalizationType",null),t=(0,n._)([(0,l.$)("esri.rest.support.NormalizationBinParametersMixin")],t),t}},62046:(e,t,r)=>{r.d(t,{Fe:()=>l,Nk:()=>o});var n=r(68197),i=r(93397);function o(e){const t=[];return a((0,i.lW)(e),t),t.length?new n.A((0,i.e6)(t[0])):null}function a(e,t){if(!e)return;let r;r="CIMTextSymbol"===e.type?e.symbol:e;const n="CIMPolygonSymbol"===e.type;if(r?.symbolLayers)for(const e of r.symbolLayers)if(!(e.colorLocked||n&&((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))))switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor&&s(t,e.tintColor);break;case"CIMVectorMarker":e.markerGraphics?.forEach((e=>{a(e.symbol,t)}));break;case"CIMSolidStroke":case"CIMSolidFill":s(t,e.color);break;case"CIMHatchFill":a(e.lineSymbol,t)}}function s(e,t){for(const r of e)if(r.join(".")===t.join("."))return;e.push(t)}function l(e,t,r){t instanceof n.A||(t=new n.A(t));const o=(0,i.lW)(e);o&&u(o,t,r)}function u(e,t,r){if(!e)return;let n;n="CIMTextSymbol"===e.type?e.symbol:e;const o="CIMPolygonSymbol"===n?.type;if(n?.symbolLayers)for(const e of n.symbolLayers){if(e.colorLocked)continue;if(o)if(r){const{layersToColor:t}=r;if(((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))&&"fill"===t||(0,i.jn)(e)&&"outline"===t)continue}else if((0,i.mA)(e)||(0,i.MM)(e)&&e.markerPlacement&&(0,i.zr)(e.markerPlacement))continue;const n=t.toArray();switch(e.type){case"CIMPictureMarker":case"CIMPictureStroke":case"CIMPictureFill":e.tintColor=n;break;case"CIMVectorMarker":e.markerGraphics?.forEach((e=>{u(e.symbol,t,r)}));break;case"CIMSolidStroke":case"CIMSolidFill":e.color=n;break;case"CIMHatchFill":u(e.lineSymbol,t,r)}}}},37531:(e,t,r)=>{r.d(t,{dt:()=>y,GG:()=>g,UQ:()=>m,Sx:()=>c});var n=r(68197),i=r(60999),o=(r(44208),r(51850)),a=(r(76369),r(62046)),s=(r(2741),r(78888),r(66344));new Map([["dash",[4,3]],["dashdot",[4,3,1,3]],["dot",[1,3]],["longdash",[8,3]],["longdashdot",[8,3,1,3]],["longdashdotdot",[8,3,1,3,1,3]],["shortdash",[4,1]],["shortdashdot",[4,1,1,1]],["shortdashdotdot",[4,1,1,1,1,1]],["shortdot",[1,1]],["solid",[]]]),new s.q(1e3),new n.A([128,128,128]);var l=r(78504),u=r(33910);const p=new n.A("white");function c(e,t){if(!e)return null;let r=null;return(0,u.wk)(e)?r=function(e){const t=e.symbolLayers;if(!t)return null;let r=null;return t.forEach((e=>{"object"===e.type&&e.resource?.href||(r="water"===e.type?e.color:e.material?e.material.color:null)})),r?new n.A(r):null}(e):(0,u.$y)(e)&&(r="cim"===e.type?(0,a.Nk)(e):e.color?new n.A(e.color):null),r?d(r,t):null}function d(e,t){if(null==t||null==e)return e;const r=e.toRgba();return r[3]=r[3]*t,new n.A(r)}function y(e,t,r){e&&(t||null!=r)&&(t&&(t=new n.A(t)),(0,u.wk)(e)?function(e,t,r){const n=e.symbolLayers;if(!n)return;const i=e=>d(t=t??e??(null!=r?p:null),r);n.forEach((e=>{if("object"!==e.type||!e.resource?.href||t)if("water"===e.type)e.color=i(e.color);else{const t=null!=e.material?e.material.color:null,n=i(t);null==e.material?e.material=new l.N({color:n}):e.material.color=n,null!=r&&"outline"in e&&null!=e.outline?.color&&(e.outline.color=d(e.outline.color,r))}}))}(e,t,r):(0,u.$y)(e)&&function(e,t,r){(t=t??e.color)&&(e.color=d(t,r)),null!=r&&"outline"in e&&e.outline?.color&&(e.outline.color=d(e.outline.color,r))}(e,t,r))}function h(e){for(const t of e)if("number"==typeof t)return t;return null}function f(e,t,r){for(let n=0;n<3;n++){const i=e[n];switch(i){case"symbol-value":{const e=r[n];return null!=e?e/t[n]:1}case"proportional":break;default:if(i&&t[n])return i/t[n]}}return 1}function b(e,t,r,n){switch(e){case"proportional":return r*n;case"symbol-value":return null!=t?t:r;default:return e}}async function m(e,t){if(e&&t)return(0,u.wk)(e)?async function(e,t){const n=e.symbolLayers;n&&await(0,i.jJ)(n,(async e=>async function(e,t){switch(e.type){case"extrude":!function(e,t){e.size="number"==typeof t[2]?t[2]:0}(e,t);break;case"icon":case"line":case"text":!function(e,t){const r=h(t);null!=r&&(e.size=r)}(e,t);break;case"path":!function(e,t){const r=f(t,o.Un,[e.width,void 0,e.height]);e.width=b(t[0],e.width,1,r),e.height=b(t[2],e.height,1,r)}(e,t);break;case"object":await async function(e,t){const{resourceSize:n,symbolSize:i}=await async function(e){const{computeObjectLayerResourceSize:t}=await r.e(5404).then(r.bind(r,95404)),n=await t(e,10),{width:i,height:o,depth:a}=e,s=[i,a,o];let l=1;for(let e=0;e<3;e++){const t=s[e];if(null!=t){l=t/n[e];break}}for(let e=0;e<3;e++)null==s[e]&&(s[e]=n[e]*l);return{resourceSize:n,symbolSize:s}}(e),o=f(t,n,i);e.width=b(t[0],i[0],n[0],o),e.depth=b(t[1],i[1],n[1],o),e.height=b(t[2],i[2],n[2],o)}(e,t)}}(e,t)))}(e,t):void((0,u.$y)(e)&&function(e,t){const r=h(t);if(null!=r)switch(e.type){case"simple-marker":e.size=r;break;case"picture-marker":{const t=e.width/e.height;t>1?(e.width=r,e.height=r*t):(e.width=r*t,e.height=r);break}case"simple-line":e.width=r;break;case"text":e.font.size=r}}(e,t))}function g(e,t,r){if(e&&null!=t)if((0,u.wk)(e)){const n=e.symbolLayers;n&&n.forEach((e=>{if("object"===e.type)switch(r){case"tilt":e.tilt=(e.tilt??0)+t;break;case"roll":e.roll=(e.roll??0)+t;break;default:e.heading=(e.heading??0)+t}"icon"===e.type&&(e.angle+=t)}))}else(0,u.$y)(e)&&("simple-marker"!==e.type&&"picture-marker"!==e.type&&"text"!==e.type||(e.angle+=t))}},92935:(e,t,r)=>{var n;r.d(t,{X:()=>n}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(n||(n={}))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6160],{46160:(e,t,n)=>{n.r(t),n.d(t,{execute:()=>c,executeMany:()=>u});var r=n(4576),o=n(83047),i=n(
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6160],{46160:(e,t,n)=>{n.r(t),n.d(t,{execute:()=>c,executeMany:()=>u});var r=n(4576),o=n(83047),i=n(78042),a=n(83299);function c(e,t,n={}){const{unit:r}=n,c=(0,a.getSpatialReference)(e);r&&c&&(t=(0,o.UW)(t,r,c));const u=(0,a.fromGeometry)(e),m=u.getSpatialReference();return(0,a.toGeometry)((0,i.g7)(u.getGeometry(),m,t),m)}function u(e,t,n={}){let{maxDeviation:c=NaN,maxVerticesInFullCircle:u=96,union:m=!1,unit:l}=n;const s=(0,a.getSpatialReference)(e);l&&s&&(t=t.map((e=>(0,o.UW)(e,l,s))),c&&(c=(0,o.UW)(c,l,s)));const[f,p]=(0,a.fromGeometries)(e);return(0,i.yv)(f,p,t,c,u,m).map((e=>(0,a.toGeometry)(e,p))).filter(r.Ru)}}}]);
|
|
@@ -40,7 +40,9 @@ $include_Expand: $include_widgets !default;
|
|
|
40
40
|
$include_Feature: $include_widgets !default;
|
|
41
41
|
$include_FeatureContent: $include_widgets !default;
|
|
42
42
|
$include_FeatureForm: $include_widgets !default;
|
|
43
|
+
$include_FeatureFormUtilityNetworkAssociationLayers: $include_widgets !default;
|
|
43
44
|
$include_FeatureFormUtilityNetworkAssociationList: $include_widgets !default;
|
|
45
|
+
$include_FeatureFormUtilityNetworkAssociationSettings: $include_widgets !default;
|
|
44
46
|
$include_FeatureMedia: $include_widgets !default;
|
|
45
47
|
$include_Features: $include_widgets !default;
|
|
46
48
|
$include_FeatureTable: $include_widgets !default;
|
|
@@ -148,7 +150,9 @@ $calcite-fonts-path: "../base/fonts/fonts/" !default;
|
|
|
148
150
|
@import "widgets/Feature";
|
|
149
151
|
@import "widgets/FeatureContent";
|
|
150
152
|
@import "widgets/FeatureForm";
|
|
153
|
+
@import "widgets/FeatureFormUtilityNetworkAssociationLayers";
|
|
151
154
|
@import "widgets/FeatureFormUtilityNetworkAssociationList";
|
|
155
|
+
@import "widgets/FeatureFormUtilityNetworkAssociationSettings";
|
|
152
156
|
@import "widgets/FeatureMedia";
|
|
153
157
|
@import "widgets/Features";
|
|
154
158
|
@import "widgets/FeatureTable";
|
|
@@ -152,7 +152,6 @@
|
|
|
152
152
|
--calcite-font-size--2: var(--calcite-font-size--3);
|
|
153
153
|
|
|
154
154
|
cursor: inherit;
|
|
155
|
-
max-width: 60px;
|
|
156
155
|
}
|
|
157
156
|
}
|
|
158
157
|
|
|
@@ -216,10 +215,6 @@
|
|
|
216
215
|
position: absolute;
|
|
217
216
|
inset-block-end: $item-content-height + $side-spacing--third;
|
|
218
217
|
inset-inline-end: $side-spacing--third;
|
|
219
|
-
|
|
220
|
-
calcite-chip {
|
|
221
|
-
max-width: math.floor(($thumbnail-width - 2 * $side-spacing--third - $side-spacing--quarter) * 0.5);
|
|
222
|
-
}
|
|
223
218
|
}
|
|
224
219
|
}
|
|
225
220
|
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
@mixin featureFormUtilityNetworkAssociationLayers() {
|
|
2
|
+
.esri-feature-form-utility-network-association-layers {
|
|
3
|
+
background-color: transparent;
|
|
4
|
+
|
|
5
|
+
&__header {
|
|
6
|
+
> * {
|
|
7
|
+
margin-block-end: $cap-spacing;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
> :last-child {
|
|
11
|
+
color: var(--calcite-color-text-3);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&__heading-content {
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
|
|
19
|
+
calcite-icon {
|
|
20
|
+
margin-inline-end: $cap-spacing;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&__list-container {
|
|
25
|
+
min-height: $list-item-height;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__feature-observer {
|
|
29
|
+
position: relative;
|
|
30
|
+
bottom: 20px;
|
|
31
|
+
z-index: 2;
|
|
32
|
+
text-align: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__filter-container {
|
|
36
|
+
top: $cap-spacing;
|
|
37
|
+
z-index: 1;
|
|
38
|
+
margin-bottom: $cap-spacing;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&__filter-options-container {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__filter-options-header {
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: row;
|
|
49
|
+
align-items: baseline;
|
|
50
|
+
|
|
51
|
+
span {
|
|
52
|
+
flex-grow: 1;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&__sticky-loading-container {
|
|
57
|
+
display: flex;
|
|
58
|
+
position: sticky;
|
|
59
|
+
bottom: 10px;
|
|
60
|
+
align-items: center;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
z-index: 2;
|
|
63
|
+
margin: 0;
|
|
64
|
+
padding: 0;
|
|
65
|
+
height: $list-item-height;
|
|
66
|
+
pointer-events: none;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&__loading-container {
|
|
70
|
+
display: flex;
|
|
71
|
+
justify-content: center;
|
|
72
|
+
padding: $cap-spacing 0;
|
|
73
|
+
width: 100%;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
@if $include_FeatureFormUtilityNetworkAssociationLayers == true {
|
|
79
|
+
@include featureFormUtilityNetworkAssociationLayers();
|
|
80
|
+
}
|
|
@@ -10,6 +10,11 @@
|
|
|
10
10
|
> :last-child {
|
|
11
11
|
color: var(--calcite-color-text-3);
|
|
12
12
|
}
|
|
13
|
+
|
|
14
|
+
calcite-block {
|
|
15
|
+
margin-block-start: calc($cap-spacing--plus-half * -1);
|
|
16
|
+
margin-inline: calc($side-spacing * -1);
|
|
17
|
+
}
|
|
13
18
|
}
|
|
14
19
|
|
|
15
20
|
&__heading-content {
|
|
@@ -22,7 +27,16 @@
|
|
|
22
27
|
}
|
|
23
28
|
|
|
24
29
|
&__list-container {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
25
32
|
min-height: $list-item-height;
|
|
33
|
+
|
|
34
|
+
calcite-fab {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: row;
|
|
37
|
+
align-self: center;
|
|
38
|
+
margin-block: var(--calcite-spacing-md);
|
|
39
|
+
}
|
|
26
40
|
}
|
|
27
41
|
}
|
|
28
42
|
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@mixin featureFormUtilityNetworkAssociationSettings() {
|
|
2
|
+
.esri-feature-form-utility-network-association-settings {
|
|
3
|
+
--calcite-block-padding: 0;
|
|
4
|
+
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
background-color: transparent;
|
|
8
|
+
|
|
9
|
+
calcite-block {
|
|
10
|
+
margin-block: 0;
|
|
11
|
+
border: 1px solid var(--calcite-color-border-3);
|
|
12
|
+
|
|
13
|
+
&:first-of-type {
|
|
14
|
+
border-radius: 8px 8px 0 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&:last-of-type {
|
|
18
|
+
margin-block-end: var(--calcite-spacing-md);
|
|
19
|
+
border-top: none;
|
|
20
|
+
border-radius: 0 0 8px 8px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
calcite-label {
|
|
24
|
+
margin-inline: var(--calcite-spacing-md);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__info-container {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
|
|
32
|
+
> * {
|
|
33
|
+
margin-block-end: var(--calcite-spacing-md);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@if $include_FeatureFormUtilityNetworkAssociationSettings == true {
|
|
40
|
+
@include featureFormUtilityNetworkAssociationSettings();
|
|
41
|
+
}
|
|
@@ -5,16 +5,11 @@
|
|
|
5
5
|
width: 100%;
|
|
6
6
|
height: 100%;
|
|
7
7
|
|
|
8
|
-
&__operator-select {
|
|
9
|
-
margin-block: var(--calcite-spacing-sm);
|
|
10
|
-
margin-inline: var(--calcite-spacing-md);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
8
|
calcite-fab {
|
|
14
9
|
display: flex;
|
|
15
10
|
flex-direction: row;
|
|
16
11
|
align-self: center;
|
|
17
|
-
|
|
12
|
+
margin-block: var(--calcite-spacing-md);
|
|
18
13
|
}
|
|
19
14
|
}
|
|
20
15
|
}
|