@esri/solutions-components 5.1.0-next.91 → 5.1.0-next.93

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.
Files changed (145) hide show
  1. package/dist/cdn/{OV4IBBDL.js → 2O3HAXKG.js} +1 -1
  2. package/dist/cdn/{BBNWDMCK.js → 3XGF3ZJO.js} +1 -1
  3. package/dist/cdn/{4LXH3MTT.js → 3ZZ726LQ.js} +1 -1
  4. package/dist/cdn/{PHIGRQ7V.js → 4HPFDUTJ.js} +1 -1
  5. package/dist/cdn/4OJ3LBF6.js +2 -0
  6. package/dist/cdn/{VPDMT4CY.js → 4QZ7WHXA.js} +1 -1
  7. package/dist/cdn/{SGBMDDAS.js → 55NRVFJ5.js} +1 -1
  8. package/dist/cdn/{5RTR3NSC.js → 5BU6XZAD.js} +1 -1
  9. package/dist/cdn/{4ZKGHGGU.js → 5OF3YOO7.js} +1 -1
  10. package/dist/cdn/{VWPOKKOE.js → 5XOS5PST.js} +1 -1
  11. package/dist/cdn/{K6PW4IX6.js → BPELKV5K.js} +1 -1
  12. package/dist/cdn/{DJOOB7YP.js → CDT7ELTA.js} +1 -1
  13. package/dist/cdn/{I33B45EZ.js → CHZWEULM.js} +1 -1
  14. package/dist/cdn/{NV3RC3FX.js → CWXOH2PC.js} +1 -1
  15. package/dist/cdn/{DUZ4KXB3.js → FDE2V7FU.js} +1 -1
  16. package/dist/cdn/{6DCCVJMZ.js → GJTXLQOS.js} +1 -1
  17. package/dist/cdn/{SWWDYNJE.js → IGSOHYV3.js} +1 -1
  18. package/dist/cdn/J5XFS6HE.js +2 -0
  19. package/dist/cdn/{32YZXXMV.js → JBFDURMG.js} +1 -1
  20. package/dist/cdn/{KEZAVYJU.js → JJ7JB2ZP.js} +1 -1
  21. package/dist/cdn/{FN2NSVLO.js → K6WLYYPH.js} +1 -1
  22. package/dist/cdn/{JDX6K42U.js → L73FGVVE.js} +1 -1
  23. package/dist/cdn/{VHOYM5MD.js → O3SWSZQE.js} +1 -1
  24. package/dist/cdn/{XN2JVOOR.js → OGPKAPZK.js} +1 -1
  25. package/dist/cdn/PJ43TSSJ.js +2 -0
  26. package/dist/cdn/{LDK4C3VJ.js → R2G4DDRZ.js} +1 -1
  27. package/dist/cdn/{A7PEA2YP.js → RTFBOXOK.js} +1 -1
  28. package/dist/cdn/{ET32EBBO.js → S5VV7I2H.js} +1 -1
  29. package/dist/cdn/{DWEIHGFT.js → SN4D24TK.js} +1 -1
  30. package/dist/cdn/{QO2RC46D.js → SO3S3WP4.js} +1 -1
  31. package/dist/cdn/{PP2SFAFD.js → WF32M7B5.js} +1 -1
  32. package/dist/cdn/WRSVJIPA.js +2 -0
  33. package/dist/cdn/{73YLLTLN.js → XAW6KPKL.js} +1 -1
  34. package/dist/cdn/{WQGGCG6M.js → XBDEGJHE.js} +1 -1
  35. package/dist/cdn/{B7AQR2UD.js → ZGEMIOB5.js} +1 -1
  36. package/dist/cdn/{JWGDDEVT.js → ZP6VPBP4.js} +1 -1
  37. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ar.json +1 -1
  38. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bg.json +1 -1
  39. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bs.json +1 -1
  40. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ca.json +1 -1
  41. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.cs.json +1 -1
  42. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.da.json +1 -1
  43. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.de.json +1 -1
  44. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.el.json +1 -1
  45. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.es.json +1 -1
  46. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.et.json +1 -1
  47. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fi.json +1 -1
  48. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fr.json +1 -1
  49. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.he.json +1 -1
  50. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hr.json +1 -1
  51. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hu.json +1 -1
  52. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.id.json +1 -1
  53. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.it.json +1 -1
  54. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ja.json +1 -1
  55. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ko.json +1 -1
  56. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lt.json +1 -1
  57. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lv.json +1 -1
  58. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.nl.json +1 -1
  59. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.no.json +1 -1
  60. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pl.json +1 -1
  61. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-BR.json +1 -1
  62. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-PT.json +1 -1
  63. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ro.json +1 -1
  64. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ru.json +1 -1
  65. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sk.json +1 -1
  66. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sl.json +1 -1
  67. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sr.json +1 -1
  68. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sv.json +1 -1
  69. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.th.json +1 -1
  70. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.tr.json +1 -1
  71. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.uk.json +1 -1
  72. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.vi.json +1 -1
  73. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-CN.json +1 -1
  74. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-HK.json +1 -1
  75. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-TW.json +1 -1
  76. package/dist/cdn/assets/consent-manager/t9n/messages.de.json +1 -1
  77. package/dist/cdn/assets/field-selection/t9n/messages.no.json +1 -1
  78. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ar.json +1 -1
  79. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bg.json +1 -1
  80. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bs.json +1 -1
  81. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ca.json +1 -1
  82. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.cs.json +1 -1
  83. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.da.json +1 -1
  84. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.de.json +1 -1
  85. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.el.json +1 -1
  86. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.en.json +1 -1
  87. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.es.json +1 -1
  88. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.et.json +1 -1
  89. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fi.json +1 -1
  90. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fr.json +1 -1
  91. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.he.json +1 -1
  92. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hr.json +1 -1
  93. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hu.json +1 -1
  94. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.id.json +1 -1
  95. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.it.json +1 -1
  96. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ja.json +1 -1
  97. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.json +1 -1
  98. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ko.json +1 -1
  99. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lt.json +1 -1
  100. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lv.json +1 -1
  101. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.nl.json +1 -1
  102. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.no.json +1 -1
  103. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pl.json +1 -1
  104. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-BR.json +1 -1
  105. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-PT.json +1 -1
  106. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ro.json +1 -1
  107. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ru.json +1 -1
  108. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sk.json +1 -1
  109. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sl.json +1 -1
  110. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sr.json +1 -1
  111. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sv.json +1 -1
  112. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.th.json +1 -1
  113. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.tr.json +1 -1
  114. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.uk.json +1 -1
  115. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.vi.json +1 -1
  116. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-CN.json +1 -1
  117. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-HK.json +1 -1
  118. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-TW.json +1 -1
  119. package/dist/cdn/assets/solution-item-accordion/t9n/messages.en.json +1 -1
  120. package/dist/cdn/assets/solution-item-accordion/t9n/messages.json +1 -1
  121. package/dist/cdn/index.js +1 -1
  122. package/dist/chunks/interfaces.js +22 -21
  123. package/dist/components/solution-builder-assistant/customElement.d.ts +2 -0
  124. package/dist/components/solution-builder-assistant/customElement.js +46 -45
  125. package/dist/components/solution-configure-titles/customElement.js +1 -1
  126. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  127. package/dist/components/solution-item-accordion/customElement.d.ts +6 -0
  128. package/dist/components/solution-item-accordion/customElement.js +51 -27
  129. package/dist/docs/api.json +1 -1
  130. package/dist/docs/docs.json +1 -1
  131. package/dist/docs/vscode.html-custom-data.json +1 -1
  132. package/dist/docs/web-types.json +1 -1
  133. package/dist/index.js +25 -24
  134. package/dist/loader.js +1 -1
  135. package/dist/solutions-components_commit.txt +6 -6
  136. package/dist/types/lumina.d.ts +1 -1
  137. package/dist/types/preact.d.ts +1 -1
  138. package/dist/types/react.d.ts +1 -1
  139. package/dist/types/stencil.d.ts +1 -1
  140. package/dist/utils/interfaces.d.ts +2 -0
  141. package/package.json +1 -1
  142. package/dist/cdn/A7DQMUDA.js +0 -2
  143. package/dist/cdn/LTKDGGKT.js +0 -2
  144. package/dist/cdn/QNEUW2SI.js +0 -2
  145. package/dist/cdn/ZBET72YB.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import h from"./73YLLTLN.js";import{c as _}from"./ZYCAAXQF.js";import e from"./JWGDDEVT.js";import d from"./XXT542UR.js";import a from"./X5EABWHE.js";import{b as v}from"./2B4SGB3I.js";import{b as T}from"./YKQDHR27.js";import{sb as S,ta as C,tb as $,ub as b}from"./J75MHJID.js";import{a as D}from"./R67EKKSL.js";import"./BVWAUO73.js";import"./K3DQKY7V.js";import"./TEHBW75B.js";import"./ALSK2SPM.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./BMBNSJZQ.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as I}from"./KIUBUHVM.js";import{E as m,F as f,G as y,I as u,h as g,i as r,q as c}from"./H5E6ISYP.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,{m:V,n:w},{a:P}])=>{var N=g`*[tabindex]:focus-visible{outline-style:solid!important;outline-width:2px!important;outline-color:var(--calcite-color-brand)!important;outline-offset:2px!important}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.font-weight-medium{font-weight:var(--calcite-font-weight-medium)}.font-style-1{font-size:1rem;color:var(--calcite-color-text-2)}.margin-top-0{margin-top:0}.padding-top-20{padding-top:20px}.padding-bottom-2{padding-bottom:2rem}.padding-left-2{padding-left:2rem}.padding-right-2{padding-right:2rem}.padding-end-1{padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.width-full{width:100%}.justify-content-space{justify-content:space-between}`,x=class extends y{constructor(){super(...arguments),this.open=!1,this.source="Card Dropdown",this.solutionData={},this.templateInfos=[],this._saveDisabled=!1,this._displayTemplateInfos=[],this._hasNameLengthError=!1,this._nonSolutionDependencyItems=[],this._solutionItemsTitlesUpdating=!1,this._translations=D({name:"solution-configure-titles",blocking:!0}),this._configContextConsumer=T({context:v,subscribe:!0}),this._defaultPrefix="",this._defaultSuffix="",this._loadingDefaultPrefix=!1,this._loadingDefaultSuffix=!1,this._prefixRef=m(),this._prefixValue="",this._suffixRef=m(),this._suffixValue="",this._templateInfos=[],this._originalTitles=[],this.solutionConfigureTitlesBeforeClose=c(),this.solutionItemsTitlesChanged=c()}static{this.properties={card:0,open:5,source:1,solutionData:1,templateInfos:0,_saveDisabled:16,_displayTemplateInfos:16,_hasNameLengthError:16,_nonSolutionDependencyItems:16,_solutionItemsTitlesUpdating:16,_translations:16}}static{this.styles=N}async willUpdate(i){if(i.has("templateInfos")&&(this._templateInfos=JSON.parse(JSON.stringify(this.templateInfos)),this._updateTemplates()),i.has("open")){let t=i.get("open");if(this.open&&!t){await this._updatePrefixSuffix(),this._templateInfos=JSON.parse(JSON.stringify(this.templateInfos)),this._originalTitles=this._templateInfos.map(s=>({id:s.id,title:s.title})),this._updateTemplates();let e=await P(this._configContextConsumer.value.userSession,this.card);this._nonSolutionDependencyItems=e._nonSolutionDependencyItems,await this._accordionRef?.expandFirstItem()}}}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}async load(){this._updateTemplates(),await this._updatePrefixSuffix()}async _updatePrefixSuffix(){this.solutionData=await C(this.card.id,this._configContextConsumer.value.userSession),this.solutionData.titles?.prefix&&(this._loadingDefaultPrefix=!0,this._defaultPrefix=this.solutionData.titles.prefix,this._prefixValue=this.solutionData.titles.prefix),this.solutionData.titles?.suffix&&(this._loadingDefaultSuffix=!0,this._defaultSuffix=this.solutionData.titles.suffix,this._suffixValue=this.solutionData.titles.suffix)}render(){return r`<calcite-dialog .heading=${this.card.title} modal @calciteDialogBeforeClose=${()=>{this.solutionConfigureTitlesBeforeClose.emit()}} .open=${this.open} outside-close-disabled width=l>${this._getPrefixSuffixControls()}${this._getAccordion()}${this._getDialogButtons()}</calcite-dialog>`}_getPrefixSuffixControls(){let i=_(this._prefixValue),t=this._hasNameLengthError&&this._prefixValue.length>0,e=i.errorType!=="special-character",s=!t,n=e?"display-none":"",h=s?"display-none":"",a=e&&s?"valid":"invalid",l=_(this._suffixValue),o=this._hasNameLengthError&&this._suffixValue.length>0,p=l.errorType!=="special-character",d=!o,E=p?"display-none":"",W=d?"display-none":"",k=p&&d?"valid":"invalid";return this._saveDisabled=!e||!s||!p||!d||!this._hasChanges(),r`<div class="display-flex flex-direction-column padding-left-2 padding-right-2 padding-top-20"><calcite-label scale=l class="font-weight-medium"><span tabindex=0>${this._translations.configureTitlesDialogHeader}</span></calcite-label><p class="font-style-1 margin-top-0" tabindex=0>${this._translations.addPrefixOrSuffixToItems}</p><div class="display-flex flex-direction-row justify-content-space"><calcite-label class="width-full padding-end-1" scale=l>${this._translations.prefixToAddToItems}<calcite-input clearable @blur=${this._prefixInput} @input=${this._prefixInput} .placeholder=${this._translations.enterPrefixPlaceholder} .status=${a} .value=${this._prefixValue} ${f(this._prefixRef)}></calcite-input><calcite-input-message class=${u(n)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixCharsError}</calcite-input-message><calcite-input-message class=${u(h)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixLengthError}</calcite-input-message></calcite-label><calcite-label class="width-full" scale=l>${this._translations.suffixToAddToItems}<calcite-input clearable @blur=${this._suffixInput} @input=${this._suffixInput} .placeholder=${this._translations.enterSuffixPlaceholder} .status=${k} .value=${this._suffixValue} ${f(this._suffixRef)}></calcite-input><calcite-input-message class=${u(E)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixCharsError}</calcite-input-message><calcite-input-message class=${u(W)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixLengthError}</calcite-input-message></calcite-label></div></div>`}_getAccordion(){let i=[...new Set(this._nonSolutionDependencyItems.map(t=>t.controlItemId))];return r`<div class="display-flex flex-direction-column padding-left-2 padding-right-2 padding-bottom-2"><p class="font-style-1 margin-top-0">${this._translations.previewTheChanges}</p><solution-item-accordion .itemRelationshipDependencies=${i} list-selection-mode=multiple .reuseWarning=${this._translations.itemDependencyReuseWarning} .templateInfos=${this._displayTemplateInfos} .typeKeywords=${this.card?.typeKeywords} ${f(async t=>{t&&(this._accordionRef=t)})}></solution-item-accordion></div>`}_getDialogButtons(){return r`<div slot=footer-end><calcite-button appearance=outline class="padding-end-1-2" kind=brand @click=${this._closeDialog}>${this._translations.cancelTheDialog}</calcite-button><calcite-button .disabled=${this._saveDisabled} kind=brand .loading=${this._solutionItemsTitlesUpdating} @click=${this._commitNameChanges}>${this._translations.applyChangesAndCloseTheDialog}</calcite-button></div>`}_prefixInput(){clearTimeout(this._textInputTimeout),this._textInputTimeout=setTimeout(()=>{this._prefixValue=this._prefixRef.value?.value||"",this._updateTemplates()},500)}_suffixInput(){clearTimeout(this._textInputTimeout),this._textInputTimeout=setTimeout(()=>{this._suffixValue=this._suffixRef.value?.value||"",this._updateTemplates()},500)}_updateTemplates(){this._templateInfos=this._templateInfos.map(t=>(this._loadingDefaultPrefix&&t.title.startsWith(this._prefixValue)&&(t.title=this._replaceStart(t.title,this._prefixValue,"")),this._loadingDefaultSuffix&&t.title.endsWith(this._suffixValue)&&(t.title=this._replaceAtEnd(t.title,this._suffixValue,"")),t));let i=JSON.parse(JSON.stringify(this._templateInfos));this._hasNameLengthError=!1,this._displayTemplateInfos=i.map(t=>{let e=this._prefixValue!=="",s=this._suffixValue!=="",n=this._defaultPrefix!=="",h=this._defaultSuffix!=="",a=t.title;e&&(n?this._originalTitles.find(o=>o.id===t.id)?.title.startsWith(this._defaultPrefix)?a=this._applyPrefixWithDuplicateCheck(t.title,this._prefixValue):this._prefixValue!==this._defaultPrefix&&(a=this._applyPrefixWithDuplicateCheck(t.title,this._prefixValue)):a=this._applyPrefixWithDuplicateCheck(t.title,this._prefixValue));let l=a;return s&&(h?this._originalTitles.find(o=>o.id===t.id)?.title.endsWith(this._defaultSuffix)?l=this._applySuffixWithDuplicateCheck(a,this._suffixValue):this._suffixValue!==this._defaultSuffix&&(l=this._applySuffixWithDuplicateCheck(a,this._suffixValue)):l=this._applySuffixWithDuplicateCheck(a,this._suffixValue)),t.title=l,this._hasNameLengthError||(this._hasNameLengthError=t.title.length>V),t}),this._loadingDefaultPrefix=!1,this._loadingDefaultSuffix=!1}_replaceStart(i,t,e){return i.startsWith(t)?`${e}${i.slice(t.length)}`:i}_replaceAtEnd(i,t,e){return i.endsWith(t)?`${i.substring(0,i.length-t.length)}${e}`:i}_applyPrefixWithDuplicateCheck(i,t){return!t||i.startsWith(t)?i:t+i}_applySuffixWithDuplicateCheck(i,t){return!t||i.endsWith(t)?i:i+t}_hasChanges(){let i=this._defaultPrefix!==this._prefixValue,t=this._defaultSuffix!==this._suffixValue;return this._displayTemplateInfos.some(e=>{let s=this._originalTitles.find(n=>n.id===e.id);return s&&s.title!==e.title})||i||t}_closeDialog(){this.open=!1}async _commitNameChanges(){if(this._hasChanges()){this._telemetry?.logEvent({category:w.DEPLOYMENTS,action:"Rename Items",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"",this.source]}),this._solutionItemsTitlesUpdating=!0;let i=this._displayTemplateInfos.reduce((t,e)=>{let s={id:e.id,title:e.title};return t.push(e.type==="Group"?$(s,this._configContextConsumer.value.userSession):S(s,this._configContextConsumer.value.userSession,void 0,{solutionOwner:this.card?.owner})),t},[]);if(this.solutionData?.templates){let t={id:this.card.id},e={...this.solutionData,titles:{prefix:this._prefixValue,suffix:this._suffixValue}};i.push(b(t,e,this._configContextConsumer.value.userSession,void 0,void 0,null,this.card?.owner))}await Promise.all(i),this._solutionItemsTitlesUpdating=!1,this.solutionItemsTitlesChanged.emit()}this._closeDialog()}};I("solution-configure-titles",x);return x},a,d,e,h)
