@arcgis/core 5.1.0-next.76 → 5.1.0-next.78
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/analysis/ElevationProfile/ElevationProfileGroup.d.ts +74 -0
- package/analysis/ElevationProfile/ElevationProfileGroup.js +2 -0
- package/analysis/ElevationProfileAnalysis.d.ts +29 -14
- package/analysis/ElevationProfileAnalysis.js +1 -1
- package/applications/Components/OrientedImageryViewer/ImageViewer/utils.d.ts +34 -0
- package/applications/Components/OrientedImageryViewer/ImageViewer/utils.js +2 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{537fe2522dff1e6ce03b.js → 11ea4be441a26134ce1f.js} +1 -1
- package/assets/esri/core/workers/chunks/17acbf40e7c1cb42d9bd.js +1 -0
- package/assets/esri/core/workers/chunks/1c7fd0a229a8112b0539.js +596 -0
- package/assets/esri/core/workers/chunks/{baeb96aef03d4c566af7.js → 1f53620f82cc7c3daabe.js} +1 -1
- package/assets/esri/core/workers/chunks/2387613b855771a3e537.js +1 -0
- package/assets/esri/core/workers/chunks/283d39dfb1625b5a74db.js +1 -0
- package/assets/esri/core/workers/chunks/{5e1b847b116d21908a54.js → 322c54081b25f1c53661.js} +1 -1
- package/assets/esri/core/workers/chunks/{330b47ac0759c3c35cc5.js → 34fe97bcacc0dfc5bce6.js} +1 -1
- package/assets/esri/core/workers/chunks/{14eb2cc8e2ad6d8d03fd.js → 3d9fcbe95dd22dbe730e.js} +1 -1
- package/assets/esri/core/workers/chunks/{e262c4864dc06c43b380.js → 3df8493b91aa3bce824d.js} +1 -1
- package/assets/esri/core/workers/chunks/{bf8f603848bad4a7deb4.js → 4ccb56333de0247dcb6f.js} +1 -1
- package/assets/esri/core/workers/chunks/5b6f2bfdcdd207d8ae42.js +1 -0
- package/assets/esri/core/workers/chunks/{88b480a1d1fb01778798.js → 5ee4b630ad39c21d11db.js} +21 -26
- package/assets/esri/core/workers/chunks/{6b66fc32451433129a88.js → 8508f238d99021e87f71.js} +1 -1
- package/assets/esri/core/workers/chunks/{bc75ab48f4c7609ef09d.js → 85d3475667c503ec4fc6.js} +1 -1
- package/assets/esri/core/workers/chunks/{9d6491f996eeb0c646ed.js → 85d8c7cc7f8decbe975d.js} +1 -1
- package/assets/esri/core/workers/chunks/9b9916864b6575c42c8a.js +1 -0
- package/assets/esri/core/workers/chunks/{75d5ea0da181f9e7425f.js → a8ca5d8740cc7e39197b.js} +6 -6
- package/assets/esri/core/workers/chunks/{8d75f6f27c1c17c33992.js → b7bb7072dbee978f3ca3.js} +1 -1
- package/assets/esri/core/workers/chunks/bf7e019437a3b6036300.js +2 -0
- package/assets/esri/core/workers/chunks/{99c161fecae710b53b40.js → d304343a781acfa3ff96.js} +1 -1
- package/assets/esri/core/workers/chunks/dbb9bb28696ff9536678.js +2 -0
- package/assets/esri/core/workers/chunks/{34ea3ed78041437a8fc8.js → f81c6f6ccc201f584970.js} +1 -1
- package/assets/esri/themes/base/_core.scss +2 -0
- package/assets/esri/themes/base/widgets/_PluginSettingsControls.scss +29 -0
- 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/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer.json +1 -1
- package/assets/esri/widgets/OrientedImageryViewer/t9n/OrientedImageryViewer_en.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ar.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_bg.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_bs.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ca.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_cs.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_da.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_de.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_el.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_en.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_es.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_et.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_fi.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_fr.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_he.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_hr.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_hu.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_id.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_it.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ja.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ko.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_lt.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_lv.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_nl.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_no.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_pl.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_pt-BR.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_pt-PT.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ro.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_ru.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_sk.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_sl.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_sr.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_sv.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_th.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_tr.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_uk.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_vi.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_zh-CN.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_zh-HK.json +1 -1
- package/assets/esri/widgets/Sketch/t9n/Sketch_zh-TW.json +1 -1
- package/config.js +1 -1
- package/core/types.d.ts +28 -0
- package/form/elements/inputs/MultipleChoiceInput.d.ts +2 -2
- package/form/elements/inputs/MultipleChoiceInput.js +1 -1
- package/geometry/operators/types.d.ts +2 -2
- package/interfaces.d.ts +4 -7
- package/kernel.js +1 -1
- package/layers/ImageryLayer.d.ts +7 -1
- package/layers/ImageryLayer.js +1 -1
- package/layers/ImageryTileLayer.d.ts +7 -1
- package/layers/ImageryTileLayer.js +1 -1
- package/layers/WCSLayer.d.ts +7 -1
- package/layers/WCSLayer.js +1 -1
- package/layers/save/imageryUtils.js +1 -1
- package/layers/video/VideoController.js +1 -1
- package/networks/UnitIdentifierManager.d.ts +15 -15
- package/networks/UnitIdentifierManager.js +1 -1
- package/networks/support/jsonTypes.d.ts +125 -13
- package/package.json +3 -3
- package/popup/Features.d.ts +0 -1
- package/popup/Features.js +1 -1
- package/rest/networks/unitIdentifiers/reserve.js +2 -0
- package/rest/networks/unitIdentifiers/support/ReserveParameters.js +2 -0
- package/rest/networks/unitIdentifiers/support/ResizeParameters.js +1 -1
- package/rest/networks/unitIdentifiers/support/UnitQueryResult.js +1 -1
- package/support/revision.js +1 -1
- package/views/2d/analysis/ElevationProfile/ElevationProfileVisualization2D.js +1 -1
- package/views/2d/analysis/ElevationProfileAnalysisView2D.d.ts +5 -1
- package/views/2d/analysis/ElevationProfileAnalysisView2D.js +1 -1
- package/views/2d/engine/webgl/AFeatureTile.js +1 -1
- package/views/2d/engine/webgl/effects/HittestEffect.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/featureTechniqueUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/markers/MarkerShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/AFeatureShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/LineShader.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/ShaderHittest.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/text/TextShader.js +1 -1
- package/views/2d/engine/webgl/shaders/sources/shaderRepository.js +1 -1
- package/views/2d/layers/BaseLayerView2D.d.ts +3 -3
- package/views/2d/layers/BaseLayerViewGL2D.d.ts +3 -3
- package/views/2d/layers/FeatureLikeLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/features/FeatureContainer.js +1 -1
- package/views/2d/support/clippingUtils.js +1 -1
- package/views/2d/support/hitTestUtils.js +1 -1
- package/views/3d/analysis/ElevationProfile/ElevationProfileVisualization3D.js +1 -1
- package/views/3d/analysis/ElevationProfileAnalysisView3D.d.ts +5 -1
- package/views/3d/analysis/ElevationProfileAnalysisView3D.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMeshNormals.js +1 -1
- package/views/3d/terrain/ElevationData.js +1 -1
- package/views/3d/terrain/PatchGeometryFactory.js +1 -1
- package/views/3d/webgl-engine/collections/Component/Renderable.js +1 -1
- package/views/3d/webgl-engine/core/shaderLibrary/shading/ReadBaseColorTexture.glsl.js +1 -5
- package/views/3d/webgl-engine/core/shaderLibrary/util/DiscardOrAdjustAlpha.glsl.js +1 -5
- package/views/3d/webgl-engine/core/shaderLibrary/util/MixExternalColor.glsl.js +16 -21
- package/views/3d/webgl-engine/effects/highlight/Highlight.js +1 -1
- package/views/3d/webgl-engine/effects/highlight/ShadowHighlight.js +1 -1
- package/views/3d/webgl-engine/effects/magnifier/Magnifier.js +1 -1
- package/views/3d/webgl-engine/lib/ShadowCastRenderer.js +1 -1
- package/views/3d/webgl-engine/shaders/BlackLevelLightSoftCompression.glsl.js +5 -1
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOLID.glsl.js +2 -2
- package/views/VideoView.js +1 -1
- package/views/View2D.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileChart.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileController.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileIndicatorPointVisualization.js +1 -1
- package/views/analysis/ElevationProfile/ElevationProfileResult.d.ts +6 -4
- package/views/draw/DrawTool.js +1 -1
- package/views/draw/plugins/BezierSegmentPlugin.js +1 -1
- package/views/draw/plugins/FreehandSegmentPlugin.js +1 -1
- package/views/draw/support/PluginContext.js +1 -1
- package/views/draw/support/types.d.ts +21 -0
- package/views/draw/support/types.js +1 -1
- package/views/types.d.ts +2 -2
- package/widgets/BatchAttributeForm/inputs/FieldInput.js +1 -1
- package/widgets/BatchAttributeForm/templates/support/hashElementTemplate.js +1 -1
- package/widgets/Daylight/DaylightViewModel.js +1 -1
- package/widgets/Daylight/support/SliderWithDropdown.js +1 -1
- package/widgets/Editor/components/Settings.js +1 -1
- package/widgets/ElevationProfile/ElevationProfileController.js +1 -1
- package/widgets/ElevationProfile/ElevationProfileViewModel.js +1 -1
- package/widgets/ElevationProfile/support/ElevationProfileView.js +1 -1
- package/widgets/ElevationProfile/support/ElevationProfileView2D.js +1 -1
- package/widgets/ElevationProfile/support/ElevationProfileView3D.js +1 -1
- package/widgets/ElevationProfile/support/InputRepresentation2D.js +1 -1
- package/widgets/ElevationProfile/support/InputRepresentation3D.js +1 -1
- package/widgets/ElevationProfile/support/ProfileLine2D.js +1 -1
- package/widgets/ElevationProfile/support/ProfileLines3D.js +1 -1
- package/widgets/FeatureForm/FieldInput.js +1 -1
- package/widgets/HistogramRangeSlider/HistogramRangeSliderViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerViewModel.js +1 -1
- package/widgets/OrientedImageryViewer/OrientedImageryViewerVisibleElements.d.ts +5 -5
- package/widgets/OrientedImageryViewer/OrientedImageryViewerVisibleElements.js +1 -1
- package/widgets/OrientedImageryViewer/adapters/view/SceneViewAdapter.js +1 -1
- package/widgets/OrientedImageryViewer/constants.js +1 -1
- package/widgets/OrientedImageryViewer/imageMeasurementUtils.js +1 -1
- package/widgets/OrientedImageryViewer/services/SuperimposeService.js +2 -0
- package/widgets/OrientedImageryViewer/support/superimposeUtils.js +2 -0
- package/widgets/OrientedImageryViewer/types.d.ts +10 -0
- package/widgets/OrientedImageryViewer.d.ts +17 -2
- package/widgets/OrientedImageryViewer.js +1 -1
- package/widgets/ScaleRangeSlider/ScaleRangeSliderViewModel.js +1 -1
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/Sketch/support/PluginManager.js +1 -1
- package/widgets/Sketch/support/SettingsManager.js +2 -0
- package/widgets/Sketch.js +1 -1
- package/widgets/Slider/SliderViewModel.d.ts +2 -1
- package/widgets/Slider/SliderViewModel.js +1 -1
- package/widgets/Slider.js +1 -1
- package/widgets/smartMapping/ColorSlider/ColorSliderViewModel.js +1 -1
- package/widgets/smartMapping/OpacitySlider/OpacitySliderViewModel.js +1 -1
- package/widgets/smartMapping/SizeSlider/SizeSliderViewModel.js +1 -1
- package/widgets/smartMapping/SmartMappingSliderViewModel.js +1 -1
- package/widgets/support/PluginSettingsControls.js +2 -0
- package/widgets/support/SnappingControls.js +1 -1
- package/widgets/support/forms/formUtils.js +1 -1
- package/analysis/ElevationProfile/elevationProfileLineTypes.js +0 -2
- package/assets/esri/core/workers/chunks/003476e950bd27a2f884.js +0 -596
- package/assets/esri/core/workers/chunks/07aca5ecad659d55e795.js +0 -2
- package/assets/esri/core/workers/chunks/7540f7df86620f067b5a.js +0 -1
- package/assets/esri/core/workers/chunks/76e34f81bb4a7b0e694c.js +0 -1
- package/assets/esri/core/workers/chunks/bfe575da727ce7c8d331.js +0 -2
- package/assets/esri/core/workers/chunks/cb45e5d4a4ef82cda583.js +0 -1
- package/assets/esri/core/workers/chunks/ea59b81299acaf0d85ee.js +0 -1
- package/assets/esri/core/workers/chunks/ef0eae13408cbf83a64f.js +0 -1
- package/rest/networks/unitIdentifiers/insertGap.js +0 -2
- package/rest/networks/unitIdentifiers/support/InsertGapParameters.js +0 -2
- /package/assets/esri/core/workers/chunks/{07aca5ecad659d55e795.js.LICENSE.txt → bf7e019437a3b6036300.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{bfe575da727ce7c8d331.js.LICENSE.txt → dbb9bb28696ff9536678.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6606],{78247(e,t,i){i.d(t,{A:()=>le});var n,o=i(5482),r=i(69540),s=i(25482),l=i(3483),p=i(91429),a=i(36005);let u=n=class extends s.o{constructor(e){super(e),this.expression=null,this.name=null,this.returnType="boolean",this.title=null}clone(){return new n({name:this.name,title:this.title,expression:this.expression,returnType:this.returnType})}};(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"expression",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,o.Cg)([(0,p.MZ)({type:["boolean","date","number","string"],json:{write:!0}})],u.prototype,"returnType",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"title",void 0),u=n=(0,o.Cg)([(0,p.$K)("esri.form.ExpressionInfo")],u);const y=u;var d=i(4718),m=i(79901),c=i(43937),h=i(28787),g=i(56507);let w=class extends((0,r.OU)(s.o)){constructor(){super(...arguments),this.type=null}};(0,o.Cg)([(0,p.MZ)()],w.prototype,"type",void 0),w=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.Input")],w);const C=w,x=["any","capture","upload"];let f=class extends C{constructor(e){super(e),this.type="audio",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,p.MZ)({type:["audio"],readOnly:!0,json:{write:!0}})],f.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:x,json:{write:!0}})],f.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],f.prototype,"maxDuration",void 0),f=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.AudioInput")],f);const v=f;let M=class extends C{constructor(e){super(e),this.type="document",this.maxFileSize=null}};(0,o.Cg)([(0,p.MZ)({type:["document"],readOnly:!0,json:{write:!0}})],M.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],M.prototype,"maxFileSize",void 0),M=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.DocumentInput")],M);const b=M;let Z=class extends C{constructor(e){super(e),this.type="image",this.inputMethod="any",this.maxImageSize=null}};(0,o.Cg)([(0,p.MZ)({type:["image"],readOnly:!0,json:{write:!0}})],Z.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:x,json:{write:!0}})],Z.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],Z.prototype,"maxImageSize",void 0),Z=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.ImageInput")],Z);const j=Z;let S=class extends C{constructor(e){super(e),this.type="signature",this.inputMethod="any"}};(0,o.Cg)([(0,p.MZ)({type:["signature"],readOnly:!0,json:{write:!0}})],S.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:x,json:{write:!0}})],S.prototype,"inputMethod",void 0),S=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.SignatureInput")],S);const E=S;let T=class extends C{constructor(e){super(e),this.type="video",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,p.MZ)({type:["video"],readOnly:!0,json:{write:!0}})],T.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:x,json:{write:!0}})],T.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],T.prototype,"maxDuration",void 0),T=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.VideoInput")],T);const I=T;function O(e){return{nestableTypes:{base:C,key:"type",typeMap:{audio:v,document:b,image:j,signature:E,video:I}},allTypes:{base:C,key:"type",typeMap:{attachment:e,audio:v,document:b,image:j,signature:E,video:I}}}}let N=class extends C{constructor(e){super(e),this.type="attachment",this.attachmentAssociationType="exact"}get inputTypes(){return this._get("inputTypes")??null}set inputTypes(e){this._set("inputTypes",e)}castInputs(e){return function(e,t){return e?e.map(e=>(0,g.aq)(t.nestableTypes,e)):null}(e,A)}readInputs(e,t){return function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>i[e.type].fromJSON(e))}(t.inputTypes,A)}writeInputs(e,t){t.inputTypes=function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>e.toJSON())}(e,A)}};(0,o.Cg)([(0,p.MZ)({type:["attachment"],readOnly:!0,json:{write:!0}})],N.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:["any","exact","exactOrNone"],json:{write:!0}})],N.prototype,"attachmentAssociationType",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:{isRequired:!0}}})],N.prototype,"inputTypes",null),(0,o.Cg)([(0,p.wg)("inputTypes")],N.prototype,"castInputs",null),(0,o.Cg)([(0,a.w)("inputTypes")],N.prototype,"readInputs",null),(0,o.Cg)([(0,c.K)("inputTypes")],N.prototype,"writeInputs",null),N=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.AttachmentInput")],N);const A=O(N);var F;const K=O(N);let $=F=class extends h.A{constructor(e){super(e),this.allowUserRename=!0,this.attachmentKeyword=null,this.displayFilename=!1,this.editableExpression=null,this.filenameExpression='StandardizeFilename(`${$formElement.attachmentKeyword}_${Text(Now(), "YMMDDHHmmss")}`)',this.input=null,this.maxAttachmentCount=null,this.minAttachmentCount=null,this.type="attachment",this.useOriginalFilename=!0}clone(){return new F({allowUserRename:this.allowUserRename,attachmentKeyword:this.attachmentKeyword,description:this.description,displayFilename:this.displayFilename,editableExpression:this.editableExpression,filenameExpression:this.filenameExpression,input:this.input?.clone(),label:this.label,maxAttachmentCount:this.maxAttachmentCount,minAttachmentCount:this.minAttachmentCount,useOriginalFilename:this.useOriginalFilename,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"allowUserRename",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:{isRequired:!0}}})],$.prototype,"attachmentKeyword",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"displayFilename",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],$.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],$.prototype,"filenameExpression",void 0),(0,o.Cg)([(0,p.MZ)({types:K.allTypes,json:{read:{source:"inputType"},write:{target:"inputType",isRequired:!0}}})],$.prototype,"input",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],$.prototype,"maxAttachmentCount",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],$.prototype,"minAttachmentCount",void 0),(0,o.Cg)([(0,p.MZ)({type:["attachment"],readOnly:!0,json:{read:!1,write:!0}})],$.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"useOriginalFilename",void 0),$=F=(0,o.Cg)([(0,p.$K)("esri.form.elements.AttachmentElement")],$);const R=$;var k,L=i(11684),V=i(49852);let D=k=class extends h.A{constructor(e){super(e),this.displayCount=null,this.displayType="list",this.editableExpression=null,this.orderByFields=null,this.relationshipId=null,this.type="relationship"}clone(){return new k({description:this.description,displayCount:this.displayCount,displayType:this.displayType,editableExpression:this.editableExpression,label:this.label,orderByFields:(0,d.o8)(this.orderByFields),relationshipId:this.relationshipId,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],D.prototype,"displayCount",void 0),(0,o.Cg)([(0,p.MZ)({type:["list"],json:{write:!0}})],D.prototype,"displayType",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],D.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:[V.A],json:{write:!0}})],D.prototype,"orderByFields",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],D.prototype,"relationshipId",void 0),(0,o.Cg)([(0,p.MZ)({type:["relationship"],json:{read:!1,write:!0}})],D.prototype,"type",void 0),D=k=(0,o.Cg)([(0,p.$K)("esri.form.elements.RelationshipElement")],D);const B=D;var _;let U=_=class extends h.A{constructor(e){super(e),this.text=null,this.textFormat="plain-text",this.type="text"}clone(){return new _({text:this.text,textFormat:this.textFormat,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],U.prototype,"text",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],U.prototype,"textFormat",void 0),(0,o.Cg)([(0,p.MZ)({type:["text"],readOnly:!0,json:{read:!1,write:!0}})],U.prototype,"type",void 0),U=_=(0,o.Cg)([(0,p.$K)("esri.form.elements.TextElement")],U);const q=U;var W=i(83342);let G=class extends((0,r.OU)(h.A)){constructor(e){super(e),this.associationTypes=null,this.editableExpression=null,this.type="utilityNetworkAssociations"}};(0,o.Cg)([(0,p.MZ)({type:[W.A],json:{write:{isRequired:!0}}})],G.prototype,"associationTypes",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],G.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:["utilityNetworkAssociations"],json:{read:!1,write:!0}})],G.prototype,"type",void 0),G=(0,o.Cg)([(0,p.$K)("esri.form.elements.UtilityNetworkAssociationsElement")],G);const P=G,J=e=>"field"===e.type,z=e=>"group"===e.type,H=e=>"text"===e.type;function X(e){return{typesWithGroup:{base:h.A,key:"type",typeMap:{attachment:R,field:L.A,group:e,relationship:B,text:q,utilityNetworkAssociations:P}},typesWithoutGroup:{base:h.A,key:"type",typeMap:{attachment:R,field:L.A,relationship:B,text:q,utilityNetworkAssociations:P}}}}function Y(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>n[e.type].fromJSON(e))}function Q(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>e.toJSON())}function ee(e,t,i=!0){return e?e.map(e=>(0,g.aq)(i?t.typesWithGroup:t.typesWithoutGroup,e)):null}var te;let ie=te=class extends h.A{constructor(e){super(e),this.initialState="expanded",this.type="group"}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,ne,!1)}readElements(e,t){return Y(t.formElements,ne,!1)}writeElements(e,t){t.formElements=Q(e,ne,!1)}clone(){return new te({description:this.description,elements:(0,d.o8)(this.elements),initialState:this.initialState,label:this.label,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],ie.prototype,"elements",null),(0,o.Cg)([(0,m.w)("elements")],ie.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],ie.prototype,"readElements",null),(0,o.Cg)([(0,c.K)("elements")],ie.prototype,"writeElements",null),(0,o.Cg)([(0,p.MZ)({type:["collapsed","expanded"],json:{write:!0}})],ie.prototype,"initialState",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{read:!1,write:!0}})],ie.prototype,"type",void 0),ie=te=(0,o.Cg)([(0,p.$K)("esri.form.elements.GroupElement")],ie);const ne=X(ie),oe=ie;var re=i(30524);const se=X(oe);let le=class extends((0,r.OU)(s.o)){constructor(e){super(e),this.description=null,this.expressionInfos=null,this.preserveFieldValuesWhenHidden=!1,this.supportsAttachmentElements=!1,this.title=null}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,se)}readElements(e,t){return Y(t.formElements,se)}writeElements(e,t){t.formElements=Q(e,se)}async getFieldsUsed(e,t){const i=new Set,{description:n,elements:o,expressionInfos:r,title:s}=this;if(ue(i,e,n),ue(i,e,s),!o)return[];const l=function(e,t){if(!t||0===t.length)return[];const i=ae(e),n=[];for(const e of t)i.has(e.name)&&n.push(e.expression);return n}(o,r).map(t=>(0,re.Dx)(i,e,null,t));await Promise.all(l);for(const n of o)pe(i,{fieldsIndex:e,relationships:t},n);return Array.from(i).sort()}};function pe(e,t,i){const{fieldsIndex:n}=t;if(n?.fields.length!==e.size)switch(ue(e,n,i.label),ue(e,n,i.description),i.type){case"field":(0,re.rq)(e,n,i.fieldName);break;case"group":i.elements.forEach(i=>pe(e,t,i));break;case"relationship":if(t.relationships){const o=t.relationships.find(e=>e.id===i.relationshipId);o&&(0,re.rq)(e,n,o.keyField)}(0,re._w)(e,n,i.orderByFields?.map(e=>e.field));break;case"text":ue(e,n,i.text)}}function ae(e){const t=new Set;for(const i of e)if((0,l.kb)(t,i.visibilityExpression),!H(i))if(z(i))(0,l.FB)(t,ae(i.elements));else if((0,l.kb)(t,i.editableExpression),J(i)){const{requiredExpression:e,valueExpression:n}=i;(0,l.FB)(t,[e,n])}return t}function ue(e,t,i){(0,re._w)(e,t,(0,re.nw)(i))}(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],le.prototype,"description",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],le.prototype,"elements",null),(0,o.Cg)([(0,p.wg)("elements")],le.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],le.prototype,"readElements",null),(0,o.Cg)([(0,c.K)("elements")],le.prototype,"writeElements",null),(0,o.Cg)([(0,p.MZ)({type:[y],json:{write:!0}})],le.prototype,"expressionInfos",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{default:!1,write:!0}})],le.prototype,"preserveFieldValuesWhenHidden",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{default:!1,write:!0}})],le.prototype,"supportsAttachmentElements",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],le.prototype,"title",void 0),le=(0,o.Cg)([(0,p.$K)("esri.form.FormTemplate")],le)},28787(e,t,i){i.d(t,{A:()=>l});var n=i(5482),o=i(25482),r=i(10107),s=i(64108);let l=class extends o.o{constructor(e){super(e),this.description=null,this.label=null,this.type=null,this.visibilityExpression=null}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"description",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"label",void 0),(0,n.Cg)([(0,r.MZ)()],l.prototype,"type",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"visibilityExpression",void 0),l=(0,n.Cg)([(0,s.$)("esri.form.elements.Element")],l)},11684(e,t,i){i.d(t,{A:()=>pe});var n=i(5482),o=i(91429),r=i(28787),s=i(25482);let l=class extends s.o{constructor(e){super(e),this.type=null}};(0,n.Cg)([(0,o.MZ)()],l.prototype,"type",void 0),l=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.Input")],l);const p=l;let a=class extends p{constructor(e){super(e),this.maxLength=null,this.minLength=0}};(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxLength",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"minLength",void 0),a=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextInput")],a);const u=a;var y;let d=y=class extends u{constructor(e){super(e),this.type="barcode-scanner"}clone(){return new y({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["barcode-scanner"],json:{read:!1,write:!0}})],d.prototype,"type",void 0),d=y=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.BarcodeScannerInput")],d);const m=d;var c;let h=c=class extends p{constructor(e){super(e),this.noValueOptionLabel=null,this.showNoValueOption=!0,this.type="combo-box"}clone(){return new c({showNoValueOption:this.showNoValueOption,noValueOptionLabel:this.noValueOptionLabel})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"noValueOptionLabel",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"showNoValueOption",void 0),(0,n.Cg)([(0,o.MZ)({type:["combo-box"],json:{read:!1,write:!0}})],h.prototype,"type",void 0),h=c=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.ComboBoxInput")],h);const g=h;var w,C=i(36005),x=i(43937);function f(e){return null!=e?e:null}function v(e){return null!=e?e:null}let M=w=class extends p{constructor(e){super(e),this.max=null,this.min=null,this.type="date-picker"}readMax(e,t){return f(t.max)}writeMax(e,t){t.max=v(e)}readMin(e,t){return f(t.min)}writeMin(e,t){t.min=v(e)}clone(){return new w({max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],M.prototype,"max",void 0),(0,n.Cg)([(0,C.w)("max")],M.prototype,"readMax",null),(0,n.Cg)([(0,x.K)("max")],M.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],M.prototype,"min",void 0),(0,n.Cg)([(0,C.w)("min")],M.prototype,"readMin",null),(0,n.Cg)([(0,x.K)("min")],M.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["date-picker"],json:{read:!1,write:!0}})],M.prototype,"type",void 0),M=w=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DatePickerInput")],M);const b=M;var Z;function j(e){return null!=e?e:null}function S(e){return null!=e?e:null}let E=Z=class extends p{constructor(e){super(e),this.includeTimeOffset=!0,this.max=null,this.min=null,this.timeResolution="minutes",this.type="timestampoffset-picker"}readMax(e,t){return j(t.max)}writeMax(e,t){t.max=S(e)}readMin(e,t){return j(t.min)}writeMin(e,t){t.min=S(e)}readTimeResolution(e,t){return j(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=S(e)}clone(){return new Z({includeTimeOffset:this.includeTimeOffset,max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],E.prototype,"includeTimeOffset",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],E.prototype,"max",void 0),(0,n.Cg)([(0,C.w)("max")],E.prototype,"readMax",null),(0,n.Cg)([(0,x.K)("max")],E.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],E.prototype,"min",void 0),(0,n.Cg)([(0,C.w)("min")],E.prototype,"readMin",null),(0,n.Cg)([(0,x.K)("min")],E.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],E.prototype,"timeResolution",void 0),(0,n.Cg)([(0,C.w)("timeResolution")],E.prototype,"readTimeResolution",null),(0,n.Cg)([(0,x.K)("timeResolution")],E.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["timestampoffset-picker"],json:{read:!1,write:!0}})],E.prototype,"type",void 0),E=Z=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimeOffsetPickerInput")],E);const T=E;var I;function O(e){return null!=e?new Date(e):null}function N(e){return e?e.getTime():null}let A=I=class extends p{constructor(e){super(e),this.includeTime=!1,this.max=null,this.min=null,this.type="datetime-picker"}readMax(e,t){return O(t.max)}writeMax(e,t){t.max=N(e)}readMin(e,t){return O(t.min)}writeMin(e,t){t.min=N(e)}clone(){return new I({includeTime:this.includeTime,max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],A.prototype,"includeTime",void 0),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],A.prototype,"max",void 0),(0,n.Cg)([(0,C.w)("max")],A.prototype,"readMax",null),(0,n.Cg)([(0,x.K)("max")],A.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],A.prototype,"min",void 0),(0,n.Cg)([(0,C.w)("min")],A.prototype,"readMin",null),(0,n.Cg)([(0,x.K)("min")],A.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["datetime-picker"],json:{read:!1,write:!0}})],A.prototype,"type",void 0),A=I=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimePickerInput")],A);const F=A;var K;let $=K=class extends s.o{constructor(e){super(e),this.label="",this.value=""}clone(){return new K({label:this.label,value:this.value})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],$.prototype,"label",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],$.prototype,"value",void 0),$=K=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.multipleChoice.Choice")],$);const R=$;var k;let L=k=class extends s.o{constructor(e){super(e),this.fieldName="",this.hint=null,this.label=null}clone(){return new k({fieldName:this.fieldName,hint:this.hint,label:this.label})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],L.prototype,"fieldName",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],L.prototype,"hint",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],L.prototype,"label",void 0),L=k=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.multipleChoice.OtherChoice")],L);const V=L;var D;let B=D=class extends p{constructor(e){super(e),this.choiceDelimeter=",",this.choices=null,this.includeOtherChoice=null,this.maxSelectedChoices=null,this.minSelectedChoices=null,this.otherChoice=null,this.type="multiple-choice"}clone(){return new D({choiceDelimeter:this.choiceDelimeter,choices:this.choices?.map(e=>e.clone())??null,includeOtherChoice:this.includeOtherChoice,maxSelectedChoices:this.maxSelectedChoices,minSelectedChoices:this.minSelectedChoices,otherChoice:this.otherChoice?.clone()??null})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],B.prototype,"choiceDelimeter",void 0),(0,n.Cg)([(0,o.MZ)({type:[R],json:{write:{isRequired:!0}}})],B.prototype,"choices",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],B.prototype,"includeOtherChoice",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],B.prototype,"maxSelectedChoices",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],B.prototype,"minSelectedChoices",void 0),(0,n.Cg)([(0,o.MZ)({type:V,json:{write:!0}})],B.prototype,"otherChoice",void 0),(0,n.Cg)([(0,o.MZ)({type:["multiple-choice"],json:{read:!1,write:!0}})],B.prototype,"type",void 0),B=D=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.MultipleChoiceInput")],B);const _=B;var U;let q=U=class extends p{constructor(e){super(e),this.noValueOptionLabel=null,this.showNoValueOption=!0,this.type="radio-buttons"}clone(){return new U({noValueOptionLabel:this.noValueOptionLabel,showNoValueOption:this.showNoValueOption})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],q.prototype,"noValueOptionLabel",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],q.prototype,"showNoValueOption",void 0),(0,n.Cg)([(0,o.MZ)({type:["radio-buttons"],json:{read:!1,write:!0}})],q.prototype,"type",void 0),q=U=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.RadioButtonsInput")],q);const W=q;var G;let P=G=class extends p{constructor(e){super(e),this.offValue=null,this.onValue=null,this.type="switch"}clone(){return new G({offValue:this.offValue,onValue:this.onValue})}};(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],P.prototype,"offValue",void 0),(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],P.prototype,"onValue",void 0),(0,n.Cg)([(0,o.MZ)({type:["switch"],json:{read:!1,write:!0}})],P.prototype,"type",void 0),P=G=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.SwitchInput")],P);const J=P;var z;let H=z=class extends u{constructor(e){super(e),this.type="text-area"}clone(){return new z({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-area"],json:{read:!1,write:!0}})],H.prototype,"type",void 0),H=z=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextAreaInput")],H);const X=H;var Y;let Q=Y=class extends u{constructor(e){super(e),this.type="text-box"}clone(){return new Y({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-box"],json:{read:!1,write:!0}})],Q.prototype,"type",void 0),Q=Y=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextBoxInput")],Q);const ee=Q;var te;function ie(e){return null!=e?e:null}function ne(e){return null!=e?e:null}let oe=te=class extends p{constructor(e){super(e),this.max=null,this.min=null,this.timeResolution="minutes",this.type="time-picker"}readMax(e,t){return ie(t.max)}writeMax(e,t){t.max=ne(e)}readMin(e,t){return ie(t.min)}writeMin(e,t){t.min=ne(e)}readTimeResolution(e,t){return ie(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=ne(e)}clone(){return new te({max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],oe.prototype,"max",void 0),(0,n.Cg)([(0,C.w)("max")],oe.prototype,"readMax",null),(0,n.Cg)([(0,x.K)("max")],oe.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],oe.prototype,"min",void 0),(0,n.Cg)([(0,C.w)("min")],oe.prototype,"readMin",null),(0,n.Cg)([(0,x.K)("min")],oe.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],oe.prototype,"timeResolution",void 0),(0,n.Cg)([(0,C.w)("timeResolution")],oe.prototype,"readTimeResolution",null),(0,n.Cg)([(0,x.K)("timeResolution")],oe.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["time-picker"],json:{read:!1,write:!0}})],oe.prototype,"type",void 0),oe=te=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TimePickerInput")],oe);const re={base:p,key:"type",typeMap:{"barcode-scanner":m,"combo-box":g,"date-picker":b,"datetime-picker":F,"multiple-choice":_,"timestampoffset-picker":T,"radio-buttons":W,switch:J,"text-area":X,"text-box":ee,"time-picker":oe}};var se,le=i(8631);let pe=se=class extends r.A{constructor(e){super(e),this.domain=null,this.editable=null,this.editableExpression=null,this.fieldName=null,this.hint=null,this.input=null,this.requiredExpression=null,this.type="field",this.valueExpression=null}clone(){return new se({description:this.description,domain:this.domain?.clone()??null,editable:this.editable,editableExpression:this.editableExpression,fieldName:this.fieldName,hint:this.hint,input:this.input?.clone(),label:this.label,requiredExpression:this.requiredExpression,valueExpression:this.valueExpression,visibilityExpression:this.visibilityExpression})}};(0,n.Cg)([(0,o.MZ)({types:le.g,json:{read:{reader:le.r},write:!0}})],pe.prototype,"domain",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],pe.prototype,"editable",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],pe.prototype,"editableExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],pe.prototype,"fieldName",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],pe.prototype,"hint",void 0),(0,n.Cg)([(0,o.MZ)({types:re,json:{read:{source:"inputType"},write:{target:"inputType"}}})],pe.prototype,"input",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],pe.prototype,"requiredExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{read:!1,write:!0}})],pe.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],pe.prototype,"valueExpression",void 0),pe=se=(0,n.Cg)([(0,o.$K)("esri.form.elements.FieldElement")],pe)},83960(e,t,i){i.d(t,{X_:()=>r,oW:()=>l,zx:()=>s});var n=i(34727),o=i(86211);function r(e,t){const i=t||e.extent,n=e.width,r=(0,o.GA)(i?.spatialReference);return i&&n?i.width/n*r*o.dy*96:0}function s(e,t,i){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,i)}function l(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},6455(e,t,i){i.d(t,{FJ:()=>w,Dp:()=>C,KV:()=>x});var n=i(5482),o=i(93637),r=i(91429),s=i(89317),l=i(69540),p=i(7762),a=i(25482),u=i(83960),y=i(13069);const d={write:{overridePolicy:(e,t,i)=>({enabled:!i||"scale"===i.filterMode})}};let m=class extends((0,l.OU)(a.o)){constructor(e){super(e),this.id=(0,y.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],m.prototype,"id",void 0),(0,n.Cg)([(0,r.MZ)({type:Number,json:d})],m.prototype,"maxScale",void 0),(0,n.Cg)([(0,r.MZ)({type:Number,json:d})],m.prototype,"minScale",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],m.prototype,"title",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],m.prototype,"where",void 0),m=(0,n.Cg)([(0,r.$K)("esri.layers.support.DisplayFilter")],m);var c=i(41560),h=i(43937);let g=class extends((0,l.OU)(a.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(p.A.ofType(m)),this.mode="manual"}writeFilters(e,t,i,n){const o=e.toArray();"scale"===this.mode&&o.sort((e,t)=>{const i=(0,u.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===i?n:i}),t[i]=o.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,c.mW)(this,t))}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:{overridePolicy:(e,t,i)=>({enabled:"manual"===i.filterMode,isRequired:!0})}}})],g.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,r.MZ)({type:p.A.ofType(m),nonNullable:!0,json:{write:!0}})],g.prototype,"filters",void 0),(0,n.Cg)([(0,h.K)("filters")],g.prototype,"writeFilters",null),(0,n.Cg)([(0,r.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],g.prototype,"mode",void 0),g=(0,n.Cg)([(0,r.$K)("esri.layers.support.DisplayFilterInfo")],g);const w=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,r.MZ)(C)],i.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,r.MZ)(x)],i.prototype,"displayFilterInfo",void 0),i=(0,n.Cg)([(0,r.$K)("esri.layers.mixins.DisplayFilteredLayer")],i),i},C={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:s.K,writer(e,t,i){(0,o.sM)(i,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},x={type:g,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:s.K},origins:{"web-scene":{write:!1,read:!1}}}}},82935(e,t,i){i.d(t,{B:()=>d,e:()=>m});var n=i(5482),o=i(91429),r=i(89317),s=i(30524),l=i(96184),p=i(73133),a=i(79677),u=i(10184),y=i(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:r.K}}},m=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const i=t.timeInfo.exportOptions;if(!i)return null;const n=i.timeOffset,o=p.j.fromJSON(i.timeOffsetUnits);return n&&o?new u.A({value:n,unit:o}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,s.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,o.MZ)({type:a.A,json:{write:!1}})],i.prototype,"timeExtent",void 0),(0,n.Cg)([(0,o.MZ)({type:u.A})],i.prototype,"timeOffset",void 0),(0,n.Cg)([(0,y.w)("service","timeOffset",["timeInfo.exportOptions"])],i.prototype,"readOffset",null),(0,n.Cg)([(0,o.MZ)({value:null,type:l.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],i.prototype,"timeInfo",null),(0,n.Cg)([(0,o.MZ)(d)],i.prototype,"useViewTime",void 0),i=(0,n.Cg)([(0,o.$K)("esri.layers.mixins.TemporalLayer")],i),i}},96184(e,t,i){i.d(t,{A:()=>m});var n=i(5482),o=i(69540),r=i(25482),s=i(91429),l=i(79677),p=i(10184),a=i(56400),u=i(36005),y=i(43937);function d(e,t){return p.A.fromJSON({value:e,unit:t})}let m=class extends((0,o.OU)(r.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?l.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],m.prototype,"cumulative",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],m.prototype,"endField",void 0),(0,n.Cg)([(0,s.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,u.w)("fullTimeExtent",["timeExtent"])],m.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,y.K)("fullTimeExtent")],m.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,s.MZ)({type:p.A,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"interval",void 0),(0,n.Cg)([(0,u.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],m.prototype,"readInterval",null),(0,n.Cg)([(0,y.K)("interval")],m.prototype,"writeInterval",null),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],m.prototype,"startField",void 0),(0,n.Cg)([(0,s.MZ)((0,a.P6)("timeReference",!0))],m.prototype,"timeZone",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"trackIdField",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],m.prototype,"useTime",void 0),(0,n.Cg)([(0,s.MZ)({type:[Date],json:{read:!1}})],m.prototype,"stops",void 0),m=(0,n.Cg)([(0,s.$K)("esri.layers.support.TimeInfo")],m)},17036(e,t,i){i.d(t,{p:()=>p});var n=i(44208),o=i(53966),r=i(20437),s=i(95466),l=i(30524);function p(){return{fields:{type:[r.A],value:null,set:function(e){if(e&&(0,n.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");o.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return s.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const i=this.fieldsIndex?.has(t);i||o.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,l.DB)(this.fieldsIndex,e)}}}}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6606],{78247(e,t,i){i.d(t,{A:()=>le});var n,o=i(5482),r=i(69540),s=i(25482),l=i(3483),p=i(91429),a=i(36005);let u=n=class extends s.o{constructor(e){super(e),this.expression=null,this.name=null,this.returnType="boolean",this.title=null}clone(){return new n({name:this.name,title:this.title,expression:this.expression,returnType:this.returnType})}};(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"expression",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"name",void 0),(0,o.Cg)([(0,p.MZ)({type:["boolean","date","number","string"],json:{write:!0}})],u.prototype,"returnType",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],u.prototype,"title",void 0),u=n=(0,o.Cg)([(0,p.$K)("esri.form.ExpressionInfo")],u);const y=u;var d=i(4718),m=i(79901),c=i(43937),h=i(28787),g=i(56507);let w=class extends((0,r.OU)(s.o)){constructor(){super(...arguments),this.type=null}};(0,o.Cg)([(0,p.MZ)()],w.prototype,"type",void 0),w=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.Input")],w);const C=w,x=["any","capture","upload"];let f=class extends C{constructor(e){super(e),this.type="audio",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,p.MZ)({type:["audio"],readOnly:!0,json:{write:!0}})],f.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:x,json:{write:!0}})],f.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],f.prototype,"maxDuration",void 0),f=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.AudioInput")],f);const v=f;let M=class extends C{constructor(e){super(e),this.type="document",this.maxFileSize=null}};(0,o.Cg)([(0,p.MZ)({type:["document"],readOnly:!0,json:{write:!0}})],M.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],M.prototype,"maxFileSize",void 0),M=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.DocumentInput")],M);const b=M;let Z=class extends C{constructor(e){super(e),this.type="image",this.inputMethod="any",this.maxImageSize=null}};(0,o.Cg)([(0,p.MZ)({type:["image"],readOnly:!0,json:{write:!0}})],Z.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:x,json:{write:!0}})],Z.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],Z.prototype,"maxImageSize",void 0),Z=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.ImageInput")],Z);const j=Z;let S=class extends C{constructor(e){super(e),this.type="signature",this.inputMethod="any"}};(0,o.Cg)([(0,p.MZ)({type:["signature"],readOnly:!0,json:{write:!0}})],S.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:x,json:{write:!0}})],S.prototype,"inputMethod",void 0),S=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.SignatureInput")],S);const E=S;let T=class extends C{constructor(e){super(e),this.type="video",this.inputMethod="any",this.maxDuration=null}};(0,o.Cg)([(0,p.MZ)({type:["video"],readOnly:!0,json:{write:!0}})],T.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:x,json:{write:!0}})],T.prototype,"inputMethod",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],T.prototype,"maxDuration",void 0),T=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.VideoInput")],T);const I=T;function O(e){return{nestableTypes:{base:C,key:"type",typeMap:{audio:v,document:b,image:j,signature:E,video:I}},allTypes:{base:C,key:"type",typeMap:{attachment:e,audio:v,document:b,image:j,signature:E,video:I}}}}let N=class extends C{constructor(e){super(e),this.type="attachment",this.attachmentAssociationType="exact"}get inputTypes(){return this._get("inputTypes")??null}set inputTypes(e){this._set("inputTypes",e)}castInputs(e){return function(e,t){return e?e.map(e=>(0,g.aq)(t.nestableTypes,e)):null}(e,A)}readInputs(e,t){return function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>i[e.type].fromJSON(e))}(t.inputTypes,A)}writeInputs(e,t){t.inputTypes=function(e,t){if(!e)return null;const i=t.nestableTypes.typeMap;return e.filter(e=>i[e.type]).map(e=>e.toJSON())}(e,A)}};(0,o.Cg)([(0,p.MZ)({type:["attachment"],readOnly:!0,json:{write:!0}})],N.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:["any","exact","exactOrNone"],json:{write:!0}})],N.prototype,"attachmentAssociationType",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:{isRequired:!0}}})],N.prototype,"inputTypes",null),(0,o.Cg)([(0,p.wg)("inputTypes")],N.prototype,"castInputs",null),(0,o.Cg)([(0,a.w)("inputTypes")],N.prototype,"readInputs",null),(0,o.Cg)([(0,c.K)("inputTypes")],N.prototype,"writeInputs",null),N=(0,o.Cg)([(0,p.$K)("esri.form.elements.inputs.attachments.AttachmentInput")],N);const A=O(N);var F;const K=O(N);let $=F=class extends h.A{constructor(e){super(e),this.allowUserRename=!0,this.attachmentKeyword=null,this.displayFilename=!1,this.editableExpression=null,this.filenameExpression='StandardizeFilename(`${$formElement.attachmentKeyword}_${Text(Now(), "YMMDDHHmmss")}`)',this.input=null,this.maxAttachmentCount=null,this.minAttachmentCount=null,this.type="attachment",this.useOriginalFilename=!0}clone(){return new F({allowUserRename:this.allowUserRename,attachmentKeyword:this.attachmentKeyword,description:this.description,displayFilename:this.displayFilename,editableExpression:this.editableExpression,filenameExpression:this.filenameExpression,input:this.input?.clone(),label:this.label,maxAttachmentCount:this.maxAttachmentCount,minAttachmentCount:this.minAttachmentCount,useOriginalFilename:this.useOriginalFilename,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"allowUserRename",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:{isRequired:!0}}})],$.prototype,"attachmentKeyword",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"displayFilename",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],$.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],$.prototype,"filenameExpression",void 0),(0,o.Cg)([(0,p.MZ)({types:K.allTypes,json:{read:{source:"inputType"},write:{target:"inputType",isRequired:!0}}})],$.prototype,"input",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],$.prototype,"maxAttachmentCount",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],$.prototype,"minAttachmentCount",void 0),(0,o.Cg)([(0,p.MZ)({type:["attachment"],readOnly:!0,json:{read:!1,write:!0}})],$.prototype,"type",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{write:!0}})],$.prototype,"useOriginalFilename",void 0),$=F=(0,o.Cg)([(0,p.$K)("esri.form.elements.AttachmentElement")],$);const R=$;var k,L=i(11684),V=i(49852);let D=k=class extends h.A{constructor(e){super(e),this.displayCount=null,this.displayType="list",this.editableExpression=null,this.orderByFields=null,this.relationshipId=null,this.type="relationship"}clone(){return new k({description:this.description,displayCount:this.displayCount,displayType:this.displayType,editableExpression:this.editableExpression,label:this.label,orderByFields:(0,d.o8)(this.orderByFields),relationshipId:this.relationshipId,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],D.prototype,"displayCount",void 0),(0,o.Cg)([(0,p.MZ)({type:["list"],json:{write:!0}})],D.prototype,"displayType",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],D.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:[V.A],json:{write:!0}})],D.prototype,"orderByFields",void 0),(0,o.Cg)([(0,p.MZ)({type:Number,json:{write:!0}})],D.prototype,"relationshipId",void 0),(0,o.Cg)([(0,p.MZ)({type:["relationship"],json:{read:!1,write:!0}})],D.prototype,"type",void 0),D=k=(0,o.Cg)([(0,p.$K)("esri.form.elements.RelationshipElement")],D);const B=D;var _;let U=_=class extends h.A{constructor(e){super(e),this.text=null,this.textFormat="plain-text",this.type="text"}clone(){return new _({text:this.text,textFormat:this.textFormat,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],U.prototype,"text",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],U.prototype,"textFormat",void 0),(0,o.Cg)([(0,p.MZ)({type:["text"],readOnly:!0,json:{read:!1,write:!0}})],U.prototype,"type",void 0),U=_=(0,o.Cg)([(0,p.$K)("esri.form.elements.TextElement")],U);const q=U;var W=i(83342);let G=class extends((0,r.OU)(h.A)){constructor(e){super(e),this.associationTypes=null,this.editableExpression=null,this.type="utilityNetworkAssociations"}};(0,o.Cg)([(0,p.MZ)({type:[W.A],json:{write:{isRequired:!0}}})],G.prototype,"associationTypes",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],G.prototype,"editableExpression",void 0),(0,o.Cg)([(0,p.MZ)({type:["utilityNetworkAssociations"],json:{read:!1,write:!0}})],G.prototype,"type",void 0),G=(0,o.Cg)([(0,p.$K)("esri.form.elements.UtilityNetworkAssociationsElement")],G);const P=G,J=e=>"field"===e.type,z=e=>"group"===e.type,H=e=>"text"===e.type;function X(e){return{typesWithGroup:{base:h.A,key:"type",typeMap:{attachment:R,field:L.A,group:e,relationship:B,text:q,utilityNetworkAssociations:P}},typesWithoutGroup:{base:h.A,key:"type",typeMap:{attachment:R,field:L.A,relationship:B,text:q,utilityNetworkAssociations:P}}}}function Y(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>n[e.type].fromJSON(e))}function Q(e,t,i=!0){if(!e)return null;const n=i?t.typesWithGroup.typeMap:t.typesWithoutGroup.typeMap;return e.filter(e=>n[e.type]).map(e=>e.toJSON())}function ee(e,t,i=!0){return e?e.map(e=>(0,g.aq)(i?t.typesWithGroup:t.typesWithoutGroup,e)):null}var te;let ie=te=class extends h.A{constructor(e){super(e),this.initialState="expanded",this.type="group"}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,ne,!1)}readElements(e,t){return Y(t.formElements,ne,!1)}writeElements(e,t){t.formElements=Q(e,ne,!1)}clone(){return new te({description:this.description,elements:(0,d.o8)(this.elements),initialState:this.initialState,label:this.label,visibilityExpression:this.visibilityExpression})}};(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],ie.prototype,"elements",null),(0,o.Cg)([(0,m.w)("elements")],ie.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],ie.prototype,"readElements",null),(0,o.Cg)([(0,c.K)("elements")],ie.prototype,"writeElements",null),(0,o.Cg)([(0,p.MZ)({type:["collapsed","expanded"],json:{write:!0}})],ie.prototype,"initialState",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{read:!1,write:!0}})],ie.prototype,"type",void 0),ie=te=(0,o.Cg)([(0,p.$K)("esri.form.elements.GroupElement")],ie);const ne=X(ie),oe=ie;var re=i(30524);const se=X(oe);let le=class extends((0,r.OU)(s.o)){constructor(e){super(e),this.description=null,this.expressionInfos=null,this.preserveFieldValuesWhenHidden=!1,this.supportsAttachmentElements=!1,this.title=null}get elements(){return this._get("elements")??null}set elements(e){this._set("elements",e)}castElements(e){return ee(e,se)}readElements(e,t){return Y(t.formElements,se)}writeElements(e,t){t.formElements=Q(e,se)}async getFieldsUsed(e,t){const i=new Set,{description:n,elements:o,expressionInfos:r,title:s}=this;if(ue(i,e,n),ue(i,e,s),!o)return[];const l=function(e,t){if(!t||0===t.length)return[];const i=ae(e),n=[];for(const e of t)i.has(e.name)&&n.push(e.expression);return n}(o,r).map(t=>(0,re.Dx)(i,e,null,t));await Promise.all(l);for(const n of o)pe(i,{fieldsIndex:e,relationships:t},n);return Array.from(i).sort()}};function pe(e,t,i){const{fieldsIndex:n}=t;if(n?.fields.length!==e.size)switch(ue(e,n,i.label),ue(e,n,i.description),i.type){case"field":(0,re.rq)(e,n,i.fieldName);break;case"group":i.elements.forEach(i=>pe(e,t,i));break;case"relationship":if(t.relationships){const o=t.relationships.find(e=>e.id===i.relationshipId);o&&(0,re.rq)(e,n,o.keyField)}(0,re._w)(e,n,i.orderByFields?.map(e=>e.field));break;case"text":ue(e,n,i.text)}}function ae(e){const t=new Set;for(const i of e)if((0,l.kb)(t,i.visibilityExpression),!H(i))if(z(i))(0,l.FB)(t,ae(i.elements));else if((0,l.kb)(t,i.editableExpression),J(i)){const{requiredExpression:e,valueExpression:n}=i;(0,l.FB)(t,[e,n])}return t}function ue(e,t,i){(0,re._w)(e,t,(0,re.nw)(i))}(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],le.prototype,"description",void 0),(0,o.Cg)([(0,p.MZ)({json:{write:!0}})],le.prototype,"elements",null),(0,o.Cg)([(0,p.wg)("elements")],le.prototype,"castElements",null),(0,o.Cg)([(0,a.w)("elements",["formElements"])],le.prototype,"readElements",null),(0,o.Cg)([(0,c.K)("elements")],le.prototype,"writeElements",null),(0,o.Cg)([(0,p.MZ)({type:[y],json:{write:!0}})],le.prototype,"expressionInfos",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{default:!1,write:!0}})],le.prototype,"preserveFieldValuesWhenHidden",void 0),(0,o.Cg)([(0,p.MZ)({type:Boolean,json:{default:!1,write:!0}})],le.prototype,"supportsAttachmentElements",void 0),(0,o.Cg)([(0,p.MZ)({type:String,json:{write:!0}})],le.prototype,"title",void 0),le=(0,o.Cg)([(0,p.$K)("esri.form.FormTemplate")],le)},28787(e,t,i){i.d(t,{A:()=>l});var n=i(5482),o=i(25482),r=i(10107),s=i(64108);let l=class extends o.o{constructor(e){super(e),this.description=null,this.label=null,this.type=null,this.visibilityExpression=null}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"description",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"label",void 0),(0,n.Cg)([(0,r.MZ)()],l.prototype,"type",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],l.prototype,"visibilityExpression",void 0),l=(0,n.Cg)([(0,s.$)("esri.form.elements.Element")],l)},11684(e,t,i){i.d(t,{A:()=>pe});var n=i(5482),o=i(91429),r=i(28787),s=i(25482);let l=class extends s.o{constructor(e){super(e),this.type=null}};(0,n.Cg)([(0,o.MZ)()],l.prototype,"type",void 0),l=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.Input")],l);const p=l;let a=class extends p{constructor(e){super(e),this.maxLength=null,this.minLength=0}};(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"maxLength",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],a.prototype,"minLength",void 0),a=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextInput")],a);const u=a;var y;let d=y=class extends u{constructor(e){super(e),this.type="barcode-scanner"}clone(){return new y({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["barcode-scanner"],json:{read:!1,write:!0}})],d.prototype,"type",void 0),d=y=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.BarcodeScannerInput")],d);const m=d;var c;let h=c=class extends p{constructor(e){super(e),this.noValueOptionLabel=null,this.showNoValueOption=!0,this.type="combo-box"}clone(){return new c({showNoValueOption:this.showNoValueOption,noValueOptionLabel:this.noValueOptionLabel})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],h.prototype,"noValueOptionLabel",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],h.prototype,"showNoValueOption",void 0),(0,n.Cg)([(0,o.MZ)({type:["combo-box"],json:{read:!1,write:!0}})],h.prototype,"type",void 0),h=c=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.ComboBoxInput")],h);const g=h;var w,C=i(36005),x=i(43937);function f(e){return null!=e?e:null}function v(e){return null!=e?e:null}let M=w=class extends p{constructor(e){super(e),this.max=null,this.min=null,this.type="date-picker"}readMax(e,t){return f(t.max)}writeMax(e,t){t.max=v(e)}readMin(e,t){return f(t.min)}writeMin(e,t){t.min=v(e)}clone(){return new w({max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],M.prototype,"max",void 0),(0,n.Cg)([(0,C.w)("max")],M.prototype,"readMax",null),(0,n.Cg)([(0,x.K)("max")],M.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],M.prototype,"min",void 0),(0,n.Cg)([(0,C.w)("min")],M.prototype,"readMin",null),(0,n.Cg)([(0,x.K)("min")],M.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["date-picker"],json:{read:!1,write:!0}})],M.prototype,"type",void 0),M=w=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DatePickerInput")],M);const b=M;var Z;function j(e){return null!=e?e:null}function S(e){return null!=e?e:null}let E=Z=class extends p{constructor(e){super(e),this.includeTimeOffset=!0,this.max=null,this.min=null,this.timeResolution="minutes",this.type="timestampoffset-picker"}readMax(e,t){return j(t.max)}writeMax(e,t){t.max=S(e)}readMin(e,t){return j(t.min)}writeMin(e,t){t.min=S(e)}readTimeResolution(e,t){return j(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=S(e)}clone(){return new Z({includeTimeOffset:this.includeTimeOffset,max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],E.prototype,"includeTimeOffset",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],E.prototype,"max",void 0),(0,n.Cg)([(0,C.w)("max")],E.prototype,"readMax",null),(0,n.Cg)([(0,x.K)("max")],E.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],E.prototype,"min",void 0),(0,n.Cg)([(0,C.w)("min")],E.prototype,"readMin",null),(0,n.Cg)([(0,x.K)("min")],E.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],E.prototype,"timeResolution",void 0),(0,n.Cg)([(0,C.w)("timeResolution")],E.prototype,"readTimeResolution",null),(0,n.Cg)([(0,x.K)("timeResolution")],E.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["timestampoffset-picker"],json:{read:!1,write:!0}})],E.prototype,"type",void 0),E=Z=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimeOffsetPickerInput")],E);const T=E;var I;function O(e){return null!=e?new Date(e):null}function N(e){return e?e.getTime():null}let A=I=class extends p{constructor(e){super(e),this.includeTime=!1,this.max=null,this.min=null,this.type="datetime-picker"}readMax(e,t){return O(t.max)}writeMax(e,t){t.max=N(e)}readMin(e,t){return O(t.min)}writeMin(e,t){t.min=N(e)}clone(){return new I({includeTime:this.includeTime,max:this.max,min:this.min})}};(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],A.prototype,"includeTime",void 0),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],A.prototype,"max",void 0),(0,n.Cg)([(0,C.w)("max")],A.prototype,"readMax",null),(0,n.Cg)([(0,x.K)("max")],A.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:Date,json:{type:Number,write:!0}})],A.prototype,"min",void 0),(0,n.Cg)([(0,C.w)("min")],A.prototype,"readMin",null),(0,n.Cg)([(0,x.K)("min")],A.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:["datetime-picker"],json:{read:!1,write:!0}})],A.prototype,"type",void 0),A=I=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.DateTimePickerInput")],A);const F=A;var K;let $=K=class extends s.o{constructor(e){super(e),this.label="",this.value=""}clone(){return new K({label:this.label,value:this.value})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],$.prototype,"label",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],$.prototype,"value",void 0),$=K=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.multipleChoice.Choice")],$);const R=$;var k;let L=k=class extends s.o{constructor(e){super(e),this.fieldName="",this.hint=null,this.label=null}clone(){return new k({fieldName:this.fieldName,hint:this.hint,label:this.label})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],L.prototype,"fieldName",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],L.prototype,"hint",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],L.prototype,"label",void 0),L=k=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.multipleChoice.OtherChoice")],L);const V=L;var D;let B=D=class extends p{constructor(e){super(e),this.choiceDelimiter=",",this.choices=null,this.includeOtherChoice=null,this.maxSelectedChoices=null,this.minSelectedChoices=null,this.otherChoice=null,this.type="multiple-choice"}clone(){return new D({choiceDelimiter:this.choiceDelimiter,choices:this.choices?.map(e=>e.clone())??null,includeOtherChoice:this.includeOtherChoice,maxSelectedChoices:this.maxSelectedChoices,minSelectedChoices:this.minSelectedChoices,otherChoice:this.otherChoice?.clone()??null})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],B.prototype,"choiceDelimiter",void 0),(0,n.Cg)([(0,o.MZ)({type:[R],json:{write:{isRequired:!0}}})],B.prototype,"choices",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],B.prototype,"includeOtherChoice",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],B.prototype,"maxSelectedChoices",void 0),(0,n.Cg)([(0,o.MZ)({type:Number,json:{write:!0}})],B.prototype,"minSelectedChoices",void 0),(0,n.Cg)([(0,o.MZ)({type:V,json:{write:!0}})],B.prototype,"otherChoice",void 0),(0,n.Cg)([(0,o.MZ)({type:["multiple-choice"],json:{read:!1,write:!0}})],B.prototype,"type",void 0),B=D=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.MultipleChoiceInput")],B);const _=B;var U;let q=U=class extends p{constructor(e){super(e),this.noValueOptionLabel=null,this.showNoValueOption=!0,this.type="radio-buttons"}clone(){return new U({noValueOptionLabel:this.noValueOptionLabel,showNoValueOption:this.showNoValueOption})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],q.prototype,"noValueOptionLabel",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],q.prototype,"showNoValueOption",void 0),(0,n.Cg)([(0,o.MZ)({type:["radio-buttons"],json:{read:!1,write:!0}})],q.prototype,"type",void 0),q=U=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.RadioButtonsInput")],q);const W=q;var G;let P=G=class extends p{constructor(e){super(e),this.offValue=null,this.onValue=null,this.type="switch"}clone(){return new G({offValue:this.offValue,onValue:this.onValue})}};(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],P.prototype,"offValue",void 0),(0,n.Cg)([(0,o.MZ)({type:[String,Number],json:{write:!0}})],P.prototype,"onValue",void 0),(0,n.Cg)([(0,o.MZ)({type:["switch"],json:{read:!1,write:!0}})],P.prototype,"type",void 0),P=G=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.SwitchInput")],P);const J=P;var z;let H=z=class extends u{constructor(e){super(e),this.type="text-area"}clone(){return new z({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-area"],json:{read:!1,write:!0}})],H.prototype,"type",void 0),H=z=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextAreaInput")],H);const X=H;var Y;let Q=Y=class extends u{constructor(e){super(e),this.type="text-box"}clone(){return new Y({maxLength:this.maxLength,minLength:this.minLength})}};(0,n.Cg)([(0,o.MZ)({type:["text-box"],json:{read:!1,write:!0}})],Q.prototype,"type",void 0),Q=Y=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TextBoxInput")],Q);const ee=Q;var te;function ie(e){return null!=e?e:null}function ne(e){return null!=e?e:null}let oe=te=class extends p{constructor(e){super(e),this.max=null,this.min=null,this.timeResolution="minutes",this.type="time-picker"}readMax(e,t){return ie(t.max)}writeMax(e,t){t.max=ne(e)}readMin(e,t){return ie(t.min)}writeMin(e,t){t.min=ne(e)}readTimeResolution(e,t){return ie(t.timeResolution)}writeTimeResolution(e,t){t.timeResolution=ne(e)}clone(){return new te({max:this.max,min:this.min,timeResolution:this.timeResolution})}};(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],oe.prototype,"max",void 0),(0,n.Cg)([(0,C.w)("max")],oe.prototype,"readMax",null),(0,n.Cg)([(0,x.K)("max")],oe.prototype,"writeMax",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],oe.prototype,"min",void 0),(0,n.Cg)([(0,C.w)("min")],oe.prototype,"readMin",null),(0,n.Cg)([(0,x.K)("min")],oe.prototype,"writeMin",null),(0,n.Cg)([(0,o.MZ)({type:String,json:{type:String,write:!0}})],oe.prototype,"timeResolution",void 0),(0,n.Cg)([(0,C.w)("timeResolution")],oe.prototype,"readTimeResolution",null),(0,n.Cg)([(0,x.K)("timeResolution")],oe.prototype,"writeTimeResolution",null),(0,n.Cg)([(0,o.MZ)({type:["time-picker"],json:{read:!1,write:!0}})],oe.prototype,"type",void 0),oe=te=(0,n.Cg)([(0,o.$K)("esri.form.elements.inputs.TimePickerInput")],oe);const re={base:p,key:"type",typeMap:{"barcode-scanner":m,"combo-box":g,"date-picker":b,"datetime-picker":F,"multiple-choice":_,"timestampoffset-picker":T,"radio-buttons":W,switch:J,"text-area":X,"text-box":ee,"time-picker":oe}};var se,le=i(8631);let pe=se=class extends r.A{constructor(e){super(e),this.domain=null,this.editable=null,this.editableExpression=null,this.fieldName=null,this.hint=null,this.input=null,this.requiredExpression=null,this.type="field",this.valueExpression=null}clone(){return new se({description:this.description,domain:this.domain?.clone()??null,editable:this.editable,editableExpression:this.editableExpression,fieldName:this.fieldName,hint:this.hint,input:this.input?.clone(),label:this.label,requiredExpression:this.requiredExpression,valueExpression:this.valueExpression,visibilityExpression:this.visibilityExpression})}};(0,n.Cg)([(0,o.MZ)({types:le.g,json:{read:{reader:le.r},write:!0}})],pe.prototype,"domain",void 0),(0,n.Cg)([(0,o.MZ)({type:Boolean,json:{write:!0}})],pe.prototype,"editable",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],pe.prototype,"editableExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],pe.prototype,"fieldName",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],pe.prototype,"hint",void 0),(0,n.Cg)([(0,o.MZ)({types:re,json:{read:{source:"inputType"},write:{target:"inputType"}}})],pe.prototype,"input",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],pe.prototype,"requiredExpression",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{read:!1,write:!0}})],pe.prototype,"type",void 0),(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],pe.prototype,"valueExpression",void 0),pe=se=(0,n.Cg)([(0,o.$K)("esri.form.elements.FieldElement")],pe)},83960(e,t,i){i.d(t,{X_:()=>r,oW:()=>l,zx:()=>s});var n=i(34727),o=i(86211);function r(e,t){const i=t||e.extent,n=e.width,r=(0,o.GA)(i?.spatialReference);return i&&n?i.width/n*r*o.dy*96:0}function s(e,t,i){return function(e,t){return 0===t||(0,n.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,n.Sp)(e,t)||e>t}(e,i)}function l(e,t){return(0,n.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},6455(e,t,i){i.d(t,{FJ:()=>w,Dp:()=>C,KV:()=>x});var n=i(5482),o=i(93637),r=i(91429),s=i(89317),l=i(69540),p=i(7762),a=i(25482),u=i(83960),y=i(13069);const d={write:{overridePolicy:(e,t,i)=>({enabled:!i||"scale"===i.filterMode})}};let m=class extends((0,l.OU)(a.o)){constructor(e){super(e),this.id=(0,y.lk)(),this.maxScale=0,this.minScale=0,this.title="",this.where=null}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],m.prototype,"id",void 0),(0,n.Cg)([(0,r.MZ)({type:Number,json:d})],m.prototype,"maxScale",void 0),(0,n.Cg)([(0,r.MZ)({type:Number,json:d})],m.prototype,"minScale",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],m.prototype,"title",void 0),(0,n.Cg)([(0,r.MZ)({type:String,json:{write:!0}})],m.prototype,"where",void 0),m=(0,n.Cg)([(0,r.$K)("esri.layers.support.DisplayFilter")],m);var c=i(41560),h=i(43937);let g=class extends((0,l.OU)(a.o)){constructor(e){super(e),this.activeFilterId=null,this.filters=new(p.A.ofType(m)),this.mode="manual"}writeFilters(e,t,i,n){const o=e.toArray();"scale"===this.mode&&o.sort((e,t)=>{const i=(0,u.oW)(t.minScale,e.minScale),n=e.maxScale-t.maxScale;return 0===i?n:i}),t[i]=o.map(e=>e.toJSON(n))}write(e,t){return super.write(e,(0,c.mW)(this,t))}};(0,n.Cg)([(0,r.MZ)({type:String,json:{write:{overridePolicy:(e,t,i)=>({enabled:"manual"===i.filterMode,isRequired:!0})}}})],g.prototype,"activeFilterId",void 0),(0,n.Cg)([(0,r.MZ)({type:p.A.ofType(m),nonNullable:!0,json:{write:!0}})],g.prototype,"filters",void 0),(0,n.Cg)([(0,h.K)("filters")],g.prototype,"writeFilters",null),(0,n.Cg)([(0,r.MZ)({type:["manual","scale"],nonNullable:!0,json:{name:"filterMode",write:!0}})],g.prototype,"mode",void 0),g=(0,n.Cg)([(0,r.$K)("esri.layers.support.DisplayFilterInfo")],g);const w=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.displayFilterEnabled=!0,this.displayFilterInfo=null}};return(0,n.Cg)([(0,r.MZ)(C)],i.prototype,"displayFilterEnabled",void 0),(0,n.Cg)([(0,r.MZ)(x)],i.prototype,"displayFilterInfo",void 0),i=(0,n.Cg)([(0,r.$K)("esri.layers.mixins.DisplayFilteredLayer")],i),i},C={type:Boolean,json:{name:"layerDefinition.disableDisplayFilter",read:{reader:e=>!e},write:{layerContainerTypes:s.K,writer(e,t,i){(0,o.sM)(i,!e,t)}},origins:{"web-scene":{write:!1,read:!1}}}},x={type:g,json:{name:"layerDefinition.displayFilterInfo",write:{enabled:!0,allowNull:!0,layerContainerTypes:s.K},origins:{"web-scene":{write:!1,read:!1}}}}},82935(e,t,i){i.d(t,{B:()=>d,e:()=>m});var n=i(5482),o=i(91429),r=i(89317),s=i(30524),l=i(96184),p=i(73133),a=i(79677),u=i(10184),y=i(36005);const d={type:Boolean,json:{read:{source:"timeAnimation"},write:{target:"timeAnimation",layerContainerTypes:r.K}}},m=e=>{const t=e;let i=class extends t{constructor(){super(...arguments),this.timeExtent=null,this.timeOffset=null,this.useViewTime=!0}readOffset(e,t){const i=t.timeInfo.exportOptions;if(!i)return null;const n=i.timeOffset,o=p.j.fromJSON(i.timeOffsetUnits);return n&&o?new u.A({value:n,unit:o}):null}get timeInfo(){return this._get("timeInfo")}set timeInfo(e){(0,s.sv)(e,this.fieldsIndex),this._set("timeInfo",e)}};return(0,n.Cg)([(0,o.MZ)({type:a.A,json:{write:!1}})],i.prototype,"timeExtent",void 0),(0,n.Cg)([(0,o.MZ)({type:u.A})],i.prototype,"timeOffset",void 0),(0,n.Cg)([(0,y.w)("service","timeOffset",["timeInfo.exportOptions"])],i.prototype,"readOffset",null),(0,n.Cg)([(0,o.MZ)({value:null,type:l.A,json:{write:!0,origins:{"web-document":{read:!1,write:!1},"portal-item":{read:!1,write:!1}}}})],i.prototype,"timeInfo",null),(0,n.Cg)([(0,o.MZ)(d)],i.prototype,"useViewTime",void 0),i=(0,n.Cg)([(0,o.$K)("esri.layers.mixins.TemporalLayer")],i),i}},96184(e,t,i){i.d(t,{A:()=>m});var n=i(5482),o=i(69540),r=i(25482),s=i(91429),l=i(79677),p=i(10184),a=i(56400),u=i(36005),y=i(43937);function d(e,t){return p.A.fromJSON({value:e,unit:t})}let m=class extends((0,o.OU)(r.o)){constructor(e){super(e),this.cumulative=!1,this.endField=null,this.fullTimeExtent=null,this.hasLiveData=!1,this.interval=null,this.startField=null,this.timeZone=null,this.trackIdField=null,this.useTime=!0,this.stops=null}readFullTimeExtent(e,t){return t.timeExtent&&Array.isArray(t.timeExtent)&&2===t.timeExtent.length?l.A.fromArray(t.timeExtent):null}writeFullTimeExtent(e,t){null!=e?.start&&null!=e.end?t.timeExtent=e.toArray():t.timeExtent=null}readInterval(e,t){return t.timeInterval&&t.timeIntervalUnits?d(t.timeInterval,t.timeIntervalUnits):t.defaultTimeInterval&&t.defaultTimeIntervalUnits?d(t.defaultTimeInterval,t.defaultTimeIntervalUnits):null}writeInterval(e,t){t.timeInterval=e?.toJSON().value??null,t.timeIntervalUnits=e?.toJSON().unit??null}};(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.timeDataCumulative",write:!0}})],m.prototype,"cumulative",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"endTimeField",write:{enabled:!0,allowNull:!0}}})],m.prototype,"endField",void 0),(0,n.Cg)([(0,s.MZ)({type:l.A,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"fullTimeExtent",void 0),(0,n.Cg)([(0,u.w)("fullTimeExtent",["timeExtent"])],m.prototype,"readFullTimeExtent",null),(0,n.Cg)([(0,y.K)("fullTimeExtent")],m.prototype,"writeFullTimeExtent",null),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],m.prototype,"hasLiveData",void 0),(0,n.Cg)([(0,s.MZ)({type:p.A,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"interval",void 0),(0,n.Cg)([(0,u.w)("interval",["timeInterval","timeIntervalUnits","defaultTimeInterval","defaultTimeIntervalUnits"])],m.prototype,"readInterval",null),(0,n.Cg)([(0,y.K)("interval")],m.prototype,"writeInterval",null),(0,n.Cg)([(0,s.MZ)({type:String,json:{name:"startTimeField",write:{enabled:!0,allowNull:!0}}})],m.prototype,"startField",void 0),(0,n.Cg)([(0,s.MZ)((0,a.P6)("timeReference",!0))],m.prototype,"timeZone",void 0),(0,n.Cg)([(0,s.MZ)({type:String,json:{write:{enabled:!0,allowNull:!0}}})],m.prototype,"trackIdField",void 0),(0,n.Cg)([(0,s.MZ)({type:Boolean,json:{name:"exportOptions.useTime",write:!0}})],m.prototype,"useTime",void 0),(0,n.Cg)([(0,s.MZ)({type:[Date],json:{read:!1}})],m.prototype,"stops",void 0),m=(0,n.Cg)([(0,s.$K)("esri.layers.support.TimeInfo")],m)},17036(e,t,i){i.d(t,{p:()=>p});var n=i(44208),o=i(53966),r=i(20437),s=i(95466),l=i(30524);function p(){return{fields:{type:[r.A],value:null,set:function(e){if(e&&(0,n.A)("big-integer-warning-enabled")){const t=e.filter(e=>"big-integer"===e.type||"oid"===e.type&&(e.length||0)>=8);if(t.length){const e=t.map(e=>`'${e.name}'`).join(", ");o.A.getLogger(this).warn("#fields",`Layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}') references big-integer field(s): ${e}, support for which is experimental. Only integers less than ${Number.MAX_SAFE_INTEGER} (Number.MAX_SAFE_INTEGER) are supported.`)}}this._set("fields",e)}},fieldsIndex:{readOnly:!0,get(){return s.A.fromLayer(this)}},outFields:{type:[String],json:{read:!1},set:function(e){this._userOutFields=e,this.notifyChange("outFields")},get:function(){const e=this._userOutFields;if(!e?.length)return null;if(e.includes("*"))return["*"];if(!this.fields)return e;for(const t of e){const i=this.fieldsIndex?.has(t);i||o.A.getLogger("esri.layers.support.fieldProperties").error("field-attributes-layer:invalid-field",`Invalid field ${t} found in outFields`,{layer:this,outFields:e})}return(0,l.DB)(this.fieldsIndex,e)}}}}}}]);
|