@esri/solutions-components 5.1.0-next.115 → 5.1.0-next.117

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 (75) hide show
  1. package/dist/cdn/{BKEBJRZX.js → BL2UYK4E.js} +1 -1
  2. package/dist/cdn/CSXO2SCD.js +2 -0
  3. package/dist/cdn/FBKFFWV7.js +2 -0
  4. package/dist/cdn/{MNVPA4PO.js → GX4UL6SH.js} +1 -1
  5. package/dist/cdn/I26G2BTP.js +2 -0
  6. package/dist/cdn/JZS6OOSV.js +2 -0
  7. package/dist/cdn/{I3Z4ZXHI.js → KDBX5NZF.js} +104 -104
  8. package/dist/cdn/{ZLF75XXR.js → KID5EGV6.js} +1 -1
  9. package/dist/cdn/{NF7NTXNX.js → LEKPF4W5.js} +1 -1
  10. package/dist/cdn/NNGGHOOR.js +2 -0
  11. package/dist/cdn/{IK3B7GAH.js → P45BDH5J.js} +1 -1
  12. package/dist/cdn/{JDVBBLSB.js → T4SIUI23.js} +1 -1
  13. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ar.json +1 -1
  14. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bg.json +1 -1
  15. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.bs.json +1 -1
  16. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ca.json +1 -1
  17. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.cs.json +1 -1
  18. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.da.json +1 -1
  19. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.de.json +1 -1
  20. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.el.json +1 -1
  21. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.en.json +1 -1
  22. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.es.json +1 -1
  23. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.et.json +1 -1
  24. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fi.json +1 -1
  25. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.fr.json +1 -1
  26. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.he.json +1 -1
  27. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hr.json +1 -1
  28. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.hu.json +1 -1
  29. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.id.json +1 -1
  30. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.it.json +1 -1
  31. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ja.json +1 -1
  32. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.json +1 -1
  33. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ko.json +1 -1
  34. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lt.json +1 -1
  35. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.lv.json +1 -1
  36. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.nl.json +1 -1
  37. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.no.json +1 -1
  38. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pl.json +1 -1
  39. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-BR.json +1 -1
  40. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.pt-PT.json +1 -1
  41. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ro.json +1 -1
  42. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.ru.json +1 -1
  43. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sk.json +1 -1
  44. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sl.json +1 -1
  45. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sr.json +1 -1
  46. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.sv.json +1 -1
  47. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.th.json +1 -1
  48. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.tr.json +1 -1
  49. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.uk.json +1 -1
  50. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.vi.json +1 -1
  51. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-CN.json +1 -1
  52. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-HK.json +1 -1
  53. package/dist/cdn/assets/solution-builder-assistant/t9n/messages.zh-TW.json +1 -1
  54. package/dist/cdn/assets/solutions-all-shell/t9n/messages.en.json +1 -1
  55. package/dist/cdn/assets/solutions-all-shell/t9n/messages.json +1 -1
  56. package/dist/cdn/index.js +1 -1
  57. package/dist/components/arcgis-solutions-assistant/customElement.js +3299 -3297
  58. package/dist/components/layer-table/customElement.js +12 -12
  59. package/dist/components/solution-builder-assistant/customElement.d.ts +4 -0
  60. package/dist/components/solution-builder-assistant/customElement.js +109 -83
  61. package/dist/components/solutions-all-panel/customElement.js +12 -10
  62. package/dist/components/solutions-all-shell/customElement.d.ts +2 -0
  63. package/dist/components/solutions-all-shell/customElement.js +38 -37
  64. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  65. package/dist/docs/api.json +1 -1
  66. package/dist/docs/docs.json +1 -1
  67. package/dist/docs/web-types.json +1 -1
  68. package/dist/solutions-components_commit.txt +7 -7
  69. package/dist/utils/interfaces.d.ts +1 -0
  70. package/package.json +1 -1
  71. package/dist/cdn/5MQE4ZNN.js +0 -2
  72. package/dist/cdn/HP3WJMPA.js +0 -2
  73. package/dist/cdn/RA7KEE53.js +0 -2
  74. package/dist/cdn/WO6SEUNB.js +0 -2
  75. package/dist/cdn/ZLUCHPJQ.js +0 -2
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import i from"./JDVBBLSB.js";import h from"./3JVQG3QA.js";import"./US5FON7D.js";import"./QZJGSWNM.js";import"./VVZAS55G.js";import"./HNF4PBGT.js";import g from"./H5JZSXTG.js";import e from"./BMF7MU4P.js";import d from"./AVRGQSFV.js";import"./2B4SGB3I.js";import"./E3C3HXK2.js";import"./A4RZESK7.js";import c from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import{a as _}from"./FV3ILJ4J.js";import"./ANJGKFNJ.js";import"./S3TMLXGP.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import{b as y}from"./4F57JHMM.js";import{F as b,G as u,h as m,i as f}from"./3ITZDI72.js";import"./QPIMTXPL.js";export default $arcgis.t(([])=>{var v=m`.height-51{height:51px}.width-51{width:51px}`,p=class extends u{constructor(){super(),this._translations=_({name:"field-selection",blocking:!0}),this._fieldSortOrder="default",this._selectedFields=[],this._fieldVisibilityPopoverClickHandler=i=>{this._fieldVisibilityPopoverNode?this._isInNode(i.target,"arcgis-field-pick-list")||(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0,document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)):document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)},this.listenOn(window,"columnReorder",this.handleColumnReorder,{capture:!0})}static{this.properties={configExtraFields:1,layer:0,mapView:0,table:0,tableRef:0,_translations:16}}static{this.styles=v}render(){return f`<calcite-action alignment=center class="height-51 width-51" id=solutions-field-selection .text=${this._translations.fieldVisibility} scale=m @click=${()=>this._handleFieldVisibilityClick()} @mouseover=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} @mouseout=${()=>this._removeTableTooltip()} @focus=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} ${b(i=>this._fieldVisibilityActionNode=i)}><calcite-icon aria-hidden=true scale=s icon=gear></calcite-icon></calcite-action>`}handleColumnReorder(){this._fieldSortOrder="default",this._fieldVisibilityPopoverNode&&(this.removeFieldsPickList(),this._handleFieldVisibilityClick())}_handleFieldVisibilityClick(){if(this._fieldVisibilityPopoverNode)return;let i=this.table?.tableTemplate?.columnTemplates;if(this.layer&&this.mapView&&i&&this._fieldVisibilityActionNode){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler);let t=this.table.fieldColumns.map(l=>({alias:l.field.alias,description:l.field.description,name:l.field.name,type:l.field.type}));if(this._hasAttachmentsEnabled(this.layer)){let l="Attachments";if(this._shouldShowField(l.toUpperCase(),!1)){if(!i.some(s=>s.fieldName.toUpperCase()===l.toUpperCase())){let s={fieldName:l,type:"attachment",visible:!0};i.push(s)}t.push({name:l,alias:"Photos and files",type:"none",description:l})}}if(this.table.relatedRecordsEnabled&&this.layer.relationships&&this.layer.relationships.length>0){let l=this.layer.parent;this.layer.relationships.forEach((s,h)=>{let o,a=this._shouldShowField(s.name||"",!0);if(!a){let n=[...l?.layers||[],...l?.tables||[]].find(c=>c.layerId===s.relatedTableId),d=n?n.title:void 0;d&&this._shouldShowField(d,!0)&&(s.name=d,a=!0)}if(!a){let n=s.keyField||`related_${h}`;this._shouldShowField(n,!0)&&(s.name=s.name||n,a=!0)}if(!i.some(n=>n.fieldName.toLowerCase()===s.name?.toLowerCase()?(o=s.name,!0):!1))if(s.name){o=s.name;let n={fieldName:o,type:"relationship",visible:!0};a=this._shouldShowField(o,!0),i.push(n)}else{let n=[...l?.layers||[],...l?.tables],d;if(n.some(c=>c.layerId===s.relatedTableId?(d=c,!0):!1),d){o=d.title,s.name=o;let c={fieldName:o,type:"relationship",visible:!0};a=this._shouldShowField(o,!0),i.push(c)}}o&&a&&t.push({name:o,alias:`Related ${o}`,type:"none",description:`related:${o}`})})}let e=this._fieldVisibilityPopoverNode?this._fieldVisibilityPopoverNode:document.createElement("arcgis-field-pick-list");e.layer=this.layer,e.fields=t,e.showFieldInfo=!0,e.showFieldName=!0,e.showDescription=!1,e.showSelectionAll=!0,e.hideCancel=!0,e.hideSort=!1,e.showFilterLength=5,e.multiple=!0,e.heading=this._translations.fieldVisibility,e.okBtnText=this._translations.doneWithFieldChanges,e.filterPlaceholderText=this._translations.filterFields,e.sortBy=this._fieldSortOrder??"default";let r=this.table?.visibleColumns.map(l=>l.fieldName.startsWith("EsriFeatureTableRelationshipColumn")||l.fieldName.startsWith("EsriFeatureTableAttachmentsColumn")?l.effectiveLabel:l.fieldName);e.selectedFields=i.reduce((l,s)=>((r?r.indexOf(s.fieldName)>-1:s.visible)&&l.push(s.fieldName),l),[]),this._selectedFields=e.selectedFields,e.style.minHeight="340px",e.popoverProps={refElement:this._fieldVisibilityActionNode,popoverWidth:300,placement:"bottom-end",offsetDistance:-20,triggerDisabled:!1,autoClose:!1},e.addEventListener("arcgisChange",l=>{l.stopPropagation();let s=l.detail.selectedFields,h=this._getDifference(s,this._selectedFields),o=this._getDifference(this._selectedFields,s);h.concat(o).forEach(a=>{let n=this.layer?.relationships?.map(d=>d.name)||[];if(a==="Attachments"){let d=this.table.columns.find(c=>"onShowAttachments"in c);d.hidden=o.indexOf(a)>-1}else n.indexOf(a)>-1?this.table.columns.filter(d=>"relationshipId"in d).forEach(d=>{o.indexOf(a)>-1,a==d.effectiveLabel&&(d.hidden=o.indexOf(a)>-1)}):this.table.toggleColumnVisibility(a)}),this._selectedFields=s,this._updateTable(this.table.tableTemplate)}),e.addEventListener("arcgisSortByChange",l=>{l.stopPropagation(),this._fieldSortOrder=l.detail,this._sortFields(l.detail)}),e.addEventListener("arcgisClose",()=>{this._closePopovers(),setTimeout(()=>this._fieldVisibilityActionNode.setFocus(),200)}),document.body.appendChild(e),this._fieldVisibilityPopoverNode=e,setTimeout(()=>document.addEventListener("click",this._fieldVisibilityPopoverClickHandler),200)}}_shouldShowField(i,t){return(this.configExtraFields||[]).some(e=>t?e.replace("related:","").toUpperCase()===i.toUpperCase():e.toUpperCase()===i.toUpperCase())}removeFieldsPickList(){this._fieldVisibilityPopoverNode&&(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0)}_sortFields(i){let t=this.table.tableTemplate.columnTemplates,e=this._getSortOrder(i),r=t.filter(s=>s.type!=="attachment"&&s.type!=="relationship").sort((s,h)=>{let o=e.indexOf(s.fieldName),a=e.indexOf(h.fieldName);return o===-1&&a!==-1?1:o!==-1&&a===-1?-1:o===-1&&a===-1?0:o-a}),l=t.filter(s=>s.type==="attachment"||s.type==="relationship");this.tableRef.setColumnOrder([...r,...l]),this._updateTable(this.table.tableTemplate)}_getSortOrder(i){let t=[...this.layer.fields];return i==="display"?t.sort((e,r)=>e.alias.localeCompare(r.alias)):i==="field"?t.sort((e,r)=>e.name.localeCompare(r.name)):i==="type"&&t.sort((e,r)=>e.type.localeCompare(r.type)),t.map(e=>e.name)}_getDifference(i,t){return i.filter(e=>!t.includes(e))}_updateTable(i){this.table.tableTemplate=i,this._isStandardView()&&this._syncAttributeTableTemplate()}async _syncAttributeTableTemplate(){let i=this.table.layer;if(i.attributeTableTemplate){let{_modules:t}=this,e=i.attributeTableTemplate.clone();t?.attributeTableTemplateUtils.syncAttributeTableTemplate(this.table,e),JSON.stringify(e)!==JSON.stringify(i.attributeTableTemplate)&&(i.attributeTableTemplate=e)}if(i.attributeTableTemplate?.orderByFields?.length>1){let t=i.attributeTableTemplate.clone(),e=this.table.activeSortOrders[0];t.orderByFields=[{field:e.fieldName,order:e.direction}],i.attributeTableTemplate=t,this._syncColumnDirectionsWithOrderByFields()}}_syncColumnDirectionsWithOrderByFields(){let i=this.table.activeSortOrders[0]?.fieldName;this.table.columns.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)}),this.table.tableTemplate?.columnTemplates.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)})}_isStandardView(){return!this.table.relatedTable&&!this.table.attachmentsViewOptions.objectId}_closePopovers(){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler),this._fieldVisibilityPopoverNode&&(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0)}_addTableTooltip(i,t){let e=document.createElement("calcite-tooltip");e.className="table-tooltip",e.referenceElement=i,e.placement="trailing-start",e.open=!0;let r=document.createElement("div");r.className="tooltip",r.innerHTML=t,e.append(r),document.body.append(e)}_removeTableTooltip(){document.querySelectorAll(".table-tooltip").forEach(i=>i.parentNode?.removeChild(i))}_isInNode(i,t){for(;i;){if(i.nodeName===t.toUpperCase())return!0;i=i.parentElement}return!1}_hasAttachmentsEnabled(i){if(!i?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:e}}}=i;return t&&e}};y("field-selection",p);return p},a,c,d,e,g,h,i)
2
+ import i from"./T4SIUI23.js";import h from"./3JVQG3QA.js";import"./US5FON7D.js";import"./QZJGSWNM.js";import"./VVZAS55G.js";import"./HNF4PBGT.js";import g from"./H5JZSXTG.js";import e from"./BMF7MU4P.js";import d from"./AVRGQSFV.js";import"./2B4SGB3I.js";import"./E3C3HXK2.js";import"./A4RZESK7.js";import c from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import{a as _}from"./FV3ILJ4J.js";import"./ANJGKFNJ.js";import"./S3TMLXGP.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import{b as y}from"./4F57JHMM.js";import{F as b,G as u,h as m,i as f}from"./3ITZDI72.js";import"./QPIMTXPL.js";export default $arcgis.t(([])=>{var v=m`.height-51{height:51px}.width-51{width:51px}`,p=class extends u{constructor(){super(),this._translations=_({name:"field-selection",blocking:!0}),this._fieldSortOrder="default",this._selectedFields=[],this._fieldVisibilityPopoverClickHandler=i=>{this._fieldVisibilityPopoverNode?this._isInNode(i.target,"arcgis-field-pick-list")||(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0,document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)):document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler)},this.listenOn(window,"columnReorder",this.handleColumnReorder,{capture:!0})}static{this.properties={configExtraFields:1,layer:0,mapView:0,table:0,tableRef:0,_translations:16}}static{this.styles=v}render(){return f`<calcite-action alignment=center class="height-51 width-51" id=solutions-field-selection .text=${this._translations.fieldVisibility} scale=m @click=${()=>this._handleFieldVisibilityClick()} @mouseover=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} @mouseout=${()=>this._removeTableTooltip()} @focus=${()=>this._addTableTooltip(this._fieldVisibilityActionNode,this._translations.fieldVisibility)} ${b(i=>this._fieldVisibilityActionNode=i)}><calcite-icon aria-hidden=true scale=s icon=gear></calcite-icon></calcite-action>`}handleColumnReorder(){this._fieldSortOrder="default",this._fieldVisibilityPopoverNode&&(this.removeFieldsPickList(),this._handleFieldVisibilityClick())}_handleFieldVisibilityClick(){if(this._fieldVisibilityPopoverNode)return;let i=this.table?.tableTemplate?.columnTemplates;if(this.layer&&this.mapView&&i&&this._fieldVisibilityActionNode){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler);let t=this.table.fieldColumns.map(l=>({alias:l.field.alias,description:l.field.description,name:l.field.name,type:l.field.type}));if(this._hasAttachmentsEnabled(this.layer)){let l="Attachments";if(this._shouldShowField(l.toUpperCase(),!1)){if(!i.some(s=>s.fieldName.toUpperCase()===l.toUpperCase())){let s={fieldName:l,type:"attachment",visible:!0};i.push(s)}t.push({name:l,alias:"Photos and files",type:"none",description:l})}}if(this.table.relatedRecordsEnabled&&this.layer.relationships&&this.layer.relationships.length>0){let l=this.layer.parent;this.layer.relationships.forEach((s,h)=>{let o,a=this._shouldShowField(s.name||"",!0);if(!a){let n=[...l?.layers||[],...l?.tables||[]].find(c=>c.layerId===s.relatedTableId),d=n?n.title:void 0;d&&this._shouldShowField(d,!0)&&(s.name=d,a=!0)}if(!a){let n=s.keyField||`related_${h}`;this._shouldShowField(n,!0)&&(s.name=s.name||n,a=!0)}if(!i.some(n=>n.fieldName.toLowerCase()===s.name?.toLowerCase()?(o=s.name,!0):!1))if(s.name){o=s.name;let n={fieldName:o,type:"relationship",visible:!0};a=this._shouldShowField(o,!0),i.push(n)}else{let n=[...l?.layers||[],...l?.tables],d;if(n.some(c=>c.layerId===s.relatedTableId?(d=c,!0):!1),d){o=d.title,s.name=o;let c={fieldName:o,type:"relationship",visible:!0};a=this._shouldShowField(o,!0),i.push(c)}}o&&a&&t.push({name:o,alias:`Related ${o}`,type:"none",description:`related:${o}`})})}let e=this._fieldVisibilityPopoverNode?this._fieldVisibilityPopoverNode:document.createElement("arcgis-field-pick-list");e.layer=this.layer,e.fields=t,e.showFieldInfo=!0,e.showFieldName=!0,e.showDescription=!1,e.showSelectionAll=!0,e.hideCancel=!0,e.hideSort=!1,e.showFilterLength=5,e.multiple=!0,e.heading=this._translations.fieldVisibility,e.okBtnText=this._translations.doneWithFieldChanges,e.filterPlaceholderText=this._translations.filterFields,e.sortBy=this._fieldSortOrder??"default";let r=this.table?.visibleColumns.map(l=>l.fieldName.startsWith("EsriFeatureTableRelationshipColumn")||l.fieldName.startsWith("EsriFeatureTableAttachmentsColumn")?l.effectiveLabel:l.fieldName);e.selectedFields=i.reduce((l,s)=>((r?r.indexOf(s.fieldName)>-1:s.visible)&&l.push(s.fieldName),l),[]),this._selectedFields=e.selectedFields,e.style.minHeight="340px",e.popoverProps={refElement:this._fieldVisibilityActionNode,popoverWidth:300,placement:"bottom-end",offsetDistance:-20,triggerDisabled:!1,autoClose:!1},e.addEventListener("arcgisChange",l=>{l.stopPropagation();let s=l.detail.selectedFields,h=this._getDifference(s,this._selectedFields),o=this._getDifference(this._selectedFields,s);h.concat(o).forEach(a=>{let n=this.layer?.relationships?.map(d=>d.name)||[];if(a==="Attachments"){let d=this.table.columns.find(c=>"onShowAttachments"in c);d.hidden=o.indexOf(a)>-1}else n.indexOf(a)>-1?this.table.columns.filter(d=>"relationshipId"in d).forEach(d=>{o.indexOf(a)>-1,a==d.effectiveLabel&&(d.hidden=o.indexOf(a)>-1)}):this.table.toggleColumnVisibility(a)}),this._selectedFields=s,this._updateTable(this.table.tableTemplate)}),e.addEventListener("arcgisSortByChange",l=>{l.stopPropagation(),this._fieldSortOrder=l.detail,this._sortFields(l.detail)}),e.addEventListener("arcgisClose",()=>{this._closePopovers(),setTimeout(()=>this._fieldVisibilityActionNode.setFocus(),200)}),document.body.appendChild(e),this._fieldVisibilityPopoverNode=e,setTimeout(()=>document.addEventListener("click",this._fieldVisibilityPopoverClickHandler),200)}}_shouldShowField(i,t){return(this.configExtraFields||[]).some(e=>t?e.replace("related:","").toUpperCase()===i.toUpperCase():e.toUpperCase()===i.toUpperCase())}removeFieldsPickList(){this._fieldVisibilityPopoverNode&&(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0)}_sortFields(i){let t=this.table.tableTemplate.columnTemplates,e=this._getSortOrder(i),r=t.filter(s=>s.type!=="attachment"&&s.type!=="relationship").sort((s,h)=>{let o=e.indexOf(s.fieldName),a=e.indexOf(h.fieldName);return o===-1&&a!==-1?1:o!==-1&&a===-1?-1:o===-1&&a===-1?0:o-a}),l=t.filter(s=>s.type==="attachment"||s.type==="relationship");this.tableRef.setColumnOrder([...r,...l]),this._updateTable(this.table.tableTemplate)}_getSortOrder(i){let t=[...this.layer.fields];return i==="display"?t.sort((e,r)=>e.alias.localeCompare(r.alias)):i==="field"?t.sort((e,r)=>e.name.localeCompare(r.name)):i==="type"&&t.sort((e,r)=>e.type.localeCompare(r.type)),t.map(e=>e.name)}_getDifference(i,t){return i.filter(e=>!t.includes(e))}_updateTable(i){this.table.tableTemplate=i,this._isStandardView()&&this._syncAttributeTableTemplate()}async _syncAttributeTableTemplate(){let i=this.table.layer;if(i.attributeTableTemplate){let{_modules:t}=this,e=i.attributeTableTemplate.clone();t?.attributeTableTemplateUtils.syncAttributeTableTemplate(this.table,e),JSON.stringify(e)!==JSON.stringify(i.attributeTableTemplate)&&(i.attributeTableTemplate=e)}if(i.attributeTableTemplate?.orderByFields?.length>1){let t=i.attributeTableTemplate.clone(),e=this.table.activeSortOrders[0];t.orderByFields=[{field:e.fieldName,order:e.direction}],i.attributeTableTemplate=t,this._syncColumnDirectionsWithOrderByFields()}}_syncColumnDirectionsWithOrderByFields(){let i=this.table.activeSortOrders[0]?.fieldName;this.table.columns.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)}),this.table.tableTemplate?.columnTemplates.forEach(t=>{"fieldName"in t&&t.fieldName!==i&&(t.direction=void 0)})}_isStandardView(){return!this.table.relatedTable&&!this.table.attachmentsViewOptions.objectId}_closePopovers(){document.removeEventListener("click",this._fieldVisibilityPopoverClickHandler),this._fieldVisibilityPopoverNode&&(document.body.removeChild(this._fieldVisibilityPopoverNode),this._fieldVisibilityPopoverNode=void 0)}_addTableTooltip(i,t){let e=document.createElement("calcite-tooltip");e.className="table-tooltip",e.referenceElement=i,e.placement="trailing-start",e.open=!0;let r=document.createElement("div");r.className="tooltip",r.innerHTML=t,e.append(r),document.body.append(e)}_removeTableTooltip(){document.querySelectorAll(".table-tooltip").forEach(i=>i.parentNode?.removeChild(i))}_isInNode(i,t){for(;i;){if(i.nodeName===t.toUpperCase())return!0;i=i.parentElement}return!1}_hasAttachmentsEnabled(i){if(!i?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:e}}}=i;return t&&e}};y("field-selection",p);return p},a,c,d,e,g,h,i)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import g from"./JDVBBLSB.js";import f from"./3JVQG3QA.js";import"./US5FON7D.js";import"./QZJGSWNM.js";import"./VVZAS55G.js";import"./HNF4PBGT.js";import e from"./H5JZSXTG.js";import d from"./BMF7MU4P.js";import c from"./AVRGQSFV.js";import"./2B4SGB3I.js";import"./E3C3HXK2.js";import"./A4RZESK7.js";import b from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import"./FV3ILJ4J.js";import"./ANJGKFNJ.js";import"./S3TMLXGP.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./4F57JHMM.js";import"./3ITZDI72.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,a])=>{return a},a,b,c,d,e,f,g)
2
+ import g from"./T4SIUI23.js";import f from"./3JVQG3QA.js";import"./US5FON7D.js";import"./QZJGSWNM.js";import"./VVZAS55G.js";import"./HNF4PBGT.js";import e from"./H5JZSXTG.js";import d from"./BMF7MU4P.js";import c from"./AVRGQSFV.js";import"./2B4SGB3I.js";import"./E3C3HXK2.js";import"./A4RZESK7.js";import b from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import"./FV3ILJ4J.js";import"./ANJGKFNJ.js";import"./S3TMLXGP.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./4F57JHMM.js";import"./3ITZDI72.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,,,a])=>{return a},a,b,c,d,e,f,g)
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
+ import e from"./FBKFFWV7.js";import d from"./JZS6OOSV.js";import"./6ZKZSCOA.js";import"./QSNXXNJX.js";import c from"./H5JZSXTG.js";import b from"./BMF7MU4P.js";import a from"./AVRGQSFV.js";import"./2B4SGB3I.js";import"./E3C3HXK2.js";import"./A4RZESK7.js";import"./FV3ILJ4J.js";import"./ANJGKFNJ.js";import"./S3TMLXGP.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./4F57JHMM.js";import"./3ITZDI72.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,a])=>{return a},a,b,c,d,e)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import e from"./HP3WJMPA.js";import d from"./PERCQYO6.js";import"./LS5WOH7V.js";import"./DGUS2OKW.js";import"./6ZKZSCOA.js";import"./54AE7WD2.js";import"./WPGT2HLS.js";import c from"./H5JZSXTG.js";import b from"./BMF7MU4P.js";import a from"./AVRGQSFV.js";import"./2B4SGB3I.js";import"./E3C3HXK2.js";import"./A4RZESK7.js";import"./FV3ILJ4J.js";import"./ANJGKFNJ.js";import"./S3TMLXGP.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./4F57JHMM.js";import"./3ITZDI72.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,a])=>{return a},a,b,c,d,e)
2
+ import e from"./CSXO2SCD.js";import d from"./PERCQYO6.js";import"./LS5WOH7V.js";import"./DGUS2OKW.js";import"./6ZKZSCOA.js";import"./54AE7WD2.js";import"./WPGT2HLS.js";import c from"./H5JZSXTG.js";import b from"./BMF7MU4P.js";import a from"./AVRGQSFV.js";import"./2B4SGB3I.js";import"./E3C3HXK2.js";import"./A4RZESK7.js";import"./FV3ILJ4J.js";import"./ANJGKFNJ.js";import"./S3TMLXGP.js";import"./TEHBW75B.js";import"./YFXSWGXE.js";import"./ZCU2WWVN.js";import"./WGO4EVOV.js";import"./YKB6256M.js";import"./JBNWEBAG.js";import"./5HZMUGQD.js";import"./5VDDAINK.js";import"./Z4F2NZOT.js";import"./KOIDWEP3.js";import"./3KXMYZCU.js";import"./N2KSPEVT.js";import"./GF4QELNV.js";import"./XQQ52NKX.js";import"./JUUVYK2H.js";import"./DKD2EGQP.js";import"./5O53T3SW.js";import"./AJZDBHB6.js";import"./FES7B3SJ.js";import"./4F57JHMM.js";import"./3ITZDI72.js";import"./QPIMTXPL.js";export default $arcgis.t(([,,,,a])=>{return a},a,b,c,d,e)
@@ -1,2 +1,2 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import i from"./3JVQG3QA.js";import{a as H}from"./QZJGSWNM.js";import h from"./H5JZSXTG.js";import e from"./AVRGQSFV.js";import d from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import{a as S}from"./FV3ILJ4J.js";import{b as F}from"./4F57JHMM.js";import{E as g,F as f,G as x,I as b,h as T,i as o,l as p,q as c,t as E}from"./3ITZDI72.js";export default $arcgis.t(([$,_,M,I,{c:C},{c:A,d:m,j:w},{l:O},{f:y},{b:L}])=>{var R=T`@layer{:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-surface-1)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-dialog-content-space: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-surface-2)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`,v=class extends x{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.enableTableAutosave=!0,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this.pasteEnabled=!1,this.showCopyPasteActions=!1,this.layerIds=[],this._allIds=[],this._configLayerOrderDefined=!1,this._csvExporting=!1,this._fetchingData=!1,this._hideTable=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=S({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._deleteEnabled=!1,this._floorExpression="",this._floorField="",this._floorLevel="",this._loaded=!1,this._shareNode=g(),this._toolbar=g(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=g(),this._layerEditsHandles=[],this._pastedFeaturesIds=[],this._shouldSelectFeatureAfterCreate=!1,this.columnReorder=c(),this.featureSelectionChange=c(),this.toggleFilter=c(),this.showDelete=c(),this.relatedRecordToggled=c(),this.editMultipleFeatures=c(),this.copyFeatures=c(),this.pasteFeatures=c(),this.featuresAdded=c(),this.requestLayerSelectionChange=c(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),this.listenOn(window,"pasteFeatures",this._pasteFeatures),this.listenOn(window,"featuresPasted",this._featuresPasted),H(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,enableTableAutosave:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,pasteEnabled:5,showCopyPasteActions:5,layerIds:0,_allIds:16,_configLayerOrderDefined:16,_csvExporting:16,_fetchingData:16,_hideTable:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=R}static{this.shadowRootOptions=E}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("enableTableAutosave")&&this.hasUpdated&&this._table&&(this._table.autoSaveEnabled=this.enableTableAutosave),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}if(e.has("pasteEnabled")&&this.hasUpdated){let t=this._toolInfos.find(i=>i.icon==="paste-with-attribute");t&&(t.disabled=!this.pasteEnabled)}e.has("layerIds")&&this.hasUpdated&&this._addListenersForLayers()}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._configLayerOrderDefined="configLayerOrder"in(this.mapInfo?.layerOptions||{}),this._enabledLayerIds=O(this.mapInfo?.layerOptions?.layers||[],this.mapInfo?.layerOptions?.configLayerOrder),this._table&&(this._resetColumnTemplates(),this._sortTable(),await this._initToolInfos())}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=_.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){if(this._hideTable=!1,this._fetchingData=!0,!this._layer){this._fetchingData=!1,this._hideTable=!0;return}try{await this._layer.when(),this._floorField=this._layer.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this._updateShareUrl()}catch(e){console.error(e),this._hideTable=!0}finally{this._fetchingData=!1}}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0])),this.selectedIds.length===0&&setTimeout(()=>{this.featureSelectionChange.emit(this.selectedIds)},700)}async selectedRelatedIdsWatchHandler(){this._validateEnabledActions(),this.selectedRelatedIds.length>0&&(this._relatedFeatureTable?.rowHighlightIds.removeAll(),this._relatedFeatureTable?.rowHighlightIds.add(this.selectedRelatedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async setColumnOrder(e){this._setColumnTemplates(e)}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let l=t.layer,h=this.mapView.allLayerViews.toArray(),n;h.some(async d=>d.layer.title===l?.title&&d.layer.type==="feature"?(n=d,this.mapView&&await w([i],n,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._size=0,this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async mapChanged(){this._queryingData=!1,this._creatingFeature=!1,this._clearSelection()}async featuresSelected(e){e.detail.forEach(t=>{let i=this._table?.highlightIds.indexOf(t);i&&i<0&&this._table?.highlightIds.add(t)})}createWorkFlowStarted(){this._creatingFeature=!0}backFromCreateWorkFlow(){this._creatingFeature=!1}_pasteFeatures(){this._zoom()}_featuresPasted(){this._shouldSelectFeatureAfterCreate=!0}async load(){await this._initToolInfos()}render(){let e=this._fetchingData||this._hideTable?"display-none":"height-full",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",h=this._canShowFullTextSearch();return this._validateActiveActions(),o`<div><calcite-scrim class=${b(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&o`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${h&&o`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${n=>{this._searchTextChanged(n)}} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??p} type=search ${f(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${b(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${b(e)} ${f(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:o`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}updated(){this._table&&this.updateRelatedAttachmentColumns()}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return o`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??p}><map-layer-picker appearance=transparent .configLayerOrderDefined=${this._configLayerOrderDefined} .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getLayerOption(e){let t;return this.mapInfo?.layerOptions?.layers.some(i=>i.id===e?(t=i,!0):!1),t}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table,s=this._getLayerOption(t?.id||"");return o`<div class="display-flex" slot=${e??p}><field-selection .configExtraFields=${s?.extraFields} .layer=${t} .mapView=${this.mapView} .table=${i} .tableRef=${this.el}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return o`<div class=${"height-51-px width-full display-flex"} slot=${e??p} ${f(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return o`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??p} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading,t.toolTip)),e),[])}_validateEnabledActions(){let e=this._getIds().length,t=["zoom-to-object","pencil","trash","erase","selected-items-filter","copy"];this._toolInfos?.forEach(i=>{i&&t.indexOf(i.icon)>-1&&(i.disabled=i.icon==="pencil"?e<2||e>y:e<1,i.toolTip=i.icon==="pencil"?e>y?this._translations.featureEditLimitNotice:this._translations.editMultiple:i.toolTip)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._getIds().length>0,t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=this._getSelectedIds().length<2||this._getSelectedIds().length>y,a=!this.mapHidden&&!t,l=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),h=this._featuresEmpty(),n=this.featureSelectionMode==="single",d=this.enableCSV;if(this._relatedFeatureTable){let u=await this._queryRelatedFeatures();d=u&&Object.keys(u).length>0}let r=[];l&&r.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1,toolTip:this._translations.filters}),a&&r.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>{this._zoom()},disabled:!e,toolTip:this._translations.zoom}),i&&r.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:s,toolTip:this._translations.editMultiple}),this.showCopyPasteActions&&(r.push({active:!1,icon:"copy",indicator:!1,label:this._translations.copy,func:()=>this.copyFeatures.emit({featuresIds:this._getIds(),layerId:this._layer?.id}),disabled:!e,toolTip:this._translations.copy}),r.push({active:!1,icon:"paste-with-attribute",indicator:!1,label:this._translations.paste,func:()=>this.pasteFeatures.emit(),disabled:!this.pasteEnabled,toolTip:this._translations.paste})),this._deleteEnabled&&r.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0,toolTip:this._translations.delete}),r.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>{this.clearSelection()},disabled:!e,toolTip:this._translations.clearSelection}),this._relatedFeatureTable||r.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e,toolTip:this._showOnlySelected?this._translations.showAll:this._translations.showSelected}),!n&&!this._relatedFeatureTable&&r.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:h,toolTip:this._translations.selectAll}),!n&&!this._relatedFeatureTable&&r.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:h,toolTip:this._translations.switchSelected}),r.push({active:!1,icon:"refresh",indicator:!1,func:()=>{this._refresh()},label:this._translations.refresh,disabled:!1,toolTip:this._translations.refresh}),d&&r.push({active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:h,toolTip:this._translations.exportCSV}),this._toolInfos=[...r]}async _addListenersForLayers(){this._layerEditsHandles.forEach(i=>i.remove()),this._layerEditsHandles=[];let e=this.mapView,t=[...new Set(this.layerIds)];if(!(!e||t.length===0))for(let i of t){let s=await m(e,i);if(!s)continue;let a=s.on("edits",async l=>{if(this._shouldSelectFeatureAfterCreate)try{let h=Array.isArray(l?.addedFeatures)?l.addedFeatures:[];if(h.length===0)return;let n=h.map(r=>r.objectId).filter(r=>r!=null);if(n.length===0)return;let d=this._layer?.id;s.id===d?(await this._refresh(),this._clearSelection(),this._table?.highlightIds.addMany(n),this.featuresAdded.emit(n)):(this._clearSelection(),this._pastedFeaturesIds=n,this.requestLayerSelectionChange.emit(s.id)),this._shouldSelectFeatureAfterCreate=!1}catch(h){this._shouldSelectFeatureAfterCreate=!1,console.error("Failed processing layer edits event",{layerId:i,error:h})}});a&&this._layerEditsHandles.push(a)}}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,h,n){let d=this._layer===void 0?!0:l;return o`<calcite-action .active=${e} .disabled=${d} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${h} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto",`layer-table-${t}`,n)}`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return o`<div id=${this._getId(e)??p}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${f(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.reverse().join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this.selectedRelatedIds?.length>0&&this._relatedFeatureTable?.layer?.id&&(t.searchParams.set("oid",this.selectedRelatedIds.join(",")),t.searchParams.set("layer",this._relatedFeatureTable?.layer?.id.toString())),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return o`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return o`<div class="display-flex" id=${this._getId(e)??p}>${o`<calcite-action .disabled=${a} .id=${`layer-table-${e}`} @click=${i} .text=${t}><calcite-icon aria-hidden=true class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>`}${this._getToolTip("bottom",`layer-table-${e}`,t)}</div>`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=new $({autoRefreshEnabled:this.enableAutoRefresh,autoSaveEnabled:this.enableTableAutosave,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,relatedRecordsEnabled:!0,attachmentsEnabled:!0,highlightEnabled:!1,multiSortEnabled:!1,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this._table?.viewModel.addHandles(this._table.on("column-reorder",this._handleColumnReorder.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this._table?.viewModel.addHandles(_.watch(()=>this._table.size,i=>{this._size=i})),_?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._layerEditHandle=s.on("edits",async()=>{await new Promise(a=>setTimeout(a,50)),await this._refresh(!0)}),this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,i.autoSaveEnabled=this.enableTableAutosave,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos,l=this._getColumnTemplates(i.layer.id,i.layer.fields,a);this._relatedFeatureTable.tableTemplate=new I({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleRelatedRecordsChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0,this._layerEditHandle&&this._layerEditHandle.remove();let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}async _handleRelatedRecordsChange(e){await this._handleOnChange(e),this._updateShareUrl()}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._getSelectedIds().length>0?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}_handleColumnReorder(){this.columnReorder.emit()}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=new I({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}_setColumnTemplates(e){this._table&&e&&(this._table.tableTemplate=new I({columnTemplates:e}))}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._table.autoSaveEnabled=this.enableTableAutosave,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await _.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)}),this._table&&this._pastedFeaturesIds.length>0&&await this._applyPastedFeatureHighlights()}catch(e){console.log(e)}}async _applyPastedFeatureHighlights(){let e=[...this._pastedFeaturesIds];await new Promise(t=>{requestAnimationFrame(()=>{this._table?.highlightIds.addMany(e),this._pastedFeaturesIds=[],t()})})}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await C(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=_.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),h=this._table?.highlightIds.indexOf(l);h&&h<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.highlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let h=await this._queryRelatedFeatures(),n=[];h&&h[l]?.features&&(h[l].features.forEach(d=>{d.attributes&&n.push(d.attributes[e.objectIdField])}),i=n.length>0?n:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,h)=>{if(!h.hidden){let n=h?.name||h?.fieldName;n&&l.push(n.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await L(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(h=>h.id===l.id)),a=new M({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(e){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let t=this._getSelectedLayer(this.selectedRelatedIds);if(t&&this.relatedRecordToggled.emit(t),!e){let i=this._getSelectedIds();this.featureSelectionChange.emit(i)}}}_getSelectedIds(){let e;return this._relatedFeatureTable?this.selectedRelatedIds.length>0?e=this.selectedRelatedIds:e=this._relatedFeatureTable.tableParent?.highlightIds.toArray()??[]:e=this.selectedIds,e}_getSelectedLayer(e){let t;return this._relatedFeatureTable?e.length>0?t=this._relatedFeatureTable.layer:t=this._relatedFeatureTable.tableParent?.layer:t=this._layer,t}async _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await w(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0,await this._clearSearchText();let i=this.mapView&&await m(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await A(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t,i){let s=this._getLayerOption(e),a=this._layer?.attributeTableTemplate?.elements,l=[];a?.length>0&&this.honorMapFieldSettings&&(l=a.map(d=>d.fieldName));let h=s?.fields&&s?.fieldOrder?s.fieldOrder.filter(d=>s?.fields&&s.fields.indexOf(d)>-1):l.length>0?l:void 0,n;return t&&(n=t.reduce((d,r)=>{let u={type:"field",fieldName:r.name,label:this.getFieldLabel(r,i),menuConfig:this._getMenuConfig(r.name)};return s&&s.fields&&s?.fields?.length>0?s.fields.indexOf(r.name)>-1&&d.push(u):l.length>0?l.indexOf(r.name)>-1&&d.push(u):d.push(u),d},[])),n?h?n?.sort(this._sortFields.bind(this,h)):n:[]}updateRelatedAttachmentColumns(){let e=this._getLayerOption(this._layer?.id||""),t=this.hasAttachmentsEnabled(this._layer),i=!0,s="attachments",a=(e?.extraFields||[]).reduce((h,n)=>(n.startsWith("related:")?h.related.push(n.split("related:")[1]):h.extra.push(n),h),{related:[],extra:[]}),l=a.extra.some(h=>h.toLowerCase()===s);a&&(t=l&&t,i=a.related.length>0,this._table?.columns.forEach(h=>{h.fieldName.startsWith("EsriFeatureTableRelationshipColumn")&&(h.hidden=!a.related.includes(h.effectiveLabel)),h.fieldName.startsWith("EsriFeatureTableAttachmentsColumn")&&(h.hidden=!a.extra.some(n=>n.toLowerCase()===h.effectiveLabel.toLowerCase()))})),this._table.relatedRecordsEnabled=i,this._table.attachmentsEnabled=t}getFieldLabel(e,t){let i=e.alias?e.alias:e.name;return t?.some(s=>s.fieldName===e.name?(i=s.label,!0):!1),i||e.name}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};F("layer-table",v);return v},"widgets/FeatureTable","core/reactiveUtils","rest/support/RelationshipQuery","widgets/FeatureTable/support/TableTemplate",a,d,e,h,i)
2
+ import i from"./3JVQG3QA.js";import{a as H}from"./QZJGSWNM.js";import h from"./H5JZSXTG.js";import e from"./AVRGQSFV.js";import d from"./2C4DK6YC.js";import a from"./WV7QX3ED.js";import{a as S}from"./FV3ILJ4J.js";import{b as F}from"./4F57JHMM.js";import{E as g,F as f,G as x,I as b,h as T,i as o,l as p,q as c,t as E}from"./3ITZDI72.js";export default $arcgis.t(([$,_,M,I,{c:C},{c:A,d:m,j:w},{l:O},{f:y},{b:L}])=>{var R=T`@layer{:host{display:block}.height-full{height:100%}.height-full-adjusted{height:calc(100% - 20px)}.width-full{width:100%}.display-flex{display:flex}.display-none{display:none}.table-border{border:1px solid var(--calcite-color-border-2)}.border-end{border-inline-end:1px solid var(--calcite-color-border-2)}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-5{padding:5px}.padding-end-1{padding-inline-end:1rem}.height-51-px{height:51px}.height-50-px{height:50px}.bottom-left{position:absolute;left:0;bottom:0;padding-left:5px}html[dir=rtl] .bottom-left{position:absolute;right:0;bottom:0;padding-right:5px}.height-19{height:19px}.background{background-color:var(--calcite-color-surface-1)}.text-color{color:var(--calcite-color-text-1)}.align-center{align-items:center}.danger-color{color:var(--calcite-color-status-danger)}.esri-feature-table vaadin-grid{border:none!important}vaadin-grid-cell-content{font-size:14px!important;color:var(--calcite-color-text-3)!important}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.actions-end{height:50px!important;display:inline-flex}.border-top{border-top:1px solid var(--calcite-color-border-2)}.modal{--calcite-dialog-content-space: 0}.esri-feature-table__table-container{height:100%}.search-container{background-color:var(--calcite-color-surface-2)!important}.search{--calcite-color-border-input: var(--calcite-color-border-3);width:60%;padding:10px}.delete-red{--calcite-icon-color: var(--calcite-color-status-danger);--calcite-color-text-1: var(--calcite-color-status-danger);--calcite-color-text-3: var(--calcite-color-status-danger)}.label-override{white-space:nowrap}.padding-start-1-4{padding-inline-start:.5rem}.panel-header-override{--calcite-panel-header-content-space: 0px}.danger-label-color{color:var(--calcite-color-status-danger)}.danger-icon-color{--calcite-icon-color: var(--calcite-color-status-danger)}.width-51{width:51px}.height-51{height:51px}calcite-action-bar{--calcite-internal-action-bar-gap: 0px;--calcite-internal-action-bar-padding: 0px}}`,v=class extends x{constructor(){super(),this.defaultGlobalId=[],this.defaultLayerId="",this.defaultOid=[],this.enableAutoRefresh=!1,this.enableColumnReorder=!0,this.enableCSV=!1,this.enableInlineEdit=!1,this.enableShare=!1,this.enableTableAutosave=!0,this.featureSelectionMode="multiple",this.selectedRelatedIds=[],this.honorMapFieldSettings=!1,this.isMobile=!1,this.mapHidden=!1,this.showOnlyUpdatableLayers=!1,this.selectedIds=[],this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.showNewestFirst=!1,this.zoomAndScrollToSelected=!1,this.pasteEnabled=!1,this.showCopyPasteActions=!1,this.layerIds=[],this._allIds=[],this._configLayerOrderDefined=!1,this._csvExporting=!1,this._fetchingData=!1,this._hideTable=!1,this._filterActive=!1,this._selectAllActive=!1,this._showHideOpen=!1,this._showOnlySelected=!1,this._toolInfos=[],this._translations=S({name:"layer-table",blocking:!0}),this._fullTextSearchInfo=[],this._searchPlaceHolder="",this._size=0,this._queryingData=!1,this._editEnabled=!1,this._enabledLayerIds=[],this._defaultGlobalIdHonored=!1,this._defaultOidHonored=!1,this._deleteEnabled=!1,this._floorExpression="",this._floorField="",this._floorLevel="",this._loaded=!1,this._shareNode=g(),this._toolbar=g(),this._searchExpression="",this._skipEditCheck=!1,this._tempSelectedIds=[],this._outOFExtentOids=[],this._shouldUpdateTableOnExtentChange=!0,this._creatingFeature=!1,this._searchNode=g(),this._layerEditsHandles=[],this._pastedFeaturesIds=[],this._shouldSelectFeatureAfterCreate=!1,this.columnReorder=c(),this.featureSelectionChange=c(),this.toggleFilter=c(),this.showDelete=c(),this.relatedRecordToggled=c(),this.editMultipleFeatures=c(),this.copyFeatures=c(),this.pasteFeatures=c(),this.featuresAdded=c(),this.requestLayerSelectionChange=c(),this.listenOn(window,"beforeMapInfoChange",this.beforeMapInfoChange,{capture:!0}),this.listenOn(window,"editorInitialized",this.editorInitialized),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"selectionChanged",this.selectionChanged),this.listenOn(window,"beforeLayerSelectionChange",this.beforeLayerSelectionChange),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"editsComplete",this.editsComplete),this.listenOn(window,"facilityChanged",this.facilityChanged),this.listenOn(window,"levelChanged",this.levelChanged),this.listenOn(window,"siteChanged",this.siteChanged),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"clearSelection",this.clearSelection),this.listenOn(window,"mapChanged",this.mapChanged),this.listenOn(window,"featuresSelected",this.featuresSelected),this.listenOn(window,"createWorkFlowStarted",this.createWorkFlowStarted),this.listenOn(window,"backFromCreateWorkFlow",this.backFromCreateWorkFlow),this.listenOn(window,"pasteFeatures",this._pasteFeatures),this.listenOn(window,"featuresPasted",this._featuresPasted),H(window)}static{this.properties={appLayout:1,defaultGlobalId:0,defaultLayerId:1,defaultOid:0,enableAutoRefresh:5,enableColumnReorder:5,enableCSV:5,enableInlineEdit:5,enableShare:5,enableTableAutosave:5,featureSelectionMode:1,selectedRelatedIds:0,honorMapFieldSettings:5,isMobile:5,mapHidden:5,mapInfo:0,mapView:0,showOnlyUpdatableLayers:5,selectedIds:0,shareIncludeEmbed:5,shareIncludeSocial:5,showNewestFirst:5,zoomAndScrollToSelected:5,zoomToScale:9,pasteEnabled:5,showCopyPasteActions:5,layerIds:0,_allIds:16,_configLayerOrderDefined:16,_csvExporting:16,_fetchingData:16,_hideTable:16,_filterActive:16,_layer:16,_selectAllActive:16,_showHideOpen:16,_showOnlySelected:16,_toolInfos:16,_translations:16,_fullTextSearchInfo:16,_searchPlaceHolder:16,_size:16,_queryingData:16}}static{this.styles=R}static{this.shadowRootOptions=E}willUpdate(e){if(e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("defaultOid")&&this.defaultOidWatchHandler(),e.has("defaultGlobalId")&&this.defaultGlobalIdWatchHandler(),e.has("enableCSV")&&this.enableCSVWatchHandler(),e.has("enableInlineEdit")&&this.enableInlineEditWatchHandler(),e.has("mapHidden")&&this.mapHiddenWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapInfo")&&this.mapInfoWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_layer")&&this._layerWatchHandler(),e.has("selectedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedIds"))!==JSON.stringify(this.selectedIds))&&this.selectedIdsWatchHandler(),e.has("selectedRelatedIds")&&(this.hasUpdated||JSON.stringify(e.get("selectedRelatedIds"))!==JSON.stringify(this.selectedRelatedIds))&&this.selectedRelatedIdsWatchHandler(),e.has("enableTableAutosave")&&this.hasUpdated&&this._table&&(this._table.autoSaveEnabled=this.enableTableAutosave),e.has("_translations")){let t=this._translations._lang,i=e.get("_translations")?._lang;t&&i&&t!==i&&this._initToolInfos()}if(e.has("pasteEnabled")&&this.hasUpdated){let t=this._toolInfos.find(i=>i.icon==="paste-with-attribute");t&&(t.disabled=!this.pasteEnabled)}e.has("layerIds")&&this.hasUpdated&&this._addListenersForLayers()}async appLayoutWatchHandler(){await this._initToolInfos(),this._updateShareUrl()}async defaultOidWatchHandler(){await this._handleDefaults()}async defaultGlobalIdWatchHandler(){await this._handleDefaults()}async enableCSVWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}enableInlineEditWatchHandler(){this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit)}async mapHiddenWatchHandler(){this._toolInfos?.length>0&&await this._initToolInfos()}async isMobileWatchHandler(){!this._toolInfos&&!this.isMobile&&await this._initToolInfos()}async mapInfoWatchHandler(){this._configLayerOrderDefined="configLayerOrder"in(this.mapInfo?.layerOptions||{}),this._enabledLayerIds=O(this.mapInfo?.layerOptions?.layers||[],this.mapInfo?.layerOptions?.configLayerOrder),this._table&&(this._resetColumnTemplates(),this._sortTable(),await this._initToolInfos())}async mapViewWatchHandler(){this._mapClickHandle&&this._mapClickHandle.remove(),this.mapView&&(this._floorExpression="",this._searchExpression="undefined",this.mapView.highlights=[{name:"default",color:"#00FFFF"},{name:"current-selection",color:"#ff00ff"},{name:"temporary",color:"#FFFF00"}],this._updateShareUrl(),this._mapClickHandle=_.on(()=>this.mapView,"click",e=>{this._creatingFeature||this._mapClicked(e)}))}async _layerWatchHandler(){if(this._hideTable=!1,this._fetchingData=!0,!this._layer){this._fetchingData=!1,this._hideTable=!0;return}try{await this._layer.when(),this._floorField=this._layer.floorInfo?.floorField||"",this._updateFloorDefinitionExpression(),await this._resetTable(),this._updateShareUrl()}catch(e){console.error(e),this._hideTable=!0}finally{this._fetchingData=!1}}async selectedIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions(),this._selectAllActive&&this.selectedIds.length!==this._allIds.length&&(this._selectAllActive=!1),this.selectedIds.length>0&&(this._table.rowHighlightIds.removeAll(),this._table.rowHighlightIds.add(this.selectedIds[0])),this.selectedIds.length===0&&setTimeout(()=>{this.featureSelectionChange.emit(this.selectedIds)},700)}async selectedRelatedIdsWatchHandler(){this._validateEnabledActions(),this.selectedRelatedIds.length>0&&(this._relatedFeatureTable?.rowHighlightIds.removeAll(),this._relatedFeatureTable?.rowHighlightIds.add(this.selectedRelatedIds[0]))}async closeFilter(){await this._closeFilter()}async filterReset(){this._filterByExtentHandle&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle.remove(),this._filterByExtentHandle=void 0),await this._handleFilterListReset()}async filterUpdate(e,t){await this._handleFilterUpdate(e),t?(this._shouldUpdateTableOnExtentChange=!0,this._handleTableOnMapExtent()):t===!1&&(this._table&&(this._table.filterGeometry=void 0),this._filterByExtentHandle?.remove(),this._filterByExtentHandle=void 0,await this._updateAllIds())}async validateTableUpdate(e){this._shouldUpdateTableOnExtentChange=e}async validateActiveEdits(){return this._validateActiveEdits([],this.selectedIds)}async refresh(){this._table&&await this._refresh()}async setColumnOrder(e){this._setColumnTemplates(e)}async beforeMapInfoChange(e){let t=e.detail.ref,i=e.detail.mapInfo;if(this._hasPendingEdits()){e.preventDefault();let s=await this._validateActiveEdits([],this.selectedIds);await t.setMapByID(s?i.id:e.detail.currentId,!s)}}async editorInitialized(e){this._shouldUpdateTableOnExtentChange=!1,this._editor=e.detail}async closeEdit(){this._shouldUpdateTableOnExtentChange=!0,this._filterByExtentHandle&&this._handleTableOnMapExtent()}async selectionChanged(e){let t=e.detail.selectedFeature[0],i=Number(t.getObjectId()),s=this._table;if(s.rowHighlightIds.length&&s.rowHighlightIds.removeAll(),s.rowHighlightIds.add(i),this._highlightFeatures(i),this.zoomAndScrollToSelected&&s&&this.mapView){let a=s.viewModel.getObjectIdIndex(i);s.scrollToIndex(a);let l=t.layer,h=this.mapView.allLayerViews.toArray(),n;h.some(async d=>d.layer.title===l?.title&&d.layer.type==="feature"?(n=d,this.mapView&&await w([i],n,this.mapView,!0,void 0,this.zoomToScale),!0):!1)}}async beforeLayerSelectionChange(e){if(this._hasPendingEdits()){e.preventDefault();let t=e.detail.ref,i=await this._validateActiveEdits([],this.selectedIds);return e.detail.selectedIds?await t.setLayerByIds(i?e.detail.newIds:e.detail.currentIds,!0):await t.setLayerById(i?e.detail.newId:e.detail.currentId,!0)}}async layerSelectionChange(e){await this._layerSelectionChanged(e)}async editsComplete(e){let t=e.detail;(t==="delete"||t==="add")&&(this._allIds=await this.queryAllIds()),await this._refresh()}async facilityChanged(e){this._updateFloorDefinitionExpression()}async levelChanged(e){this._floorLevel=e.detail,this._updateFloorDefinitionExpression()}async siteChanged(e){this._updateFloorDefinitionExpression()}async noLayersFound(){this._layer=void 0,this._allIds=[],this._size=0,this._clearSelection()}async clearSelection(){await this._validateActiveEdits([],this.selectedIds)&&this._clearSelection()}async mapChanged(){this._queryingData=!1,this._creatingFeature=!1,this._clearSelection()}async featuresSelected(e){e.detail.forEach(t=>{let i=this._table?.highlightIds.indexOf(t);i&&i<0&&this._table?.highlightIds.add(t)})}createWorkFlowStarted(){this._creatingFeature=!0}backFromCreateWorkFlow(){this._creatingFeature=!1}_pasteFeatures(){this._zoom()}_featuresPasted(){this._shouldSelectFeatureAfterCreate=!0}async load(){await this._initToolInfos()}render(){let e=this._fetchingData||this._hideTable?"display-none":"height-full",t=this._fetchingData?"":"display-none",i=this._queryingData?"":"display-none",s=this._size.toString(),a=this.selectedIds.length.toString(),l=this.isMobile?"height-full":"height-full-adjusted",h=this._canShowFullTextSearch();return this._validateActiveActions(),o`<div><calcite-scrim class=${b(i)} .loading=${this._queryingData}></calcite-scrim><calcite-shell><div class=${`width-full ${l}`}><calcite-panel class="height-full width-full panel-header-override">${this._getMapLayerPicker("header-actions-start")}${!this.isMobile&&o`${this._getTableControlRow("header-content")}${this._getActionsEnd("header-actions-end")}`||""}${h&&o`<div class="search-container border-bottom"><calcite-input class=search clearable icon=search @calciteInputChange=${n=>{this._searchTextChanged(n)}} .placeholder=${this._searchPlaceHolder} title=${this._searchPlaceHolder??p} type=search ${f(this._searchNode)}></calcite-input></div>`||""}<calcite-loader class=${b(t)} .label=${this._translations.fetchingData} scale=l></calcite-loader><div class=${b(e)} ${f(this.onTableNodeCreate)}></div></calcite-panel></div>${this.isMobile?void 0:o`<div class="bottom-left text-color height-19" id=solutions-selected-count-div>${(this._translations.recordsTotal?.replace("{{total-number-of-records}}",s)+" | "+this._translations.recordsSelected.replace("{{selected-number-of-records}}",a)).replace("{{total}}",s).replace("{{selected}}",a)}</div>`}</calcite-shell></div>`}updated(){this._table&&this.updateRelatedAttachmentColumns()}async _searchTextChanged(e){this._fullTextSearchInfo.forEach(t=>{t.searchTerm=e.target.value}),this._searchFullText()}async _searchFullText(){let e=[],t=!1;if(this._showOnlySelected)e=this._tempSelectedIds,t=!0;else if(await this._validateActiveEdits([],this.selectedIds))this._clearSelection(),this._tempSelectedIds=[];else return;this._searchExpression&&this._clearSearchDefinitionExpression();let i=[];if(this._fullTextSearchInfo?.length&&this._fullTextSearchInfo[0].searchTerm){let s=this._layer?.createQuery();s.fullText=this._fullTextSearchInfo,i=this._layer?await this._layer.queryObjectIds(s):[],t&&e?.length&&(i=i.filter(a=>e.includes(a))),await this._updateSearchDefinitionExpression(i?.length?i:[-1])}t&&i?.length&&(this._showOnlySelected=!0,this._table?.highlightIds.addMany(i.reverse())),await new Promise(s=>setTimeout(s,800)),await this._updateAllIds()}_clearSearchDefinitionExpression(){let e=this._layer?.definitionExpression;this._searchExpression&&e&&e?.indexOf(this._searchExpression)>-1&&this._layer&&(e?.indexOf(" AND ("+this._searchExpression)>-1?this._layer.definitionExpression=e.replace(` AND (${this._searchExpression})`,""):this._layer.definitionExpression=e.replace(this._searchExpression,"")),this._searchExpression=""}async _updateSearchDefinitionExpression(e){let t=this._layer?.definitionExpression;if(this._layer)if(e?.length){let i=`objectId in(${e})`;this._layer.definitionExpression=this._searchExpression&&t&&t.includes(this._searchExpression)?t.replace(this._searchExpression,i):t?`${t} AND (${i})`:i,this._searchExpression=i}else this._clearSearchDefinitionExpression()}_canShowFullTextSearch(){return this._layer?.capabilities?.query?.supportsFullTextSearch&&this._layer.indexes.items.filter(e=>e.indexType=="FullText").length>0}_getFullTextSearchInfo(){if(this._fullTextSearchInfo=[],this._layer?.capabilities?.query?.supportsFullTextSearch){let e=this._layer.indexes?.filter(t=>t.indexType=="FullText");if(e?.length){let t=[];e.forEach(s=>{t.push(...s.fields.split(","))});let i=[];t.forEach(s=>{let a=this._layer?.getField(s.trim());a?.alias&&i.push(a.alias)}),this._searchPlaceHolder=this._translations.searchPlaceholder.replace("{{field_names}}",i.join(", ")),this._fullTextSearchInfo.push({onFields:["*"],searchTerm:"",searchType:"prefix"})}}}_getMapLayerPicker(e){let t=this.isMobile?"display-none":"";return o`<div class=${`border-end ${t}`} id=solutions-map-layer-picker-container slot=${e??p}><map-layer-picker appearance=transparent .configLayerOrderDefined=${this._configLayerOrderDefined} .defaultLayerId=${this.defaultLayerId} display=inline-flex .enabledLayerIds=${this._enabledLayerIds} height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} .showOnlyUpdatableLayers=${this.showOnlyUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this._layer?[this._layer?.id]:[]} show-single-layer-as-label show-tables type=dropdown></map-layer-picker></div>`}_getLayerOption(e){let t;return this.mapInfo?.layerOptions?.layers.some(i=>i.id===e?(t=i,!0):!1),t}_getActionsEnd(e){let t=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer,i=this._relatedFeatureTable||this._table,s=this._getLayerOption(t?.id||"");return o`<div class="display-flex" slot=${e??p}><field-selection .configExtraFields=${s?.extraFields} .layer=${t} .mapView=${this.mapView} .table=${i} .tableRef=${this.el}></field-selection>${this.enableShare&&!this.isMobile?this._getShare("share"):void 0}</div>`}_getTableControlRow(e){return o`<div class=${"height-51-px width-full display-flex"} slot=${e??p} ${f(this._toolbar)}>${this._getActionBar()}</div>`}_getActionBar(){return o`<calcite-action-bar class=width-full expand-disabled id=${this._getId("bar")??p} layout=horizontal><calcite-action-group>${this.isMobile?void 0:this._getActions()}</calcite-action-group></calcite-action-bar>`}_getActions(){return this._toolInfos?.reduce((e,t)=>(t&&e.push(t.isDanger?this._getDangerAction(t.icon,t.label,t.func,t.disabled):this._getAction(t.active,t.icon,t.indicator,t.label,t.func,t.disabled,!!t.loading,t.toolTip)),e),[])}_validateEnabledActions(){let e=this._getIds().length,t=["zoom-to-object","pencil","trash","erase","selected-items-filter","copy"];this._toolInfos?.forEach(i=>{i&&t.indexOf(i.icon)>-1&&(i.disabled=i.icon==="pencil"?e<2||e>y:e<1,i.toolTip=i.icon==="pencil"?e>y?this._translations.featureEditLimitNotice:this._translations.editMultiple:i.toolTip)})}_validateActiveActions(){let e=["filter","list-check-all","selected-items-filter"];this._toolInfos?.forEach(t=>{t&&e.indexOf(t.icon)>-1&&(t.icon==="filter"&&(t.indicator=this._filterActive),t.icon==="list-check-all"&&(t.active=this._selectAllActive),t.icon==="selected-items-filter"&&(t.active=this._showOnlySelected,t.label=this._showOnlySelected?this._translations.showAll:this._translations.showSelected))})}async _initToolInfos(){let e=this._getIds().length>0,t=this._relatedFeatureTable?this._relatedFeatureTable.layer.isTable:this._layer?.isTable,i=this.featureSelectionMode==="multiple"&&this._layer?.capabilities?.operations.supportsUpdate,s=this._getSelectedIds().length<2||this._getSelectedIds().length>y,a=!this.mapHidden&&!t,l=!this._relatedFeatureTable&&(!this._layer?.isTable||this._hasFilterExpressions()),h=this._featuresEmpty(),n=this.featureSelectionMode==="single",d=this.enableCSV;if(this._relatedFeatureTable){let u=await this._queryRelatedFeatures();d=u&&Object.keys(u).length>0}let r=[];l&&r.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this.toggleFilter.emit(),disabled:!1,toolTip:this._translations.filters}),a&&r.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>{this._zoom()},disabled:!e,toolTip:this._translations.zoom}),i&&r.push({active:!1,icon:"pencil",indicator:!1,label:this._translations.editMultiple,func:()=>this.editMultipleFeatures.emit(this._getSelectedIds()),disabled:s,toolTip:this._translations.editMultiple}),this.showCopyPasteActions&&(r.push({active:!1,icon:"copy",indicator:!1,label:this._translations.copy,func:()=>this.copyFeatures.emit({featuresIds:this._getIds(),layerId:this._layer?.id}),disabled:!e,toolTip:this._translations.copy}),r.push({active:!1,icon:"paste-with-attribute",indicator:!1,label:this._translations.paste,func:()=>this.pasteFeatures.emit(),disabled:!this.pasteEnabled,toolTip:this._translations.paste})),this._deleteEnabled&&r.push({active:!1,icon:"trash",indicator:!1,label:this._translations.delete,func:()=>this._showDelete(),disabled:!e,isDanger:!0,toolTip:this._translations.delete}),r.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>{this.clearSelection()},disabled:!e,toolTip:this._translations.clearSelection}),this._relatedFeatureTable||r.push({active:!1,icon:"selected-items-filter",indicator:!1,label:this._showOnlySelected?this._translations.showAll:this._translations.showSelected,func:()=>this._toggleShowSelected(),disabled:!e,toolTip:this._showOnlySelected?this._translations.showAll:this._translations.showSelected}),!n&&!this._relatedFeatureTable&&r.push({active:!1,icon:"list-check-all",indicator:!1,func:async()=>await this._selectAll(),label:this._translations.selectAll,disabled:h,toolTip:this._translations.selectAll}),!n&&!this._relatedFeatureTable&&r.push({active:!1,icon:"compare",indicator:!1,func:async()=>await this._switchSelected(),label:this._translations.switchSelected,disabled:h,toolTip:this._translations.switchSelected}),r.push({active:!1,icon:"refresh",indicator:!1,func:()=>{this._refresh()},label:this._translations.refresh,disabled:!1,toolTip:this._translations.refresh}),d&&r.push({active:!1,icon:"export",indicator:!1,func:()=>{this._exportToCSV()},label:this._translations.exportCSV,loading:this._csvExporting,disabled:h,toolTip:this._translations.exportCSV}),this._toolInfos=[...r]}async _addListenersForLayers(){this._layerEditsHandles.forEach(i=>i.remove()),this._layerEditsHandles=[];let e=this.mapView,t=[...new Set(this.layerIds)];if(!(!e||t.length===0))for(let i of t){let s=await m(e,i);if(!s)continue;let a=s.on("edits",async l=>{if(this._shouldSelectFeatureAfterCreate)try{let h=Array.isArray(l?.addedFeatures)?l.addedFeatures:[];if(h.length===0)return;let n=h.map(r=>r.objectId).filter(r=>r!=null);if(n.length===0)return;let d=this._layer?.id;s.id===d?(await this._refresh(),this._clearSelection(),this._table?.highlightIds.addMany(n),this.featuresAdded.emit(n)):(this._clearSelection(),this._pastedFeaturesIds=n,this.requestLayerSelectionChange.emit(s.id)),this._shouldSelectFeatureAfterCreate=!1}catch(h){this._shouldSelectFeatureAfterCreate=!1,console.error("Failed processing layer edits event",{layerId:i,error:h})}});a&&this._layerEditsHandles.push(a)}}_updateFloorDefinitionExpression(){if(this._floorField&&this._floorLevel){let e=`${this._floorField} = '${this._floorLevel}'`,t=this._layer?.definitionExpression;this._layer&&(this._layer.definitionExpression=t&&this._floorExpression&&t?.indexOf(this._floorExpression)>-1?t.replace(this._floorExpression,e):t?`${t} AND (${e})`:e),this._floorExpression=e}}_featuresEmpty(){return this._allIds?.length===0}_hasFilterExpressions(){let e=[],t=this._layer?.id;return this.mapInfo?.filterConfig?.layerExpressions&&t!==void 0&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===t)),e.length>0}_getAction(e,t,i,s,a,l,h,n){let d=this._layer===void 0?!0:l;return o`<calcite-action .active=${e} .disabled=${d} .icon=${t} .id=${`layer-table-${t}`} .indicator=${i} .label=${s} .loading=${h} @click=${a} text text-enabled><div class="display-flex"><span class="label-override padding-start-1-4">${s}</span></div></calcite-action>${this._getToolTip("auto",`layer-table-${t}`,n)}`}_showDelete(){this.showDelete.emit({ids:this._getIds()})}_getShare(e){return o`<div id=${this._getId(e)??p}><instant-apps-social-share class="height-51 width-51 display-flex" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${f(this._shareNode)}></instant-apps-social-share>${this._getToolTip("bottom",e,this._translations.share)}</div>`}_updateShareUrl(){let e=this._shareNode.value?.shareUrl;if(!e)return;let t=new URL(e);this.mapInfo?.id?t.searchParams.set("webmap",this.mapInfo.id):t.searchParams.delete("webmap"),this._layer?.id?t.searchParams.set("layer",this._layer.id):t.searchParams.delete("layer"),this.selectedIds?.length>0?t.searchParams.set("oid",this.selectedIds.reverse().join(",")):t.searchParams.delete("oid"),this.appLayout&&t.searchParams.set("applayout",this.appLayout),this.selectedRelatedIds?.length>0&&this._relatedFeatureTable?.layer?.id&&(t.searchParams.set("oid",this.selectedRelatedIds.join(",")),t.searchParams.set("layer",this._relatedFeatureTable?.layer?.id.toString())),this._shareNode.value&&(this._shareNode.value.autoUpdateShareUrl=!1,this._shareNode.value.shareUrl=t.href)}_getToolTip(e,t,i){return o`<calcite-tooltip .placement=${e} .referenceElement=${t}><span>${i}</span></calcite-tooltip>`}_getId(e){return`solutions-action-${e}`}_getDangerAction(e,t,i,s){let a=this._layer===void 0?!0:s;return o`<calcite-action class="delete-red" .disabled=${a} .id=${`layer-table-${e}`} .label=${t} @click=${i} text text-enabled><calcite-icon aria-hidden=true class="danger-icon-color" .icon=${e} scale=s></calcite-icon><span class="label-override padding-start-1-4 danger-label-color">${t}</span></calcite-action>${this._getToolTip("bottom",`layer-table-${e}`,t)}`}_getIds(){let e=this._relatedFeatureTable??this._table;return this._relatedFeatureTable&&this._table&&this._table.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(e=this._table),e?.highlightIds.map(t=>Number.parseInt(t.toString(),10)).toArray()??[]}onTableNodeCreate(e){this._tableNode=e}async _getTable(e,t){this._layer&&(await this._layer.when(()=>{this._table=new $({autoRefreshEnabled:this.enableAutoRefresh,autoSaveEnabled:this.enableTableAutosave,layer:this._layer,view:this.mapView,columnReorderingEnabled:this.enableColumnReorder,editingEnabled:this._editEnabled&&this.enableInlineEdit,relatedRecordsEnabled:!0,attachmentsEnabled:!0,highlightEnabled:!1,multiSortEnabled:!1,visibleElements:{columnDescriptions:!1,header:!1,menu:!1,progress:!1},tableTemplate:{columnTemplates:t},container:e})}),await this._table?.when(()=>{this._table?.viewModel.addHandles(this._table.highlightIds.on("change",i=>{this._handleOnChange(i)})),this._table?.viewModel.addHandles(this._table.on("cell-pointerover",this.tempHighlightOnHover.bind(this))),this._table?.viewModel.addHandles(this._table.on("cell-pointerout",this._removeTempHighlight.bind(this))),this._table?.viewModel.addHandles(this._table.on("column-reorder",this._handleColumnReorder.bind(this))),this.listenOn(this._tableNode,"mouseleave",this._removeTempHighlight),this._table?.viewModel.addHandles(_.watch(()=>this._table.size,i=>{this._size=i})),_?.watch(()=>this._table?.relatedTable,async i=>{if(i){if(i.rowHighlightIds.length){let a={added:[i.rowHighlightIds.getItemAt(0)],removed:[]};this._handleOnChange(a)}let s=i.layer;if(this._layerEditHandle=s.on("edits",async()=>{await new Promise(a=>setTimeout(a,50)),await this._refresh(!0)}),this._checkEditEnabled(s),i.editingEnabled=this._editEnabled&&this.enableInlineEdit,i.autoSaveEnabled=this.enableTableAutosave,this._relatedFeatureTable=i,typeof i.layer?.id=="string"&&i.layer?.fields){let a=i.layer.popupTemplate?.fieldInfos,l=this._getColumnTemplates(i.layer.id,i.layer.fields,a);this._relatedFeatureTable.tableTemplate=new I({columnTemplates:l})}i.highlightIds.on("change",a=>{this._handleRelatedRecordsChange(a)})}else{this.selectedRelatedIds=[],this._relatedFeatureTable=void 0,this._layerEditHandle&&this._layerEditHandle.remove();let s=this._layer;this._refresh(),s&&this.relatedRecordToggled.emit(s),this._finishOnChange()}await this._initToolInfos()})}))}async _handleRelatedRecordsChange(e){await this._handleOnChange(e),this._updateShareUrl()}hasAttachmentsEnabled(e){if(!e?.capabilities)return!1;let{capabilities:{data:{supportsAttachment:t},operations:{supportsQueryAttachments:i}}}=e;return t&&i}async _handleOnChange(e){if(!await this._validateActiveEdits([...e.added],[...e.removed]))return;let t=[...this._getIds()],i=this._getSelectedLayer(t);this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]&&(i=this._layer,await this._initToolInfos()),i&&this.relatedRecordToggled.emit(i),this.featureSelectionMode==="single"&&(this._relatedFeatureTable&&t.length>1?(this._relatedFeatureTable.highlightIds.remove(t[0]),t.shift()):t.length>1&&!this._selectAllActive&&(this._table?.highlightIds.remove(t[0]),t.shift())),!this._relatedFeatureTable||this._relatedFeatureTable&&this._table?.highlightIds.getItemAt(0)!==this.selectedIds[0]?(this.selectedRelatedIds=[],this.selectedIds=t.reverse(),this._tempSelectedIds=[...this.selectedIds],this._highlightFeatures(this.selectedIds[0])):this.selectedRelatedIds=t.reverse(),this._finishOnChange()}async _validateActiveEdits(e,t){let i=!0;if(this._editor&&!this._skipEditCheck){if(this._hasPendingEdits()){let s=!1;try{this._editor.viewModel.activeWorkflow&&await this._editor.viewModel.activeWorkflow.cancel({force:!1})}catch(a){s=a?.name==="workflow:cancel-denied"}if(s){let a=this._relatedFeatureTable&&this._relatedFeatureTable.highlightIds.length>0?this._relatedFeatureTable:this._table;i=!1,this._skipEditCheck=!0,e.length>0?a?.highlightIds.removeMany(e):t.length>0&&a?.highlightIds.addMany(t)}}}else i=!this._skipEditCheck,this._skipEditCheck=!1;return this._shouldUpdateTableOnExtentChange=i,i}_hasPendingEdits(){let e=this._editor?.viewModel?.hasPendingEdits,t=this._editor?.activeWorkflow?.activeWorkflow?.hasPendingEdits;return e||t}_finishOnChange(){this._showOnlySelected&&!this._relatedFeatureTable&&(this._table&&this._getSelectedIds().length>0?this._table.filterBySelectionEnabled=!0:this._toggleShowSelected());let e=this._getSelectedIds();setTimeout(()=>{this.featureSelectionChange.emit(e)},50)}_handleColumnReorder(){this.columnReorder.emit()}tempHighlightOnHover(e){if(this._removeTempHighlight(),this._selectedLayerView){let t=e.feature;this._temporaryFeatureHandle=this._selectedLayerView?.highlight([t],{name:"temporary"})}}_removeTempHighlight(){this._temporaryFeatureHandle&&this._temporaryFeatureHandle.remove()}_highlightFeatures(e){if(this._clearHighlights(),this.selectedIds.length>0&&this._selectedLayerView&&(this._currentFeatureHighlightHandle=this._selectedLayerView?.highlight([e],{name:"current-selection"}),this.selectedIds.length>1)){let t=this.selectedIds.filter(i=>i!==e);this._defaultFeaturesHandle=this._selectedLayerView?.highlight(t,{name:"default"})}}_clearHighlights(){this._removeTempHighlight(),this._currentFeatureHighlightHandle&&this._currentFeatureHighlightHandle.remove(),this._defaultFeaturesHandle&&this._defaultFeaturesHandle.remove()}_resetColumnTemplates(){if(this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);t?.length===0?this._tableNode?.classList.add("display-none"):this._tableNode?.classList.remove("display-none");let i=this._table?.tableTemplate?.columnTemplates,s=i&&t&&i.length!==t.length||t?.some((a,l)=>i&&i[l]?JSON.stringify(i[l])!==JSON.stringify(a):!1);if(this._table&&t&&(s||!this._columnsInfo)){this._table.tableTemplate=new I({columnTemplates:t});let a=t.map(l=>l.fieldName);this._initColumnsInfo(a)}}}_setColumnTemplates(e){this._table&&e&&(this._table.tableTemplate=new I({columnTemplates:e}))}async _resetTable(){if(this._loaded=!1,this._clearSelection(),this._allIds=await this.queryAllIds(),!this._table&&this._layer){let e=this._layer.popupTemplate?.fieldInfos,t=this._getColumnTemplates(this._layer.id,this._layer.fields,e);this._tableNode&&await this._getTable(this._tableNode,t)}else this._table&&(this._table.view=this.mapView,this._table.layer=this._layer);await this._initLayerRefresh(),this._checkEditEnabled(this._layer),this._table&&(this._table.editingEnabled=this._editEnabled&&this.enableInlineEdit,this._table.autoSaveEnabled=this.enableTableAutosave,await this._table.when(),setTimeout(()=>{this._loaded||this.finishLoading()},1e3),await _.once(()=>this._table?.state==="loaded").then(async()=>{await this.finishLoading()}))}async finishLoading(){try{this._loaded=!0,this._table?.highlightIds.removeAll(),this._table.objectIds.removeAll(),this._resetColumnTemplates(),this._showOnlySelected=!1,await this._handleDefaults(),await this._sortTable(),await this._initToolInfos(),["esri-feature-table","esri-widget"].forEach(e=>{this._tableNode&&!this._tableNode.classList.contains(e)&&this._tableNode.classList.add(e)}),this._table&&this._pastedFeaturesIds.length>0&&await this._applyPastedFeatureHighlights()}catch(e){console.log(e)}}async _applyPastedFeatureHighlights(){let e=[...this._pastedFeaturesIds];await new Promise(t=>{requestAnimationFrame(()=>{this._table?.highlightIds.addMany(e),this._pastedFeaturesIds=[],t()})})}async _initLayerRefresh(){this._refreshHandle&&this._refreshHandle.remove(),this._layer&&(this._refreshHandle=this._layer.on("refresh",e=>{e.dataChanged&&this._updateAllIds()}))}async _updateAllIds(){let e=await this.queryAllIds(),t=this.selectedIds.filter(i=>this._allIds.indexOf(i)>-1);(JSON.stringify(e)!==JSON.stringify(this._allIds)||JSON.stringify(this.selectedIds)!==JSON.stringify(t))&&(this._allIds=e,this.selectedIds=t,await this._refresh())}async _handleDefaults(){if(!this._defaultOidHonored&&this.defaultOid?.length>0&&this.defaultOid[0]>-1&&this._table&&(await this._selectDefaultFeature(this.defaultOid),this._defaultOidHonored=!0,this.defaultOid=[],this._showOnlySelected=!1,this._toggleShowSelected()),!this._defaultGlobalIdHonored&&this.defaultGlobalId&&this.defaultGlobalId?.length>0&&this._table&&this._layer){let e=await C(this.defaultGlobalId,this._layer),t=e?.length>0?e.map(i=>Number(i.getObjectId())):void 0;t&&await this._selectDefaultFeature(t),this._defaultGlobalIdHonored=!0,this.defaultGlobalId=[],this._showOnlySelected=!1,this._toggleShowSelected()}}_initColumnsInfo(e){let t=this._table?.columns.reduce((s,a)=>((!e||e?.indexOf(a.name)>-1)&&(s[a.name]=!a.hidden),s),{}),i=this._table?.columns.map(s=>s.name);(e&&i?e.filter(s=>i.indexOf(s)<0):[]).forEach(s=>{t[s]=!0}),this._columnsInfo=e?e.reduce((s,a)=>(s[a]=t[a],s),{}):t}async _selectDefaultFeature(e){e.length>0&&this._table?.highlightIds.addMany(e)}_checkEditEnabled(e){this._editEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsUpdate),this._deleteEnabled=!!(e?.editingEnabled&&e?.capabilities?.operations.supportsDelete)}async _sortTable(){let e=this._layer?.objectIdField,t="desc",i,s=this.mapInfo?.layerOptions?.layers,a=this._layer?.id;s&&s.length>0&&a!==void 0&&(i=s.filter(l=>l.id===a),i&&i.length>0&&(i=i[0],i.sortField&&i.fields?.includes(i.sortField)&&(e=i.sortField),t=i?.sortOrder?i.sortOrder:"desc")),this._table&&this._layer&&(await this._table.when(),await this._layer.when(()=>{e&&this._table?.sortColumn(e,t)}))}async _handleFilterListReset(){this._filterActive=!1,this._updateShareUrl(),await this._searchFullText()}async _handleFilterUpdate(e){if(this._floorExpression&&this._layer){let t=this._layer.definitionExpression,i=new RegExp(`${this._floorField} = ['].+[']`,"gm");this._layer.definitionExpression=t&&this._floorField&&t.indexOf(`${this._floorField} = '`)>-1?t.replace(i,this._floorExpression):t?`${t} AND (${this._floorExpression})`:this._floorExpression}this._filterActive=e,this._updateShareUrl(),await this._searchFullText()}_handleTableOnMapExtent(){this._table&&(this._filterByExtentHandle=_.when(()=>this.mapView?.stationary,async()=>{if(this._shouldUpdateTableOnExtentChange&&this.appLayout==="splitView"){if(await new Promise(e=>setTimeout(e,800)),this._table&&this.mapView){this._table.filterGeometry=this.mapView.extent;let e={geometry:this.mapView.extent},t=this._layer&&await this._layer.queryObjectIds(e),i=this.selectedIds.filter(a=>!t?.includes(a)),s=this._outOFExtentOids.filter(a=>t?.includes(a));i.length>0&&(this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table.highlightIds.removeMany(i),this._outOFExtentOids=[...this._outOFExtentOids,...i]),s.length>0&&(this.selectedIds=[...new Set([...this.selectedIds,...s])],this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(this.selectedIds.reverse()),this._outOFExtentOids=this._outOFExtentOids.filter(a=>!s.includes(a)))}this._allIds=await this.queryAllIds()}},{initial:!0}))}async _closeFilter(){this._allIds=await this.queryAllIds()}async queryAllIds(){if(this._layer){let e=this._layer.createQuery();return e.geometry=this._filterByExtentHandle&&this.mapView?this.mapView.extent:null,e.where=this._layer.definitionExpression||"1=1",await this._layer.queryObjectIds(e)}else return[]}async _mapClicked(e){let t={include:this._layer},i=await this.mapView?.hitTest(e.screenPoint,t);if(i&&i.results.length>0){let s=i.results;if(this.featureSelectionMode==="single"){this._table?.highlightIds.removeAll();let a=s[0].graphic.getObjectId();if(a){let l=this._table?.highlightIds.indexOf(a);l!==void 0&&l<0&&this._table?.highlightIds.add(a)}}else s.forEach(a=>{let l=Number(a.graphic.getObjectId()),h=this._table?.highlightIds.indexOf(l);h&&h<0&&l&&this._table?.highlightIds.add(l)});this._showOnlySelected&&this._table&&(this._table.filterBySelectionEnabled=!0)}}async _selectAll(){let e=this._allIds,t=e.filter(i=>this.selectedIds.indexOf(i)<0);await this._validateActiveEdits(t,this.selectedIds)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(e),this.selectedIds=e,this._finishOnChange(),this._selectAllActive=!0):this._skipEditCheck=!1}_toggleShowSelected(){this._showOnlySelected=!this._showOnlySelected,this._table&&(this._table.filterBySelectionEnabled=this._showOnlySelected)}_clearSelection(){this._relatedFeatureTable||(this.selectedIds=[],this._outOFExtentOids=[],this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._table?.highlightIds.removeAll(),this._clearHighlights(),this._table?.rowHighlightIds.removeAll()),this._relatedFeatureTable&&(this._relatedFeatureTable?.highlightIds.removeAll(),this.selectedRelatedIds=[]),this._finishOnChange()}async _switchSelected(){let e=[...this.selectedIds],t=this._allIds.reduce((i,s)=>(e.indexOf(s)<0&&i.push(s),i),[]).sort((i,s)=>i-s);await this._validateActiveEdits(t,e)&&this._table?(this._table.highlightIds.removeAll(),this._table.highlightIds.addMany(t),this.selectedIds=t,this._finishOnChange()):this._skipEditCheck=!1}async _exportToCSV(){let e=this._relatedFeatureTable?this._relatedFeatureTable.layer:this._layer;if(!e)return;let t={},i=this._getIds();if(this._relatedFeatureTable?.tableParent&&this._relatedFeatureTable.highlightIds.length===0){let l=this._relatedFeatureTable.tableParent.highlightIds?.getItemAt(0);if(l!==void 0){let h=await this._queryRelatedFeatures(),n=[];h&&h[l]?.features&&(h[l].features.forEach(d=>{d.attributes&&n.push(d.attributes[e.objectIdField])}),i=n.length>0?n:[])}}t[e.id]={selectionSetNames:[e.title||""],ids:i,layer:e};let s=this._relatedFeatureTable??this._table;if(!s)return;let a=s&&s.columns.toArray().reduce((l,h)=>{if(!h.hidden){let n=h?.name||h?.fieldName;n&&l.push(n.toLocaleLowerCase())}return l},[]);this._updateToolInfoLoading("export",!0),this._csvExporting=!0,this.mapView?.map&&await L(this.mapView.map,t,!1,!1,!0,a,!0,!0),this._updateToolInfoLoading("export",!1),this._csvExporting=!1}async _queryRelatedFeatures(){let e=this._relatedFeatureTable?this._relatedFeatureTable?this._relatedFeatureTable.layer:this._relatedFeatureTable.tableParent?.layer:this._layer,t=this._relatedFeatureTable?.tableParent?.highlightIds?.items[0],i=this._relatedFeatureTable?.tableParent?.layer,s=e?.relationships?.find(l=>i.relationships?.some(h=>h.id===l.id)),a=new M({objectIds:[t],outFields:["*"],relationshipId:s?.id});return t&&a&&await i.queryRelatedFeatures(a).catch(async l=>{console.error(l)})}_updateToolInfoLoading(e,t){this._toolInfos.some(i=>i?.icon===e?(i.loading=t,!0):!1)}async _refresh(e){if(await this._validateActiveEdits([],this.selectedIds)){this._table&&await this._table.refresh(),this._relatedFeatureTable&&await this._relatedFeatureTable.refresh(),this._allIds=await this.queryAllIds();let t=this._getSelectedLayer(this.selectedRelatedIds);if(t&&this.relatedRecordToggled.emit(t),!e){let i=this._getSelectedIds();this.featureSelectionChange.emit(i)}}}_getSelectedIds(){let e;return this._relatedFeatureTable?this.selectedRelatedIds.length>0?e=this.selectedRelatedIds:e=this._relatedFeatureTable.tableParent?.highlightIds.toArray()??[]:e=this.selectedIds,e}_getSelectedLayer(e){let t;return this._relatedFeatureTable?e.length>0?t=this._relatedFeatureTable.layer:t=this._relatedFeatureTable.tableParent?.layer:t=this._layer,t}async _clearSearchText(){if(this._searchNode.value){this._searchNode.value.value="";let e={target:{value:""}};await this._searchTextChanged(e)}}async _zoom(){this._layer&&this.mapView&&await w(this.selectedIds,this._selectedLayerView,this.mapView,!0,void 0,this.zoomToScale)}async _layerSelectionChanged(e){let t=e.detail[0];if(t!==this._layer?.id||this._featuresEmpty()){this._fetchingData=!0,await this._clearSearchText();let i=this.mapView&&await m(this.mapView,t);i&&await i.when(async()=>{this._selectedLayerView=!i.isTable&&this.mapView?await A(this.mapView,i.id):null,this._table&&this._table?.viewModel?.attachmentsViewOptions?.objectId&&this._table.viewModel.hideAttachmentsView(),this._shouldUpdateTableOnExtentChange=!0,this._layer=i,await this._initToolInfos(),this._getFullTextSearchInfo()})}this._creatingFeature=!1,this._fetchingData=!1}_getColumnTemplates(e,t,i){let s=this._getLayerOption(e),a=this._layer?.attributeTableTemplate?.elements,l=[];a?.length>0&&this.honorMapFieldSettings&&(l=a.map(d=>d.fieldName));let h=s?.fields&&s?.fieldOrder?s.fieldOrder.filter(d=>s?.fields&&s.fields.indexOf(d)>-1):l.length>0?l:void 0,n;return t&&(n=t.reduce((d,r)=>{let u={type:"field",fieldName:r.name,label:this.getFieldLabel(r,i),menuConfig:this._getMenuConfig(r.name)};return s&&s.fields&&s?.fields?.length>0?s.fields.indexOf(r.name)>-1&&d.push(u):l.length>0?l.indexOf(r.name)>-1&&d.push(u):d.push(u),d},[])),n?h?n?.sort(this._sortFields.bind(this,h)):n:[]}updateRelatedAttachmentColumns(){let e=this._getLayerOption(this._layer?.id||""),t=this.hasAttachmentsEnabled(this._layer),i=!0,s="attachments",a=(e?.extraFields||[]).reduce((h,n)=>(n.startsWith("related:")?h.related.push(n.split("related:")[1]):h.extra.push(n),h),{related:[],extra:[]}),l=a.extra.some(h=>h.toLowerCase()===s);a&&(t=l&&t,i=a.related.length>0,this._table?.columns.forEach(h=>{h.fieldName.startsWith("EsriFeatureTableRelationshipColumn")&&(h.hidden=!a.related.includes(h.effectiveLabel)),h.fieldName.startsWith("EsriFeatureTableAttachmentsColumn")&&(h.hidden=!a.extra.some(n=>n.toLowerCase()===h.effectiveLabel.toLowerCase()))})),this._table.relatedRecordsEnabled=i,this._table.attachmentsEnabled=t}getFieldLabel(e,t){let i=e.alias?e.alias:e.name;return t?.some(s=>s.fieldName===e.name?(i=s.label,!0):!1),i||e.name}_sortFields(e,t,i){return e?.indexOf(t.fieldName)-e.indexOf(i.fieldName)}_getMenuConfig(e){return{items:[{label:this._translations.hideField,icon:"view-hide",autoCloseMenu:!0,clickFunction:()=>{this._handleHideClick(e)}}]}}_handleHideClick(e){this._columnsInfo&&this._table&&(this._columnsInfo[e]=!1,this._table.hideColumn(e),this._table.tableTemplate&&this._table.tableTemplate.columnTemplates.forEach(t=>{t.fieldName===e&&(t.visible=!1)}))}};F("layer-table",v);return v},"widgets/FeatureTable","core/reactiveUtils","rest/support/RelationshipQuery","widgets/FeatureTable/support/TableTemplate",a,d,e,h,i)
@@ -1 +1 @@
1
- {"headerTitle":"بيت_Solution builder_________________لاحقة","noticeMessage":"بيت_Generated with AI by the ArcGIS Solutions assistant (beta)______________________________لاحقة","draft":"بيت_Draft___________لاحقة","undo":"بيت_Undo_________لاحقة","redo":"بيت_Redo_________لاحقة","hideBuilder":"بيت_Hide_________لاحقة","assistantLoading":"بيت_Assistant is processing________________________لاحقة","name":"بيت_Name_________لاحقة","namePlaceholder":"بيت_Solution name______________لاحقة","solutionNameErrorBlank":"بيت_The solution name cannot be empty__________________لاحقة.","solutionNameErrorLength":"بيت_The solution name is too long_______________________________لاحقة.","solutionNameErrorSpecialCharacter":"بيت_The solution name contains a special character which is not allowed___________________________________لاحقة.","description":"بيت_Description____________لاحقة","solutionDescriptionPlaceholder":"بيت_Solution description_____________________لاحقة","descriptionErrorLength":"بيت_The solution description is too long____________________لاحقة.","descriptionErrorSpecialCharacter":"بيت_The solution description contains a special character which is not allowed_______________________________________لاحقة.","deploy":"بيت_Deploy_____________لاحقة","viewDiagram":"بيت_View Diagram_____________لاحقة","openHelp":"بيت_Open Help___________________لاحقة","discard":"بيت_Discard_______________لاحقة","contents":"بيت_Contents_________________لاحقة","featureLayer":"بيت_Feature Layer______________لاحقة","customizeLayer":"بيت_Customize layers_________________لاحقة","solutionContentItems":"بيت_Solution content items_______________________لاحقة","edit":"بيت_Edit_________لاحقة","editItemContent":"بيت_Edit item content__________________لاحقة","title":"بيت_Title___________لاحقة","titlePlaceholder":"بيت_Enter title____________لاحقة","itemTitleErrorBlank":"بيت_The title cannot be empty___________________________لاحقة.","itemTitleErrorLength":"بيت_The title is too long_______________________لاحقة.","itemTitleErrorSpecialCharacter":"بيت_The title contains a special character which is not allowed_______________________________لاحقة.","descriptionPlaceholder":"بيت_Enter description__________________لاحقة","itemDescriptionErrorLength":"بيت_The description is too long_____________________________لاحقة.","itemDescriptionErrorSpecialCharacter":"بيت_The description contains a special character which is not allowed__________________________________لاحقة.","apply":"بيت_Apply___________لاحقة","close":"بيت_Close___________لاحقة","cancel":"بيت_Cancel_____________لاحقة","solutionThumbnail":"بيت_Solution thumbnail___________________لاحقة","selectLayer":"بيت_Layer___________لاحقة","layerProperties":"بيت_Layer properties_________________لاحقة","addLayer":"بيت_New layer___________________لاحقة","layerNamePlaceholder":"بيت_Enter layer name_________________لاحقة","layerNameErrorBlank":"بيت_The layer name cannot be empty_________________لاحقة.","layerNameErrorLength":"بيت_The layer name is too long____________________________لاحقة.","layerNameErrorSpecialCharacter":"بيت_The layer name contains a special character which is not allowed__________________________________لاحقة.","layerNameErrorDuplicate":"بيت_Layer names must be unique____________________________لاحقة.","type":"بيت_Type_________لاحقة","pointLayer":"بيت_Point layer____________لاحقة","lineLayer":"بيت_Line layer_____________________لاحقة","polygonLayer":"بيت_Polygon layer______________لاحقة","tableLayer":"بيت_Table___________لاحقة","layerDescriptionPlaceholder":"بيت_Enter layer description________________________لاحقة","layerDescriptionErrorLength":"بيت_The layer description is too long__________________لاحقة.","layerDescriptionErrorSpecialCharacter":"بيت_The layer description contains a special character which is not allowed_____________________________________لاحقة.","fields":"بيت_Fields_____________لاحقة","displayName":"بيت_Display name_____________لاحقة","displayNamePlaceholder":"بيت_Enter display name___________________لاحقة","displayNameErrorBlank":"بيت_The display name cannot be empty__________________لاحقة.","displayNameErrorLength":"بيت_The display name is too long______________________________لاحقة.","fieldName":"بيت_Field name_____________________لاحقة","fieldNamePlaceholder":"بيت_Enter field name_________________لاحقة","fieldNameErrorBlank":"بيت_The field name cannot be empty_________________لاحقة.","fieldNameErrorInvalidChars":"بيت_Must begin with a letter and can only contain letters, numbers, and '_'_____________________________________لاحقة.","fieldNameErrorLength":"بيت_Field name length should be less than or equal to 31 characters_________________________________لاحقة.","fieldNameErrorExists":"بيت_The field name cannot be the same as an existing field name_______________________________لاحقة.","fieldNameErrorSQLKeyword":"بيت_The field name cannot be the same as an SQL keyword___________________________لاحقة.","fieldNameErrorSystemField":"بيت_The field name cannot be the same as a system field name______________________________لاحقة.","fieldDescription":"بيت_Field description__________________لاحقة","fieldDescriptionPlaceholder":"بيت_Enter field description________________________لاحقة","fieldDescriptionErrorLength":"بيت_The field description is too long__________________لاحقة.","fieldDescriptionErrorSpecialCharacter":"بيت_The field description contains a special character which is not allowed_____________________________________لاحقة.","domainValues":"بيت_List of values_______________لاحقة","addDomainValue":"بيت_Add value___________________لاحقة","deleteList":"بيت_Delete list____________لاحقة","invalidSolutionName":"بيت_Invalid solution name______________________لاحقة","invalidLayerName":"بيت_Invalid layer name___________________لاحقة","domain":"بيت_Domain_____________لاحقة","addField":"بيت_Add field___________________لاحقة","editField":"بيت_Edit field_____________________لاحقة","systemFieldsNote":"بيت_System fields will also be included and cannot be customized________________________________لاحقة:","requiredFieldNote":"بيت_This field is required in this solution and cannot be deleted________________________________لاحقة.","requiredFieldTooltip":"بيت_This field is required in this solution_____________________لاحقة.","done":"بيت_Done_________لاحقة","removeLayer":"بيت_Delete this layer__________________لاحقة","delete":"بيت_Delete_____________لاحقة","stringType":"بيت_String_____________لاحقة","integerType":"بيت_Integer_______________لاحقة","doubleType":"بيت_Double_____________لاحقة","dateType":"بيت_Date_________لاحقة","guidType":"بيت_GUID_________لاحقة","globalIdType":"بيت_GlobalID_________________لاحقة","objectIdType":"بيت_ObjectID_________________لاحقة","domainList":"بيت_List ({{count}})_________________لاحقة","fieldTypeWithLength":"بيت_{{type}} ({{length}})______________________لاحقة","length":"بيت_Length_____________لاحقة","lengthErrorOutOfRange":"بيت_The value is out of range___________________________لاحقة.","domainValuePlaceholder":"بيت_Enter value____________لاحقة","domainValueErrorEmpty":"بيت_Value cannot be empty_______________________لاحقة.","domainValueErrorDuplicate":"بيت_Values must be unique_______________________لاحقة.","domainValueErrorExceedsLength":"بيت_Value exceeds the field length_________________لاحقة.","fieldValueType_nameOrTitle":"بيت_Name or Title______________لاحقة","fieldValueType_description":"بيت_Description____________لاحقة","fieldValueType_typeOrCategory":"بيت_Type or Category_________________لاحقة","fieldValueType_countOrAmount":"بيت_Count or Amount________________لاحقة","fieldValueType_percentageOrRatio":"بيت_Percentage or Ratio____________________لاحقة","fieldValueType_measurement":"بيت_Measurement____________لاحقة","fieldValueType_currency":"بيت_Currency_________________لاحقة","fieldValueType_uniqueIdentifier":"بيت_Unique Identifier__________________لاحقة","fieldValueType_phoneNumber":"بيت_Phone Number_____________لاحقة","fieldValueType_emailAddress":"بيت_Email Address______________لاحقة","fieldValueType_orderedOrRanked":"بيت_Ordered or Ranked__________________لاحقة","fieldValueType_binary":"بيت_Binary_____________لاحقة","fieldValueType_locationOrPlaceName":"بيت_Location or Place Name_______________________لاحقة","fieldValueType_coordinate":"بيت_Coordinate_____________________لاحقة","fieldValueType_dateAndTime":"بيت_Date and Time______________لاحقة","fieldValueType_none":"بيت_None_________لاحقة"}
1
+ {"headerTitle":"بيت_Solution builder_________________لاحقة","noticeMessage":"بيت_Generated with AI by the ArcGIS Solutions assistant (beta)______________________________لاحقة","draft":"بيت_Draft___________لاحقة","undo":"بيت_Undo_________لاحقة","redo":"بيت_Redo_________لاحقة","hideBuilder":"بيت_Hide_________لاحقة","assistantLoading":"بيت_Assistant is processing________________________لاحقة","name":"بيت_Name_________لاحقة","namePlaceholder":"بيت_Solution name______________لاحقة","solutionNameErrorBlank":"بيت_The solution name cannot be empty__________________لاحقة.","solutionNameErrorLength":"بيت_The solution name is too long_______________________________لاحقة.","solutionNameErrorSpecialCharacter":"بيت_The solution name contains a special character which is not allowed___________________________________لاحقة.","description":"بيت_Description____________لاحقة","solutionDescriptionPlaceholder":"بيت_Solution description_____________________لاحقة","descriptionErrorLength":"بيت_The solution description is too long____________________لاحقة.","descriptionErrorSpecialCharacter":"بيت_The solution description contains a special character which is not allowed_______________________________________لاحقة.","deploy":"بيت_Deploy_____________لاحقة","viewDiagram":"بيت_View Diagram_____________لاحقة","openHelp":"بيت_Open Help___________________لاحقة","discard":"بيت_Discard_______________لاحقة","discardMessage":"بيت_Are you sure you want to discard your solution_________________________لاحقة?","contents":"بيت_Contents_________________لاحقة","featureLayer":"بيت_Feature Layer______________لاحقة","customizeLayer":"بيت_Customize layers_________________لاحقة","solutionContentItems":"بيت_Solution content items_______________________لاحقة","edit":"بيت_Edit_________لاحقة","editItemContent":"بيت_Edit item content__________________لاحقة","title":"بيت_Title___________لاحقة","titlePlaceholder":"بيت_Enter title____________لاحقة","itemTitleErrorBlank":"بيت_The title cannot be empty___________________________لاحقة.","itemTitleErrorLength":"بيت_The title is too long_______________________لاحقة.","itemTitleErrorSpecialCharacter":"بيت_The title contains a special character which is not allowed_______________________________لاحقة.","descriptionPlaceholder":"بيت_Enter description__________________لاحقة","itemDescriptionErrorLength":"بيت_The description is too long_____________________________لاحقة.","itemDescriptionErrorSpecialCharacter":"بيت_The description contains a special character which is not allowed__________________________________لاحقة.","apply":"بيت_Apply___________لاحقة","close":"بيت_Close___________لاحقة","cancel":"بيت_Cancel_____________لاحقة","solutionThumbnail":"بيت_Solution thumbnail___________________لاحقة","selectLayer":"بيت_Layer___________لاحقة","layerProperties":"بيت_Layer properties_________________لاحقة","addLayer":"بيت_New layer___________________لاحقة","layerNamePlaceholder":"بيت_Enter layer name_________________لاحقة","layerNameErrorBlank":"بيت_The layer name cannot be empty_________________لاحقة.","layerNameErrorLength":"بيت_The layer name is too long____________________________لاحقة.","layerNameErrorSpecialCharacter":"بيت_The layer name contains a special character which is not allowed__________________________________لاحقة.","layerNameErrorDuplicate":"بيت_Layer names must be unique____________________________لاحقة.","type":"بيت_Type_________لاحقة","pointLayer":"بيت_Point layer____________لاحقة","lineLayer":"بيت_Line layer_____________________لاحقة","polygonLayer":"بيت_Polygon layer______________لاحقة","tableLayer":"بيت_Table___________لاحقة","layerDescriptionPlaceholder":"بيت_Enter layer description________________________لاحقة","layerDescriptionErrorLength":"بيت_The layer description is too long__________________لاحقة.","layerDescriptionErrorSpecialCharacter":"بيت_The layer description contains a special character which is not allowed_____________________________________لاحقة.","fields":"بيت_Fields_____________لاحقة","displayName":"بيت_Display name_____________لاحقة","displayNamePlaceholder":"بيت_Enter display name___________________لاحقة","displayNameErrorBlank":"بيت_The display name cannot be empty__________________لاحقة.","displayNameErrorLength":"بيت_The display name is too long______________________________لاحقة.","fieldName":"بيت_Field name_____________________لاحقة","fieldNamePlaceholder":"بيت_Enter field name_________________لاحقة","fieldNameErrorBlank":"بيت_The field name cannot be empty_________________لاحقة.","fieldNameErrorInvalidChars":"بيت_Must begin with a letter and can only contain letters, numbers, and '_'_____________________________________لاحقة.","fieldNameErrorLength":"بيت_Field name length should be less than or equal to 31 characters_________________________________لاحقة.","fieldNameErrorExists":"بيت_The field name cannot be the same as an existing field name_______________________________لاحقة.","fieldNameErrorSQLKeyword":"بيت_The field name cannot be the same as an SQL keyword___________________________لاحقة.","fieldNameErrorSystemField":"بيت_The field name cannot be the same as a system field name______________________________لاحقة.","fieldDescription":"بيت_Field description__________________لاحقة","fieldDescriptionPlaceholder":"بيت_Enter field description________________________لاحقة","fieldDescriptionErrorLength":"بيت_The field description is too long__________________لاحقة.","fieldDescriptionErrorSpecialCharacter":"بيت_The field description contains a special character which is not allowed_____________________________________لاحقة.","domainValues":"بيت_List of values_______________لاحقة","addDomainValue":"بيت_Add value___________________لاحقة","deleteList":"بيت_Delete list____________لاحقة","invalidSolutionName":"بيت_Invalid solution name______________________لاحقة","invalidLayerName":"بيت_Invalid layer name___________________لاحقة","domain":"بيت_Domain_____________لاحقة","addField":"بيت_Add field___________________لاحقة","editField":"بيت_Edit field_____________________لاحقة","systemFieldsNote":"بيت_System fields will also be included and cannot be customized________________________________لاحقة:","requiredFieldNote":"بيت_This field is required in this solution and cannot be deleted________________________________لاحقة.","requiredFieldTooltip":"بيت_This field is required in this solution_____________________لاحقة.","done":"بيت_Done_________لاحقة","removeLayer":"بيت_Delete this layer__________________لاحقة","delete":"بيت_Delete_____________لاحقة","stringType":"بيت_String_____________لاحقة","integerType":"بيت_Integer_______________لاحقة","doubleType":"بيت_Double_____________لاحقة","dateType":"بيت_Date_________لاحقة","guidType":"بيت_GUID_________لاحقة","globalIdType":"بيت_GlobalID_________________لاحقة","objectIdType":"بيت_ObjectID_________________لاحقة","domainList":"بيت_List ({{count}})_________________لاحقة","fieldTypeWithLength":"بيت_{{type}} ({{length}})______________________لاحقة","length":"بيت_Length_____________لاحقة","lengthErrorOutOfRange":"بيت_The value is out of range___________________________لاحقة.","domainValuePlaceholder":"بيت_Enter value____________لاحقة","domainValueErrorEmpty":"بيت_Value cannot be empty_______________________لاحقة.","domainValueErrorDuplicate":"بيت_Values must be unique_______________________لاحقة.","domainValueErrorExceedsLength":"بيت_Value exceeds the field length_________________لاحقة.","fieldValueType_nameOrTitle":"بيت_Name or Title______________لاحقة","fieldValueType_description":"بيت_Description____________لاحقة","fieldValueType_typeOrCategory":"بيت_Type or Category_________________لاحقة","fieldValueType_countOrAmount":"بيت_Count or Amount________________لاحقة","fieldValueType_percentageOrRatio":"بيت_Percentage or Ratio____________________لاحقة","fieldValueType_measurement":"بيت_Measurement____________لاحقة","fieldValueType_currency":"بيت_Currency_________________لاحقة","fieldValueType_uniqueIdentifier":"بيت_Unique Identifier__________________لاحقة","fieldValueType_phoneNumber":"بيت_Phone Number_____________لاحقة","fieldValueType_emailAddress":"بيت_Email Address______________لاحقة","fieldValueType_orderedOrRanked":"بيت_Ordered or Ranked__________________لاحقة","fieldValueType_binary":"بيت_Binary_____________لاحقة","fieldValueType_locationOrPlaceName":"بيت_Location or Place Name_______________________لاحقة","fieldValueType_coordinate":"بيت_Coordinate_____________________لاحقة","fieldValueType_dateAndTime":"بيت_Date and Time______________لاحقة","fieldValueType_none":"بيت_None_________لاحقة"}
@@ -1 +1 @@
1
- {"headerTitle":"й_Solution builder_________________й","noticeMessage":"й_Generated with AI by the ArcGIS Solutions assistant (beta)______________________________й","draft":"й_Draft___________й","undo":"й_Undo_________й","redo":"й_Redo_________й","hideBuilder":"й_Hide_________й","assistantLoading":"й_Assistant is processing________________________й","name":"й_Name_________й","namePlaceholder":"й_Solution name______________й","solutionNameErrorBlank":"й_The solution name cannot be empty__________________й.","solutionNameErrorLength":"й_The solution name is too long_______________________________й.","solutionNameErrorSpecialCharacter":"й_The solution name contains a special character which is not allowed___________________________________й.","description":"й_Description____________й","solutionDescriptionPlaceholder":"й_Solution description_____________________й","descriptionErrorLength":"й_The solution description is too long____________________й.","descriptionErrorSpecialCharacter":"й_The solution description contains a special character which is not allowed_______________________________________й.","deploy":"й_Deploy_____________й","viewDiagram":"й_View Diagram_____________й","openHelp":"й_Open Help___________________й","discard":"й_Discard_______________й","contents":"й_Contents_________________й","featureLayer":"й_Feature Layer______________й","customizeLayer":"й_Customize layers_________________й","solutionContentItems":"й_Solution content items_______________________й","edit":"й_Edit_________й","editItemContent":"й_Edit item content__________________й","title":"й_Title___________й","titlePlaceholder":"й_Enter title____________й","itemTitleErrorBlank":"й_The title cannot be empty___________________________й.","itemTitleErrorLength":"й_The title is too long_______________________й.","itemTitleErrorSpecialCharacter":"й_The title contains a special character which is not allowed_______________________________й.","descriptionPlaceholder":"й_Enter description__________________й","itemDescriptionErrorLength":"й_The description is too long_____________________________й.","itemDescriptionErrorSpecialCharacter":"й_The description contains a special character which is not allowed__________________________________й.","apply":"й_Apply___________й","close":"й_Close___________й","cancel":"й_Cancel_____________й","solutionThumbnail":"й_Solution thumbnail___________________й","selectLayer":"й_Layer___________й","layerProperties":"й_Layer properties_________________й","addLayer":"й_New layer___________________й","layerNamePlaceholder":"й_Enter layer name_________________й","layerNameErrorBlank":"й_The layer name cannot be empty_________________й.","layerNameErrorLength":"й_The layer name is too long____________________________й.","layerNameErrorSpecialCharacter":"й_The layer name contains a special character which is not allowed__________________________________й.","layerNameErrorDuplicate":"й_Layer names must be unique____________________________й.","type":"й_Type_________й","pointLayer":"й_Point layer____________й","lineLayer":"й_Line layer_____________________й","polygonLayer":"й_Polygon layer______________й","tableLayer":"й_Table___________й","layerDescriptionPlaceholder":"й_Enter layer description________________________й","layerDescriptionErrorLength":"й_The layer description is too long__________________й.","layerDescriptionErrorSpecialCharacter":"й_The layer description contains a special character which is not allowed_____________________________________й.","fields":"й_Fields_____________й","displayName":"й_Display name_____________й","displayNamePlaceholder":"й_Enter display name___________________й","displayNameErrorBlank":"й_The display name cannot be empty__________________й.","displayNameErrorLength":"й_The display name is too long______________________________й.","fieldName":"й_Field name_____________________й","fieldNamePlaceholder":"й_Enter field name_________________й","fieldNameErrorBlank":"й_The field name cannot be empty_________________й.","fieldNameErrorInvalidChars":"й_Must begin with a letter and can only contain letters, numbers, and '_'_____________________________________й.","fieldNameErrorLength":"й_Field name length should be less than or equal to 31 characters_________________________________й.","fieldNameErrorExists":"й_The field name cannot be the same as an existing field name_______________________________й.","fieldNameErrorSQLKeyword":"й_The field name cannot be the same as an SQL keyword___________________________й.","fieldNameErrorSystemField":"й_The field name cannot be the same as a system field name______________________________й.","fieldDescription":"й_Field description__________________й","fieldDescriptionPlaceholder":"й_Enter field description________________________й","fieldDescriptionErrorLength":"й_The field description is too long__________________й.","fieldDescriptionErrorSpecialCharacter":"й_The field description contains a special character which is not allowed_____________________________________й.","domainValues":"й_List of values_______________й","addDomainValue":"й_Add value___________________й","deleteList":"й_Delete list____________й","invalidSolutionName":"й_Invalid solution name______________________й","invalidLayerName":"й_Invalid layer name___________________й","domain":"й_Domain_____________й","addField":"й_Add field___________________й","editField":"й_Edit field_____________________й","systemFieldsNote":"й_System fields will also be included and cannot be customized________________________________й:","requiredFieldNote":"й_This field is required in this solution and cannot be deleted________________________________й.","requiredFieldTooltip":"й_This field is required in this solution_____________________й.","done":"й_Done_________й","removeLayer":"й_Delete this layer__________________й","delete":"й_Delete_____________й","stringType":"й_String_____________й","integerType":"й_Integer_______________й","doubleType":"й_Double_____________й","dateType":"й_Date_________й","guidType":"й_GUID_________й","globalIdType":"й_GlobalID_________________й","objectIdType":"й_ObjectID_________________й","domainList":"й_List ({{count}})_________________й","fieldTypeWithLength":"й_{{type}} ({{length}})______________________й","length":"й_Length_____________й","lengthErrorOutOfRange":"й_The value is out of range___________________________й.","domainValuePlaceholder":"й_Enter value____________й","domainValueErrorEmpty":"й_Value cannot be empty_______________________й.","domainValueErrorDuplicate":"й_Values must be unique_______________________й.","domainValueErrorExceedsLength":"й_Value exceeds the field length_________________й.","fieldValueType_nameOrTitle":"й_Name or Title______________й","fieldValueType_description":"й_Description____________й","fieldValueType_typeOrCategory":"й_Type or Category_________________й","fieldValueType_countOrAmount":"й_Count or Amount________________й","fieldValueType_percentageOrRatio":"й_Percentage or Ratio____________________й","fieldValueType_measurement":"й_Measurement____________й","fieldValueType_currency":"й_Currency_________________й","fieldValueType_uniqueIdentifier":"й_Unique Identifier__________________й","fieldValueType_phoneNumber":"й_Phone Number_____________й","fieldValueType_emailAddress":"й_Email Address______________й","fieldValueType_orderedOrRanked":"й_Ordered or Ranked__________________й","fieldValueType_binary":"й_Binary_____________й","fieldValueType_locationOrPlaceName":"й_Location or Place Name_______________________й","fieldValueType_coordinate":"й_Coordinate_____________________й","fieldValueType_dateAndTime":"й_Date and Time______________й","fieldValueType_none":"й_None_________й"}
1
+ {"headerTitle":"й_Solution builder_________________й","noticeMessage":"й_Generated with AI by the ArcGIS Solutions assistant (beta)______________________________й","draft":"й_Draft___________й","undo":"й_Undo_________й","redo":"й_Redo_________й","hideBuilder":"й_Hide_________й","assistantLoading":"й_Assistant is processing________________________й","name":"й_Name_________й","namePlaceholder":"й_Solution name______________й","solutionNameErrorBlank":"й_The solution name cannot be empty__________________й.","solutionNameErrorLength":"й_The solution name is too long_______________________________й.","solutionNameErrorSpecialCharacter":"й_The solution name contains a special character which is not allowed___________________________________й.","description":"й_Description____________й","solutionDescriptionPlaceholder":"й_Solution description_____________________й","descriptionErrorLength":"й_The solution description is too long____________________й.","descriptionErrorSpecialCharacter":"й_The solution description contains a special character which is not allowed_______________________________________й.","deploy":"й_Deploy_____________й","viewDiagram":"й_View Diagram_____________й","openHelp":"й_Open Help___________________й","discard":"й_Discard_______________й","discardMessage":"й_Are you sure you want to discard your solution_________________________й?","contents":"й_Contents_________________й","featureLayer":"й_Feature Layer______________й","customizeLayer":"й_Customize layers_________________й","solutionContentItems":"й_Solution content items_______________________й","edit":"й_Edit_________й","editItemContent":"й_Edit item content__________________й","title":"й_Title___________й","titlePlaceholder":"й_Enter title____________й","itemTitleErrorBlank":"й_The title cannot be empty___________________________й.","itemTitleErrorLength":"й_The title is too long_______________________й.","itemTitleErrorSpecialCharacter":"й_The title contains a special character which is not allowed_______________________________й.","descriptionPlaceholder":"й_Enter description__________________й","itemDescriptionErrorLength":"й_The description is too long_____________________________й.","itemDescriptionErrorSpecialCharacter":"й_The description contains a special character which is not allowed__________________________________й.","apply":"й_Apply___________й","close":"й_Close___________й","cancel":"й_Cancel_____________й","solutionThumbnail":"й_Solution thumbnail___________________й","selectLayer":"й_Layer___________й","layerProperties":"й_Layer properties_________________й","addLayer":"й_New layer___________________й","layerNamePlaceholder":"й_Enter layer name_________________й","layerNameErrorBlank":"й_The layer name cannot be empty_________________й.","layerNameErrorLength":"й_The layer name is too long____________________________й.","layerNameErrorSpecialCharacter":"й_The layer name contains a special character which is not allowed__________________________________й.","layerNameErrorDuplicate":"й_Layer names must be unique____________________________й.","type":"й_Type_________й","pointLayer":"й_Point layer____________й","lineLayer":"й_Line layer_____________________й","polygonLayer":"й_Polygon layer______________й","tableLayer":"й_Table___________й","layerDescriptionPlaceholder":"й_Enter layer description________________________й","layerDescriptionErrorLength":"й_The layer description is too long__________________й.","layerDescriptionErrorSpecialCharacter":"й_The layer description contains a special character which is not allowed_____________________________________й.","fields":"й_Fields_____________й","displayName":"й_Display name_____________й","displayNamePlaceholder":"й_Enter display name___________________й","displayNameErrorBlank":"й_The display name cannot be empty__________________й.","displayNameErrorLength":"й_The display name is too long______________________________й.","fieldName":"й_Field name_____________________й","fieldNamePlaceholder":"й_Enter field name_________________й","fieldNameErrorBlank":"й_The field name cannot be empty_________________й.","fieldNameErrorInvalidChars":"й_Must begin with a letter and can only contain letters, numbers, and '_'_____________________________________й.","fieldNameErrorLength":"й_Field name length should be less than or equal to 31 characters_________________________________й.","fieldNameErrorExists":"й_The field name cannot be the same as an existing field name_______________________________й.","fieldNameErrorSQLKeyword":"й_The field name cannot be the same as an SQL keyword___________________________й.","fieldNameErrorSystemField":"й_The field name cannot be the same as a system field name______________________________й.","fieldDescription":"й_Field description__________________й","fieldDescriptionPlaceholder":"й_Enter field description________________________й","fieldDescriptionErrorLength":"й_The field description is too long__________________й.","fieldDescriptionErrorSpecialCharacter":"й_The field description contains a special character which is not allowed_____________________________________й.","domainValues":"й_List of values_______________й","addDomainValue":"й_Add value___________________й","deleteList":"й_Delete list____________й","invalidSolutionName":"й_Invalid solution name______________________й","invalidLayerName":"й_Invalid layer name___________________й","domain":"й_Domain_____________й","addField":"й_Add field___________________й","editField":"й_Edit field_____________________й","systemFieldsNote":"й_System fields will also be included and cannot be customized________________________________й:","requiredFieldNote":"й_This field is required in this solution and cannot be deleted________________________________й.","requiredFieldTooltip":"й_This field is required in this solution_____________________й.","done":"й_Done_________й","removeLayer":"й_Delete this layer__________________й","delete":"й_Delete_____________й","stringType":"й_String_____________й","integerType":"й_Integer_______________й","doubleType":"й_Double_____________й","dateType":"й_Date_________й","guidType":"й_GUID_________й","globalIdType":"й_GlobalID_________________й","objectIdType":"й_ObjectID_________________й","domainList":"й_List ({{count}})_________________й","fieldTypeWithLength":"й_{{type}} ({{length}})______________________й","length":"й_Length_____________й","lengthErrorOutOfRange":"й_The value is out of range___________________________й.","domainValuePlaceholder":"й_Enter value____________й","domainValueErrorEmpty":"й_Value cannot be empty_______________________й.","domainValueErrorDuplicate":"й_Values must be unique_______________________й.","domainValueErrorExceedsLength":"й_Value exceeds the field length_________________й.","fieldValueType_nameOrTitle":"й_Name or Title______________й","fieldValueType_description":"й_Description____________й","fieldValueType_typeOrCategory":"й_Type or Category_________________й","fieldValueType_countOrAmount":"й_Count or Amount________________й","fieldValueType_percentageOrRatio":"й_Percentage or Ratio____________________й","fieldValueType_measurement":"й_Measurement____________й","fieldValueType_currency":"й_Currency_________________й","fieldValueType_uniqueIdentifier":"й_Unique Identifier__________________й","fieldValueType_phoneNumber":"й_Phone Number_____________й","fieldValueType_emailAddress":"й_Email Address______________й","fieldValueType_orderedOrRanked":"й_Ordered or Ranked__________________й","fieldValueType_binary":"й_Binary_____________й","fieldValueType_locationOrPlaceName":"й_Location or Place Name_______________________й","fieldValueType_coordinate":"й_Coordinate_____________________й","fieldValueType_dateAndTime":"й_Date and Time______________й","fieldValueType_none":"й_None_________й"}
@@ -1 +1 @@
1
- {"headerTitle":"Č_Solution builder_________________ž","noticeMessage":"Č_Generated with AI by the ArcGIS Solutions assistant (beta)______________________________ž","draft":"Č_Draft___________ž","undo":"Č_Undo_________ž","redo":"Č_Redo_________ž","hideBuilder":"Č_Hide_________ž","assistantLoading":"Č_Assistant is processing________________________ž","name":"Č_Name_________ž","namePlaceholder":"Č_Solution name______________ž","solutionNameErrorBlank":"Č_The solution name cannot be empty__________________ž.","solutionNameErrorLength":"Č_The solution name is too long_______________________________ž.","solutionNameErrorSpecialCharacter":"Č_The solution name contains a special character which is not allowed___________________________________ž.","description":"Č_Description____________ž","solutionDescriptionPlaceholder":"Č_Solution description_____________________ž","descriptionErrorLength":"Č_The solution description is too long____________________ž.","descriptionErrorSpecialCharacter":"Č_The solution description contains a special character which is not allowed_______________________________________ž.","deploy":"Č_Deploy_____________ž","viewDiagram":"Č_View Diagram_____________ž","openHelp":"Č_Open Help___________________ž","discard":"Č_Discard_______________ž","contents":"Č_Contents_________________ž","featureLayer":"Č_Feature Layer______________ž","customizeLayer":"Č_Customize layers_________________ž","solutionContentItems":"Č_Solution content items_______________________ž","edit":"Č_Edit_________ž","editItemContent":"Č_Edit item content__________________ž","title":"Č_Title___________ž","titlePlaceholder":"Č_Enter title____________ž","itemTitleErrorBlank":"Č_The title cannot be empty___________________________ž.","itemTitleErrorLength":"Č_The title is too long_______________________ž.","itemTitleErrorSpecialCharacter":"Č_The title contains a special character which is not allowed_______________________________ž.","descriptionPlaceholder":"Č_Enter description__________________ž","itemDescriptionErrorLength":"Č_The description is too long_____________________________ž.","itemDescriptionErrorSpecialCharacter":"Č_The description contains a special character which is not allowed__________________________________ž.","apply":"Č_Apply___________ž","close":"Č_Close___________ž","cancel":"Č_Cancel_____________ž","solutionThumbnail":"Č_Solution thumbnail___________________ž","selectLayer":"Č_Layer___________ž","layerProperties":"Č_Layer properties_________________ž","addLayer":"Č_New layer___________________ž","layerNamePlaceholder":"Č_Enter layer name_________________ž","layerNameErrorBlank":"Č_The layer name cannot be empty_________________ž.","layerNameErrorLength":"Č_The layer name is too long____________________________ž.","layerNameErrorSpecialCharacter":"Č_The layer name contains a special character which is not allowed__________________________________ž.","layerNameErrorDuplicate":"Č_Layer names must be unique____________________________ž.","type":"Č_Type_________ž","pointLayer":"Č_Point layer____________ž","lineLayer":"Č_Line layer_____________________ž","polygonLayer":"Č_Polygon layer______________ž","tableLayer":"Č_Table___________ž","layerDescriptionPlaceholder":"Č_Enter layer description________________________ž","layerDescriptionErrorLength":"Č_The layer description is too long__________________ž.","layerDescriptionErrorSpecialCharacter":"Č_The layer description contains a special character which is not allowed_____________________________________ž.","fields":"Č_Fields_____________ž","displayName":"Č_Display name_____________ž","displayNamePlaceholder":"Č_Enter display name___________________ž","displayNameErrorBlank":"Č_The display name cannot be empty__________________ž.","displayNameErrorLength":"Č_The display name is too long______________________________ž.","fieldName":"Č_Field name_____________________ž","fieldNamePlaceholder":"Č_Enter field name_________________ž","fieldNameErrorBlank":"Č_The field name cannot be empty_________________ž.","fieldNameErrorInvalidChars":"Č_Must begin with a letter and can only contain letters, numbers, and '_'_____________________________________ž.","fieldNameErrorLength":"Č_Field name length should be less than or equal to 31 characters_________________________________ž.","fieldNameErrorExists":"Č_The field name cannot be the same as an existing field name_______________________________ž.","fieldNameErrorSQLKeyword":"Č_The field name cannot be the same as an SQL keyword___________________________ž.","fieldNameErrorSystemField":"Č_The field name cannot be the same as a system field name______________________________ž.","fieldDescription":"Č_Field description__________________ž","fieldDescriptionPlaceholder":"Č_Enter field description________________________ž","fieldDescriptionErrorLength":"Č_The field description is too long__________________ž.","fieldDescriptionErrorSpecialCharacter":"Č_The field description contains a special character which is not allowed_____________________________________ž.","domainValues":"Č_List of values_______________ž","addDomainValue":"Č_Add value___________________ž","deleteList":"Č_Delete list____________ž","invalidSolutionName":"Č_Invalid solution name______________________ž","invalidLayerName":"Č_Invalid layer name___________________ž","domain":"Č_Domain_____________ž","addField":"Č_Add field___________________ž","editField":"Č_Edit field_____________________ž","systemFieldsNote":"Č_System fields will also be included and cannot be customized________________________________ž:","requiredFieldNote":"Č_This field is required in this solution and cannot be deleted________________________________ž.","requiredFieldTooltip":"Č_This field is required in this solution_____________________ž.","done":"Č_Done_________ž","removeLayer":"Č_Delete this layer__________________ž","delete":"Č_Delete_____________ž","stringType":"Č_String_____________ž","integerType":"Č_Integer_______________ž","doubleType":"Č_Double_____________ž","dateType":"Č_Date_________ž","guidType":"Č_GUID_________ž","globalIdType":"Č_GlobalID_________________ž","objectIdType":"Č_ObjectID_________________ž","domainList":"Č_List ({{count}})_________________ž","fieldTypeWithLength":"Č_{{type}} ({{length}})______________________ž","length":"Č_Length_____________ž","lengthErrorOutOfRange":"Č_The value is out of range___________________________ž.","domainValuePlaceholder":"Č_Enter value____________ž","domainValueErrorEmpty":"Č_Value cannot be empty_______________________ž.","domainValueErrorDuplicate":"Č_Values must be unique_______________________ž.","domainValueErrorExceedsLength":"Č_Value exceeds the field length_________________ž.","fieldValueType_nameOrTitle":"Č_Name or Title______________ž","fieldValueType_description":"Č_Description____________ž","fieldValueType_typeOrCategory":"Č_Type or Category_________________ž","fieldValueType_countOrAmount":"Č_Count or Amount________________ž","fieldValueType_percentageOrRatio":"Č_Percentage or Ratio____________________ž","fieldValueType_measurement":"Č_Measurement____________ž","fieldValueType_currency":"Č_Currency_________________ž","fieldValueType_uniqueIdentifier":"Č_Unique Identifier__________________ž","fieldValueType_phoneNumber":"Č_Phone Number_____________ž","fieldValueType_emailAddress":"Č_Email Address______________ž","fieldValueType_orderedOrRanked":"Č_Ordered or Ranked__________________ž","fieldValueType_binary":"Č_Binary_____________ž","fieldValueType_locationOrPlaceName":"Č_Location or Place Name_______________________ž","fieldValueType_coordinate":"Č_Coordinate_____________________ž","fieldValueType_dateAndTime":"Č_Date and Time______________ž","fieldValueType_none":"Č_None_________ž"}
1
+ {"headerTitle":"Č_Solution builder_________________ž","noticeMessage":"Č_Generated with AI by the ArcGIS Solutions assistant (beta)______________________________ž","draft":"Č_Draft___________ž","undo":"Č_Undo_________ž","redo":"Č_Redo_________ž","hideBuilder":"Č_Hide_________ž","assistantLoading":"Č_Assistant is processing________________________ž","name":"Č_Name_________ž","namePlaceholder":"Č_Solution name______________ž","solutionNameErrorBlank":"Č_The solution name cannot be empty__________________ž.","solutionNameErrorLength":"Č_The solution name is too long_______________________________ž.","solutionNameErrorSpecialCharacter":"Č_The solution name contains a special character which is not allowed___________________________________ž.","description":"Č_Description____________ž","solutionDescriptionPlaceholder":"Č_Solution description_____________________ž","descriptionErrorLength":"Č_The solution description is too long____________________ž.","descriptionErrorSpecialCharacter":"Č_The solution description contains a special character which is not allowed_______________________________________ž.","deploy":"Č_Deploy_____________ž","viewDiagram":"Č_View Diagram_____________ž","openHelp":"Č_Open Help___________________ž","discard":"Č_Discard_______________ž","discardMessage":"Č_Are you sure you want to discard your solution_________________________ž?","contents":"Č_Contents_________________ž","featureLayer":"Č_Feature Layer______________ž","customizeLayer":"Č_Customize layers_________________ž","solutionContentItems":"Č_Solution content items_______________________ž","edit":"Č_Edit_________ž","editItemContent":"Č_Edit item content__________________ž","title":"Č_Title___________ž","titlePlaceholder":"Č_Enter title____________ž","itemTitleErrorBlank":"Č_The title cannot be empty___________________________ž.","itemTitleErrorLength":"Č_The title is too long_______________________ž.","itemTitleErrorSpecialCharacter":"Č_The title contains a special character which is not allowed_______________________________ž.","descriptionPlaceholder":"Č_Enter description__________________ž","itemDescriptionErrorLength":"Č_The description is too long_____________________________ž.","itemDescriptionErrorSpecialCharacter":"Č_The description contains a special character which is not allowed__________________________________ž.","apply":"Č_Apply___________ž","close":"Č_Close___________ž","cancel":"Č_Cancel_____________ž","solutionThumbnail":"Č_Solution thumbnail___________________ž","selectLayer":"Č_Layer___________ž","layerProperties":"Č_Layer properties_________________ž","addLayer":"Č_New layer___________________ž","layerNamePlaceholder":"Č_Enter layer name_________________ž","layerNameErrorBlank":"Č_The layer name cannot be empty_________________ž.","layerNameErrorLength":"Č_The layer name is too long____________________________ž.","layerNameErrorSpecialCharacter":"Č_The layer name contains a special character which is not allowed__________________________________ž.","layerNameErrorDuplicate":"Č_Layer names must be unique____________________________ž.","type":"Č_Type_________ž","pointLayer":"Č_Point layer____________ž","lineLayer":"Č_Line layer_____________________ž","polygonLayer":"Č_Polygon layer______________ž","tableLayer":"Č_Table___________ž","layerDescriptionPlaceholder":"Č_Enter layer description________________________ž","layerDescriptionErrorLength":"Č_The layer description is too long__________________ž.","layerDescriptionErrorSpecialCharacter":"Č_The layer description contains a special character which is not allowed_____________________________________ž.","fields":"Č_Fields_____________ž","displayName":"Č_Display name_____________ž","displayNamePlaceholder":"Č_Enter display name___________________ž","displayNameErrorBlank":"Č_The display name cannot be empty__________________ž.","displayNameErrorLength":"Č_The display name is too long______________________________ž.","fieldName":"Č_Field name_____________________ž","fieldNamePlaceholder":"Č_Enter field name_________________ž","fieldNameErrorBlank":"Č_The field name cannot be empty_________________ž.","fieldNameErrorInvalidChars":"Č_Must begin with a letter and can only contain letters, numbers, and '_'_____________________________________ž.","fieldNameErrorLength":"Č_Field name length should be less than or equal to 31 characters_________________________________ž.","fieldNameErrorExists":"Č_The field name cannot be the same as an existing field name_______________________________ž.","fieldNameErrorSQLKeyword":"Č_The field name cannot be the same as an SQL keyword___________________________ž.","fieldNameErrorSystemField":"Č_The field name cannot be the same as a system field name______________________________ž.","fieldDescription":"Č_Field description__________________ž","fieldDescriptionPlaceholder":"Č_Enter field description________________________ž","fieldDescriptionErrorLength":"Č_The field description is too long__________________ž.","fieldDescriptionErrorSpecialCharacter":"Č_The field description contains a special character which is not allowed_____________________________________ž.","domainValues":"Č_List of values_______________ž","addDomainValue":"Č_Add value___________________ž","deleteList":"Č_Delete list____________ž","invalidSolutionName":"Č_Invalid solution name______________________ž","invalidLayerName":"Č_Invalid layer name___________________ž","domain":"Č_Domain_____________ž","addField":"Č_Add field___________________ž","editField":"Č_Edit field_____________________ž","systemFieldsNote":"Č_System fields will also be included and cannot be customized________________________________ž:","requiredFieldNote":"Č_This field is required in this solution and cannot be deleted________________________________ž.","requiredFieldTooltip":"Č_This field is required in this solution_____________________ž.","done":"Č_Done_________ž","removeLayer":"Č_Delete this layer__________________ž","delete":"Č_Delete_____________ž","stringType":"Č_String_____________ž","integerType":"Č_Integer_______________ž","doubleType":"Č_Double_____________ž","dateType":"Č_Date_________ž","guidType":"Č_GUID_________ž","globalIdType":"Č_GlobalID_________________ž","objectIdType":"Č_ObjectID_________________ž","domainList":"Č_List ({{count}})_________________ž","fieldTypeWithLength":"Č_{{type}} ({{length}})______________________ž","length":"Č_Length_____________ž","lengthErrorOutOfRange":"Č_The value is out of range___________________________ž.","domainValuePlaceholder":"Č_Enter value____________ž","domainValueErrorEmpty":"Č_Value cannot be empty_______________________ž.","domainValueErrorDuplicate":"Č_Values must be unique_______________________ž.","domainValueErrorExceedsLength":"Č_Value exceeds the field length_________________ž.","fieldValueType_nameOrTitle":"Č_Name or Title______________ž","fieldValueType_description":"Č_Description____________ž","fieldValueType_typeOrCategory":"Č_Type or Category_________________ž","fieldValueType_countOrAmount":"Č_Count or Amount________________ž","fieldValueType_percentageOrRatio":"Č_Percentage or Ratio____________________ž","fieldValueType_measurement":"Č_Measurement____________ž","fieldValueType_currency":"Č_Currency_________________ž","fieldValueType_uniqueIdentifier":"Č_Unique Identifier__________________ž","fieldValueType_phoneNumber":"Č_Phone Number_____________ž","fieldValueType_emailAddress":"Č_Email Address______________ž","fieldValueType_orderedOrRanked":"Č_Ordered or Ranked__________________ž","fieldValueType_binary":"Č_Binary_____________ž","fieldValueType_locationOrPlaceName":"Č_Location or Place Name_______________________ž","fieldValueType_coordinate":"Č_Coordinate_____________________ž","fieldValueType_dateAndTime":"Č_Date and Time______________ž","fieldValueType_none":"Č_None_________ž"}
@@ -1 +1 @@
1
- {"headerTitle":"ó_Solution builder_________________à","noticeMessage":"ó_Generated with AI by the ArcGIS Solutions assistant (beta)______________________________à","draft":"ó_Draft___________à","undo":"ó_Undo_________à","redo":"ó_Redo_________à","hideBuilder":"ó_Hide_________à","assistantLoading":"ó_Assistant is processing________________________à","name":"ó_Name_________à","namePlaceholder":"ó_Solution name______________à","solutionNameErrorBlank":"ó_The solution name cannot be empty__________________à.","solutionNameErrorLength":"ó_The solution name is too long_______________________________à.","solutionNameErrorSpecialCharacter":"ó_The solution name contains a special character which is not allowed___________________________________à.","description":"ó_Description____________à","solutionDescriptionPlaceholder":"ó_Solution description_____________________à","descriptionErrorLength":"ó_The solution description is too long____________________à.","descriptionErrorSpecialCharacter":"ó_The solution description contains a special character which is not allowed_______________________________________à.","deploy":"ó_Deploy_____________à","viewDiagram":"ó_View Diagram_____________à","openHelp":"ó_Open Help___________________à","discard":"ó_Discard_______________à","contents":"ó_Contents_________________à","featureLayer":"ó_Feature Layer______________à","customizeLayer":"ó_Customize layers_________________à","solutionContentItems":"ó_Solution content items_______________________à","edit":"ó_Edit_________à","editItemContent":"ó_Edit item content__________________à","title":"ó_Title___________à","titlePlaceholder":"ó_Enter title____________à","itemTitleErrorBlank":"ó_The title cannot be empty___________________________à.","itemTitleErrorLength":"ó_The title is too long_______________________à.","itemTitleErrorSpecialCharacter":"ó_The title contains a special character which is not allowed_______________________________à.","descriptionPlaceholder":"ó_Enter description__________________à","itemDescriptionErrorLength":"ó_The description is too long_____________________________à.","itemDescriptionErrorSpecialCharacter":"ó_The description contains a special character which is not allowed__________________________________à.","apply":"ó_Apply___________à","close":"ó_Close___________à","cancel":"ó_Cancel_____________à","solutionThumbnail":"ó_Solution thumbnail___________________à","selectLayer":"ó_Layer___________à","layerProperties":"ó_Layer properties_________________à","addLayer":"ó_New layer___________________à","layerNamePlaceholder":"ó_Enter layer name_________________à","layerNameErrorBlank":"ó_The layer name cannot be empty_________________à.","layerNameErrorLength":"ó_The layer name is too long____________________________à.","layerNameErrorSpecialCharacter":"ó_The layer name contains a special character which is not allowed__________________________________à.","layerNameErrorDuplicate":"ó_Layer names must be unique____________________________à.","type":"ó_Type_________à","pointLayer":"ó_Point layer____________à","lineLayer":"ó_Line layer_____________________à","polygonLayer":"ó_Polygon layer______________à","tableLayer":"ó_Table___________à","layerDescriptionPlaceholder":"ó_Enter layer description________________________à","layerDescriptionErrorLength":"ó_The layer description is too long__________________à.","layerDescriptionErrorSpecialCharacter":"ó_The layer description contains a special character which is not allowed_____________________________________à.","fields":"ó_Fields_____________à","displayName":"ó_Display name_____________à","displayNamePlaceholder":"ó_Enter display name___________________à","displayNameErrorBlank":"ó_The display name cannot be empty__________________à.","displayNameErrorLength":"ó_The display name is too long______________________________à.","fieldName":"ó_Field name_____________________à","fieldNamePlaceholder":"ó_Enter field name_________________à","fieldNameErrorBlank":"ó_The field name cannot be empty_________________à.","fieldNameErrorInvalidChars":"ó_Must begin with a letter and can only contain letters, numbers, and '_'_____________________________________à.","fieldNameErrorLength":"ó_Field name length should be less than or equal to 31 characters_________________________________à.","fieldNameErrorExists":"ó_The field name cannot be the same as an existing field name_______________________________à.","fieldNameErrorSQLKeyword":"ó_The field name cannot be the same as an SQL keyword___________________________à.","fieldNameErrorSystemField":"ó_The field name cannot be the same as a system field name______________________________à.","fieldDescription":"ó_Field description__________________à","fieldDescriptionPlaceholder":"ó_Enter field description________________________à","fieldDescriptionErrorLength":"ó_The field description is too long__________________à.","fieldDescriptionErrorSpecialCharacter":"ó_The field description contains a special character which is not allowed_____________________________________à.","domainValues":"ó_List of values_______________à","addDomainValue":"ó_Add value___________________à","deleteList":"ó_Delete list____________à","invalidSolutionName":"ó_Invalid solution name______________________à","invalidLayerName":"ó_Invalid layer name___________________à","domain":"ó_Domain_____________à","addField":"ó_Add field___________________à","editField":"ó_Edit field_____________________à","systemFieldsNote":"ó_System fields will also be included and cannot be customized________________________________à:","requiredFieldNote":"ó_This field is required in this solution and cannot be deleted________________________________à.","requiredFieldTooltip":"ó_This field is required in this solution_____________________à.","done":"ó_Done_________à","removeLayer":"ó_Delete this layer__________________à","delete":"ó_Delete_____________à","stringType":"ó_String_____________à","integerType":"ó_Integer_______________à","doubleType":"ó_Double_____________à","dateType":"ó_Date_________à","guidType":"ó_GUID_________à","globalIdType":"ó_GlobalID_________________à","objectIdType":"ó_ObjectID_________________à","domainList":"ó_List ({{count}})_________________à","fieldTypeWithLength":"ó_{{type}} ({{length}})______________________à","length":"ó_Length_____________à","lengthErrorOutOfRange":"ó_The value is out of range___________________________à.","domainValuePlaceholder":"ó_Enter value____________à","domainValueErrorEmpty":"ó_Value cannot be empty_______________________à.","domainValueErrorDuplicate":"ó_Values must be unique_______________________à.","domainValueErrorExceedsLength":"ó_Value exceeds the field length_________________à.","fieldValueType_nameOrTitle":"ó_Name or Title______________à","fieldValueType_description":"ó_Description____________à","fieldValueType_typeOrCategory":"ó_Type or Category_________________à","fieldValueType_countOrAmount":"ó_Count or Amount________________à","fieldValueType_percentageOrRatio":"ó_Percentage or Ratio____________________à","fieldValueType_measurement":"ó_Measurement____________à","fieldValueType_currency":"ó_Currency_________________à","fieldValueType_uniqueIdentifier":"ó_Unique Identifier__________________à","fieldValueType_phoneNumber":"ó_Phone Number_____________à","fieldValueType_emailAddress":"ó_Email Address______________à","fieldValueType_orderedOrRanked":"ó_Ordered or Ranked__________________à","fieldValueType_binary":"ó_Binary_____________à","fieldValueType_locationOrPlaceName":"ó_Location or Place Name_______________________à","fieldValueType_coordinate":"ó_Coordinate_____________________à","fieldValueType_dateAndTime":"ó_Date and Time______________à","fieldValueType_none":"ó_None_________à"}
1
+ {"headerTitle":"ó_Solution builder_________________à","noticeMessage":"ó_Generated with AI by the ArcGIS Solutions assistant (beta)______________________________à","draft":"ó_Draft___________à","undo":"ó_Undo_________à","redo":"ó_Redo_________à","hideBuilder":"ó_Hide_________à","assistantLoading":"ó_Assistant is processing________________________à","name":"ó_Name_________à","namePlaceholder":"ó_Solution name______________à","solutionNameErrorBlank":"ó_The solution name cannot be empty__________________à.","solutionNameErrorLength":"ó_The solution name is too long_______________________________à.","solutionNameErrorSpecialCharacter":"ó_The solution name contains a special character which is not allowed___________________________________à.","description":"ó_Description____________à","solutionDescriptionPlaceholder":"ó_Solution description_____________________à","descriptionErrorLength":"ó_The solution description is too long____________________à.","descriptionErrorSpecialCharacter":"ó_The solution description contains a special character which is not allowed_______________________________________à.","deploy":"ó_Deploy_____________à","viewDiagram":"ó_View Diagram_____________à","openHelp":"ó_Open Help___________________à","discard":"ó_Discard_______________à","discardMessage":"ó_Are you sure you want to discard your solution_________________________à?","contents":"ó_Contents_________________à","featureLayer":"ó_Feature Layer______________à","customizeLayer":"ó_Customize layers_________________à","solutionContentItems":"ó_Solution content items_______________________à","edit":"ó_Edit_________à","editItemContent":"ó_Edit item content__________________à","title":"ó_Title___________à","titlePlaceholder":"ó_Enter title____________à","itemTitleErrorBlank":"ó_The title cannot be empty___________________________à.","itemTitleErrorLength":"ó_The title is too long_______________________à.","itemTitleErrorSpecialCharacter":"ó_The title contains a special character which is not allowed_______________________________à.","descriptionPlaceholder":"ó_Enter description__________________à","itemDescriptionErrorLength":"ó_The description is too long_____________________________à.","itemDescriptionErrorSpecialCharacter":"ó_The description contains a special character which is not allowed__________________________________à.","apply":"ó_Apply___________à","close":"ó_Close___________à","cancel":"ó_Cancel_____________à","solutionThumbnail":"ó_Solution thumbnail___________________à","selectLayer":"ó_Layer___________à","layerProperties":"ó_Layer properties_________________à","addLayer":"ó_New layer___________________à","layerNamePlaceholder":"ó_Enter layer name_________________à","layerNameErrorBlank":"ó_The layer name cannot be empty_________________à.","layerNameErrorLength":"ó_The layer name is too long____________________________à.","layerNameErrorSpecialCharacter":"ó_The layer name contains a special character which is not allowed__________________________________à.","layerNameErrorDuplicate":"ó_Layer names must be unique____________________________à.","type":"ó_Type_________à","pointLayer":"ó_Point layer____________à","lineLayer":"ó_Line layer_____________________à","polygonLayer":"ó_Polygon layer______________à","tableLayer":"ó_Table___________à","layerDescriptionPlaceholder":"ó_Enter layer description________________________à","layerDescriptionErrorLength":"ó_The layer description is too long__________________à.","layerDescriptionErrorSpecialCharacter":"ó_The layer description contains a special character which is not allowed_____________________________________à.","fields":"ó_Fields_____________à","displayName":"ó_Display name_____________à","displayNamePlaceholder":"ó_Enter display name___________________à","displayNameErrorBlank":"ó_The display name cannot be empty__________________à.","displayNameErrorLength":"ó_The display name is too long______________________________à.","fieldName":"ó_Field name_____________________à","fieldNamePlaceholder":"ó_Enter field name_________________à","fieldNameErrorBlank":"ó_The field name cannot be empty_________________à.","fieldNameErrorInvalidChars":"ó_Must begin with a letter and can only contain letters, numbers, and '_'_____________________________________à.","fieldNameErrorLength":"ó_Field name length should be less than or equal to 31 characters_________________________________à.","fieldNameErrorExists":"ó_The field name cannot be the same as an existing field name_______________________________à.","fieldNameErrorSQLKeyword":"ó_The field name cannot be the same as an SQL keyword___________________________à.","fieldNameErrorSystemField":"ó_The field name cannot be the same as a system field name______________________________à.","fieldDescription":"ó_Field description__________________à","fieldDescriptionPlaceholder":"ó_Enter field description________________________à","fieldDescriptionErrorLength":"ó_The field description is too long__________________à.","fieldDescriptionErrorSpecialCharacter":"ó_The field description contains a special character which is not allowed_____________________________________à.","domainValues":"ó_List of values_______________à","addDomainValue":"ó_Add value___________________à","deleteList":"ó_Delete list____________à","invalidSolutionName":"ó_Invalid solution name______________________à","invalidLayerName":"ó_Invalid layer name___________________à","domain":"ó_Domain_____________à","addField":"ó_Add field___________________à","editField":"ó_Edit field_____________________à","systemFieldsNote":"ó_System fields will also be included and cannot be customized________________________________à:","requiredFieldNote":"ó_This field is required in this solution and cannot be deleted________________________________à.","requiredFieldTooltip":"ó_This field is required in this solution_____________________à.","done":"ó_Done_________à","removeLayer":"ó_Delete this layer__________________à","delete":"ó_Delete_____________à","stringType":"ó_String_____________à","integerType":"ó_Integer_______________à","doubleType":"ó_Double_____________à","dateType":"ó_Date_________à","guidType":"ó_GUID_________à","globalIdType":"ó_GlobalID_________________à","objectIdType":"ó_ObjectID_________________à","domainList":"ó_List ({{count}})_________________à","fieldTypeWithLength":"ó_{{type}} ({{length}})______________________à","length":"ó_Length_____________à","lengthErrorOutOfRange":"ó_The value is out of range___________________________à.","domainValuePlaceholder":"ó_Enter value____________à","domainValueErrorEmpty":"ó_Value cannot be empty_______________________à.","domainValueErrorDuplicate":"ó_Values must be unique_______________________à.","domainValueErrorExceedsLength":"ó_Value exceeds the field length_________________à.","fieldValueType_nameOrTitle":"ó_Name or Title______________à","fieldValueType_description":"ó_Description____________à","fieldValueType_typeOrCategory":"ó_Type or Category_________________à","fieldValueType_countOrAmount":"ó_Count or Amount________________à","fieldValueType_percentageOrRatio":"ó_Percentage or Ratio____________________à","fieldValueType_measurement":"ó_Measurement____________à","fieldValueType_currency":"ó_Currency_________________à","fieldValueType_uniqueIdentifier":"ó_Unique Identifier__________________à","fieldValueType_phoneNumber":"ó_Phone Number_____________à","fieldValueType_emailAddress":"ó_Email Address______________à","fieldValueType_orderedOrRanked":"ó_Ordered or Ranked__________________à","fieldValueType_binary":"ó_Binary_____________à","fieldValueType_locationOrPlaceName":"ó_Location or Place Name_______________________à","fieldValueType_coordinate":"ó_Coordinate_____________________à","fieldValueType_dateAndTime":"ó_Date and Time______________à","fieldValueType_none":"ó_None_________à"}
@@ -1 +1 @@
1
- {"headerTitle":"Ř_Solution builder_________________ů","noticeMessage":"Ř_Generated with AI by the ArcGIS Solutions assistant (beta)______________________________ů","draft":"Ř_Draft___________ů","undo":"Ř_Undo_________ů","redo":"Ř_Redo_________ů","hideBuilder":"Ř_Hide_________ů","assistantLoading":"Ř_Assistant is processing________________________ů","name":"Ř_Name_________ů","namePlaceholder":"Ř_Solution name______________ů","solutionNameErrorBlank":"Ř_The solution name cannot be empty__________________ů.","solutionNameErrorLength":"Ř_The solution name is too long_______________________________ů.","solutionNameErrorSpecialCharacter":"Ř_The solution name contains a special character which is not allowed___________________________________ů.","description":"Ř_Description____________ů","solutionDescriptionPlaceholder":"Ř_Solution description_____________________ů","descriptionErrorLength":"Ř_The solution description is too long____________________ů.","descriptionErrorSpecialCharacter":"Ř_The solution description contains a special character which is not allowed_______________________________________ů.","deploy":"Ř_Deploy_____________ů","viewDiagram":"Ř_View Diagram_____________ů","openHelp":"Ř_Open Help___________________ů","discard":"Ř_Discard_______________ů","contents":"Ř_Contents_________________ů","featureLayer":"Ř_Feature Layer______________ů","customizeLayer":"Ř_Customize layers_________________ů","solutionContentItems":"Ř_Solution content items_______________________ů","edit":"Ř_Edit_________ů","editItemContent":"Ř_Edit item content__________________ů","title":"Ř_Title___________ů","titlePlaceholder":"Ř_Enter title____________ů","itemTitleErrorBlank":"Ř_The title cannot be empty___________________________ů.","itemTitleErrorLength":"Ř_The title is too long_______________________ů.","itemTitleErrorSpecialCharacter":"Ř_The title contains a special character which is not allowed_______________________________ů.","descriptionPlaceholder":"Ř_Enter description__________________ů","itemDescriptionErrorLength":"Ř_The description is too long_____________________________ů.","itemDescriptionErrorSpecialCharacter":"Ř_The description contains a special character which is not allowed__________________________________ů.","apply":"Ř_Apply___________ů","close":"Ř_Close___________ů","cancel":"Ř_Cancel_____________ů","solutionThumbnail":"Ř_Solution thumbnail___________________ů","selectLayer":"Ř_Layer___________ů","layerProperties":"Ř_Layer properties_________________ů","addLayer":"Ř_New layer___________________ů","layerNamePlaceholder":"Ř_Enter layer name_________________ů","layerNameErrorBlank":"Ř_The layer name cannot be empty_________________ů.","layerNameErrorLength":"Ř_The layer name is too long____________________________ů.","layerNameErrorSpecialCharacter":"Ř_The layer name contains a special character which is not allowed__________________________________ů.","layerNameErrorDuplicate":"Ř_Layer names must be unique____________________________ů.","type":"Ř_Type_________ů","pointLayer":"Ř_Point layer____________ů","lineLayer":"Ř_Line layer_____________________ů","polygonLayer":"Ř_Polygon layer______________ů","tableLayer":"Ř_Table___________ů","layerDescriptionPlaceholder":"Ř_Enter layer description________________________ů","layerDescriptionErrorLength":"Ř_The layer description is too long__________________ů.","layerDescriptionErrorSpecialCharacter":"Ř_The layer description contains a special character which is not allowed_____________________________________ů.","fields":"Ř_Fields_____________ů","displayName":"Ř_Display name_____________ů","displayNamePlaceholder":"Ř_Enter display name___________________ů","displayNameErrorBlank":"Ř_The display name cannot be empty__________________ů.","displayNameErrorLength":"Ř_The display name is too long______________________________ů.","fieldName":"Ř_Field name_____________________ů","fieldNamePlaceholder":"Ř_Enter field name_________________ů","fieldNameErrorBlank":"Ř_The field name cannot be empty_________________ů.","fieldNameErrorInvalidChars":"Ř_Must begin with a letter and can only contain letters, numbers, and '_'_____________________________________ů.","fieldNameErrorLength":"Ř_Field name length should be less than or equal to 31 characters_________________________________ů.","fieldNameErrorExists":"Ř_The field name cannot be the same as an existing field name_______________________________ů.","fieldNameErrorSQLKeyword":"Ř_The field name cannot be the same as an SQL keyword___________________________ů.","fieldNameErrorSystemField":"Ř_The field name cannot be the same as a system field name______________________________ů.","fieldDescription":"Ř_Field description__________________ů","fieldDescriptionPlaceholder":"Ř_Enter field description________________________ů","fieldDescriptionErrorLength":"Ř_The field description is too long__________________ů.","fieldDescriptionErrorSpecialCharacter":"Ř_The field description contains a special character which is not allowed_____________________________________ů.","domainValues":"Ř_List of values_______________ů","addDomainValue":"Ř_Add value___________________ů","deleteList":"Ř_Delete list____________ů","invalidSolutionName":"Ř_Invalid solution name______________________ů","invalidLayerName":"Ř_Invalid layer name___________________ů","domain":"Ř_Domain_____________ů","addField":"Ř_Add field___________________ů","editField":"Ř_Edit field_____________________ů","systemFieldsNote":"Ř_System fields will also be included and cannot be customized________________________________ů:","requiredFieldNote":"Ř_This field is required in this solution and cannot be deleted________________________________ů.","requiredFieldTooltip":"Ř_This field is required in this solution_____________________ů.","done":"Ř_Done_________ů","removeLayer":"Ř_Delete this layer__________________ů","delete":"Ř_Delete_____________ů","stringType":"Ř_String_____________ů","integerType":"Ř_Integer_______________ů","doubleType":"Ř_Double_____________ů","dateType":"Ř_Date_________ů","guidType":"Ř_GUID_________ů","globalIdType":"Ř_GlobalID_________________ů","objectIdType":"Ř_ObjectID_________________ů","domainList":"Ř_List ({{count}})_________________ů","fieldTypeWithLength":"Ř_{{type}} ({{length}})______________________ů","length":"Ř_Length_____________ů","lengthErrorOutOfRange":"Ř_The value is out of range___________________________ů.","domainValuePlaceholder":"Ř_Enter value____________ů","domainValueErrorEmpty":"Ř_Value cannot be empty_______________________ů.","domainValueErrorDuplicate":"Ř_Values must be unique_______________________ů.","domainValueErrorExceedsLength":"Ř_Value exceeds the field length_________________ů.","fieldValueType_nameOrTitle":"Ř_Name or Title______________ů","fieldValueType_description":"Ř_Description____________ů","fieldValueType_typeOrCategory":"Ř_Type or Category_________________ů","fieldValueType_countOrAmount":"Ř_Count or Amount________________ů","fieldValueType_percentageOrRatio":"Ř_Percentage or Ratio____________________ů","fieldValueType_measurement":"Ř_Measurement____________ů","fieldValueType_currency":"Ř_Currency_________________ů","fieldValueType_uniqueIdentifier":"Ř_Unique Identifier__________________ů","fieldValueType_phoneNumber":"Ř_Phone Number_____________ů","fieldValueType_emailAddress":"Ř_Email Address______________ů","fieldValueType_orderedOrRanked":"Ř_Ordered or Ranked__________________ů","fieldValueType_binary":"Ř_Binary_____________ů","fieldValueType_locationOrPlaceName":"Ř_Location or Place Name_______________________ů","fieldValueType_coordinate":"Ř_Coordinate_____________________ů","fieldValueType_dateAndTime":"Ř_Date and Time______________ů","fieldValueType_none":"Ř_None_________ů"}
1
+ {"headerTitle":"Ř_Solution builder_________________ů","noticeMessage":"Ř_Generated with AI by the ArcGIS Solutions assistant (beta)______________________________ů","draft":"Ř_Draft___________ů","undo":"Ř_Undo_________ů","redo":"Ř_Redo_________ů","hideBuilder":"Ř_Hide_________ů","assistantLoading":"Ř_Assistant is processing________________________ů","name":"Ř_Name_________ů","namePlaceholder":"Ř_Solution name______________ů","solutionNameErrorBlank":"Ř_The solution name cannot be empty__________________ů.","solutionNameErrorLength":"Ř_The solution name is too long_______________________________ů.","solutionNameErrorSpecialCharacter":"Ř_The solution name contains a special character which is not allowed___________________________________ů.","description":"Ř_Description____________ů","solutionDescriptionPlaceholder":"Ř_Solution description_____________________ů","descriptionErrorLength":"Ř_The solution description is too long____________________ů.","descriptionErrorSpecialCharacter":"Ř_The solution description contains a special character which is not allowed_______________________________________ů.","deploy":"Ř_Deploy_____________ů","viewDiagram":"Ř_View Diagram_____________ů","openHelp":"Ř_Open Help___________________ů","discard":"Ř_Discard_______________ů","discardMessage":"Ř_Are you sure you want to discard your solution_________________________ů?","contents":"Ř_Contents_________________ů","featureLayer":"Ř_Feature Layer______________ů","customizeLayer":"Ř_Customize layers_________________ů","solutionContentItems":"Ř_Solution content items_______________________ů","edit":"Ř_Edit_________ů","editItemContent":"Ř_Edit item content__________________ů","title":"Ř_Title___________ů","titlePlaceholder":"Ř_Enter title____________ů","itemTitleErrorBlank":"Ř_The title cannot be empty___________________________ů.","itemTitleErrorLength":"Ř_The title is too long_______________________ů.","itemTitleErrorSpecialCharacter":"Ř_The title contains a special character which is not allowed_______________________________ů.","descriptionPlaceholder":"Ř_Enter description__________________ů","itemDescriptionErrorLength":"Ř_The description is too long_____________________________ů.","itemDescriptionErrorSpecialCharacter":"Ř_The description contains a special character which is not allowed__________________________________ů.","apply":"Ř_Apply___________ů","close":"Ř_Close___________ů","cancel":"Ř_Cancel_____________ů","solutionThumbnail":"Ř_Solution thumbnail___________________ů","selectLayer":"Ř_Layer___________ů","layerProperties":"Ř_Layer properties_________________ů","addLayer":"Ř_New layer___________________ů","layerNamePlaceholder":"Ř_Enter layer name_________________ů","layerNameErrorBlank":"Ř_The layer name cannot be empty_________________ů.","layerNameErrorLength":"Ř_The layer name is too long____________________________ů.","layerNameErrorSpecialCharacter":"Ř_The layer name contains a special character which is not allowed__________________________________ů.","layerNameErrorDuplicate":"Ř_Layer names must be unique____________________________ů.","type":"Ř_Type_________ů","pointLayer":"Ř_Point layer____________ů","lineLayer":"Ř_Line layer_____________________ů","polygonLayer":"Ř_Polygon layer______________ů","tableLayer":"Ř_Table___________ů","layerDescriptionPlaceholder":"Ř_Enter layer description________________________ů","layerDescriptionErrorLength":"Ř_The layer description is too long__________________ů.","layerDescriptionErrorSpecialCharacter":"Ř_The layer description contains a special character which is not allowed_____________________________________ů.","fields":"Ř_Fields_____________ů","displayName":"Ř_Display name_____________ů","displayNamePlaceholder":"Ř_Enter display name___________________ů","displayNameErrorBlank":"Ř_The display name cannot be empty__________________ů.","displayNameErrorLength":"Ř_The display name is too long______________________________ů.","fieldName":"Ř_Field name_____________________ů","fieldNamePlaceholder":"Ř_Enter field name_________________ů","fieldNameErrorBlank":"Ř_The field name cannot be empty_________________ů.","fieldNameErrorInvalidChars":"Ř_Must begin with a letter and can only contain letters, numbers, and '_'_____________________________________ů.","fieldNameErrorLength":"Ř_Field name length should be less than or equal to 31 characters_________________________________ů.","fieldNameErrorExists":"Ř_The field name cannot be the same as an existing field name_______________________________ů.","fieldNameErrorSQLKeyword":"Ř_The field name cannot be the same as an SQL keyword___________________________ů.","fieldNameErrorSystemField":"Ř_The field name cannot be the same as a system field name______________________________ů.","fieldDescription":"Ř_Field description__________________ů","fieldDescriptionPlaceholder":"Ř_Enter field description________________________ů","fieldDescriptionErrorLength":"Ř_The field description is too long__________________ů.","fieldDescriptionErrorSpecialCharacter":"Ř_The field description contains a special character which is not allowed_____________________________________ů.","domainValues":"Ř_List of values_______________ů","addDomainValue":"Ř_Add value___________________ů","deleteList":"Ř_Delete list____________ů","invalidSolutionName":"Ř_Invalid solution name______________________ů","invalidLayerName":"Ř_Invalid layer name___________________ů","domain":"Ř_Domain_____________ů","addField":"Ř_Add field___________________ů","editField":"Ř_Edit field_____________________ů","systemFieldsNote":"Ř_System fields will also be included and cannot be customized________________________________ů:","requiredFieldNote":"Ř_This field is required in this solution and cannot be deleted________________________________ů.","requiredFieldTooltip":"Ř_This field is required in this solution_____________________ů.","done":"Ř_Done_________ů","removeLayer":"Ř_Delete this layer__________________ů","delete":"Ř_Delete_____________ů","stringType":"Ř_String_____________ů","integerType":"Ř_Integer_______________ů","doubleType":"Ř_Double_____________ů","dateType":"Ř_Date_________ů","guidType":"Ř_GUID_________ů","globalIdType":"Ř_GlobalID_________________ů","objectIdType":"Ř_ObjectID_________________ů","domainList":"Ř_List ({{count}})_________________ů","fieldTypeWithLength":"Ř_{{type}} ({{length}})______________________ů","length":"Ř_Length_____________ů","lengthErrorOutOfRange":"Ř_The value is out of range___________________________ů.","domainValuePlaceholder":"Ř_Enter value____________ů","domainValueErrorEmpty":"Ř_Value cannot be empty_______________________ů.","domainValueErrorDuplicate":"Ř_Values must be unique_______________________ů.","domainValueErrorExceedsLength":"Ř_Value exceeds the field length_________________ů.","fieldValueType_nameOrTitle":"Ř_Name or Title______________ů","fieldValueType_description":"Ř_Description____________ů","fieldValueType_typeOrCategory":"Ř_Type or Category_________________ů","fieldValueType_countOrAmount":"Ř_Count or Amount________________ů","fieldValueType_percentageOrRatio":"Ř_Percentage or Ratio____________________ů","fieldValueType_measurement":"Ř_Measurement____________ů","fieldValueType_currency":"Ř_Currency_________________ů","fieldValueType_uniqueIdentifier":"Ř_Unique Identifier__________________ů","fieldValueType_phoneNumber":"Ř_Phone Number_____________ů","fieldValueType_emailAddress":"Ř_Email Address______________ů","fieldValueType_orderedOrRanked":"Ř_Ordered or Ranked__________________ů","fieldValueType_binary":"Ř_Binary_____________ů","fieldValueType_locationOrPlaceName":"Ř_Location or Place Name_______________________ů","fieldValueType_coordinate":"Ř_Coordinate_____________________ů","fieldValueType_dateAndTime":"Ř_Date and Time______________ů","fieldValueType_none":"Ř_None_________ů"}