2
+ import h from"./XAW6KPKL.js";import{c as _}from"./ZYCAAXQF.js";import e from"./ZP6VPBP4.js";import d from"./XXT542UR.js";import a from"./X5EABWHE.js";import{b as v}from"./2B4SGB3I.js";import{b as T}from"./YKQDHR27.js";import{sb as S,ta as C,tb as $,ub as b}from"./J75MHJID.js";import{a as D}from"./R67EKKSL.js";import"./BVWAUO73.js";import"./K3DQKY7V.js";import"./TEHBW75B.js";import"./ALSK2SPM.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./BMBNSJZQ.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import{b as I}from"./KIUBUHVM.js";import{E as m,F as f,G as y,I as u,h as g,i as r,q as c}from"./H5E6ISYP.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,{m:V,o:w},{a:P}])=>{var N=g`*[tabindex]:focus-visible{outline-style:solid!important;outline-width:2px!important;outline-color:var(--calcite-color-brand)!important;outline-offset:2px!important}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}.font-weight-medium{font-weight:var(--calcite-font-weight-medium)}.font-style-1{font-size:1rem;color:var(--calcite-color-text-2)}.margin-top-0{margin-top:0}.padding-top-20{padding-top:20px}.padding-bottom-2{padding-bottom:2rem}.padding-left-2{padding-left:2rem}.padding-right-2{padding-right:2rem}.padding-end-1{padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.width-full{width:100%}.justify-content-space{justify-content:space-between}`,x=class extends y{constructor(){super(...arguments),this.open=!1,this.source="Card Dropdown",this.solutionData={},this.templateInfos=[],this._saveDisabled=!1,this._displayTemplateInfos=[],this._hasNameLengthError=!1,this._nonSolutionDependencyItems=[],this._solutionItemsTitlesUpdating=!1,this._translations=D({name:"solution-configure-titles",blocking:!0}),this._configContextConsumer=T({context:v,subscribe:!0}),this._defaultPrefix="",this._defaultSuffix="",this._loadingDefaultPrefix=!1,this._loadingDefaultSuffix=!1,this._prefixRef=m(),this._prefixValue="",this._suffixRef=m(),this._suffixValue="",this._templateInfos=[],this._originalTitles=[],this.solutionConfigureTitlesBeforeClose=c(),this.solutionItemsTitlesChanged=c()}static{this.properties={card:0,open:5,source:1,solutionData:1,templateInfos:0,_saveDisabled:16,_displayTemplateInfos:16,_hasNameLengthError:16,_nonSolutionDependencyItems:16,_solutionItemsTitlesUpdating:16,_translations:16}}static{this.styles=N}async willUpdate(i){if(i.has("templateInfos")&&(this._templateInfos=JSON.parse(JSON.stringify(this.templateInfos)),this._updateTemplates()),i.has("open")){let t=i.get("open");if(this.open&&!t){await this._updatePrefixSuffix(),this._templateInfos=JSON.parse(JSON.stringify(this.templateInfos)),this._originalTitles=this._templateInfos.map(s=>({id:s.id,title:s.title})),this._updateTemplates();let e=await P(this._configContextConsumer.value.userSession,this.card);this._nonSolutionDependencyItems=e._nonSolutionDependencyItems,await this._accordionRef?.expandFirstItem()}}}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}async load(){this._updateTemplates(),await this._updatePrefixSuffix()}async _updatePrefixSuffix(){this.solutionData=await C(this.card.id,this._configContextConsumer.value.userSession),this.solutionData.titles?.prefix&&(this._loadingDefaultPrefix=!0,this._defaultPrefix=this.solutionData.titles.prefix,this._prefixValue=this.solutionData.titles.prefix),this.solutionData.titles?.suffix&&(this._loadingDefaultSuffix=!0,this._defaultSuffix=this.solutionData.titles.suffix,this._suffixValue=this.solutionData.titles.suffix)}render(){return r`<calcite-dialog .heading=${this.card.title} modal @calciteDialogBeforeClose=${()=>{this.solutionConfigureTitlesBeforeClose.emit()}} .open=${this.open} outside-close-disabled width=l>${this._getPrefixSuffixControls()}${this._getAccordion()}${this._getDialogButtons()}</calcite-dialog>`}_getPrefixSuffixControls(){let i=_(this._prefixValue),t=this._hasNameLengthError&&this._prefixValue.length>0,e=i.errorType!=="special-character",s=!t,n=e?"display-none":"",h=s?"display-none":"",a=e&&s?"valid":"invalid",l=_(this._suffixValue),o=this._hasNameLengthError&&this._suffixValue.length>0,p=l.errorType!=="special-character",d=!o,E=p?"display-none":"",W=d?"display-none":"",k=p&&d?"valid":"invalid";return this._saveDisabled=!e||!s||!p||!d||!this._hasChanges(),r`<div class="display-flex flex-direction-column padding-left-2 padding-right-2 padding-top-20"><calcite-label scale=l class="font-weight-medium"><span tabindex=0>${this._translations.configureTitlesDialogHeader}</span></calcite-label><p class="font-style-1 margin-top-0" tabindex=0>${this._translations.addPrefixOrSuffixToItems}</p><div class="display-flex flex-direction-row justify-content-space"><calcite-label class="width-full padding-end-1" scale=l>${this._translations.prefixToAddToItems}<calcite-input clearable @blur=${this._prefixInput} @input=${this._prefixInput} .placeholder=${this._translations.enterPrefixPlaceholder} .status=${a} .value=${this._prefixValue} ${f(this._prefixRef)}></calcite-input><calcite-input-message class=${u(n)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixCharsError}</calcite-input-message><calcite-input-message class=${u(h)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixLengthError}</calcite-input-message></calcite-label><calcite-label class="width-full" scale=l>${this._translations.suffixToAddToItems}<calcite-input clearable @blur=${this._suffixInput} @input=${this._suffixInput} .placeholder=${this._translations.enterSuffixPlaceholder} .status=${k} .value=${this._suffixValue} ${f(this._suffixRef)}></calcite-input><calcite-input-message class=${u(E)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixCharsError}</calcite-input-message><calcite-input-message class=${u(W)} icon=exclamation-mark-triangle status=invalid>${this._translations.invalidPrefixOrSuffixLengthError}</calcite-input-message></calcite-label></div></div>`}_getAccordion(){let i=[...new Set(this._nonSolutionDependencyItems.map(t=>t.controlItemId))];return r`<div class="display-flex flex-direction-column padding-left-2 padding-right-2 padding-bottom-2"><p class="font-style-1 margin-top-0">${this._translations.previewTheChanges}</p><solution-item-accordion .itemRelationshipDependencies=${i} list-selection-mode=multiple .reuseWarning=${this._translations.itemDependencyReuseWarning} .templateInfos=${this._displayTemplateInfos} .typeKeywords=${this.card?.typeKeywords} usage-context=rename ${f(async t=>{t&&(this._accordionRef=t)})}></solution-item-accordion></div>`}_getDialogButtons(){return r`<div slot=footer-end><calcite-button appearance=outline class="padding-end-1-2" kind=brand @click=${this._closeDialog}>${this._translations.cancelTheDialog}</calcite-button><calcite-button .disabled=${this._saveDisabled} kind=brand .loading=${this._solutionItemsTitlesUpdating} @click=${this._commitNameChanges}>${this._translations.applyChangesAndCloseTheDialog}</calcite-button></div>`}_prefixInput(){clearTimeout(this._textInputTimeout),this._textInputTimeout=setTimeout(()=>{this._prefixValue=this._prefixRef.value?.value||"",this._updateTemplates()},500)}_suffixInput(){clearTimeout(this._textInputTimeout),this._textInputTimeout=setTimeout(()=>{this._suffixValue=this._suffixRef.value?.value||"",this._updateTemplates()},500)}_updateTemplates(){this._templateInfos=this._templateInfos.map(t=>(this._loadingDefaultPrefix&&t.title.startsWith(this._prefixValue)&&(t.title=this._replaceStart(t.title,this._prefixValue,"")),this._loadingDefaultSuffix&&t.title.endsWith(this._suffixValue)&&(t.title=this._replaceAtEnd(t.title,this._suffixValue,"")),t));let i=JSON.parse(JSON.stringify(this._templateInfos));this._hasNameLengthError=!1,this._displayTemplateInfos=i.map(t=>{let e=this._prefixValue!=="",s=this._suffixValue!=="",n=this._defaultPrefix!=="",h=this._defaultSuffix!=="",a=t.title;e&&(n?this._originalTitles.find(o=>o.id===t.id)?.title.startsWith(this._defaultPrefix)?a=this._applyPrefixWithDuplicateCheck(t.title,this._prefixValue):this._prefixValue!==this._defaultPrefix&&(a=this._applyPrefixWithDuplicateCheck(t.title,this._prefixValue)):a=this._applyPrefixWithDuplicateCheck(t.title,this._prefixValue));let l=a;return s&&(h?this._originalTitles.find(o=>o.id===t.id)?.title.endsWith(this._defaultSuffix)?l=this._applySuffixWithDuplicateCheck(a,this._suffixValue):this._suffixValue!==this._defaultSuffix&&(l=this._applySuffixWithDuplicateCheck(a,this._suffixValue)):l=this._applySuffixWithDuplicateCheck(a,this._suffixValue)),t.title=l,this._hasNameLengthError||(this._hasNameLengthError=t.title.length>V),t}),this._loadingDefaultPrefix=!1,this._loadingDefaultSuffix=!1}_replaceStart(i,t,e){return i.startsWith(t)?`${e}${i.slice(t.length)}`:i}_replaceAtEnd(i,t,e){return i.endsWith(t)?`${i.substring(0,i.length-t.length)}${e}`:i}_applyPrefixWithDuplicateCheck(i,t){return!t||i.startsWith(t)?i:t+i}_applySuffixWithDuplicateCheck(i,t){return!t||i.endsWith(t)?i:i+t}_hasChanges(){let i=this._defaultPrefix!==this._prefixValue,t=this._defaultSuffix!==this._suffixValue;return this._displayTemplateInfos.some(e=>{let s=this._originalTitles.find(n=>n.id===e.id);return s&&s.title!==e.title})||i||t}_closeDialog(){this.open=!1}async _commitNameChanges(){if(this._hasChanges()){this._telemetry?.logEvent({category:w.DEPLOYMENTS,action:"Rename Items",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"",this.source]}),this._solutionItemsTitlesUpdating=!0;let i=this._displayTemplateInfos.reduce((t,e)=>{let s={id:e.id,title:e.title};return t.push(e.type==="Group"?$(s,this._configContextConsumer.value.userSession):S(s,this._configContextConsumer.value.userSession,void 0,{solutionOwner:this.card?.owner})),t},[]);if(this.solutionData?.templates){let t={id:this.card.id},e={...this.solutionData,titles:{prefix:this._prefixValue,suffix:this._suffixValue}};i.push(b(t,e,this._configContextConsumer.value.userSession,void 0,void 0,null,this.card?.owner))}await Promise.all(i),this._solutionItemsTitlesUpdating=!1,this.solutionItemsTitlesChanged.emit()}this._closeDialog()}};I("solution-configure-titles",x);return x},a,d,e,h)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import i from"./NPOHA56R.js";import h from"./73YLLTLN.js";import e from"./JWGDDEVT.js";import d from"./XXT542UR.js";import a from"./X5EABWHE.js";import{a as _,b as v}from"./2B4SGB3I.js";import{b as g}from"./YKQDHR27.js";import{la as w,ra as y}from"./J75MHJID.js";import{a as x}from"./R67EKKSL.js";import{b}from"./KIUBUHVM.js";import{G as u,I as f,K as c,h as m,i as t,q as r}from"./H5E6ISYP.js";export default $arcgis.t(([{r:$},{c:C},{a:k,c:D,n:l},{a:S},{d:p,h:I,i:T}])=>{var O=m`.negative-tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.font-weight-med{font-weight:var(--calcite-font-weight-medium)}.font-weight-bold{font-weight:var(--calcite-font-weight-bold)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.font-1{font-size:var(--calcite-spacing-lg)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}@container (min-width: 801px){.font-size-override .display-flex.flex-direction-row>.image-width+.display-flex{flex:1;min-width:0}}.icon-color{color:var(--calcite-color-text-3)}.padding-bottom-lg{padding-bottom:var(--calcite-spacing-lg)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.align-items-center{align-items:center}.align-items-start{align-items:start}.font-size-override{--calcite-font-size--2: var(--calcite-font-size--1)}.background-color-1{background-color:var(--calcite-color-surface-2)}.background-color-2{background-color:var(--calcite-color-surface-3)}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.position-relative{position:relative}.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-surface-3);background-color:var(--calcite-color-surface-3)}.panel-background-1{--calcite-panel-background-color: var(--calcite-color-surface-2);--calcite-shell-panel-background-color: var(--calcite-color-surface-2)}.border-none{border:none}.font-color-1{color:var(--calcite-color-text-1)}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.bottom-border{border-bottom:solid var(--calcite-spacing-px);color:var(--calcite-color-border-1)}.margin-start-end-xxl{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}.margin-start-end-lg{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-top-xxl{margin-top:var(--calcite-spacing-xxl)}.justify-between{justify-content:space-between}.items-baseline{align-items:baseline}.padding-xxl{padding:var(--calcite-spacing-xxl)}.padding-lg{padding:var(--calcite-spacing-lg)}.padding-top-xxl{padding-top:var(--calcite-spacing-xxl)}.padding-top-lg{padding-top:var(--calcite-spacing-lg)}.padding-bottom-xxl{padding-bottom:var(--calcite-spacing-xxl)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}.padding-start-sm{padding-inline-start:var(--calcite-spacing-sm)}.padding-start-xxl{padding-inline-start:var(--calcite-spacing-xxl)}.image-width{width:300px;flex-grow:0;flex-shrink:0}@container (max-width: 1280px){.image-width{flex-grow:0;flex-shrink:1}}img{max-width:100%;height:auto;overflow-clip-margin:content-box;overflow:clip;display:block}.margin-xl{margin:var(--calcite-spacing-xl)}.line-height-1{line-height:1.1}.line-height-xxl{line-height:var(--calcite-line-height-xxl)}@container (max-width: 800px){.font-size-override .display-flex.flex-direction-row{flex-direction:column!important}.image-width{width:100%!important;max-width:100%!important;margin:0!important;padding:var(--calcite-spacing-lg)!important;padding-bottom:0!important;box-sizing:border-box}.image-width img{width:100%;max-width:100%}.margin-xl{margin:0!important}.image-width+.display-flex{padding-inline-start:var(--calcite-spacing-lg)!important;padding-inline-end:var(--calcite-spacing-lg)!important}.padding-start-sm{padding-inline-start:0!important}.title-font{padding-inline-start:0!important;padding-top:var(--calcite-spacing-lg)!important;padding-bottom:var(--calcite-spacing-lg)!important}.align-items-start.padding-bottom-xxl,.padding-bottom-xxl.padding-start-sm{padding-bottom:var(--calcite-spacing-lg)!important}}calcite-shell-panel{--calcite-shell-panel-max-width: 20rem;--calcite-shell-panel-width: 24vw}calcite-shell{block-size:unset}.solution-deployed-action{--calcite-color-focus: initial}.skeleton-loader{background:linear-gradient(90deg,var(--calcite-color-foreground-1) 0%,var(--calcite-color-foreground-2) 50%,var(--calcite-color-foreground-1) 100%);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;border-radius:var(--calcite-border-radius)}.skeleton-folder{height:1.5rem;width:12rem;border-radius:var(--calcite-border-radius)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}`,h=class extends u{constructor(){super(),this.diagramKey="",this.open=!1,this.templateInfos=[],this._accordionLoading=!1,this._configureTitlesOpen=!1,this._deleteDialogOpen=!1,this._hasNewVersion=!1,this._isDiagramOpen=!1,this._isNameConflict=!1,this._invalidNameMessage="",this._showFailedAlert=!1,this._showItemUpdateLoading=!1,this.isMobile=!1,this._templateInfoGraph=[],this._thumbnailUrl="",this._folderName="",this._folderId=null,this._folderLoading=!1,this._translations=x({name:"solution-deployed-card-panel",blocking:!0}),this._configContextConsumer=g({context:v,subscribe:!0,callback:async e=>{e&&(this._isOrgAdmin=D(e.authentication),this._user=e.authentication?.Portal?.user)}}),this._isOrgAdmin=!1,this._isMobileContextConsumer=g({context:_,subscribe:!0,callback:e=>this.isMobile=e}),this.navTabSelected=r(),this.forceSelectTab=r(),this.sortTypeChanged=r(),this.solutionConfigureDialogClose=r(),this._nonSolutionDependencyItems=[],this._openFolder=e=>{e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Folder",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]});let i=this._configContextConsumer.value?.orgUrl;if(!i)return;let a=this._configContextConsumer.value?.userSession?.username,n=this.card?.owner===a,o;if(n){let s=this._folderId||this.card?.owner;o=`${i}/home/content.html?folder=${s}`}else this._folderId?o=`${i}/home/content.html?user=${this.card?.owner}&folder=${this._folderId}`:o=`${i}/home/content.html?user=${this.card?.owner}&folder=${this.card?.owner}`;window.open(o,"_blank")},this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"deployAppTabSelected",this._handleDeployAppTabSelected),this.listenOn(window,"displayDeployedCard",()=>{$({kind:"success",icon:"check-circle",title:this._translations.deploySuccessAlert.replace("{{solutionTitle}}",this.card?.title??""),message:"",autoClose:!0,autoCloseDuration:"medium"})}),this.listenOn(window,"sessionRefreshed",e=>{this._updateThumbnailToken(e.detail)})}static{this.properties={card:0,cardRef:1,diagramKey:1,open:5,templateInfos:0,_accordionLoading:16,_configureTitlesOpen:16,_deleteDialogOpen:16,_hasNewVersion:16,_isDiagramOpen:16,_isNameConflict:16,_invalidNameMessage:16,_showFailedAlert:16,_showItemUpdateLoading:16,isMobile:16,_templateInfoGraph:16,_thumbnailUrl:16,_folderName:16,_folderId:16,_folderLoading:16,_translations:16,_nonSolutionDependencyItems:16}}static{this.styles=O}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}async load(){if(this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value),this.card?.thumbnailUrl){let e=this._configContextConsumer.value?.userSession,i=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400");this._thumbnailUrl=`${i}&token=${e?.token}`}}willUpdate(e){if(e.has("card")){let i=this._configContextConsumer.value?.userSession,a=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400");this._thumbnailUrl=`${a}&token=${i?.token}`,this._folderLoading=!0,this._folderName="",this._folderId=null}}render(){return this.isMobile?t`<calcite-shell class="position-relative background-color-2"><calcite-panel class="panel-background-2 border-none" slot=panel-bottom><div class="background-color-2 padding-top-lg">${this._getSolutionPanel()}</div><div class="background-color-1 margin-top-xxl">${this._getButtons()}${this._getOwnerSection()}<div class="bottom-border margin-start-end-xxl"></div>${this._getFolderSection()}<div class="bottom-border margin-start-end-xxl"></div>${this._getSolutionVersionCard()}</div>${this._getSolutionContents()}</calcite-panel></calcite-shell>`:t`<calcite-shell class="position-relative background-color-2"><calcite-panel class="padding-end-xxl panel-background-2 border-none" slot=panel-bottom><div class="display-flex flex-direction-column overflow-hidden"><div class="background-color-2 padding-top-xxl">${this._getSolutionPanel()}</div>${this._getSolutionContents()}</div></calcite-panel><calcite-shell-panel class="panel-background-1" slot=panel-end>${this._getButtons()}${this._getOwnerSection()}<div class="bottom-border margin-start-end-xxl"></div>${this._getFolderSection()}<div class="bottom-border margin-start-end-xxl"></div>${this._getSolutionVersionCard()}</calcite-shell-panel>${this._renderDiagramDialog()}${this._getConfigureTitlesDialog()}${this._getDeleteDialog()}</calcite-shell>`}async _deployedCardSelected(e){let i=e.detail;this.card=i.card,this.cardRef=i.cardRef,this.templateInfos=[],this._accordionLoading=!0,this.templateInfos=await this._getTemplates(),this._accordionLoading=!1;let a=await S(this._configContextConsumer.value.userSession,this.card);this._nonSolutionDependencyItems=a._nonSolutionDependencyItems;let n=I(this._configContextConsumer.value?.allCards||[],this.card.deployCommonId),o=!1;if(n){let s=p(n),d=p(this.card);o=s>d}this._hasNewVersion=o,this._folderLoading=!0,this._folderName="",this._folderId=null,await this._fetchFolderInfo(),this._folderLoading=!1}_handleDeployAppTabSelected(e){e.detail==="deployed-card"&&this.sortTypeChanged.emit("")}_getButtons(){let e=this._configContextConsumer.value?.userSession?.username,i=this._configContextConsumer.value?.authentication?.CanUpdateSolution,a=this._configContextConsumer.value?.authentication?.CanDeleteSolution&&this._configContextConsumer.value?.authentication?.CanUpdateSolution,n=this.card?.owner===e||this._isOrgAdmin||i,o=this.card?.owner===e||this._isOrgAdmin||a,s=n?"display-none":"",d=this.isMobile?"padding-lg":"padding-xxl";return t`<div class=${`display-flex flex-direction-column ${d}`}>${!this.isMobile&&t`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._openDiagram}>${this._translations.viewTheDiagram}</calcite-button>`||""}<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._viewDocumentation}>${this._translations.solutionDocumentation}</calcite-button><calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._openItemDetails}>${this._translations.itemDetails}</calcite-button>${n&&!this.isMobile&&t`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" id=solution-configure-titles-button kind=neutral @click=${this._openConfigureTitlesDialog}>${this._translations.updateTitles}</calcite-button><calcite-tooltip class=${f(s)} overlay-positioning=fixed reference-element=solution-configure-titles-button><span>${this._translations.mustOwnSolution}</span></calcite-tooltip>`||""}${o&&!this.isMobile&&t`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-button>`||""}</div>`}_openConfigureTitlesDialog(){this._configureTitlesOpen=!0}_getConfigureTitlesDialog(){return this._configureTitlesOpen?t`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async()=>{this.templateInfos=await this._getTemplates(),this._configureTitlesOpen=!1}} @solutionItemsTitlesChanged=${async()=>{this.templateInfos=await this._getTemplates()}} .open=${this._configureTitlesOpen} source="Details Page" .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_viewDocumentation(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Help",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]}),window.open(this.card.learnMoreUrl,"_blank")}_openItemDetails(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Item Details",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]}),window.open(this.card.itemUrl,"_blank")}_getOwnerSection(){if(!this._configContextConsumer?.value)return;let e=this.isMobile?"margin-start-end-lg":"margin-start-end-xxl";return t`<div class=${`display-flex padding-bottom-xxl ${e} flex-direction-column`}><div class="display-flex justify-between items-baseline"><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l tabindex=0>${this._translations.aboutYourSolutionOwner}</calcite-label></div><solution-user-avatar .fullname=${this._user?.username===this.card?.owner?this._user?.fullName:void 0} .lookupProfile=${this._user?.username!==this.card?.owner} .thumbnailUrl=${this._user?.username===this.card?.owner?this._user?.thumbnailUrl:void 0} .username=${this.card?.owner}></solution-user-avatar></div>`}async _openDiagram(e){e.stopPropagation();let i=await this._getTemplates();i&&(this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"View Diagram",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]}),this._templateInfoGraph=i,this._isDiagramOpen=!0)}async _getTemplates(){return this.cardRef?await this.cardRef.getTemplates():this.card?await k(this.card.id,this._configContextConsumer.value.userSession):void 0}async _fetchFolderInfo(){if(this.card?.id)try{let e=this._configContextConsumer.value?.userSession;if(!e)return;let i=await y(this.card.id,e);if(this._folderId=i.ownerFolder??null,this._folderId){let a=await w(this.card.owner,this._folderId,e);this._folderName=a?.currentFolder?.title||this._folderId}else this._folderName=this.card.owner||"Root"}catch(e){console.error("Error fetching folder info:",e),this._folderId=null,this._folderName=""}}_getFolderSection(){let e=this.isMobile?"padding-lg":"padding-xxl",i=this._folderId?"folder":"home";return t`<div class=${`${e} display-flex flex-direction-column`}><div class="display-flex justify-between items-baseline"><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l slot=heading tabindex=0>${this._translations.folder}</calcite-label><calcite-button appearance=transparent .disabled=${this._folderLoading} kind=neutral icon-start=launch2 @click=${this._openFolder}>${this._translations.openFolder}</calcite-button></div><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center">${this._folderLoading?t`<div class="skeleton-loader skeleton-folder"></div>`:t`<calcite-icon class="icon-color" .icon=${i} scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="tabbing-offset" tabindex=0>${this._folderName||"Root"}</span></div>`}</div></div></div>`}_getSolutionVersionCard(){let e=this._hasNewVersion?this._translations.newVersionAvailable:this._translations.youHaveTheLatestVersion,i=this.isMobile?"padding-lg":"padding-xxl";return t`<div class=${`${i} display-flex flex-direction-column`}><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l slot=heading tabindex=0>${this._translations.solutionVersion.replace("{{version}}",this.card?.deployVersion||"")}</calcite-label><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center"><calcite-icon class="icon-color" icon=clock-forward scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="tabbing-offset" tabindex=0>${e}</span></div></div></div>${this._hasNewVersion?t`<calcite-button appearance=outline class="padding-top-lg solution-deployed-action" kind=neutral @click=${this._openNewVersionSolution} width=full>${this._translations.learnMoreNewVersion}</calcite-button>`:""}</div>`}async _openNewVersionSolution(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"View Latest Version",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""]}),await new Promise(a=>setTimeout(a,100));let i=T(this._configContextConsumer.value.allCards,this.card.deployCommonId);i&&this.forceSelectTab.emit({tabType:"details",tabTitleOrId:i})}_getSolutionPanel(){return t`<calcite-panel class="font-size-override panel-background-1"><div class="display-flex flex-direction-row"><div class="image-width margin-xl"><img alt=${this.card?.title??c} src=${this._thumbnailUrl??c}></div><div class="display-flex flex-direction-column"><h1 class="title-font margin-block-start-end-0 padding-end-xxl padding-start-sm padding-top-xxl padding-bottom-xxl line-height-1 negative-tabbing-offset" tabindex=0>${this.card?.title}</h1><div class="display-flex flex-direction-column padding-bottom-xxl padding-start-sm"><div class="display-flex align-items-start padding-bottom-xxl"><div class="font-1 padding-end-1 line-height-xxl negative-tabbing-offset" tabindex=0>${this.card?.snippet}</div></div><div class="display-flex"><div class="display-flex"><calcite-label class="label-override icon-color tabbing-offset" layout=inline tabindex=0><calcite-icon class="icon-color" icon=projects scale=s></calcite-icon>${this._translations.aboutYourSolutionDeployedDate.replace("{{deployedDate}}",this.card?.created||"")}</calcite-label></div></div></div></div></div></calcite-panel>`}_getSolutionContents(){let e=[...new Set(this._nonSolutionDependencyItems.map(i=>i.controlItemId))];return t`<calcite-panel class="panel-background-1 padding-top-xxl"><calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded><div class="margin-block-start-end-0 heading-font " slot=content-start>${this._translations.solutionsContentsAndCount.replace("{{numberOfSolutions}}",this.templateInfos.length.toString())}</div><div class="overflow-auto">${this._accordionLoading?t`<calcite-loader .label=${this._translations.loadingText} scale=m></calcite-loader>`:t`<solution-item-accordion .itemRelationshipDependencies=${e} .listSelectionMode=${e.length>0?"multiple":"single"} .reuseWarning=${this._translations.itemUsedInOtherSolutions} .templateInfos=${this.templateInfos} .typeKeywords=${this.card?.typeKeywords}></solution-item-accordion>`}</div></calcite-accordion-item></calcite-accordion></calcite-panel>`}_getDeleteDialog(){return this._deleteDialogOpen?t`<solution-delete-dialog .card=${this.card} @solutionDeleted=${()=>setTimeout(()=>this.navTabSelected.emit({tabType:"deployments"}),100)} @solutionDeleteDialogBeforeClose=${()=>{this._deleteDialogOpen=!1}} .open=${this._deleteDialogOpen} source="Details Page"></solution-delete-dialog>`:""}_renderDiagramDialog(){return this._isDiagramOpen?t`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramOfTheSolution.replace("{{solution}}",this.card?.title??"")} id=${this._translations.diagramOfTheSolution.replace("{{solution}}",this.card?.title??"")??c} modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled scale=m width=l><solution-item-diagram .diagramKey=${this.diagramKey!==""?this.diagramKey:this._configContextConsumer.value?.diagramKey??""} .templateInfoGraph=${this._templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>`:""}async _deleteSolution(){this._deleteDialogOpen=!0}_updateThumbnailToken(e){this._thumbnailUrl!==""&&(this._thumbnailUrl=C(this._thumbnailUrl,e))}};b("solution-deployed-card-panel",h);return h},a,d,e,h,i)
2
+ import i from"./NPOHA56R.js";import h from"./XAW6KPKL.js";import e from"./ZP6VPBP4.js";import d from"./XXT542UR.js";import a from"./X5EABWHE.js";import{a as _,b as v}from"./2B4SGB3I.js";import{b as g}from"./YKQDHR27.js";import{la as w,ra as y}from"./J75MHJID.js";import{a as x}from"./R67EKKSL.js";import{b}from"./KIUBUHVM.js";import{G as u,I as f,K as c,h as m,i as t,q as r}from"./H5E6ISYP.js";export default $arcgis.t(([{r:$},{c:C},{a:k,c:D,o:l},{a:S},{d:p,h:I,i:T}])=>{var O=m`.negative-tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:-2px}.tabbing-offset[tabindex]:focus-visible{outline:2px solid var(--calcite-color-brand);outline-offset:2px}.font-weight-med{font-weight:var(--calcite-font-weight-medium)}.font-weight-bold{font-weight:var(--calcite-font-weight-bold)}.heading-font{font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium)}.title-font{font-size:1.8rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}.font-1{font-size:var(--calcite-spacing-lg)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.flex-direction-row{flex-direction:row}@container (min-width: 801px){.font-size-override .display-flex.flex-direction-row>.image-width+.display-flex{flex:1;min-width:0}}.icon-color{color:var(--calcite-color-text-3)}.padding-bottom-lg{padding-bottom:var(--calcite-spacing-lg)}.item-padding{--calcite-internal-accordion-item-padding: var(--calcite-spacing-xl)}.align-items-center{align-items:center}.align-items-start{align-items:start}.font-size-override{--calcite-font-size--2: var(--calcite-font-size--1)}.background-color-1{background-color:var(--calcite-color-surface-2)}.background-color-2{background-color:var(--calcite-color-surface-3)}.label-override{--calcite-label-margin-bottom: var(--calcite-spacing-none)}.position-relative{position:relative}.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}.margin-block-start-end-0{margin-block-start:var(--calcite-spacing-none);margin-block-end:var(--calcite-spacing-none)}.panel-background-2{--calcite-panel-background-color: var(--calcite-color-surface-3);background-color:var(--calcite-color-surface-3)}.panel-background-1{--calcite-panel-background-color: var(--calcite-color-surface-2);--calcite-shell-panel-background-color: var(--calcite-color-surface-2)}.border-none{border:none}.font-color-1{color:var(--calcite-color-text-1)}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.bottom-border{border-bottom:solid var(--calcite-spacing-px);color:var(--calcite-color-border-1)}.margin-start-end-xxl{margin-inline-start:var(--calcite-spacing-xxl);margin-inline-end:var(--calcite-spacing-xxl)}.margin-start-end-lg{margin-inline-start:var(--calcite-spacing-lg);margin-inline-end:var(--calcite-spacing-lg)}.margin-top-xxl{margin-top:var(--calcite-spacing-xxl)}.justify-between{justify-content:space-between}.items-baseline{align-items:baseline}.padding-xxl{padding:var(--calcite-spacing-xxl)}.padding-lg{padding:var(--calcite-spacing-lg)}.padding-top-xxl{padding-top:var(--calcite-spacing-xxl)}.padding-top-lg{padding-top:var(--calcite-spacing-lg)}.padding-bottom-xxl{padding-bottom:var(--calcite-spacing-xxl)}.padding-end-1{padding-inline-end:var(--calcite-spacing-lg)}.padding-end-xxl{padding-inline-end:var(--calcite-spacing-xxl)}.padding-start-sm{padding-inline-start:var(--calcite-spacing-sm)}.padding-start-xxl{padding-inline-start:var(--calcite-spacing-xxl)}.image-width{width:300px;flex-grow:0;flex-shrink:0}@container (max-width: 1280px){.image-width{flex-grow:0;flex-shrink:1}}img{max-width:100%;height:auto;overflow-clip-margin:content-box;overflow:clip;display:block}.margin-xl{margin:var(--calcite-spacing-xl)}.line-height-1{line-height:1.1}.line-height-xxl{line-height:var(--calcite-line-height-xxl)}@container (max-width: 800px){.font-size-override .display-flex.flex-direction-row{flex-direction:column!important}.image-width{width:100%!important;max-width:100%!important;margin:0!important;padding:var(--calcite-spacing-lg)!important;padding-bottom:0!important;box-sizing:border-box}.image-width img{width:100%;max-width:100%}.margin-xl{margin:0!important}.image-width+.display-flex{padding-inline-start:var(--calcite-spacing-lg)!important;padding-inline-end:var(--calcite-spacing-lg)!important}.padding-start-sm{padding-inline-start:0!important}.title-font{padding-inline-start:0!important;padding-top:var(--calcite-spacing-lg)!important;padding-bottom:var(--calcite-spacing-lg)!important}.align-items-start.padding-bottom-xxl,.padding-bottom-xxl.padding-start-sm{padding-bottom:var(--calcite-spacing-lg)!important}}calcite-shell-panel{--calcite-shell-panel-max-width: 20rem;--calcite-shell-panel-width: 24vw}calcite-shell{block-size:unset}.solution-deployed-action{--calcite-color-focus: initial}.skeleton-loader{background:linear-gradient(90deg,var(--calcite-color-foreground-1) 0%,var(--calcite-color-foreground-2) 50%,var(--calcite-color-foreground-1) 100%);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite;border-radius:var(--calcite-border-radius)}.skeleton-folder{height:1.5rem;width:12rem;border-radius:var(--calcite-border-radius)}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}`,h=class extends u{constructor(){super(),this.diagramKey="",this.open=!1,this.templateInfos=[],this._accordionLoading=!1,this._configureTitlesOpen=!1,this._deleteDialogOpen=!1,this._hasNewVersion=!1,this._isDiagramOpen=!1,this._isNameConflict=!1,this._invalidNameMessage="",this._showFailedAlert=!1,this._showItemUpdateLoading=!1,this.isMobile=!1,this._templateInfoGraph=[],this._thumbnailUrl="",this._folderName="",this._folderId=null,this._folderLoading=!1,this._translations=x({name:"solution-deployed-card-panel",blocking:!0}),this._configContextConsumer=g({context:v,subscribe:!0,callback:async e=>{e&&(this._isOrgAdmin=D(e.authentication),this._user=e.authentication?.Portal?.user)}}),this._isOrgAdmin=!1,this._isMobileContextConsumer=g({context:_,subscribe:!0,callback:e=>this.isMobile=e}),this.navTabSelected=r(),this.forceSelectTab=r(),this.sortTypeChanged=r(),this.solutionConfigureDialogClose=r(),this._nonSolutionDependencyItems=[],this._openFolder=e=>{e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Folder",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]});let i=this._configContextConsumer.value?.orgUrl;if(!i)return;let a=this._configContextConsumer.value?.userSession?.username,n=this.card?.owner===a,o;if(n){let s=this._folderId||this.card?.owner;o=`${i}/home/content.html?folder=${s}`}else this._folderId?o=`${i}/home/content.html?user=${this.card?.owner}&folder=${this._folderId}`:o=`${i}/home/content.html?user=${this.card?.owner}&folder=${this.card?.owner}`;window.open(o,"_blank")},this.listenOn(window,"deployedCardSelected",this._deployedCardSelected),this.listenOn(window,"deployAppTabSelected",this._handleDeployAppTabSelected),this.listenOn(window,"displayDeployedCard",()=>{$({kind:"success",icon:"check-circle",title:this._translations.deploySuccessAlert.replace("{{solutionTitle}}",this.card?.title??""),message:"",autoClose:!0,autoCloseDuration:"medium"})}),this.listenOn(window,"sessionRefreshed",e=>{this._updateThumbnailToken(e.detail)})}static{this.properties={card:0,cardRef:1,diagramKey:1,open:5,templateInfos:0,_accordionLoading:16,_configureTitlesOpen:16,_deleteDialogOpen:16,_hasNewVersion:16,_isDiagramOpen:16,_isNameConflict:16,_invalidNameMessage:16,_showFailedAlert:16,_showItemUpdateLoading:16,isMobile:16,_templateInfoGraph:16,_thumbnailUrl:16,_folderName:16,_folderId:16,_folderLoading:16,_translations:16,_nonSolutionDependencyItems:16}}static{this.styles=O}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}async load(){if(this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value),this.card?.thumbnailUrl){let e=this._configContextConsumer.value?.userSession,i=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400");this._thumbnailUrl=`${i}&token=${e?.token}`}}willUpdate(e){if(e.has("card")){let i=this._configContextConsumer.value?.userSession,a=this.card?.thumbnailUrl.replace(/w=\d+/,"w=400");this._thumbnailUrl=`${a}&token=${i?.token}`,this._folderLoading=!0,this._folderName="",this._folderId=null}}render(){return this.isMobile?t`<calcite-shell class="position-relative background-color-2"><calcite-panel class="panel-background-2 border-none" slot=panel-bottom><div class="background-color-2 padding-top-lg">${this._getSolutionPanel()}</div><div class="background-color-1 margin-top-xxl">${this._getButtons()}${this._getOwnerSection()}<div class="bottom-border margin-start-end-xxl"></div>${this._getFolderSection()}<div class="bottom-border margin-start-end-xxl"></div>${this._getSolutionVersionCard()}</div>${this._getSolutionContents()}</calcite-panel></calcite-shell>`:t`<calcite-shell class="position-relative background-color-2"><calcite-panel class="padding-end-xxl panel-background-2 border-none" slot=panel-bottom><div class="display-flex flex-direction-column overflow-hidden"><div class="background-color-2 padding-top-xxl">${this._getSolutionPanel()}</div>${this._getSolutionContents()}</div></calcite-panel><calcite-shell-panel class="panel-background-1" slot=panel-end>${this._getButtons()}${this._getOwnerSection()}<div class="bottom-border margin-start-end-xxl"></div>${this._getFolderSection()}<div class="bottom-border margin-start-end-xxl"></div>${this._getSolutionVersionCard()}</calcite-shell-panel>${this._renderDiagramDialog()}${this._getConfigureTitlesDialog()}${this._getDeleteDialog()}</calcite-shell>`}async _deployedCardSelected(e){let i=e.detail;this.card=i.card,this.cardRef=i.cardRef,this.templateInfos=[],this._accordionLoading=!0,this.templateInfos=await this._getTemplates(),this._accordionLoading=!1;let a=await S(this._configContextConsumer.value.userSession,this.card);this._nonSolutionDependencyItems=a._nonSolutionDependencyItems;let n=I(this._configContextConsumer.value?.allCards||[],this.card.deployCommonId),o=!1;if(n){let s=p(n),d=p(this.card);o=s>d}this._hasNewVersion=o,this._folderLoading=!0,this._folderName="",this._folderId=null,await this._fetchFolderInfo(),this._folderLoading=!1}_handleDeployAppTabSelected(e){e.detail==="deployed-card"&&this.sortTypeChanged.emit("")}_getButtons(){let e=this._configContextConsumer.value?.userSession?.username,i=this._configContextConsumer.value?.authentication?.CanUpdateSolution,a=this._configContextConsumer.value?.authentication?.CanDeleteSolution&&this._configContextConsumer.value?.authentication?.CanUpdateSolution,n=this.card?.owner===e||this._isOrgAdmin||i,o=this.card?.owner===e||this._isOrgAdmin||a,s=n?"display-none":"",d=this.isMobile?"padding-lg":"padding-xxl";return t`<div class=${`display-flex flex-direction-column ${d}`}>${!this.isMobile&&t`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._openDiagram}>${this._translations.viewTheDiagram}</calcite-button>`||""}<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._viewDocumentation}>${this._translations.solutionDocumentation}</calcite-button><calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._openItemDetails}>${this._translations.itemDetails}</calcite-button>${n&&!this.isMobile&&t`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" id=solution-configure-titles-button kind=neutral @click=${this._openConfigureTitlesDialog}>${this._translations.updateTitles}</calcite-button><calcite-tooltip class=${f(s)} overlay-positioning=fixed reference-element=solution-configure-titles-button><span>${this._translations.mustOwnSolution}</span></calcite-tooltip>`||""}${o&&!this.isMobile&&t`<calcite-button appearance=outline class="padding-bottom-lg solution-deployed-action" kind=neutral @click=${this._deleteSolution}>${this._translations.deleteSolution}</calcite-button>`||""}</div>`}_openConfigureTitlesDialog(){this._configureTitlesOpen=!0}_getConfigureTitlesDialog(){return this._configureTitlesOpen?t`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async()=>{this.templateInfos=await this._getTemplates(),this._configureTitlesOpen=!1}} @solutionItemsTitlesChanged=${async()=>{this.templateInfos=await this._getTemplates()}} .open=${this._configureTitlesOpen} source="Details Page" .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_viewDocumentation(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Help",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]}),window.open(this.card.learnMoreUrl,"_blank")}_openItemDetails(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"Open Item Details",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]}),window.open(this.card.itemUrl,"_blank")}_getOwnerSection(){if(!this._configContextConsumer?.value)return;let e=this.isMobile?"margin-start-end-lg":"margin-start-end-xxl";return t`<div class=${`display-flex padding-bottom-xxl ${e} flex-direction-column`}><div class="display-flex justify-between items-baseline"><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l tabindex=0>${this._translations.aboutYourSolutionOwner}</calcite-label></div><solution-user-avatar .fullname=${this._user?.username===this.card?.owner?this._user?.fullName:void 0} .lookupProfile=${this._user?.username!==this.card?.owner} .thumbnailUrl=${this._user?.username===this.card?.owner?this._user?.thumbnailUrl:void 0} .username=${this.card?.owner}></solution-user-avatar></div>`}async _openDiagram(e){e.stopPropagation();let i=await this._getTemplates();i&&(this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"View Diagram",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Details Page"]}),this._templateInfoGraph=i,this._isDiagramOpen=!0)}async _getTemplates(){return this.cardRef?await this.cardRef.getTemplates():this.card?await k(this.card.id,this._configContextConsumer.value.userSession):void 0}async _fetchFolderInfo(){if(this.card?.id)try{let e=this._configContextConsumer.value?.userSession;if(!e)return;let i=await y(this.card.id,e);if(this._folderId=i.ownerFolder??null,this._folderId){let a=await w(this.card.owner,this._folderId,e);this._folderName=a?.currentFolder?.title||this._folderId}else this._folderName=this.card.owner||"Root"}catch(e){console.error("Error fetching folder info:",e),this._folderId=null,this._folderName=""}}_getFolderSection(){let e=this.isMobile?"padding-lg":"padding-xxl",i=this._folderId?"folder":"home";return t`<div class=${`${e} display-flex flex-direction-column`}><div class="display-flex justify-between items-baseline"><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l slot=heading tabindex=0>${this._translations.folder}</calcite-label><calcite-button appearance=transparent .disabled=${this._folderLoading} kind=neutral icon-start=launch2 @click=${this._openFolder}>${this._translations.openFolder}</calcite-button></div><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center">${this._folderLoading?t`<div class="skeleton-loader skeleton-folder"></div>`:t`<calcite-icon class="icon-color" .icon=${i} scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="tabbing-offset" tabindex=0>${this._folderName||"Root"}</span></div>`}</div></div></div>`}_getSolutionVersionCard(){let e=this._hasNewVersion?this._translations.newVersionAvailable:this._translations.youHaveTheLatestVersion,i=this.isMobile?"padding-lg":"padding-xxl";return t`<div class=${`${i} display-flex flex-direction-column`}><calcite-label class="font-weight-med label-override tabbing-offset" layout=inline scale=l slot=heading tabindex=0>${this._translations.solutionVersion.replace("{{version}}",this.card?.deployVersion||"")}</calcite-label><div class="display-flex"><div class="display-flex flex-direction-row padding-top-lg align-items-center"><calcite-icon class="icon-color" icon=clock-forward scale=m></calcite-icon><div class="display-flex flex-direction-column padding-start-xxl"><span class="tabbing-offset" tabindex=0>${e}</span></div></div></div>${this._hasNewVersion?t`<calcite-button appearance=outline class="padding-top-lg solution-deployed-action" kind=neutral @click=${this._openNewVersionSolution} width=full>${this._translations.learnMoreNewVersion}</calcite-button>`:""}</div>`}async _openNewVersionSolution(e){e.stopPropagation(),this._telemetry?.logEvent({category:l.DEPLOYMENTS,action:"View Latest Version",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||""]}),await new Promise(a=>setTimeout(a,100));let i=T(this._configContextConsumer.value.allCards,this.card.deployCommonId);i&&this.forceSelectTab.emit({tabType:"details",tabTitleOrId:i})}_getSolutionPanel(){return t`<calcite-panel class="font-size-override panel-background-1"><div class="display-flex flex-direction-row"><div class="image-width margin-xl"><img alt=${this.card?.title??c} src=${this._thumbnailUrl??c}></div><div class="display-flex flex-direction-column"><h1 class="title-font margin-block-start-end-0 padding-end-xxl padding-start-sm padding-top-xxl padding-bottom-xxl line-height-1 negative-tabbing-offset" tabindex=0>${this.card?.title}</h1><div class="display-flex flex-direction-column padding-bottom-xxl padding-start-sm"><div class="display-flex align-items-start padding-bottom-xxl"><div class="font-1 padding-end-1 line-height-xxl negative-tabbing-offset" tabindex=0>${this.card?.snippet}</div></div><div class="display-flex"><div class="display-flex"><calcite-label class="label-override icon-color tabbing-offset" layout=inline tabindex=0><calcite-icon class="icon-color" icon=projects scale=s></calcite-icon>${this._translations.aboutYourSolutionDeployedDate.replace("{{deployedDate}}",this.card?.created||"")}</calcite-label></div></div></div></div></div></calcite-panel>`}_getSolutionContents(){let e=[...new Set(this._nonSolutionDependencyItems.map(i=>i.controlItemId))];return t`<calcite-panel class="panel-background-1 padding-top-xxl"><calcite-accordion class="accordion-bg " icon-position=start scale=l appearance=transparent><calcite-accordion-item class="item-padding" expanded><div class="margin-block-start-end-0 heading-font " slot=content-start>${this._translations.solutionsContentsAndCount.replace("{{numberOfSolutions}}",this.templateInfos.length.toString())}</div><div class="overflow-auto">${this._accordionLoading?t`<calcite-loader .label=${this._translations.loadingText} scale=m></calcite-loader>`:t`<solution-item-accordion .itemRelationshipDependencies=${e} .listSelectionMode=${e.length>0?"multiple":"single"} .reuseWarning=${this._translations.itemUsedInOtherSolutions} .templateInfos=${this.templateInfos} .typeKeywords=${this.card?.typeKeywords}></solution-item-accordion>`}</div></calcite-accordion-item></calcite-accordion></calcite-panel>`}_getDeleteDialog(){return this._deleteDialogOpen?t`<solution-delete-dialog .card=${this.card} @solutionDeleted=${()=>setTimeout(()=>this.navTabSelected.emit({tabType:"deployments"}),100)} @solutionDeleteDialogBeforeClose=${()=>{this._deleteDialogOpen=!1}} .open=${this._deleteDialogOpen} source="Details Page"></solution-delete-dialog>`:""}_renderDiagramDialog(){return this._isDiagramOpen?t`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramOfTheSolution.replace("{{solution}}",this.card?.title??"")} id=${this._translations.diagramOfTheSolution.replace("{{solution}}",this.card?.title??"")??c} modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled scale=m width=l><solution-item-diagram .diagramKey=${this.diagramKey!==""?this.diagramKey:this._configContextConsumer.value?.diagramKey??""} .templateInfoGraph=${this._templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>`:""}async _deleteSolution(){this._deleteDialogOpen=!0}_updateThumbnailToken(e){this._thumbnailUrl!==""&&(this._thumbnailUrl=C(this._thumbnailUrl,e))}};b("solution-deployed-card-panel",h);return h},a,d,e,h,i)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a}from"./ZBET72YB.js";import"./2B4SGB3I.js";import"./YKQDHR27.js";import"./R67EKKSL.js";import"./BVWAUO73.js";import"./K3DQKY7V.js";import"./KIUBUHVM.js";import"./H5E6ISYP.js";import"./QPIMTXPL.js";export{a as SolutionItemAccordion};
2
+ import{a}from"./PJ43TSSJ.js";import"./2B4SGB3I.js";import"./YKQDHR27.js";import"./R67EKKSL.js";import"./BVWAUO73.js";import"./K3DQKY7V.js";import"./KIUBUHVM.js";import"./H5E6ISYP.js";import"./QPIMTXPL.js";export{a as SolutionItemAccordion};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import d from"./5OF3YOO7.js";import"./L33BENH7.js";import c from"./ZP6VPBP4.js";import b from"./XXT542UR.js";import a from"./X5EABWHE.js";import"./2B4SGB3I.js";import"./YKQDHR27.js";import"./J75MHJID.js";import"./R67EKKSL.js";import"./BVWAUO73.js";import"./K3DQKY7V.js";import"./TEHBW75B.js";import"./ALSK2SPM.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./BMBNSJZQ.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import"./KIUBUHVM.js";import"./H5E6ISYP.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 a from"./JWGDDEVT.js";import{ua as i}from"./J75MHJID.js";export default $arcgis.t(([{a:p}])=>{async function D(o,a){let r=await v(a,o),I=[],m=[],d=[],f=r.map(async e=>{let c=await h(e.id,"reverse","Solution2Item",o);return{template:e,relatedItems:c}}),u=await Promise.all(f);for(let{template:e,relatedItems:c}of u)for(let w of c){let s=[];for(let t of w.relatedItemIds)s.push({controlItemId:e.id,dependencyItemId:t});let S=s.reduce((t,n)=>(t[n.controlItemId]||(t[n.controlItemId]=new Set),t[n.controlItemId].add(n.dependencyItemId),t),{}),l=Object.entries(S).filter(([t,n])=>n.size>1).flatMap(([t,n])=>Array.from(n).map(g=>({controlItemId:t,dependencyItemId:g})));l.length>0&&(d=d.concat(l))}m=Array.from(new Map([...d].map(e=>[`${e.controlItemId}:${e.dependencyItemId}`,e])).values());let y=m.map(e=>e.controlItemId);return I=[...new Set(y)],{uniqueIitemIds:I,_nonSolutionDependencyItems:m,templateInfos:r}}async function h(o,a,r,I){let m=await i(o,r,a,I);return[{relationshipType:r,relatedItemIds:m.relatedItems.map(d=>d.id)}]}async function v(o,a){return await p(o.id,a)}return{a:D,b:v}},a)
2
+ import a from"./ZP6VPBP4.js";import{ua as i}from"./J75MHJID.js";export default $arcgis.t(([{a:p}])=>{async function D(o,a){let r=await v(a,o),I=[],m=[],d=[],f=r.map(async e=>{let c=await h(e.id,"reverse","Solution2Item",o);return{template:e,relatedItems:c}}),u=await Promise.all(f);for(let{template:e,relatedItems:c}of u)for(let w of c){let s=[];for(let t of w.relatedItemIds)s.push({controlItemId:e.id,dependencyItemId:t});let S=s.reduce((t,n)=>(t[n.controlItemId]||(t[n.controlItemId]=new Set),t[n.controlItemId].add(n.dependencyItemId),t),{}),l=Object.entries(S).filter(([t,n])=>n.size>1).flatMap(([t,n])=>Array.from(n).map(g=>({controlItemId:t,dependencyItemId:g})));l.length>0&&(d=d.concat(l))}m=Array.from(new Map([...d].map(e=>[`${e.controlItemId}:${e.dependencyItemId}`,e])).values());let y=m.map(e=>e.controlItemId);return I=[...new Set(y)],{uniqueIitemIds:I,_nonSolutionDependencyItems:m,templateInfos:r}}async function h(o,a,r,I){let m=await i(o,r,a,I);return[{relationshipType:r,relatedItemIds:m.relatedItems.map(d=>d.id)}]}async function v(o,a){return await p(o.id,a)}return{a:D,b:v}},a)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import g from"./XN2JVOOR.js";import f from"./WEAC3FS7.js";import"./US5FON7D.js";import"./BU5PIAGS.js";import"./VVZAS55G.js";import"./NP7POZTI.js";import e from"./JWGDDEVT.js";import d from"./XXT542UR.js";import c from"./X5EABWHE.js";import"./2B4SGB3I.js";import"./YKQDHR27.js";import"./J75MHJID.js";import b from"./CEP54NLT.js";import a from"./YVNP437O.js";import"./R67EKKSL.js";import"./BVWAUO73.js";import"./K3DQKY7V.js";import"./TEHBW75B.js";import"./ALSK2SPM.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./BMBNSJZQ.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import"./KIUBUHVM.js";import"./H5E6ISYP.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,a])=>{return a},a,b,c,d,e,f,g)
2
+ import g from"./OGPKAPZK.js";import f from"./WEAC3FS7.js";import"./US5FON7D.js";import"./BU5PIAGS.js";import"./VVZAS55G.js";import"./NP7POZTI.js";import e from"./ZP6VPBP4.js";import d from"./XXT542UR.js";import c from"./X5EABWHE.js";import"./2B4SGB3I.js";import"./YKQDHR27.js";import"./J75MHJID.js";import b from"./CEP54NLT.js";import a from"./YVNP437O.js";import"./R67EKKSL.js";import"./BVWAUO73.js";import"./K3DQKY7V.js";import"./TEHBW75B.js";import"./ALSK2SPM.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./3IHLJADI.js";import"./BMBNSJZQ.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./LPBP7CBN.js";import"./3FMOO3PJ.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./4HFHJOS3.js";import"./45M33Q5G.js";import"./FES7B3SJ.js";import"./KIUBUHVM.js";import"./H5E6ISYP.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,a])=>{return a},a,b,c,d,e,f,g)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import c from"./NPOHA56R.js";import b from"./JWGDDEVT.js";import a from"./X5EABWHE.js";import{K as J,ob as j,pb as O,r as R,ra as M}from"./J75MHJID.js";import{g as S}from"./JUUVYK2H.js";export default $arcgis.t(([{c:B,d:D,f:k,g:T,j:U,k:w},{k:V},{a:v,b:h,c:K,e:p}])=>{var z=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 S({}),this.agolPortalUrl=T(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 S({});y.push(O(r,e.q,c,A,P))}return s&&o&&y.push(O(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="",E=!1;b=this.agolPortalUrl,E=!0,I.results.forEach(N=>{N.sourcePortalUrl=b,N.knownToBePublicSource=E}),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))):j(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?R(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`+D([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:k(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:B(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 W(l,e,r,s,t=V,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+=G(l,P),await x(e,C,s,m,f,g)}function G(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 x(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:z,b:W}},a,b,c)
2
+ import c from"./NPOHA56R.js";import b from"./ZP6VPBP4.js";import a from"./X5EABWHE.js";import{K as J,ob as j,pb as O,r as R,ra as M}from"./J75MHJID.js";import{g as S}from"./JUUVYK2H.js";export default $arcgis.t(([{c:B,d:D,f:k,g:T,j:U,k:w},{k:V},{a:v,b:h,c:K,e:p}])=>{var z=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 S({}),this.agolPortalUrl=T(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 S({});y.push(O(r,e.q,c,A,P))}return s&&o&&y.push(O(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="",E=!1;b=this.agolPortalUrl,E=!0,I.results.forEach(N=>{N.sourcePortalUrl=b,N.knownToBePublicSource=E}),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))):j(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?R(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`+D([{k:"id",v:r.id}])||"",thumbnailFilename:r.thumbnail,thumbnailUrl:k(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:B(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 W(l,e,r,s,t=V,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+=G(l,P),await x(e,C,s,m,f,g)}function G(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 x(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:z,b:W}},a,b,c)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import c from"./XXT542UR.js";import a from"./X5EABWHE.js";import{a as O,b as I}from"./2B4SGB3I.js";import{b as f}from"./YKQDHR27.js";import{pa as C,ra as k,ta as R}from"./J75MHJID.js";import{a as S}from"./R67EKKSL.js";import{b as A}from"./KIUBUHVM.js";import{E as g,F as b,G as v,I as D,K as u,h as y,i as r,j as _,q as T}from"./H5E6ISYP.js";export default $arcgis.t(([,,,,{q:d},{c:N}])=>{var U=y`calcite-card{height:100%;padding-bottom:var(--calcite-spacing-base)}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:content-box;cursor:pointer}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: var(--calcite-spacing-none)}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}.padding-bottom-1-2{padding-bottom:var(--calcite-spacing-sm)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-400,.font-weight-normal{font-weight:400}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:var(--calcite-spacing-sm);margin-bottom:.7rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.cursor-default{cursor:default}`;async function B(i,e){let t=await R(i,e);if(!t)throw new Error(`Solution ${i} was not found`);let a=e?.portal.replace("/sharing/rest","")??"https://www.arcgis.com",s=[];if(t.templates[0].item)s=t.templates.map(l=>({id:l.itemId,title:l.item.title,type:l.item.type,typeKeywords:l.item.typeKeywords,dependencies:l.dependencies,snippet:l.item.snippet,owner:l.item.owner}));else{let l=t.templates.map(n=>n.type==="Group"?C(n.itemId,e):k(n.itemId,e));s=(await Promise.allSettled(l)).filter(n=>n.status==="fulfilled").map(n=>n.value).map((n,o)=>{let h=typeof n.type>"u"?"group":"item";return{id:n.id,title:n.title,type:n.type??"Group",typeKeywords:n.typeKeywords,dependencies:t.templates[o].dependencies,snippet:n.snippet,url:`${a}/home/${h}.html?id=${n.id}`,owner:n.owner}})}return s}function Ee(i,e,t){let a=i.templates.map(p=>p.type),s=[];s.push(Y),a.indexOf("Group")>=0&&(s.push(x),s.push(M)),a.indexOf("Feature Service")>=0&&s.push($);let l=a.indexOf("Feed")>-1;l&&s.push(j);let n=a.indexOf("Big Data Analytic")>-1;n&&s.push(q);let o=a.indexOf("Real Time Analytic")>-1;o&&s.push(X),(l||n||o)&&s.push(ae),a.indexOf("Workflow")>-1&&(s.push(x),s.push($),s.push(M),s.push(se)),a.indexOf("Geoprocessing Service")>-1&&(s.push(J),t.IsEnterprisePortal&&s.push(Z));let h=i.templates.reduce((p,G)=>p.concat(G.item.typeKeywords||[]),[]);return V(s,h,t),F(s,e),K(s,i),s}function K(i,e){e.templates.some(t=>t.type==="Group"&&t.item?.membershipAccess==="collaboration")&&i.push(W)}function V(i,e,t){let a=P(t),s=H(t);["Location Tracking View"].some(l=>e.indexOf(l)>-1)&&(!a&&!s?i.push(ee):a&&!s?i.push(te):!a&&s&&i.push(ie))}function F(i,e){["HubPremium"].some(t=>e.indexOf(t)>-1)&&i.push(Q)}function P(i){let e=i?.PortalUserSubset?.privileges;return e?["portal:admin:create","portal:admin:delete","portal:admin:update","portal:admin:reassign"].every(a=>e.some(s=>s.startsWith(a))):!1}function H(i){return i.PortalSubset?.locationTrackingEnabled||!1}function ye(i,e){let t={leadingMessages:[],bulletedMessages:[],trailingMessages:[]},a=[c.NOTEBOOK,c.VELOCITY,c.HUBPREMIUM,c.WORKFLOW,c.TRACKINGBASE],s=m(i,e,c.VELOCITY);s&&t.leadingMessages.push(s);let l=m(i,e,c.NOTEBOOK);l&&t.leadingMessages.push(l);let n=m(i,e,c.HUBPREMIUM);n&&t.leadingMessages.push(n);let o=m(i,e,c.WORKFLOW);o&&t.leadingMessages.push(o),e=e.filter(p=>a.indexOf(p)<0),e.forEach(p=>{t.bulletedMessages.push(L(i,p))});let h=m(i,e,c.TRACKINGBASE);return h&&t.trailingMessages.push(h),(t.leadingMessages.length>0||t.trailingMessages.length>0||t.bulletedMessages.length>0)&&t.trailingMessages.push(i.missingPrivilegesPopup.suggestedProblemRemedyMessage),t}function m(i,e,t){return e.filter(a=>a.includes(t)).length>0?L(i,t):""}function L(i,e){let t=i.missingPrivilegesPopup.requiredPrivilegesList,a="";switch(e){case"portal:user:createItem":a=t.createItem;break;case"portal:publisher:publishFeatures":a=t.publishFeatures;break;case"portal:user:createGroup":a=t.createGroup;break;case"portal:user:shareToGroup":a=t.shareToGroup;break;case"portal:user:addExternalMembersToGroup":a=t.addMembers;break;case"portal:publisher:publishFeeds":a=t.publishFeeds;break;case"portal:publisher:publishBigDataAnalytics":a=t.publishBigDataAnalytics;break;case"portal:publisher:publishRealTimeAnalytics":a=t.publishRealTimeAnalytics;break;case"solutions:locationtracking:admin:tracking":a=t.requiresLocationTrackingAndAdmin;break;case"solutions:locationtracking:tracking":a=t.requiresLocationTracking;break;case"solutions:locationtracking:admin":a=t.requiresAdmin;break;case"solutions:hubPremium":a=t.hubPremium;break;case"solutions:workflowManager":a=t.workflowManager;break;case"solutions:velocity":a=t.velocity;break;case"solutions:notebook":a=t.requiresNotebookServer;break;case"portal:publisher:publishServerGPServices":a=t.publishGPServices;break;case"writable:Enterprise":a=t.writableEnterprise;break;case"writable:Online":a=t.writableOnline.replace("{{url}}","https://status.arcgis.com");break}return a}var E=class extends v{constructor(){super(),this.deployedDate="",this.description="",this.diagramKey="",this.heading="",this.itemId="",this.owner="",this.thumbnail="",this.updateAvailable=!1,this.templateInfos=[],this._isDeleteOpen=!1,this._isDiagramOpen=!1,this.isMobile=!1,this.templateInfoGraph=[],this._configureTitlesOpen=!1,this._thumbnailUrl="",this._translations=S({name:"solution-deployed-card",blocking:!0}),this._configContextConsumer=f({context:I,subscribe:!0,callback:async e=>{e&&(this._isOrgAdmin=P(e.authentication),this._thumbnailUrl=`${this.thumbnail}&token=${e.userSession?.token}`)}}),this._deleteDialogRef=g(),this._diagramDialogRef=g(),this._isOrgAdmin=!1,this._isMobileContextConsumer=f({context:O,subscribe:!0,callback:e=>this.isMobile=e}),this.deployedCardSelected=T(),this.listenOn(window,"sessionRefreshed",e=>{this._updateThumbnailToken(e.detail)})}static{this.properties={card:0,deployedDate:1,description:1,diagramKey:1,heading:1,itemId:1,owner:1,thumbnail:1,updateAvailable:5,templateInfos:0,_isDeleteOpen:16,_isDiagramOpen:16,isMobile:16,templateInfoGraph:16,_configureTitlesOpen:16,_thumbnailUrl:16,_translations:16}}static{this.styles=U}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}async renderDeleteDialog(){return this._isDeleteOpen=!0,this._renderDeleteDialog(),this._deleteDialogRef.value}async renderDiagramDialog(e){return await this._viewDiagram(e),await this._renderDiagramDialog(),this._diagramDialogRef.value}async getTemplates(){return this._processTemplates(this.card)}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}render(){return r`<calcite-card .label=${this.description} @click=${this._cardSelected} @keydown=${e=>d(e,()=>this._cardSelected())}>${this._getImage()}${this._getHeader()}<p class="font-color-text-2 font-line-height font-size-size--1" slot=description>${this.description}</p><div class="width-full display-flex flex-direction-column" slot=footer-start><div class="padding-bottom-1-2">${this.owner!==""&&this._getOwnerLabel()||""}${this._getDeployedDate()}</div>${this._getConfigureButton()}</div></calcite-card>${this._renderDeleteDialog()}${this._renderDiagramDialog()}${this._renderConfigureTitlesDialog()}`}_getImage(){return r`<div class="card-image-wrap" slot=thumbnail><img alt=${this.heading??u} class="thumbnail card-image" src=${this._thumbnailUrl??u}><div class="hover-text">${this._translations.openSolution}</div></div>`}_getHeader(){return r`<div class="display-flex justify-content-space-between header-line-height" slot=heading><calcite-label layout=inline-space-between scale=l>${this.heading}</calcite-label></div>`}_getOwnerLabel(){return r`<calcite-label class="font-weight-400 padding-end-1-2" layout=inline scale=s>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile} @keydown=${e=>d(e,()=>this._openUserProfile(e))}>${this.owner}</calcite-link></calcite-label>`}_getDeployedDate(){return r`<div class="display-flex align-items-center"><div class="padding-end-1-2"><svg height=16px viewBox="0 0 32 32" width=16px xmlns=http://www.w3.org/2000/svg>${_`<path class="svg-color" d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" /><path class="svg-color" d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" />`}</svg></div><calcite-label class="deployed-label-override" scale=s>${this._translations.deployedDate.replace("{{date}}",this.deployedDate)}</calcite-label></div>`}_getConfigureButton(){let e=this._configContextConsumer.value?.userSession?.username,t=this._configContextConsumer.value?.authentication?.CanUpdateSolution,a=this._configContextConsumer.value?.authentication?.CanDeleteSolution&&this._configContextConsumer.value?.authentication?.CanUpdateSolution,s=this.card?.owner===e||this._isOrgAdmin||t,l=this.card?.owner===e||this._isOrgAdmin||a,n=s?"display-none":"";return r`<calcite-split-button appearance=outline aria-label=${this._translations.openSolution??u} dropdown-label=${this._translations.moreActions??u} kind=neutral @calciteSplitButtonPrimaryClick=${this._cardSelected} @click=${o=>o.stopPropagation()} @keydown=${o=>o.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.openSolution??u} width=full><calcite-dropdown-group selection-mode=none>${!this.isMobile&&r`<calcite-dropdown-item icon-start=model @click=${this._viewDiagram} @keydown=${o=>d(o,()=>this._viewDiagram(o))}>${this._translations.viewDiagram}</calcite-dropdown-item>`||""}<calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation} @keydown=${o=>d(o,()=>this._viewDocumentation(o))}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails} @keydown=${o=>d(o,()=>this._viewItemDetails(o))}>${this._translations.viewItemDetails}</calcite-dropdown-item>${!this.isMobile&&s&&r`<calcite-dropdown-item icon-start=edit-attributes id=solution-configure-titles-dropdown @click=${async()=>{this.templateInfos=await this._processTemplates(this.card),this._configureTitlesOpen=!0}} @keydown=${o=>d(o,async()=>{this.templateInfos=await this._processTemplates(this.card),this._configureTitlesOpen=!0})}>${this._translations.renameItems}</calcite-dropdown-item>`||""}${!this.isMobile&&l&&r`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution} @keydown=${o=>d(o,()=>this._deleteSolution(o))}>${this._translations.deleteSolution}</calcite-dropdown-item>`||""}</calcite-dropdown-group><calcite-tooltip class=${D(n)} overlay-positioning=fixed reference-element=solution-configure-titles-dropdown><span>${this._translations.mustOwnSolution}</span></calcite-tooltip></calcite-split-button>`}_renderDeleteDialog(){return this._isDeleteOpen?r`<solution-delete-dialog .card=${this.card} @solutionDeleteDialogOpen=${e=>{this._isDeleteOpen=e.detail}} .open=${this._isDeleteOpen} source="Card Dropdown" ${b(this._deleteDialogRef)}></solution-delete-dialog>`:""}_renderDiagramDialog(){return this._isDiagramOpen?r`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramTitle.replace("{{solution}}",this.card?.title??"")} id=${this._translations.diagramTitle.replace("{{solution}}",this.card?.title??"")??u} modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled scale=m width=l ${b(this._diagramDialogRef)}><solution-item-diagram .diagramKey=${this.diagramKey} .templateInfoGraph=${this.templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>`:""}_renderConfigureTitlesDialog(){return this._configureTitlesOpen?r`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async()=>{this._processTemplates(this.card).then(e=>{this.templateInfos=e}),this._configureTitlesOpen=!1}} @solutionItemsTitlesChanged=${async()=>{this._processTemplates(this.card).then(e=>{this.templateInfos=e})}} .open=${this._configureTitlesOpen} source="Card Dropdown" .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_cardSelected(){this.deployedCardSelected.emit({card:this.card,cardRef:this.el})}async _viewDiagram(e){e.stopPropagation(),this.card&&(this._telemetry?.logEvent({category:w.DEPLOYMENTS,action:"View Diagram",dimensions:[this.card.title||"",this.card.deployCommonId||"",this.card.deployVersion||"","Card Dropdown"]}),this.templateInfoGraph=await this._processTemplates(this.card),this._isDiagramOpen=!0)}_viewDocumentation(e){e.stopPropagation(),this._telemetry?.logEvent({category:w.DEPLOYMENTS,action:"Open Help",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Card Dropdown"]}),window.open(this.card.learnMoreUrl,"_blank")}_viewItemDetails(e){e.stopPropagation(),this._telemetry?.logEvent({category:w.DEPLOYMENTS,action:"Open Item Details",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Card Dropdown"]}),window.open(this.card.itemUrl,"_blank")}_deleteSolution(e){e.stopPropagation(),this._isDeleteOpen=!0}_openUserProfile(e){e.stopPropagation();let t=this._configContextConsumer.value?.authentication?.PortalSubset?.orgUrl;t&&window.open(`${t}/home/user.html?user=${this.owner}`,"_blank")}async _processTemplates(e){return await B(e.id,this._configContextConsumer.value.userSession)}_updateThumbnailToken(e){this._thumbnailUrl!==""&&(this._thumbnailUrl=N(this._thumbnailUrl,e))}};A("solution-deployed-card",E);var _e=500,Te={AEC:"Architecture, Engineering, and Construction (AEC)",AIRPORTPORTRAIL:"Airports, Ports, and Rails",BUSINESS:"Business",CONSERVATION:"Conservation",DEFENSE:"Defense",FACILITIES:"Facilities",HEALTHANDHUMANSERVICES:"Health and Human Services",PIPELINE:"Pipeline",PUBLICSAFETY:"Public Safety",RENEWABLES:"Renewables",STATEANDLOCALGOVERNMENT:"State and Local Government",TELECOMMUNICATIONS:"Telecommunications",UTILITIES:"Utilities"},ve={AIRPORT:"Airports",AGRICULTURE:"Agriculture",ASSESSMENTANDTAXATION:"Assessment and Taxation",DISTRICTENERGY:"District Energy",ELECTIONS:"Elections",ELECTRIC:"Electric",EMERGENCYMANAGEMENT:"Emergency Management",ENVIRONMENTANDNATURALRESOURCES:"Environment and Natural Resources",FIRESERVICE:"Fire Service",FISHANDWILDLIFE:"Fish and Wildlife",GAS:"Gas",HEALTHANDHUMANSERVICES:"Health and Human Services",LAWENFORCEMENT:"Law Enforcement",NATURALRESOURCES:"Natural Resources",PARKS:"Parks",PLANNINGANDDEVELOPMENT:"Planning and Development",PROTECTEDAREAS:"Protected Areas",PUBLICWORKS:"Public Works",SEWER:"Sewer",STORMWATER:"Stormwater",TELECOMMUNICATIONS:"Telecommunications",TRANSPORTATION:"Transportation",WATER:"Water Distribution"},c=(i=>(i.HUBPREMIUM="solutions:hubPremium",i.NOTEBOOK="solutions:notebook",i.TRACKINGBASE="solutions:locationtracking",i.TRACKING="solutions:locationtracking:tracking",i.TRACKINGADMIN="solutions:locationtracking:admin",i.TRACKINGADMINANDTRACKING="solutions:locationtracking:admin:tracking",i.VELOCITY="solutions:velocity",i.WORKFLOW="solutions:workflowManager",i))(c||{}),z=(i=>(i.VELOCITYBIGDATA="portal:publisher:publishBigDataAnalytics",i.VELOCITYFEEDS="portal:publisher:publishFeeds",i.VELOCITYREALTIME="portal:publisher:publishRealTimeAnalytics",i))(z||{}),De='((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))',Ae="(typekeywords:Solution,Template)",W="portal:user:addExternalMembersToGroup",Y="portal:user:createItem",x="portal:user:createGroup",q="portal:publisher:publishBigDataAnalytics",$="portal:publisher:publishFeatures",j="portal:publisher:publishFeeds",J="portal:publisher:publishServerGPServices",X="portal:publisher:publishRealTimeAnalytics",M="portal:user:shareToGroup",Q="solutions:hubPremium",Z="solutions:notebook",ee="solutions:locationtracking:admin:tracking",te="solutions:locationtracking:tracking",ie="solutions:locationtracking:admin",ae="solutions:velocity",se="solutions:workflowManager",Se=250,w={SOLUTION_DETAILS:"Solution Details",GLOBAL_NAVIGATION:"Global Nav",ALL_SOLUTIONS:"Solutions",DEPLOYMENTS:"Deployments",ASSISTANT:"Assistant",RESOURCES:"Resources",BUILDER:"Solution Builder"},Oe={MINE:"My deployments",ORG:"Organization"};return{a:B,b:Ee,c:P,d:ye,e:E,f:_e,g:Te,h:ve,i:c,j:z,k:De,l:Ae,m:Se,n:w,o:Oe}},"identity/IdentityManager","identity/OAuthInfo","portal/Portal","intl",a,c)
2
+ import c from"./XXT542UR.js";import a from"./X5EABWHE.js";import{a as O,b as I}from"./2B4SGB3I.js";import{b as f}from"./YKQDHR27.js";import{pa as C,ra as k,ta as R}from"./J75MHJID.js";import{a as S}from"./R67EKKSL.js";import{b as A}from"./KIUBUHVM.js";import{E as g,F as b,G as v,I as D,K as u,h as y,i as r,j as _,q as T}from"./H5E6ISYP.js";export default $arcgis.t(([,,,,{q:d},{c:N}])=>{var U=y`calcite-card{height:100%;padding-bottom:var(--calcite-spacing-base)}@media(max-width:400px){calcite-card{width:100%}}calcite-card:hover img{-webkit-filter:brightness(30%);filter:brightness(30%);-webkit-transition:all .1s ease;-moz-transition:all .1s ease;-o-transition:all .1s ease;-ms-transition:all .1s ease;transition:all .1s ease}calcite-card:hover .hover-text{opacity:1;color:#fff}calcite-card:hover{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);box-sizing:content-box;cursor:pointer}.hover-text{transition:.1s ease;opacity:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);text-align:center;display:flex;flex-direction:row;align-items:center;height:100%;font-size:var(--calcite-spacing-xl)}.card-image-wrap{flex:0 0 auto}.card-image-wrap{width:100%;position:relative;margin-bottom:0;-webkit-box-flex:0 0 auto;-ms-flex:0 0 auto;flex:0 0 auto}.card-image{width:100%;display:block}video,img{max-width:100%;height:auto}img{overflow-clip-margin:content-box;overflow:clip}.width-full{width:100%}.deployed-label-override{--calcite-label-text-color: var(--calcite-color-text-3);--calcite-label-margin-bottom: var(--calcite-spacing-none)}.svg-color{fill:var(--calcite-color-text-3)}.padding-end-1-2{padding-inline-end:var(--calcite-spacing-sm)}.padding-bottom-1-2{padding-bottom:var(--calcite-spacing-sm)}.display-flex{display:flex}.display-none{display:none}.flex-direction-column{flex-direction:column}.align-items-center{align-items:center}.font-weight-400,.font-weight-normal{font-weight:400}.font-color-text-2{--calcite-label-text-color: var(--calcite-color-text-2)}.font-line-height{line-height:1.4}.font-size-size--1{font-size:var(--calcite-font-size--1)}.icon-brand-color{--calcite-icon-color: var(--calcite-color-brand)}.header-line-height{--calcite-label-margin-bottom: 0;margin-top:var(--calcite-spacing-sm);margin-bottom:.7rem}.dialog-y-size{--calcite-dialog-size-y: 90% }.dialog-x-size{--calcite-dialog-size-x: 90% }.justify-content-space-between{justify-content:space-between}.panel-bg-color{--calcite-panel-header-background-color: var(--calcite-color-surface-2);--calcite-panel-background-color: var(--calcite-color-surface-2)}.cursor-default{cursor:default}`;async function B(i,e){let t=await R(i,e);if(!t)throw new Error(`Solution ${i} was not found`);let a=e?.portal.replace("/sharing/rest","")??"https://www.arcgis.com",s=[];if(t.templates[0].item)s=t.templates.map(l=>({id:l.itemId,title:l.item.title,type:l.item.type,typeKeywords:l.item.typeKeywords,dependencies:l.dependencies,snippet:l.item.snippet,owner:l.item.owner}));else{let l=t.templates.map(n=>n.type==="Group"?C(n.itemId,e):k(n.itemId,e));s=(await Promise.allSettled(l)).filter(n=>n.status==="fulfilled").map(n=>n.value).map((n,o)=>{let h=typeof n.type>"u"?"group":"item";return{id:n.id,title:n.title,type:n.type??"Group",typeKeywords:n.typeKeywords,dependencies:t.templates[o].dependencies,snippet:n.snippet,url:`${a}/home/${h}.html?id=${n.id}`,owner:n.owner}})}return s}function Ee(i,e,t){let a=i.templates.map(p=>p.type),s=[];s.push(Y),a.indexOf("Group")>=0&&(s.push(x),s.push(M)),a.indexOf("Feature Service")>=0&&s.push($);let l=a.indexOf("Feed")>-1;l&&s.push(j);let n=a.indexOf("Big Data Analytic")>-1;n&&s.push(q);let o=a.indexOf("Real Time Analytic")>-1;o&&s.push(X),(l||n||o)&&s.push(ae),a.indexOf("Workflow")>-1&&(s.push(x),s.push($),s.push(M),s.push(se)),a.indexOf("Geoprocessing Service")>-1&&(s.push(J),t.IsEnterprisePortal&&s.push(Z));let h=i.templates.reduce((p,G)=>p.concat(G.item.typeKeywords||[]),[]);return V(s,h,t),H(s,e),K(s,i),s}function K(i,e){e.templates.some(t=>t.type==="Group"&&t.item?.membershipAccess==="collaboration")&&i.push(W)}function V(i,e,t){let a=P(t),s=z(t);["Location Tracking View"].some(l=>e.indexOf(l)>-1)&&(!a&&!s?i.push(ee):a&&!s?i.push(te):!a&&s&&i.push(ie))}function H(i,e){["HubPremium"].some(t=>e.indexOf(t)>-1)&&i.push(Q)}function P(i){let e=i?.PortalUserSubset?.privileges;return e?["portal:admin:create","portal:admin:delete","portal:admin:update","portal:admin:reassign"].every(a=>e.some(s=>s.startsWith(a))):!1}function z(i){return i.PortalSubset?.locationTrackingEnabled||!1}function ye(i,e){let t={leadingMessages:[],bulletedMessages:[],trailingMessages:[]},a=[c.NOTEBOOK,c.VELOCITY,c.HUBPREMIUM,c.WORKFLOW,c.TRACKINGBASE],s=m(i,e,c.VELOCITY);s&&t.leadingMessages.push(s);let l=m(i,e,c.NOTEBOOK);l&&t.leadingMessages.push(l);let n=m(i,e,c.HUBPREMIUM);n&&t.leadingMessages.push(n);let o=m(i,e,c.WORKFLOW);o&&t.leadingMessages.push(o),e=e.filter(p=>a.indexOf(p)<0),e.forEach(p=>{t.bulletedMessages.push(L(i,p))});let h=m(i,e,c.TRACKINGBASE);return h&&t.trailingMessages.push(h),(t.leadingMessages.length>0||t.trailingMessages.length>0||t.bulletedMessages.length>0)&&t.trailingMessages.push(i.missingPrivilegesPopup.suggestedProblemRemedyMessage),t}function m(i,e,t){return e.filter(a=>a.includes(t)).length>0?L(i,t):""}function L(i,e){let t=i.missingPrivilegesPopup.requiredPrivilegesList,a="";switch(e){case"portal:user:createItem":a=t.createItem;break;case"portal:publisher:publishFeatures":a=t.publishFeatures;break;case"portal:user:createGroup":a=t.createGroup;break;case"portal:user:shareToGroup":a=t.shareToGroup;break;case"portal:user:addExternalMembersToGroup":a=t.addMembers;break;case"portal:publisher:publishFeeds":a=t.publishFeeds;break;case"portal:publisher:publishBigDataAnalytics":a=t.publishBigDataAnalytics;break;case"portal:publisher:publishRealTimeAnalytics":a=t.publishRealTimeAnalytics;break;case"solutions:locationtracking:admin:tracking":a=t.requiresLocationTrackingAndAdmin;break;case"solutions:locationtracking:tracking":a=t.requiresLocationTracking;break;case"solutions:locationtracking:admin":a=t.requiresAdmin;break;case"solutions:hubPremium":a=t.hubPremium;break;case"solutions:workflowManager":a=t.workflowManager;break;case"solutions:velocity":a=t.velocity;break;case"solutions:notebook":a=t.requiresNotebookServer;break;case"portal:publisher:publishServerGPServices":a=t.publishGPServices;break;case"writable:Enterprise":a=t.writableEnterprise;break;case"writable:Online":a=t.writableOnline.replace("{{url}}","https://status.arcgis.com");break}return a}var E=class extends v{constructor(){super(),this.deployedDate="",this.description="",this.diagramKey="",this.heading="",this.itemId="",this.owner="",this.thumbnail="",this.updateAvailable=!1,this.templateInfos=[],this._isDeleteOpen=!1,this._isDiagramOpen=!1,this.isMobile=!1,this.templateInfoGraph=[],this._configureTitlesOpen=!1,this._thumbnailUrl="",this._translations=S({name:"solution-deployed-card",blocking:!0}),this._configContextConsumer=f({context:I,subscribe:!0,callback:async e=>{e&&(this._isOrgAdmin=P(e.authentication),this._thumbnailUrl=`${this.thumbnail}&token=${e.userSession?.token}`)}}),this._deleteDialogRef=g(),this._diagramDialogRef=g(),this._isOrgAdmin=!1,this._isMobileContextConsumer=f({context:O,subscribe:!0,callback:e=>this.isMobile=e}),this.deployedCardSelected=T(),this.listenOn(window,"sessionRefreshed",e=>{this._updateThumbnailToken(e.detail)})}static{this.properties={card:0,deployedDate:1,description:1,diagramKey:1,heading:1,itemId:1,owner:1,thumbnail:1,updateAvailable:5,templateInfos:0,_isDeleteOpen:16,_isDiagramOpen:16,isMobile:16,templateInfoGraph:16,_configureTitlesOpen:16,_thumbnailUrl:16,_translations:16}}static{this.styles=U}get _telemetry(){return this._configContextConsumer.value?.telemetrySession}async renderDeleteDialog(){return this._isDeleteOpen=!0,this._renderDeleteDialog(),this._deleteDialogRef.value}async renderDiagramDialog(e){return await this._viewDiagram(e),await this._renderDiagramDialog(),this._diagramDialogRef.value}async getTemplates(){return this._processTemplates(this.card)}async load(){this._isMobileContextConsumer.value&&(this.isMobile=this._isMobileContextConsumer.value)}render(){return r`<calcite-card .label=${this.description} @click=${this._cardSelected} @keydown=${e=>d(e,()=>this._cardSelected())}>${this._getImage()}${this._getHeader()}<p class="font-color-text-2 font-line-height font-size-size--1" slot=description>${this.description}</p><div class="width-full display-flex flex-direction-column" slot=footer-start><div class="padding-bottom-1-2">${this.owner!==""&&this._getOwnerLabel()||""}${this._getDeployedDate()}</div>${this._getConfigureButton()}</div></calcite-card>${this._renderDeleteDialog()}${this._renderDiagramDialog()}${this._renderConfigureTitlesDialog()}`}_getImage(){return r`<div class="card-image-wrap" slot=thumbnail><img alt=${this.heading??u} class="thumbnail card-image" src=${this._thumbnailUrl??u}><div class="hover-text">${this._translations.openSolution}</div></div>`}_getHeader(){return r`<div class="display-flex justify-content-space-between header-line-height" slot=heading><calcite-label layout=inline-space-between scale=l>${this.heading}</calcite-label></div>`}_getOwnerLabel(){return r`<calcite-label class="font-weight-400 padding-end-1-2" layout=inline scale=s>${`${this._translations.owner}:`}<calcite-link class="font-weight-normal" @click=${this._openUserProfile} @keydown=${e=>d(e,()=>this._openUserProfile(e))}>${this.owner}</calcite-link></calcite-label>`}_getDeployedDate(){return r`<div class="display-flex align-items-center"><div class="padding-end-1-2"><svg height=16px viewBox="0 0 32 32" width=16px xmlns=http://www.w3.org/2000/svg>${_`<path class="svg-color" d="M29.963 7.672a1.586 1.586 0 0 0-1.584-1.585h-5.274a.187.187 0 0 1-.188-.187V3.977A2 2 0 0 0 20.825 2h-9.672A2.095 2.095 0 0 0 9.06 4.093V5.9a.187.187 0 0 1-.187.187H3.598a1.586 1.586 0 0 0-1.584 1.585v4.016a.281.281 0 0 0 .281.28H4.9l.014-.013V9.153a.177.177 0 0 1 .177-.177h21.46a.456.456 0 0 1 .449.45v13.742A1.832 1.832 0 0 1 25.168 25h-8.892a.568.568 0 0 1-.534-.373 3.98 3.98 0 0 0-7.6.373H5.657a.757.757 0 0 1-.757-.757v-3.055A.188.188 0 0 0 4.714 21H2.028l-.014.014v4.58a2.35 2.35 0 0 0 2.347 2.346h4.161a3.963 3.963 0 0 0 6.8.256.569.569 0 0 1 .475-.256h12.065a2.102 2.102 0 0 0 2.101-2.101zM21 5.625a.375.375 0 0 1-.375.375h-9.25A.375.375 0 0 1 11 5.625V4.45a.456.456 0 0 1 .45-.45h9.1a.456.456 0 0 1 .45.45zM12 28a2 2 0 1 1 2-2 2 2 0 0 1-2 2z" /><path class="svg-color" d="M13.273 17.994a.57.57 0 0 1 .479.262A3.73 3.73 0 0 0 17 20a3.74 3.74 0 0 0 3.403-2.006h3.41a.188.188 0 0 0 .187-.188v-2.589a.187.187 0 0 0-.188-.188H20.8A3.8 3.8 0 0 0 17 12a4.058 4.058 0 0 0-3.69 2.647.568.568 0 0 1-.537.383H1.093a.094.094 0 0 0-.093.093V17.9a.094.094 0 0 0 .094.094zM17 13.9a2.1 2.1 0 1 1-2.1 2.1 2.1 2.1 0 0 1 2.1-2.1z" />`}</svg></div><calcite-label class="deployed-label-override" scale=s>${this._translations.deployedDate.replace("{{date}}",this.deployedDate)}</calcite-label></div>`}_getConfigureButton(){let e=this._configContextConsumer.value?.userSession?.username,t=this._configContextConsumer.value?.authentication?.CanUpdateSolution,a=this._configContextConsumer.value?.authentication?.CanDeleteSolution&&this._configContextConsumer.value?.authentication?.CanUpdateSolution,s=this.card?.owner===e||this._isOrgAdmin||t,l=this.card?.owner===e||this._isOrgAdmin||a,n=s?"display-none":"";return r`<calcite-split-button appearance=outline aria-label=${this._translations.openSolution??u} dropdown-label=${this._translations.moreActions??u} kind=neutral @calciteSplitButtonPrimaryClick=${this._cardSelected} @click=${o=>o.stopPropagation()} @keydown=${o=>o.stopPropagation()} overlay-positioning=fixed primary-text=${this._translations.openSolution??u} width=full><calcite-dropdown-group selection-mode=none>${!this.isMobile&&r`<calcite-dropdown-item icon-start=model @click=${this._viewDiagram} @keydown=${o=>d(o,()=>this._viewDiagram(o))}>${this._translations.viewDiagram}</calcite-dropdown-item>`||""}<calcite-dropdown-item icon-start=file-text @click=${this._viewDocumentation} @keydown=${o=>d(o,()=>this._viewDocumentation(o))}>${this._translations.documentation}</calcite-dropdown-item><calcite-dropdown-item icon-start=information @click=${this._viewItemDetails} @keydown=${o=>d(o,()=>this._viewItemDetails(o))}>${this._translations.viewItemDetails}</calcite-dropdown-item>${!this.isMobile&&s&&r`<calcite-dropdown-item icon-start=edit-attributes id=solution-configure-titles-dropdown @click=${async()=>{this.templateInfos=await this._processTemplates(this.card),this._configureTitlesOpen=!0}} @keydown=${o=>d(o,async()=>{this.templateInfos=await this._processTemplates(this.card),this._configureTitlesOpen=!0})}>${this._translations.renameItems}</calcite-dropdown-item>`||""}${!this.isMobile&&l&&r`<calcite-dropdown-item icon-start=trash @click=${this._deleteSolution} @keydown=${o=>d(o,()=>this._deleteSolution(o))}>${this._translations.deleteSolution}</calcite-dropdown-item>`||""}</calcite-dropdown-group><calcite-tooltip class=${D(n)} overlay-positioning=fixed reference-element=solution-configure-titles-dropdown><span>${this._translations.mustOwnSolution}</span></calcite-tooltip></calcite-split-button>`}_renderDeleteDialog(){return this._isDeleteOpen?r`<solution-delete-dialog .card=${this.card} @solutionDeleteDialogOpen=${e=>{this._isDeleteOpen=e.detail}} .open=${this._isDeleteOpen} source="Card Dropdown" ${b(this._deleteDialogRef)}></solution-delete-dialog>`:""}_renderDiagramDialog(){return this._isDiagramOpen?r`<calcite-dialog class="dialog-y-size dialog-x-size panel-bg-color" .heading=${this._translations.diagramTitle.replace("{{solution}}",this.card?.title??"")} id=${this._translations.diagramTitle.replace("{{solution}}",this.card?.title??"")??u} modal .open=${this._isDiagramOpen} @calciteDialogClose=${()=>{this._isDiagramOpen=!1}} outside-close-disabled scale=m width=l ${b(this._diagramDialogRef)}><solution-item-diagram .diagramKey=${this.diagramKey} .templateInfoGraph=${this.templateInfoGraph} .typeKeywords=${this.card?.typeKeywords}></solution-item-diagram></calcite-dialog>`:""}_renderConfigureTitlesDialog(){return this._configureTitlesOpen?r`<solution-configure-titles .card=${this.card} @solutionConfigureTitlesBeforeClose=${async()=>{this._processTemplates(this.card).then(e=>{this.templateInfos=e}),this._configureTitlesOpen=!1}} @solutionItemsTitlesChanged=${async()=>{this._processTemplates(this.card).then(e=>{this.templateInfos=e})}} .open=${this._configureTitlesOpen} source="Card Dropdown" .templateInfos=${this.templateInfos}></solution-configure-titles>`:""}_cardSelected(){this.deployedCardSelected.emit({card:this.card,cardRef:this.el})}async _viewDiagram(e){e.stopPropagation(),this.card&&(this._telemetry?.logEvent({category:w.DEPLOYMENTS,action:"View Diagram",dimensions:[this.card.title||"",this.card.deployCommonId||"",this.card.deployVersion||"","Card Dropdown"]}),this.templateInfoGraph=await this._processTemplates(this.card),this._isDiagramOpen=!0)}_viewDocumentation(e){e.stopPropagation(),this._telemetry?.logEvent({category:w.DEPLOYMENTS,action:"Open Help",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Card Dropdown"]}),window.open(this.card.learnMoreUrl,"_blank")}_viewItemDetails(e){e.stopPropagation(),this._telemetry?.logEvent({category:w.DEPLOYMENTS,action:"Open Item Details",dimensions:[this.card?.title||"",this.card?.deployCommonId||"",this.card?.deployVersion||"","Card Dropdown"]}),window.open(this.card.itemUrl,"_blank")}_deleteSolution(e){e.stopPropagation(),this._isDeleteOpen=!0}_openUserProfile(e){e.stopPropagation();let t=this._configContextConsumer.value?.authentication?.PortalSubset?.orgUrl;t&&window.open(`${t}/home/user.html?user=${this.owner}`,"_blank")}async _processTemplates(e){return await B(e.id,this._configContextConsumer.value.userSession)}_updateThumbnailToken(e){this._thumbnailUrl!==""&&(this._thumbnailUrl=N(this._thumbnailUrl,e))}};A("solution-deployed-card",E);var _e=500,Te={AEC:"Architecture, Engineering, and Construction (AEC)",AIRPORTPORTRAIL:"Airports, Ports, and Rails",BUSINESS:"Business",CONSERVATION:"Conservation",DEFENSE:"Defense",FACILITIES:"Facilities",HEALTHANDHUMANSERVICES:"Health and Human Services",PIPELINE:"Pipeline",PUBLICSAFETY:"Public Safety",RENEWABLES:"Renewables",STATEANDLOCALGOVERNMENT:"State and Local Government",TELECOMMUNICATIONS:"Telecommunications",UTILITIES:"Utilities"},ve={AIRPORT:"Airports",AGRICULTURE:"Agriculture",ASSESSMENTANDTAXATION:"Assessment and Taxation",DISTRICTENERGY:"District Energy",ELECTIONS:"Elections",ELECTRIC:"Electric",EMERGENCYMANAGEMENT:"Emergency Management",ENVIRONMENTANDNATURALRESOURCES:"Environment and Natural Resources",FIRESERVICE:"Fire Service",FISHANDWILDLIFE:"Fish and Wildlife",GAS:"Gas",HEALTHANDHUMANSERVICES:"Health and Human Services",LAWENFORCEMENT:"Law Enforcement",NATURALRESOURCES:"Natural Resources",PARKS:"Parks",PLANNINGANDDEVELOPMENT:"Planning and Development",PROTECTEDAREAS:"Protected Areas",PUBLICWORKS:"Public Works",SEWER:"Sewer",STORMWATER:"Stormwater",TELECOMMUNICATIONS:"Telecommunications",TRANSPORTATION:"Transportation",WATER:"Water Distribution"},c=(i=>(i.HUBPREMIUM="solutions:hubPremium",i.NOTEBOOK="solutions:notebook",i.TRACKINGBASE="solutions:locationtracking",i.TRACKING="solutions:locationtracking:tracking",i.TRACKINGADMIN="solutions:locationtracking:admin",i.TRACKINGADMINANDTRACKING="solutions:locationtracking:admin:tracking",i.VELOCITY="solutions:velocity",i.WORKFLOW="solutions:workflowManager",i))(c||{}),F=(i=>(i.VELOCITYBIGDATA="portal:publisher:publishBigDataAnalytics",i.VELOCITYFEEDS="portal:publisher:publishFeeds",i.VELOCITYREALTIME="portal:publisher:publishRealTimeAnalytics",i))(F||{}),De='((typekeywords:Solution,Deployed,"ArcGIS Solution") OR ((typekeywords:Solution,Deployed) AND (created:[1577862000000 TO 1622576880000])))',Ae="(typekeywords:Solution,Template)",W="portal:user:addExternalMembersToGroup",Y="portal:user:createItem",x="portal:user:createGroup",q="portal:publisher:publishBigDataAnalytics",$="portal:publisher:publishFeatures",j="portal:publisher:publishFeeds",J="portal:publisher:publishServerGPServices",X="portal:publisher:publishRealTimeAnalytics",M="portal:user:shareToGroup",Q="solutions:hubPremium",Z="solutions:notebook",ee="solutions:locationtracking:admin:tracking",te="solutions:locationtracking:tracking",ie="solutions:locationtracking:admin",ae="solutions:velocity",se="solutions:workflowManager",Se=250,Oe=256,w={SOLUTION_DETAILS:"Solution Details",GLOBAL_NAVIGATION:"Global Nav",ALL_SOLUTIONS:"Solutions",DEPLOYMENTS:"Deployments",ASSISTANT:"Assistant",RESOURCES:"Resources",BUILDER:"Solution Builder"},Ie={MINE:"My deployments",ORG:"Organization"};return{a:B,b:Ee,c:P,d:ye,e:E,f:_e,g:Te,h:ve,i:c,j:F,k:De,l:Ae,m:Se,n:Oe,o:w,p:Ie}},"identity/IdentityManager","identity/OAuthInfo","portal/Portal","intl",a,c)
@@ -1 +1 @@
1
- {"agentProgress":{"builderAgentExecuting":"بيت_Executing Solutions Builder Agent___________________لاحقة...","builderAgentUnderstanding":"بيت_Understanding your request______________________________لاحقة...","builderAgentReviewingUseCase":"بيت_Reviewing the use case__________________________لاحقة...","builderAgentSearching":"بيت_Searching for existing solutions___________________لاحقة...","builderAgentFindingMatch":"بيت_Finding matching solution_____________________________لاحقة...","builderAgentCreatingDesign":"بيت_Creating a solution design______________________________لاحقة...","builderAgentValidating":"بيت_Validating the solution design__________________لاحقة...","explorerAgentSearching":"بيت_Searching ArcGIS Solutions documentation_______________________لاحقة...","explorerAgentReading":"بيت_Reading through the documentation___________________لاحقة...","explorerAgentReviewing":"بيت_Reviewing what I found__________________________لاحقة...","explorerAgentPreparing":"بيت_Preparing a response________________________لاحقة..."},"builderMessages":{"newConversationStarted":"بيت_New conversation started__________________________لاحقة.","undoDesignChange":"بيت_Undid the last solution design change____________________لاحقة.","redoDesignChange":"بيت_Redid the last undone change______________________________لاحقة.","cancelledMessage":"بيت_Okay, I've stopped here. No solution design was created. Let me know if there's anything else I can help with________________________________________________________لاحقة.","selectTemplatePrompt":"بيت_Templates provide a starting structure for your solution, including layers, maps, and apps. Choose a template to get started building your solution___________________________________________________________________________لاحقة.","describeWorkflowPrompt":"بيت_What kind of workflow are you looking to support? Share a brief description of what the solution should help with__________________________________________________________لاحقة.","buildTemplateSolution":"بيت_It looks like you would like to build a {{template}} solution________________________________لاحقة.","needUseCaseForTemplate":"بيت_Next we need to understand the use case for the {{template}} solution____________________________________لاحقة.","provideUseCaseDetails":"بيت_Please provide more details about the use case_________________________لاحقة.","existingSolutionMatch":"بيت_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________لاحقة?","existingTemplateMatch":"بيت_We have an existing template, {{templateMatch}}, that closely matches your use case. Do you want to continue building your solution___________________________________________________________________لاحقة?","designUpdated":"بيت_I updated the solution design for you____________________لاحقة.","designCreated":"بيت_I created an initial solution design for you________________________لاحقة.","iteratePrompt":"بيت_The solution design has been created. Would you like to make any changes or additions to it? If so, describe what you'd like to modify (e.g., add layers, change fields, update description). Leave blank or say \"no\" to proceed__________________________________________________________________________________________________________________لاحقة."},"betaTag":"بيت_Beta_________لاحقة","defaultStartUpMessage":"بيت_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________لاحقة.","defaultFollowUpQuestions":{"roadwayAssets":"بيت_Can you help me inspect roadway assets_____________________لاحقة?","publicSafety":"بيت_What solutions support public safety agencies________________________لاحقة?","howToDeploy":"بيت_How do I deploy a solution____________________________لاحقة?","buildOwnSolution":"بيت_I want to build my own solution_________________لاحقة."},"disclaimerMessage":"يتم إنشاء الردود بواسطة الذكاء الاصطناعي وقد تكون غير دقيقة.","executingSolutionsAssistantAgent":"بيت_Preparing a response________________________لاحقة...","genericErrorMessage":"بيت_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________لاحقة.","newConversationStarted":"تم بدء محادثة جديدة","noPermissionTitle":"بيت_ArcGIS Solutions assistant is not available_______________________لاحقة.","noPermissionMessage":"بيت_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________لاحقة.","reportConcern":"الإبلاغ عن مشكلة أمنية.","solutionsDocReference":"مرجع","solutionsDocReferences":"مراجع","sendMessage":"اكتب سؤالك","solutionAssistantTitle":"المساعد في ArcGIS Solutions","signIn":"تسجيل الدخول","signInMessage":"بيت_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________لاحقة.","tooltips":{"close":"بيت_Close___________لاحقة","likeButton":"تقييم إيجابي","dislikeButton":"تقييم سلبي","copyButton":"نسخ","newConversation":"محادثة جديدة","sendQuestion":"إرسال","solutionBuilder":"بيت_Solution builder_________________لاحقة","toggleSolutionBuilder":"بيت_Toggle solution builder panel______________________________لاحقة"},"viewSolutionInApp":"عرض الحل"}
1
+ {"agentProgress":{"explorerAgentSearching":"بيت_Searching ArcGIS Solutions documentation_______________________لاحقة...","explorerAgentReading":"بيت_Reading through the documentation___________________لاحقة...","explorerAgentReviewing":"بيت_Reviewing what I found__________________________لاحقة...","explorerAgentPreparing":"بيت_Preparing a response________________________لاحقة..."},"builderMessages":{"understandingRequest":"بيت_Understanding your request______________________________لاحقة...","selectTemplatePrompt":"بيت_This use case could be supported in a few different ways. Choose the option that best matches what you want to accomplish______________________________________________________________لاحقة.","searchingExistingSolutions":"بيت_Searching for existing solutions___________________لاحقة...","existingSolutionMatch":"بيت_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________لاحقة?","creatingDesign":"بيت_Generating solution design______________________________لاحقة...","updatingDesign":"بيت_Updating solution design____________________________لاحقة...","applyChangeFailed":"بيت_I wasn't able to apply that change. The design was not modified. Please try rephrasing your request___________________________________________________لاحقة."},"betaTag":"بيت_Beta_________لاحقة","defaultStartUpMessage":"بيت_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________لاحقة.","defaultFollowUpQuestions":{"roadwayAssets":"بيت_Can you help me inspect roadway assets_____________________لاحقة?","publicSafety":"بيت_What solutions support public safety agencies________________________لاحقة?","howToDeploy":"بيت_How do I deploy a solution____________________________لاحقة?","buildOwnSolution":"بيت_I want to build my own solution_________________لاحقة."},"disclaimerMessage":"يتم إنشاء الردود بواسطة الذكاء الاصطناعي وقد تكون غير دقيقة.","executingSolutionsAssistantAgent":"بيت_Preparing a response________________________لاحقة...","genericErrorMessage":"بيت_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________لاحقة.","newConversationStarted":"تم بدء محادثة جديدة","noPermissionTitle":"بيت_ArcGIS Solutions assistant is not available_______________________لاحقة.","noPermissionMessage":"بيت_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________لاحقة.","reportConcern":"الإبلاغ عن مشكلة أمنية.","solutionsDocReference":"مرجع","solutionsDocReferences":"مراجع","sendMessage":"اكتب سؤالك","solutionAssistantTitle":"المساعد في ArcGIS Solutions","signIn":"تسجيل الدخول","signInMessage":"بيت_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________لاحقة.","tooltips":{"close":"بيت_Close___________لاحقة","likeButton":"تقييم إيجابي","dislikeButton":"تقييم سلبي","copyButton":"نسخ","newConversation":"محادثة جديدة","sendQuestion":"إرسال","solutionBuilder":"بيت_Solution builder_________________لاحقة","toggleSolutionBuilder":"بيت_Toggle solution builder panel______________________________لاحقة"},"viewSolutionInApp":"عرض الحل"}
@@ -1 +1 @@
1
- {"agentProgress":{"builderAgentExecuting":"й_Executing Solutions Builder Agent___________________й...","builderAgentUnderstanding":"й_Understanding your request______________________________й...","builderAgentReviewingUseCase":"й_Reviewing the use case__________________________й...","builderAgentSearching":"й_Searching for existing solutions___________________й...","builderAgentFindingMatch":"й_Finding matching solution_____________________________й...","builderAgentCreatingDesign":"й_Creating a solution design______________________________й...","builderAgentValidating":"й_Validating the solution design__________________й...","explorerAgentSearching":"й_Searching ArcGIS Solutions documentation_______________________й...","explorerAgentReading":"й_Reading through the documentation___________________й...","explorerAgentReviewing":"й_Reviewing what I found__________________________й...","explorerAgentPreparing":"й_Preparing a response________________________й..."},"builderMessages":{"newConversationStarted":"й_New conversation started__________________________й.","undoDesignChange":"й_Undid the last solution design change____________________й.","redoDesignChange":"й_Redid the last undone change______________________________й.","cancelledMessage":"й_Okay, I've stopped here. No solution design was created. Let me know if there's anything else I can help with________________________________________________________й.","selectTemplatePrompt":"й_Templates provide a starting structure for your solution, including layers, maps, and apps. Choose a template to get started building your solution___________________________________________________________________________й.","describeWorkflowPrompt":"й_What kind of workflow are you looking to support? Share a brief description of what the solution should help with__________________________________________________________й.","buildTemplateSolution":"й_It looks like you would like to build a {{template}} solution________________________________й.","needUseCaseForTemplate":"й_Next we need to understand the use case for the {{template}} solution____________________________________й.","provideUseCaseDetails":"й_Please provide more details about the use case_________________________й.","existingSolutionMatch":"й_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________й?","existingTemplateMatch":"й_We have an existing template, {{templateMatch}}, that closely matches your use case. Do you want to continue building your solution___________________________________________________________________й?","designUpdated":"й_I updated the solution design for you____________________й.","designCreated":"й_I created an initial solution design for you________________________й.","iteratePrompt":"й_The solution design has been created. Would you like to make any changes or additions to it? If so, describe what you'd like to modify (e.g., add layers, change fields, update description). Leave blank or say \"no\" to proceed__________________________________________________________________________________________________________________й."},"betaTag":"й_Beta_________й","defaultStartUpMessage":"й_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________й.","defaultFollowUpQuestions":{"roadwayAssets":"й_Can you help me inspect roadway assets_____________________й?","publicSafety":"й_What solutions support public safety agencies________________________й?","howToDeploy":"й_How do I deploy a solution____________________________й?","buildOwnSolution":"й_I want to build my own solution_________________й."},"disclaimerMessage":"Отговорите се генерират от ИИ и може да са неточни.","executingSolutionsAssistantAgent":"й_Preparing a response________________________й...","genericErrorMessage":"й_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________й.","newConversationStarted":"Започна нов разговор.","noPermissionTitle":"й_ArcGIS Solutions assistant is not available_______________________й.","noPermissionMessage":"й_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________й.","reportConcern":"Докладване на проблем със сигурността.","solutionsDocReference":"препратка","solutionsDocReferences":"препратки","sendMessage":"Въведете въпроса си","solutionAssistantTitle":"Асистент за ArcGIS Solutions","signIn":"Вписване","signInMessage":"й_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________й.","tooltips":{"close":"й_Close___________й","likeButton":"Положителна обратна връзка","dislikeButton":"Отрицателна обратна връзка","copyButton":"Копиране","newConversation":"Нов разговор","sendQuestion":"Изпращане","solutionBuilder":"й_Solution builder_________________й","toggleSolutionBuilder":"й_Toggle solution builder panel______________________________й"},"viewSolutionInApp":"Преглед на решение"}
1
+ {"agentProgress":{"explorerAgentSearching":"й_Searching ArcGIS Solutions documentation_______________________й...","explorerAgentReading":"й_Reading through the documentation___________________й...","explorerAgentReviewing":"й_Reviewing what I found__________________________й...","explorerAgentPreparing":"й_Preparing a response________________________й..."},"builderMessages":{"understandingRequest":"й_Understanding your request______________________________й...","selectTemplatePrompt":"й_This use case could be supported in a few different ways. Choose the option that best matches what you want to accomplish______________________________________________________________й.","searchingExistingSolutions":"й_Searching for existing solutions___________________й...","existingSolutionMatch":"й_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________й?","creatingDesign":"й_Generating solution design______________________________й...","updatingDesign":"й_Updating solution design____________________________й...","applyChangeFailed":"й_I wasn't able to apply that change. The design was not modified. Please try rephrasing your request___________________________________________________й."},"betaTag":"й_Beta_________й","defaultStartUpMessage":"й_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________й.","defaultFollowUpQuestions":{"roadwayAssets":"й_Can you help me inspect roadway assets_____________________й?","publicSafety":"й_What solutions support public safety agencies________________________й?","howToDeploy":"й_How do I deploy a solution____________________________й?","buildOwnSolution":"й_I want to build my own solution_________________й."},"disclaimerMessage":"Отговорите се генерират от ИИ и може да са неточни.","executingSolutionsAssistantAgent":"й_Preparing a response________________________й...","genericErrorMessage":"й_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________й.","newConversationStarted":"Започна нов разговор.","noPermissionTitle":"й_ArcGIS Solutions assistant is not available_______________________й.","noPermissionMessage":"й_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________й.","reportConcern":"Докладване на проблем със сигурността.","solutionsDocReference":"препратка","solutionsDocReferences":"препратки","sendMessage":"Въведете въпроса си","solutionAssistantTitle":"Асистент за ArcGIS Solutions","signIn":"Вписване","signInMessage":"й_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________й.","tooltips":{"close":"й_Close___________й","likeButton":"Положителна обратна връзка","dislikeButton":"Отрицателна обратна връзка","copyButton":"Копиране","newConversation":"Нов разговор","sendQuestion":"Изпращане","solutionBuilder":"й_Solution builder_________________й","toggleSolutionBuilder":"й_Toggle solution builder panel______________________________й"},"viewSolutionInApp":"Преглед на решение"}
@@ -1 +1 @@
1
- {"agentProgress":{"builderAgentExecuting":"Č_Executing Solutions Builder Agent___________________ž...","builderAgentUnderstanding":"Č_Understanding your request______________________________ž...","builderAgentReviewingUseCase":"Č_Reviewing the use case__________________________ž...","builderAgentSearching":"Č_Searching for existing solutions___________________ž...","builderAgentFindingMatch":"Č_Finding matching solution_____________________________ž...","builderAgentCreatingDesign":"Č_Creating a solution design______________________________ž...","builderAgentValidating":"Č_Validating the solution design__________________ž...","explorerAgentSearching":"Č_Searching ArcGIS Solutions documentation_______________________ž...","explorerAgentReading":"Č_Reading through the documentation___________________ž...","explorerAgentReviewing":"Č_Reviewing what I found__________________________ž...","explorerAgentPreparing":"Č_Preparing a response________________________ž..."},"builderMessages":{"newConversationStarted":"Č_New conversation started__________________________ž.","undoDesignChange":"Č_Undid the last solution design change____________________ž.","redoDesignChange":"Č_Redid the last undone change______________________________ž.","cancelledMessage":"Č_Okay, I've stopped here. No solution design was created. Let me know if there's anything else I can help with________________________________________________________ž.","selectTemplatePrompt":"Č_Templates provide a starting structure for your solution, including layers, maps, and apps. Choose a template to get started building your solution___________________________________________________________________________ž.","describeWorkflowPrompt":"Č_What kind of workflow are you looking to support? Share a brief description of what the solution should help with__________________________________________________________ž.","buildTemplateSolution":"Č_It looks like you would like to build a {{template}} solution________________________________ž.","needUseCaseForTemplate":"Č_Next we need to understand the use case for the {{template}} solution____________________________________ž.","provideUseCaseDetails":"Č_Please provide more details about the use case_________________________ž.","existingSolutionMatch":"Č_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________ž?","existingTemplateMatch":"Č_We have an existing template, {{templateMatch}}, that closely matches your use case. Do you want to continue building your solution___________________________________________________________________ž?","designUpdated":"Č_I updated the solution design for you____________________ž.","designCreated":"Č_I created an initial solution design for you________________________ž.","iteratePrompt":"Č_The solution design has been created. Would you like to make any changes or additions to it? If so, describe what you'd like to modify (e.g., add layers, change fields, update description). Leave blank or say \"no\" to proceed__________________________________________________________________________________________________________________ž."},"betaTag":"Č_Beta_________ž","defaultStartUpMessage":"Č_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________ž.","defaultFollowUpQuestions":{"roadwayAssets":"Č_Can you help me inspect roadway assets_____________________ž?","publicSafety":"Č_What solutions support public safety agencies________________________ž?","howToDeploy":"Č_How do I deploy a solution____________________________ž?","buildOwnSolution":"Č_I want to build my own solution_________________ž."},"disclaimerMessage":"Odgovore generira umjetna inteligencija i mogu biti netočni.","executingSolutionsAssistantAgent":"Č_Preparing a response________________________ž...","genericErrorMessage":"Č_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________ž.","newConversationStarted":"Započet je novi razgovor","noPermissionTitle":"Č_ArcGIS Solutions assistant is not available_______________________ž.","noPermissionMessage":"Č_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________ž.","reportConcern":"Prijavite sigurnosni problem.","solutionsDocReference":"referenca","solutionsDocReferences":"reference","sendMessage":"Unesite svoje pitanje","solutionAssistantTitle":"ArcGIS Solutions pomoćnik","signIn":"Prijavite se","signInMessage":"Č_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________ž.","tooltips":{"close":"Č_Close___________ž","likeButton":"Pozitivne povratne informacije","dislikeButton":"Negativne povratne informacije","copyButton":"Kopiraj","newConversation":"Novi razgovor","sendQuestion":"Pošalji","solutionBuilder":"Č_Solution builder_________________ž","toggleSolutionBuilder":"Č_Toggle solution builder panel______________________________ž"},"viewSolutionInApp":"Prikaz rješenja"}
1
+ {"agentProgress":{"explorerAgentSearching":"Č_Searching ArcGIS Solutions documentation_______________________ž...","explorerAgentReading":"Č_Reading through the documentation___________________ž...","explorerAgentReviewing":"Č_Reviewing what I found__________________________ž...","explorerAgentPreparing":"Č_Preparing a response________________________ž..."},"builderMessages":{"understandingRequest":"Č_Understanding your request______________________________ž...","selectTemplatePrompt":"Č_This use case could be supported in a few different ways. Choose the option that best matches what you want to accomplish______________________________________________________________ž.","searchingExistingSolutions":"Č_Searching for existing solutions___________________ž...","existingSolutionMatch":"Č_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________ž?","creatingDesign":"Č_Generating solution design______________________________ž...","updatingDesign":"Č_Updating solution design____________________________ž...","applyChangeFailed":"Č_I wasn't able to apply that change. The design was not modified. Please try rephrasing your request___________________________________________________ž."},"betaTag":"Č_Beta_________ž","defaultStartUpMessage":"Č_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________ž.","defaultFollowUpQuestions":{"roadwayAssets":"Č_Can you help me inspect roadway assets_____________________ž?","publicSafety":"Č_What solutions support public safety agencies________________________ž?","howToDeploy":"Č_How do I deploy a solution____________________________ž?","buildOwnSolution":"Č_I want to build my own solution_________________ž."},"disclaimerMessage":"Odgovore generira umjetna inteligencija i mogu biti netočni.","executingSolutionsAssistantAgent":"Č_Preparing a response________________________ž...","genericErrorMessage":"Č_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________ž.","newConversationStarted":"Započet je novi razgovor","noPermissionTitle":"Č_ArcGIS Solutions assistant is not available_______________________ž.","noPermissionMessage":"Č_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________ž.","reportConcern":"Prijavite sigurnosni problem.","solutionsDocReference":"referenca","solutionsDocReferences":"reference","sendMessage":"Unesite svoje pitanje","solutionAssistantTitle":"ArcGIS Solutions pomoćnik","signIn":"Prijavite se","signInMessage":"Č_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________ž.","tooltips":{"close":"Č_Close___________ž","likeButton":"Pozitivne povratne informacije","dislikeButton":"Negativne povratne informacije","copyButton":"Kopiraj","newConversation":"Novi razgovor","sendQuestion":"Pošalji","solutionBuilder":"Č_Solution builder_________________ž","toggleSolutionBuilder":"Č_Toggle solution builder panel______________________________ž"},"viewSolutionInApp":"Prikaz rješenja"}
@@ -1 +1 @@
1
- {"agentProgress":{"builderAgentExecuting":"ó_Executing Solutions Builder Agent___________________à...","builderAgentUnderstanding":"ó_Understanding your request______________________________à...","builderAgentReviewingUseCase":"ó_Reviewing the use case__________________________à...","builderAgentSearching":"ó_Searching for existing solutions___________________à...","builderAgentFindingMatch":"ó_Finding matching solution_____________________________à...","builderAgentCreatingDesign":"ó_Creating a solution design______________________________à...","builderAgentValidating":"ó_Validating the solution design__________________à...","explorerAgentSearching":"ó_Searching ArcGIS Solutions documentation_______________________à...","explorerAgentReading":"ó_Reading through the documentation___________________à...","explorerAgentReviewing":"ó_Reviewing what I found__________________________à...","explorerAgentPreparing":"ó_Preparing a response________________________à..."},"builderMessages":{"newConversationStarted":"ó_New conversation started__________________________à.","undoDesignChange":"ó_Undid the last solution design change____________________à.","redoDesignChange":"ó_Redid the last undone change______________________________à.","cancelledMessage":"ó_Okay, I've stopped here. No solution design was created. Let me know if there's anything else I can help with________________________________________________________à.","selectTemplatePrompt":"ó_Templates provide a starting structure for your solution, including layers, maps, and apps. Choose a template to get started building your solution___________________________________________________________________________à.","describeWorkflowPrompt":"ó_What kind of workflow are you looking to support? Share a brief description of what the solution should help with__________________________________________________________à.","buildTemplateSolution":"ó_It looks like you would like to build a {{template}} solution________________________________à.","needUseCaseForTemplate":"ó_Next we need to understand the use case for the {{template}} solution____________________________________à.","provideUseCaseDetails":"ó_Please provide more details about the use case_________________________à.","existingSolutionMatch":"ó_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________à?","existingTemplateMatch":"ó_We have an existing template, {{templateMatch}}, that closely matches your use case. Do you want to continue building your solution___________________________________________________________________à?","designUpdated":"ó_I updated the solution design for you____________________à.","designCreated":"ó_I created an initial solution design for you________________________à.","iteratePrompt":"ó_The solution design has been created. Would you like to make any changes or additions to it? If so, describe what you'd like to modify (e.g., add layers, change fields, update description). Leave blank or say \"no\" to proceed__________________________________________________________________________________________________________________à."},"betaTag":"ó_Beta_________à","defaultStartUpMessage":"ó_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________à.","defaultFollowUpQuestions":{"roadwayAssets":"ó_Can you help me inspect roadway assets_____________________à?","publicSafety":"ó_What solutions support public safety agencies________________________à?","howToDeploy":"ó_How do I deploy a solution____________________________à?","buildOwnSolution":"ó_I want to build my own solution_________________à."},"disclaimerMessage":"Les respostes es generen amb IA i és possible que no siguin correctes.","executingSolutionsAssistantAgent":"ó_Preparing a response________________________à...","genericErrorMessage":"ó_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________à.","newConversationStarted":"S'ha iniciat una conversa nova","noPermissionTitle":"ó_ArcGIS Solutions assistant is not available_______________________à.","noPermissionMessage":"ó_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________à.","reportConcern":"Informeu d'un problema de seguretat.","solutionsDocReference":"referència","solutionsDocReferences":"referències","sendMessage":"Escriviu la pregunta","solutionAssistantTitle":"Assistent de l'ArcGIS Solutions","signIn":"Inicia la sessió","signInMessage":"ó_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________à.","tooltips":{"close":"ó_Close___________à","likeButton":"Comentaris positius","dislikeButton":"Comentaris negatius","copyButton":"Copia","newConversation":"Conversa nova","sendQuestion":"Envia","solutionBuilder":"ó_Solution builder_________________à","toggleSolutionBuilder":"ó_Toggle solution builder panel______________________________à"},"viewSolutionInApp":"Mostra la solució"}
1
+ {"agentProgress":{"explorerAgentSearching":"ó_Searching ArcGIS Solutions documentation_______________________à...","explorerAgentReading":"ó_Reading through the documentation___________________à...","explorerAgentReviewing":"ó_Reviewing what I found__________________________à...","explorerAgentPreparing":"ó_Preparing a response________________________à..."},"builderMessages":{"understandingRequest":"ó_Understanding your request______________________________à...","selectTemplatePrompt":"ó_This use case could be supported in a few different ways. Choose the option that best matches what you want to accomplish______________________________________________________________à.","searchingExistingSolutions":"ó_Searching for existing solutions___________________à...","existingSolutionMatch":"ó_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________à?","creatingDesign":"ó_Generating solution design______________________________à...","updatingDesign":"ó_Updating solution design____________________________à...","applyChangeFailed":"ó_I wasn't able to apply that change. The design was not modified. Please try rephrasing your request___________________________________________________à."},"betaTag":"ó_Beta_________à","defaultStartUpMessage":"ó_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________à.","defaultFollowUpQuestions":{"roadwayAssets":"ó_Can you help me inspect roadway assets_____________________à?","publicSafety":"ó_What solutions support public safety agencies________________________à?","howToDeploy":"ó_How do I deploy a solution____________________________à?","buildOwnSolution":"ó_I want to build my own solution_________________à."},"disclaimerMessage":"Les respostes es generen amb IA i és possible que no siguin correctes.","executingSolutionsAssistantAgent":"ó_Preparing a response________________________à...","genericErrorMessage":"ó_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________à.","newConversationStarted":"S'ha iniciat una conversa nova","noPermissionTitle":"ó_ArcGIS Solutions assistant is not available_______________________à.","noPermissionMessage":"ó_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________à.","reportConcern":"Informeu d'un problema de seguretat.","solutionsDocReference":"referència","solutionsDocReferences":"referències","sendMessage":"Escriviu la pregunta","solutionAssistantTitle":"Assistent de l'ArcGIS Solutions","signIn":"Inicia la sessió","signInMessage":"ó_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________à.","tooltips":{"close":"ó_Close___________à","likeButton":"Comentaris positius","dislikeButton":"Comentaris negatius","copyButton":"Copia","newConversation":"Conversa nova","sendQuestion":"Envia","solutionBuilder":"ó_Solution builder_________________à","toggleSolutionBuilder":"ó_Toggle solution builder panel______________________________à"},"viewSolutionInApp":"Mostra la solució"}
@@ -1 +1 @@
1
- {"agentProgress":{"builderAgentExecuting":"Ř_Executing Solutions Builder Agent___________________ů...","builderAgentUnderstanding":"Ř_Understanding your request______________________________ů...","builderAgentReviewingUseCase":"Ř_Reviewing the use case__________________________ů...","builderAgentSearching":"Ř_Searching for existing solutions___________________ů...","builderAgentFindingMatch":"Ř_Finding matching solution_____________________________ů...","builderAgentCreatingDesign":"Ř_Creating a solution design______________________________ů...","builderAgentValidating":"Ř_Validating the solution design__________________ů...","explorerAgentSearching":"Ř_Searching ArcGIS Solutions documentation_______________________ů...","explorerAgentReading":"Ř_Reading through the documentation___________________ů...","explorerAgentReviewing":"Ř_Reviewing what I found__________________________ů...","explorerAgentPreparing":"Ř_Preparing a response________________________ů..."},"builderMessages":{"newConversationStarted":"Ř_New conversation started__________________________ů.","undoDesignChange":"Ř_Undid the last solution design change____________________ů.","redoDesignChange":"Ř_Redid the last undone change______________________________ů.","cancelledMessage":"Ř_Okay, I've stopped here. No solution design was created. Let me know if there's anything else I can help with________________________________________________________ů.","selectTemplatePrompt":"Ř_Templates provide a starting structure for your solution, including layers, maps, and apps. Choose a template to get started building your solution___________________________________________________________________________ů.","describeWorkflowPrompt":"Ř_What kind of workflow are you looking to support? Share a brief description of what the solution should help with__________________________________________________________ů.","buildTemplateSolution":"Ř_It looks like you would like to build a {{template}} solution________________________________ů.","needUseCaseForTemplate":"Ř_Next we need to understand the use case for the {{template}} solution____________________________________ů.","provideUseCaseDetails":"Ř_Please provide more details about the use case_________________________ů.","existingSolutionMatch":"Ř_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________ů?","existingTemplateMatch":"Ř_We have an existing template, {{templateMatch}}, that closely matches your use case. Do you want to continue building your solution___________________________________________________________________ů?","designUpdated":"Ř_I updated the solution design for you____________________ů.","designCreated":"Ř_I created an initial solution design for you________________________ů.","iteratePrompt":"Ř_The solution design has been created. Would you like to make any changes or additions to it? If so, describe what you'd like to modify (e.g., add layers, change fields, update description). Leave blank or say \"no\" to proceed__________________________________________________________________________________________________________________ů."},"betaTag":"Ř_Beta_________ů","defaultStartUpMessage":"Ř_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________ů.","defaultFollowUpQuestions":{"roadwayAssets":"Ř_Can you help me inspect roadway assets_____________________ů?","publicSafety":"Ř_What solutions support public safety agencies________________________ů?","howToDeploy":"Ř_How do I deploy a solution____________________________ů?","buildOwnSolution":"Ř_I want to build my own solution_________________ů."},"disclaimerMessage":"Odpovědi jsou generovány pomocí AI a mohou být nepřesné.","executingSolutionsAssistantAgent":"Ř_Preparing a response________________________ů...","genericErrorMessage":"Ř_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________ů.","newConversationStarted":"Nová konverzace byla zahájena","noPermissionTitle":"Ř_ArcGIS Solutions assistant is not available_______________________ů.","noPermissionMessage":"Ř_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________ů.","reportConcern":"Nahlaste problém se zabezpečením.","solutionsDocReference":"reference","solutionsDocReferences":"reference","sendMessage":"Zadejte svou otázku","solutionAssistantTitle":"Asistent pro ArcGIS Solutions","signIn":"Přihlásit se","signInMessage":"Ř_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________ů.","tooltips":{"close":"Ř_Close___________ů","likeButton":"Pozitivní zpětná vazba","dislikeButton":"Negativní zpětná vazba","copyButton":"Kopírovat","newConversation":"Nová konverzace","sendQuestion":"Odeslat","solutionBuilder":"Ř_Solution builder_________________ů","toggleSolutionBuilder":"Ř_Toggle solution builder panel______________________________ů"},"viewSolutionInApp":"Zobrazit řešení"}
1
+ {"agentProgress":{"explorerAgentSearching":"Ř_Searching ArcGIS Solutions documentation_______________________ů...","explorerAgentReading":"Ř_Reading through the documentation___________________ů...","explorerAgentReviewing":"Ř_Reviewing what I found__________________________ů...","explorerAgentPreparing":"Ř_Preparing a response________________________ů..."},"builderMessages":{"understandingRequest":"Ř_Understanding your request______________________________ů...","selectTemplatePrompt":"Ř_This use case could be supported in a few different ways. Choose the option that best matches what you want to accomplish______________________________________________________________ů.","searchingExistingSolutions":"Ř_Searching for existing solutions___________________ů...","existingSolutionMatch":"Ř_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________ů?","creatingDesign":"Ř_Generating solution design______________________________ů...","updatingDesign":"Ř_Updating solution design____________________________ů...","applyChangeFailed":"Ř_I wasn't able to apply that change. The design was not modified. Please try rephrasing your request___________________________________________________ů."},"betaTag":"Ř_Beta_________ů","defaultStartUpMessage":"Ř_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________ů.","defaultFollowUpQuestions":{"roadwayAssets":"Ř_Can you help me inspect roadway assets_____________________ů?","publicSafety":"Ř_What solutions support public safety agencies________________________ů?","howToDeploy":"Ř_How do I deploy a solution____________________________ů?","buildOwnSolution":"Ř_I want to build my own solution_________________ů."},"disclaimerMessage":"Odpovědi jsou generovány pomocí AI a mohou být nepřesné.","executingSolutionsAssistantAgent":"Ř_Preparing a response________________________ů...","genericErrorMessage":"Ř_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________ů.","newConversationStarted":"Nová konverzace byla zahájena","noPermissionTitle":"Ř_ArcGIS Solutions assistant is not available_______________________ů.","noPermissionMessage":"Ř_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________ů.","reportConcern":"Nahlaste problém se zabezpečením.","solutionsDocReference":"reference","solutionsDocReferences":"reference","sendMessage":"Zadejte svou otázku","solutionAssistantTitle":"Asistent pro ArcGIS Solutions","signIn":"Přihlásit se","signInMessage":"Ř_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________ů.","tooltips":{"close":"Ř_Close___________ů","likeButton":"Pozitivní zpětná vazba","dislikeButton":"Negativní zpětná vazba","copyButton":"Kopírovat","newConversation":"Nová konverzace","sendQuestion":"Odeslat","solutionBuilder":"Ř_Solution builder_________________ů","toggleSolutionBuilder":"Ř_Toggle solution builder panel______________________________ů"},"viewSolutionInApp":"Zobrazit řešení"}
@@ -1 +1 @@
1
- {"agentProgress":{"builderAgentExecuting":"ø_Executing Solutions Builder Agent___________________å...","builderAgentUnderstanding":"ø_Understanding your request______________________________å...","builderAgentReviewingUseCase":"ø_Reviewing the use case__________________________å...","builderAgentSearching":"ø_Searching for existing solutions___________________å...","builderAgentFindingMatch":"ø_Finding matching solution_____________________________å...","builderAgentCreatingDesign":"ø_Creating a solution design______________________________å...","builderAgentValidating":"ø_Validating the solution design__________________å...","explorerAgentSearching":"ø_Searching ArcGIS Solutions documentation_______________________å...","explorerAgentReading":"ø_Reading through the documentation___________________å...","explorerAgentReviewing":"ø_Reviewing what I found__________________________å...","explorerAgentPreparing":"ø_Preparing a response________________________å..."},"builderMessages":{"newConversationStarted":"ø_New conversation started__________________________å.","undoDesignChange":"ø_Undid the last solution design change____________________å.","redoDesignChange":"ø_Redid the last undone change______________________________å.","cancelledMessage":"ø_Okay, I've stopped here. No solution design was created. Let me know if there's anything else I can help with________________________________________________________å.","selectTemplatePrompt":"ø_Templates provide a starting structure for your solution, including layers, maps, and apps. Choose a template to get started building your solution___________________________________________________________________________å.","describeWorkflowPrompt":"ø_What kind of workflow are you looking to support? Share a brief description of what the solution should help with__________________________________________________________å.","buildTemplateSolution":"ø_It looks like you would like to build a {{template}} solution________________________________å.","needUseCaseForTemplate":"ø_Next we need to understand the use case for the {{template}} solution____________________________________å.","provideUseCaseDetails":"ø_Please provide more details about the use case_________________________å.","existingSolutionMatch":"ø_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________å?","existingTemplateMatch":"ø_We have an existing template, {{templateMatch}}, that closely matches your use case. Do you want to continue building your solution___________________________________________________________________å?","designUpdated":"ø_I updated the solution design for you____________________å.","designCreated":"ø_I created an initial solution design for you________________________å.","iteratePrompt":"ø_The solution design has been created. Would you like to make any changes or additions to it? If so, describe what you'd like to modify (e.g., add layers, change fields, update description). Leave blank or say \"no\" to proceed__________________________________________________________________________________________________________________å."},"betaTag":"ø_Beta_________å","defaultStartUpMessage":"ø_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________å.","defaultFollowUpQuestions":{"roadwayAssets":"ø_Can you help me inspect roadway assets_____________________å?","publicSafety":"ø_What solutions support public safety agencies________________________å?","howToDeploy":"ø_How do I deploy a solution____________________________å?","buildOwnSolution":"ø_I want to build my own solution_________________å."},"disclaimerMessage":"Svarene er genereret af AI og er muligvis ikke nøjagtige.","executingSolutionsAssistantAgent":"ø_Preparing a response________________________å...","genericErrorMessage":"ø_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________å.","newConversationStarted":"Nyt samtale startet","noPermissionTitle":"ø_ArcGIS Solutions assistant is not available_______________________å.","noPermissionMessage":"ø_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________å.","reportConcern":"Rapportér et sikkerhedsproblem.","solutionsDocReference":"reference","solutionsDocReferences":"referencer","sendMessage":"Indtast dit spørgsmål","solutionAssistantTitle":"ArcGIS Solutions-assistent","signIn":"Log ind","signInMessage":"ø_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________å.","tooltips":{"close":"ø_Close___________å","likeButton":"Positivt feeback","dislikeButton":"Negativt feedback","copyButton":"Kopiér","newConversation":"Ny samtale","sendQuestion":"Send","solutionBuilder":"ø_Solution builder_________________å","toggleSolutionBuilder":"ø_Toggle solution builder panel______________________________å"},"viewSolutionInApp":"Vis løsning"}
1
+ {"agentProgress":{"explorerAgentSearching":"ø_Searching ArcGIS Solutions documentation_______________________å...","explorerAgentReading":"ø_Reading through the documentation___________________å...","explorerAgentReviewing":"ø_Reviewing what I found__________________________å...","explorerAgentPreparing":"ø_Preparing a response________________________å..."},"builderMessages":{"understandingRequest":"ø_Understanding your request______________________________å...","selectTemplatePrompt":"ø_This use case could be supported in a few different ways. Choose the option that best matches what you want to accomplish______________________________________________________________å.","searchingExistingSolutions":"ø_Searching for existing solutions___________________å...","existingSolutionMatch":"ø_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________å?","creatingDesign":"ø_Generating solution design______________________________å...","updatingDesign":"ø_Updating solution design____________________________å...","applyChangeFailed":"ø_I wasn't able to apply that change. The design was not modified. Please try rephrasing your request___________________________________________________å."},"betaTag":"ø_Beta_________å","defaultStartUpMessage":"ø_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________å.","defaultFollowUpQuestions":{"roadwayAssets":"ø_Can you help me inspect roadway assets_____________________å?","publicSafety":"ø_What solutions support public safety agencies________________________å?","howToDeploy":"ø_How do I deploy a solution____________________________å?","buildOwnSolution":"ø_I want to build my own solution_________________å."},"disclaimerMessage":"Svarene er genereret af AI og er muligvis ikke nøjagtige.","executingSolutionsAssistantAgent":"ø_Preparing a response________________________å...","genericErrorMessage":"ø_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________å.","newConversationStarted":"Nyt samtale startet","noPermissionTitle":"ø_ArcGIS Solutions assistant is not available_______________________å.","noPermissionMessage":"ø_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________å.","reportConcern":"Rapportér et sikkerhedsproblem.","solutionsDocReference":"reference","solutionsDocReferences":"referencer","sendMessage":"Indtast dit spørgsmål","solutionAssistantTitle":"ArcGIS Solutions-assistent","signIn":"Log ind","signInMessage":"ø_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________å.","tooltips":{"close":"ø_Close___________å","likeButton":"Positivt feeback","dislikeButton":"Negativt feedback","copyButton":"Kopiér","newConversation":"Ny samtale","sendQuestion":"Send","solutionBuilder":"ø_Solution builder_________________å","toggleSolutionBuilder":"ø_Toggle solution builder panel______________________________å"},"viewSolutionInApp":"Vis løsning"}
@@ -1 +1 @@
1
- {"agentProgress":{"builderAgentExecuting":"ä_Executing Solutions Builder Agent___________________Ü...","builderAgentUnderstanding":"ä_Understanding your request______________________________Ü...","builderAgentReviewingUseCase":"ä_Reviewing the use case__________________________Ü...","builderAgentSearching":"ä_Searching for existing solutions___________________Ü...","builderAgentFindingMatch":"ä_Finding matching solution_____________________________Ü...","builderAgentCreatingDesign":"ä_Creating a solution design______________________________Ü...","builderAgentValidating":"ä_Validating the solution design__________________Ü...","explorerAgentSearching":"ä_Searching ArcGIS Solutions documentation_______________________Ü...","explorerAgentReading":"ä_Reading through the documentation___________________Ü...","explorerAgentReviewing":"ä_Reviewing what I found__________________________Ü...","explorerAgentPreparing":"ä_Preparing a response________________________Ü..."},"builderMessages":{"newConversationStarted":"ä_New conversation started__________________________Ü.","undoDesignChange":"ä_Undid the last solution design change____________________Ü.","redoDesignChange":"ä_Redid the last undone change______________________________Ü.","cancelledMessage":"ä_Okay, I've stopped here. No solution design was created. Let me know if there's anything else I can help with________________________________________________________Ü.","selectTemplatePrompt":"ä_Templates provide a starting structure for your solution, including layers, maps, and apps. Choose a template to get started building your solution___________________________________________________________________________Ü.","describeWorkflowPrompt":"ä_What kind of workflow are you looking to support? Share a brief description of what the solution should help with__________________________________________________________Ü.","buildTemplateSolution":"ä_It looks like you would like to build a {{template}} solution________________________________Ü.","needUseCaseForTemplate":"ä_Next we need to understand the use case for the {{template}} solution____________________________________Ü.","provideUseCaseDetails":"ä_Please provide more details about the use case_________________________Ü.","existingSolutionMatch":"ä_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________Ü?","existingTemplateMatch":"ä_We have an existing template, {{templateMatch}}, that closely matches your use case. Do you want to continue building your solution___________________________________________________________________Ü?","designUpdated":"ä_I updated the solution design for you____________________Ü.","designCreated":"ä_I created an initial solution design for you________________________Ü.","iteratePrompt":"ä_The solution design has been created. Would you like to make any changes or additions to it? If so, describe what you'd like to modify (e.g., add layers, change fields, update description). Leave blank or say \"no\" to proceed__________________________________________________________________________________________________________________Ü."},"betaTag":"ä_Beta_________Ü","defaultStartUpMessage":"ä_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________Ü.","defaultFollowUpQuestions":{"roadwayAssets":"ä_Can you help me inspect roadway assets_____________________Ü?","publicSafety":"ä_What solutions support public safety agencies________________________Ü?","howToDeploy":"ä_How do I deploy a solution____________________________Ü?","buildOwnSolution":"ä_I want to build my own solution_________________Ü."},"disclaimerMessage":"Die Antworten werden von einer KI generiert und können ungenau sein.","executingSolutionsAssistantAgent":"ä_Preparing a response________________________Ü...","genericErrorMessage":"ä_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________Ü.","newConversationStarted":"Neue Unterhaltung gestartet","noPermissionTitle":"ä_ArcGIS Solutions assistant is not available_______________________Ü.","noPermissionMessage":"ä_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________Ü.","reportConcern":"Ein Sicherheitsproblem melden.","solutionsDocReference":"Referenz","solutionsDocReferences":"Referenzen","sendMessage":"Geben Sie Ihre Frage ein.","solutionAssistantTitle":"ArcGIS Solutions-Assistent","signIn":"Anmelden","signInMessage":"ä_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________Ü.","tooltips":{"close":"ä_Close___________Ü","likeButton":"Positives Feedback","dislikeButton":"Negatives Feedback","copyButton":"Kopieren","newConversation":"Neue Unterhaltung","sendQuestion":"Senden","solutionBuilder":"ä_Solution builder_________________Ü","toggleSolutionBuilder":"ä_Toggle solution builder panel______________________________Ü"},"viewSolutionInApp":"Lösung anzeigen"}
1
+ {"agentProgress":{"explorerAgentSearching":"ä_Searching ArcGIS Solutions documentation_______________________Ü...","explorerAgentReading":"ä_Reading through the documentation___________________Ü...","explorerAgentReviewing":"ä_Reviewing what I found__________________________Ü...","explorerAgentPreparing":"ä_Preparing a response________________________Ü..."},"builderMessages":{"understandingRequest":"ä_Understanding your request______________________________Ü...","selectTemplatePrompt":"ä_This use case could be supported in a few different ways. Choose the option that best matches what you want to accomplish______________________________________________________________Ü.","searchingExistingSolutions":"ä_Searching for existing solutions___________________Ü...","existingSolutionMatch":"ä_We have an existing solution, {{solutionMatch}}, that closely matches your use case and may already meet your needs. Do you want to continue building your solution___________________________________________________________________________________Ü?","creatingDesign":"ä_Generating solution design______________________________Ü...","updatingDesign":"ä_Updating solution design____________________________Ü...","applyChangeFailed":"ä_I wasn't able to apply that change. The design was not modified. Please try rephrasing your request___________________________________________________Ü."},"betaTag":"ä_Beta_________Ü","defaultStartUpMessage":"ä_Welcome to the ArcGIS Solutions assistant! I can help you learn more about ArcGIS Solutions, locate the right solution, or build a solution tailored to your unique needs______________________________________________________________________________________Ü.","defaultFollowUpQuestions":{"roadwayAssets":"ä_Can you help me inspect roadway assets_____________________Ü?","publicSafety":"ä_What solutions support public safety agencies________________________Ü?","howToDeploy":"ä_How do I deploy a solution____________________________Ü?","buildOwnSolution":"ä_I want to build my own solution_________________Ü."},"disclaimerMessage":"Die Antworten werden von einer KI generiert und können ungenau sein.","executingSolutionsAssistantAgent":"ä_Preparing a response________________________Ü...","genericErrorMessage":"ä_I'm sorry, I ran into a problem with your request. Please try again, or rephrase your question for better results__________________________________________________________Ü.","newConversationStarted":"Neue Unterhaltung gestartet","noPermissionTitle":"ä_ArcGIS Solutions assistant is not available_______________________Ü.","noPermissionMessage":"ä_To use the ArcGIS Solutions assistant, an <a href='{{orgUrl}}' target='_blank'>ArcGIS Online organizational account</a> with privileges to use AI assistants is required. Other account types, such as public accounts, are not currently supported. In addition, your ArcGIS Online administrator must <a href='{{configAI}}' target='_blank'>configure AI assistants</a>_______________________________________________________________________________________________________________________________________________________________________________________Ü.","reportConcern":"Ein Sicherheitsproblem melden.","solutionsDocReference":"Referenz","solutionsDocReferences":"Referenzen","sendMessage":"Geben Sie Ihre Frage ein.","solutionAssistantTitle":"ArcGIS Solutions-Assistent","signIn":"Anmelden","signInMessage":"ä_Sign in with your ArcGIS account to start using the ArcGIS Solutions assistant_________________________________________Ü.","tooltips":{"close":"ä_Close___________Ü","likeButton":"Positives Feedback","dislikeButton":"Negatives Feedback","copyButton":"Kopieren","newConversation":"Neue Unterhaltung","sendQuestion":"Senden","solutionBuilder":"ä_Solution builder_________________Ü","toggleSolutionBuilder":"ä_Toggle solution builder panel______________________________Ü"},"viewSolutionInApp":"Lösung anzeigen"}