@arcgis/portal-components 5.0.0-next.81 → 5.0.0-next.82
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{RORELFBP.js → 2NC6Z3S7.js} +1 -1
- package/dist/cdn/{JFCNIRL5.js → 7PMBQ4ST.js} +2 -2
- package/dist/cdn/{R7WP4KGH.js → A24CANOO.js} +2 -2
- package/dist/cdn/{3EDATKP2.js → DVONXFWY.js} +2 -2
- package/dist/cdn/{GJD4UASV.js → IRX2C3QE.js} +2 -2
- package/dist/cdn/{66VQYDGM.js → LFETSRJR.js} +2 -2
- package/dist/cdn/{QT5W7VZ7.js → LMEWK6S2.js} +1 -1
- package/dist/cdn/{FKB6IXKC.js → MCGANSFS.js} +2 -2
- package/dist/cdn/{57CBE6UK.js → R2JJURPH.js} +2 -2
- package/dist/cdn/{2PVJJ43M.js → R7EE3WPT.js} +2 -2
- package/dist/cdn/{2BKJ3E2R.js → SI2Q5OIW.js} +2 -2
- package/dist/cdn/{PCRY6MB7.js → TWEYDHT6.js} +2 -2
- package/dist/cdn/{3XZSJBC3.js → WADBKLDO.js} +2 -2
- package/dist/cdn/{EEJEJHOB.js → XBKEXKWN.js} +2 -2
- package/dist/cdn/{F6RQG7NJ.js → ZY6NYZAS.js} +2 -2
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/portal-extent-picker/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/common.js +1 -1
- package/dist/chunks/fieldAddDelete.js +1 -1
- package/dist/chunks/loadClassificationData.js +1 -1
- package/dist/chunks/requests.js +1 -1
- package/dist/chunks/runtime.js +2 -2
- package/dist/chunks/useT9n.js +1 -1
- package/dist/components/arcgis-portal-classification-banner/customElement.js +1 -1
- package/dist/components/arcgis-portal-classification-config/customElement.js +1 -1
- package/dist/components/arcgis-portal-classification-favorite/customElement.js +1 -1
- package/dist/components/arcgis-portal-classification-form-element/customElement.js +1 -1
- package/dist/components/arcgis-portal-extent-picker/customElement.js +1 -1
- package/dist/components/arcgis-portal-extent-picker-coord-field/customElement.js +1 -1
- package/dist/components/arcgis-portal-field-delete/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import d from"./57CBE6UK.js";import c from"./QT5W7VZ7.js";import a from"./RORELFBP.js";import{a as E,b as I}from"./PCRY6MB7.js";import{a as $}from"./EEJEJHOB.js";import{b as x,e as P}from"./66VQYDGM.js";import{B as u,C as g,D as b,G as C,J as y,h as p,j as n}from"./GJD4UASV.js";export default $arcgis.t(([{createArcadeExecutor:F},{watch:q},{c:v},{a:d,b:c,c:m,d:R,e:O,f:_},{a:S,b:w}])=>{async function k({portalClassificationSchema:r,itemClassification:t}){let i=Object.entries(r.attributes).map(async([e])=>{let s=await T(e,r,t);return{[e]:{enabled:s}}}),a=await Promise.all(i);return Object.assign({},...a)}async function T(r,t,i){let a=t?.attributes?.[r];if(!a)return!1;let{isAttributeEnabled:e}=a;return e?await h(e,JSON.stringify(t),i):!0}async function j({portalClassificationSchema:r,itemClassification:t}){let i=Object.entries(r.attributes).map(async([e])=>{let s=await N(e,r,t);return{[e]:{valueExpressionResult:s}}}),a=await Promise.all(i);return Object.assign({},...a)}async function N(r,t,i){let a=t.attributes[r];if(!a)throw Error(`Attribute ${r} not found in schema`);let e=a.valueExpression,s=a.validValues,o=a.validValuesMap;return s?.length?s:o&&Object.keys(o)?.length?o:e?await h(e,t,i,r):null}async function M({portalClassificationSchema:r,itemClassification:t}){let i=Object.entries(r.attributes).map(async([e])=>{let s=await H(e,r,t);return{[e]:{attributeValidationResult:s}}}),a=await Promise.all(i);return Object.assign({},...a)}async function H(r,t,i){let a=t?.attributes?.[r];if(!a)return null;let e=a?.attributeValidation;return e?await h(e,JSON.stringify(t),i,r):null}var V=async(r,t)=>{let i=r?.bannerExpression;return i?.length?await h(i,r,t):J(r,t)},J=(r,t)=>{let i=Object.entries(r.attributes).sort(([,s],[,o])=>(s?.bannerOrder??0)-(o?.bannerOrder??0)),a=[],e=[];return i.forEach(([s,o])=>{let l=t?.[s];l&&o.bannerOrder&&(a.push(U({elementType:o.uiElement??"",selectionDisplayLabel:o.bannerLabel??"",labelDelimiter:o.labelDelimiter??"",classificationProp:l,valueDelimiter:o.valueDelimiter??""})),e.push(o.attributeDelimiter??""))}),a.length>0?a.reduce((s,o,l)=>l===0?o:`${s}${e[l-1]}${o}`,""):""},U=({elementType:r,selectionDisplayLabel:t,labelDelimiter:i,classificationProp:a,valueDelimiter:e})=>{let s=r.includes("multi")&&a?a.split("").join(e):a;return`${t}${i}${s}`};async function h(r,t,i,a=""){let e={schemaJsonString:typeof t=="string"?t:JSON.stringify(t),valueJsonString:JSON.stringify(i),attributeId:a};return(await L(r)).execute(e)}async function L(r){return await F(r,{variables:[{name:"schemaJsonString",type:"text"},{name:"valueJsonString",type:"text"},{name:"attributeId",type:"text"}]})}var W=p`:host{height:100%;box-sizing:border-box;display:flex;flex-direction:column}.header-section{padding:var(--calcite-spacing-sm)}.header-section__title-container{display:flex;align-items:center;justify-content:space-between}.header-section__title-text{margin:unset;font-weight:unset;font-size:var(--calcite-font-size)}.header-section__title-popover{padding:var(--calcite-spacing-md)}.form-section{display:flex;border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding:var(--calcite-spacing-sm);height:100%;overflow:hidden}.form-section__sidebar{flex:1;padding:var(--calcite-spacing-sm)}.form-section__main-content{flex:3;padding:var(--calcite-spacing-sm);overflow:auto}.danger{color:var(--calcite-color-status-danger)}.spacing-y{margin:var(--calcite-spacing-md) 0}`,f=class extends b{constructor(){super(),this.classificationModel=S(this),this.messages=$(),this.formMainContentRef=u(),this._classificationDataTask=w(this),this._formCreationTask=new I(this,{task:async()=>{if(await this._classificationDataTask.taskComplete,!this.portalClassificationSchema||!this.portalItem)throw new Error("Portal item and classification schema are required to render the form");let t=this.portalItem.clone();if(await t.load(),!this.primaryAttribute)throw new Error("primaryAttribute is required but was undefined.");this.existingClassification=!!t.classification,t.classification=d(t.classification,this.primaryAttribute,this.portalClassificationSchema),t.classification&&(t.classification.banner=await V(this.portalClassificationSchema,t.classification)),this.pendingPortalItem=t,this._itemClassificationWatchHandle&&(this._itemClassificationWatchHandle.remove(),this.portalItem.removeHandles("arcgis-classification-config"),this._itemClassificationWatchHandle=void 0),this._itemClassificationWatchHandle=q(()=>this.portalItem.classification,i=>{if(this.pendingPortalItem){let a=this.pendingPortalItem.clone();a.load().then(()=>{a.classification=i,this.pendingPortalItem=a}).catch(e=>{console.error(e)})}}),this.portalItem.addHandles(this._itemClassificationWatchHandle,"arcgis-classification-config"),await this.evaluateAttributeExpressions(this.portalClassificationSchema,this.pendingPortalItem),this.pendingPortalItem.classification=c(this.pendingPortalItem.classification,this.attributeExpressionResults),this.existingClassification&&this.validateForm()},args:()=>[this.portalItem,this.portalClassificationSchema]}),this.getFormDisplayOrder=t=>this.portalClassificationSchema?.layouts.default.layoutElements[t].formDisplayOrder??0,this.addEditInfoAttributes=()=>{if(!this.pendingPortalItem?.classification)return{};let t=structuredClone(this.pendingPortalItem.classification),i=_(this.pendingPortalItem,t);return{...t,...i}},this.updateFavoriteClassification=t=>{this.favoriteClassifications=t},this.updateClassificationData=async t=>{let i=t.classification;if(this.selectedFavoriteClassificationName=t.name,this.pendingPortalItem){let a=this.pendingPortalItem.clone();if(await a.load(),a.classification=m(this.portalClassificationSchema,i),!this.portalClassificationSchema)return;await this.evaluateAttributeExpressions(this.portalClassificationSchema,a),a.classification=c(a.classification,this.attributeExpressionResults),this.pendingPortalItem=a}},this.existingClassification=!1,this.portalClassificationSchema=this.classificationModel.portalClassificationSchema,this.primaryAttribute=this.classificationModel.primaryAttribute,this.attributeExpressionResults=new Map,this.formValidationErrors=[],this.remoteValidationErrors="",this.canUserConfigureClassification=!0,this.favoriteClassifications=[],this.isRequiredErrors=new Set,this.status=this.classificationModel.status,this.values={},this.valid=!1,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=P()("status","values","valid")}static{this.properties={existingClassification:16,portalClassificationSchema:16,primaryAttribute:16,attributeExpressionResults:16,formValidationErrors:16,itemClassification:16,pendingPortalItem:16,selectedCategory:16,remoteValidationErrors:16,canUserConfigureClassification:16,favoriteClassifications:16,selectedFavoriteClassificationName:16,isRequiredErrors:16,portalItem:0,status:35,values:[1,{type:Object}],valid:7,autoDestroyDisabled:5}}static{this.styles=W}async destroy(){await this.manager.destroy()}async resetForm(){if(this.existingClassification)this.pendingPortalItem=this.portalItem?.clone(),this.portalClassificationSchema&&this.pendingPortalItem&&(await this.evaluateAttributeExpressions(this.portalClassificationSchema,this.pendingPortalItem),this.pendingPortalItem.classification=c(this.pendingPortalItem.classification,this.attributeExpressionResults),this.validateForm());else if(this.portalItem&&this.primaryAttribute&&this.portalClassificationSchema){let t=this.portalItem.clone();await t.load(),this.pendingPortalItem=this.portalItem?.clone(),this.pendingPortalItem.classification=d(t.classification,this.primaryAttribute,this.portalClassificationSchema),this.portalClassificationSchema&&this.pendingPortalItem&&(await this.evaluateAttributeExpressions(this.portalClassificationSchema,this.pendingPortalItem),this.pendingPortalItem.classification=c(this.pendingPortalItem.classification,this.attributeExpressionResults))}}async validateForm(){this.updateFormValidationErrors(),await this.updateRemoteValidationErrors()}async load(){try{await O(this.portalItem)||(this.canUserConfigureClassification=!1);let t=await v(this.portalItem);if(t){let{result:i,error:a}=t;if(a&&a.details.raw.messageCode!=="COM_1177"){console.error(a);return}i&&(this.favoriteClassifications=i.favorites)}}catch(t){console.error("Error occured while loading arcgis-classification-config:",t)}}willUpdate(t){if(t.has("pendingPortalItem")){let i=this.addEditInfoAttributes();this.values=i}(t.has("formValidationErrors")||t.has("remoteValidationErrors"))&&(this.valid=!this.formValidationErrors.length&&!this.remoteValidationErrors)}loaded(){let t=x(this.el,"form");t&&(this.listenOn(t,"formdata",this.updateFormData),this.listenOn(t,"submit",this.handleFormSubmit)),this.listen("submit",this.handleFormSubmit)}async updateClassificationProperty(t){if(!this.pendingPortalItem||!this.portalClassificationSchema)return;let i=this.pendingPortalItem.clone();await i.load(),Object.entries(t??{}).forEach(([a,e])=>{if(a===this.primaryAttribute){let s=R(e,i.classification,this.primaryAttribute);s=m(this.portalClassificationSchema,s),i.classification=s}else{let s=new Map(Object.entries(i.classification??{}));if(e===void 0||e===""||Array.isArray(e)&&e.length===0)s.delete(a);else if(s.set(a,e),a==="fgi"&&!s.has("fgiOptions")){let o=this.portalClassificationSchema?.attributes?.fgiOptions?.defaultValue??[];s.set("fgiOptions",Array.isArray(o)?o:[o])}i.classification=Object.fromEntries(s)}}),i.classification&&!i.classification.fgi&&delete i.classification.fgiOptions,await this.evaluateAttributeExpressions(this.portalClassificationSchema,i),i.classification=c(i.classification,this.attributeExpressionResults),i.classification&&(i.classification.banner=await V(this.portalClassificationSchema,i.classification)),this.pendingPortalItem=i,this.existingClassification&&this.validateForm(),t&&"classification"in t&&this.updateIsRequiredErrors()}handleCategorySelectChange(t){this.selectedCategory=t.target.selectedItems[0].value}async evaluateAttributeExpressions(t,i){let a=await k({portalClassificationSchema:t,itemClassification:i.classification}),e=await j({portalClassificationSchema:t,itemClassification:i.classification}),s=await M({portalClassificationSchema:t,itemClassification:i.classification});Object.keys(t.attributes).forEach(o=>{let l=a[o]?.enabled??!0,A=e[o]?.valueExpressionResult,D=s[o]?.attributeValidationResult;this.attributeExpressionResults.set(o,{enabled:l,valueExpressionResult:A,attributeValidationResult:D})})}updateIsRequiredErrors(){let t=new Set;Object.entries(this.portalClassificationSchema?.attributes??{})?.forEach(([i,a])=>{a.isRequired&&!this.pendingPortalItem?.classification?.[i]&&this.pendingPortalItem?.classification?.[i]!==0&&t.add(i)}),this.isRequiredErrors=t}updateFormValidationErrors(t=!1){let i=[];Object.entries(this.portalClassificationSchema?.attributes??{})?.forEach(([a,e])=>{e.isRequired&&!this.pendingPortalItem?.classification?.[a]&&this.pendingPortalItem?.classification?.[a]!==0&&(!t||this.isRequiredErrors.has(a))&&i.push({attribute:e.label,reason:this.messages.isrequired??"is required",category:e.attributeCategory}),this.attributeExpressionResults.get(a)?.attributeValidationResult&&i.push({attribute:e.label,reason:this.attributeExpressionResults.get(a)?.attributeValidationResult??"",category:e.attributeCategory})}),this.formValidationErrors=i}async updateRemoteValidationErrors(){if(!this.pendingPortalItem?.classification)return;let t=await this.classificationModel.validateClassification(void 0,this.pendingPortalItem?.classification,this.pendingPortalItem.portal.restUrl);this.remoteValidationErrors=t}async handleFormSubmit(t){this.validateForm(),this.updateIsRequiredErrors(),this.formMainContentRef.value?.scrollIntoView()}updateFormData(t){let i=t.formData,a=this.addEditInfoAttributes();a=c(a,this.attributeExpressionResults),Object.entries(a??{}).forEach(([e,s])=>{i.set(e,s)})}renderCategoryTabs(){return this._classificationDataTask.render({complete:()=>{if(this.portalClassificationSchema?.attributeCategories?.length)return this.selectedCategory||(this.selectedCategory=this.portalClassificationSchema?.attributeCategories[0]),n`<calcite-list .label=${this.messages.selectcategory??"select category"} selection-appearance=border selection-mode=single-persist @calciteListChange=${this.handleCategorySelectChange}>${this.portalClassificationSchema.attributeCategories.map(t=>{let i=this.formValidationErrors.filter(a=>a.category===t).length;return n`<calcite-list-item .label=${t} .value=${t} .selected=${this.selectedCategory===t} .description=${i?`${i} ${i>1?this.messages.errors:this.messages.error}`:void 0}>${i&&n`<div slot=content-end class="danger"><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon></div>`||""}</calcite-list-item>`})}</calcite-list>`}})}renderValidationErrors(){return this.formValidationErrors.length&&(!this.selectedCategory||this.formValidationErrors.some(t=>this.selectedCategory===t.category))?n`<calcite-notice open icon=exclamation-mark-triangle class="spacing-y" kind=danger><div slot=message>${this.messages.bannererror??"Some fields are incomplete or contain errors. Check the highlighted fields for details."}</div></calcite-notice>`:null}renderFavoriteClassification(){let t=this.portalClassificationSchema?.attributeCategories?.[0]??"Default";return this.selectedCategory=this.portalClassificationSchema?.attributeCategories?.length?this.selectedCategory:"Default",this.selectedCategory===t?n`<arcgis-portal-classification-favorite .portalItem=${this.pendingPortalItem??this.portalItem} .classificationValue=${this.pendingPortalItem?.classification} .favoriteClassifications=${this.favoriteClassifications} .selectedFavoriteClassificationName=${this.selectedFavoriteClassificationName} .attributeExpressionResults=${this.attributeExpressionResults} .resetFavoriteClassification=${i=>this.updateFavoriteClassification(i)} .updateClassificationData=${async i=>{await this.updateClassificationData(i),this.updateFormValidationErrors(),this.updateIsRequiredErrors()}}></arcgis-portal-classification-favorite>`:null}renderForm(){return this._formCreationTask.render({pending:()=>n`<calcite-loader .label=${this.messages.loading??"loading"}></calcite-loader>`,complete:()=>{if(!this.pendingPortalItem||!this.portalClassificationSchema)return;let t=Object.entries(this.portalClassificationSchema.attributes).sort(([i],[a])=>this.getFormDisplayOrder(i)-this.getFormDisplayOrder(a));return n`${this.renderValidationErrors()}${this.renderFavoriteClassification()}${t.filter(([,{attributeCategory:i}])=>this.selectedCategory===i||!i).map(([i,a])=>{if(this.attributeExpressionResults.get(i)?.enabled===!1)return null;let e=this.pendingPortalItem?.classification?.[i];return n`<arcgis-portal-classification-form-element .attributeKey=${i} .attribute=${a} .value=${e} @arcgisAttributeValueChange=${async s=>{await this.updateClassificationProperty(s.detail),a.isRequired&&!s.detail[i]?this.isRequiredErrors.add(i):this.isRequiredErrors=new Set(Array.from(this.isRequiredErrors).filter(o=>o!==i)),this.updateFormValidationErrors(!0)}} .renderingInfo=${this.attributeExpressionResults.get(i)} .isRequiredErrors=${this.isRequiredErrors}></arcgis-portal-classification-form-element>`})}`}})}renderNotice(t,i="warning"){return n`<calcite-notice icon=exclamation-mark-triangle open class="spacing-y" .kind=${i}><div slot=message>${t}</div></calcite-notice>`}renderHelpTooltip(){return this.portalClassificationSchema?.helpTooltip?n`<calcite-action id=portal-classification-config-tooltip-button .text=${this.portalClassificationSchema?.helpTooltip} icon=information></calcite-action><calcite-popover .label=${this.portalClassificationSchema?.helpTooltip} reference-element=portal-classification-config-tooltip-button placement=bottom-end overlay-positioning=fixed auto-close><div class="header-section__title-popover"><calcite-link .href=${this.portalClassificationSchema?.helpUrl} target=_blank id=portal-classification-config-tooltip-button>${this.portalClassificationSchema?.helpTooltip}</calcite-link></div></calcite-popover>`:null}render(){return this.portalItem?this._classificationDataTask.render({pending:()=>n`<calcite-loader .label=${this.messages.loading??"loading"}></calcite-loader>`,error:()=>this.renderNotice(this.messages.anerroroccurred??"An error has occurred.","danger"),complete:()=>this.portalItem?this.canUserConfigureClassification?this.portalItem.portal.hasClassificationSchema?n`<div class="header-section" role=region aria-label=${this.messages.documentbannerpreview??"documentbannerpreview"??C}><div class="header-section__title-container"><h2 class="header-section__title-text">${this.messages.documentbannerpreview??"documentbannerpreview"}</h2>${this.renderHelpTooltip()}</div>${this._formCreationTask.status===E.COMPLETE&&n`<arcgis-portal-classification-banner .portalItem=${this.pendingPortalItem??this.portalItem} variant=preview .missingExistingClassification=${!this.existingClassification}></arcgis-portal-classification-banner>`||""}</div><div class="form-section">${this.portalClassificationSchema?.attributeCategories?.length&&n`<div class="form-section__sidebar">${this.renderCategoryTabs()}</div>`||""}<div class="form-section__main-content" ${g(this.formMainContentRef)}>${this.renderForm()}</div></div>`:this.renderNotice(this.messages.missingclassificationschema??"Portal is missing classification schema."):this.renderNotice(this.messages.userconfigurepermissionrequired??"User configuration permission is required."):this.renderNotice(this.messages.portalitemrequired??"Portal item is required.")}):this.renderNotice(this.messages.portalitemrequired??"Portal item is required.")}};y("arcgis-portal-classification-config",f);return f},"arcade","core/reactiveUtils",a,c,d)
|
|
3
|
+
v5.0.0-next.82 */
|
|
4
|
+
import d from"./R2JJURPH.js";import c from"./LMEWK6S2.js";import a from"./2NC6Z3S7.js";import{a as E,b as I}from"./TWEYDHT6.js";import{a as $}from"./XBKEXKWN.js";import{b as x,e as P}from"./LFETSRJR.js";import{B as u,C as g,D as b,G as C,J as y,h as p,j as n}from"./IRX2C3QE.js";export default $arcgis.t(([{createArcadeExecutor:F},{watch:q},{c:v},{a:d,b:c,c:m,d:R,e:O,f:_},{a:S,b:w}])=>{async function k({portalClassificationSchema:r,itemClassification:t}){let i=Object.entries(r.attributes).map(async([e])=>{let s=await T(e,r,t);return{[e]:{enabled:s}}}),a=await Promise.all(i);return Object.assign({},...a)}async function T(r,t,i){let a=t?.attributes?.[r];if(!a)return!1;let{isAttributeEnabled:e}=a;return e?await h(e,JSON.stringify(t),i):!0}async function j({portalClassificationSchema:r,itemClassification:t}){let i=Object.entries(r.attributes).map(async([e])=>{let s=await N(e,r,t);return{[e]:{valueExpressionResult:s}}}),a=await Promise.all(i);return Object.assign({},...a)}async function N(r,t,i){let a=t.attributes[r];if(!a)throw Error(`Attribute ${r} not found in schema`);let e=a.valueExpression,s=a.validValues,o=a.validValuesMap;return s?.length?s:o&&Object.keys(o)?.length?o:e?await h(e,t,i,r):null}async function M({portalClassificationSchema:r,itemClassification:t}){let i=Object.entries(r.attributes).map(async([e])=>{let s=await H(e,r,t);return{[e]:{attributeValidationResult:s}}}),a=await Promise.all(i);return Object.assign({},...a)}async function H(r,t,i){let a=t?.attributes?.[r];if(!a)return null;let e=a?.attributeValidation;return e?await h(e,JSON.stringify(t),i,r):null}var V=async(r,t)=>{let i=r?.bannerExpression;return i?.length?await h(i,r,t):J(r,t)},J=(r,t)=>{let i=Object.entries(r.attributes).sort(([,s],[,o])=>(s?.bannerOrder??0)-(o?.bannerOrder??0)),a=[],e=[];return i.forEach(([s,o])=>{let l=t?.[s];l&&o.bannerOrder&&(a.push(U({elementType:o.uiElement??"",selectionDisplayLabel:o.bannerLabel??"",labelDelimiter:o.labelDelimiter??"",classificationProp:l,valueDelimiter:o.valueDelimiter??""})),e.push(o.attributeDelimiter??""))}),a.length>0?a.reduce((s,o,l)=>l===0?o:`${s}${e[l-1]}${o}`,""):""},U=({elementType:r,selectionDisplayLabel:t,labelDelimiter:i,classificationProp:a,valueDelimiter:e})=>{let s=r.includes("multi")&&a?a.split("").join(e):a;return`${t}${i}${s}`};async function h(r,t,i,a=""){let e={schemaJsonString:typeof t=="string"?t:JSON.stringify(t),valueJsonString:JSON.stringify(i),attributeId:a};return(await L(r)).execute(e)}async function L(r){return await F(r,{variables:[{name:"schemaJsonString",type:"text"},{name:"valueJsonString",type:"text"},{name:"attributeId",type:"text"}]})}var W=p`:host{height:100%;box-sizing:border-box;display:flex;flex-direction:column}.header-section{padding:var(--calcite-spacing-sm)}.header-section__title-container{display:flex;align-items:center;justify-content:space-between}.header-section__title-text{margin:unset;font-weight:unset;font-size:var(--calcite-font-size)}.header-section__title-popover{padding:var(--calcite-spacing-md)}.form-section{display:flex;border-top:var(--calcite-border-width-sm) solid var(--calcite-color-border-1);padding:var(--calcite-spacing-sm);height:100%;overflow:hidden}.form-section__sidebar{flex:1;padding:var(--calcite-spacing-sm)}.form-section__main-content{flex:3;padding:var(--calcite-spacing-sm);overflow:auto}.danger{color:var(--calcite-color-status-danger)}.spacing-y{margin:var(--calcite-spacing-md) 0}`,f=class extends b{constructor(){super(),this.classificationModel=S(this),this.messages=$(),this.formMainContentRef=u(),this._classificationDataTask=w(this),this._formCreationTask=new I(this,{task:async()=>{if(await this._classificationDataTask.taskComplete,!this.portalClassificationSchema||!this.portalItem)throw new Error("Portal item and classification schema are required to render the form");let t=this.portalItem.clone();if(await t.load(),!this.primaryAttribute)throw new Error("primaryAttribute is required but was undefined.");this.existingClassification=!!t.classification,t.classification=d(t.classification,this.primaryAttribute,this.portalClassificationSchema),t.classification&&(t.classification.banner=await V(this.portalClassificationSchema,t.classification)),this.pendingPortalItem=t,this._itemClassificationWatchHandle&&(this._itemClassificationWatchHandle.remove(),this.portalItem.removeHandles("arcgis-classification-config"),this._itemClassificationWatchHandle=void 0),this._itemClassificationWatchHandle=q(()=>this.portalItem.classification,i=>{if(this.pendingPortalItem){let a=this.pendingPortalItem.clone();a.load().then(()=>{a.classification=i,this.pendingPortalItem=a}).catch(e=>{console.error(e)})}}),this.portalItem.addHandles(this._itemClassificationWatchHandle,"arcgis-classification-config"),await this.evaluateAttributeExpressions(this.portalClassificationSchema,this.pendingPortalItem),this.pendingPortalItem.classification=c(this.pendingPortalItem.classification,this.attributeExpressionResults),this.existingClassification&&this.validateForm()},args:()=>[this.portalItem,this.portalClassificationSchema]}),this.getFormDisplayOrder=t=>this.portalClassificationSchema?.layouts.default.layoutElements[t].formDisplayOrder??0,this.addEditInfoAttributes=()=>{if(!this.pendingPortalItem?.classification)return{};let t=structuredClone(this.pendingPortalItem.classification),i=_(this.pendingPortalItem,t);return{...t,...i}},this.updateFavoriteClassification=t=>{this.favoriteClassifications=t},this.updateClassificationData=async t=>{let i=t.classification;if(this.selectedFavoriteClassificationName=t.name,this.pendingPortalItem){let a=this.pendingPortalItem.clone();if(await a.load(),a.classification=m(this.portalClassificationSchema,i),!this.portalClassificationSchema)return;await this.evaluateAttributeExpressions(this.portalClassificationSchema,a),a.classification=c(a.classification,this.attributeExpressionResults),this.pendingPortalItem=a}},this.existingClassification=!1,this.portalClassificationSchema=this.classificationModel.portalClassificationSchema,this.primaryAttribute=this.classificationModel.primaryAttribute,this.attributeExpressionResults=new Map,this.formValidationErrors=[],this.remoteValidationErrors="",this.canUserConfigureClassification=!0,this.favoriteClassifications=[],this.isRequiredErrors=new Set,this.status=this.classificationModel.status,this.values={},this.valid=!1,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=P()("status","values","valid")}static{this.properties={existingClassification:16,portalClassificationSchema:16,primaryAttribute:16,attributeExpressionResults:16,formValidationErrors:16,itemClassification:16,pendingPortalItem:16,selectedCategory:16,remoteValidationErrors:16,canUserConfigureClassification:16,favoriteClassifications:16,selectedFavoriteClassificationName:16,isRequiredErrors:16,portalItem:0,status:35,values:[1,{type:Object}],valid:7,autoDestroyDisabled:5}}static{this.styles=W}async destroy(){await this.manager.destroy()}async resetForm(){if(this.existingClassification)this.pendingPortalItem=this.portalItem?.clone(),this.portalClassificationSchema&&this.pendingPortalItem&&(await this.evaluateAttributeExpressions(this.portalClassificationSchema,this.pendingPortalItem),this.pendingPortalItem.classification=c(this.pendingPortalItem.classification,this.attributeExpressionResults),this.validateForm());else if(this.portalItem&&this.primaryAttribute&&this.portalClassificationSchema){let t=this.portalItem.clone();await t.load(),this.pendingPortalItem=this.portalItem?.clone(),this.pendingPortalItem.classification=d(t.classification,this.primaryAttribute,this.portalClassificationSchema),this.portalClassificationSchema&&this.pendingPortalItem&&(await this.evaluateAttributeExpressions(this.portalClassificationSchema,this.pendingPortalItem),this.pendingPortalItem.classification=c(this.pendingPortalItem.classification,this.attributeExpressionResults))}}async validateForm(){this.updateFormValidationErrors(),await this.updateRemoteValidationErrors()}async load(){try{await O(this.portalItem)||(this.canUserConfigureClassification=!1);let t=await v(this.portalItem);if(t){let{result:i,error:a}=t;if(a&&a.details.raw.messageCode!=="COM_1177"){console.error(a);return}i&&(this.favoriteClassifications=i.favorites)}}catch(t){console.error("Error occured while loading arcgis-classification-config:",t)}}willUpdate(t){if(t.has("pendingPortalItem")){let i=this.addEditInfoAttributes();this.values=i}(t.has("formValidationErrors")||t.has("remoteValidationErrors"))&&(this.valid=!this.formValidationErrors.length&&!this.remoteValidationErrors)}loaded(){let t=x(this.el,"form");t&&(this.listenOn(t,"formdata",this.updateFormData),this.listenOn(t,"submit",this.handleFormSubmit)),this.listen("submit",this.handleFormSubmit)}async updateClassificationProperty(t){if(!this.pendingPortalItem||!this.portalClassificationSchema)return;let i=this.pendingPortalItem.clone();await i.load(),Object.entries(t??{}).forEach(([a,e])=>{if(a===this.primaryAttribute){let s=R(e,i.classification,this.primaryAttribute);s=m(this.portalClassificationSchema,s),i.classification=s}else{let s=new Map(Object.entries(i.classification??{}));if(e===void 0||e===""||Array.isArray(e)&&e.length===0)s.delete(a);else if(s.set(a,e),a==="fgi"&&!s.has("fgiOptions")){let o=this.portalClassificationSchema?.attributes?.fgiOptions?.defaultValue??[];s.set("fgiOptions",Array.isArray(o)?o:[o])}i.classification=Object.fromEntries(s)}}),i.classification&&!i.classification.fgi&&delete i.classification.fgiOptions,await this.evaluateAttributeExpressions(this.portalClassificationSchema,i),i.classification=c(i.classification,this.attributeExpressionResults),i.classification&&(i.classification.banner=await V(this.portalClassificationSchema,i.classification)),this.pendingPortalItem=i,this.existingClassification&&this.validateForm(),t&&"classification"in t&&this.updateIsRequiredErrors()}handleCategorySelectChange(t){this.selectedCategory=t.target.selectedItems[0].value}async evaluateAttributeExpressions(t,i){let a=await k({portalClassificationSchema:t,itemClassification:i.classification}),e=await j({portalClassificationSchema:t,itemClassification:i.classification}),s=await M({portalClassificationSchema:t,itemClassification:i.classification});Object.keys(t.attributes).forEach(o=>{let l=a[o]?.enabled??!0,A=e[o]?.valueExpressionResult,D=s[o]?.attributeValidationResult;this.attributeExpressionResults.set(o,{enabled:l,valueExpressionResult:A,attributeValidationResult:D})})}updateIsRequiredErrors(){let t=new Set;Object.entries(this.portalClassificationSchema?.attributes??{})?.forEach(([i,a])=>{a.isRequired&&!this.pendingPortalItem?.classification?.[i]&&this.pendingPortalItem?.classification?.[i]!==0&&t.add(i)}),this.isRequiredErrors=t}updateFormValidationErrors(t=!1){let i=[];Object.entries(this.portalClassificationSchema?.attributes??{})?.forEach(([a,e])=>{e.isRequired&&!this.pendingPortalItem?.classification?.[a]&&this.pendingPortalItem?.classification?.[a]!==0&&(!t||this.isRequiredErrors.has(a))&&i.push({attribute:e.label,reason:this.messages.isrequired??"is required",category:e.attributeCategory}),this.attributeExpressionResults.get(a)?.attributeValidationResult&&i.push({attribute:e.label,reason:this.attributeExpressionResults.get(a)?.attributeValidationResult??"",category:e.attributeCategory})}),this.formValidationErrors=i}async updateRemoteValidationErrors(){if(!this.pendingPortalItem?.classification)return;let t=await this.classificationModel.validateClassification(void 0,this.pendingPortalItem?.classification,this.pendingPortalItem.portal.restUrl);this.remoteValidationErrors=t}async handleFormSubmit(t){this.validateForm(),this.updateIsRequiredErrors(),this.formMainContentRef.value?.scrollIntoView()}updateFormData(t){let i=t.formData,a=this.addEditInfoAttributes();a=c(a,this.attributeExpressionResults),Object.entries(a??{}).forEach(([e,s])=>{i.set(e,s)})}renderCategoryTabs(){return this._classificationDataTask.render({complete:()=>{if(this.portalClassificationSchema?.attributeCategories?.length)return this.selectedCategory||(this.selectedCategory=this.portalClassificationSchema?.attributeCategories[0]),n`<calcite-list .label=${this.messages.selectcategory??"select category"} selection-appearance=border selection-mode=single-persist @calciteListChange=${this.handleCategorySelectChange}>${this.portalClassificationSchema.attributeCategories.map(t=>{let i=this.formValidationErrors.filter(a=>a.category===t).length;return n`<calcite-list-item .label=${t} .value=${t} .selected=${this.selectedCategory===t} .description=${i?`${i} ${i>1?this.messages.errors:this.messages.error}`:void 0}>${i&&n`<div slot=content-end class="danger"><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon></div>`||""}</calcite-list-item>`})}</calcite-list>`}})}renderValidationErrors(){return this.formValidationErrors.length&&(!this.selectedCategory||this.formValidationErrors.some(t=>this.selectedCategory===t.category))?n`<calcite-notice open icon=exclamation-mark-triangle class="spacing-y" kind=danger><div slot=message>${this.messages.bannererror??"Some fields are incomplete or contain errors. Check the highlighted fields for details."}</div></calcite-notice>`:null}renderFavoriteClassification(){let t=this.portalClassificationSchema?.attributeCategories?.[0]??"Default";return this.selectedCategory=this.portalClassificationSchema?.attributeCategories?.length?this.selectedCategory:"Default",this.selectedCategory===t?n`<arcgis-portal-classification-favorite .portalItem=${this.pendingPortalItem??this.portalItem} .classificationValue=${this.pendingPortalItem?.classification} .favoriteClassifications=${this.favoriteClassifications} .selectedFavoriteClassificationName=${this.selectedFavoriteClassificationName} .attributeExpressionResults=${this.attributeExpressionResults} .resetFavoriteClassification=${i=>this.updateFavoriteClassification(i)} .updateClassificationData=${async i=>{await this.updateClassificationData(i),this.updateFormValidationErrors(),this.updateIsRequiredErrors()}}></arcgis-portal-classification-favorite>`:null}renderForm(){return this._formCreationTask.render({pending:()=>n`<calcite-loader .label=${this.messages.loading??"loading"}></calcite-loader>`,complete:()=>{if(!this.pendingPortalItem||!this.portalClassificationSchema)return;let t=Object.entries(this.portalClassificationSchema.attributes).sort(([i],[a])=>this.getFormDisplayOrder(i)-this.getFormDisplayOrder(a));return n`${this.renderValidationErrors()}${this.renderFavoriteClassification()}${t.filter(([,{attributeCategory:i}])=>this.selectedCategory===i||!i).map(([i,a])=>{if(this.attributeExpressionResults.get(i)?.enabled===!1)return null;let e=this.pendingPortalItem?.classification?.[i];return n`<arcgis-portal-classification-form-element .attributeKey=${i} .attribute=${a} .value=${e} @arcgisAttributeValueChange=${async s=>{await this.updateClassificationProperty(s.detail),a.isRequired&&!s.detail[i]?this.isRequiredErrors.add(i):this.isRequiredErrors=new Set(Array.from(this.isRequiredErrors).filter(o=>o!==i)),this.updateFormValidationErrors(!0)}} .renderingInfo=${this.attributeExpressionResults.get(i)} .isRequiredErrors=${this.isRequiredErrors}></arcgis-portal-classification-form-element>`})}`}})}renderNotice(t,i="warning"){return n`<calcite-notice icon=exclamation-mark-triangle open class="spacing-y" .kind=${i}><div slot=message>${t}</div></calcite-notice>`}renderHelpTooltip(){return this.portalClassificationSchema?.helpTooltip?n`<calcite-action id=portal-classification-config-tooltip-button .text=${this.portalClassificationSchema?.helpTooltip} icon=information></calcite-action><calcite-popover .label=${this.portalClassificationSchema?.helpTooltip} reference-element=portal-classification-config-tooltip-button placement=bottom-end overlay-positioning=fixed auto-close><div class="header-section__title-popover"><calcite-link .href=${this.portalClassificationSchema?.helpUrl} target=_blank id=portal-classification-config-tooltip-button>${this.portalClassificationSchema?.helpTooltip}</calcite-link></div></calcite-popover>`:null}render(){return this.portalItem?this._classificationDataTask.render({pending:()=>n`<calcite-loader .label=${this.messages.loading??"loading"}></calcite-loader>`,error:()=>this.renderNotice(this.messages.anerroroccurred??"An error has occurred.","danger"),complete:()=>this.portalItem?this.canUserConfigureClassification?this.portalItem.portal.hasClassificationSchema?n`<div class="header-section" role=region aria-label=${this.messages.documentbannerpreview??"documentbannerpreview"??C}><div class="header-section__title-container"><h2 class="header-section__title-text">${this.messages.documentbannerpreview??"documentbannerpreview"}</h2>${this.renderHelpTooltip()}</div>${this._formCreationTask.status===E.COMPLETE&&n`<arcgis-portal-classification-banner .portalItem=${this.pendingPortalItem??this.portalItem} variant=preview .missingExistingClassification=${!this.existingClassification}></arcgis-portal-classification-banner>`||""}</div><div class="form-section">${this.portalClassificationSchema?.attributeCategories?.length&&n`<div class="form-section__sidebar">${this.renderCategoryTabs()}</div>`||""}<div class="form-section__main-content" ${g(this.formMainContentRef)}>${this.renderForm()}</div></div>`:this.renderNotice(this.messages.missingclassificationschema??"Portal is missing classification schema."):this.renderNotice(this.messages.userconfigurepermissionrequired??"User configuration permission is required."):this.renderNotice(this.messages.portalitemrequired??"Portal item is required.")}):this.renderNotice(this.messages.portalitemrequired??"Portal item is required.")}};y("arcgis-portal-classification-config",f);return f},"arcade","core/reactiveUtils",a,c,d)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{i as o}from"./
|
|
3
|
+
v5.0.0-next.82 */
|
|
4
|
+
import{i as o}from"./IRX2C3QE.js";var c={INITIAL:0,PENDING:1,COMPLETE:2,ERROR:3},n=Symbol(),e=class{get taskComplete(){return this.t||(this.i===1?this.t=new Promise(((t,s)=>{this.o=t,this.h=s})):this.i===3?this.t=Promise.reject(this.l):this.t=Promise.resolve(this.u)),this.t}constructor(t,s,r){this.p=0,this.i=0,(this._=t).addController(this);let i=typeof s=="object"?s:{task:s,args:r};this.v=i.task,this.j=i.args,this.m=i.argsEqual??u,this.k=i.onComplete,this.A=i.onError,this.autoRun=i.autoRun??!0,"initialValue"in i&&(this.u=i.initialValue,this.i=2,this.O=this.T?.())}hostUpdate(){this.autoRun===!0&&this.S()}hostUpdated(){this.autoRun==="afterUpdate"&&this.S()}T(){if(this.j===void 0)return;let t=this.j();if(!Array.isArray(t))throw Error("The args function must return an array");return t}async S(){let t=this.T(),s=this.O;this.O=t,t===s||t===void 0||s!==void 0&&this.m(s,t)||await this.run(t)}async run(t){let s,r;t??=this.T(),this.O=t,this.i===1?this.q?.abort():(this.t=void 0,this.o=void 0,this.h=void 0),this.i=1,this.autoRun==="afterUpdate"?queueMicrotask((()=>this._.requestUpdate())):this._.requestUpdate();let i=++this.p;this.q=new AbortController;let a=!1;try{s=await this.v(t,{signal:this.q.signal})}catch(l){a=!0,r=l}if(this.p===i){if(s===n)this.i=0;else{if(a===!1){try{this.k?.(s)}catch{}this.i=2,this.o?.(s)}else{try{this.A?.(r)}catch{}this.i=3,this.h?.(r)}this.u=s,this.l=r}this._.requestUpdate()}}abort(t){this.i===1&&this.q?.abort(t)}get value(){return this.u}get error(){return this.l}get status(){return this.i}render(t){switch(this.i){case 0:return t.initial?.();case 1:return t.pending?.();case 2:return t.complete?.(this.value);case 3:return t.error?.(this.error);default:throw Error("Unexpected status: "+this.i)}}},u=(h,t)=>h===t||h.length===t.length&&h.every(((s,r)=>!o(s,t[r])));export{c as a,e as b};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v5.0.0-next.82 */
|
|
4
|
+
import b from"./R2JJURPH.js";import a from"./2NC6Z3S7.js";import"./TWEYDHT6.js";import{a as d}from"./XBKEXKWN.js";import"./LFETSRJR.js";import{D as r,F as n,J as c,h as e,j as s}from"./IRX2C3QE.js";export default $arcgis.t(([,{a:l,b:f}])=>{var h=e`.banner{box-sizing:border-box;width:100%;left:0;text-align:center;font-family:var(--calcite-font-family);background-color:#fff;color:#000;padding:var(--calcite-spacing-sm);font-size:var(--calcite-font-size);text-transform:uppercase;overflow-wrap:break-word}.invalid-container{background-color:#fff;color:#000;display:flex;align-items:center;justify-content:center;gap:8px}.invalid-icon{--calcite-icon-color: var(--calcite-color-status-danger)}.invalid-message{text-align:center;font-family:var(--calcite-font-family);background-color:#fff;color:#000;padding:var(--calcite-spacing-sm);font-size:var(--calcite-font-size);overflow-wrap:break-word}`,o=class extends r{constructor(){super(...arguments),this.classificationModel=l(this),this.messages=d(),this._classificationDataTask=f(this),this.portalClassificationSchema=this.classificationModel.portalClassificationSchema,this.status=this.classificationModel.status,this.missingExistingClassification=!1,this.variant="full",this.autoDestroyDisabled=!1,this.validationErrors=""}static{this.properties={portalClassificationSchema:16,status:16,itemClassification:16,portalItem:0,missingExistingClassification:5,variant:1,autoDestroyDisabled:5,validationErrors:1}}static{this.styles=h}async destroy(){await this.manager.destroy()}willUpdate(a){if(a.has("portalItem")){let{portalItem:i}=this;i?.load().then(()=>{i?.id&&i?.loaded&&i?.classification&&!this.missingExistingClassification?this.classificationModel.validateClassification(this.variant==="preview"?null:i.id,i.classification,i?.portal.restUrl).catch(console.error).then(t=>{this.validationErrors=t??""}):this.validationErrors=""}).catch(console.error)}}getStyle(){let a={};if(this.variant==="preview"&&(a.fontSize="var(--calcite-font-size-sm)",a.padding="var(--calcite-spacing-xs)"),this.itemClassification&&this.portalClassificationSchema){let i=this.itemClassification.classification,t=this.portalClassificationSchema.classificationMetadata.classificationValueProperties.find(({value:m})=>m===i);t?.backgroundColor&&(a.backgroundColor=t.backgroundColor),t?.textColor&&(a.color=t.textColor)}return a}render(){return this._classificationDataTask.render({pending:void 0,error:void 0,complete:()=>this.portalClassificationSchema&&this.portalItem?.portal.authMode!=="anonymous"?this.validationErrors&&this.variant==="full"?s`<div class="invalid-container"><calcite-icon class="invalid-icon" scale=s icon=exclamation-mark-triangle .textLabel=${this.messages.invalidclassificationerror}></calcite-icon><span class="invalid-message">${this.messages.invalidclassificationerror}</span></div>`:s`<div class="banner" style=${n(this.getStyle())}>${this.itemClassification?.banner??this.messages.notyetclassified??"Not yet classified"}</div>`:""})}};c("arcgis-portal-classification-banner",o);return o},a,b)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import{d as r}from"./
|
|
3
|
+
v5.0.0-next.82 */
|
|
4
|
+
import{d as r}from"./LFETSRJR.js";import{K as o}from"./IRX2C3QE.js";var s=r(o);export{s as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
|
|
3
|
-
v5.0.0-next.
|
|
4
|
-
import b from"./
|
|
3
|
+
v5.0.0-next.82 */
|
|
4
|
+
import b from"./LMEWK6S2.js";import a from"./2NC6Z3S7.js";import{a as o}from"./A24CANOO.js";import{a as h}from"./XBKEXKWN.js";import"./LFETSRJR.js";import{D as n,J as r,h as c,j as e}from"./IRX2C3QE.js";export default $arcgis.t(([{c:f,d:d},{f:v}])=>{var C=c`.select-favorite-label{display:flex;justify-content:space-between;align-items:center}.favorite-actions{display:flex;justify-content:flex-end;gap:1.5rem;align-items:center}.classification-favorite-dialog{--calcite-dialog-content-space: 0;--calcite-dialog-background-color: "var(--calcite-color-foreground-2)"}.save-new-favorite-button{display:flex;justify-content:flex-end;margin-top:.25rem;margin-bottom:1rem}.classification-favorite-item{display:flex;justify-content:space-between;padding-top:.5rem;padding-bottom:.5rem;border-bottom:1px solid var(--calcite-color-border-1)}.classification-favorite-list,.classification-favorite-input-section{margin:1.75rem 1rem}`,l=class extends n{constructor(){super(...arguments),this.messages=h(),this.selectFavoriteClassification=i=>{let a=i.target.value;if(a){this.hasUpdateError=!1;let t=this.favoriteClassifications.find(({name:s})=>s===a);t&&this.updateClassificationData(t)}},this.uploadFavoriteClassificationValueHandle=async i=>{let a=await d(this.portalItem,this.favoriteClassifications);if(this.renderFavoriteClassificationError({alertIndicatorType:"success",alertIndicatorIcon:"check",alertIndicatorInfo:i}),a){let{result:t,error:s}=a;if(s){console.error(s),this.renderFavoriteClassificationError({alertIndicatorType:"danger",alertIndicatorIcon:"exclamation-mark-triangle",alertIndicatorInfo:this.messages.uploadClassificationFavoriteError??"Failed to upload classification favorites"});return}t&&this.renderFavoriteClassificationError({alertIndicatorType:"success",alertIndicatorIcon:"check",alertIndicatorInfo:i})}},this.retrieveFavoriteClassificationHandle=async()=>{let i=await f(this.portalItem);if(i){let{result:a,error:t}=i;if(t){console.error(t),this.renderFavoriteClassificationError({alertIndicatorType:"danger",alertIndicatorIcon:"exclamation-mark-triangle",alertIndicatorInfo:this.messages.retrieveClassificationFavoriteError??"Failed to retrieve classification favorites"});return}a&&this.resetFavoriteClassification(a.favorites)}},this.changeFavoriteClassificationName=i=>{let a=i.target.value;this.newFavoriteClassificationName=a,this.hasDuplicatedClassificationError=this.favoriteClassifications.some(t=>t.name===a)},this.saveNewFavoriteClassification=async()=>{let i=this.newFavoriteClassificationName;if(this.favoriteClassifications.some(s=>s.name===i)){this.hasDuplicatedClassificationError=!0;return}if(!i)return;let a=this.deleteNonEnabledAttributes(),t={name:i,classification:a};this.favoriteClassifications=[...this.favoriteClassifications,t],await this.uploadFavoriteClassificationValueHandle(this.messages.addClassificationFavoriteSuccessMessage??"Classification Favorite added successfully"),await this.retrieveFavoriteClassificationHandle(),this.showSaveClassificationDialog=!1},this.updateFavoriteClassification=async()=>{if(!this.selectedFavoriteClassificationName){this.hasUpdateError=!0;return}await this.addFavoriteClassification(this.selectedFavoriteClassificationName),await this.retrieveFavoriteClassificationHandle()},this.deleteNonEnabledAttributes=()=>{let i=structuredClone(this.portalItem?.classification??{}),a=Object.fromEntries(Object.entries(i).filter(([t])=>this.attributeExpressionResults?.get(t)?.enabled!==!1));return{...a,...v(this.portalItem,a)}},this.addFavoriteClassification=async i=>{let a=this.deleteNonEnabledAttributes(),t={name:i,classification:a},s=this.favoriteClassifications.findIndex(m=>m.name===i);s>=0?this.favoriteClassifications[s].classification=a:this.favoriteClassifications=[...this.favoriteClassifications,t],await this.uploadFavoriteClassificationValueHandle(this.messages.updateClassificationFavoriteSuccessMessage??"Classification Favorite updated successfully")},this.removeFavoriteClassification=async i=>{this.favoriteClassifications=this.favoriteClassifications.filter(a=>a.name!==i),this.favoriteClassifications.length===0&&(this.showManageClassificationDialog=!1),await this.uploadFavoriteClassificationValueHandle(this.messages.removeClassificationFavoriteSuccessMessage??"Classification Favorite removed successfully"),await this.retrieveFavoriteClassificationHandle()},this.newFavoriteClassificationName="",this.showManageClassificationDialog=!1,this.showSaveClassificationDialog=!1,this.hasDuplicatedClassificationError=!1,this.hasUpdateError=!1,this.alertIndicator={alertIndicatorType:"danger",alertIndicatorIcon:"exclamation-mark-triangle",alertIndicatorInfo:""},this.isNotificationModalActive=!1,this.favoriteClassifications=[],this.selectedFavoriteClassificationName="",this.resetFavoriteClassification=()=>{},this.updateClassificationData=()=>{},this.renderFavoriteClassificationError=i=>{let{alertIndicatorType:a,alertIndicatorIcon:t,alertIndicatorInfo:s}=i;return e`<calcite-alert .icon=${t} .label=${this.messages.classificationNotificationHandler??"Classification notification handler"} auto-close-duration=medium open .kind=${a} @calciteAlertClose=${()=>this.alertIndicator===null}><div slot=message>${s}</div></calcite-alert>`}}static{this.properties={newFavoriteClassificationName:16,showManageClassificationDialog:16,showSaveClassificationDialog:16,hasDuplicatedClassificationError:16,hasUpdateError:16,alertIndicator:16,isNotificationModalActive:16,portalItem:0,classificationValue:0,favoriteClassifications:0,selectedFavoriteClassificationName:1,attributeExpressionResults:0,resetFavoriteClassification:0,updateClassificationData:0}}static{this.styles=C}load(){this.newFavoriteClassificationName=this.classificationValue?.banner??""}onOpenFavoriteClassificationModal(){this.newFavoriteClassificationName=this.classificationValue?.banner??"",this.showSaveClassificationDialog=!0}getValidationMessage(){return this.newFavoriteClassificationName?this.hasDuplicatedClassificationError?this.messages.duplicatedClassificationError:"":this.messages.emptyFavoriteError}render(){return e`<div>${this.favoriteClassifications.length>0?e`<div><calcite-label><div class="select-favorite-label">${this.messages.applyClassificationFavoriteLabel}<calcite-link @click=${()=>this.showManageClassificationDialog=!0}>${this.messages.manageClassificationFavoriteBtn}</calcite-link></div><calcite-combobox label=select-calcite-combobox selection-mode=single .placeholder=${this.messages.selectFavoritePlaceholder} placeholder-icon=folder-star @calciteComboboxChange=${this.selectFavoriteClassification} .status=${this.hasUpdateError?"invalid":"idle"} .validationIcon=${this.hasUpdateError?"exclamation-mark-triangle":""} .validationMessage=${this.hasUpdateError?this.messages.updateWarning:""}>${o(this.favoriteClassifications,({name:i})=>i,({name:i})=>e`<calcite-combobox-item .selected=${this.selectedFavoriteClassificationName===i} icon=folder-star .value=${i} .textLabel=${i}></calcite-combobox-item>`)}</calcite-combobox></calcite-label><div class="favorite-actions"><calcite-link icon-start=refresh @click=${this.updateFavoriteClassification}>${this.messages.updateClassificationFavoriteBtn}</calcite-link><calcite-link icon-start=star @click=${this.onOpenFavoriteClassificationModal}>${this.messages.saveNewClassificationBtn}</calcite-link></div></div>`:e`<div class="save-new-favorite-button"><calcite-link icon-start=folder-star @click=${this.onOpenFavoriteClassificationModal}>${this.messages.saveNewClassificationFavoriteBtn}</calcite-link></div>`}<calcite-dialog class="classification-favorite-dialog" overlay-positioning=fixed .heading=${this.messages.manageClassificationFavoriteLabel} .open=${this.showManageClassificationDialog} modal placement=center scale=m outside-close-disabled @calciteDialogClose=${()=>this.showManageClassificationDialog=!1}><calcite-list class="classification-favorite-list" .label=${this.messages.classificationFavoriteListLabel??"Classification Favorite list label"} selection-appearance=border selection-mode=single-persist>${o(this.favoriteClassifications,({name:i})=>i,({name:i})=>e`<calcite-list-item .label=${i} .value=${i} class="classification-favorite-item"><div slot=content-end><calcite-icon icon=trash scale=s @click=${async()=>await this.removeFavoriteClassification(i)}></calcite-icon></div></calcite-list-item>`)}</calcite-list><calcite-button slot=footer-end scale=l @click=${()=>this.showManageClassificationDialog=!1}><div>${this.messages.favoriteClassificationBtnDone}</div></calcite-button></calcite-dialog><calcite-dialog class="classification-favorite-dialog" overlay-positioning=fixed .heading=${this.messages.addFavoriteDialogHeading} .open=${this.showSaveClassificationDialog} modal placement=center scale=m outside-close-disabled @calciteDialogClose=${()=>this.showSaveClassificationDialog=!1}><calcite-label class="classification-favorite-input-section">${this.messages.addClassificationFavorite}<calcite-input id=classification-favorite-name name=classification-favorite-name scale=m .value=${this.newFavoriteClassificationName} @calciteInputInput=${this.changeFavoriteClassificationName} .status=${!this.newFavoriteClassificationName||this.hasDuplicatedClassificationError?"invalid":"idle"} validation-icon=exclamation-mark-triangle .validationMessage=${this.getValidationMessage()}></calcite-input></calcite-label><calcite-button scale=l slot=footer-end @click=${this.saveNewFavoriteClassification}>${this.messages.favoriteClassificationBtnDone}</calcite-button></calcite-dialog></div>`}};r("arcgis-portal-classification-favorite",l);return l},a,b)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"بيت_Close___________لاحقة","setExtent":"بيت_Set extent_____________________لاحقة","setArea":"بيت_Set area_________________لاحقة","extentBasedOn":"بيت_Create an extent based on__________________________لاحقة","areaBasedOn":"بيت_Create an area based on________________________لاحقة","orgExtent":"بيت_Organization's extent______________________لاحقة","orgRegion":"بيت_Organization's region______________________لاحقة","currentFeatures":"بيت_Current features in layer__________________________لاحقة","useLocation":"بيت_Use location search____________________لاحقة","drawExtentTitle":"بيت_Draw the extent on the map____________________________لاحقة.","drawAreaTitle":"بيت_Draw the area on the map__________________________لاحقة.","drawExtent":"بيت_Draw Extent____________لاحقة","drawArea":"بيت_Draw Area___________________لاحقة","coordinates":"بيت_Coordinates____________لاحقة","coordinatesDescription":"بيت_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________لاحقة.","top":"بيت_Top (Latitude)_______________لاحقة","bottom":"بيت_Bottom (Latitude)__________________لاحقة","left":"بيت_Left (Longitude)_________________لاحقة","right":"بيت_Right (Longitude)__________________لاحقة","save":"بيت_Save_________لاحقة","cancel":"بيت_Cancel_____________لاحقة","revert":"بيت_Revert_____________لاحقة","invalidLeft":"بيت_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________لاحقة.","invalidRight":"بيت_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________لاحقة.","invalidBottom":"بيت_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________لاحقة.","invalidTop":"بيت_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________لاحقة.","leftLessThanRight":"بيت_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________لاحقة.","rightGreaterThanLeft":"بيت_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________لاحقة.","bottomLessThanTop":"بيت_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________لاحقة.","topGreaterThanBottom":"بيت_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________لاحقة.","overDateLine":"بيت_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________لاحقة."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"й_Close___________й","setExtent":"й_Set extent_____________________й","setArea":"й_Set area_________________й","extentBasedOn":"й_Create an extent based on__________________________й","areaBasedOn":"й_Create an area based on________________________й","orgExtent":"й_Organization's extent______________________й","orgRegion":"й_Organization's region______________________й","currentFeatures":"й_Current features in layer__________________________й","useLocation":"й_Use location search____________________й","drawExtentTitle":"й_Draw the extent on the map____________________________й.","drawAreaTitle":"й_Draw the area on the map__________________________й.","drawExtent":"й_Draw Extent____________й","drawArea":"й_Draw Area___________________й","coordinates":"й_Coordinates____________й","coordinatesDescription":"й_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________й.","top":"й_Top (Latitude)_______________й","bottom":"й_Bottom (Latitude)__________________й","left":"й_Left (Longitude)_________________й","right":"й_Right (Longitude)__________________й","save":"й_Save_________й","cancel":"й_Cancel_____________й","revert":"й_Revert_____________й","invalidLeft":"й_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________й.","invalidRight":"й_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________й.","invalidBottom":"й_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________й.","invalidTop":"й_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________й.","leftLessThanRight":"й_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________й.","rightGreaterThanLeft":"й_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________й.","bottomLessThanTop":"й_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________й.","topGreaterThanBottom":"й_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________й.","overDateLine":"й_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________й."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"Č_Close___________ž","setExtent":"Č_Set extent_____________________ž","setArea":"Č_Set area_________________ž","extentBasedOn":"Č_Create an extent based on__________________________ž","areaBasedOn":"Č_Create an area based on________________________ž","orgExtent":"Č_Organization's extent______________________ž","orgRegion":"Č_Organization's region______________________ž","currentFeatures":"Č_Current features in layer__________________________ž","useLocation":"Č_Use location search____________________ž","drawExtentTitle":"Č_Draw the extent on the map____________________________ž.","drawAreaTitle":"Č_Draw the area on the map__________________________ž.","drawExtent":"Č_Draw Extent____________ž","drawArea":"Č_Draw Area___________________ž","coordinates":"Č_Coordinates____________ž","coordinatesDescription":"Č_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________ž.","top":"Č_Top (Latitude)_______________ž","bottom":"Č_Bottom (Latitude)__________________ž","left":"Č_Left (Longitude)_________________ž","right":"Č_Right (Longitude)__________________ž","save":"Č_Save_________ž","cancel":"Č_Cancel_____________ž","revert":"Č_Revert_____________ž","invalidLeft":"Č_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________ž.","invalidRight":"Č_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________ž.","invalidBottom":"Č_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________ž.","invalidTop":"Č_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________ž.","leftLessThanRight":"Č_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________ž.","rightGreaterThanLeft":"Č_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________ž.","bottomLessThanTop":"Č_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________ž.","topGreaterThanBottom":"Č_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________ž.","overDateLine":"Č_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________ž."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"ó_Close___________à","setExtent":"ó_Set extent_____________________à","setArea":"ó_Set area_________________à","extentBasedOn":"ó_Create an extent based on__________________________à","areaBasedOn":"ó_Create an area based on________________________à","orgExtent":"ó_Organization's extent______________________à","orgRegion":"ó_Organization's region______________________à","currentFeatures":"ó_Current features in layer__________________________à","useLocation":"ó_Use location search____________________à","drawExtentTitle":"ó_Draw the extent on the map____________________________à.","drawAreaTitle":"ó_Draw the area on the map__________________________à.","drawExtent":"ó_Draw Extent____________à","drawArea":"ó_Draw Area___________________à","coordinates":"ó_Coordinates____________à","coordinatesDescription":"ó_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________à.","top":"ó_Top (Latitude)_______________à","bottom":"ó_Bottom (Latitude)__________________à","left":"ó_Left (Longitude)_________________à","right":"ó_Right (Longitude)__________________à","save":"ó_Save_________à","cancel":"ó_Cancel_____________à","revert":"ó_Revert_____________à","invalidLeft":"ó_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________à.","invalidRight":"ó_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________à.","invalidBottom":"ó_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________à.","invalidTop":"ó_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________à.","leftLessThanRight":"ó_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________à.","rightGreaterThanLeft":"ó_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________à.","bottomLessThanTop":"ó_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________à.","topGreaterThanBottom":"ó_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________à.","overDateLine":"ó_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________à."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"Ř_Close___________ů","setExtent":"Ř_Set extent_____________________ů","setArea":"Ř_Set area_________________ů","extentBasedOn":"Ř_Create an extent based on__________________________ů","areaBasedOn":"Ř_Create an area based on________________________ů","orgExtent":"Ř_Organization's extent______________________ů","orgRegion":"Ř_Organization's region______________________ů","currentFeatures":"Ř_Current features in layer__________________________ů","useLocation":"Ř_Use location search____________________ů","drawExtentTitle":"Ř_Draw the extent on the map____________________________ů.","drawAreaTitle":"Ř_Draw the area on the map__________________________ů.","drawExtent":"Ř_Draw Extent____________ů","drawArea":"Ř_Draw Area___________________ů","coordinates":"Ř_Coordinates____________ů","coordinatesDescription":"Ř_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________ů.","top":"Ř_Top (Latitude)_______________ů","bottom":"Ř_Bottom (Latitude)__________________ů","left":"Ř_Left (Longitude)_________________ů","right":"Ř_Right (Longitude)__________________ů","save":"Ř_Save_________ů","cancel":"Ř_Cancel_____________ů","revert":"Ř_Revert_____________ů","invalidLeft":"Ř_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________ů.","invalidRight":"Ř_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________ů.","invalidBottom":"Ř_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________ů.","invalidTop":"Ř_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________ů.","leftLessThanRight":"Ř_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________ů.","rightGreaterThanLeft":"Ř_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________ů.","bottomLessThanTop":"Ř_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________ů.","topGreaterThanBottom":"Ř_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________ů.","overDateLine":"Ř_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________ů."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"ø_Close___________å","setExtent":"ø_Set extent_____________________å","setArea":"ø_Set area_________________å","extentBasedOn":"ø_Create an extent based on__________________________å","areaBasedOn":"ø_Create an area based on________________________å","orgExtent":"ø_Organization's extent______________________å","orgRegion":"ø_Organization's region______________________å","currentFeatures":"ø_Current features in layer__________________________å","useLocation":"ø_Use location search____________________å","drawExtentTitle":"ø_Draw the extent on the map____________________________å.","drawAreaTitle":"ø_Draw the area on the map__________________________å.","drawExtent":"ø_Draw Extent____________å","drawArea":"ø_Draw Area___________________å","coordinates":"ø_Coordinates____________å","coordinatesDescription":"ø_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________å.","top":"ø_Top (Latitude)_______________å","bottom":"ø_Bottom (Latitude)__________________å","left":"ø_Left (Longitude)_________________å","right":"ø_Right (Longitude)__________________å","save":"ø_Save_________å","cancel":"ø_Cancel_____________å","revert":"ø_Revert_____________å","invalidLeft":"ø_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________å.","invalidRight":"ø_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________å.","invalidBottom":"ø_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________å.","invalidTop":"ø_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________å.","leftLessThanRight":"ø_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________å.","rightGreaterThanLeft":"ø_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________å.","bottomLessThanTop":"ø_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________å.","topGreaterThanBottom":"ø_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________å.","overDateLine":"ø_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________å."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"ä_Close___________Ü","setExtent":"ä_Set extent_____________________Ü","setArea":"ä_Set area_________________Ü","extentBasedOn":"ä_Create an extent based on__________________________Ü","areaBasedOn":"ä_Create an area based on________________________Ü","orgExtent":"ä_Organization's extent______________________Ü","orgRegion":"ä_Organization's region______________________Ü","currentFeatures":"ä_Current features in layer__________________________Ü","useLocation":"ä_Use location search____________________Ü","drawExtentTitle":"ä_Draw the extent on the map____________________________Ü.","drawAreaTitle":"ä_Draw the area on the map__________________________Ü.","drawExtent":"ä_Draw Extent____________Ü","drawArea":"ä_Draw Area___________________Ü","coordinates":"ä_Coordinates____________Ü","coordinatesDescription":"ä_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________Ü.","top":"ä_Top (Latitude)_______________Ü","bottom":"ä_Bottom (Latitude)__________________Ü","left":"ä_Left (Longitude)_________________Ü","right":"ä_Right (Longitude)__________________Ü","save":"ä_Save_________Ü","cancel":"ä_Cancel_____________Ü","revert":"ä_Revert_____________Ü","invalidLeft":"ä_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________Ü.","invalidRight":"ä_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________Ü.","invalidBottom":"ä_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________Ü.","invalidTop":"ä_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________Ü.","leftLessThanRight":"ä_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________Ü.","rightGreaterThanLeft":"ä_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________Ü.","bottomLessThanTop":"ä_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________Ü.","topGreaterThanBottom":"ä_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________Ü.","overDateLine":"ä_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________Ü."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"π_Close___________Ω","setExtent":"π_Set extent_____________________Ω","setArea":"π_Set area_________________Ω","extentBasedOn":"π_Create an extent based on__________________________Ω","areaBasedOn":"π_Create an area based on________________________Ω","orgExtent":"π_Organization's extent______________________Ω","orgRegion":"π_Organization's region______________________Ω","currentFeatures":"π_Current features in layer__________________________Ω","useLocation":"π_Use location search____________________Ω","drawExtentTitle":"π_Draw the extent on the map____________________________Ω.","drawAreaTitle":"π_Draw the area on the map__________________________Ω.","drawExtent":"π_Draw Extent____________Ω","drawArea":"π_Draw Area___________________Ω","coordinates":"π_Coordinates____________Ω","coordinatesDescription":"π_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________Ω.","top":"π_Top (Latitude)_______________Ω","bottom":"π_Bottom (Latitude)__________________Ω","left":"π_Left (Longitude)_________________Ω","right":"π_Right (Longitude)__________________Ω","save":"π_Save_________Ω","cancel":"π_Cancel_____________Ω","revert":"π_Revert_____________Ω","invalidLeft":"π_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________Ω.","invalidRight":"π_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________Ω.","invalidBottom":"π_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________Ω.","invalidTop":"π_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________Ω.","leftLessThanRight":"π_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________Ω.","rightGreaterThanLeft":"π_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________Ω.","bottomLessThanTop":"π_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________Ω.","topGreaterThanBottom":"π_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________Ω.","overDateLine":"π_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________Ω."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"á_Close___________Ó","setExtent":"á_Set extent_____________________Ó","setArea":"á_Set area_________________Ó","extentBasedOn":"á_Create an extent based on__________________________Ó","areaBasedOn":"á_Create an area based on________________________Ó","orgExtent":"á_Organization's extent______________________Ó","orgRegion":"á_Organization's region______________________Ó","currentFeatures":"á_Current features in layer__________________________Ó","useLocation":"á_Use location search____________________Ó","drawExtentTitle":"á_Draw the extent on the map____________________________Ó.","drawAreaTitle":"á_Draw the area on the map__________________________Ó.","drawExtent":"á_Draw Extent____________Ó","drawArea":"á_Draw Area___________________Ó","coordinates":"á_Coordinates____________Ó","coordinatesDescription":"á_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________Ó.","top":"á_Top (Latitude)_______________Ó","bottom":"á_Bottom (Latitude)__________________Ó","left":"á_Left (Longitude)_________________Ó","right":"á_Right (Longitude)__________________Ó","save":"á_Save_________Ó","cancel":"á_Cancel_____________Ó","revert":"á_Revert_____________Ó","invalidLeft":"á_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________Ó.","invalidRight":"á_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________Ó.","invalidBottom":"á_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________Ó.","invalidTop":"á_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________Ó.","leftLessThanRight":"á_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________Ó.","rightGreaterThanLeft":"á_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________Ó.","bottomLessThanTop":"á_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________Ó.","topGreaterThanBottom":"á_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________Ó.","overDateLine":"á_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________Ó."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"Š_Close___________ä","setExtent":"Š_Set extent_____________________ä","setArea":"Š_Set area_________________ä","extentBasedOn":"Š_Create an extent based on__________________________ä","areaBasedOn":"Š_Create an area based on________________________ä","orgExtent":"Š_Organization's extent______________________ä","orgRegion":"Š_Organization's region______________________ä","currentFeatures":"Š_Current features in layer__________________________ä","useLocation":"Š_Use location search____________________ä","drawExtentTitle":"Š_Draw the extent on the map____________________________ä.","drawAreaTitle":"Š_Draw the area on the map__________________________ä.","drawExtent":"Š_Draw Extent____________ä","drawArea":"Š_Draw Area___________________ä","coordinates":"Š_Coordinates____________ä","coordinatesDescription":"Š_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________ä.","top":"Š_Top (Latitude)_______________ä","bottom":"Š_Bottom (Latitude)__________________ä","left":"Š_Left (Longitude)_________________ä","right":"Š_Right (Longitude)__________________ä","save":"Š_Save_________ä","cancel":"Š_Cancel_____________ä","revert":"Š_Revert_____________ä","invalidLeft":"Š_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________ä.","invalidRight":"Š_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________ä.","invalidBottom":"Š_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________ä.","invalidTop":"Š_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________ä.","leftLessThanRight":"Š_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________ä.","rightGreaterThanLeft":"Š_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________ä.","bottomLessThanTop":"Š_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________ä.","topGreaterThanBottom":"Š_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________ä.","overDateLine":"Š_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________ä."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"Å_Close___________ö","setExtent":"Å_Set extent_____________________ö","setArea":"Å_Set area_________________ö","extentBasedOn":"Å_Create an extent based on__________________________ö","areaBasedOn":"Å_Create an area based on________________________ö","orgExtent":"Å_Organization's extent______________________ö","orgRegion":"Å_Organization's region______________________ö","currentFeatures":"Å_Current features in layer__________________________ö","useLocation":"Å_Use location search____________________ö","drawExtentTitle":"Å_Draw the extent on the map____________________________ö.","drawAreaTitle":"Å_Draw the area on the map__________________________ö.","drawExtent":"Å_Draw Extent____________ö","drawArea":"Å_Draw Area___________________ö","coordinates":"Å_Coordinates____________ö","coordinatesDescription":"Å_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________ö.","top":"Å_Top (Latitude)_______________ö","bottom":"Å_Bottom (Latitude)__________________ö","left":"Å_Left (Longitude)_________________ö","right":"Å_Right (Longitude)__________________ö","save":"Å_Save_________ö","cancel":"Å_Cancel_____________ö","revert":"Å_Revert_____________ö","invalidLeft":"Å_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________ö.","invalidRight":"Å_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________ö.","invalidBottom":"Å_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________ö.","invalidTop":"Å_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________ö.","leftLessThanRight":"Å_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________ö.","rightGreaterThanLeft":"Å_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________ö.","bottomLessThanTop":"Å_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________ö.","topGreaterThanBottom":"Å_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________ö.","overDateLine":"Å_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________ö."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"æ_Close___________Â","setExtent":"æ_Set extent_____________________Â","setArea":"æ_Set area_________________Â","extentBasedOn":"æ_Create an extent based on__________________________Â","areaBasedOn":"æ_Create an area based on________________________Â","orgExtent":"æ_Organization's extent______________________Â","orgRegion":"æ_Organization's region______________________Â","currentFeatures":"æ_Current features in layer__________________________Â","useLocation":"æ_Use location search____________________Â","drawExtentTitle":"æ_Draw the extent on the map____________________________Â.","drawAreaTitle":"æ_Draw the area on the map__________________________Â.","drawExtent":"æ_Draw Extent____________Â","drawArea":"æ_Draw Area___________________Â","coordinates":"æ_Coordinates____________Â","coordinatesDescription":"æ_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________Â.","top":"æ_Top (Latitude)_______________Â","bottom":"æ_Bottom (Latitude)__________________Â","left":"æ_Left (Longitude)_________________Â","right":"æ_Right (Longitude)__________________Â","save":"æ_Save_________Â","cancel":"æ_Cancel_____________Â","revert":"æ_Revert_____________Â","invalidLeft":"æ_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________Â.","invalidRight":"æ_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________Â.","invalidBottom":"æ_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________Â.","invalidTop":"æ_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________Â.","leftLessThanRight":"æ_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________Â.","rightGreaterThanLeft":"æ_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________Â.","bottomLessThanTop":"æ_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________Â.","topGreaterThanBottom":"æ_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________Â.","overDateLine":"æ_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________Â."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"כן_Close___________ש","setExtent":"כן_Set extent_____________________ש","setArea":"כן_Set area_________________ש","extentBasedOn":"כן_Create an extent based on__________________________ש","areaBasedOn":"כן_Create an area based on________________________ש","orgExtent":"כן_Organization's extent______________________ש","orgRegion":"כן_Organization's region______________________ש","currentFeatures":"כן_Current features in layer__________________________ש","useLocation":"כן_Use location search____________________ש","drawExtentTitle":"כן_Draw the extent on the map____________________________ש.","drawAreaTitle":"כן_Draw the area on the map__________________________ש.","drawExtent":"כן_Draw Extent____________ש","drawArea":"כן_Draw Area___________________ש","coordinates":"כן_Coordinates____________ש","coordinatesDescription":"כן_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________ש.","top":"כן_Top (Latitude)_______________ש","bottom":"כן_Bottom (Latitude)__________________ש","left":"כן_Left (Longitude)_________________ש","right":"כן_Right (Longitude)__________________ש","save":"כן_Save_________ש","cancel":"כן_Cancel_____________ש","revert":"כן_Revert_____________ש","invalidLeft":"כן_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________ש.","invalidRight":"כן_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________ש.","invalidBottom":"כן_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________ש.","invalidTop":"כן_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________ש.","leftLessThanRight":"כן_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________ש.","rightGreaterThanLeft":"כן_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________ש.","bottomLessThanTop":"כן_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________ש.","topGreaterThanBottom":"כן_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________ש.","overDateLine":"כן_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________ש."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"Č_Close___________ž","setExtent":"Č_Set extent_____________________ž","setArea":"Č_Set area_________________ž","extentBasedOn":"Č_Create an extent based on__________________________ž","areaBasedOn":"Č_Create an area based on________________________ž","orgExtent":"Č_Organization's extent______________________ž","orgRegion":"Č_Organization's region______________________ž","currentFeatures":"Č_Current features in layer__________________________ž","useLocation":"Č_Use location search____________________ž","drawExtentTitle":"Č_Draw the extent on the map____________________________ž.","drawAreaTitle":"Č_Draw the area on the map__________________________ž.","drawExtent":"Č_Draw Extent____________ž","drawArea":"Č_Draw Area___________________ž","coordinates":"Č_Coordinates____________ž","coordinatesDescription":"Č_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________ž.","top":"Č_Top (Latitude)_______________ž","bottom":"Č_Bottom (Latitude)__________________ž","left":"Č_Left (Longitude)_________________ž","right":"Č_Right (Longitude)__________________ž","save":"Č_Save_________ž","cancel":"Č_Cancel_____________ž","revert":"Č_Revert_____________ž","invalidLeft":"Č_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________ž.","invalidRight":"Č_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________ž.","invalidBottom":"Č_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________ž.","invalidTop":"Č_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________ž.","leftLessThanRight":"Č_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________ž.","rightGreaterThanLeft":"Č_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________ž.","bottomLessThanTop":"Č_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________ž.","topGreaterThanBottom":"Č_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________ž.","overDateLine":"Č_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________ž."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"close":"
|
|
1
|
+
{"close":"í_Close___________ő","setExtent":"í_Set extent_____________________ő","setArea":"í_Set area_________________ő","extentBasedOn":"í_Create an extent based on__________________________ő","areaBasedOn":"í_Create an area based on________________________ő","orgExtent":"í_Organization's extent______________________ő","orgRegion":"í_Organization's region______________________ő","currentFeatures":"í_Current features in layer__________________________ő","useLocation":"í_Use location search____________________ő","drawExtentTitle":"í_Draw the extent on the map____________________________ő.","drawAreaTitle":"í_Draw the area on the map__________________________ő.","drawExtent":"í_Draw Extent____________ő","drawArea":"í_Draw Area___________________ő","coordinates":"í_Coordinates____________ő","coordinatesDescription":"í_Input the coordinate value (in decimal degrees) for each boundary of the extent_________________________________________ő.","top":"í_Top (Latitude)_______________ő","bottom":"í_Bottom (Latitude)__________________ő","left":"í_Left (Longitude)_________________ő","right":"í_Right (Longitude)__________________ő","save":"í_Save_________ő","cancel":"í_Cancel_____________ő","revert":"í_Revert_____________ő","invalidLeft":"í_The coordinate value for Left (Longitude) must be a numerical value between ${minLng} and ${maxLng}___________________________________________________ő.","invalidRight":"í_The coordinate value for Right (Longitude) must be a numerical value between ${minLng} and ${maxLng}____________________________________________________ő.","invalidBottom":"í_The coordinate for Bottom (Latitude) must be a numerical value between ${minLat} and ${maxLat}_________________________________________________ő.","invalidTop":"í_The coordinate for Top (Latitude) must be a numerical value between ${minLat} and ${maxLat}_______________________________________________ő.","leftLessThanRight":"í_The Left (Longitude) value must be less than the Right (Longitude) value______________________________________ő.","rightGreaterThanLeft":"í_The Right (Longitude) value must be greater than the Left (Longitude) value_______________________________________ő.","bottomLessThanTop":"í_The Bottom (Latitude) value must be less than the Top (Latitude) value_____________________________________ő.","topGreaterThanBottom":"í_The Top (Latitude) value must be greater than the Bottom (Latitude) value______________________________________ő.","overDateLine":"í_Setting an extent that crosses the 180th meridian is not supported. Define a new extent that excludes this meridian___________________________________________________________ő."}
|