@esri/solutions-components 5.1.0-next.78 → 5.1.0-next.79
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/{QZLMNSE7.js → 4BXRUI5X.js} +1 -1
- package/dist/cdn/{EKI654VN.js → 4IMAYCJM.js} +1 -1
- package/dist/cdn/4TL66G66.js +9 -0
- package/dist/cdn/{2SQ65XGX.js → 4XPYA3ZL.js} +1 -1
- package/dist/cdn/{OBA2TIH4.js → 5CEMQAMC.js} +1 -1
- package/dist/cdn/{WIOHBSZV.js → 5MKDWIDM.js} +1 -1
- package/dist/cdn/{BHXMKRJY.js → 6QKRLRAP.js} +1 -1
- package/dist/cdn/{FYYEWGIN.js → 733RRE2J.js} +1 -1
- package/dist/cdn/{CK5X5IU2.js → A4XBJJEQ.js} +1 -1
- package/dist/cdn/{N3VBZJNB.js → BMMT73FL.js} +1 -1
- package/dist/cdn/{HNEWW3X6.js → BOU4VPX6.js} +1 -1
- package/dist/cdn/{VY67IEV4.js → C6JAM52C.js} +1 -1
- package/dist/cdn/{JFYW5FSM.js → D7B7IHCG.js} +1 -1
- package/dist/cdn/{BPLLNJ3A.js → DJ67MNGR.js} +1 -1
- package/dist/cdn/{MZYF5JT4.js → EDIUHKTP.js} +1 -1
- package/dist/cdn/{VD6SVO7V.js → ETMBHO6W.js} +99 -99
- package/dist/cdn/{OXBWKILN.js → FIJSXIFB.js} +1 -1
- package/dist/cdn/{PTQYSYRF.js → GF4D45RS.js} +1 -1
- package/dist/cdn/{TTTFI5U6.js → H2M2ACTQ.js} +1 -1
- package/dist/cdn/{POMV26C6.js → HC5I7DO7.js} +1 -1
- package/dist/cdn/{IOFPQUQT.js → HE2XAIDT.js} +1 -1
- package/dist/cdn/{SNNNPHA4.js → HTGJEIDJ.js} +1 -1
- package/dist/cdn/{5US2XMV6.js → J25DRPOQ.js} +1 -1
- package/dist/cdn/{OJQWJ5JQ.js → JAFNSVRV.js} +1 -1
- package/dist/cdn/{A3K7BOI5.js → KIIHG5RR.js} +1 -1
- package/dist/cdn/{Z7HOLCIT.js → KZMJQGVV.js} +1 -1
- package/dist/cdn/MK6WD5QW.js +2 -0
- package/dist/cdn/{2XJM3XD7.js → MSSBDYEE.js} +1 -1
- package/dist/cdn/{NRKOYVJQ.js → OZZ7I4JM.js} +1 -1
- package/dist/cdn/{WQEX3INL.js → P6PKBBHT.js} +1 -1
- package/dist/cdn/{UB3G6QGB.js → PPPDIFLS.js} +1 -1
- package/dist/cdn/{UWOMOUMR.js → QWHQYVUI.js} +1 -1
- package/dist/cdn/{AFEFGOFA.js → RCL2R2OE.js} +1 -1
- package/dist/cdn/{R4LAWIED.js → RGCSGE7R.js} +1 -1
- package/dist/cdn/{25HGCZFX.js → TBOLV3EZ.js} +1 -1
- package/dist/cdn/{K53AOGO7.js → TCMBDCFZ.js} +1 -1
- package/dist/cdn/{B3BNZZVL.js → TI2UR2TV.js} +1 -1
- package/dist/cdn/{D6ITCIPE.js → U4ZLSRR7.js} +1 -1
- package/dist/cdn/{4GNCJBBI.js → U7XLS67A.js} +1 -1
- package/dist/cdn/{27KH7XZL.js → UUK4R4CR.js} +1 -1
- package/dist/cdn/{XS4DWFZ7.js → UYRQWVGS.js} +1 -1
- package/dist/cdn/{6L3O33XA.js → VBWAOJWD.js} +1 -1
- package/dist/cdn/{VTU3SPGB.js → VGXNLBOO.js} +1 -1
- package/dist/cdn/{WM75XMOB.js → VQXYPYZO.js} +1 -1
- package/dist/cdn/{SVGXZT2D.js → WGMESBWP.js} +1 -1
- package/dist/cdn/{N42YRYTK.js → WROPXUSZ.js} +1 -1
- package/dist/cdn/{D64WWPJO.js → YMNLP2QU.js} +1 -1
- package/dist/cdn/{WYEN6ILU.js → YVCQPPKA.js} +1 -1
- package/dist/cdn/{K6TX7RXM.js → ZCQCAKCG.js} +1 -1
- package/dist/cdn/{22TA4SJL.js → ZR2WIC7U.js} +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/create_design_prompt.js +1 -1
- package/dist/chunks/create_user_query.js +12 -0
- package/dist/components/arcgis-solutions-assistant/customElement.js +5883 -5888
- package/dist/components/solution-deployed-card-panel/customElement.js +42 -43
- 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 +6 -6
- package/package.json +3 -3
- package/dist/cdn/F6GQA5OC.js +0 -2
- package/dist/cdn/G3EBE4SG.js +0 -2
- package/dist/cdn/XQJY2TSR.js +0 -2
- package/dist/chunks/update_existing_design_prompt.js +0 -5
- package/dist/chunks/user_prompt.js +0 -5
- /package/dist/cdn/{2WTVBIT3.js → YOPFAHBT.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as y}from"./RI5IMXL3.js";import a from"./
|
|
2
|
+
import{a as y}from"./RI5IMXL3.js";import a from"./C6JAM52C.js";import{a as R,b as I}from"./2B4SGB3I.js";import{b as g}from"./RUHBLPYT.js";import{a as A}from"./Q5ZGIKBW.js";import{b as C}from"./FCSE4STJ.js";import{G as S,I as b,h as N,i as c,q as u}from"./P4PCDUNA.js";export default $arcgis.t(([{K:F,j:_,k:v}])=>{var M=N`.width-full{width:100%}calcite-panel{--calcite-panel-background-color: var(--calcite-color-surface-2);--calcite-panel-footer-space: var(--calcite-spacing-sm)}.border-color{--calcite-block-border-color: transparent}calcite-block{margin:0;--calcite-block-content-space: 0}.tree-padding{padding:0 .2rem}.display-none{display:none}`,f={PUBLICSAFETY:["EMERGENCYMANAGEMENT","FIRESERVICE","LAWENFORCEMENT"],STATEANDLOCALGOVERNMENT:["AGRICULTURE","AIRPORT","ASSESSMENTANDTAXATION","ELECTIONS","EMERGENCYMANAGEMENT","FIRESERVICE","FISHANDWILDLIFE","HEALTHANDHUMANSERVICES","LAWENFORCEMENT","NATURALRESOURCES","PARKS","PLANNINGANDDEVELOPMENT","PUBLICWORKS","TRANSPORTATION"],UTILITIES:["DISTRICTENERGY","ELECTRIC","GAS","SEWER","STORMWATER","WATER"]},T=Object.keys(_).reduce((m,t)=>{let e=t;return m[e]=f[e]??[],m},{}),E=class extends S{constructor(){super(),this.hideIndustryFilter=!1,this.showReset=!1,this._activeFilterSettings={categories:[]},this._isMobile=!1,this._translations=A({name:"solutions-filter-panel",blocking:!0}),this._userFirstName="",this._configContextConsumer=g({context:I,subscribe:!0,callback:t=>{t?.userSession&&!this._userFirstName&&this._loadUserFirstName()}}),this._isMobileContextConsumer=g({context:R,subscribe:!0,callback:t=>this._isMobile=t}),this.applyFilter=u(),this.toggleFilter=u(),this.updateUrlParams=u(),this._handleFilterRemoved=t=>{let e=t.detail;Array.isArray(e)&&(this._activeFilterSettings={...this._activeFilterSettings,categories:[...e]})},this._industryMatchName=t=>{let e=Object.keys(this._translations.industries).find(o=>o.toUpperCase()===t.replaceAll(" ","").toUpperCase());return e&&e in this._translations.industries?this._translations.industries[e]:t},this._domainMatchName=t=>{let e=Object.keys(this._translations.industriesDomain).find(o=>o.toUpperCase()===t.replaceAll(" ","").toUpperCase());return e&&e in this._translations.industriesDomain?this._translations.industriesDomain[e]:t},this.listenOn(window,"filterRemoved",this._handleFilterRemoved),this.listenOn(window,"tabChanged",t=>{t.detail==="all-solutions"?this.updateUrlParams.emit(this._activeFilterSettings):this.updateUrlParams.emit(null)})}static{this.properties={hideIndustryFilter:5,showReset:5,_activeFilterSettings:16,_isMobile:16,_translations:16,_userFirstName:16}}static{this.styles=M}changeIndustryFilter(t,e,o,h){if(t!==""||e!==""){let r=[];if(e!==""){let i=_[t],a=this._industryMatchName(i),s=v[e],n=this._domainMatchName(s);r=[{displayValue:a,type:"industry",value:t,industry:t,domain:""},{displayValue:n,type:"domain",value:e,industry:t,domain:e}]}else r=[{displayValue:o,type:e!==""?"domain":"industry",value:e!==""?e:t,industry:t,domain:e}];this._activeFilterSettings={...this._activeFilterSettings,categories:[...r]},h&&this.applyFilter.emit(r)}else{let r={displayValue:o,type:"industry",value:t,industry:t,domain:e};this._activeFilterSettings={...this._activeFilterSettings,categories:[r]},h&&this.applyFilter.emit(r)}}clearFilters(){this.changeIndustryFilter("","",""),this.applyFilter.emit(null)}async load(){await this._loadUserFirstName(),this._isMobileContextConsumer.value&&(this._isMobile=this._isMobileContextConsumer.value)}render(){return c`<calcite-panel description heading>${this.showReset&&c`<calcite-action appearance=solid icon=reset @click=${()=>{this.clearFilters()}} slot=header-actions-end .text=${this._translations.resetFilters} text-enabled></calcite-action>`||""}<calcite-block-group .label=${this._translations.filters} scale=l>${!this.hideIndustryFilter&&this.renderIndustryBlock()||""}</calcite-block-group></calcite-panel>`}renderIndustryBlock(){let t=(i,a)=>!this._activeFilterSettings||!this._activeFilterSettings.categories?!1:this._activeFilterSettings.categories.some(s=>s.industry===i&&(s.domain??"")===a),e=i=>!this._activeFilterSettings||!this._activeFilterSettings.categories?!1:this._activeFilterSettings.categories.some(a=>a.industry===i&&(a.domain??"")===""),o=(i,a)=>a.length>0&&(e(i)||this._activeFilterSettings.categories?.some(s=>s.industry===i&&!!s.domain&&a.includes(s.domain))===!0),h=(i,a)=>y(a,s=>s,s=>{let n=Object.keys(this._translations.industriesDomain).find(l=>l.toUpperCase()===s.toUpperCase()),d=n&&n in this._translations.industriesDomain?this._translations.industriesDomain[n]:s,p=t(i,s);return c`<calcite-tree-item .label=${d} @click=${l=>{l.detail!==0&&this.changeIndustryFilter(i,s,d,!0)}} @keydown=${l=>{F(l,()=>{this.changeIndustryFilter(i,s,d,!0)})}} .selected=${p||void 0}>${d}</calcite-tree-item>`}),r=y(Object.entries(T),([i,a])=>i,([i,a])=>{let s=this._industryMatchName(i),n=a,d=e(i),p=o(i,n);return c`<calcite-tree-item .label=${s} @click=${l=>{l.detail!==0&&this.changeIndustryFilter(i,"",s,!0)}} @keydown=${l=>{F(l,()=>{this.changeIndustryFilter(i,"",s,!0)})}} .selected=${d||void 0} .expanded=${p?!0:void 0}>${s}${n.length>0&&c`<calcite-tree slot=children selection-mode=multiple>${h(i,n)}</calcite-tree>`||""}</calcite-tree-item>`});return c`<calcite-block description expanded class="border-color" .heading=${this._translations.industriesHeader} .label=${this._translations.industriesHeader}><calcite-action class=${b(this._isMobile?"":"display-none")} icon=x @click=${this._toggleFilter} slot=content-end text></calcite-action><calcite-tree selection-mode=single-persist class="tree-padding">${r}</calcite-tree></calcite-block>`}_toggleFilter(){this.toggleFilter.emit()}async _loadUserFirstName(){try{let t=await this._configContextConsumer.value?.userSession?.getUser();if(t?.fullName){let e=t.fullName.split(" ")[0];this._userFirstName=e}}catch{}}};C("solutions-filter-panel",E);return E},a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import b from"./
|
|
2
|
+
import b from"./VQXYPYZO.js";import"./RI5IMXL3.js";import a from"./C6JAM52C.js";import"./2B4SGB3I.js";import"./RUHBLPYT.js";import"./HE2XAIDT.js";import"./Q5ZGIKBW.js";import"./OQH2TBQQ.js";import"./3LTRULIX.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./FCSE4STJ.js";import"./P4PCDUNA.js";import"./QPIMTXPL.js";export default $arcgis.t(([,a])=>{return a},a,b)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import"./QPIMTXPL.js";var e='# Your Role\r\nYou are a specialized AI assistant for ArcGIS Solutions. Build and refine custom ArcGIS Solutions based on the user\'s query and the Current Solution Design below. Follow all rules at all times.\r\n\r\n# Your Task\r\n- Always work from the Current Solution Design and chat history. Update incrementally.\r\n- Do not discard the design unless the user explicitly says "start over" or "new solution."\r\n- Detect the language of each user query independently and respond entirely in that language.\r\n\r\n# Response Guidelines\r\n- Provide a brief conversational response. Refer to yourself as "I" or "we".\r\n- Initial query (no history): respond that you created a <solution name> solution. Do not use words like "custom".\r\n- Follow-up query: respond with what you updated. If a restriction applies, politely decline.\r\n- Example: User asks to symbolize a layer green \u2192 decline: that cannot be done here, but they can apply it in their map configurations.\r\n\r\n# Solution\r\nReturn an updated \\`title\\`, \\`description\\`, and \\`tags\\` based on the request.\r\n\r\n## Strings\r\n- Update the \\`value\\` of each string based on the request. Use \\`description\\` to understand its purpose.\r\n- Do not modify \\`key\\` or \\`description\\`. Do not remove values. Always return the same number of strings \u2014 users cannot add or remove them.\r\n\r\n# Items\r\n- Return an updated \\`title\\` and \\`description\\` for each item. Do not modify \\`id\\` or \\`type\\`.\r\n- Always return the same number of items \u2014 users cannot add or remove items.\r\n\r\n# Feature Layers\r\nGenerate a detailed normalized database schema for each Feature Layer. Layer types: Point, Line, Polygon, or Table.\r\n\r\n## Add Layers Rule\r\n- \\`addLayers: false\\`: layers cannot be added, removed, or modified. Layer \\`id\\` is fixed.\r\n- \\`addLayers: true\\`: layers can be added, removed, or modified. Each layer gets a unique \\`id\\` starting at 0.\r\n\r\n## Required Fields\r\n- Fields in \\`requiredFields\\` from the Current Solution Design are protected: cannot be removed or moved to another layer.\r\n- \\`name\\`, \\`type\\`, and \\`choiceList\\` cannot be changed. \\`alias\\` and \\`description\\` can be updated if requested.\r\n\r\n## Custom Fields\r\n- Add user/business fields to \\`customFields\\`. These can be modified or removed by the user.\r\n- Names: lowercase, start with a letter, only letters/numbers/underscores.\r\n- Valid types: \\`string\\`, \\`integer\\`, \\`double\\`, \\`date\\`. Never use \\`oid\\`, \\`guid\\`, or \\`globalid\\` for custom fields.\r\n- String fields: set \\`choiceList\\` to an array of allowed values if applicable, else \\`null\\`. Set \\`length\\` to an appropriate integer.\r\n- Non-string fields: set \\`choiceList\\` to \\`null\\` and \\`length\\` to \\`null\\`.\r\n- Booleans: use string type with \\`choiceList: ["Yes", "No"]\\`.\r\n- No duplicate field names across requiredFields and customFields in a layer.\r\n- Never refer to field categories in responses \u2014 call them all just "fields".\r\n
|
|
2
|
+
import"./QPIMTXPL.js";var e='# Your Role\r\nYou are a specialized AI assistant for ArcGIS Solutions. Build and refine custom ArcGIS Solutions based on the user\'s query and the Current Solution Design below. Follow all rules at all times.\r\n\r\n# Your Task\r\n- Always work from the Current Solution Design and chat history. Update incrementally.\r\n- Do not discard the design unless the user explicitly says "start over" or "new solution."\r\n- Detect the language of each user query independently and respond entirely in that language.\r\n\r\n# Response Guidelines\r\n- Provide a brief conversational response. Refer to yourself as "I" or "we".\r\n- Initial query (no history): respond that you created a <solution name> solution. Do not use words like "custom".\r\n- Follow-up query: respond with what you updated. If a restriction applies, politely decline.\r\n- Example: User asks to symbolize a layer green \u2192 decline: that cannot be done here, but they can apply it in their map configurations.\r\n\r\n# Solution\r\nReturn an updated \\`title\\`, \\`description\\`, and \\`tags\\` based on the request.\r\n\r\n## Strings\r\n- Update the \\`value\\` of each string based on the request. Use \\`description\\` to understand its purpose.\r\n- Do not modify \\`key\\` or \\`description\\`. Do not remove values. Always return the same number of strings \u2014 users cannot add or remove them.\r\n\r\n# Items\r\n- Return an updated \\`title\\` and \\`description\\` for each item. Do not modify \\`id\\` or \\`type\\`.\r\n- Always return the same number of items \u2014 users cannot add or remove items.\r\n\r\n# Feature Layers\r\nGenerate a detailed normalized database schema for each Feature Layer. Layer types: Point, Line, Polygon, or Table.\r\n\r\n## Add Layers Rule\r\n- \\`addLayers: false\\`: layers cannot be added, removed, or modified. Layer \\`id\\` is fixed.\r\n- \\`addLayers: true\\`: layers can be added, removed, or modified. Each layer gets a unique \\`id\\` starting at 0.\r\n\r\n## Required Fields\r\n- Fields in \\`requiredFields\\` from the Current Solution Design are protected: cannot be removed or moved to another layer.\r\n- \\`name\\`, \\`type\\`, and \\`choiceList\\` cannot be changed. \\`alias\\` and \\`description\\` can be updated if requested.\r\n\r\n## Custom Fields\r\n- Add user/business fields to \\`customFields\\`. These can be modified or removed by the user.\r\n- Names: lowercase, start with a letter, only letters/numbers/underscores.\r\n- Valid types: \\`string\\`, \\`integer\\`, \\`double\\`, \\`date\\`. Never use \\`oid\\`, \\`guid\\`, or \\`globalid\\` for custom fields.\r\n- String fields: set \\`choiceList\\` to an array of allowed values if applicable, else \\`null\\`. Set \\`length\\` to an appropriate integer.\r\n- Non-string fields: set \\`choiceList\\` to \\`null\\` and \\`length\\` to \\`null\\`.\r\n- Booleans: use string type with \\`choiceList: ["Yes", "No"]\\`.\r\n- No duplicate field names across requiredFields and customFields in a layer.\r\n- Never refer to field categories in responses \u2014 call them all just "fields".\r\n';export{e as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import d from"./
|
|
2
|
+
import d from"./P6PKBBHT.js";import"./XC4IAFAX.js";import c from"./JAFNSVRV.js";import b from"./GF4D45RS.js";import"./VKLUFCKS.js";import a from"./C6JAM52C.js";import"./2B4SGB3I.js";import"./RUHBLPYT.js";import"./HE2XAIDT.js";import"./Q5ZGIKBW.js";import"./OQH2TBQQ.js";import"./3LTRULIX.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./FCSE4STJ.js";import"./P4PCDUNA.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,a])=>{return a},a,b,c,d)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import b from"./
|
|
2
|
+
import b from"./KZMJQGVV.js";import a from"./C6JAM52C.js";import{K as J,ob as B,pb as S,r as N,ra as M}from"./HE2XAIDT.js";import{g as O}from"./JUUVYK2H.js";export default $arcgis.t(([{A:x,D:U,E:w,n:D,w:k,x:z,z:T},{a:v,b:h,c:K,e:p}])=>{var V=class{constructor(e,r,s){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=e,this.orgUrl=r,this.portalUrl=s,this.anonAgolSession=new O({}),this.agolPortalUrl=x(s)}addToCache(e){this.cardCache.push(e)}getCache(){return this.cardCache}removeFromCache(e){this.cardCache=this.cardCache.filter(r=>r.id!==e)}requestAvailableSolutionCards(e,r,s,t,o,n,a,i){let m=a?.start?a.start:1,g=a?.num?a.num:24,P=this.portalUrl+"/sharing/rest",f=this.agolPortalUrl+"/sharing/rest",C=this.anonAgolSession,q=JSON.stringify(e.categories);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==q||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:q,sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=p(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(i&&i.size>0){let d=v(this.cardCache,i);c=h(d,m,g)}else c=h(this.cardCache,m,g);return Promise.resolve(c)}let A={filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,categories:e?.categories?this.convertSearchCategories(e.categories):"",signal:n},y=[];if(r&&!o){let c=t||new O({});y.push(S(r,e.q,c,A,P))}return s&&o&&y.push(S(s,e.q,C,A,f)),Promise.allSettled(y).then(c=>{let d=[];c.forEach(u=>{if(u.status==="fulfilled"){let I=u.value,b="",R=!1;b=this.agolPortalUrl,R=!0,I.results.forEach(E=>{E.sourcePortalUrl=b,E.knownToBePublicSource=R}),d.push(I)}else if(u.status==="rejected")throw new Error(u.reason.message?u.reason.message:"cannotAccessAGO")}),d.length===0?this.cardCache=[]:d.length===1?this.cardCache=this.getCardsFromResponse(d[0]):this.cardCache=p(this.getCardsFromResponse(this.mergeResponses(d)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let F;if(i&&i.size>0){let u=v(this.cardCache,i);F=h(u,m,g)}else F=h(this.cardCache,m,g);return Promise.resolve(F)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(e,r,s="",t){let o=this.portalUrl+"/sharing/rest";if(t.aborted)return Promise.resolve([]);if(this.cardCacheParams.q!==e.q||this.cardCacheParams.categoriesAsStr!==JSON.stringify(e.q)||e.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:e.q,categoriesAsStr:"[]",sortField:e.sortField,sortOrder:e.sortOrder}):(this.cardCacheParams.sortField!==e.sortField||this.cardCacheParams.sortOrder!==e.sortOrder)&&(this.cardCacheParams.sortField=e.sortField,this.cardCacheParams.sortOrder=e.sortOrder,this.cardCache=p(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),t.aborted)return Promise.resolve([]);if(this.cardCache.length>0){let a=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(a)}let n={q:e.q,filter:e.filter,sortField:e.sortField,sortOrder:e.sortOrder,authentication:r,portal:o,categories:e?.categories?JSON.stringify(e.categories):"",num:e.num,signal:t};return s?M(s,r).then(a=>{if(t.aborted)return Promise.resolve([]);this.cardCache=this.getCardsFromResponse({results:[a]});let i=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(a=>Promise.reject(new Error(a))):B(n).then(a=>{this.cardCache=this.getCardsFromResponse(a);let i=h(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(a=>Promise.reject(new Error(a)))}convertSearchCategories(e){return e&&(Array.isArray(e)?e=e.map(r=>JSON.stringify(Array.isArray(r)?r:[r])):e=JSON.stringify([e])),e}getCardsFromResponse(e){return e.results.length>0?N(e.results).map(r=>{let s=r.sourcePortalUrl?r.sourcePortalUrl:this.portalUrl,t=r.sourcePortalUrl?r.sourcePortalUrl:this.orgUrl,o={id:r.id,title:r.title,snippet:r.snippet||"",description:r.description||"",url:r.url||"",itemUrl:`${t}/home/item.html`+z([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:T(r.id,r.thumbnail,this.cMissingImageDataURI,s),tryitUrl:r.url||"",typeKeywords:r.typeKeywords,learnMoreUrl:r.properties?.learnMoreUrl||"",createdMs:r.created,created:U(r.created,this.locale),modified:U(r.modified,this.locale),numViews:r.numViews,tags:r.tags,categories:r.groupCategories&&r.groupCategories.length>0?r.groupCategories:r.categories||[],licenseInfo:k(r.licenseInfo),deployCommonId:w(r.typeKeywords||[],"solutionid-"),deployVersion:w(r.typeKeywords||[],"solutionversion-"),canDelete:r.created>16183314e5,preview:this.preparePreviewImageUrls(r.id,r.properties?.preview,s),sourcePortalUrl:r.sourcePortalUrl||"",knownToBePublicSource:r.knownToBePublicSource||!1,waitId:"",relatedSolutions:J(r,"properties.relatedSolutions")||[],owner:r.owner};return o.deployCommonId!==""&&o.deployVersion!==""?o:null}).filter(r=>r!=null):[]}mergeResponses(e){let r=0;e.forEach(t=>r+=t.total);let s=[];return e.forEach(t=>s=s.concat(t.results)),{query:e[0].query,start:1,num:r,nextStart:-1,total:r,results:s}}preparePreviewImageUrls(e,r,s){return r?r.map(t=>(t.format==="image"&&(t.name=s+"/sharing/rest/content/items/"+e+"/resources/"+t.name),t)):[]}};async function L(l,e,r,s,t=D,o="created",n="desc",a=!1,i=[],m=[],g,P,f){if(!l?.IsSignedIn)return;let C={q:t,filter:"type:Solution",sortField:o,sortOrder:n,delay:a,categories:i,num:100};return C.q+=j(l,P),await G(e,C,s,m,f,g)}function j(l,e){let r="",s=l.PortalUserOrg,t=l.PortalUserName;return s&&(r+=" orgid:"+s),e!=="My organization's solutions"&&t&&(r+=" owner:"+t),r}async function G(l,e,r,s,t="",o){let n=await r.requestDeployedSolutionCards(e,l,t,o),a=K(n.cards,s);return{cards:n.cards,relatedSolutions:a}}return{a:V,b:L}},a,b)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./C6JAM52C.js";import"./2B4SGB3I.js";import"./RUHBLPYT.js";import"./HE2XAIDT.js";import"./Q5ZGIKBW.js";import"./OQH2TBQQ.js";import"./3LTRULIX.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./FCSE4STJ.js";import"./P4PCDUNA.js";import"./QPIMTXPL.js";export default $arcgis.t(([{h:o}])=>{return o},a)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import a from"./
|
|
2
|
+
import a from"./VBWAOJWD.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)
|
package/dist/cdn/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a}from"./FCSE4STJ.js";import{u as e}from"./P4PCDUNA.js";import"./QPIMTXPL.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./VD6SVO7V.js"),"_translations:,builderVisible,open,userFirstName"],"buffer-tools":[()=>import("./RNJF2E2J.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./3UYIJ6KW.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./XMTFJETA.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./AVT2PNZG.js"),"_translations:,aiImageExtraction:,allowMultipleCreation,appName,customizeSubmit,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./QI3QDEUY.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./2XJM3XD7.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./27KH7XZL.js"),"_translations:,aiImageExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./R246WZC7.js")],"delete-button":[()=>import("./KBXEHQIZ.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./D5MQLBMW.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./LRBXQ2IB.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./VCAHYC6Y.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./5US2XMV6.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./4GNCJBBI.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./FYYEWGIN.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./GIOPY5S4.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./ZWQVP22R.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./K53AOGO7.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./XJBEBXI7.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./EKI654VN.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./AGR2N66Z.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./SXHEEF3S.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./4PPQA4MT.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./RCZDZTUZ.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./X5QI4UGD.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./PFXXAD6R.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./MXLV3VVN.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./AOURVIOP.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./Q5PKFSLK.js"),"_translations:,basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./TJLD6M3R.js")],"pdf-download":[()=>import("./POMV26C6.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./OXBWKILN.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./KE3URGMT.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./7J5LZ73U.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-builder-assistant":[()=>import("./R2N4GBMQ.js"),"_translations:,design"],"solution-configure-titles":[()=>import("./WIOHBSZV.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./QZLMNSE7.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./BHXMKRJY.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./K6TX7RXM.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./UWOMOUMR.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./RSLFPOX6.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./25HGCZFX.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./D64WWPJO.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./MRN27OEB.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./J7EVCSVS.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./TFLS2WXP.js"),"designType,isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./A3K7BOI5.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./AFEFGOFA.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./MZYF5JT4.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./BPLLNJ3A.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./VTU3SPGB.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./NRKOYVJQ.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./N3VBZJNB.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./HNEWW3X6.js"),"_translations:,appConfig,assistantOpen,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./B3BNZZVL.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./CK5X5IU2.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./SVGXZT2D.js"),"_translations:,hideIndustryFilter,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./SNNNPHA4.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./JFYW5FSM.js"),"_translations:,assistantOpen"],"solutions-searchsort-toolbar":[()=>import("./UB3G6QGB.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-builder-assistant,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];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,a)
|
|
2
|
+
import{a}from"./FCSE4STJ.js";import{u as e}from"./P4PCDUNA.js";import"./QPIMTXPL.js";var o=e(a,{"arcgis-solutions-assistant":[()=>import("./ETMBHO6W.js"),"_translations:,builderVisible,open,userFirstName"],"buffer-tools":[()=>import("./RNJF2E2J.js"),"_translations:,appearance,disabled,distance,geometries:,max,min,sliderTicks,unionResults,unit;getTranslatedUnit"],"card-manager":[()=>import("./3UYIJ6KW.js"),"_translations:,createBtnLabel,customInfoText,enableCreateFeatures,enableEditGeometry,enableSnapping,isMobile,layerOrTable:,mapView:,selectedFeaturesIds:,selectingFeatureFromMap,showSketchWidgets,zoomAndScrollToSelected"],"consent-manager":[()=>import("./XMTFJETA.js"),"_translations:,amazonAppId,amazonAppName,amazonUserPoolID,amazonVersion,firstUseVar,measurementIds:,portal:;getInstance"],"create-feature":[()=>import("./AVT2PNZG.js"),"_translations:,aiImageExtraction:,allowMultipleCreation,appName,customizeSubmit,enablePhotoLocation,enableSearch,enableSnapping,floorLevel,formElements,isMobile,mapView:,popupEnabled,reportingArea,reportingAreaLayer,reportingAreaMessage,searchConfiguration:,selectedLayerId,showGuidingMsg,showLayerVisibilityMsg,showSketchWidgets,submitNewReportsMessage,updateMapPosition;refresh,showForm,submit"],"create-related-feature":[()=>import("./QI3QDEUY.js"),"_translations:,customizeSubmit,enableSnapping,mapView:,selectedFeature:,showGuidingMsg,table:;submit"],"crowdsource-manager":[()=>import("./MSSBDYEE.js"),"_translations:,appLayout,appProxies,basemapConfig:,coverPageEnabled,customInfoText,defaultAppLayout,defaultCenter,defaultGlobalId,defaultLayer,defaultLevel,defaultOid,defaultWebmap,enableAutoRefresh,enableBasemap,enableColumnReorder,enableCSV,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapList,enableSearch,enableSelectionTool,enableShare,enableSnapping,enableZoom,featureSelectionMode,honorMapFieldSettings,introductionWindowEnabled,mapInfos:,onlyShowUpdatableLayers,popupHeaderColor,popupHeaderHoverColor,popupHeaderHoverTextColor,popupHeaderTextColor,searchConfiguration:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,theme,visibilityIcon,zoomAndScrollToSelected,zoomToScale"],"crowdsource-reporter":[()=>import("./UUK4R4CR.js"),"_translations:,aiImageExtraction:,center,commentButtonText,commentSubmittedMessage,defaultWebmap,description,enableAnonymousAccess,enableAnonymousComments,enableComments,enableHome,enableLogin,enableNewReports,enablePhotoLocation,enableSearch,enableSnapping,enableZoom,filterByMapExtent,floorLevel,isMobile,layerExpressions:,layerId,level,loginTitle,mapInfos:,mapView:,objectId,reportButtonText,reportingArea,reportingAreaLayer,reportingAreaMessage,reportingOptions:,reportsHeader,reportSubmittedMessage,searchConfiguration:,showComments,showFeatureSymbol,showFullCommentTitle,showMyReportsOnly,showUserImageInCommentsList,sortOption,submitNewReportsMessage,theme,zoomToScale;updateLayerExpressionsT9n"],"deduct-calculator":[()=>import("./R246WZC7.js")],"delete-button":[()=>import("./KBXEHQIZ.js"),"_translations:,buttonType,deleteDialog,disabled,icon,ids:,layer:,showDeleteCount"],"delete-dialog":[()=>import("./D5MQLBMW.js"),"_translations:,ids:,layer:,open"],"edit-card":[()=>import("./LRBXQ2IB.js"),"_translations:,allowMultipleEditing,enableEditGeometry,enableSnapping,graphicIndex,graphics:,mapView:,open"],"feature-details":[()=>import("./VCAHYC6Y.js"),"enableSnapping,graphics:,layerItemsHash:,mapView:,reportingOptions:,showFullCommentTitle,showUserImageInCommentsList;back,next,refresh,toggleListView"],"feature-list":[()=>import("./J25DRPOQ.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,highlightOnHover,highlightOnMap,mapView:,noFeaturesFoundMsg,pageSize,reportingOptions:,selectedLayerId,showErrorWhenNoFeatures,showFeatureSymbol,showFullTitle,showInitialLoading,showUserImageInList,sortingInfo:,textSize,whereClause;refresh"],"field-selection":[()=>import("./U7XLS67A.js"),"_translations:,configExtraFields,layer:,mapView:,table:,tableRef:"],"info-card":[()=>import("./733RRE2J.js"),"_translations:,allowEditing,enableEditGeometry,enableSnapping,graphics:,highlightEnabled,isLoading,isMobile,mapView:,paginationEnabled,position,showCloseBtn;back,getSelectedFeature,next,refresh,toggleListView,updateCurrentGraphic"],"layer-list":[()=>import("./GIOPY5S4.js"),"_translations:,applyLayerViewFilter,filterByMapExtent,layers:,mapView:,showFeatureCount,showNextIcon;refresh"],"layer-list-widget":[()=>import("./ZWQVP22R.js"),"layerListWidget:,mapView:,visibilityIcon"],"layer-table":[()=>import("./TCMBDCFZ.js"),"_translations:,appLayout,defaultGlobalId:,defaultLayerId,defaultOid:,enableAutoRefresh,enableColumnReorder,enableCSV,enableInlineEdit,enableShare,enableTableAutosave,featureSelectionMode,honorMapFieldSettings,isMobile,mapHidden,mapInfo:,mapView:,selectedIds:,selectedRelatedIds:,shareIncludeEmbed,shareIncludeSocial,showNewestFirst,showOnlyUpdatableLayers,zoomAndScrollToSelected,zoomToScale;closeFilter,filterReset,filterUpdate,refresh,setColumnOrder,validateActiveEdits,validateTableUpdate"],"map-basemap-gallery":[()=>import("./XJBEBXI7.js"),"basemapConfig:,basemapWidget:,mapView:"],"map-card":[()=>import("./4IMAYCJM.js"),"_translations:,appLayout,appProxies,basemapConfig:,defaultLayerId,defaultWebmapId,enableBasemap,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableShare,enableSingleExpand,featureSelectionMode,hide,isMapLayout,isMobile,mapInfo:,mapInfos:,mapToolsOrder:,mapView:,mapWidgetsIndex,mapWidgetsPosition,mapWidgetsSize,mobileMapWidgetsPosition,mobileToolsOrder:,selectedFeaturesIds:,selectedLayer:,shareIncludeEmbed,shareIncludeSocial,showOnlyUpdatableLayers,stackTools,theme,visibilityIcon,zoomToolsSize,zoomToScale;resetFilter,updateFilterState,updateLayer"],"map-draw-tools":[()=>import("./AGR2N66Z.js"),"_translations:,active,drawMode,editGraphicsEnabled,graphics:,mapView:,pointSymbol:,polygonSymbol:,polylineSymbol:,redoEnabled,undoEnabled;clear,updateGraphics"],"map-floor-filter":[()=>import("./SXHEEF3S.js"),"enabled,floorFilterWidget:,mapView:"],"map-fullscreen":[()=>import("./4PPQA4MT.js"),"fullscreenWidget:,mapView:"],"map-layer-picker":[()=>import("./RCZDZTUZ.js"),"_translations:,appearance,configLayerOrderDefined,defaultLayerId,disabled,display,enabledLayerIds:,height,isMobile,mapView:,placeholderIcon,referenceElement,scale,selectedIds:,showLayersListInPopover,showOnlyUpdatableLayers,showSingleLayerAsLabel,showTables,showTablesDisabled,type;setLayerById,setLayerByIds,updateLayer"],"map-legend":[()=>import("./X5QI4UGD.js"),"legendWidget:,mapView:"],"map-picker":[()=>import("./PFXXAD6R.js"),"_translations:,height,isMapLayout,mapInfos:,referenceElement,selectedWebMapId,showMapListInPopover;close,setMapByID,toggle"],"map-search":[()=>import("./MXLV3VVN.js"),"mapView:,popupEnabled,resultGraphicEnabled,searchConfiguration:,searchTerm,searchWidget:"],"map-select-tools":[()=>import("./AOURVIOP.js"),"_translations:,bufferColor,bufferOutlineColor,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,enabledLayerIds:,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,geometries:,headerLabelClass,isUpdate,layerViews:,mapView:,noResultText,searchConfiguration:,searchDistanceEnabled,selectionLayerIds:,selectionSet:,selectLayerView:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:,useLayerFeaturesEnabled;clearSelection,getSelection"],"map-tools":[()=>import("./Q5PKFSLK.js"),"_translations:,basemapConfig:,defaultLayerId,enableBasemap,enabledLayerIds:,enableFloorFilter,enableFullscreen,enableHome,enableLayerList,enableLegend,enableMapLayerPicker,enableMapPicker,enableSearch,enableSelectionTool,enableSingleExpand,isMobile,layout,mapInfo:,mapInfos:,mapView:,mapWidgetsSize,parentComponentHeight,parentComponentWidth,position,searchConfiguration:,selectedFeaturesIds:,selectedLayer:,selectedWebMapId,selectionTools:,showOnlyUpdatableLayers,stackTools,toolOrder:,visibilityIcon,zoomToolsSize"],"pci-calculator":[()=>import("./TJLD6M3R.js")],"pdf-download":[()=>import("./HC5I7DO7.js"),"_translations:,defaultNumLabelsPerPage,disabled;downloadCSV,downloadPDF"],"public-notification":[()=>import("./FIJSXIFB.js"),"_translations:,addresseeLayerIds:,bufferColor,bufferOutlineColor,customExport,customExportURL,customLabelEnabled,defaultBufferDistance,defaultBufferUnit,defaultExportTitle,defaultNumLabelsPerPage,enableLayerFeatures,enableLayerFeaturesOnLoad,enableSearchDistance,enableSearchDistanceOnLoad,enableSketchTools,featureEffect:,featureHighlightEnabled,initialNotice,mapView:,noResultText,searchConfiguration:,selectionLayerIds:,showRefineSelection,showSearchSettings,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"refine-selection":[()=>import("./KE3URGMT.js"),"_translations:,addresseeLayer:,bufferColor,bufferOutlineColor,defaultBufferDistance,defaultBufferUnit,drawnGraphicsArr:,enabledLayerIds:,enableSearchDistance,enableSearchDistanceOnLoad,geometries:,mapView:,searchDistanceEnabled,selectionSets:,sketchLineSymbol:,sketchPointSymbol:,sketchPolygonSymbol:"],"selection-tool":[()=>import("./7J5LZ73U.js"),"mapView:,selectedLayerId,tool;toggleSelectionTool"],"solution-builder-assistant":[()=>import("./R2N4GBMQ.js"),"_translations:,design"],"solution-configure-titles":[()=>import("./5MKDWIDM.js"),"_translations:,card:,open,solutionData,source,templateInfos:"],"solution-delete-dialog":[()=>import("./4BXRUI5X.js"),"_translations:,card:,open,source;;close,delete"],"solution-deploy-dialog":[()=>import("./6QKRLRAP.js"),"_translations:,card:,debugFailDeployment,open,userOptions:;;close,deploy"],"solution-deployed-card":[()=>import("./ZCQCAKCG.js"),"_translations:,card:,deployedDate,description,diagramKey,heading,itemId,owner,templateInfos:,thumbnail,updateAvailable;getTemplates,renderDeleteDialog,renderDiagramDialog"],"solution-deployed-card-panel":[()=>import("./QWHQYVUI.js"),"_translations:,card:,cardRef,diagramKey,open,templateInfos:"],"solution-deploying-dialog":[()=>import("./RSLFPOX6.js"),"_translations:,abortController:,card:,deploymentProgress,isWaitingForCard,open;;cancelDeployment,close,confirmCancel"],"solution-details-card":[()=>import("./TBOLV3EZ.js"),"_translations:,card:,referrerSolutionId,referrerSolutionTitle,referrerSolutionVersion,source"],"solution-details-panel":[()=>import("./YMNLP2QU.js"),"_translations:,card:"],"solution-item-accordion":[()=>import("./MRN27OEB.js"),"_translations:,itemRelationshipDependencies:,linkType,listSelectionMode,reuseWarning,templateInfos:,typeKeywords:;collapseAll,deselectAll,expandFirstItem,expandItemById,expandItems,selectFirstItem,selectItem,selectItems"],"solution-item-diagram":[()=>import("./J7EVCSVS.js"),"_translations:,diagramKey,templateInfoGraph:,typeKeywords:"],"solution-item-icon":[()=>import("./TFLS2WXP.js"),"designType,isPortal,type,typeKeywords:"],"solution-resource-card":[()=>import("./A4XBJJEQ.js"),"_translations:,description,heading,headingEn,icon,meridianIcon,sectionHeadingEn,url"],"solution-snapshot-gallery":[()=>import("./KIIHG5RR.js"),"_translations:,card:,itemProperties:,open,screenshot:"],"solution-social-share":[()=>import("./EDIUHKTP.js"),"_translations:,actionApperance,autoUpdateShareUrl,buttonAppearance,inlineSuccessPopoverPlacement,mode,popoverButtonIconScale,popoverPositioning,removePopoverOffset,scale,shareButtonKind,shareButtonScale,shareButtonText,shareButtonType,shareIconsLayout,shareText,shareUrl,shortenShareUrl,socialMedia,solutionId,solutionTitle,solutionVersion,successMessage"],"solution-user-avatar":[()=>import("./DJ67MNGR.js"),"fullname,lookupProfile,thumbnailUrl,username"],"solutions-all-panel":[()=>import("./VGXNLBOO.js"),"_translations:,sortType;searchSolutions,setSearchOptions"],"solutions-all-shell":[()=>import("./OZZ7I4JM.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-deploy-app":[()=>import("./BMMT73FL.js"),"_translations:,appConfig,initTab,initTitleOrId,sortType,useLocalAppConfig;selectTab"],"solutions-deploy-app-nav":[()=>import("./BOU4VPX6.js"),"_translations:,appConfig,assistantOpen,initTab;;activateMenuItem,clearMenuItems"],"solutions-deployed-panel":[()=>import("./TI2UR2TV.js"),"_translations:,sortType;reload,searchSolutions,setSearchOptions"],"solutions-deployed-shell":[()=>import("./RCL2R2OE.js"),"_translations:,solutionsCount;searchSolutions"],"solutions-filter-panel":[()=>import("./WGMESBWP.js"),"_translations:,hideIndustryFilter,showReset;;changeIndustryFilter,clearFilters"],"solutions-resources-section":[()=>import("./HTGJEIDJ.js"),"cards,heading,subheading"],"solutions-resources-shell":[()=>import("./D7B7IHCG.js"),"_translations:,assistantOpen"],"solutions-searchsort-toolbar":[()=>import("./PPPDIFLS.js"),"_translations:,defaultSortType,isOrgSolutions,scope;;changeOwnerFilter,changeSearchFilter,sortChanged"]});o({resourcesUrl:import.meta.url});var t=new CSSStyleSheet;t.replaceSync("@layer{:not([hydrated]):is(arcgis-solutions-assistant,buffer-tools,card-manager,consent-manager,create-feature,create-related-feature,crowdsource-manager,crowdsource-reporter,deduct-calculator,delete-button,delete-dialog,edit-card,feature-details,feature-list,field-selection,info-card,layer-list,layer-list-widget,layer-table,map-basemap-gallery,map-card,map-draw-tools,map-floor-filter,map-fullscreen,map-layer-picker,map-legend,map-picker,map-search,map-select-tools,map-tools,pci-calculator,pdf-download,public-notification,refine-selection,selection-tool,solution-builder-assistant,solution-configure-titles,solution-delete-dialog,solution-deploy-dialog,solution-deployed-card,solution-deployed-card-panel,solution-deploying-dialog,solution-details-card,solution-details-panel,solution-item-accordion,solution-item-diagram,solution-item-icon,solution-resource-card,solution-snapshot-gallery,solution-social-share,solution-user-avatar,solutions-all-panel,solutions-all-shell,solutions-deploy-app,solutions-deploy-app-nav,solutions-deployed-panel,solutions-deployed-shell,solutions-filter-panel,solutions-resources-section,solutions-resources-shell,solutions-searchsort-toolbar){visibility:hidden}}");document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];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,a)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
const e = '# Your Role\r\nYou are a specialized AI assistant for ArcGIS Solutions. Build and refine custom ArcGIS Solutions based on the user\'s query and the Current Solution Design below. Follow all rules at all times.\r\n\r\n# Your Task\r\n- Always work from the Current Solution Design and chat history. Update incrementally.\r\n- Do not discard the design unless the user explicitly says "start over" or "new solution."\r\n- Detect the language of each user query independently and respond entirely in that language.\r\n\r\n# Response Guidelines\r\n- Provide a brief conversational response. Refer to yourself as "I" or "we".\r\n- Initial query (no history): respond that you created a <solution name> solution. Do not use words like "custom".\r\n- Follow-up query: respond with what you updated. If a restriction applies, politely decline.\r\n- Example: User asks to symbolize a layer green → decline: that cannot be done here, but they can apply it in their map configurations.\r\n\r\n# Solution\r\nReturn an updated \\`title\\`, \\`description\\`, and \\`tags\\` based on the request.\r\n\r\n## Strings\r\n- Update the \\`value\\` of each string based on the request. Use \\`description\\` to understand its purpose.\r\n- Do not modify \\`key\\` or \\`description\\`. Do not remove values. Always return the same number of strings — users cannot add or remove them.\r\n\r\n# Items\r\n- Return an updated \\`title\\` and \\`description\\` for each item. Do not modify \\`id\\` or \\`type\\`.\r\n- Always return the same number of items — users cannot add or remove items.\r\n\r\n# Feature Layers\r\nGenerate a detailed normalized database schema for each Feature Layer. Layer types: Point, Line, Polygon, or Table.\r\n\r\n## Add Layers Rule\r\n- \\`addLayers: false\\`: layers cannot be added, removed, or modified. Layer \\`id\\` is fixed.\r\n- \\`addLayers: true\\`: layers can be added, removed, or modified. Each layer gets a unique \\`id\\` starting at 0.\r\n\r\n## Required Fields\r\n- Fields in \\`requiredFields\\` from the Current Solution Design are protected: cannot be removed or moved to another layer.\r\n- \\`name\\`, \\`type\\`, and \\`choiceList\\` cannot be changed. \\`alias\\` and \\`description\\` can be updated if requested.\r\n\r\n## Custom Fields\r\n- Add user/business fields to \\`customFields\\`. These can be modified or removed by the user.\r\n- Names: lowercase, start with a letter, only letters/numbers/underscores.\r\n- Valid types: \\`string\\`, \\`integer\\`, \\`double\\`, \\`date\\`. Never use \\`oid\\`, \\`guid\\`, or \\`globalid\\` for custom fields.\r\n- String fields: set \\`choiceList\\` to an array of allowed values if applicable, else \\`null\\`. Set \\`length\\` to an appropriate integer.\r\n- Non-string fields: set \\`choiceList\\` to \\`null\\` and \\`length\\` to \\`null\\`.\r\n- Booleans: use string type with \\`choiceList: ["Yes", "No"]\\`.\r\n- No duplicate field names across requiredFields and customFields in a layer.\r\n- Never refer to field categories in responses — call them all just "fields".\r\n
|
|
2
|
+
const e = '# Your Role\r\nYou are a specialized AI assistant for ArcGIS Solutions. Build and refine custom ArcGIS Solutions based on the user\'s query and the Current Solution Design below. Follow all rules at all times.\r\n\r\n# Your Task\r\n- Always work from the Current Solution Design and chat history. Update incrementally.\r\n- Do not discard the design unless the user explicitly says "start over" or "new solution."\r\n- Detect the language of each user query independently and respond entirely in that language.\r\n\r\n# Response Guidelines\r\n- Provide a brief conversational response. Refer to yourself as "I" or "we".\r\n- Initial query (no history): respond that you created a <solution name> solution. Do not use words like "custom".\r\n- Follow-up query: respond with what you updated. If a restriction applies, politely decline.\r\n- Example: User asks to symbolize a layer green → decline: that cannot be done here, but they can apply it in their map configurations.\r\n\r\n# Solution\r\nReturn an updated \\`title\\`, \\`description\\`, and \\`tags\\` based on the request.\r\n\r\n## Strings\r\n- Update the \\`value\\` of each string based on the request. Use \\`description\\` to understand its purpose.\r\n- Do not modify \\`key\\` or \\`description\\`. Do not remove values. Always return the same number of strings — users cannot add or remove them.\r\n\r\n# Items\r\n- Return an updated \\`title\\` and \\`description\\` for each item. Do not modify \\`id\\` or \\`type\\`.\r\n- Always return the same number of items — users cannot add or remove items.\r\n\r\n# Feature Layers\r\nGenerate a detailed normalized database schema for each Feature Layer. Layer types: Point, Line, Polygon, or Table.\r\n\r\n## Add Layers Rule\r\n- \\`addLayers: false\\`: layers cannot be added, removed, or modified. Layer \\`id\\` is fixed.\r\n- \\`addLayers: true\\`: layers can be added, removed, or modified. Each layer gets a unique \\`id\\` starting at 0.\r\n\r\n## Required Fields\r\n- Fields in \\`requiredFields\\` from the Current Solution Design are protected: cannot be removed or moved to another layer.\r\n- \\`name\\`, \\`type\\`, and \\`choiceList\\` cannot be changed. \\`alias\\` and \\`description\\` can be updated if requested.\r\n\r\n## Custom Fields\r\n- Add user/business fields to \\`customFields\\`. These can be modified or removed by the user.\r\n- Names: lowercase, start with a letter, only letters/numbers/underscores.\r\n- Valid types: \\`string\\`, \\`integer\\`, \\`double\\`, \\`date\\`. Never use \\`oid\\`, \\`guid\\`, or \\`globalid\\` for custom fields.\r\n- String fields: set \\`choiceList\\` to an array of allowed values if applicable, else \\`null\\`. Set \\`length\\` to an appropriate integer.\r\n- Non-string fields: set \\`choiceList\\` to \\`null\\` and \\`length\\` to \\`null\\`.\r\n- Booleans: use string type with \\`choiceList: ["Yes", "No"]\\`.\r\n- No duplicate field names across requiredFields and customFields in a layer.\r\n- Never refer to field categories in responses — call them all just "fields".\r\n';
|
|
3
3
|
export {
|
|
4
4
|
e as default
|
|
5
5
|
};
|