@esri/solutions-components 5.1.8 → 5.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{F5ECDR26.js → 2HJRP4YH.js} +1 -1
- package/dist/cdn/{NFFP42N5.js → 2LZPT5IU.js} +1 -1
- package/dist/cdn/2MZRQABM.js +2 -0
- package/dist/cdn/{M3JUFIRX.js → 2YFWT6SU.js} +1 -1
- package/dist/cdn/{HBOYQKRA.js → 2ZQRTDK5.js} +1 -1
- package/dist/cdn/{ER7C7GFF.js → 3HJQVMVA.js} +1 -1
- package/dist/cdn/{R2EUXH2P.js → 3XAAZTJA.js} +1 -1
- package/dist/cdn/{PPZEYDPE.js → 3Z7PSG2Z.js} +1 -1
- package/dist/cdn/{NGOJ7VZL.js → 43YKRNKI.js} +1 -1
- package/dist/cdn/{MWDMW2ZM.js → 4L27DHES.js} +1 -1
- package/dist/cdn/{AI34V5DG.js → 4V7HH2XL.js} +1 -1
- package/dist/cdn/{SG27CNFK.js → 52J62T7V.js} +1 -1
- package/dist/cdn/{N2VLJYP4.js → 57T6QZVX.js} +1 -1
- package/dist/cdn/{MVWLTREQ.js → 5N5QVENA.js} +1 -1
- package/dist/cdn/{HJM3CVYG.js → 5OQZPASB.js} +1 -1
- package/dist/cdn/{637IK6FV.js → 6KHHA7ET.js} +1 -1
- package/dist/cdn/{E25P7R3I.js → 6SYHI5LX.js} +1 -1
- package/dist/cdn/{OWWKUKN3.js → 7QCABQZ6.js} +1 -1
- package/dist/cdn/{5EHS2775.js → 7UE56XOX.js} +1 -1
- package/dist/cdn/{54BSF6PB.js → A4NF2XR3.js} +1 -1
- package/dist/cdn/{2O26BLP3.js → ANULNCMK.js} +1 -1
- package/dist/cdn/{6U2SMFQG.js → BONAMRMY.js} +1 -1
- package/dist/cdn/{FWEME25Y.js → BSTYVL47.js} +1 -1
- package/dist/cdn/{3L2YVDZV.js → BZKTCNTW.js} +1 -1
- package/dist/cdn/{HJHBVFNR.js → C6EJEJWX.js} +1 -1
- package/dist/cdn/{Y7M2VJDX.js → CH5MVYSV.js} +1 -1
- package/dist/cdn/{TXZQCCPY.js → CL4PUHWY.js} +1 -1
- package/dist/cdn/{7HJRSFHH.js → CQGQN2TV.js} +1 -1
- package/dist/cdn/{JXENGWO7.js → DKRMJ36A.js} +1 -1
- package/dist/cdn/{NJMLL5XX.js → ED6AH2PK.js} +1 -1
- package/dist/cdn/{J637H72O.js → EIKMNNKT.js} +1 -1
- package/dist/cdn/{2M7EEGDF.js → ERWLWJIO.js} +1 -1
- package/dist/cdn/{W2VPFCOJ.js → EZ22DA3V.js} +1 -1
- package/dist/cdn/{CAI7336J.js → F5LJOYCE.js} +1 -1
- package/dist/cdn/{XRTAHMVO.js → F6NWGNZJ.js} +1 -1
- package/dist/cdn/{UMVREJL4.js → FS7FVQDT.js} +1 -1
- package/dist/cdn/{7XCONMPD.js → GKFV3JW3.js} +1 -1
- package/dist/cdn/{5CC252PA.js → HGS2FKKH.js} +1 -1
- package/dist/cdn/{6GWUGFCO.js → HWCK2XEE.js} +1 -1
- package/dist/cdn/{OGMMGJHK.js → IBCMFLIE.js} +1 -1
- package/dist/cdn/{6QDGY4QN.js → ICF6TK25.js} +1 -1
- package/dist/cdn/{ZO4PZGTY.js → J5DI6W2N.js} +1 -1
- package/dist/cdn/{HSDCRKVW.js → JLCTNW2C.js} +1 -1
- package/dist/cdn/{R6GQJNXY.js → JNOGAEXB.js} +1 -1
- package/dist/cdn/{HJATRXI5.js → JPSRN4DX.js} +1 -1
- package/dist/cdn/{UQG6SVSR.js → K6GIAY74.js} +1 -1
- package/dist/cdn/{DNQOG5YP.js → KQDSVI6B.js} +1 -1
- package/dist/cdn/{OEEPKEPZ.js → L3562WZD.js} +1 -1
- package/dist/cdn/{HQ4UR7IL.js → L5L3TDXI.js} +1 -1
- package/dist/cdn/{S6P73VDK.js → L7TEA5TZ.js} +1 -1
- package/dist/cdn/{TFDQ7VPN.js → LGQ44ECD.js} +1 -1
- package/dist/cdn/{U5FX5B7A.js → LIJMT47Z.js} +1 -1
- package/dist/cdn/{HDQMIRL3.js → LMDZGYKJ.js} +1 -1
- package/dist/cdn/{FHKSSIFN.js → LO665ISJ.js} +1 -1
- package/dist/cdn/{X2J6ENB4.js → LWFCQVAF.js} +1 -1
- package/dist/cdn/{PPZZ6J5N.js → LWR26G4J.js} +1 -1
- package/dist/cdn/{4MBBMZRV.js → MGVCKIJR.js} +1 -1
- package/dist/cdn/{KJCSH4C5.js → MH2V4WCB.js} +1 -1
- package/dist/cdn/{YF4GV3UF.js → MHIPYZ7A.js} +1 -1
- package/dist/cdn/{BX23CSGZ.js → OOAEKJVZ.js} +1 -1
- package/dist/cdn/{MMTJW55T.js → OXBSR2GJ.js} +1 -1
- package/dist/cdn/{QKUYJTEG.js → QFWRIUYF.js} +1 -1
- package/dist/cdn/{BCDMZZUM.js → QR7AGTVX.js} +1 -1
- package/dist/cdn/R3A6KBAA.js +2 -0
- package/dist/cdn/{SKFESVG6.js → S2AFRT4L.js} +1 -1
- package/dist/cdn/{FWNGMWZA.js → S457JO4S.js} +1 -1
- package/dist/cdn/{JPPVEGCE.js → S4XZYAD2.js} +1 -1
- package/dist/cdn/{VBGS7UC6.js → S746S2MB.js} +1 -1
- package/dist/cdn/{MANV7P4Q.js → SCW34IBZ.js} +1 -1
- package/dist/cdn/{7PK5Y4KU.js → SNS7ULJL.js} +1 -1
- package/dist/cdn/{IQB3K7JJ.js → SRLIVQ6X.js} +1 -1
- package/dist/cdn/{VBSH6HUJ.js → SYICEAAE.js} +1 -1
- package/dist/cdn/{ICYNUBQU.js → TD7SFGUM.js} +1 -1
- package/dist/cdn/{ZHVWNNTG.js → TJITWU6N.js} +1 -1
- package/dist/cdn/{MKQGF56B.js → TQNUZXY7.js} +1 -1
- package/dist/cdn/{Y6HBRP4F.js → UQWARS7N.js} +1 -1
- package/dist/cdn/{NLLURRUK.js → V47LDU4W.js} +1 -1
- package/dist/cdn/{YE5LWHDI.js → VISPGPA4.js} +1 -1
- package/dist/cdn/{GH3442MP.js → VTZ2FBGR.js} +1 -1
- package/dist/cdn/{IVRAMXHN.js → VXX3B7YL.js} +1 -1
- package/dist/cdn/{LLX66PUO.js → XUB3XMNL.js} +1 -1
- package/dist/cdn/{OPWNZR62.js → YEZYIZPC.js} +1 -1
- package/dist/cdn/{RC3DIQCT.js → YHUNM3ES.js} +1 -1
- package/dist/cdn/{2OQUTK7I.js → YQAOQ4I5.js} +1 -1
- package/dist/cdn/{EACMOPUA.js → ZLE4IOVJ.js} +1 -1
- package/dist/cdn/{TJHMUNGQ.js → ZZDKPDBC.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/solutions-components_commit.txt +4 -4
- package/package.json +1 -1
- package/dist/cdn/LEDQ6637.js +0 -2
- package/dist/cdn/S4IVN4PM.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{d as n}from"./ZIVKAX4G.js";import{b as u}from"./
|
|
2
|
+
import{d as n}from"./ZIVKAX4G.js";import{b as u}from"./BZKTCNTW.js";import{F as d,G as c,H as o,J as l,h as s,i as a}from"./T3EPRHTT.js";import"./EXBEKVP5.js";var p=s`:host{display:block;--calcite-label-margin-bottom: 0}.label-display{display:block;padding-bottom:1rem}.display-flex{display:flex}.display-grid{display:grid}.display-none{display:none}.padding-top-1{padding-top:1rem}.main-input{width:300px;padding-inline-end:1rem}.float-end{float:inline-end}.position-relative{position:relative}.position-right{position:absolute;right:0}`,i=class extends o{constructor(){super(...arguments),this.showAddDeduct=!1,this._deductValuesElement=d()}static{this.properties={showAddDeduct:16}}static{this.styles=p}render(){let e=this.showAddDeduct?"display-none":"display-grid",t=this.showAddDeduct?"position-relative":"display-none";return a`<div class=${l(e)}><div class="label-display"><calcite-label class="label-display">\r\n Enter comma delimited deduct values${this._getDeductValuesInput()}</calcite-label></div><div>${this._getCalculateButton()}</div></div><div class=${l(t)}><div class="position-right"><calcite-action appearance=transparent class="float-end" icon=x @click=${()=>this._toggleShowAddDeduct()} scale=s text=Close></calcite-action></div><deduct-calculator class="display-grid padding-top-1" @deductValueComplete=${this._addDeductValue}></deduct-calculator></div>`}_getDeductValuesInput(){return a`<div class="display-flex"><calcite-input class="main-input" ${c(this._deductValuesElement)}></calcite-input><calcite-action appearance=transparent icon=plus-circle @click=${()=>this._toggleShowAddDeduct()} scale=s text="Add deduct value"></calcite-action></div>`}_getCalculateButton(){return this._deductValuesElement.value?a`<calcite-button @click=${()=>this._calculatePCI(this._deductValuesElement?.value?.value||"")}>\r\n Calculate PCI</calcite-button>`:void 0}_toggleShowAddDeduct(){this.showAddDeduct=!this.showAddDeduct}_addDeductValue(e){this._toggleShowAddDeduct(),this._deductValuesElement.value&&(this._deductValuesElement.value.value+=Math.abs(Number.parseFloat(this._deductValuesElement.value.value))>0?`,${e.detail}`:e.detail)}_calculatePCI(e){let t=n(e,!0),r=t<=10?"Failed":t<=25?"Serious":t<=40?"Very Poor":t<=55?"Poor":t<=70?"Fair":t<=85?"Satisfactory":"Good";console.log(`PCI: ${t}`),console.log(`Rating: ${r}`),alert("See debug console for results")}};u("pci-calculator",i);export{i as PciCalculator};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as v}from"./
|
|
2
|
+
import{a as v}from"./JLCTNW2C.js";import{b}from"./BZKTCNTW.js";import{F as r,G as d,H as m,h as p,i as u,q as g}from"./T3EPRHTT.js";var _={heading:"Get Started",card1:{heading:"What's new in the app"},card2:{heading:"Deploy a solution"},card3:{heading:"Manage a deployment"},card4:{heading:"AI Assistant"}},w={heading:"Documentation",card1:{heading:"Help"},card2:{heading:"What's new"},card3:{heading:"FAQ"},card4:{heading:"ArcGIS Blog"}},E={heading:"Support",card1:{heading:"Esri Community"},card2:{heading:"ArcGIS Ideas"},card3:{heading:"Esri Video"},card4:{heading:"Technical support"}},t={getStarted:_,documentation:w,support:E},R=p`*[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}:host{display:block;position:relative;height:100%}.position-relative{position:relative}.border-override{border-top-width:var(--calcite-border-width-none);border-bottom-width:var(--calcite-border-width-none)}.header-override{--calcite-panel-header-content-space: 0px;--calcite-panel-header-background-color: var(--calcite-color-surface-3)}.panel-override{--calcite-panel-background-color: var(--calcite-color-surface-3);--calcite-panel-border-color: none}.z-index-1{z-index:1}calcite-shell{background-color:unset;height:auto}.section-spacing{margin-top:var(--calcite-spacing-lg)}`,l=class extends m{constructor(){super(),this._translations=v({name:"solutions-resources-shell",blocking:!0}),this._mainPanelRef=r(),this._getStartedSectionRef=r(),this._documentationSectionRef=r(),this._supportSectionRef=r(),this._panelFixed=!1,this.sortTypeChanged=g(),this.listenOn(window,"deployAppTabSelected",this._handleDeployAppTabSelected)}static{this.properties={_translations:16}}static{this.styles=R}updated(){this._fixPanelContentWrapperFocus()}_fixPanelContentWrapperFocus(){if(!this._panelFixed&&this._mainPanelRef.value){let e=this._mainPanelRef.value;e.componentOnReady?.().then(()=>{if(e.shadowRoot){let i=e.shadowRoot.querySelector(".content-wrapper");i&&(i.tabIndex=-1,this._panelFixed=!0,this._setupPanelObserver())}}).catch(()=>{this._panelFixed=!0})}}_setupPanelObserver(){if(this._panelObserver)return;this._panelObserver=new MutationObserver(i=>{i.forEach(a=>{if(a.type==="attributes"&&a.attributeName==="tabindex"){let s=a.target;s.classList.contains("content-wrapper")&&s.tabIndex===0&&(s.tabIndex=-1)}})});let e=this._mainPanelRef.value;if(e?.shadowRoot){let i=e.shadowRoot.querySelector(".content-wrapper");i&&this._panelObserver.observe(i,{attributes:!0,attributeFilter:["tabindex"]})}}disconnectedCallback(){super.disconnectedCallback(),this._panelObserver?.disconnect()}render(){let e=this._translations;return u`<calcite-shell class="position-relative"><calcite-panel class="border-override header-override panel-override z-index-1" ${d(this._mainPanelRef)}><div class="section-spacing" ${d(this._getStartedSectionRef)}><solutions-resources-section .heading=${e.getStarted.heading} .subheading=${e.getStarted.subheading} .cards=${[{meridianIcon:"value",heading:e.getStarted.card1.heading,description:e.getStarted.card1.description,url:"https://links.esri.com/solutions/whats-new-in-the-app",headingEn:t.getStarted.card1.heading,sectionHeadingEn:t.getStarted.heading},{meridianIcon:"install",heading:e.getStarted.card2.heading,description:e.getStarted.card2.description,url:"https://links.esri.com/solutions/deploy-a-solution",headingEn:t.getStarted.card2.heading,sectionHeadingEn:t.getStarted.heading},{meridianIcon:"keys",heading:e.getStarted.card3.heading,description:e.getStarted.card3.description,url:"https://links.esri.com/solutions/manage-a-deployment",headingEn:t.getStarted.card3.heading,sectionHeadingEn:t.getStarted.heading},{meridianIcon:"speech-bubbles",heading:e.getStarted.card4.heading,description:e.getStarted.card4.description,url:"https://links.esri.com/solutions/ai-assistant",headingEn:t.getStarted.card4.heading,sectionHeadingEn:t.getStarted.heading}]}></solutions-resources-section></div><div ${d(this._documentationSectionRef)}><solutions-resources-section .heading=${e.documentation.heading} .subheading=${e.documentation.subheading} .cards=${[{meridianIcon:"search-files",heading:e.documentation.card1.heading,description:e.documentation.card1.description,url:"https://links.esri.com/solutions/help",headingEn:t.documentation.card1.heading,sectionHeadingEn:t.documentation.heading},{meridianIcon:"value",heading:e.documentation.card2.heading,description:e.documentation.card2.description,url:"https://links.esri.com/solutions/whats-new",headingEn:t.documentation.card2.heading,sectionHeadingEn:t.documentation.heading},{meridianIcon:"faq",heading:e.documentation.card3.heading,description:e.documentation.card3.description,url:"https://links.esri.com/solutions/faq",headingEn:t.documentation.card3.heading,sectionHeadingEn:t.documentation.heading},{meridianIcon:"arcmap-blog",heading:e.documentation.card4.heading,description:e.documentation.card4.description,url:"https://links.esri.com/solutions/arcgis-blogs",headingEn:t.documentation.card4.heading,sectionHeadingEn:t.documentation.heading}]}></solutions-resources-section></div><div ${d(this._supportSectionRef)}><solutions-resources-section .heading=${e.support.heading} .subheading=${e.support.subheading} .cards=${[{meridianIcon:"esri-community",heading:e.support.card1.heading,description:e.support.card1.description,url:"https://links.esri.com/solutions/esri-community",headingEn:t.support.card1.heading,sectionHeadingEn:t.support.heading},{meridianIcon:"idea",heading:e.support.card2.heading,description:e.support.card2.description,url:"https://links.esri.com/solutions/arcgis-ideas",headingEn:t.support.card2.heading,sectionHeadingEn:t.support.heading},{meridianIcon:"video",heading:e.support.card3.heading,description:e.support.card3.description,url:"https://links.esri.com/solutions/esri-video",headingEn:t.support.card3.heading,sectionHeadingEn:t.support.heading},{meridianIcon:"support",heading:e.support.card4.heading,description:e.support.card4.description,url:"https://links.esri.com/solutions/technical-support",headingEn:t.support.card4.heading,sectionHeadingEn:t.support.heading}]}></solutions-resources-section></div></calcite-panel></calcite-shell>`}async scrollToSection(e){let i={getStarted:this._getStartedSectionRef,documentation:this._documentationSectionRef,support:this._supportSectionRef}[e];if(!i.value||!this._mainPanelRef.value)return;let a=this._mainPanelRef.value,s=()=>{let n=this.el;for(;n&&n!==document.body;){let o=window.getComputedStyle(n),c=o.overflowY,h=o.overflow;if(n.scrollHeight>n.clientHeight&&(c==="auto"||c==="scroll"||h==="auto"||h==="scroll")&&i.value){let f=n.getBoundingClientRect(),S=i.value.getBoundingClientRect().top-f.top+n.scrollTop;n.scrollTo({top:S,behavior:"smooth"});return}n=n.parentElement}if(a.shadowRoot){let o=a.shadowRoot.querySelector(".content-wrapper");if(o&&i.value){let c=i.value.offsetTop;if(o.scrollHeight>o.clientHeight){o.scrollTo({top:c,behavior:"smooth"});return}}}i.value&&i.value.scrollIntoView({behavior:"smooth",block:"start"})};typeof a.componentOnReady=="function"?(await a.componentOnReady(),s()):(await new Promise(n=>setTimeout(n,100)),s())}_handleDeployAppTabSelected(e){e.detail==="resources"&&this.sortTypeChanged.emit("")}};b("solutions-resources-shell",l);export{l as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{a}from"./ICF6TK25.js";import"./YUWXPLTE.js";import"./JLCTNW2C.js";import"./QMAV4UTN.js";import"./Y2AUIXNK.js";import"./BZKTCNTW.js";import"./T3EPRHTT.js";import"./EXBEKVP5.js";export{a as SolutionDeployingDialog};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./4V7HH2XL.js";export default $arcgis.t(([a,u,{g:i}])=>{var c=class{async getPopupTitle(o,f){let s={};for(let[e,r]of Object.entries(o.attributes))s={...s,[`{${e.toUpperCase()}}`]:r};let p=o.layer,l=this._removeTags(p?.popupTemplate?.title);if(l.includes("{expression/expr")&&p?.popupTemplate?.expressionInfos!=null)for(let e=0;e<p.popupTemplate?.expressionInfos.length;e++){let r=p.popupTemplate.expressionInfos[e],n=a.createArcadeProfile("popup");try{let t=await(await a.createArcadeExecutor(r.expression,n)).executeAsync({$feature:o,$layer:p,$map:f});(t!==null||t!=="")&&(s[`{expression/${r.name}}`.toUpperCase()]=t)}catch(t){console.error(t);continue}}return p.popupTemplate?.fieldInfos&&p.fields.forEach(e=>{let r=o.attributes[e.name],n=(p?.popupTemplate?.fieldInfos||[]).find(m=>m.fieldName.toLowerCase()===e.name.toLowerCase()),t=i(r,e.type,e?.domain,n?.format,u);s[`{${e.name.toUpperCase()}}`]=t??r}),l?.replace(/{.*?}/g,e=>s[e.toUpperCase()]!=null?s[e.toUpperCase()]:"")}_removeTags(o){return o==null||o===""?"":o.toString().replace(/(<([^>]+)>)/gi,"")}};return c},"arcade","intl",a)
|