@arcgis/portal-components 5.1.0-next.13 → 5.1.0-next.14

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.
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import a from"./RALY4IZG.js";import{a as T}from"./3W2BQQUS.js";import"./EIJ3YMIH.js";import{A as f,G as I,H as w,I as v,L as k,O as R,P as $,h as u,j as l,k as g,l as m,u as h,y as b,z as y}from"./SPAXWYII.js";export default $arcgis.t(([,M,{j:C}])=>{var p=class extends f{constructor(e){if(super(e),this.it=m,e.type!==b.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===m||e==null)return this._t=void 0,this.it=e;if(e===g)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};p.directiveName="unsafeHTML",p.resultType=1;var D=y(p);var L=u`.thumbnail-container{width:100%}.replacement-container{margin:.5rem}.replacement-message{margin-bottom:.5rem}.replacement-card__title{margin-bottom:.25rem}`,P=["3DInsetMap","3DScene","3DViz","AttachmentViewer","CapacityAnalysis","Compare/storytelling_compare","Compare/storytelling_tabbed","Compare/storytelling_sidepanel","Compare/Multiviewer","Compare/Search","Compare/Configure","Compare/SideBySideViewer_Configure","Compare3d","CompareAnalysis","CompareMaps","Directions","Edit","Editor","Elevations","ElevationsProfile","Filter","FilterGallery","GeoList","GeoTour","HeaderFooter","Identify","ImageInterpretation","ImageryViewer","ImpactSummary","InformationLookup","InteractiveFilter","InteractiveLegend","LayerShowcase","Legend","LiveMaps","LocalPerspective","MapAndAppGallery","MapCarousel","MapTools","Media","MinimalGallery","Minimalist","Nearby","OnePane","Panels","PanelsLegend","Profile","PublicGallery","PublicInformation","ServiceLookup","SimpleMapViewer","SimpleViewer","SocialMedia","Solutions/s2.html?app=apps2/FindEditFilter","Solutions/s2.html?app=apps2/Finder","StorytellingTextLegend","StoryMapBasic","Styler","SummaryViewer","Time","TimeAware","TwoPane","Viewer","ZoneLookup","Compare","CrowdsourceManager","CrowdsourcePolling","CrowdsourceReporter","Embed","GeoForm","ImageMask","ImageVisit","MobileViewer","View"],S=i=>{if(!i)return!1;let e=P.some(t=>{let a=t.includes(".html"),n=`/apps/${t}${a?"":"/"}`;return decodeURIComponent(i.url)?.includes(n)});return i.type==="Web Mapping Application"&&!!i.url&&e};function U(i){return i.type==="Web Mapping Application"&&j(["Story Map"],i)}function j(i,e){return i?.some(t=>e?.typeKeywords?.includes(t))}function x(i){let e=_(i);return $(`assets/portal-item-thumbnail/${e}`)}function _(i){let e=i.type?.toLowerCase(),t=i.typeKeywords||[];switch(e){case"web mapping application":return"webapp.png";case"mobile application":return"mobileapp.png";case"notebook code snippets":case"notebook code snippet library":return"notebookcodesnippets.png";case"notebook":return"notebook.png";case"style":return t.includes("Dictionary")?"dictionarystyle.png":"style.png";case"feature service":return t.includes("Location Tracking View")?"locationtrackingservice.png":t.includes("IndoorPositioningDataService")?"indoor-positioning-data-service.png":"default.png";case"pro presentation":return"pro-presentation.png";case"reality mapping project":return"realitymappingproject.png";case"raster function template":return"rasterfunctiontemplate.png";case"workforce project":return"workforceproject.png";case"hub initiative":return"hubinitiative.png";case"hub page":return"hubpage.png";case"hub site application":case"site application":return"hubsite.png";case"hub event":return"hubevent.png";case"hub project":return"hubproject.png";case"dashboard":return t.includes("ArcGIS Dashboards")?"dashboards.png":"opsdashboard.png";case"geoprocessing service":return t.includes("Notebook Web Tool")?"notebookwebtool.png":"webtool.png";case"web scene":case"scene service":return"scene.png";case"ortho mapping project":return"orthomappingproject.png";case"ortho mapping template":return"orthomappingtemplate.png";case"insights theme":return"insightstheme.png";case"insights workbook package":return"insightsworkbookpackage.png";case"solution":return"solution.png";case"mobile scene package":return"mobilescenepackage.png";case"deep learning package":return"deeplearningpackage.png";case"big data analytic":return"bigdataanalytic.png";case"real time analytic":return"realtimeanalytic.png";case"feed":return"feed.png";case"excalibur imagery project":return"excaliburimageryproject.png";case"storymap":return t?.includes("storymapcollection")?"storymapcollection.png":"storymap.png";case"survey123 add in":return"survey123addin.png";case"mission":return"mission.png";case"mission template":return"missiontemplate.png";case"quickcapture project":return"quickcaptureproject.png";case"pro report":return"proreport.png";case"pro package":return"propackage.png";case"pro report template":return"proreporttemplate.png";case"urban model":return"urbanmodel.png";case"urban project":return"urbanproject.png";case"web experience":return"webexperience.png";case"web experience template":return"webexperiencetemplate.png";case"experience builder widget":return"experiencebuilderwidget.png";case"experience builder widget package":return"experiencebuilderwidgetpackage.png";case"workflow":return"workflow.png";case"insights script":return"insightsscript.png";case"kernel gateway connection":return"kernelgatewayconnection.png";case"hub initiative template":return"hubinitiativetemplate.png";case"image service":return t?.includes("Tile Imagery")?"tiledimagerylayer.png":"imagerylayer.png";case"mission report":return"missionreport.png";case"administrative report":return"administrativereport.png";case"storymap theme":return"storymaptheme.png";case"knowledge graph":return"knowledgegraph.png";case"knowledge graph layer":return"knowledgegraphlayer.png";case"knowledge studio project":return"knowledgestudio.png";case"earth configuration":return"earthconfiguration.png";case"link chart":return"linkchart.png";case"investigation":return"investigation.png";case"apache parquet":return"apacheparquet.png";case"curated collection":return"curatedcollection.png";case"video service":return"mediaservice.png";case"geodata service":return"geodataservice.png";case"suitability model":return"suitabilitymodel.png";case"esri classifier definition":return"classifierdefinition.png";case"esri spectral library":return"spectrallibrary.png";case"deep learning studio project":return"deeplearningstudioproject.png";case"esri classification schema":return"classificationschema.png";case"insights data engineering workbook":return"dataengineeringworkbook.png";case"insights data engineering model":return"dataengineeringmodel.png";case"discussion":return"discussion.png";case"api key":return"apikey.png";case"data pipeline":return"datapipeline.png";case"analysis model":return"analysismodel.png";case"service connection":return"serviceconnection.png";case"xr experience":return"xrexperience.png";case"3dtiles service":return t?.includes("GaussianSplat")?"gaussiansplatlayer.png":"default.png";default:return"default.png"}}function F(i,e,t){let{restUrl:a}=i,n=V(i),c=n?`token=${n}`:"",s=`${a}/content/items/${e.id}`;if(e.thumbnail){let o=e.thumbnailUrl;if(o){let r=new URL(o);return r.searchParams.append("w","400"),r.href}return`${s}/info/${e.thumbnail}?w=400${n?"&":""}${c}`}else if(e.type==="Image")return`${s}/data?${c}`;return x(e)}function V(i){return i?.credential?.token||i?.token||i?.user?.credential?.token||i?.portalUser?.token||""}var A=5e3,d=class extends v{constructor(){super(...arguments),this.replacementId=null,this.replacementItemInRecycleBin=!1,this.hasInaccessibleReplacementItem=!1,this.thumbnailUrl=null,this.timer=void 0,this.t9n=T({blocking:!0}),this.primaryActionRef=I(),this.getItemDetailsUrl=({portal:e,itemId:t,redirect:a})=>{let n=e.restUrl;return n?`${n.replace("sharing/rest","home")}/item.html?id=${t}${a?"&performRedirectAction=true":""}`:""},this.performRedirectAction=()=>{window.open(this.getItemDetailsUrl({portal:this.portal,itemId:this.replacementId,redirect:!0}),"_self")},this.viewItemDetailsPage=()=>{window.open(this.getItemDetailsUrl({portal:this.portal,itemId:this.replacementId??this.itemId}),this.canRedirect?"_self":"_blank")},this.item=null,this.replacementItem=null,this.redirectAction=null,this.canRedirect=!1,this.redirectDisabled=!1,this.open=!1,this.redirectTimeRemaining=A/1e3,this.arcgisPortalReplacementItemFetch=h()}static{this.properties={item:16,replacementItem:16,redirectAction:16,canRedirect:16,redirectDisabled:16,open:16,redirectTimeRemaining:16,itemId:1,portal:0,user:0}}static{this.styles=L}async setFocus(){this.primaryActionRef.value?.setFocus()}willUpdate(e){(e.has("itemId")||e.has("portal")||e.has("user"))&&this.initItem()}setupTimer({onComplete:e}){typeof this.timer=="number"&&clearInterval(this.timer),this.redirectTimeRemaining=A/1e3,this.timer=setInterval(()=>{if(this.redirectTimeRemaining<=0){clearInterval(this.timer),this.timer=void 0,e();return}this.redirectTimeRemaining-=1},1e3)}cancelTimer({onCancel:e}={}){e?.(),clearInterval(this.timer)}handleClose(){this.cancelTimer(),this.itemId="",this.item=null,this.open=!1}disableRedirect(){this.cancelTimer(),this.redirectDisabled=this.canRedirect}async initItem(){if(!this.itemId)return;let{itemId:e,portal:t,performRedirectAction:a}=this,n=new M({id:e,portal:t});this.item=await n?.load();let c=await C(e,t,{relationshipType:"ReplacementItem2Item",direction:"reverse"},!0),s=c.data?.relatedItems?.[0];this.replacementItemInRecycleBin=s?.inRecycleBin;let o=s?.id,r=!this.replacementItemInRecycleBin&&o?new M({id:o,portal:t}):null;if(await r?.load(),this.replacementItem=r,this.hasInaccessibleReplacementItem=this.replacementItemInRecycleBin||!r&&c.data?.aggregations?.total?.count>0&&c.data?.relatedItems?.length===0,console.log(this.hasInaccessibleReplacementItem?{}:r||null),this.arcgisPortalReplacementItemFetch.emit({replacementItem:this.hasInaccessibleReplacementItem?{}:r||null}),this.hasInaccessibleReplacementItem)this.canRedirect=!1;else if(!r){this.handleClose();return}this.replacementItem=r,this.thumbnailUrl=F(t,r??this.item),this.canRedirect=!!r&&!S(r)&&!U(r),this.replacementId=r?.id||null,this.canRedirect&&this.setupTimer({onComplete:()=>a()}),this.open=!0}renderCard(e){let{canRedirect:t,t9n:a}=this;return l`<calcite-card thumbnail-position=inline-start><img slot=thumbnail class="thumbnail" src=${(this.thumbnailUrl||void 0)??k} @error=${async()=>this.thumbnailUrl=x(e)}><span slot=heading class="replacement-card__title">${e.title}</span><span slot=description>${`Owned by: ${e.owner}`}</span>${t&&l`<calcite-link slot=footer-start icon-end=launch .href=${this.getItemDetailsUrl({portal:this.portal,itemId:this.replacementId})} target=_blank>${a.moreDetails}</calcite-link>`||""}</calcite-card>`}render(){let{open:e,t9n:t,item:a,replacementItem:n,canRedirect:c,hasInaccessibleReplacementItem:s}=this;if(!(!a||!n&&!s))return l`<calcite-dialog modal .open=${e} width=s kind=info outside-close-disabled escape-disabled close-disabled .heading=${s?t.replacementUnavailable:c?t.redirectToReplacement:t.replacementAvailable} @calciteDialogClose=${()=>{this.cancelTimer(),this.itemId="",this.item=null,this.open=!1}}><div class="replacement-container"><div class="replacement-message">${D(t[s?"retiredReplacementUnavailable":"deprecatedHasReplacement"]?.replace("${itemTitle}",this.item?.title||""))}</div>${this.renderCard(s?a:n)}</div>${c&&l`<calcite-button slot=footer-end appearance=outline-fill kind=neutral @click=${()=>{this.disableRedirect()}}>${t.cancel}</calcite-button>`||""}<calcite-button .disabled=${this.redirectDisabled} slot=footer-end @click=${()=>{this.cancelTimer(),this.canRedirect?this.performRedirectAction():this.viewItemDetailsPage()}} .iconEnd=${this.canRedirect?void 0:"launch"} ${w(this.primaryActionRef)}>${this.canRedirect?t.redirect.replace("${seconds}",`${this.redirectTimeRemaining}`):t.moreDetails}</calcite-button></calcite-dialog>`}};R("arcgis-portal-replacement-item-redirect",d);return d},"request","portal/PortalItem",a)
2
+ import a from"./RALY4IZG.js";import{a as T}from"./3W2BQQUS.js";import"./EIJ3YMIH.js";import{A as f,G as I,H as w,I as v,L as k,O as R,P as $,h as u,j as l,k as g,l as m,u as h,y as b,z as y}from"./SPAXWYII.js";export default $arcgis.t(([,D,{j:C}])=>{var p=class extends f{constructor(e){if(super(e),this.it=m,e.type!==b.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===m||e==null)return this._t=void 0,this.it=e;if(e===g)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;let t=[e];return t.raw=t,this._t={_$litType$:this.constructor.resultType,strings:t,values:[]}}};p.directiveName="unsafeHTML",p.resultType=1;var M=y(p);var L=u`.thumbnail-container{width:100%}.replacement-container{margin:.5rem}.replacement-message{margin-bottom:.5rem}.replacement-card__title{margin-bottom:.25rem}`,P=["3DInsetMap","3DScene","3DViz","AttachmentViewer","CapacityAnalysis","Compare/storytelling_compare","Compare/storytelling_tabbed","Compare/storytelling_sidepanel","Compare/Multiviewer","Compare/Search","Compare/Configure","Compare/SideBySideViewer_Configure","Compare3d","CompareAnalysis","CompareMaps","Directions","Edit","Editor","Elevations","ElevationsProfile","Filter","FilterGallery","GeoList","GeoTour","HeaderFooter","Identify","ImageInterpretation","ImageryViewer","ImpactSummary","InformationLookup","InteractiveFilter","InteractiveLegend","LayerShowcase","Legend","LiveMaps","LocalPerspective","MapAndAppGallery","MapCarousel","MapTools","Media","MinimalGallery","Minimalist","Nearby","OnePane","Panels","PanelsLegend","Profile","PublicGallery","PublicInformation","ServiceLookup","SimpleMapViewer","SimpleViewer","SocialMedia","Solutions/s2.html?app=apps2/FindEditFilter","Solutions/s2.html?app=apps2/Finder","StorytellingTextLegend","StoryMapBasic","Styler","SummaryViewer","Time","TimeAware","TwoPane","Viewer","ZoneLookup","Compare","CrowdsourceManager","CrowdsourcePolling","CrowdsourceReporter","Embed","GeoForm","ImageMask","ImageVisit","MobileViewer","View"],S=i=>{if(!i)return!1;let e=P.some(t=>{let r=t.includes(".html"),n=`/apps/${t}${r?"":"/"}`;return decodeURIComponent(i.url)?.includes(n)});return i.type==="Web Mapping Application"&&!!i.url&&e};function U(i){return i.type==="Web Mapping Application"&&j(["Story Map"],i)}function j(i,e){return i?.some(t=>e?.typeKeywords?.includes(t))}function x(i){let e=_(i);return $(`assets/portal-item-thumbnail/${e}`)}function _(i){let e=i.type?.toLowerCase(),t=i.typeKeywords||[];switch(e){case"web mapping application":return"webapp.png";case"mobile application":return"mobileapp.png";case"notebook code snippets":case"notebook code snippet library":return"notebookcodesnippets.png";case"notebook":return"notebook.png";case"style":return t.includes("Dictionary")?"dictionarystyle.png":"style.png";case"feature service":return t.includes("Location Tracking View")?"locationtrackingservice.png":t.includes("IndoorPositioningDataService")?"indoor-positioning-data-service.png":"default.png";case"pro presentation":return"pro-presentation.png";case"reality mapping project":return"realitymappingproject.png";case"raster function template":return"rasterfunctiontemplate.png";case"workforce project":return"workforceproject.png";case"hub initiative":return"hubinitiative.png";case"hub page":return"hubpage.png";case"hub site application":case"site application":return"hubsite.png";case"hub event":return"hubevent.png";case"hub project":return"hubproject.png";case"dashboard":return t.includes("ArcGIS Dashboards")?"dashboards.png":"opsdashboard.png";case"geoprocessing service":return t.includes("Notebook Web Tool")?"notebookwebtool.png":"webtool.png";case"web scene":case"scene service":return"scene.png";case"ortho mapping project":return"orthomappingproject.png";case"ortho mapping template":return"orthomappingtemplate.png";case"insights theme":return"insightstheme.png";case"insights workbook package":return"insightsworkbookpackage.png";case"solution":return"solution.png";case"mobile scene package":return"mobilescenepackage.png";case"deep learning package":return"deeplearningpackage.png";case"big data analytic":return"bigdataanalytic.png";case"real time analytic":return"realtimeanalytic.png";case"feed":return"feed.png";case"excalibur imagery project":return"excaliburimageryproject.png";case"storymap":return t?.includes("storymapcollection")?"storymapcollection.png":"storymap.png";case"survey123 add in":return"survey123addin.png";case"mission":return"mission.png";case"mission template":return"missiontemplate.png";case"quickcapture project":return"quickcaptureproject.png";case"pro report":return"proreport.png";case"pro package":return"propackage.png";case"pro report template":return"proreporttemplate.png";case"urban model":return"urbanmodel.png";case"urban project":return"urbanproject.png";case"web experience":return"webexperience.png";case"web experience template":return"webexperiencetemplate.png";case"experience builder widget":return"experiencebuilderwidget.png";case"experience builder widget package":return"experiencebuilderwidgetpackage.png";case"workflow":return"workflow.png";case"insights script":return"insightsscript.png";case"kernel gateway connection":return"kernelgatewayconnection.png";case"hub initiative template":return"hubinitiativetemplate.png";case"image service":return t?.includes("Tile Imagery")?"tiledimagerylayer.png":"imagerylayer.png";case"mission report":return"missionreport.png";case"administrative report":return"administrativereport.png";case"storymap theme":return"storymaptheme.png";case"knowledge graph":return"knowledgegraph.png";case"knowledge graph layer":return"knowledgegraphlayer.png";case"knowledge studio project":return"knowledgestudio.png";case"earth configuration":return"earthconfiguration.png";case"link chart":return"linkchart.png";case"investigation":return"investigation.png";case"apache parquet":return"apacheparquet.png";case"curated collection":return"curatedcollection.png";case"video service":return"mediaservice.png";case"geodata service":return"geodataservice.png";case"suitability model":return"suitabilitymodel.png";case"esri classifier definition":return"classifierdefinition.png";case"esri spectral library":return"spectrallibrary.png";case"deep learning studio project":return"deeplearningstudioproject.png";case"esri classification schema":return"classificationschema.png";case"insights data engineering workbook":return"dataengineeringworkbook.png";case"insights data engineering model":return"dataengineeringmodel.png";case"discussion":return"discussion.png";case"api key":return"apikey.png";case"data pipeline":return"datapipeline.png";case"analysis model":return"analysismodel.png";case"service connection":return"serviceconnection.png";case"xr experience":return"xrexperience.png";case"3dtiles service":return t?.includes("GaussianSplat")?"gaussiansplatlayer.png":"default.png";default:return"default.png"}}function F(i,e,t){let{restUrl:r}=i,n=V(i),s=n?`token=${n}`:"",c=`${r}/content/items/${e.id}`;if(e.thumbnail){let o=e.thumbnailUrl;if(o){let a=new URL(o);return a.searchParams.append("w","400"),a.href}return`${c}/info/${e.thumbnail}?w=400${n?"&":""}${s}`}else if(e.type==="Image")return`${c}/data?${s}`;return x(e)}function V(i){return i?.credential?.token||i?.token||i?.user?.credential?.token||i?.portalUser?.token||""}var A=5e3,d=class extends v{constructor(){super(...arguments),this.replacementId=null,this.replacementItemInRecycleBin=!1,this.hasInaccessibleReplacementItem=!1,this.thumbnailUrl=null,this.timer=void 0,this.t9n=T({blocking:!0}),this.primaryActionRef=I(),this.getItemDetailsUrl=({portal:e,itemId:t,redirect:r})=>{let n=e.restUrl;return n?`${n.replace("sharing/rest","home")}/item.html?id=${t}${r?"&performRedirectAction=true":""}`:""},this.performRedirectAction=()=>{window.open(this.getItemDetailsUrl({portal:this.portal,itemId:this.replacementId,redirect:!0}),"_self")},this.viewItemDetailsPage=()=>{window.open(this.getItemDetailsUrl({portal:this.portal,itemId:this.replacementId??this.itemId}),this.canRedirect?"_self":"_blank")},this.item=null,this.replacementItem=null,this.redirectAction=null,this.canRedirect=!1,this.redirectDisabled=!1,this.open=!1,this.redirectTimeRemaining=A/1e3,this.arcgisPortalReplacementItemFetch=h()}static{this.properties={item:16,replacementItem:16,redirectAction:16,canRedirect:16,redirectDisabled:16,open:16,redirectTimeRemaining:16,itemId:1,portal:0,user:0}}static{this.styles=L}async setFocus(){this.primaryActionRef.value?.setFocus()}willUpdate(e){(e.has("itemId")||e.has("portal")||e.has("user"))&&this.initItem()}setupTimer({onComplete:e}){typeof this.timer=="number"&&clearInterval(this.timer),this.redirectTimeRemaining=A/1e3,this.timer=setInterval(()=>{if(this.redirectTimeRemaining<=0){clearInterval(this.timer),this.timer=void 0,e();return}this.redirectTimeRemaining-=1},1e3)}cancelTimer({onCancel:e}={}){e?.(),clearInterval(this.timer)}handleClose(){this.cancelTimer(),this.itemId="",this.item=null,this.open=!1}disableRedirect(){this.cancelTimer(),this.redirectDisabled=this.canRedirect}isItemRetired(e){return S(e)||U(e)}async initItem(){if(!this.itemId)return;let{itemId:e,portal:t,performRedirectAction:r}=this,n=new D({id:e,portal:t});this.item=await n?.load();let s=await C(e,t,{relationshipType:"ReplacementItem2Item",direction:"reverse"},!0),c=s.data?.relatedItems?.[0];this.replacementItemInRecycleBin=c?.inRecycleBin;let o=c?.id,a=!this.replacementItemInRecycleBin&&o?new D({id:o,portal:t}):null;await a?.load(),this.replacementItem=a,this.hasInaccessibleReplacementItem=this.replacementItemInRecycleBin||!a&&s.data?.aggregations?.total?.count>0&&s.data?.relatedItems?.length===0,this.arcgisPortalReplacementItemFetch.emit({replacementItem:this.hasInaccessibleReplacementItem?{}:a||null}),this.replacementItem=a,this.thumbnailUrl=F(t,a??this.item),this.canRedirect=!!a&&this.isItemRetired(n),this.replacementId=a?.id||null,this.canRedirect&&this.setupTimer({onComplete:()=>r()}),this.open=!0}getReplacementHeading(){let{t9n:e,hasInaccessibleReplacementItem:t,canRedirect:r}=this;return t?e.replacementUnavailable:r?e.redirectToReplacement:e.replacementAvailable}getReplacementMessage(){let{t9n:e,hasInaccessibleReplacementItem:t,canRedirect:r}=this;return t?e.retiredReplacementUnavailable:r?e.deprecatedHasReplacement:this.isItemRetired(this.item)&&!this.replacementItem?e.retired:e.deprecatedHasReplacement}renderCard(e){let{canRedirect:t,t9n:r}=this;return l`<calcite-card thumbnail-position=inline-start><img slot=thumbnail class="thumbnail" src=${(this.thumbnailUrl||void 0)??k} @error=${async()=>this.thumbnailUrl=x(e)}><span slot=heading class="replacement-card__title">${e.title}</span><span slot=description>${`Owned by: ${e.owner}`}</span>${t&&l`<calcite-link slot=footer-start icon-end=launch .href=${this.getItemDetailsUrl({portal:this.portal,itemId:this.replacementId})} target=_blank>${r.moreDetails}</calcite-link>`||""}</calcite-card>`}render(){let{open:e,t9n:t,item:r,replacementItem:n,canRedirect:s}=this;if(!(!r||!this.isItemRetired(r)))return l`<calcite-dialog modal .open=${e} width=s kind=info outside-close-disabled escape-disabled close-disabled .heading=${this.getReplacementHeading()} @calciteDialogClose=${()=>this.handleClose()}><div class="replacement-container"><div class="replacement-message">${M(this.getReplacementMessage()?.replace("${itemTitle}",this.item?.title||""))}</div>${this.renderCard(s?n:r)}</div>${s&&l`<calcite-button slot=footer-end appearance=outline-fill kind=neutral @click=${()=>{this.disableRedirect()}}>${t.cancel}</calcite-button>`||""}<calcite-button .disabled=${this.redirectDisabled} slot=footer-end @click=${()=>{this.cancelTimer(),this.canRedirect?this.performRedirectAction():this.viewItemDetailsPage()}} .iconEnd=${this.canRedirect?void 0:"launch"} ${w(this.primaryActionRef)}>${this.canRedirect?t.redirect.replace("${seconds}",`${this.redirectTimeRemaining}`):t.moreDetails}</calcite-button></calcite-dialog>`}};R("arcgis-portal-replacement-item-redirect",d);return d},"request","portal/PortalItem",a)
package/dist/cdn/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{N as t,x as e}from"./SPAXWYII.js";var a=e(t,{"arcgis-portal-classification-banner":[()=>import("./ZW6M2LGB.js"),"autoDestroyDisabled,messages:,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],"arcgis-portal-classification-config":[()=>import("./6NKUHVR4.js"),"autoDestroyDisabled,messages:,portalItem:,status,valid,values;destroy,resetForm,validateForm"],"arcgis-portal-classification-favorite":[()=>import("./EJHYAMM6.js"),"attributeExpressionResults:,classificationValue:,favoriteClassifications:,messages:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],"arcgis-portal-classification-form-element":[()=>import("./ENPCKCML.js"),"attribute:,attributeKey,isRequiredErrors:,messages:,renderingInfo:,value:"],"arcgis-portal-extent-picker":[()=>import("./6IAW2M6I.js"),"active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],"arcgis-portal-extent-picker-coord-field":[()=>import("./GZ7GD7XY.js"),"errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],"arcgis-portal-field-delete":[()=>import("./QXYYHQVQ.js"),"config:,fieldNames:,layer:,mapView:,messages:,options:"],"arcgis-portal-replacement-item-redirect":[()=>import("./MFE3MMLH.js"),"itemId,portal:,t9n:,user:;setFocus"]});a({resourcesUrl:import.meta.url});var i=new CSSStyleSheet;i.replaceSync("@layer{:not([hydrated]):is(arcgis-portal-classification-banner,arcgis-portal-classification-config,arcgis-portal-classification-favorite,arcgis-portal-classification-form-element,arcgis-portal-extent-picker,arcgis-portal-field-delete,arcgis-portal-replacement-item-redirect){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,i];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,t)
2
+ import{N as t,x as e}from"./SPAXWYII.js";var a=e(t,{"arcgis-portal-classification-banner":[()=>import("./ZW6M2LGB.js"),"autoDestroyDisabled,messages:,missingExistingClassification,portalItem:,validationErrors,variant;destroy"],"arcgis-portal-classification-config":[()=>import("./6NKUHVR4.js"),"autoDestroyDisabled,messages:,portalItem:,status,valid,values;destroy,resetForm,validateForm"],"arcgis-portal-classification-favorite":[()=>import("./EJHYAMM6.js"),"attributeExpressionResults:,classificationValue:,favoriteClassifications:,messages:,portalItem:,resetFavoriteClassification:,selectedFavoriteClassificationName,updateClassificationData:"],"arcgis-portal-classification-form-element":[()=>import("./ENPCKCML.js"),"attribute:,attributeKey,isRequiredErrors:,messages:,renderingInfo:,value:"],"arcgis-portal-extent-picker":[()=>import("./6IAW2M6I.js"),"active,contentOnly,extentService,extentValue:,isArea,itemId,messages:,portal:;;getExtent"],"arcgis-portal-extent-picker-coord-field":[()=>import("./GZ7GD7XY.js"),"errorMessage,inputId,label,max,min,relatedErrorMessage,validateRelated:,value;;checkRelatedField,isValid,setFocus"],"arcgis-portal-field-delete":[()=>import("./QXYYHQVQ.js"),"config:,fieldNames:,layer:,mapView:,messages:,options:"],"arcgis-portal-replacement-item-redirect":[()=>import("./C7PLRSTK.js"),"itemId,portal:,t9n:,user:;setFocus"]});a({resourcesUrl:import.meta.url});var i=new CSSStyleSheet;i.replaceSync("@layer{:not([hydrated]):is(arcgis-portal-classification-banner,arcgis-portal-classification-config,arcgis-portal-classification-favorite,arcgis-portal-classification-form-element,arcgis-portal-extent-picker,arcgis-portal-field-delete,arcgis-portal-replacement-item-redirect){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,i];window.$arcgis||Object.defineProperty(window,"$arcgis",{configurable:!1,enumerable:!0,writable:!1,value:{}}),((a,r)=>{a.t=(c,...x)=>Promise.all(x.map(x=>x.then?x:(!a?.forceESM&&a?.import||(x=>import(x+".js").then(m=>m.default??m)))("@arcgis/core/"+x))).then(c);r.p=a.t(([m])=>{r.t=m.trackAccess;r.o=m.createObservable;r.c=m.createTrackingTarget;r.r=m.runTracked},"applications/Components/reactiveUtils")})($arcgis,t)
@@ -1,5 +1,7 @@
1
1
  /// <reference path="../../index.d.ts" />
2
- /// <reference types="@arcgis/core/interfaces.d.ts" />
2
+ import type PortalItem from "@arcgis/core/portal/PortalItem.js";
3
+ import type Portal from "@arcgis/core/portal/Portal.js";
4
+ import type PortalUser from "@arcgis/core/portal/PortalUser.js";
3
5
  import type { PublicLitElement as LitElement } from "@arcgis/lumina";
4
6
  import type { T9nMeta } from "@arcgis/lumina/controllers";
5
7
 
@@ -15,7 +17,7 @@ export abstract class ArcgisPortalReplacementItemRedirect extends LitElement {
15
17
  /** The id of a deprecated/retired item to be checked for a replacement */
16
18
  accessor itemId: string;
17
19
  /** The portal instance */
18
- accessor portal: __esri.Portal;
20
+ accessor portal: Portal;
19
21
  /** @internal */
20
22
  protected t9n: {
21
23
  replacementAvailable: string;
@@ -39,10 +41,10 @@ export abstract class ArcgisPortalReplacementItemRedirect extends LitElement {
39
41
  moreDetails: string;
40
42
  }>;
41
43
  /** The user. Defaults to `portal.user` if omitted */
42
- accessor user: __esri.PortalUser | undefined;
44
+ accessor user: PortalUser | undefined;
43
45
  /** Set focus on the component */
44
46
  setFocus(): Promise<void>;
45
- readonly arcgisPortalReplacementItemFetch: import("@arcgis/lumina").TargetedEvent<this, { replacementItem: __esri.PortalItem | object | null; }>;
47
+ readonly arcgisPortalReplacementItemFetch: import("@arcgis/lumina").TargetedEvent<this, { replacementItem: PortalItem | object | null; }>;
46
48
  readonly "@eventTypes": {
47
49
  arcgisPortalReplacementItemFetch: ArcgisPortalReplacementItemRedirect["arcgisPortalReplacementItemFetch"]["detail"];
48
50
  };
@@ -1,5 +1,5 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import { g as d, c as g } from "../../chunks/runtime.js";
2
+ import { g as u, c as g } from "../../chunks/runtime.js";
3
3
  import { LitElement as h, createEvent as b, nothing as f } from "@arcgis/lumina";
4
4
  import { h as y } from "../../chunks/item.js";
5
5
  import { u as I } from "../../chunks/useT9n.js";
@@ -87,22 +87,22 @@ const $ = v`.thumbnail-container{width:100%}.replacement-container{margin:.5rem}
87
87
  if (!r)
88
88
  return !1;
89
89
  const e = T.some((t) => {
90
- const n = t.includes(".html"), a = `/apps/${t}${n ? "" : "/"}`;
91
- return decodeURIComponent(r.url)?.includes(a);
90
+ const i = t.includes(".html"), n = `/apps/${t}${i ? "" : "/"}`;
91
+ return decodeURIComponent(r.url)?.includes(n);
92
92
  });
93
93
  return r.type === "Web Mapping Application" && !!r.url && e;
94
94
  };
95
95
  function A(r) {
96
- return r.type === "Web Mapping Application" && U(["Story Map"], r);
96
+ return r.type === "Web Mapping Application" && M(["Story Map"], r);
97
97
  }
98
- function U(r, e) {
98
+ function M(r, e) {
99
99
  return r?.some((t) => e?.typeKeywords?.includes(t));
100
100
  }
101
- function u(r) {
102
- const e = D(r);
103
- return d(`assets/portal-item-thumbnail/${e}`);
101
+ function d(r) {
102
+ const e = U(r);
103
+ return u(`assets/portal-item-thumbnail/${e}`);
104
104
  }
105
- function D(r) {
105
+ function U(r) {
106
106
  const e = r.type?.toLowerCase(), t = r.typeKeywords || [];
107
107
  switch (e) {
108
108
  case "web mapping application":
@@ -262,18 +262,18 @@ function D(r) {
262
262
  return "default.png";
263
263
  }
264
264
  }
265
- function M(r, e, t) {
266
- const { restUrl: n } = r, a = P(r), s = a ? `token=${a}` : "", c = `${n}/content/items/${e.id}`;
265
+ function D(r, e, t) {
266
+ const { restUrl: i } = r, n = P(r), s = n ? `token=${n}` : "", c = `${i}/content/items/${e.id}`;
267
267
  if (e.thumbnail) {
268
268
  const o = e.thumbnailUrl;
269
269
  if (o) {
270
- const i = new URL(o);
271
- return i.searchParams.append("w", "400"), i.href;
270
+ const a = new URL(o);
271
+ return a.searchParams.append("w", "400"), a.href;
272
272
  }
273
- return `${c}/info/${e.thumbnail}?w=400${a ? "&" : ""}${s}`;
273
+ return `${c}/info/${e.thumbnail}?w=400${n ? "&" : ""}${s}`;
274
274
  } else if (e.type === "Image")
275
275
  return `${c}/data?${s}`;
276
- return u(e);
276
+ return d(e);
277
277
  }
278
278
  function P(r) {
279
279
  return (
@@ -284,9 +284,9 @@ function P(r) {
284
284
  const m = 5e3;
285
285
  class S extends h {
286
286
  constructor() {
287
- super(...arguments), this.replacementId = null, this.replacementItemInRecycleBin = !1, this.hasInaccessibleReplacementItem = !1, this.thumbnailUrl = null, this.timer = void 0, this.t9n = I({ blocking: !0 }), this.primaryActionRef = w(), this.getItemDetailsUrl = ({ portal: e, itemId: t, redirect: n }) => {
288
- const a = e.restUrl;
289
- return a ? `${a.replace("sharing/rest", "home")}/item.html?id=${t}${n ? "&performRedirectAction=true" : ""}` : "";
287
+ super(...arguments), this.replacementId = null, this.replacementItemInRecycleBin = !1, this.hasInaccessibleReplacementItem = !1, this.thumbnailUrl = null, this.timer = void 0, this.t9n = I({ blocking: !0 }), this.primaryActionRef = w(), this.getItemDetailsUrl = ({ portal: e, itemId: t, redirect: i }) => {
288
+ const n = e.restUrl;
289
+ return n ? `${n.replace("sharing/rest", "home")}/item.html?id=${t}${i ? "&performRedirectAction=true" : ""}` : "";
290
290
  }, this.performRedirectAction = () => {
291
291
  window.open(this.getItemDetailsUrl({ portal: this.portal, itemId: this.replacementId, redirect: !0 }), "_self");
292
292
  }, this.viewItemDetailsPage = () => {
@@ -323,45 +323,48 @@ class S extends h {
323
323
  disableRedirect() {
324
324
  this.cancelTimer(), this.redirectDisabled = this.canRedirect;
325
325
  }
326
+ isItemRetired(e) {
327
+ return C(e) || A(e);
328
+ }
326
329
  async initItem() {
327
330
  if (!this.itemId)
328
331
  return;
329
- const { itemId: e, portal: t, performRedirectAction: n } = this, a = new p({
332
+ const { itemId: e, portal: t, performRedirectAction: i } = this, n = new p({
330
333
  id: e,
331
334
  portal: t
332
335
  });
333
- this.item = await a?.load();
336
+ this.item = await n?.load();
334
337
  const s = await y(e, t, {
335
338
  relationshipType: "ReplacementItem2Item",
336
339
  direction: "reverse"
337
340
  }, !0), c = s.data?.relatedItems?.[0];
338
341
  this.replacementItemInRecycleBin = c?.inRecycleBin;
339
- const o = c?.id, i = !this.replacementItemInRecycleBin && o ? new p({
342
+ const o = c?.id, a = !this.replacementItemInRecycleBin && o ? new p({
340
343
  id: o,
341
344
  portal: t
342
345
  }) : null;
343
- if (await i?.load(), this.replacementItem = i, this.hasInaccessibleReplacementItem = this.replacementItemInRecycleBin || !i && s.data?.aggregations?.total?.count > 0 && s.data?.relatedItems?.length === 0, console.log(this.hasInaccessibleReplacementItem ? {} : i || null), this.arcgisPortalReplacementItemFetch.emit({
344
- replacementItem: this.hasInaccessibleReplacementItem ? {} : i || null
345
- }), this.hasInaccessibleReplacementItem)
346
- this.canRedirect = !1;
347
- else if (!i) {
348
- this.handleClose();
349
- return;
350
- }
351
- this.replacementItem = i, this.thumbnailUrl = M(t, i ?? this.item), this.canRedirect = !!i && !C(i) && !A(i), this.replacementId = i?.id || null, this.canRedirect && this.setupTimer({
352
- onComplete: () => n()
346
+ await a?.load(), this.replacementItem = a, this.hasInaccessibleReplacementItem = this.replacementItemInRecycleBin || !a && s.data?.aggregations?.total?.count > 0 && s.data?.relatedItems?.length === 0, this.arcgisPortalReplacementItemFetch.emit({
347
+ replacementItem: this.hasInaccessibleReplacementItem ? {} : a || null
348
+ }), this.replacementItem = a, this.thumbnailUrl = D(t, a ?? this.item), this.canRedirect = !!a && this.isItemRetired(n), this.replacementId = a?.id || null, this.canRedirect && this.setupTimer({
349
+ onComplete: () => i()
353
350
  }), this.open = !0;
354
351
  }
352
+ getReplacementHeading() {
353
+ const { t9n: e, hasInaccessibleReplacementItem: t, canRedirect: i } = this;
354
+ return t ? e.replacementUnavailable : i ? e.redirectToReplacement : e.replacementAvailable;
355
+ }
356
+ getReplacementMessage() {
357
+ const { t9n: e, hasInaccessibleReplacementItem: t, canRedirect: i } = this;
358
+ return t ? e.retiredReplacementUnavailable : i ? e.deprecatedHasReplacement : this.isItemRetired(this.item) && !this.replacementItem ? e.retired : e.deprecatedHasReplacement;
359
+ }
355
360
  renderCard(e) {
356
- const { canRedirect: t, t9n: n } = this;
357
- return l`<calcite-card thumbnail-position=inline-start><img slot=thumbnail class="thumbnail" src=${(this.thumbnailUrl || void 0) ?? f} @error=${async () => this.thumbnailUrl = u(e)}><span slot=heading class="replacement-card__title">${e.title}</span><span slot=description>${`Owned by: ${e.owner}`}</span>${t && l`<calcite-link slot=footer-start icon-end=launch .href=${this.getItemDetailsUrl({ portal: this.portal, itemId: this.replacementId })} target=_blank>${n.moreDetails}</calcite-link>` || ""}</calcite-card>`;
361
+ const { canRedirect: t, t9n: i } = this;
362
+ return l`<calcite-card thumbnail-position=inline-start><img slot=thumbnail class="thumbnail" src=${(this.thumbnailUrl || void 0) ?? f} @error=${async () => this.thumbnailUrl = d(e)}><span slot=heading class="replacement-card__title">${e.title}</span><span slot=description>${`Owned by: ${e.owner}`}</span>${t && l`<calcite-link slot=footer-start icon-end=launch .href=${this.getItemDetailsUrl({ portal: this.portal, itemId: this.replacementId })} target=_blank>${i.moreDetails}</calcite-link>` || ""}</calcite-card>`;
358
363
  }
359
364
  render() {
360
- const { open: e, t9n: t, item: n, replacementItem: a, canRedirect: s, hasInaccessibleReplacementItem: c } = this;
361
- if (!(!n || !a && !c))
362
- return l`<calcite-dialog modal .open=${e} width=s kind=info outside-close-disabled escape-disabled close-disabled .heading=${c ? t.replacementUnavailable : s ? t.redirectToReplacement : t.replacementAvailable} @calciteDialogClose=${() => {
363
- this.cancelTimer(), this.itemId = "", this.item = null, this.open = !1;
364
- }}><div class="replacement-container"><div class="replacement-message">${R(t[c ? "retiredReplacementUnavailable" : "deprecatedHasReplacement"]?.replace("${itemTitle}", this.item?.title || ""))}</div>${this.renderCard(c ? n : a)}</div>${s && l`<calcite-button slot=footer-end appearance=outline-fill kind=neutral @click=${() => {
365
+ const { open: e, t9n: t, item: i, replacementItem: n, canRedirect: s } = this;
366
+ if (!(!i || !this.isItemRetired(i)))
367
+ return l`<calcite-dialog modal .open=${e} width=s kind=info outside-close-disabled escape-disabled close-disabled .heading=${this.getReplacementHeading()} @calciteDialogClose=${() => this.handleClose()}><div class="replacement-container"><div class="replacement-message">${R(this.getReplacementMessage()?.replace("${itemTitle}", this.item?.title || ""))}</div>${this.renderCard(s ? n : i)}</div>${s && l`<calcite-button slot=footer-end appearance=outline-fill kind=neutral @click=${() => {
365
368
  this.disableRedirect();
366
369
  }}>${t.cancel}</calcite-button>` || ""}<calcite-button .disabled=${this.redirectDisabled} slot=footer-end @click=${() => {
367
370
  this.cancelTimer(), this.canRedirect ? this.performRedirectAction() : this.viewItemDetailsPage();
@@ -1 +1 @@
1
- {"timestamp":"2026-02-12T04:43:48","compiler":{"name":"@arcgis/lumina-compiler","version":"5.1.0-next.13","typescriptVersion":"5.9.3"},"schemaVersion":"2.1.0","modules":[{"kind":"javascript-module","path":"index","sourcePath":"src/index.ts","declarations":[{"kind":"function","name":"getAssetPath","description":"Get a resolved path from where an asset can be loaded.","parameters":[{"name":"suffix","description":"The relative path for the asset.","type":{"text":"string"}}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"setAssetPath","description":"Used to manually set the base path where package assets (like localization\nand icons) can be found.\n\nBy default, the package assets are loaded from\n`https://js.arcgis.com/<version>/<simplified-package-name>/`. We are hosting\nour assets on a CDN (Content Delivery Network) to ensure fast and reliable\naccess. It is CORS-enabled, so you can load the assets from any domain. This\nis the recommended way to load the assets and avoid bundling them with your\napplication.\n\nHowever, if you need to host the assets locally, you can copy them manually\nas part of your build process and use `setAssetPath` to customize where the\nbrowser will load the assets from.","parameters":[{"name":"path","description":"Relative or absolute path to the assets folder.","type":{"text":"URL | string","references":[{"name":"URL","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/API/URL","start":0,"end":3}]}}],"return":{"type":{"text":"void"}}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-banner","sourcePath":"src/components/portal-classification-banner/portal-classification-banner.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationBanner","customElement":true,"tagName":"arcgis-portal-classification-banner","pascalCaseName":"ArcgisPortalClassificationBanner","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"missingExistingClassification","description":"If the portal item has a classification previously","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"missing-existing-classification"},{"kind":"field","name":"portalItem","description":"The portal item to display the classification banner for.","type":{"text":"__esri.PortalItem | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"validationErrors","description":"The classification validation error - validate the classification value against the classification schema.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"validation-errors"},{"kind":"field","name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":{"text":"\"full\" | \"preview\"","values":[{"type":"string","value":"full"},{"type":"string","value":"preview"}]},"default":"\"full\"","attribute":"variant"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationBanner = document.querySelector(\"arcgis-portal-classification-banner\");\ndocument.body.append(arcgisPortalClassificationBanner);\nawait arcgisPortalClassificationBanner.componentOnReady();\nconsole.log(\"arcgis-portal-classification-banner is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"destroy","description":"Permanently destroy the component","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"missing-existing-classification","description":"If the portal item has a classification previously","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"missingExistingClassification"},{"name":"validation-errors","description":"The classification validation error - validate the classification value against the classification schema.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"validationErrors"},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":{"text":"\"full\" | \"preview\"","values":[{"type":"string","value":"full"},{"type":"string","value":"preview"}]},"default":"\"full\"","fieldName":"variant"}],"importPath":"components/arcgis-portal-classification-banner"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-banner","declaration":{"name":"ArcgisPortalClassificationBanner"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-config","sourcePath":"src/components/portal-classification-config/portal-classification-config.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationConfig","customElement":true,"tagName":"arcgis-portal-classification-config","pascalCaseName":"ArcgisPortalClassificationConfig","description":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"portalItem","description":"The portal item to display the classification banner for.","docsTags":[{"name":"required"}],"type":{"text":"__esri.PortalItem | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":{"text":"Status","references":[{"name":"Status","module":"models/classificationModel","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/models/classificationModel/#Status","start":0,"end":6}],"values":[{"type":"string","value":"loading"},{"type":"string","value":"loaded"},{"type":"string","value":"error"},{"type":"string","value":"idle"}]},"default":"\"idle\"","readonly":true,"attribute":"status","reflects":true},{"kind":"field","name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"valid","reflects":true},{"kind":"field","name":"values","description":"The edited classification values of the portal item.","type":{"text":"__esri.PortalItem[\"classification\"]","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]},"attribute":"values"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationConfig = document.querySelector(\"arcgis-portal-classification-config\");\ndocument.body.append(arcgisPortalClassificationConfig);\nawait arcgisPortalClassificationConfig.componentOnReady();\nconsole.log(\"arcgis-portal-classification-config is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"destroy","description":"Permanently destroy the component.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"},{"kind":"method","name":"resetForm","description":"Reset the form to the initial classification values from the portalItem","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"},{"kind":"method","name":"validateForm","description":"Validates the form and sets the formValidationErrors state.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":{"text":"\"loading\" | \"loaded\" | \"error\" | \"idle\"","values":[{"type":"string","value":"loading"},{"type":"string","value":"loaded"},{"type":"string","value":"error"},{"type":"string","value":"idle"}]},"default":"\"idle\"","fieldName":"status"},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"valid"},{"name":"values","description":"The edited classification values of the portal item.","type":{"text":"__esri.PortalItem[\"classification\"]","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]},"fieldName":"values"}],"events":[{"name":"arcgisPropertyChange","description":"Event emitted when component property values status, values, or valid change.","type":{"text":"{ name: \"status\" | \"values\" | \"valid\"; }"}}],"importPath":"components/arcgis-portal-classification-config"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-config","declaration":{"name":"ArcgisPortalClassificationConfig"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-favorite","sourcePath":"src/components/portal-classification-favorite/portal-classification-favorite.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationFavorite","customElement":true,"tagName":"arcgis-portal-classification-favorite","pascalCaseName":"ArcgisPortalClassificationFavorite","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"attributeExpressionResults","type":{"text":"AttributeExpressionResults | undefined","references":[{"name":"AttributeExpressionResults","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#AttributeExpressionResults","start":0,"end":26}]}},{"kind":"field","name":"classificationValue","description":"Current classification value","type":{"text":"__esri.PortalItem[\"classification\"] | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"favoriteClassifications","description":"List of favorite classifications","type":{"text":"FavoriteClassification[]","references":[{"name":"FavoriteClassification","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#FavoriteClassification","start":0,"end":22}]}},{"kind":"field","name":"portalItem","description":"The portal item to display the classification banner for.","type":{"text":"__esri.PortalItem | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"resetFavoriteClassification","type":{"text":"(favoriteClassifications: FavoriteClassification[]) => void","references":[{"name":"FavoriteClassification","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#FavoriteClassification","start":26,"end":48}]}},{"kind":"field","name":"selectedFavoriteClassificationName","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"selected-favorite-classification-name"},{"kind":"field","name":"updateClassificationData","type":{"text":"(selectedClassification: FavoriteClassification) => void","references":[{"name":"FavoriteClassification","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#FavoriteClassification","start":25,"end":47}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFavorite = document.querySelector(\"arcgis-portal-classification-favorite\");\ndocument.body.append(arcgisPortalClassificationFavorite);\nawait arcgisPortalClassificationFavorite.componentOnReady();\nconsole.log(\"arcgis-portal-classification-favorite is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"selected-favorite-classification-name","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"selectedFavoriteClassificationName"}],"importPath":"components/arcgis-portal-classification-favorite"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-favorite","declaration":{"name":"ArcgisPortalClassificationFavorite"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-form-element","sourcePath":"src/components/portal-classification-form-element/portal-classification-form-element.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationFormElement","customElement":true,"tagName":"arcgis-portal-classification-form-element","pascalCaseName":"ArcgisPortalClassificationFormElement","description":"A web component that renders form elements for a classification schema attribute.","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"attribute","type":{"text":"ClassificationSchema[\"attributes\"][string]","references":[{"name":"ClassificationSchema","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationSchema","start":0,"end":20}]}},{"kind":"field","name":"attributeKey","type":{"text":"string","values":[{"type":"string"}]},"attribute":"attribute-key"},{"kind":"field","name":"isRequiredErrors","type":{"text":"Set<string>","references":[{"name":"Set","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set","start":0,"end":3}]}},{"kind":"field","name":"renderingInfo","type":{"text":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","references":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","start":0,"end":4},{"name":"NonNullable","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union","start":5,"end":16},{"name":"ReturnType","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype","start":17,"end":27},{"name":"AttributeExpressionResults","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#AttributeExpressionResults","start":28,"end":54}]}},{"kind":"field","name":"value","type":{"text":"unknown"}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFormElement = document.querySelector(\"arcgis-portal-classification-form-element\");\ndocument.body.append(arcgisPortalClassificationFormElement);\nawait arcgisPortalClassificationFormElement.componentOnReady();\nconsole.log(\"arcgis-portal-classification-form-element is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"attribute-key","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"attributeKey"}],"events":[{"name":"arcgisAttributeValueChange","description":"The attribute value has changed.","type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}],"importPath":"components/arcgis-portal-classification-form-element"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-form-element","declaration":{"name":"ArcgisPortalClassificationFormElement"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-extent-picker","sourcePath":"src/components/portal-extent-picker/portal-extent-picker.tsx","declarations":[{"kind":"class","name":"ArcgisPortalExtentPicker","customElement":true,"tagName":"arcgis-portal-extent-picker","pascalCaseName":"ArcgisPortalExtentPicker","description":"To select extent value from a map or by entering coordinates.","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"active","description":"if true, open the dialog","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"active"},{"kind":"field","name":"contentOnly","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"content-only"},{"kind":"field","name":"extentService","description":"Optional; URL of the extent service, used to initialize TileLayer","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"extent-service"},{"kind":"field","name":"extentValue","description":"current extent value","type":{"text":"ExtentValue | undefined","references":[{"name":"ExtentValue","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentValue","start":0,"end":11}]}},{"kind":"field","name":"isArea","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-area"},{"kind":"field","name":"itemId","description":"Optional; if passed, use the itemId to load the Portal item","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"item-id"},{"kind":"field","name":"portal","description":"Optional; Portal instance","type":{"text":"Portal | undefined","references":[{"name":"default","module":"portal/Portal.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/portal/Portal/","start":0,"end":6}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalExtentPicker = document.querySelector(\"arcgis-portal-extent-picker\");\ndocument.body.append(arcgisPortalExtentPicker);\nawait arcgisPortalExtentPicker.componentOnReady();\nconsole.log(\"arcgis-portal-extent-picker is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"getExtent","description":"Returns the current extent value","return":{"type":{"text":"ExtentObj","references":[{"name":"ExtentObj","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentObj","start":0,"end":9}]}},"signature":"(): ExtentObj"}],"attributes":[{"name":"active","description":"if true, open the dialog","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"active"},{"name":"content-only","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"contentOnly"},{"name":"extent-service","description":"Optional; URL of the extent service, used to initialize TileLayer","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"extentService"},{"name":"is-area","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isArea"},{"name":"item-id","description":"Optional; if passed, use the itemId to load the Portal item","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"itemId"}],"events":[{"name":"arcgisExtentPickerChange","description":"Emitted when the extent value changes","type":{"text":"ExtentObj","references":[{"name":"ExtentObj","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentObj","start":0,"end":9}]}},{"name":"arcgisExtentPickerClose","description":"Emitted when the dialog is closed","type":{"text":"void"}},{"name":"arcgisExtentPickerSave","description":"Emitted when the save button is clicked","type":{"text":"ExtentObj","references":[{"name":"ExtentObj","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentObj","start":0,"end":9}]}}],"importPath":"components/arcgis-portal-extent-picker"},{"kind":"interface","name":"ExtentValue","members":[{"kind":"field","name":"ymin","type":{"text":"string"}},{"kind":"field","name":"ymax","type":{"text":"string"}},{"kind":"field","name":"xmin","type":{"text":"string"}},{"kind":"field","name":"xmax","type":{"text":"string"}}]},{"kind":"interface","name":"ExtentObj","members":[{"kind":"field","name":"extent","type":{"text":"ExtentValue","references":[{"name":"ExtentValue","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentValue","start":0,"end":11}]}}]}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-extent-picker","declaration":{"name":"ArcgisPortalExtentPicker"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-field-delete","sourcePath":"src/components/portal-field-delete/portal-field-delete.tsx","declarations":[{"kind":"class","name":"ArcgisPortalFieldDelete","customElement":true,"tagName":"arcgis-portal-field-delete","pascalCaseName":"ArcgisPortalFieldDelete","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"config","description":"For documentation links.","type":{"text":"IConfig | undefined","references":[{"name":"IConfig","module":"utils/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#IConfig","start":0,"end":7}]}},{"kind":"field","name":"fieldNames","description":"The fields to delete.","type":{"text":"string[] | undefined"}},{"kind":"field","name":"layer","description":"The layer whose field is being deleted.","type":{"text":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7},{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":22,"end":29}]}},{"kind":"field","name":"mapView","description":"The MapView instance.","type":{"text":"__esri.MapView | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"options","description":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","type":{"text":"FieldDeleteOptions | undefined","references":[{"name":"FieldDeleteOptions","module":"utils/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#FieldDeleteOptions","start":0,"end":18}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalFieldDelete = document.querySelector(\"arcgis-portal-field-delete\");\ndocument.body.append(arcgisPortalFieldDelete);\nawait arcgisPortalFieldDelete.componentOnReady();\nconsole.log(\"arcgis-portal-field-delete is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"events":[{"name":"arcgisBeforeDelete","description":"Emitted when the user initiates the delete process.","type":{"text":"void"}},{"name":"arcgisBeforeModalClose","description":"Emitted before the modal is closed if the alert is handled in consumer.","type":{"text":"string"}},{"name":"arcgisClose","description":"Emitted when the component is closed for any reason.","type":{"text":"void"}},{"name":"arcgisFieldsDeleted","description":"Emitted when the field is successfully deleted.","type":{"text":"void"}}],"importPath":"components/arcgis-portal-field-delete"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-field-delete","declaration":{"name":"ArcgisPortalFieldDelete"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-replacement-item-redirect","sourcePath":"src/components/portal-replacement-item-redirect/portal-replacement-item-redirect.tsx","declarations":[{"kind":"class","name":"ArcgisPortalReplacementItemRedirect","customElement":true,"tagName":"arcgis-portal-replacement-item-redirect","pascalCaseName":"ArcgisPortalReplacementItemRedirect","description":"The `arcgis-portal-replacement-item-redirect` component takes an item id on a given portal, and checks if there is a replacement item associated with it\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"itemId","description":"The id of a deprecated/retired item to be checked for a replacement","type":{"text":"string","values":[{"type":"string"}]},"attribute":"item-id"},{"kind":"field","name":"portal","description":"The portal instance","type":{"text":"__esri.Portal","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"user","description":"The user. Defaults to `portal.user` if omitted","type":{"text":"__esri.PortalUser | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalReplacementItemRedirect = document.querySelector(\"arcgis-portal-replacement-item-redirect\");\ndocument.body.append(arcgisPortalReplacementItemRedirect);\nawait arcgisPortalReplacementItemRedirect.componentOnReady();\nconsole.log(\"arcgis-portal-replacement-item-redirect is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"setFocus","description":"Set focus on the component","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"item-id","description":"The id of a deprecated/retired item to be checked for a replacement","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"itemId"}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":{"text":"{ replacementItem: __esri.PortalItem | object | null; }","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":19,"end":26}]}}],"importPath":"components/arcgis-portal-replacement-item-redirect"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-replacement-item-redirect","declaration":{"name":"ArcgisPortalReplacementItemRedirect"}}]},{"kind":"javascript-module","path":"models/classificationModel","sourcePath":"src/models/classificationModel.ts","declarations":[{"kind":"interface","name":"Status","type":{"text":"\"error\" | \"idle\" | \"loaded\" | \"loading\""}}]},{"kind":"javascript-module","path":"types/classification","sourcePath":"src/types/classification.ts","declarations":[{"kind":"interface","name":"ClassificationSchema","description":"The classification schema defined on the portal.","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n attributeCategories?: string[];\n attributes: Record<string, ClassificationAttributesValues>;\n bannerExpression?: string;\n classificationMetadata: ClassificationMetadata;\n grammarVersion: string;\n layouts: Record<string, DefaultLayout>;\n name: string;\n selectionTextExpression?: string;\n version: string;\n helpUrl?: string;\n helpTooltip?: string;\n}","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":54,"end":60},{"name":"ClassificationAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationAttributesValues","start":69,"end":99},{"name":"ClassificationMetadata","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationMetadata","start":161,"end":183},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":226,"end":232},{"name":"DefaultLayout","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#DefaultLayout","start":241,"end":254}]}]}]},{"kind":"interface","name":"FavoriteClassification","members":[{"kind":"field","name":"name","type":{"text":"string"}},{"kind":"field","name":"classification","type":{"text":"__esri.PortalItem[\"classification\"]","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}}]},{"kind":"interface","name":"AttributeExpressionResults","description":"State object that is used to store arcade expression results from expressions\nthat are evaluated for each attribute in the classification schema.","supertypes":[{"name":"Map","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map","typeArguments":[{"text":"string"},{"text":"{\n enabled: boolean;\n valueExpressionResult: Record<string, ValueOption[]> | ValueOption[] | null;\n attributeValidationResult: string | null;\n}","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":51,"end":57},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":66,"end":77},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":83,"end":94}]}]}]},{"kind":"interface","name":"ClassificationMetadata","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n primaryAttribute: string;\n defaultValue: string;\n classificationValueProperties: ClassificationType[];\n}","references":[{"name":"ClassificationType","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationType","start":93,"end":111}]}]}]},{"kind":"interface","name":"ValueOption","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n label: string;\n value: string;\n}"}]}]},{"kind":"interface","name":"ClassificationAttributesValues","type":{"text":"CheckboxAttributesValues | DateAttributesValues | MultiGroupedSelectNestedAttributesValues | MultiSelectAttributesValues | SingleSelectAttributesValues | TextAttributesValues","references":[{"name":"CheckboxAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#CheckboxAttributesValues","start":0,"end":24},{"name":"DateAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#DateAttributesValues","start":27,"end":47},{"name":"MultiGroupedSelectNestedAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#MultiGroupedSelectNestedAttributesValues","start":50,"end":90},{"name":"MultiSelectAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#MultiSelectAttributesValues","start":93,"end":120},{"name":"SingleSelectAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#SingleSelectAttributesValues","start":123,"end":151},{"name":"TextAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#TextAttributesValues","start":154,"end":174}]}},{"kind":"interface","name":"DefaultLayout","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{ layoutElements: Record<string, ClassificationLayoutElements>; }","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":18,"end":24},{"name":"ClassificationLayoutElements","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationLayoutElements","start":33,"end":61}]}]}]},{"kind":"interface","name":"ClassificationType","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n [index: string]: string | undefined;\n value: string;\n acronym?: string;\n backgroundColor?: string;\n textColor?: string;\n}"}]}]},{"kind":"interface","name":"SingleSelectAttributesValues","description":"Create narrowed types for each of the possible UI elements.\nNever is used to inform users that the property will never be defined\nwhen uiElement is a specific value.","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"single-select\";\n validValues?: ValueOption[];\n validValuesMap?: never;\n}","references":[{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":52,"end":63}]}]}]},{"kind":"interface","name":"MultiSelectAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"multi-select\";\n validValues?: ValueOption[];\n validValuesMap?: never;\n}","references":[{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":51,"end":62}]}]}]},{"kind":"interface","name":"MultiGroupedSelectNestedAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"multi-grouped-select-nested\";\n validValuesMap: Record<string, ValueOption[]>;\n validValues?: never;\n}","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":68,"end":74},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":83,"end":94}]}]}]},{"kind":"interface","name":"CheckboxAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"checkbox\";\n type: \"boolean\";\n validValues?: never;\n validValuesMap?: never;\n defaultDateTimeline?: never;\n defaultDateTimelineUnits?: never;\n}"}]}]},{"kind":"interface","name":"DateAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"date\";\n type: \"date\";\n defaultDateTimeline: number;\n defaultDateTimelineUnits: string;\n validValues?: never;\n validValuesMap?: never;\n}"}]}]},{"kind":"interface","name":"TextAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"text\";\n type: \"string\";\n validValues?: never;\n validValuesMap?: never;\n defaultDateTimeline?: never;\n defaultDateTimelineUnits?: never;\n}"}]}]},{"kind":"interface","name":"ClassificationLayoutElements","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{ formDisplayOrder: number; }"}]}]},{"kind":"interface","name":"BaseAttributesValues","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n label: string;\n description?: string;\n type: string;\n uiElement: string;\n isRequired?: boolean;\n defaultValue?: string;\n defaultDateTimeline?: number;\n defaultDateTimelineUnits?: string;\n validValues?: ValueOption[];\n validValuesMap?: Record<string, ValueOption[]>;\n isAttributeEnabled?: string;\n valueExpression?: string;\n attributeValidation?: string;\n arcadeResultLookup?: Record<string, ValueOption[]>;\n attributeCategory?: string;\n selectionDisplayOrder?: number;\n selectionDisplayLabel?: string;\n bannerOrder?: number;\n bannerLabel?: string;\n labelDelimiter?: string;\n labelTooltip?: string;\n valueDelimiter?: string;\n attributeDelimiter?: string;\n}","references":[{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":232,"end":243},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":268,"end":274},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":283,"end":294},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":421,"end":427},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":436,"end":447}]}]}]}]},{"kind":"javascript-module","path":"utils/fieldAddDelete","sourcePath":"src/utils/fieldAddDelete.ts","declarations":[{"kind":"function","name":"canAddField","parameters":[{"name":"layer","type":{"text":"any"}}],"return":{"type":{"text":"Promise<boolean>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}}},{"kind":"function","name":"canDeleteField","parameters":[{"name":"mapView","type":{"text":"__esri.MapView | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"name":"layer","type":{"text":"any"}},{"name":"field","type":{"text":"__esri.Field","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"name":"options","optional":true,"type":{"text":"FieldDeleteOptions","references":[{"name":"FieldDeleteOptions","module":"utils/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#FieldDeleteOptions","start":0,"end":18}]}}],"return":{"type":{"text":"Promise<boolean>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}}}]},{"kind":"javascript-module","path":"utils/types","sourcePath":"src/utils/types.ts","declarations":[{"kind":"interface","name":"IConfig","description":"Configuration","members":[{"kind":"field","name":"arcadeEditor","type":{"text":"string | undefined"}},{"kind":"field","name":"jsapiUrl","type":{"text":"string | undefined"}},{"kind":"field","name":"helpMap","type":{"text":"Record<string, string> | undefined","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}},{"kind":"field","name":"helpBase","type":{"text":"string | undefined"}}]},{"kind":"interface","name":"FieldDeleteOptions","members":[{"kind":"field","name":"item","type":{"text":"__esri.PortalItem","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"portal","type":{"text":"__esri.Portal","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"handleCloseOnConsumer","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignorePopupTemplate","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerRenderer","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerFeatureReduction","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerLabelingInfo","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerDefinitionExpression","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreItemRenderer","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreItemFeatureReduction","type":{"text":"boolean | undefined"}},{"kind":"field","name":"userItemInfo","type":{"text":"UserItemInfo | undefined","references":[{"name":"UserItemInfo","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#UserItemInfo","start":0,"end":12}]}}]},{"kind":"interface","name":"UserItemInfo","members":[{"kind":"field","name":"itemData","type":{"text":"any"}},{"kind":"field","name":"userGroups","type":{"text":"any[]"}},{"kind":"field","name":"itemGroups","type":{"text":"any[]"}},{"kind":"field","name":"relatedItems","type":{"text":"any[]"}},{"kind":"field","name":"fieldGroups","type":{"text":"any[]"}}]}]}]}
1
+ {"timestamp":"2026-02-13T04:48:44","compiler":{"name":"@arcgis/lumina-compiler","version":"5.1.0-next.14","typescriptVersion":"5.9.3"},"schemaVersion":"2.1.0","modules":[{"kind":"javascript-module","path":"index","sourcePath":"src/index.ts","declarations":[{"kind":"function","name":"getAssetPath","description":"Get a resolved path from where an asset can be loaded.","parameters":[{"name":"suffix","description":"The relative path for the asset.","type":{"text":"string"}}],"return":{"type":{"text":"string"}}},{"kind":"function","name":"setAssetPath","description":"Used to manually set the base path where package assets (like localization\nand icons) can be found.\n\nBy default, the package assets are loaded from\n`https://js.arcgis.com/<version>/<simplified-package-name>/`. We are hosting\nour assets on a CDN (Content Delivery Network) to ensure fast and reliable\naccess. It is CORS-enabled, so you can load the assets from any domain. This\nis the recommended way to load the assets and avoid bundling them with your\napplication.\n\nHowever, if you need to host the assets locally, you can copy them manually\nas part of your build process and use `setAssetPath` to customize where the\nbrowser will load the assets from.","parameters":[{"name":"path","description":"Relative or absolute path to the assets folder.","type":{"text":"URL | string","references":[{"name":"URL","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/API/URL","start":0,"end":3}]}}],"return":{"type":{"text":"void"}}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-banner","sourcePath":"src/components/portal-classification-banner/portal-classification-banner.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationBanner","customElement":true,"tagName":"arcgis-portal-classification-banner","pascalCaseName":"ArcgisPortalClassificationBanner","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"missingExistingClassification","description":"If the portal item has a classification previously","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"missing-existing-classification"},{"kind":"field","name":"portalItem","description":"The portal item to display the classification banner for.","type":{"text":"__esri.PortalItem | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"validationErrors","description":"The classification validation error - validate the classification value against the classification schema.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"validation-errors"},{"kind":"field","name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":{"text":"\"full\" | \"preview\"","values":[{"type":"string","value":"full"},{"type":"string","value":"preview"}]},"default":"\"full\"","attribute":"variant"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationBanner = document.querySelector(\"arcgis-portal-classification-banner\");\ndocument.body.append(arcgisPortalClassificationBanner);\nawait arcgisPortalClassificationBanner.componentOnReady();\nconsole.log(\"arcgis-portal-classification-banner is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"destroy","description":"Permanently destroy the component","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"missing-existing-classification","description":"If the portal item has a classification previously","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"missingExistingClassification"},{"name":"validation-errors","description":"The classification validation error - validate the classification value against the classification schema.","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"validationErrors"},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":{"text":"\"full\" | \"preview\"","values":[{"type":"string","value":"full"},{"type":"string","value":"preview"}]},"default":"\"full\"","fieldName":"variant"}],"importPath":"components/arcgis-portal-classification-banner"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-banner","declaration":{"name":"ArcgisPortalClassificationBanner"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-config","sourcePath":"src/components/portal-classification-config/portal-classification-config.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationConfig","customElement":true,"tagName":"arcgis-portal-classification-config","pascalCaseName":"ArcgisPortalClassificationConfig","description":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"portalItem","description":"The portal item to display the classification banner for.","docsTags":[{"name":"required"}],"type":{"text":"__esri.PortalItem | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":{"text":"Status","references":[{"name":"Status","module":"models/classificationModel","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/models/classificationModel/#Status","start":0,"end":6}],"values":[{"type":"string","value":"loading"},{"type":"string","value":"loaded"},{"type":"string","value":"error"},{"type":"string","value":"idle"}]},"default":"\"idle\"","readonly":true,"attribute":"status","reflects":true},{"kind":"field","name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"valid","reflects":true},{"kind":"field","name":"values","description":"The edited classification values of the portal item.","type":{"text":"__esri.PortalItem[\"classification\"]","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]},"attribute":"values"},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationConfig = document.querySelector(\"arcgis-portal-classification-config\");\ndocument.body.append(arcgisPortalClassificationConfig);\nawait arcgisPortalClassificationConfig.componentOnReady();\nconsole.log(\"arcgis-portal-classification-config is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"destroy","description":"Permanently destroy the component.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"},{"kind":"method","name":"resetForm","description":"Reset the form to the initial classification values from the portalItem","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"},{"kind":"method","name":"validateForm","description":"Validates the form and sets the formValidationErrors state.","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":{"text":"\"loading\" | \"loaded\" | \"error\" | \"idle\"","values":[{"type":"string","value":"loading"},{"type":"string","value":"loaded"},{"type":"string","value":"error"},{"type":"string","value":"idle"}]},"default":"\"idle\"","fieldName":"status"},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"valid"},{"name":"values","description":"The edited classification values of the portal item.","type":{"text":"__esri.PortalItem[\"classification\"]","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]},"fieldName":"values"}],"events":[{"name":"arcgisPropertyChange","description":"Event emitted when component property values status, values, or valid change.","type":{"text":"{ name: \"status\" | \"values\" | \"valid\"; }"}}],"importPath":"components/arcgis-portal-classification-config"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-config","declaration":{"name":"ArcgisPortalClassificationConfig"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-favorite","sourcePath":"src/components/portal-classification-favorite/portal-classification-favorite.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationFavorite","customElement":true,"tagName":"arcgis-portal-classification-favorite","pascalCaseName":"ArcgisPortalClassificationFavorite","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"attributeExpressionResults","type":{"text":"AttributeExpressionResults | undefined","references":[{"name":"AttributeExpressionResults","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#AttributeExpressionResults","start":0,"end":26}]}},{"kind":"field","name":"classificationValue","description":"Current classification value","type":{"text":"__esri.PortalItem[\"classification\"] | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"favoriteClassifications","description":"List of favorite classifications","type":{"text":"FavoriteClassification[]","references":[{"name":"FavoriteClassification","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#FavoriteClassification","start":0,"end":22}]}},{"kind":"field","name":"portalItem","description":"The portal item to display the classification banner for.","type":{"text":"__esri.PortalItem | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"resetFavoriteClassification","type":{"text":"(favoriteClassifications: FavoriteClassification[]) => void","references":[{"name":"FavoriteClassification","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#FavoriteClassification","start":26,"end":48}]}},{"kind":"field","name":"selectedFavoriteClassificationName","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","attribute":"selected-favorite-classification-name"},{"kind":"field","name":"updateClassificationData","type":{"text":"(selectedClassification: FavoriteClassification) => void","references":[{"name":"FavoriteClassification","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#FavoriteClassification","start":25,"end":47}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFavorite = document.querySelector(\"arcgis-portal-classification-favorite\");\ndocument.body.append(arcgisPortalClassificationFavorite);\nawait arcgisPortalClassificationFavorite.componentOnReady();\nconsole.log(\"arcgis-portal-classification-favorite is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"selected-favorite-classification-name","type":{"text":"string","values":[{"type":"string"}]},"default":"\"\"","fieldName":"selectedFavoriteClassificationName"}],"importPath":"components/arcgis-portal-classification-favorite"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-favorite","declaration":{"name":"ArcgisPortalClassificationFavorite"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-classification-form-element","sourcePath":"src/components/portal-classification-form-element/portal-classification-form-element.tsx","declarations":[{"kind":"class","name":"ArcgisPortalClassificationFormElement","customElement":true,"tagName":"arcgis-portal-classification-form-element","pascalCaseName":"ArcgisPortalClassificationFormElement","description":"A web component that renders form elements for a classification schema attribute.","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"attribute","type":{"text":"ClassificationSchema[\"attributes\"][string]","references":[{"name":"ClassificationSchema","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationSchema","start":0,"end":20}]}},{"kind":"field","name":"attributeKey","type":{"text":"string","values":[{"type":"string"}]},"attribute":"attribute-key"},{"kind":"field","name":"isRequiredErrors","type":{"text":"Set<string>","references":[{"name":"Set","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Set","start":0,"end":3}]}},{"kind":"field","name":"renderingInfo","type":{"text":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","references":[{"name":"Pick","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#picktype-keys","start":0,"end":4},{"name":"NonNullable","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#extracttype-union","start":5,"end":16},{"name":"ReturnType","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#returntypetype","start":17,"end":27},{"name":"AttributeExpressionResults","module":"types/classification","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#AttributeExpressionResults","start":28,"end":54}]}},{"kind":"field","name":"value","type":{"text":"unknown"}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFormElement = document.querySelector(\"arcgis-portal-classification-form-element\");\ndocument.body.append(arcgisPortalClassificationFormElement);\nawait arcgisPortalClassificationFormElement.componentOnReady();\nconsole.log(\"arcgis-portal-classification-form-element is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"attributes":[{"name":"attribute-key","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"attributeKey"}],"events":[{"name":"arcgisAttributeValueChange","description":"The attribute value has changed.","type":{"text":"Record<string, unknown>","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}}],"importPath":"components/arcgis-portal-classification-form-element"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-classification-form-element","declaration":{"name":"ArcgisPortalClassificationFormElement"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-extent-picker","sourcePath":"src/components/portal-extent-picker/portal-extent-picker.tsx","declarations":[{"kind":"class","name":"ArcgisPortalExtentPicker","customElement":true,"tagName":"arcgis-portal-extent-picker","pascalCaseName":"ArcgisPortalExtentPicker","description":"To select extent value from a map or by entering coordinates.","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"active","description":"if true, open the dialog","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"active"},{"kind":"field","name":"contentOnly","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"content-only"},{"kind":"field","name":"extentService","description":"Optional; URL of the extent service, used to initialize TileLayer","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"extent-service"},{"kind":"field","name":"extentValue","description":"current extent value","type":{"text":"ExtentValue | undefined","references":[{"name":"ExtentValue","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentValue","start":0,"end":11}]}},{"kind":"field","name":"isArea","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","attribute":"is-area"},{"kind":"field","name":"itemId","description":"Optional; if passed, use the itemId to load the Portal item","type":{"text":"string | undefined","values":[{"type":"string"}]},"attribute":"item-id"},{"kind":"field","name":"portal","description":"Optional; Portal instance","type":{"text":"Portal | undefined","references":[{"name":"default","module":"portal/Portal.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/portal/Portal/","start":0,"end":6}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalExtentPicker = document.querySelector(\"arcgis-portal-extent-picker\");\ndocument.body.append(arcgisPortalExtentPicker);\nawait arcgisPortalExtentPicker.componentOnReady();\nconsole.log(\"arcgis-portal-extent-picker is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"getExtent","description":"Returns the current extent value","return":{"type":{"text":"ExtentObj","references":[{"name":"ExtentObj","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentObj","start":0,"end":9}]}},"signature":"(): ExtentObj"}],"attributes":[{"name":"active","description":"if true, open the dialog","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"active"},{"name":"content-only","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"contentOnly"},{"name":"extent-service","description":"Optional; URL of the extent service, used to initialize TileLayer","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"extentService"},{"name":"is-area","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":{"text":"boolean","values":[{"type":"boolean"}]},"default":"false","fieldName":"isArea"},{"name":"item-id","description":"Optional; if passed, use the itemId to load the Portal item","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"itemId"}],"events":[{"name":"arcgisExtentPickerChange","description":"Emitted when the extent value changes","type":{"text":"ExtentObj","references":[{"name":"ExtentObj","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentObj","start":0,"end":9}]}},{"name":"arcgisExtentPickerClose","description":"Emitted when the dialog is closed","type":{"text":"void"}},{"name":"arcgisExtentPickerSave","description":"Emitted when the save button is clicked","type":{"text":"ExtentObj","references":[{"name":"ExtentObj","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentObj","start":0,"end":9}]}}],"importPath":"components/arcgis-portal-extent-picker"},{"kind":"interface","name":"ExtentValue","members":[{"kind":"field","name":"ymin","type":{"text":"string"}},{"kind":"field","name":"ymax","type":{"text":"string"}},{"kind":"field","name":"xmin","type":{"text":"string"}},{"kind":"field","name":"xmax","type":{"text":"string"}}]},{"kind":"interface","name":"ExtentObj","members":[{"kind":"field","name":"extent","type":{"text":"ExtentValue","references":[{"name":"ExtentValue","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/components/arcgis-portal-extent-picker/#ExtentValue","start":0,"end":11}]}}]}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-extent-picker","declaration":{"name":"ArcgisPortalExtentPicker"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-field-delete","sourcePath":"src/components/portal-field-delete/portal-field-delete.tsx","declarations":[{"kind":"class","name":"ArcgisPortalFieldDelete","customElement":true,"tagName":"arcgis-portal-field-delete","pascalCaseName":"ArcgisPortalFieldDelete","superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"config","description":"For documentation links.","type":{"text":"IConfig | undefined","references":[{"name":"IConfig","module":"utils/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#IConfig","start":0,"end":7}]}},{"kind":"field","name":"fieldNames","description":"The fields to delete.","type":{"text":"string[] | undefined"}},{"kind":"field","name":"layer","description":"The layer whose field is being deleted.","type":{"text":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7},{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":22,"end":29}]}},{"kind":"field","name":"mapView","description":"The MapView instance.","type":{"text":"__esri.MapView | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"options","description":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","type":{"text":"FieldDeleteOptions | undefined","references":[{"name":"FieldDeleteOptions","module":"utils/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#FieldDeleteOptions","start":0,"end":18}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalFieldDelete = document.querySelector(\"arcgis-portal-field-delete\");\ndocument.body.append(arcgisPortalFieldDelete);\nawait arcgisPortalFieldDelete.componentOnReady();\nconsole.log(\"arcgis-portal-field-delete is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"}],"events":[{"name":"arcgisBeforeDelete","description":"Emitted when the user initiates the delete process.","type":{"text":"void"}},{"name":"arcgisBeforeModalClose","description":"Emitted before the modal is closed if the alert is handled in consumer.","type":{"text":"string"}},{"name":"arcgisClose","description":"Emitted when the component is closed for any reason.","type":{"text":"void"}},{"name":"arcgisFieldsDeleted","description":"Emitted when the field is successfully deleted.","type":{"text":"void"}}],"importPath":"components/arcgis-portal-field-delete"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-field-delete","declaration":{"name":"ArcgisPortalFieldDelete"}}]},{"kind":"javascript-module","path":"components/arcgis-portal-replacement-item-redirect","sourcePath":"src/components/portal-replacement-item-redirect/portal-replacement-item-redirect.tsx","declarations":[{"kind":"class","name":"ArcgisPortalReplacementItemRedirect","customElement":true,"tagName":"arcgis-portal-replacement-item-redirect","pascalCaseName":"ArcgisPortalReplacementItemRedirect","description":"The `arcgis-portal-replacement-item-redirect` component takes an item id on a given portal, and checks if there is a replacement item associated with it\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.","docsTags":[{"name":"internal"}],"superclass":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"members":[{"kind":"field","name":"itemId","description":"The id of a deprecated/retired item to be checked for a replacement","type":{"text":"string","values":[{"type":"string"}]},"attribute":"item-id"},{"kind":"field","name":"portal","description":"The portal instance","type":{"text":"Portal","references":[{"name":"default","module":"portal/Portal.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/portal/Portal/","start":0,"end":6}]}},{"kind":"field","name":"user","description":"The user. Defaults to `portal.user` if omitted","type":{"text":"PortalUser | undefined","references":[{"name":"default","module":"portal/PortalUser.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/portal/PortalUser/","start":0,"end":10}]}},{"kind":"method","name":"componentOnReady","description":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalReplacementItemRedirect = document.querySelector(\"arcgis-portal-replacement-item-redirect\");\ndocument.body.append(arcgisPortalReplacementItemRedirect);\nawait arcgisPortalReplacementItemRedirect.componentOnReady();\nconsole.log(\"arcgis-portal-replacement-item-redirect is ready to go!\");\n```"}],"return":{"type":{"text":"Promise<this>","references":[{"name":"Promise","module":"lib/lib.es5.d.ts","package":"typescript","start":0,"end":7}]}},"inheritedFrom":{"name":"PublicLitElement","module":"PublicLitElement","package":"@arcgis/lumina"},"signature":"(): Promise<this>"},{"kind":"method","name":"setFocus","description":"Set focus on the component","return":{"type":{"text":"Promise<void>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}},"signature":"(): Promise<void>"}],"attributes":[{"name":"item-id","description":"The id of a deprecated/retired item to be checked for a replacement","type":{"text":"string","values":[{"type":"string"}]},"fieldName":"itemId"}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":{"text":"{ replacementItem: PortalItem | object | null; }","references":[{"name":"default","module":"portal/PortalItem.js","package":"@arcgis/core","viewUrl":"https://developers.arcgis.com/javascript/latest/references/core/portal/PortalItem/","start":19,"end":29}]}}],"importPath":"components/arcgis-portal-replacement-item-redirect"}],"exports":[{"kind":"custom-element-definition","name":"arcgis-portal-replacement-item-redirect","declaration":{"name":"ArcgisPortalReplacementItemRedirect"}}]},{"kind":"javascript-module","path":"models/classificationModel","sourcePath":"src/models/classificationModel.ts","declarations":[{"kind":"interface","name":"Status","type":{"text":"\"error\" | \"idle\" | \"loaded\" | \"loading\""}}]},{"kind":"javascript-module","path":"types/classification","sourcePath":"src/types/classification.ts","declarations":[{"kind":"interface","name":"ClassificationSchema","description":"The classification schema defined on the portal.","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n attributeCategories?: string[];\n attributes: Record<string, ClassificationAttributesValues>;\n bannerExpression?: string;\n classificationMetadata: ClassificationMetadata;\n grammarVersion: string;\n layouts: Record<string, DefaultLayout>;\n name: string;\n selectionTextExpression?: string;\n version: string;\n helpUrl?: string;\n helpTooltip?: string;\n}","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":54,"end":60},{"name":"ClassificationAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationAttributesValues","start":69,"end":99},{"name":"ClassificationMetadata","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationMetadata","start":161,"end":183},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":226,"end":232},{"name":"DefaultLayout","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#DefaultLayout","start":241,"end":254}]}]}]},{"kind":"interface","name":"FavoriteClassification","members":[{"kind":"field","name":"name","type":{"text":"string"}},{"kind":"field","name":"classification","type":{"text":"__esri.PortalItem[\"classification\"]","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}}]},{"kind":"interface","name":"AttributeExpressionResults","description":"State object that is used to store arcade expression results from expressions\nthat are evaluated for each attribute in the classification schema.","supertypes":[{"name":"Map","package":"global:","viewUrl":"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Map","typeArguments":[{"text":"string"},{"text":"{\n enabled: boolean;\n valueExpressionResult: Record<string, ValueOption[]> | ValueOption[] | null;\n attributeValidationResult: string | null;\n}","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":51,"end":57},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":66,"end":77},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":83,"end":94}]}]}]},{"kind":"interface","name":"ClassificationMetadata","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n primaryAttribute: string;\n defaultValue: string;\n classificationValueProperties: ClassificationType[];\n}","references":[{"name":"ClassificationType","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationType","start":93,"end":111}]}]}]},{"kind":"interface","name":"ValueOption","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n label: string;\n value: string;\n}"}]}]},{"kind":"interface","name":"ClassificationAttributesValues","type":{"text":"CheckboxAttributesValues | DateAttributesValues | MultiGroupedSelectNestedAttributesValues | MultiSelectAttributesValues | SingleSelectAttributesValues | TextAttributesValues","references":[{"name":"CheckboxAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#CheckboxAttributesValues","start":0,"end":24},{"name":"DateAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#DateAttributesValues","start":27,"end":47},{"name":"MultiGroupedSelectNestedAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#MultiGroupedSelectNestedAttributesValues","start":50,"end":90},{"name":"MultiSelectAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#MultiSelectAttributesValues","start":93,"end":120},{"name":"SingleSelectAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#SingleSelectAttributesValues","start":123,"end":151},{"name":"TextAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#TextAttributesValues","start":154,"end":174}]}},{"kind":"interface","name":"DefaultLayout","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{ layoutElements: Record<string, ClassificationLayoutElements>; }","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":18,"end":24},{"name":"ClassificationLayoutElements","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ClassificationLayoutElements","start":33,"end":61}]}]}]},{"kind":"interface","name":"ClassificationType","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n [index: string]: string | undefined;\n value: string;\n acronym?: string;\n backgroundColor?: string;\n textColor?: string;\n}"}]}]},{"kind":"interface","name":"SingleSelectAttributesValues","description":"Create narrowed types for each of the possible UI elements.\nNever is used to inform users that the property will never be defined\nwhen uiElement is a specific value.","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"single-select\";\n validValues?: ValueOption[];\n validValuesMap?: never;\n}","references":[{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":52,"end":63}]}]}]},{"kind":"interface","name":"MultiSelectAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"multi-select\";\n validValues?: ValueOption[];\n validValuesMap?: never;\n}","references":[{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":51,"end":62}]}]}]},{"kind":"interface","name":"MultiGroupedSelectNestedAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"multi-grouped-select-nested\";\n validValuesMap: Record<string, ValueOption[]>;\n validValues?: never;\n}","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":68,"end":74},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":83,"end":94}]}]}]},{"kind":"interface","name":"CheckboxAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"checkbox\";\n type: \"boolean\";\n validValues?: never;\n validValuesMap?: never;\n defaultDateTimeline?: never;\n defaultDateTimelineUnits?: never;\n}"}]}]},{"kind":"interface","name":"DateAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"date\";\n type: \"date\";\n defaultDateTimeline: number;\n defaultDateTimelineUnits: string;\n validValues?: never;\n validValuesMap?: never;\n}"}]}]},{"kind":"interface","name":"TextAttributesValues","supertypes":[{"name":"BaseAttributesValues","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#BaseAttributesValues"},{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n uiElement: \"text\";\n type: \"string\";\n validValues?: never;\n validValuesMap?: never;\n defaultDateTimeline?: never;\n defaultDateTimelineUnits?: never;\n}"}]}]},{"kind":"interface","name":"ClassificationLayoutElements","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{ formDisplayOrder: number; }"}]}]},{"kind":"interface","name":"BaseAttributesValues","supertypes":[{"name":"Readonly","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#readonlytype","typeArguments":[{"text":"{\n label: string;\n description?: string;\n type: string;\n uiElement: string;\n isRequired?: boolean;\n defaultValue?: string;\n defaultDateTimeline?: number;\n defaultDateTimelineUnits?: string;\n validValues?: ValueOption[];\n validValuesMap?: Record<string, ValueOption[]>;\n isAttributeEnabled?: string;\n valueExpression?: string;\n attributeValidation?: string;\n arcadeResultLookup?: Record<string, ValueOption[]>;\n attributeCategory?: string;\n selectionDisplayOrder?: number;\n selectionDisplayLabel?: string;\n bannerOrder?: number;\n bannerLabel?: string;\n labelDelimiter?: string;\n labelTooltip?: string;\n valueDelimiter?: string;\n attributeDelimiter?: string;\n}","references":[{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":232,"end":243},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":268,"end":274},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":283,"end":294},{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":421,"end":427},{"name":"ValueOption","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/types/classification/#ValueOption","start":436,"end":447}]}]}]}]},{"kind":"javascript-module","path":"utils/fieldAddDelete","sourcePath":"src/utils/fieldAddDelete.ts","declarations":[{"kind":"function","name":"canAddField","parameters":[{"name":"layer","type":{"text":"any"}}],"return":{"type":{"text":"Promise<boolean>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}}},{"kind":"function","name":"canDeleteField","parameters":[{"name":"mapView","type":{"text":"__esri.MapView | undefined","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"name":"layer","type":{"text":"any"}},{"name":"field","type":{"text":"__esri.Field","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"name":"options","optional":true,"type":{"text":"FieldDeleteOptions","references":[{"name":"FieldDeleteOptions","module":"utils/types","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#FieldDeleteOptions","start":0,"end":18}]}}],"return":{"type":{"text":"Promise<boolean>","references":[{"name":"Promise","package":"global:","viewUrl":"https://next.gha.afd.arcgis.com/javascript/latest/programming-patterns/","start":0,"end":7}]}}}]},{"kind":"javascript-module","path":"utils/types","sourcePath":"src/utils/types.ts","declarations":[{"kind":"interface","name":"IConfig","description":"Configuration","members":[{"kind":"field","name":"arcadeEditor","type":{"text":"string | undefined"}},{"kind":"field","name":"jsapiUrl","type":{"text":"string | undefined"}},{"kind":"field","name":"helpMap","type":{"text":"Record<string, string> | undefined","references":[{"name":"Record","package":"global:","viewUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type","start":0,"end":6}]}},{"kind":"field","name":"helpBase","type":{"text":"string | undefined"}}]},{"kind":"interface","name":"FieldDeleteOptions","members":[{"kind":"field","name":"item","type":{"text":"__esri.PortalItem","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"portal","type":{"text":"__esri.Portal","references":[{"name":"__esri","module":"interfaces.js","package":"@arcgis/core","start":0,"end":7}]}},{"kind":"field","name":"handleCloseOnConsumer","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignorePopupTemplate","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerRenderer","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerFeatureReduction","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerLabelingInfo","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreLayerDefinitionExpression","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreItemRenderer","type":{"text":"boolean | undefined"}},{"kind":"field","name":"ignoreItemFeatureReduction","type":{"text":"boolean | undefined"}},{"kind":"field","name":"userItemInfo","type":{"text":"UserItemInfo | undefined","references":[{"name":"UserItemInfo","viewUrl":"https://developers.arcgis.com/javascript/latest/references/portal-components/utils/types/#UserItemInfo","start":0,"end":12}]}}]},{"kind":"interface","name":"UserItemInfo","members":[{"kind":"field","name":"itemData","type":{"text":"any"}},{"kind":"field","name":"userGroups","type":{"text":"any[]"}},{"kind":"field","name":"itemGroups","type":{"text":"any[]"}},{"kind":"field","name":"relatedItems","type":{"text":"any[]"}},{"kind":"field","name":"fieldGroups","type":{"text":"any[]"}}]}]}]}
@@ -1 +1 @@
1
- {"timestamp":"2026-02-12T04:43:48","compiler":{"name":"@arcgis/lumina-compiler","version":"5.1.0-next.13","typescriptVersion":"5.9.3"},"components":[{"filePath":"src/components/portal-classification-banner/portal-classification-banner.tsx","tag":"arcgis-portal-classification-banner","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"missingExistingClassification","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"missing-existing-classification","reflectToAttr":false,"docs":"If the portal item has a classification previously","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"portalItem","type":"__esri.PortalItem | undefined","complexType":{"original":"__esri.PortalItem | undefined","resolved":"__esri.PortalItem | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal item to display the classification banner for.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"validationErrors","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"validation-errors","reflectToAttr":false,"docs":"The classification validation error - validate the classification value against the classification schema.","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"variant","type":"\"full\" | \"preview\"","complexType":{"original":"\"full\" | \"preview\"","resolved":"\"full\" | \"preview\"","references":{}},"mutable":true,"attr":"variant","reflectToAttr":false,"docs":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","docsTags":[],"default":"\"full\"","values":[{"type":"string","value":"full"},{"type":"string","value":"preview"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationBanner = document.querySelector(\"arcgis-portal-classification-banner\");\ndocument.body.append(arcgisPortalClassificationBanner);\nawait arcgisPortalClassificationBanner.componentOnReady();\nconsole.log(\"arcgis-portal-classification-banner is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"destroy","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"destroy(): Promise<void>","parameters":[],"docs":"Permanently destroy the component","docsTags":[]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-classification-config/portal-classification-config.tsx","tag":"arcgis-portal-classification-config","overview":"","readme":"","usage":{},"docs":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"portalItem","type":"__esri.PortalItem | undefined","complexType":{"original":"__esri.PortalItem | undefined","resolved":"__esri.PortalItem | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal item to display the classification banner for.","docsTags":[{"name":"required"}],"values":[],"optional":false,"required":true},{"name":"status","type":"Status","complexType":{"original":"Status","resolved":"Status","references":{"Status":{"location":"local","path":"models/classificationModel","id":"notImplemented"}}},"mutable":true,"attr":"status","reflectToAttr":true,"docs":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","docsTags":[{"name":"readonly","text":""}],"default":"\"idle\"","values":[{"type":"string","value":"loading"},{"type":"string","value":"loaded"},{"type":"string","value":"error"},{"type":"string","value":"idle"}],"optional":true,"required":false},{"name":"valid","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"valid","reflectToAttr":true,"docs":"The validity of the form values against the Portal's classification schema.","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"values","type":"__esri.PortalItem[\"classification\"]","complexType":{"original":"__esri.PortalItem[\"classification\"]","resolved":"__esri.PortalItem[\"classification\"]","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"attr":"values","reflectToAttr":false,"docs":"The edited classification values of the portal item.","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationConfig = document.querySelector(\"arcgis-portal-classification-config\");\ndocument.body.append(arcgisPortalClassificationConfig);\nawait arcgisPortalClassificationConfig.componentOnReady();\nconsole.log(\"arcgis-portal-classification-config is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"destroy","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"destroy(): Promise<void>","parameters":[],"docs":"Permanently destroy the component.","docsTags":[]},{"name":"resetForm","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"resetForm(): Promise<void>","parameters":[],"docs":"Reset the form to the initial classification values from the portalItem","docsTags":[]},{"name":"validateForm","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"validateForm(): Promise<void>","parameters":[],"docs":"Validates the form and sets the formValidationErrors state.","docsTags":[]}],"events":[{"event":"arcgisPropertyChange","detail":"{ name: \"status\" | \"values\" | \"valid\"; }","bubbles":true,"complexType":{"original":"{ name: \"status\" | \"values\" | \"valid\"; }","resolved":"{ name: \"status\" | \"values\" | \"valid\"; }","references":{}},"cancelable":true,"composed":true,"docs":"Event emitted when component property values status, values, or valid change.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-classification-favorite/portal-classification-favorite.tsx","tag":"arcgis-portal-classification-favorite","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"attributeExpressionResults","type":"AttributeExpressionResults | undefined","complexType":{"original":"AttributeExpressionResults | undefined","resolved":"AttributeExpressionResults | undefined","references":{"AttributeExpressionResults":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"classificationValue","type":"__esri.PortalItem[\"classification\"] | undefined","complexType":{"original":"__esri.PortalItem[\"classification\"] | undefined","resolved":"__esri.PortalItem[\"classification\"] | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Current classification value","docsTags":[],"values":[],"optional":true,"required":false},{"name":"favoriteClassifications","type":"FavoriteClassification[]","complexType":{"original":"FavoriteClassification[]","resolved":"FavoriteClassification[]","references":{"FavoriteClassification":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"List of favorite classifications","docsTags":[],"values":[],"optional":true,"required":false},{"name":"portalItem","type":"__esri.PortalItem | undefined","complexType":{"original":"__esri.PortalItem | undefined","resolved":"__esri.PortalItem | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal item to display the classification banner for.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"resetFavoriteClassification","type":"(favoriteClassifications: FavoriteClassification[]) => void","complexType":{"original":"(favoriteClassifications: FavoriteClassification[]) => void","resolved":"(favoriteClassifications: FavoriteClassification[]) => void","references":{"FavoriteClassification":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"selectedFavoriteClassificationName","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"selected-favorite-classification-name","reflectToAttr":false,"docs":"","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"updateClassificationData","type":"(selectedClassification: FavoriteClassification) => void","complexType":{"original":"(selectedClassification: FavoriteClassification) => void","resolved":"(selectedClassification: FavoriteClassification) => void","references":{"FavoriteClassification":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFavorite = document.querySelector(\"arcgis-portal-classification-favorite\");\ndocument.body.append(arcgisPortalClassificationFavorite);\nawait arcgisPortalClassificationFavorite.componentOnReady();\nconsole.log(\"arcgis-portal-classification-favorite is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-classification-form-element/portal-classification-form-element.tsx","tag":"arcgis-portal-classification-form-element","overview":"","readme":"","usage":{},"docs":"A web component that renders form elements for a classification schema attribute.","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"attribute","type":"ClassificationSchema[\"attributes\"][string]","complexType":{"original":"ClassificationSchema[\"attributes\"][string]","resolved":"ClassificationSchema[\"attributes\"][string]","references":{"ClassificationSchema":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"attributeKey","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"attribute-key","reflectToAttr":false,"docs":"","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"isRequiredErrors","type":"Set<string>","complexType":{"original":"Set<string>","resolved":"Set<string>","references":{"Set":{"location":"global","path":"global:","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"renderingInfo","type":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","complexType":{"original":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","resolved":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","references":{"Pick":{"location":"global","path":"global:","id":"notImplemented"},"NonNullable":{"location":"global","path":"global:","id":"notImplemented"},"ReturnType":{"location":"global","path":"global:","id":"notImplemented"},"AttributeExpressionResults":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"value","type":"unknown","complexType":{"original":"unknown","resolved":"unknown","references":{}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFormElement = document.querySelector(\"arcgis-portal-classification-form-element\");\ndocument.body.append(arcgisPortalClassificationFormElement);\nawait arcgisPortalClassificationFormElement.componentOnReady();\nconsole.log(\"arcgis-portal-classification-form-element is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisAttributeValueChange","detail":"Record<string, unknown>","bubbles":true,"complexType":{"original":"Record<string, unknown>","resolved":"Record<string, unknown>","references":{"Record":{"location":"global","path":"global:","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"The attribute value has changed.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-extent-picker/portal-extent-picker.tsx","tag":"arcgis-portal-extent-picker","overview":"","readme":"","usage":{},"docs":"To select extent value from a map or by entering coordinates.","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"active","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"active","reflectToAttr":false,"docs":"if true, open the dialog","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"contentOnly","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"content-only","reflectToAttr":false,"docs":"Optional; if true, show only the content without the calcite-dialog wrapper","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"extentService","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"extent-service","reflectToAttr":false,"docs":"Optional; URL of the extent service, used to initialize TileLayer","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"extentValue","type":"ExtentValue | undefined","complexType":{"original":"ExtentValue | undefined","resolved":"ExtentValue | undefined","references":{"ExtentValue":{"location":"local","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"current extent value","docsTags":[],"values":[],"optional":true,"required":false},{"name":"isArea","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-area","reflectToAttr":false,"docs":"Optional; if true, display texts that are for areas rather than the default extent texts","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"itemId","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"item-id","reflectToAttr":false,"docs":"Optional; if passed, use the itemId to load the Portal item","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"portal","type":"Portal | undefined","complexType":{"original":"Portal | undefined","resolved":"Portal | undefined","references":{"default":{"location":"import","path":"@arcgis/core/portal/Portal.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Optional; Portal instance","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalExtentPicker = document.querySelector(\"arcgis-portal-extent-picker\");\ndocument.body.append(arcgisPortalExtentPicker);\nawait arcgisPortalExtentPicker.componentOnReady();\nconsole.log(\"arcgis-portal-extent-picker is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"getExtent","returns":{"type":"ExtentObj","docs":""},"complexType":{"signature":"(): ExtentObj","parameters":[],"return":"ExtentObj","references":{"ExtentObj":{"location":"local","id":"notImplemented"}}},"signature":"getExtent(): ExtentObj","parameters":[],"docs":"Returns the current extent value","docsTags":[]}],"events":[{"event":"arcgisExtentPickerChange","detail":"ExtentObj","bubbles":true,"complexType":{"original":"ExtentObj","resolved":"ExtentObj","references":{"ExtentObj":{"location":"local","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Emitted when the extent value changes","docsTags":[]},{"event":"arcgisExtentPickerClose","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the dialog is closed","docsTags":[]},{"event":"arcgisExtentPickerSave","detail":"ExtentObj","bubbles":true,"complexType":{"original":"ExtentObj","resolved":"ExtentObj","references":{"ExtentObj":{"location":"local","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Emitted when the save button is clicked","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-field-delete/portal-field-delete.tsx","tag":"arcgis-portal-field-delete","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"config","type":"IConfig | undefined","complexType":{"original":"IConfig | undefined","resolved":"IConfig | undefined","references":{"IConfig":{"location":"local","path":"utils/types","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"For documentation links.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"fieldNames","type":"string[] | undefined","complexType":{"original":"string[] | undefined","resolved":"string[] | undefined","references":{}},"mutable":true,"reflectToAttr":false,"docs":"The fields to delete.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"layer","type":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","complexType":{"original":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","resolved":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The layer whose field is being deleted.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"mapView","type":"__esri.MapView | undefined","complexType":{"original":"__esri.MapView | undefined","resolved":"__esri.MapView | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The MapView instance.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"options","type":"FieldDeleteOptions | undefined","complexType":{"original":"FieldDeleteOptions | undefined","resolved":"FieldDeleteOptions | undefined","references":{"FieldDeleteOptions":{"location":"local","path":"utils/types","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalFieldDelete = document.querySelector(\"arcgis-portal-field-delete\");\ndocument.body.append(arcgisPortalFieldDelete);\nawait arcgisPortalFieldDelete.componentOnReady();\nconsole.log(\"arcgis-portal-field-delete is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisBeforeDelete","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the user initiates the delete process.","docsTags":[]},{"event":"arcgisBeforeModalClose","detail":"string","bubbles":true,"complexType":{"original":"string","resolved":"string","references":{}},"cancelable":true,"composed":true,"docs":"Emitted before the modal is closed if the alert is handled in consumer.","docsTags":[]},{"event":"arcgisClose","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the component is closed for any reason.","docsTags":[]},{"event":"arcgisFieldsDeleted","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the field is successfully deleted.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-replacement-item-redirect/portal-replacement-item-redirect.tsx","tag":"arcgis-portal-replacement-item-redirect","overview":"","readme":"","usage":{},"docs":"The `arcgis-portal-replacement-item-redirect` component takes an item id on a given portal, and checks if there is a replacement item associated with it\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"itemId","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"item-id","reflectToAttr":false,"docs":"The id of a deprecated/retired item to be checked for a replacement","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"portal","type":"__esri.Portal","complexType":{"original":"__esri.Portal","resolved":"__esri.Portal","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal instance","docsTags":[],"values":[],"optional":true,"required":false},{"name":"user","type":"__esri.PortalUser | undefined","complexType":{"original":"__esri.PortalUser | undefined","resolved":"__esri.PortalUser | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The user. Defaults to `portal.user` if omitted","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalReplacementItemRedirect = document.querySelector(\"arcgis-portal-replacement-item-redirect\");\ndocument.body.append(arcgisPortalReplacementItemRedirect);\nawait arcgisPortalReplacementItemRedirect.componentOnReady();\nconsole.log(\"arcgis-portal-replacement-item-redirect is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"setFocus","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"setFocus(): Promise<void>","parameters":[],"docs":"Set focus on the component","docsTags":[]}],"events":[{"event":"arcgisPortalReplacementItemFetch","detail":"{ replacementItem: __esri.PortalItem | object | null; }","bubbles":true,"complexType":{"original":"{ replacementItem: __esri.PortalItem | object | null; }","resolved":"{ replacementItem: __esri.PortalItem | object | null; }","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]}],"typeLibrary":{}}
1
+ {"timestamp":"2026-02-13T04:48:44","compiler":{"name":"@arcgis/lumina-compiler","version":"5.1.0-next.14","typescriptVersion":"5.9.3"},"components":[{"filePath":"src/components/portal-classification-banner/portal-classification-banner.tsx","tag":"arcgis-portal-classification-banner","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"missingExistingClassification","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"missing-existing-classification","reflectToAttr":false,"docs":"If the portal item has a classification previously","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"portalItem","type":"__esri.PortalItem | undefined","complexType":{"original":"__esri.PortalItem | undefined","resolved":"__esri.PortalItem | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal item to display the classification banner for.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"validationErrors","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"validation-errors","reflectToAttr":false,"docs":"The classification validation error - validate the classification value against the classification schema.","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"variant","type":"\"full\" | \"preview\"","complexType":{"original":"\"full\" | \"preview\"","resolved":"\"full\" | \"preview\"","references":{}},"mutable":true,"attr":"variant","reflectToAttr":false,"docs":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","docsTags":[],"default":"\"full\"","values":[{"type":"string","value":"full"},{"type":"string","value":"preview"}],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationBanner = document.querySelector(\"arcgis-portal-classification-banner\");\ndocument.body.append(arcgisPortalClassificationBanner);\nawait arcgisPortalClassificationBanner.componentOnReady();\nconsole.log(\"arcgis-portal-classification-banner is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"destroy","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"destroy(): Promise<void>","parameters":[],"docs":"Permanently destroy the component","docsTags":[]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-classification-config/portal-classification-config.tsx","tag":"arcgis-portal-classification-config","overview":"","readme":"","usage":{},"docs":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"portalItem","type":"__esri.PortalItem | undefined","complexType":{"original":"__esri.PortalItem | undefined","resolved":"__esri.PortalItem | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal item to display the classification banner for.","docsTags":[{"name":"required"}],"values":[],"optional":false,"required":true},{"name":"status","type":"Status","complexType":{"original":"Status","resolved":"Status","references":{"Status":{"location":"local","path":"models/classificationModel","id":"notImplemented"}}},"mutable":true,"attr":"status","reflectToAttr":true,"docs":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","docsTags":[{"name":"readonly","text":""}],"default":"\"idle\"","values":[{"type":"string","value":"loading"},{"type":"string","value":"loaded"},{"type":"string","value":"error"},{"type":"string","value":"idle"}],"optional":true,"required":false},{"name":"valid","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"valid","reflectToAttr":true,"docs":"The validity of the form values against the Portal's classification schema.","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"values","type":"__esri.PortalItem[\"classification\"]","complexType":{"original":"__esri.PortalItem[\"classification\"]","resolved":"__esri.PortalItem[\"classification\"]","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"attr":"values","reflectToAttr":false,"docs":"The edited classification values of the portal item.","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationConfig = document.querySelector(\"arcgis-portal-classification-config\");\ndocument.body.append(arcgisPortalClassificationConfig);\nawait arcgisPortalClassificationConfig.componentOnReady();\nconsole.log(\"arcgis-portal-classification-config is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"destroy","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"destroy(): Promise<void>","parameters":[],"docs":"Permanently destroy the component.","docsTags":[]},{"name":"resetForm","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"resetForm(): Promise<void>","parameters":[],"docs":"Reset the form to the initial classification values from the portalItem","docsTags":[]},{"name":"validateForm","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"validateForm(): Promise<void>","parameters":[],"docs":"Validates the form and sets the formValidationErrors state.","docsTags":[]}],"events":[{"event":"arcgisPropertyChange","detail":"{ name: \"status\" | \"values\" | \"valid\"; }","bubbles":true,"complexType":{"original":"{ name: \"status\" | \"values\" | \"valid\"; }","resolved":"{ name: \"status\" | \"values\" | \"valid\"; }","references":{}},"cancelable":true,"composed":true,"docs":"Event emitted when component property values status, values, or valid change.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-classification-favorite/portal-classification-favorite.tsx","tag":"arcgis-portal-classification-favorite","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"attributeExpressionResults","type":"AttributeExpressionResults | undefined","complexType":{"original":"AttributeExpressionResults | undefined","resolved":"AttributeExpressionResults | undefined","references":{"AttributeExpressionResults":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"classificationValue","type":"__esri.PortalItem[\"classification\"] | undefined","complexType":{"original":"__esri.PortalItem[\"classification\"] | undefined","resolved":"__esri.PortalItem[\"classification\"] | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Current classification value","docsTags":[],"values":[],"optional":true,"required":false},{"name":"favoriteClassifications","type":"FavoriteClassification[]","complexType":{"original":"FavoriteClassification[]","resolved":"FavoriteClassification[]","references":{"FavoriteClassification":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"List of favorite classifications","docsTags":[],"values":[],"optional":true,"required":false},{"name":"portalItem","type":"__esri.PortalItem | undefined","complexType":{"original":"__esri.PortalItem | undefined","resolved":"__esri.PortalItem | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal item to display the classification banner for.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"resetFavoriteClassification","type":"(favoriteClassifications: FavoriteClassification[]) => void","complexType":{"original":"(favoriteClassifications: FavoriteClassification[]) => void","resolved":"(favoriteClassifications: FavoriteClassification[]) => void","references":{"FavoriteClassification":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"selectedFavoriteClassificationName","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"selected-favorite-classification-name","reflectToAttr":false,"docs":"","docsTags":[],"default":"\"\"","values":[{"type":"string"}],"optional":true,"required":false},{"name":"updateClassificationData","type":"(selectedClassification: FavoriteClassification) => void","complexType":{"original":"(selectedClassification: FavoriteClassification) => void","resolved":"(selectedClassification: FavoriteClassification) => void","references":{"FavoriteClassification":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFavorite = document.querySelector(\"arcgis-portal-classification-favorite\");\ndocument.body.append(arcgisPortalClassificationFavorite);\nawait arcgisPortalClassificationFavorite.componentOnReady();\nconsole.log(\"arcgis-portal-classification-favorite is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-classification-form-element/portal-classification-form-element.tsx","tag":"arcgis-portal-classification-form-element","overview":"","readme":"","usage":{},"docs":"A web component that renders form elements for a classification schema attribute.","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"attribute","type":"ClassificationSchema[\"attributes\"][string]","complexType":{"original":"ClassificationSchema[\"attributes\"][string]","resolved":"ClassificationSchema[\"attributes\"][string]","references":{"ClassificationSchema":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"attributeKey","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"attribute-key","reflectToAttr":false,"docs":"","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"isRequiredErrors","type":"Set<string>","complexType":{"original":"Set<string>","resolved":"Set<string>","references":{"Set":{"location":"global","path":"global:","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"renderingInfo","type":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","complexType":{"original":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","resolved":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined","references":{"Pick":{"location":"global","path":"global:","id":"notImplemented"},"NonNullable":{"location":"global","path":"global:","id":"notImplemented"},"ReturnType":{"location":"global","path":"global:","id":"notImplemented"},"AttributeExpressionResults":{"location":"local","path":"types/classification","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false},{"name":"value","type":"unknown","complexType":{"original":"unknown","resolved":"unknown","references":{}},"mutable":true,"reflectToAttr":false,"docs":"","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalClassificationFormElement = document.querySelector(\"arcgis-portal-classification-form-element\");\ndocument.body.append(arcgisPortalClassificationFormElement);\nawait arcgisPortalClassificationFormElement.componentOnReady();\nconsole.log(\"arcgis-portal-classification-form-element is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisAttributeValueChange","detail":"Record<string, unknown>","bubbles":true,"complexType":{"original":"Record<string, unknown>","resolved":"Record<string, unknown>","references":{"Record":{"location":"global","path":"global:","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"The attribute value has changed.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-extent-picker/portal-extent-picker.tsx","tag":"arcgis-portal-extent-picker","overview":"","readme":"","usage":{},"docs":"To select extent value from a map or by entering coordinates.","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"active","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"active","reflectToAttr":false,"docs":"if true, open the dialog","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"contentOnly","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"content-only","reflectToAttr":false,"docs":"Optional; if true, show only the content without the calcite-dialog wrapper","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"extentService","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"extent-service","reflectToAttr":false,"docs":"Optional; URL of the extent service, used to initialize TileLayer","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"extentValue","type":"ExtentValue | undefined","complexType":{"original":"ExtentValue | undefined","resolved":"ExtentValue | undefined","references":{"ExtentValue":{"location":"local","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"current extent value","docsTags":[],"values":[],"optional":true,"required":false},{"name":"isArea","type":"boolean","complexType":{"original":"boolean","resolved":"boolean","references":{}},"mutable":true,"attr":"is-area","reflectToAttr":false,"docs":"Optional; if true, display texts that are for areas rather than the default extent texts","docsTags":[],"default":"false","values":[{"type":"boolean"}],"optional":true,"required":false},{"name":"itemId","type":"string | undefined","complexType":{"original":"string | undefined","resolved":"string | undefined","references":{}},"mutable":true,"attr":"item-id","reflectToAttr":false,"docs":"Optional; if passed, use the itemId to load the Portal item","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"portal","type":"Portal | undefined","complexType":{"original":"Portal | undefined","resolved":"Portal | undefined","references":{"default":{"location":"import","path":"@arcgis/core/portal/Portal.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Optional; Portal instance","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalExtentPicker = document.querySelector(\"arcgis-portal-extent-picker\");\ndocument.body.append(arcgisPortalExtentPicker);\nawait arcgisPortalExtentPicker.componentOnReady();\nconsole.log(\"arcgis-portal-extent-picker is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"getExtent","returns":{"type":"ExtentObj","docs":""},"complexType":{"signature":"(): ExtentObj","parameters":[],"return":"ExtentObj","references":{"ExtentObj":{"location":"local","id":"notImplemented"}}},"signature":"getExtent(): ExtentObj","parameters":[],"docs":"Returns the current extent value","docsTags":[]}],"events":[{"event":"arcgisExtentPickerChange","detail":"ExtentObj","bubbles":true,"complexType":{"original":"ExtentObj","resolved":"ExtentObj","references":{"ExtentObj":{"location":"local","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Emitted when the extent value changes","docsTags":[]},{"event":"arcgisExtentPickerClose","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the dialog is closed","docsTags":[]},{"event":"arcgisExtentPickerSave","detail":"ExtentObj","bubbles":true,"complexType":{"original":"ExtentObj","resolved":"ExtentObj","references":{"ExtentObj":{"location":"local","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"Emitted when the save button is clicked","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-field-delete/portal-field-delete.tsx","tag":"arcgis-portal-field-delete","overview":"","readme":"","usage":{},"docs":"","docsTags":[{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"config","type":"IConfig | undefined","complexType":{"original":"IConfig | undefined","resolved":"IConfig | undefined","references":{"IConfig":{"location":"local","path":"utils/types","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"For documentation links.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"fieldNames","type":"string[] | undefined","complexType":{"original":"string[] | undefined","resolved":"string[] | undefined","references":{}},"mutable":true,"reflectToAttr":false,"docs":"The fields to delete.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"layer","type":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","complexType":{"original":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","resolved":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The layer whose field is being deleted.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"mapView","type":"__esri.MapView | undefined","complexType":{"original":"__esri.MapView | undefined","resolved":"__esri.MapView | undefined","references":{"__esri":{"location":"import","path":"@arcgis/core/interfaces.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The MapView instance.","docsTags":[],"values":[],"optional":true,"required":false},{"name":"options","type":"FieldDeleteOptions | undefined","complexType":{"original":"FieldDeleteOptions | undefined","resolved":"FieldDeleteOptions | undefined","references":{"FieldDeleteOptions":{"location":"local","path":"utils/types","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalFieldDelete = document.querySelector(\"arcgis-portal-field-delete\");\ndocument.body.append(arcgisPortalFieldDelete);\nawait arcgisPortalFieldDelete.componentOnReady();\nconsole.log(\"arcgis-portal-field-delete is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]}],"events":[{"event":"arcgisBeforeDelete","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the user initiates the delete process.","docsTags":[]},{"event":"arcgisBeforeModalClose","detail":"string","bubbles":true,"complexType":{"original":"string","resolved":"string","references":{}},"cancelable":true,"composed":true,"docs":"Emitted before the modal is closed if the alert is handled in consumer.","docsTags":[]},{"event":"arcgisClose","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the component is closed for any reason.","docsTags":[]},{"event":"arcgisFieldsDeleted","detail":"void","bubbles":true,"complexType":{"original":"void","resolved":"void","references":{}},"cancelable":true,"composed":true,"docs":"Emitted when the field is successfully deleted.","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]},{"filePath":"src/components/portal-replacement-item-redirect/portal-replacement-item-redirect.tsx","tag":"arcgis-portal-replacement-item-redirect","overview":"","readme":"","usage":{},"docs":"The `arcgis-portal-replacement-item-redirect` component takes an item id on a given portal, and checks if there is a replacement item associated with it\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.","docsTags":[{"name":"internal"},{"name":"superclass","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}],"encapsulation":"shadow","dependents":[],"dependencies":[],"dependencyGraph":{},"props":[{"name":"itemId","type":"string","complexType":{"original":"string","resolved":"string","references":{}},"mutable":true,"attr":"item-id","reflectToAttr":false,"docs":"The id of a deprecated/retired item to be checked for a replacement","docsTags":[],"values":[{"type":"string"}],"optional":true,"required":false},{"name":"portal","type":"Portal","complexType":{"original":"Portal","resolved":"Portal","references":{"default":{"location":"import","path":"@arcgis/core/portal/Portal.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The portal instance","docsTags":[],"values":[],"optional":true,"required":false},{"name":"user","type":"PortalUser | undefined","complexType":{"original":"PortalUser | undefined","resolved":"PortalUser | undefined","references":{"default":{"location":"import","path":"@arcgis/core/portal/PortalUser.js","id":"notImplemented"}}},"mutable":true,"reflectToAttr":false,"docs":"The user. Defaults to `portal.user` if omitted","docsTags":[],"values":[],"optional":true,"required":false}],"methods":[{"name":"componentOnReady","returns":{"type":"Promise<this>","docs":""},"complexType":{"signature":"(): Promise<this>","parameters":[],"return":"Promise<this>","references":{"Promise":{"location":"import","path":"typescript/lib/lib.es5.d.ts","id":"notImplemented"}}},"signature":"componentOnReady(): Promise<this>","parameters":[],"docs":"Creates a promise that resolves once the component is fully loaded.","docsTags":[{"name":"example","text":"```js\nconst arcgisPortalReplacementItemRedirect = document.querySelector(\"arcgis-portal-replacement-item-redirect\");\ndocument.body.append(arcgisPortalReplacementItemRedirect);\nawait arcgisPortalReplacementItemRedirect.componentOnReady();\nconsole.log(\"arcgis-portal-replacement-item-redirect is ready to go!\");\n```"},{"name":"inheritedFrom","text":"{\"name\":\"PublicLitElement\",\"module\":\"PublicLitElement\",\"package\":\"@arcgis/lumina\"}"}]},{"name":"setFocus","returns":{"type":"Promise<void>","docs":""},"complexType":{"signature":"(): Promise<void>","parameters":[],"return":"Promise<void>","references":{"Promise":{"location":"global","path":"global:","id":"notImplemented"}}},"signature":"setFocus(): Promise<void>","parameters":[],"docs":"Set focus on the component","docsTags":[]}],"events":[{"event":"arcgisPortalReplacementItemFetch","detail":"{ replacementItem: PortalItem | object | null; }","bubbles":true,"complexType":{"original":"{ replacementItem: PortalItem | object | null; }","resolved":"{ replacementItem: PortalItem | object | null; }","references":{"default":{"location":"import","path":"@arcgis/core/portal/PortalItem.js","id":"notImplemented"}}},"cancelable":true,"composed":true,"docs":"","docsTags":[]}],"styles":[],"slots":[],"parts":[],"listeners":[]}],"typeLibrary":{}}
@@ -1 +1 @@
1
- {"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","name":"@arcgis/portal-components","version":"5.1.0-next.13","description-markup":"markdown","contributions":{"html":{"elements":[{"name":"arcgis-portal-classification-banner","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component","attributes":[{"name":"missing-existing-classification","description":"If the portal item has a classification previously","default":"false","value":{"type":"boolean"}},{"name":"validation-errors","description":"The classification validation error - validate the classification value against the classification schema.","default":"\"\"","value":{"type":"string"}},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","default":"\"full\"","value":{"type":["\"full\"","\"preview\""]}}],"events":[],"js":{"properties":[{"name":"missingExistingClassification","description":"If the portal item has a classification previously","type":"boolean"},{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"__esri.PortalItem | undefined"},{"name":"validationErrors","description":"The classification validation error - validate the classification value against the classification schema.","type":"string"},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":"\"full\" | \"preview\""}],"events":[]}},{"name":"arcgis-portal-classification-config","description":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.\n--\n\n### Events\n- **arcgisPropertyChange** - Event emitted when component property values status, values, or valid change.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `resetForm(): Promise<void>` - Reset the form to the initial classification values from the portalItem\n- `validateForm(): Promise<void>` - Validates the form and sets the formValidationErrors state.","attributes":[{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","default":"\"idle\"","value":{"type":["\"loading\"","\"loaded\"","\"error\"","\"idle\""]}},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","default":"false","value":{"type":"boolean"}},{"name":"values","description":"The edited classification values of the portal item.","value":{}}],"events":[{"name":"arcgisPropertyChange","type":"{ name: \"status\" | \"values\" | \"valid\"; }","description":"Event emitted when component property values status, values, or valid change."}],"js":{"properties":[{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"__esri.PortalItem | undefined"},{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":"Status"},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":"boolean"},{"name":"values","description":"The edited classification values of the portal item.","type":"__esri.PortalItem[\"classification\"]"}],"events":[{"name":"arcgisPropertyChange","type":"{ name: \"status\" | \"values\" | \"valid\"; }","description":"Event emitted when component property values status, values, or valid change."}]}},{"name":"arcgis-portal-classification-favorite","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"selected-favorite-classification-name","default":"\"\"","value":{"type":"string"}}],"events":[],"js":{"properties":[{"name":"attributeExpressionResults","type":"AttributeExpressionResults | undefined"},{"name":"classificationValue","description":"Current classification value","type":"__esri.PortalItem[\"classification\"] | undefined"},{"name":"favoriteClassifications","description":"List of favorite classifications","type":"FavoriteClassification[]"},{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"__esri.PortalItem | undefined"},{"name":"resetFavoriteClassification","type":"(favoriteClassifications: FavoriteClassification[]) => void"},{"name":"selectedFavoriteClassificationName","type":"string"},{"name":"updateClassificationData","type":"(selectedClassification: FavoriteClassification) => void"}],"events":[]}},{"name":"arcgis-portal-classification-form-element","description":"A web component that renders form elements for a classification schema attribute.\n--\n\n### Events\n- **arcgisAttributeValueChange** - The attribute value has changed.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"attribute-key","value":{"type":"string"}}],"events":[{"name":"arcgisAttributeValueChange","type":"Record<string, unknown>","description":"The attribute value has changed."}],"js":{"properties":[{"name":"attribute","type":"ClassificationSchema[\"attributes\"][string]"},{"name":"attributeKey","type":"string"},{"name":"isRequiredErrors","type":"Set<string>"},{"name":"renderingInfo","type":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined"},{"name":"value","type":"unknown"}],"events":[{"name":"arcgisAttributeValueChange","type":"Record<string, unknown>","description":"The attribute value has changed."}]}},{"name":"arcgis-portal-extent-picker","description":"To select extent value from a map or by entering coordinates.\n--\n\n### Events\n- **arcgisExtentPickerChange** - Emitted when the extent value changes\n- **arcgisExtentPickerClose** - Emitted when the dialog is closed\n- **arcgisExtentPickerSave** - Emitted when the save button is clicked\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `getExtent(): ExtentObj` - Returns the current extent value","attributes":[{"name":"active","description":"if true, open the dialog","default":"false","value":{"type":"boolean"}},{"name":"content-only","description":"Optional; if true, show only the content without the calcite-dialog wrapper","default":"false","value":{"type":"boolean"}},{"name":"extent-service","description":"Optional; URL of the extent service, used to initialize TileLayer","value":{"type":"string"}},{"name":"is-area","description":"Optional; if true, display texts that are for areas rather than the default extent texts","default":"false","value":{"type":"boolean"}},{"name":"item-id","description":"Optional; if passed, use the itemId to load the Portal item","value":{"type":"string"}}],"events":[{"name":"arcgisExtentPickerChange","type":"ExtentObj","description":"Emitted when the extent value changes"},{"name":"arcgisExtentPickerClose","type":"void","description":"Emitted when the dialog is closed"},{"name":"arcgisExtentPickerSave","type":"ExtentObj","description":"Emitted when the save button is clicked"}],"js":{"properties":[{"name":"active","description":"if true, open the dialog","type":"boolean"},{"name":"contentOnly","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":"boolean"},{"name":"extentService","description":"Optional; URL of the extent service, used to initialize TileLayer","type":"string | undefined"},{"name":"extentValue","description":"current extent value","type":"ExtentValue | undefined"},{"name":"isArea","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":"boolean"},{"name":"itemId","description":"Optional; if passed, use the itemId to load the Portal item","type":"string | undefined"},{"name":"portal","description":"Optional; Portal instance","type":"Portal | undefined"}],"events":[{"name":"arcgisExtentPickerChange","type":"ExtentObj","description":"Emitted when the extent value changes"},{"name":"arcgisExtentPickerClose","type":"void","description":"Emitted when the dialog is closed"},{"name":"arcgisExtentPickerSave","type":"ExtentObj","description":"Emitted when the save button is clicked"}]}},{"name":"arcgis-portal-field-delete","description":"### Events\n- **arcgisBeforeDelete** - Emitted when the user initiates the delete process.\n- **arcgisBeforeModalClose** - Emitted before the modal is closed if the alert is handled in consumer.\n- **arcgisClose** - Emitted when the component is closed for any reason.\n- **arcgisFieldsDeleted** - Emitted when the field is successfully deleted.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[],"events":[{"name":"arcgisBeforeDelete","type":"void","description":"Emitted when the user initiates the delete process."},{"name":"arcgisBeforeModalClose","type":"string","description":"Emitted before the modal is closed if the alert is handled in consumer."},{"name":"arcgisClose","type":"void","description":"Emitted when the component is closed for any reason."},{"name":"arcgisFieldsDeleted","type":"void","description":"Emitted when the field is successfully deleted."}],"js":{"properties":[{"name":"config","description":"For documentation links.","type":"IConfig | undefined"},{"name":"fieldNames","description":"The fields to delete.","type":"string[] | undefined"},{"name":"layer","description":"The layer whose field is being deleted.","type":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined"},{"name":"mapView","description":"The MapView instance.","type":"__esri.MapView | undefined"},{"name":"options","description":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","type":"FieldDeleteOptions | undefined"}],"events":[{"name":"arcgisBeforeDelete","type":"void","description":"Emitted when the user initiates the delete process."},{"name":"arcgisBeforeModalClose","type":"string","description":"Emitted before the modal is closed if the alert is handled in consumer."},{"name":"arcgisClose","type":"void","description":"Emitted when the component is closed for any reason."},{"name":"arcgisFieldsDeleted","type":"void","description":"Emitted when the field is successfully deleted."}]}},{"name":"arcgis-portal-replacement-item-redirect","description":"The `arcgis-portal-replacement-item-redirect` component takes an item id on a given portal, and checks if there is a replacement item associated with it\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.\n--\n\n### Events\n- **arcgisPortalReplacementItemFetch**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `setFocus(): Promise<void>` - Set focus on the component","attributes":[{"name":"item-id","description":"The id of a deprecated/retired item to be checked for a replacement","value":{"type":"string"}}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":"{ replacementItem: __esri.PortalItem | object | null; }"}],"js":{"properties":[{"name":"itemId","description":"The id of a deprecated/retired item to be checked for a replacement","type":"string"},{"name":"portal","description":"The portal instance","type":"__esri.Portal"},{"name":"user","description":"The user. Defaults to `portal.user` if omitted","type":"__esri.PortalUser | undefined"}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":"{ replacementItem: __esri.PortalItem | object | null; }"}]}}]},"css":{"properties":[],"pseudo-elements":[]}}}
1
+ {"$schema":"https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json","name":"@arcgis/portal-components","version":"5.1.0-next.14","description-markup":"markdown","contributions":{"html":{"elements":[{"name":"arcgis-portal-classification-banner","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component","attributes":[{"name":"missing-existing-classification","description":"If the portal item has a classification previously","default":"false","value":{"type":"boolean"}},{"name":"validation-errors","description":"The classification validation error - validate the classification value against the classification schema.","default":"\"\"","value":{"type":"string"}},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","default":"\"full\"","value":{"type":["\"full\"","\"preview\""]}}],"events":[],"js":{"properties":[{"name":"missingExistingClassification","description":"If the portal item has a classification previously","type":"boolean"},{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"__esri.PortalItem | undefined"},{"name":"validationErrors","description":"The classification validation error - validate the classification value against the classification schema.","type":"string"},{"name":"variant","description":"The size of the banner to display.\n\n- `\"full\"`: Used when the banner is displayed at the top and bottom of a page. This is the default mode cached for performance.\n- `\"preview\"`: Used when the banner is rendered inside a configuration component. This mode is not cached and is used to display a preview of the classification.","type":"\"full\" | \"preview\""}],"events":[]}},{"name":"arcgis-portal-classification-config","description":"The `arcgis-portal-classification-config` component enables users to edit or provide a classification schema to a portal item through a user-friendly form. The schema is saved to the associated portal item.\n--\n\n### Events\n- **arcgisPropertyChange** - Event emitted when component property values status, values, or valid change.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `destroy(): Promise<void>` - Permanently destroy the component.\n- `resetForm(): Promise<void>` - Reset the form to the initial classification values from the portalItem\n- `validateForm(): Promise<void>` - Validates the form and sets the formValidationErrors state.","attributes":[{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","default":"\"idle\"","value":{"type":["\"loading\"","\"loaded\"","\"error\"","\"idle\""]}},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","default":"false","value":{"type":"boolean"}},{"name":"values","description":"The edited classification values of the portal item.","value":{}}],"events":[{"name":"arcgisPropertyChange","type":"{ name: \"status\" | \"values\" | \"valid\"; }","description":"Event emitted when component property values status, values, or valid change."}],"js":{"properties":[{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"__esri.PortalItem | undefined"},{"name":"status","description":"The loading status of the component, will be set to \"loaded\" when the classification schema is loaded.","type":"Status"},{"name":"valid","description":"The validity of the form values against the Portal's classification schema.","type":"boolean"},{"name":"values","description":"The edited classification values of the portal item.","type":"__esri.PortalItem[\"classification\"]"}],"events":[{"name":"arcgisPropertyChange","type":"{ name: \"status\" | \"values\" | \"valid\"; }","description":"Event emitted when component property values status, values, or valid change."}]}},{"name":"arcgis-portal-classification-favorite","description":"### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"selected-favorite-classification-name","default":"\"\"","value":{"type":"string"}}],"events":[],"js":{"properties":[{"name":"attributeExpressionResults","type":"AttributeExpressionResults | undefined"},{"name":"classificationValue","description":"Current classification value","type":"__esri.PortalItem[\"classification\"] | undefined"},{"name":"favoriteClassifications","description":"List of favorite classifications","type":"FavoriteClassification[]"},{"name":"portalItem","description":"The portal item to display the classification banner for.","type":"__esri.PortalItem | undefined"},{"name":"resetFavoriteClassification","type":"(favoriteClassifications: FavoriteClassification[]) => void"},{"name":"selectedFavoriteClassificationName","type":"string"},{"name":"updateClassificationData","type":"(selectedClassification: FavoriteClassification) => void"}],"events":[]}},{"name":"arcgis-portal-classification-form-element","description":"A web component that renders form elements for a classification schema attribute.\n--\n\n### Events\n- **arcgisAttributeValueChange** - The attribute value has changed.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[{"name":"attribute-key","value":{"type":"string"}}],"events":[{"name":"arcgisAttributeValueChange","type":"Record<string, unknown>","description":"The attribute value has changed."}],"js":{"properties":[{"name":"attribute","type":"ClassificationSchema[\"attributes\"][string]"},{"name":"attributeKey","type":"string"},{"name":"isRequiredErrors","type":"Set<string>"},{"name":"renderingInfo","type":"Pick<NonNullable<ReturnType<AttributeExpressionResults[\"get\"]>>, \"attributeValidationResult\" | \"valueExpressionResult\"> | undefined"},{"name":"value","type":"unknown"}],"events":[{"name":"arcgisAttributeValueChange","type":"Record<string, unknown>","description":"The attribute value has changed."}]}},{"name":"arcgis-portal-extent-picker","description":"To select extent value from a map or by entering coordinates.\n--\n\n### Events\n- **arcgisExtentPickerChange** - Emitted when the extent value changes\n- **arcgisExtentPickerClose** - Emitted when the dialog is closed\n- **arcgisExtentPickerSave** - Emitted when the save button is clicked\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `getExtent(): ExtentObj` - Returns the current extent value","attributes":[{"name":"active","description":"if true, open the dialog","default":"false","value":{"type":"boolean"}},{"name":"content-only","description":"Optional; if true, show only the content without the calcite-dialog wrapper","default":"false","value":{"type":"boolean"}},{"name":"extent-service","description":"Optional; URL of the extent service, used to initialize TileLayer","value":{"type":"string"}},{"name":"is-area","description":"Optional; if true, display texts that are for areas rather than the default extent texts","default":"false","value":{"type":"boolean"}},{"name":"item-id","description":"Optional; if passed, use the itemId to load the Portal item","value":{"type":"string"}}],"events":[{"name":"arcgisExtentPickerChange","type":"ExtentObj","description":"Emitted when the extent value changes"},{"name":"arcgisExtentPickerClose","type":"void","description":"Emitted when the dialog is closed"},{"name":"arcgisExtentPickerSave","type":"ExtentObj","description":"Emitted when the save button is clicked"}],"js":{"properties":[{"name":"active","description":"if true, open the dialog","type":"boolean"},{"name":"contentOnly","description":"Optional; if true, show only the content without the calcite-dialog wrapper","type":"boolean"},{"name":"extentService","description":"Optional; URL of the extent service, used to initialize TileLayer","type":"string | undefined"},{"name":"extentValue","description":"current extent value","type":"ExtentValue | undefined"},{"name":"isArea","description":"Optional; if true, display texts that are for areas rather than the default extent texts","type":"boolean"},{"name":"itemId","description":"Optional; if passed, use the itemId to load the Portal item","type":"string | undefined"},{"name":"portal","description":"Optional; Portal instance","type":"Portal | undefined"}],"events":[{"name":"arcgisExtentPickerChange","type":"ExtentObj","description":"Emitted when the extent value changes"},{"name":"arcgisExtentPickerClose","type":"void","description":"Emitted when the dialog is closed"},{"name":"arcgisExtentPickerSave","type":"ExtentObj","description":"Emitted when the save button is clicked"}]}},{"name":"arcgis-portal-field-delete","description":"### Events\n- **arcgisBeforeDelete** - Emitted when the user initiates the delete process.\n- **arcgisBeforeModalClose** - Emitted before the modal is closed if the alert is handled in consumer.\n- **arcgisClose** - Emitted when the component is closed for any reason.\n- **arcgisFieldsDeleted** - Emitted when the field is successfully deleted.\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.","attributes":[],"events":[{"name":"arcgisBeforeDelete","type":"void","description":"Emitted when the user initiates the delete process."},{"name":"arcgisBeforeModalClose","type":"string","description":"Emitted before the modal is closed if the alert is handled in consumer."},{"name":"arcgisClose","type":"void","description":"Emitted when the component is closed for any reason."},{"name":"arcgisFieldsDeleted","type":"void","description":"Emitted when the field is successfully deleted."}],"js":{"properties":[{"name":"config","description":"For documentation links.","type":"IConfig | undefined"},{"name":"fieldNames","description":"The fields to delete.","type":"string[] | undefined"},{"name":"layer","description":"The layer whose field is being deleted.","type":"__esri.FeatureLayer | __esri.OrientedImageryLayer | undefined"},{"name":"mapView","description":"The MapView instance.","type":"__esri.MapView | undefined"},{"name":"options","description":"Properties that may need to be passed in case values differ from what is available on Map Viewer.","type":"FieldDeleteOptions | undefined"}],"events":[{"name":"arcgisBeforeDelete","type":"void","description":"Emitted when the user initiates the delete process."},{"name":"arcgisBeforeModalClose","type":"string","description":"Emitted before the modal is closed if the alert is handled in consumer."},{"name":"arcgisClose","type":"void","description":"Emitted when the component is closed for any reason."},{"name":"arcgisFieldsDeleted","type":"void","description":"Emitted when the field is successfully deleted."}]}},{"name":"arcgis-portal-replacement-item-redirect","description":"The `arcgis-portal-replacement-item-redirect` component takes an item id on a given portal, and checks if there is a replacement item associated with it\nvia the `ReplacementItem2Item` relationship.\n\nIf so, it displays a dialog to the user notifying them of the replacement item, and redirects to the replacement item's default Open Action after a timeout.\n--\n\n### Events\n- **arcgisPortalReplacementItemFetch**\n\n### Methods\n- `componentOnReady(): Promise<this>` - Creates a promise that resolves once the component is fully loaded.\n- `setFocus(): Promise<void>` - Set focus on the component","attributes":[{"name":"item-id","description":"The id of a deprecated/retired item to be checked for a replacement","value":{"type":"string"}}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":"{ replacementItem: PortalItem | object | null; }"}],"js":{"properties":[{"name":"itemId","description":"The id of a deprecated/retired item to be checked for a replacement","type":"string"},{"name":"portal","description":"The portal instance","type":"Portal"},{"name":"user","description":"The user. Defaults to `portal.user` if omitted","type":"PortalUser | undefined"}],"events":[{"name":"arcgisPortalReplacementItemFetch","type":"{ replacementItem: PortalItem | object | null; }"}]}}]},"css":{"properties":[],"pseudo-elements":[]}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/portal-components",
3
- "version": "5.1.0-next.13",
3
+ "version": "5.1.0-next.14",
4
4
  "description": "ArcGIS Portal Components",
5
5
  "keywords": [
6
6
  "ArcGIS",
@@ -41,8 +41,8 @@
41
41
  "@lit/task": "^1.0.3",
42
42
  "lit": "^3.3.0",
43
43
  "tslib": "^2.8.1",
44
- "@arcgis/toolkit": "5.1.0-next.13",
45
- "@arcgis/lumina": "5.1.0-next.13"
44
+ "@arcgis/toolkit": "5.1.0-next.14",
45
+ "@arcgis/lumina": "5.1.0-next.14"
46
46
  },
47
47
  "peerDependencies": {
48
48
  "@arcgis/core": "^5.0.0-next",